@tangle-network/agent-app 0.63.65 → 0.63.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/dist/{DesignCanvasEditor-6XNHSREG.js → DesignCanvasEditor-PUO5Y6FB.js} +3 -3
- package/dist/agent-enrollment/application.d.ts +2 -2
- package/dist/agent-enrollment/drizzle.d.ts +1 -1
- package/dist/agent-enrollment/index.d.ts +2 -2
- package/dist/agent-profiles/d1.d.ts +1 -1
- package/dist/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.d.ts +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/agent-profiles/self-management.d.ts +2 -2
- package/dist/alerting/index.d.ts +2 -2
- package/dist/app-auth/index.d.ts +3 -3
- package/dist/app-auth/index.js +1 -1
- package/dist/app-oauth/issuer.d.ts +2 -2
- package/dist/assets/index.d.ts +2 -2
- package/dist/assets/schema.d.ts +1 -1
- package/dist/assistant/AssistantDock.d.ts +3 -3
- package/dist/assistant/AssistantHistory.d.ts +1 -1
- package/dist/assistant/AssistantPanel.d.ts +6 -6
- package/dist/assistant/ProposalCard.d.ts +1 -1
- package/dist/assistant/client-context.d.ts +1 -1
- package/dist/assistant/client.d.ts +1 -1
- package/dist/assistant/index.d.ts +14 -14
- package/dist/assistant/launcher.d.ts +1 -1
- package/dist/assistant/page-context.d.ts +1 -1
- package/dist/assistant/presentation.d.ts +1 -1
- package/dist/assistant/reducer.d.ts +1 -1
- package/dist/assistant/transcript.d.ts +3 -3
- package/dist/assistant/useAssistantChat.d.ts +2 -2
- package/dist/assistant/useAssistantModels.d.ts +1 -1
- package/dist/assistant/useAssistantThreads.d.ts +1 -1
- package/dist/billing/crypto-probe.d.ts +1 -1
- package/dist/billing/identity-bound.d.ts +1 -1
- package/dist/billing/identity-locks.d.ts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/brand-extraction/extract.d.ts +1 -1
- package/dist/brand-extraction/index.d.ts +4 -4
- package/dist/brand-extraction/map.d.ts +1 -1
- package/dist/catalog/index.d.ts +1 -1
- package/dist/channels/components.d.ts +1 -1
- package/dist/channels/context.d.ts +1 -1
- package/dist/channels/hooks.d.ts +8 -8
- package/dist/channels/index.d.ts +6 -6
- package/dist/channels/numbers.d.ts +3 -3
- package/dist/channels/payment.d.ts +3 -3
- package/dist/channels/ui.d.ts +1 -1
- package/dist/chat-react/index.d.ts +2 -2
- package/dist/chat-routes/agent-producers.d.ts +3 -3
- package/dist/chat-routes/attachment-store.d.ts +1 -1
- package/dist/chat-routes/attachment-upload.d.ts +3 -3
- package/dist/chat-routes/attachment-validation.d.ts +2 -2
- package/dist/chat-routes/attachment-write-safety.d.ts +1 -1
- package/dist/chat-routes/cancellation.d.ts +1 -1
- package/dist/chat-routes/completed-sandbox-turn.d.ts +3 -3
- package/dist/chat-routes/default-backend.d.ts +11 -11
- package/dist/chat-routes/detached-turn.d.ts +5 -5
- package/dist/chat-routes/dispatch-first.d.ts +3 -3
- package/dist/chat-routes/dispatch-parts.d.ts +5 -5
- package/dist/chat-routes/draft-persistence.d.ts +3 -3
- package/dist/chat-routes/durable-projection.d.ts +1 -1
- package/dist/chat-routes/early-turn-work.d.ts +1 -1
- package/dist/chat-routes/file-index.d.ts +1 -1
- package/dist/chat-routes/gateway-adapter.d.ts +3 -3
- package/dist/chat-routes/hybrid-producer.d.ts +9 -9
- package/dist/chat-routes/index.d.ts +33 -33
- package/dist/chat-routes/index.js +4 -4
- package/dist/chat-routes/intelligence.d.ts +1 -1
- package/dist/chat-routes/model-failover-stream.d.ts +2 -2
- package/dist/chat-routes/native-completion.d.ts +1 -1
- package/dist/chat-routes/native-turn-timing.d.ts +2 -2
- package/dist/chat-routes/producer-stream.d.ts +1 -1
- package/dist/chat-routes/promote-file-part.d.ts +4 -4
- package/dist/chat-routes/protected-runtime-producer.d.ts +3 -3
- package/dist/chat-routes/resolve-attachments.d.ts +3 -3
- package/dist/chat-routes/route-prewarm.d.ts +1 -1
- package/dist/chat-routes/route-producer.d.ts +1 -1
- package/dist/chat-routes/route-storage.d.ts +7 -7
- package/dist/chat-routes/router-producer.d.ts +3 -3
- package/dist/chat-routes/sandbox-model-source.d.ts +4 -4
- package/dist/chat-routes/sandbox-producer.d.ts +5 -5
- package/dist/chat-routes/sandbox-turn-usage.d.ts +2 -2
- package/dist/chat-routes/stale-turn-lock.d.ts +1 -1
- package/dist/chat-routes/stored-attachments.d.ts +2 -2
- package/dist/chat-routes/turn-admission.d.ts +4 -4
- package/dist/chat-routes/turn-event-stream.d.ts +1 -1
- package/dist/chat-routes/turn-execution.d.ts +7 -7
- package/dist/chat-routes/turn-ownership.d.ts +4 -4
- package/dist/chat-routes/turn-prefetch.d.ts +2 -2
- package/dist/chat-routes/turn-route-contracts.d.ts +19 -19
- package/dist/chat-routes/turn-routes.d.ts +2 -2
- package/dist/chat-routes/upload.d.ts +1 -1
- package/dist/chat-store/core.d.ts +1 -1
- package/dist/chat-store/index.d.ts +4 -4
- package/dist/chat-store/parts.d.ts +5 -5
- package/dist/chat-store/schema.d.ts +1 -1
- package/dist/chat-store/store.d.ts +3 -3
- package/dist/chatgpt-react/fixtures.d.ts +1 -1
- package/dist/chatgpt-react/index.d.ts +1 -1
- package/dist/{chunk-H3DAXUKV.js → chunk-2ACI3WYT.js} +2 -2
- package/dist/{chunk-NJW4JCSF.js → chunk-62BPUU3A.js} +2 -2
- package/dist/{chunk-HJYEK4SU.js → chunk-6IMNAZR7.js} +2 -2
- package/dist/{chunk-XPB2UYHU.js → chunk-E2JMXA2V.js} +5 -5
- package/dist/{chunk-XPB2UYHU.js.map → chunk-E2JMXA2V.js.map} +1 -1
- package/dist/{chunk-4JTEPK2G.js → chunk-IIAXUKV7.js} +2 -2
- package/dist/{chunk-WOTWQ2ST.js → chunk-UOZ4JCFJ.js} +7 -7
- package/dist/{chunk-WOTWQ2ST.js.map → chunk-UOZ4JCFJ.js.map} +1 -1
- package/dist/{chunk-43CV4JIT.js → chunk-VKJEH6DG.js} +2 -2
- package/dist/{chunk-EUQ46YWK.js → chunk-X5BDMSPS.js} +17 -17
- package/dist/chunk-X5BDMSPS.js.map +1 -0
- package/dist/{chunk-FJRQCF43.js → chunk-XJ7DC2DI.js} +3 -3
- package/dist/{chunk-VQIH5NAB.js → chunk-YQD2RISF.js} +2 -2
- package/dist/config/index.d.ts +2 -2
- package/dist/crypto/index.d.ts +2 -2
- package/dist/design-canvas/apply.d.ts +3 -3
- package/dist/design-canvas/drizzle-store.d.ts +2 -2
- package/dist/design-canvas/drizzle.d.ts +2 -2
- package/dist/design-canvas/export-presets.d.ts +1 -1
- package/dist/design-canvas/index.d.ts +10 -10
- package/dist/design-canvas/mcp-context.d.ts +4 -4
- package/dist/design-canvas/mcp-elements-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-entry.d.ts +1 -1
- package/dist/design-canvas/mcp-handler.d.ts +1 -1
- package/dist/design-canvas/mcp-pages-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-read-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-templates-tools.d.ts +2 -2
- package/dist/design-canvas/mcp-tools.d.ts +3 -3
- package/dist/design-canvas/operations.d.ts +1 -1
- package/dist/design-canvas/schema.d.ts +1 -1
- package/dist/design-canvas/store.d.ts +1 -1
- package/dist/design-canvas/templates.d.ts +1 -1
- package/dist/design-canvas/validate.d.ts +2 -2
- package/dist/design-canvas-react/components/CanvasInsertPanel.d.ts +2 -2
- package/dist/design-canvas-react/components/DesignCanvas.d.ts +3 -3
- package/dist/design-canvas-react/components/DesignCanvasEditor.d.ts +1 -1
- package/dist/design-canvas-react/components/ElementNode.d.ts +2 -2
- package/dist/design-canvas-react/components/ExportControl.d.ts +1 -1
- package/dist/design-canvas-react/components/InlineTextEditor.d.ts +1 -1
- package/dist/design-canvas-react/components/LayersPanel.d.ts +1 -1
- package/dist/design-canvas-react/components/PagesStrip.d.ts +1 -1
- package/dist/design-canvas-react/components/Rulers.d.ts +1 -1
- package/dist/design-canvas-react/components/SelectionLayer.d.ts +3 -3
- package/dist/design-canvas-react/components/SnapGuidesOverlay.d.ts +2 -2
- package/dist/design-canvas-react/components/Toolbar.d.ts +3 -3
- package/dist/design-canvas-react/components/Workspace.d.ts +4 -4
- package/dist/design-canvas-react/components/glyphs.d.ts +31 -31
- package/dist/design-canvas-react/components/index.d.ts +18 -18
- package/dist/design-canvas-react/components/layer-tree.d.ts +1 -1
- package/dist/design-canvas-react/components/toolbar-page-controls.d.ts +1 -1
- package/dist/design-canvas-react/components/toolbar-selection-controls.d.ts +2 -2
- package/dist/design-canvas-react/components/use-workspace-keyboard.d.ts +3 -3
- package/dist/design-canvas-react/components/use-workspace-viewport.d.ts +2 -2
- package/dist/design-canvas-react/contracts.d.ts +3 -3
- package/dist/design-canvas-react/engine/command-stack.d.ts +2 -2
- package/dist/design-canvas-react/engine/commands.d.ts +6 -6
- package/dist/design-canvas-react/engine/selection.d.ts +1 -1
- package/dist/design-canvas-react/engine/snap.d.ts +2 -2
- package/dist/design-canvas-react/engine/zoom-pan.d.ts +1 -1
- package/dist/design-canvas-react/engine.d.ts +8 -8
- package/dist/design-canvas-react/export-math.d.ts +2 -2
- package/dist/design-canvas-react/export.d.ts +2 -2
- package/dist/design-canvas-react/index.d.ts +4 -4
- package/dist/design-canvas-react/index.js +3 -3
- package/dist/design-canvas-react/insert-builders.d.ts +1 -1
- package/dist/design-canvas-react/lazy.d.ts +4 -4
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/documents/docx.d.ts +2 -2
- package/dist/documents/extract.d.ts +1 -1
- package/dist/documents/index.d.ts +5 -5
- package/dist/documents/media-type.d.ts +1 -1
- package/dist/documents/pdf-inspector.d.ts +1 -1
- package/dist/email/index.d.ts +3 -3
- package/dist/email/index.js +1 -1
- package/dist/email/palette.d.ts +6 -6
- package/dist/email/templates.d.ts +1 -1
- package/dist/eval/index.d.ts +7 -7
- package/dist/eval-campaign/index.d.ts +1 -1
- package/dist/forms/blank.d.ts +1 -1
- package/dist/forms/fill.d.ts +1 -1
- package/dist/forms/index.d.ts +4 -4
- package/dist/forms/verify.d.ts +1 -1
- package/dist/harness/index.d.ts +3 -3
- package/dist/harness/presets.d.ts +1 -1
- package/dist/hosted-agent/application.d.ts +4 -4
- package/dist/hosted-agent/index.d.ts +5 -5
- package/dist/hosted-agent/react/ApplicationLineSetup.d.ts +3 -3
- package/dist/hosted-agent/react/LineBilling.d.ts +1 -1
- package/dist/hosted-agent/react/LineMembers.d.ts +1 -1
- package/dist/hosted-agent/react/LineSetup.d.ts +1 -1
- package/dist/hosted-agent/react/index.d.ts +6 -6
- package/dist/hosted-agent/workspace-line.d.ts +1 -1
- package/dist/hub-approvals/index.d.ts +4 -4
- package/dist/hub-approvals/present.d.ts +1 -1
- package/dist/hub-approvals-react/dock.d.ts +1 -1
- package/dist/hub-approvals-react/email.d.ts +1 -1
- package/dist/hub-approvals-react/feedback.d.ts +1 -1
- package/dist/hub-approvals-react/index.d.ts +8 -8
- package/dist/hub-approvals-react/list.d.ts +1 -1
- package/dist/hub-approvals-react/media.d.ts +1 -1
- package/dist/hub-approvals-react/parts.d.ts +1 -1
- package/dist/hub-approvals-react/preview.d.ts +1 -1
- package/dist/hub-approvals-react/receipt.d.ts +1 -1
- package/dist/hub-approvals-react/row.d.ts +1 -1
- package/dist/intakes/completion.d.ts +1 -1
- package/dist/intakes/drizzle/store.d.ts +3 -3
- package/dist/intakes/drizzle.d.ts +2 -2
- package/dist/intakes/index.d.ts +3 -3
- package/dist/integrations-react/index.d.ts +6 -6
- package/dist/integrations-react/panel.d.ts +3 -3
- package/dist/integrations-react/popup.d.ts +1 -1
- package/dist/integrations-react/use-hub-integrations.d.ts +13 -13
- package/dist/interactions/index.d.ts +3 -3
- package/dist/interactions/route.d.ts +2 -2
- package/dist/interactions/sidecar.d.ts +1 -1
- package/dist/journeys/index.js +8 -4
- package/dist/journeys/index.js.map +1 -1
- package/dist/journeys/journey.d.ts +5 -0
- package/dist/knowledge-loop/index.d.ts +1 -1
- package/dist/legibility/checks/empty-state.d.ts +2 -2
- package/dist/legibility/checks/reachability.d.ts +2 -2
- package/dist/legibility/checks/silent-failure.d.ts +2 -2
- package/dist/legibility/checks/success.d.ts +2 -2
- package/dist/legibility/checks/vocabulary.d.ts +2 -2
- package/dist/legibility/cli-args.d.ts +1 -1
- package/dist/legibility/index.d.ts +9 -9
- package/dist/legibility/report.d.ts +1 -1
- package/dist/legibility/scan.d.ts +1 -1
- package/dist/legibility/suppress.d.ts +2 -2
- package/dist/media/generate-request.d.ts +1 -1
- package/dist/media/generation-record.d.ts +2 -2
- package/dist/media/index.d.ts +6 -6
- package/dist/media/model-catalog.d.ts +1 -1
- package/dist/media/router-generation.d.ts +1 -1
- package/dist/media/speech-script.d.ts +1 -1
- package/dist/missions/engine.d.ts +2 -2
- package/dist/missions/events.d.ts +1 -1
- package/dist/missions/index.d.ts +5 -5
- package/dist/missions/plan-parse.d.ts +1 -1
- package/dist/model-resolution/failover.d.ts +1 -1
- package/dist/model-resolution/index.d.ts +3 -3
- package/dist/openui/action.d.ts +1 -1
- package/dist/openui/authoring.d.ts +1 -1
- package/dist/openui/index.d.ts +5 -5
- package/dist/openui/route.d.ts +3 -3
- package/dist/openui-react/index.d.ts +1 -1
- package/dist/peer-floors/check.d.ts +1 -1
- package/dist/plans/decision.d.ts +1 -1
- package/dist/plans/drizzle.d.ts +1 -1
- package/dist/plans/index.d.ts +1 -1
- package/dist/platform/billable-turn-admission.d.ts +1 -1
- package/dist/platform/billing.d.ts +1 -1
- package/dist/platform/delegated-turn-keys.d.ts +2 -2
- package/dist/platform/sso-identity-store.d.ts +1 -1
- package/dist/preflight/cli.d.ts +1 -1
- package/dist/preset-cloudflare/detached-turn-workflow.d.ts +2 -2
- package/dist/preset-cloudflare/index.d.ts +10 -10
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/preset-cloudflare/native-completion-owner.d.ts +12 -12
- package/dist/preset-cloudflare/native-completion-store.d.ts +4 -4
- package/dist/preset-cloudflare/native-completion-workflow.d.ts +2 -2
- package/dist/profile/agent-prompt.d.ts +3 -3
- package/dist/profile/index.d.ts +14 -14
- package/dist/profile/model-input.d.ts +1 -1
- package/dist/profile/quality-skills.d.ts +1 -1
- package/dist/profile-editor/server.d.ts +2 -2
- package/dist/public-consultation/index.d.ts +7 -7
- package/dist/public-consultation/index.js +4 -4
- package/dist/record/drizzle/schema.d.ts +1 -1
- package/dist/record/drizzle/store.d.ts +3 -3
- package/dist/record/drizzle.d.ts +2 -2
- package/dist/record/fold.d.ts +1 -1
- package/dist/record/index.d.ts +3 -3
- package/dist/rollout/d1.d.ts +3 -3
- package/dist/runtime/certified-delivery.d.ts +1 -1
- package/dist/runtime/index.d.ts +10 -10
- package/dist/runtime/openai-stream.d.ts +1 -1
- package/dist/runtime/protected-router-turn.d.ts +1 -1
- package/dist/runtime/router-turn.d.ts +6 -6
- package/dist/runtime/surface-profile.d.ts +1 -1
- package/dist/runtime/turn-continuation.d.ts +1 -1
- package/dist/sandbox/access.d.ts +2 -2
- package/dist/sandbox/app-tools.d.ts +2 -2
- package/dist/sandbox/box-health.d.ts +3 -3
- package/dist/sandbox/computer-step.d.ts +5 -5
- package/dist/sandbox/configuration.d.ts +9 -9
- package/dist/sandbox/credentials.d.ts +1 -1
- package/dist/sandbox/existing-box.d.ts +4 -4
- package/dist/sandbox/foreground-single-flight.d.ts +4 -4
- package/dist/sandbox/index.d.ts +55 -55
- package/dist/sandbox/index.js +4 -4
- package/dist/sandbox/prewarm-claim-d1.d.ts +1 -1
- package/dist/sandbox/prewarm-route.d.ts +2 -2
- package/dist/sandbox/prewarm.d.ts +2 -2
- package/dist/sandbox/profile-corpus.d.ts +4 -4
- package/dist/sandbox/profile-files.d.ts +1 -1
- package/dist/sandbox/prompt-dispatch.d.ts +3 -3
- package/dist/sandbox/prompt-events.d.ts +2 -2
- package/dist/sandbox/prompt-options.d.ts +4 -4
- package/dist/sandbox/prompt-profile.d.ts +3 -3
- package/dist/sandbox/prompt-result.d.ts +4 -4
- package/dist/sandbox/prompt-trace.d.ts +1 -1
- package/dist/sandbox/recovery-original.d.ts +1 -1
- package/dist/sandbox/recovery.d.ts +1 -1
- package/dist/sandbox/router-models.d.ts +1 -1
- package/dist/sandbox/runtime-cache.d.ts +3 -3
- package/dist/sandbox/runtime-connection.d.ts +2 -2
- package/dist/sandbox/sandbox-exec-tool.d.ts +1 -1
- package/dist/sandbox/sandbox-run-tool.d.ts +5 -5
- package/dist/sandbox/warm-lease-d1.d.ts +1 -1
- package/dist/sandbox/workspace-boxes.d.ts +2 -2
- package/dist/sandbox/workspace-claim.d.ts +1 -1
- package/dist/sandbox/workspace-provision.d.ts +1 -1
- package/dist/sequences/apply.d.ts +4 -4
- package/dist/sequences/captions.d.ts +1 -1
- package/dist/sequences/drizzle-store.d.ts +3 -3
- package/dist/sequences/drizzle.d.ts +2 -2
- package/dist/sequences/exports.d.ts +1 -1
- package/dist/sequences/index.d.ts +11 -11
- package/dist/sequences/mcp-entry.d.ts +1 -1
- package/dist/sequences/mcp-handler.d.ts +2 -2
- package/dist/sequences/mcp-tools.d.ts +1 -1
- package/dist/sequences/operations.d.ts +1 -1
- package/dist/sequences/row-mapping.d.ts +1 -1
- package/dist/sequences/store.d.ts +1 -1
- package/dist/sequences/validate.d.ts +2 -2
- package/dist/sequences-react/components/PreviewCanvas.d.ts +2 -2
- package/dist/sequences-react/components/SnapIndicatorLine.d.ts +1 -1
- package/dist/sequences-react/components/TimelineClipChip.d.ts +2 -2
- package/dist/sequences-react/components/TimelineEditor.d.ts +1 -1
- package/dist/sequences-react/components/TimelineEmptyState.d.ts +1 -1
- package/dist/sequences-react/components/TimelineHistory.d.ts +4 -4
- package/dist/sequences-react/components/TimelineSmallScreenGate.d.ts +1 -1
- package/dist/sequences-react/components/TimelineTrackRow.d.ts +3 -3
- package/dist/sequences-react/components/ZoomControl.d.ts +1 -1
- package/dist/sequences-react/components/composite-command.d.ts +1 -1
- package/dist/sequences-react/components/glyphs.d.ts +12 -12
- package/dist/sequences-react/components/index.d.ts +24 -24
- package/dist/sequences-react/components/interaction-math.d.ts +1 -1
- package/dist/sequences-react/contracts.d.ts +3 -3
- package/dist/sequences-react/engine/command-stack.d.ts +2 -2
- package/dist/sequences-react/engine/commands.d.ts +2 -2
- package/dist/sequences-react/engine/playback.d.ts +1 -1
- package/dist/sequences-react/engine/snap.d.ts +2 -2
- package/dist/sequences-react/engine/zoom.d.ts +1 -1
- package/dist/sequences-react/index.d.ts +11 -11
- package/dist/sequences-react/lazy.d.ts +1 -1
- package/dist/sequences-react/media/frame-provider.d.ts +1 -1
- package/dist/sequences-react/media/transcription.d.ts +2 -2
- package/dist/sequences-react/media/waveform.d.ts +1 -1
- package/dist/session-shell/command-palette.d.ts +1 -1
- package/dist/session-shell/index.d.ts +2 -2
- package/dist/settings-react/confirm-action.d.ts +2 -2
- package/dist/settings-react/delete-workspace-section.d.ts +1 -1
- package/dist/settings-react/index.d.ts +9 -9
- package/dist/settings-react/members-section.d.ts +4 -4
- package/dist/settings-react/setting-outcome.d.ts +1 -1
- package/dist/settings-react/use-setting-field.d.ts +1 -1
- package/dist/signoff/config.d.ts +1 -1
- package/dist/signoff/index.d.ts +13 -13
- package/dist/signoff/phases.d.ts +1 -1
- package/dist/signoff/proof-attach.d.ts +1 -1
- package/dist/signoff/proof-fixture.d.ts +1 -1
- package/dist/signoff/proof-from-report.d.ts +2 -2
- package/dist/signoff/proof-verify.d.ts +2 -2
- package/dist/signoff/proof.d.ts +6 -6
- package/dist/signoff/report.d.ts +1 -1
- package/dist/signoff/run.d.ts +1 -1
- package/dist/signoff/seeds.d.ts +1 -1
- package/dist/signoff/shell-alignment-cli.d.ts +1 -1
- package/dist/signoff/shell-alignment.d.ts +1 -1
- package/dist/signoff/surface-ladder-cli.d.ts +1 -1
- package/dist/signoff/surface-ladder.d.ts +1 -1
- package/dist/signoff/types.d.ts +2 -2
- package/dist/signoff/workspace-surface.d.ts +1 -1
- package/dist/signoff/workspace.d.ts +1 -1
- package/dist/skills/index.d.ts +2 -2
- package/dist/skills-placement/box.d.ts +2 -2
- package/dist/skills-placement/index.d.ts +3 -3
- package/dist/spend/budget.d.ts +1 -1
- package/dist/spend/ceiling.d.ts +1 -1
- package/dist/spend/cli-args.d.ts +1 -1
- package/dist/spend/drizzle.d.ts +1 -1
- package/dist/spend/fixtures/incident-parked-time.d.ts +1 -1
- package/dist/spend/index.d.ts +11 -11
- package/dist/spend/liveness.d.ts +1 -1
- package/dist/spend/ownership.d.ts +1 -1
- package/dist/spend/platform-settlements.d.ts +1 -1
- package/dist/spend/reconcile.d.ts +2 -2
- package/dist/spend/reference.d.ts +1 -1
- package/dist/spend/report.d.ts +1 -1
- package/dist/spend/store.d.ts +1 -1
- package/dist/stories/app-shell/fixtures.d.ts +3 -3
- package/dist/stories/assistant/fixtures.d.ts +5 -5
- package/dist/stories/chat/fixtures.d.ts +2 -2
- package/dist/stories/chat/run-drill-in.d.ts +1 -1
- package/dist/stories/chat-controls/fixtures.d.ts +5 -5
- package/dist/stories/design-canvas/fixtures.d.ts +3 -3
- package/dist/stories/fixtures/canvas.d.ts +1 -1
- package/dist/stories/fixtures/catalog.d.ts +1 -1
- package/dist/stories/fixtures/channels.d.ts +1 -1
- package/dist/stories/fixtures/chat.d.ts +1 -1
- package/dist/stories/fixtures/index.d.ts +4 -4
- package/dist/stories/fixtures/profile-editor.d.ts +2 -2
- package/dist/stories/fixtures/sequences.d.ts +2 -2
- package/dist/stories/hosted-agent/fixtures.d.ts +1 -1
- package/dist/stories/panels/fixtures.d.ts +2 -2
- package/dist/stories/sequences/fixtures.d.ts +2 -2
- package/dist/stories/settings/settings-demo.d.ts +1 -1
- package/dist/stories/studio/StudioProviders.d.ts +2 -2
- package/dist/stories/studio/fixtures.d.ts +1 -1
- package/dist/stream/index.d.ts +5 -5
- package/dist/stream/orphaned-turns.d.ts +1 -1
- package/dist/stream/stream-normalizer.d.ts +1 -1
- package/dist/stream/turn-identity.d.ts +1 -1
- package/dist/studio/generated-media/flows.d.ts +7 -7
- package/dist/studio/generated-media/index.d.ts +3 -3
- package/dist/studio/generated-media/store.d.ts +1 -1
- package/dist/studio/generation.d.ts +2 -2
- package/dist/studio/index.d.ts +4 -4
- package/dist/studio/model-options.d.ts +1 -1
- package/dist/studio/ports.d.ts +1 -1
- package/dist/studio-react/composer-option-controls.d.ts +1 -1
- package/dist/studio-react/composer-persistence.d.ts +2 -2
- package/dist/studio-react/download-generations.d.ts +2 -2
- package/dist/studio-react/index.d.ts +18 -18
- package/dist/studio-react/media-tile.d.ts +2 -2
- package/dist/studio-react/media-viewer.d.ts +1 -1
- package/dist/studio-react/studio-composer.d.ts +1 -1
- package/dist/studio-react/studio-generation-screen.d.ts +2 -2
- package/dist/studio-react/studio-history-screen.d.ts +1 -1
- package/dist/studio-react/studio-home-screen.d.ts +3 -3
- package/dist/studio-react/studio-playback.d.ts +1 -1
- package/dist/studio-react/use-batch-navigation.d.ts +1 -1
- package/dist/studio-react/use-deferred-delete.d.ts +2 -2
- package/dist/studio-react/use-generation-history.d.ts +2 -2
- package/dist/studio-react/use-studio-generations.d.ts +1 -1
- package/dist/studio-react/use-studio-route.d.ts +1 -1
- package/dist/studio-react/use-vault-save-state.d.ts +2 -2
- package/dist/studio-react/vault-path-popover.d.ts +1 -1
- package/dist/teams/drizzle/access.d.ts +3 -3
- package/dist/teams/drizzle/invitations-schema.d.ts +1 -1
- package/dist/teams/drizzle/personal-organization.d.ts +3 -3
- package/dist/teams/drizzle.d.ts +4 -4
- package/dist/teams/index.d.ts +4 -4
- package/dist/teams/invitations-api.d.ts +7 -7
- package/dist/teams/invitations.d.ts +1 -1
- package/dist/teams/members-api.d.ts +3 -3
- package/dist/teams/thread-access.d.ts +1 -1
- package/dist/teams-react/components/InvitationsPanel.d.ts +1 -1
- package/dist/teams-react/components/InviteAcceptPage.d.ts +1 -1
- package/dist/teams-react/components/InviteForm.d.ts +1 -1
- package/dist/teams-react/components/InviteTokenPage.d.ts +1 -1
- package/dist/teams-react/components/MembersPanel.d.ts +1 -1
- package/dist/teams-react/components/RoleSelect.d.ts +1 -1
- package/dist/teams-react/components/index.d.ts +4 -4
- package/dist/teams-react/components/invitation-detail.d.ts +1 -1
- package/dist/teams-react/components/member-access.d.ts +2 -2
- package/dist/teams-react/contracts.d.ts +2 -2
- package/dist/teams-react/index.d.ts +2 -2
- package/dist/theme/brand.generated.d.ts +17 -17
- package/dist/theme/dom.js +2 -2
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/tokens.css +31 -26
- package/dist/tools/auth.d.ts +1 -1
- package/dist/tools/dispatch.d.ts +2 -2
- package/dist/tools/gating.d.ts +1 -1
- package/dist/tools/http.d.ts +4 -4
- package/dist/tools/index.d.ts +12 -12
- package/dist/tools/index.js +4 -4
- package/dist/tools/mcp.d.ts +4 -4
- package/dist/tools/openai.d.ts +1 -1
- package/dist/tools/registry.d.ts +2 -2
- package/dist/tools/runtime.d.ts +2 -2
- package/dist/tools/types.d.ts +2 -2
- package/dist/trace/index.d.ts +2 -2
- package/dist/trace/mission-flow.d.ts +1 -1
- package/dist/turn-stream/adapters.d.ts +4 -4
- package/dist/turn-stream/cancellation-do.d.ts +2 -2
- package/dist/turn-stream/cancellation.d.ts +3 -3
- package/dist/turn-stream/do.d.ts +1 -1
- package/dist/turn-stream/index.d.ts +5 -5
- package/dist/turn-stream/memory.d.ts +2 -2
- package/dist/turn-trace/index.d.ts +5 -5
- package/dist/turn-trace/otel.d.ts +1 -1
- package/dist/turn-trace/phase-timing.d.ts +1 -1
- package/dist/turn-trace/recorder.d.ts +1 -1
- package/dist/turn-trace/traced-fetch.d.ts +1 -1
- package/dist/vault/VaultContentResults.d.ts +1 -1
- package/dist/vault/VaultCreateDialog.d.ts +1 -1
- package/dist/vault/VaultDocumentToolbar.d.ts +1 -1
- package/dist/vault/VaultHistoryPanel.d.ts +1 -1
- package/dist/vault/VaultPane.d.ts +1 -1
- package/dist/vault/VaultPaneOperations.d.ts +2 -2
- package/dist/vault/VaultPaneStates.d.ts +1 -1
- package/dist/vault/collaboration.d.ts +1 -1
- package/dist/vault/index.d.ts +3 -3
- package/dist/vault/lazy.d.ts +1 -1
- package/dist/vault/store/coordinator.d.ts +4 -4
- package/dist/vault/store/index.d.ts +10 -10
- package/dist/vault/store/revisions.d.ts +1 -1
- package/dist/vault/store/sandbox-engine.d.ts +5 -5
- package/dist/vault/store/sandbox-hydrate.d.ts +3 -3
- package/dist/vault/store/sandbox-reconcile.d.ts +3 -3
- package/dist/vault/store/sandbox-sync.d.ts +5 -5
- package/dist/vault/store/store.d.ts +5 -5
- package/dist/vault/useVaultDockPlacement.d.ts +1 -1
- package/dist/vault/useVaultSearch.d.ts +2 -2
- package/dist/vault/vault-tree-paths.d.ts +1 -1
- package/dist/web/core.d.ts +3 -3
- package/dist/web/free-route-limit.d.ts +1 -1
- package/dist/web/index.d.ts +9 -9
- package/dist/web-react/agent-profile-editor.d.ts +6 -6
- package/dist/web-react/agent-profile-github-source.d.ts +1 -1
- package/dist/web-react/agent-profile-mcp-servers.d.ts +2 -2
- package/dist/web-react/agent-profile-registry-search.d.ts +1 -1
- package/dist/web-react/agent-session-controls.d.ts +3 -3
- package/dist/web-react/async/async-view.d.ts +2 -2
- package/dist/web-react/async/index.d.ts +4 -4
- package/dist/web-react/async/use-async-resource.d.ts +1 -1
- package/dist/web-react/async/use-confirmed-mutation.d.ts +1 -1
- package/dist/web-react/chat-attachments.d.ts +1 -1
- package/dist/web-react/chat-composer-types.d.ts +3 -3
- package/dist/web-react/chat-composer.d.ts +2 -2
- package/dist/web-react/chat-interactions.d.ts +1 -1
- package/dist/web-react/chat-mentions.d.ts +1 -1
- package/dist/web-react/chat-message-body.d.ts +1 -1
- package/dist/web-react/chat-message-metrics.d.ts +2 -2
- package/dist/web-react/chat-message-types.d.ts +6 -6
- package/dist/web-react/chat-messages.d.ts +1 -1
- package/dist/web-react/chat-stream.d.ts +6 -6
- package/dist/web-react/chat-tool-call.d.ts +1 -1
- package/dist/web-react/command-palette.d.ts +2 -2
- package/dist/web-react/controls.d.ts +6 -6
- package/dist/web-react/document.js +2 -2
- package/dist/web-react/durable-chat-cards.d.ts +5 -5
- package/dist/web-react/durable-interaction-submit.d.ts +1 -1
- package/dist/web-react/durable-plan-card.d.ts +2 -2
- package/dist/web-react/durable-plan-flow-card.d.ts +2 -2
- package/dist/web-react/durable-plan-flow.d.ts +1 -1
- package/dist/web-react/effort-picker.d.ts +1 -1
- package/dist/web-react/entry-composer.d.ts +5 -5
- package/dist/web-react/harness-glyphs.d.ts +1 -1
- package/dist/web-react/index.d.ts +67 -67
- package/dist/web-react/insight-card.d.ts +1 -1
- package/dist/web-react/interaction-card-support.d.ts +1 -1
- package/dist/web-react/interaction-plan-card.d.ts +2 -2
- package/dist/web-react/interaction-question-card.d.ts +2 -2
- package/dist/web-react/mention-editor.d.ts +1 -1
- package/dist/web-react/mention-list.d.ts +1 -1
- package/dist/web-react/mention-serialize.d.ts +1 -1
- package/dist/web-react/message-attachments.d.ts +1 -1
- package/dist/web-react/message-projection.d.ts +1 -1
- package/dist/web-react/mission-activity.d.ts +1 -1
- package/dist/web-react/model-picker.d.ts +2 -2
- package/dist/web-react/provenance.d.ts +2 -2
- package/dist/web-react/record-grid-editors.d.ts +1 -1
- package/dist/web-react/record-grid-model.d.ts +1 -1
- package/dist/web-react/record-grid-review-actions.d.ts +1 -1
- package/dist/web-react/record-grid-source-marker.d.ts +1 -1
- package/dist/web-react/record-grid-types.d.ts +2 -2
- package/dist/web-react/record-grid-writes.d.ts +2 -2
- package/dist/web-react/record-grid.d.ts +3 -3
- package/dist/web-react/review-inbox.d.ts +2 -2
- package/dist/web-react/seat-paywall.d.ts +1 -1
- package/dist/web-react/session-history-panel.d.ts +2 -2
- package/dist/web-react/session-history.d.ts +4 -4
- package/dist/web-react/terminal.d.ts +2 -2
- package/dist/web-react/turn-progress.d.ts +1 -1
- package/dist/web-react/use-chat-interactions.d.ts +1 -1
- package/dist/web-react/use-composer-attachments.d.ts +3 -3
- package/dist/web-react/use-composer-commands.d.ts +2 -2
- package/dist/web-react/use-composer-file-intake.d.ts +1 -1
- package/dist/web-react/use-composer-send.d.ts +1 -1
- package/dist/web-react/use-file-mentions.d.ts +1 -1
- package/dist/web-react/use-models.d.ts +1 -1
- package/dist/web-react/use-plan-mode-selection.d.ts +1 -1
- package/dist/web-react/use-session-actions.d.ts +1 -1
- package/dist/web-react/use-session-history.d.ts +1 -1
- package/dist/web-react/work-product.d.ts +2 -2
- package/dist/work-product/draft-emission-tools.d.ts +3 -3
- package/dist/work-product/draft-tool-context.d.ts +4 -4
- package/dist/work-product/evidence-verification.d.ts +4 -4
- package/dist/work-product/index.d.ts +8 -8
- package/dist/work-product/index.js +2 -2
- package/dist/work-product/provenance.d.ts +2 -2
- package/dist/work-product/queue.d.ts +1 -1
- package/dist/work-product/route.d.ts +1 -1
- package/dist/work-product/service.d.ts +1 -1
- package/dist/work-product/submission-tool.d.ts +3 -3
- package/dist/work-product/tool-config.d.ts +4 -4
- package/dist/work-product/tools.d.ts +3 -3
- package/dist/work-product-react/index.d.ts +1 -1
- package/dist/workspace-apps/cloud-artifact-origin.d.ts +2 -2
- package/dist/workspace-apps/cloud-artifacts.d.ts +2 -2
- package/dist/workspace-apps/data-bridge.d.ts +1 -1
- package/dist/workspace-apps/index.d.ts +6 -6
- package/dist/workspace-apps/react.d.ts +2 -2
- package/dist/workspace-export/d1.d.ts +1 -1
- package/dist/workspace-export/engine.d.ts +2 -2
- package/dist/workspace-export/index.d.ts +8 -8
- package/dist/workspace-export/react.d.ts +1 -1
- package/dist/workspace-export/routes.d.ts +2 -2
- package/dist/workspace-export/sandbox.d.ts +1 -1
- package/dist/workspace-export/sources.d.ts +1 -1
- package/dist/workspace-react/index.d.ts +9 -9
- package/dist/workspace-react/workspace-list.d.ts +1 -1
- package/package.json +21 -27
- package/dist/chunk-EUQ46YWK.js.map +0 -1
- /package/dist/{DesignCanvasEditor-6XNHSREG.js.map → DesignCanvasEditor-PUO5Y6FB.js.map} +0 -0
- /package/dist/{chunk-H3DAXUKV.js.map → chunk-2ACI3WYT.js.map} +0 -0
- /package/dist/{chunk-NJW4JCSF.js.map → chunk-62BPUU3A.js.map} +0 -0
- /package/dist/{chunk-HJYEK4SU.js.map → chunk-6IMNAZR7.js.map} +0 -0
- /package/dist/{chunk-4JTEPK2G.js.map → chunk-IIAXUKV7.js.map} +0 -0
- /package/dist/{chunk-43CV4JIT.js.map → chunk-VKJEH6DG.js.map} +0 -0
- /package/dist/{chunk-FJRQCF43.js.map → chunk-XJ7DC2DI.js.map} +0 -0
- /package/dist/{chunk-VQIH5NAB.js.map → chunk-YQD2RISF.js.map} +0 -0
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* each other, so a Worker, a Durable Object and Node all bundle this entry
|
|
6
6
|
* as it is. The sink needs `fetch` and a tenant key, so it is server code.
|
|
7
7
|
*/
|
|
8
|
-
export * from './recorder';
|
|
9
|
-
export * from './server-timing';
|
|
10
|
-
export * from './traced-fetch';
|
|
11
|
-
export * from './otel';
|
|
12
|
-
export type { TurnPhaseTiming, TurnPhaseTimingOptions } from './phase-timing';
|
|
8
|
+
export * from './recorder.js';
|
|
9
|
+
export * from './server-timing.js';
|
|
10
|
+
export * from './traced-fetch.js';
|
|
11
|
+
export * from './otel.js';
|
|
12
|
+
export type { TurnPhaseTiming, TurnPhaseTimingOptions } from './phase-timing.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* POST per finished turn needs neither.
|
|
15
15
|
*/
|
|
16
16
|
import { type OtlpSpan } from '@tangle-network/agent-trace-contract/otlp';
|
|
17
|
-
import { type TurnSpanAttrs, type TurnTraceSink, type TurnTraceSnapshot } from './recorder';
|
|
17
|
+
import { type TurnSpanAttrs, type TurnTraceSink, type TurnTraceSnapshot } from './recorder.js';
|
|
18
18
|
export type { OtlpSpan } from '@tangle-network/agent-trace-contract/otlp';
|
|
19
19
|
/**
|
|
20
20
|
* A Tangle trace id as the 32-hex OTLP trace id. The rule is agent-trace-contract's `toW3CTraceId`, the one the Sandbox
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TurnSpan, TurnSpanAttrs, TurnSpanKind, TurnTrace } from './recorder';
|
|
1
|
+
import type { TurnSpan, TurnSpanAttrs, TurnSpanKind, TurnTrace } from './recorder.js';
|
|
2
2
|
/** Domain-named phases and concurrent work over the turn's existing clock and D1 counter. */
|
|
3
3
|
export interface TurnPhaseTiming {
|
|
4
4
|
readonly startedAt: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TurnPhaseTiming, type TurnPhaseTimingOptions } from './phase-timing';
|
|
1
|
+
import { type TurnPhaseTiming, type TurnPhaseTimingOptions } from './phase-timing.js';
|
|
2
2
|
/**
|
|
3
3
|
* One trace per agent turn: a root span for the turn's wall time and named
|
|
4
4
|
* child spans for where that time went (admission, each model call, each tool
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TurnSpan, TurnTrace } from './recorder';
|
|
1
|
+
import type { TurnSpan, TurnTrace } from './recorder.js';
|
|
2
2
|
/** 1-based count of `name` spans started through {@link nextCallIndex} on this trace. */
|
|
3
3
|
export declare function nextCallIndex(trace: TurnTrace, name: string): number;
|
|
4
4
|
export interface TracedModelFetchOptions {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* names the file, its folder, and an excerpt with the query marked, and opens
|
|
4
4
|
* the file through the pane's dirty-guarded navigation.
|
|
5
5
|
*/
|
|
6
|
-
import type { VaultContentMatch } from './contracts';
|
|
6
|
+
import type { VaultContentMatch } from './contracts.js';
|
|
7
7
|
export type ContentSearchState = {
|
|
8
8
|
status: 'idle';
|
|
9
9
|
} | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Actions for the selected file, with capability-bound mode/history/dock controls. */
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import type { VaultEditorMode, VaultFile, VaultPaneProps } from './contracts';
|
|
3
|
+
import type { VaultEditorMode, VaultFile, VaultPaneProps } from './contracts.js';
|
|
4
4
|
interface VaultDocumentToolbarProps {
|
|
5
5
|
file: VaultFile;
|
|
6
6
|
className?: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* version, so the version it replaces stays in the list.
|
|
5
5
|
*/
|
|
6
6
|
import { type ReactNode } from 'react';
|
|
7
|
-
import type { VaultRevision } from './contracts';
|
|
7
|
+
import type { VaultRevision } from './contracts.js';
|
|
8
8
|
export interface VaultHistoryPanelProps {
|
|
9
9
|
path: string;
|
|
10
10
|
listRevisions: (path: string) => Promise<VaultRevision[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { VaultPaneHandle, VaultPaneProps } from './contracts';
|
|
1
|
+
import type { VaultPaneHandle, VaultPaneProps } from './contracts.js';
|
|
2
2
|
export declare const VaultPane: import("react").ForwardRefExoticComponent<VaultPaneProps & import("react").RefAttributes<VaultPaneHandle>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { collectTreePaths } from './vault-tree-paths';
|
|
2
|
-
import type { VaultEditorMode, VaultFile, VaultMarkdownCodec, VaultOperation, VaultOperationFailure, VaultOperationPhase, VaultPaneProps, VaultRichParts, VaultTreeNode } from './contracts';
|
|
1
|
+
import { collectTreePaths } from './vault-tree-paths.js';
|
|
2
|
+
import type { VaultEditorMode, VaultFile, VaultMarkdownCodec, VaultOperation, VaultOperationFailure, VaultOperationPhase, VaultPaneProps, VaultRichParts, VaultTreeNode } from './contracts.js';
|
|
3
3
|
export interface VaultSaveScope {
|
|
4
4
|
key: object;
|
|
5
5
|
port: VaultPaneProps['port'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, type ErrorInfo, type ReactNode } from 'react';
|
|
2
|
-
import type { VaultOperationFailure } from './contracts';
|
|
2
|
+
import type { VaultOperationFailure } from './contracts.js';
|
|
3
3
|
export declare function operationMessage(error: unknown, fallback: string): string;
|
|
4
4
|
export declare function treeFailureMessage(failure: VaultOperationFailure, label: string): string;
|
|
5
5
|
export declare class EditorErrorBoundary extends Component<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CollaborationBootstrapResponse, type CollaborationTokenRefreshResponse, type SaveCollaborationSnapshotResponse } from '@tangle-network/sandbox';
|
|
2
|
-
import { type WorkspaceRole } from '../teams/roles';
|
|
2
|
+
import { type WorkspaceRole } from '../teams/roles.js';
|
|
3
3
|
export type CollaborationAccess = 'read' | 'write';
|
|
4
4
|
export interface CollaborationViewer {
|
|
5
5
|
id: string;
|
package/dist/vault/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* and DOM access begins only inside component render. A `React.lazy` code-split
|
|
11
11
|
* entry lives at `./vault/lazy`.
|
|
12
12
|
*/
|
|
13
|
-
export * from './contracts';
|
|
14
|
-
export { VaultPane } from './VaultPane';
|
|
13
|
+
export * from './contracts.js';
|
|
14
|
+
export { VaultPane } from './VaultPane.js';
|
|
15
15
|
export { VaultTree, VAULT_TREE_CHILD_PAGE, type VaultTreeProps } from '@tangle-network/sandbox-ui/vault-tree';
|
|
16
|
-
export { ConfirmDialog, type ConfirmDialogProps } from './ConfirmDialog';
|
|
16
|
+
export { ConfirmDialog, type ConfirmDialogProps } from './ConfirmDialog.js';
|
package/dist/vault/lazy.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* component directly, so the pane chunk loads on first render. Mount inside a
|
|
5
5
|
* `<Suspense>` boundary; the product provides the fallback.
|
|
6
6
|
*/
|
|
7
|
-
import type { VaultPaneHandle, VaultPaneProps } from './contracts';
|
|
7
|
+
import type { VaultPaneHandle, VaultPaneProps } from './contracts.js';
|
|
8
8
|
export type { VaultPaneHandle, VaultPaneProps };
|
|
9
9
|
/** Resolve VaultPane component lazily to optimize loading and improve performance */
|
|
10
10
|
export declare const VaultPaneLazy: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<VaultPaneProps & import("react").RefAttributes<VaultPaneHandle>>>;
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
* The product's Durable Object routes `/vault/mutate`, `/vault/head/get` and
|
|
13
13
|
* `/vault/head/list` to the handlers here and owns every other route.
|
|
14
14
|
*/
|
|
15
|
-
import type { KVStore } from '../../store';
|
|
16
|
-
import { VaultPathError } from './paths';
|
|
17
|
-
import { VaultReadConvergenceError, type VaultHeadState, type VaultMutationPolicy, type VaultMutationRequest, type VaultMutationResult, type VaultSandboxBaseline, type VaultVisibilityFence } from './revisions';
|
|
18
|
-
import { type StoredVaultBoxState } from './box-state';
|
|
15
|
+
import type { KVStore } from '../../store/index.js';
|
|
16
|
+
import { VaultPathError } from './paths.js';
|
|
17
|
+
import { VaultReadConvergenceError, type VaultHeadState, type VaultMutationPolicy, type VaultMutationRequest, type VaultMutationResult, type VaultSandboxBaseline, type VaultVisibilityFence } from './revisions.js';
|
|
18
|
+
import { type StoredVaultBoxState } from './box-state.js';
|
|
19
19
|
/** The Durable Object storage calls the coordinator makes; Cloudflare's storage satisfies it. */
|
|
20
20
|
export interface VaultCoordinatorStorage {
|
|
21
21
|
get<T>(key: string): Promise<T | undefined>;
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* coordinator its workspace Durable Object hosts. Products supply their
|
|
5
5
|
* frontmatter codec and the rules around a write through typed config.
|
|
6
6
|
*/
|
|
7
|
-
export * from './paths';
|
|
8
|
-
export * from './revisions';
|
|
9
|
-
export * from './tree';
|
|
10
|
-
export * from './store';
|
|
11
|
-
export * from './coordinator';
|
|
12
|
-
export * from './sandbox-sync';
|
|
13
|
-
export * from './box-state';
|
|
14
|
-
export * from './sandbox-hydrate';
|
|
15
|
-
export * from './sandbox-reconcile';
|
|
16
|
-
export * from './sandbox-engine';
|
|
7
|
+
export * from './paths.js';
|
|
8
|
+
export * from './revisions.js';
|
|
9
|
+
export * from './tree.js';
|
|
10
|
+
export * from './store.js';
|
|
11
|
+
export * from './coordinator.js';
|
|
12
|
+
export * from './sandbox-sync.js';
|
|
13
|
+
export * from './box-state.js';
|
|
14
|
+
export * from './sandbox-hydrate.js';
|
|
15
|
+
export * from './sandbox-reconcile.js';
|
|
16
|
+
export * from './sandbox-engine.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { KVStore } from '../../store';
|
|
1
|
+
import type { KVStore } from '../../store/index.js';
|
|
2
2
|
export declare const VAULT_HEAD_SCHEMA = "vault-head-v1";
|
|
3
3
|
export declare const VAULT_REVISION_SCHEMA = "vault-revision-v1";
|
|
4
4
|
export declare const VAULT_OPERATION_SCHEMA = "vault-operation-v1";
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* box directory; the engine owns the baseline, the manifest diff, conflict
|
|
6
6
|
* parking, rename-only deletes and the request-size limits.
|
|
7
7
|
*/
|
|
8
|
-
import { type VaultHydrationBox, type VaultHydrationOptions } from './sandbox-hydrate';
|
|
9
|
-
import { assertSandboxVaultReconciliation, type SandboxVaultSyncOptions, type VaultReconcileBox } from './sandbox-reconcile';
|
|
10
|
-
import type { SandboxVaultSyncConfig } from './sandbox-sync';
|
|
8
|
+
import { type VaultHydrationBox, type VaultHydrationOptions } from './sandbox-hydrate.js';
|
|
9
|
+
import { assertSandboxVaultReconciliation, type SandboxVaultSyncOptions, type VaultReconcileBox } from './sandbox-reconcile.js';
|
|
10
|
+
import type { SandboxVaultSyncConfig } from './sandbox-sync.js';
|
|
11
11
|
/** Bind the sync engine to a product's Vault store and box directory. */
|
|
12
12
|
export declare function createSandboxVaultSync(config: SandboxVaultSyncConfig): {
|
|
13
13
|
root: string;
|
|
14
|
-
hydrate: (box: VaultHydrationBox, workspaceId: string, options?: VaultHydrationOptions) => Promise<import("../../sandbox").Outcome<import("./sandbox-hydrate").VaultHydrationStats>>;
|
|
15
|
-
reconcile: (box: VaultReconcileBox, workspaceId: string, options?: SandboxVaultSyncOptions) => Promise<import("./sandbox-reconcile").SandboxVaultSyncResult>;
|
|
14
|
+
hydrate: (box: VaultHydrationBox, workspaceId: string, options?: VaultHydrationOptions) => Promise<import("../../sandbox/index.js").Outcome<import("./sandbox-hydrate.js").VaultHydrationStats>>;
|
|
15
|
+
reconcile: (box: VaultReconcileBox, workspaceId: string, options?: SandboxVaultSyncOptions) => Promise<import("./sandbox-reconcile.js").SandboxVaultSyncResult>;
|
|
16
16
|
probeLoss: (box: VaultReconcileBox, workspaceId: string) => Promise<string[]>;
|
|
17
17
|
assertReconciliation: typeof assertSandboxVaultReconciliation;
|
|
18
18
|
};
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* an interrupted pass leaves durable progress and the next call resumes from
|
|
6
6
|
* the recorded cursor.
|
|
7
7
|
*/
|
|
8
|
-
import type { Outcome } from '../../sandbox/outcome';
|
|
9
|
-
import { type VaultBoxSyncSkip } from './box-state';
|
|
10
|
-
import { type SandboxVaultSyncConfig, type SandboxVaultSyncStageObserver } from './sandbox-sync';
|
|
8
|
+
import type { Outcome } from '../../sandbox/outcome.js';
|
|
9
|
+
import { type VaultBoxSyncSkip } from './box-state.js';
|
|
10
|
+
import { type SandboxVaultSyncConfig, type SandboxVaultSyncStageObserver } from './sandbox-sync.js';
|
|
11
11
|
export interface VaultHydrationFileSystem {
|
|
12
12
|
exists(path: string): Promise<boolean>;
|
|
13
13
|
writeMany(files: Array<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type SandboxExecChannel } from '../../sandbox/binary-read';
|
|
2
|
-
import type { VaultMutationConflict, VaultWriteProvenance } from './revisions';
|
|
3
|
-
import { type SandboxVaultPathRejection, type SandboxVaultSyncChange, type SandboxVaultSyncConfig, type SandboxVaultSyncProgress, type SandboxVaultSyncStageObserver } from './sandbox-sync';
|
|
1
|
+
import { type SandboxExecChannel } from '../../sandbox/binary-read.js';
|
|
2
|
+
import type { VaultMutationConflict, VaultWriteProvenance } from './revisions.js';
|
|
3
|
+
import { type SandboxVaultPathRejection, type SandboxVaultSyncChange, type SandboxVaultSyncConfig, type SandboxVaultSyncProgress, type SandboxVaultSyncStageObserver } from './sandbox-sync.js';
|
|
4
4
|
/** The box calls reconciliation makes; a `@tangle-network/sandbox` instance satisfies it. */
|
|
5
5
|
export interface VaultReconcileBox extends SandboxExecChannel {
|
|
6
6
|
id: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type VaultDeletionPolicy } from '../server';
|
|
2
|
-
import type { VaultHeadState, VaultMutationRequest, VaultMutationResult, VaultSandboxBaseline } from './revisions';
|
|
3
|
-
import type { VaultFrontmatterCodec, VaultHeadListOptions, VaultHeadListPage } from './store';
|
|
4
|
-
import type { VaultBoxStateView, VaultBoxSyncRecord } from './box-state';
|
|
5
|
-
import type { VaultHydrationBox } from './sandbox-hydrate';
|
|
1
|
+
import { type VaultDeletionPolicy } from '../server.js';
|
|
2
|
+
import type { VaultHeadState, VaultMutationRequest, VaultMutationResult, VaultSandboxBaseline } from './revisions.js';
|
|
3
|
+
import type { VaultFrontmatterCodec, VaultHeadListOptions, VaultHeadListPage } from './store.js';
|
|
4
|
+
import type { VaultBoxStateView, VaultBoxSyncRecord } from './box-state.js';
|
|
5
|
+
import type { VaultHydrationBox } from './sandbox-hydrate.js';
|
|
6
6
|
/** The store calls the sync engine makes; `createVaultStore` returns all of them. */
|
|
7
7
|
export interface SandboxVaultSyncStore {
|
|
8
8
|
codec: VaultFrontmatterCodec;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { KVStore } from '../../store';
|
|
2
|
-
import { VaultPathError } from './paths';
|
|
3
|
-
import { type VaultHeadState, type VaultMutationPolicy, type VaultMutationRequest, type VaultMutationResult, type VaultRevisionMetadata, type VaultSandboxBaseline, type VaultWriter } from './revisions';
|
|
4
|
-
import { type VaultNode } from './tree';
|
|
5
|
-
import { type SandboxBootstrapConfirmation, type VaultBoxStateView, type VaultBoxSyncRecord } from './box-state';
|
|
1
|
+
import type { KVStore } from '../../store/index.js';
|
|
2
|
+
import { VaultPathError } from './paths.js';
|
|
3
|
+
import { type VaultHeadState, type VaultMutationPolicy, type VaultMutationRequest, type VaultMutationResult, type VaultRevisionMetadata, type VaultSandboxBaseline, type VaultWriter } from './revisions.js';
|
|
4
|
+
import { type VaultNode } from './tree.js';
|
|
5
|
+
import { type SandboxBootstrapConfirmation, type VaultBoxStateView, type VaultBoxSyncRecord } from './box-state.js';
|
|
6
6
|
/** The Durable Object namespace surface the store calls; Cloudflare's binding satisfies it. */
|
|
7
7
|
export interface VaultCoordinatorNamespace {
|
|
8
8
|
idFromName(name: string): unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VaultPaneProps } from './contracts';
|
|
1
|
+
import type { VaultPaneProps } from './contracts.js';
|
|
2
2
|
export declare function useVaultDockPlacement(renderDock: VaultPaneProps['renderDock']): {
|
|
3
3
|
rootRef: import("react").RefObject<HTMLDivElement | null>;
|
|
4
4
|
dockInline: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { VaultDataPort, VaultTreeNode } from './contracts';
|
|
2
|
-
import type { ContentSearchState } from './VaultContentResults';
|
|
1
|
+
import type { VaultDataPort, VaultTreeNode } from './contracts.js';
|
|
2
|
+
import type { ContentSearchState } from './VaultContentResults.js';
|
|
3
3
|
export declare function useVaultSearch({ port, treeRoot }: {
|
|
4
4
|
port: Pick<VaultDataPort, 'searchContent'>;
|
|
5
5
|
treeRoot: VaultTreeNode;
|
package/dist/web/core.d.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* KV is a structural interface so this needs no `@cloudflare/workers-types`
|
|
7
7
|
* dependency.
|
|
8
8
|
*/
|
|
9
|
-
export * from './rate-limit';
|
|
10
|
-
export * from './free-route-limit';
|
|
9
|
+
export * from './rate-limit.js';
|
|
10
|
+
export * from './free-route-limit.js';
|
|
11
11
|
export type JsonObject = Record<string, unknown>;
|
|
12
12
|
/** Parse + object-narrow a Request or Response body. `[body, null]` on success, `[null,
|
|
13
13
|
* errorResponse]` on a non-object body (callers `if (err) return err`). */
|
|
@@ -83,4 +83,4 @@ export declare function addSecurityHeaders(response: Response, opts?: SecurityHe
|
|
|
83
83
|
* @param what - noun for the error message (e.g. 'media url', 'src').
|
|
84
84
|
*/
|
|
85
85
|
export declare function assertMediaUrl(url: string, what?: string): void;
|
|
86
|
-
export { isWorkspaceFileExportable } from './file-export';
|
|
86
|
+
export { isWorkspaceFileExportable } from './file-export.js';
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/** Browser-safe application-boundary helpers. No React or execution-engine peers. */
|
|
2
|
-
export * from './core';
|
|
3
|
-
export * from './message-groups';
|
|
4
|
-
export * from './api-key-fetch';
|
|
5
|
-
export * from './acquisition';
|
|
6
|
-
export * from './mime';
|
|
7
|
-
export * from './timeout';
|
|
8
|
-
export * from './fetch-guard';
|
|
9
|
-
export * from './chat-stream-error';
|
|
10
|
-
export { expandSpeakerRows, SPEAKER_ROLE_LABEL, type Speaker, type SpeakerRow } from './speakers';
|
|
2
|
+
export * from './core.js';
|
|
3
|
+
export * from './message-groups.js';
|
|
4
|
+
export * from './api-key-fetch.js';
|
|
5
|
+
export * from './acquisition.js';
|
|
6
|
+
export * from './mime.js';
|
|
7
|
+
export * from './timeout.js';
|
|
8
|
+
export * from './fetch-guard.js';
|
|
9
|
+
export * from './chat-stream-error.js';
|
|
10
|
+
export { expandSpeakerRows, SPEAKER_ROLE_LABEL, type Speaker, type SpeakerRow } from './speakers.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AgentProfile } from '@tangle-network/agent-interface/profile';
|
|
2
|
-
import { type Harness } from '../harness';
|
|
3
|
-
import type { CatalogModel } from '../runtime/model-catalog';
|
|
4
|
-
import { type ProfileEditorGitHubPort, type ProfileEditorMcpPort } from '../profile-editor';
|
|
5
|
-
import { type EffortLevel } from './controls';
|
|
6
|
-
import type { AgentProfileRegistryPort } from './agent-profile-registry';
|
|
7
|
-
import { type ResourceFileLimits } from './agent-profile-files';
|
|
2
|
+
import { type Harness } from '../harness/index.js';
|
|
3
|
+
import type { CatalogModel } from '../runtime/model-catalog.js';
|
|
4
|
+
import { type ProfileEditorGitHubPort, type ProfileEditorMcpPort } from '../profile-editor/index.js';
|
|
5
|
+
import { type EffortLevel } from './controls.js';
|
|
6
|
+
import type { AgentProfileRegistryPort } from './agent-profile-registry.js';
|
|
7
|
+
import { type ResourceFileLimits } from './agent-profile-files.js';
|
|
8
8
|
export type AgentProfileResourceKind = 'files' | 'skills' | 'tools' | 'agents' | 'commands' | 'instructions';
|
|
9
9
|
/** Editor sections a product can offer, in display order. */
|
|
10
10
|
export type AgentProfileEditorSection = 'identity' | 'prompts' | 'model' | 'tools' | 'skills' | 'toolFiles' | 'mcp' | 'files' | 'advanced';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* file is read and checked before it can be added.
|
|
6
6
|
*/
|
|
7
7
|
import { type ReactNode } from 'react';
|
|
8
|
-
import { type GitHubSourceCheck, type GitHubSourcePurpose, type ProfileEditorGitHubPort } from '../profile-editor';
|
|
8
|
+
import { type GitHubSourceCheck, type GitHubSourcePurpose, type ProfileEditorGitHubPort } from '../profile-editor/index.js';
|
|
9
9
|
interface GitHubSourceSelection {
|
|
10
10
|
check: GitHubSourceCheck;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentProfileMcpServer } from '@tangle-network/agent-interface/profile';
|
|
2
|
-
import { type ProfileEditorMcpPort } from '../profile-editor';
|
|
3
|
-
import type { AgentProfileRegistryPort } from './agent-profile-registry';
|
|
2
|
+
import { type ProfileEditorMcpPort } from '../profile-editor/index.js';
|
|
3
|
+
import type { AgentProfileRegistryPort } from './agent-profile-registry.js';
|
|
4
4
|
type Servers = Record<string, AgentProfileMcpServer>;
|
|
5
5
|
export interface McpServersEditorProps {
|
|
6
6
|
servers: Servers;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentProfileMcpServer, AgentProfileResourceRef } from '@tangle-network/agent-interface/profile';
|
|
2
|
-
import { type AgentProfileRegistryPort } from './agent-profile-registry';
|
|
2
|
+
import { type AgentProfileRegistryPort } from './agent-profile-registry.js';
|
|
3
3
|
export declare function AgentProfileRegistrySkillSearch({ registry, disabled, existing, validate, onAdd }: {
|
|
4
4
|
registry: AgentProfileRegistryPort;
|
|
5
5
|
disabled: boolean;
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
* sandbox-ui dependency.
|
|
43
43
|
*/
|
|
44
44
|
import { type ReactNode } from 'react';
|
|
45
|
-
import { type Harness } from '../harness';
|
|
46
|
-
import type { CatalogModel } from '../runtime/model-catalog';
|
|
47
|
-
import type { EffortLevel, PickerVariant } from './controls';
|
|
45
|
+
import { type Harness } from '../harness/index.js';
|
|
46
|
+
import type { CatalogModel } from '../runtime/model-catalog.js';
|
|
47
|
+
import type { EffortLevel, PickerVariant } from './controls.js';
|
|
48
48
|
/**
|
|
49
49
|
* Pill-styled harness picker — inline, no sandbox-ui dependency. The brand
|
|
50
50
|
* marks come from `./harness-glyphs` (the set the legacy sandbox-ui picker
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactElement, type ReactNode } from 'react';
|
|
2
|
-
import type { AsyncResourceState } from './state';
|
|
3
|
-
import type { MutationState } from './use-confirmed-mutation';
|
|
2
|
+
import type { AsyncResourceState } from './state.js';
|
|
3
|
+
import type { MutationState } from './use-confirmed-mutation.js';
|
|
4
4
|
export interface AsyncEmptyAction {
|
|
5
5
|
label: string;
|
|
6
6
|
onClick: () => void;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Adoption, with the before/after for each shape:
|
|
12
12
|
* [`docs/async-state-module.md`](../../../docs/async-state-module.md).
|
|
13
13
|
*/
|
|
14
|
-
export { AsyncRequestError, DEFAULT_ASYNC_ERROR_MESSAGE, asyncErrorMessage, defaultIsEmpty, readOkJson, requireOk, resolveAsyncValue, type AsyncResolution, type AsyncResourceState, type AsyncResourceStatus, type AsyncRetryable, } from './state';
|
|
15
|
-
export { useAsyncResource, type AsyncLoadContext, type UseAsyncResourceOptions } from './use-async-resource';
|
|
16
|
-
export { CONFIRMED_WRITE, confirmJson, confirmResponse, confirmWrite, isConfirmedWrite, rejectWrite, useConfirmedMutation, type ConfirmedMutation, type MutationConfirmed, type MutationOutcome, type MutationRejected, type MutationState, type UseConfirmedMutationOptions, } from './use-confirmed-mutation';
|
|
17
|
-
export { AsyncView, MutationStatus, type AsyncEmptyAction, type AsyncEmptySpec, type AsyncErrorRenderProps, type AsyncViewProps, type MutationStatusLabels, type MutationStatusProps, } from './async-view';
|
|
14
|
+
export { AsyncRequestError, DEFAULT_ASYNC_ERROR_MESSAGE, asyncErrorMessage, defaultIsEmpty, readOkJson, requireOk, resolveAsyncValue, type AsyncResolution, type AsyncResourceState, type AsyncResourceStatus, type AsyncRetryable, } from './state.js';
|
|
15
|
+
export { useAsyncResource, type AsyncLoadContext, type UseAsyncResourceOptions } from './use-async-resource.js';
|
|
16
|
+
export { CONFIRMED_WRITE, confirmJson, confirmResponse, confirmWrite, isConfirmedWrite, rejectWrite, useConfirmedMutation, type ConfirmedMutation, type MutationConfirmed, type MutationOutcome, type MutationRejected, type MutationState, type UseConfirmedMutationOptions, } from './use-confirmed-mutation.js';
|
|
17
|
+
export { AsyncView, MutationStatus, type AsyncEmptyAction, type AsyncEmptySpec, type AsyncErrorRenderProps, type AsyncViewProps, type MutationStatusLabels, type MutationStatusProps, } from './async-view.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AsyncResourceState } from './state';
|
|
1
|
+
import { type AsyncResourceState } from './state.js';
|
|
2
2
|
export interface AsyncLoadContext {
|
|
3
3
|
/** Aborted when the inputs change, a retry supersedes this load, or the
|
|
4
4
|
* component unmounts. Forward it to `fetch` so a superseded request stops. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { attachmentInputToPart, attachmentKindForMime, attachmentPartKey, attachmentPartsFromMessageParts, isChatAttachmentPart, type ChatAttachmentPart, } from '../chat-store/parts';
|
|
1
|
+
export { attachmentInputToPart, attachmentKindForMime, attachmentPartKey, attachmentPartsFromMessageParts, isChatAttachmentPart, type ChatAttachmentPart, } from '../chat-store/parts.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Draft, attachment, command, and host callback contracts for ChatComposer. */
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import type { ComposerFileRejection } from './composer-file-accept';
|
|
4
|
-
import type { ComposerMentionProp } from './use-file-mentions';
|
|
5
|
-
import type { DictationAudio } from './use-dictation';
|
|
3
|
+
import type { ComposerFileRejection } from './composer-file-accept.js';
|
|
4
|
+
import type { ComposerMentionProp } from './use-file-mentions.js';
|
|
5
|
+
import type { DictationAudio } from './use-dictation.js';
|
|
6
6
|
/** Prompt-part descriptor an uploaded file carries (the upload route's
|
|
7
7
|
* `UploadedChatFile.part`), echoed back in the turn body on send. Mirrors
|
|
8
8
|
* `/chat-routes`' wire shape structurally — no server import here. */
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
* tokens — the input renders on-palette instead of collapsing to unstyled
|
|
35
35
|
* fallbacks when a host hasn't defined a private chat-token set.
|
|
36
36
|
*/
|
|
37
|
-
import type { ChatComposerProps } from './chat-composer-types';
|
|
38
|
-
export * from './chat-composer-types';
|
|
37
|
+
import type { ChatComposerProps } from './chat-composer-types.js';
|
|
38
|
+
export * from './chat-composer-types.js';
|
|
39
39
|
export declare function ChatComposer(props: ChatComposerProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../interactions/contract';
|
|
1
|
+
export * from '../interactions/contract.js';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* vocabulary and its converters without importing `/chat-store`, whose barrel
|
|
16
16
|
* pulls the drizzle peer.
|
|
17
17
|
*/
|
|
18
|
-
import { mentionInputToPart, mentionPartsFromMessageParts, type ChatMentionKind, type ChatMentionPart } from '../chat-store/parts';
|
|
18
|
+
import { mentionInputToPart, mentionPartsFromMessageParts, type ChatMentionKind, type ChatMentionPart } from '../chat-store/parts.js';
|
|
19
19
|
export type { ChatMentionKind, ChatMentionPart };
|
|
20
20
|
export { mentionInputToPart, mentionPartsFromMessageParts };
|
|
21
21
|
/** One run of a segmented message: literal prose, or a matched mention with
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Chronological text, tool, and notice segments within one turn. */
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
|
-
import type { ChatToolCallInfo, ChatUiMessage, ChatMessageSegment, ProposalApprovalHandlers, ToolDetailRenderers } from './chat-message-types';
|
|
3
|
+
import type { ChatToolCallInfo, ChatUiMessage, ChatMessageSegment, ProposalApprovalHandlers, ToolDetailRenderers } from './chat-message-types.js';
|
|
4
4
|
/** The blinking insertion caret shown at the end of streaming answer text.
|
|
5
5
|
* Shared by the segmented and legacy branches so their streaming cue can't
|
|
6
6
|
* visually diverge. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CatalogModel } from '../runtime/model-catalog';
|
|
2
|
-
import type { ChatMessageMetrics } from './chat-message-types';
|
|
1
|
+
import type { CatalogModel } from '../runtime/model-catalog.js';
|
|
2
|
+
import type { ChatMessageMetrics } from './chat-message-types.js';
|
|
3
3
|
/** "$0.0042" from token counts × catalogue per-token pricing; null when unknown. */
|
|
4
4
|
export declare function formatModelCost(msg: ChatMessageMetrics, models: CatalogModel[]): string | null;
|
|
5
5
|
/** "38 tok/s" from completion tokens over first-token→end duration; null when unknown. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/** Message-thread and tool-rendering contracts. */
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
import type { ChatAuthor } from '@tangle-network/ui/types';
|
|
4
|
-
import type { CatalogModel } from '../runtime/model-catalog';
|
|
5
|
-
import type { TurnPhaseData } from '../chat-routes/turn-progress';
|
|
6
|
-
import type { DurableChatCardsProps } from './durable-chat-cards';
|
|
7
|
-
import type { ChatAttachmentPart } from './chat-attachments';
|
|
8
|
-
import type { WorkProductPersistedPart } from '../work-product/types';
|
|
9
|
-
import type { ChatEmptyStateProps } from './chat-empty-state';
|
|
4
|
+
import type { CatalogModel } from '../runtime/model-catalog.js';
|
|
5
|
+
import type { TurnPhaseData } from '../chat-routes/turn-progress.js';
|
|
6
|
+
import type { DurableChatCardsProps } from './durable-chat-cards.js';
|
|
7
|
+
import type { ChatAttachmentPart } from './chat-attachments.js';
|
|
8
|
+
import type { WorkProductPersistedPart } from '../work-product/types.js';
|
|
9
|
+
import type { ChatEmptyStateProps } from './chat-empty-state.js';
|
|
10
10
|
/** Describe metrics related to a chat message including model, token counts, and duration */
|
|
11
11
|
export interface ChatMessageMetrics {
|
|
12
12
|
modelUsed?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChatMessagesProps } from './chat-message-types';
|
|
1
|
+
import type { ChatMessagesProps } from './chat-message-types.js';
|
|
2
2
|
/** Whole seconds elapsed while `active`, ticking once a second; counts from
|
|
3
3
|
* when `active` first turns true and freezes when it clears. Kept for
|
|
4
4
|
* existing consumers: `ReasoningRow` times reasoning from the stream's own
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
* router-backed and sandbox-backed chats alike: anything producing these
|
|
13
13
|
* lines (live pump, queued follow, resume replay) feeds the same callbacks.
|
|
14
14
|
*/
|
|
15
|
-
import { type ChatInteraction, type InteractionCancelData } from './chat-interactions';
|
|
16
|
-
import { type ChatPlan } from '../plans/index';
|
|
17
|
-
import { type TurnIntentData, type TurnPhaseData } from '../chat-routes/turn-progress';
|
|
18
|
-
export { chatTurnRequestInit, type ChatTurnFilePartInput, type ChatTurnPartInput, type ChatTurnRequestPayload, type ProducerTextEvent, type ProducerReasoningEvent, type ProducerToolCallEvent, type ProducerToolResultEvent, type ProducerUsageEvent, type ProducerNoticeEvent, type ProducerErrorEvent, type ProducerPassthroughEventType, type ProducerPassthroughEvent, type ProducerWireEvent, type FileMention, fileMentionsToParts, buildMentionPromptBlock, mediaTypeForMentionPath, mentionKindForPath, type ChatAttachmentKind, type ChatAttachmentInput, DISPATCH_REQUEST_MAX_BYTES, DISPATCH_STRUCTURAL_RESERVE_BYTES, DISPATCH_MAX_PARTS, DISPATCH_MAX_MEDIA_PARTS, base64WireLen, } from '../chat-routes/wire';
|
|
19
|
-
export { buildTurnPhaseEvent, isTurnIntentEvent, isTurnPhaseEvent, settleTurnResponse, TURN_INTENT_EVENT, TURN_PHASE_EVENT, TURN_PROGRESS_FIRST, TURN_PROGRESS_HEADER, TURN_RESPONSE_EVENT, TURN_ROUTE_PHASE_MESSAGES, TURN_STREAM_LOST_CODE, type TurnIntentData, type TurnIntentEvent, type TurnPhaseData, type TurnPhaseEvent, type TurnResponseData, type TurnRoutePhase, } from '../chat-routes/turn-progress';
|
|
20
|
-
export { type FileIndexResponse, type FileIndexReadyResponse, type FileIndexWarmingResponse, } from '../chat-routes/file-index';
|
|
15
|
+
import { type ChatInteraction, type InteractionCancelData } from './chat-interactions.js';
|
|
16
|
+
import { type ChatPlan } from '../plans/index.js';
|
|
17
|
+
import { type TurnIntentData, type TurnPhaseData } from '../chat-routes/turn-progress.js';
|
|
18
|
+
export { chatTurnRequestInit, type ChatTurnFilePartInput, type ChatTurnPartInput, type ChatTurnRequestPayload, type ProducerTextEvent, type ProducerReasoningEvent, type ProducerToolCallEvent, type ProducerToolResultEvent, type ProducerUsageEvent, type ProducerNoticeEvent, type ProducerErrorEvent, type ProducerPassthroughEventType, type ProducerPassthroughEvent, type ProducerWireEvent, type FileMention, fileMentionsToParts, buildMentionPromptBlock, mediaTypeForMentionPath, mentionKindForPath, type ChatAttachmentKind, type ChatAttachmentInput, DISPATCH_REQUEST_MAX_BYTES, DISPATCH_STRUCTURAL_RESERVE_BYTES, DISPATCH_MAX_PARTS, DISPATCH_MAX_MEDIA_PARTS, base64WireLen, } from '../chat-routes/wire.js';
|
|
19
|
+
export { buildTurnPhaseEvent, isTurnIntentEvent, isTurnPhaseEvent, settleTurnResponse, TURN_INTENT_EVENT, TURN_PHASE_EVENT, TURN_PROGRESS_FIRST, TURN_PROGRESS_HEADER, TURN_RESPONSE_EVENT, TURN_ROUTE_PHASE_MESSAGES, TURN_STREAM_LOST_CODE, type TurnIntentData, type TurnIntentEvent, type TurnPhaseData, type TurnPhaseEvent, type TurnResponseData, type TurnRoutePhase, } from '../chat-routes/turn-progress.js';
|
|
20
|
+
export { type FileIndexResponse, type FileIndexReadyResponse, type FileIndexWarmingResponse, } from '../chat-routes/file-index.js';
|
|
21
21
|
/** Define the structure for a chat tool call including optional ID, name, and arguments object */
|
|
22
22
|
export interface ChatStreamToolCall {
|
|
23
23
|
toolCallId?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Tool result adaptation, approval cards, and expanded run-row details. */
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
3
|
import type { ToolPart } from '@tangle-network/ui/types';
|
|
4
|
-
import type { ChatToolCallInfo, ChatUiMessage, ProposalApprovalHandlers, ToolDetailPresentation, ToolDetailRenderers } from './chat-message-types';
|
|
4
|
+
import type { ChatToolCallInfo, ChatUiMessage, ProposalApprovalHandlers, ToolDetailPresentation, ToolDetailRenderers } from './chat-message-types.js';
|
|
5
5
|
export declare function resolveToolPresentation(rendered: ReactNode | ToolDetailPresentation): ToolDetailPresentation;
|
|
6
6
|
/** Extract `{proposalId, status}` from a tool outcome when it is a proposal
|
|
7
7
|
* awaiting human approval; null otherwise. */
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
* (groups are presentation), Enter selects, Escape closes, and closing returns
|
|
18
18
|
* focus to whatever had it before the palette opened.
|
|
19
19
|
*/
|
|
20
|
-
import { type CommandPaletteItem } from '../session-shell/index';
|
|
21
|
-
export type { CommandPaletteItem } from '../session-shell/index';
|
|
20
|
+
import { type CommandPaletteItem } from '../session-shell/index.js';
|
|
21
|
+
export type { CommandPaletteItem } from '../session-shell/index.js';
|
|
22
22
|
export interface CommandPaletteProps {
|
|
23
23
|
/** The full item list, build-ordered (recent-first sessions, then actions).
|
|
24
24
|
* Filtering and ranking are owned here — pass the UNFILTERED list. */
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* Styling contract matches the rest of `web-react`: Tailwind classes against the
|
|
10
10
|
* shared design tokens; the glyphs are inline SVGs, no icon-library dependency.
|
|
11
11
|
*/
|
|
12
|
-
export { ChevronDown, BrainGlyph, CheckGlyph } from './control-glyphs';
|
|
13
|
-
export * from './popover-surface';
|
|
14
|
-
export { POPOVER_OPTION_FOCUS, OVERLAY_SHADOW, pickerRootClass, fieldPickerTriggerClass, quietPickerTriggerClass, type PickerVariant } from './picker-presentation';
|
|
15
|
-
export * from './use-pending';
|
|
16
|
-
export * from './model-picker';
|
|
17
|
-
export * from './effort-picker';
|
|
12
|
+
export { ChevronDown, BrainGlyph, CheckGlyph } from './control-glyphs.js';
|
|
13
|
+
export * from './popover-surface.js';
|
|
14
|
+
export { POPOVER_OPTION_FOCUS, OVERLAY_SHADOW, pickerRootClass, fieldPickerTriggerClass, quietPickerTriggerClass, type PickerVariant } from './picker-presentation.js';
|
|
15
|
+
export * from './use-pending.js';
|
|
16
|
+
export * from './model-picker.js';
|
|
17
|
+
export * from './effort-picker.js';
|