Skip to content

Support tools and structured text in protected Local Apps - #141

Draft
snowzane wants to merge 11 commits into
mainfrom
develop
Draft

snowzane wants to merge 11 commits into
mainfrom
develop

Conversation

@snowzane

Copy link
Copy Markdown
Contributor

Protected Local Apps currently cannot carry Runtime's existing function-tool and structured-text behaviors through their standard SDK/Kit path. This change adds the bounded text-generate variant to scenario execute and extends the existing text stream with ordered tool calls, results and response formats. Runtime still owns single model execution; the external App Host owns tool execution and subsequent steps.

The SDK adds a common Local App model binding. Kit carries the same values through native, main and renderer, and provides SDK AI/configuration/storage clients to App-owned Node modules on the existing Host. Session invalidation cancels old work before rebind, including failed rebind, and prevents a pending old asset write from committing. Candidate generation retains its narrow contract.

Validation: full Go AI service tests; affected driver and protected ingress tests; full SDK tests (480); Kit typecheck and tests (1179 passed, 1 skipped); native carrier (103 passed, 1 ignored) and Node (23 passed); App Tools tests; four-language generated SDK conformance; proto lint/breaking/drift and Rust bridge drift; authority fmt/check/compile/diff/impact; SDK/Kit component pack audits. Skipped native acceptance requires an installed fixed Runtime and is not claimed as passed.

Release candidates: SDK 0.12.0, Kit/native 0.8.0, Rust shells 0.4.0, App Tools 0.5.2. Vane product integration, real model/search acceptance and Desktop installation remain in progress; this PR does not claim those journeys are complete.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Deploying nimi-doc with  Cloudflare Pages  Cloudflare Pages

Latest commit: f45b799
Status: ✅  Deploy successful!
Preview URL: https://26c8755b.nimi-doc.pages.dev
Branch Preview URL: https://develop.nimi-doc.pages.dev

View logs

Signed-off-by: snowzane <eric.3126@gmail.com>
Signed-off-by: snowzane <eric.3126@gmail.com>
Signed-off-by: snowzane <eric.3126@gmail.com>
Route Sol and Astra plain text through captured Responses hooks, reject unsupported raw chunks, and retain candidate text while omitting opaque continuity.

Keep native output budgets based on original protobuf content, stabilize embedding spaces across unrelated catalog revisions, and refresh the Rust bridge projection.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant