fix(sdk): cancellable published transport and current Sandbox cohort for Knowledge - #60
Conversation
tangletools
left a comment
There was a problem hiding this comment.
✅ Auto-approved PR — c9e98770
Blanket team auto-approval is intentional. The merge gates are CI and codex-p1.
No automated review runs on this PR. This approval rests on the rule above alone.
tangletools · auto-approval · reason: blanket_auto_approve · 2026-09-27T04:54:34Z
tangletools
left a comment
There was a problem hiding this comment.
✅ Auto-approved PR — 01bc6423
Blanket team auto-approval is intentional. The merge gates are CI and codex-p1.
No automated review runs on this PR. This approval rests on the rule above alone.
tangletools · auto-approval · reason: blanket_auto_approve · 2026-09-27T04:56:32Z
tangletools
left a comment
There was a problem hiding this comment.
✅ Auto-approved PR — 1ed385a0
Blanket team auto-approval is intentional. The merge gates are CI and codex-p1.
No automated review runs on this PR. This approval rests on the rule above alone.
tangletools · auto-approval · reason: blanket_auto_approve · 2026-09-27T04:57:33Z
|
Base Correction on run 36298466391: it is not a PR status check, but it is valid remote proof for exact source head On integrated head |
tangletools
left a comment
There was a problem hiding this comment.
✅ Auto-approved PR — 531253a1
Blanket team auto-approval is intentional. The merge gates are CI and codex-p1.
No automated review runs on this PR. This approval rests on the rule above alone.
tangletools · auto-approval · reason: blanket_auto_approve · 2026-09-27T07:17:02Z
Deliverable
[tool] SDK prerequisite for tangle-network/agent-knowledge#222. The Pi raw Router HTTP deletion already merged in #58 at
8531d2eb2e7af89f9af30d2443385388a73a5e23. This PR retains that deletion. No Sandbox REST-surface or agent-loop consolidation is included.[tool] Head
1ed385a057291be2f2d11679409c0a9d094524bf: client.ts and types.ts carry chat/search cancellation into HTTP and retry waits, retain the signal through the relayer, and expose per-response cost receipts. Unknown prices are not reported as free. Published Sandbox 0.54.2 replaces the incompatible 0.34 dependency line. Candidate versions are tcloud 0.6.0 and tcloud-agent 0.5.0, Node 20.19+. The release build now builds workspace dependencies before packing.Independently rerun evidence
[tool] Fresh verification: https://github.com/tangle-network/tcloud/actions/runs/36298466391 . This checked out this exact head, installed from npm with the frozen lock, built all four packages, exercised the built SDK over actual loopback HTTP, and packed it. It then compiled Knowledge's exact head against that artifact and exercised its built adapter. No fetch mocks, new unit suite, secret access, merge or publication.
[tool] SDK evidence: chat, search, 503 retry and relayer cancellation each observed
requests:1anddisconnected:true. Concurrent requests retained independent 0.01 and 0.02 cost receipts; missing cost had no receipt. These are controlled HTTP amounts, not a funded provider bill.[tool] The rebuilt artifact matches the previous candidate exactly:
e95248df2f37d1bbe26a6bd07fb8be3153ce6e111101ba90651e1eb1b1d15e24sha512-mu/PLUh/2+Cezg8lthrGDenzSnKIhN6crGNGZX+JSUIr74x7vH1M63rFNW6NH0yKpgVzv/lgnZTCBXQbZhX0PA==[absent] The registry check still returns tcloud 0.5.2 as latest and no 0.6.0. Funded GTR requests were not run here. A closed HTTP connection does not prove that an upstream provider stopped computing or billing.
Exact GTR proof
Run in Bash with Node 22 and a funded
TANGLE_API_KEYalready exported. Do not enable shell tracing. These commands use a new clone, not a shared GTR worktree.1. Registry install
Evidence: exact source SHA, npm metadata, frozen install. Workspace links among the packages being authored in this publishing monorepo are intentional; external Sandbox dependencies come from npm.
2. Real build and built-SDK HTTP proof
Evidence: runtime/declaration builds, real HTTP cancellation and cost results, exact packed bytes. Stop on a digest mismatch. Do not bypass it.
3. One real request through the built Pi tool
Evidence: prove-pi-live.mjs loads the built extension, collects the actual registered
tangletool, and invokes its chat capability. HTTP and inference are real. JSON contains the uniquepi-tcloud-ok-<uuid>request marker, input and returned content/model/usage. Its small Pi host is not a browser test or a substitute model. No key is printed.Release order after GTR proof and review
[absent] Knowledge's public-registry install is blocked until this SDK is merged and published. Do not merge Knowledge first. #222 includes a separate temporary candidate proof for pre-publication review; that is not counted as an npm install of 0.6.0.
The release owner uses the existing tag-driven workflow after merging this PR. The commands below publish and are NOT part of the proof above. No tag or publication was performed by this session.
[tool] The existing release workflow refuses a release commit not on main. After it succeeds, #222 checks npm's integrity against the SRI above and runs its unchanged frozen install, build and funded request proof. A different published artifact requires a reviewed lock update, not a disabled integrity check.