Repository navigation
sandbox-local v0.2.0
·
10 commits
to main
since this release
Documentation
-
point docs at published crates, match
mainAPIs, and run all runtime doc examplesPublished crates
- Quickstart
Cargo.tomlsnippets use crates.io versions instead of git deps:infinity-agent-core = "0.1",infinity-provider-bedrock = "0.1",infinity-rap-bridge = "0.1",infinity-mcp-bridge = "0.1",rap-protocol = "0.1". The "not published yet" sentence is removed.- The snippets are written against the
mainAPIs and only compile once a release containing #116 is out. Bump them to"0.2"with that release.
- The snippets are written against the
- Infinity Code: the
infinity provider installandinfinity rap installexamples drop--git. The docs explain that crates.io is the default and that--git/--pathare alternatives. Theproviders.jsonexample no longer recordsgit. - CLI install:
cargo install infinity-agent-cliinstalls from crates.io.--features bundled-webkeeps--git, because the daemon build script needs../../infinity-uifrom the repo.
Docs now match
mainTool::execute/execute_synchronousexamples useToolCallId/ProviderCallId(#116).RapToolSet::connecttakes a&ThreadId<str>.- Fresh-context subagents (#114) are documented in
threading.md,built-in-tools.mdandlow-level/overview.md. - Provider error classes, provider-owned timeouts and overflow recovery (#121) are documented in
model-providers.md,completion-loop.mdandhistory-manager.md. Therun_completionparameter list is corrected. - Fixes in
step-mode.md(let mut system) and in theobservers.mdfactory. Transcripts are taggedtext, and thethreading.mdtranscripts are corrected.
Doc examples are tested and run
infinity-mdtestsnow coversdocs/docs/infinity-runtime/**/*.mdinstead of onlyquickstart/.- New hidden helpers
infinity_mdtests::mock_provider()andrun()(a LocalSet with a 30s timeout). 39 of 44 examples execute; 5 stayno_runbecause they need Bedrock, a RAP server, an API key, or serve forever.
Misc
infinity-slack-dataflowgetspublish = false.RELEASING.mdnow lists it andinfinity-mdtestsas unpublished.- The README hero snippet uses a real Bedrock model id, and a stale docs link in a landing-page comment is fixed.
sandbox-local'sgit_does_not_resolve_outer_repotest now passes with newer jj. In a colocated repo,jj workspace addnow also creates a git worktree, so git inside the sandbox correctly finds the sandbox's own worktree. The test runsgit rev-parse --show-topleveland accepts either "no repo" (128, older jj) or a toplevel under{repo}/.infinity/.sandboxes/. It still fails if git resolves the outer repo.
- Quickstart
Refactor (BREAKING)
-
type tool-call IDs (ToolCallId, ProviderCallId, ChoiceId)
Stage 4 of the string-ID to typed-ID migration (#108). The two distinct
call-ID spaces documented in rap_tool.rs are now distinct types, and choice
IDs are a documented alias. Wire formats unchanged (serde transparent; full
suite + web e2e green; zero snapshot changes).- rap-protocol:
ToolCallId(RAPid; provider-minted or runtime UUID)
andProviderCallId(RAPcall_id; provider-scoped echo-back) kinds;
type ChoiceId<T = String> = ToolCallId<T>per #109 (choices are keyed
by the requesting tool call). All callback types'id/call_id/
tool_call_idfields typed;send_subscription_eventtakes ToolCallId - infinity-protocol: re-exports;
UserChoiceRequired.id,
UserChoiceAnswered/UserChoiceComplete.choice_idare ChoiceId - infinity-agent-core:
Tool::execute(id: ToolCallId, call_id: Option<ProviderCallId>),execute_synchronoustakes the borrowed
<str>forms;SyntheticKind/TaggedSyntheticKindtool_call_id fields- backward-compat bare-string variant typed; OAuth/UserChoice message
ids; store traits (spawn_thread,get_thread_parent_info,
subscription add/remove/list,remove_pending_user_choice) take typed
borrows;ThreadInfo.spawn_tool_call_id, subscription sets,
UserChoice.id,AgentEvent::UserChoiceDismissed,
CompletionAction::ExecuteToolCall,PrepareResult::UserChoiceRequired,
interrupted-call tracking all typed. Conversions live only at the rig
boundary (rig ToolCall/ToolResult keep String ids;WireStreamItemin
provider-protocol deliberately stays a rig mirror since
internal_call_idis rig's own delta-matching nanoid)
- backward-compat bare-string variant typed; OAuth/UserChoice message
- daemon/lambda/bridges/sandbox/poller/slack/CLI: trait impls + internal
maps typed (sandbox in-flight + pending-choice maps keyed by ToolCallId,
github-poller Subscription + subscriptions map, slack sidecar choice
routing, CLI choice picker queue + answer channel); DSQL binds and
Dynamo string sets convert at the storage boundary
- rap-protocol:
Commit Statistics
- 2 commits contributed to the release over the course of 34 calendar days.
- 2 commits were understood as conventional.
- 2 unique issues were worked on: #116, #137