Skip to content

feat: Add workflow helpers and wait options to TypeScript SDK - #209

Open
Adarsh9977 wants to merge 1 commit into
gofixpoint:mainfrom
Adarsh9977:workflow-helpers
Open

feat: Add workflow helpers and wait options to TypeScript SDK#209
Adarsh9977 wants to merge 1 commit into
gofixpoint:mainfrom
Adarsh9977:workflow-helpers

Conversation

@Adarsh9977

Copy link
Copy Markdown

Summary

  • Add high-level workflow helpers to @amika/sdk: createSandboxAndWait, withSandbox, and runAgent, available as AmikaClient methods and standalone exports.
  • Add optional WaitOptions (timeoutMs, pollIntervalMs, signal, onPoll) to waitForSandbox, waitForSandboxStart, and waitForSandboxStop.
  • Extract shared polling logic into src/wait.ts and workflow composition into src/workflows.ts.
  • Add unit tests for the new helpers and wait behavior; update functional test helpers to use createSandboxAndWait.
  • Document the new workflow helpers and wait options in sdk/typescript/README.md.

Test plan

  • cd sdk/typescript && pnpm test
  • cd sdk/typescript && pnpm typecheck
  • cd sdk/typescript && pnpm build

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@Adarsh9977

Copy link
Copy Markdown
Author

Hey @jdc123, could you please review. Once you get a chance

@jdc123

jdc123 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Hey @Adarsh9977 thank you for your contribution. We're a bit swamped at the moment, but we'll review this when we have a chance.

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.

2 participants