Skip to content

Conversation

pakrym-oai
Copy link
Collaborator

@pakrym-oai pakrym-oai commented Sep 30, 2025

Also perform minor code cleanup.

…nd Thread docs

- Add initial README.md with installation, usage, and resuming thread guides
- Add API and usage documentation for Codex and Thread classes
- Fix and clarify type exports: use Turn and StreamedTurn as RunResult types
- Refactor Thread class fields to be private, update id accessor, add detailed comments
- Minor doc cleanups and code structure improvements
…e-sdk

# Conflicts:
#	sdk/typescript/src/thread.ts
…Emitted")

README.md: clarify thread resumption instructions in typescript SDK docs
Copy link
Collaborator

@bolinfest bolinfest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this in and iterate.

If you don't have the original `Thread` instance to continue the thread, you can resume a thread by calling `resumeThread()` and providing the thread.

```typescript
const threadId = "...";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the SDK should provide an API to list/search threads?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure just yet. We need to figure out the isolation story a bit more (exec from TUI/vscode) and from different invocations of exec.

…e-sdk

# Conflicts:
#	sdk/typescript/README.md
#	sdk/typescript/src/exec.ts
#	sdk/typescript/src/index.ts
#	sdk/typescript/tests/run.test.ts
…e-sdk

# Conflicts:
#	sdk/typescript/src/exec.ts
@pakrym-oai pakrym-oai merged commit 31102af into main Oct 1, 2025
20 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/add-initial-set-of-doc-comments-to-the-sdk branch October 1, 2025 20:13
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants