@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { KeyCrypto } from '../billing';
|
|
2
|
-
import type { DelegatedKeyOutcome, DelegatedKeyRequest, PlatformDelegatedKeyClient } from './delegated-keys';
|
|
1
|
+
import type { KeyCrypto } from '../billing/index.js';
|
|
2
|
+
import type { DelegatedKeyOutcome, DelegatedKeyRequest, PlatformDelegatedKeyClient } from './delegated-keys.js';
|
|
3
3
|
/**
|
|
4
4
|
* Pre-minted turn keys. Creative minted each Router turn's child on the turn's critical path, ~320 ms of a
|
|
5
5
|
* 6,419 ms first-visible p50 (router-spec). `createDelegatedTurnKeys` keeps one child per turn with
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* 'timestamp'`). D1 is structural: Cloudflare `D1Database` satisfies
|
|
17
17
|
* {@link TangleIdentityD1Like}.
|
|
18
18
|
*/
|
|
19
|
-
import { type TangleIdentitySsoAccountStore } from './sso';
|
|
19
|
+
import { type TangleIdentitySsoAccountStore } from './sso.js';
|
|
20
20
|
/** Better Auth `account.providerId` for the Tangle platform link. */
|
|
21
21
|
export declare const TANGLE_IDENTITY_PROVIDER_ID = "tangle";
|
|
22
22
|
/** Partial unique indexes the store requires on Better Auth's `account` table. */
|
package/dist/preflight/cli.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { type PreflightProbe } from './index';
|
|
2
|
+
import { type PreflightProbe } from './index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Load the probe list from a config module. Fail loud on every miss — a
|
|
5
5
|
* preflight that silently probes nothing and exits 0 is worse than no
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TurnDriveResult } from '@tangle-network/sandbox';
|
|
2
|
-
import type { Outcome } from '../sandbox/outcome';
|
|
3
|
-
import { type SandboxTransientFailure } from '../sandbox/transient-failure';
|
|
2
|
+
import type { Outcome } from '../sandbox/outcome.js';
|
|
3
|
+
import { type SandboxTransientFailure } from '../sandbox/transient-failure.js';
|
|
4
4
|
/** The stable identity a Workflow reuses on every retry of one turn. */
|
|
5
5
|
export interface DetachedTurnWorkflowIdentity {
|
|
6
6
|
/** Sandbox session resume key. */
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
* - Crypto/billing reuse `../crypto` + `../billing` exactly — this only wires
|
|
26
26
|
* them to the D1 key table.
|
|
27
27
|
*/
|
|
28
|
-
import { type KeyCrypto, type KeyProvisioner, type WorkspaceKeyManager, type WorkspaceKeyStore } from '../billing/index';
|
|
29
|
-
import type { KnowledgeStateAccessor } from '../knowledge/index';
|
|
30
|
-
import type { AppToolHandlers } from '../tools/index';
|
|
31
|
-
import type { KvLike } from '../web/index';
|
|
32
|
-
export { ensureCloudflareWorkflowInstance, type CloudflareWorkflowBindingLike, type CloudflareWorkflowInstanceLike, type EnsureCloudflareWorkflowInstanceResult, } from './workflow-instance';
|
|
33
|
-
export { runDetachedTurnWorkflowTick, SANDBOX_TRANSIENT_TICK_POLICY, type DetachedTurnTransientPolicy, type CloudflareWorkflowEventLike, type CloudflareWorkflowSleepDuration, type CloudflareWorkflowStepLike, type DetachedTurnDriveOutcome, type DetachedTurnDriveState, type DetachedTurnTerminalResult, type DetachedTurnWorkflowIdentity, type DetachedTurnWorkflowTickOptions, } from './detached-turn-workflow';
|
|
34
|
-
export { runNativeCompletionWorkflow, type NativeCompletionWorkflowOptions, type NativeCompletionWorkflowPayload, } from './native-completion-workflow';
|
|
35
|
-
export * from './native-completion-store';
|
|
36
|
-
export * from './native-completion-owner';
|
|
37
|
-
export { renderCloudflareHeadersFile, type CloudflareHeadersRule, } from './headers';
|
|
28
|
+
import { type KeyCrypto, type KeyProvisioner, type WorkspaceKeyManager, type WorkspaceKeyStore } from '../billing/index.js';
|
|
29
|
+
import type { KnowledgeStateAccessor } from '../knowledge/index.js';
|
|
30
|
+
import type { AppToolHandlers } from '../tools/index.js';
|
|
31
|
+
import type { KvLike } from '../web/index.js';
|
|
32
|
+
export { ensureCloudflareWorkflowInstance, type CloudflareWorkflowBindingLike, type CloudflareWorkflowInstanceLike, type EnsureCloudflareWorkflowInstanceResult, } from './workflow-instance.js';
|
|
33
|
+
export { runDetachedTurnWorkflowTick, SANDBOX_TRANSIENT_TICK_POLICY, type DetachedTurnTransientPolicy, type CloudflareWorkflowEventLike, type CloudflareWorkflowSleepDuration, type CloudflareWorkflowStepLike, type DetachedTurnDriveOutcome, type DetachedTurnDriveState, type DetachedTurnTerminalResult, type DetachedTurnWorkflowIdentity, type DetachedTurnWorkflowTickOptions, } from './detached-turn-workflow.js';
|
|
34
|
+
export { runNativeCompletionWorkflow, type NativeCompletionWorkflowOptions, type NativeCompletionWorkflowPayload, } from './native-completion-workflow.js';
|
|
35
|
+
export * from './native-completion-store.js';
|
|
36
|
+
export * from './native-completion-owner.js';
|
|
37
|
+
export { renderCloudflareHeadersFile, type CloudflareHeadersRule, } from './headers.js';
|
|
38
38
|
/** A prepared, bound D1 statement. */
|
|
39
39
|
export interface D1PreparedLike {
|
|
40
40
|
bind(...values: unknown[]): D1PreparedLike;
|
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
import "../chunk-K2JPSXKI.js";
|
|
36
36
|
import {
|
|
37
37
|
parseRenderUiSchema
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-VKJEH6DG.js";
|
|
39
39
|
import "../chunk-S5SRJJQG.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-E2JMXA2V.js";
|
|
41
41
|
import {
|
|
42
42
|
createTurnTrace
|
|
43
43
|
} from "../chunk-J4SI766J.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { type NativeCompletionReceipt, type NativeCompletionSessionSource } from '../chat-routes/native-completion';
|
|
2
|
-
import type { ChatTurnMessageStore } from '../chat-routes/turn-route-contracts';
|
|
3
|
-
import { type TurnTrace, type TurnTraceSink, type TurnTraceSnapshot } from '../turn-trace/index';
|
|
4
|
-
import { type TurnStreamNamespaceLike, type TurnStreamAuth } from '../turn-stream/adapters';
|
|
5
|
-
import { type CloudflareWorkflowBindingLike } from './workflow-instance';
|
|
6
|
-
import { type NativeCompletionPayload, type NativeCompletionCheckpoint } from './native-completion-store';
|
|
7
|
-
import type { D1Like } from './index';
|
|
8
|
-
import type { NativeCompletionWorkflowOptions } from './native-completion-workflow';
|
|
9
|
-
import type { CloudflareWorkflowEventLike, CloudflareWorkflowStepLike } from './detached-turn-workflow';
|
|
1
|
+
import { type NativeCompletionReceipt, type NativeCompletionSessionSource } from '../chat-routes/native-completion.js';
|
|
2
|
+
import type { ChatTurnMessageStore } from '../chat-routes/turn-route-contracts.js';
|
|
3
|
+
import { type TurnTrace, type TurnTraceSink, type TurnTraceSnapshot } from '../turn-trace/index.js';
|
|
4
|
+
import { type TurnStreamNamespaceLike, type TurnStreamAuth } from '../turn-stream/adapters.js';
|
|
5
|
+
import { type CloudflareWorkflowBindingLike } from './workflow-instance.js';
|
|
6
|
+
import { type NativeCompletionPayload, type NativeCompletionCheckpoint } from './native-completion-store.js';
|
|
7
|
+
import type { D1Like } from './index.js';
|
|
8
|
+
import type { NativeCompletionWorkflowOptions } from './native-completion-workflow.js';
|
|
9
|
+
import type { CloudflareWorkflowEventLike, CloudflareWorkflowStepLike } from './detached-turn-workflow.js';
|
|
10
10
|
export declare const NATIVE_CHECKPOINT_MAX_BYTES: number;
|
|
11
11
|
export declare function nativeCompletionWorkflowId(executionId: string, prefix: string): Promise<string>;
|
|
12
12
|
/** A handed-off projection must never export the durable owner's root early. */
|
|
@@ -53,7 +53,7 @@ export declare function createNativeCompletionOwner<TPayload extends NativeCompl
|
|
|
53
53
|
finalizedAt: number | null;
|
|
54
54
|
vaultReconciledAt: number | null;
|
|
55
55
|
} | null>;
|
|
56
|
-
admissionStore: import("../chat-routes").NativeCompletionAdmissionStore;
|
|
56
|
+
admissionStore: import("../chat-routes/index.js").NativeCompletionAdmissionStore;
|
|
57
57
|
projectionEnded(executionId: string): Promise<void>;
|
|
58
58
|
register(payload: TPayload, checkpoint: NativeCompletionCheckpoint): Promise<void>;
|
|
59
59
|
checkpoint(executionId: string, value: NativeCompletionCheckpoint): Promise<void>;
|
|
@@ -63,7 +63,7 @@ export declare function createNativeCompletionOwner<TPayload extends NativeCompl
|
|
|
63
63
|
persistTranscript: (payload: TPayload, receipt: NativeCompletionReceipt) => Promise<string>;
|
|
64
64
|
finalizeBuffer: (payload: TPayload, receipt: NativeCompletionReceipt) => Promise<void>;
|
|
65
65
|
releaseLock: (payload: TPayload) => Promise<void>;
|
|
66
|
-
observe: (payload: TPayload, source: TSource | null, readonly?: boolean) => Promise<import("../chat-routes").NativeCompletionObservation>;
|
|
66
|
+
observe: (payload: TPayload, source: TSource | null, readonly?: boolean) => Promise<import("../chat-routes/index.js").NativeCompletionObservation>;
|
|
67
67
|
reconcile: (payload: TPayload, source: TSource) => Promise<boolean>;
|
|
68
68
|
/** Bind the maintained workflow algorithm; domain effects remain product callbacks. */
|
|
69
69
|
workflow(input: {
|
|
@@ -71,7 +71,7 @@ export declare function createNativeCompletionOwner<TPayload extends NativeCompl
|
|
|
71
71
|
step: CloudflareWorkflowStepLike;
|
|
72
72
|
initialize(): void;
|
|
73
73
|
source(payload: TPayload): Promise<TSource | null>;
|
|
74
|
-
observe?(payload: TPayload): ReturnType<(payload: TPayload, source: TSource | null, readonly?: boolean) => Promise<import("../chat-routes").NativeCompletionObservation>>;
|
|
74
|
+
observe?(payload: TPayload): ReturnType<(payload: TPayload, source: TSource | null, readonly?: boolean) => Promise<import("../chat-routes/index.js").NativeCompletionObservation>>;
|
|
75
75
|
settle(payload: TPayload, receipt: NativeCompletionReceipt, messageId: string): Promise<void>;
|
|
76
76
|
timing(payload: TPayload, checkpoint: NativeCompletionCheckpoint, trace: TurnTraceSnapshot, receipt: NativeCompletionReceipt): Promise<void>;
|
|
77
77
|
exportTrace(payload: TPayload, trace: TurnTraceSnapshot): Promise<void>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { NativeCompletionAdmissionStore } from '../chat-routes/native-completion';
|
|
2
|
-
import type { TurnTraceSummary, TurnSpanRecord } from '../turn-trace/index';
|
|
3
|
-
import type { TurnLockReleaseInput } from '../turn-stream/core';
|
|
4
|
-
import type { D1Like } from './index';
|
|
1
|
+
import type { NativeCompletionAdmissionStore } from '../chat-routes/native-completion.js';
|
|
2
|
+
import type { TurnTraceSummary, TurnSpanRecord } from '../turn-trace/index.js';
|
|
3
|
+
import type { TurnLockReleaseInput } from '../turn-stream/core.js';
|
|
4
|
+
import type { D1Like } from './index.js';
|
|
5
5
|
/** Server-authorized identities. Products extend this with typed settlement data, never credentials. */
|
|
6
6
|
export interface NativeCompletionPayload {
|
|
7
7
|
executionId: string;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Product callbacks own domain effects and may use their own Workflow steps;
|
|
4
4
|
* this helper never nests those callbacks inside `step.do`.
|
|
5
5
|
*/
|
|
6
|
-
import type { NativeCompletionObservation, NativeCompletionReceipt } from '../chat-routes/native-completion';
|
|
7
|
-
import { type CloudflareWorkflowEventLike, type CloudflareWorkflowSleepDuration, type CloudflareWorkflowStepLike, type DetachedTurnWorkflowIdentity } from './detached-turn-workflow';
|
|
6
|
+
import type { NativeCompletionObservation, NativeCompletionReceipt } from '../chat-routes/native-completion.js';
|
|
7
|
+
import { type CloudflareWorkflowEventLike, type CloudflareWorkflowSleepDuration, type CloudflareWorkflowStepLike, type DetachedTurnWorkflowIdentity } from './detached-turn-workflow.js';
|
|
8
8
|
/** Stable identity required to resume a registered native completion. */
|
|
9
9
|
export interface NativeCompletionWorkflowPayload extends DetachedTurnWorkflowIdentity {
|
|
10
10
|
registeredAt: number;
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* prompt it scores is byte-identical to the prompt production would render if
|
|
23
23
|
* that candidate were promoted.
|
|
24
24
|
*/
|
|
25
|
-
import { type ComposeProfileBudget } from './budget';
|
|
26
|
-
import { type SystemPromptPlacement } from './prompt-placement';
|
|
27
|
-
import { type OperatingContractClauseId, type OperatingContractOptions } from './operating-contract';
|
|
25
|
+
import { type ComposeProfileBudget } from './budget.js';
|
|
26
|
+
import { type SystemPromptPlacement } from './prompt-placement.js';
|
|
27
|
+
import { type OperatingContractClauseId, type OperatingContractOptions } from './operating-contract.js';
|
|
28
28
|
/** Section id of the evolvable learned guidance, shared by every product and its loop. */
|
|
29
29
|
export declare const LEARNED_GUIDANCE_SECTION_ID = "learned-guidance";
|
|
30
30
|
/** A titled prompt section a product supplies. */
|
package/dist/profile/index.d.ts
CHANGED
|
@@ -33,23 +33,23 @@
|
|
|
33
33
|
*/
|
|
34
34
|
import type { AgentProfile, AgentProfileFileMount, AgentProfileMcpServer, AgentProfileResourceRef } from '@tangle-network/agent-interface';
|
|
35
35
|
import { profile } from '@tangle-network/agent-eval';
|
|
36
|
-
import { type SkillEntry } from '../skills/index';
|
|
37
|
-
import { type ComposeProfileBudget } from './budget';
|
|
38
|
-
import type { SystemPromptPlacement } from './prompt-placement';
|
|
36
|
+
import { type SkillEntry } from '../skills/index.js';
|
|
37
|
+
import { type ComposeProfileBudget } from './budget.js';
|
|
38
|
+
import type { SystemPromptPlacement } from './prompt-placement.js';
|
|
39
39
|
/** The prompt byte budget lives in `./budget` (import-free) so `/sandbox` can
|
|
40
40
|
* run the same gate without pulling agent-eval through this module. Re-exported
|
|
41
41
|
* here so the published `/profile` surface is unchanged. */
|
|
42
|
-
export { assertProfilePromptWithinBudget, assertSystemPromptWithinBudget, DEFAULT_MAX_SYSTEM_PROMPT_BYTES, largestPromptSections, type ComposeProfileBudget, } from './budget';
|
|
42
|
+
export { assertProfilePromptWithinBudget, assertSystemPromptWithinBudget, DEFAULT_MAX_SYSTEM_PROMPT_BYTES, largestPromptSections, type ComposeProfileBudget, } from './budget.js';
|
|
43
43
|
/** Re-expose agent-eval's `profile` namespace for products that still render
|
|
44
44
|
* through `profile.renderProfile`; new prompts use {@link renderAgentPrompt}.
|
|
45
45
|
* Re-exporting the bare functions would leak agent-eval's un-nameable
|
|
46
46
|
* AgentProfile type into our generated d.ts. */
|
|
47
47
|
export { profile };
|
|
48
|
-
export { LEARNED_GUIDANCE_SECTION_ID, renderAgentPrompt, stripComments, type AgentPromptInput, type AgentPromptSection, type RenderedAgentPrompt, type RenderedAgentPromptSection, } from './agent-prompt';
|
|
49
|
-
export { defaultSystemPromptPlacement, HARNESS_PROMPT_RECAST, HARNESSES_WITH_OWN_PROMPT, placedSystemPrompt, type SystemPromptPlacement, } from './prompt-placement';
|
|
50
|
-
export { OPERATING_CONTRACT_CLAUSES, OPERATING_CONTRACT_VERSION, renderOperatingContract, type OperatingContractClause, type OperatingContractClauseId, type OperatingContractOptions, type RenderedOperatingContract, } from './operating-contract';
|
|
51
|
-
export { defaultQualitySkills, HUMAN_PROSE_SKILL_ID, humanProseSkill, withDefaultQualitySkills, type HumanProseSkillOptions, type QualitySkillOptions, } from './quality-skills';
|
|
52
|
-
export { captureModelInput, createMemoryModelInputStore, MODEL_INPUT_RECORD_SCHEMA, modelInputBlob, readModelInput, type CaptureModelInputInput, type ModelInputBlob, type ModelInputKind, type ModelInputMediaType, type ModelInputOutcome, type ModelInputRecord, type ModelInputRef, type ModelInputSectionRef, type ModelInputStore, } from './model-input';
|
|
48
|
+
export { LEARNED_GUIDANCE_SECTION_ID, renderAgentPrompt, stripComments, type AgentPromptInput, type AgentPromptSection, type RenderedAgentPrompt, type RenderedAgentPromptSection, } from './agent-prompt.js';
|
|
49
|
+
export { defaultSystemPromptPlacement, HARNESS_PROMPT_RECAST, HARNESSES_WITH_OWN_PROMPT, placedSystemPrompt, type SystemPromptPlacement, } from './prompt-placement.js';
|
|
50
|
+
export { OPERATING_CONTRACT_CLAUSES, OPERATING_CONTRACT_VERSION, renderOperatingContract, type OperatingContractClause, type OperatingContractClauseId, type OperatingContractOptions, type RenderedOperatingContract, } from './operating-contract.js';
|
|
51
|
+
export { defaultQualitySkills, HUMAN_PROSE_SKILL_ID, humanProseSkill, withDefaultQualitySkills, type HumanProseSkillOptions, type QualitySkillOptions, } from './quality-skills.js';
|
|
52
|
+
export { captureModelInput, createMemoryModelInputStore, MODEL_INPUT_RECORD_SCHEMA, modelInputBlob, readModelInput, type CaptureModelInputInput, type ModelInputBlob, type ModelInputKind, type ModelInputMediaType, type ModelInputOutcome, type ModelInputRecord, type ModelInputRef, type ModelInputSectionRef, type ModelInputStore, } from './model-input.js';
|
|
53
53
|
/** The file-mount channels layered onto `resources.files`. The first three
|
|
54
54
|
* mirror {@link ComposeShellResourcesInput}; `userSkills` is the per-user /
|
|
55
55
|
* per-workspace channel — skills the END USER added to their own instance,
|
|
@@ -140,8 +140,8 @@ export declare function userSkillMounts(userSkills: UserSkill[]): AgentProfileFi
|
|
|
140
140
|
* default {@link DEFAULT_MAX_SYSTEM_PROMPT_BYTES}, `warnOnly` escape hatch).
|
|
141
141
|
*/
|
|
142
142
|
export declare function composeAgentProfile(base: AgentProfile, channels?: ProfileChannels, overlay?: ProfileOverlay, budget?: ComposeProfileBudget): AgentProfile;
|
|
143
|
-
export { assertSkillDeliveryDisjoint, composeShellResources, composeSkills, corpusSkills, loadMarkdownCorpus, mergeComposedSkills, parseCorpusSkills, parseSkillFrontmatter, registrySkills, renderInlineSkills, renderSkillIndex, skillEntryFromMarkdown, skillMountPath, skillRefs, } from '../skills/index';
|
|
144
|
-
export type { ComposedSkills, ComposeShellResourcesInput, CorpusEntry, CorpusLoadResult, GlobModules, LoadCorpusOptions, ParsedSkill, SkillDeliveryMode, SkillEntry, SkillFrontmatter, } from '../skills/index';
|
|
145
|
-
export { diffProfileFingerprints, fingerprintAgentProfile, formatProfileDrift, } from './fingerprint';
|
|
146
|
-
export type { ProfileDrift, ProfileDriftEntry, ProfileFingerprint, ProfileFingerprintContext, } from './fingerprint';
|
|
147
|
-
export { DEFAULT_HOME_LIMITS, defaultHomeFiles, withDefaultAgentHome } from './home';
|
|
143
|
+
export { assertSkillDeliveryDisjoint, composeShellResources, composeSkills, corpusSkills, loadMarkdownCorpus, mergeComposedSkills, parseCorpusSkills, parseSkillFrontmatter, registrySkills, renderInlineSkills, renderSkillIndex, skillEntryFromMarkdown, skillMountPath, skillRefs, } from '../skills/index.js';
|
|
144
|
+
export type { ComposedSkills, ComposeShellResourcesInput, CorpusEntry, CorpusLoadResult, GlobModules, LoadCorpusOptions, ParsedSkill, SkillDeliveryMode, SkillEntry, SkillFrontmatter, } from '../skills/index.js';
|
|
145
|
+
export { diffProfileFingerprints, fingerprintAgentProfile, formatProfileDrift, } from './fingerprint.js';
|
|
146
|
+
export type { ProfileDrift, ProfileDriftEntry, ProfileFingerprint, ProfileFingerprintContext, } from './fingerprint.js';
|
|
147
|
+
export { DEFAULT_HOME_LIMITS, defaultHomeFiles, withDefaultAgentHome } from './home.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* `ProfileFingerprint.promptSha`, so a fingerprint already on a receipt
|
|
15
15
|
* resolves to its system-prompt blob directly.
|
|
16
16
|
*/
|
|
17
|
-
import type { RenderedAgentPrompt } from './agent-prompt';
|
|
17
|
+
import type { RenderedAgentPrompt } from './agent-prompt.js';
|
|
18
18
|
export declare const MODEL_INPUT_RECORD_SCHEMA = "agent-app.model-input.v1";
|
|
19
19
|
/** What an input was. `workspace-plan` is the canonical JSON of the
|
|
20
20
|
* materialized workspace plan; `turn-context` is per-turn text appended after
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* tiers, so the words the skill tells the agent to avoid are the words the
|
|
9
9
|
* scanner flags.
|
|
10
10
|
*/
|
|
11
|
-
import { type SkillEntry } from '../skills/index';
|
|
11
|
+
import { type SkillEntry } from '../skills/index.js';
|
|
12
12
|
export declare const HUMAN_PROSE_SKILL_ID = "human-prose";
|
|
13
13
|
/** Product additions to the shared writing skill. */
|
|
14
14
|
export interface HumanProseSkillOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentProfileMcpServer } from '@tangle-network/agent-interface/profile';
|
|
2
|
-
import { type McpHealth, type ProfileEditorGitHubPort, type ProfileEditorMcpPort } from './index';
|
|
3
|
-
export * from './index';
|
|
2
|
+
import { type McpHealth, type ProfileEditorGitHubPort, type ProfileEditorMcpPort } from './index.js';
|
|
3
|
+
export * from './index.js';
|
|
4
4
|
/**
|
|
5
5
|
* A GitHub read failure. `status` is the HTTP status GitHub returned, or
|
|
6
6
|
* `not-connected` when the workspace has no usable connection, or
|
|
@@ -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 {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createChatTurnRoutes,
|
|
3
3
|
streamChatRouteAsSandboxEvents
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RG2CF4CS.js";
|
|
5
5
|
import "../chunk-SBHFMDR7.js";
|
|
6
6
|
import "../chunk-RKNNMC6T.js";
|
|
7
7
|
import "../chunk-XBBXPZJI.js";
|
|
@@ -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
|
/**
|