@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
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
*
|
|
34
34
|
* or, in CI, the bin: `agent-app-legibility-check --src src --routes src/routes.ts --nav src/components/sidebar.tsx`.
|
|
35
35
|
*/
|
|
36
|
-
import { type LegibilityConfig, type LegibilityReport } from './types';
|
|
37
|
-
export { LEGIBILITY_CHECKS } from './types';
|
|
38
|
-
export type { BannedTerm, EmptyStateOptions, LegibilityCheckId, LegibilityConfig, LegibilityFinding, LegibilityReport, LegibilitySuppression, ReachabilityOptions, SilentFailureOptions, SuccessOptions, VocabularyOptions, } from './types';
|
|
39
|
-
export { formatLegibilityReport, legibilityReportToJson, type FormatOptions } from './report';
|
|
40
|
-
export { DEFAULT_BANNED_TERMS, COPY_KEYS, COPY_CALLS } from './checks/vocabulary';
|
|
41
|
-
export { READERLESS_PATHS } from './checks/silent-failure';
|
|
42
|
-
export { parseRouteConfig, staticSegments, type RouteEntry } from './checks/reachability';
|
|
43
|
-
export { scanSources, scanFile, buildScannedFile, type ScannedFile } from './scan';
|
|
44
|
-
export { scanSource, type JsxAttribute, type JsxElement, type ScannedSource, type SegmentKind, type SourceSegment, } from './source';
|
|
36
|
+
import { type LegibilityConfig, type LegibilityReport } from './types.js';
|
|
37
|
+
export { LEGIBILITY_CHECKS } from './types.js';
|
|
38
|
+
export type { BannedTerm, EmptyStateOptions, LegibilityCheckId, LegibilityConfig, LegibilityFinding, LegibilityReport, LegibilitySuppression, ReachabilityOptions, SilentFailureOptions, SuccessOptions, VocabularyOptions, } from './types.js';
|
|
39
|
+
export { formatLegibilityReport, legibilityReportToJson, type FormatOptions } from './report.js';
|
|
40
|
+
export { DEFAULT_BANNED_TERMS, COPY_KEYS, COPY_CALLS } from './checks/vocabulary.js';
|
|
41
|
+
export { READERLESS_PATHS } from './checks/silent-failure.js';
|
|
42
|
+
export { parseRouteConfig, staticSegments, type RouteEntry } from './checks/reachability.js';
|
|
43
|
+
export { scanSources, scanFile, buildScannedFile, type ScannedFile } from './scan.js';
|
|
44
|
+
export { scanSource, type JsxAttribute, type JsxElement, type ScannedSource, type SegmentKind, type SourceSegment, } from './source.js';
|
|
45
45
|
/**
|
|
46
46
|
* Run the gate over a product's source.
|
|
47
47
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Honoured suppressions are counted in the summary and listed on request. A
|
|
11
11
|
* suppression that nobody can see is a disabled check with extra steps.
|
|
12
12
|
*/
|
|
13
|
-
import { type LegibilityReport } from './types';
|
|
13
|
+
import { type LegibilityReport } from './types.js';
|
|
14
14
|
export interface FormatOptions {
|
|
15
15
|
/** Print every honoured suppression with its reason. */
|
|
16
16
|
readonly listSuppressions?: boolean;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* checks hunt for ("No results", a silent catch, the word `payload`), so
|
|
8
8
|
* scanning tests would make the gate loudest exactly where nothing ships.
|
|
9
9
|
*/
|
|
10
|
-
import { type ScannedSource, type SourcePosition } from './source';
|
|
10
|
+
import { type ScannedSource, type SourcePosition } from './source.js';
|
|
11
11
|
/** One file, lexed once, with its line index ready. */
|
|
12
12
|
export interface ScannedFile {
|
|
13
13
|
/** Absolute path as walked. */
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
* count and `--list-suppressions` prints every one with its reason, so the
|
|
25
25
|
* exemptions stay as visible as the failures.
|
|
26
26
|
*/
|
|
27
|
-
import type { ScannedFile } from './scan';
|
|
28
|
-
import { type LegibilityCheckId, type RawFinding } from './types';
|
|
27
|
+
import type { ScannedFile } from './scan.js';
|
|
28
|
+
import { type LegibilityCheckId, type RawFinding } from './types.js';
|
|
29
29
|
export interface SuppressionIndex {
|
|
30
30
|
/** Decide a finding: honoured suppression, or not. */
|
|
31
31
|
reasonFor(check: LegibilityCheckId, line: number): string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type GenerationType } from '../studio/generation';
|
|
1
|
+
import { type GenerationType } from '../studio/generation.js';
|
|
2
2
|
/** The request body every media product accepts; a product extends it with its own fields. */
|
|
3
3
|
export interface GenerateRequestBody {
|
|
4
4
|
workspaceId: string;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* and the decoding of provider image output. Storage and persistence stay with
|
|
5
5
|
* the product.
|
|
6
6
|
*/
|
|
7
|
-
import type { GenerationStatus, GenerationType } from '../studio/generation';
|
|
8
|
-
import type { RouterMediaSource } from './router-client';
|
|
7
|
+
import type { GenerationStatus, GenerationType } from '../studio/generation.js';
|
|
8
|
+
import type { RouterMediaSource } from './router-client.js';
|
|
9
9
|
/** Everything a generation's stored metadata can carry. */
|
|
10
10
|
export interface GenerationMetadataFields {
|
|
11
11
|
status: GenerationStatus;
|
package/dist/media/index.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* pricing, default models and persistence stay with the product. The row's
|
|
6
6
|
* drizzle table is `./media/drizzle`.
|
|
7
7
|
*/
|
|
8
|
-
export * from './router-client';
|
|
9
|
-
export * from './router-generation';
|
|
10
|
-
export * from './generate-request';
|
|
11
|
-
export * from './speech-script';
|
|
12
|
-
export * from './generation-record';
|
|
13
|
-
export * from './model-catalog';
|
|
8
|
+
export * from './router-client.js';
|
|
9
|
+
export * from './router-generation.js';
|
|
10
|
+
export * from './generate-request.js';
|
|
11
|
+
export * from './speech-script.js';
|
|
12
|
+
export * from './generation-record.js';
|
|
13
|
+
export * from './model-catalog.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* routeability result or a video model's health means for admission, and any
|
|
7
7
|
* extra picker fields, are the product's policy, passed in as callbacks.
|
|
8
8
|
*/
|
|
9
|
-
import type { GenerationType, MediaModelStatus } from '../studio/generation';
|
|
9
|
+
import type { GenerationType, MediaModelStatus } from '../studio/generation.js';
|
|
10
10
|
export type MediaRouteabilityEndpoint = 'images_generations' | 'images_edits' | 'audio_speech' | 'audio_transcriptions';
|
|
11
11
|
/** A model row of the Router's general catalog, as far as media admission reads it. */
|
|
12
12
|
export interface RouterMediaModelRow {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type RouterMediaClient } from './router-client';
|
|
1
|
+
import { type RouterMediaClient } from './router-client.js';
|
|
2
2
|
/** A public http(s) URL a server may fetch; throws naming `field` for anything else. */
|
|
3
3
|
export declare function validatePublicHttpUrl(value: string, field: string): string;
|
|
4
4
|
/** Fetch a transcription's audio: public host only, no redirects, audio content, at most 25 MiB. */
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* - {@link MissionApprovalsPort} — where gate proposals live and how they
|
|
24
24
|
* resolve.
|
|
25
25
|
*/
|
|
26
|
-
import type { MissionCostLedger, MissionOutcome, MissionRecord, MissionService, MissionStatus, MissionStep } from './service';
|
|
27
|
-
import { type MissionEventSink } from './events';
|
|
26
|
+
import type { MissionCostLedger, MissionOutcome, MissionRecord, MissionService, MissionStatus, MissionStep } from './service.js';
|
|
27
|
+
import { type MissionEventSink } from './events.js';
|
|
28
28
|
/**
|
|
29
29
|
* A side-effecting unit of per-step work. The owner supplies the real
|
|
30
30
|
* implementation (e.g. a detached sandbox-session dispatcher); tests supply a
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* idempotent + order-tolerant, so a re-sent or duplicated event converges.
|
|
17
17
|
* The sink itself does no dedupe.
|
|
18
18
|
*/
|
|
19
|
-
import type { StepAgentActivity } from './agent-activity';
|
|
19
|
+
import type { StepAgentActivity } from './agent-activity.js';
|
|
20
20
|
/** Handle mission stream events by processing emitted MissionStreamEvent objects */
|
|
21
21
|
export interface MissionEventSink {
|
|
22
22
|
emit(event: MissionStreamEvent): void;
|
package/dist/missions/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* client-safe live-event contract + reducer (`./events`), and the canonical
|
|
9
9
|
* per-step agent-activity lane (`./agent-activity`).
|
|
10
10
|
*/
|
|
11
|
-
export * from './service';
|
|
12
|
-
export * from './engine';
|
|
13
|
-
export * from './plan-parse';
|
|
14
|
-
export * from './events';
|
|
15
|
-
export * from './agent-activity';
|
|
11
|
+
export * from './service.js';
|
|
12
|
+
export * from './engine.js';
|
|
13
|
+
export * from './plan-parse.js';
|
|
14
|
+
export * from './events.js';
|
|
15
|
+
export * from './agent-activity.js';
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* default. Kinds label intent for gating and UX; they never select a different
|
|
13
13
|
* execution path.
|
|
14
14
|
*/
|
|
15
|
-
import type { MissionStep } from './service';
|
|
15
|
+
import type { MissionStep } from './service.js';
|
|
16
16
|
/** Default step-kind vocabulary. `best-effort` matches the engine's default
|
|
17
17
|
* non-fatal kind (a failure does not abort the mission); the rest are
|
|
18
18
|
* fatal-on-failure agent sub-tasks. */
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* Substrate-free: the caller injects `run`, so this composes with a sandbox
|
|
24
24
|
* turn, a router chat completion, or a test fake without importing any of them.
|
|
25
25
|
*/
|
|
26
|
-
import { type ModelPolicy } from '../policy-filters/index';
|
|
26
|
+
import { type ModelPolicy } from '../policy-filters/index.js';
|
|
27
27
|
/**
|
|
28
28
|
* Error codes that mean "this model's upstream is unavailable — a different
|
|
29
29
|
* model may still work". Deliberately excludes codes that would fail identically
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* models only) cannot be bypassed through an operator-trusted lane. With a
|
|
22
22
|
* policy configured, a model carrying no policy metadata is refused.
|
|
23
23
|
*/
|
|
24
|
-
import { type ModelPolicy, type ModelPolicyInfo } from '../policy-filters/index';
|
|
24
|
+
import { type ModelPolicy, type ModelPolicyInfo } from '../policy-filters/index.js';
|
|
25
25
|
/** The router /v1/models entry shape this module reads. Minimal on purpose. */
|
|
26
26
|
export interface ModelInfo {
|
|
27
27
|
id: string;
|
|
@@ -126,5 +126,5 @@ export interface RouterModelPolicyRow extends ModelInfo {
|
|
|
126
126
|
* `indexPolicyCatalog`).
|
|
127
127
|
*/
|
|
128
128
|
export declare function modelPolicyCatalogFromRouter(rows: Iterable<RouterModelPolicyRow>): ModelPolicyInfo[];
|
|
129
|
-
export { parseModelNotAllowed, resolveModelWithinAllowList, formatModelNotAllowedRefusal, type ResolveModelWithinAllowListInput, type ModelWithinAllowListResolution, } from './allow-list';
|
|
130
|
-
export { isUpstreamUnavailable, readHttpStatusHint, runWithModelFailover, buildModelChain, ModelFailoverExhaustedError, UPSTREAM_UNAVAILABLE_CODES, UPSTREAM_UNAVAILABLE_STATUSES, type ModelFailoverAttempt, type ModelFailoverResult, type RunWithModelFailoverInput, } from './failover';
|
|
129
|
+
export { parseModelNotAllowed, resolveModelWithinAllowList, formatModelNotAllowedRefusal, type ResolveModelWithinAllowListInput, type ModelWithinAllowListResolution, } from './allow-list.js';
|
|
130
|
+
export { isUpstreamUnavailable, readHttpStatusHint, runWithModelFailover, buildModelChain, ModelFailoverExhaustedError, UPSTREAM_UNAVAILABLE_CODES, UPSTREAM_UNAVAILABLE_STATUSES, type ModelFailoverAttempt, type ModelFailoverResult, type RunWithModelFailoverInput, } from './failover.js';
|
package/dist/openui/action.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* that form's current values, and enough addressing for the product to find the
|
|
10
10
|
* page. Nothing in it references a session, a turn, or a run.
|
|
11
11
|
*/
|
|
12
|
-
import { type OpenUIFormValues } from './values';
|
|
12
|
+
import { type OpenUIFormValues } from './values.js';
|
|
13
13
|
/** What the browser POSTs when an action fires. */
|
|
14
14
|
export interface OpenUIActionSubmission {
|
|
15
15
|
/** The action's stable id, as authored on the page. */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* once both are true for your product — otherwise the agent writes forms the
|
|
13
13
|
* page will drop.
|
|
14
14
|
*/
|
|
15
|
-
import type { OpenUIFieldKind } from './values';
|
|
15
|
+
import type { OpenUIFieldKind } from './values.js';
|
|
16
16
|
/** The input kinds this guide teaches, in the order it lists them. */
|
|
17
17
|
export declare const OPENUI_INPUT_KINDS: readonly OpenUIFieldKind[];
|
|
18
18
|
/**
|
package/dist/openui/index.d.ts
CHANGED
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
* client-side half is `@tangle-network/agent-app/openui-react`; the node union
|
|
20
20
|
* and renderer live in `@tangle-network/ui`'s `./openui` entry.
|
|
21
21
|
*/
|
|
22
|
-
export { parseOpenUISegments, hasOpenUISegment, parseOpenUIArtifact, type OpenUINode, type OpenUISegment, type OpenUIArtifact, type OpenUIArtifactError, type OpenUIArtifactResult, } from './segments';
|
|
23
|
-
export { isSafeOpenUIFieldId, isOpenUIFieldKind, validateOpenUIFormValues, type OpenUIValue, type OpenUIFormValues, type OpenUIFieldKind, type OpenUIFieldSpec, type OpenUIFormSpec, type OpenUIFieldIssue, type OpenUIFieldIssueCode, type OpenUIFormValidation, } from './values';
|
|
24
|
-
export { isSafeOpenUIActionId, validateOpenUIActionBody, describeOpenUIAction, type OpenUIActionSubmission, type OpenUIActionBodyValidation, type OpenUIActionBodyErrorCode, } from './action';
|
|
25
|
-
export { createOpenUIActionRoute, type OpenUIActionRoute, type OpenUIActionRouteOptions, type OpenUIActionHandler, type OpenUIActionHandlerArgs, type OpenUIActionResult, type OpenUIActionResolution, type OpenUIActionLogger, } from './route';
|
|
26
|
-
export { OPENUI_INTERACTIVE_AUTHORING_GUIDE, OPENUI_INPUT_KINDS } from './authoring';
|
|
22
|
+
export { parseOpenUISegments, hasOpenUISegment, parseOpenUIArtifact, type OpenUINode, type OpenUISegment, type OpenUIArtifact, type OpenUIArtifactError, type OpenUIArtifactResult, } from './segments.js';
|
|
23
|
+
export { isSafeOpenUIFieldId, isOpenUIFieldKind, validateOpenUIFormValues, type OpenUIValue, type OpenUIFormValues, type OpenUIFieldKind, type OpenUIFieldSpec, type OpenUIFormSpec, type OpenUIFieldIssue, type OpenUIFieldIssueCode, type OpenUIFormValidation, } from './values.js';
|
|
24
|
+
export { isSafeOpenUIActionId, validateOpenUIActionBody, describeOpenUIAction, type OpenUIActionSubmission, type OpenUIActionBodyValidation, type OpenUIActionBodyErrorCode, } from './action.js';
|
|
25
|
+
export { createOpenUIActionRoute, type OpenUIActionRoute, type OpenUIActionRouteOptions, type OpenUIActionHandler, type OpenUIActionHandlerArgs, type OpenUIActionResult, type OpenUIActionResolution, type OpenUIActionLogger, } from './route.js';
|
|
26
|
+
export { OPENUI_INTERACTIVE_AUTHORING_GUIDE, OPENUI_INPUT_KINDS } from './authoring.js';
|
package/dist/openui/route.d.ts
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
*
|
|
19
19
|
* Handlers return web-standard `Response`s (Workers, Node 18+, Deno).
|
|
20
20
|
*/
|
|
21
|
-
import { type OpenUIActionSubmission } from './action';
|
|
22
|
-
import type { OpenUINode } from './segments';
|
|
23
|
-
import { type OpenUIFieldIssue, type OpenUIFormSpec, type OpenUIFormValues } from './values';
|
|
21
|
+
import { type OpenUIActionSubmission } from './action.js';
|
|
22
|
+
import type { OpenUINode } from './segments.js';
|
|
23
|
+
import { type OpenUIFieldIssue, type OpenUIFormSpec, type OpenUIFormValues } from './values.js';
|
|
24
24
|
/** Logging surface the route uses; `console` by default. */
|
|
25
25
|
export type OpenUIActionLogger = Pick<Console, 'warn' | 'error'>;
|
|
26
26
|
/** The product's verdict on who is calling. `response` short-circuits with a
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* costs exactly one product request, the same as a hand-built screen. Tests
|
|
13
13
|
* enforce that by walking this module's imports.
|
|
14
14
|
*/
|
|
15
|
-
import type { OpenUIFieldIssue, OpenUIFormValues, OpenUINode, OpenUIValue } from '../openui/index';
|
|
15
|
+
import type { OpenUIFieldIssue, OpenUIFormValues, OpenUINode, OpenUIValue } from '../openui/index.js';
|
|
16
16
|
/** A successful action reply, as the route sends it. */
|
|
17
17
|
export interface OpenUIActionResponse<TNode extends OpenUINode = OpenUINode> {
|
|
18
18
|
ok: true;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* version is not an identity — a vendored `pnpm pack` of an unmerged branch
|
|
6
6
|
* carries the same `0.45.33` a real release does.
|
|
7
7
|
*/
|
|
8
|
-
export * from './dependency-source';
|
|
8
|
+
export * from './dependency-source.js';
|
|
9
9
|
/**
|
|
10
10
|
* Audit a consumer's installed tree against the peer floors this package
|
|
11
11
|
* declares.
|
package/dist/plans/decision.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* project the sandbox SDK's plan snapshot onto the chat projection, and
|
|
4
4
|
* classify a 409 as a decision that already happened. Pure; no I/O.
|
|
5
5
|
*/
|
|
6
|
-
import type { ChatPlan, ChatPlanStatus } from './index';
|
|
6
|
+
import type { ChatPlan, ChatPlanStatus } from './index.js';
|
|
7
7
|
/** The SDK's plan snapshot, as the fields the projection reads. */
|
|
8
8
|
export interface DurablePlanLike {
|
|
9
9
|
id: string;
|
package/dist/plans/drizzle.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnySQLiteColumn, AnySQLiteTable, BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
|
|
2
|
-
import { type ChatPlan } from './index';
|
|
2
|
+
import { type ChatPlan } from './index.js';
|
|
3
3
|
/** The product's message table, narrowed to the columns plan parts use. */
|
|
4
4
|
export type PlanMessageTable = AnySQLiteTable & {
|
|
5
5
|
id: AnySQLiteColumn;
|
package/dist/plans/index.d.ts
CHANGED
|
@@ -75,4 +75,4 @@ export declare function persistedPartToPlan(part: Record<string, unknown>): Chat
|
|
|
75
75
|
* (`properties.plan`). Session identity is carried by the surrounding stream
|
|
76
76
|
* and is deliberately not required in the payload. */
|
|
77
77
|
export declare function parsePlanSubmittedEvent(event: unknown): ParsePlanSubmittedResult;
|
|
78
|
-
export * from './decision';
|
|
78
|
+
export * from './decision.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type WarmCacheOptions, type WarmCacheSource } from '../sandbox/warm-cache';
|
|
1
|
+
import { type WarmCacheOptions, type WarmCacheSource } from '../sandbox/warm-cache.js';
|
|
2
2
|
/**
|
|
3
3
|
* A billable turn's seat and balance verdict, read from Platform once per user
|
|
4
4
|
* per window instead of on every turn. Lifted from Creative
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* fetch-backed implementation of the `/billing` module's
|
|
9
9
|
* `PlatformBillingClient` seam (type-only import — no runtime coupling).
|
|
10
10
|
*/
|
|
11
|
-
import type { PlatformBillingClient, PlatformIdentity } from '../billing/index';
|
|
11
|
+
import type { PlatformBillingClient, PlatformIdentity } from '../billing/index.js';
|
|
12
12
|
/** Define available subscription tiers for the TanglePlan service */
|
|
13
13
|
export type TanglePlanTier = 'free' | 'pro' | 'enterprise';
|
|
14
14
|
/** 'pro' | 'enterprise' pass through; anything else (null, unknown) → 'free'. */
|
|
@@ -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
|