Skip to content

Adapt SDK to wait for loading async function in chrome#47

Merged
rcholic merged 2 commits intomainfrom
improve_agent3
Dec 25, 2025
Merged

Adapt SDK to wait for loading async function in chrome#47
rcholic merged 2 commits intomainfrom
improve_agent3

Conversation

@rcholic
Copy link
Contributor

@rcholic rcholic commented Dec 25, 2025

SDK-TypeScript Fix

  • Added waitForFunction() check in snapshotViaExtension()
  • Added waitForFunction() check in snapshotViaApi()
  • Added diagnostic error messages

TypeScript Type Definitions NEW

  • Created proper TypeScript types for window.sentience API
  • Eliminated need for (window as any) casts
  • Provides better IDE autocomplete

@rcholic rcholic merged commit 1457340 into main Dec 25, 2025
3 checks passed
@rcholic rcholic deleted the improve_agent3 branch December 25, 2025 04:35
rcholic pushed a commit that referenced this pull request Jan 6, 2026
Adapt SDK to wait for loading async function in chrome
rcholic pushed a commit that referenced this pull request Jan 10, 2026
Adapt SDK to wait for loading async function in chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant