Skip to content

fix(docs): return output from example tools - #369

Merged
eersnington merged 1 commit into
mainfrom
fix/docs-tool-output
Oct 27, 2026
Merged

eersnington merged 1 commit into
mainfrom
fix/docs-tool-output

Conversation

@eersnington

Copy link
Copy Markdown
Member

Pi Durable 1.2.0 renamed ToolExecutionResult.content to output. The docs examples still returned content:

 execute: async () => {
-	return { content: [{ type: "text", text }] };
+	return { output: [{ type: "text", text }] };
 },
  • Examples and packages/pi tests run against Pi Durable 1.3.0. The old field does not type-check on 1.2.0 and later, and the new one does not on 1.1.0, so the bump and the rename are one change.
  • The mock model's context window is 1,000,000 tokens. From 1.2.0, a failed blocking compaction fails the run, and the mock has no reply for the summary prompt that the 20,000-line test file triggers.

@railway-app

railway-app Bot commented Oct 27, 2026

Copy link
Copy Markdown

This PR was not deployed automatically as @eersnington does not have access to the Railway project.

In order to get automatic PR deploys, please add @eersnington to your workspace on Railway.

@github-actions

Copy link
Copy Markdown

📟 Pip-Boy · 3abd460

📦 Packages · fresh npm install resolve, no lockfile · this PR vs base

No notable install size, dependency, or entrypoint changes across 10 packages.

All 10 packages · linux-x64-gnu
package (linux-x64-gnu) @latest base this PR Δ vs base packages
@rivet-dev/pi 429.8 MB 429.8 MB 429.8 MB −3 B (−0.0%) 218 (0)
@rivet-dev/sandbox-adapter 76.0 MB 76.0 MB 76.0 MB 0 94 (0)
@sandbox-agent/cli-shared 27.2 KB 27.2 KB 27.2 KB 0 1 (0)
@sandbox-agent/persist-indexeddb 12.4 KB 12.4 KB 12.4 KB 0 1 (0)
@sandbox-agent/persist-postgres 12.3 KB 12.3 KB 12.3 KB 0 1 (0)
@sandbox-agent/persist-rivet 12.2 KB 12.2 KB 12.2 KB 0 1 (0)
@sandbox-agent/persist-sqlite 12.3 KB 12.3 KB 12.3 KB 0 1 (0)
@sandbox-agent/react 41.5 MB 41.9 MB 41.9 MB 0 15 (0)
acp-http-client 6.7 MB 6.7 MB 6.7 MB 0 3 (0)
sandbox-agent 30.9 MB 31.0 MB 31.0 MB 0 8 (0)

🧹 Rust dependencies

Skipped: this PR doesn't change any Rust code or dependencies.

🦀 Binaries

Skipped: this PR doesn't change any Rust code.

⏱ Timing

job wall time slowest step
zizmor 16s checkout · 9s
changes 17s checkout · 13s
footprint 4m07s Run pnpm --dir sandbox-agent install --frozen-lockfile · 1m32s
⏭ hygiene — skipped
⏭ native · ${{ matrix.platform }} — skipped
⏭ self-test — skipped
report 37s setup-node · 19s
🔭 Full CI trace for this commit

One OpenTelemetry trace of CI and Pip-Boy for 3abd460: every job and step, with the sizes above attached. Run after CI finishes.

pnpm install --frozen-lockfile --filter 'pipboy...'
pnpm --filter pipboy pipboy trace --sha 3abd460d3a342493d6e5d0adb68d5e03a6dbabeb

Add --otlp <url> to send it to any OTLP/HTTP collector.

Agent instruction: From a rivet-dev/agents checkout, run the commands above, then read the trace file the last command prints. List the slowest jobs and steps and explain where CI time went.

@eersnington
eersnington marked this pull request as ready for review October 27, 2026 02:38
@eersnington
eersnington merged commit b4221be into main Oct 27, 2026
9 of 11 checks passed
@eersnington
eersnington deleted the fix/docs-tool-output branch October 27, 2026 03:04
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