@opengeni/react 1.0.1 → 1.0.2-canary.37202341988001
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 +660 -21
- package/dist/accounts.d.ts +64 -0
- package/dist/accounts.js +822 -0
- package/dist/accounts.js.map +1 -0
- package/dist/approvals.d.ts +2 -1
- package/dist/artifacts-document.js +3 -2
- package/dist/artifacts-presentation.js +3 -2
- package/dist/artifacts-spreadsheet.js +2 -2
- package/dist/artifacts.d.ts +4 -1
- package/dist/artifacts.js +518 -42
- package/dist/artifacts.js.map +1 -1
- package/dist/browser-viewer-SHYKQRNX.js +16 -0
- package/dist/capability-catalog-row.d.ts +20 -0
- package/dist/capability-logo-fallback.d.ts +3 -0
- package/dist/chat-interactive-block-UGBTNB3L.js +11 -0
- package/dist/chat-interactive-block-UGBTNB3L.js.map +1 -0
- package/dist/chunk-26ZNDDLZ.js +453 -0
- package/dist/chunk-26ZNDDLZ.js.map +1 -0
- package/dist/chunk-3CTRFMAK.js +359 -0
- package/dist/chunk-3CTRFMAK.js.map +1 -0
- package/dist/chunk-447JLCBU.js +209 -0
- package/dist/chunk-447JLCBU.js.map +1 -0
- package/dist/chunk-4RVYOY4O.js +379 -0
- package/dist/chunk-4RVYOY4O.js.map +1 -0
- package/dist/chunk-5CVXZA3Y.js +292 -0
- package/dist/chunk-5CVXZA3Y.js.map +1 -0
- package/dist/chunk-5J4FOW6Q.js +108 -0
- package/dist/chunk-5J4FOW6Q.js.map +1 -0
- package/dist/chunk-742CZ3L3.js +481 -0
- package/dist/chunk-742CZ3L3.js.map +1 -0
- package/dist/chunk-A2PI6UMY.js +41 -0
- package/dist/chunk-A2PI6UMY.js.map +1 -0
- package/dist/{chunk-7WCLAEFV.js → chunk-A4UJB2MM.js} +37 -27
- package/dist/chunk-A4UJB2MM.js.map +1 -0
- package/dist/chunk-B3V6TG77.js +41 -0
- package/dist/chunk-B3V6TG77.js.map +1 -0
- package/dist/chunk-BRM6FVZA.js +302 -0
- package/dist/chunk-BRM6FVZA.js.map +1 -0
- package/dist/chunk-C5X5AJXK.js +182 -0
- package/dist/chunk-C5X5AJXK.js.map +1 -0
- package/dist/{chunk-6KLX2RH5.js → chunk-DO544OSV.js} +1075 -79
- package/dist/chunk-DO544OSV.js.map +1 -0
- package/dist/{chunk-R3AZOAB5.js → chunk-DYWBUX5Q.js} +29 -123
- package/dist/chunk-DYWBUX5Q.js.map +1 -0
- package/dist/{chunk-HA46CYQK.js → chunk-EESD3PY3.js} +792 -537
- package/dist/chunk-EESD3PY3.js.map +1 -0
- package/dist/{chunk-5UQPNLIO.js → chunk-EN3YTHKR.js} +4117 -3896
- package/dist/chunk-EN3YTHKR.js.map +1 -0
- package/dist/chunk-ERGYJIBB.js +21 -0
- package/dist/chunk-ERGYJIBB.js.map +1 -0
- package/dist/chunk-FZCP527Y.js +116 -0
- package/dist/chunk-FZCP527Y.js.map +1 -0
- package/dist/chunk-GIMRELBW.js +14 -0
- package/dist/chunk-GIMRELBW.js.map +1 -0
- package/dist/chunk-GYVRFZDY.js +2733 -0
- package/dist/chunk-GYVRFZDY.js.map +1 -0
- package/dist/{chunk-LLOLUHVG.js → chunk-HDJWDK7W.js} +1358 -2746
- package/dist/chunk-HDJWDK7W.js.map +1 -0
- package/dist/chunk-I7IWRQLN.js +1608 -0
- package/dist/chunk-I7IWRQLN.js.map +1 -0
- package/dist/chunk-IT4BJUGF.js +13055 -0
- package/dist/chunk-IT4BJUGF.js.map +1 -0
- package/dist/chunk-IWIDV7SB.js +1 -0
- package/dist/chunk-IWIDV7SB.js.map +1 -0
- package/dist/chunk-J2QWVSQY.js +312 -0
- package/dist/chunk-J2QWVSQY.js.map +1 -0
- package/dist/chunk-J6DBS4T3.js +371 -0
- package/dist/chunk-J6DBS4T3.js.map +1 -0
- package/dist/{chunk-B6WPZSTT.js → chunk-JIQYUGVL.js} +1331 -1163
- package/dist/chunk-JIQYUGVL.js.map +1 -0
- package/dist/chunk-JT4JW7BC.js +54 -0
- package/dist/chunk-JT4JW7BC.js.map +1 -0
- package/dist/chunk-K3HQAKQX.js +24 -0
- package/dist/chunk-K3HQAKQX.js.map +1 -0
- package/dist/{chunk-PEI6RANI.js → chunk-PNY3JKBJ.js} +309 -74
- package/dist/chunk-PNY3JKBJ.js.map +1 -0
- package/dist/chunk-RHREZ7BO.js +11 -0
- package/dist/chunk-RHREZ7BO.js.map +1 -0
- package/dist/chunk-RLUSC2WA.js +299 -0
- package/dist/chunk-RLUSC2WA.js.map +1 -0
- package/dist/{chunk-IGC6A2ZI.js → chunk-RSI7XYXL.js} +777 -246
- package/dist/chunk-RSI7XYXL.js.map +1 -0
- package/dist/chunk-SCOTPE2I.js +589 -0
- package/dist/chunk-SCOTPE2I.js.map +1 -0
- package/dist/{chunk-C5ZPSSS5.js → chunk-TKOTKRWY.js} +5 -4
- package/dist/{chunk-C5ZPSSS5.js.map → chunk-TKOTKRWY.js.map} +1 -1
- package/dist/chunk-TMYGL6X5.js +742 -0
- package/dist/chunk-TMYGL6X5.js.map +1 -0
- package/dist/chunk-UGLEYEMP.js +33 -0
- package/dist/chunk-UGLEYEMP.js.map +1 -0
- package/dist/chunk-UK4TINKT.js +27 -0
- package/dist/chunk-UK4TINKT.js.map +1 -0
- package/dist/chunk-UTRTG6LH.js +220 -0
- package/dist/chunk-UTRTG6LH.js.map +1 -0
- package/dist/chunk-WEHMPOXK.js +39 -0
- package/dist/chunk-WEHMPOXK.js.map +1 -0
- package/dist/chunk-WGXVEJO5.js +319 -0
- package/dist/chunk-WGXVEJO5.js.map +1 -0
- package/dist/chunk-WRHIZYZF.js +988 -0
- package/dist/chunk-WRHIZYZF.js.map +1 -0
- package/dist/{chunk-HUIKIDM5.js → chunk-WUISZ3WU.js} +223 -115
- package/dist/chunk-WUISZ3WU.js.map +1 -0
- package/dist/chunk-XCHWDJ22.js +107 -0
- package/dist/chunk-XCHWDJ22.js.map +1 -0
- package/dist/{chunk-KCGXPP5V.js → chunk-Y2PRMYLC.js} +11 -6
- package/dist/chunk-Y2PRMYLC.js.map +1 -0
- package/dist/chunk-YBXQDQFX.js +1772 -0
- package/dist/chunk-YBXQDQFX.js.map +1 -0
- package/dist/chunk-YM2DE7BQ.js +3124 -0
- package/dist/chunk-YM2DE7BQ.js.map +1 -0
- package/dist/{chunk-KZ73RL76.js → chunk-YQEAA6LT.js} +7 -3
- package/dist/chunk-YQEAA6LT.js.map +1 -0
- package/dist/chunk-YV4L3ILF.js +9 -0
- package/dist/chunk-YV4L3ILF.js.map +1 -0
- package/dist/chunk-ZYRGEKWS.js +216 -0
- package/dist/chunk-ZYRGEKWS.js.map +1 -0
- package/dist/client.d.ts +7 -4
- package/dist/clipboard.js +1 -0
- package/dist/commands/types.d.ts +2 -0
- package/dist/components/anthropic-mark.d.ts +3 -0
- package/dist/components/approval-surface.d.ts +15 -0
- package/dist/components/artifacts/artifact-chrome.d.ts +120 -0
- package/dist/components/artifacts/artifact-sandbox.d.ts +27 -0
- package/dist/components/artifacts/artifact-surface.d.ts +3 -1
- package/dist/components/artifacts/chat-interactive-block.d.ts +29 -0
- package/dist/components/artifacts/deferred-chat-media.d.ts +15 -0
- package/dist/components/artifacts/document-editor.d.ts +4 -2
- package/dist/components/artifacts/editable-artifact-ui.d.ts +2 -1
- package/dist/components/artifacts/editable-artifact-view.d.ts +46 -0
- package/dist/components/artifacts/editable-document.d.ts +1 -1
- package/dist/components/artifacts/editable-presentation.d.ts +2 -2
- package/dist/components/artifacts/editable-spreadsheet.d.ts +2 -1
- package/dist/components/artifacts/index.d.ts +8 -1
- package/dist/components/artifacts/inline-html-document.d.ts +2 -0
- package/dist/components/artifacts/latest-task-runner.d.ts +15 -0
- package/dist/components/artifacts/presentation-editor.d.ts +6 -2
- package/dist/components/artifacts/published-html-artifact-frame.d.ts +48 -3
- package/dist/components/artifacts/session-artifact-viewer.d.ts +39 -0
- package/dist/components/artifacts/site-view.d.ts +23 -0
- package/dist/components/artifacts/spreadsheet-general-display.d.ts +24 -0
- package/dist/components/artifacts/visualization-assets.gen.d.ts +2 -0
- package/dist/components/browser-select-control.d.ts +16 -0
- package/dist/components/browser-viewer.d.ts +10 -1
- package/dist/components/chat-composer.d.ts +21 -3
- package/dist/components/child-session-link.d.ts +5 -0
- package/dist/components/claude-mark.d.ts +3 -0
- package/dist/components/code-editor.d.ts +1 -4
- package/dist/components/composer.d.ts +45 -4
- package/dist/components/computer-viewer.d.ts +4 -1
- package/dist/components/copy-button.d.ts +3 -1
- package/dist/components/desktop-viewer.d.ts +1 -1
- package/dist/components/enrollment-consent.d.ts +6 -3
- package/dist/components/file-browser.d.ts +10 -1
- package/dist/components/fleet-tile.d.ts +2 -2
- package/dist/components/grok-mark.d.ts +26 -0
- package/dist/components/human-input-form.d.ts +21 -2
- package/dist/components/human-input-surface.d.ts +6 -3
- package/dist/components/machine-card.d.ts +4 -1
- package/dist/components/machines/machine-detail.d.ts +4 -1
- package/dist/components/machines/machine-operation-policy.d.ts +11 -0
- package/dist/components/machines-dashboard.d.ts +3 -1
- package/dist/components/markdown-table-layout.d.ts +12 -0
- package/dist/components/markdown.d.ts +47 -3
- package/dist/components/message-timeline.d.ts +72 -9
- package/dist/components/model-mark.d.ts +29 -0
- package/dist/components/model-policy-picker-menu.d.ts +9 -0
- package/dist/components/model-policy-picker.d.ts +62 -13
- package/dist/components/open-geni-chat.d.ts +58 -0
- package/dist/components/open-geni-links.d.ts +68 -0
- package/dist/components/openrouter-mark.d.ts +6 -0
- package/dist/components/pierre-file.d.ts +1 -1
- package/dist/components/preview-loading.d.ts +2 -0
- package/dist/components/queue-item-content.d.ts +9 -0
- package/dist/components/sandbox-files.d.ts +13 -2
- package/dist/components/sandbox-workspace.d.ts +43 -3
- package/dist/components/session-capability-frame.d.ts +35 -0
- package/dist/components/session-chrome.d.ts +66 -8
- package/dist/components/session-commands-panel.d.ts +6 -0
- package/dist/components/session-commands.d.ts +6 -0
- package/dist/components/session-connection-request.d.ts +8 -0
- package/dist/components/session-conversation.d.ts +89 -0
- package/dist/components/session-list.d.ts +36 -0
- package/dist/components/session-mcp-capability-card.d.ts +41 -0
- package/dist/components/session-proxy-scope.d.ts +21 -0
- package/dist/components/timeline-anchor.d.ts +24 -0
- package/dist/components/timeline-annotation-chrome.d.ts +25 -0
- package/dist/components/timeline-annotation-layout.d.ts +42 -0
- package/dist/components/timeline-annotation-markers.d.ts +8 -0
- package/dist/components/timeline-annotation-reveal-context.d.ts +4 -0
- package/dist/components/timeline-annotation-shared.d.ts +31 -0
- package/dist/components/timeline-annotations-dialog.d.ts +3 -2
- package/dist/components/timeline-annotations.d.ts +13 -3
- package/dist/components/timeline-reading-progress.d.ts +11 -0
- package/dist/components/timeline-search.d.ts +34 -0
- package/dist/components/timeline-settlement.d.ts +16 -0
- package/dist/components/tip-follow.d.ts +16 -0
- package/dist/components/usage-limit-notice.d.ts +49 -0
- package/dist/components/usage-member-list.d.ts +91 -0
- package/dist/components/usage-meter.d.ts +73 -0
- package/dist/components/use-viewer-menu-dismiss.d.ts +2 -0
- package/dist/components/user-message-body.d.ts +10 -1
- package/dist/components/workspace-dock.d.ts +6 -2
- package/dist/composer.d.ts +5 -4
- package/dist/composer.js +15 -9
- package/dist/computer-viewer-6SRGWRUX.js +19 -0
- package/dist/computer-viewer-6SRGWRUX.js.map +1 -0
- package/dist/connect-account-identity.d.ts +8 -0
- package/dist/connect-accounts.d.ts +15 -0
- package/dist/connect-chooser.d.ts +18 -0
- package/dist/connect-panel.d.ts +18 -0
- package/dist/connect-setup.d.ts +16 -0
- package/dist/connect.d.ts +21 -0
- package/dist/connect.js +2129 -0
- package/dist/connect.js.map +1 -0
- package/dist/connection-catalog.d.ts +38 -0
- package/dist/connection-discovery.d.ts +12 -0
- package/dist/connection-installed.d.ts +17 -0
- package/dist/connection-logo.d.ts +9 -0
- package/dist/connection-service-logo.d.ts +8 -0
- package/dist/connection-service-presentation.d.ts +13 -0
- package/dist/connection-skeleton.d.ts +5 -0
- package/dist/connection-type-picker.d.ts +6 -0
- package/dist/conversation-timeline.d.ts +5 -0
- package/dist/desktop.d.ts +7 -0
- package/dist/desktop.js +26 -0
- package/dist/desktop.js.map +1 -0
- package/dist/device-authorization.d.ts +23 -0
- package/dist/diffs.d.ts +8 -0
- package/dist/diffs.js +14 -0
- package/dist/diffs.js.map +1 -0
- package/dist/discovery-cache.d.ts +5 -0
- package/dist/editor.d.ts +7 -0
- package/dist/editor.js +21 -0
- package/dist/editor.js.map +1 -0
- package/dist/embedded-session-client.d.ts +23 -0
- package/dist/file-node-visibility.d.ts +15 -0
- package/dist/{fleet-decision-row-GGCAT4E4.js → fleet-decision-row-YZ3ZKWMM.js} +2 -1
- package/dist/fleet-decision-row-YZ3ZKWMM.js.map +1 -0
- package/dist/hooks/channel-cache.d.ts +23 -0
- package/dist/hooks/latest-question.d.ts +25 -0
- package/dist/hooks/shared-machines-list.d.ts +14 -0
- package/dist/hooks/use-attached-browsers.d.ts +2 -1
- package/dist/hooks/use-browser-frame-stream.d.ts +1 -1
- package/dist/hooks/use-browser-session.d.ts +12 -1
- package/dist/hooks/use-channels.d.ts +1 -0
- package/dist/hooks/use-codex-accounts.d.ts +25 -7
- package/dist/hooks/use-composer.d.ts +45 -9
- package/dist/hooks/use-computer-frame-stream.d.ts +1 -1
- package/dist/hooks/use-computer-input-posture.d.ts +13 -0
- package/dist/hooks/use-computer-session.d.ts +2 -0
- package/dist/hooks/use-connect.d.ts +22 -0
- package/dist/hooks/use-desktop-stream.d.ts +1 -1
- package/dist/hooks/use-file-attachments.d.ts +21 -2
- package/dist/hooks/use-machine-chip.d.ts +3 -3
- package/dist/hooks/use-machines.d.ts +19 -1
- package/dist/hooks/use-sandbox-files.d.ts +5 -1
- package/dist/hooks/use-session-background-commands.d.ts +14 -0
- package/dist/hooks/use-session-events.d.ts +30 -8
- package/dist/hooks/use-session-lineage.d.ts +4 -0
- package/dist/hooks/use-session-mcp-approval-policy.d.ts +2 -2
- package/dist/hooks/use-session.d.ts +6 -0
- package/dist/hooks/use-turn-queue.d.ts +12 -0
- package/dist/hooks/use-usage.d.ts +40 -0
- package/dist/hooks/use-workspace-edit.d.ts +4 -0
- package/dist/hooks/use-workspace-sessions.d.ts +27 -5
- package/dist/human-input.d.ts +3 -1
- package/dist/identity-link-accounts.d.ts +11 -0
- package/dist/identity-link-consent.d.ts +18 -0
- package/dist/index.d.ts +60 -17
- package/dist/index.js +2238 -6201
- package/dist/index.js.map +1 -1
- package/dist/interaction.d.ts +1 -1
- package/dist/interaction.js +35 -184
- package/dist/interaction.js.map +1 -1
- package/dist/latest-question-HTRIS4KJ.js +117 -0
- package/dist/latest-question-HTRIS4KJ.js.map +1 -0
- package/dist/lib/error-message.d.ts +7 -0
- package/dist/lib/format.d.ts +36 -2
- package/dist/lib/host-theme.d.ts +70 -0
- package/dist/lib/interaction-errors.d.ts +6 -0
- package/dist/lib/menu-styles.d.ts +22 -0
- package/dist/lib/pierre-diffs-loader.d.ts +20 -0
- package/dist/lib/workbench-peers.d.ts +36 -0
- package/dist/lib/xterm-theme.d.ts +7 -5
- package/dist/machines.d.ts +4 -2
- package/dist/machines.js +14 -4
- package/dist/markdown-table-layout-QXSLK4BY.js +106 -0
- package/dist/markdown-table-layout-QXSLK4BY.js.map +1 -0
- package/dist/mcp-connection-status.d.ts +14 -0
- package/dist/model-policy-picker-menu-M54ISBMN.js +14 -0
- package/dist/model-policy-picker-menu-M54ISBMN.js.map +1 -0
- package/dist/model-policy.d.ts +19 -3
- package/dist/model-policy.js +9 -1
- package/dist/older-history.d.ts +30 -0
- package/dist/platform-activity-row-627BFZ46.js +182 -0
- package/dist/platform-activity-row-627BFZ46.js.map +1 -0
- package/dist/plugin-details.d.ts +14 -0
- package/dist/plugin-discovery.d.ts +25 -0
- package/dist/provider.d.ts +13 -1
- package/dist/{queue-surface-implementation-2KVJTYXH.js → queue-surface-implementation-ZHFI5JBP.js} +131 -44
- package/dist/queue-surface-implementation-ZHFI5JBP.js.map +1 -0
- package/dist/realtime/realtime-control.d.ts +6 -3
- package/dist/realtime.js +133 -74
- package/dist/realtime.js.map +1 -1
- package/dist/sandbox-files-GORZOUUJ.js +20 -0
- package/dist/sandbox-files-GORZOUUJ.js.map +1 -0
- package/dist/session-auth-recommendation.d.ts +5 -0
- package/dist/session-capability-policy.d.ts +12 -0
- package/dist/session-ui.d.ts +30 -2
- package/dist/session-ui.js +85 -7
- package/dist/session-ui.js.map +1 -1
- package/dist/session.d.ts +8 -2
- package/dist/session.js +30 -19
- package/dist/sites-ui.d.ts +34 -0
- package/dist/sites.d.ts +3 -0
- package/dist/sites.js +11 -0
- package/dist/sites.js.map +1 -0
- package/dist/skill-discovery.d.ts +47 -0
- package/dist/terminal.d.ts +8 -0
- package/dist/terminal.js +31 -0
- package/dist/terminal.js.map +1 -0
- package/dist/timeline/activity-rail.d.ts +11 -2
- package/dist/timeline/allowance-exhausted-row.d.ts +24 -0
- package/dist/timeline/compaction-copy.d.ts +10 -0
- package/dist/timeline/entrance.d.ts +13 -1
- package/dist/timeline/genie-loading.d.ts +34 -0
- package/dist/timeline/index.d.ts +6 -2
- package/dist/timeline/knowledge-receipt.d.ts +17 -0
- package/dist/timeline/platform-activity-row.d.ts +14 -0
- package/dist/timeline/presented-image.d.ts +6 -0
- package/dist/timeline/projection.d.ts +31 -2
- package/dist/timeline/registry.d.ts +2 -0
- package/dist/timeline/retained-image.d.ts +18 -0
- package/dist/timeline/rolling-activity.d.ts +11 -0
- package/dist/timeline/screenshot-lightbox.d.ts +16 -1
- package/dist/timeline/shared.d.ts +8 -3
- package/dist/timeline/startup-preference.d.ts +3 -0
- package/dist/timeline/startup-timings.d.ts +4 -0
- package/dist/timeline/tool-display-name.d.ts +2 -1
- package/dist/timeline/turn-summary.d.ts +34 -3
- package/dist/timeline/types.d.ts +147 -7
- package/dist/timeline-annotation-markers-GNDHTGBD.js +165 -0
- package/dist/timeline-annotation-markers-GNDHTGBD.js.map +1 -0
- package/dist/timeline-annotation-selection-DMLMM2TX.js +241 -0
- package/dist/timeline-annotation-selection-DMLMM2TX.js.map +1 -0
- package/dist/timeline-annotations-dialog-ELRDBHTS.js +273 -0
- package/dist/timeline-annotations-dialog-ELRDBHTS.js.map +1 -0
- package/dist/types/machines.d.ts +2 -2
- package/dist/usage/allowance-copy.d.ts +25 -0
- package/dist/usage/summary.d.ts +35 -0
- package/dist/usage.d.ts +13 -0
- package/dist/usage.js +1074 -0
- package/dist/usage.js.map +1 -0
- package/package.json +44 -4
- package/src/accounts.tsx +1072 -0
- package/src/approvals.ts +8 -1
- package/src/artifacts.ts +42 -0
- package/src/assets/README.md +8 -0
- package/src/assets/gmail.ico +0 -0
- package/src/assets/outlook.ico +0 -0
- package/src/capability-catalog-row.tsx +94 -0
- package/src/capability-logo-fallback.ts +22 -0
- package/src/client.ts +22 -13
- package/src/commands/registry.ts +18 -15
- package/src/commands/types.ts +2 -0
- package/src/components/anthropic-mark.tsx +10 -0
- package/src/components/approval-surface.tsx +171 -37
- package/src/components/artifacts/artifact-chrome.tsx +413 -0
- package/src/components/artifacts/artifact-sandbox.tsx +185 -0
- package/src/components/artifacts/artifact-surface.tsx +39 -19
- package/src/components/artifacts/chat-interactive-block.tsx +260 -0
- package/src/components/artifacts/deferred-chat-media.tsx +67 -0
- package/src/components/artifacts/document-editor.tsx +141 -16
- package/src/components/artifacts/editable-artifact-ui.tsx +4 -2
- package/src/components/artifacts/editable-artifact-view.tsx +187 -0
- package/src/components/artifacts/editable-artifact-workbench.tsx +5 -2
- package/src/components/artifacts/editable-document.tsx +37 -36
- package/src/components/artifacts/editable-presentation.tsx +36 -18
- package/src/components/artifacts/editable-spreadsheet.tsx +5 -2
- package/src/components/artifacts/index.ts +44 -0
- package/src/components/artifacts/inline-html-document.ts +24 -0
- package/src/components/artifacts/latest-task-runner.ts +49 -0
- package/src/components/artifacts/presentation-editor.tsx +323 -67
- package/src/components/artifacts/published-html-artifact-frame.tsx +338 -5
- package/src/components/artifacts/session-artifact-viewer.tsx +376 -0
- package/src/components/artifacts/site-view.tsx +116 -0
- package/src/components/artifacts/spreadsheet-canvas.ts +5 -10
- package/src/components/artifacts/spreadsheet-general-display.ts +43 -0
- package/src/components/artifacts/spreadsheet-grid.tsx +12 -13
- package/src/components/artifacts/visualization-assets/base.css +1015 -0
- package/src/components/artifacts/visualization-assets/helpers.html +349 -0
- package/src/components/artifacts/visualization-assets.gen.ts +3 -0
- package/src/components/browser-select-control.tsx +312 -0
- package/src/components/browser-viewer.tsx +1054 -314
- package/src/components/chat-composer.tsx +131 -85
- package/src/components/child-session-link.tsx +27 -0
- package/src/components/claude-mark.tsx +10 -0
- package/src/components/code-editor.tsx +13 -16
- package/src/components/composer-transcription-control.tsx +7 -5
- package/src/components/composer.tsx +376 -49
- package/src/components/computer-viewer.tsx +1041 -329
- package/src/components/copy-button.tsx +13 -5
- package/src/components/desktop-viewer.tsx +1 -1
- package/src/components/enrollment-consent.tsx +65 -7
- package/src/components/enrollment-device-flow.tsx +1 -1
- package/src/components/file-browser.tsx +158 -34
- package/src/components/fleet-tile.tsx +8 -16
- package/src/components/generated-video-player.tsx +4 -2
- package/src/components/grok-mark.tsx +33 -0
- package/src/components/human-input-form.tsx +455 -114
- package/src/components/human-input-surface.tsx +18 -7
- package/src/components/interaction-intervention-banner.tsx +2 -2
- package/src/components/machine-card.tsx +119 -4
- package/src/components/machine-dock-bar.tsx +1 -1
- package/src/components/machine-input-display.ts +23 -2
- package/src/components/machines/machine-detail.tsx +52 -2
- package/src/components/machines/machine-operation-policy.tsx +179 -0
- package/src/components/machines-dashboard.tsx +8 -17
- package/src/components/markdown-table-layout.ts +132 -0
- package/src/components/markdown.tsx +473 -44
- package/src/components/message-timeline.tsx +2754 -665
- package/src/components/model-mark.tsx +90 -0
- package/src/components/model-picker.tsx +15 -4
- package/src/components/model-policy-picker-menu.tsx +424 -0
- package/src/components/model-policy-picker.tsx +337 -381
- package/src/components/open-geni-chat.tsx +338 -0
- package/src/components/open-geni-links.tsx +179 -0
- package/src/components/openrouter-mark.tsx +13 -0
- package/src/components/pierre-diff.tsx +41 -16
- package/src/components/pierre-file.tsx +36 -11
- package/src/components/preview-loading.tsx +154 -0
- package/src/components/queue-item-content.ts +14 -0
- package/src/components/queue-surface-implementation.tsx +132 -42
- package/src/components/queue-surface-state.tsx +3 -1
- package/src/components/sandbox-files.tsx +267 -35
- package/src/components/sandbox-terminal.tsx +48 -11
- package/src/components/sandbox-workspace.tsx +337 -135
- package/src/components/session-capability-frame.tsx +192 -0
- package/src/components/session-chrome.tsx +1027 -328
- package/src/components/session-commands-panel.tsx +126 -0
- package/src/components/session-commands.tsx +18 -0
- package/src/components/session-connection-request.tsx +97 -0
- package/src/components/session-conversation.tsx +526 -0
- package/src/components/session-list.tsx +250 -0
- package/src/components/session-mcp-capability-card.tsx +680 -0
- package/src/components/session-proxy-scope.tsx +92 -0
- package/src/components/session-status.tsx +1 -1
- package/src/components/timeline-anchor.tsx +119 -0
- package/src/components/timeline-annotation-chrome.tsx +196 -0
- package/src/components/timeline-annotation-layout.ts +268 -0
- package/src/components/timeline-annotation-markers.tsx +185 -0
- package/src/components/timeline-annotation-reveal-context.ts +9 -0
- package/src/components/timeline-annotation-selection.tsx +106 -54
- package/src/components/timeline-annotation-shared.ts +245 -0
- package/src/components/timeline-annotations-dialog.tsx +185 -128
- package/src/components/timeline-annotations.tsx +189 -45
- package/src/components/timeline-reading-progress.ts +80 -0
- package/src/components/timeline-search.tsx +168 -0
- package/src/components/timeline-settlement.ts +60 -0
- package/src/components/tip-follow.ts +70 -7
- package/src/components/tooltip.tsx +38 -5
- package/src/components/usage-limit-notice.tsx +179 -0
- package/src/components/usage-member-list.tsx +792 -0
- package/src/components/usage-meter.tsx +382 -0
- package/src/components/use-viewer-menu-dismiss.ts +33 -0
- package/src/components/user-message-body.tsx +194 -49
- package/src/components/workspace-dock.tsx +141 -175
- package/src/composer.ts +6 -1
- package/src/connect-account-identity.tsx +34 -0
- package/src/connect-accounts.tsx +233 -0
- package/src/connect-chooser.tsx +336 -0
- package/src/connect-panel.tsx +99 -0
- package/src/connect-setup.tsx +307 -0
- package/src/connect.ts +60 -0
- package/src/connection-assets.d.ts +4 -0
- package/src/connection-catalog.tsx +162 -0
- package/src/connection-discovery.tsx +235 -0
- package/src/connection-installed.tsx +51 -0
- package/src/connection-logo.tsx +37 -0
- package/src/connection-service-logo.tsx +55 -0
- package/src/connection-service-presentation.ts +46 -0
- package/src/connection-skeleton.tsx +16 -0
- package/src/connection-type-picker.tsx +36 -0
- package/src/conversation-timeline.ts +92 -0
- package/src/desktop.ts +24 -0
- package/src/device-authorization.tsx +98 -0
- package/src/diffs.ts +16 -0
- package/src/discovery-cache.ts +42 -0
- package/src/editor.ts +13 -0
- package/src/embedded-session-client.ts +104 -0
- package/src/file-node-visibility.ts +66 -0
- package/src/hooks/channel-cache.ts +104 -0
- package/src/hooks/internal.ts +3 -2
- package/src/hooks/latest-question.ts +164 -0
- package/src/hooks/shared-machines-list.ts +239 -0
- package/src/hooks/use-attached-browsers.ts +5 -1
- package/src/hooks/use-available-models.ts +20 -14
- package/src/hooks/use-browser-frame-stream.ts +25 -3
- package/src/hooks/use-browser-session.ts +271 -71
- package/src/hooks/use-browser-sessions.ts +7 -1
- package/src/hooks/use-channels.ts +32 -10
- package/src/hooks/use-codex-accounts.ts +78 -21
- package/src/hooks/use-composer.ts +1034 -320
- package/src/hooks/use-computer-frame-stream.ts +39 -16
- package/src/hooks/use-computer-input-posture.ts +94 -0
- package/src/hooks/use-computer-session.ts +110 -32
- package/src/hooks/use-computer-sessions.ts +8 -1
- package/src/hooks/use-connect.ts +23 -0
- package/src/hooks/use-desktop-stream.ts +19 -28
- package/src/hooks/use-file-attachments.ts +118 -10
- package/src/hooks/use-goal.ts +36 -9
- package/src/hooks/use-human-input.ts +31 -4
- package/src/hooks/use-last-started-turn-policy.ts +15 -13
- package/src/hooks/use-machine-chip.ts +23 -6
- package/src/hooks/use-machines.ts +104 -6
- package/src/hooks/use-sandbox-files.ts +253 -150
- package/src/hooks/use-sandbox-git.ts +58 -29
- package/src/hooks/use-session-background-commands.ts +67 -0
- package/src/hooks/use-session-capabilities.ts +21 -2
- package/src/hooks/use-session-events.ts +759 -433
- package/src/hooks/use-session-lineage.ts +28 -6
- package/src/hooks/use-session-mcp-approval-policy.ts +13 -5
- package/src/hooks/use-session.ts +75 -16
- package/src/hooks/use-slash-commands.ts +6 -11
- package/src/hooks/use-turn-queue.ts +113 -13
- package/src/hooks/use-usage.ts +100 -0
- package/src/hooks/use-video-artifact-playback.ts +1 -1
- package/src/hooks/use-voice-input.ts +12 -1
- package/src/hooks/use-workspace-capture.ts +3 -2
- package/src/hooks/use-workspace-edit.ts +23 -5
- package/src/hooks/use-workspace-sessions.ts +99 -11
- package/src/human-input.ts +12 -1
- package/src/identity-link-accounts.tsx +148 -0
- package/src/identity-link-consent.tsx +192 -0
- package/src/index.ts +157 -12
- package/src/interaction.ts +1 -0
- package/src/lib/error-message.ts +37 -0
- package/src/lib/format.ts +150 -14
- package/src/lib/host-theme.ts +511 -0
- package/src/lib/interaction-errors.ts +33 -0
- package/src/lib/menu-styles.ts +44 -0
- package/src/lib/pierre-diffs-loader.ts +53 -0
- package/src/lib/workbench-peers.ts +62 -0
- package/src/lib/xterm-theme.ts +23 -21
- package/src/machines.ts +9 -1
- package/src/mcp-connection-status.ts +35 -0
- package/src/model-policy.ts +223 -69
- package/src/older-history.ts +87 -0
- package/src/plugin-details.tsx +185 -0
- package/src/plugin-discovery.tsx +196 -0
- package/src/provider.tsx +55 -14
- package/src/realtime/dropdown-menu.tsx +19 -12
- package/src/realtime/realtime-control.tsx +133 -46
- package/src/session-auth-recommendation.ts +48 -0
- package/src/session-capability-policy.ts +83 -0
- package/src/session-context.ts +4 -3
- package/src/session-ui.ts +66 -2
- package/src/session.ts +18 -1
- package/src/sites-ui.tsx +402 -0
- package/src/sites.ts +3 -0
- package/src/skill-discovery.tsx +208 -0
- package/src/terminal.ts +26 -0
- package/src/timeline/activity-rail.tsx +171 -80
- package/src/timeline/allowance-exhausted-row.tsx +86 -0
- package/src/timeline/compaction-copy.ts +42 -0
- package/src/timeline/entrance.tsx +28 -3
- package/src/timeline/fleet-decision-projection.ts +2 -1
- package/src/timeline/fleet-decision-row.tsx +1 -0
- package/src/timeline/genie-loading.tsx +136 -0
- package/src/timeline/index.ts +11 -0
- package/src/timeline/knowledge-receipt.tsx +100 -0
- package/src/timeline/parsers.ts +2 -2
- package/src/timeline/platform-activity-row.tsx +216 -0
- package/src/timeline/presented-image.ts +49 -0
- package/src/timeline/projection.ts +1609 -84
- package/src/timeline/registry.ts +15 -3
- package/src/timeline/retained-image.ts +97 -0
- package/src/timeline/rolling-activity.tsx +92 -0
- package/src/timeline/screenshot-lightbox.tsx +115 -17
- package/src/timeline/shared.tsx +47 -15
- package/src/timeline/startup-preference.ts +33 -0
- package/src/timeline/startup-timings.tsx +145 -0
- package/src/timeline/tool-display-name.ts +8 -6
- package/src/timeline/tool-renderers.tsx +497 -128
- package/src/timeline/turn-summary.tsx +218 -44
- package/src/timeline/types.ts +192 -7
- package/src/types/machines.ts +10 -0
- package/src/usage/allowance-copy.ts +64 -0
- package/src/usage/summary.ts +93 -0
- package/src/usage.ts +50 -0
- package/styles/compiled.css +2098 -757
- package/styles/connect.css +284 -0
- package/styles/connect.d.ts +1 -0
- package/styles/effective-tokens.css +1 -0
- package/styles/index.css +201 -9
- package/styles/responsive.css +27 -1
- package/styles/session-capability.css +44 -0
- package/styles/tokens.css +135 -65
- package/dist/chunk-5UQPNLIO.js.map +0 -1
- package/dist/chunk-6KLX2RH5.js.map +0 -1
- package/dist/chunk-7WCLAEFV.js.map +0 -1
- package/dist/chunk-B6WPZSTT.js.map +0 -1
- package/dist/chunk-FK6VG4LL.js +0 -90
- package/dist/chunk-FK6VG4LL.js.map +0 -1
- package/dist/chunk-HA46CYQK.js.map +0 -1
- package/dist/chunk-HUIKIDM5.js.map +0 -1
- package/dist/chunk-IGC6A2ZI.js.map +0 -1
- package/dist/chunk-KCGXPP5V.js.map +0 -1
- package/dist/chunk-KZ73RL76.js.map +0 -1
- package/dist/chunk-LAKLF4PA.js +0 -141
- package/dist/chunk-LAKLF4PA.js.map +0 -1
- package/dist/chunk-LLOLUHVG.js.map +0 -1
- package/dist/chunk-MKPIAGVL.js +0 -465
- package/dist/chunk-MKPIAGVL.js.map +0 -1
- package/dist/chunk-PEI6RANI.js.map +0 -1
- package/dist/chunk-R3AZOAB5.js.map +0 -1
- package/dist/chunk-WSK7G5LE.js +0 -170
- package/dist/chunk-WSK7G5LE.js.map +0 -1
- package/dist/chunk-XBZWOM2K.js +0 -218
- package/dist/chunk-XBZWOM2K.js.map +0 -1
- package/dist/chunk-Y7OEDUJ5.js +0 -8810
- package/dist/chunk-Y7OEDUJ5.js.map +0 -1
- package/dist/fleet-decision-row-GGCAT4E4.js.map +0 -1
- package/dist/hooks/use-packs.d.ts +0 -32
- package/dist/interactive-workbench-viewers-TOHBXJEE.js +0 -15
- package/dist/queue-surface-implementation-2KVJTYXH.js.map +0 -1
- package/dist/timeline-annotation-selection-3L7LHGG2.js +0 -187
- package/dist/timeline-annotation-selection-3L7LHGG2.js.map +0 -1
- package/dist/timeline-annotations-dialog-U7EVLR75.js +0 -196
- package/dist/timeline-annotations-dialog-U7EVLR75.js.map +0 -1
- package/src/hooks/use-packs.ts +0 -157
- /package/dist/{interactive-workbench-viewers-TOHBXJEE.js.map → browser-viewer-SHYKQRNX.js.map} +0 -0
package/dist/session-ui.js
CHANGED
|
@@ -1,32 +1,110 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ApprovalSurface,
|
|
2
3
|
BUILT_IN_TURN_SUMMARY_FACET_IDS,
|
|
3
4
|
HumanInputForm,
|
|
4
5
|
HumanInputSurface,
|
|
6
|
+
KnowledgeActivityProvider,
|
|
5
7
|
MessageTimeline,
|
|
8
|
+
OpenGeniChat,
|
|
6
9
|
QueueSurface,
|
|
7
10
|
SessionChrome,
|
|
11
|
+
SessionCommands,
|
|
12
|
+
SessionCommandsPanel,
|
|
13
|
+
SessionConversation,
|
|
14
|
+
SessionList,
|
|
15
|
+
StartupTimings,
|
|
8
16
|
TimelineRow,
|
|
9
17
|
UserMessageBody,
|
|
18
|
+
createDefaultToolRegistry,
|
|
19
|
+
createToolRegistry,
|
|
20
|
+
defaultToolRegistry,
|
|
21
|
+
sessionChromeGoalPillExplanation,
|
|
22
|
+
sessionChromeGoalPillLabel,
|
|
10
23
|
sessionChromeGoalPillState,
|
|
24
|
+
setStartupDetails,
|
|
25
|
+
useStartupDetails,
|
|
11
26
|
userMessageLikelyNeedsDisclosure
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-IT4BJUGF.js";
|
|
28
|
+
import "./chunk-UK4TINKT.js";
|
|
29
|
+
import "./chunk-J2QWVSQY.js";
|
|
30
|
+
import "./chunk-C5X5AJXK.js";
|
|
31
|
+
import "./chunk-ZYRGEKWS.js";
|
|
32
|
+
import "./chunk-FZCP527Y.js";
|
|
33
|
+
import {
|
|
34
|
+
ArtifactLabelsProvider,
|
|
35
|
+
DEFAULT_ARTIFACT_LABELS
|
|
36
|
+
} from "./chunk-5CVXZA3Y.js";
|
|
37
|
+
import {
|
|
38
|
+
createOlderHistoryLoadReceipt
|
|
39
|
+
} from "./chunk-JIQYUGVL.js";
|
|
40
|
+
import "./chunk-DO544OSV.js";
|
|
41
|
+
import "./chunk-ERGYJIBB.js";
|
|
42
|
+
import {
|
|
43
|
+
OpenGeniProvider
|
|
44
|
+
} from "./chunk-3CTRFMAK.js";
|
|
45
|
+
import "./chunk-I7IWRQLN.js";
|
|
46
|
+
import "./chunk-GIMRELBW.js";
|
|
47
|
+
import "./chunk-447JLCBU.js";
|
|
48
|
+
import {
|
|
49
|
+
OpenGeniLinkProvider,
|
|
50
|
+
chainLinkResolvers,
|
|
51
|
+
sessionLinkResolver,
|
|
52
|
+
useOpenGeniLinkResolver,
|
|
53
|
+
viewerLinkResolver
|
|
54
|
+
} from "./chunk-XCHWDJ22.js";
|
|
55
|
+
import "./chunk-A2PI6UMY.js";
|
|
56
|
+
import "./chunk-JVYQRRC4.js";
|
|
57
|
+
import "./chunk-EN3YTHKR.js";
|
|
58
|
+
import "./chunk-RSI7XYXL.js";
|
|
59
|
+
import "./chunk-BRM6FVZA.js";
|
|
60
|
+
import "./chunk-26ZNDDLZ.js";
|
|
61
|
+
import "./chunk-K3HQAKQX.js";
|
|
62
|
+
import "./chunk-RLUSC2WA.js";
|
|
16
63
|
import "./chunk-VZTQ73XT.js";
|
|
17
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-UTRTG6LH.js";
|
|
65
|
+
import "./chunk-B3V6TG77.js";
|
|
66
|
+
import "./chunk-YQEAA6LT.js";
|
|
67
|
+
import "./chunk-UGLEYEMP.js";
|
|
68
|
+
import "./chunk-TKOTKRWY.js";
|
|
18
69
|
import "./chunk-22KP6LR5.js";
|
|
19
|
-
|
|
70
|
+
|
|
71
|
+
// src/session-ui.ts
|
|
72
|
+
import { parseOpenGeniLink } from "@opengeni/sdk";
|
|
20
73
|
export {
|
|
74
|
+
ApprovalSurface,
|
|
75
|
+
ArtifactLabelsProvider,
|
|
21
76
|
BUILT_IN_TURN_SUMMARY_FACET_IDS,
|
|
77
|
+
DEFAULT_ARTIFACT_LABELS,
|
|
22
78
|
HumanInputForm,
|
|
23
79
|
HumanInputSurface,
|
|
80
|
+
KnowledgeActivityProvider,
|
|
24
81
|
MessageTimeline,
|
|
82
|
+
OpenGeniChat,
|
|
83
|
+
OpenGeniLinkProvider,
|
|
84
|
+
OpenGeniProvider,
|
|
25
85
|
QueueSurface,
|
|
26
86
|
SessionChrome,
|
|
87
|
+
SessionCommands,
|
|
88
|
+
SessionCommandsPanel,
|
|
89
|
+
SessionConversation,
|
|
90
|
+
SessionList,
|
|
91
|
+
StartupTimings,
|
|
27
92
|
TimelineRow,
|
|
28
93
|
UserMessageBody,
|
|
94
|
+
chainLinkResolvers,
|
|
95
|
+
createDefaultToolRegistry,
|
|
96
|
+
createOlderHistoryLoadReceipt,
|
|
97
|
+
createToolRegistry,
|
|
98
|
+
defaultToolRegistry,
|
|
99
|
+
parseOpenGeniLink,
|
|
100
|
+
sessionChromeGoalPillExplanation,
|
|
101
|
+
sessionChromeGoalPillLabel,
|
|
29
102
|
sessionChromeGoalPillState,
|
|
30
|
-
|
|
103
|
+
sessionLinkResolver,
|
|
104
|
+
setStartupDetails,
|
|
105
|
+
useOpenGeniLinkResolver,
|
|
106
|
+
useStartupDetails,
|
|
107
|
+
userMessageLikelyNeedsDisclosure,
|
|
108
|
+
viewerLinkResolver
|
|
31
109
|
};
|
|
32
110
|
//# sourceMappingURL=session-ui.js.map
|
package/dist/session-ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/session-ui.ts"],"sourcesContent":["// @opengeni/react/session-ui — styled surfaces used by the session route.\n// Keep these separate from the hook-only session entry and the broad root barrel\n// so session hosts do not pay for unrelated React surfaces.\nexport { HumanInputForm } from \"./components/human-input-form\";\nexport type {\n HumanInputAnswerDraft,\n HumanInputFormMessages,\n HumanInputFormProps,\n} from \"./components/human-input-form\";\nexport { HumanInputSurface } from \"./components/human-input-surface\";\nexport { ApprovalSurface } from \"./components/approval-surface\";\nexport type { ApprovalSurfaceProps, ApprovalSurfaceMessages } from \"./components/approval-surface\";\nexport type { HumanInputSurfaceProps } from \"./components/human-input-surface\";\nexport { MessageTimeline, TimelineRow } from \"./components/message-timeline\";\nexport type { MessageTimelineProps } from \"./components/message-timeline\";\nexport type { RenderAllowanceExhausted } from \"./timeline/allowance-exhausted-row\";\nexport type { AllowanceLabels, AllowanceScope } from \"./usage/allowance-copy\";\nexport {\n OpenGeniLinkProvider,\n chainLinkResolvers,\n sessionLinkResolver,\n useOpenGeniLinkResolver,\n viewerLinkResolver,\n} from \"./components/open-geni-links\";\nexport type {\n OpenGeniLinkResolution,\n OpenGeniLinkResolver,\n OpenGeniLinkTarget,\n OpenGeniViewerTarget,\n} from \"./components/open-geni-links\";\nexport { parseOpenGeniLink } from \"@opengeni/sdk\";\nexport {\n ArtifactLabelsProvider,\n DEFAULT_ARTIFACT_LABELS,\n type ArtifactLabels,\n} from \"./components/artifacts/artifact-chrome\";\nexport type { TimelineSearchTarget } from \"./components/timeline-search\";\nexport { createOlderHistoryLoadReceipt } from \"./older-history\";\nexport type { OlderHistoryLoader, OlderHistoryLoadReceipt } from \"./older-history\";\nexport { UserMessageBody, userMessageLikelyNeedsDisclosure } from \"./components/user-message-body\";\nexport type {\n UserMessageBodyProps,\n UserMessageDisclosureLabels,\n} from \"./components/user-message-body\";\nexport { BUILT_IN_TURN_SUMMARY_FACET_IDS } from \"./timeline/turn-summary\";\nexport type {\n BuiltInTurnSummaryFacetId,\n TurnSummaryContext,\n TurnSummaryFacet,\n TurnSummaryFacetConfiguration,\n TurnSummaryFacetResult,\n TurnSummaryOptions,\n} from \"./timeline/turn-summary\";\nexport { QueueSurface } from \"./components/queue-surface\";\n// The provider too, so a host needs only this entry (the root also exports the\n// workbench, whose editors, terminal and desktop are optional peers).\nexport { OpenGeniProvider } from \"./provider\";\nexport type { OpenGeniProviderProps, ErrorMessageFormatter } from \"./provider\";\n// The tool-renderer registry, so custom tool renderers need no root import.\nexport { createDefaultToolRegistry, createToolRegistry, defaultToolRegistry } from \"./timeline\";\nexport type {\n CreateToolRegistryOptions,\n ToolRegistry,\n ToolRegistryEntry,\n ToolRenderer,\n ToolRendererProps,\n} from \"./timeline\";\nexport { SessionConversation } from \"./components/session-conversation\";\nexport { SessionList } from \"./components/session-list\";\nexport type { SessionListLabels, SessionListProps } from \"./components/session-list\";\nexport { OpenGeniChat } from \"./components/open-geni-chat\";\nexport type { OpenGeniChatLabels, OpenGeniChatProps } from \"./components/open-geni-chat\";\nexport type {\n SessionConversationLabels,\n SessionConversationProps,\n} from \"./components/session-conversation\";\nexport type { QueueSurfaceProps } from \"./components/queue-surface\";\nexport {\n SessionChrome,\n sessionChromeGoalPillExplanation,\n sessionChromeGoalPillLabel,\n sessionChromeGoalPillState,\n} from \"./components/session-chrome\";\nexport type {\n SessionChromeAgentsSignal,\n SessionChromeProps,\n SessionChromeSignalId,\n SessionChromeSignalTone,\n} from \"./components/session-chrome\";\nexport { SessionCommandsPanel } from \"./components/session-commands-panel\";\nexport { SessionCommands } from \"./components/session-commands\";\n\nexport { KnowledgeActivityProvider } from \"./timeline/knowledge-receipt\";\nexport type { KnowledgeActivityActions } from \"./timeline/knowledge-receipt\";\nexport { StartupTimings } from \"./timeline/startup-timings\";\nexport { useStartupDetails, setStartupDetails } from \"./timeline/startup-preference\";\nexport type { GenieLoadingOptions } from \"./timeline/genie-loading\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,SAAS,yBAAyB;","names":[]}
|
package/dist/session.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
export type { EmbeddedFileAttachmentClientLike as FileAttachmentClientLike, EmbeddedGoalClientLike as GoalClientLike, EmbeddedHumanInputSessionClientLike as HumanInputSessionClientLike, EmbeddedSessionLineageClientLike as SessionLineageClientLike, EmbeddedSessionMcpApprovalPolicyClientLike as SessionMcpApprovalPolicyClientLike, EmbeddedSessionReadClientLike as SessionReadClientLike, EmbeddedSessionClientLike as SessionClientLike, } from "./client.js";
|
|
2
2
|
export type { EmbeddedFileAttachmentClientOverride as FileAttachmentClientOverride, EmbeddedGoalClientOverride as GoalClientOverride, EmbeddedHumanInputClientOverride as HumanInputClientOverride, EmbeddedSessionLineageClientOverride as SessionLineageClientOverride, EmbeddedSessionMcpApprovalPolicyClientOverride as SessionMcpApprovalPolicyClientOverride, EmbeddedSessionReadClientOverride as SessionReadClientOverride, EmbeddedSessionClientOverride as ClientOverride, } from "./session-context.js";
|
|
3
|
+
export { createEmbeddedSessionClient } from "./embedded-session-client.js";
|
|
4
|
+
export { conversationTimeline } from "./conversation-timeline.js";
|
|
5
|
+
export type { ComposerDraftMapContext, CreateEmbeddedSessionClientOptions, } from "./embedded-session-client.js";
|
|
3
6
|
export { useSession, isTitleEvent } from "./hooks/use-session.js";
|
|
4
7
|
export type { UseSessionOptions, UseSessionResult } from "./hooks/use-session.js";
|
|
5
8
|
export { useSessionEvents } from "./hooks/use-session-events.js";
|
|
6
9
|
export type { SessionEventsConnectionState, UseSessionEventsOptions, UseSessionEventsResult, } from "./hooks/use-session-events.js";
|
|
10
|
+
export { createOlderHistoryLoadReceipt } from "./older-history.js";
|
|
11
|
+
export type { OlderHistoryLoader, OlderHistoryLoadReceipt } from "./older-history.js";
|
|
7
12
|
export { useComposer, composeSendInput, shouldSteerOnKey, shouldSubmitOnKey, FILE_ONLY_MESSAGE_TEXT, } from "./hooks/use-composer.js";
|
|
8
|
-
export type { ComposerSendExtras, ComposerState, UseComposerOptions } from "./hooks/use-composer.js";
|
|
13
|
+
export type { ComposerControllerState, ComposerPolicy, ComposerSendExtras, ComposerState, UseComposerOptions, } from "./hooks/use-composer.js";
|
|
9
14
|
export { useFileAttachments } from "./hooks/use-file-attachments.js";
|
|
10
15
|
export type { FileAttachment, UseFileAttachmentsOptions, UseFileAttachmentsResult, } from "./hooks/use-file-attachments.js";
|
|
11
16
|
export { useTurnQueue, isTurnQueueEvent } from "./hooks/use-turn-queue.js";
|
|
@@ -25,4 +30,5 @@ export type { PendingHumanInputRequest } from "./human-input.js";
|
|
|
25
30
|
export { isHumanInputEvent, useHumanInputRequests } from "./hooks/use-human-input.js";
|
|
26
31
|
export type { UseHumanInputRequestsOptions, UseHumanInputRequestsResult, } from "./hooks/use-human-input.js";
|
|
27
32
|
export { buildTimeline, creditExhaustedFromEvents, extractSessionRef, groupTimeline, sessionStatusFromEvents, toolDisplayName, } from "./timeline/projection.js";
|
|
28
|
-
export type {
|
|
33
|
+
export type { GroupTimelineOptions } from "./timeline/projection.js";
|
|
34
|
+
export type { ActivityItem, AgentMessageItem, AuthNeededItem, GoalItem, HumanInputAnswerSummary, HumanInputItem, MachineInputBatchItem, MachineInputMember, MemoryItem, NoticeItem, ReasoningItem, SandboxItem, SessionStatusItem, TimelineGroup, TimelineItem, TurnOutcome, ToolCallItem, TurnEndItem, UserMessageItem, WorkerCompletionItem, WorkerItem, } from "./timeline/types.js";
|
package/dist/session.js
CHANGED
|
@@ -1,47 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
humanInputRequestFromEvent,
|
|
2
|
+
createEmbeddedSessionClient,
|
|
4
3
|
isGoalEvent,
|
|
5
|
-
isHumanInputEvent,
|
|
6
4
|
isLineageRefreshEvent,
|
|
7
5
|
isSessionMcpApprovalPolicyEvent,
|
|
6
|
+
useGoal,
|
|
7
|
+
useSessionLineage,
|
|
8
|
+
useSessionMcpApprovalPolicy
|
|
9
|
+
} from "./chunk-742CZ3L3.js";
|
|
10
|
+
import {
|
|
11
|
+
approvalsFromRequiresAction,
|
|
12
|
+
conversationTimeline,
|
|
13
|
+
createOlderHistoryLoadReceipt,
|
|
14
|
+
humanInputRequestFromEvent,
|
|
15
|
+
isHumanInputEvent,
|
|
8
16
|
isTitleEvent,
|
|
9
17
|
isTurnQueueEvent,
|
|
10
18
|
projectPendingApprovals,
|
|
11
19
|
projectPendingHumanInputRequests,
|
|
12
20
|
useFileAttachments,
|
|
13
|
-
useGoal,
|
|
14
21
|
useHumanInputRequests,
|
|
15
22
|
useSession,
|
|
16
23
|
useSessionControl,
|
|
17
24
|
useSessionEvents,
|
|
18
|
-
useSessionLineage,
|
|
19
|
-
useSessionMcpApprovalPolicy,
|
|
20
25
|
useTurnQueue
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import {
|
|
23
|
-
FILE_ONLY_MESSAGE_TEXT,
|
|
24
|
-
composeSendInput,
|
|
25
|
-
shouldSteerOnKey,
|
|
26
|
-
shouldSubmitOnKey,
|
|
27
|
-
useComposer
|
|
28
|
-
} from "./chunk-IGC6A2ZI.js";
|
|
26
|
+
} from "./chunk-JIQYUGVL.js";
|
|
29
27
|
import {
|
|
30
28
|
buildTimeline,
|
|
31
29
|
creditExhaustedFromEvents,
|
|
32
30
|
extractSessionRef,
|
|
33
31
|
groupTimeline,
|
|
34
|
-
sessionStatusFromEvents
|
|
32
|
+
sessionStatusFromEvents
|
|
33
|
+
} from "./chunk-DO544OSV.js";
|
|
34
|
+
import {
|
|
35
35
|
toolDisplayName
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
} from "./chunk-ERGYJIBB.js";
|
|
37
|
+
import {
|
|
38
|
+
FILE_ONLY_MESSAGE_TEXT,
|
|
39
|
+
composeSendInput,
|
|
40
|
+
shouldSteerOnKey,
|
|
41
|
+
shouldSubmitOnKey,
|
|
42
|
+
useComposer
|
|
43
|
+
} from "./chunk-RSI7XYXL.js";
|
|
44
|
+
import "./chunk-UTRTG6LH.js";
|
|
45
|
+
import "./chunk-YQEAA6LT.js";
|
|
46
|
+
import "./chunk-UGLEYEMP.js";
|
|
47
|
+
import "./chunk-TKOTKRWY.js";
|
|
40
48
|
export {
|
|
41
49
|
FILE_ONLY_MESSAGE_TEXT,
|
|
42
50
|
approvalsFromRequiresAction,
|
|
43
51
|
buildTimeline,
|
|
44
52
|
composeSendInput,
|
|
53
|
+
conversationTimeline,
|
|
54
|
+
createEmbeddedSessionClient,
|
|
55
|
+
createOlderHistoryLoadReceipt,
|
|
45
56
|
creditExhaustedFromEvents,
|
|
46
57
|
extractSessionRef,
|
|
47
58
|
groupTimeline,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { OpenGeniClient, WorkspaceArtifact, WorkspaceArtifactContentResponse, WorkspaceArtifactDetailResponse } from "@opengeni/sdk";
|
|
2
|
+
import { type PublishedHtmlArtifactToolBridge } from "./components/artifacts/published-html-artifact-frame.js";
|
|
3
|
+
/** Implement with an authenticated host proxy. Never put an organization key
|
|
4
|
+
* in browser props; replace the client object when the host actor changes. */
|
|
5
|
+
export type SiteClient = Pick<OpenGeniClient, "listWorkspaceArtifacts" | "getWorkspaceArtifact" | "getWorkspaceArtifactHtml" | "rollbackWorkspaceArtifact" | "setWorkspaceArtifactStatus">;
|
|
6
|
+
type SiteDisplayContent = Pick<WorkspaceArtifactContentResponse, "artifactId" | "versionId" | "html" | "requestedTools">;
|
|
7
|
+
type SiteScope = {
|
|
8
|
+
client: SiteClient;
|
|
9
|
+
workspaceId: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
/** Shared native/embedded read boundary: pin content to the observed version,
|
|
13
|
+
* and never accept a response belonging to another workspace or Site. */
|
|
14
|
+
export declare function loadSiteSnapshot(client: Pick<SiteClient, "getWorkspaceArtifact" | "getWorkspaceArtifactHtml"> & Partial<Pick<OpenGeniClient, "getWorkspaceArtifactContent">>, workspaceId: string, siteId: string, options?: {
|
|
15
|
+
signal?: AbortSignal;
|
|
16
|
+
includeArchivedContent?: boolean;
|
|
17
|
+
versionId?: string;
|
|
18
|
+
}): Promise<{
|
|
19
|
+
detail: WorkspaceArtifactDetailResponse;
|
|
20
|
+
content: SiteDisplayContent | null;
|
|
21
|
+
}>;
|
|
22
|
+
export type SiteListProps = SiteScope & {
|
|
23
|
+
status?: "active" | "archived";
|
|
24
|
+
onOpen: (site: WorkspaceArtifact) => void;
|
|
25
|
+
};
|
|
26
|
+
export type SiteDetailProps = SiteScope & {
|
|
27
|
+
siteId: string;
|
|
28
|
+
/** Presentation hint only: the backend still enforces artifacts:publish. */
|
|
29
|
+
canPublish?: boolean;
|
|
30
|
+
toolBridge?: PublishedHtmlArtifactToolBridge;
|
|
31
|
+
};
|
|
32
|
+
export declare function SiteList(props: SiteListProps): import("react").JSX.Element;
|
|
33
|
+
export declare function SiteDetail(props: SiteDetailProps): import("react").JSX.Element;
|
|
34
|
+
export {};
|
package/dist/sites.d.ts
ADDED
package/dist/sites.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type CapabilityCatalogStatus } from "./capability-catalog-row.js";
|
|
3
|
+
export type SkillDiscoveryItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
source: string;
|
|
7
|
+
installs: number;
|
|
8
|
+
url: string;
|
|
9
|
+
};
|
|
10
|
+
export type SkillDiscoveryPage = {
|
|
11
|
+
items: SkillDiscoveryItem[];
|
|
12
|
+
nextCursor: null;
|
|
13
|
+
};
|
|
14
|
+
export type SkillDiscoveryClient = {
|
|
15
|
+
searchPublicSkills(workspaceId: string, query: string): Promise<SkillDiscoveryPage>;
|
|
16
|
+
};
|
|
17
|
+
export type SkillDiscoveryProps = {
|
|
18
|
+
installedSkills?: readonly {
|
|
19
|
+
name: string;
|
|
20
|
+
repositoryUrl: string;
|
|
21
|
+
sourceUrl: string;
|
|
22
|
+
}[];
|
|
23
|
+
client: SkillDiscoveryClient;
|
|
24
|
+
workspaceId: string;
|
|
25
|
+
query: string;
|
|
26
|
+
onImport: (url: string) => void;
|
|
27
|
+
canManage: boolean;
|
|
28
|
+
localSkills?: readonly {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
status?: CapabilityCatalogStatus;
|
|
33
|
+
statusLabel?: string;
|
|
34
|
+
onOpen: () => void;
|
|
35
|
+
}[];
|
|
36
|
+
resultLimit?: number;
|
|
37
|
+
onShowMore?: () => void;
|
|
38
|
+
onSearch?: (() => void) | undefined;
|
|
39
|
+
/** Display name for a registry slug ("agent-browser" -> "Agent browser"). Defaults to the slug. */
|
|
40
|
+
formatName?: (name: string) => string;
|
|
41
|
+
/** The line under a remote skill ("From vercel-labs on skills.sh"). Defaults to the source. */
|
|
42
|
+
formatSource?: (source: string) => string;
|
|
43
|
+
/** The row tile. Defaults to a bare book glyph. */
|
|
44
|
+
icon?: ReactNode;
|
|
45
|
+
};
|
|
46
|
+
/** Host-owned query and import flow; browse presentation is reusable independently. */
|
|
47
|
+
export declare function SkillDiscovery(props: SkillDiscoveryProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type WorkbenchPeerLoader } from "./lib/workbench-peers.js";
|
|
2
|
+
export { SandboxTerminal } from "./components/sandbox-terminal.js";
|
|
3
|
+
export type { SandboxTerminalProps, XtermTheme } from "./components/sandbox-terminal.js";
|
|
4
|
+
export { registerSandboxTerminal } from "./lib/workbench-peers.js";
|
|
5
|
+
/** Opt in once on a terminal route; WebGL remains a separate optional import. */
|
|
6
|
+
export declare function enableSandboxTerminal(options?: {
|
|
7
|
+
webgl?: WorkbenchPeerLoader | undefined;
|
|
8
|
+
}): void;
|
package/dist/terminal.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SandboxTerminal
|
|
3
|
+
} from "./chunk-WRHIZYZF.js";
|
|
4
|
+
import "./chunk-YV4L3ILF.js";
|
|
5
|
+
import "./chunk-5J4FOW6Q.js";
|
|
6
|
+
import {
|
|
7
|
+
registerSandboxTerminal
|
|
8
|
+
} from "./chunk-JT4JW7BC.js";
|
|
9
|
+
import "./chunk-22KP6LR5.js";
|
|
10
|
+
|
|
11
|
+
// src/terminal.ts
|
|
12
|
+
async function loadTerminal() {
|
|
13
|
+
const [{ Terminal }, { FitAddon }, { WebLinksAddon }] = await Promise.all([
|
|
14
|
+
import("@xterm/xterm"),
|
|
15
|
+
import("@xterm/addon-fit"),
|
|
16
|
+
import("@xterm/addon-web-links")
|
|
17
|
+
]);
|
|
18
|
+
return { Terminal, FitAddon, WebLinksAddon };
|
|
19
|
+
}
|
|
20
|
+
function enableSandboxTerminal(options) {
|
|
21
|
+
const loadWebgl = options?.webgl;
|
|
22
|
+
registerSandboxTerminal(
|
|
23
|
+
loadWebgl ? async () => ({ ...await loadTerminal(), loadWebgl }) : loadTerminal
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
SandboxTerminal,
|
|
28
|
+
enableSandboxTerminal,
|
|
29
|
+
registerSandboxTerminal
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=terminal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/terminal.ts"],"sourcesContent":["import {\n registerSandboxTerminal,\n type SandboxTerminalPeers,\n type WorkbenchPeerLoader,\n} from \"./lib/workbench-peers\";\n\nexport { SandboxTerminal } from \"./components/sandbox-terminal\";\nexport type { SandboxTerminalProps, XtermTheme } from \"./components/sandbox-terminal\";\nexport { registerSandboxTerminal } from \"./lib/workbench-peers\";\n\nasync function loadTerminal(): Promise<SandboxTerminalPeers> {\n const [{ Terminal }, { FitAddon }, { WebLinksAddon }] = await Promise.all([\n import(\"@xterm/xterm\"),\n import(\"@xterm/addon-fit\"),\n import(\"@xterm/addon-web-links\"),\n ]);\n return { Terminal, FitAddon, WebLinksAddon };\n}\n\n/** Opt in once on a terminal route; WebGL remains a separate optional import. */\nexport function enableSandboxTerminal(options?: { webgl?: WorkbenchPeerLoader | undefined }): void {\n const loadWebgl = options?.webgl;\n registerSandboxTerminal(\n loadWebgl ? async () => ({ ...(await loadTerminal()), loadWebgl }) : loadTerminal,\n );\n}\n"],"mappings":";;;;;;;;;;;AAUA,eAAe,eAA8C;AAC3D,QAAM,CAAC,EAAE,SAAS,GAAG,EAAE,SAAS,GAAG,EAAE,cAAc,CAAC,IAAI,MAAM,QAAQ,IAAI;AAAA,IACxE,OAAO,cAAc;AAAA,IACrB,OAAO,kBAAkB;AAAA,IACzB,OAAO,wBAAwB;AAAA,EACjC,CAAC;AACD,SAAO,EAAE,UAAU,UAAU,cAAc;AAC7C;AAGO,SAAS,sBAAsB,SAA6D;AACjG,QAAM,YAAY,SAAS;AAC3B;AAAA,IACE,YAAY,aAAa,EAAE,GAAI,MAAM,aAAa,GAAI,UAAU,KAAK;AAAA,EACvE;AACF;","names":[]}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
1
2
|
import type { RetainedArtifactLoader, RetainedScreenshotLoader, ToolRegistry } from "./registry.js";
|
|
2
|
-
import type { ActivityItem } from "./types.js";
|
|
3
|
+
import type { ActivityItem, AgentMessageItem } from "./types.js";
|
|
3
4
|
export type ActivityRailProps = {
|
|
4
5
|
items: ActivityItem[];
|
|
6
|
+
/** The owning turn remains active between individual phase receipts. */
|
|
7
|
+
startupActive?: boolean;
|
|
5
8
|
/** Renderer registry for tool calls. Defaults to {@link defaultToolRegistry}. */
|
|
6
9
|
toolRegistry?: ToolRegistry | undefined;
|
|
7
10
|
/** Drill into a spawned worker session. */
|
|
@@ -19,4 +22,10 @@ export type ActivityRailProps = {
|
|
|
19
22
|
bare?: boolean | undefined;
|
|
20
23
|
className?: string | undefined;
|
|
21
24
|
};
|
|
22
|
-
export declare function ActivityRail({ items, toolRegistry, onOpenSession, onMemoryClick, loadRetainedScreenshot, loadRetainedArtifact, bare, className, }: ActivityRailProps): import("react").JSX.Element;
|
|
25
|
+
export declare function ActivityRail({ items, startupActive, toolRegistry, onOpenSession, onMemoryClick, loadRetainedScreenshot, loadRetainedArtifact, bare, className, }: ActivityRailProps): import("react").JSX.Element;
|
|
26
|
+
/**
|
|
27
|
+
* Host message renderer for progress notes inside a rail, so notes keep the
|
|
28
|
+
* host's links and formatting. Without one, notes render the library Markdown.
|
|
29
|
+
*/
|
|
30
|
+
export declare const ActivityNoteTextContext: import("react").Context<((text: string, item: AgentMessageItem) => ReactNode) | null>;
|
|
31
|
+
export declare function renderActivity(item: ActivityItem, toolRegistry: ToolRegistry, onOpenSession: ((sessionId: string) => void) | undefined, onMemoryClick: ((memoryId: string) => void) | undefined, loadRetainedScreenshot: RetainedScreenshotLoader | undefined, loadRetainedArtifact: RetainedArtifactLoader | undefined): import("react").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { AllowanceExhaustedRefusal } from "@opengeni/sdk";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
import { type AllowanceLabels } from "../usage/allowance-copy.js";
|
|
4
|
+
/**
|
|
5
|
+
* Replace the built-in "usage limit reached" row. Return `undefined` to keep
|
|
6
|
+
* the default for this refusal (for example, only customize member limits).
|
|
7
|
+
*/
|
|
8
|
+
export type RenderAllowanceExhausted = (refusal: AllowanceExhaustedRefusal, context: {
|
|
9
|
+
labels: AllowanceLabels;
|
|
10
|
+
defaultRow: ReactNode;
|
|
11
|
+
}) => ReactNode | undefined;
|
|
12
|
+
export declare function AllowancePresentationProvider({ render, labels, children, }: {
|
|
13
|
+
render: RenderAllowanceExhausted | undefined;
|
|
14
|
+
labels: Partial<AllowanceLabels> | undefined;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* A usage ceiling stopped further work. Calm by design: nothing failed, the
|
|
19
|
+
* conversation is kept, and the row says who can raise the limit and when it
|
|
20
|
+
* resets. Never the server's prose or a member identifier.
|
|
21
|
+
*/
|
|
22
|
+
export declare function AllowanceExhaustedRow({ refusal }: {
|
|
23
|
+
refusal: AllowanceExhaustedRefusal;
|
|
24
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ContextCompactionItem } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Subtitle for a settled compaction landmark. A definitive provider rejection
|
|
4
|
+
* repeats deterministically for the same conversation, so it names the
|
|
5
|
+
* rejected field and withholds the generic retry promise; every other skip
|
|
6
|
+
* keeps its existing copy.
|
|
7
|
+
*/
|
|
8
|
+
export declare function compactionSkipSubtitle(reason: string | null, providerRejection?: ContextCompactionItem["providerRejection"]): string;
|
|
9
|
+
/** `HTTP 400 invalid_request_error, param input[3].encrypted_content`; identifiers only. */
|
|
10
|
+
export declare function describeCompactionProviderRejection(rejection: NonNullable<ContextCompactionItem["providerRejection"]>): string;
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Freeze the mount-time gate for this subtree while publishing a separate live
|
|
4
|
+
* gate to activity rails that need later appends to animate after a bulk paint.
|
|
5
|
+
* MessageTimeline mounts one provider per durable group, so existing groups do
|
|
6
|
+
* not receive a context invalidation when a prepend toggles bulk mode and new
|
|
7
|
+
* groups still capture the value from the commit that created them.
|
|
8
|
+
*/
|
|
9
|
+
export declare function EntranceAnimationProvider({ value, liveValue, children, }: {
|
|
10
|
+
value: boolean;
|
|
11
|
+
liveValue?: boolean | undefined;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
2
14
|
/**
|
|
3
15
|
* Live entrance gate from the nearest provider. Prefer
|
|
4
16
|
* {@link useEntranceAnimation} for elements that must freeze the decision at
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export type GenieLoadingRenderProps = {
|
|
3
|
+
startedAt: string;
|
|
4
|
+
phase: "preparing" | "waiting";
|
|
5
|
+
detailsOpen: boolean;
|
|
6
|
+
onShowDetails: () => void;
|
|
7
|
+
};
|
|
8
|
+
export type GenieLoadingOptions = {
|
|
9
|
+
/** Replace the visual while preserving SDK loading visibility and transitions. */
|
|
10
|
+
render?: (props: GenieLoadingRenderProps) => ReactNode;
|
|
11
|
+
phrases?: readonly string[];
|
|
12
|
+
/** Native copy overrides. Omitted messages retain the default English copy. */
|
|
13
|
+
messages?: {
|
|
14
|
+
status?: string;
|
|
15
|
+
slowStatus?: string;
|
|
16
|
+
slowText?: string;
|
|
17
|
+
showDetails?: string;
|
|
18
|
+
hideDetails?: string;
|
|
19
|
+
};
|
|
20
|
+
/** Public adapter options; the renderer dependency's declarations stay private. */
|
|
21
|
+
orb?: {
|
|
22
|
+
state?: "working" | "searching" | "solving" | "listening" | "connecting" | "weaving" | "composing" | "breathing" | "shaping";
|
|
23
|
+
size?: 64 | 20;
|
|
24
|
+
speed?: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const GenieLoadingOptionsContext: import("react").Context<GenieLoadingOptions | undefined>;
|
|
28
|
+
/** Decorative copy never substitutes for a failure or claims measurable progress. */
|
|
29
|
+
export declare function GenieLoading({ startedAt, phase, onShowDetails, detailsOpen, }: {
|
|
30
|
+
startedAt: string;
|
|
31
|
+
phase?: GenieLoadingRenderProps["phase"];
|
|
32
|
+
onShowDetails: () => void;
|
|
33
|
+
detailsOpen?: boolean;
|
|
34
|
+
}): string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
|
package/dist/timeline/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { buildTimeline, creditExhaustedFromEvents, extractSessionRef, groupTimeline, sessionStatusFromEvents, mcpToolLeaf, toolDisplayName, toolMatchesLeaf, } from "./projection.js";
|
|
2
|
-
export type {
|
|
2
|
+
export type { GroupTimelineOptions } from "./projection.js";
|
|
3
|
+
export type { ActivityItem, AgentMessageItem, AuthNeededItem, ContextCompactionItem, FleetDecisionItem, FleetDecisionScoreItem, GoalItem, HumanInputAnswerSummary, HumanInputItem, MachineInputBatchItem, MachineInputMember, MemoryItem, KnowledgeItem, NoticeItem, ReasoningItem, SandboxItem, StartupPhase, StartupPhaseItem, SessionStatusItem, TimelineGroup, TimelineItem, TimelineAnnotationSourceDescriptor, TurnEndItem, ToolCallItem, UserMessageItem, WorkerCompletionItem, WorkerItem, } from "./types.js";
|
|
3
4
|
export { createToolRegistry, rawTypeOf } from "./registry.js";
|
|
4
5
|
export type { CreateToolRegistryOptions, RetainedArtifactLoader, RetainedScreenshotLoader, VideoArtifactPlaybackLoader, ToolRegistry, ToolRegistryEntry, ToolRenderer, ToolRendererProps, } from "./registry.js";
|
|
5
6
|
export { createDefaultToolRegistry, defaultToolRegistry } from "./tool-renderers.js";
|
|
@@ -8,12 +9,15 @@ export type { ActivityRailProps } from "./activity-rail.js";
|
|
|
8
9
|
export { ActivityDisclosure, BodyNote, MediaEmpty, MediaSkeleton, PayloadBlock, ScreenshotFigure, TermBlock, Thumbnail, } from "./shared.js";
|
|
9
10
|
export type { ActivityDisclosureProps, DisclosureChip } from "./shared.js";
|
|
10
11
|
export { LightboxProvider, useLightbox, useLightboxOptional } from "./screenshot-lightbox.js";
|
|
12
|
+
export type { LightboxControlLabels } from "./screenshot-lightbox.js";
|
|
11
13
|
export { DisclosureDefaultsProvider, useForcedDefaultOpen } from "./disclosure-context.js";
|
|
12
14
|
export { FoldMemoryProvider, inheritFoldRestingState, useFoldMemory } from "./fold-memory.js";
|
|
13
15
|
export type { FoldRestingState } from "./fold-memory.js";
|
|
14
16
|
export { SeenActivityIdsProvider, useSeenActivityIds } from "./seen-activity-ids.js";
|
|
15
17
|
export { TimelineComputeLabelProvider, useTimelineComputeLabel } from "./compute-label.js";
|
|
16
18
|
export { BUILT_IN_TURN_SUMMARY_FACET_IDS, TurnSummary, useTurnSettleOpen } from "./turn-summary.js";
|
|
17
|
-
export type { BuiltInTurnSummaryFacetId, TurnOutcome, TurnSummaryContext, TurnSummaryFacet, TurnSummaryFacetConfiguration, TurnSummaryFacetResult, TurnSummaryOptions, TurnSummaryProps, } from "./turn-summary.js";
|
|
19
|
+
export type { BuiltInTurnSummaryFacetId, TurnOutcome, TurnSummaryContext, TurnSummaryFacet, TurnSummaryFacetConfiguration, TurnSummaryFacetResult, TurnSummaryOptions, TurnSummaryProps, TurnSummaryStatus, } from "./turn-summary.js";
|
|
18
20
|
export { applyPatchOps, applyPatchOpsFromToolItem, parseFreeformApplyPatch, controlCaret, execTruncated, isApplyPatch, isExecSessionLostBanner, looksBinary, parseExecBannerSessionId, parseToolArgs, sandboxCommandExitCode, stripExecBanner, tailPeek, unwrapMcpOutput, v4aToGitFileDiff, } from "./parsers.js";
|
|
19
21
|
export type { ApplyPatchOperation } from "./parsers.js";
|
|
22
|
+
export { KnowledgeActivityProvider } from "./knowledge-receipt.js";
|
|
23
|
+
export type { KnowledgeActivityActions } from "./knowledge-receipt.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export type KnowledgeActivityActions = {
|
|
3
|
+
onInspect?: ((entryId: string) => void) | undefined;
|
|
4
|
+
onRetryFile?: ((fileId: string) => Promise<boolean | void>) | undefined;
|
|
5
|
+
retryDisabled?: boolean | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare function KnowledgeActivityProvider({ children, ...actions }: KnowledgeActivityActions & {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
/** A saved/pending result never opens or blocks the human-input surface. */
|
|
11
|
+
export declare function KnowledgeReceiptRow(props: {
|
|
12
|
+
outcome: "published" | "pending" | "rejected" | "archived" | "failed";
|
|
13
|
+
entryId?: string | undefined;
|
|
14
|
+
fileId?: string | undefined;
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
source?: boolean | undefined;
|
|
17
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReasoningItem, SandboxItem, StartupPhaseItem } from "./types.js";
|
|
2
|
+
type RowJsx = typeof import("react/jsx-runtime").jsx;
|
|
3
|
+
type RowJsxs = typeof import("react/jsx-runtime").jsxs;
|
|
4
|
+
export default function PlatformActivityRow({ item, d: ActivityDisclosure, p: PayloadBlock, t: displayName, b: BotIcon, m: Markdown, j, s, }: {
|
|
5
|
+
item: ReasoningItem | SandboxItem | StartupPhaseItem;
|
|
6
|
+
d: typeof import("./shared.js").ActivityDisclosure;
|
|
7
|
+
p: typeof import("./shared.js").PayloadBlock;
|
|
8
|
+
t: (name: string) => string;
|
|
9
|
+
b: typeof import("lucide-react").BotIcon;
|
|
10
|
+
m: typeof import("../components/markdown.js").Markdown;
|
|
11
|
+
j: RowJsx;
|
|
12
|
+
s: RowJsxs;
|
|
13
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ActivityItem, TimelineGroup } from "./types.js";
|
|
2
|
+
/** Shared browser preview allowlist; other published files remain downloads. */
|
|
3
|
+
export declare function isRetainedImageContentType(contentType: string): boolean;
|
|
4
|
+
/** Deliberately published images are primary output, not incidental screenshots. */
|
|
5
|
+
export declare function activityPresentsImage(items: readonly ActivityItem[]): boolean;
|
|
6
|
+
export declare function timelineGroupContainsPresentedImage(group: TimelineGroup): boolean;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { type SessionEvent, type SessionStatus } from "@opengeni/sdk";
|
|
2
2
|
import type { TimelineGroup, TimelineItem } from "./types.js";
|
|
3
3
|
export { toolDisplayName, mcpToolLeaf, toolMatchesLeaf } from "./tool-display-name.js";
|
|
4
|
-
|
|
4
|
+
/** Message identity only: queue placement needs the surrounding turn history. */
|
|
5
|
+
export declare function isTimelineUserQuestion(event: SessionEvent): boolean;
|
|
6
|
+
export declare function buildTimeline(events: SessionEvent[], options?: {
|
|
7
|
+
partialStart?: boolean;
|
|
8
|
+
}): TimelineItem[];
|
|
5
9
|
/**
|
|
6
10
|
* Codex subscription web search can return private citation handles without
|
|
7
11
|
* the URL annotation table that would make them resolvable. Keep the canonical
|
|
@@ -18,7 +22,32 @@ export declare function stripOpaqueCitationTokens(text: string): string;
|
|
|
18
22
|
export declare function creditExhaustedFromEvents(events: SessionEvent[]): boolean;
|
|
19
23
|
/** The latest session status carried in the event log, if any. */
|
|
20
24
|
export declare function sessionStatusFromEvents(events: SessionEvent[]): SessionStatus | null;
|
|
21
|
-
export
|
|
25
|
+
export type GroupTimelineOptions = {
|
|
26
|
+
/** Readable assistant prose with an independent work summary for each turn. */
|
|
27
|
+
readableTurns?: boolean;
|
|
28
|
+
/** @deprecated Use readableTurns. Cross-turn exchange folding has been removed. */
|
|
29
|
+
foldExchanges?: boolean;
|
|
30
|
+
};
|
|
31
|
+
export declare function groupTimeline(items: TimelineItem[], options?: GroupTimelineOptions): TimelineGroup[];
|
|
32
|
+
/** Navigation uses the same queue/start/withdrawal rules as transcript ordering. */
|
|
33
|
+
export declare function timelineQuestionPlacement(question: SessionEvent, evidence: SessionEvent[]): {
|
|
34
|
+
kind: "visible";
|
|
35
|
+
sequence: number;
|
|
36
|
+
} | {
|
|
37
|
+
sequence?: never;
|
|
38
|
+
kind: "withdrawn";
|
|
39
|
+
} | {
|
|
40
|
+
sequence?: never;
|
|
41
|
+
kind: "pending";
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Evidence that a queued prompt crossed the execution boundary when an older
|
|
45
|
+
* or partially recovered ledger is missing its canonical `turn.started`.
|
|
46
|
+
* Queue/control bookkeeping intentionally does not qualify: moving, editing,
|
|
47
|
+
* steering, or deleting a waiting row must never make its prompt appear in the
|
|
48
|
+
* transcript as though inference had begun.
|
|
49
|
+
*/
|
|
50
|
+
export declare function isTurnExecutionEvidence(type: string): boolean;
|
|
22
51
|
/**
|
|
23
52
|
* Find a session id in orchestration tool arguments or output. Handles raw
|
|
24
53
|
* objects, JSON strings, and MCP tool results (`{ content: [{ type: "text",
|
|
@@ -22,6 +22,8 @@ export type ToolRegistryEntry = {
|
|
|
22
22
|
match: "name";
|
|
23
23
|
name: string;
|
|
24
24
|
render: ToolRenderer;
|
|
25
|
+
/** Disable untrusted `<server>__${name}` leaf matching for identity-sensitive renderers. */
|
|
26
|
+
matchPrefixedLeaf?: boolean | undefined;
|
|
25
27
|
};
|
|
26
28
|
export type ToolRegistry = {
|
|
27
29
|
/** Resolve the renderer for a call (never null — falls back to generic). */
|