@tangle-network/agent-app 0.63.65 → 0.63.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/dist/{DesignCanvasEditor-6XNHSREG.js → DesignCanvasEditor-PUO5Y6FB.js} +3 -3
- package/dist/agent-enrollment/application.d.ts +2 -2
- package/dist/agent-enrollment/drizzle.d.ts +1 -1
- package/dist/agent-enrollment/index.d.ts +2 -2
- package/dist/agent-profiles/d1.d.ts +1 -1
- package/dist/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.d.ts +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/agent-profiles/self-management.d.ts +2 -2
- package/dist/alerting/index.d.ts +2 -2
- package/dist/app-auth/index.d.ts +3 -3
- package/dist/app-auth/index.js +1 -1
- package/dist/app-oauth/issuer.d.ts +2 -2
- package/dist/assets/index.d.ts +2 -2
- package/dist/assets/schema.d.ts +1 -1
- package/dist/assistant/AssistantDock.d.ts +3 -3
- package/dist/assistant/AssistantHistory.d.ts +1 -1
- package/dist/assistant/AssistantPanel.d.ts +6 -6
- package/dist/assistant/ProposalCard.d.ts +1 -1
- package/dist/assistant/client-context.d.ts +1 -1
- package/dist/assistant/client.d.ts +1 -1
- package/dist/assistant/index.d.ts +14 -14
- package/dist/assistant/launcher.d.ts +1 -1
- package/dist/assistant/page-context.d.ts +1 -1
- package/dist/assistant/presentation.d.ts +1 -1
- package/dist/assistant/reducer.d.ts +1 -1
- package/dist/assistant/transcript.d.ts +3 -3
- package/dist/assistant/useAssistantChat.d.ts +2 -2
- package/dist/assistant/useAssistantModels.d.ts +1 -1
- package/dist/assistant/useAssistantThreads.d.ts +1 -1
- package/dist/billing/crypto-probe.d.ts +1 -1
- package/dist/billing/identity-bound.d.ts +1 -1
- package/dist/billing/identity-locks.d.ts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/brand-extraction/extract.d.ts +1 -1
- package/dist/brand-extraction/index.d.ts +4 -4
- package/dist/brand-extraction/map.d.ts +1 -1
- package/dist/catalog/index.d.ts +1 -1
- package/dist/channels/components.d.ts +1 -1
- package/dist/channels/context.d.ts +1 -1
- package/dist/channels/hooks.d.ts +8 -8
- package/dist/channels/index.d.ts +6 -6
- package/dist/channels/numbers.d.ts +3 -3
- package/dist/channels/payment.d.ts +3 -3
- package/dist/channels/ui.d.ts +1 -1
- package/dist/chat-react/index.d.ts +2 -2
- package/dist/chat-routes/agent-producers.d.ts +3 -3
- package/dist/chat-routes/attachment-store.d.ts +1 -1
- package/dist/chat-routes/attachment-upload.d.ts +3 -3
- package/dist/chat-routes/attachment-validation.d.ts +2 -2
- package/dist/chat-routes/attachment-write-safety.d.ts +1 -1
- package/dist/chat-routes/cancellation.d.ts +1 -1
- package/dist/chat-routes/completed-sandbox-turn.d.ts +3 -3
- package/dist/chat-routes/default-backend.d.ts +11 -11
- package/dist/chat-routes/detached-turn.d.ts +5 -5
- package/dist/chat-routes/dispatch-first.d.ts +3 -3
- package/dist/chat-routes/dispatch-parts.d.ts +5 -5
- package/dist/chat-routes/draft-persistence.d.ts +3 -3
- package/dist/chat-routes/durable-projection.d.ts +1 -1
- package/dist/chat-routes/early-turn-work.d.ts +1 -1
- package/dist/chat-routes/file-index.d.ts +1 -1
- package/dist/chat-routes/gateway-adapter.d.ts +3 -3
- package/dist/chat-routes/hybrid-producer.d.ts +9 -9
- package/dist/chat-routes/index.d.ts +33 -33
- package/dist/chat-routes/index.js +4 -4
- package/dist/chat-routes/intelligence.d.ts +1 -1
- package/dist/chat-routes/model-failover-stream.d.ts +2 -2
- package/dist/chat-routes/native-completion.d.ts +1 -1
- package/dist/chat-routes/native-turn-timing.d.ts +2 -2
- package/dist/chat-routes/producer-stream.d.ts +1 -1
- package/dist/chat-routes/promote-file-part.d.ts +4 -4
- package/dist/chat-routes/protected-runtime-producer.d.ts +3 -3
- package/dist/chat-routes/resolve-attachments.d.ts +3 -3
- package/dist/chat-routes/route-prewarm.d.ts +1 -1
- package/dist/chat-routes/route-producer.d.ts +1 -1
- package/dist/chat-routes/route-storage.d.ts +7 -7
- package/dist/chat-routes/router-producer.d.ts +3 -3
- package/dist/chat-routes/sandbox-model-source.d.ts +4 -4
- package/dist/chat-routes/sandbox-producer.d.ts +5 -5
- package/dist/chat-routes/sandbox-turn-usage.d.ts +2 -2
- package/dist/chat-routes/stale-turn-lock.d.ts +1 -1
- package/dist/chat-routes/stored-attachments.d.ts +2 -2
- package/dist/chat-routes/turn-admission.d.ts +4 -4
- package/dist/chat-routes/turn-event-stream.d.ts +1 -1
- package/dist/chat-routes/turn-execution.d.ts +7 -7
- package/dist/chat-routes/turn-ownership.d.ts +4 -4
- package/dist/chat-routes/turn-prefetch.d.ts +2 -2
- package/dist/chat-routes/turn-route-contracts.d.ts +19 -19
- package/dist/chat-routes/turn-routes.d.ts +2 -2
- package/dist/chat-routes/upload.d.ts +1 -1
- package/dist/chat-store/core.d.ts +1 -1
- package/dist/chat-store/index.d.ts +4 -4
- package/dist/chat-store/parts.d.ts +5 -5
- package/dist/chat-store/schema.d.ts +1 -1
- package/dist/chat-store/store.d.ts +3 -3
- package/dist/chatgpt-react/fixtures.d.ts +1 -1
- package/dist/chatgpt-react/index.d.ts +1 -1
- package/dist/{chunk-H3DAXUKV.js → chunk-2ACI3WYT.js} +2 -2
- package/dist/{chunk-NJW4JCSF.js → chunk-62BPUU3A.js} +2 -2
- package/dist/{chunk-HJYEK4SU.js → chunk-6IMNAZR7.js} +2 -2
- package/dist/{chunk-XPB2UYHU.js → chunk-E2JMXA2V.js} +5 -5
- package/dist/{chunk-XPB2UYHU.js.map → chunk-E2JMXA2V.js.map} +1 -1
- package/dist/{chunk-4JTEPK2G.js → chunk-IIAXUKV7.js} +2 -2
- package/dist/{chunk-WOTWQ2ST.js → chunk-UOZ4JCFJ.js} +7 -7
- package/dist/{chunk-WOTWQ2ST.js.map → chunk-UOZ4JCFJ.js.map} +1 -1
- package/dist/{chunk-43CV4JIT.js → chunk-VKJEH6DG.js} +2 -2
- package/dist/{chunk-EUQ46YWK.js → chunk-X5BDMSPS.js} +17 -17
- package/dist/chunk-X5BDMSPS.js.map +1 -0
- package/dist/{chunk-FJRQCF43.js → chunk-XJ7DC2DI.js} +3 -3
- package/dist/{chunk-VQIH5NAB.js → chunk-YQD2RISF.js} +2 -2
- package/dist/config/index.d.ts +2 -2
- package/dist/crypto/index.d.ts +2 -2
- package/dist/design-canvas/apply.d.ts +3 -3
- package/dist/design-canvas/drizzle-store.d.ts +2 -2
- package/dist/design-canvas/drizzle.d.ts +2 -2
- package/dist/design-canvas/export-presets.d.ts +1 -1
- package/dist/design-canvas/index.d.ts +10 -10
- package/dist/design-canvas/mcp-context.d.ts +4 -4
- package/dist/design-canvas/mcp-elements-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-entry.d.ts +1 -1
- package/dist/design-canvas/mcp-handler.d.ts +1 -1
- package/dist/design-canvas/mcp-pages-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-read-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-templates-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-tools.d.ts +3 -3
- package/dist/design-canvas/operations.d.ts +1 -1
- package/dist/design-canvas/schema.d.ts +1 -1
- package/dist/design-canvas/store.d.ts +1 -1
- package/dist/design-canvas/templates.d.ts +1 -1
- package/dist/design-canvas/validate.d.ts +2 -2
- package/dist/design-canvas-react/components/CanvasInsertPanel.d.ts +2 -2
- package/dist/design-canvas-react/components/DesignCanvas.d.ts +3 -3
- package/dist/design-canvas-react/components/DesignCanvasEditor.d.ts +1 -1
- package/dist/design-canvas-react/components/ElementNode.d.ts +2 -2
- package/dist/design-canvas-react/components/ExportControl.d.ts +1 -1
- package/dist/design-canvas-react/components/InlineTextEditor.d.ts +1 -1
- package/dist/design-canvas-react/components/LayersPanel.d.ts +1 -1
- package/dist/design-canvas-react/components/PagesStrip.d.ts +1 -1
- package/dist/design-canvas-react/components/Rulers.d.ts +1 -1
- package/dist/design-canvas-react/components/SelectionLayer.d.ts +3 -3
- package/dist/design-canvas-react/components/SnapGuidesOverlay.d.ts +2 -2
- package/dist/design-canvas-react/components/Toolbar.d.ts +3 -3
- package/dist/design-canvas-react/components/Workspace.d.ts +4 -4
- package/dist/design-canvas-react/components/glyphs.d.ts +31 -31
- package/dist/design-canvas-react/components/index.d.ts +18 -18
- package/dist/design-canvas-react/components/layer-tree.d.ts +1 -1
- package/dist/design-canvas-react/components/toolbar-page-controls.d.ts +1 -1
- package/dist/design-canvas-react/components/toolbar-selection-controls.d.ts +2 -2
- package/dist/design-canvas-react/components/use-workspace-keyboard.d.ts +3 -3
- package/dist/design-canvas-react/components/use-workspace-viewport.d.ts +2 -2
- package/dist/design-canvas-react/contracts.d.ts +3 -3
- package/dist/design-canvas-react/engine/command-stack.d.ts +2 -2
- package/dist/design-canvas-react/engine/commands.d.ts +6 -6
- package/dist/design-canvas-react/engine/selection.d.ts +1 -1
- package/dist/design-canvas-react/engine/snap.d.ts +2 -2
- package/dist/design-canvas-react/engine/zoom-pan.d.ts +1 -1
- package/dist/design-canvas-react/engine.d.ts +8 -8
- package/dist/design-canvas-react/export-math.d.ts +2 -2
- package/dist/design-canvas-react/export.d.ts +2 -2
- package/dist/design-canvas-react/index.d.ts +4 -4
- package/dist/design-canvas-react/index.js +3 -3
- package/dist/design-canvas-react/insert-builders.d.ts +1 -1
- package/dist/design-canvas-react/lazy.d.ts +4 -4
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/documents/docx.d.ts +2 -2
- package/dist/documents/extract.d.ts +1 -1
- package/dist/documents/index.d.ts +5 -5
- package/dist/documents/media-type.d.ts +1 -1
- package/dist/documents/pdf-inspector.d.ts +1 -1
- package/dist/email/index.d.ts +3 -3
- package/dist/email/index.js +1 -1
- package/dist/email/palette.d.ts +6 -6
- package/dist/email/templates.d.ts +1 -1
- package/dist/eval/index.d.ts +7 -7
- package/dist/eval-campaign/index.d.ts +1 -1
- package/dist/forms/blank.d.ts +1 -1
- package/dist/forms/fill.d.ts +1 -1
- package/dist/forms/index.d.ts +4 -4
- package/dist/forms/verify.d.ts +1 -1
- package/dist/harness/index.d.ts +3 -3
- package/dist/harness/presets.d.ts +1 -1
- package/dist/hosted-agent/application.d.ts +4 -4
- package/dist/hosted-agent/index.d.ts +5 -5
- package/dist/hosted-agent/react/ApplicationLineSetup.d.ts +3 -3
- package/dist/hosted-agent/react/LineBilling.d.ts +1 -1
- package/dist/hosted-agent/react/LineMembers.d.ts +1 -1
- package/dist/hosted-agent/react/LineSetup.d.ts +1 -1
- package/dist/hosted-agent/react/index.d.ts +6 -6
- package/dist/hosted-agent/workspace-line.d.ts +1 -1
- package/dist/hub-approvals/index.d.ts +4 -4
- package/dist/hub-approvals/present.d.ts +1 -1
- package/dist/hub-approvals-react/dock.d.ts +1 -1
- package/dist/hub-approvals-react/email.d.ts +1 -1
- package/dist/hub-approvals-react/feedback.d.ts +1 -1
- package/dist/hub-approvals-react/index.d.ts +8 -8
- package/dist/hub-approvals-react/list.d.ts +1 -1
- package/dist/hub-approvals-react/media.d.ts +1 -1
- package/dist/hub-approvals-react/parts.d.ts +1 -1
- package/dist/hub-approvals-react/preview.d.ts +1 -1
- package/dist/hub-approvals-react/receipt.d.ts +1 -1
- package/dist/hub-approvals-react/row.d.ts +1 -1
- package/dist/intakes/completion.d.ts +1 -1
- package/dist/intakes/drizzle/store.d.ts +3 -3
- package/dist/intakes/drizzle.d.ts +2 -2
- package/dist/intakes/index.d.ts +3 -3
- package/dist/integrations-react/index.d.ts +6 -6
- package/dist/integrations-react/panel.d.ts +3 -3
- package/dist/integrations-react/popup.d.ts +1 -1
- package/dist/integrations-react/use-hub-integrations.d.ts +13 -13
- package/dist/interactions/index.d.ts +3 -3
- package/dist/interactions/route.d.ts +2 -2
- package/dist/interactions/sidecar.d.ts +1 -1
- package/dist/journeys/index.js +8 -4
- package/dist/journeys/index.js.map +1 -1
- package/dist/journeys/journey.d.ts +5 -0
- package/dist/knowledge-loop/index.d.ts +1 -1
- package/dist/legibility/checks/empty-state.d.ts +2 -2
- package/dist/legibility/checks/reachability.d.ts +2 -2
- package/dist/legibility/checks/silent-failure.d.ts +2 -2
- package/dist/legibility/checks/success.d.ts +2 -2
- package/dist/legibility/checks/vocabulary.d.ts +2 -2
- package/dist/legibility/cli-args.d.ts +1 -1
- package/dist/legibility/index.d.ts +9 -9
- package/dist/legibility/report.d.ts +1 -1
- package/dist/legibility/scan.d.ts +1 -1
- package/dist/legibility/suppress.d.ts +2 -2
- package/dist/media/generate-request.d.ts +1 -1
- package/dist/media/generation-record.d.ts +2 -2
- package/dist/media/index.d.ts +6 -6
- package/dist/media/model-catalog.d.ts +1 -1
- package/dist/media/router-generation.d.ts +1 -1
- package/dist/media/speech-script.d.ts +1 -1
- package/dist/missions/engine.d.ts +2 -2
- package/dist/missions/events.d.ts +1 -1
- package/dist/missions/index.d.ts +5 -5
- package/dist/missions/plan-parse.d.ts +1 -1
- package/dist/model-resolution/failover.d.ts +1 -1
- package/dist/model-resolution/index.d.ts +3 -3
- package/dist/openui/action.d.ts +1 -1
- package/dist/openui/authoring.d.ts +1 -1
- package/dist/openui/index.d.ts +5 -5
- package/dist/openui/route.d.ts +3 -3
- package/dist/openui-react/index.d.ts +1 -1
- package/dist/peer-floors/check.d.ts +1 -1
- package/dist/plans/decision.d.ts +1 -1
- package/dist/plans/drizzle.d.ts +1 -1
- package/dist/plans/index.d.ts +1 -1
- package/dist/platform/billable-turn-admission.d.ts +1 -1
- package/dist/platform/billing.d.ts +1 -1
- package/dist/platform/delegated-turn-keys.d.ts +2 -2
- package/dist/platform/sso-identity-store.d.ts +1 -1
- package/dist/preflight/cli.d.ts +1 -1
- package/dist/preset-cloudflare/detached-turn-workflow.d.ts +2 -2
- package/dist/preset-cloudflare/index.d.ts +10 -10
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/preset-cloudflare/native-completion-owner.d.ts +12 -12
- package/dist/preset-cloudflare/native-completion-store.d.ts +4 -4
- package/dist/preset-cloudflare/native-completion-workflow.d.ts +2 -2
- package/dist/profile/agent-prompt.d.ts +3 -3
- package/dist/profile/index.d.ts +14 -14
- package/dist/profile/model-input.d.ts +1 -1
- package/dist/profile/quality-skills.d.ts +1 -1
- package/dist/profile-editor/server.d.ts +2 -2
- package/dist/public-consultation/index.d.ts +7 -7
- package/dist/public-consultation/index.js +4 -4
- package/dist/record/drizzle/schema.d.ts +1 -1
- package/dist/record/drizzle/store.d.ts +3 -3
- package/dist/record/drizzle.d.ts +2 -2
- package/dist/record/fold.d.ts +1 -1
- package/dist/record/index.d.ts +3 -3
- package/dist/rollout/d1.d.ts +3 -3
- package/dist/runtime/certified-delivery.d.ts +1 -1
- package/dist/runtime/index.d.ts +10 -10
- package/dist/runtime/openai-stream.d.ts +1 -1
- package/dist/runtime/protected-router-turn.d.ts +1 -1
- package/dist/runtime/router-turn.d.ts +6 -6
- package/dist/runtime/surface-profile.d.ts +1 -1
- package/dist/runtime/turn-continuation.d.ts +1 -1
- package/dist/sandbox/access.d.ts +2 -2
- package/dist/sandbox/app-tools.d.ts +2 -2
- package/dist/sandbox/box-health.d.ts +3 -3
- package/dist/sandbox/computer-step.d.ts +5 -5
- package/dist/sandbox/configuration.d.ts +9 -9
- package/dist/sandbox/credentials.d.ts +1 -1
- package/dist/sandbox/existing-box.d.ts +4 -4
- package/dist/sandbox/foreground-single-flight.d.ts +4 -4
- package/dist/sandbox/index.d.ts +55 -55
- package/dist/sandbox/index.js +4 -4
- package/dist/sandbox/prewarm-claim-d1.d.ts +1 -1
- package/dist/sandbox/prewarm-route.d.ts +2 -2
- package/dist/sandbox/prewarm.d.ts +2 -2
- package/dist/sandbox/profile-corpus.d.ts +4 -4
- package/dist/sandbox/profile-files.d.ts +1 -1
- package/dist/sandbox/prompt-dispatch.d.ts +3 -3
- package/dist/sandbox/prompt-events.d.ts +2 -2
- package/dist/sandbox/prompt-options.d.ts +4 -4
- package/dist/sandbox/prompt-profile.d.ts +3 -3
- package/dist/sandbox/prompt-result.d.ts +4 -4
- package/dist/sandbox/prompt-trace.d.ts +1 -1
- package/dist/sandbox/recovery-original.d.ts +1 -1
- package/dist/sandbox/recovery.d.ts +1 -1
- package/dist/sandbox/router-models.d.ts +1 -1
- package/dist/sandbox/runtime-cache.d.ts +3 -3
- package/dist/sandbox/runtime-connection.d.ts +2 -2
- package/dist/sandbox/sandbox-exec-tool.d.ts +1 -1
- package/dist/sandbox/sandbox-run-tool.d.ts +5 -5
- package/dist/sandbox/warm-lease-d1.d.ts +1 -1
- package/dist/sandbox/workspace-boxes.d.ts +2 -2
- package/dist/sandbox/workspace-claim.d.ts +1 -1
- package/dist/sandbox/workspace-provision.d.ts +1 -1
- package/dist/sequences/apply.d.ts +4 -4
- package/dist/sequences/captions.d.ts +1 -1
- package/dist/sequences/drizzle-store.d.ts +3 -3
- package/dist/sequences/drizzle.d.ts +2 -2
- package/dist/sequences/exports.d.ts +1 -1
- package/dist/sequences/index.d.ts +11 -11
- package/dist/sequences/mcp-entry.d.ts +1 -1
- package/dist/sequences/mcp-handler.d.ts +2 -2
- package/dist/sequences/mcp-tools.d.ts +1 -1
- package/dist/sequences/operations.d.ts +1 -1
- package/dist/sequences/row-mapping.d.ts +1 -1
- package/dist/sequences/store.d.ts +1 -1
- package/dist/sequences/validate.d.ts +2 -2
- package/dist/sequences-react/components/PreviewCanvas.d.ts +2 -2
- package/dist/sequences-react/components/SnapIndicatorLine.d.ts +1 -1
- package/dist/sequences-react/components/TimelineClipChip.d.ts +2 -2
- package/dist/sequences-react/components/TimelineEditor.d.ts +1 -1
- package/dist/sequences-react/components/TimelineEmptyState.d.ts +1 -1
- package/dist/sequences-react/components/TimelineHistory.d.ts +4 -4
- package/dist/sequences-react/components/TimelineSmallScreenGate.d.ts +1 -1
- package/dist/sequences-react/components/TimelineTrackRow.d.ts +3 -3
- package/dist/sequences-react/components/ZoomControl.d.ts +1 -1
- package/dist/sequences-react/components/composite-command.d.ts +1 -1
- package/dist/sequences-react/components/glyphs.d.ts +12 -12
- package/dist/sequences-react/components/index.d.ts +24 -24
- package/dist/sequences-react/components/interaction-math.d.ts +1 -1
- package/dist/sequences-react/contracts.d.ts +3 -3
- package/dist/sequences-react/engine/command-stack.d.ts +2 -2
- package/dist/sequences-react/engine/commands.d.ts +2 -2
- package/dist/sequences-react/engine/playback.d.ts +1 -1
- package/dist/sequences-react/engine/snap.d.ts +2 -2
- package/dist/sequences-react/engine/zoom.d.ts +1 -1
- package/dist/sequences-react/index.d.ts +11 -11
- package/dist/sequences-react/lazy.d.ts +1 -1
- package/dist/sequences-react/media/frame-provider.d.ts +1 -1
- package/dist/sequences-react/media/transcription.d.ts +2 -2
- package/dist/sequences-react/media/waveform.d.ts +1 -1
- package/dist/session-shell/command-palette.d.ts +1 -1
- package/dist/session-shell/index.d.ts +2 -2
- package/dist/settings-react/confirm-action.d.ts +2 -2
- package/dist/settings-react/delete-workspace-section.d.ts +1 -1
- package/dist/settings-react/index.d.ts +9 -9
- package/dist/settings-react/members-section.d.ts +4 -4
- package/dist/settings-react/setting-outcome.d.ts +1 -1
- package/dist/settings-react/use-setting-field.d.ts +1 -1
- package/dist/signoff/config.d.ts +1 -1
- package/dist/signoff/index.d.ts +13 -13
- package/dist/signoff/phases.d.ts +1 -1
- package/dist/signoff/proof-attach.d.ts +1 -1
- package/dist/signoff/proof-fixture.d.ts +1 -1
- package/dist/signoff/proof-from-report.d.ts +2 -2
- package/dist/signoff/proof-verify.d.ts +2 -2
- package/dist/signoff/proof.d.ts +6 -6
- package/dist/signoff/report.d.ts +1 -1
- package/dist/signoff/run.d.ts +1 -1
- package/dist/signoff/seeds.d.ts +1 -1
- package/dist/signoff/shell-alignment-cli.d.ts +1 -1
- package/dist/signoff/shell-alignment.d.ts +1 -1
- package/dist/signoff/surface-ladder-cli.d.ts +1 -1
- package/dist/signoff/surface-ladder.d.ts +1 -1
- package/dist/signoff/types.d.ts +2 -2
- package/dist/signoff/workspace-surface.d.ts +1 -1
- package/dist/signoff/workspace.d.ts +1 -1
- package/dist/skills/index.d.ts +2 -2
- package/dist/skills-placement/box.d.ts +2 -2
- package/dist/skills-placement/index.d.ts +3 -3
- package/dist/spend/budget.d.ts +1 -1
- package/dist/spend/ceiling.d.ts +1 -1
- package/dist/spend/cli-args.d.ts +1 -1
- package/dist/spend/drizzle.d.ts +1 -1
- package/dist/spend/fixtures/incident-parked-time.d.ts +1 -1
- package/dist/spend/index.d.ts +11 -11
- package/dist/spend/liveness.d.ts +1 -1
- package/dist/spend/ownership.d.ts +1 -1
- package/dist/spend/platform-settlements.d.ts +1 -1
- package/dist/spend/reconcile.d.ts +2 -2
- package/dist/spend/reference.d.ts +1 -1
- package/dist/spend/report.d.ts +1 -1
- package/dist/spend/store.d.ts +1 -1
- package/dist/stories/app-shell/fixtures.d.ts +3 -3
- package/dist/stories/assistant/fixtures.d.ts +5 -5
- package/dist/stories/chat/fixtures.d.ts +2 -2
- package/dist/stories/chat/run-drill-in.d.ts +1 -1
- package/dist/stories/chat-controls/fixtures.d.ts +5 -5
- package/dist/stories/design-canvas/fixtures.d.ts +3 -3
- package/dist/stories/fixtures/canvas.d.ts +1 -1
- package/dist/stories/fixtures/catalog.d.ts +1 -1
- package/dist/stories/fixtures/channels.d.ts +1 -1
- package/dist/stories/fixtures/chat.d.ts +1 -1
- package/dist/stories/fixtures/index.d.ts +4 -4
- package/dist/stories/fixtures/profile-editor.d.ts +2 -2
- package/dist/stories/fixtures/sequences.d.ts +2 -2
- package/dist/stories/hosted-agent/fixtures.d.ts +1 -1
- package/dist/stories/panels/fixtures.d.ts +2 -2
- package/dist/stories/sequences/fixtures.d.ts +2 -2
- package/dist/stories/settings/settings-demo.d.ts +1 -1
- package/dist/stories/studio/StudioProviders.d.ts +2 -2
- package/dist/stories/studio/fixtures.d.ts +1 -1
- package/dist/stream/index.d.ts +5 -5
- package/dist/stream/orphaned-turns.d.ts +1 -1
- package/dist/stream/stream-normalizer.d.ts +1 -1
- package/dist/stream/turn-identity.d.ts +1 -1
- package/dist/studio/generated-media/flows.d.ts +7 -7
- package/dist/studio/generated-media/index.d.ts +3 -3
- package/dist/studio/generated-media/store.d.ts +1 -1
- package/dist/studio/generation.d.ts +2 -2
- package/dist/studio/index.d.ts +4 -4
- package/dist/studio/model-options.d.ts +1 -1
- package/dist/studio/ports.d.ts +1 -1
- package/dist/studio-react/composer-option-controls.d.ts +1 -1
- package/dist/studio-react/composer-persistence.d.ts +2 -2
- package/dist/studio-react/download-generations.d.ts +2 -2
- package/dist/studio-react/index.d.ts +18 -18
- package/dist/studio-react/media-tile.d.ts +2 -2
- package/dist/studio-react/media-viewer.d.ts +1 -1
- package/dist/studio-react/studio-composer.d.ts +1 -1
- package/dist/studio-react/studio-generation-screen.d.ts +2 -2
- package/dist/studio-react/studio-history-screen.d.ts +1 -1
- package/dist/studio-react/studio-home-screen.d.ts +3 -3
- package/dist/studio-react/studio-playback.d.ts +1 -1
- package/dist/studio-react/use-batch-navigation.d.ts +1 -1
- package/dist/studio-react/use-deferred-delete.d.ts +2 -2
- package/dist/studio-react/use-generation-history.d.ts +2 -2
- package/dist/studio-react/use-studio-generations.d.ts +1 -1
- package/dist/studio-react/use-studio-route.d.ts +1 -1
- package/dist/studio-react/use-vault-save-state.d.ts +2 -2
- package/dist/studio-react/vault-path-popover.d.ts +1 -1
- package/dist/teams/drizzle/access.d.ts +3 -3
- package/dist/teams/drizzle/invitations-schema.d.ts +1 -1
- package/dist/teams/drizzle/personal-organization.d.ts +3 -3
- package/dist/teams/drizzle.d.ts +4 -4
- package/dist/teams/index.d.ts +4 -4
- package/dist/teams/invitations-api.d.ts +7 -7
- package/dist/teams/invitations.d.ts +1 -1
- package/dist/teams/members-api.d.ts +3 -3
- package/dist/teams/thread-access.d.ts +1 -1
- package/dist/teams-react/components/InvitationsPanel.d.ts +1 -1
- package/dist/teams-react/components/InviteAcceptPage.d.ts +1 -1
- package/dist/teams-react/components/InviteForm.d.ts +1 -1
- package/dist/teams-react/components/InviteTokenPage.d.ts +1 -1
- package/dist/teams-react/components/MembersPanel.d.ts +1 -1
- package/dist/teams-react/components/RoleSelect.d.ts +1 -1
- package/dist/teams-react/components/index.d.ts +4 -4
- package/dist/teams-react/components/invitation-detail.d.ts +1 -1
- package/dist/teams-react/components/member-access.d.ts +2 -2
- package/dist/teams-react/contracts.d.ts +2 -2
- package/dist/teams-react/index.d.ts +2 -2
- package/dist/theme/brand.generated.d.ts +17 -17
- package/dist/theme/dom.js +2 -2
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/tokens.css +31 -26
- package/dist/tools/auth.d.ts +1 -1
- package/dist/tools/dispatch.d.ts +2 -2
- package/dist/tools/gating.d.ts +1 -1
- package/dist/tools/http.d.ts +4 -4
- package/dist/tools/index.d.ts +12 -12
- package/dist/tools/index.js +4 -4
- package/dist/tools/mcp.d.ts +4 -4
- package/dist/tools/openai.d.ts +1 -1
- package/dist/tools/registry.d.ts +2 -2
- package/dist/tools/runtime.d.ts +2 -2
- package/dist/tools/types.d.ts +2 -2
- package/dist/trace/index.d.ts +2 -2
- package/dist/trace/mission-flow.d.ts +1 -1
- package/dist/turn-stream/adapters.d.ts +4 -4
- package/dist/turn-stream/cancellation-do.d.ts +2 -2
- package/dist/turn-stream/cancellation.d.ts +3 -3
- package/dist/turn-stream/do.d.ts +1 -1
- package/dist/turn-stream/index.d.ts +5 -5
- package/dist/turn-stream/memory.d.ts +2 -2
- package/dist/turn-trace/index.d.ts +5 -5
- package/dist/turn-trace/otel.d.ts +1 -1
- package/dist/turn-trace/phase-timing.d.ts +1 -1
- package/dist/turn-trace/recorder.d.ts +1 -1
- package/dist/turn-trace/traced-fetch.d.ts +1 -1
- package/dist/vault/VaultContentResults.d.ts +1 -1
- package/dist/vault/VaultCreateDialog.d.ts +1 -1
- package/dist/vault/VaultDocumentToolbar.d.ts +1 -1
- package/dist/vault/VaultHistoryPanel.d.ts +1 -1
- package/dist/vault/VaultPane.d.ts +1 -1
- package/dist/vault/VaultPaneOperations.d.ts +2 -2
- package/dist/vault/VaultPaneStates.d.ts +1 -1
- package/dist/vault/collaboration.d.ts +1 -1
- package/dist/vault/index.d.ts +3 -3
- package/dist/vault/lazy.d.ts +1 -1
- package/dist/vault/store/coordinator.d.ts +4 -4
- package/dist/vault/store/index.d.ts +10 -10
- package/dist/vault/store/revisions.d.ts +1 -1
- package/dist/vault/store/sandbox-engine.d.ts +5 -5
- package/dist/vault/store/sandbox-hydrate.d.ts +3 -3
- package/dist/vault/store/sandbox-reconcile.d.ts +3 -3
- package/dist/vault/store/sandbox-sync.d.ts +5 -5
- package/dist/vault/store/store.d.ts +5 -5
- package/dist/vault/useVaultDockPlacement.d.ts +1 -1
- package/dist/vault/useVaultSearch.d.ts +2 -2
- package/dist/vault/vault-tree-paths.d.ts +1 -1
- package/dist/web/core.d.ts +3 -3
- package/dist/web/free-route-limit.d.ts +1 -1
- package/dist/web/index.d.ts +9 -9
- package/dist/web-react/agent-profile-editor.d.ts +6 -6
- package/dist/web-react/agent-profile-github-source.d.ts +1 -1
- package/dist/web-react/agent-profile-mcp-servers.d.ts +2 -2
- package/dist/web-react/agent-profile-registry-search.d.ts +1 -1
- package/dist/web-react/agent-session-controls.d.ts +3 -3
- package/dist/web-react/async/async-view.d.ts +2 -2
- package/dist/web-react/async/index.d.ts +4 -4
- package/dist/web-react/async/use-async-resource.d.ts +1 -1
- package/dist/web-react/async/use-confirmed-mutation.d.ts +1 -1
- package/dist/web-react/chat-attachments.d.ts +1 -1
- package/dist/web-react/chat-composer-types.d.ts +3 -3
- package/dist/web-react/chat-composer.d.ts +2 -2
- package/dist/web-react/chat-interactions.d.ts +1 -1
- package/dist/web-react/chat-mentions.d.ts +1 -1
- package/dist/web-react/chat-message-body.d.ts +1 -1
- package/dist/web-react/chat-message-metrics.d.ts +2 -2
- package/dist/web-react/chat-message-types.d.ts +6 -6
- package/dist/web-react/chat-messages.d.ts +1 -1
- package/dist/web-react/chat-stream.d.ts +6 -6
- package/dist/web-react/chat-tool-call.d.ts +1 -1
- package/dist/web-react/command-palette.d.ts +2 -2
- package/dist/web-react/controls.d.ts +6 -6
- package/dist/web-react/document.js +2 -2
- package/dist/web-react/durable-chat-cards.d.ts +5 -5
- package/dist/web-react/durable-interaction-submit.d.ts +1 -1
- package/dist/web-react/durable-plan-card.d.ts +2 -2
- package/dist/web-react/durable-plan-flow-card.d.ts +2 -2
- package/dist/web-react/durable-plan-flow.d.ts +1 -1
- package/dist/web-react/effort-picker.d.ts +1 -1
- package/dist/web-react/entry-composer.d.ts +5 -5
- package/dist/web-react/harness-glyphs.d.ts +1 -1
- package/dist/web-react/index.d.ts +67 -67
- package/dist/web-react/insight-card.d.ts +1 -1
- package/dist/web-react/interaction-card-support.d.ts +1 -1
- package/dist/web-react/interaction-plan-card.d.ts +2 -2
- package/dist/web-react/interaction-question-card.d.ts +2 -2
- package/dist/web-react/mention-editor.d.ts +1 -1
- package/dist/web-react/mention-list.d.ts +1 -1
- package/dist/web-react/mention-serialize.d.ts +1 -1
- package/dist/web-react/message-attachments.d.ts +1 -1
- package/dist/web-react/message-projection.d.ts +1 -1
- package/dist/web-react/mission-activity.d.ts +1 -1
- package/dist/web-react/model-picker.d.ts +2 -2
- package/dist/web-react/provenance.d.ts +2 -2
- package/dist/web-react/record-grid-editors.d.ts +1 -1
- package/dist/web-react/record-grid-model.d.ts +1 -1
- package/dist/web-react/record-grid-review-actions.d.ts +1 -1
- package/dist/web-react/record-grid-source-marker.d.ts +1 -1
- package/dist/web-react/record-grid-types.d.ts +2 -2
- package/dist/web-react/record-grid-writes.d.ts +2 -2
- package/dist/web-react/record-grid.d.ts +3 -3
- package/dist/web-react/review-inbox.d.ts +2 -2
- package/dist/web-react/seat-paywall.d.ts +1 -1
- package/dist/web-react/session-history-panel.d.ts +2 -2
- package/dist/web-react/session-history.d.ts +4 -4
- package/dist/web-react/terminal.d.ts +2 -2
- package/dist/web-react/turn-progress.d.ts +1 -1
- package/dist/web-react/use-chat-interactions.d.ts +1 -1
- package/dist/web-react/use-composer-attachments.d.ts +3 -3
- package/dist/web-react/use-composer-commands.d.ts +2 -2
- package/dist/web-react/use-composer-file-intake.d.ts +1 -1
- package/dist/web-react/use-composer-send.d.ts +1 -1
- package/dist/web-react/use-file-mentions.d.ts +1 -1
- package/dist/web-react/use-models.d.ts +1 -1
- package/dist/web-react/use-plan-mode-selection.d.ts +1 -1
- package/dist/web-react/use-session-actions.d.ts +1 -1
- package/dist/web-react/use-session-history.d.ts +1 -1
- package/dist/web-react/work-product.d.ts +2 -2
- package/dist/work-product/draft-emission-tools.d.ts +3 -3
- package/dist/work-product/draft-tool-context.d.ts +4 -4
- package/dist/work-product/evidence-verification.d.ts +4 -4
- package/dist/work-product/index.d.ts +8 -8
- package/dist/work-product/index.js +2 -2
- package/dist/work-product/provenance.d.ts +2 -2
- package/dist/work-product/queue.d.ts +1 -1
- package/dist/work-product/route.d.ts +1 -1
- package/dist/work-product/service.d.ts +1 -1
- package/dist/work-product/submission-tool.d.ts +3 -3
- package/dist/work-product/tool-config.d.ts +4 -4
- package/dist/work-product/tools.d.ts +3 -3
- package/dist/work-product-react/index.d.ts +1 -1
- package/dist/workspace-apps/cloud-artifact-origin.d.ts +2 -2
- package/dist/workspace-apps/cloud-artifacts.d.ts +2 -2
- package/dist/workspace-apps/data-bridge.d.ts +1 -1
- package/dist/workspace-apps/index.d.ts +6 -6
- package/dist/workspace-apps/react.d.ts +2 -2
- package/dist/workspace-export/d1.d.ts +1 -1
- package/dist/workspace-export/engine.d.ts +2 -2
- package/dist/workspace-export/index.d.ts +8 -8
- package/dist/workspace-export/react.d.ts +1 -1
- package/dist/workspace-export/routes.d.ts +2 -2
- package/dist/workspace-export/sandbox.d.ts +1 -1
- package/dist/workspace-export/sources.d.ts +1 -1
- package/dist/workspace-react/index.d.ts +9 -9
- package/dist/workspace-react/workspace-list.d.ts +1 -1
- package/package.json +21 -27
- package/dist/chunk-EUQ46YWK.js.map +0 -1
- /package/dist/{DesignCanvasEditor-6XNHSREG.js.map → DesignCanvasEditor-PUO5Y6FB.js.map} +0 -0
- /package/dist/{chunk-H3DAXUKV.js.map → chunk-2ACI3WYT.js.map} +0 -0
- /package/dist/{chunk-NJW4JCSF.js.map → chunk-62BPUU3A.js.map} +0 -0
- /package/dist/{chunk-HJYEK4SU.js.map → chunk-6IMNAZR7.js.map} +0 -0
- /package/dist/{chunk-4JTEPK2G.js.map → chunk-IIAXUKV7.js.map} +0 -0
- /package/dist/{chunk-43CV4JIT.js.map → chunk-VKJEH6DG.js.map} +0 -0
- /package/dist/{chunk-FJRQCF43.js.map → chunk-XJ7DC2DI.js.map} +0 -0
- /package/dist/{chunk-VQIH5NAB.js.map → chunk-YQD2RISF.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type KnowledgeIndex } from '@tangle-network/agent-knowledge';
|
|
2
|
-
import { type ChatTurnExecutionLimits, type ChatTurnLock, type ChatTurnMessageStore, type ChatTurnRouteProducer } from '../chat-routes/turn-routes';
|
|
3
|
-
import type { TurnEventStore } from '../stream/turn-buffer';
|
|
4
|
-
import type { McpToolDefinition } from '../tools/mcp-rpc';
|
|
2
|
+
import { type ChatTurnExecutionLimits, type ChatTurnLock, type ChatTurnMessageStore, type ChatTurnRouteProducer } from '../chat-routes/turn-routes.js';
|
|
3
|
+
import type { TurnEventStore } from '../stream/turn-buffer.js';
|
|
4
|
+
import type { McpToolDefinition } from '../tools/mcp-rpc.js';
|
|
5
5
|
export interface PublishedKnowledgePage {
|
|
6
6
|
readonly id: string;
|
|
7
7
|
readonly title: string;
|
|
@@ -102,8 +102,8 @@ interface GatewayConsultationContext {
|
|
|
102
102
|
/** Compose gateway admission, scoped knowledge and the maintained persisted chat route. */
|
|
103
103
|
export declare function createPublicConsultation(options: PublicConsultationOptions): {
|
|
104
104
|
authorizeConsumer(agent: ConsultationAgent, consumer: ConsultationConsumer): Promise<{
|
|
105
|
-
allow: true;
|
|
106
105
|
reason?: undefined;
|
|
106
|
+
allow: true;
|
|
107
107
|
code?: undefined;
|
|
108
108
|
} | {
|
|
109
109
|
allow: false;
|
|
@@ -121,19 +121,19 @@ export declare function createPublicConsultation(options: PublicConsultationOpti
|
|
|
121
121
|
executionBudget?: ChatTurnExecutionLimits;
|
|
122
122
|
maxOutputTokens?: number;
|
|
123
123
|
}) => Promise<{
|
|
124
|
-
start?: undefined;
|
|
125
124
|
status: 'unsupported';
|
|
126
125
|
reason: string;
|
|
126
|
+
start?: undefined;
|
|
127
127
|
} | {
|
|
128
128
|
reason?: undefined;
|
|
129
129
|
status: 'prepared';
|
|
130
|
-
start: () => AsyncGenerator<import("../sandbox").SandboxStreamEvent, any, any>;
|
|
130
|
+
start: () => AsyncGenerator<import("../sandbox/index.js").SandboxStreamEvent, any, any>;
|
|
131
131
|
}>;
|
|
132
132
|
streamPrompt: (_message: string, streamOptions?: {
|
|
133
133
|
signal?: AbortSignal;
|
|
134
134
|
executionBudget?: ChatTurnExecutionLimits;
|
|
135
135
|
maxOutputTokens?: number;
|
|
136
|
-
}) => AsyncGenerator<import("../sandbox").SandboxStreamEvent, void, any>;
|
|
136
|
+
}) => AsyncGenerator<import("../sandbox/index.js").SandboxStreamEvent, void, any>;
|
|
137
137
|
}>;
|
|
138
138
|
};
|
|
139
139
|
export {};
|
|
@@ -26,14 +26,14 @@ import "../chunk-K2JPSXKI.js";
|
|
|
26
26
|
import "../chunk-L3QR274L.js";
|
|
27
27
|
import "../chunk-XELWWXJJ.js";
|
|
28
28
|
import "../chunk-DSMGS4IV.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-XJ7DC2DI.js";
|
|
30
30
|
import "../chunk-OY7A6M7S.js";
|
|
31
31
|
import "../chunk-O7UX55EU.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-VKJEH6DG.js";
|
|
33
33
|
import "../chunk-S5SRJJQG.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-6IMNAZR7.js";
|
|
35
35
|
import "../chunk-UGWQLQDS.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-E2JMXA2V.js";
|
|
37
37
|
import "../chunk-GIQXJLR3.js";
|
|
38
38
|
import "../chunk-D6UJEOZQ.js";
|
|
39
39
|
import "../chunk-J4SI766J.js";
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* dangle.
|
|
31
31
|
*/
|
|
32
32
|
import type { AnySQLiteColumn, AnySQLiteTable, SQLiteColumnBuilderBase } from 'drizzle-orm/sqlite-core';
|
|
33
|
-
import type { RecordReviewState, RecordSourceLocator } from '../model';
|
|
33
|
+
import type { RecordReviewState, RecordSourceLocator } from '../model.js';
|
|
34
34
|
/** A product table referenced by foreign key — only its `id` column is used. */
|
|
35
35
|
export type RecordParentTable = AnySQLiteTable & {
|
|
36
36
|
id: AnySQLiteColumn;
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
* touching `value`.
|
|
65
65
|
*/
|
|
66
66
|
import type { BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
|
|
67
|
-
import { type RecordOutcome, type RecordReviewState, type RecordSourceLocator, type RecordWritePolicy } from '../model';
|
|
68
|
-
import { type FoldableRecordEntry, type RecordFoldRules, type RecordPeriodScopeResolver } from '../fold';
|
|
69
|
-
import type { RecordEntryRow, RecordTable } from './schema';
|
|
67
|
+
import { type RecordOutcome, type RecordReviewState, type RecordSourceLocator, type RecordWritePolicy } from '../model.js';
|
|
68
|
+
import { type FoldableRecordEntry, type RecordFoldRules, type RecordPeriodScopeResolver } from '../fold.js';
|
|
69
|
+
import type { RecordEntryRow, RecordTable } from './schema.js';
|
|
70
70
|
/**
|
|
71
71
|
* Any SQLite drizzle database. The run-result and schema generics are erased
|
|
72
72
|
* to `unknown` so better-sqlite3, D1 and libsql handles all fit; `batch` is
|
package/dist/record/drizzle.d.ts
CHANGED
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* rule, fold) stays drizzle-free, so a browser surface that only renders a
|
|
10
10
|
* review queue never pulls a database driver.
|
|
11
11
|
*/
|
|
12
|
-
export * from './drizzle/schema';
|
|
13
|
-
export * from './drizzle/store';
|
|
12
|
+
export * from './drizzle/schema.js';
|
|
13
|
+
export * from './drizzle/store.js';
|
package/dist/record/fold.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* periods, how one entry applies to the accumulator, what a negative assertion
|
|
14
14
|
* retracts, and any derived values computed after the last entry.
|
|
15
15
|
*/
|
|
16
|
-
import { type RecordOutcome } from './model';
|
|
16
|
+
import { type RecordOutcome } from './model.js';
|
|
17
17
|
/**
|
|
18
18
|
* How a path's entries resolve against the period being materialized.
|
|
19
19
|
*
|
package/dist/record/index.d.ts
CHANGED
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
* `@tangle-network/agent-app/record/drizzle`, because they import `drizzle-orm`
|
|
12
12
|
* at module top and it is an optional peer.
|
|
13
13
|
*/
|
|
14
|
-
export * from './model';
|
|
15
|
-
export * from './fold';
|
|
16
|
-
export * from './ulid';
|
|
14
|
+
export * from './model.js';
|
|
15
|
+
export * from './fold.js';
|
|
16
|
+
export * from './ulid.js';
|
package/dist/rollout/d1.d.ts
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
* `variant` are the product's and are written when the row carries them. Pass `measuredFacts: false` to write
|
|
17
17
|
* only the row's own values.
|
|
18
18
|
*/
|
|
19
|
-
import { type NativeTurnTimingFacts } from '../turn-trace/turn-facts';
|
|
20
|
-
import type { ChatTurnLifecycle, ChatTurnLifecycleComplete, ChatTurnLifecycleError } from '../chat-routes/turn-route-contracts';
|
|
21
|
-
import { type RolloutStage, type StageMeasurement } from './index';
|
|
19
|
+
import { type NativeTurnTimingFacts } from '../turn-trace/turn-facts.js';
|
|
20
|
+
import type { ChatTurnLifecycle, ChatTurnLifecycleComplete, ChatTurnLifecycleError } from '../chat-routes/turn-route-contracts.js';
|
|
21
|
+
import { type RolloutStage, type StageMeasurement } from './index.js';
|
|
22
22
|
/** Minimal D1 surface (Cloudflare's `D1Database` satisfies it). */
|
|
23
23
|
export interface D1LikeForRollout {
|
|
24
24
|
prepare(sql: string): {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* the product's separately authorized materialization path.
|
|
10
10
|
*/
|
|
11
11
|
import { type CertifiedProfile, type CertifiedPromptSourceOptions } from '@tangle-network/agent-runtime/intelligence';
|
|
12
|
-
import type { ResolvedAgentProfile } from './agent';
|
|
12
|
+
import type { ResolvedAgentProfile } from './agent.js';
|
|
13
13
|
/** Pull coordinates, refresh cadence and timeout owned by the shared source. */
|
|
14
14
|
export type CertifiedDeliveryConfig = CertifiedPromptSourceOptions;
|
|
15
15
|
/** Adapt certified prompt guidance without granting execution authority. */
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './model-catalog';
|
|
2
|
-
export * from './model';
|
|
3
|
-
export * from './openai-stream';
|
|
4
|
-
export * from './router-turn';
|
|
5
|
-
export * from './agent';
|
|
6
|
-
export * from './certified-delivery';
|
|
7
|
-
export * from './surface-profile';
|
|
1
|
+
export * from './model-catalog.js';
|
|
2
|
+
export * from './model.js';
|
|
3
|
+
export * from './openai-stream.js';
|
|
4
|
+
export * from './router-turn.js';
|
|
5
|
+
export * from './agent.js';
|
|
6
|
+
export * from './certified-delivery.js';
|
|
7
|
+
export * from './surface-profile.js';
|
|
8
8
|
/**
|
|
9
9
|
* The bounded agent tool-loop — the app-facing aliases of the substrate's
|
|
10
10
|
* `runToolLoop` / `streamToolLoop`, plus the app's `LoopEvent` raw-event type.
|
|
@@ -15,6 +15,6 @@ export * from './surface-profile';
|
|
|
15
15
|
* rationale on the OpenAI function-calling history contract and the
|
|
16
16
|
* `reasoning` / `usage` widening.
|
|
17
17
|
*/
|
|
18
|
-
export * from './loop';
|
|
19
|
-
export * from './protected-model';
|
|
20
|
-
export * from './protected-router-turn';
|
|
18
|
+
export * from './loop.js';
|
|
19
|
+
export * from './protected-model.js';
|
|
20
|
+
export * from './protected-router-turn.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* (browser/edge/Node-safe, zero deps). For richer transport use the tcloud SDK
|
|
15
15
|
* or the Vercel AI SDK and pipe their stream through {@link toLoopEvents}.
|
|
16
16
|
*/
|
|
17
|
-
import type { LoopEvent, LoopMessage } from './loop';
|
|
17
|
+
import type { LoopEvent, LoopMessage } from './loop.js';
|
|
18
18
|
/** Minimal OpenAI Chat Completions streaming chunk (structural — no `openai` dep). */
|
|
19
19
|
export interface OpenAIStreamChunk {
|
|
20
20
|
/** The model that produced this chunk. The Tangle Router reports the DATED
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* `model_http_<status>`, ...), settled as `failed`.
|
|
25
25
|
*/
|
|
26
26
|
import type { RunProtectedAgentCandidateModelGrantOptions } from '@tangle-network/agent-runtime/candidate-execution';
|
|
27
|
-
import { type RouterTurnOptions, type RouterTurnOutcome } from './router-turn';
|
|
27
|
+
import { type RouterTurnOptions, type RouterTurnOutcome } from './router-turn.js';
|
|
28
28
|
/** Runtime's grant inputs for one turn: the port, the model request, the reservation and its deadline. */
|
|
29
29
|
export type RouterTurnGrant = Omit<RunProtectedAgentCandidateModelGrantOptions<void>, 'execute'>;
|
|
30
30
|
type GrantSettlement = Awaited<ReturnType<RouterTurnGrant['port']['settleGrant']>>;
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
* (`runProtectedRouterTurn` in `./protected-router-turn`, outside this entry so a
|
|
19
19
|
* Worker bundle never pulls the grant client).
|
|
20
20
|
*/
|
|
21
|
-
import { type LoopMessage } from './loop';
|
|
22
|
-
import { type TurnKnowledgeFile } from './turn-knowledge';
|
|
21
|
+
import { type LoopMessage } from './loop.js';
|
|
22
|
+
import { type TurnKnowledgeFile } from './turn-knowledge.js';
|
|
23
23
|
import { type PlacementRecord, type VacuousAxis } from '@tangle-network/agent-runtime/placement';
|
|
24
|
-
import { type TurnSpan, type TurnTrace } from '../turn-trace/recorder';
|
|
25
|
-
export { DURABLE_HOP_BUDGET_MS, turnCheckpointPath, workspaceTurnCheckpoints, type CheckpointWorkspaceStore, type TurnCheckpointStore } from './turn-continuation';
|
|
26
|
-
export { budgetTurnKnowledge, turnKnowledgeInstructions, workspaceKnowledgeForTurn, type TurnKnowledgeBudget, type TurnKnowledgeFile } from './turn-knowledge';
|
|
27
|
-
export { asksForLanguage, replyLanguageInstruction } from './reply-language';
|
|
24
|
+
import { type TurnSpan, type TurnTrace } from '../turn-trace/recorder.js';
|
|
25
|
+
export { DURABLE_HOP_BUDGET_MS, turnCheckpointPath, workspaceTurnCheckpoints, type CheckpointWorkspaceStore, type TurnCheckpointStore } from './turn-continuation.js';
|
|
26
|
+
export { budgetTurnKnowledge, turnKnowledgeInstructions, workspaceKnowledgeForTurn, type TurnKnowledgeBudget, type TurnKnowledgeFile } from './turn-knowledge.js';
|
|
27
|
+
export { asksForLanguage, replyLanguageInstruction } from './reply-language.js';
|
|
28
28
|
/** A tool the turn may call. Structurally an `McpToolDefinition` whose env is already bound. */
|
|
29
29
|
export interface RouterTurnTool {
|
|
30
30
|
name: string;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* bootstrap. The value remains workspace-scoped because every member and turn
|
|
33
33
|
* shares the box; runtime renewal does not create a per-user secret channel.
|
|
34
34
|
*/
|
|
35
|
-
import type { AppToolMcpServer } from '../tools/mcp';
|
|
35
|
+
import type { AppToolMcpServer } from '../tools/mcp.js';
|
|
36
36
|
/** Sandbox permission posture values, ranked deny > ask > allow for merging. */
|
|
37
37
|
export type SurfacePermissionValue = 'allow' | 'ask' | 'deny';
|
|
38
38
|
/** The only MCP entry shape an overlay may carry: the server-built bridge
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Checkpoints live in the app's workspace store under `/turns/<turnId>/`, which
|
|
8
8
|
* a Files view (`/files/`) never lists.
|
|
9
9
|
*/
|
|
10
|
-
import type { RouterTurnContinuation } from './router-turn';
|
|
10
|
+
import type { RouterTurnContinuation } from './router-turn.js';
|
|
11
11
|
/** Wall time a durable hop may plan for: a Durable Object alarm or Queue consumer gets 15 minutes. */
|
|
12
12
|
export declare const DURABLE_HOP_BUDGET_MS: number;
|
|
13
13
|
/** Where a turn's checkpoint waits between hops. */
|
package/dist/sandbox/access.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SandboxInstance, ScopedTokenScope, MintScopedTokenOptions } from '@tangle-network/sandbox';
|
|
2
|
-
import { type Outcome } from './outcome';
|
|
3
|
-
import type { SandboxRuntimeConfig } from './configuration';
|
|
2
|
+
import { type Outcome } from './outcome.js';
|
|
3
|
+
import type { SandboxRuntimeConfig } from './configuration.js';
|
|
4
4
|
/** Define permission levels for sandbox access and control */
|
|
5
5
|
export type SandboxPermissionLevel = 'owner' | 'admin' | 'developer' | 'viewer';
|
|
6
6
|
/** Map workspace roles to corresponding sandbox permission levels */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type AppToolName, type AppToolContext, type ToolHeaderNames } from '../tools/index';
|
|
1
|
+
import { type AppToolName, type AppToolContext, type ToolHeaderNames } from '../tools/index.js';
|
|
2
2
|
import type { AgentProfileMcpServer, AgentProfileFileMount } from '@tangle-network/agent-interface';
|
|
3
3
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
4
|
-
import { type Outcome } from './outcome';
|
|
4
|
+
import { type Outcome } from './outcome.js';
|
|
5
5
|
/** Describe an application tool with its name, unique key, and description */
|
|
6
6
|
export interface AppToolDescriptor {
|
|
7
7
|
tool: AppToolName;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { SandboxInstance, ProvisionEvent } from '@tangle-network/sandbox';
|
|
2
|
-
import type { LivenessProbeConfig } from './configuration';
|
|
3
|
-
import { type Outcome } from './outcome';
|
|
2
|
+
import type { LivenessProbeConfig } from './configuration.js';
|
|
3
|
+
import { type Outcome } from './outcome.js';
|
|
4
4
|
import { Sandbox } from '@tangle-network/sandbox/core';
|
|
5
|
-
import { type SandboxExistingBoxStage } from './lifecycle-errors';
|
|
5
|
+
import { type SandboxExistingBoxStage } from './lifecycle-errors.js';
|
|
6
6
|
export declare function isReusableBox(box: SandboxInstance, probe: LivenessProbeConfig | undefined, restartTimeoutMs?: number): Promise<Outcome<void>>;
|
|
7
7
|
export declare function resumeStoppedBox(box: SandboxInstance, timeoutMs: number, runtimeEnv: Record<string, string>, onProgress?: (event: ProvisionEvent) => void): Promise<Outcome<SandboxInstance>>;
|
|
8
8
|
export declare function recoverUnresponsiveBox(client: Sandbox, box: SandboxInstance, probe: LivenessProbeConfig | undefined, stage: SandboxExistingBoxStage, name: string, resumeTimeout: number, runtimeEnv: Record<string, string>, onProgress?: (event: ProvisionEvent) => void): Promise<SandboxInstance>;
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
* step uses agent-app's `runSandboxPrompt` over the product's shell.
|
|
29
29
|
*/
|
|
30
30
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
31
|
-
import type { SandboxRuntimeConfig } from './configuration';
|
|
32
|
-
import type { StreamSandboxPromptOptions } from './prompt-options';
|
|
33
|
-
import { type ComputerVault } from './computer-files';
|
|
34
|
-
import type { Outcome } from './outcome';
|
|
35
|
-
import type { SandboxRunToolOptions, SandboxTaskOptions } from './sandbox-run-tool';
|
|
31
|
+
import type { SandboxRuntimeConfig } from './configuration.js';
|
|
32
|
+
import type { StreamSandboxPromptOptions } from './prompt-options.js';
|
|
33
|
+
import { type ComputerVault } from './computer-files.js';
|
|
34
|
+
import type { Outcome } from './outcome.js';
|
|
35
|
+
import type { SandboxRunToolOptions, SandboxTaskOptions } from './sandbox-run-tool.js';
|
|
36
36
|
/** The box session one computer step runs in. */
|
|
37
37
|
export interface ComputerStepSession {
|
|
38
38
|
id: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { SandboxInstance, EgressPolicy, StorageConfig, ProvisionEvent } from '@tangle-network/sandbox';
|
|
2
|
-
import type { SandboxExistingBoxStage } from './lifecycle-errors';
|
|
2
|
+
import type { SandboxExistingBoxStage } from './lifecycle-errors.js';
|
|
3
3
|
import type { AgentProfileFileMount, AgentProfileMcpServer, AgentProfile } from '@tangle-network/agent-interface';
|
|
4
|
-
import type { Harness } from '../harness/index';
|
|
5
|
-
import type { SandboxClientCredentials } from './credentials';
|
|
6
|
-
import type { SandboxPermissionLevel } from './access';
|
|
7
|
-
import type { ProviderResolutionConfig } from './model';
|
|
8
|
-
import type { ReuseStateStore } from './reuse-state';
|
|
9
|
-
import type { Outcome } from './outcome';
|
|
10
|
-
import type { ComposeProfileBudget } from '../profile/budget';
|
|
11
|
-
import type { TurnTrace, TurnSpan } from '../turn-trace/recorder';
|
|
4
|
+
import type { Harness } from '../harness/index.js';
|
|
5
|
+
import type { SandboxClientCredentials } from './credentials.js';
|
|
6
|
+
import type { SandboxPermissionLevel } from './access.js';
|
|
7
|
+
import type { ProviderResolutionConfig } from './model.js';
|
|
8
|
+
import type { ReuseStateStore } from './reuse-state.js';
|
|
9
|
+
import type { Outcome } from './outcome.js';
|
|
10
|
+
import type { ComposeProfileBudget } from '../profile/budget.js';
|
|
11
|
+
import type { TurnTrace, TurnSpan } from '../turn-trace/recorder.js';
|
|
12
12
|
/**
|
|
13
13
|
* Configure sandbox resources and lifecycle limits.
|
|
14
14
|
* Set `advisory` for application defaults that the Sandbox API may clamp to account limits.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TangleExecutionEnvironment } from '../runtime/model';
|
|
1
|
+
import { type TangleExecutionEnvironment } from '../runtime/model.js';
|
|
2
2
|
/** Define client credentials for accessing the sandbox environment with API key and base URL */
|
|
3
3
|
export interface SandboxClientCredentials {
|
|
4
4
|
apiKey: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { SandboxRuntimeConfig, SandboxScope } from './configuration';
|
|
1
|
+
import type { SandboxRuntimeConfig, SandboxScope } from './configuration.js';
|
|
2
2
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
3
|
-
import { type Outcome } from './outcome';
|
|
3
|
+
import { type Outcome } from './outcome.js';
|
|
4
4
|
import { Sandbox } from '@tangle-network/sandbox/core';
|
|
5
|
-
import { type SandboxExistingBoxStage } from './lifecycle-errors';
|
|
6
|
-
import type { Harness } from '../harness/index';
|
|
5
|
+
import { type SandboxExistingBoxStage } from './lifecycle-errors.js';
|
|
6
|
+
import type { Harness } from '../harness/index.js';
|
|
7
7
|
export declare function resolveWorkspaceRuntimeEnv(shell: SandboxRuntimeConfig, scope: SandboxScope): Promise<Record<string, string>>;
|
|
8
8
|
type EgressRead = Awaited<ReturnType<SandboxInstance['egress']['get']>>;
|
|
9
9
|
/**
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* lifecycle. A turn on a box that is already running takes none of them, so it
|
|
10
10
|
* passes `reuse` and takes no lease.
|
|
11
11
|
*/
|
|
12
|
-
import type { Harness } from '../harness/index';
|
|
13
|
-
import type { TurnSpan, TurnTrace } from '../turn-trace/recorder';
|
|
14
|
-
import type { PeekWorkspaceSandboxOutcome } from './index';
|
|
15
|
-
import { type FencedPrewarmClaimStore } from './prewarm';
|
|
12
|
+
import type { Harness } from '../harness/index.js';
|
|
13
|
+
import type { TurnSpan, TurnTrace } from '../turn-trace/recorder.js';
|
|
14
|
+
import type { PeekWorkspaceSandboxOutcome } from './index.js';
|
|
15
|
+
import { type FencedPrewarmClaimStore } from './prewarm.js';
|
|
16
16
|
export declare const DEFAULT_FOREGROUND_PROVISION_CLAIM_TTL_SECONDS = 180;
|
|
17
17
|
export declare const DEFAULT_FOREGROUND_PROVISION_POLL_INTERVAL_MS = 5000;
|
|
18
18
|
export type ReadyRunningSandboxOutcome = Extract<PeekWorkspaceSandboxOutcome, {
|
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
export { traceSandboxPromptEvents, type TraceSandboxPromptOptions } from './prompt-trace';
|
|
2
|
-
export { createCacheReuseStore, type ReuseCacheLike, type ReuseChecks, type ReuseStateStore, type SharedReuseState, } from './reuse-state';
|
|
3
|
-
export * from './warm-cache';
|
|
4
|
-
export type { Outcome } from './outcome';
|
|
5
|
-
export * from './binary-read';
|
|
6
|
-
export * from './transient-failure';
|
|
7
|
-
export { resolveModel, resolveModelSelection, backendModelFields, requireTransportableModel, SandboxModelResolutionError, } from './model';
|
|
8
|
-
export type { ProviderResolutionConfig, ResolvedModel, ModelSelection, ModelSelectionFailure, ModelSelectionError, ModelSelectionSource, } from './model';
|
|
1
|
+
export { traceSandboxPromptEvents, type TraceSandboxPromptOptions } from './prompt-trace.js';
|
|
2
|
+
export { createCacheReuseStore, type ReuseCacheLike, type ReuseChecks, type ReuseStateStore, type SharedReuseState, } from './reuse-state.js';
|
|
3
|
+
export * from './warm-cache.js';
|
|
4
|
+
export type { Outcome } from './outcome.js';
|
|
5
|
+
export * from './binary-read.js';
|
|
6
|
+
export * from './transient-failure.js';
|
|
7
|
+
export { resolveModel, resolveModelSelection, backendModelFields, requireTransportableModel, SandboxModelResolutionError, } from './model.js';
|
|
8
|
+
export type { ProviderResolutionConfig, ResolvedModel, ModelSelection, ModelSelectionFailure, ModelSelectionError, ModelSelectionSource, } from './model.js';
|
|
9
9
|
export type { StorageConfig } from '@tangle-network/sandbox';
|
|
10
|
-
export * from './recovery';
|
|
11
|
-
export type { WorkspaceSandboxOriginalRecoveryOptions, WorkspaceSandboxOriginalRecoveryResult } from './recovery-original';
|
|
12
|
-
export { serializeSandboxProvisioningError, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, isSandboxAuthFailure, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, isSandboxApiTransientFailure, SANDBOX_BACKING_CONTAINER_MISSING_CODE, isSandboxHostCapacityFailure, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, } from './diagnostics';
|
|
13
|
-
export * from './workspace-sandbox-manager';
|
|
14
|
-
export * from './terminal-connection';
|
|
15
|
-
export * from './prewarm';
|
|
16
|
-
export * from './sandbox-run-tool';
|
|
17
|
-
export * from './computer-step';
|
|
18
|
-
export * from './computer-files';
|
|
19
|
-
export * from './router-models';
|
|
20
|
-
export * from './sandbox-exec-tool';
|
|
21
|
-
export * from './prewarm-claim-d1';
|
|
22
|
-
export * from './prewarm-route';
|
|
23
|
-
export * from './warm-receipts';
|
|
24
|
-
export * from './foreground-single-flight';
|
|
25
|
-
export * from './warm-lease';
|
|
26
|
-
export * from './warm-lease-d1';
|
|
27
|
-
export * from './escalation-speculator';
|
|
28
|
-
export { resolveSandboxClientCredentials } from './credentials';
|
|
29
|
-
export type { SandboxClientCredentials, SandboxCredentialEnvironment, ResolveSandboxClientCredentialsOptions, } from './credentials';
|
|
30
|
-
export { DEFAULT_SANDBOX_RESOURCES } from './configuration';
|
|
31
|
-
export type { SandboxResourceConfig, SandboxBuildContext, SandboxScope, SandboxRestoreSpec, StoppedSandboxResumeFailure, MissingSandboxFailure, StoppedSandboxResumeRecovery, LivenessProbeConfig, ProfileComposeOptions, SandboxRuntimeConfig, EnsureWorkspaceSandboxOptions, SandboxProvisionedObservation, SandboxSpendHooks, } from './configuration';
|
|
32
|
-
export { PYPI_EGRESS_DOMAINS, buildProductEgressPolicy } from './product-egress';
|
|
33
|
-
export { readSandboxModelPolicy, sandboxModelWithinPolicy, type SandboxModelPolicy } from './router-model-policy';
|
|
34
|
-
export { dropTrustedBox, getClient, resetClientCache } from './runtime-cache';
|
|
35
|
-
export { buildAppToolMcpServers, sandboxToolRootDir, sandboxToolBinDir, sandboxToolPath, buildSandboxToolFileMounts, buildSandboxToolBinDirsEnv, buildSandboxToolBinDirScript, buildSandboxToolPathSetupScript, ensureSandboxToolBinDir, runSandboxToolPathSetup, } from './app-tools';
|
|
36
|
-
export type { AppToolDescriptor, BuildAppToolMcpServersOptions, SandboxToolSpec, SandboxToolPathOptions, BuildSandboxToolFileMountsOptions, } from './app-tools';
|
|
37
|
-
export { splitDeferredProfileFiles, writeProfileFilesToBox } from './profile-files';
|
|
38
|
-
export type { WriteProfileFilesOptions } from './profile-files';
|
|
39
|
-
export { SandboxEgressPolicyMismatchError, SandboxRuntimeAuthRefreshError, SandboxRecoveryFailedError, SandboxBoxBusyError, } from './lifecycle-errors';
|
|
40
|
-
export type { SandboxExistingBoxStage, SandboxEgressPolicySource, SandboxRecoveryPhase } from './lifecycle-errors';
|
|
41
|
-
export { deferredCorpusHash } from './profile-corpus';
|
|
42
|
-
export { PROVISION_PAYLOAD_MAX_BYTES, ENV_VALUE_MAX_BYTES, DEFAULT_PROVISION_TIMEOUT_MS, ENV_TOTAL_MAX_BYTES, assertProvisionPayloadWithinCap, assertEnvWithinLimits, } from './payload-limits';
|
|
43
|
-
export type { ProvisionProfileSection, ProvisionPayloadSections } from './payload-limits';
|
|
44
|
-
export { peekWorkspaceSandbox } from './workspace-boxes';
|
|
45
|
-
export type { PeekWorkspaceSandboxOutcome } from './workspace-boxes';
|
|
46
|
-
export { ensureWorkspaceSandbox, reuseWorkspaceSandbox } from './workspace-claim';
|
|
47
|
-
export { flattenHistory, mergeHistoryIntoParts, mergeExtraMcp, attachReasoningEffort, applyPromptTokenLimits, resolveSandboxPromptBackend, } from './prompt-profile';
|
|
48
|
-
export type { PromptInputPart, SandboxPromptTokenLimits, SandboxPromptConfig } from './prompt-profile';
|
|
49
|
-
export { sandboxPromptExecutionOptions, type SandboxPromptExecutionLimits, type StreamSandboxPromptOptions } from './prompt-options';
|
|
50
|
-
export { adaptSandboxStream, classifySeveredStream, isTerminalPromptEvent, detectInteractiveQuestion, } from './prompt-events';
|
|
51
|
-
export type { SandboxStreamEvent, SandboxStepTransition } from './prompt-events';
|
|
52
|
-
export { SANDBOX_DISPATCH_TRANSIENT_DEADLINE_MS, streamSandboxPrompt } from './prompt-dispatch';
|
|
53
|
-
export { collectSandboxPromptText, runSandboxPrompt, driveSandboxTurn } from './prompt-result';
|
|
54
|
-
export type { DriveSandboxTurnOptions } from './prompt-result';
|
|
55
|
-
export { syncSandboxMemberAdd, syncSandboxMemberRemove, syncSandboxMemberRole, secretStoreFromClient, storeSecret, deleteSecret, mintSandboxScopedToken, } from './access';
|
|
56
|
-
export type { SandboxPermissionLevel, MemberSyncSeam, SecretStore, ScopedTokenResult } from './access';
|
|
10
|
+
export * from './recovery.js';
|
|
11
|
+
export type { WorkspaceSandboxOriginalRecoveryOptions, WorkspaceSandboxOriginalRecoveryResult } from './recovery-original.js';
|
|
12
|
+
export { serializeSandboxProvisioningError, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, isSandboxAuthFailure, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, isSandboxApiTransientFailure, SANDBOX_BACKING_CONTAINER_MISSING_CODE, isSandboxHostCapacityFailure, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, } from './diagnostics.js';
|
|
13
|
+
export * from './workspace-sandbox-manager.js';
|
|
14
|
+
export * from './terminal-connection.js';
|
|
15
|
+
export * from './prewarm.js';
|
|
16
|
+
export * from './sandbox-run-tool.js';
|
|
17
|
+
export * from './computer-step.js';
|
|
18
|
+
export * from './computer-files.js';
|
|
19
|
+
export * from './router-models.js';
|
|
20
|
+
export * from './sandbox-exec-tool.js';
|
|
21
|
+
export * from './prewarm-claim-d1.js';
|
|
22
|
+
export * from './prewarm-route.js';
|
|
23
|
+
export * from './warm-receipts.js';
|
|
24
|
+
export * from './foreground-single-flight.js';
|
|
25
|
+
export * from './warm-lease.js';
|
|
26
|
+
export * from './warm-lease-d1.js';
|
|
27
|
+
export * from './escalation-speculator.js';
|
|
28
|
+
export { resolveSandboxClientCredentials } from './credentials.js';
|
|
29
|
+
export type { SandboxClientCredentials, SandboxCredentialEnvironment, ResolveSandboxClientCredentialsOptions, } from './credentials.js';
|
|
30
|
+
export { DEFAULT_SANDBOX_RESOURCES } from './configuration.js';
|
|
31
|
+
export type { SandboxResourceConfig, SandboxBuildContext, SandboxScope, SandboxRestoreSpec, StoppedSandboxResumeFailure, MissingSandboxFailure, StoppedSandboxResumeRecovery, LivenessProbeConfig, ProfileComposeOptions, SandboxRuntimeConfig, EnsureWorkspaceSandboxOptions, SandboxProvisionedObservation, SandboxSpendHooks, } from './configuration.js';
|
|
32
|
+
export { PYPI_EGRESS_DOMAINS, buildProductEgressPolicy } from './product-egress.js';
|
|
33
|
+
export { readSandboxModelPolicy, sandboxModelWithinPolicy, type SandboxModelPolicy } from './router-model-policy.js';
|
|
34
|
+
export { dropTrustedBox, getClient, resetClientCache } from './runtime-cache.js';
|
|
35
|
+
export { buildAppToolMcpServers, sandboxToolRootDir, sandboxToolBinDir, sandboxToolPath, buildSandboxToolFileMounts, buildSandboxToolBinDirsEnv, buildSandboxToolBinDirScript, buildSandboxToolPathSetupScript, ensureSandboxToolBinDir, runSandboxToolPathSetup, } from './app-tools.js';
|
|
36
|
+
export type { AppToolDescriptor, BuildAppToolMcpServersOptions, SandboxToolSpec, SandboxToolPathOptions, BuildSandboxToolFileMountsOptions, } from './app-tools.js';
|
|
37
|
+
export { splitDeferredProfileFiles, writeProfileFilesToBox } from './profile-files.js';
|
|
38
|
+
export type { WriteProfileFilesOptions } from './profile-files.js';
|
|
39
|
+
export { SandboxEgressPolicyMismatchError, SandboxRuntimeAuthRefreshError, SandboxRecoveryFailedError, SandboxBoxBusyError, } from './lifecycle-errors.js';
|
|
40
|
+
export type { SandboxExistingBoxStage, SandboxEgressPolicySource, SandboxRecoveryPhase } from './lifecycle-errors.js';
|
|
41
|
+
export { deferredCorpusHash } from './profile-corpus.js';
|
|
42
|
+
export { PROVISION_PAYLOAD_MAX_BYTES, ENV_VALUE_MAX_BYTES, DEFAULT_PROVISION_TIMEOUT_MS, ENV_TOTAL_MAX_BYTES, assertProvisionPayloadWithinCap, assertEnvWithinLimits, } from './payload-limits.js';
|
|
43
|
+
export type { ProvisionProfileSection, ProvisionPayloadSections } from './payload-limits.js';
|
|
44
|
+
export { peekWorkspaceSandbox } from './workspace-boxes.js';
|
|
45
|
+
export type { PeekWorkspaceSandboxOutcome } from './workspace-boxes.js';
|
|
46
|
+
export { ensureWorkspaceSandbox, reuseWorkspaceSandbox } from './workspace-claim.js';
|
|
47
|
+
export { flattenHistory, mergeHistoryIntoParts, mergeExtraMcp, attachReasoningEffort, applyPromptTokenLimits, resolveSandboxPromptBackend, } from './prompt-profile.js';
|
|
48
|
+
export type { PromptInputPart, SandboxPromptTokenLimits, SandboxPromptConfig } from './prompt-profile.js';
|
|
49
|
+
export { sandboxPromptExecutionOptions, type SandboxPromptExecutionLimits, type StreamSandboxPromptOptions } from './prompt-options.js';
|
|
50
|
+
export { adaptSandboxStream, classifySeveredStream, isTerminalPromptEvent, detectInteractiveQuestion, } from './prompt-events.js';
|
|
51
|
+
export type { SandboxStreamEvent, SandboxStepTransition } from './prompt-events.js';
|
|
52
|
+
export { SANDBOX_DISPATCH_TRANSIENT_DEADLINE_MS, streamSandboxPrompt } from './prompt-dispatch.js';
|
|
53
|
+
export { collectSandboxPromptText, runSandboxPrompt, driveSandboxTurn } from './prompt-result.js';
|
|
54
|
+
export type { DriveSandboxTurnOptions } from './prompt-result.js';
|
|
55
|
+
export { syncSandboxMemberAdd, syncSandboxMemberRemove, syncSandboxMemberRole, secretStoreFromClient, storeSecret, deleteSecret, mintSandboxScopedToken, } from './access.js';
|
|
56
|
+
export type { SandboxPermissionLevel, MemberSyncSeam, SecretStore, ScopedTokenResult } from './access.js';
|
package/dist/sandbox/index.js
CHANGED
|
@@ -165,14 +165,14 @@ import "../chunk-K2JPSXKI.js";
|
|
|
165
165
|
import "../chunk-L3QR274L.js";
|
|
166
166
|
import "../chunk-XELWWXJJ.js";
|
|
167
167
|
import "../chunk-DSMGS4IV.js";
|
|
168
|
-
import "../chunk-
|
|
168
|
+
import "../chunk-XJ7DC2DI.js";
|
|
169
169
|
import "../chunk-OY7A6M7S.js";
|
|
170
170
|
import "../chunk-O7UX55EU.js";
|
|
171
|
-
import "../chunk-
|
|
171
|
+
import "../chunk-VKJEH6DG.js";
|
|
172
172
|
import "../chunk-S5SRJJQG.js";
|
|
173
|
-
import "../chunk-
|
|
173
|
+
import "../chunk-6IMNAZR7.js";
|
|
174
174
|
import "../chunk-UGWQLQDS.js";
|
|
175
|
-
import "../chunk-
|
|
175
|
+
import "../chunk-E2JMXA2V.js";
|
|
176
176
|
import "../chunk-D6UJEOZQ.js";
|
|
177
177
|
import "../chunk-J4SI766J.js";
|
|
178
178
|
import {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type WarmReceiptStore } from './warm-receipts';
|
|
2
|
-
import { type ChatTurnStoreBindings } from '../chat-routes/route-storage';
|
|
1
|
+
import { type WarmReceiptStore } from './warm-receipts.js';
|
|
2
|
+
import { type ChatTurnStoreBindings } from '../chat-routes/route-storage.js';
|
|
3
3
|
/** What the product decided for this request. */
|
|
4
4
|
export type WorkspacePrewarmAuthorization =
|
|
5
5
|
/** Not signed in, not a member, or a foreign origin: return this response. */
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
* exists to kill is a soft failure that surfaces as an unusable panel ten
|
|
76
76
|
* minutes later, so a warm that dies must leave a trace a product can render.
|
|
77
77
|
*/
|
|
78
|
-
import type { Harness } from '../harness/index';
|
|
79
|
-
import { type SandboxRuntimeConfig } from './index';
|
|
78
|
+
import type { Harness } from '../harness/index.js';
|
|
79
|
+
import { type SandboxRuntimeConfig } from './index.js';
|
|
80
80
|
/** The workspace a warm targets. Mirrors `EnsureWorkspaceSandboxOptions`'
|
|
81
81
|
* identity fields — the prewarmer forwards them verbatim so a warmed box is
|
|
82
82
|
* byte-identical to the one the lazy path would have built. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AgentProfileFileMount } from '@tangle-network/agent-interface';
|
|
2
|
-
import type { SandboxRuntimeConfig } from './configuration';
|
|
2
|
+
import type { SandboxRuntimeConfig } from './configuration.js';
|
|
3
3
|
import { Sandbox } from '@tangle-network/sandbox/core';
|
|
4
4
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
5
|
-
import type { SandboxExistingBoxStage } from './lifecycle-errors';
|
|
6
|
-
import type { Harness } from '../harness/index';
|
|
7
|
-
import { type Outcome } from './outcome';
|
|
5
|
+
import type { SandboxExistingBoxStage } from './lifecycle-errors.js';
|
|
6
|
+
import type { Harness } from '../harness/index.js';
|
|
7
|
+
import { type Outcome } from './outcome.js';
|
|
8
8
|
export declare function deferredProfileWriteFailed(stage: 'new' | 'reused' | 'resumed', name: string, cause: Error): Error;
|
|
9
9
|
export declare const DEFERRED_CORPUS_HASH_KEY = "agentAppDeferredCorpusHash";
|
|
10
10
|
/** Stable content hash of the deferred file corpus (path + inline content).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentProfile, AgentProfileFileMount } from '@tangle-network/agent-interface';
|
|
2
2
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
3
|
-
import { type Outcome } from './outcome';
|
|
3
|
+
import { type Outcome } from './outcome.js';
|
|
4
4
|
/** Split profile files into inline deferred files and a lean profile without them */
|
|
5
5
|
export declare function splitDeferredProfileFiles(profile: AgentProfile): {
|
|
6
6
|
leanProfile: AgentProfile;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { SandboxSpendHooks, SandboxRuntimeConfig } from './configuration';
|
|
1
|
+
import type { SandboxSpendHooks, SandboxRuntimeConfig } from './configuration.js';
|
|
2
2
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
3
|
-
import { type PromptInputPart } from './prompt-profile';
|
|
4
|
-
import type { StreamSandboxPromptOptions } from './prompt-options';
|
|
3
|
+
import { type PromptInputPart } from './prompt-profile.js';
|
|
4
|
+
import type { StreamSandboxPromptOptions } from './prompt-options.js';
|
|
5
5
|
/** Fire an activity tap without letting it affect the turn it reports on. */
|
|
6
6
|
export declare function emitSandboxActivity(spend: SandboxSpendHooks | undefined, box: SandboxInstance): void;
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
2
|
-
import type { PromptInputPart } from './prompt-profile';
|
|
3
|
-
import type { StreamSandboxPromptOptions } from './prompt-options';
|
|
2
|
+
import type { PromptInputPart } from './prompt-profile.js';
|
|
3
|
+
import type { StreamSandboxPromptOptions } from './prompt-options.js';
|
|
4
4
|
export type StreamPromptOptions = Parameters<SandboxInstance['streamPrompt']>[1];
|
|
5
5
|
/**
|
|
6
6
|
* Open the durable event lane for one detached prompt.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AgentProfile, ReasoningEffort, AgentProfileMcpServer } from '@tangle-network/agent-interface';
|
|
2
|
-
import type { Harness } from '../harness/index';
|
|
3
|
-
import type { ProfileFingerprint } from '../profile/fingerprint';
|
|
4
|
-
import type { SandboxSpendHooks } from './configuration';
|
|
5
|
-
import type { TurnTrace, TurnSpan } from '../turn-trace/recorder';
|
|
2
|
+
import type { Harness } from '../harness/index.js';
|
|
3
|
+
import type { ProfileFingerprint } from '../profile/fingerprint.js';
|
|
4
|
+
import type { SandboxSpendHooks } from './configuration.js';
|
|
5
|
+
import type { TurnTrace, TurnSpan } from '../turn-trace/recorder.js';
|
|
6
6
|
/** Define options for configuring and controlling a streaming sandbox prompt session */
|
|
7
7
|
export interface StreamSandboxPromptOptions {
|
|
8
8
|
/** Complete server-owned profile for this turn. Skips the shell's default composer.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
2
2
|
import type { AgentProfileMcpServer, AgentProfile, ReasoningEffort } from '@tangle-network/agent-interface';
|
|
3
|
-
import { type Harness } from '../harness/index';
|
|
4
|
-
import type { SandboxRuntimeConfig } from './configuration';
|
|
5
|
-
import type { StreamSandboxPromptOptions } from './prompt-options';
|
|
3
|
+
import { type Harness } from '../harness/index.js';
|
|
4
|
+
import type { SandboxRuntimeConfig } from './configuration.js';
|
|
5
|
+
import type { StreamSandboxPromptOptions } from './prompt-options.js';
|
|
6
6
|
/** Extract a single element type from the array parameter of SandboxInstance's streamPrompt method */
|
|
7
7
|
export type PromptInputPart = Extract<Parameters<SandboxInstance['streamPrompt']>[0], readonly unknown[]>[number];
|
|
8
8
|
/** Build a single string combining conversation history and the current user message */
|