@athenaintel/react 0.57.1 → 0.59.0
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 +778 -9
- package/dist/agent-runtime/src/addressed-agents.cjs +16 -0
- package/dist/agent-runtime/src/addressed-agents.cjs.map +1 -0
- package/dist/agent-runtime/src/addressed-agents.d.ts +30 -0
- package/dist/agent-runtime/src/addressed-agents.js +16 -0
- package/dist/agent-runtime/src/addressed-agents.js.map +1 -0
- package/dist/agent-runtime/src/answer-label.cjs +4 -3
- package/dist/agent-runtime/src/answer-label.cjs.map +1 -1
- package/dist/agent-runtime/src/answer-label.d.ts +13 -6
- package/dist/agent-runtime/src/answer-label.js +4 -3
- package/dist/agent-runtime/src/answer-label.js.map +1 -1
- package/dist/agent-runtime/src/chat-outbox-attachments.cjs.map +1 -1
- package/dist/agent-runtime/src/chat-outbox-attachments.d.ts +1 -1
- package/dist/agent-runtime/src/chat-outbox-attachments.js.map +1 -1
- package/dist/agent-runtime/src/chat-outbox-entry.cjs +101 -0
- package/dist/agent-runtime/src/chat-outbox-entry.cjs.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-entry.d.ts +99 -0
- package/dist/agent-runtime/src/chat-outbox-entry.js +101 -0
- package/dist/agent-runtime/src/chat-outbox-entry.js.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-legacy.cjs +252 -0
- package/dist/agent-runtime/src/chat-outbox-legacy.cjs.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-legacy.d.ts +96 -0
- package/dist/agent-runtime/src/chat-outbox-legacy.js +252 -0
- package/dist/agent-runtime/src/chat-outbox-legacy.js.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-policy.cjs +30 -0
- package/dist/agent-runtime/src/chat-outbox-policy.cjs.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-policy.d.ts +42 -0
- package/dist/agent-runtime/src/chat-outbox-policy.js +30 -0
- package/dist/agent-runtime/src/chat-outbox-policy.js.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-storage.cjs +306 -0
- package/dist/agent-runtime/src/chat-outbox-storage.cjs.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-storage.d.ts +194 -0
- package/dist/agent-runtime/src/chat-outbox-storage.js +306 -0
- package/dist/agent-runtime/src/chat-outbox-storage.js.map +1 -0
- package/dist/agent-runtime/src/chat-outbox-thread.cjs +21 -94
- package/dist/agent-runtime/src/chat-outbox-thread.cjs.map +1 -1
- package/dist/agent-runtime/src/chat-outbox-thread.d.ts +22 -18
- package/dist/agent-runtime/src/chat-outbox-thread.js +21 -94
- package/dist/agent-runtime/src/chat-outbox-thread.js.map +1 -1
- package/dist/agent-runtime/src/chat-outbox.cjs +492 -547
- package/dist/agent-runtime/src/chat-outbox.cjs.map +1 -1
- package/dist/agent-runtime/src/chat-outbox.d.ts +110 -142
- package/dist/agent-runtime/src/chat-outbox.js +492 -547
- package/dist/agent-runtime/src/chat-outbox.js.map +1 -1
- package/dist/agent-runtime/src/composer-markdown.cjs.map +1 -1
- package/dist/agent-runtime/src/composer-markdown.d.ts +1 -1
- package/dist/agent-runtime/src/composer-markdown.js.map +1 -1
- package/dist/agent-runtime/src/deep-agent-transport-recipe.cjs +3 -1
- package/dist/agent-runtime/src/deep-agent-transport-recipe.cjs.map +1 -1
- package/dist/agent-runtime/src/deep-agent-transport-recipe.d.ts +8 -1
- package/dist/agent-runtime/src/deep-agent-transport-recipe.js +3 -1
- package/dist/agent-runtime/src/deep-agent-transport-recipe.js.map +1 -1
- package/dist/agent-runtime/src/dictation-preferences.d.ts +356 -0
- package/dist/agent-runtime/src/dictation-record.d.ts +279 -0
- package/dist/agent-runtime/src/dictation-session.d.ts +106 -7
- package/dist/agent-runtime/src/dictation-snippets.d.ts +9 -0
- package/dist/agent-runtime/src/dictation-transfer.d.ts +142 -0
- package/dist/agent-runtime/src/edit-command.cjs.map +1 -1
- package/dist/agent-runtime/src/edit-command.d.ts +1 -1
- package/dist/agent-runtime/src/edit-command.js.map +1 -1
- package/dist/agent-runtime/src/errors.cjs +1 -0
- package/dist/agent-runtime/src/errors.cjs.map +1 -1
- package/dist/agent-runtime/src/errors.js +1 -0
- package/dist/agent-runtime/src/errors.js.map +1 -1
- package/dist/agent-runtime/src/generated/runconfig-contract.cjs +24 -0
- package/dist/agent-runtime/src/generated/runconfig-contract.cjs.map +1 -1
- package/dist/agent-runtime/src/generated/runconfig-contract.d.ts +3 -3
- package/dist/agent-runtime/src/generated/runconfig-contract.js +24 -0
- package/dist/agent-runtime/src/generated/runconfig-contract.js.map +1 -1
- package/dist/agent-runtime/src/index.d.ts +14 -8
- package/dist/agent-runtime/src/lane-follow.cjs +289 -0
- package/dist/agent-runtime/src/lane-follow.cjs.map +1 -0
- package/dist/agent-runtime/src/lane-follow.js +289 -0
- package/dist/agent-runtime/src/lane-follow.js.map +1 -0
- package/dist/agent-runtime/src/lane-images.cjs +387 -0
- package/dist/agent-runtime/src/lane-images.cjs.map +1 -0
- package/dist/agent-runtime/src/lane-images.js +387 -0
- package/dist/agent-runtime/src/lane-images.js.map +1 -0
- package/dist/agent-runtime/src/message-window.js +1 -1
- package/dist/agent-runtime/src/messages.cjs +19 -1
- package/dist/agent-runtime/src/messages.cjs.map +1 -1
- package/dist/agent-runtime/src/messages.d.ts +8 -0
- package/dist/agent-runtime/src/messages.js +21 -3
- package/dist/agent-runtime/src/messages.js.map +1 -1
- package/dist/agent-runtime/src/named-agents.cjs +301 -0
- package/dist/agent-runtime/src/named-agents.cjs.map +1 -0
- package/dist/agent-runtime/src/named-agents.d.ts +246 -0
- package/dist/agent-runtime/src/named-agents.js +301 -0
- package/dist/agent-runtime/src/named-agents.js.map +1 -0
- package/dist/agent-runtime/src/offline-status.cjs.map +1 -1
- package/dist/agent-runtime/src/offline-status.d.ts +66 -2
- package/dist/agent-runtime/src/offline-status.js.map +1 -1
- package/dist/agent-runtime/src/ptc-subcalls.cjs +41 -0
- package/dist/agent-runtime/src/ptc-subcalls.cjs.map +1 -0
- package/dist/agent-runtime/src/ptc-subcalls.js +41 -0
- package/dist/agent-runtime/src/ptc-subcalls.js.map +1 -0
- package/dist/agent-runtime/src/queue.cjs +2 -2
- package/dist/agent-runtime/src/queue.cjs.map +1 -1
- package/dist/agent-runtime/src/queue.d.ts +20 -25
- package/dist/agent-runtime/src/queue.js +2 -2
- package/dist/agent-runtime/src/queue.js.map +1 -1
- package/dist/agent-runtime/src/quota-safe-local-storage-session.cjs +314 -84
- package/dist/agent-runtime/src/quota-safe-local-storage-session.cjs.map +1 -1
- package/dist/agent-runtime/src/quota-safe-local-storage-session.d.ts +137 -40
- package/dist/agent-runtime/src/quota-safe-local-storage-session.js +318 -88
- package/dist/agent-runtime/src/quota-safe-local-storage-session.js.map +1 -1
- package/dist/agent-runtime/src/run-send.cjs +54 -0
- package/dist/agent-runtime/src/run-send.cjs.map +1 -0
- package/dist/agent-runtime/src/run-send.d.ts +51 -0
- package/dist/agent-runtime/src/run-send.js +54 -0
- package/dist/agent-runtime/src/run-send.js.map +1 -0
- package/dist/agent-runtime/src/running-tool-placeholder.cjs +6 -0
- package/dist/agent-runtime/src/running-tool-placeholder.cjs.map +1 -1
- package/dist/agent-runtime/src/running-tool-placeholder.js +6 -0
- package/dist/agent-runtime/src/running-tool-placeholder.js.map +1 -1
- package/dist/agent-runtime/src/runtime.d.ts +9 -5
- package/dist/agent-runtime/src/sealed-idb.cjs +64 -0
- package/dist/agent-runtime/src/sealed-idb.cjs.map +1 -1
- package/dist/agent-runtime/src/sealed-idb.d.ts +16 -0
- package/dist/agent-runtime/src/sealed-idb.js +64 -0
- package/dist/agent-runtime/src/sealed-idb.js.map +1 -1
- package/dist/agent-runtime/src/send-recovery.cjs +90 -118
- package/dist/agent-runtime/src/send-recovery.cjs.map +1 -1
- package/dist/agent-runtime/src/send-recovery.d.ts +25 -29
- package/dist/agent-runtime/src/send-recovery.js +90 -118
- package/dist/agent-runtime/src/send-recovery.js.map +1 -1
- package/dist/agent-runtime/src/statewire-diagnostics.d.ts +4 -1
- package/dist/agent-runtime/src/statewire-held-sends.cjs +191 -0
- package/dist/agent-runtime/src/statewire-held-sends.cjs.map +1 -0
- package/dist/agent-runtime/src/statewire-held-sends.d.ts +119 -0
- package/dist/agent-runtime/src/statewire-held-sends.js +191 -0
- package/dist/agent-runtime/src/statewire-held-sends.js.map +1 -0
- package/dist/agent-runtime/src/statewire-state.cjs +4 -0
- package/dist/agent-runtime/src/statewire-state.cjs.map +1 -1
- package/dist/agent-runtime/src/statewire-state.js +4 -0
- package/dist/agent-runtime/src/statewire-state.js.map +1 -1
- package/dist/agent-runtime/src/statewire-transport.cjs +8 -2
- package/dist/agent-runtime/src/statewire-transport.cjs.map +1 -1
- package/dist/agent-runtime/src/statewire-transport.d.ts +14 -5
- package/dist/agent-runtime/src/statewire-transport.js +8 -2
- package/dist/agent-runtime/src/statewire-transport.js.map +1 -1
- package/dist/agent-runtime/src/subagent-transcripts.cjs +1 -23
- package/dist/agent-runtime/src/subagent-transcripts.cjs.map +1 -1
- package/dist/agent-runtime/src/subagent-transcripts.js +3 -25
- package/dist/agent-runtime/src/subagent-transcripts.js.map +1 -1
- package/dist/agent-runtime/src/subagents.cjs +22 -29
- package/dist/agent-runtime/src/subagents.cjs.map +1 -1
- package/dist/agent-runtime/src/subagents.js +23 -30
- package/dist/agent-runtime/src/subagents.js.map +1 -1
- package/dist/agent-runtime/src/thread-extras.cjs +27 -19
- package/dist/agent-runtime/src/thread-extras.cjs.map +1 -1
- package/dist/agent-runtime/src/thread-extras.d.ts +19 -6
- package/dist/agent-runtime/src/thread-extras.js +27 -19
- package/dist/agent-runtime/src/thread-extras.js.map +1 -1
- package/dist/agent-runtime/src/thread-handoff-flow-machine.d.ts +8 -8
- package/dist/agent-runtime/src/tool-metadata.cjs +12 -0
- package/dist/agent-runtime/src/tool-metadata.cjs.map +1 -1
- package/dist/agent-runtime/src/tool-metadata.js +12 -0
- package/dist/agent-runtime/src/tool-metadata.js.map +1 -1
- package/dist/agent-runtime/src/tool-names.cjs +21 -0
- package/dist/agent-runtime/src/tool-names.cjs.map +1 -1
- package/dist/agent-runtime/src/tool-names.d.ts +8 -0
- package/dist/agent-runtime/src/tool-names.js +21 -0
- package/dist/agent-runtime/src/tool-names.js.map +1 -1
- package/dist/agent-runtime/src/typed-interrupt-kinds.cjs +247 -0
- package/dist/agent-runtime/src/typed-interrupt-kinds.cjs.map +1 -0
- package/dist/agent-runtime/src/typed-interrupt-kinds.d.ts +173 -0
- package/dist/agent-runtime/src/typed-interrupt-kinds.js +247 -0
- package/dist/agent-runtime/src/typed-interrupt-kinds.js.map +1 -0
- package/dist/agent-runtime/src/typed-interrupts.cjs +48 -0
- package/dist/agent-runtime/src/typed-interrupts.cjs.map +1 -0
- package/dist/agent-runtime/src/typed-interrupts.d.ts +75 -0
- package/dist/agent-runtime/src/typed-interrupts.js +48 -0
- package/dist/agent-runtime/src/typed-interrupts.js.map +1 -0
- package/dist/agent-runtime/src/types.d.ts +1 -1
- package/dist/agent-runtime/src/use-conversation-list.cjs +1 -0
- package/dist/agent-runtime/src/use-conversation-list.cjs.map +1 -1
- package/dist/agent-runtime/src/use-conversation-list.d.ts +7 -0
- package/dist/agent-runtime/src/use-conversation-list.js +1 -0
- package/dist/agent-runtime/src/use-conversation-list.js.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-chat-outbox.cjs +46 -29
- package/dist/agent-runtime/src/use-deep-agent-chat-outbox.cjs.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-chat-outbox.d.ts +14 -22
- package/dist/agent-runtime/src/use-deep-agent-chat-outbox.js +46 -29
- package/dist/agent-runtime/src/use-deep-agent-chat-outbox.js.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-runtime.cjs +78 -14
- package/dist/agent-runtime/src/use-deep-agent-runtime.cjs.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-runtime.d.ts +34 -7
- package/dist/agent-runtime/src/use-deep-agent-runtime.js +79 -15
- package/dist/agent-runtime/src/use-deep-agent-runtime.js.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-thread.cjs +16 -1
- package/dist/agent-runtime/src/use-deep-agent-thread.cjs.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-thread.d.ts +7 -2
- package/dist/agent-runtime/src/use-deep-agent-thread.js +16 -1
- package/dist/agent-runtime/src/use-deep-agent-thread.js.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-voice.cjs +30 -4
- package/dist/agent-runtime/src/use-deep-agent-voice.cjs.map +1 -1
- package/dist/agent-runtime/src/use-deep-agent-voice.d.ts +22 -4
- package/dist/agent-runtime/src/use-deep-agent-voice.js +30 -4
- package/dist/agent-runtime/src/use-deep-agent-voice.js.map +1 -1
- package/dist/agent-runtime/src/withdrawn-turns.d.ts +5 -4
- package/dist/agent-runtime/src/word-device-fit.d.ts +174 -0
- package/dist/agent-runtime/src/work-in.d.ts +127 -0
- package/dist/assets/AthenaAssetEmbed.cjs.map +1 -1
- package/dist/assets/AthenaAssetEmbed.d.ts +6 -1
- package/dist/assets/AthenaAssetEmbed.js.map +1 -1
- package/dist/assets/asset-panel-store.cjs +13 -5
- package/dist/assets/asset-panel-store.cjs.map +1 -1
- package/dist/assets/asset-panel-store.d.ts +33 -2
- package/dist/assets/asset-panel-store.js +13 -5
- package/dist/assets/asset-panel-store.js.map +1 -1
- package/dist/auth/AthenaCredentialSourceContext.cjs +11 -0
- package/dist/auth/AthenaCredentialSourceContext.cjs.map +1 -1
- package/dist/auth/AthenaCredentialSourceContext.d.ts +6 -0
- package/dist/auth/AthenaCredentialSourceContext.js +11 -0
- package/dist/auth/AthenaCredentialSourceContext.js.map +1 -1
- package/dist/auth/account-identity.cjs +13 -2
- package/dist/auth/account-identity.cjs.map +1 -1
- package/dist/auth/account-identity.d.ts +9 -0
- package/dist/auth/account-identity.js +13 -2
- package/dist/auth/account-identity.js.map +1 -1
- package/dist/auth/credential-source.cjs +20 -4
- package/dist/auth/credential-source.cjs.map +1 -1
- package/dist/auth/credential-source.d.ts +9 -0
- package/dist/auth/credential-source.js +20 -4
- package/dist/auth/credential-source.js.map +1 -1
- package/dist/catalog/chat-pickers.cjs +31 -0
- package/dist/catalog/chat-pickers.cjs.map +1 -1
- package/dist/catalog/chat-pickers.d.ts +17 -0
- package/dist/catalog/chat-pickers.js +33 -2
- package/dist/catalog/chat-pickers.js.map +1 -1
- package/dist/catalog/runtime-catalog.cjs +63 -3
- package/dist/catalog/runtime-catalog.cjs.map +1 -1
- package/dist/catalog/runtime-catalog.d.ts +63 -3
- package/dist/catalog/runtime-catalog.js +64 -4
- package/dist/catalog/runtime-catalog.js.map +1 -1
- package/dist/chat/AthenaChat.cjs +337 -99
- package/dist/chat/AthenaChat.cjs.map +1 -1
- package/dist/chat/AthenaChat.d.ts +80 -4
- package/dist/chat/AthenaChat.js +337 -99
- package/dist/chat/AthenaChat.js.map +1 -1
- package/dist/chat/StatewireApprovalCard.cjs +35 -5
- package/dist/chat/StatewireApprovalCard.cjs.map +1 -1
- package/dist/chat/StatewireApprovalCard.d.ts +55 -2
- package/dist/chat/StatewireApprovalCard.js +37 -7
- package/dist/chat/StatewireApprovalCard.js.map +1 -1
- package/dist/chat/StatewireQueuedMessages.cjs +17 -2
- package/dist/chat/StatewireQueuedMessages.cjs.map +1 -1
- package/dist/chat/StatewireQueuedMessages.d.ts +8 -45
- package/dist/chat/StatewireQueuedMessages.js +18 -3
- package/dist/chat/StatewireQueuedMessages.js.map +1 -1
- package/dist/chat/chat-agent-mentions.cjs +70 -0
- package/dist/chat/chat-agent-mentions.cjs.map +1 -0
- package/dist/chat/chat-agent-mentions.d.ts +13 -0
- package/dist/chat/chat-agent-mentions.js +70 -0
- package/dist/chat/chat-agent-mentions.js.map +1 -0
- package/dist/chat/composer-actions.cjs +12 -0
- package/dist/chat/composer-actions.cjs.map +1 -0
- package/dist/chat/composer-actions.d.ts +22 -0
- package/dist/chat/composer-actions.js +12 -0
- package/dist/chat/composer-actions.js.map +1 -0
- package/dist/chat/follow-up-suggestions.cjs +185 -0
- package/dist/chat/follow-up-suggestions.cjs.map +1 -0
- package/dist/chat/follow-up-suggestions.d.ts +64 -0
- package/dist/chat/follow-up-suggestions.js +185 -0
- package/dist/chat/follow-up-suggestions.js.map +1 -0
- package/dist/chat/super-grouping/ToolTimeline.cjs +4 -3
- package/dist/chat/super-grouping/ToolTimeline.cjs.map +1 -1
- package/dist/chat/super-grouping/ToolTimeline.d.ts +7 -3
- package/dist/chat/super-grouping/ToolTimeline.js +4 -3
- package/dist/chat/super-grouping/ToolTimeline.js.map +1 -1
- package/dist/chat/turn-changes.cjs +284 -0
- package/dist/chat/turn-changes.cjs.map +1 -0
- package/dist/chat/turn-changes.d.ts +130 -0
- package/dist/chat/turn-changes.js +284 -0
- package/dist/chat/turn-changes.js.map +1 -0
- package/dist/chat/typed-interrupts/StatewireTypedInterruptCard.cjs +31 -0
- package/dist/chat/typed-interrupts/StatewireTypedInterruptCard.cjs.map +1 -0
- package/dist/chat/typed-interrupts/StatewireTypedInterruptCard.d.ts +31 -0
- package/dist/chat/typed-interrupts/StatewireTypedInterruptCard.js +31 -0
- package/dist/chat/typed-interrupts/StatewireTypedInterruptCard.js.map +1 -0
- package/dist/chat/typed-interrupts/approval-cards.cjs +250 -0
- package/dist/chat/typed-interrupts/approval-cards.cjs.map +1 -0
- package/dist/chat/typed-interrupts/approval-cards.d.ts +22 -0
- package/dist/chat/typed-interrupts/approval-cards.js +250 -0
- package/dist/chat/typed-interrupts/approval-cards.js.map +1 -0
- package/dist/chat/typed-interrupts/form-cards.cjs +289 -0
- package/dist/chat/typed-interrupts/form-cards.cjs.map +1 -0
- package/dist/chat/typed-interrupts/form-cards.d.ts +6 -0
- package/dist/chat/typed-interrupts/form-cards.js +289 -0
- package/dist/chat/typed-interrupts/form-cards.js.map +1 -0
- package/dist/chat/typed-interrupts/interrupt-card-shell.cjs +182 -0
- package/dist/chat/typed-interrupts/interrupt-card-shell.cjs.map +1 -0
- package/dist/chat/typed-interrupts/interrupt-card-shell.d.ts +47 -0
- package/dist/chat/typed-interrupts/interrupt-card-shell.js +182 -0
- package/dist/chat/typed-interrupts/interrupt-card-shell.js.map +1 -0
- package/dist/chat/typed-interrupts/json-schema-form.cjs +388 -0
- package/dist/chat/typed-interrupts/json-schema-form.cjs.map +1 -0
- package/dist/chat/typed-interrupts/json-schema-form.d.ts +33 -0
- package/dist/chat/typed-interrupts/json-schema-form.js +388 -0
- package/dist/chat/typed-interrupts/json-schema-form.js.map +1 -0
- package/dist/chat/typed-interrupts/questionnaire-card.cjs +449 -0
- package/dist/chat/typed-interrupts/questionnaire-card.cjs.map +1 -0
- package/dist/chat/typed-interrupts/questionnaire-card.d.ts +20 -0
- package/dist/chat/typed-interrupts/questionnaire-card.js +449 -0
- package/dist/chat/typed-interrupts/questionnaire-card.js.map +1 -0
- package/dist/chat/typed-interrupts/request-file-card.cjs +159 -0
- package/dist/chat/typed-interrupts/request-file-card.cjs.map +1 -0
- package/dist/chat/typed-interrupts/request-file-card.d.ts +2 -0
- package/dist/chat/typed-interrupts/request-file-card.js +159 -0
- package/dist/chat/typed-interrupts/request-file-card.js.map +1 -0
- package/dist/chat/typed-interrupts/toolkit-selection-card.cjs +189 -0
- package/dist/chat/typed-interrupts/toolkit-selection-card.cjs.map +1 -0
- package/dist/chat/typed-interrupts/toolkit-selection-card.d.ts +23 -0
- package/dist/chat/typed-interrupts/toolkit-selection-card.js +189 -0
- package/dist/chat/typed-interrupts/toolkit-selection-card.js.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-body.cjs +26 -0
- package/dist/chat/typed-interrupts/typed-interrupt-body.cjs.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-body.d.ts +3 -0
- package/dist/chat/typed-interrupts/typed-interrupt-body.js +26 -0
- package/dist/chat/typed-interrupts/typed-interrupt-body.js.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-graphql.cjs +105 -0
- package/dist/chat/typed-interrupts/typed-interrupt-graphql.cjs.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-graphql.d.ts +29 -0
- package/dist/chat/typed-interrupts/typed-interrupt-graphql.js +105 -0
- package/dist/chat/typed-interrupts/typed-interrupt-graphql.js.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-notice.cjs +70 -0
- package/dist/chat/typed-interrupts/typed-interrupt-notice.cjs.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-notice.d.ts +45 -0
- package/dist/chat/typed-interrupts/typed-interrupt-notice.js +70 -0
- package/dist/chat/typed-interrupts/typed-interrupt-notice.js.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-panel.cjs +76 -0
- package/dist/chat/typed-interrupts/typed-interrupt-panel.cjs.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-panel.d.ts +11 -0
- package/dist/chat/typed-interrupts/typed-interrupt-panel.js +76 -0
- package/dist/chat/typed-interrupts/typed-interrupt-panel.js.map +1 -0
- package/dist/chat/typed-interrupts/typed-interrupt-types.d.ts +46 -0
- package/dist/chat/typed-interrupts/use-interrupt-draft.cjs +106 -0
- package/dist/chat/typed-interrupts/use-interrupt-draft.cjs.map +1 -0
- package/dist/chat/typed-interrupts/use-interrupt-draft.d.ts +29 -0
- package/dist/chat/typed-interrupts/use-interrupt-draft.js +106 -0
- package/dist/chat/typed-interrupts/use-interrupt-draft.js.map +1 -0
- package/dist/chat/typed-interrupts/use-statewire-typed-interrupt.cjs +231 -0
- package/dist/chat/typed-interrupts/use-statewire-typed-interrupt.cjs.map +1 -0
- package/dist/chat/typed-interrupts/use-statewire-typed-interrupt.d.ts +66 -0
- package/dist/chat/typed-interrupts/use-statewire-typed-interrupt.js +231 -0
- package/dist/chat/typed-interrupts/use-statewire-typed-interrupt.js.map +1 -0
- package/dist/chat-ui/composer/composer-named-agents.cjs +13 -0
- package/dist/chat-ui/composer/composer-named-agents.cjs.map +1 -0
- package/dist/chat-ui/composer/composer-named-agents.d.ts +20 -0
- package/dist/chat-ui/composer/composer-named-agents.js +13 -0
- package/dist/chat-ui/composer/composer-named-agents.js.map +1 -0
- package/dist/chat-ui/composer/slash-command-menu.cjs +143 -0
- package/dist/chat-ui/composer/slash-command-menu.cjs.map +1 -0
- package/dist/chat-ui/composer/slash-command-menu.d.ts +19 -0
- package/dist/chat-ui/composer/slash-command-menu.js +143 -0
- package/dist/chat-ui/composer/slash-command-menu.js.map +1 -0
- package/dist/chat-ui/composer/slash-commands-extension.cjs +51 -0
- package/dist/chat-ui/composer/slash-commands-extension.cjs.map +1 -0
- package/dist/chat-ui/composer/slash-commands-extension.d.ts +39 -0
- package/dist/chat-ui/composer/slash-commands-extension.js +51 -0
- package/dist/chat-ui/composer/slash-commands-extension.js.map +1 -0
- package/dist/chat-ui/composer/slash-commands.cjs +74 -0
- package/dist/chat-ui/composer/slash-commands.cjs.map +1 -0
- package/dist/chat-ui/composer/slash-commands.d.ts +82 -0
- package/dist/chat-ui/composer/slash-commands.js +74 -0
- package/dist/chat-ui/composer/slash-commands.js.map +1 -0
- package/dist/chat-ui/composer/tiptap-composer.cjs +135 -9
- package/dist/chat-ui/composer/tiptap-composer.cjs.map +1 -1
- package/dist/chat-ui/composer/tiptap-composer.d.ts +61 -2
- package/dist/chat-ui/composer/tiptap-composer.js +135 -9
- package/dist/chat-ui/composer/tiptap-composer.js.map +1 -1
- package/dist/chat-ui/index.cjs +3 -0
- package/dist/chat-ui/index.cjs.map +1 -1
- package/dist/chat-ui/index.d.ts +3 -2
- package/dist/chat-ui/index.js +3 -0
- package/dist/chat-ui/index.js.map +1 -1
- package/dist/chat-ui/mentions/mention-chip.cjs +1 -1
- package/dist/chat-ui/mentions/mention-chip.cjs.map +1 -1
- package/dist/chat-ui/mentions/mention-chip.js +2 -2
- package/dist/chat-ui/mentions/mention-chip.js.map +1 -1
- package/dist/chat-ui/mentions/mention-extension.cjs +8 -1
- package/dist/chat-ui/mentions/mention-extension.cjs.map +1 -1
- package/dist/chat-ui/mentions/mention-extension.js +8 -1
- package/dist/chat-ui/mentions/mention-extension.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/get-scope-name.cjs +1 -0
- package/dist/chat-ui/mentions/suggestions/components/get-scope-name.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/get-scope-name.js +1 -0
- package/dist/chat-ui/mentions/suggestions/components/get-scope-name.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/mention-icon.cjs +2 -0
- package/dist/chat-ui/mentions/suggestions/components/mention-icon.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/mention-icon.js +3 -1
- package/dist/chat-ui/mentions/suggestions/components/mention-icon.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/menu-item.cjs +1 -1
- package/dist/chat-ui/mentions/suggestions/components/menu-item.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/menu-item.js +1 -1
- package/dist/chat-ui/mentions/suggestions/components/menu-item.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/api-client.cjs +36 -0
- package/dist/chat-ui/mentions/suggestions/data/api-client.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/api-client.d.ts +42 -0
- package/dist/chat-ui/mentions/suggestions/data/api-client.js +36 -0
- package/dist/chat-ui/mentions/suggestions/data/api-client.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/sources/index.cjs +235 -19
- package/dist/chat-ui/mentions/suggestions/data/sources/index.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/sources/index.d.ts +88 -10
- package/dist/chat-ui/mentions/suggestions/data/sources/index.js +236 -20
- package/dist/chat-ui/mentions/suggestions/data/sources/index.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/types.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/types.d.ts +27 -1
- package/dist/chat-ui/mentions/suggestions/data/types.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.cjs +56 -5
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.d.ts +26 -6
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.js +57 -6
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/mention-suggestions.extension.cjs +34 -17
- package/dist/chat-ui/mentions/suggestions/mention-suggestions.extension.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/mention-suggestions.extension.d.ts +19 -1
- package/dist/chat-ui/mentions/suggestions/mention-suggestions.extension.js +35 -18
- package/dist/chat-ui/mentions/suggestions/mention-suggestions.extension.js.map +1 -1
- package/dist/chat-ui/statewire.d.ts +1 -1
- package/dist/chat-ui/thread/statewire-history-edge.cjs +15 -0
- package/dist/chat-ui/thread/statewire-history-edge.cjs.map +1 -1
- package/dist/chat-ui/thread/statewire-history-edge.d.ts +4 -1
- package/dist/chat-ui/thread/statewire-history-edge.js +15 -0
- package/dist/chat-ui/thread/statewire-history-edge.js.map +1 -1
- package/dist/collab/client.cjs +17 -5
- package/dist/collab/client.cjs.map +1 -1
- package/dist/collab/client.d.ts +22 -7
- package/dist/collab/client.js +17 -5
- package/dist/collab/client.js.map +1 -1
- package/dist/composer/ComposerAttachedReferences.cjs +119 -0
- package/dist/composer/ComposerAttachedReferences.cjs.map +1 -0
- package/dist/composer/ComposerAttachedReferences.d.ts +26 -0
- package/dist/composer/ComposerAttachedReferences.js +119 -0
- package/dist/composer/ComposerAttachedReferences.js.map +1 -0
- package/dist/composer/ComposerNamedAgents.cjs +63 -0
- package/dist/composer/ComposerNamedAgents.cjs.map +1 -0
- package/dist/composer/ComposerNamedAgents.d.ts +16 -0
- package/dist/composer/ComposerNamedAgents.js +63 -0
- package/dist/composer/ComposerNamedAgents.js.map +1 -0
- package/dist/composer/attached-references.cjs +159 -0
- package/dist/composer/attached-references.cjs.map +1 -0
- package/dist/composer/attached-references.d.ts +86 -0
- package/dist/composer/attached-references.js +159 -0
- package/dist/composer/attached-references.js.map +1 -0
- package/dist/composer/build-composed-message.cjs +14 -7
- package/dist/composer/build-composed-message.cjs.map +1 -1
- package/dist/composer/build-composed-message.d.ts +6 -1
- package/dist/composer/build-composed-message.js +14 -7
- package/dist/composer/build-composed-message.js.map +1 -1
- package/dist/composer/composer-handoff.cjs +6 -2
- package/dist/composer/composer-handoff.cjs.map +1 -1
- package/dist/composer/composer-handoff.d.ts +7 -1
- package/dist/composer/composer-handoff.js +6 -2
- package/dist/composer/composer-handoff.js.map +1 -1
- package/dist/composer/folder-upload.cjs +149 -0
- package/dist/composer/folder-upload.cjs.map +1 -0
- package/dist/composer/folder-upload.d.ts +79 -0
- package/dist/composer/folder-upload.js +149 -0
- package/dist/composer/folder-upload.js.map +1 -0
- package/dist/composer/index.d.ts +1 -1
- package/dist/composer/useAttachToChat.cjs +35 -0
- package/dist/composer/useAttachToChat.cjs.map +1 -0
- package/dist/composer/useAttachToChat.d.ts +54 -0
- package/dist/composer/useAttachToChat.js +35 -0
- package/dist/composer/useAttachToChat.js.map +1 -0
- package/dist/composer/useAttachedReferencesComposerProps.cjs +19 -0
- package/dist/composer/useAttachedReferencesComposerProps.cjs.map +1 -0
- package/dist/composer/useAttachedReferencesComposerProps.d.ts +12 -0
- package/dist/composer/useAttachedReferencesComposerProps.js +19 -0
- package/dist/composer/useAttachedReferencesComposerProps.js.map +1 -0
- package/dist/composer/useFileUpload.cjs +95 -7
- package/dist/composer/useFileUpload.cjs.map +1 -1
- package/dist/composer/useFileUpload.d.ts +21 -2
- package/dist/composer/useFileUpload.js +95 -7
- package/dist/composer/useFileUpload.js.map +1 -1
- package/dist/data/athena-api-error.cjs +125 -0
- package/dist/data/athena-api-error.cjs.map +1 -0
- package/dist/data/athena-api-error.d.ts +96 -0
- package/dist/data/athena-api-error.js +125 -0
- package/dist/data/athena-api-error.js.map +1 -0
- package/dist/data/athena-data-client.cjs +106 -0
- package/dist/data/athena-data-client.cjs.map +1 -0
- package/dist/data/athena-data-client.d.ts +74 -0
- package/dist/data/athena-data-client.js +106 -0
- package/dist/data/athena-data-client.js.map +1 -0
- package/dist/data/athena-member.cjs +93 -0
- package/dist/data/athena-member.cjs.map +1 -0
- package/dist/data/athena-member.d.ts +125 -0
- package/dist/data/athena-member.js +93 -0
- package/dist/data/athena-member.js.map +1 -0
- package/dist/data/athena-request.cjs +458 -0
- package/dist/data/athena-request.cjs.map +1 -0
- package/dist/data/athena-request.d.ts +120 -0
- package/dist/data/athena-request.js +458 -0
- package/dist/data/athena-request.js.map +1 -0
- package/dist/data/use-athena-fetch.cjs +14 -0
- package/dist/data/use-athena-fetch.cjs.map +1 -0
- package/dist/data/use-athena-fetch.d.ts +19 -0
- package/dist/data/use-athena-fetch.js +14 -0
- package/dist/data/use-athena-fetch.js.map +1 -0
- package/dist/data/use-athena-graphql.cjs +66 -0
- package/dist/data/use-athena-graphql.cjs.map +1 -0
- package/dist/data/use-athena-graphql.d.ts +56 -0
- package/dist/data/use-athena-graphql.js +66 -0
- package/dist/data/use-athena-graphql.js.map +1 -0
- package/dist/data/use-athena-rest.cjs +33 -0
- package/dist/data/use-athena-rest.cjs.map +1 -0
- package/dist/data/use-athena-rest.d.ts +21 -0
- package/dist/data/use-athena-rest.js +33 -0
- package/dist/data/use-athena-rest.js.map +1 -0
- package/dist/data/use-semantic-query.cjs +44 -0
- package/dist/data/use-semantic-query.cjs.map +1 -0
- package/dist/data/use-semantic-query.d.ts +92 -0
- package/dist/data/use-semantic-query.js +44 -0
- package/dist/data/use-semantic-query.js.map +1 -0
- package/dist/diagnostics/athena-diagnostics.cjs.map +1 -1
- package/dist/diagnostics/athena-diagnostics.d.ts +5 -1
- package/dist/diagnostics/athena-diagnostics.js.map +1 -1
- package/dist/diagnostics/errors.cjs +7 -0
- package/dist/diagnostics/errors.cjs.map +1 -1
- package/dist/diagnostics/errors.d.ts +7 -0
- package/dist/diagnostics/errors.js +7 -0
- package/dist/diagnostics/errors.js.map +1 -1
- package/dist/index.cjs +155 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +72 -13
- package/dist/index.js +148 -4
- package/dist/index.js.map +1 -1
- package/dist/keryx-http/src/initial-sync.cjs +64 -16
- package/dist/keryx-http/src/initial-sync.cjs.map +1 -1
- package/dist/keryx-http/src/initial-sync.d.ts +31 -1
- package/dist/keryx-http/src/initial-sync.js +64 -16
- package/dist/keryx-http/src/initial-sync.js.map +1 -1
- package/dist/keryx-http/src/own-awareness.cjs +20 -0
- package/dist/keryx-http/src/own-awareness.cjs.map +1 -0
- package/dist/keryx-http/src/own-awareness.d.ts +50 -0
- package/dist/keryx-http/src/own-awareness.js +20 -0
- package/dist/keryx-http/src/own-awareness.js.map +1 -0
- package/dist/keryx-http/src/update-attributions.cjs +26 -1
- package/dist/keryx-http/src/update-attributions.cjs.map +1 -1
- package/dist/keryx-http/src/update-attributions.d.ts +10 -1
- package/dist/keryx-http/src/update-attributions.js +26 -1
- package/dist/keryx-http/src/update-attributions.js.map +1 -1
- package/dist/offline/chat-outbox.cjs +262 -26
- package/dist/offline/chat-outbox.cjs.map +1 -1
- package/dist/offline/chat-outbox.d.ts +90 -12
- package/dist/offline/chat-outbox.js +263 -27
- package/dist/offline/chat-outbox.js.map +1 -1
- package/dist/provider/AthenaProvider.cjs +63 -19
- package/dist/provider/AthenaProvider.cjs.map +1 -1
- package/dist/provider/AthenaProvider.d.ts +24 -8
- package/dist/provider/AthenaProvider.js +66 -22
- package/dist/provider/AthenaProvider.js.map +1 -1
- package/dist/react/package.json.cjs +1 -1
- package/dist/react/package.json.js +1 -1
- package/dist/references/src/anchors/types.cjs +5 -0
- package/dist/references/src/anchors/types.cjs.map +1 -1
- package/dist/references/src/anchors/types.js +5 -0
- package/dist/references/src/anchors/types.js.map +1 -1
- package/dist/references/src/attachable.cjs +149 -0
- package/dist/references/src/attachable.cjs.map +1 -0
- package/dist/references/src/attachable.d.ts +87 -0
- package/dist/references/src/attachable.js +149 -0
- package/dist/references/src/attachable.js.map +1 -0
- package/dist/runtime/StatewirePlanModeLaneSync.cjs +93 -0
- package/dist/runtime/StatewirePlanModeLaneSync.cjs.map +1 -0
- package/dist/runtime/StatewirePlanModeLaneSync.d.ts +34 -0
- package/dist/runtime/StatewirePlanModeLaneSync.js +93 -0
- package/dist/runtime/StatewirePlanModeLaneSync.js.map +1 -0
- package/dist/runtime/StatewireThreadConfigLaneSync.cjs +2 -0
- package/dist/runtime/StatewireThreadConfigLaneSync.cjs.map +1 -1
- package/dist/runtime/StatewireThreadConfigLaneSync.d.ts +4 -0
- package/dist/runtime/StatewireThreadConfigLaneSync.js +2 -0
- package/dist/runtime/StatewireThreadConfigLaneSync.js.map +1 -1
- package/dist/runtime/statewire-plan-mode.cjs +71 -0
- package/dist/runtime/statewire-plan-mode.cjs.map +1 -0
- package/dist/runtime/statewire-plan-mode.d.ts +88 -0
- package/dist/runtime/statewire-plan-mode.js +71 -0
- package/dist/runtime/statewire-plan-mode.js.map +1 -0
- package/dist/runtime/statewire-run-config.cjs +18 -1
- package/dist/runtime/statewire-run-config.cjs.map +1 -1
- package/dist/runtime/statewire-run-config.d.ts +20 -0
- package/dist/runtime/statewire-run-config.js +18 -1
- package/dist/runtime/statewire-run-config.js.map +1 -1
- package/dist/runtime/statewire-session-key.cjs +11 -5
- package/dist/runtime/statewire-session-key.cjs.map +1 -1
- package/dist/runtime/statewire-session-key.d.ts +22 -10
- package/dist/runtime/statewire-session-key.js +11 -5
- package/dist/runtime/statewire-session-key.js.map +1 -1
- package/dist/runtime/useAthenaStatewireRuntime.cjs +65 -8
- package/dist/runtime/useAthenaStatewireRuntime.cjs.map +1 -1
- package/dist/runtime/useAthenaStatewireRuntime.d.ts +26 -10
- package/dist/runtime/useAthenaStatewireRuntime.js +67 -10
- package/dist/runtime/useAthenaStatewireRuntime.js.map +1 -1
- package/dist/search/useAthenaAssets.cjs +394 -0
- package/dist/search/useAthenaAssets.cjs.map +1 -0
- package/dist/search/useAthenaAssets.d.ts +186 -0
- package/dist/search/useAthenaAssets.js +394 -0
- package/dist/search/useAthenaAssets.js.map +1 -0
- package/dist/sheet-range/index.cjs +4 -0
- package/dist/sheet-range/index.cjs.map +1 -1
- package/dist/sheet-range/index.d.ts +4 -2
- package/dist/sheet-range/index.js +4 -0
- package/dist/sheet-range/index.js.map +1 -1
- package/dist/sheet-range/query-range.cjs +102 -0
- package/dist/sheet-range/query-range.cjs.map +1 -0
- package/dist/sheet-range/query-range.d.ts +46 -0
- package/dist/sheet-range/query-range.js +102 -0
- package/dist/sheet-range/query-range.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/subagents/index.cjs +49 -0
- package/dist/subagents/index.cjs.map +1 -0
- package/dist/subagents/index.d.ts +16 -0
- package/dist/subagents/index.js +49 -0
- package/dist/subagents/index.js.map +1 -0
- package/dist/subagents/lane-follow.cjs +19 -0
- package/dist/subagents/lane-follow.cjs.map +1 -0
- package/dist/subagents/lane-follow.d.ts +9 -0
- package/dist/subagents/lane-follow.js +19 -0
- package/dist/subagents/lane-follow.js.map +1 -0
- package/dist/subagents/lane-model.cjs +178 -0
- package/dist/subagents/lane-model.cjs.map +1 -0
- package/dist/subagents/lane-model.d.ts +140 -0
- package/dist/subagents/lane-model.js +178 -0
- package/dist/subagents/lane-model.js.map +1 -0
- package/dist/subagents/lane-parts.cjs +517 -0
- package/dist/subagents/lane-parts.cjs.map +1 -0
- package/dist/subagents/lane-parts.d.ts +130 -0
- package/dist/subagents/lane-parts.js +517 -0
- package/dist/subagents/lane-parts.js.map +1 -0
- package/dist/subagents/subagent-lane-group.cjs +215 -0
- package/dist/subagents/subagent-lane-group.cjs.map +1 -0
- package/dist/subagents/subagent-lane-group.d.ts +67 -0
- package/dist/subagents/subagent-lane-group.js +215 -0
- package/dist/subagents/subagent-lane-group.js.map +1 -0
- package/dist/subagents/subagent-transcript-drawer.cjs +431 -0
- package/dist/subagents/subagent-transcript-drawer.cjs.map +1 -0
- package/dist/subagents/subagent-transcript-drawer.d.ts +78 -0
- package/dist/subagents/subagent-transcript-drawer.js +431 -0
- package/dist/subagents/subagent-transcript-drawer.js.map +1 -0
- package/dist/subagents/task-subagent-group.cjs +115 -0
- package/dist/subagents/task-subagent-group.cjs.map +1 -0
- package/dist/subagents/task-subagent-group.d.ts +36 -0
- package/dist/subagents/task-subagent-group.js +115 -0
- package/dist/subagents/task-subagent-group.js.map +1 -0
- package/dist/subagents/use-omitted-images-in-view.cjs +68 -0
- package/dist/subagents/use-omitted-images-in-view.cjs.map +1 -0
- package/dist/subagents/use-omitted-images-in-view.d.ts +21 -0
- package/dist/subagents/use-omitted-images-in-view.js +68 -0
- package/dist/subagents/use-omitted-images-in-view.js.map +1 -0
- package/dist/threads/Inbox.cjs +2 -2
- package/dist/threads/Inbox.cjs.map +1 -1
- package/dist/threads/SessionList.cjs +27 -24
- package/dist/threads/SessionList.cjs.map +1 -1
- package/dist/threads/SessionList.js +22 -19
- package/dist/threads/SessionList.js.map +1 -1
- package/dist/threads/SessionsPage.cjs +13 -7
- package/dist/threads/SessionsPage.cjs.map +1 -1
- package/dist/threads/SessionsPage.d.ts +10 -1
- package/dist/threads/SessionsPage.js +9 -3
- package/dist/threads/SessionsPage.js.map +1 -1
- package/dist/threads/live-session-rows.cjs +207 -0
- package/dist/threads/live-session-rows.cjs.map +1 -0
- package/dist/threads/live-session-rows.d.ts +175 -0
- package/dist/threads/live-session-rows.js +207 -0
- package/dist/threads/live-session-rows.js.map +1 -0
- package/dist/threads/session-list-model.cjs.map +1 -1
- package/dist/threads/session-list-model.d.ts +2 -1
- package/dist/threads/session-list-model.js.map +1 -1
- package/dist/threads/session-row-parts.cjs +3 -3
- package/dist/threads/session-row-parts.cjs.map +1 -1
- package/dist/threads/sessions-page-model.cjs +13 -5
- package/dist/threads/sessions-page-model.cjs.map +1 -1
- package/dist/threads/sessions-page-model.d.ts +7 -0
- package/dist/threads/sessions-page-model.js +11 -3
- package/dist/threads/sessions-page-model.js.map +1 -1
- package/dist/threads/sessions-page-storage.cjs +8 -8
- package/dist/threads/sessions-page-storage.cjs.map +1 -1
- package/dist/threads/sessions-page-storage.d.ts +5 -1
- package/dist/threads/sessions-page-storage.js +8 -8
- package/dist/threads/sessions-page-storage.js.map +1 -1
- package/dist/threads/statewire-thread-list.cjs +173 -20
- package/dist/threads/statewire-thread-list.cjs.map +1 -1
- package/dist/threads/statewire-thread-list.d.ts +44 -1
- package/dist/threads/statewire-thread-list.js +174 -21
- package/dist/threads/statewire-thread-list.js.map +1 -1
- package/dist/threads/use-athena-sessions.cjs +1 -0
- package/dist/threads/use-athena-sessions.cjs.map +1 -1
- package/dist/threads/use-athena-sessions.d.ts +7 -0
- package/dist/threads/use-athena-sessions.js +1 -0
- package/dist/threads/use-athena-sessions.js.map +1 -1
- package/dist/threads/use-athena-thread-agent.cjs +31 -0
- package/dist/threads/use-athena-thread-agent.cjs.map +1 -0
- package/dist/threads/use-athena-thread-agent.d.ts +38 -0
- package/dist/threads/use-athena-thread-agent.js +31 -0
- package/dist/threads/use-athena-thread-agent.js.map +1 -0
- package/dist/threads/use-athena-thread-plan-mode.cjs +18 -0
- package/dist/threads/use-athena-thread-plan-mode.cjs.map +1 -0
- package/dist/threads/use-athena-thread-plan-mode.d.ts +18 -0
- package/dist/threads/use-athena-thread-plan-mode.js +18 -0
- package/dist/threads/use-athena-thread-plan-mode.js.map +1 -0
- package/dist/threads/use-rest-conversation-history.d.ts +1 -0
- package/dist/tools/agent-creations.cjs +97 -0
- package/dist/tools/agent-creations.cjs.map +1 -0
- package/dist/tools/agent-creations.d.ts +38 -0
- package/dist/tools/agent-creations.js +97 -0
- package/dist/tools/agent-creations.js.map +1 -0
- package/dist/tools/agent-highlights.cjs +100 -0
- package/dist/tools/agent-highlights.cjs.map +1 -0
- package/dist/tools/agent-highlights.d.ts +57 -0
- package/dist/tools/agent-highlights.js +100 -0
- package/dist/tools/agent-highlights.js.map +1 -0
- package/dist/tools/append-document-tool-ui.cjs +1 -0
- package/dist/tools/append-document-tool-ui.cjs.map +1 -1
- package/dist/tools/append-document-tool-ui.d.ts +7 -0
- package/dist/tools/append-document-tool-ui.js +2 -1
- package/dist/tools/append-document-tool-ui.js.map +1 -1
- package/dist/tools/auto-open-tools.cjs +144 -71
- package/dist/tools/auto-open-tools.cjs.map +1 -1
- package/dist/tools/auto-open-tools.d.ts +131 -1
- package/dist/tools/auto-open-tools.js +145 -72
- package/dist/tools/auto-open-tools.js.map +1 -1
- package/dist/tools/browser-tool-uis.cjs +594 -0
- package/dist/tools/browser-tool-uis.cjs.map +1 -0
- package/dist/tools/browser-tool-uis.d.ts +8 -0
- package/dist/tools/browser-tool-uis.js +594 -0
- package/dist/tools/browser-tool-uis.js.map +1 -0
- package/dist/tools/computer-asset-tool-uis.cjs +313 -0
- package/dist/tools/computer-asset-tool-uis.cjs.map +1 -0
- package/dist/tools/computer-asset-tool-uis.d.ts +5 -0
- package/dist/tools/computer-asset-tool-uis.js +313 -0
- package/dist/tools/computer-asset-tool-uis.js.map +1 -0
- package/dist/tools/document-edit-tool-uis.cjs +218 -0
- package/dist/tools/document-edit-tool-uis.cjs.map +1 -0
- package/dist/tools/document-edit-tool-uis.d.ts +40 -0
- package/dist/tools/document-edit-tool-uis.js +218 -0
- package/dist/tools/document-edit-tool-uis.js.map +1 -0
- package/dist/tools/drive-tool-uis.cjs +425 -0
- package/dist/tools/drive-tool-uis.cjs.map +1 -0
- package/dist/tools/drive-tool-uis.d.ts +120 -0
- package/dist/tools/drive-tool-uis.js +425 -0
- package/dist/tools/drive-tool-uis.js.map +1 -0
- package/dist/tools/email-calendar-tool-uis.cjs +789 -0
- package/dist/tools/email-calendar-tool-uis.cjs.map +1 -0
- package/dist/tools/email-calendar-tool-uis.d.ts +129 -0
- package/dist/tools/email-calendar-tool-uis.js +789 -0
- package/dist/tools/email-calendar-tool-uis.js.map +1 -0
- package/dist/tools/ontology-tool-uis.cjs +83 -0
- package/dist/tools/ontology-tool-uis.cjs.map +1 -0
- package/dist/tools/ontology-tool-uis.d.ts +9 -0
- package/dist/tools/ontology-tool-uis.js +83 -0
- package/dist/tools/ontology-tool-uis.js.map +1 -0
- package/dist/tools/orchestration-tool-uis.cjs +586 -0
- package/dist/tools/orchestration-tool-uis.cjs.map +1 -0
- package/dist/tools/orchestration-tool-uis.d.ts +141 -0
- package/dist/tools/orchestration-tool-uis.js +586 -0
- package/dist/tools/orchestration-tool-uis.js.map +1 -0
- package/dist/tools/presentation-edit-tool-uis.cjs +516 -0
- package/dist/tools/presentation-edit-tool-uis.cjs.map +1 -0
- package/dist/tools/presentation-edit-tool-uis.d.ts +73 -0
- package/dist/tools/presentation-edit-tool-uis.js +516 -0
- package/dist/tools/presentation-edit-tool-uis.js.map +1 -0
- package/dist/tools/project-tool-uis.cjs +213 -0
- package/dist/tools/project-tool-uis.cjs.map +1 -0
- package/dist/tools/project-tool-uis.d.ts +14 -0
- package/dist/tools/project-tool-uis.js +213 -0
- package/dist/tools/project-tool-uis.js.map +1 -0
- package/dist/tools/sandbox-tool-uis.cjs +491 -0
- package/dist/tools/sandbox-tool-uis.cjs.map +1 -0
- package/dist/tools/sandbox-tool-uis.d.ts +116 -0
- package/dist/tools/sandbox-tool-uis.js +491 -0
- package/dist/tools/sandbox-tool-uis.js.map +1 -0
- package/dist/tools/sheet-query-tool-ui.cjs +138 -0
- package/dist/tools/sheet-query-tool-ui.cjs.map +1 -0
- package/dist/tools/sheet-query-tool-ui.d.ts +15 -0
- package/dist/tools/sheet-query-tool-ui.js +138 -0
- package/dist/tools/sheet-query-tool-ui.js.map +1 -0
- package/dist/tools/studio-screenshot-tool-uis.cjs +262 -0
- package/dist/tools/studio-screenshot-tool-uis.cjs.map +1 -0
- package/dist/tools/studio-screenshot-tool-uis.d.ts +52 -0
- package/dist/tools/studio-screenshot-tool-uis.js +262 -0
- package/dist/tools/studio-screenshot-tool-uis.js.map +1 -0
- package/dist/tools/subagent-task-tool-ui.cjs +24 -475
- package/dist/tools/subagent-task-tool-ui.cjs.map +1 -1
- package/dist/tools/subagent-task-tool-ui.d.ts +19 -103
- package/dist/tools/subagent-task-tool-ui.js +28 -479
- package/dist/tools/subagent-task-tool-ui.js.map +1 -1
- package/dist/tools/tool-summary.cjs +36 -0
- package/dist/tools/tool-summary.cjs.map +1 -1
- package/dist/tools/tool-summary.js +36 -0
- package/dist/tools/tool-summary.js.map +1 -1
- package/dist/tools/tool-uis.cjs +181 -53
- package/dist/tools/tool-uis.cjs.map +1 -1
- package/dist/tools/tool-uis.d.ts +40 -0
- package/dist/tools/tool-uis.js +183 -55
- package/dist/tools/tool-uis.js.map +1 -1
- package/dist/typed-interrupts/index.cjs +15 -0
- package/dist/typed-interrupts/index.cjs.map +1 -0
- package/dist/typed-interrupts/index.d.ts +20 -0
- package/dist/typed-interrupts/index.js +15 -0
- package/dist/typed-interrupts/index.js.map +1 -0
- package/dist/workbench/session-workbench-panes.cjs +6 -6
- package/dist/workbench/session-workbench-panes.cjs.map +1 -1
- package/package.json +28 -6
- package/dist/agent-runtime/src/chat-outbox-store.cjs +0 -510
- package/dist/agent-runtime/src/chat-outbox-store.cjs.map +0 -1
- package/dist/agent-runtime/src/chat-outbox-store.d.ts +0 -210
- package/dist/agent-runtime/src/chat-outbox-store.js +0 -510
- package/dist/agent-runtime/src/chat-outbox-store.js.map +0 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The deep agent's sandbox cards, as Athena draws them on the web
|
|
3
|
+
* (Olympus's `athena-deep-agent/sandbox-tool-cards.tsx`):
|
|
4
|
+
*
|
|
5
|
+
* - `execute`: `$ ` and the command's first line, how many lines follow it,
|
|
6
|
+
* and the `truncated` / `exit N` chips the backend's status notes become;
|
|
7
|
+
* behind the header, the command and its output, colour codes stripped and
|
|
8
|
+
* cut at 400 lines. A command run in another asset's machine
|
|
9
|
+
* (`sandbox_asset_id`) names it by the title an earlier result in the turn
|
|
10
|
+
* gave it, else by a short id. Nothing is fetched.
|
|
11
|
+
* - `delete`: the deleted path and what the sandbox answered.
|
|
12
|
+
*
|
|
13
|
+
* The SDK calls a command made (its PTC sub-calls) render under the card
|
|
14
|
+
* through `NestedPtcMessages`, as under every tool UI. A call the person
|
|
15
|
+
* refused at the approval gate, or one the runtime parked, renders as the
|
|
16
|
+
* generic card, which owns those outcomes.
|
|
17
|
+
*/
|
|
18
|
+
import { type ToolCallMessagePartComponent, type ToolCallMessagePartProps } from "@assistant-ui/react";
|
|
19
|
+
import { type ToolResultState } from "../agent-runtime/src/index";
|
|
20
|
+
/** The tool-call part fields a card reads; every tool UI's props carry them. */
|
|
21
|
+
export type ToolPartView = Pick<ToolCallMessagePartProps, "toolName" | "args" | "result" | "status" | "isError" | "isPreliminary">;
|
|
22
|
+
export interface ToolCardDisclosure {
|
|
23
|
+
/** Start opened. */
|
|
24
|
+
defaultOpen?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/** Where a card's call is: its own status first, then what its result says. */
|
|
27
|
+
export type CardState = "running" | "waiting" | "complete" | "error" | "cancelled";
|
|
28
|
+
export declare function cardStateOf({ status, isError, isPreliminary, result, }: Pick<ToolPartView, "status" | "isError" | "isPreliminary" | "result">): CardState;
|
|
29
|
+
/** The card's state in the shared classifier's words, for `data-tool-outcome`. */
|
|
30
|
+
export declare function cardOutcome({ state, failed }: {
|
|
31
|
+
state: CardState;
|
|
32
|
+
failed: boolean;
|
|
33
|
+
}): ToolResultState;
|
|
34
|
+
/**
|
|
35
|
+
* Outcomes the generic card owns: a call the person refused at the approval
|
|
36
|
+
* gate (neither done nor failed) and one the runtime parked.
|
|
37
|
+
*/
|
|
38
|
+
export declare function rendersAsGenericCard({ status, result, isError, }: Pick<ToolPartView, "status" | "result" | "isError">): boolean;
|
|
39
|
+
/** Why a call that stopped before it finished failed; `null` for any other status. */
|
|
40
|
+
export declare function stoppedCallFailure(status: ToolPartView["status"]): string | null;
|
|
41
|
+
/** The arguments as a record; partial while they stream. */
|
|
42
|
+
export declare function argsRecord(args: unknown): Record<string, unknown> | undefined;
|
|
43
|
+
export declare function stringArg(args: Record<string, unknown> | undefined, key: string): string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* The card's frame in the thread's appearance: the boxed host card, or inside
|
|
46
|
+
* `AthenaChat` the thread's row (lighter border, no shadow or header tint).
|
|
47
|
+
* The header tint differs per card, as on the web.
|
|
48
|
+
*/
|
|
49
|
+
export declare function useCardChrome({ tint }?: {
|
|
50
|
+
tint?: string;
|
|
51
|
+
}): {
|
|
52
|
+
root: string;
|
|
53
|
+
header: string;
|
|
54
|
+
};
|
|
55
|
+
export declare const CHIP_CLASS = "shrink-0 rounded px-1.5 py-0.5 font-mono text-[10px] font-medium leading-4";
|
|
56
|
+
export declare function Chevron({ expanded }: {
|
|
57
|
+
expanded: boolean;
|
|
58
|
+
}): import("react").JSX.Element;
|
|
59
|
+
/**
|
|
60
|
+
* The status end of a header: a spinner while the call runs, a shield while
|
|
61
|
+
* it waits on an approval, `cancelled`, or the check of a success.
|
|
62
|
+
*/
|
|
63
|
+
export declare function StatusGlyph({ state, succeeded }: {
|
|
64
|
+
state: CardState;
|
|
65
|
+
succeeded: boolean;
|
|
66
|
+
}): import("react").JSX.Element | null;
|
|
67
|
+
export declare function ErrorChip(): import("react").JSX.Element;
|
|
68
|
+
/** The failure of a call that stopped before it finished, on screen without opening the card. */
|
|
69
|
+
export declare function StoppedCallNotice({ message }: {
|
|
70
|
+
message: string | null;
|
|
71
|
+
}): import("react").JSX.Element | null;
|
|
72
|
+
/**
|
|
73
|
+
* A result as text. The execute image lift turns `[stdout, image…]` into text
|
|
74
|
+
* and image blocks so the model can see a render: the card shows the output
|
|
75
|
+
* the model read, and the image blocks are not output text.
|
|
76
|
+
*/
|
|
77
|
+
export declare function asText(value: unknown): string;
|
|
78
|
+
/**
|
|
79
|
+
* Readable text from a string result, a content-block array, or its
|
|
80
|
+
* index-keyed form. A binary block reads as a placeholder naming it, never as
|
|
81
|
+
* serialized base64.
|
|
82
|
+
*/
|
|
83
|
+
export declare function resultText(result: unknown): string;
|
|
84
|
+
/** A sandbox answer that is an error rather than output (deepagents' and Talos' prefixes). */
|
|
85
|
+
export declare function isErrorResult(text: string): boolean;
|
|
86
|
+
/** `text` without its ANSI escape sequences. */
|
|
87
|
+
export declare function stripAnsi(text: string): string;
|
|
88
|
+
/**
|
|
89
|
+
* The first `maxLines` lines of `text` and how many follow, so a
|
|
90
|
+
* many-thousand-line output paints at most one card's worth of lines.
|
|
91
|
+
*/
|
|
92
|
+
export declare function clampLines(text: string, maxLines: number): {
|
|
93
|
+
text: string;
|
|
94
|
+
hidden: number;
|
|
95
|
+
};
|
|
96
|
+
/** Split a path into its directory prefix (with its trailing slash) and file name. */
|
|
97
|
+
export declare function splitFilePath(path: string): {
|
|
98
|
+
dir: string;
|
|
99
|
+
name: string;
|
|
100
|
+
};
|
|
101
|
+
/** The asset whose machine ran the command; `undefined` for the session's own, or an id still streaming. */
|
|
102
|
+
export declare function executeTargetAssetId(args: Record<string, unknown> | undefined): string | undefined;
|
|
103
|
+
export type SandboxExecuteCardProps = ToolPartView & ToolCardDisclosure;
|
|
104
|
+
/** The `execute` card: the command's header line, and the command and its output behind it. */
|
|
105
|
+
export declare function SandboxExecuteCard({ args, result, status, isError, isPreliminary, defaultOpen, }: SandboxExecuteCardProps): import("react").JSX.Element;
|
|
106
|
+
/** The `execute` (sandbox shell) tool UI. */
|
|
107
|
+
export declare const ExecuteToolUI: ToolCallMessagePartComponent;
|
|
108
|
+
export type SandboxDeleteCardProps = ToolPartView & ToolCardDisclosure;
|
|
109
|
+
/**
|
|
110
|
+
* The `delete` card: session-only (no cross-asset target) and always
|
|
111
|
+
* approval-gated server-side, with a red icon so a destructive action reads
|
|
112
|
+
* as one.
|
|
113
|
+
*/
|
|
114
|
+
export declare function SandboxDeleteCard({ args, result, status, isError, isPreliminary, defaultOpen, }: SandboxDeleteCardProps): import("react").JSX.Element;
|
|
115
|
+
/** The `delete` (sandbox file removal) tool UI. */
|
|
116
|
+
export declare const DeleteToolUI: ToolCallMessagePartComponent;
|
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useAuiState } from "@assistant-ui/react";
|
|
3
|
+
import { Trash2Icon, TerminalIcon, CheckCircle2Icon, ShieldAlertIcon, LoaderIcon, ChevronDownIcon, ChevronRightIcon, CheckIcon, CopyIcon } from "lucide-react";
|
|
4
|
+
import { memo, useState, useMemo, useId, useRef, useEffect, useCallback } from "react";
|
|
5
|
+
import { useAssetPanelStore } from "../assets/asset-panel-store.js";
|
|
6
|
+
import { isRecord } from "../lib/utils.js";
|
|
7
|
+
import { useToolAppearance } from "./tool-appearance.js";
|
|
8
|
+
import { ToolFallback } from "./tool-fallback.js";
|
|
9
|
+
import { firstCommandLine, countLines, collectAssetTitles } from "./tool-summary.js";
|
|
10
|
+
import { classifyToolResult, toolFailure } from "../agent-runtime/src/tool-result.js";
|
|
11
|
+
import { parseExecuteOutput } from "../agent-runtime/src/execute-output.js";
|
|
12
|
+
import { cn } from "cnfast";
|
|
13
|
+
function cardStateOf({
|
|
14
|
+
status,
|
|
15
|
+
isError,
|
|
16
|
+
isPreliminary,
|
|
17
|
+
result
|
|
18
|
+
}) {
|
|
19
|
+
if ((status == null ? void 0 : status.type) === "running") return "running";
|
|
20
|
+
if ((status == null ? void 0 : status.type) === "requires-action") return "waiting";
|
|
21
|
+
if ((status == null ? void 0 : status.type) === "incomplete") return status.reason === "cancelled" ? "cancelled" : "error";
|
|
22
|
+
if (isPreliminary === true) return "running";
|
|
23
|
+
if (isError === true) return "error";
|
|
24
|
+
return status === void 0 && result === void 0 ? "running" : "complete";
|
|
25
|
+
}
|
|
26
|
+
function cardOutcome({ state, failed }) {
|
|
27
|
+
if (failed || state === "error" || state === "cancelled") return "error";
|
|
28
|
+
return state === "waiting" ? "requires-action" : state;
|
|
29
|
+
}
|
|
30
|
+
function rendersAsGenericCard({
|
|
31
|
+
status,
|
|
32
|
+
result,
|
|
33
|
+
isError
|
|
34
|
+
}) {
|
|
35
|
+
const { state } = classifyToolResult({ status, result, isError });
|
|
36
|
+
return state === "rejected" || state === "paused";
|
|
37
|
+
}
|
|
38
|
+
function stoppedCallFailure(status) {
|
|
39
|
+
var _a;
|
|
40
|
+
if ((status == null ? void 0 : status.type) !== "incomplete" || status.reason === "cancelled") return null;
|
|
41
|
+
return ((_a = toolFailure({ status })) == null ? void 0 : _a.message) ?? null;
|
|
42
|
+
}
|
|
43
|
+
function argsRecord(args) {
|
|
44
|
+
return isRecord(args) ? args : void 0;
|
|
45
|
+
}
|
|
46
|
+
function stringArg(args, key) {
|
|
47
|
+
const value = args == null ? void 0 : args[key];
|
|
48
|
+
return typeof value === "string" ? value : void 0;
|
|
49
|
+
}
|
|
50
|
+
function useCardChrome({ tint = "bg-muted/40 hover:bg-muted/70" } = {}) {
|
|
51
|
+
const isThread = useToolAppearance() === "thread";
|
|
52
|
+
return isThread ? {
|
|
53
|
+
root: "my-1.5 w-full overflow-hidden rounded-lg border border-border/50 bg-background",
|
|
54
|
+
header: "px-2.5 py-1.5 transition-colors hover:bg-muted/40"
|
|
55
|
+
} : {
|
|
56
|
+
root: "my-2 w-full overflow-hidden rounded-lg border border-border bg-card shadow-sm",
|
|
57
|
+
header: cn("px-4 py-2.5 transition-colors", tint)
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
const CHIP_CLASS = "shrink-0 rounded px-1.5 py-0.5 font-mono text-[10px] font-medium leading-4";
|
|
61
|
+
function Chevron({ expanded }) {
|
|
62
|
+
return /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "shrink-0 text-muted-foreground", children: expanded ? /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" }) : /* @__PURE__ */ jsx(ChevronRightIcon, { className: "size-4" }) });
|
|
63
|
+
}
|
|
64
|
+
function StatusGlyph({ state, succeeded }) {
|
|
65
|
+
switch (state) {
|
|
66
|
+
case "running":
|
|
67
|
+
return /* @__PURE__ */ jsxs("span", { className: "flex shrink-0 items-center", children: [
|
|
68
|
+
/* @__PURE__ */ jsx(
|
|
69
|
+
LoaderIcon,
|
|
70
|
+
{
|
|
71
|
+
"aria-hidden": "true",
|
|
72
|
+
className: "size-4 animate-spin text-muted-foreground motion-reduce:animate-none"
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Running" })
|
|
76
|
+
] });
|
|
77
|
+
case "waiting":
|
|
78
|
+
return /* @__PURE__ */ jsxs("span", { className: "flex shrink-0 items-center", children: [
|
|
79
|
+
/* @__PURE__ */ jsx(ShieldAlertIcon, { "aria-hidden": "true", className: "size-4 text-amber-600" }),
|
|
80
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Waiting for approval" })
|
|
81
|
+
] });
|
|
82
|
+
case "cancelled":
|
|
83
|
+
return /* @__PURE__ */ jsx("span", { className: cn(CHIP_CLASS, "bg-muted text-muted-foreground"), children: "cancelled" });
|
|
84
|
+
case "error":
|
|
85
|
+
return null;
|
|
86
|
+
case "complete":
|
|
87
|
+
return succeeded ? /* @__PURE__ */ jsxs("span", { className: "flex shrink-0 items-center", children: [
|
|
88
|
+
/* @__PURE__ */ jsx(CheckCircle2Icon, { "aria-hidden": "true", className: "size-4 text-emerald-600" }),
|
|
89
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Done" })
|
|
90
|
+
] }) : null;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function ErrorChip() {
|
|
94
|
+
return /* @__PURE__ */ jsx("span", { className: cn(CHIP_CLASS, "bg-destructive/10 text-destructive"), children: "error" });
|
|
95
|
+
}
|
|
96
|
+
function StoppedCallNotice({ message }) {
|
|
97
|
+
if (!message) return null;
|
|
98
|
+
return /* @__PURE__ */ jsxs(
|
|
99
|
+
"div",
|
|
100
|
+
{
|
|
101
|
+
"data-slot": "tool-card-notice",
|
|
102
|
+
className: "border-t border-destructive/20 bg-destructive/10 px-4 py-1.5 text-[11px] text-destructive",
|
|
103
|
+
children: [
|
|
104
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium", children: "Error: " }),
|
|
105
|
+
message
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
const COPIED_RESET_MS = 2e3;
|
|
111
|
+
function CopyIconButton({ value, label }) {
|
|
112
|
+
const [copied, setCopied] = useState(false);
|
|
113
|
+
const resetTimer = useRef(null);
|
|
114
|
+
useEffect(
|
|
115
|
+
() => () => {
|
|
116
|
+
if (resetTimer.current) clearTimeout(resetTimer.current);
|
|
117
|
+
},
|
|
118
|
+
[]
|
|
119
|
+
);
|
|
120
|
+
const copy = useCallback(() => {
|
|
121
|
+
if (typeof navigator === "undefined" || !navigator.clipboard) return;
|
|
122
|
+
navigator.clipboard.writeText(value).then(
|
|
123
|
+
() => {
|
|
124
|
+
setCopied(true);
|
|
125
|
+
if (resetTimer.current) clearTimeout(resetTimer.current);
|
|
126
|
+
resetTimer.current = setTimeout(() => setCopied(false), COPIED_RESET_MS);
|
|
127
|
+
},
|
|
128
|
+
() => void 0
|
|
129
|
+
);
|
|
130
|
+
}, [value]);
|
|
131
|
+
return /* @__PURE__ */ jsx(
|
|
132
|
+
"button",
|
|
133
|
+
{
|
|
134
|
+
type: "button",
|
|
135
|
+
"aria-label": copied ? "Copied" : label,
|
|
136
|
+
title: label,
|
|
137
|
+
onClick: copy,
|
|
138
|
+
className: "shrink-0 rounded p-1 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",
|
|
139
|
+
children: copied ? /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true", className: "size-3.5 text-emerald-600" }) : /* @__PURE__ */ jsx(CopyIcon, { "aria-hidden": "true", className: "size-3.5" })
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
function SectionBar({
|
|
144
|
+
label,
|
|
145
|
+
hint,
|
|
146
|
+
copyValue,
|
|
147
|
+
copyLabel
|
|
148
|
+
}) {
|
|
149
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 border-t border-border bg-muted/50 px-3 py-1", children: [
|
|
150
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-medium uppercase tracking-wide text-muted-foreground", children: label }),
|
|
151
|
+
hint ? /* @__PURE__ */ jsx("span", { className: "truncate text-[10px] text-muted-foreground", children: hint }) : null,
|
|
152
|
+
/* @__PURE__ */ jsx("span", { className: "flex-1" }),
|
|
153
|
+
copyValue && copyLabel ? /* @__PURE__ */ jsx(CopyIconButton, { value: copyValue, label: copyLabel }) : null
|
|
154
|
+
] });
|
|
155
|
+
}
|
|
156
|
+
function linesLabel(count) {
|
|
157
|
+
return `${count.toLocaleString()} ${count === 1 ? "line" : "lines"}`;
|
|
158
|
+
}
|
|
159
|
+
function blockText(item) {
|
|
160
|
+
if (typeof item === "string") return item;
|
|
161
|
+
return isRecord(item) && item.type === "text" && typeof item.text === "string" ? item.text : null;
|
|
162
|
+
}
|
|
163
|
+
function asText(value) {
|
|
164
|
+
if (typeof value === "string") return value;
|
|
165
|
+
if (value == null) return "";
|
|
166
|
+
if (Array.isArray(value)) {
|
|
167
|
+
const texts = value.flatMap((item) => {
|
|
168
|
+
const text = blockText(item);
|
|
169
|
+
return text === null ? [] : [text];
|
|
170
|
+
});
|
|
171
|
+
if (texts.length > 0) return texts.join("\n");
|
|
172
|
+
}
|
|
173
|
+
try {
|
|
174
|
+
return JSON.stringify(value);
|
|
175
|
+
} catch {
|
|
176
|
+
return String(value);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
function indexKeyedBlocks(value) {
|
|
180
|
+
if (!isRecord(value)) return null;
|
|
181
|
+
const entries = Object.entries(value);
|
|
182
|
+
if (entries.length === 0) return null;
|
|
183
|
+
if (!entries.every(([key]) => /^\d+$/.test(key))) return null;
|
|
184
|
+
return entries.sort(([a], [b]) => Number(a) - Number(b)).map(([, block]) => block);
|
|
185
|
+
}
|
|
186
|
+
function resultText(result) {
|
|
187
|
+
if (typeof result === "string") return result;
|
|
188
|
+
const blocks = Array.isArray(result) ? result : indexKeyedBlocks(result);
|
|
189
|
+
if (!blocks) return asText(result);
|
|
190
|
+
return blocks.map((block) => {
|
|
191
|
+
if (typeof block === "string") return block;
|
|
192
|
+
if (!isRecord(block)) return "";
|
|
193
|
+
if (typeof block.text === "string") return block.text;
|
|
194
|
+
if (block.type === "image") return "[image]";
|
|
195
|
+
if (block.type === "file") {
|
|
196
|
+
const name = stringArg(block, "name") ?? stringArg(block, "filename") ?? stringArg(block, "mime_type");
|
|
197
|
+
return `[file: ${name ?? "binary"}]`;
|
|
198
|
+
}
|
|
199
|
+
return "";
|
|
200
|
+
}).filter(Boolean).join("\n");
|
|
201
|
+
}
|
|
202
|
+
function isErrorResult(text) {
|
|
203
|
+
return text.startsWith("Error") || text.startsWith("[sandbox error]");
|
|
204
|
+
}
|
|
205
|
+
const ANSI_ESCAPE = /(?:\u001b\[|\u009b)[0-?]*[ -/]*[@-~]|(?:\u001b\]|\u009d)[^\u0007\u001b\u009c]*(?:\u0007|\u001b\\|\u009c)|\u001b[ -/]*[0-~]/g;
|
|
206
|
+
function stripAnsi(text) {
|
|
207
|
+
return text.replace(ANSI_ESCAPE, "");
|
|
208
|
+
}
|
|
209
|
+
function clampLines(text, maxLines) {
|
|
210
|
+
let end = -1;
|
|
211
|
+
for (let line = 0; line < maxLines; line += 1) {
|
|
212
|
+
end = text.indexOf("\n", end + 1);
|
|
213
|
+
if (end === -1) return { text, hidden: 0 };
|
|
214
|
+
}
|
|
215
|
+
const total = countLines(text);
|
|
216
|
+
if (total <= maxLines) return { text, hidden: 0 };
|
|
217
|
+
return { text: text.slice(0, end), hidden: total - maxLines };
|
|
218
|
+
}
|
|
219
|
+
function splitFilePath(path) {
|
|
220
|
+
const normalized = path.replace(/\\/g, "/");
|
|
221
|
+
const lastSlash = normalized.lastIndexOf("/");
|
|
222
|
+
if (lastSlash < 0) return { dir: "", name: normalized };
|
|
223
|
+
return { dir: normalized.slice(0, lastSlash + 1), name: normalized.slice(lastSlash + 1) };
|
|
224
|
+
}
|
|
225
|
+
const SANDBOX_ASSET_ID = /^asset_(?:thread_)?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
226
|
+
function executeTargetAssetId(args) {
|
|
227
|
+
const id = stringArg(args, "sandbox_asset_id");
|
|
228
|
+
return id !== void 0 && SANDBOX_ASSET_ID.test(id) ? id : void 0;
|
|
229
|
+
}
|
|
230
|
+
function shortAssetId(assetId) {
|
|
231
|
+
return assetId.length > 13 ? `…${assetId.slice(-8)}` : assetId;
|
|
232
|
+
}
|
|
233
|
+
const NO_PARTS = [];
|
|
234
|
+
function useTurnAssetTitle(assetId) {
|
|
235
|
+
const parts = useAuiState((s) => {
|
|
236
|
+
var _a, _b;
|
|
237
|
+
return (_b = (_a = s.optional) == null ? void 0 : _a.message) == null ? void 0 : _b.content;
|
|
238
|
+
});
|
|
239
|
+
const titles = useMemo(() => collectAssetTitles(parts ?? NO_PARTS), [parts]);
|
|
240
|
+
return titles.get(assetId);
|
|
241
|
+
}
|
|
242
|
+
function useOpenTargetAsset(assetId, title) {
|
|
243
|
+
const openAsset = useAssetPanelStore((s) => s.openAsset);
|
|
244
|
+
return useCallback(() => {
|
|
245
|
+
openAsset(assetId, title ? { name: title } : void 0);
|
|
246
|
+
}, [assetId, openAsset, title]);
|
|
247
|
+
}
|
|
248
|
+
function SandboxTargetChip({ assetId }) {
|
|
249
|
+
const title = useTurnAssetTitle(assetId);
|
|
250
|
+
const open = useOpenTargetAsset(assetId, title);
|
|
251
|
+
return /* @__PURE__ */ jsxs(
|
|
252
|
+
"button",
|
|
253
|
+
{
|
|
254
|
+
type: "button",
|
|
255
|
+
"data-slot": "sandbox-target-chip",
|
|
256
|
+
onClick: open,
|
|
257
|
+
title: title ? `Open ${title}` : `Ran on asset ${assetId}`,
|
|
258
|
+
className: "relative z-10 flex min-w-0 max-w-[40%] shrink items-center gap-1 rounded border border-primary/30 bg-primary/10 px-1.5 py-0.5 text-[10px] font-medium leading-4 text-primary transition-colors hover:bg-primary/15",
|
|
259
|
+
children: [
|
|
260
|
+
/* @__PURE__ */ jsx("span", { className: "shrink-0 select-none", children: "on" }),
|
|
261
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: title ?? shortAssetId(assetId) })
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
);
|
|
265
|
+
}
|
|
266
|
+
function SandboxTargetRow({ assetId }) {
|
|
267
|
+
const title = useTurnAssetTitle(assetId);
|
|
268
|
+
const open = useOpenTargetAsset(assetId, title);
|
|
269
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "sandbox-target-row", className: "flex items-center gap-1.5 border-t border-border px-3 py-1.5", children: [
|
|
270
|
+
/* @__PURE__ */ jsx("span", { className: "shrink-0 text-[10px] font-medium uppercase tracking-wide text-muted-foreground", children: "Ran on" }),
|
|
271
|
+
/* @__PURE__ */ jsx(
|
|
272
|
+
"button",
|
|
273
|
+
{
|
|
274
|
+
type: "button",
|
|
275
|
+
onClick: open,
|
|
276
|
+
title: title ? `Open ${title}` : void 0,
|
|
277
|
+
className: "min-w-0 truncate text-left text-xs font-medium text-foreground transition-opacity hover:opacity-70",
|
|
278
|
+
children: title ?? shortAssetId(assetId)
|
|
279
|
+
}
|
|
280
|
+
)
|
|
281
|
+
] });
|
|
282
|
+
}
|
|
283
|
+
const MAX_BODY_LINES = 400;
|
|
284
|
+
function ExecuteDetails({
|
|
285
|
+
command,
|
|
286
|
+
body,
|
|
287
|
+
running,
|
|
288
|
+
targetAssetId
|
|
289
|
+
}) {
|
|
290
|
+
const output = useMemo(() => stripAnsi(body), [body]);
|
|
291
|
+
const visible = useMemo(() => clampLines(output, MAX_BODY_LINES), [output]);
|
|
292
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "sandbox-execute-details", children: [
|
|
293
|
+
targetAssetId ? /* @__PURE__ */ jsx(SandboxTargetRow, { assetId: targetAssetId }) : null,
|
|
294
|
+
command ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
295
|
+
/* @__PURE__ */ jsx(SectionBar, { label: "Command", copyValue: command, copyLabel: "Copy command" }),
|
|
296
|
+
/* @__PURE__ */ jsx("div", { className: "max-h-48 overflow-auto px-3", children: /* @__PURE__ */ jsx("pre", { className: "m-0 overflow-x-auto whitespace-pre py-2 font-mono text-xs leading-normal text-foreground", children: command }) })
|
|
297
|
+
] }) : null,
|
|
298
|
+
/* @__PURE__ */ jsx(
|
|
299
|
+
SectionBar,
|
|
300
|
+
{
|
|
301
|
+
label: "Output",
|
|
302
|
+
hint: output ? linesLabel(countLines(output)) : void 0,
|
|
303
|
+
copyValue: output || void 0,
|
|
304
|
+
copyLabel: "Copy output"
|
|
305
|
+
}
|
|
306
|
+
),
|
|
307
|
+
/* @__PURE__ */ jsxs("div", { className: "max-h-80 overflow-auto bg-zinc-900 px-4 py-3", children: [
|
|
308
|
+
output ? /* @__PURE__ */ jsx("pre", { className: "whitespace-pre-wrap break-words font-mono text-xs leading-relaxed text-zinc-100", children: visible.text }) : /* @__PURE__ */ jsx("p", { className: "font-mono text-xs text-zinc-400", children: running ? "Waiting for output…" : "No output" }),
|
|
309
|
+
visible.hidden > 0 ? /* @__PURE__ */ jsxs("p", { className: "pt-2 font-mono text-[11px] text-zinc-400", children: [
|
|
310
|
+
"… ",
|
|
311
|
+
visible.hidden.toLocaleString(),
|
|
312
|
+
" more ",
|
|
313
|
+
visible.hidden === 1 ? "line" : "lines",
|
|
314
|
+
" not shown"
|
|
315
|
+
] }) : null
|
|
316
|
+
] })
|
|
317
|
+
] });
|
|
318
|
+
}
|
|
319
|
+
function SandboxExecuteCard({
|
|
320
|
+
args,
|
|
321
|
+
result,
|
|
322
|
+
status,
|
|
323
|
+
isError,
|
|
324
|
+
isPreliminary,
|
|
325
|
+
defaultOpen = false
|
|
326
|
+
}) {
|
|
327
|
+
const [expanded, setExpanded] = useState(defaultOpen);
|
|
328
|
+
const chrome = useCardChrome();
|
|
329
|
+
const labelId = useId();
|
|
330
|
+
const fields = argsRecord(args);
|
|
331
|
+
const command = stringArg(fields, "command") ?? "";
|
|
332
|
+
const { firstLine, extraLines } = firstCommandLine(command);
|
|
333
|
+
const targetAssetId = executeTargetAssetId(fields);
|
|
334
|
+
const state = cardStateOf({ status, isError, isPreliminary, result });
|
|
335
|
+
const answer = isPreliminary === true ? void 0 : result;
|
|
336
|
+
const { body, exitCode, truncated } = useMemo(() => parseExecuteOutput(asText(answer)), [answer]);
|
|
337
|
+
const exitFailed = exitCode !== null && exitCode !== 0;
|
|
338
|
+
const callFailed = state === "error" || state === "complete" && exitCode === null && isErrorResult(body);
|
|
339
|
+
const failed = exitFailed || callFailed;
|
|
340
|
+
return /* @__PURE__ */ jsxs(
|
|
341
|
+
"div",
|
|
342
|
+
{
|
|
343
|
+
"data-slot": "sandbox-execute-card",
|
|
344
|
+
"data-tool-outcome": cardOutcome({ state, failed }),
|
|
345
|
+
className: chrome.root,
|
|
346
|
+
children: [
|
|
347
|
+
/* @__PURE__ */ jsxs("div", { className: cn("relative flex w-full items-center gap-2 text-left", chrome.header), children: [
|
|
348
|
+
/* @__PURE__ */ jsx(
|
|
349
|
+
"button",
|
|
350
|
+
{
|
|
351
|
+
type: "button",
|
|
352
|
+
"aria-expanded": expanded,
|
|
353
|
+
"aria-labelledby": labelId,
|
|
354
|
+
onClick: () => setExpanded(!expanded),
|
|
355
|
+
className: "absolute inset-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"
|
|
356
|
+
}
|
|
357
|
+
),
|
|
358
|
+
/* @__PURE__ */ jsx(
|
|
359
|
+
TerminalIcon,
|
|
360
|
+
{
|
|
361
|
+
"aria-hidden": "true",
|
|
362
|
+
className: cn("size-4 shrink-0", failed ? "text-destructive" : "text-muted-foreground")
|
|
363
|
+
}
|
|
364
|
+
),
|
|
365
|
+
/* @__PURE__ */ jsxs("code", { id: labelId, className: "min-w-0 flex-1 truncate font-mono text-xs text-foreground", children: [
|
|
366
|
+
/* @__PURE__ */ jsx("span", { className: "select-none text-muted-foreground", children: "$ " }),
|
|
367
|
+
firstLine || "execute"
|
|
368
|
+
] }),
|
|
369
|
+
targetAssetId ? /* @__PURE__ */ jsx(SandboxTargetChip, { assetId: targetAssetId }) : null,
|
|
370
|
+
extraLines > 0 ? /* @__PURE__ */ jsx("span", { className: cn(CHIP_CLASS, "bg-muted text-muted-foreground"), children: `+${extraLines}` }) : null,
|
|
371
|
+
truncated ? /* @__PURE__ */ jsx("span", { className: cn(CHIP_CLASS, "bg-amber-500/10 text-amber-600"), children: "truncated" }) : null,
|
|
372
|
+
exitFailed ? /* @__PURE__ */ jsxs("span", { className: cn(CHIP_CLASS, "bg-destructive/10 text-destructive"), children: [
|
|
373
|
+
"exit ",
|
|
374
|
+
exitCode
|
|
375
|
+
] }) : callFailed ? /* @__PURE__ */ jsx(ErrorChip, {}) : null,
|
|
376
|
+
/* @__PURE__ */ jsx(StatusGlyph, { state, succeeded: exitCode === 0 && !callFailed }),
|
|
377
|
+
/* @__PURE__ */ jsx(Chevron, { expanded })
|
|
378
|
+
] }),
|
|
379
|
+
/* @__PURE__ */ jsx(StoppedCallNotice, { message: stoppedCallFailure(status) }),
|
|
380
|
+
expanded ? /* @__PURE__ */ jsx(
|
|
381
|
+
ExecuteDetails,
|
|
382
|
+
{
|
|
383
|
+
command,
|
|
384
|
+
body,
|
|
385
|
+
running: state === "running",
|
|
386
|
+
targetAssetId
|
|
387
|
+
}
|
|
388
|
+
) : null
|
|
389
|
+
]
|
|
390
|
+
}
|
|
391
|
+
);
|
|
392
|
+
}
|
|
393
|
+
const ExecuteToolUIImpl = (props) => rendersAsGenericCard(props) ? /* @__PURE__ */ jsx(ToolFallback, { ...props, icon: TerminalIcon }) : /* @__PURE__ */ jsx(SandboxExecuteCard, { ...props });
|
|
394
|
+
const ExecuteToolUI = memo(ExecuteToolUIImpl);
|
|
395
|
+
ExecuteToolUI.displayName = "ExecuteToolUI";
|
|
396
|
+
function SandboxDeleteCard({
|
|
397
|
+
args,
|
|
398
|
+
result,
|
|
399
|
+
status,
|
|
400
|
+
isError,
|
|
401
|
+
isPreliminary,
|
|
402
|
+
defaultOpen = false
|
|
403
|
+
}) {
|
|
404
|
+
const [expanded, setExpanded] = useState(defaultOpen);
|
|
405
|
+
const chrome = useCardChrome();
|
|
406
|
+
const fields = argsRecord(args);
|
|
407
|
+
const path = stringArg(fields, "file_path") ?? stringArg(fields, "path") ?? "(path)";
|
|
408
|
+
const { dir, name } = splitFilePath(path);
|
|
409
|
+
const state = cardStateOf({ status, isError, isPreliminary, result });
|
|
410
|
+
const text = useMemo(
|
|
411
|
+
() => isPreliminary === true ? "" : resultText(result),
|
|
412
|
+
[isPreliminary, result]
|
|
413
|
+
);
|
|
414
|
+
const failed = state === "error" || state === "complete" && isErrorResult(text);
|
|
415
|
+
const hasBody = text !== "";
|
|
416
|
+
return /* @__PURE__ */ jsxs(
|
|
417
|
+
"div",
|
|
418
|
+
{
|
|
419
|
+
"data-slot": "sandbox-delete-card",
|
|
420
|
+
"data-tool-outcome": cardOutcome({ state, failed }),
|
|
421
|
+
className: chrome.root,
|
|
422
|
+
children: [
|
|
423
|
+
/* @__PURE__ */ jsxs(
|
|
424
|
+
"button",
|
|
425
|
+
{
|
|
426
|
+
type: "button",
|
|
427
|
+
"aria-expanded": hasBody ? expanded : void 0,
|
|
428
|
+
onClick: () => hasBody && setExpanded(!expanded),
|
|
429
|
+
className: cn("flex w-full items-center gap-2 text-left", chrome.header),
|
|
430
|
+
children: [
|
|
431
|
+
/* @__PURE__ */ jsx(Trash2Icon, { "aria-hidden": "true", className: "size-4 shrink-0 text-destructive" }),
|
|
432
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1 truncate text-sm text-foreground", children: [
|
|
433
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Deleted " }),
|
|
434
|
+
/* @__PURE__ */ jsxs("code", { className: "font-mono text-xs", title: path, children: [
|
|
435
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: dir }),
|
|
436
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium", children: name })
|
|
437
|
+
] })
|
|
438
|
+
] }),
|
|
439
|
+
failed ? /* @__PURE__ */ jsx(ErrorChip, {}) : null,
|
|
440
|
+
/* @__PURE__ */ jsx(StatusGlyph, { state, succeeded: !failed }),
|
|
441
|
+
hasBody ? /* @__PURE__ */ jsx(Chevron, { expanded }) : null
|
|
442
|
+
]
|
|
443
|
+
}
|
|
444
|
+
),
|
|
445
|
+
/* @__PURE__ */ jsx(StoppedCallNotice, { message: stoppedCallFailure(status) }),
|
|
446
|
+
expanded && hasBody ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
447
|
+
/* @__PURE__ */ jsx(SectionBar, { label: failed ? "Error" : "Result", copyValue: text, copyLabel: "Copy result" }),
|
|
448
|
+
/* @__PURE__ */ jsx("div", { className: "max-h-48 overflow-auto px-4 py-3", children: /* @__PURE__ */ jsx(
|
|
449
|
+
"pre",
|
|
450
|
+
{
|
|
451
|
+
className: cn(
|
|
452
|
+
"whitespace-pre-wrap break-words font-mono text-xs leading-relaxed",
|
|
453
|
+
failed ? "text-destructive" : "text-muted-foreground"
|
|
454
|
+
),
|
|
455
|
+
children: text
|
|
456
|
+
}
|
|
457
|
+
) })
|
|
458
|
+
] }) : null
|
|
459
|
+
]
|
|
460
|
+
}
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
const DeleteToolUIImpl = (props) => rendersAsGenericCard(props) ? /* @__PURE__ */ jsx(ToolFallback, { ...props, icon: Trash2Icon }) : /* @__PURE__ */ jsx(SandboxDeleteCard, { ...props });
|
|
464
|
+
const DeleteToolUI = memo(DeleteToolUIImpl);
|
|
465
|
+
DeleteToolUI.displayName = "DeleteToolUI";
|
|
466
|
+
export {
|
|
467
|
+
CHIP_CLASS,
|
|
468
|
+
Chevron,
|
|
469
|
+
DeleteToolUI,
|
|
470
|
+
ErrorChip,
|
|
471
|
+
ExecuteToolUI,
|
|
472
|
+
SandboxDeleteCard,
|
|
473
|
+
SandboxExecuteCard,
|
|
474
|
+
StatusGlyph,
|
|
475
|
+
StoppedCallNotice,
|
|
476
|
+
argsRecord,
|
|
477
|
+
asText,
|
|
478
|
+
cardOutcome,
|
|
479
|
+
cardStateOf,
|
|
480
|
+
clampLines,
|
|
481
|
+
executeTargetAssetId,
|
|
482
|
+
isErrorResult,
|
|
483
|
+
rendersAsGenericCard,
|
|
484
|
+
resultText,
|
|
485
|
+
splitFilePath,
|
|
486
|
+
stoppedCallFailure,
|
|
487
|
+
stringArg,
|
|
488
|
+
stripAnsi,
|
|
489
|
+
useCardChrome
|
|
490
|
+
};
|
|
491
|
+
//# sourceMappingURL=sandbox-tool-uis.js.map
|