Repository navigation
sandbox-core v0.2.0
·
10 commits
to main
since this release
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
- 1 commit contributed to the release over the course of 34 calendar days.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #116