@athenaintel/react 0.28.0 → 0.30.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 +418 -10
- package/dist/agent-runtime/src/asset-attachment.cjs.map +1 -0
- package/dist/agent-runtime/src/asset-attachment.js.map +1 -0
- package/dist/agent-runtime/src/auth-denial.cjs.map +1 -0
- package/dist/agent-runtime/src/auth-denial.js.map +1 -0
- package/dist/agent-runtime/src/client-tool-bridge.cjs.map +1 -0
- package/dist/agent-runtime/src/client-tool-bridge.js.map +1 -0
- package/dist/agent-runtime/src/client-tools.cjs.map +1 -0
- package/dist/agent-runtime/src/client-tools.js.map +1 -0
- package/dist/agent-runtime/src/composer-markdown.cjs +124 -0
- package/dist/agent-runtime/src/composer-markdown.cjs.map +1 -0
- package/dist/agent-runtime/src/composer-markdown.js +124 -0
- package/dist/agent-runtime/src/composer-markdown.js.map +1 -0
- package/dist/agent-runtime/src/conversation-index.cjs.map +1 -0
- package/dist/agent-runtime/src/conversation-index.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/conversation-list.cjs +36 -0
- package/dist/agent-runtime/src/conversation-list.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/conversation-list.js +36 -0
- package/dist/agent-runtime/src/conversation-list.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/deep-agent-transport-recipe.cjs +5 -3
- package/dist/agent-runtime/src/deep-agent-transport-recipe.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/deep-agent-transport-recipe.js +6 -4
- package/dist/agent-runtime/src/deep-agent-transport-recipe.js.map +1 -0
- package/dist/agent-runtime/src/edit-command.cjs.map +1 -0
- package/dist/agent-runtime/src/edit-command.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/errors.cjs +23 -0
- package/dist/agent-runtime/src/errors.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/errors.js +23 -0
- package/dist/agent-runtime/src/errors.js.map +1 -0
- package/dist/agent-runtime/src/execute-output.cjs +41 -0
- package/dist/agent-runtime/src/execute-output.cjs.map +1 -0
- package/dist/agent-runtime/src/execute-output.js +41 -0
- package/dist/agent-runtime/src/execute-output.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/generated/runconfig-contract.cjs +12 -2
- package/dist/agent-runtime/src/generated/runconfig-contract.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/generated/runconfig-contract.js +12 -2
- package/dist/agent-runtime/src/generated/runconfig-contract.js.map +1 -0
- package/dist/agent-runtime/src/github-wake-event.cjs.map +1 -0
- package/dist/agent-runtime/src/github-wake-event.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/interrupts.cjs +24 -1
- package/dist/agent-runtime/src/interrupts.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/interrupts.js +24 -1
- package/dist/agent-runtime/src/interrupts.js.map +1 -0
- package/dist/agent-runtime/src/message-author.cjs.map +1 -0
- package/dist/agent-runtime/src/message-author.js.map +1 -0
- package/dist/agent-runtime/src/message-window.cjs.map +1 -0
- package/dist/agent-runtime/src/message-window.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/messages.cjs +8 -4
- package/dist/agent-runtime/src/messages.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/messages.js +6 -2
- package/dist/agent-runtime/src/messages.js.map +1 -0
- package/dist/agent-runtime/src/model-context.cjs.map +1 -0
- package/dist/agent-runtime/src/model-context.js.map +1 -0
- package/dist/agent-runtime/src/optimistic-content.cjs.map +1 -0
- package/dist/agent-runtime/src/optimistic-content.js.map +1 -0
- package/dist/agent-runtime/src/protocol.cjs.map +1 -0
- package/dist/agent-runtime/src/protocol.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/queue.cjs +23 -2
- package/dist/agent-runtime/src/queue.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/queue.js +23 -2
- package/dist/agent-runtime/src/queue.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/quota-safe-local-storage-session.cjs +23 -13
- package/dist/agent-runtime/src/quota-safe-local-storage-session.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/quota-safe-local-storage-session.js +24 -14
- package/dist/agent-runtime/src/quota-safe-local-storage-session.js.map +1 -0
- package/dist/agent-runtime/src/runtime-messages.cjs.map +1 -0
- package/dist/agent-runtime/src/runtime-messages.js.map +1 -0
- package/dist/agent-runtime/src/screen-point.cjs.map +1 -0
- package/dist/agent-runtime/src/screen-point.js.map +1 -0
- package/dist/agent-runtime/src/send-recovery.cjs.map +1 -0
- package/dist/agent-runtime/src/send-recovery.js.map +1 -0
- package/dist/agent-runtime/src/statewire-attach-observer.cjs.map +1 -0
- package/dist/agent-runtime/src/statewire-attach-observer.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/statewire-state.cjs +8 -0
- package/dist/agent-runtime/src/statewire-state.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/statewire-state.js +8 -0
- package/dist/agent-runtime/src/statewire-state.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/statewire-suspended.cjs +4 -0
- package/dist/agent-runtime/src/statewire-suspended.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/statewire-suspended.js +4 -0
- package/dist/agent-runtime/src/statewire-suspended.js.map +1 -0
- package/dist/agent-runtime/src/statewire-transport.cjs +43 -0
- package/dist/agent-runtime/src/statewire-transport.cjs.map +1 -0
- package/dist/agent-runtime/src/statewire-transport.js +43 -0
- package/dist/agent-runtime/src/statewire-transport.js.map +1 -0
- package/dist/agent-runtime/src/streaming-markdown.cjs.map +1 -0
- package/dist/agent-runtime/src/streaming-markdown.js.map +1 -0
- package/dist/agent-runtime/src/subscription-wake-event.cjs +252 -0
- package/dist/agent-runtime/src/subscription-wake-event.cjs.map +1 -0
- package/dist/agent-runtime/src/subscription-wake-event.js +252 -0
- package/dist/agent-runtime/src/subscription-wake-event.js.map +1 -0
- package/dist/agent-runtime/src/thread-extras.cjs.map +1 -0
- package/dist/agent-runtime/src/thread-extras.js.map +1 -0
- package/dist/agent-runtime/src/thread-snapshot-cache.cjs.map +1 -0
- package/dist/agent-runtime/src/thread-snapshot-cache.js.map +1 -0
- package/dist/agent-runtime/src/thread-status.cjs.map +1 -0
- package/dist/agent-runtime/src/thread-status.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/tool-metadata.cjs +365 -3
- package/dist/agent-runtime/src/tool-metadata.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/tool-metadata.js +365 -3
- package/dist/agent-runtime/src/tool-metadata.js.map +1 -0
- package/dist/agent-runtime/src/tool-names.cjs +5 -0
- package/dist/agent-runtime/src/tool-names.cjs.map +1 -0
- package/dist/agent-runtime/src/tool-names.js +5 -0
- package/dist/agent-runtime/src/tool-names.js.map +1 -0
- package/dist/agent-runtime/src/tool-outputs.cjs.map +1 -0
- package/dist/agent-runtime/src/tool-outputs.js.map +1 -0
- package/dist/agent-runtime/src/tool-result.cjs.map +1 -0
- package/dist/agent-runtime/src/tool-result.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/use-conversation-list.cjs +33 -22
- package/dist/agent-runtime/src/use-conversation-list.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/use-conversation-list.js +34 -23
- package/dist/agent-runtime/src/use-conversation-list.js.map +1 -0
- package/dist/agent-runtime/src/use-deep-agent-config.cjs.map +1 -0
- package/dist/agent-runtime/src/use-deep-agent-config.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-edit-submit.cjs +2 -0
- package/dist/agent-runtime/src/use-deep-agent-edit-submit.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-edit-submit.js +2 -0
- package/dist/agent-runtime/src/use-deep-agent-edit-submit.js.map +1 -0
- package/dist/agent-runtime/src/use-deep-agent-runtime.cjs.map +1 -0
- package/dist/agent-runtime/src/use-deep-agent-runtime.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-thread.cjs +1 -0
- package/dist/agent-runtime/src/use-deep-agent-thread.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-thread.js +2 -1
- package/dist/agent-runtime/src/use-deep-agent-thread.js.map +1 -0
- package/dist/agent-runtime/src/use-deep-agent-window-sync.cjs.map +1 -0
- package/dist/agent-runtime/src/use-deep-agent-window-sync.js.map +1 -0
- package/dist/agent-runtime/src/use-historical-edit-attachments.cjs +52 -0
- package/dist/agent-runtime/src/use-historical-edit-attachments.cjs.map +1 -0
- package/dist/agent-runtime/src/use-historical-edit-attachments.js +52 -0
- package/dist/agent-runtime/src/use-historical-edit-attachments.js.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/voice-presentation.cjs +14 -0
- package/dist/agent-runtime/src/voice-presentation.cjs.map +1 -0
- package/dist/{packages/agent-runtime → agent-runtime}/src/voice-presentation.js +14 -0
- package/dist/agent-runtime/src/voice-presentation.js.map +1 -0
- package/dist/agent-runtime/src/voice-turn-grouping.cjs.map +1 -0
- package/dist/agent-runtime/src/voice-turn-grouping.js.map +1 -0
- package/dist/assets/AthenaAssetEmbed.cjs +8 -2
- package/dist/assets/AthenaAssetEmbed.cjs.map +1 -1
- package/dist/assets/AthenaAssetEmbed.d.ts +8 -0
- package/dist/assets/AthenaAssetEmbed.js +8 -2
- package/dist/assets/AthenaAssetEmbed.js.map +1 -1
- package/dist/assets/AthenaLayout.cjs +97 -31
- package/dist/assets/AthenaLayout.cjs.map +1 -1
- package/dist/assets/AthenaLayout.d.ts +13 -0
- package/dist/assets/AthenaLayout.js +98 -32
- package/dist/assets/AthenaLayout.js.map +1 -1
- package/dist/assets/asset-embed-messages.cjs.map +1 -1
- package/dist/assets/asset-embed-messages.d.ts +6 -0
- package/dist/assets/asset-embed-messages.js.map +1 -1
- package/dist/assets/asset-panel-store.cjs +68 -32
- package/dist/assets/asset-panel-store.cjs.map +1 -1
- package/dist/assets/asset-panel-store.d.ts +47 -1
- package/dist/assets/asset-panel-store.js +68 -32
- package/dist/assets/asset-panel-store.js.map +1 -1
- package/dist/assets/use-asset-embed.cjs +29 -8
- package/dist/assets/use-asset-embed.cjs.map +1 -1
- package/dist/assets/use-asset-embed.d.ts +7 -0
- package/dist/assets/use-asset-embed.js +29 -8
- package/dist/assets/use-asset-embed.js.map +1 -1
- package/dist/catalog/chat-pickers.cjs +152 -0
- package/dist/catalog/chat-pickers.cjs.map +1 -0
- package/dist/catalog/chat-pickers.d.ts +22 -0
- package/dist/catalog/chat-pickers.js +152 -0
- package/dist/catalog/chat-pickers.js.map +1 -0
- package/dist/catalog/runtime-catalog.cjs +181 -0
- package/dist/catalog/runtime-catalog.cjs.map +1 -0
- package/dist/catalog/runtime-catalog.d.ts +100 -0
- package/dist/catalog/runtime-catalog.js +181 -0
- package/dist/catalog/runtime-catalog.js.map +1 -0
- package/dist/chat/AthenaChat.cjs +86 -46
- package/dist/chat/AthenaChat.cjs.map +1 -1
- package/dist/chat/AthenaChat.d.ts +21 -4
- package/dist/chat/AthenaChat.js +88 -48
- package/dist/chat/AthenaChat.js.map +1 -1
- package/dist/chat/StatewireApprovalCard.cjs +38 -37
- package/dist/chat/StatewireApprovalCard.cjs.map +1 -1
- package/dist/chat/StatewireApprovalCard.d.ts +2 -0
- package/dist/chat/StatewireApprovalCard.js +39 -38
- package/dist/chat/StatewireApprovalCard.js.map +1 -1
- package/dist/chat/StatewireClientToolBridge.cjs +2 -2
- package/dist/chat/StatewireClientToolBridge.js +2 -2
- package/dist/chat/StatewireQueuedMessages.cjs +15 -12
- package/dist/chat/StatewireQueuedMessages.cjs.map +1 -1
- package/dist/chat/StatewireQueuedMessages.d.ts +22 -2
- package/dist/chat/StatewireQueuedMessages.js +15 -12
- package/dist/chat/StatewireQueuedMessages.js.map +1 -1
- package/dist/chat/StatewireRunRefusalNotice.cjs +48 -0
- package/dist/chat/StatewireRunRefusalNotice.cjs.map +1 -0
- package/dist/chat/StatewireRunRefusalNotice.d.ts +25 -0
- package/dist/chat/StatewireRunRefusalNotice.js +48 -0
- package/dist/chat/StatewireRunRefusalNotice.js.map +1 -0
- package/dist/chat/WaitingOnYouBanner.cjs +2 -2
- package/dist/chat/WaitingOnYouBanner.js +2 -2
- package/dist/chat/athena-citation-links.cjs +19 -15
- package/dist/chat/athena-citation-links.cjs.map +1 -1
- package/dist/chat/athena-citation-links.js +19 -15
- package/dist/chat/athena-citation-links.js.map +1 -1
- package/dist/chat/run-activity.cjs +9 -1
- package/dist/chat/run-activity.cjs.map +1 -1
- package/dist/chat/run-activity.d.ts +6 -0
- package/dist/chat/run-activity.js +10 -2
- package/dist/chat/run-activity.js.map +1 -1
- package/dist/chat/statewire-banners.cjs +30 -1
- package/dist/chat/statewire-banners.cjs.map +1 -1
- package/dist/chat/statewire-banners.d.ts +20 -1
- package/dist/chat/statewire-banners.js +32 -3
- package/dist/chat/statewire-banners.js.map +1 -1
- package/dist/chat/statewire-client-tools.cjs +1 -1
- package/dist/chat/statewire-client-tools.js +1 -1
- package/dist/chat/super-grouping/CollapsibleGroup.cjs +1 -1
- package/dist/chat/super-grouping/CollapsibleGroup.cjs.map +1 -1
- package/dist/chat/super-grouping/CollapsibleGroup.js +1 -1
- package/dist/chat/super-grouping/CollapsibleGroup.js.map +1 -1
- package/dist/chat/super-grouping/SuperGroupingCard.cjs +7 -5
- package/dist/chat/super-grouping/SuperGroupingCard.cjs.map +1 -1
- package/dist/chat/super-grouping/SuperGroupingCard.d.ts +8 -2
- package/dist/chat/super-grouping/SuperGroupingCard.js +7 -5
- package/dist/chat/super-grouping/SuperGroupingCard.js.map +1 -1
- package/dist/chat/super-grouping/SuperGroupingTranscript.cjs +350 -0
- package/dist/chat/super-grouping/SuperGroupingTranscript.cjs.map +1 -0
- package/dist/chat/super-grouping/SuperGroupingTranscript.d.ts +31 -0
- package/dist/chat/super-grouping/SuperGroupingTranscript.js +350 -0
- package/dist/chat/super-grouping/SuperGroupingTranscript.js.map +1 -0
- package/dist/chat/super-grouping/ToolTimeline.cjs +13 -2
- package/dist/chat/super-grouping/ToolTimeline.cjs.map +1 -1
- package/dist/chat/super-grouping/ToolTimeline.d.ts +10 -3
- package/dist/chat/super-grouping/ToolTimeline.js +13 -2
- package/dist/chat/super-grouping/ToolTimeline.js.map +1 -1
- package/dist/chat/super-grouping/activity-timeline.cjs +51 -26
- package/dist/chat/super-grouping/activity-timeline.cjs.map +1 -1
- package/dist/chat/super-grouping/activity-timeline.d.ts +40 -8
- package/dist/chat/super-grouping/activity-timeline.js +52 -27
- package/dist/chat/super-grouping/activity-timeline.js.map +1 -1
- package/dist/chat/super-grouping/index.cjs +12 -0
- package/dist/chat/super-grouping/index.cjs.map +1 -1
- package/dist/chat/super-grouping/index.d.ts +7 -2
- package/dist/chat/super-grouping/index.js +14 -2
- package/dist/chat/super-grouping/index.js.map +1 -1
- package/dist/chat/super-grouping/timeline-step.cjs +14 -5
- package/dist/chat/super-grouping/timeline-step.cjs.map +1 -1
- package/dist/chat/super-grouping/timeline-step.d.ts +10 -1
- package/dist/chat/super-grouping/timeline-step.js +15 -6
- package/dist/chat/super-grouping/timeline-step.js.map +1 -1
- package/dist/chat/super-grouping/turn-segments.cjs +82 -0
- package/dist/chat/super-grouping/turn-segments.cjs.map +1 -0
- package/dist/chat/super-grouping/turn-segments.d.ts +69 -0
- package/dist/chat/super-grouping/turn-segments.js +82 -0
- package/dist/chat/super-grouping/turn-segments.js.map +1 -0
- package/dist/chat/super-grouping/turn-timing.cjs +110 -0
- package/dist/chat/super-grouping/turn-timing.cjs.map +1 -0
- package/dist/chat/super-grouping/turn-timing.d.ts +52 -0
- package/dist/chat/super-grouping/turn-timing.js +110 -0
- package/dist/chat/super-grouping/turn-timing.js.map +1 -0
- package/dist/chat/tiptap-text.cjs +1 -1
- package/dist/chat/tiptap-text.js +1 -1
- package/dist/chat/use-athena-run-live.cjs +1 -1
- package/dist/chat/use-athena-run-live.js +1 -1
- package/dist/chat/use-statewire-approval-request.cjs +73 -4
- package/dist/chat/use-statewire-approval-request.cjs.map +1 -1
- package/dist/chat/use-statewire-approval-request.js +74 -5
- package/dist/chat/use-statewire-approval-request.js.map +1 -1
- package/dist/chat-ui/composer/composer-message.cjs +284 -0
- package/dist/chat-ui/composer/composer-message.cjs.map +1 -0
- package/dist/chat-ui/composer/composer-message.d.ts +152 -0
- package/dist/chat-ui/composer/composer-message.js +284 -0
- package/dist/chat-ui/composer/composer-message.js.map +1 -0
- package/dist/chat-ui/composer/tiptap-composer.cjs +57 -11
- package/dist/chat-ui/composer/tiptap-composer.cjs.map +1 -1
- package/dist/chat-ui/composer/tiptap-composer.d.ts +34 -6
- package/dist/chat-ui/composer/tiptap-composer.js +57 -11
- package/dist/chat-ui/composer/tiptap-composer.js.map +1 -1
- package/dist/chat-ui/index.cjs +4 -1
- package/dist/chat-ui/index.cjs.map +1 -1
- package/dist/chat-ui/index.d.ts +3 -2
- package/dist/chat-ui/index.js +5 -2
- package/dist/chat-ui/index.js.map +1 -1
- package/dist/chat-ui/mentions/mention-chip.cjs +3 -2
- package/dist/chat-ui/mentions/mention-chip.cjs.map +1 -1
- package/dist/chat-ui/mentions/mention-chip.js +4 -3
- package/dist/chat-ui/mentions/mention-chip.js.map +1 -1
- package/dist/chat-ui/mentions/mention-extension.cjs +8 -2
- package/dist/chat-ui/mentions/mention-extension.cjs.map +1 -1
- package/dist/chat-ui/mentions/mention-extension.js +8 -2
- package/dist/chat-ui/mentions/mention-extension.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/mention-suggestion-popup.cjs +3 -1
- package/dist/chat-ui/mentions/suggestions/components/mention-suggestion-popup.cjs.map +1 -1
- package/dist/chat-ui/mentions/suggestions/components/mention-suggestion-popup.js +3 -1
- package/dist/chat-ui/mentions/suggestions/components/mention-suggestion-popup.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/sources/index.cjs +65 -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 +15 -0
- package/dist/chat-ui/mentions/suggestions/data/sources/index.js +67 -21
- package/dist/chat-ui/mentions/suggestions/data/sources/index.js.map +1 -1
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.cjs +4 -2
- 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 +2 -1
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.js +5 -3
- package/dist/chat-ui/mentions/suggestions/data/use-mention-suggestions.js.map +1 -1
- package/dist/chat-ui/messages/message-components.cjs +30 -10
- package/dist/chat-ui/messages/message-components.cjs.map +1 -1
- package/dist/chat-ui/messages/message-components.d.ts +21 -1
- package/dist/chat-ui/messages/message-components.js +30 -10
- package/dist/chat-ui/messages/message-components.js.map +1 -1
- package/dist/chat-ui/messages/runtime-message.cjs +1 -1
- package/dist/chat-ui/messages/runtime-message.js +1 -1
- package/dist/chat-ui/messages/statewire-continue-run.cjs +5 -5
- package/dist/chat-ui/messages/statewire-continue-run.js +5 -5
- package/dist/chat-ui/messages/user-edit-composer.cjs +1 -1
- package/dist/chat-ui/messages/user-edit-composer.js +1 -1
- package/dist/chat-ui/messages/wake-marker.cjs +39 -4
- package/dist/chat-ui/messages/wake-marker.cjs.map +1 -1
- package/dist/chat-ui/messages/wake-marker.d.ts +16 -5
- package/dist/chat-ui/messages/wake-marker.js +40 -5
- package/dist/chat-ui/messages/wake-marker.js.map +1 -1
- package/dist/chat-ui/rich-text/chat-message-body.cjs +12 -8
- package/dist/chat-ui/rich-text/chat-message-body.cjs.map +1 -1
- package/dist/chat-ui/rich-text/chat-message-body.d.ts +6 -1
- package/dist/chat-ui/rich-text/chat-message-body.js +13 -9
- package/dist/chat-ui/rich-text/chat-message-body.js.map +1 -1
- package/dist/chat-ui/rich-text/chat-text-schema.cjs +64 -6
- package/dist/chat-ui/rich-text/chat-text-schema.cjs.map +1 -1
- package/dist/chat-ui/rich-text/chat-text-schema.d.ts +5 -0
- package/dist/chat-ui/rich-text/chat-text-schema.js +66 -8
- package/dist/chat-ui/rich-text/chat-text-schema.js.map +1 -1
- package/dist/chat-ui/statewire.cjs +1 -1
- package/dist/chat-ui/statewire.d.ts +1 -1
- package/dist/chat-ui/statewire.js +1 -1
- package/dist/chat-ui/thread/statewire-history-edge.cjs +2 -2
- package/dist/chat-ui/thread/statewire-history-edge.js +2 -2
- package/dist/collab/client.cjs +218 -13
- package/dist/collab/client.cjs.map +1 -1
- package/dist/collab/client.d.ts +105 -2
- package/dist/collab/client.js +221 -17
- package/dist/collab/client.js.map +1 -1
- package/dist/collab/index.cjs +2 -0
- package/dist/collab/index.cjs.map +1 -1
- package/dist/collab/index.d.ts +1 -1
- package/dist/collab/index.js +3 -1
- package/dist/composer/AttachmentContext.cjs +38 -12
- package/dist/composer/AttachmentContext.cjs.map +1 -1
- package/dist/composer/AttachmentContext.d.ts +22 -1
- package/dist/composer/AttachmentContext.js +40 -14
- package/dist/composer/AttachmentContext.js.map +1 -1
- package/dist/composer/QuoteContext.cjs +80 -28
- package/dist/composer/QuoteContext.cjs.map +1 -1
- package/dist/composer/QuoteContext.d.ts +35 -6
- package/dist/composer/QuoteContext.js +82 -30
- package/dist/composer/QuoteContext.js.map +1 -1
- package/dist/composer/build-composed-message.cjs +27 -0
- package/dist/composer/build-composed-message.cjs.map +1 -1
- package/dist/composer/build-composed-message.d.ts +21 -0
- package/dist/composer/build-composed-message.js +28 -1
- package/dist/composer/build-composed-message.js.map +1 -1
- package/dist/composer/composer-handoff.cjs +13 -1
- package/dist/composer/composer-handoff.cjs.map +1 -1
- package/dist/composer/composer-handoff.d.ts +12 -0
- package/dist/composer/composer-handoff.js +15 -3
- package/dist/composer/composer-handoff.js.map +1 -1
- package/dist/composer/index.d.ts +6 -3
- package/dist/composer/useReadComposerDraft.cjs +16 -0
- package/dist/composer/useReadComposerDraft.cjs.map +1 -0
- package/dist/composer/useReadComposerDraft.d.ts +6 -0
- package/dist/composer/useReadComposerDraft.js +16 -0
- package/dist/composer/useReadComposerDraft.js.map +1 -0
- package/dist/diagnostics/errors.cjs +6 -0
- package/dist/diagnostics/errors.cjs.map +1 -1
- package/dist/diagnostics/errors.d.ts +6 -0
- package/dist/diagnostics/errors.js +6 -0
- package/dist/diagnostics/errors.js.map +1 -1
- package/dist/index.cjs +159 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +53 -12
- package/dist/index.js +166 -14
- package/dist/index.js.map +1 -1
- package/dist/lib/owner-document.cjs +32 -0
- package/dist/lib/owner-document.cjs.map +1 -0
- package/dist/lib/owner-document.d.ts +17 -0
- package/dist/lib/owner-document.js +32 -0
- package/dist/lib/owner-document.js.map +1 -0
- package/dist/lib/portal-surface.cjs +55 -0
- package/dist/lib/portal-surface.cjs.map +1 -0
- package/dist/lib/portal-surface.d.ts +37 -0
- package/dist/lib/portal-surface.js +55 -0
- package/dist/lib/portal-surface.js.map +1 -0
- package/dist/lib/use-athena-rest-query.cjs +34 -0
- package/dist/lib/use-athena-rest-query.cjs.map +1 -0
- package/dist/lib/use-athena-rest-query.d.ts +31 -0
- package/dist/lib/use-athena-rest-query.js +34 -0
- package/dist/lib/use-athena-rest-query.js.map +1 -0
- package/dist/provider/AthenaProvider.cjs +36 -6
- package/dist/provider/AthenaProvider.cjs.map +1 -1
- package/dist/provider/AthenaProvider.d.ts +20 -1
- package/dist/provider/AthenaProvider.js +38 -8
- package/dist/provider/AthenaProvider.js.map +1 -1
- package/dist/provider/citation-links.d.ts +10 -2
- package/dist/{packages/react → react}/package.json.cjs +1 -1
- package/dist/{packages/react → react}/package.json.js +1 -1
- package/dist/runtime/statewire-lifecycle.cjs +15 -3
- package/dist/runtime/statewire-lifecycle.cjs.map +1 -1
- package/dist/runtime/statewire-lifecycle.d.ts +6 -0
- package/dist/runtime/statewire-lifecycle.js +15 -3
- package/dist/runtime/statewire-lifecycle.js.map +1 -1
- package/dist/runtime/useAthenaStatewireRuntime.cjs +11 -7
- package/dist/runtime/useAthenaStatewireRuntime.cjs.map +1 -1
- package/dist/runtime/useAthenaStatewireRuntime.js +11 -7
- package/dist/runtime/useAthenaStatewireRuntime.js.map +1 -1
- package/dist/search/useAthenaRepoSearch.cjs +5 -13
- package/dist/search/useAthenaRepoSearch.cjs.map +1 -1
- package/dist/search/useAthenaRepoSearch.d.ts +3 -3
- package/dist/search/useAthenaRepoSearch.js +6 -14
- package/dist/search/useAthenaRepoSearch.js.map +1 -1
- package/dist/sheet-range/a1.cjs +162 -0
- package/dist/sheet-range/a1.cjs.map +1 -0
- package/dist/sheet-range/a1.d.ts +91 -0
- package/dist/sheet-range/a1.js +162 -0
- package/dist/sheet-range/a1.js.map +1 -0
- package/dist/sheet-range/index.cjs +22 -0
- package/dist/sheet-range/index.cjs.map +1 -0
- package/dist/sheet-range/index.d.ts +12 -0
- package/dist/sheet-range/index.js +22 -0
- package/dist/sheet-range/index.js.map +1 -0
- package/dist/sheet-range/range-preview-table.cjs +75 -0
- package/dist/sheet-range/range-preview-table.cjs.map +1 -0
- package/dist/sheet-range/range-preview-table.d.ts +20 -0
- package/dist/sheet-range/range-preview-table.js +75 -0
- package/dist/sheet-range/range-preview-table.js.map +1 -0
- package/dist/sheet-range/range-preview.cjs +116 -0
- package/dist/sheet-range/range-preview.cjs.map +1 -0
- package/dist/sheet-range/range-preview.d.ts +67 -0
- package/dist/sheet-range/range-preview.js +116 -0
- package/dist/sheet-range/range-preview.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/threads/Inbox.cjs +289 -0
- package/dist/threads/Inbox.cjs.map +1 -0
- package/dist/threads/Inbox.d.ts +46 -0
- package/dist/threads/Inbox.js +289 -0
- package/dist/threads/Inbox.js.map +1 -0
- package/dist/threads/SessionList.cjs +51 -126
- package/dist/threads/SessionList.cjs.map +1 -1
- package/dist/threads/SessionList.d.ts +26 -1
- package/dist/threads/SessionList.js +45 -120
- package/dist/threads/SessionList.js.map +1 -1
- package/dist/threads/SessionsPage.cjs +753 -0
- package/dist/threads/SessionsPage.cjs.map +1 -0
- package/dist/threads/SessionsPage.d.ts +35 -0
- package/dist/threads/SessionsPage.js +753 -0
- package/dist/threads/SessionsPage.js.map +1 -0
- package/dist/threads/api.cjs +21 -1
- package/dist/threads/api.cjs.map +1 -1
- package/dist/threads/api.d.ts +59 -0
- package/dist/threads/api.js +21 -1
- package/dist/threads/api.js.map +1 -1
- package/dist/threads/conversation-list-fetcher.cjs +9 -2
- package/dist/threads/conversation-list-fetcher.cjs.map +1 -1
- package/dist/threads/conversation-list-fetcher.d.ts +14 -1
- package/dist/threads/conversation-list-fetcher.js +9 -2
- package/dist/threads/conversation-list-fetcher.js.map +1 -1
- package/dist/threads/index.d.ts +2 -1
- package/dist/threads/pull-request-display.cjs +25 -0
- package/dist/threads/pull-request-display.cjs.map +1 -0
- package/dist/threads/pull-request-display.d.ts +15 -0
- package/dist/threads/pull-request-display.js +25 -0
- package/dist/threads/pull-request-display.js.map +1 -0
- package/dist/threads/session-list-model.cjs +16 -2
- package/dist/threads/session-list-model.cjs.map +1 -1
- package/dist/threads/session-list-model.d.ts +10 -0
- package/dist/threads/session-list-model.js +16 -2
- package/dist/threads/session-list-model.js.map +1 -1
- package/dist/threads/session-row-parts.cjs +152 -0
- package/dist/threads/session-row-parts.cjs.map +1 -0
- package/dist/threads/session-row-parts.d.ts +50 -0
- package/dist/threads/session-row-parts.js +152 -0
- package/dist/threads/session-row-parts.js.map +1 -0
- package/dist/threads/sessions-page-model.cjs +305 -0
- package/dist/threads/sessions-page-model.cjs.map +1 -0
- package/dist/threads/sessions-page-model.d.ts +86 -0
- package/dist/threads/sessions-page-model.js +305 -0
- package/dist/threads/sessions-page-model.js.map +1 -0
- package/dist/threads/sessions-page-storage.cjs +93 -0
- package/dist/threads/sessions-page-storage.cjs.map +1 -0
- package/dist/threads/sessions-page-storage.d.ts +23 -0
- package/dist/threads/sessions-page-storage.js +93 -0
- package/dist/threads/sessions-page-storage.js.map +1 -0
- package/dist/threads/sessions-query.cjs +235 -0
- package/dist/threads/sessions-query.cjs.map +1 -0
- package/dist/threads/sessions-query.d.ts +119 -0
- package/dist/threads/sessions-query.js +235 -0
- package/dist/threads/sessions-query.js.map +1 -0
- package/dist/threads/statewire-thread-list.cjs +133 -40
- package/dist/threads/statewire-thread-list.cjs.map +1 -1
- package/dist/threads/statewire-thread-list.d.ts +83 -2
- package/dist/threads/statewire-thread-list.js +134 -41
- package/dist/threads/statewire-thread-list.js.map +1 -1
- package/dist/threads/use-athena-sessions.cjs +198 -0
- package/dist/threads/use-athena-sessions.cjs.map +1 -0
- package/dist/threads/use-athena-sessions.d.ts +81 -0
- package/dist/threads/use-athena-sessions.js +198 -0
- package/dist/threads/use-athena-sessions.js.map +1 -0
- package/dist/threads/use-rest-conversation-history.cjs +1 -1
- package/dist/threads/use-rest-conversation-history.js +1 -1
- package/dist/threads/use-statewire-conversation-history.cjs +1 -1
- package/dist/threads/use-statewire-conversation-history.d.ts +3 -0
- package/dist/threads/use-statewire-conversation-history.js +1 -1
- package/dist/threads/use-thread-read-state.cjs +73 -0
- package/dist/threads/use-thread-read-state.cjs.map +1 -0
- package/dist/threads/use-thread-read-state.d.ts +51 -0
- package/dist/threads/use-thread-read-state.js +73 -0
- package/dist/threads/use-thread-read-state.js.map +1 -0
- package/dist/tiptap-markdown-table/src/markdown-table-serializer.cjs.map +1 -0
- package/dist/tiptap-markdown-table/src/markdown-table-serializer.js.map +1 -0
- package/dist/tools/auto-open-tools.cjs +2 -0
- package/dist/tools/auto-open-tools.cjs.map +1 -1
- package/dist/tools/auto-open-tools.js +2 -0
- package/dist/tools/auto-open-tools.js.map +1 -1
- package/dist/tools/file-tool-uis.cjs +18 -43
- package/dist/tools/file-tool-uis.cjs.map +1 -1
- package/dist/tools/file-tool-uis.d.ts +1 -2
- package/dist/tools/file-tool-uis.js +18 -42
- package/dist/tools/file-tool-uis.js.map +1 -1
- package/dist/tools/index.cjs +6 -2
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +6 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/misc-tool-uis.cjs +2 -2
- package/dist/tools/misc-tool-uis.js +2 -2
- package/dist/tools/primitives.cjs +1 -1
- package/dist/tools/primitives.js +1 -1
- package/dist/tools/read-asset-tool-ui.cjs +21 -70
- package/dist/tools/read-asset-tool-ui.cjs.map +1 -1
- package/dist/tools/read-asset-tool-ui.js +21 -70
- package/dist/tools/read-asset-tool-ui.js.map +1 -1
- package/dist/tools/step-text.cjs +21 -0
- package/dist/tools/step-text.cjs.map +1 -0
- package/dist/tools/step-text.d.ts +10 -0
- package/dist/tools/step-text.js +21 -0
- package/dist/tools/step-text.js.map +1 -0
- package/dist/tools/tool-fallback.cjs +24 -5
- package/dist/tools/tool-fallback.cjs.map +1 -1
- package/dist/tools/tool-fallback.d.ts +3 -1
- package/dist/tools/tool-fallback.js +24 -5
- package/dist/tools/tool-fallback.js.map +1 -1
- package/dist/tools/tool-summary.cjs +661 -0
- package/dist/tools/tool-summary.cjs.map +1 -0
- package/dist/tools/tool-summary.d.ts +99 -0
- package/dist/tools/tool-summary.js +661 -0
- package/dist/tools/tool-summary.js.map +1 -0
- package/dist/tools/tool-uis.cjs +39 -97
- package/dist/tools/tool-uis.cjs.map +1 -1
- package/dist/tools/tool-uis.js +39 -97
- package/dist/tools/tool-uis.js.map +1 -1
- package/dist/tools/voice-update-tool-ui.cjs +1 -1
- package/dist/tools/voice-update-tool-ui.js +1 -1
- package/dist/tools/write-todos-tool-ui.cjs +3 -2
- package/dist/tools/write-todos-tool-ui.cjs.map +1 -1
- package/dist/tools/write-todos-tool-ui.d.ts +5 -0
- package/dist/tools/write-todos-tool-ui.js +5 -4
- package/dist/tools/write-todos-tool-ui.js.map +1 -1
- package/dist/ui/popover.cjs +6 -6
- package/dist/ui/popover.cjs.map +1 -1
- package/dist/ui/popover.js +6 -6
- package/dist/ui/popover.js.map +1 -1
- package/dist/ui/tooltip.cjs +16 -2
- package/dist/ui/tooltip.cjs.map +1 -1
- package/dist/ui/tooltip.d.ts +1 -1
- package/dist/ui/tooltip.js +16 -2
- package/dist/ui/tooltip.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/voice/use-athena-voice-session.cjs.map +1 -1
- package/dist/voice/use-athena-voice-session.d.ts +3 -3
- package/dist/voice/use-athena-voice-session.js.map +1 -1
- package/dist/workbench/SessionWorkbench.cjs +378 -0
- package/dist/workbench/SessionWorkbench.cjs.map +1 -0
- package/dist/workbench/SessionWorkbench.d.ts +30 -0
- package/dist/workbench/SessionWorkbench.js +378 -0
- package/dist/workbench/SessionWorkbench.js.map +1 -0
- package/dist/workbench/session-workbench-context.cjs +26 -0
- package/dist/workbench/session-workbench-context.cjs.map +1 -0
- package/dist/workbench/session-workbench-context.d.ts +55 -0
- package/dist/workbench/session-workbench-context.js +26 -0
- package/dist/workbench/session-workbench-context.js.map +1 -0
- package/dist/workbench/session-workbench-model.cjs +288 -0
- package/dist/workbench/session-workbench-model.cjs.map +1 -0
- package/dist/workbench/session-workbench-model.d.ts +168 -0
- package/dist/workbench/session-workbench-model.js +288 -0
- package/dist/workbench/session-workbench-model.js.map +1 -0
- package/dist/workbench/session-workbench-panes.cjs +580 -0
- package/dist/workbench/session-workbench-panes.cjs.map +1 -0
- package/dist/workbench/session-workbench-panes.d.ts +16 -0
- package/dist/workbench/session-workbench-panes.js +580 -0
- package/dist/workbench/session-workbench-panes.js.map +1 -0
- package/dist/workbench/session-workspace-api.cjs +157 -0
- package/dist/workbench/session-workspace-api.cjs.map +1 -0
- package/dist/workbench/session-workspace-api.d.ts +70 -0
- package/dist/workbench/session-workspace-api.js +157 -0
- package/dist/workbench/session-workspace-api.js.map +1 -0
- package/dist/workbench/use-session-workspace.cjs +100 -0
- package/dist/workbench/use-session-workspace.cjs.map +1 -0
- package/dist/workbench/use-session-workspace.d.ts +45 -0
- package/dist/workbench/use-session-workspace.js +100 -0
- package/dist/workbench/use-session-workspace.js.map +1 -0
- package/dist/workbench/workbench-layout-context.cjs +10 -0
- package/dist/workbench/workbench-layout-context.cjs.map +1 -0
- package/dist/workbench/workbench-layout-context.d.ts +17 -0
- package/dist/workbench/workbench-layout-context.js +10 -0
- package/dist/workbench/workbench-layout-context.js.map +1 -0
- package/package.json +20 -9
- package/dist/node_modules/@assistant-ui/react-langchain/dist/converter.cjs +0 -77
- package/dist/node_modules/@assistant-ui/react-langchain/dist/converter.cjs.map +0 -1
- package/dist/node_modules/@assistant-ui/react-langchain/dist/converter.js +0 -77
- package/dist/node_modules/@assistant-ui/react-langchain/dist/converter.js.map +0 -1
- package/dist/node_modules/@assistant-ui/react-langgraph/dist/convertLangChainMessages.cjs +0 -181
- package/dist/node_modules/@assistant-ui/react-langgraph/dist/convertLangChainMessages.cjs.map +0 -1
- package/dist/node_modules/@assistant-ui/react-langgraph/dist/convertLangChainMessages.js +0 -181
- package/dist/node_modules/@assistant-ui/react-langgraph/dist/convertLangChainMessages.js.map +0 -1
- package/dist/packages/agent-runtime/src/asset-attachment.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/asset-attachment.js.map +0 -1
- package/dist/packages/agent-runtime/src/auth-denial.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/auth-denial.js.map +0 -1
- package/dist/packages/agent-runtime/src/client-tool-bridge.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/client-tool-bridge.js.map +0 -1
- package/dist/packages/agent-runtime/src/client-tools.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/client-tools.js.map +0 -1
- package/dist/packages/agent-runtime/src/conversation-index.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/conversation-index.js.map +0 -1
- package/dist/packages/agent-runtime/src/conversation-list.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/conversation-list.js.map +0 -1
- package/dist/packages/agent-runtime/src/deep-agent-transport-recipe.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/deep-agent-transport-recipe.js.map +0 -1
- package/dist/packages/agent-runtime/src/edit-command.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/edit-command.js.map +0 -1
- package/dist/packages/agent-runtime/src/errors.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/errors.js.map +0 -1
- package/dist/packages/agent-runtime/src/generated/runconfig-contract.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/generated/runconfig-contract.js.map +0 -1
- package/dist/packages/agent-runtime/src/github-wake-event.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/github-wake-event.js.map +0 -1
- package/dist/packages/agent-runtime/src/interrupts.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/interrupts.js.map +0 -1
- package/dist/packages/agent-runtime/src/message-author.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/message-author.js.map +0 -1
- package/dist/packages/agent-runtime/src/message-window.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/message-window.js.map +0 -1
- package/dist/packages/agent-runtime/src/messages.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/messages.js.map +0 -1
- package/dist/packages/agent-runtime/src/model-context.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/model-context.js.map +0 -1
- package/dist/packages/agent-runtime/src/optimistic-content.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/optimistic-content.js.map +0 -1
- package/dist/packages/agent-runtime/src/protocol.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/protocol.js.map +0 -1
- package/dist/packages/agent-runtime/src/queue.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/queue.js.map +0 -1
- package/dist/packages/agent-runtime/src/quota-safe-local-storage-session.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/quota-safe-local-storage-session.js.map +0 -1
- package/dist/packages/agent-runtime/src/runtime-messages.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/runtime-messages.js.map +0 -1
- package/dist/packages/agent-runtime/src/screen-point.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/screen-point.js.map +0 -1
- package/dist/packages/agent-runtime/src/send-recovery.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/send-recovery.js.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-attach-observer.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-attach-observer.js.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-state.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-state.js.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-suspended.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-suspended.js.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-transport.cjs +0 -11
- package/dist/packages/agent-runtime/src/statewire-transport.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/statewire-transport.js +0 -11
- package/dist/packages/agent-runtime/src/statewire-transport.js.map +0 -1
- package/dist/packages/agent-runtime/src/streaming-markdown.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/streaming-markdown.js.map +0 -1
- package/dist/packages/agent-runtime/src/thread-extras.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/thread-extras.js.map +0 -1
- package/dist/packages/agent-runtime/src/thread-snapshot-cache.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/thread-snapshot-cache.js.map +0 -1
- package/dist/packages/agent-runtime/src/thread-status.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/thread-status.js.map +0 -1
- package/dist/packages/agent-runtime/src/tool-metadata.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/tool-metadata.js.map +0 -1
- package/dist/packages/agent-runtime/src/tool-outputs.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/tool-outputs.js.map +0 -1
- package/dist/packages/agent-runtime/src/tool-result.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/tool-result.js.map +0 -1
- package/dist/packages/agent-runtime/src/use-conversation-list.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/use-conversation-list.js.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-config.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-config.js.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-edit-submit.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-edit-submit.js.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-runtime.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-runtime.js.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-thread.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-thread.js.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-window-sync.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/use-deep-agent-window-sync.js.map +0 -1
- package/dist/packages/agent-runtime/src/voice-presentation.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/voice-presentation.js.map +0 -1
- package/dist/packages/agent-runtime/src/voice-turn-grouping.cjs.map +0 -1
- package/dist/packages/agent-runtime/src/voice-turn-grouping.js.map +0 -1
- package/dist/packages/tiptap-markdown-table/src/markdown-table-serializer.cjs.map +0 -1
- package/dist/packages/tiptap-markdown-table/src/markdown-table-serializer.js.map +0 -1
- /package/dist/{packages/agent-runtime → agent-runtime}/src/asset-attachment.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/asset-attachment.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/auth-denial.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/auth-denial.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/client-tool-bridge.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/client-tool-bridge.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/client-tools.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/client-tools.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/conversation-index.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/conversation-index.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/edit-command.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/edit-command.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/github-wake-event.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/github-wake-event.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/message-author.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/message-author.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/message-window.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/message-window.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/model-context.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/model-context.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/optimistic-content.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/optimistic-content.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/protocol.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/protocol.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/runtime-messages.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/runtime-messages.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/screen-point.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/screen-point.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/send-recovery.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/send-recovery.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/statewire-attach-observer.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/statewire-attach-observer.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/streaming-markdown.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/streaming-markdown.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/thread-extras.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/thread-extras.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/thread-snapshot-cache.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/thread-snapshot-cache.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/thread-status.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/thread-status.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/tool-outputs.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/tool-outputs.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/tool-result.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/tool-result.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-config.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-config.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-runtime.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-runtime.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-window-sync.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/use-deep-agent-window-sync.js +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/voice-turn-grouping.cjs +0 -0
- /package/dist/{packages/agent-runtime → agent-runtime}/src/voice-turn-grouping.js +0 -0
- /package/dist/{packages/react → react}/package.json.cjs.map +0 -0
- /package/dist/{packages/react → react}/package.json.js.map +0 -0
- /package/dist/{packages/tiptap-markdown-table → tiptap-markdown-table}/src/markdown-table-serializer.cjs +0 -0
- /package/dist/{packages/tiptap-markdown-table → tiptap-markdown-table}/src/markdown-table-serializer.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export { AthenaAssistantActionBar, AthenaAssistantMessage, AthenaChat, AthenaRea
|
|
|
20
20
|
export type { AthenaAssistantActionBarProps, AthenaAssistantMessageProps, AthenaChatComponents, AthenaChatMessagePartComponents, AthenaChatProps, AthenaReasoningPartProps, AthenaUserMessageProps, } from './chat/AthenaChat';
|
|
21
21
|
export type { WelcomeSuggestion } from './chat/athena-chat-welcome';
|
|
22
22
|
export { AthenaChatErrorBoundary } from './chat/AthenaChatErrorBoundary';
|
|
23
|
-
export { type ActivityItem, type ActivityPhase, type ActivityTimelineOptions, type ActivityToolState, buildActivityTimeline, CollapsibleGroup, type CollapsibleGroupProps, countActivityTools, createToolBasedGroupingFunction, DEFAULT_TOOLKIT_THEME, defaultGetToolGroupKey, excludeFinalTextFromGroups, type FinalTextPart, getActivityItemLabel, getActivitySummary, getActivityToolState, getFinalText, type GetToolGroupKey, type GroupablePart, type GroupingFunction, type MessagePartGroup, resetRememberedExpansionsForTests, resolveActivityPhase, SuperGroupingCard, type SuperGroupingCardProps, SuperGroupingFinalText, SuperGroupingProvider, TOOLKIT_THEMES, type ToolGroupKeyOptions, type ToolkitTheme, useActivityExpansion, } from './chat/super-grouping';
|
|
23
|
+
export { type ActivityItem, type ActivityPhase, type ActivityTimelineOptions, type ActivityToolState, buildActivityTimeline, CollapsibleGroup, type CollapsibleGroupProps, countActivityTools, createToolBasedGroupingFunction, DEFAULT_TOOLKIT_THEME, defaultGetToolGroupKey, excludeFinalTextFromGroups, type FinalTextPart, formatWorkDuration, getActivityItemLabel, getActivitySummary, getActivityToolState, getFinalText, getReasoningLabel, type GetToolGroupKey, type GroupablePart, type GroupingFunction, type MessagePartGroup, readTurnTiming, resetRememberedExpansionsForTests, resolveActivityPhase, splitTurnSegments, SuperGroupingCard, type SuperGroupingCardProps, SuperGroupingFinalText, SuperGroupingProvider, SuperGroupingTranscript, type SuperGroupingTranscriptProps, TOOLKIT_THEMES, type ToolGroupKeyOptions, type ToolkitTheme, type TurnSegment, type TurnTiming, useActivityExpansion, workedDurationMs, } from './chat/super-grouping';
|
|
24
24
|
export { StatewireApprovalCard } from './chat/StatewireApprovalCard';
|
|
25
25
|
export type { StatewireApprovalCardProps, StatewireApprovalEditorContext, StatewireApprovalRequestContext, } from './chat/StatewireApprovalCard';
|
|
26
26
|
export { useStatewireApprovalRequest } from './chat/use-statewire-approval-request';
|
|
@@ -32,8 +32,13 @@ export { ThreadLoadingOverlay } from './chat-ui/thread/thread-loading-overlay';
|
|
|
32
32
|
export { useStatewireToolOutputs } from './provider/statewire-window-context';
|
|
33
33
|
export { ATHENA_SDK_MESSAGE_WINDOW } from './runtime/useAthenaStatewireRuntime';
|
|
34
34
|
export { StatewireQueuedMessages } from './chat/StatewireQueuedMessages';
|
|
35
|
-
export type { StatewireQueueEditorContext, StatewireQueueEvent, StatewireQueueRowContentContext, StatewireQueuedMessagesProps, } from './chat/StatewireQueuedMessages';
|
|
35
|
+
export type { StatewireQueueEditorContext, StatewireQueueEvent, StatewireQueueRowContentContext, StatewireQueueRowMarkerContext, StatewireQueuedMessagesProps, } from './chat/StatewireQueuedMessages';
|
|
36
36
|
export { StatewireConnectionBanner, StatewireErrorBanner, } from './chat/statewire-banners';
|
|
37
|
+
export type { StatewireErrorBannerProps } from './chat/statewire-banners';
|
|
38
|
+
export { RUN_START_REFUSAL_FALLBACK_MESSAGE, StatewireRunRefusalNotice, } from './chat/StatewireRunRefusalNotice';
|
|
39
|
+
export type { StatewireRunRefusalNoticeProps } from './chat/StatewireRunRefusalNotice';
|
|
40
|
+
export { COLLAB_AGENT_CHANNEL_SESSION_MISMATCH, readRunStartRefusal, } from '@athenaintel/agent-runtime';
|
|
41
|
+
export type { RunStartRefusal } from '@athenaintel/agent-runtime';
|
|
37
42
|
export { StatewireClientToolBridge } from './chat/StatewireClientToolBridge';
|
|
38
43
|
export { collectStatewireClientTools, statewireClientToolWireEntries, } from './chat/statewire-client-tools';
|
|
39
44
|
export type { StatewireClientTool } from './chat/statewire-client-tools';
|
|
@@ -61,10 +66,11 @@ export { InstallPackageToolUI } from './tools/misc-tool-uis';
|
|
|
61
66
|
export { TOOL_ICONS, toolIcon } from './tools/tool-icons';
|
|
62
67
|
export { classifyToolResult, describeToolArgs, getToolDisplayMeta, isToolResultSuccess, resultMessage, toolActiveLabel, toolCompletedLabel, } from '@athenaintel/agent-runtime';
|
|
63
68
|
export type { ToolDisplayMeta, ToolIconKey, ToolResultClassification, } from '@athenaintel/agent-runtime';
|
|
64
|
-
export { HiddenWriteTodosToolUI, WriteTodosToolUI, parseTodoPlan } from './tools/write-todos-tool-ui';
|
|
69
|
+
export { HiddenWriteTodosToolUI, PlanStepMarker, WriteTodosToolUI, parseTodoPlan, } from './tools/write-todos-tool-ui';
|
|
65
70
|
export { useLatestTodoPlan } from './tools/todo-plan-store';
|
|
66
71
|
export type { LatestTodoPlan } from './tools/todo-plan-store';
|
|
67
72
|
export { EditFileToolUI, friendlyWorkspacePath, ListFilesToolUI, ReadFileToolUI, SearchFilesToolUI, WriteFileToolUI, } from './tools/file-tool-uis';
|
|
73
|
+
export { collectAssetTitles, humanizeToolName, summarizeToolCall, type SummarizeToolCallInput, type ToolCallSummary, type ToolSummaryState, } from './tools/tool-summary';
|
|
68
74
|
export type { PlanStep, PlanStepStatus, TodoPlan, } from './tools/write-todos-tool-ui';
|
|
69
75
|
export { ToolFallback, ToolFallbackAppearanceProvider, ToolFallbackRoot, ToolFallbackTrigger, ToolFallbackContent, ToolFallbackArgs, ToolFallbackResult, ToolFallbackError, ToolFallbackNotice, useToolAppearance, } from './tools/tool-fallback';
|
|
70
76
|
export type { ToolAppearance, ToolFallbackContext, ToolFallbackOptions, ToolFallbackProps, ToolFallbackRootProps, ToolFallbackTriggerProps, } from './tools/tool-fallback';
|
|
@@ -86,8 +92,19 @@ export type { AssetPanelProps } from './assets/AssetPanel';
|
|
|
86
92
|
export { AthenaLayout } from './assets/AthenaLayout';
|
|
87
93
|
export type { AthenaLayoutProps } from './assets/AthenaLayout';
|
|
88
94
|
export { useAssetPanelStore } from './assets/asset-panel-store';
|
|
89
|
-
export type { AssetTab, AssetType, ViewMode, AssetPanelState } from './assets/asset-panel-store';
|
|
90
|
-
export {
|
|
95
|
+
export type { AssetTab, AssetType, ViewMode, AssetPanelState, AssetOpener, AssetOpenOrigin, AssetOpenRequest, } from './assets/asset-panel-store';
|
|
96
|
+
export { SESSION_WORKBENCH_ASSETS_PANE_ID, SessionWorkbench, } from './workbench/SessionWorkbench';
|
|
97
|
+
export type { SessionWorkbenchProps } from './workbench/SessionWorkbench';
|
|
98
|
+
export { SESSION_WORKSPACE_LIVE_REFETCH_MS, useSessionWorkbench, useSessionWorkbenchWorkspace, } from './workbench/session-workbench-context';
|
|
99
|
+
export type { SessionWorkbenchPane, SessionWorkbenchPaneContext, } from './workbench/session-workbench-context';
|
|
100
|
+
export { DEFAULT_SESSION_WORKBENCH_OPEN_PANE_IDS, DEFAULT_SESSION_WORKBENCH_PANES, SESSION_WORKBENCH_ATTACHMENTS_PANE, SESSION_WORKBENCH_COMPUTER_PANE, SESSION_WORKBENCH_PULL_REQUESTS_PANE, SESSION_WORKBENCH_SHELL_PANE, SESSION_WORKBENCH_TASKS_PANE, SessionAttachmentsPane, SessionComputerPane, SessionPullRequestsPane, SessionShellPane, SessionTasksPane, } from './workbench/session-workbench-panes';
|
|
101
|
+
export { assetPanelTypeOf, assetTypeLabel, athenaLinkAppUrl, computerStateBadge, deriveShellRows, deriveTaskSteps, filterShellRows, filterWorkbenchPanes, reviewDecisionLabel, SESSION_SANDBOX_LABEL, SHELL_OUTPUT_PREVIEW_CHARS, shellMachine, taskProgress, toolResultText, workspaceComputers, } from './workbench/session-workbench-model';
|
|
102
|
+
export type { ComputerStateTone, ShellMachine, ShellRow, ShellRowStatus, TaskProgress, WorkbenchMessage, } from './workbench/session-workbench-model';
|
|
103
|
+
export { computerSshAccessPath, computerStatusPath, fetchComputerRuntimeStatus, fetchComputerSshAccess, fetchSessionWorkspace, readComputerRuntimeStatus, readComputerSshAccess, readSessionWorkspace, sessionWorkspacePath, } from './workbench/session-workspace-api';
|
|
104
|
+
export type { ComputerRuntimeStatus, ComputerSshAccess, SessionWorkspace, SessionWorkspaceAsset, SessionWorkspaceRole, } from './workbench/session-workspace-api';
|
|
105
|
+
export { useAthenaComputerSshAccess, useAthenaComputerStatus, useAthenaSessionWorkspace, } from './workbench/use-session-workspace';
|
|
106
|
+
export type { UseAthenaSessionWorkspaceOptions } from './workbench/use-session-workspace';
|
|
107
|
+
export { appendCitationReferenceParams, useAssetEmbed } from './assets/use-asset-embed';
|
|
91
108
|
export type { UseAssetEmbedOptions, UseAssetEmbedResult } from './assets/use-asset-embed';
|
|
92
109
|
export { useAthenaConfig } from './provider/AthenaContext';
|
|
93
110
|
export type { AthenaConfig } from './provider/AthenaContext';
|
|
@@ -96,17 +113,29 @@ export { clearAutoOpenedAssets } from './tools/tool-fallback';
|
|
|
96
113
|
export { ThreadList } from './threads/ThreadList';
|
|
97
114
|
export type { ThreadListProps } from './threads/ThreadList';
|
|
98
115
|
export { SessionList } from './threads/SessionList';
|
|
99
|
-
export type { SessionListProps } from './threads/SessionList';
|
|
116
|
+
export type { SessionListProps, SessionOpenTarget } from './threads/SessionList';
|
|
117
|
+
export { mintThreadId } from './threads/mint-thread-id';
|
|
100
118
|
export { useAthenaSessionAttention } from './threads/use-athena-session-attention';
|
|
101
119
|
export type { AthenaSessionAttention } from './threads/use-athena-session-attention';
|
|
102
|
-
export {
|
|
103
|
-
export type {
|
|
120
|
+
export { SessionsPage } from './threads/SessionsPage';
|
|
121
|
+
export type { SessionsPageProps } from './threads/SessionsPage';
|
|
122
|
+
export { Inbox, InboxButton, INBOX_PAGE_SIZE, INBOX_QUERY, INBOX_UNREAD_QUERY, useAthenaInboxUnreadCount, } from './threads/Inbox';
|
|
123
|
+
export type { AthenaInboxUnreadCount, InboxButtonProps, InboxProps, InboxTab, } from './threads/Inbox';
|
|
124
|
+
export { useAthenaSessions } from './threads/use-athena-sessions';
|
|
125
|
+
export type { AthenaSessionsList, UseAthenaSessionsOptions } from './threads/use-athena-sessions';
|
|
126
|
+
export { DEFAULT_COLLAB_CHANNEL, matchesSessionsQuery, normalizeSessionsQuery, planSessionsQuery, SESSION_RUN_STATUSES, SESSION_SESSION_STATUSES, sessionsQueryKey, sortSessions, unavailableSessionsQueryFields, } from './threads/sessions-query';
|
|
127
|
+
export type { AthenaSessionsDirection, AthenaSessionsQuery, AthenaSessionsQueryField, AthenaSessionsSort, SessionRunStatus, SessionSessionStatus, SessionsQueryPlan, } from './threads/sessions-query';
|
|
128
|
+
export { agentLabel, channelLabel, creatorLabel, groupSessionsBy, inboxStateChip, SESSIONS_COLUMNS, sessionsCsv, sessionsFilterChips, sessionStatusChip, } from './threads/sessions-page-model';
|
|
129
|
+
export type { SessionStatusChip, SessionStatusTone, SessionsColumn, SessionsColumnId, SessionsGroupBy, SessionsLabels, SessionsSection, } from './threads/sessions-page-model';
|
|
130
|
+
export type { ThreadReadStateTarget } from './threads/use-thread-read-state';
|
|
131
|
+
export { groupSessions, orderedPullRequests, pullRequestChip, pullRequestChipState, sessionIndicator, sessionListGroupOf, sessionOriginBadge, sessionOriginLabel, sessionSecondaryLine, WEB_APP_ORIGIN_LABEL, } from './threads/session-list-model';
|
|
132
|
+
export type { PullRequestChip, PullRequestChipState, SessionIndicator, SessionLineTone, SessionListGroup, SessionListSection, SessionOriginBadges, SessionSecondaryLine, } from './threads/session-list-model';
|
|
104
133
|
export { deriveConversationAttention, githubWakeEventLabel, githubWakeMarkerText, isGithubWakeMessage, readGithubWakeEvent, } from '@athenaintel/agent-runtime';
|
|
105
134
|
export type { ConversationAttention, ConversationAttentionSource, ConversationPullRequest, ConversationSummary, ConversationWake, GithubWakeEvent, } from '@athenaintel/agent-runtime';
|
|
106
|
-
export type { ThreadFavoriteResponse, ThreadPullRequest, ThreadRenameResponse, ThreadSummary, ThreadWake, } from './threads/api';
|
|
135
|
+
export type { ThreadFavoriteResponse, ThreadInboxDismissResponse, ThreadListFilterBody, ThreadListResponse, ThreadPullRequest, ThreadRenameResponse, ThreadSummary, ThreadWake, } from './threads/api';
|
|
107
136
|
export { useRefreshThreadList } from './threads/statewire-thread-list';
|
|
108
137
|
export { useAthenaThreadId, AthenaThreadIdContext, useAthenaStatewireThreadId, } from './threads/thread-id-context';
|
|
109
|
-
export { listThreads, archiveThread, getThreadState, createThread, renameThread, setThreadReadState, setThreadFavorite, isThreadArchiveUnavailableError, isThreadFavoriteUnavailableError, isThreadRenameUnavailableError, THREAD_TITLE_MAX_LENGTH, } from './threads/api';
|
|
138
|
+
export { listThreads, archiveThread, getThreadState, createThread, renameThread, setThreadReadState, setThreadFavorite, dismissThreadFromInbox, isThreadArchiveUnavailableError, isThreadFavoriteUnavailableError, isThreadRenameUnavailableError, THREAD_TITLE_MAX_LENGTH, } from './threads/api';
|
|
110
139
|
export type { ThreadFavoriteTarget } from './threads/use-thread-favorite';
|
|
111
140
|
export type { ThreadRenameTarget } from './threads/use-thread-rename';
|
|
112
141
|
export { THREAD_PREFETCH_HOVER_DELAY_MS, THREAD_PREFETCH_MAX_CONCURRENT, } from './threads/thread-prefetcher';
|
|
@@ -128,10 +157,15 @@ export type { DictationStatus, DictationTranscript } from './dictation/dictation
|
|
|
128
157
|
export type { AthenaChatComposerSlots, AthenaChatDictationOptions } from './chat/AthenaChat';
|
|
129
158
|
export { useAppendToComposer } from './composer/useAppendToComposer';
|
|
130
159
|
export type { AppendToComposerOptions } from './composer/useAppendToComposer';
|
|
131
|
-
export { useComposerReady } from './composer/composer-handoff';
|
|
160
|
+
export { useComposerReady, useFocusComposer } from './composer/composer-handoff';
|
|
161
|
+
export { useReadComposerDraft } from './composer/useReadComposerDraft';
|
|
132
162
|
export { useSendMessage } from './composer/useSendMessage';
|
|
133
163
|
export type { SendMessageOptions } from './composer/useSendMessage';
|
|
134
164
|
export { useComposerAttachment } from './composer/useComposerAttachment';
|
|
165
|
+
export { ChatAgentPicker, ChatModelPicker } from './catalog/chat-pickers';
|
|
166
|
+
export type { ChatAgentPickerProps, ChatModelPickerProps } from './catalog/chat-pickers';
|
|
167
|
+
export { credentialFingerprint, groupModelsByProvider, MODEL_PROVIDER_LABELS, normalizeAgentCatalog, normalizeModelCatalog, resolveCatalogModelId, useAthenaAgentCatalog, useAthenaModelCatalog, } from './catalog/runtime-catalog';
|
|
168
|
+
export type { AthenaAgentOption, AthenaModelOption, AthenaModelStatus, } from './catalog/runtime-catalog';
|
|
135
169
|
export { useFileUpload } from './composer/useFileUpload';
|
|
136
170
|
export type { UploadedAsset, UploadProgress, UseFileUploadReturn } from './composer/useFileUpload';
|
|
137
171
|
export { FileUploadButton } from './composer/FileUploadButton';
|
|
@@ -140,7 +174,10 @@ export { ComposerDropZone } from './composer/ComposerDropZone';
|
|
|
140
174
|
export type { ComposerDropZoneProps } from './composer/ComposerDropZone';
|
|
141
175
|
export { ComposerQuotePreview } from './composer/ComposerQuotePreview';
|
|
142
176
|
export type { ComposerQuotePreviewProps } from './composer/ComposerQuotePreview';
|
|
143
|
-
export { useQuote } from './composer/QuoteContext';
|
|
177
|
+
export { createQuoteStore, QuoteProvider, useQuote } from './composer/QuoteContext';
|
|
178
|
+
export type { QuoteStore } from './composer/QuoteContext';
|
|
179
|
+
export { AttachmentProvider, createAttachmentStore, useAttachments, } from './composer/AttachmentContext';
|
|
180
|
+
export type { AttachmentStore } from './composer/AttachmentContext';
|
|
144
181
|
export type { QuoteData } from './composer/QuoteContext';
|
|
145
182
|
export type { MentionTool } from './chat-ui/mentions/suggestions/data/types';
|
|
146
183
|
export { DEFAULT_STATEWIRE_MODEL, useAthenaStatewireRuntime, } from './runtime/useAthenaStatewireRuntime';
|
|
@@ -154,6 +191,10 @@ export type { AthenaEnvironment } from './lib/athena-urls';
|
|
|
154
191
|
export { Button, buttonVariants } from './ui/button';
|
|
155
192
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from './ui/tooltip';
|
|
156
193
|
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './ui/collapsible';
|
|
194
|
+
export { OwnerDocumentProvider, useIsInPopoutDocument, useOwnerDocument, usePortalContainer, } from './lib/owner-document';
|
|
195
|
+
export type { OwnerDocumentProviderProps } from './lib/owner-document';
|
|
196
|
+
export { a1AnchorCell, a1RangeBounds, columnLettersToNumber, columnNumberToLetters, formatA1Cell, formatA1Range, parseA1Range, RANGE_PREVIEW_MAX_COLUMNS, RANGE_PREVIEW_MAX_ROWS, RangePreviewTable, rangePreviewFromCellMap, rangePreviewFromRows, rangePreviewToTableData, SHEET_MAX_COLUMN, SHEET_MAX_ROW, splitSheetPrefix, } from './sheet-range';
|
|
197
|
+
export type { A1Range, RangePreview, RangePreviewLimits, RangePreviewRow, RangePreviewTableProps, SheetRangeBounds, } from './sheet-range';
|
|
157
198
|
export { Toolkits } from './toolkits';
|
|
158
199
|
export type { ToolkitId } from './toolkits';
|
|
159
200
|
export { themes, themeToStyleVars } from './theme';
|
package/dist/index.js
CHANGED
|
@@ -10,10 +10,13 @@ import { capturePosthogEvent, capturePosthogException, getPosthogCaptureGate, wr
|
|
|
10
10
|
import { buildCoalescedCaptureProperties, isCriticalPosthogEvent, withCaptureGateBypass } from "./lib/posthog/capture-gate.js";
|
|
11
11
|
import { AthenaAssistantActionBar, AthenaAssistantMessage, AthenaChat, AthenaReasoningPart, AthenaUserMessage } from "./chat/AthenaChat.js";
|
|
12
12
|
import { AthenaChatErrorBoundary } from "./chat/AthenaChatErrorBoundary.js";
|
|
13
|
-
import { buildActivityTimeline, countActivityTools, excludeFinalTextFromGroups, getActivityItemLabel, getActivitySummary, getActivityToolState, getFinalText, resolveActivityPhase } from "./chat/super-grouping/activity-timeline.js";
|
|
13
|
+
import { buildActivityTimeline, countActivityTools, excludeFinalTextFromGroups, getActivityItemLabel, getActivitySummary, getActivityToolState, getFinalText, getReasoningLabel, resolveActivityPhase } from "./chat/super-grouping/activity-timeline.js";
|
|
14
14
|
import { CollapsibleGroup, DEFAULT_TOOLKIT_THEME, SuperGroupingProvider, TOOLKIT_THEMES } from "./chat/super-grouping/CollapsibleGroup.js";
|
|
15
15
|
import { createToolBasedGroupingFunction } from "./chat/super-grouping/grouping-function.js";
|
|
16
16
|
import { SuperGroupingCard, SuperGroupingFinalText, resetRememberedExpansionsForTests, useActivityExpansion } from "./chat/super-grouping/SuperGroupingCard.js";
|
|
17
|
+
import { SuperGroupingTranscript } from "./chat/super-grouping/SuperGroupingTranscript.js";
|
|
18
|
+
import { splitTurnSegments } from "./chat/super-grouping/turn-segments.js";
|
|
19
|
+
import { formatWorkDuration, readTurnTiming, workedDurationMs } from "./chat/super-grouping/turn-timing.js";
|
|
17
20
|
import { defaultGetToolGroupKey } from "./chat/super-grouping/toolkit-map.js";
|
|
18
21
|
import { StatewireApprovalCard } from "./chat/StatewireApprovalCard.js";
|
|
19
22
|
import { useStatewireApprovalRequest } from "./chat/use-statewire-approval-request.js";
|
|
@@ -24,6 +27,7 @@ import { useStatewireToolOutputs } from "./provider/statewire-window-context.js"
|
|
|
24
27
|
import { ATHENA_SDK_MESSAGE_WINDOW, useAthenaStatewireRuntime } from "./runtime/useAthenaStatewireRuntime.js";
|
|
25
28
|
import { StatewireQueuedMessages } from "./chat/StatewireQueuedMessages.js";
|
|
26
29
|
import { StatewireConnectionBanner, StatewireErrorBanner } from "./chat/statewire-banners.js";
|
|
30
|
+
import { RUN_START_REFUSAL_FALLBACK_MESSAGE, StatewireRunRefusalNotice } from "./chat/StatewireRunRefusalNotice.js";
|
|
27
31
|
import { StatewireClientToolBridge } from "./chat/StatewireClientToolBridge.js";
|
|
28
32
|
import { collectStatewireClientTools, statewireClientToolWireEntries } from "./chat/statewire-client-tools.js";
|
|
29
33
|
import { useAthenaStatewireLifecycle } from "./provider/statewire-lifecycle-context.js";
|
|
@@ -38,9 +42,10 @@ import { BrowseToolUI, CreateDocumentToolUI, CreateEmailDraftToolUI, CreateNoteb
|
|
|
38
42
|
import { CopyToolSpecButton, ExpandableSection, ToolCard, normalizeResult, truncate } from "./tools/primitives.js";
|
|
39
43
|
import { InstallPackageToolUI } from "./tools/misc-tool-uis.js";
|
|
40
44
|
import { TOOL_ICONS, toolIcon } from "./tools/tool-icons.js";
|
|
41
|
-
import { HiddenWriteTodosToolUI, WriteTodosToolUI, parseTodoPlan } from "./tools/write-todos-tool-ui.js";
|
|
45
|
+
import { HiddenWriteTodosToolUI, PlanStepMarker, WriteTodosToolUI, parseTodoPlan } from "./tools/write-todos-tool-ui.js";
|
|
42
46
|
import { useLatestTodoPlan } from "./tools/todo-plan-store.js";
|
|
43
|
-
import { EditFileToolUI, ListFilesToolUI, ReadFileToolUI, SearchFilesToolUI, WriteFileToolUI
|
|
47
|
+
import { EditFileToolUI, ListFilesToolUI, ReadFileToolUI, SearchFilesToolUI, WriteFileToolUI } from "./tools/file-tool-uis.js";
|
|
48
|
+
import { collectAssetTitles, friendlyWorkspacePath, humanizeToolName, summarizeToolCall } from "./tools/tool-summary.js";
|
|
44
49
|
import { ToolFallback, ToolFallbackAppearanceProvider, ToolFallbackArgs, ToolFallbackContent, ToolFallbackError, ToolFallbackNotice, ToolFallbackResult, ToolFallbackRoot, ToolFallbackTrigger, clearAutoOpenedAssets } from "./tools/tool-fallback.js";
|
|
45
50
|
import { VoiceUpdateCard, VoiceUpdateToolUI } from "./tools/voice-update-tool-ui.js";
|
|
46
51
|
import { VoiceDelegationCard, VoiceDelegationMessage } from "./chat-ui/messages/voice-delegation-card.js";
|
|
@@ -53,14 +58,26 @@ import { AthenaAssetEmbed } from "./assets/AthenaAssetEmbed.js";
|
|
|
53
58
|
import { AssetPanel } from "./assets/AssetPanel.js";
|
|
54
59
|
import { AthenaLayout } from "./assets/AthenaLayout.js";
|
|
55
60
|
import { useAssetPanelStore } from "./assets/asset-panel-store.js";
|
|
56
|
-
import {
|
|
61
|
+
import { SESSION_WORKBENCH_ASSETS_PANE_ID, SessionWorkbench } from "./workbench/SessionWorkbench.js";
|
|
62
|
+
import { SESSION_WORKSPACE_LIVE_REFETCH_MS, useSessionWorkbench, useSessionWorkbenchWorkspace } from "./workbench/session-workbench-context.js";
|
|
63
|
+
import { DEFAULT_SESSION_WORKBENCH_OPEN_PANE_IDS, DEFAULT_SESSION_WORKBENCH_PANES, SESSION_WORKBENCH_ATTACHMENTS_PANE, SESSION_WORKBENCH_COMPUTER_PANE, SESSION_WORKBENCH_PULL_REQUESTS_PANE, SESSION_WORKBENCH_SHELL_PANE, SESSION_WORKBENCH_TASKS_PANE, SessionAttachmentsPane, SessionComputerPane, SessionPullRequestsPane, SessionShellPane, SessionTasksPane } from "./workbench/session-workbench-panes.js";
|
|
64
|
+
import { SESSION_SANDBOX_LABEL, SHELL_OUTPUT_PREVIEW_CHARS, assetPanelTypeOf, assetTypeLabel, athenaLinkAppUrl, computerStateBadge, deriveShellRows, deriveTaskSteps, filterShellRows, filterWorkbenchPanes, reviewDecisionLabel, shellMachine, taskProgress, toolResultText, workspaceComputers } from "./workbench/session-workbench-model.js";
|
|
65
|
+
import { computerSshAccessPath, computerStatusPath, fetchComputerRuntimeStatus, fetchComputerSshAccess, fetchSessionWorkspace, readComputerRuntimeStatus, readComputerSshAccess, readSessionWorkspace, sessionWorkspacePath } from "./workbench/session-workspace-api.js";
|
|
66
|
+
import { useAthenaComputerSshAccess, useAthenaComputerStatus, useAthenaSessionWorkspace } from "./workbench/use-session-workspace.js";
|
|
67
|
+
import { appendCitationReferenceParams, useAssetEmbed } from "./assets/use-asset-embed.js";
|
|
57
68
|
import { useAthenaConfig } from "./provider/AthenaContext.js";
|
|
58
69
|
import { ThreadList } from "./threads/ThreadList.js";
|
|
59
70
|
import { SessionList } from "./threads/SessionList.js";
|
|
71
|
+
import { mintThreadId } from "./threads/mint-thread-id.js";
|
|
60
72
|
import { useAthenaSessionAttention } from "./threads/use-athena-session-attention.js";
|
|
61
|
-
import {
|
|
73
|
+
import { SessionsPage } from "./threads/SessionsPage.js";
|
|
74
|
+
import { INBOX_PAGE_SIZE, INBOX_QUERY, INBOX_UNREAD_QUERY, Inbox, InboxButton, useAthenaInboxUnreadCount } from "./threads/Inbox.js";
|
|
75
|
+
import { useAthenaSessions } from "./threads/use-athena-sessions.js";
|
|
76
|
+
import { DEFAULT_COLLAB_CHANNEL, SESSION_RUN_STATUSES, SESSION_SESSION_STATUSES, matchesSessionsQuery, normalizeSessionsQuery, planSessionsQuery, sessionsQueryKey, sortSessions, unavailableSessionsQueryFields } from "./threads/sessions-query.js";
|
|
77
|
+
import { SESSIONS_COLUMNS, agentLabel, channelLabel, creatorLabel, groupSessionsBy, inboxStateChip, sessionStatusChip, sessionsCsv, sessionsFilterChips } from "./threads/sessions-page-model.js";
|
|
78
|
+
import { WEB_APP_ORIGIN_LABEL, groupSessions, orderedPullRequests, pullRequestChip, pullRequestChipState, sessionIndicator, sessionListGroupOf, sessionOriginBadge, sessionOriginLabel, sessionSecondaryLine } from "./threads/session-list-model.js";
|
|
62
79
|
import { AthenaThreadIdContext, useAthenaStatewireThreadId, useAthenaThreadId } from "./threads/thread-id-context.js";
|
|
63
|
-
import { THREAD_TITLE_MAX_LENGTH, archiveThread, createThread, getThreadState, isThreadArchiveUnavailableError, isThreadFavoriteUnavailableError, isThreadRenameUnavailableError, listThreads, renameThread, setThreadFavorite, setThreadReadState } from "./threads/api.js";
|
|
80
|
+
import { THREAD_TITLE_MAX_LENGTH, archiveThread, createThread, dismissThreadFromInbox, getThreadState, isThreadArchiveUnavailableError, isThreadFavoriteUnavailableError, isThreadRenameUnavailableError, listThreads, renameThread, setThreadFavorite, setThreadReadState } from "./threads/api.js";
|
|
64
81
|
import { THREAD_PREFETCH_HOVER_DELAY_MS, THREAD_PREFETCH_MAX_CONCURRENT } from "./threads/thread-prefetcher.js";
|
|
65
82
|
import { conversationDisplayTitle, useRestConversationHistory } from "./threads/use-rest-conversation-history.js";
|
|
66
83
|
import { conversationSummaryFromIndexEntry, useStatewireConversationHistory } from "./threads/use-statewire-conversation-history.js";
|
|
@@ -72,28 +89,37 @@ import { createRecordedDictationEngine } from "./dictation/recorded-dictation-en
|
|
|
72
89
|
import { useAthenaDictationEngine } from "./dictation/use-athena-dictation-engine.js";
|
|
73
90
|
import { DICTATION_STATUSES, composeDictationDraft } from "./dictation/dictation-state.js";
|
|
74
91
|
import { useAppendToComposer } from "./composer/useAppendToComposer.js";
|
|
75
|
-
import { useComposerReady } from "./composer/composer-handoff.js";
|
|
92
|
+
import { useComposerReady, useFocusComposer } from "./composer/composer-handoff.js";
|
|
93
|
+
import { useReadComposerDraft } from "./composer/useReadComposerDraft.js";
|
|
76
94
|
import { useSendMessage } from "./composer/useSendMessage.js";
|
|
77
95
|
import { useComposerAttachment } from "./composer/useComposerAttachment.js";
|
|
96
|
+
import { ChatAgentPicker, ChatModelPicker } from "./catalog/chat-pickers.js";
|
|
97
|
+
import { MODEL_PROVIDER_LABELS, credentialFingerprint, groupModelsByProvider, normalizeAgentCatalog, normalizeModelCatalog, resolveCatalogModelId, useAthenaAgentCatalog, useAthenaModelCatalog } from "./catalog/runtime-catalog.js";
|
|
78
98
|
import { useFileUpload } from "./composer/useFileUpload.js";
|
|
79
99
|
import { FileUploadButton } from "./composer/FileUploadButton.js";
|
|
80
100
|
import { ComposerDropZone } from "./composer/ComposerDropZone.js";
|
|
81
101
|
import { ComposerQuotePreview } from "./composer/ComposerQuotePreview.js";
|
|
82
|
-
import { useQuote } from "./composer/QuoteContext.js";
|
|
102
|
+
import { QuoteProvider, createQuoteStore, useQuote } from "./composer/QuoteContext.js";
|
|
103
|
+
import { AttachmentProvider, createAttachmentStore, useAttachments } from "./composer/AttachmentContext.js";
|
|
83
104
|
import { useParentAuth, useParentBridge } from "./runtime/auth.js";
|
|
84
105
|
import { DEFAULT_APP_URL, DEFAULT_STATEWIRE_SYNC_URL, createAthenaSpacesUrl, deriveAthenaApiUrl, deriveAthenaAppUrl, deriveStatewireSyncUrl, resolveStatewireSyncUrl } from "./lib/athena-urls.js";
|
|
85
106
|
import { Button, buttonVariants } from "./ui/button.js";
|
|
86
107
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.js";
|
|
87
108
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.js";
|
|
109
|
+
import { OwnerDocumentProvider, useIsInPopoutDocument, useOwnerDocument, usePortalContainer } from "./lib/owner-document.js";
|
|
110
|
+
import { SHEET_MAX_COLUMN, SHEET_MAX_ROW, a1AnchorCell, a1RangeBounds, columnLettersToNumber, columnNumberToLetters, formatA1Cell, formatA1Range, parseA1Range, splitSheetPrefix } from "./sheet-range/a1.js";
|
|
111
|
+
import { RANGE_PREVIEW_MAX_COLUMNS, RANGE_PREVIEW_MAX_ROWS, rangePreviewFromCellMap, rangePreviewFromRows, rangePreviewToTableData } from "./sheet-range/range-preview.js";
|
|
112
|
+
import { RangePreviewTable } from "./sheet-range/range-preview-table.js";
|
|
88
113
|
import { Toolkits } from "./toolkits/index.js";
|
|
89
114
|
import { themeToStyleVars, themes } from "./theme/index.js";
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
115
|
+
import { COLLAB_AGENT_CHANNEL_SESSION_MISMATCH, readRunStartRefusal } from "./agent-runtime/src/errors.js";
|
|
116
|
+
import { HITL_PENDING_RESUME_GRACE_MS, asHitlApproval, isPendingInterrupt, readInterruptMessage } from "./agent-runtime/src/interrupts.js";
|
|
117
|
+
import { classifyToolResult, isToolResultSuccess, resultMessage } from "./agent-runtime/src/tool-result.js";
|
|
92
118
|
import { cn } from "cnfast";
|
|
93
|
-
import { deriveConversationAttention } from "./
|
|
94
|
-
import { describeToolArgs, formatToolName, getToolDisplayMeta, toolActiveLabel, toolCompletedLabel } from "./
|
|
95
|
-
import { githubWakeEventLabel, githubWakeMarkerText, isGithubWakeMessage, readGithubWakeEvent } from "./
|
|
96
|
-
import { hasStatewireThreadExtras } from "./
|
|
119
|
+
import { deriveConversationAttention } from "./agent-runtime/src/conversation-list.js";
|
|
120
|
+
import { describeToolArgs, formatToolName, getToolDisplayMeta, toolActiveLabel, toolCompletedLabel } from "./agent-runtime/src/tool-metadata.js";
|
|
121
|
+
import { githubWakeEventLabel, githubWakeMarkerText, isGithubWakeMessage, readGithubWakeEvent } from "./agent-runtime/src/github-wake-event.js";
|
|
122
|
+
import { hasStatewireThreadExtras } from "./agent-runtime/src/thread-extras.js";
|
|
97
123
|
import { useToolAppearance } from "./tools/tool-appearance.js";
|
|
98
124
|
export {
|
|
99
125
|
ATHENA_REACT_SDK_VERSION,
|
|
@@ -113,10 +139,14 @@ export {
|
|
|
113
139
|
AthenaSdkError,
|
|
114
140
|
AthenaThreadIdContext,
|
|
115
141
|
AthenaUserMessage,
|
|
142
|
+
AttachmentProvider,
|
|
116
143
|
BrowseToolUI,
|
|
117
144
|
Button,
|
|
145
|
+
COLLAB_AGENT_CHANNEL_SESSION_MISMATCH,
|
|
118
146
|
COLLAB_AGENT_REF_PREFIX,
|
|
119
147
|
COLLAB_AGENT_REF_SHAPE,
|
|
148
|
+
ChatAgentPicker,
|
|
149
|
+
ChatModelPicker,
|
|
120
150
|
Collapsible,
|
|
121
151
|
CollapsibleContent,
|
|
122
152
|
CollapsibleGroup,
|
|
@@ -131,6 +161,9 @@ export {
|
|
|
131
161
|
CreateSheetToolUI,
|
|
132
162
|
DEFAULT_APP_URL,
|
|
133
163
|
DEFAULT_AUTO_OPEN_TOOLS,
|
|
164
|
+
DEFAULT_COLLAB_CHANNEL,
|
|
165
|
+
DEFAULT_SESSION_WORKBENCH_OPEN_PANE_IDS,
|
|
166
|
+
DEFAULT_SESSION_WORKBENCH_PANES,
|
|
134
167
|
DEFAULT_STATEWIRE_MODEL,
|
|
135
168
|
DEFAULT_STATEWIRE_SYNC_URL,
|
|
136
169
|
DEFAULT_TOOLKIT_THEME,
|
|
@@ -146,28 +179,64 @@ export {
|
|
|
146
179
|
GetDatabaseTableSchemaToolUI,
|
|
147
180
|
HITL_PENDING_RESUME_GRACE_MS,
|
|
148
181
|
HiddenWriteTodosToolUI,
|
|
182
|
+
INBOX_PAGE_SIZE,
|
|
183
|
+
INBOX_QUERY,
|
|
184
|
+
INBOX_UNREAD_QUERY,
|
|
185
|
+
Inbox,
|
|
186
|
+
InboxButton,
|
|
149
187
|
InstallPackageToolUI,
|
|
150
188
|
ListDatabaseTablesToolUI,
|
|
151
189
|
ListFilesToolUI,
|
|
190
|
+
MODEL_PROVIDER_LABELS,
|
|
152
191
|
NestedPtcComponentsProvider,
|
|
153
192
|
NestedPtcMessages,
|
|
154
193
|
OpenAssetToolUI,
|
|
155
194
|
OpenBrowserToolUI,
|
|
195
|
+
OwnerDocumentProvider,
|
|
196
|
+
PlanStepMarker,
|
|
197
|
+
QuoteProvider,
|
|
198
|
+
RANGE_PREVIEW_MAX_COLUMNS,
|
|
199
|
+
RANGE_PREVIEW_MAX_ROWS,
|
|
200
|
+
RUN_START_REFUSAL_FALLBACK_MESSAGE,
|
|
201
|
+
RangePreviewTable,
|
|
156
202
|
ReadAssetToolUI,
|
|
157
203
|
ReadFileToolUI,
|
|
158
204
|
RunPythonCodeToolUI,
|
|
159
205
|
RunSqlToolUI,
|
|
206
|
+
SESSIONS_COLUMNS,
|
|
207
|
+
SESSION_RUN_STATUSES,
|
|
208
|
+
SESSION_SANDBOX_LABEL,
|
|
209
|
+
SESSION_SESSION_STATUSES,
|
|
210
|
+
SESSION_WORKBENCH_ASSETS_PANE_ID,
|
|
211
|
+
SESSION_WORKBENCH_ATTACHMENTS_PANE,
|
|
212
|
+
SESSION_WORKBENCH_COMPUTER_PANE,
|
|
213
|
+
SESSION_WORKBENCH_PULL_REQUESTS_PANE,
|
|
214
|
+
SESSION_WORKBENCH_SHELL_PANE,
|
|
215
|
+
SESSION_WORKBENCH_TASKS_PANE,
|
|
216
|
+
SESSION_WORKSPACE_LIVE_REFETCH_MS,
|
|
217
|
+
SHEET_MAX_COLUMN,
|
|
218
|
+
SHEET_MAX_ROW,
|
|
219
|
+
SHELL_OUTPUT_PREVIEW_CHARS,
|
|
160
220
|
SearchFilesToolUI,
|
|
221
|
+
SessionAttachmentsPane,
|
|
222
|
+
SessionComputerPane,
|
|
161
223
|
SessionList,
|
|
224
|
+
SessionPullRequestsPane,
|
|
225
|
+
SessionShellPane,
|
|
226
|
+
SessionTasksPane,
|
|
227
|
+
SessionWorkbench,
|
|
228
|
+
SessionsPage,
|
|
162
229
|
StatewireApprovalCard,
|
|
163
230
|
StatewireClientToolBridge,
|
|
164
231
|
StatewireConnectionBanner,
|
|
165
232
|
StatewireErrorBanner,
|
|
166
233
|
StatewireHistoryEdge,
|
|
167
234
|
StatewireQueuedMessages,
|
|
235
|
+
StatewireRunRefusalNotice,
|
|
168
236
|
SuperGroupingCard,
|
|
169
237
|
SuperGroupingFinalText,
|
|
170
238
|
SuperGroupingProvider,
|
|
239
|
+
SuperGroupingTranscript,
|
|
171
240
|
THREAD_PREFETCH_HOVER_DELAY_MS,
|
|
172
241
|
THREAD_PREFETCH_MAX_CONCURRENT,
|
|
173
242
|
THREAD_TITLE_MAX_LENGTH,
|
|
@@ -198,6 +267,7 @@ export {
|
|
|
198
267
|
VoiceDelegationMessage,
|
|
199
268
|
VoiceUpdateCard,
|
|
200
269
|
VoiceUpdateToolUI,
|
|
270
|
+
WEB_APP_ORIGIN_LABEL,
|
|
201
271
|
WaitingOnYouBanner,
|
|
202
272
|
WaitingOnYouBannerView,
|
|
203
273
|
WakeMarkerCard,
|
|
@@ -205,9 +275,16 @@ export {
|
|
|
205
275
|
WebSearchToolUI,
|
|
206
276
|
WriteFileToolUI,
|
|
207
277
|
WriteTodosToolUI,
|
|
278
|
+
a1AnchorCell,
|
|
279
|
+
a1RangeBounds,
|
|
280
|
+
agentLabel,
|
|
281
|
+
appendCitationReferenceParams,
|
|
208
282
|
archiveThread,
|
|
209
283
|
asHitlApproval,
|
|
284
|
+
assetPanelTypeOf,
|
|
285
|
+
assetTypeLabel,
|
|
210
286
|
athenaDiagnostics,
|
|
287
|
+
athenaLinkAppUrl,
|
|
211
288
|
athenaStatewireErrorNotice,
|
|
212
289
|
buildActivityTimeline,
|
|
213
290
|
buildCoalescedCaptureProperties,
|
|
@@ -215,29 +292,51 @@ export {
|
|
|
215
292
|
buttonVariants,
|
|
216
293
|
capturePosthogEvent,
|
|
217
294
|
capturePosthogException,
|
|
295
|
+
channelLabel,
|
|
218
296
|
classifyToolResult,
|
|
219
297
|
clearAutoOpenedAssets,
|
|
220
298
|
cn,
|
|
299
|
+
collectAssetTitles,
|
|
221
300
|
collectStatewireClientTools,
|
|
301
|
+
columnLettersToNumber,
|
|
302
|
+
columnNumberToLetters,
|
|
222
303
|
composeDictationDraft,
|
|
304
|
+
computerSshAccessPath,
|
|
305
|
+
computerStateBadge,
|
|
306
|
+
computerStatusPath,
|
|
223
307
|
conversationDisplayTitle,
|
|
224
308
|
conversationSummaryFromIndexEntry,
|
|
225
309
|
countActivityTools,
|
|
226
310
|
createAssetToolUI,
|
|
227
311
|
createAthenaSpacesUrl,
|
|
312
|
+
createAttachmentStore,
|
|
313
|
+
createQuoteStore,
|
|
228
314
|
createRecordedDictationEngine,
|
|
229
315
|
createThread,
|
|
230
316
|
createToolBasedGroupingFunction,
|
|
231
317
|
createWebSpeechDictationEngine,
|
|
318
|
+
creatorLabel,
|
|
319
|
+
credentialFingerprint,
|
|
232
320
|
defaultGetToolGroupKey,
|
|
233
321
|
deriveAthenaApiUrl,
|
|
234
322
|
deriveAthenaAppUrl,
|
|
235
323
|
deriveConversationAttention,
|
|
324
|
+
deriveShellRows,
|
|
236
325
|
deriveStatewireSyncUrl,
|
|
326
|
+
deriveTaskSteps,
|
|
237
327
|
describeToolArgs,
|
|
328
|
+
dismissThreadFromInbox,
|
|
238
329
|
excludeFinalTextFromGroups,
|
|
330
|
+
fetchComputerRuntimeStatus,
|
|
331
|
+
fetchComputerSshAccess,
|
|
239
332
|
fetchRepoSearch,
|
|
333
|
+
fetchSessionWorkspace,
|
|
334
|
+
filterShellRows,
|
|
335
|
+
filterWorkbenchPanes,
|
|
336
|
+
formatA1Cell,
|
|
337
|
+
formatA1Range,
|
|
240
338
|
formatToolName,
|
|
339
|
+
formatWorkDuration,
|
|
241
340
|
friendlyWorkspacePath,
|
|
242
341
|
getActivityItemLabel,
|
|
243
342
|
getActivitySummary,
|
|
@@ -246,12 +345,17 @@ export {
|
|
|
246
345
|
getFinalText,
|
|
247
346
|
getPostHogInstance,
|
|
248
347
|
getPosthogCaptureGate,
|
|
348
|
+
getReasoningLabel,
|
|
249
349
|
getThreadState,
|
|
250
350
|
getToolDisplayMeta,
|
|
251
351
|
githubWakeEventLabel,
|
|
252
352
|
githubWakeMarkerText,
|
|
353
|
+
groupModelsByProvider,
|
|
253
354
|
groupSessions,
|
|
355
|
+
groupSessionsBy,
|
|
254
356
|
hasStatewireThreadExtras,
|
|
357
|
+
humanizeToolName,
|
|
358
|
+
inboxStateChip,
|
|
255
359
|
installAthenaDiagnosticsGlobal,
|
|
256
360
|
isAthenaCitationUrl,
|
|
257
361
|
isAthenaSdkError,
|
|
@@ -263,31 +367,60 @@ export {
|
|
|
263
367
|
isThreadRenameUnavailableError,
|
|
264
368
|
isToolResultSuccess,
|
|
265
369
|
listThreads,
|
|
370
|
+
matchesSessionsQuery,
|
|
371
|
+
mintThreadId,
|
|
372
|
+
normalizeAgentCatalog,
|
|
373
|
+
normalizeModelCatalog,
|
|
266
374
|
normalizeResult,
|
|
375
|
+
normalizeSessionsQuery,
|
|
267
376
|
orderedPullRequests,
|
|
377
|
+
parseA1Range,
|
|
268
378
|
parseAthenaCitationLink,
|
|
269
379
|
parseCollabAgentRef,
|
|
270
380
|
parseTodoPlan,
|
|
381
|
+
planSessionsQuery,
|
|
271
382
|
pullRequestChip,
|
|
272
383
|
pullRequestChipState,
|
|
384
|
+
rangePreviewFromCellMap,
|
|
385
|
+
rangePreviewFromRows,
|
|
386
|
+
rangePreviewToTableData,
|
|
387
|
+
readComputerRuntimeStatus,
|
|
388
|
+
readComputerSshAccess,
|
|
273
389
|
readGithubWakeEvent,
|
|
274
390
|
readInterruptMessage,
|
|
275
391
|
readRejectionDetail,
|
|
392
|
+
readRunStartRefusal,
|
|
393
|
+
readSessionWorkspace,
|
|
394
|
+
readTurnTiming,
|
|
276
395
|
renameThread,
|
|
277
396
|
repoSearchRequestBody,
|
|
278
397
|
resetAssetAutoOpen,
|
|
279
398
|
resetRememberedExpansionsForTests,
|
|
280
399
|
resolveActivityPhase,
|
|
281
400
|
resolveAgentProp,
|
|
401
|
+
resolveCatalogModelId,
|
|
282
402
|
resolveStatewireSyncUrl,
|
|
283
403
|
resultMessage,
|
|
404
|
+
reviewDecisionLabel,
|
|
284
405
|
sessionIndicator,
|
|
285
406
|
sessionListGroupOf,
|
|
407
|
+
sessionOriginBadge,
|
|
286
408
|
sessionOriginLabel,
|
|
287
409
|
sessionSecondaryLine,
|
|
410
|
+
sessionStatusChip,
|
|
411
|
+
sessionWorkspacePath,
|
|
412
|
+
sessionsCsv,
|
|
413
|
+
sessionsFilterChips,
|
|
414
|
+
sessionsQueryKey,
|
|
288
415
|
setThreadFavorite,
|
|
289
416
|
setThreadReadState,
|
|
417
|
+
shellMachine,
|
|
418
|
+
sortSessions,
|
|
419
|
+
splitSheetPrefix,
|
|
420
|
+
splitTurnSegments,
|
|
290
421
|
statewireClientToolWireEntries,
|
|
422
|
+
summarizeToolCall,
|
|
423
|
+
taskProgress,
|
|
291
424
|
themeToStyleVars,
|
|
292
425
|
themes,
|
|
293
426
|
threadSummaryFromConversation,
|
|
@@ -295,43 +428,62 @@ export {
|
|
|
295
428
|
toolActiveLabel,
|
|
296
429
|
toolCompletedLabel,
|
|
297
430
|
toolIcon,
|
|
431
|
+
toolResultText,
|
|
298
432
|
truncate,
|
|
299
433
|
tryParseJson,
|
|
434
|
+
unavailableSessionsQueryFields,
|
|
300
435
|
useActivityExpansion,
|
|
301
436
|
useAppendToComposer,
|
|
302
437
|
useAssetEmbed,
|
|
303
438
|
useAssetPanelStore,
|
|
439
|
+
useAthenaAgentCatalog,
|
|
304
440
|
useAthenaCitationLinkHandler,
|
|
441
|
+
useAthenaComputerSshAccess,
|
|
442
|
+
useAthenaComputerStatus,
|
|
305
443
|
useAthenaConfig,
|
|
306
444
|
useAthenaDiagnostics,
|
|
307
445
|
useAthenaDictationEngine,
|
|
446
|
+
useAthenaInboxUnreadCount,
|
|
308
447
|
useAthenaLinkClickHandler,
|
|
448
|
+
useAthenaModelCatalog,
|
|
309
449
|
useAthenaRepoSearch,
|
|
310
450
|
useAthenaRunLive,
|
|
311
451
|
useAthenaSessionAttention,
|
|
452
|
+
useAthenaSessionWorkspace,
|
|
453
|
+
useAthenaSessions,
|
|
312
454
|
useAthenaStatewireLifecycle,
|
|
313
455
|
useAthenaStatewireRuntime,
|
|
314
456
|
useAthenaStatewireThreadId,
|
|
315
457
|
useAthenaStatewireThreadList,
|
|
316
458
|
useAthenaThreadId,
|
|
317
459
|
useAthenaThreadManager,
|
|
460
|
+
useAttachments,
|
|
318
461
|
useComposerAttachment,
|
|
319
462
|
useComposerReady,
|
|
320
463
|
useDictation,
|
|
321
464
|
useFileUpload,
|
|
465
|
+
useFocusComposer,
|
|
466
|
+
useIsInPopoutDocument,
|
|
322
467
|
useLatestTodoPlan,
|
|
323
468
|
useNestedPtcComponents,
|
|
469
|
+
useOwnerDocument,
|
|
324
470
|
useParentAuth,
|
|
325
471
|
useParentBridge,
|
|
472
|
+
usePortalContainer,
|
|
326
473
|
useQuote,
|
|
474
|
+
useReadComposerDraft,
|
|
327
475
|
useRefreshThreadList,
|
|
328
476
|
useRestConversationHistory,
|
|
329
477
|
useSendMessage,
|
|
478
|
+
useSessionWorkbench,
|
|
479
|
+
useSessionWorkbenchWorkspace,
|
|
330
480
|
useStatewireApprovalRequest,
|
|
331
481
|
useStatewireConversationHistory,
|
|
332
482
|
useStatewireToolOutputs,
|
|
333
483
|
useToolAppearance,
|
|
334
484
|
withCaptureGateBypass,
|
|
485
|
+
workedDurationMs,
|
|
486
|
+
workspaceComputers,
|
|
335
487
|
wrapPosthogClient
|
|
336
488
|
};
|
|
337
489
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const react = require("react");
|
|
5
|
+
const OwnerDocumentContext = react.createContext(null);
|
|
6
|
+
function OwnerDocumentProvider({ document: doc, children }) {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(OwnerDocumentContext.Provider, { value: doc, children });
|
|
8
|
+
}
|
|
9
|
+
function useOwnerDocument() {
|
|
10
|
+
const provided = react.useContext(OwnerDocumentContext);
|
|
11
|
+
if (provided) return provided;
|
|
12
|
+
return typeof document !== "undefined" ? document : null;
|
|
13
|
+
}
|
|
14
|
+
function useIsInPopoutDocument() {
|
|
15
|
+
const provided = react.useContext(OwnerDocumentContext);
|
|
16
|
+
return provided !== null && typeof document !== "undefined" && provided !== document;
|
|
17
|
+
}
|
|
18
|
+
function usePortalContainer() {
|
|
19
|
+
const provided = react.useContext(OwnerDocumentContext);
|
|
20
|
+
return react.useMemo(() => {
|
|
21
|
+
var _a;
|
|
22
|
+
if (!provided) return void 0;
|
|
23
|
+
if (typeof document !== "undefined" && provided === document) return void 0;
|
|
24
|
+
if ((_a = provided.defaultView) == null ? void 0 : _a.closed) return void 0;
|
|
25
|
+
return provided.body;
|
|
26
|
+
}, [provided]);
|
|
27
|
+
}
|
|
28
|
+
exports.OwnerDocumentProvider = OwnerDocumentProvider;
|
|
29
|
+
exports.useIsInPopoutDocument = useIsInPopoutDocument;
|
|
30
|
+
exports.useOwnerDocument = useOwnerDocument;
|
|
31
|
+
exports.usePortalContainer = usePortalContainer;
|
|
32
|
+
//# sourceMappingURL=owner-document.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-document.cjs","sources":["../../src/lib/owner-document.tsx"],"sourcesContent":["'use client';\n\nimport { createContext, type ReactNode, useContext, useMemo } from 'react';\n\n/**\n * Which browser document a component is rendered into.\n *\n * A host pops a pane out by portaling it into a second browser window (Olympus's\n * Spaces popouts, a desktop shell's pop-out windows): the React tree keeps\n * running in the main window while its DOM lives in the popout's document.\n * Anything that reaches for the global `document` then talks to the wrong\n * window — most visibly Radix/shadcn portals, which mount menus, dialogs and\n * tooltips into the MAIN window's body while their trigger sits in the popout.\n *\n * `OwnerDocumentProvider` is mounted by the host around every popped-out\n * subtree (Olympus's Spaces popout frame wraps every tab and the popout\n * window's own layout chrome). The SDK's own portaled UI (popover, tooltip,\n * the composer's mention menu) and the host's portals read the same context.\n * In the main window nothing is provided and the hooks fall back to the\n * globals, with `usePortalContainer()` returning `undefined` so every library\n * keeps its default container.\n */\nconst OwnerDocumentContext = createContext<Document | null>(null);\n\nexport interface OwnerDocumentProviderProps {\n /** The document hosting this subtree; `null` for the main window. */\n document: Document | null;\n children: ReactNode;\n}\n\nexport function OwnerDocumentProvider({ document: doc, children }: OwnerDocumentProviderProps) {\n return <OwnerDocumentContext.Provider value={doc}>{children}</OwnerDocumentContext.Provider>;\n}\n\n/** The document this subtree renders into, or the global document when not in a popout. */\nexport function useOwnerDocument(): Document | null {\n const provided = useContext(OwnerDocumentContext);\n if (provided) return provided;\n return typeof document !== 'undefined' ? document : null;\n}\n\n/** `true` when the subtree is hosted by a popout window rather than the main document. */\nexport function useIsInPopoutDocument(): boolean {\n const provided = useContext(OwnerDocumentContext);\n return provided !== null && typeof document !== 'undefined' && provided !== document;\n}\n\n/**\n * The `container` to hand a portal so it opens in the window its trigger is\n * in: the popout's `body`, or `undefined` in the main window so the library\n * default applies. Guards against a since-closed popout window.\n */\nexport function usePortalContainer(): HTMLElement | undefined {\n const provided = useContext(OwnerDocumentContext);\n return useMemo(() => {\n if (!provided) return undefined;\n if (typeof document !== 'undefined' && provided === document) return undefined;\n if (provided.defaultView?.closed) return undefined;\n return provided.body;\n }, [provided]);\n}\n"],"names":["createContext","useContext","useMemo"],"mappings":";;;;AAsBA,MAAM,uBAAuBA,MAAAA,cAA+B,IAAI;AAQzD,SAAS,sBAAsB,EAAE,UAAU,KAAK,YAAwC;AAC7F,wCAAQ,qBAAqB,UAArB,EAA8B,OAAO,KAAM,UAAS;AAC9D;AAGO,SAAS,mBAAoC;AAClD,QAAM,WAAWC,MAAAA,WAAW,oBAAoB;AAChD,MAAI,SAAU,QAAO;AACrB,SAAO,OAAO,aAAa,cAAc,WAAW;AACtD;AAGO,SAAS,wBAAiC;AAC/C,QAAM,WAAWA,MAAAA,WAAW,oBAAoB;AAChD,SAAO,aAAa,QAAQ,OAAO,aAAa,eAAe,aAAa;AAC9E;AAOO,SAAS,qBAA8C;AAC5D,QAAM,WAAWA,MAAAA,WAAW,oBAAoB;AAChD,SAAOC,MAAAA,QAAQ,MAAM;;AACnB,QAAI,CAAC,SAAU,QAAO;AACtB,QAAI,OAAO,aAAa,eAAe,aAAa,SAAU,QAAO;AACrE,SAAI,cAAS,gBAAT,mBAAsB,OAAQ,QAAO;AACzC,WAAO,SAAS;AAAA,EAClB,GAAG,CAAC,QAAQ,CAAC;AACf;;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface OwnerDocumentProviderProps {
|
|
3
|
+
/** The document hosting this subtree; `null` for the main window. */
|
|
4
|
+
document: Document | null;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function OwnerDocumentProvider({ document: doc, children }: OwnerDocumentProviderProps): import("react").JSX.Element;
|
|
8
|
+
/** The document this subtree renders into, or the global document when not in a popout. */
|
|
9
|
+
export declare function useOwnerDocument(): Document | null;
|
|
10
|
+
/** `true` when the subtree is hosted by a popout window rather than the main document. */
|
|
11
|
+
export declare function useIsInPopoutDocument(): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The `container` to hand a portal so it opens in the window its trigger is
|
|
14
|
+
* in: the popout's `body`, or `undefined` in the main window so the library
|
|
15
|
+
* default applies. Guards against a since-closed popout window.
|
|
16
|
+
*/
|
|
17
|
+
export declare function usePortalContainer(): HTMLElement | undefined;
|