Skip to content

Use Sandbox 0.16 and code-mode 0.6 - #6

Merged
ggoodman merged 2 commits into
mainfrom
agent/sandbox-0-16
Aug 2, 2026
Merged

Use Sandbox 0.16 and code-mode 0.6#6
ggoodman merged 2 commits into
mainfrom
agent/sandbox-0-16

Conversation

@ggoodman

@ggoodman ggoodman commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update @torkbot/sandbox from ^0.14.0 to ^0.16.0
  • update @torkbot/code-mode from ^0.3.1 to ^0.6.0
  • migrate client setup to the required ProgramContract API
  • return ordered text and image results through the Sandbox runtime transport
  • remove the stale just-bash production dependency tree

User journey

Sandbox-backed programs can now accumulate semantic results independently of diagnostic console output:

export default function ({ result }: AgentProgramScope) {
  result.appendText("sandboxed");
  result.appendImage({
    data: imageBase64,
    mimeType: "image/png",
  });
}

Successful outcomes carry those items in append order through the existing Sandbox-backed runtime.

Validation

  • macOS and Ubuntu CI
  • npm ci
  • npm run typecheck
  • npm test (21 tests)
  • npm run build
  • npm pack --dry-run
  • production audit: 0 vulnerabilities

Refresh the lockfile against the upstream-libkrun runtime packages and remove the stale just-bash dependency tree.

Assisted-by: Codex: GPT-5

ggoodman commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Dependency-only update to the published @torkbot/sandbox@0.16.0 packages. Local typecheck, 18 tests, build, and package dry-run pass on d5fe7c8.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: d5fe7c8f88

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

* Update code-mode integration for typed results

* Make result handling example self-contained
@ggoodman ggoodman changed the title Update Sandbox to 0.16.0 Use Sandbox 0.16 and code-mode 0.6 Aug 2, 2026
@ggoodman
ggoodman marked this pull request as ready for review August 2, 2026 14:23

ggoodman commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 26308d5e56

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ggoodman
ggoodman merged commit 7c45e4f into main Aug 2, 2026
3 checks passed
@ggoodman
ggoodman deleted the agent/sandbox-0-16 branch August 2, 2026 14:25
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