@tangle-network/agent-app 0.63.66 → 0.63.70
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/index.js +1 -1
- 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 +15 -12
- 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 +5 -5
- 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-3F5LGESB.js → chunk-RG2CF4CS.js} +102 -27
- package/dist/chunk-RG2CF4CS.js.map +1 -0
- 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-73AVOSH6.js → chunk-YG3DSMPS.js} +24 -13
- package/dist/chunk-YG3DSMPS.js.map +1 -0
- 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/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 +5 -5
- 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 +5 -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 +177 -140
- 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 +15 -8
- 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/index.js +1 -1
- 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 +22 -28
- package/dist/chunk-3F5LGESB.js.map +0 -1
- package/dist/chunk-73AVOSH6.js.map +0 -1
- 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
|
@@ -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 */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type PromptInputPart } from './prompt-profile';
|
|
2
|
-
import type { StreamSandboxPromptOptions } from './prompt-options';
|
|
3
|
-
import type { SandboxRuntimeConfig } from './configuration';
|
|
1
|
+
import { type PromptInputPart } from './prompt-profile.js';
|
|
2
|
+
import type { StreamSandboxPromptOptions } from './prompt-options.js';
|
|
3
|
+
import type { SandboxRuntimeConfig } from './configuration.js';
|
|
4
4
|
import type { SandboxInstance, TurnDriveResult } from '@tangle-network/sandbox';
|
|
5
|
-
import { type Outcome } from './outcome';
|
|
5
|
+
import { type Outcome } from './outcome.js';
|
|
6
6
|
/**
|
|
7
7
|
* Aggregate a sandbox prompt event stream down to the turn's one final answer.
|
|
8
8
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* clock; only their durations are used, and the wait that no phase holds (the
|
|
11
11
|
* SDK, the API, the orchestrator and the host, both ways) is `sandbox.transit`.
|
|
12
12
|
*/
|
|
13
|
-
import type { TurnSpan, TurnSpanAttrs, TurnTrace } from '../turn-trace/recorder';
|
|
13
|
+
import type { TurnSpan, TurnSpanAttrs, TurnTrace } from '../turn-trace/recorder.js';
|
|
14
14
|
export interface TraceSandboxPromptOptions {
|
|
15
15
|
trace: TurnTrace;
|
|
16
16
|
/** The span the prompt hangs from. Default: the trace's root. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Sandbox } from '@tangle-network/sandbox';
|
|
2
|
-
import { type WorkspaceSandboxRecoveryState, type WorkspaceSandboxRecoveryStore, type WorkspaceSandboxSnapshot } from './recovery';
|
|
2
|
+
import { type WorkspaceSandboxRecoveryState, type WorkspaceSandboxRecoveryStore, type WorkspaceSandboxSnapshot } from './recovery.js';
|
|
3
3
|
export interface WorkspaceSandboxOriginalRecoveryOptions {
|
|
4
4
|
workspaceId: string;
|
|
5
5
|
/** The application's authenticated SDK client, with a finite request timeout
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type WorkspaceSandboxOriginalRecoveryOptions, type WorkspaceSandboxOriginalRecoveryResult } from './recovery-original';
|
|
1
|
+
import { type WorkspaceSandboxOriginalRecoveryOptions, type WorkspaceSandboxOriginalRecoveryResult } from './recovery-original.js';
|
|
2
2
|
/**
|
|
3
3
|
* What an app does after the platform hands back a sandbox it cannot use.
|
|
4
4
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Creative #739, Legal #546 and GTM each kept a copy of this read; a computer
|
|
12
12
|
* step asked for a model its box key refuses failed every call.
|
|
13
13
|
*/
|
|
14
|
-
import { type Outcome } from './outcome';
|
|
14
|
+
import { type Outcome } from './outcome.js';
|
|
15
15
|
export interface ReadSandboxRouterModelsOptions {
|
|
16
16
|
/** Platform's origin (`TANGLE_PLATFORM_URL`); any path on it is ignored. */
|
|
17
17
|
platformUrl: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Sandbox } from '@tangle-network/sandbox/core';
|
|
2
|
-
import { type ReuseChecks } from './reuse-state';
|
|
2
|
+
import { type ReuseChecks } from './reuse-state.js';
|
|
3
3
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
4
|
-
import type { SandboxClientCredentials } from './credentials';
|
|
5
|
-
import type { SandboxRuntimeConfig, EnsureWorkspaceSandboxOptions } from './configuration';
|
|
4
|
+
import type { SandboxClientCredentials } from './credentials.js';
|
|
5
|
+
import type { SandboxRuntimeConfig, EnsureWorkspaceSandboxOptions } from './configuration.js';
|
|
6
6
|
/**
|
|
7
7
|
* How long a reuse trusts what it last checked on a running box instead of
|
|
8
8
|
* repeating the round trip: the exec probe, the egress read, the runtime
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
2
2
|
import { Sandbox } from '@tangle-network/sandbox/core';
|
|
3
|
-
import { type SandboxExistingBoxStage } from './lifecycle-errors';
|
|
4
|
-
import { type Outcome } from './outcome';
|
|
3
|
+
import { type SandboxExistingBoxStage } from './lifecycle-errors.js';
|
|
4
|
+
import { type Outcome } from './outcome.js';
|
|
5
5
|
import type { AgentProfileFileMount } from '@tangle-network/agent-interface';
|
|
6
6
|
export declare function sandboxRuntimeUrl(box: SandboxInstance): string | undefined;
|
|
7
7
|
export declare function sandboxEdgeFailed(box: SandboxInstance): boolean;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* copy the session's documents in). `allow` is the product's command policy.
|
|
20
20
|
*/
|
|
21
21
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
22
|
-
import { SandboxRunError, type SandboxToolContext } from './sandbox-run-tool';
|
|
22
|
+
import { SandboxRunError, type SandboxToolContext } from './sandbox-run-tool.js';
|
|
23
23
|
export interface SandboxExecToolOptions {
|
|
24
24
|
/** The box commands run in. The product provisions, binds and bills it. A throw is
|
|
25
25
|
* `sandbox_unavailable`, unless it is a `SandboxRunError`, which is kept as it is. */
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
* `/chat-routes` mounts this tool with the turn's single box start.
|
|
20
20
|
*/
|
|
21
21
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
22
|
-
import type { TurnSpan, TurnTrace } from '../turn-trace/recorder';
|
|
23
|
-
import type { SandboxRuntimeConfig } from './configuration';
|
|
24
|
-
import type { StreamSandboxPromptOptions } from './prompt-options';
|
|
25
|
-
import { SandboxRunError } from './sandbox-run-error';
|
|
26
|
-
export { SandboxRunError, type SandboxRunFailureCode } from './sandbox-run-error';
|
|
22
|
+
import type { TurnSpan, TurnTrace } from '../turn-trace/recorder.js';
|
|
23
|
+
import type { SandboxRuntimeConfig } from './configuration.js';
|
|
24
|
+
import type { StreamSandboxPromptOptions } from './prompt-options.js';
|
|
25
|
+
import { SandboxRunError } from './sandbox-run-error.js';
|
|
26
|
+
export { SandboxRunError, type SandboxRunFailureCode } from './sandbox-run-error.js';
|
|
27
27
|
/** The engine's per-call tool context (`RouterTurnToolContext`), kept structural so this module does not import the engine. */
|
|
28
28
|
export interface SandboxToolContext {
|
|
29
29
|
/** The Router engine's call identity; never derived from task text. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Sandbox } from '@tangle-network/sandbox/core';
|
|
2
|
-
import { type Outcome } from './outcome';
|
|
2
|
+
import { type Outcome } from './outcome.js';
|
|
3
3
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
4
|
-
import type { SandboxRuntimeConfig, SandboxScope } from './configuration';
|
|
4
|
+
import type { SandboxRuntimeConfig, SandboxScope } from './configuration.js';
|
|
5
5
|
export declare function listRunning(client: Sandbox, name: string): Promise<Outcome<SandboxInstance | null>>;
|
|
6
6
|
/**
|
|
7
7
|
* The running box this isolate last used under `name`, read by id. Null when it
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SandboxRuntimeConfig, type EnsureWorkspaceSandboxOptions } from './configuration';
|
|
1
|
+
import { type SandboxRuntimeConfig, type EnsureWorkspaceSandboxOptions } from './configuration.js';
|
|
2
2
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
3
3
|
/** Reuse a workspace sandbox, or remove its previous runtime before provisioning a replacement. */
|
|
4
4
|
export declare function ensureWorkspaceSandbox(shell: SandboxRuntimeConfig, options: EnsureWorkspaceSandboxOptions): Promise<SandboxInstance>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SandboxRuntimeConfig, type EnsureWorkspaceSandboxOptions } from './configuration';
|
|
1
|
+
import { type SandboxRuntimeConfig, type EnsureWorkspaceSandboxOptions } from './configuration.js';
|
|
2
2
|
import type { SandboxInstance } from '@tangle-network/sandbox';
|
|
3
3
|
/**
|
|
4
4
|
* `reuseOnly` stops before any step that creates, resumes, restarts, replaces or
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
* addresses source in/out points at sequence fps); time-remapped clips are
|
|
11
11
|
* outside this operation vocabulary.
|
|
12
12
|
*/
|
|
13
|
-
import type { SequenceClip, SequenceExportRecord, SequenceMeta, SequenceTimeline, SequenceTrack } from './model';
|
|
14
|
-
import type { SequenceOperation } from './operations';
|
|
15
|
-
import type { SequenceStore } from './store';
|
|
16
|
-
import type { SequenceOperationContext } from './validate';
|
|
13
|
+
import type { SequenceClip, SequenceExportRecord, SequenceMeta, SequenceTimeline, SequenceTrack } from './model.js';
|
|
14
|
+
import type { SequenceOperation } from './operations.js';
|
|
15
|
+
import type { SequenceStore } from './store.js';
|
|
16
|
+
import type { SequenceOperationContext } from './validate.js';
|
|
17
17
|
/**
|
|
18
18
|
* The entity an operation changed, for the MCP layer to serialize back to the
|
|
19
19
|
* agent. Conventions for multi-entity operations:
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* the transcript-segment inputs, because that is what transcription providers
|
|
10
10
|
* emit; the conversion happens exactly once, here.
|
|
11
11
|
*/
|
|
12
|
-
import { type SequenceTimeline, type TimelineInterval } from './model';
|
|
12
|
+
import { type SequenceTimeline, type TimelineInterval } from './model.js';
|
|
13
13
|
/** Server twin of `TranscriptionSegment` (../sequences-react/contracts) —
|
|
14
14
|
* structurally identical so react-side transcription output feeds
|
|
15
15
|
* `buildCaptionChunks` without mapping. Keep the shapes in lockstep. */
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
* so workspace recency sorts stay truthful.
|
|
17
17
|
*/
|
|
18
18
|
import type { BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
|
|
19
|
-
import { type SequenceClipMedia } from './model';
|
|
20
|
-
import type { SequenceStore, SequenceStoreScope } from './store';
|
|
21
|
-
import type { SequenceClipRow, SequenceTables } from './schema';
|
|
19
|
+
import { type SequenceClipMedia } from './model.js';
|
|
20
|
+
import type { SequenceStore, SequenceStoreScope } from './store.js';
|
|
21
|
+
import type { SequenceClipRow, SequenceTables } from './schema.js';
|
|
22
22
|
/** Any SQLite drizzle database — `any` erases the driver-specific run-result
|
|
23
23
|
* and schema generics so better-sqlite3, D1, and libsql handles all fit. */
|
|
24
24
|
export type SequenceDatabase = BaseSQLiteDatabase<'sync' | 'async', any, any>;
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* `drizzle-orm` at module top — bundling them into `./sequences` would make
|
|
6
6
|
* the optional peer a hard requirement for every sequences consumer.
|
|
7
7
|
*/
|
|
8
|
-
export * from './schema';
|
|
9
|
-
export * from './drizzle-store';
|
|
8
|
+
export * from './schema.js';
|
|
9
|
+
export * from './drizzle-store.js';
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Disabled clips are excluded from every format: an export reflects what
|
|
14
14
|
* renders, and a cue or event for an invisible clip is a lie.
|
|
15
15
|
*/
|
|
16
|
-
import { type SequenceMediaKind, type SequenceTimeline } from './model';
|
|
16
|
+
import { type SequenceMediaKind, type SequenceTimeline } from './model.js';
|
|
17
17
|
/** Define options to export captions filtered by an optional BCP-47 language tag */
|
|
18
18
|
export interface CaptionExportOptions {
|
|
19
19
|
/** BCP-47 tag; matched case-insensitively against `clip.language`. Clips
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
* imports `drizzle-orm` at module top — this barrel must stay importable for
|
|
9
9
|
* consumers without that optional peer installed.
|
|
10
10
|
*/
|
|
11
|
-
export * from './model';
|
|
12
|
-
export * from './operations';
|
|
13
|
-
export * from './store';
|
|
14
|
-
export * from './validate';
|
|
15
|
-
export * from './apply';
|
|
16
|
-
export * from './exports';
|
|
17
|
-
export * from './captions';
|
|
18
|
-
export * from './mcp-tools';
|
|
19
|
-
export * from './mcp-handler';
|
|
20
|
-
export * from './mcp-entry';
|
|
21
|
-
export * from './row-mapping';
|
|
11
|
+
export * from './model.js';
|
|
12
|
+
export * from './operations.js';
|
|
13
|
+
export * from './store.js';
|
|
14
|
+
export * from './validate.js';
|
|
15
|
+
export * from './apply.js';
|
|
16
|
+
export * from './exports.js';
|
|
17
|
+
export * from './captions.js';
|
|
18
|
+
export * from './mcp-tools.js';
|
|
19
|
+
export * from './mcp-handler.js';
|
|
20
|
+
export * from './mcp-entry.js';
|
|
21
|
+
export * from './row-mapping.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Authorization header (server-set, never a tool argument). The only
|
|
7
7
|
* domain-specific values are this channel's default description and name.
|
|
8
8
|
*/
|
|
9
|
-
import type { AppToolMcpServer, ScopedMcpServerEntryOptions } from '../tools/mcp';
|
|
9
|
+
import type { AppToolMcpServer, ScopedMcpServerEntryOptions } from '../tools/mcp.js';
|
|
10
10
|
/** Describe live timeline editor features for current video sequence including clip and caption management */
|
|
11
11
|
export declare const DEFAULT_SEQUENCES_MCP_DESCRIPTION = "Live timeline editor for the current video sequence: read timeline state, place/move/trim/split clips, add captions, manage tracks, and queue exports. All times are seconds.";
|
|
12
12
|
/** Extend ScopedMcpServerEntryOptions to configure MCP server entry options for sequence building */
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
* notification 202, -32601) lives in {@link createMcpToolHandler}; this module
|
|
17
17
|
* is a thin adapter wiring the sequences tool list + playhead env.
|
|
18
18
|
*/
|
|
19
|
-
import type { SequenceStore } from './store';
|
|
19
|
+
import type { SequenceStore } from './store.js';
|
|
20
20
|
/** The supported MCP protocol versions are an envelope-level (engine) concern
|
|
21
21
|
* owned by the shared `createMcpToolHandler`. Re-exported under the historical
|
|
22
22
|
* name to keep the public surface stable without a second source of truth. */
|
|
23
|
-
export { MCP_PROTOCOL_VERSIONS as SEQUENCES_MCP_PROTOCOL_VERSIONS } from '../tools/mcp-rpc';
|
|
23
|
+
export { MCP_PROTOCOL_VERSIONS as SEQUENCES_MCP_PROTOCOL_VERSIONS } from '../tools/mcp-rpc.js';
|
|
24
24
|
/** Describe server information including name and version for Sequences MCP integration */
|
|
25
25
|
export interface SequencesMcpServerInfo {
|
|
26
26
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SequenceStore } from './store';
|
|
1
|
+
import type { SequenceStore } from './store.js';
|
|
2
2
|
/** Everything one tool invocation needs. Constructed per request by the
|
|
3
3
|
* handler — the store is already scoped + authorized by the product. The
|
|
4
4
|
* playhead is server-set (never a tool argument) so auto-placed captions
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* `SequenceStore` calls. Keeping the union closed and frame-typed is what lets
|
|
12
12
|
* undo work: every operation has a computable inverse given the pre-state.
|
|
13
13
|
*/
|
|
14
|
-
import type { SequenceExportFormat, SequenceTrackKind } from './model';
|
|
14
|
+
import type { SequenceExportFormat, SequenceTrackKind } from './model.js';
|
|
15
15
|
/** Define an operation to place a media clip with timing, track, and playback options */
|
|
16
16
|
export interface PlaceClipOperation {
|
|
17
17
|
type: 'place_clip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SequenceMeta } from './model';
|
|
1
|
+
import type { SequenceMeta } from './model.js';
|
|
2
2
|
/** A persisted sequence's public fields, independent of its database driver. */
|
|
3
3
|
export type SequenceMetaRow = Omit<SequenceMeta, 'metadata'> & {
|
|
4
4
|
metadata: Record<string, unknown> | null;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* dispatcher asks (`recordDecision`); plain CRUD stays log-free so human edits
|
|
13
13
|
* driven by the UI can batch their own decision entries.
|
|
14
14
|
*/
|
|
15
|
-
import type { SequenceClip, SequenceDecision, SequenceExportFormat, SequenceExportRecord, SequenceMeta, SequenceTimeline, SequenceTrack, SequenceTrackKind } from './model';
|
|
15
|
+
import type { SequenceClip, SequenceDecision, SequenceExportFormat, SequenceExportRecord, SequenceMeta, SequenceTimeline, SequenceTrack, SequenceTrackKind } from './model.js';
|
|
16
16
|
/** Define properties for a new sequence track including kind, name, and optional sort order */
|
|
17
17
|
export interface NewSequenceTrack {
|
|
18
18
|
kind: SequenceTrackKind;
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* the same batch. Dispatchers that chain operations must refresh the timeline
|
|
16
16
|
* between applications and validate per-operation.
|
|
17
17
|
*/
|
|
18
|
-
import type { SequenceTimeline, SequenceTrack, TimelineClipBounds } from './model';
|
|
19
|
-
import type { AddCaptionOperation, CreateTrackOperation, DeleteClipOperation, ExtendSequenceOperation, MoveClipOperation, PlaceClipOperation, QueueExportOperation, SequenceOperation, SetClipDisabledOperation, SetClipTextOperation, SplitClipOperation, TrimClipOperation } from './operations';
|
|
18
|
+
import type { SequenceTimeline, SequenceTrack, TimelineClipBounds } from './model.js';
|
|
19
|
+
import type { AddCaptionOperation, CreateTrackOperation, DeleteClipOperation, ExtendSequenceOperation, MoveClipOperation, PlaceClipOperation, QueueExportOperation, SequenceOperation, SetClipDisabledOperation, SetClipTextOperation, SplitClipOperation, TrimClipOperation } from './operations.js';
|
|
20
20
|
/** Editor/agent context an operation is resolved against. `playheadFrame` is
|
|
21
21
|
* the implicit position for omitted caption placement; never persisted. */
|
|
22
22
|
export interface SequenceOperationContext {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* `sourceSeconds` = (sourceInFrame + playhead offset into the clip) / fps:
|
|
16
16
|
* the model maps source frames 1:1 at sequence fps.
|
|
17
17
|
*/
|
|
18
|
-
import type { SequenceTimeline } from '../../sequences/model';
|
|
19
|
-
import type { PlaybackClock, VideoFrameProvider } from '../contracts';
|
|
18
|
+
import type { SequenceTimeline } from '../../sequences/model.js';
|
|
19
|
+
import type { PlaybackClock, VideoFrameProvider } from '../contracts.js';
|
|
20
20
|
export interface PreviewCanvasProps {
|
|
21
21
|
timeline: SequenceTimeline;
|
|
22
22
|
clock: PlaybackClock;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* inside the horizontally-scrolled track area so its x position is plain
|
|
4
4
|
* frame * zoom; visibility is owned by the editor (non-null point = visible).
|
|
5
5
|
*/
|
|
6
|
-
import type { SnapPoint } from '../contracts';
|
|
6
|
+
import type { SnapPoint } from '../contracts.js';
|
|
7
7
|
export interface SnapIndicatorLineProps {
|
|
8
8
|
point: SnapPoint | null;
|
|
9
9
|
zoom: number;
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
* every `[data-lane-track]` under the editor's `[data-timeline-tracks]` root),
|
|
19
19
|
* so the moving chip itself can never occlude the hit test.
|
|
20
20
|
*/
|
|
21
|
-
import type { SequenceClip, SequenceTrack } from '../../sequences/model';
|
|
22
|
-
import type { SnapPoint, VideoFrameProvider } from '../contracts';
|
|
21
|
+
import type { SequenceClip, SequenceTrack } from '../../sequences/model.js';
|
|
22
|
+
import type { SnapPoint, VideoFrameProvider } from '../contracts.js';
|
|
23
23
|
export interface ClipMoveCommit {
|
|
24
24
|
clipId: string;
|
|
25
25
|
startFrame: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TimelineEditorProps } from '../contracts';
|
|
1
|
+
import type { TimelineEditorProps } from '../contracts.js';
|
|
2
2
|
export declare const SEQUENCE_MEDIA_DRAG_TYPE = "application/x-sequence-media";
|
|
3
3
|
export declare function TimelineEditor(props: TimelineEditorProps): import("react").JSX.Element;
|
|
4
4
|
export default TimelineEditor;
|