@nomix-ai/nomix-harness 0.2.5 → 0.2.6
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 +2 -9
- package/dist/assets/web/assets/index-BnapMmQ_.css +1 -0
- package/dist/assets/web/assets/index-Dx7Ws_OC.js +96 -0
- package/dist/assets/web/assets/langs/{php-D-uCvoST.js → php-DDkx9sim.js} +2 -2
- package/dist/{kernel/web-frontend/dist/assets/langs/ruby-DEItuUFs.js → assets/web/assets/langs/ruby-DCxyoPen.js} +2 -2
- package/dist/assets/web/assets/{vendor-Cjbwl5VI.js → vendor-D22_Mp1f.js} +2 -2
- package/dist/assets/web/favicon.svg +8 -0
- package/dist/assets/web/index.html +5 -5
- package/dist/bundles/base/cordis.patch.yml +31 -6
- package/dist/bundles/web-app/cordis.patch.yml +27 -6
- package/dist/cli/bin.js +4 -5
- package/dist/cli/builtin-registry.js +34 -4
- package/dist/cli/{dump-config-d3ECray2.js → dump-config-BEj2GlJo.js} +1 -1
- package/dist/cli/{plugin-Bw9wgrmj.js → plugin-D_gLgCYL.js} +1 -1
- package/dist/cli/profile-boot-BSrYtiQI.js +2 -0
- package/dist/cli/{profile-boot-DFHdh9Xq.js → profile-boot-CByqUxLM.js} +0 -2
- package/dist/cli/runtime.js +0 -2
- package/dist/config/agent-presets/code/agent.cordis.yml +4 -3
- package/dist/config/agent-presets/cordis/agent.cordis.yml +4 -3
- package/dist/config/agent-presets/cordis/skills/editing-cordis-compositions/SKILL.md +13 -2
- package/dist/config/agent-presets/minimal/agent.cordis.yml +27 -1
- package/dist/config/agent-presets/standard/agent.cordis.yml +4 -3
- package/dist/kernel/acp/package.json +1 -1
- package/dist/kernel/agent/package.json +1 -1
- package/dist/kernel/agent-default-model/package.json +1 -1
- package/dist/kernel/agent-instructions/package.json +1 -1
- package/dist/kernel/agent-loop/lib/index.js +33 -10
- package/dist/kernel/agent-loop/lib/types/agent.js +26 -6
- package/dist/kernel/agent-loop/package.json +1 -1
- package/dist/kernel/agent-presets/package.json +1 -1
- package/dist/kernel/agent-tool-presentation/package.json +1 -1
- package/dist/kernel/anonymous-user-id/package.json +1 -1
- package/dist/kernel/api-gateway/lib/client.js +84 -55
- package/dist/kernel/api-gateway/lib/types/client/index.js +93 -61
- package/dist/kernel/api-gateway/package.json +1 -1
- package/dist/kernel/api-remotes/lib/client.js +166 -27
- package/dist/kernel/api-remotes/lib/index.js +1 -1
- package/dist/kernel/api-remotes/lib/types/client/index.d.ts +4 -0
- package/dist/kernel/api-remotes/lib/types/client/index.js +4 -1
- package/dist/kernel/api-remotes/lib/types/remote-events.d.ts +1 -1
- package/dist/kernel/api-remotes/lib/types/remote-events.js +1 -1
- package/dist/kernel/api-remotes/package.json +11 -7
- package/dist/kernel/app-boot/lib/index.js +19 -41
- package/dist/kernel/app-boot/lib/types/index.d.ts +0 -1
- package/dist/kernel/app-boot/lib/types/index.js +2 -3
- package/dist/kernel/app-boot/lib/types/profile.d.ts +15 -12
- package/dist/kernel/app-boot/lib/types/profile.js +15 -25
- package/dist/kernel/app-boot/package.json +1 -1
- package/dist/kernel/atomic-write/lib/index.js +36 -16
- package/dist/kernel/atomic-write/lib/types/index.d.ts +21 -5
- package/dist/kernel/atomic-write/lib/types/index.js +40 -16
- package/dist/kernel/atomic-write/package.json +1 -1
- package/dist/kernel/attachment/lib/index.js +62 -3
- package/dist/kernel/attachment/lib/types/admission.d.ts +15 -0
- package/dist/kernel/attachment/lib/types/admission.js +33 -0
- package/dist/kernel/attachment/lib/types/brand.d.ts +8 -0
- package/dist/kernel/attachment/lib/types/brand.js +8 -0
- package/dist/kernel/attachment/lib/types/error.d.ts +2 -2
- package/dist/kernel/attachment/lib/types/error.js +1 -0
- package/dist/kernel/attachment/lib/types/index.d.ts +23 -5
- package/dist/kernel/attachment/lib/types/index.js +24 -2
- package/dist/kernel/attachment/lib/types/types.d.ts +47 -2
- package/dist/kernel/attachment/package.json +3 -2
- package/dist/kernel/attachment-local/lib/index.js +640 -48
- package/dist/kernel/attachment-local/lib/types/compression-limiter.d.ts +18 -0
- package/dist/kernel/attachment-local/lib/types/compression-limiter.js +43 -0
- package/dist/kernel/attachment-local/lib/types/encoding.d.ts +23 -0
- package/dist/kernel/attachment-local/lib/types/encoding.js +33 -0
- package/dist/kernel/attachment-local/lib/types/image.d.ts +31 -2
- package/dist/kernel/attachment-local/lib/types/image.js +43 -4
- package/dist/kernel/attachment-local/lib/types/index.d.ts +45 -10
- package/dist/kernel/attachment-local/lib/types/index.js +140 -10
- package/dist/kernel/attachment-local/lib/types/normalization.d.ts +44 -0
- package/dist/kernel/attachment-local/lib/types/normalization.js +148 -0
- package/dist/kernel/attachment-local/lib/types/request-image.d.ts +35 -0
- package/dist/kernel/attachment-local/lib/types/request-image.js +208 -0
- package/dist/kernel/attachment-local/lib/types/store.d.ts +36 -9
- package/dist/kernel/attachment-local/lib/types/store.js +60 -24
- package/dist/kernel/attachment-local/package.json +1 -1
- package/dist/kernel/authorization/lib/index.js +248 -0
- package/dist/kernel/authorization/lib/invariant.js +36 -0
- package/dist/kernel/authorization/lib/types/index.d.ts +223 -0
- package/dist/kernel/authorization/lib/types/index.js +299 -0
- package/dist/kernel/authorization/lib/types/invariant.d.ts +16 -0
- package/dist/kernel/authorization/lib/types/invariant.js +38 -0
- package/dist/kernel/authorization/lib/types/types.d.ts +83 -0
- package/dist/kernel/authorization/lib/types/types.js +8 -0
- package/dist/kernel/{client-web-react → authorization}/package.json +19 -16
- package/dist/kernel/base/cordis.patch.yml +31 -6
- package/dist/kernel/base/package.json +3 -1
- package/dist/kernel/bash-local/package.json +1 -1
- package/dist/kernel/bash-sandbox/package.json +1 -1
- package/dist/kernel/brand/package.json +1 -1
- package/dist/kernel/client-connection/lib/client.js +148 -28
- package/dist/kernel/client-connection/lib/index.js +4 -4
- package/dist/kernel/client-connection/lib/types/client/fixture.js +112 -20
- package/dist/kernel/client-connection/lib/types/client/index.d.ts +21 -1
- package/dist/kernel/client-connection/lib/types/client/index.js +3 -2
- package/dist/kernel/client-connection/lib/types/client/rpc.d.ts +4 -1
- package/dist/kernel/client-connection/lib/types/client/rpc.js +4 -2
- package/dist/kernel/client-connection/lib/types/http-bridge.d.ts +2 -2
- package/dist/kernel/client-connection/lib/types/http-bridge.js +3 -3
- package/dist/kernel/client-connection/lib/types/index.d.ts +1 -1
- package/dist/kernel/client-connection/package.json +15 -9
- package/dist/kernel/client-hmr/package.json +1 -1
- package/dist/kernel/client-locale/lib/client.js +48 -9
- package/dist/kernel/client-locale/lib/types/client/index.d.ts +19 -3
- package/dist/kernel/client-locale/lib/types/client/index.js +48 -7
- package/dist/kernel/client-locale/package.json +6 -6
- package/dist/kernel/client-modules/lib/client.js +188 -123
- package/dist/kernel/client-modules/lib/index.js +177 -31
- package/dist/kernel/client-modules/lib/types/client/index.d.ts +19 -8
- package/dist/kernel/client-modules/lib/types/client/index.js +25 -8
- package/dist/kernel/client-modules/lib/types/client/manifest.d.ts +90 -41
- package/dist/kernel/client-modules/lib/types/client/manifest.js +45 -12
- package/dist/kernel/client-modules/lib/types/client/system.d.ts +15 -17
- package/dist/kernel/client-modules/lib/types/client/system.js +85 -56
- package/dist/kernel/client-modules/lib/types/index.d.ts +28 -12
- package/dist/kernel/client-modules/lib/types/index.js +128 -34
- package/dist/kernel/client-modules/package.json +4 -2
- package/dist/kernel/client-runtime/lib/client.js +43 -8
- package/dist/kernel/client-runtime/lib/types/client/contract/session.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/contract/store.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/contract/store.js +2 -2
- package/dist/kernel/client-runtime/lib/types/client/index.d.ts +2 -2
- package/dist/kernel/client-runtime/lib/types/client/index.js +3 -3
- package/dist/kernel/client-runtime/lib/types/client/sessions/context-provenance.d.ts +8 -0
- package/dist/kernel/client-runtime/lib/types/client/sessions/context-provenance.js +13 -0
- package/dist/kernel/client-runtime/lib/types/client/sessions/conversation.d.ts +11 -7
- package/dist/kernel/client-runtime/lib/types/client/sessions/projection-store.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/sessions/session.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/sessions/session.js +4 -4
- package/dist/kernel/client-runtime/lib/types/client/slots.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/slots.js +1 -1
- package/dist/kernel/client-runtime/lib/types/client/workspaces/path.d.ts +9 -0
- package/dist/kernel/client-runtime/lib/types/client/workspaces/path.js +27 -1
- package/dist/kernel/client-runtime/package.json +25 -14
- package/dist/kernel/client-ui-agent-preset/lib/client.js +55 -55
- package/dist/kernel/client-ui-agent-preset/lib/types/client/index.js +2 -2
- package/dist/kernel/client-ui-agent-preset/lib/types/client/settings-store.d.ts +7 -1
- package/dist/kernel/client-ui-agent-preset/lib/types/client/settings-store.js +21 -20
- package/dist/kernel/client-ui-agent-preset/package.json +2 -7
- package/dist/kernel/client-ui-attachment/lib/client.js +782 -0
- package/dist/kernel/client-ui-attachment/lib/index.js +5 -505
- package/dist/kernel/client-ui-attachment/lib/invariant.js +2 -3
- package/dist/kernel/client-ui-attachment/lib/types/client/ComposerAttachments.d.ts +4 -0
- package/dist/kernel/client-ui-attachment/lib/types/client/ComposerAttachments.js +85 -0
- package/dist/kernel/client-ui-attachment/lib/types/client/MessageImages.d.ts +4 -0
- package/dist/kernel/client-ui-attachment/lib/types/client/MessageImages.js +8 -0
- package/dist/kernel/client-ui-attachment/lib/types/client/index.d.ts +7 -0
- package/dist/kernel/client-ui-attachment/lib/types/client/index.js +16 -0
- package/dist/kernel/client-ui-attachment/lib/types/client/labels.d.ts +35 -0
- package/dist/kernel/client-ui-attachment/lib/types/client/labels.js +52 -0
- package/dist/kernel/client-ui-attachment/lib/types/index.d.ts +3 -15
- package/dist/kernel/client-ui-attachment/lib/types/index.js +3 -11
- package/dist/kernel/client-ui-attachment/lib/types/invariant.js +2 -3
- package/dist/kernel/client-ui-attachment/package.json +32 -9
- package/dist/kernel/client-ui-brand-official/lib/client.js +50 -0
- package/dist/kernel/client-ui-brand-official/lib/index.js +9 -0
- package/dist/kernel/{client-web-react → client-ui-brand-official}/lib/invariant.js +6 -8
- package/dist/kernel/client-ui-brand-official/lib/types/client/Brand.d.ts +16 -0
- package/dist/kernel/client-ui-brand-official/lib/types/client/Brand.js +18 -0
- package/dist/kernel/client-ui-brand-official/lib/types/client/index.d.ts +10 -0
- package/dist/kernel/client-ui-brand-official/lib/types/client/index.js +17 -0
- package/dist/kernel/client-ui-brand-official/lib/types/index.d.ts +7 -0
- package/dist/kernel/client-ui-brand-official/lib/types/index.js +7 -0
- package/dist/kernel/client-ui-brand-official/lib/types/invariant.d.ts +16 -0
- package/dist/kernel/{client-web-react → client-ui-brand-official}/lib/types/invariant.js +6 -8
- package/dist/kernel/client-ui-brand-official/package.json +72 -0
- package/dist/kernel/client-ui-commands/lib/client.js +44 -15
- package/dist/kernel/client-ui-commands/lib/types/client/locales.d.ts +2 -0
- package/dist/kernel/client-ui-commands/lib/types/client/locales.js +2 -0
- package/dist/kernel/client-ui-commands/lib/types/client/service.d.ts +11 -1
- package/dist/kernel/client-ui-commands/lib/types/client/service.js +39 -7
- package/dist/kernel/client-ui-commands/package.json +2 -5
- package/dist/kernel/client-ui-conversation/lib/client.js +949 -531
- package/dist/kernel/client-ui-conversation/lib/types/client/apply.js +6 -4
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantMarkdown.d.ts +4 -5
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantMarkdown.js +6 -6
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantNodeView.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantNodeView.js +2 -2
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/ChatNodeSeat.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/ChatNodeSeat.js +5 -3
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/ChatView.js +53 -10
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/ContextInjectionRow.js +4 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/MessageItem.d.ts +4 -5
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/MessageItem.js +46 -16
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/StatsLine.d.ts +5 -3
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/StatsLine.js +54 -5
- package/dist/kernel/client-ui-conversation/lib/types/client/contract/slots.d.ts +90 -8
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/assistant.js +1 -0
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/chat-snapshot-builder.d.ts +1 -0
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/chat-snapshot-builder.js +95 -6
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/message.d.ts +11 -3
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-error.d.ts +6 -3
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-error.js +10 -26
- package/dist/kernel/client-ui-conversation/lib/types/client/image-labels.d.ts +1 -33
- package/dist/kernel/client-ui-conversation/lib/types/client/image-labels.js +5 -54
- package/dist/kernel/client-ui-conversation/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/input/contract.d.ts +17 -14
- package/dist/kernel/client-ui-conversation/lib/types/client/input/decorations.d.ts +13 -5
- package/dist/kernel/client-ui-conversation/lib/types/client/input/decorations.js +26 -10
- package/dist/kernel/client-ui-conversation/lib/types/client/input/facade.d.ts +34 -14
- package/dist/kernel/client-ui-conversation/lib/types/client/input/facade.js +116 -34
- package/dist/kernel/client-ui-conversation/lib/types/client/input/hub.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/input/hub.js +21 -19
- package/dist/kernel/client-ui-conversation/lib/types/client/input/machine.d.ts +35 -14
- package/dist/kernel/client-ui-conversation/lib/types/client/input/machine.js +71 -34
- package/dist/kernel/client-ui-conversation/lib/types/client/locales.d.ts +16 -0
- package/dist/kernel/client-ui-conversation/lib/types/client/locales.js +16 -0
- package/dist/kernel/client-ui-conversation/lib/types/client/reference/ReferenceIcon.d.ts +16 -0
- package/dist/kernel/client-ui-conversation/lib/types/client/reference/ReferenceIcon.js +16 -0
- package/dist/kernel/client-ui-conversation/lib/types/client/service.d.ts +14 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/service.js +26 -6
- package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/ConversationRoot.js +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/ConversationSession.js +18 -3
- package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/EmptyHero.d.ts +3 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/EmptyHero.js +4 -2
- package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/InputBar.js +141 -126
- package/dist/kernel/client-ui-conversation/package.json +9 -8
- package/dist/kernel/client-ui-cordis/lib/client.js +48 -48
- package/dist/kernel/client-ui-cordis/package.json +2 -5
- package/dist/kernel/client-ui-deliverables/lib/client.js +5 -5
- package/dist/kernel/client-ui-deliverables/package.json +4 -6
- package/dist/kernel/client-ui-directory-picker-browse/lib/client.js +26 -26
- package/dist/kernel/client-ui-directory-picker-browse/package.json +2 -5
- package/dist/kernel/client-ui-directory-picker-native/package.json +2 -5
- package/dist/kernel/client-ui-goal/lib/client.js +8 -8
- package/dist/kernel/client-ui-goal/package.json +6 -5
- package/dist/kernel/client-ui-input-trigger/lib/client.js +82 -26
- package/dist/kernel/client-ui-input-trigger/lib/types/client/MenuView.js +13 -9
- package/dist/kernel/client-ui-input-trigger/lib/types/client/controller.d.ts +5 -3
- package/dist/kernel/client-ui-input-trigger/lib/types/client/controller.js +19 -7
- package/dist/kernel/client-ui-input-trigger/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-ui-input-trigger/lib/types/core/contract.d.ts +7 -2
- package/dist/kernel/client-ui-input-trigger/lib/types/core/detect.d.ts +4 -4
- package/dist/kernel/client-ui-input-trigger/lib/types/core/detect.js +24 -6
- package/dist/kernel/client-ui-input-trigger/lib/types/core/menu.d.ts +15 -2
- package/dist/kernel/client-ui-input-trigger/lib/types/core/menu.js +13 -4
- package/dist/kernel/client-ui-input-trigger/lib/types/types.d.ts +52 -8
- package/dist/kernel/client-ui-input-trigger/package.json +4 -5
- package/dist/kernel/client-ui-jobs/lib/client.js +10 -10
- package/dist/kernel/client-ui-jobs/package.json +3 -7
- package/dist/kernel/client-ui-layout/lib/client.js +3 -3
- package/dist/kernel/client-ui-layout/package.json +2 -4
- package/dist/kernel/client-ui-message-feedback/lib/client.js +174 -58
- package/dist/kernel/client-ui-message-feedback/lib/types/client/MessageFeedbackActions.d.ts +9 -3
- package/dist/kernel/client-ui-message-feedback/lib/types/client/MessageFeedbackActions.js +164 -25
- package/dist/kernel/client-ui-message-feedback/lib/types/client/locales.d.ts +2 -0
- package/dist/kernel/client-ui-message-feedback/lib/types/client/locales.js +2 -0
- package/dist/kernel/client-ui-message-feedback/package.json +3 -5
- package/dist/kernel/client-ui-model-selection/lib/client.js +18 -18
- package/dist/kernel/client-ui-model-selection/package.json +7 -9
- package/dist/kernel/client-ui-permission-presets/lib/client.js +97 -83
- package/dist/kernel/client-ui-permission-presets/lib/types/client/index.js +6 -19
- package/dist/kernel/client-ui-permission-presets/lib/types/client/settings-store.d.ts +27 -18
- package/dist/kernel/client-ui-permission-presets/lib/types/client/settings-store.js +95 -68
- package/dist/kernel/client-ui-permission-presets/package.json +2 -8
- package/dist/kernel/client-ui-plan/lib/client.js +1 -1
- package/dist/kernel/client-ui-plan/lib/types/client/index.js +1 -1
- package/dist/kernel/client-ui-plan/package.json +2 -6
- package/dist/kernel/client-ui-primitives/lib/Button.module.css +79 -0
- package/dist/kernel/client-ui-primitives/lib/ConnectionBanner.module.css +13 -0
- package/dist/kernel/client-ui-primitives/lib/DiffBlock.module.css +107 -0
- package/dist/kernel/client-ui-primitives/lib/DisclosureRow.module.css +69 -0
- package/dist/kernel/client-ui-primitives/lib/HoverCard.module.css +54 -0
- package/dist/kernel/client-ui-primitives/lib/Input.module.css +38 -0
- package/dist/kernel/client-ui-primitives/lib/JsonTree.module.css +222 -0
- package/dist/kernel/client-ui-primitives/lib/Menu.module.css +242 -0
- package/dist/kernel/client-ui-primitives/lib/Modal.module.css +103 -0
- package/dist/kernel/client-ui-primitives/lib/OnboardingSurface.module.css +29 -0
- package/dist/kernel/client-ui-primitives/lib/Pill.module.css +27 -0
- package/dist/kernel/client-ui-primitives/lib/ReadBlock.module.css +117 -0
- package/dist/kernel/client-ui-primitives/lib/RiskConfirmation.module.css +73 -0
- package/dist/kernel/client-ui-primitives/lib/SearchBlock.module.css +120 -0
- package/dist/kernel/client-ui-primitives/lib/StateDot.module.css +65 -0
- package/dist/kernel/client-ui-primitives/lib/TerminalBlock.module.css +211 -0
- package/dist/kernel/client-ui-primitives/lib/Toast.module.css +70 -0
- package/dist/kernel/client-ui-primitives/lib/Tooltip.module.css +49 -0
- package/dist/kernel/client-ui-primitives/lib/WebBlock.module.css +130 -0
- package/dist/kernel/client-ui-primitives/lib/index.js +291 -261
- package/dist/kernel/client-ui-primitives/lib/invariant.js +2 -0
- package/dist/kernel/client-ui-primitives/lib/markdown/CodeBlock.module.css +96 -0
- package/dist/kernel/client-ui-primitives/lib/markdown/JsonBlock.module.css +32 -0
- package/dist/kernel/client-ui-primitives/lib/markdown/MarkdownText.module.css +304 -0
- package/dist/kernel/client-ui-primitives/lib/markdown/MessageText.module.css +9 -0
- package/dist/kernel/client-ui-primitives/lib/types/BrandWordmark.d.ts +7 -1
- package/dist/kernel/client-ui-primitives/lib/types/BrandWordmark.js +4 -2
- package/dist/kernel/client-ui-primitives/lib/types/index.d.ts +4 -1
- package/dist/kernel/client-ui-primitives/lib/types/index.js +2 -1
- package/dist/kernel/client-ui-primitives/lib/types/markdown/render.d.ts +2 -0
- package/dist/kernel/client-ui-primitives/lib/types/markdown/render.js +10 -2
- package/dist/kernel/client-ui-primitives/lib/types/useAnchoredPosition.d.ts +32 -0
- package/dist/kernel/client-ui-primitives/lib/types/useAnchoredPosition.js +69 -0
- package/dist/kernel/client-ui-primitives/package.json +2 -1
- package/dist/kernel/client-ui-reference/lib/client.js +149 -0
- package/dist/kernel/client-ui-reference/lib/index.js +11 -0
- package/dist/kernel/{client-schema-form → client-ui-reference}/lib/invariant.js +7 -8
- package/dist/kernel/client-ui-reference/lib/types/client/index.d.ts +9 -0
- package/dist/kernel/client-ui-reference/lib/types/client/index.js +106 -0
- package/dist/kernel/client-ui-reference/lib/types/client/locales.d.ts +30 -0
- package/dist/kernel/client-ui-reference/lib/types/client/locales.js +22 -0
- package/dist/kernel/client-ui-reference/lib/types/index.d.ts +9 -0
- package/dist/kernel/client-ui-reference/lib/types/index.js +9 -0
- package/dist/kernel/{client-schema-form → client-ui-reference}/lib/types/invariant.d.ts +3 -3
- package/dist/kernel/{client-schema-form → client-ui-reference}/lib/types/invariant.js +7 -8
- package/dist/kernel/client-ui-reference/package.json +77 -0
- package/dist/kernel/client-ui-renderer/lib/client.js +989 -0
- package/dist/kernel/client-ui-renderer/lib/index.js +6 -0
- package/dist/kernel/client-ui-renderer/lib/invariant.js +23 -0
- package/dist/kernel/{client-web/lib/types → client-ui-renderer/lib/types/client}/DocumentTitle.d.ts +4 -4
- package/dist/kernel/client-ui-renderer/lib/types/client/DocumentTitle.js +17 -0
- package/dist/kernel/client-ui-renderer/lib/types/client/app.d.ts +18 -0
- package/dist/kernel/{client-web/lib/types → client-ui-renderer/lib/types/client}/app.js +5 -5
- package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/bind.d.ts +1 -1
- package/dist/kernel/client-ui-renderer/lib/types/client/index.d.ts +29 -0
- package/dist/kernel/client-ui-renderer/lib/types/client/index.js +51 -0
- package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/scoped-slots.d.ts +1 -1
- package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/scoped-slots.js +1 -1
- package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/session-provider.d.ts +1 -1
- package/dist/kernel/client-ui-renderer/lib/types/index.d.ts +4 -0
- package/dist/kernel/client-ui-renderer/lib/types/index.js +4 -0
- package/dist/kernel/{client-web-react → client-ui-renderer}/lib/types/invariant.d.ts +3 -3
- package/dist/kernel/client-ui-renderer/lib/types/invariant.js +22 -0
- package/dist/kernel/client-ui-renderer/package.json +71 -0
- package/dist/kernel/client-ui-settings/lib/client.js +1177 -67
- package/dist/kernel/client-ui-settings/lib/types/client/index.d.ts +20 -12
- package/dist/kernel/client-ui-settings/lib/types/client/index.js +25 -6
- package/dist/kernel/client-ui-settings/lib/types/client/schema.d.ts +72 -0
- package/dist/kernel/client-ui-settings/lib/types/client/schema.js +152 -0
- package/dist/kernel/client-ui-settings/lib/types/client/settings-mirror.d.ts +118 -0
- package/dist/kernel/client-ui-settings/lib/types/client/settings-mirror.js +160 -0
- package/dist/kernel/client-ui-settings/lib/types/client/settings-scope.d.ts +51 -24
- package/dist/kernel/client-ui-settings/lib/types/client/settings-scope.js +88 -71
- package/dist/kernel/client-ui-settings/package.json +7 -7
- package/dist/kernel/client-ui-settings-general/lib/client.js +60 -64
- package/dist/kernel/client-ui-settings-general/lib/types/client/SettingsDocumentAction.d.ts +7 -6
- package/dist/kernel/client-ui-settings-general/lib/types/client/index.js +10 -11
- package/dist/kernel/client-ui-settings-general/lib/types/client/settings-document-store.d.ts +13 -11
- package/dist/kernel/client-ui-settings-general/lib/types/client/settings-document-store.js +37 -40
- package/dist/kernel/client-ui-settings-general/package.json +4 -8
- package/dist/kernel/client-ui-settings-models/lib/client.js +280 -210
- package/dist/kernel/client-ui-settings-models/lib/types/client/DeepSeekOnboardingDialog.d.ts +3 -0
- package/dist/kernel/client-ui-settings-models/lib/types/client/DeepSeekOnboardingDialog.js +2 -2
- package/dist/kernel/client-ui-settings-models/lib/types/client/ModelListEditor.js +11 -1
- package/dist/kernel/client-ui-settings-models/lib/types/client/ModelsSection.d.ts +10 -5
- package/dist/kernel/client-ui-settings-models/lib/types/client/ModelsSection.js +9 -6
- package/dist/kernel/client-ui-settings-models/lib/types/client/ProviderEditor.d.ts +3 -0
- package/dist/kernel/client-ui-settings-models/lib/types/client/ProviderEditor.js +30 -29
- package/dist/kernel/client-ui-settings-models/lib/types/client/index.js +27 -22
- package/dist/kernel/client-ui-settings-models/lib/types/client/locales.d.ts +2 -0
- package/dist/kernel/client-ui-settings-models/lib/types/client/locales.js +4 -0
- package/dist/kernel/client-ui-settings-models/lib/types/client/schema-operations.d.ts +10 -0
- package/dist/kernel/client-ui-settings-models/lib/types/client/schema-operations.js +17 -0
- package/dist/kernel/client-ui-settings-models/lib/types/client/store.d.ts +15 -7
- package/dist/kernel/client-ui-settings-models/lib/types/client/store.js +30 -21
- package/dist/kernel/client-ui-settings-models/lib/types/client/welcome-store.d.ts +35 -18
- package/dist/kernel/client-ui-settings-models/lib/types/client/welcome-store.js +89 -82
- package/dist/kernel/client-ui-settings-models/package.json +3 -8
- package/dist/kernel/client-ui-settings-plugin-inventory/lib/client.js +11 -11
- package/dist/kernel/client-ui-settings-plugin-inventory/package.json +2 -5
- package/dist/kernel/client-ui-settings-plugins/lib/client.js +42 -65
- package/dist/kernel/client-ui-settings-plugins/lib/types/client/index.js +5 -8
- package/dist/kernel/client-ui-settings-plugins/lib/types/client/tab-store.d.ts +8 -17
- package/dist/kernel/client-ui-settings-plugins/lib/types/client/tab-store.js +22 -44
- package/dist/kernel/client-ui-settings-plugins/package.json +2 -7
- package/dist/kernel/client-ui-sidebar/lib/client.js +50 -20
- package/dist/kernel/client-ui-sidebar/lib/types/client/SidebarRoot.js +7 -3
- package/dist/kernel/client-ui-sidebar/lib/types/client/contract/slots.d.ts +30 -1
- package/dist/kernel/client-ui-sidebar/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-ui-sidebar/lib/types/client/index.js +2 -0
- package/dist/kernel/client-ui-sidebar/package.json +2 -4
- package/dist/kernel/client-ui-skill/lib/client.js +12 -12
- package/dist/kernel/client-ui-skill/package.json +2 -5
- package/dist/kernel/client-ui-slots/lib/index.js +2 -0
- package/dist/kernel/client-ui-slots/lib/invariant.js +2 -0
- package/dist/kernel/client-ui-slots/lib/types/renderer.d.ts +1 -1
- package/dist/kernel/client-ui-slots/lib/types/store.d.ts +1 -1
- package/dist/kernel/client-ui-slots/package.json +1 -1
- package/dist/kernel/client-ui-subagent/lib/client.js +289 -157
- package/dist/kernel/client-ui-subagent/lib/types/client/SubagentHeaderLineage.d.ts +18 -0
- package/dist/kernel/client-ui-subagent/lib/types/client/{SubagentCatalogAction.js → SubagentHeaderLineage.js} +153 -25
- package/dist/kernel/client-ui-subagent/lib/types/client/index.d.ts +4 -16
- package/dist/kernel/client-ui-subagent/lib/types/client/index.js +7 -45
- package/dist/kernel/client-ui-subagent/lib/types/client/locales.d.ts +1 -0
- package/dist/kernel/client-ui-subagent/lib/types/client/locales.js +2 -0
- package/dist/kernel/client-ui-subagent/package.json +6 -8
- package/dist/kernel/client-ui-theme/lib/client.js +46 -3
- package/dist/kernel/client-ui-theme/lib/index.js +22 -23
- package/dist/kernel/client-ui-theme/lib/types/boot-theme.d.ts +9 -10
- package/dist/kernel/client-ui-theme/lib/types/boot-theme.js +12 -19
- package/dist/kernel/client-ui-theme/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-ui-theme/lib/types/client/index.js +3 -1
- package/dist/kernel/client-ui-theme/lib/types/client/styles.d.ts +7 -0
- package/dist/kernel/client-ui-theme/lib/types/client/styles.js +32 -0
- package/dist/kernel/client-ui-theme/lib/types/index.d.ts +4 -3
- package/dist/kernel/client-ui-theme/lib/types/index.js +7 -6
- package/dist/kernel/client-ui-theme/package.json +4 -6
- package/dist/kernel/client-ui-tool/lib/client.js +105 -65
- package/dist/kernel/client-ui-tool/lib/types/client/apply.d.ts +1 -2
- package/dist/kernel/client-ui-tool/lib/types/client/apply.js +6 -2
- package/dist/kernel/client-ui-tool/lib/types/client/contract/slots.d.ts +13 -3
- package/dist/kernel/client-ui-tool/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolCallTree.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolCallTree.js +8 -6
- package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolDetails.d.ts +2 -9
- package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolDetails.js +4 -3
- package/dist/kernel/client-ui-tool/lib/types/client/tool/models/read-card-model.d.ts +4 -18
- package/dist/kernel/client-ui-tool/lib/types/client/tool/models/read-card-model.js +21 -4
- package/dist/kernel/client-ui-tool/lib/types/client/tool/models/tool-call-model.d.ts +2 -9
- package/dist/kernel/client-ui-tool/lib/types/client/tool/models/tool-call-model.js +22 -2
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/GenericToolCard.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/GenericToolCard.js +3 -3
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/file-mutation-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/file-mutation-row.js +2 -2
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/read-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/read-row.js +3 -3
- package/dist/kernel/client-ui-tool/package.json +4 -6
- package/dist/kernel/client-ui-trajectory/lib/client.js +144 -143
- package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-assistant-definition.js +2 -1
- package/dist/kernel/client-ui-trajectory/package.json +2 -4
- package/dist/kernel/client-ui-user-questions/lib/client.js +73 -36
- package/dist/kernel/client-ui-user-questions/lib/types/client/QuestionComposer.js +24 -6
- package/dist/kernel/client-ui-user-questions/package.json +12 -10
- package/dist/kernel/client-ui-workflow-run/lib/client.js +262 -87
- package/dist/kernel/client-ui-workflow-run/lib/types/client/WorkflowRunPanel.js +162 -23
- package/dist/kernel/client-ui-workflow-run/package.json +3 -7
- package/dist/kernel/client-ui-workspace/lib/client.js +96 -60
- package/dist/kernel/client-ui-workspace/lib/types/client/WorkspaceBrowser.d.ts +1 -1
- package/dist/kernel/client-ui-workspace/lib/types/client/WorkspaceBrowser.js +38 -6
- package/dist/kernel/client-ui-workspace/lib/types/client/contract/slots.d.ts +9 -7
- package/dist/kernel/client-ui-workspace/lib/types/client/index.js +4 -2
- package/dist/kernel/client-ui-workspace/lib/types/client/rows/Rows.d.ts +4 -1
- package/dist/kernel/client-ui-workspace/lib/types/client/rows/Rows.js +5 -3
- package/dist/kernel/client-ui-workspace/package.json +6 -4
- package/dist/kernel/client-web/lib/base.css +41 -0
- package/dist/kernel/client-web/lib/boot-page.module.css +104 -0
- package/dist/kernel/client-web/lib/index.js +154 -308
- package/dist/kernel/client-web/lib/invariant.js +2 -0
- package/dist/kernel/client-web/lib/types/boot-page.d.ts +46 -0
- package/dist/kernel/client-web/lib/types/boot-page.js +93 -0
- package/dist/kernel/client-web/lib/types/boot.d.ts +20 -33
- package/dist/kernel/client-web/lib/types/boot.js +76 -149
- package/dist/kernel/client-web/lib/types/index.d.ts +5 -11
- package/dist/kernel/client-web/lib/types/index.js +4 -10
- package/dist/kernel/client-web/lib/types/loader-status.d.ts +3 -51
- package/dist/kernel/client-web/lib/types/loader-status.js +0 -35
- package/dist/kernel/client-web/lib/types/platform.d.ts +3 -1
- package/dist/kernel/client-web/lib/types/platform.js +4 -3
- package/dist/kernel/client-web/lib/types/seed.js +0 -6
- package/dist/kernel/client-web/package.json +8 -15
- package/dist/kernel/cmdline/package.json +1 -1
- package/dist/kernel/code-runtime/package.json +1 -1
- package/dist/kernel/code-runtime-python/lib/index.js +413 -0
- package/dist/kernel/code-runtime-python/lib/invariant.js +24 -0
- package/dist/kernel/code-runtime-python/lib/types/index.d.ts +12 -0
- package/dist/kernel/code-runtime-python/lib/types/index.js +11 -0
- package/dist/kernel/code-runtime-python/lib/types/invariant.d.ts +16 -0
- package/dist/kernel/code-runtime-python/lib/types/invariant.js +23 -0
- package/dist/kernel/code-runtime-python/lib/types/protocol.d.ts +329 -0
- package/dist/kernel/code-runtime-python/lib/types/protocol.js +496 -0
- package/dist/kernel/{client-schema-form → code-runtime-python}/package.json +11 -14
- package/dist/kernel/code-runtime-python/py/protocol.py +138 -0
- package/dist/kernel/code-runtime-worker-thread/package.json +1 -1
- package/dist/kernel/command-compact/package.json +1 -1
- package/dist/kernel/command-feedback/package.json +1 -1
- package/dist/kernel/command-goal/lib/index.js +40 -6
- package/dist/kernel/command-goal/lib/types/index.js +35 -6
- package/dist/kernel/command-goal/package.json +2 -1
- package/dist/kernel/commands/lib/index.js +78 -21
- package/dist/kernel/commands/lib/typert.host.js +53 -9
- package/dist/kernel/commands/lib/typert.remote-client.d.ts +4 -3
- package/dist/kernel/commands/lib/typert.remote-client.js +18 -2
- package/dist/kernel/commands/lib/types/index.d.ts +20 -1
- package/dist/kernel/commands/lib/types/index.js +77 -20
- package/dist/kernel/commands/lib/types/types.d.ts +8 -0
- package/dist/kernel/commands/package.json +5 -1
- package/dist/kernel/compaction/package.json +1 -1
- package/dist/kernel/compaction-basic/package.json +1 -1
- package/dist/kernel/compaction-tool-result-pruner/package.json +1 -1
- package/dist/kernel/cordis/package.json +3 -1
- package/dist/kernel/cordis-client-runner/lib/client.js +171 -37
- package/dist/kernel/cordis-client-runner/lib/types/client/api-catalog.js +3 -3
- package/dist/kernel/cordis-client-runner/lib/types/client/slot-catalog.js +208 -30
- package/dist/kernel/cordis-client-runner/package.json +2 -5
- package/dist/kernel/cordis-host-runner/lib/index.js +28 -5
- package/dist/kernel/cordis-host-runner/lib/typert.host.js +54 -6
- package/dist/kernel/cordis-host-runner/lib/types/sandbox.d.ts +9 -3
- package/dist/kernel/cordis-host-runner/lib/types/sandbox.js +34 -6
- package/dist/kernel/cordis-host-runner/package.json +1 -1
- package/dist/kernel/cordis-plugin-group/package.json +3 -1
- package/dist/kernel/cordis-plugin-hmr/lib/types/index.js +1 -1
- package/dist/kernel/cordis-plugin-hmr/package.json +3 -1
- package/dist/kernel/cordis-plugin-include/lib/index.js +2 -2
- package/dist/kernel/cordis-plugin-include/lib/types/index.d.ts +2 -2
- package/dist/kernel/cordis-plugin-include/lib/types/index.js +2 -2
- package/dist/kernel/cordis-plugin-include/package.json +3 -1
- package/dist/kernel/cordis-plugin-loader/package.json +3 -1
- package/dist/kernel/cordis-plugin-logger-console/package.json +3 -1
- package/dist/kernel/cordis-plugin-timer/package.json +3 -1
- package/dist/kernel/cosmokit/package.json +3 -1
- package/dist/kernel/credentials/lib/index.js +104 -13
- package/dist/kernel/credentials/lib/invariant.js +3 -3
- package/dist/kernel/credentials/lib/types/index.d.ts +136 -7
- package/dist/kernel/credentials/lib/types/index.js +114 -15
- package/dist/kernel/credentials/lib/types/invariant.js +3 -3
- package/dist/kernel/credentials/lib/types/types.d.ts +58 -5
- package/dist/kernel/credentials/lib/types/types.js +4 -4
- package/dist/kernel/credentials/package.json +1 -1
- package/dist/kernel/credentials-local/lib/index.js +387 -29
- package/dist/kernel/credentials-local/lib/invariant.js +1 -1
- package/dist/kernel/credentials-local/lib/types/index.d.ts +57 -12
- package/dist/kernel/credentials-local/lib/types/index.js +445 -30
- package/dist/kernel/credentials-local/lib/types/invariant.js +1 -1
- package/dist/kernel/credentials-local/package.json +1 -1
- package/dist/kernel/e2b/package.json +1 -1
- package/dist/kernel/experimental-agent-team/lib/index.js +1728 -0
- package/dist/kernel/experimental-agent-team/lib/invariant.js +354 -0
- package/dist/kernel/experimental-agent-team/lib/types/activity.d.ts +23 -0
- package/dist/kernel/experimental-agent-team/lib/types/activity.js +85 -0
- package/dist/kernel/experimental-agent-team/lib/types/error.d.ts +13 -0
- package/dist/kernel/experimental-agent-team/lib/types/error.js +23 -0
- package/dist/kernel/experimental-agent-team/lib/types/fold.d.ts +44 -0
- package/dist/kernel/experimental-agent-team/lib/types/fold.js +243 -0
- package/dist/kernel/experimental-agent-team/lib/types/index.d.ts +115 -0
- package/dist/kernel/experimental-agent-team/lib/types/index.js +205 -0
- package/dist/kernel/experimental-agent-team/lib/types/invariant.d.ts +9 -0
- package/dist/kernel/experimental-agent-team/lib/types/invariant.js +29 -0
- package/dist/kernel/experimental-agent-team/lib/types/journal.d.ts +39 -0
- package/dist/kernel/experimental-agent-team/lib/types/journal.js +59 -0
- package/dist/kernel/experimental-agent-team/lib/types/lifecycle.d.ts +33 -0
- package/dist/kernel/experimental-agent-team/lib/types/lifecycle.js +85 -0
- package/dist/kernel/experimental-agent-team/lib/types/mailbox.d.ts +79 -0
- package/dist/kernel/experimental-agent-team/lib/types/mailbox.js +303 -0
- package/dist/kernel/experimental-agent-team/lib/types/roster.d.ts +113 -0
- package/dist/kernel/experimental-agent-team/lib/types/roster.js +445 -0
- package/dist/kernel/experimental-agent-team/lib/types/session-message.d.ts +11 -0
- package/dist/kernel/experimental-agent-team/lib/types/session-message.js +23 -0
- package/dist/kernel/experimental-agent-team/lib/types/task-board.d.ts +62 -0
- package/dist/kernel/experimental-agent-team/lib/types/task-board.js +275 -0
- package/dist/kernel/experimental-agent-team/lib/types/task-graph.d.ts +21 -0
- package/dist/kernel/experimental-agent-team/lib/types/task-graph.js +62 -0
- package/dist/kernel/experimental-agent-team/lib/types/types.d.ts +192 -0
- package/dist/kernel/experimental-agent-team/lib/types/types.js +26 -0
- package/dist/kernel/experimental-agent-team/lib/types/validation.d.ts +16 -0
- package/dist/kernel/experimental-agent-team/lib/types/validation.js +33 -0
- package/dist/kernel/experimental-agent-team/package.json +62 -0
- package/dist/kernel/experimental-tool-agent-team/lib/index.js +555 -0
- package/dist/kernel/experimental-tool-agent-team/lib/invariant.js +13 -0
- package/dist/kernel/experimental-tool-agent-team/lib/types/index.d.ts +19 -0
- package/dist/kernel/experimental-tool-agent-team/lib/types/index.js +379 -0
- package/dist/kernel/experimental-tool-agent-team/lib/types/invariant.d.ts +9 -0
- package/dist/kernel/experimental-tool-agent-team/lib/types/invariant.js +11 -0
- package/dist/kernel/experimental-tool-agent-team/package.json +61 -0
- package/dist/kernel/file-reference/lib/index.js +138 -0
- package/dist/kernel/file-reference/lib/invariant.js +23 -0
- package/dist/kernel/file-reference/lib/typert.host.d.ts +3 -0
- package/dist/kernel/file-reference/lib/typert.host.js +436 -0
- package/dist/kernel/file-reference/lib/typert.remote-client.d.ts +26 -0
- package/dist/kernel/file-reference/lib/typert.remote-client.js +59 -0
- package/dist/kernel/file-reference/lib/types/grammar.d.ts +33 -0
- package/dist/kernel/file-reference/lib/types/grammar.js +43 -0
- package/dist/kernel/file-reference/lib/types/index.d.ts +42 -0
- package/dist/kernel/file-reference/lib/types/index.js +75 -0
- package/dist/kernel/file-reference/lib/types/invariant.d.ts +16 -0
- package/dist/kernel/file-reference/lib/types/invariant.js +22 -0
- package/dist/kernel/file-reference/lib/types/types.d.ts +13 -0
- package/dist/kernel/file-reference/lib/types/types.js +7 -0
- package/dist/kernel/file-reference/package.json +70 -0
- package/dist/kernel/file-reference-local/lib/index.js +327 -0
- package/dist/kernel/file-reference-local/lib/invariant.js +23 -0
- package/dist/kernel/file-reference-local/lib/types/index.d.ts +35 -0
- package/dist/kernel/file-reference-local/lib/types/index.js +105 -0
- package/dist/kernel/file-reference-local/lib/types/invariant.d.ts +16 -0
- package/dist/kernel/file-reference-local/lib/types/invariant.js +22 -0
- package/dist/kernel/file-reference-local/lib/types/search.d.ts +52 -0
- package/dist/kernel/file-reference-local/lib/types/search.js +258 -0
- package/dist/kernel/file-reference-local/package.json +58 -0
- package/dist/kernel/fs/package.json +1 -1
- package/dist/kernel/fs-e2b/package.json +1 -1
- package/dist/kernel/fs-local/package.json +1 -1
- package/dist/kernel/fs-observation-policy/package.json +1 -1
- package/dist/kernel/fs-sandbox/package.json +1 -1
- package/dist/kernel/goal/lib/index.js +5 -2
- package/dist/kernel/goal/lib/typert.host.js +27 -3
- package/dist/kernel/goal/lib/types/index.js +2 -2
- package/dist/kernel/goal/lib/types/types.d.ts +3 -0
- package/dist/kernel/goal/package.json +1 -1
- package/dist/kernel/goal-round-driver/package.json +1 -1
- package/dist/kernel/headless/package.json +1 -1
- package/dist/kernel/home-paths/package.json +1 -1
- package/dist/kernel/hook-protocol/package.json +1 -1
- package/dist/kernel/hooks-claude-code/package.json +1 -1
- package/dist/kernel/hooks-codex/package.json +1 -1
- package/dist/kernel/host-apiproxy/lib/index.js +25 -57
- package/dist/kernel/host-apiproxy/lib/types/api/host.d.ts +2 -0
- package/dist/kernel/host-apiproxy/lib/types/api/host.schema.d.ts +1 -0
- package/dist/kernel/host-apiproxy/lib/types/api/host.schema.js +1 -0
- package/dist/kernel/host-apiproxy/lib/types/api/sessions.d.ts +4 -0
- package/dist/kernel/host-apiproxy/lib/types/api/sessions.schema.js +1 -0
- package/dist/kernel/host-apiproxy/lib/types/api-proxy.js +15 -53
- package/dist/kernel/host-apiproxy/package.json +1 -1
- package/dist/kernel/host-directory-picker/package.json +1 -1
- package/dist/kernel/host-directory-picker-auto/package.json +1 -1
- package/dist/kernel/host-directory-picker-browse/package.json +1 -1
- package/dist/kernel/host-directory-picker-native/package.json +1 -1
- package/dist/kernel/host-frontend-static/lib/index.js +34 -26
- package/dist/kernel/host-frontend-static/lib/types/index.d.ts +10 -10
- package/dist/kernel/host-frontend-static/lib/types/index.js +38 -27
- package/dist/kernel/host-frontend-static/package.json +2 -2
- package/dist/kernel/host-plugin-inventory/package.json +1 -1
- package/dist/kernel/host-webserver/lib/index.js +102 -6
- package/dist/kernel/host-webserver/lib/types/index.d.ts +33 -5
- package/dist/kernel/host-webserver/lib/types/index.js +28 -5
- package/dist/kernel/host-webserver/lib/types/injections.d.ts +56 -0
- package/dist/kernel/host-webserver/lib/types/injections.js +82 -0
- package/dist/kernel/host-webserver/package.json +1 -1
- package/dist/kernel/invariants/package.json +1 -1
- package/dist/kernel/jobs/package.json +1 -1
- package/dist/kernel/jobs-local/package.json +1 -1
- package/dist/kernel/launch-environment/package.json +1 -1
- package/dist/kernel/llm/lib/index.js +247 -25
- package/dist/kernel/llm/lib/types/assembler.d.ts +10 -1
- package/dist/kernel/llm/lib/types/assembler.js +20 -1
- package/dist/kernel/llm/lib/types/content.d.ts +59 -0
- package/dist/kernel/llm/lib/types/content.js +149 -0
- package/dist/kernel/llm/lib/types/index.d.ts +24 -1
- package/dist/kernel/llm/lib/types/index.js +61 -8
- package/dist/kernel/llm/lib/types/retry-policy.d.ts +1 -1
- package/dist/kernel/llm/lib/types/retry-policy.js +6 -2
- package/dist/kernel/llm/package.json +1 -1
- package/dist/kernel/llm-deepseek/lib/index.js +1100 -70
- package/dist/kernel/llm-deepseek/lib/types/adapter.d.ts +69 -1
- package/dist/kernel/llm-deepseek/lib/types/adapter.js +296 -60
- package/dist/kernel/llm-deepseek/lib/types/file-id.d.ts +19 -0
- package/dist/kernel/llm-deepseek/lib/types/file-id.js +18 -0
- package/dist/kernel/llm-deepseek/lib/types/file-store.d.ts +83 -0
- package/dist/kernel/llm-deepseek/lib/types/file-store.js +261 -0
- package/dist/kernel/llm-deepseek/lib/types/files-api.d.ts +103 -0
- package/dist/kernel/llm-deepseek/lib/types/files-api.js +206 -0
- package/dist/kernel/llm-deepseek/lib/types/index.d.ts +31 -3
- package/dist/kernel/llm-deepseek/lib/types/index.js +139 -3
- package/dist/kernel/llm-deepseek/lib/types/serialize.d.ts +55 -6
- package/dist/kernel/llm-deepseek/lib/types/serialize.js +179 -23
- package/dist/kernel/llm-deepseek/lib/types/types.d.ts +28 -5
- package/dist/kernel/llm-deepseek/lib/types/upload-index.d.ts +68 -0
- package/dist/kernel/llm-deepseek/lib/types/upload-index.js +171 -0
- package/dist/kernel/llm-deepseek/package.json +9 -1
- package/dist/kernel/llm-pi-ai/lib/index.js +1758 -1171
- package/dist/kernel/llm-pi-ai/lib/types/adapter.d.ts +30 -5
- package/dist/kernel/llm-pi-ai/lib/types/adapter.js +43 -23
- package/dist/kernel/llm-pi-ai/lib/types/auth.d.ts +60 -0
- package/dist/kernel/llm-pi-ai/lib/types/auth.js +196 -0
- package/dist/kernel/llm-pi-ai/lib/types/catalog.d.ts +176 -38
- package/dist/kernel/llm-pi-ai/lib/types/catalog.js +245 -50
- package/dist/kernel/llm-pi-ai/lib/types/config.d.ts +37 -5
- package/dist/kernel/llm-pi-ai/lib/types/config.js +67 -2
- package/dist/kernel/llm-pi-ai/lib/types/context.d.ts +8 -3
- package/dist/kernel/llm-pi-ai/lib/types/context.js +60 -16
- package/dist/kernel/llm-pi-ai/lib/types/index.d.ts +1 -0
- package/dist/kernel/llm-pi-ai/lib/types/index.js +21 -19
- package/dist/kernel/llm-pi-ai/lib/types/login.d.ts +21 -0
- package/dist/kernel/llm-pi-ai/lib/types/login.js +154 -0
- package/dist/kernel/llm-pi-ai/lib/types/stream.js +4 -0
- package/dist/kernel/llm-pi-ai/package.json +3 -1
- package/dist/kernel/llm-retry/package.json +1 -1
- package/dist/kernel/lsp/package.json +1 -1
- package/dist/kernel/lsp-stdio/package.json +1 -1
- package/dist/kernel/manifest.json +10 -2
- package/dist/kernel/mcp-client/package.json +1 -1
- package/dist/kernel/message-feedback/package.json +1 -1
- package/dist/kernel/native-command/package.json +1 -1
- package/dist/kernel/node-addon-landlock-run/lib/index.js +1 -1
- package/dist/kernel/node-addon-landlock-run/package.json +4 -2
- package/dist/kernel/output-retention/package.json +1 -1
- package/dist/kernel/permission-presets/lib/index.js +14 -2
- package/dist/kernel/permission-presets/lib/types/index.d.ts +5 -0
- package/dist/kernel/permission-presets/lib/types/index.js +11 -2
- package/dist/kernel/permission-presets/package.json +1 -1
- package/dist/kernel/persona/package.json +1 -1
- package/dist/kernel/plan-mode/lib/index.js +49 -15
- package/dist/kernel/plan-mode/lib/types/index.d.ts +22 -0
- package/dist/kernel/plan-mode/lib/types/index.js +45 -19
- package/dist/kernel/plan-mode/lib/types/types.d.ts +5 -4
- package/dist/kernel/plan-mode/package.json +1 -1
- package/dist/kernel/pwsh-local/package.json +1 -1
- package/dist/kernel/pwsh-sandbox/package.json +1 -1
- package/dist/kernel/repeat-tool-reminder/lib/index.js +1 -1
- package/dist/kernel/repeat-tool-reminder/package.json +1 -1
- package/dist/kernel/sandbox/package.json +1 -1
- package/dist/kernel/sandbox-local/lib/index.js +8 -13
- package/dist/kernel/sandbox-local/lib/types/index.d.ts +1 -3
- package/dist/kernel/sandbox-local/lib/types/index.js +4 -7
- package/dist/kernel/sandbox-local/lib/types/profiles.js +1 -1
- package/dist/kernel/sandbox-local/package.json +1 -1
- package/dist/kernel/sandbox-policy/package.json +1 -1
- package/dist/kernel/sandbox-windows-acl/package.json +1 -1
- package/dist/kernel/schedule/package.json +1 -1
- package/dist/kernel/schemastery/package.json +3 -1
- package/dist/kernel/scope/package.json +1 -1
- package/dist/kernel/sdk-client/lib/index.js +2 -2
- package/dist/kernel/sdk-client/lib/types/api.js +2 -2
- package/dist/kernel/sdk-client/lib/types/types.d.ts +4 -4
- package/dist/kernel/sdk-client/package.json +1 -1
- package/dist/kernel/sdk-jsonrpc-server/lib/index.js +12 -5
- package/dist/kernel/sdk-jsonrpc-server/lib/types/index.js +7 -0
- package/dist/kernel/sdk-jsonrpc-server/lib/types/server.d.ts +2 -1
- package/dist/kernel/sdk-jsonrpc-server/lib/types/server.js +15 -6
- package/dist/kernel/sdk-jsonrpc-server/package.json +2 -1
- package/dist/kernel/sdk-protocol/package.json +1 -1
- package/dist/kernel/session/lib/index.js +4 -0
- package/dist/kernel/session/lib/types/known-event-types.js +4 -0
- package/dist/kernel/session/lib/types/types.d.ts +6 -1
- package/dist/kernel/session/package.json +1 -1
- package/dist/kernel/session-checkpoint-policy/package.json +1 -1
- package/dist/kernel/session-log-export/package.json +2 -5
- package/dist/kernel/session-persistence/lib/index.js +1 -1
- package/dist/kernel/session-persistence/lib/types/coordinator.js +2 -1
- package/dist/kernel/session-persistence/package.json +1 -1
- package/dist/kernel/session-persistence-jsonl/package.json +1 -1
- package/dist/kernel/session-persistence-sqlite/lib/index.js +1105 -375
- package/dist/kernel/session-persistence-sqlite/lib/invariant.js +2 -2
- package/dist/kernel/session-persistence-sqlite/lib/types/codec.d.ts +72 -0
- package/dist/kernel/session-persistence-sqlite/lib/types/codec.js +304 -0
- package/dist/kernel/session-persistence-sqlite/lib/types/compression.d.ts +46 -0
- package/dist/kernel/session-persistence-sqlite/lib/types/compression.js +234 -0
- package/dist/kernel/session-persistence-sqlite/lib/types/index.d.ts +22 -80
- package/dist/kernel/session-persistence-sqlite/lib/types/index.js +27 -278
- package/dist/kernel/session-persistence-sqlite/lib/types/invariant.js +2 -2
- package/dist/kernel/session-persistence-sqlite/lib/types/schema.d.ts +63 -85
- package/dist/kernel/session-persistence-sqlite/lib/types/schema.js +293 -159
- package/dist/kernel/session-persistence-sqlite/lib/types/sql.d.ts +15 -0
- package/dist/kernel/session-persistence-sqlite/lib/types/sql.js +57 -0
- package/dist/kernel/session-persistence-sqlite/lib/types/store.d.ts +66 -0
- package/dist/kernel/session-persistence-sqlite/lib/types/store.js +394 -0
- package/dist/kernel/session-persistence-sqlite/package.json +9 -3
- package/dist/kernel/session-persistence-sqlite/resources/sql/begin-immediate.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/begin.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/commit.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/delete-events-from.sql +2 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/foreign-keys-on.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/insert-event.sql +3 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/insert-persistence-state.sql +2 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-delete.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-persist.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-truncate.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-wal.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/mmap-off.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/rollback.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/schema.sql +30 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-application-id.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-events-from.sql +4 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-events.sql +4 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-mmap-size.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-packed-predecessors.sql +6 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-schema-objects.sql +4 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-session.sql +4 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-sessions.sql +3 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-store-id.sql +3 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-synchronous.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-tail-events.sql +5 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-trusted-schema.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-user-object-count.sql +3 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/select-user-version.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/set-application-id.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/set-user-version-17.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/synchronous-full.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/trusted-schema-off.sql +1 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/update-session-revision.sql +3 -0
- package/dist/kernel/session-persistence-sqlite/resources/sql/upsert-session.sql +13 -0
- package/dist/kernel/session-projection/lib/index.js +55 -30
- package/dist/kernel/session-projection/lib/types/index.d.ts +57 -34
- package/dist/kernel/session-projection/lib/types/index.js +61 -36
- package/dist/kernel/session-projection/lib/types/types.d.ts +11 -4
- package/dist/kernel/session-projection/package.json +1 -1
- package/dist/kernel/session-projection-cache/lib/index.js +1 -1
- package/dist/kernel/session-projection-cache/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-projection-cache/lib/types/index.js +4 -5
- package/dist/kernel/session-projection-cache/package.json +1 -1
- package/dist/kernel/session-query/package.json +1 -1
- package/dist/kernel/session-query-sqlite/package.json +1 -1
- package/dist/kernel/session-reference/lib/index.js +232 -110
- package/dist/kernel/session-reference/lib/typert.host.d.ts +3 -0
- package/dist/kernel/session-reference/lib/typert.host.js +458 -0
- package/dist/kernel/session-reference/lib/typert.remote-client.d.ts +26 -0
- package/dist/kernel/session-reference/lib/typert.remote-client.js +62 -0
- package/dist/kernel/session-reference/lib/types/index.d.ts +25 -5
- package/dist/kernel/session-reference/lib/types/index.js +230 -126
- package/dist/kernel/session-reference/lib/types/types.d.ts +14 -3
- package/dist/kernel/session-reference/lib/types/types.js +6 -1
- package/dist/kernel/session-reference/package.json +23 -3
- package/dist/kernel/session-stats/lib/index.js +31 -12
- package/dist/kernel/session-stats/lib/types/projection.d.ts +64 -2
- package/dist/kernel/session-stats/lib/types/projection.js +31 -12
- package/dist/kernel/session-stats/package.json +1 -1
- package/dist/kernel/session-telemetry/package.json +1 -1
- package/dist/kernel/session-telemetry-otel/package.json +1 -1
- package/dist/kernel/session-title/lib/index.js +6 -2
- package/dist/kernel/session-title/lib/types/index.js +3 -2
- package/dist/kernel/session-title/lib/types/types.d.ts +3 -0
- package/dist/kernel/session-title/package.json +1 -1
- package/dist/kernel/session-title-all-prompts-llm/package.json +1 -1
- package/dist/kernel/session-title-first-prompt-llm/package.json +1 -1
- package/dist/kernel/session-title-llm/package.json +1 -1
- package/dist/kernel/settings/package.json +1 -1
- package/dist/kernel/settings-file/package.json +1 -1
- package/dist/kernel/shell/package.json +1 -1
- package/dist/kernel/shell-env/package.json +1 -1
- package/dist/kernel/skill/package.json +1 -1
- package/dist/kernel/skill-badge/assets/nomix-badge.md +6 -6
- package/dist/kernel/skill-badge/assets/nomix-badge.png +0 -0
- package/dist/kernel/skill-badge/lib/index.js +1 -1
- package/dist/kernel/skill-badge/lib/types/index.js +1 -1
- package/dist/kernel/skill-badge/package.json +1 -1
- package/dist/kernel/skill-filesystem/package.json +1 -1
- package/dist/kernel/spill/package.json +1 -1
- package/dist/kernel/spill-local/package.json +1 -1
- package/dist/kernel/spill-policy/package.json +1 -1
- package/dist/kernel/storage/package.json +1 -1
- package/dist/kernel/storage-domain/package.json +1 -1
- package/dist/kernel/storage-json/package.json +1 -1
- package/dist/kernel/storage-sqlite/package.json +1 -1
- package/dist/kernel/subagent/lib/index.js +123 -20
- package/dist/kernel/subagent/lib/types/continuation.d.ts +21 -2
- package/dist/kernel/subagent/lib/types/continuation.js +58 -7
- package/dist/kernel/subagent/lib/types/index.d.ts +11 -0
- package/dist/kernel/subagent/lib/types/index.js +16 -0
- package/dist/kernel/subagent/lib/types/out-of-process.d.ts +2 -0
- package/dist/kernel/subagent/lib/types/out-of-process.js +31 -1
- package/dist/kernel/subagent/lib/types/projection.d.ts +55 -8
- package/dist/kernel/subagent/lib/types/projection.js +30 -15
- package/dist/kernel/subagent/lib/types/run-settlement.js +10 -3
- package/dist/kernel/subagent/lib/types/types.d.ts +7 -0
- package/dist/kernel/subagent/package.json +1 -1
- package/dist/kernel/subagent-acp/package.json +1 -1
- package/dist/kernel/subagent-claude-code/cordis.patch.yml +6 -0
- package/dist/kernel/subagent-claude-code/lib/index.js +267 -73
- package/dist/kernel/subagent-claude-code/lib/types/index.d.ts +16 -6
- package/dist/kernel/subagent-claude-code/lib/types/index.js +35 -14
- package/dist/kernel/subagent-claude-code/lib/types/process.d.ts +5 -7
- package/dist/kernel/subagent-claude-code/lib/types/process.js +12 -24
- package/dist/kernel/subagent-claude-code/lib/types/run.d.ts +24 -7
- package/dist/kernel/subagent-claude-code/lib/types/run.js +266 -40
- package/dist/kernel/subagent-claude-code/package.json +10 -2
- package/dist/kernel/subagent-codex/cordis.patch.yml +5 -0
- package/dist/kernel/subagent-codex/lib/index.js +482 -91
- package/dist/kernel/subagent-codex/lib/types/index.d.ts +11 -6
- package/dist/kernel/subagent-codex/lib/types/index.js +33 -12
- package/dist/kernel/subagent-codex/lib/types/run.d.ts +17 -8
- package/dist/kernel/subagent-codex/lib/types/run.js +235 -42
- package/dist/kernel/subagent-codex/lib/types/wire.d.ts +49 -1
- package/dist/kernel/subagent-codex/lib/types/wire.js +280 -33
- package/dist/kernel/subagent-codex/package.json +10 -5
- package/dist/kernel/subagent-fork-in-process/package.json +1 -1
- package/dist/kernel/subagent-in-process-driver/package.json +1 -1
- package/dist/kernel/subagent-nomix-sdk/package.json +1 -1
- package/dist/kernel/subagent-spawn-in-process/package.json +1 -1
- package/dist/kernel/subprocess/package.json +1 -1
- package/dist/kernel/subprocess-e2b/package.json +1 -1
- package/dist/kernel/subprocess-local/lib/index.js +303 -1
- package/dist/kernel/subprocess-local/lib/types/process-inspector.js +3 -0
- package/dist/kernel/subprocess-local/lib/types/terminal.d.ts +6 -1
- package/dist/kernel/subprocess-local/lib/types/terminal.js +78 -1
- package/dist/kernel/subprocess-local/lib/types/windows-inspector.d.ts +80 -0
- package/dist/kernel/subprocess-local/lib/types/windows-inspector.js +259 -0
- package/dist/kernel/subprocess-local/package.json +2 -1
- package/dist/kernel/system-prompt/package.json +1 -1
- package/dist/kernel/terminal/package.json +1 -1
- package/dist/kernel/terminal-bash/lib/index.js +85 -20
- package/dist/kernel/terminal-bash/lib/types/config.d.ts +29 -5
- package/dist/kernel/terminal-bash/lib/types/config.js +33 -3
- package/dist/kernel/terminal-bash/lib/types/index.d.ts +7 -0
- package/dist/kernel/terminal-bash/lib/types/index.js +65 -13
- package/dist/kernel/terminal-bash/package.json +2 -1
- package/dist/kernel/time-context/lib/index.js +1 -1
- package/dist/kernel/time-context/lib/invariant.js +1 -1
- package/dist/kernel/time-context/package.json +1 -1
- package/dist/kernel/timeout/package.json +1 -1
- package/dist/kernel/tmux-context/lib/index.js +1 -1
- package/dist/kernel/tmux-context/package.json +1 -1
- package/dist/kernel/token-meter/lib/index.js +77 -21
- package/dist/kernel/token-meter/lib/types/breakdown-projection.d.ts +76 -9
- package/dist/kernel/token-meter/lib/types/breakdown-projection.js +22 -6
- package/dist/kernel/token-meter/lib/types/usage-projection.d.ts +186 -25
- package/dist/kernel/token-meter/lib/types/usage-projection.js +44 -15
- package/dist/kernel/token-meter/package.json +1 -1
- package/dist/kernel/tool-ask-user/package.json +1 -1
- package/dist/kernel/tool-bash/package.json +1 -1
- package/dist/kernel/tool-bash-persistent/lib/index.js +15 -5
- package/dist/kernel/tool-bash-persistent/lib/types/index.js +23 -6
- package/dist/kernel/tool-bash-persistent/package.json +1 -1
- package/dist/kernel/tool-call-timeout-policy/package.json +1 -1
- package/dist/kernel/tool-cordis/lib/index.js +655 -83
- package/dist/kernel/tool-cordis/lib/types/api-catalog.js +439 -41
- package/dist/kernel/tool-cordis/package.json +1 -1
- package/dist/kernel/tool-fs/lib/index.js +80 -52
- package/dist/kernel/tool-fs/lib/types/read-image.d.ts +16 -12
- package/dist/kernel/tool-fs/lib/types/read-image.js +73 -29
- package/dist/kernel/tool-fs/package.json +1 -1
- package/dist/kernel/tool-fs-search/lib/index.js +11 -7
- package/dist/kernel/tool-fs-search/lib/types/search-core.d.ts +5 -6
- package/dist/kernel/tool-fs-search/lib/types/search-core.js +12 -7
- package/dist/kernel/tool-fs-search/package.json +1 -1
- package/dist/kernel/tool-goal/package.json +1 -1
- package/dist/kernel/tool-jobs/package.json +1 -1
- package/dist/kernel/tool-lsp/package.json +1 -1
- package/dist/kernel/tool-pwsh/package.json +1 -1
- package/dist/kernel/tool-pwsh-persistent/lib/index.js +407 -0
- package/dist/kernel/tool-pwsh-persistent/lib/invariant.js +24 -0
- package/dist/kernel/tool-pwsh-persistent/lib/types/index.d.ts +24 -0
- package/dist/kernel/tool-pwsh-persistent/lib/types/index.js +465 -0
- package/dist/kernel/tool-pwsh-persistent/lib/types/invariant.d.ts +16 -0
- package/dist/kernel/tool-pwsh-persistent/lib/types/invariant.js +23 -0
- package/dist/kernel/tool-pwsh-persistent/package.json +62 -0
- package/dist/kernel/tool-ralph/package.json +1 -1
- package/dist/kernel/tool-session-query/package.json +1 -1
- package/dist/kernel/tool-skill/package.json +1 -1
- package/dist/kernel/tool-str-replace-editor/package.json +1 -1
- package/dist/kernel/tool-subagent/lib/index.js +10 -8
- package/dist/kernel/tool-subagent/lib/types/index.js +15 -8
- package/dist/kernel/tool-subagent/package.json +1 -1
- package/dist/kernel/tool-subagent-control/package.json +1 -1
- package/dist/kernel/tool-subagent-report/lib/index.js +1 -1
- package/dist/kernel/tool-subagent-report/lib/types/index.d.ts +3 -3
- package/dist/kernel/tool-subagent-report/lib/types/index.js +1 -1
- package/dist/kernel/tool-subagent-report/package.json +1 -1
- package/dist/kernel/tool-terminal/package.json +1 -1
- package/dist/kernel/tool-todo/lib/index.js +5 -2
- package/dist/kernel/tool-todo/lib/types/index.js +2 -2
- package/dist/kernel/tool-todo/lib/types/types.d.ts +3 -0
- package/dist/kernel/tool-todo/package.json +1 -1
- package/dist/kernel/tool-web/lib/index.js +101 -26
- package/dist/kernel/tool-web/lib/types/index.d.ts +4 -2
- package/dist/kernel/tool-web/lib/types/index.js +5 -3
- package/dist/kernel/tool-web/lib/types/search.d.ts +23 -20
- package/dist/kernel/tool-web/lib/types/search.js +109 -20
- package/dist/kernel/tool-web/package.json +1 -1
- package/dist/kernel/tool-workflow/package.json +1 -1
- package/dist/kernel/tools/package.json +1 -1
- package/dist/kernel/typert-generator/lib/index.js +8 -3
- package/dist/kernel/typert-generator/lib/types/cordis-catalog.js +8 -3
- package/dist/kernel/typert-generator/package.json +1 -1
- package/dist/kernel/typert-loader/package.json +1 -1
- package/dist/kernel/typert-protocol/package.json +1 -1
- package/dist/kernel/typert-registry/package.json +1 -1
- package/dist/kernel/user-approval/package.json +1 -1
- package/dist/kernel/user-questions/package.json +1 -1
- package/dist/kernel/web/lib/types/types.d.ts +4 -3
- package/dist/kernel/web/package.json +1 -1
- package/dist/kernel/web-app/cordis.patch.yml +27 -6
- package/dist/kernel/web-app/lib/index.js +111 -15
- package/dist/kernel/web-app/lib/startup.js +4 -2
- package/dist/kernel/web-app/lib/types/index.d.ts +8 -4
- package/dist/kernel/web-app/lib/types/index.js +116 -23
- package/dist/kernel/web-app/lib/types/startup.d.ts +3 -1
- package/dist/kernel/web-app/lib/types/startup.js +4 -1
- package/dist/kernel/web-app/package.json +12 -2
- package/dist/kernel/web-fetch-http/lib/index.js +1 -1
- package/dist/kernel/web-fetch-http/lib/types/index.d.ts +1 -1
- package/dist/kernel/web-fetch-http/lib/types/index.js +1 -1
- package/dist/kernel/web-fetch-http/package.json +1 -1
- package/dist/kernel/web-frontend/dist/assets/index-BnapMmQ_.css +1 -0
- package/dist/kernel/web-frontend/dist/assets/index-Dx7Ws_OC.js +96 -0
- package/dist/kernel/web-frontend/dist/assets/langs/{php-D-uCvoST.js → php-DDkx9sim.js} +2 -2
- package/dist/{assets/web/assets/langs/ruby-DEItuUFs.js → kernel/web-frontend/dist/assets/langs/ruby-DCxyoPen.js} +2 -2
- package/dist/kernel/web-frontend/dist/assets/{vendor-Cjbwl5VI.js → vendor-D22_Mp1f.js} +2 -2
- package/dist/kernel/web-frontend/dist/favicon.svg +8 -0
- package/dist/kernel/web-frontend/dist/index.html +5 -5
- package/dist/kernel/web-frontend/package.json +5 -8
- package/dist/kernel/web-search-deepseek/lib/index.js +1 -1
- package/dist/kernel/web-search-deepseek/lib/types/provider.js +1 -1
- package/dist/kernel/web-search-deepseek/package.json +1 -1
- package/dist/kernel/web-search-exa/lib/index.js +1 -1
- package/dist/kernel/web-search-exa/lib/types/provider.js +1 -1
- package/dist/kernel/web-search-exa/package.json +1 -1
- package/dist/kernel/web-search-perplexity/lib/index.js +1 -1
- package/dist/kernel/web-search-perplexity/lib/types/provider.js +1 -1
- package/dist/kernel/web-search-perplexity/package.json +1 -1
- package/dist/kernel/workflow/package.json +1 -1
- package/dist/kernel/workflow-worker-thread/package.json +1 -1
- package/dist/kernel/workspace/package.json +1 -1
- package/dist/plugins/manifest.json +50 -10
- package/dist/runtime/index.js +0 -2
- package/package.json +8 -6
- package/dist/assets/web/assets/index-B_fSXASy.css +0 -1
- package/dist/assets/web/assets/index-B_sZ-Gsu.js +0 -112
- package/dist/cli/builtin-registry.d.ts +0 -5
- package/dist/cli/profile-boot-CeU09iFc.js +0 -2
- package/dist/kernel/app-boot/lib/types/legacy-branding.d.ts +0 -6
- package/dist/kernel/app-boot/lib/types/legacy-branding.js +0 -18
- package/dist/kernel/client-schema-form/lib/index.js +0 -137
- package/dist/kernel/client-schema-form/lib/types/index.d.ts +0 -10
- package/dist/kernel/client-schema-form/lib/types/index.js +0 -9
- package/dist/kernel/client-schema-form/lib/types/model.d.ts +0 -66
- package/dist/kernel/client-schema-form/lib/types/model.js +0 -153
- package/dist/kernel/client-ui-subagent/lib/types/client/SubagentCatalogAction.d.ts +0 -18
- package/dist/kernel/client-ui-theme/lib/styles/base.css +0 -15
- package/dist/kernel/client-ui-theme/lib/styles/design-platform.css +0 -338
- package/dist/kernel/client-ui-theme/lib/styles/gradient-shadow-text.css +0 -232
- package/dist/kernel/client-ui-theme/lib/styles/scrollbar.css +0 -90
- package/dist/kernel/client-ui-theme/lib/styles/shiki.css +0 -31
- package/dist/kernel/client-web/lib/types/AppRoot.d.ts +0 -16
- package/dist/kernel/client-web/lib/types/AppRoot.js +0 -27
- package/dist/kernel/client-web/lib/types/DocumentTitle.js +0 -16
- package/dist/kernel/client-web/lib/types/app-shell.d.ts +0 -28
- package/dist/kernel/client-web/lib/types/app-shell.js +0 -27
- package/dist/kernel/client-web/lib/types/app.d.ts +0 -21
- package/dist/kernel/client-web-react/lib/index.js +0 -810
- package/dist/kernel/client-web-react/lib/types/index.d.ts +0 -16
- package/dist/kernel/client-web-react/lib/types/index.js +0 -6
- package/dist/kernel/client-web-react/lib/types/use-invoke.d.ts +0 -9
- package/dist/kernel/client-web-react/lib/types/use-invoke.js +0 -52
- package/dist/kernel/skill-badge/assets/nomix-badge.svg +0 -8
- package/dist/kernel/web-frontend/dist/assets/index-B_fSXASy.css +0 -1
- package/dist/kernel/web-frontend/dist/assets/index-B_sZ-Gsu.js +0 -112
- /package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/bind.js +0 -0
- /package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/session-provider.js +0 -0
|
@@ -1,13 +1,31 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
+
import css from "./StateDot.module.css";
|
|
4
|
+
import css$1 from "./DisclosureRow.module.css";
|
|
5
|
+
import css$2 from "./Button.module.css";
|
|
6
|
+
import css$3 from "./Pill.module.css";
|
|
7
|
+
import css$4 from "./Input.module.css";
|
|
3
8
|
import { Fragment as Fragment$1, cloneElement, createElement, memo, useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
4
9
|
import { createPortal } from "react-dom";
|
|
10
|
+
import css$5 from "./Menu.module.css";
|
|
11
|
+
import css$6 from "./HoverCard.module.css";
|
|
12
|
+
import css$7 from "./Modal.module.css";
|
|
13
|
+
import css$8 from "./OnboardingSurface.module.css";
|
|
14
|
+
import css$9 from "./RiskConfirmation.module.css";
|
|
15
|
+
import css$10 from "./ConnectionBanner.module.css";
|
|
16
|
+
import css$11 from "./Tooltip.module.css";
|
|
17
|
+
import css$12 from "./Toast.module.css";
|
|
18
|
+
import css$13 from "./JsonTree.module.css";
|
|
5
19
|
import Anser from "anser";
|
|
20
|
+
import css$14 from "./TerminalBlock.module.css";
|
|
6
21
|
import { createCssVariablesTheme, createHighlighterCoreSync } from "shiki/core";
|
|
7
22
|
import { createJavaScriptRegexEngine, defaultJavaScriptRegexConstructor } from "shiki/engine/javascript";
|
|
8
23
|
import langTs from "@shikijs/langs/typescript";
|
|
9
24
|
import langBash from "@shikijs/langs/shellscript";
|
|
10
25
|
import langJson from "@shikijs/langs/json";
|
|
26
|
+
import css$15 from "./ReadBlock.module.css";
|
|
27
|
+
import css$16 from "./DiffBlock.module.css";
|
|
28
|
+
import css$17 from "./SearchBlock.module.css";
|
|
11
29
|
import { fromMarkdown } from "mdast-util-from-markdown";
|
|
12
30
|
import { gfmFromMarkdown } from "mdast-util-gfm";
|
|
13
31
|
import { mathFromMarkdown } from "mdast-util-math";
|
|
@@ -19,11 +37,13 @@ import { classifyCharacter } from "micromark-util-classify-character";
|
|
|
19
37
|
import { codes, constants, types } from "micromark-util-symbol";
|
|
20
38
|
import { factorySpace } from "micromark-factory-space";
|
|
21
39
|
import { normalizeUri } from "micromark-util-sanitize-uri";
|
|
40
|
+
import css$18 from "./markdown/CodeBlock.module.css";
|
|
22
41
|
import katex from "katex";
|
|
42
|
+
import css$19 from "./markdown/MarkdownText.module.css";
|
|
23
43
|
import "katex/dist/katex.min.css";
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
44
|
+
import css$20 from "./WebBlock.module.css";
|
|
45
|
+
import css$21 from "./markdown/JsonBlock.module.css";
|
|
46
|
+
import css$22 from "./markdown/MessageText.module.css";
|
|
27
47
|
//#region lib/types/StateDot.js
|
|
28
48
|
/** Outer 3x3 matrix cells (2px pixels on a 10px grid), clockwise from top-left. */
|
|
29
49
|
const MATRIX_CELLS = [
|
|
@@ -45,7 +65,7 @@ const MATRIX_CELLS = [
|
|
|
45
65
|
*/
|
|
46
66
|
function StateDot({ state, size = 10, className }) {
|
|
47
67
|
if (state === "ongoing") return jsx("svg", {
|
|
48
|
-
className: clsx(
|
|
68
|
+
className: clsx(css.matrix, className),
|
|
49
69
|
"data-state": "ongoing",
|
|
50
70
|
width: size,
|
|
51
71
|
height: size,
|
|
@@ -53,7 +73,7 @@ function StateDot({ state, size = 10, className }) {
|
|
|
53
73
|
shapeRendering: "crispEdges",
|
|
54
74
|
"aria-hidden": "true",
|
|
55
75
|
children: MATRIX_CELLS.map(([x, y], index) => jsx("rect", {
|
|
56
|
-
className:
|
|
76
|
+
className: css.cell,
|
|
57
77
|
x,
|
|
58
78
|
y,
|
|
59
79
|
width: "2",
|
|
@@ -62,7 +82,7 @@ function StateDot({ state, size = 10, className }) {
|
|
|
62
82
|
}, `${x}-${y}`))
|
|
63
83
|
});
|
|
64
84
|
return jsx("span", {
|
|
65
|
-
className: clsx(
|
|
85
|
+
className: clsx(css.dot, className),
|
|
66
86
|
"data-state": state,
|
|
67
87
|
style: {
|
|
68
88
|
width: size,
|
|
@@ -1319,9 +1339,6 @@ const IconArchiveOutline20 = ({ size = 20, className }) => jsxs("svg", {
|
|
|
1319
1339
|
})]
|
|
1320
1340
|
});
|
|
1321
1341
|
//#endregion
|
|
1322
|
-
//#region \0nomix-css-stub:./DisclosureRow.module.css.mjs
|
|
1323
|
-
var DisclosureRow_module_css_default = {};
|
|
1324
|
-
//#endregion
|
|
1325
1342
|
//#region lib/types/DisclosureRow.js
|
|
1326
1343
|
/**
|
|
1327
1344
|
* Render one disclosure header and its controlled expanded content.
|
|
@@ -1340,15 +1357,15 @@ function DisclosureRow({ icon, title, open, expandable, onToggle, expandOnRowCli
|
|
|
1340
1357
|
onToggle();
|
|
1341
1358
|
};
|
|
1342
1359
|
const collapsedLeading = previewChevron ? jsxs(Fragment, { children: [jsx("span", {
|
|
1343
|
-
className:
|
|
1360
|
+
className: css$1.iconIdle,
|
|
1344
1361
|
children: icon
|
|
1345
|
-
}), jsx(IconChevronDownOutline14, { className: clsx(chevronClassName,
|
|
1362
|
+
}), jsx(IconChevronDownOutline14, { className: clsx(chevronClassName, css$1.chevronHover) })] }) : icon;
|
|
1346
1363
|
const leading = open ? jsx(IconChevronDownOutline14, { className: chevronClassName }) : collapsedLeading;
|
|
1347
1364
|
return jsxs("div", {
|
|
1348
|
-
className: clsx(
|
|
1365
|
+
className: clsx(css$1.root, className),
|
|
1349
1366
|
"data-open": open || void 0,
|
|
1350
1367
|
children: [jsxs("div", {
|
|
1351
|
-
className: clsx(
|
|
1368
|
+
className: clsx(css$1.row, rowClassName),
|
|
1352
1369
|
"data-disclosure-row": true,
|
|
1353
1370
|
"data-expandable": rowExpands || void 0,
|
|
1354
1371
|
role: rowExpands ? "button" : void 0,
|
|
@@ -1359,16 +1376,16 @@ function DisclosureRow({ icon, title, open, expandable, onToggle, expandOnRowCli
|
|
|
1359
1376
|
children: [
|
|
1360
1377
|
expandable && !rowExpands ? jsx("button", {
|
|
1361
1378
|
type: "button",
|
|
1362
|
-
className: clsx(
|
|
1379
|
+
className: clsx(css$1.leading, leadingClassName),
|
|
1363
1380
|
"aria-expanded": open,
|
|
1364
1381
|
onClick: toggleFromLeading,
|
|
1365
1382
|
children: leading
|
|
1366
1383
|
}) : jsx("span", {
|
|
1367
|
-
className: clsx(
|
|
1384
|
+
className: clsx(css$1.leading, leadingClassName),
|
|
1368
1385
|
children: leading
|
|
1369
1386
|
}),
|
|
1370
1387
|
jsx("span", {
|
|
1371
|
-
className: clsx(
|
|
1388
|
+
className: clsx(css$1.title, titleClassName),
|
|
1372
1389
|
children: title
|
|
1373
1390
|
}),
|
|
1374
1391
|
(keepContentWhenOpen || !open) && collapsedContent
|
|
@@ -1377,9 +1394,6 @@ function DisclosureRow({ icon, title, open, expandable, onToggle, expandOnRowCli
|
|
|
1377
1394
|
});
|
|
1378
1395
|
}
|
|
1379
1396
|
//#endregion
|
|
1380
|
-
//#region \0nomix-css-stub:./Button.module.css.mjs
|
|
1381
|
-
var Button_module_css_default = {};
|
|
1382
|
-
//#endregion
|
|
1383
1397
|
//#region lib/types/Button.js
|
|
1384
1398
|
/**
|
|
1385
1399
|
* Render a button.
|
|
@@ -1391,18 +1405,15 @@ var Button_module_css_default = {};
|
|
|
1391
1405
|
function Button({ variant = "ghost", size = "md", icon, className, children, ...rest }) {
|
|
1392
1406
|
return jsxs("button", {
|
|
1393
1407
|
type: "button",
|
|
1394
|
-
className: clsx(
|
|
1408
|
+
className: clsx(css$2.button, css$2[variant], css$2[size], className),
|
|
1395
1409
|
...rest,
|
|
1396
1410
|
children: [icon != null && jsx("span", {
|
|
1397
|
-
className:
|
|
1411
|
+
className: css$2.icon,
|
|
1398
1412
|
children: icon
|
|
1399
1413
|
}), children]
|
|
1400
1414
|
});
|
|
1401
1415
|
}
|
|
1402
1416
|
//#endregion
|
|
1403
|
-
//#region \0nomix-css-stub:./Pill.module.css.mjs
|
|
1404
|
-
var Pill_module_css_default = {};
|
|
1405
|
-
//#endregion
|
|
1406
1417
|
//#region lib/types/Pill.js
|
|
1407
1418
|
/**
|
|
1408
1419
|
* Render a pill chip. Interactive when onClick is supplied (renders a button);
|
|
@@ -1412,21 +1423,18 @@ var Pill_module_css_default = {};
|
|
|
1412
1423
|
*/
|
|
1413
1424
|
function Pill({ active = false, className, children, onClick, ...rest }) {
|
|
1414
1425
|
if (!onClick) return jsx("span", {
|
|
1415
|
-
className: clsx(
|
|
1426
|
+
className: clsx(css$3.pill, active && css$3.active, className),
|
|
1416
1427
|
children
|
|
1417
1428
|
});
|
|
1418
1429
|
return jsx("button", {
|
|
1419
1430
|
type: "button",
|
|
1420
|
-
className: clsx(
|
|
1431
|
+
className: clsx(css$3.pill, css$3.interactive, active && css$3.active, className),
|
|
1421
1432
|
onClick,
|
|
1422
1433
|
...rest,
|
|
1423
1434
|
children
|
|
1424
1435
|
});
|
|
1425
1436
|
}
|
|
1426
1437
|
//#endregion
|
|
1427
|
-
//#region \0nomix-css-stub:./Input.module.css.mjs
|
|
1428
|
-
var Input_module_css_default = {};
|
|
1429
|
-
//#endregion
|
|
1430
1438
|
//#region lib/types/Input.js
|
|
1431
1439
|
/**
|
|
1432
1440
|
* Render a text input with an optional leading icon.
|
|
@@ -1435,12 +1443,12 @@ var Input_module_css_default = {};
|
|
|
1435
1443
|
*/
|
|
1436
1444
|
function Input({ icon, className, ...rest }) {
|
|
1437
1445
|
return jsxs("span", {
|
|
1438
|
-
className: clsx(
|
|
1446
|
+
className: clsx(css$4.wrap, className),
|
|
1439
1447
|
children: [icon != null && jsx("span", {
|
|
1440
|
-
className:
|
|
1448
|
+
className: css$4.icon,
|
|
1441
1449
|
children: icon
|
|
1442
1450
|
}), jsx("input", {
|
|
1443
|
-
className:
|
|
1451
|
+
className: css$4.input,
|
|
1444
1452
|
...rest
|
|
1445
1453
|
})]
|
|
1446
1454
|
});
|
|
@@ -1475,9 +1483,6 @@ function usePointerGrace(close) {
|
|
|
1475
1483
|
};
|
|
1476
1484
|
}
|
|
1477
1485
|
//#endregion
|
|
1478
|
-
//#region \0nomix-css-stub:./Menu.module.css.mjs
|
|
1479
|
-
var Menu_module_css_default = {};
|
|
1480
|
-
//#endregion
|
|
1481
1486
|
//#region lib/types/Menu.js
|
|
1482
1487
|
function isSeparator(entry) {
|
|
1483
1488
|
return "type" in entry && entry.type === "separator";
|
|
@@ -1606,11 +1611,11 @@ function Menu({ open, anchor, items, selectedId, selectedIds, onSelect, onClose,
|
|
|
1606
1611
|
const scrollable = !items.some((entry) => !isSeparator(entry) && !isLabel(entry) && entry.submenu !== void 0 && entry.submenu.length > 0);
|
|
1607
1612
|
const renderEntry = (entry) => {
|
|
1608
1613
|
if (isSeparator(entry)) return jsx("div", {
|
|
1609
|
-
className:
|
|
1614
|
+
className: css$5.separator,
|
|
1610
1615
|
role: "separator"
|
|
1611
1616
|
}, entry.id);
|
|
1612
1617
|
if (isLabel(entry)) return jsx("div", {
|
|
1613
|
-
className:
|
|
1618
|
+
className: css$5.label,
|
|
1614
1619
|
role: "presentation",
|
|
1615
1620
|
children: entry.text
|
|
1616
1621
|
}, entry.id);
|
|
@@ -1618,7 +1623,7 @@ function Menu({ open, anchor, items, selectedId, selectedIds, onSelect, onClose,
|
|
|
1618
1623
|
const subOpen = hasSub && openSubmenuId === entry.id;
|
|
1619
1624
|
const selected = entry.id === selectedId || selectedIds?.includes(entry.id) === true;
|
|
1620
1625
|
return jsxs("div", {
|
|
1621
|
-
className:
|
|
1626
|
+
className: css$5.itemWrap,
|
|
1622
1627
|
onMouseEnter: () => {
|
|
1623
1628
|
setOpenSubmenuId(hasSub ? entry.id : null);
|
|
1624
1629
|
},
|
|
@@ -1628,7 +1633,7 @@ function Menu({ open, anchor, items, selectedId, selectedIds, onSelect, onClose,
|
|
|
1628
1633
|
children: [jsxs("button", {
|
|
1629
1634
|
type: "button",
|
|
1630
1635
|
role: "menuitem",
|
|
1631
|
-
className: clsx(
|
|
1636
|
+
className: clsx(css$5.item, selected && css$5.selected, entry.danger === true && css$5.danger),
|
|
1632
1637
|
disabled: entry.disabled,
|
|
1633
1638
|
"aria-haspopup": hasSub ? "menu" : void 0,
|
|
1634
1639
|
"aria-expanded": hasSub ? subOpen : void 0,
|
|
@@ -1644,31 +1649,31 @@ function Menu({ open, anchor, items, selectedId, selectedIds, onSelect, onClose,
|
|
|
1644
1649
|
},
|
|
1645
1650
|
children: [
|
|
1646
1651
|
entry.icon !== void 0 && jsx("span", {
|
|
1647
|
-
className:
|
|
1652
|
+
className: css$5.itemIcon,
|
|
1648
1653
|
children: entry.icon
|
|
1649
1654
|
}),
|
|
1650
1655
|
jsx("span", {
|
|
1651
|
-
className:
|
|
1656
|
+
className: css$5.itemLabel,
|
|
1652
1657
|
children: entry.label
|
|
1653
1658
|
}),
|
|
1654
|
-
selected && jsx(IconCheckOutline16, { className:
|
|
1659
|
+
selected && jsx(IconCheckOutline16, { className: css$5.check })
|
|
1655
1660
|
]
|
|
1656
1661
|
}), subOpen && entry.submenu !== void 0 && jsx("div", {
|
|
1657
|
-
className: clsx(
|
|
1662
|
+
className: clsx(css$5.submenu, compact && css$5.compactList),
|
|
1658
1663
|
role: "menu",
|
|
1659
1664
|
children: entry.submenu.map((sub) => jsxs("button", {
|
|
1660
1665
|
type: "button",
|
|
1661
1666
|
role: "menuitem",
|
|
1662
|
-
className:
|
|
1667
|
+
className: css$5.item,
|
|
1663
1668
|
disabled: sub.disabled,
|
|
1664
1669
|
onClick: () => {
|
|
1665
1670
|
onSelect(sub.id);
|
|
1666
1671
|
},
|
|
1667
1672
|
children: [sub.icon !== void 0 && jsx("span", {
|
|
1668
|
-
className:
|
|
1673
|
+
className: css$5.itemIcon,
|
|
1669
1674
|
children: sub.icon
|
|
1670
1675
|
}), jsx("span", {
|
|
1671
|
-
className:
|
|
1676
|
+
className: css$5.itemLabel,
|
|
1672
1677
|
children: sub.label
|
|
1673
1678
|
})]
|
|
1674
1679
|
}, sub.id))
|
|
@@ -1677,25 +1682,25 @@ function Menu({ open, anchor, items, selectedId, selectedIds, onSelect, onClose,
|
|
|
1677
1682
|
};
|
|
1678
1683
|
const list = open && jsxs("div", {
|
|
1679
1684
|
ref: listRef,
|
|
1680
|
-
className: clsx(
|
|
1685
|
+
className: clsx(css$5.list, dense && css$5.denseList, compact && css$5.compactList, scrollable && css$5.scrollable, portal && css$5.portal, side === "top" && !portal && css$5.sideTop, align === "end" && !portal && css$5.alignEnd),
|
|
1681
1686
|
style: portal ? fixedPos ?? MEASURE_STYLE : void 0,
|
|
1682
1687
|
role: "menu",
|
|
1683
1688
|
onClick: (e) => {
|
|
1684
1689
|
e.stopPropagation();
|
|
1685
1690
|
},
|
|
1686
1691
|
children: [jsx("div", {
|
|
1687
|
-
className:
|
|
1692
|
+
className: css$5.viewport,
|
|
1688
1693
|
role: "presentation",
|
|
1689
1694
|
children: items.map(renderEntry)
|
|
1690
1695
|
}), footer !== void 0 && footer.length > 0 && jsx("div", {
|
|
1691
|
-
className:
|
|
1696
|
+
className: css$5.footer,
|
|
1692
1697
|
role: "presentation",
|
|
1693
1698
|
children: footer.map(renderEntry)
|
|
1694
1699
|
})]
|
|
1695
1700
|
});
|
|
1696
1701
|
return jsxs("span", {
|
|
1697
1702
|
ref: rootRef,
|
|
1698
|
-
className: clsx(
|
|
1703
|
+
className: clsx(css$5.root, className),
|
|
1699
1704
|
onPointerEnter: closeOnPointerLeave ? cancelClose : void 0,
|
|
1700
1705
|
onPointerLeave: closeOnPointerLeave ? () => {
|
|
1701
1706
|
if (open) armClose();
|
|
@@ -1744,6 +1749,74 @@ function useAnchoredMaxHeight(ref, cap, signal) {
|
|
|
1744
1749
|
return maxHeight;
|
|
1745
1750
|
}
|
|
1746
1751
|
//#endregion
|
|
1752
|
+
//#region lib/types/useAnchoredPosition.js
|
|
1753
|
+
/**
|
|
1754
|
+
* Keep a fixed-position floating element anchored to a trigger.
|
|
1755
|
+
*
|
|
1756
|
+
* A portaled panel is positioned from its anchor's viewport rect, which stops
|
|
1757
|
+
* being true the moment anything scrolls or the window resizes. This owns that
|
|
1758
|
+
* one concern: measure the anchor, offset the panel below it, clamp the result
|
|
1759
|
+
* inside the viewport, and re-run on scroll (capture phase, so scrollers nested
|
|
1760
|
+
* inside the page are caught too), on resize, and on the panel's own size
|
|
1761
|
+
* changes while the element is open.
|
|
1762
|
+
* @module @nomix-ai/nomix-client-ui-primitives/useAnchoredPosition
|
|
1763
|
+
*/
|
|
1764
|
+
/**
|
|
1765
|
+
* Track an anchor and return the panel's fixed coordinates.
|
|
1766
|
+
* @param options - the open state, the two refs, and the gap/margin distances.
|
|
1767
|
+
* @returns `left`/`top` for the panel, or `null` before the first measurement.
|
|
1768
|
+
*/
|
|
1769
|
+
function useAnchoredPosition(options) {
|
|
1770
|
+
const { open, anchorRef, panelRef, gap, margin } = options;
|
|
1771
|
+
const [position, setPosition] = useState(null);
|
|
1772
|
+
useLayoutEffect(() => {
|
|
1773
|
+
if (!open) {
|
|
1774
|
+
setPosition(null);
|
|
1775
|
+
return;
|
|
1776
|
+
}
|
|
1777
|
+
const place = () => {
|
|
1778
|
+
/* v8 ignore start -- geometry read from real layout: jsdom reports zero
|
|
1779
|
+
offset sizes, so the positive-size clamp arms are exercised by browser
|
|
1780
|
+
scenarios rather than unit tests. */
|
|
1781
|
+
const rect = anchorRef.current?.getBoundingClientRect();
|
|
1782
|
+
if (rect === void 0) return;
|
|
1783
|
+
const panel = panelRef.current;
|
|
1784
|
+
const width = panel?.offsetWidth ?? 0;
|
|
1785
|
+
const height = panel?.offsetHeight ?? 0;
|
|
1786
|
+
let left = rect.left;
|
|
1787
|
+
let top = rect.bottom + gap;
|
|
1788
|
+
if (width > 0) left = Math.min(Math.max(left, margin), window.innerWidth - width - margin);
|
|
1789
|
+
if (height > 0) top = Math.min(Math.max(top, margin), window.innerHeight - height - margin);
|
|
1790
|
+
/* v8 ignore stop */
|
|
1791
|
+
setPosition({
|
|
1792
|
+
left,
|
|
1793
|
+
top
|
|
1794
|
+
});
|
|
1795
|
+
};
|
|
1796
|
+
place();
|
|
1797
|
+
window.addEventListener("scroll", place, true);
|
|
1798
|
+
window.addEventListener("resize", place);
|
|
1799
|
+
const panel = panelRef.current;
|
|
1800
|
+
let observer = null;
|
|
1801
|
+
if (typeof ResizeObserver !== "undefined" && panel !== null) {
|
|
1802
|
+
observer = new ResizeObserver(place);
|
|
1803
|
+
observer.observe(panel);
|
|
1804
|
+
}
|
|
1805
|
+
return () => {
|
|
1806
|
+
observer?.disconnect();
|
|
1807
|
+
window.removeEventListener("scroll", place, true);
|
|
1808
|
+
window.removeEventListener("resize", place);
|
|
1809
|
+
};
|
|
1810
|
+
}, [
|
|
1811
|
+
open,
|
|
1812
|
+
anchorRef,
|
|
1813
|
+
panelRef,
|
|
1814
|
+
gap,
|
|
1815
|
+
margin
|
|
1816
|
+
]);
|
|
1817
|
+
return position;
|
|
1818
|
+
}
|
|
1819
|
+
//#endregion
|
|
1747
1820
|
//#region lib/types/useDismissOnOutsidePointer.js
|
|
1748
1821
|
/**
|
|
1749
1822
|
* Outside-pointer dismissal for trigger-owned popovers (jobs list, Cordis
|
|
@@ -1805,9 +1878,6 @@ async function writeClipboard(text) {
|
|
|
1805
1878
|
}
|
|
1806
1879
|
}
|
|
1807
1880
|
//#endregion
|
|
1808
|
-
//#region \0nomix-css-stub:./HoverCard.module.css.mjs
|
|
1809
|
-
var HoverCard_module_css_default = {};
|
|
1810
|
-
//#endregion
|
|
1811
1881
|
//#region lib/types/HoverCard.js
|
|
1812
1882
|
/**
|
|
1813
1883
|
* Render an anchor with a hover-triggered preview card.
|
|
@@ -1926,7 +1996,7 @@ function HoverCard({ anchor, content, openDelayMs = 500, disabled = false, copyT
|
|
|
1926
1996
|
const copyable = copyText !== void 0;
|
|
1927
1997
|
const card = open && pos !== null && jsx("div", {
|
|
1928
1998
|
ref: cardRef,
|
|
1929
|
-
className: `${
|
|
1999
|
+
className: `${css$6.card}${copyable ? ` ${css$6.copyable}` : ""}${copied ? ` ${css$6.feedback}` : ""}`,
|
|
1930
2000
|
style: {
|
|
1931
2001
|
...pos,
|
|
1932
2002
|
minHeight: copied && copyHeightRef.current !== null ? copyHeightRef.current : void 0
|
|
@@ -1947,14 +2017,14 @@ function HoverCard({ anchor, content, openDelayMs = 500, disabled = false, copyT
|
|
|
1947
2017
|
copy(copyText);
|
|
1948
2018
|
} : void 0,
|
|
1949
2019
|
children: copied ? jsx("span", {
|
|
1950
|
-
className:
|
|
2020
|
+
className: css$6.copied,
|
|
1951
2021
|
"aria-hidden": "true",
|
|
1952
2022
|
children: copiedLabel
|
|
1953
2023
|
}) : content
|
|
1954
2024
|
});
|
|
1955
2025
|
return jsxs("span", {
|
|
1956
2026
|
ref: rootRef,
|
|
1957
|
-
className:
|
|
2027
|
+
className: css$6.root,
|
|
1958
2028
|
onPointerEnter: () => {
|
|
1959
2029
|
if (disabled) return;
|
|
1960
2030
|
cancelClose();
|
|
@@ -1977,7 +2047,7 @@ function HoverCard({ anchor, content, openDelayMs = 500, disabled = false, copyT
|
|
|
1977
2047
|
children: [
|
|
1978
2048
|
anchor,
|
|
1979
2049
|
open && copyable && jsx("span", {
|
|
1980
|
-
className:
|
|
2050
|
+
className: css$6.status,
|
|
1981
2051
|
role: "status",
|
|
1982
2052
|
children: copied ? copiedLabel : ""
|
|
1983
2053
|
}),
|
|
@@ -1986,9 +2056,6 @@ function HoverCard({ anchor, content, openDelayMs = 500, disabled = false, copyT
|
|
|
1986
2056
|
});
|
|
1987
2057
|
}
|
|
1988
2058
|
//#endregion
|
|
1989
|
-
//#region \0nomix-css-stub:./Modal.module.css.mjs
|
|
1990
|
-
var Modal_module_css_default = {};
|
|
1991
|
-
//#endregion
|
|
1992
2059
|
//#region lib/types/Modal.js
|
|
1993
2060
|
/**
|
|
1994
2061
|
* Render a centered modal over a blurred page mask.
|
|
@@ -2020,53 +2087,50 @@ function Modal({ open, onClose, title, closeLabel = "Close", description, childr
|
|
|
2020
2087
|
}, [open, onClose]);
|
|
2021
2088
|
if (!open) return null;
|
|
2022
2089
|
return createPortal(jsxs("div", {
|
|
2023
|
-
className:
|
|
2090
|
+
className: css$7.root,
|
|
2024
2091
|
role: "presentation",
|
|
2025
2092
|
children: [jsx("div", {
|
|
2026
|
-
className:
|
|
2093
|
+
className: css$7.mask,
|
|
2027
2094
|
"aria-hidden": "true",
|
|
2028
2095
|
onClick: onClose
|
|
2029
2096
|
}), jsx("div", {
|
|
2030
|
-
className: clsx(
|
|
2097
|
+
className: clsx(css$7.dialog, className),
|
|
2031
2098
|
role: "dialog",
|
|
2032
2099
|
"aria-modal": "true",
|
|
2033
2100
|
"aria-label": title,
|
|
2034
2101
|
children: headless ? children : jsxs(Fragment, { children: [jsxs("div", {
|
|
2035
|
-
className: clsx(
|
|
2102
|
+
className: clsx(css$7.content, contentClassName),
|
|
2036
2103
|
children: [
|
|
2037
2104
|
jsxs("div", {
|
|
2038
|
-
className:
|
|
2105
|
+
className: css$7.header,
|
|
2039
2106
|
children: [jsx("h2", {
|
|
2040
|
-
className:
|
|
2107
|
+
className: css$7.title,
|
|
2041
2108
|
children: title
|
|
2042
2109
|
}), jsx("button", {
|
|
2043
2110
|
type: "button",
|
|
2044
|
-
className:
|
|
2111
|
+
className: css$7.close,
|
|
2045
2112
|
"aria-label": closeLabel,
|
|
2046
2113
|
onClick: onClose,
|
|
2047
2114
|
children: jsx(IconCloseOutline16, { size: 14 })
|
|
2048
2115
|
})]
|
|
2049
2116
|
}),
|
|
2050
2117
|
description !== void 0 && description !== "" && jsx("p", {
|
|
2051
|
-
className:
|
|
2118
|
+
className: css$7.description,
|
|
2052
2119
|
children: description
|
|
2053
2120
|
}),
|
|
2054
2121
|
children !== void 0 && jsx("div", {
|
|
2055
|
-
className:
|
|
2122
|
+
className: css$7.body,
|
|
2056
2123
|
children
|
|
2057
2124
|
})
|
|
2058
2125
|
]
|
|
2059
2126
|
}), footer !== void 0 && jsx("div", {
|
|
2060
|
-
className:
|
|
2127
|
+
className: css$7.footer,
|
|
2061
2128
|
children: footer
|
|
2062
2129
|
})] })
|
|
2063
2130
|
})]
|
|
2064
2131
|
}), document.body);
|
|
2065
2132
|
}
|
|
2066
2133
|
//#endregion
|
|
2067
|
-
//#region \0nomix-css-stub:./OnboardingSurface.module.css.mjs
|
|
2068
|
-
var OnboardingSurface_module_css_default = {};
|
|
2069
|
-
//#endregion
|
|
2070
2134
|
//#region lib/types/OnboardingSurface.js
|
|
2071
2135
|
/**
|
|
2072
2136
|
* Render the onboarding takeover chrome (mask + opaque stage) around one
|
|
@@ -2084,21 +2148,18 @@ function OnboardingSurface({ children }) {
|
|
|
2084
2148
|
};
|
|
2085
2149
|
}, []);
|
|
2086
2150
|
return createPortal(jsxs("div", {
|
|
2087
|
-
className:
|
|
2151
|
+
className: css$8.onboardingOverlay,
|
|
2088
2152
|
role: "presentation",
|
|
2089
2153
|
children: [jsx("div", {
|
|
2090
|
-
className:
|
|
2154
|
+
className: css$8.onboardingMask,
|
|
2091
2155
|
"aria-hidden": "true"
|
|
2092
2156
|
}), jsx("div", {
|
|
2093
|
-
className:
|
|
2157
|
+
className: css$8.onboardingStage,
|
|
2094
2158
|
children
|
|
2095
2159
|
})]
|
|
2096
2160
|
}), document.body);
|
|
2097
2161
|
}
|
|
2098
2162
|
//#endregion
|
|
2099
|
-
//#region \0nomix-css-stub:./RiskConfirmation.module.css.mjs
|
|
2100
|
-
var RiskConfirmation_module_css_default = {};
|
|
2101
|
-
//#endregion
|
|
2102
2163
|
//#region lib/types/RiskConfirmation.js
|
|
2103
2164
|
/**
|
|
2104
2165
|
* Controlled risk acknowledgement dialog shared by product surfaces that
|
|
@@ -2113,28 +2174,28 @@ function RiskConfirmation({ open, title, description, acknowledgeLabel, cancelLa
|
|
|
2113
2174
|
open,
|
|
2114
2175
|
onClose: onCancel,
|
|
2115
2176
|
title,
|
|
2116
|
-
className:
|
|
2117
|
-
contentClassName:
|
|
2177
|
+
className: css$9.confirmation ?? "",
|
|
2178
|
+
contentClassName: css$9.confirmationContent ?? "",
|
|
2118
2179
|
footer: jsxs(Fragment, { children: [jsx(Button, {
|
|
2119
2180
|
variant: "outline",
|
|
2120
|
-
className:
|
|
2181
|
+
className: css$9.modalAction,
|
|
2121
2182
|
onClick: onCancel,
|
|
2122
2183
|
children: cancelLabel
|
|
2123
2184
|
}), jsx(Button, {
|
|
2124
2185
|
variant: "primary",
|
|
2125
|
-
className:
|
|
2186
|
+
className: css$9.confirmAction,
|
|
2126
2187
|
disabled: disabled || !acknowledged,
|
|
2127
2188
|
onClick: onConfirm,
|
|
2128
2189
|
children: confirmLabel
|
|
2129
2190
|
})] }),
|
|
2130
2191
|
children: [jsxs("div", {
|
|
2131
|
-
className:
|
|
2192
|
+
className: css$9.warning,
|
|
2132
2193
|
children: [jsx(IconWarningOutline16, {
|
|
2133
2194
|
size: 18,
|
|
2134
|
-
className:
|
|
2195
|
+
className: css$9.warningIcon
|
|
2135
2196
|
}), jsx("p", { children: description })]
|
|
2136
2197
|
}), jsxs("label", {
|
|
2137
|
-
className:
|
|
2198
|
+
className: css$9.acknowledgement,
|
|
2138
2199
|
children: [jsx("input", {
|
|
2139
2200
|
type: "checkbox",
|
|
2140
2201
|
checked: acknowledged,
|
|
@@ -2148,9 +2209,6 @@ function RiskConfirmation({ open, title, description, acknowledgeLabel, cancelLa
|
|
|
2148
2209
|
});
|
|
2149
2210
|
}
|
|
2150
2211
|
//#endregion
|
|
2151
|
-
//#region \0nomix-css-stub:./ConnectionBanner.module.css.mjs
|
|
2152
|
-
var ConnectionBanner_module_css_default = {};
|
|
2153
|
-
//#endregion
|
|
2154
2212
|
//#region lib/types/ConnectionBanner.js
|
|
2155
2213
|
/**
|
|
2156
2214
|
* Render the reconnecting banner.
|
|
@@ -2162,7 +2220,7 @@ var ConnectionBanner_module_css_default = {};
|
|
|
2162
2220
|
function ConnectionBanner({ reconnecting, label = "连接已断开,正在重连…" }) {
|
|
2163
2221
|
if (!reconnecting) return null;
|
|
2164
2222
|
return jsx("div", {
|
|
2165
|
-
className:
|
|
2223
|
+
className: css$10.banner,
|
|
2166
2224
|
children: label
|
|
2167
2225
|
});
|
|
2168
2226
|
}
|
|
@@ -2196,17 +2254,18 @@ function NomixLogo({ size = 24, className }) {
|
|
|
2196
2254
|
* Render the Nomix Harness brand wordmark.
|
|
2197
2255
|
* @param props.size - height in px (default 24).
|
|
2198
2256
|
* @param props.className - extra class for layout placement.
|
|
2257
|
+
* @param props.includeMark - whether to include the leading Nomix mark.
|
|
2199
2258
|
* @returns the decorative logo, product name, and Harness badge.
|
|
2200
2259
|
*/
|
|
2201
|
-
function BrandWordmark({ size = 24, className }) {
|
|
2260
|
+
function BrandWordmark({ size = 24, className, includeMark = true }) {
|
|
2202
2261
|
return jsxs("svg", {
|
|
2203
|
-
width: size * 148 / 24,
|
|
2262
|
+
width: size * (includeMark ? 148 : 117) / 24,
|
|
2204
2263
|
height: size,
|
|
2205
2264
|
className,
|
|
2206
|
-
viewBox: "0 0 148 24",
|
|
2265
|
+
viewBox: includeMark ? "0 0 148 24" : "31 0 117 24",
|
|
2207
2266
|
"aria-hidden": "true",
|
|
2208
2267
|
children: [
|
|
2209
|
-
jsx("image", {
|
|
2268
|
+
includeMark && jsx("image", {
|
|
2210
2269
|
href: "/nomix-logo.jpg",
|
|
2211
2270
|
width: "24",
|
|
2212
2271
|
height: "24"
|
|
@@ -2243,9 +2302,6 @@ function BrandWordmark({ size = 24, className }) {
|
|
|
2243
2302
|
});
|
|
2244
2303
|
}
|
|
2245
2304
|
//#endregion
|
|
2246
|
-
//#region \0nomix-css-stub:./Tooltip.module.css.mjs
|
|
2247
|
-
var Tooltip_module_css_default = {};
|
|
2248
|
-
//#endregion
|
|
2249
2305
|
//#region lib/types/Tooltip.js
|
|
2250
2306
|
/**
|
|
2251
2307
|
* Attach a hover/focus tooltip to an anchor element.
|
|
@@ -2377,7 +2433,7 @@ function Tooltip({ label, side = "right", delayMs = 0, disabled = false, maxWidt
|
|
|
2377
2433
|
}
|
|
2378
2434
|
}), pos !== null && jsx("span", {
|
|
2379
2435
|
ref: bubble,
|
|
2380
|
-
className:
|
|
2436
|
+
className: css$11.bubble,
|
|
2381
2437
|
"data-side": placement,
|
|
2382
2438
|
style: {
|
|
2383
2439
|
left: pos.x,
|
|
@@ -2389,9 +2445,6 @@ function Tooltip({ label, side = "right", delayMs = 0, disabled = false, maxWidt
|
|
|
2389
2445
|
})] });
|
|
2390
2446
|
}
|
|
2391
2447
|
//#endregion
|
|
2392
|
-
//#region \0nomix-css-stub:./Toast.module.css.mjs
|
|
2393
|
-
var Toast_module_css_default = {};
|
|
2394
|
-
//#endregion
|
|
2395
2448
|
//#region lib/types/Toast.js
|
|
2396
2449
|
/**
|
|
2397
2450
|
* Transient top-center banner: slides in, holds at full opacity, fades out,
|
|
@@ -2430,23 +2483,20 @@ function Toast({ text, icon, anchor, onDone }) {
|
|
|
2430
2483
|
};
|
|
2431
2484
|
}, [anchor]);
|
|
2432
2485
|
return createPortal(jsxs("div", {
|
|
2433
|
-
className:
|
|
2486
|
+
className: css$12.toast,
|
|
2434
2487
|
role: "alert",
|
|
2435
2488
|
style: left === null ? void 0 : { left },
|
|
2436
2489
|
children: [icon !== void 0 && jsx("span", {
|
|
2437
|
-
className:
|
|
2490
|
+
className: css$12.icon,
|
|
2438
2491
|
"aria-hidden": true,
|
|
2439
2492
|
children: icon
|
|
2440
2493
|
}), jsx("span", {
|
|
2441
|
-
className:
|
|
2494
|
+
className: css$12.text,
|
|
2442
2495
|
children: text
|
|
2443
2496
|
})]
|
|
2444
2497
|
}), document.body);
|
|
2445
2498
|
}
|
|
2446
2499
|
//#endregion
|
|
2447
|
-
//#region \0nomix-css-stub:./JsonTree.module.css.mjs
|
|
2448
|
-
var JsonTree_module_css_default = {};
|
|
2449
|
-
//#endregion
|
|
2450
2500
|
//#region lib/types/JsonTree.js
|
|
2451
2501
|
const OBJECT_PREVIEW_LIMIT = 4;
|
|
2452
2502
|
const ARRAY_PREVIEW_LIMIT = 5;
|
|
@@ -2507,35 +2557,35 @@ function bracketOf(value) {
|
|
|
2507
2557
|
}
|
|
2508
2558
|
function previewPrimitive(value) {
|
|
2509
2559
|
if (value === null) return jsx("span", {
|
|
2510
|
-
className:
|
|
2560
|
+
className: css$13.keywordValue,
|
|
2511
2561
|
children: "null"
|
|
2512
2562
|
});
|
|
2513
2563
|
if (typeof value === "string") return jsx("span", {
|
|
2514
|
-
className:
|
|
2564
|
+
className: css$13.stringValue,
|
|
2515
2565
|
children: JSON.stringify(value)
|
|
2516
2566
|
});
|
|
2517
2567
|
if (typeof value === "number") return jsx("span", {
|
|
2518
|
-
className:
|
|
2568
|
+
className: css$13.numberValue,
|
|
2519
2569
|
children: String(value)
|
|
2520
2570
|
});
|
|
2521
2571
|
if (typeof value === "boolean") return jsx("span", {
|
|
2522
|
-
className:
|
|
2572
|
+
className: css$13.keywordValue,
|
|
2523
2573
|
children: String(value)
|
|
2524
2574
|
});
|
|
2525
2575
|
if (typeof value === "bigint") return jsx("span", {
|
|
2526
|
-
className:
|
|
2576
|
+
className: css$13.otherValue,
|
|
2527
2577
|
children: value.toString()
|
|
2528
2578
|
});
|
|
2529
2579
|
if (typeof value === "undefined") return jsx("span", {
|
|
2530
|
-
className:
|
|
2580
|
+
className: css$13.otherValue,
|
|
2531
2581
|
children: "undefined"
|
|
2532
2582
|
});
|
|
2533
2583
|
if (typeof value === "symbol") return jsx("span", {
|
|
2534
|
-
className:
|
|
2584
|
+
className: css$13.otherValue,
|
|
2535
2585
|
children: value.description ?? "Symbol"
|
|
2536
2586
|
});
|
|
2537
2587
|
if (typeof value === "function") return jsx("span", {
|
|
2538
|
-
className:
|
|
2588
|
+
className: css$13.otherValue,
|
|
2539
2589
|
children: value.name || "Function"
|
|
2540
2590
|
});
|
|
2541
2591
|
return null;
|
|
@@ -2549,71 +2599,71 @@ function previewValue(value, depth) {
|
|
|
2549
2599
|
const [open, close] = bracketOf(value);
|
|
2550
2600
|
return jsxs(Fragment, { children: [
|
|
2551
2601
|
jsx("span", {
|
|
2552
|
-
className:
|
|
2602
|
+
className: css$13.punctuation,
|
|
2553
2603
|
children: open
|
|
2554
2604
|
}),
|
|
2555
2605
|
depth >= PREVIEW_DEPTH_LIMIT ? jsx("span", {
|
|
2556
|
-
className:
|
|
2606
|
+
className: css$13.previewEllipsis,
|
|
2557
2607
|
children: "…"
|
|
2558
2608
|
}) : visible.map(([key, item], index) => jsxs("span", { children: [
|
|
2559
2609
|
index > 0 && jsx("span", {
|
|
2560
|
-
className:
|
|
2610
|
+
className: css$13.punctuation,
|
|
2561
2611
|
children: ", "
|
|
2562
2612
|
}),
|
|
2563
2613
|
!array && jsxs(Fragment, { children: [jsx("span", {
|
|
2564
|
-
className:
|
|
2614
|
+
className: css$13.previewProperty,
|
|
2565
2615
|
children: key
|
|
2566
2616
|
}), jsx("span", {
|
|
2567
|
-
className:
|
|
2617
|
+
className: css$13.punctuation,
|
|
2568
2618
|
children: ": "
|
|
2569
2619
|
})] }),
|
|
2570
2620
|
previewValue(item, depth + 1)
|
|
2571
2621
|
] }, key)),
|
|
2572
2622
|
depth < PREVIEW_DEPTH_LIMIT && entries.length > limit && jsx("span", {
|
|
2573
|
-
className:
|
|
2623
|
+
className: css$13.previewEllipsis,
|
|
2574
2624
|
children: ", …"
|
|
2575
2625
|
}),
|
|
2576
2626
|
jsx("span", {
|
|
2577
|
-
className:
|
|
2627
|
+
className: css$13.punctuation,
|
|
2578
2628
|
children: close
|
|
2579
2629
|
})
|
|
2580
2630
|
] });
|
|
2581
2631
|
}
|
|
2582
2632
|
function primitiveValue(value) {
|
|
2583
2633
|
if (value === null) return jsx("span", {
|
|
2584
|
-
className:
|
|
2634
|
+
className: css$13.keywordValue,
|
|
2585
2635
|
children: "null"
|
|
2586
2636
|
});
|
|
2587
2637
|
if (typeof value === "string") return jsx("span", {
|
|
2588
|
-
className:
|
|
2638
|
+
className: css$13.stringValue,
|
|
2589
2639
|
children: JSON.stringify(value)
|
|
2590
2640
|
});
|
|
2591
2641
|
if (typeof value === "boolean") return jsx("span", {
|
|
2592
|
-
className:
|
|
2642
|
+
className: css$13.keywordValue,
|
|
2593
2643
|
children: String(value)
|
|
2594
2644
|
});
|
|
2595
2645
|
if (typeof value === "number") return jsx("span", {
|
|
2596
|
-
className:
|
|
2646
|
+
className: css$13.numberValue,
|
|
2597
2647
|
children: String(value)
|
|
2598
2648
|
});
|
|
2599
2649
|
if (typeof value === "bigint") return jsx("span", {
|
|
2600
|
-
className:
|
|
2650
|
+
className: css$13.numberValue,
|
|
2601
2651
|
children: `${value.toString()}n`
|
|
2602
2652
|
});
|
|
2603
2653
|
if (value instanceof Date) return jsx("span", {
|
|
2604
|
-
className:
|
|
2654
|
+
className: css$13.otherValue,
|
|
2605
2655
|
children: value.toISOString()
|
|
2606
2656
|
});
|
|
2607
2657
|
if (typeof value === "function") return jsxs("span", {
|
|
2608
|
-
className:
|
|
2658
|
+
className: css$13.otherValue,
|
|
2609
2659
|
children: ["function() ", "{ }"]
|
|
2610
2660
|
});
|
|
2611
2661
|
if (typeof value === "undefined") return jsx("span", {
|
|
2612
|
-
className:
|
|
2662
|
+
className: css$13.otherValue,
|
|
2613
2663
|
children: "undefined"
|
|
2614
2664
|
});
|
|
2615
2665
|
return jsx("span", {
|
|
2616
|
-
className:
|
|
2666
|
+
className: css$13.otherValue,
|
|
2617
2667
|
children: value.toString()
|
|
2618
2668
|
});
|
|
2619
2669
|
}
|
|
@@ -2641,7 +2691,7 @@ function moveFocus(button, direction) {
|
|
|
2641
2691
|
function NodeField({ field, expandable, onToggle }) {
|
|
2642
2692
|
if (field === void 0) return null;
|
|
2643
2693
|
return jsxs("span", {
|
|
2644
|
-
className: clsx(
|
|
2694
|
+
className: clsx(css$13.label, expandable && css$13.clickableLabel),
|
|
2645
2695
|
onClick: expandable ? onToggle : void 0,
|
|
2646
2696
|
children: [fieldText(field), ":"]
|
|
2647
2697
|
});
|
|
@@ -2670,7 +2720,7 @@ function JsonTreeNode({ field, initialExpanded, labels, lastElement, onClaimTabS
|
|
|
2670
2720
|
}
|
|
2671
2721
|
};
|
|
2672
2722
|
const row = (children, ariaExpanded) => jsx("div", {
|
|
2673
|
-
className:
|
|
2723
|
+
className: css$13.row,
|
|
2674
2724
|
role: "treeitem",
|
|
2675
2725
|
"aria-expanded": ariaExpanded,
|
|
2676
2726
|
onMouseOver: (event) => {
|
|
@@ -2690,7 +2740,7 @@ function JsonTreeNode({ field, initialExpanded, labels, lastElement, onClaimTabS
|
|
|
2690
2740
|
}),
|
|
2691
2741
|
primitiveValue(value),
|
|
2692
2742
|
!lastElement && jsx("span", {
|
|
2693
|
-
className:
|
|
2743
|
+
className: css$13.punctuation,
|
|
2694
2744
|
children: ","
|
|
2695
2745
|
})
|
|
2696
2746
|
] }));
|
|
@@ -2702,22 +2752,22 @@ function JsonTreeNode({ field, initialExpanded, labels, lastElement, onClaimTabS
|
|
|
2702
2752
|
onToggle: toggle
|
|
2703
2753
|
}),
|
|
2704
2754
|
jsx("span", {
|
|
2705
|
-
className:
|
|
2755
|
+
className: css$13.punctuation,
|
|
2706
2756
|
children: open
|
|
2707
2757
|
}),
|
|
2708
2758
|
jsx("span", {
|
|
2709
|
-
className:
|
|
2759
|
+
className: css$13.punctuation,
|
|
2710
2760
|
children: close
|
|
2711
2761
|
}),
|
|
2712
2762
|
!lastElement && jsx("span", {
|
|
2713
|
-
className:
|
|
2763
|
+
className: css$13.punctuation,
|
|
2714
2764
|
children: ","
|
|
2715
2765
|
})
|
|
2716
2766
|
] }));
|
|
2717
2767
|
return row(jsxs(Fragment, { children: [
|
|
2718
2768
|
jsx("span", {
|
|
2719
2769
|
ref: expanderRef,
|
|
2720
|
-
className: clsx(
|
|
2770
|
+
className: clsx(css$13.expander, expanded ? css$13.collapseIcon : css$13.expandIcon),
|
|
2721
2771
|
"data-json-expander": true,
|
|
2722
2772
|
role: "button",
|
|
2723
2773
|
"aria-label": expanded ? labels.collapseNode : labels.expandNode,
|
|
@@ -2736,17 +2786,17 @@ function JsonTreeNode({ field, initialExpanded, labels, lastElement, onClaimTabS
|
|
|
2736
2786
|
onToggle: toggle
|
|
2737
2787
|
}),
|
|
2738
2788
|
jsx("span", {
|
|
2739
|
-
className:
|
|
2789
|
+
className: css$13.preview,
|
|
2740
2790
|
children: previewValue(value, 0)
|
|
2741
2791
|
}),
|
|
2742
2792
|
!lastElement && jsx("span", {
|
|
2743
|
-
className:
|
|
2793
|
+
className: css$13.punctuation,
|
|
2744
2794
|
children: ","
|
|
2745
2795
|
}),
|
|
2746
2796
|
expanded && jsx("ul", {
|
|
2747
2797
|
id: contentsId,
|
|
2748
2798
|
role: "group",
|
|
2749
|
-
className:
|
|
2799
|
+
className: css$13.children,
|
|
2750
2800
|
children: entries.map(([key, item], index) => jsx(JsonTreeNode, {
|
|
2751
2801
|
field: key,
|
|
2752
2802
|
value: item,
|
|
@@ -2911,17 +2961,17 @@ function JsonTree({ data, label = "JSON", className, copyable = true, expandTopL
|
|
|
2911
2961
|
const copyTitle = copyState === "copied" ? copyLabels.copied : copyState === "failed" ? copyLabels.copyFailed : copyTargetIsObject ? copyLabels.copyPrettyJson : copyLabels.copyValue;
|
|
2912
2962
|
return jsxs("div", {
|
|
2913
2963
|
ref: rootRef,
|
|
2914
|
-
className: clsx(
|
|
2964
|
+
className: clsx(css$13.root, className),
|
|
2915
2965
|
onMouseOver: handleRootMouseOver,
|
|
2916
2966
|
onMouseLeave: () => {
|
|
2917
2967
|
if (!copyMenuOpenRef.current) clearCopyTarget();
|
|
2918
2968
|
},
|
|
2919
2969
|
onScroll: handleScroll,
|
|
2920
2970
|
children: [expandTopLevel ? jsxs("div", {
|
|
2921
|
-
className:
|
|
2971
|
+
className: css$13.expandedTopLevel,
|
|
2922
2972
|
children: [
|
|
2923
2973
|
jsx("div", {
|
|
2924
|
-
className: clsx(
|
|
2974
|
+
className: clsx(css$13.row, css$13.topLevelBracket),
|
|
2925
2975
|
"data-json-root-row": true,
|
|
2926
2976
|
onMouseOver: (event) => {
|
|
2927
2977
|
event.stopPropagation();
|
|
@@ -2931,13 +2981,13 @@ function JsonTree({ data, label = "JSON", className, copyable = true, expandTopL
|
|
|
2931
2981
|
});
|
|
2932
2982
|
},
|
|
2933
2983
|
children: jsx("span", {
|
|
2934
|
-
className:
|
|
2984
|
+
className: css$13.punctuation,
|
|
2935
2985
|
children: rootOpen
|
|
2936
2986
|
})
|
|
2937
2987
|
}),
|
|
2938
2988
|
jsx("div", {
|
|
2939
2989
|
"aria-label": label,
|
|
2940
|
-
className: clsx(
|
|
2990
|
+
className: clsx(css$13.container, css$13.expandedTopLevelContainer),
|
|
2941
2991
|
role: "tree",
|
|
2942
2992
|
children: rootEntries.map(([key, value], index) => jsx(JsonTreeNode, {
|
|
2943
2993
|
field: key,
|
|
@@ -2952,16 +3002,16 @@ function JsonTree({ data, label = "JSON", className, copyable = true, expandTopL
|
|
|
2952
3002
|
}, key))
|
|
2953
3003
|
}),
|
|
2954
3004
|
jsx("div", {
|
|
2955
|
-
className: clsx(
|
|
3005
|
+
className: clsx(css$13.row, css$13.topLevelBracket),
|
|
2956
3006
|
children: jsx("span", {
|
|
2957
|
-
className:
|
|
3007
|
+
className: css$13.punctuation,
|
|
2958
3008
|
children: rootClose
|
|
2959
3009
|
})
|
|
2960
3010
|
})
|
|
2961
3011
|
]
|
|
2962
3012
|
}) : jsx("div", {
|
|
2963
3013
|
"aria-label": label,
|
|
2964
|
-
className:
|
|
3014
|
+
className: css$13.container,
|
|
2965
3015
|
role: "tree",
|
|
2966
3016
|
children: jsx(JsonTreeNode, {
|
|
2967
3017
|
value: data,
|
|
@@ -2974,7 +3024,7 @@ function JsonTree({ data, label = "JSON", className, copyable = true, expandTopL
|
|
|
2974
3024
|
onRowHover: handleRowHover
|
|
2975
3025
|
})
|
|
2976
3026
|
}), copyTarget !== void 0 && jsx("span", {
|
|
2977
|
-
className:
|
|
3027
|
+
className: css$13.copyAnchor,
|
|
2978
3028
|
style: {
|
|
2979
3029
|
left: copyTarget.left,
|
|
2980
3030
|
top: copyTarget.top
|
|
@@ -2988,7 +3038,7 @@ function JsonTree({ data, label = "JSON", className, copyable = true, expandTopL
|
|
|
2988
3038
|
anchor: jsx("button", {
|
|
2989
3039
|
ref: copyButtonRef,
|
|
2990
3040
|
type: "button",
|
|
2991
|
-
className:
|
|
3041
|
+
className: css$13.copyButton,
|
|
2992
3042
|
"data-json-copy-button": true,
|
|
2993
3043
|
"data-state": copyState,
|
|
2994
3044
|
"aria-label": copyTitle,
|
|
@@ -3454,9 +3504,6 @@ function useCopyFeedback(text) {
|
|
|
3454
3504
|
};
|
|
3455
3505
|
}
|
|
3456
3506
|
//#endregion
|
|
3457
|
-
//#region \0nomix-css-stub:./TerminalBlock.module.css.mjs
|
|
3458
|
-
var TerminalBlock_module_css_default = {};
|
|
3459
|
-
//#endregion
|
|
3460
3507
|
//#region lib/types/TerminalBlock.js
|
|
3461
3508
|
/**
|
|
3462
3509
|
* Output lines shown before the height cap collapses the middle. Matches the
|
|
@@ -3577,66 +3624,66 @@ function TerminalBlock({ command, cwd, home, output, exitCode, signal, running =
|
|
|
3577
3624
|
const empty = lines.every((line) => line.every((span) => span.text.trim() === ""));
|
|
3578
3625
|
const { hidden, capped, headLines, tailLines } = headTailCap(lines.length, maxLines, expanded);
|
|
3579
3626
|
return jsxs("div", {
|
|
3580
|
-
className: clsx(
|
|
3627
|
+
className: clsx(css$14.block, className),
|
|
3581
3628
|
"data-terminal": "",
|
|
3582
3629
|
"data-running": running ? "" : void 0,
|
|
3583
3630
|
children: [jsxs("div", {
|
|
3584
|
-
className:
|
|
3631
|
+
className: css$14.header,
|
|
3585
3632
|
children: [
|
|
3586
3633
|
jsxs("div", {
|
|
3587
|
-
className:
|
|
3634
|
+
className: css$14.prompt,
|
|
3588
3635
|
children: [jsx("span", {
|
|
3589
|
-
className:
|
|
3636
|
+
className: css$14.runStateLabel,
|
|
3590
3637
|
children: state.label
|
|
3591
3638
|
}), commandLines.map((line, index) => jsxs("div", {
|
|
3592
|
-
className:
|
|
3639
|
+
className: css$14.promptLine,
|
|
3593
3640
|
children: [
|
|
3594
3641
|
index === 0 && jsx(StateDot, {
|
|
3595
3642
|
state: state.state,
|
|
3596
|
-
className:
|
|
3643
|
+
className: css$14.runState
|
|
3597
3644
|
}),
|
|
3598
3645
|
jsx("span", {
|
|
3599
|
-
className:
|
|
3646
|
+
className: css$14.cwd,
|
|
3600
3647
|
children: index > 0 || cwd === void 0 ? "$" : promptLabel(cwd, home)
|
|
3601
3648
|
}),
|
|
3602
3649
|
jsx("span", {
|
|
3603
|
-
className:
|
|
3650
|
+
className: css$14.command,
|
|
3604
3651
|
children: line
|
|
3605
3652
|
})
|
|
3606
3653
|
]
|
|
3607
3654
|
}, index))]
|
|
3608
3655
|
}),
|
|
3609
3656
|
status !== void 0 && jsx(Pill, {
|
|
3610
|
-
className:
|
|
3657
|
+
className: css$14.status,
|
|
3611
3658
|
children: status
|
|
3612
3659
|
}),
|
|
3613
3660
|
!running && !empty && jsx("button", {
|
|
3614
3661
|
type: "button",
|
|
3615
|
-
className:
|
|
3662
|
+
className: css$14.copyButton,
|
|
3616
3663
|
onClick: onCopy,
|
|
3617
3664
|
children: copied ? copy.copied : copy.copy
|
|
3618
3665
|
})
|
|
3619
3666
|
]
|
|
3620
3667
|
}), !running && (empty ? jsx("div", {
|
|
3621
|
-
className:
|
|
3668
|
+
className: css$14.empty,
|
|
3622
3669
|
children: copy.noOutput
|
|
3623
3670
|
}) : jsxs("div", {
|
|
3624
|
-
className:
|
|
3671
|
+
className: css$14.output,
|
|
3625
3672
|
children: [
|
|
3626
3673
|
(capped ? lines.slice(0, headLines) : lines).map((line, index) => jsx("div", {
|
|
3627
|
-
className:
|
|
3674
|
+
className: css$14.line,
|
|
3628
3675
|
children: renderLine(line)
|
|
3629
3676
|
}, index)),
|
|
3630
3677
|
hidden > 0 && jsx("button", {
|
|
3631
3678
|
type: "button",
|
|
3632
|
-
className:
|
|
3679
|
+
className: css$14.expand,
|
|
3633
3680
|
"aria-expanded": expanded,
|
|
3634
3681
|
"aria-label": expanded ? copy.collapseAria : copy.expandAria(hidden),
|
|
3635
3682
|
onClick: onToggle,
|
|
3636
3683
|
children: expanded ? copy.collapse : copy.expand(hidden)
|
|
3637
3684
|
}),
|
|
3638
3685
|
capped && lines.slice(lines.length - tailLines).map((line, index) => jsx("div", {
|
|
3639
|
-
className:
|
|
3686
|
+
className: css$14.line,
|
|
3640
3687
|
children: renderLine(line)
|
|
3641
3688
|
}, index))
|
|
3642
3689
|
]
|
|
@@ -3924,9 +3971,6 @@ function highlightLines(code, lang) {
|
|
|
3924
3971
|
})));
|
|
3925
3972
|
}
|
|
3926
3973
|
//#endregion
|
|
3927
|
-
//#region \0nomix-css-stub:./ReadBlock.module.css.mjs
|
|
3928
|
-
var ReadBlock_module_css_default = {};
|
|
3929
|
-
//#endregion
|
|
3930
3974
|
//#region lib/types/ReadBlock.js
|
|
3931
3975
|
/**
|
|
3932
3976
|
* Content lines shown before the height cap collapses the middle. Matches
|
|
@@ -3986,51 +4030,51 @@ function ReadBlock({ label, lines, totalLines, lang, maxLines = 16, className })
|
|
|
3986
4030
|
* @returns the row elements.
|
|
3987
4031
|
*/
|
|
3988
4032
|
const rows = (slice) => slice.map(([line, spans]) => jsxs("div", {
|
|
3989
|
-
className:
|
|
4033
|
+
className: css$15.line,
|
|
3990
4034
|
children: [jsx("span", {
|
|
3991
|
-
className:
|
|
4035
|
+
className: css$15.gutter,
|
|
3992
4036
|
"aria-hidden": true,
|
|
3993
4037
|
children: line.number
|
|
3994
4038
|
}), jsx("span", {
|
|
3995
|
-
className:
|
|
4039
|
+
className: css$15.content,
|
|
3996
4040
|
children: spans === void 0 ? line.text : renderSpans(spans)
|
|
3997
4041
|
})]
|
|
3998
4042
|
}, line.number));
|
|
3999
4043
|
const paired = lines.map((line, index) => [line, highlighted?.[index]]);
|
|
4000
4044
|
return jsxs("div", {
|
|
4001
|
-
className: clsx(
|
|
4045
|
+
className: clsx(css$15.block, className),
|
|
4002
4046
|
"data-read": "",
|
|
4003
4047
|
children: [jsxs("div", {
|
|
4004
|
-
className:
|
|
4048
|
+
className: css$15.banner,
|
|
4005
4049
|
children: [jsx("div", {
|
|
4006
|
-
className:
|
|
4050
|
+
className: css$15.label,
|
|
4007
4051
|
children: label ?? ""
|
|
4008
4052
|
}), jsxs("div", {
|
|
4009
|
-
className:
|
|
4053
|
+
className: css$15.action,
|
|
4010
4054
|
children: [
|
|
4011
4055
|
windowed && jsx("span", {
|
|
4012
|
-
className:
|
|
4056
|
+
className: css$15.count,
|
|
4013
4057
|
children: `显示 ${lines.length} / ${totalLines} 行`
|
|
4014
4058
|
}),
|
|
4015
4059
|
jsx("span", {
|
|
4016
|
-
className:
|
|
4060
|
+
className: css$15.lang,
|
|
4017
4061
|
children: lang ?? ""
|
|
4018
4062
|
}),
|
|
4019
4063
|
lines.length > 0 && jsx("button", {
|
|
4020
4064
|
type: "button",
|
|
4021
|
-
className:
|
|
4065
|
+
className: css$15.copyButton,
|
|
4022
4066
|
onClick: onCopy,
|
|
4023
4067
|
children: copied ? "复制成功" : "复制"
|
|
4024
4068
|
})
|
|
4025
4069
|
]
|
|
4026
4070
|
})]
|
|
4027
4071
|
}), jsxs("div", {
|
|
4028
|
-
className:
|
|
4072
|
+
className: css$15.body,
|
|
4029
4073
|
children: [
|
|
4030
4074
|
rows(capped ? paired.slice(0, headLines) : paired),
|
|
4031
4075
|
hidden > 0 && jsx("button", {
|
|
4032
4076
|
type: "button",
|
|
4033
|
-
className:
|
|
4077
|
+
className: css$15.expand,
|
|
4034
4078
|
"aria-expanded": expanded,
|
|
4035
4079
|
"aria-label": expanded ? "收起内容" : `展开其余 ${hidden} 行`,
|
|
4036
4080
|
onClick: onToggle,
|
|
@@ -4042,9 +4086,6 @@ function ReadBlock({ label, lines, totalLines, lang, maxLines = 16, className })
|
|
|
4042
4086
|
});
|
|
4043
4087
|
}
|
|
4044
4088
|
//#endregion
|
|
4045
|
-
//#region \0nomix-css-stub:./DiffBlock.module.css.mjs
|
|
4046
|
-
var DiffBlock_module_css_default = {};
|
|
4047
|
-
//#endregion
|
|
4048
4089
|
//#region lib/types/DiffBlock.js
|
|
4049
4090
|
/**
|
|
4050
4091
|
* Output lines shown before the height cap collapses the middle. Matches
|
|
@@ -4059,10 +4100,10 @@ function assertNever(value) {
|
|
|
4059
4100
|
}
|
|
4060
4101
|
/** The dim class per row kind (path/gap chrome vs the diff's own +/- colors). */
|
|
4061
4102
|
const ROW_CLASS = {
|
|
4062
|
-
path:
|
|
4063
|
-
del:
|
|
4064
|
-
add:
|
|
4065
|
-
gap:
|
|
4103
|
+
path: css$16.path,
|
|
4104
|
+
del: css$16.del,
|
|
4105
|
+
add: css$16.add,
|
|
4106
|
+
gap: css$16.gap
|
|
4066
4107
|
};
|
|
4067
4108
|
/**
|
|
4068
4109
|
* Flatten the hunks into the body's rows plus the footer counts. A path header
|
|
@@ -4175,38 +4216,38 @@ function DiffBlock({ diffs, maxLines = 16, className }) {
|
|
|
4175
4216
|
const head = capped ? rows.slice(0, headLines) : rows;
|
|
4176
4217
|
const tail = capped ? rows.slice(rows.length - tailLines) : [];
|
|
4177
4218
|
return jsxs("div", {
|
|
4178
|
-
className: clsx(
|
|
4219
|
+
className: clsx(css$16.block, className),
|
|
4179
4220
|
"data-diff": "",
|
|
4180
4221
|
children: [
|
|
4181
4222
|
jsx("button", {
|
|
4182
4223
|
type: "button",
|
|
4183
|
-
className:
|
|
4224
|
+
className: css$16.copyButton,
|
|
4184
4225
|
onClick: onCopy,
|
|
4185
4226
|
children: copied ? "复制成功" : "复制"
|
|
4186
4227
|
}),
|
|
4187
4228
|
jsxs("div", {
|
|
4188
|
-
className:
|
|
4229
|
+
className: css$16.body,
|
|
4189
4230
|
children: [
|
|
4190
4231
|
head.map((row, index) => jsx("div", {
|
|
4191
|
-
className: clsx(
|
|
4232
|
+
className: clsx(css$16.line, ROW_CLASS[row.kind]),
|
|
4192
4233
|
children: row.text
|
|
4193
4234
|
}, index)),
|
|
4194
4235
|
hidden > 0 && jsx("button", {
|
|
4195
4236
|
type: "button",
|
|
4196
|
-
className:
|
|
4237
|
+
className: css$16.expand,
|
|
4197
4238
|
"aria-expanded": expanded,
|
|
4198
4239
|
"aria-label": expanded ? "收起差异" : `展开其余 ${hidden} 行差异`,
|
|
4199
4240
|
onClick: onToggle,
|
|
4200
4241
|
children: expanded ? "收起" : `… 其余 ${hidden} 行`
|
|
4201
4242
|
}),
|
|
4202
4243
|
tail.map((row, index) => jsx("div", {
|
|
4203
|
-
className: clsx(
|
|
4244
|
+
className: clsx(css$16.line, ROW_CLASS[row.kind]),
|
|
4204
4245
|
children: row.text
|
|
4205
4246
|
}, index))
|
|
4206
4247
|
]
|
|
4207
4248
|
}),
|
|
4208
4249
|
jsxs("div", {
|
|
4209
|
-
className:
|
|
4250
|
+
className: css$16.footer,
|
|
4210
4251
|
children: [
|
|
4211
4252
|
"└ +",
|
|
4212
4253
|
added,
|
|
@@ -4222,9 +4263,6 @@ function DiffBlock({ diffs, maxLines = 16, className }) {
|
|
|
4222
4263
|
});
|
|
4223
4264
|
}
|
|
4224
4265
|
//#endregion
|
|
4225
|
-
//#region \0nomix-css-stub:./SearchBlock.module.css.mjs
|
|
4226
|
-
var SearchBlock_module_css_default = {};
|
|
4227
|
-
//#endregion
|
|
4228
4266
|
//#region lib/types/SearchBlock.js
|
|
4229
4267
|
/**
|
|
4230
4268
|
* Result rows shown before the height cap collapses the middle. Matches
|
|
@@ -4348,56 +4386,56 @@ function SearchBlock(props) {
|
|
|
4348
4386
|
const tail = tailHeader === void 0 ? naturalTail : naturalTail.slice(1);
|
|
4349
4387
|
const renderRow = (row) => {
|
|
4350
4388
|
if (row.type === "path") return jsx("div", {
|
|
4351
|
-
className:
|
|
4389
|
+
className: css$17.line,
|
|
4352
4390
|
children: row.path
|
|
4353
4391
|
});
|
|
4354
4392
|
if (row.type === "match") return jsxs("div", {
|
|
4355
|
-
className:
|
|
4393
|
+
className: css$17.line,
|
|
4356
4394
|
children: [jsxs("span", {
|
|
4357
|
-
className:
|
|
4395
|
+
className: css$17.lineNumber,
|
|
4358
4396
|
children: [row.lineNumber, ": "]
|
|
4359
4397
|
}), row.line]
|
|
4360
4398
|
});
|
|
4361
4399
|
return jsxs("button", {
|
|
4362
4400
|
type: "button",
|
|
4363
|
-
className:
|
|
4401
|
+
className: css$17.fileHeader,
|
|
4364
4402
|
"aria-expanded": !row.collapsed,
|
|
4365
4403
|
onClick: () => {
|
|
4366
4404
|
toggleFile(row.index);
|
|
4367
4405
|
},
|
|
4368
4406
|
children: [jsx("span", {
|
|
4369
|
-
className:
|
|
4407
|
+
className: css$17.filePath,
|
|
4370
4408
|
children: row.path
|
|
4371
4409
|
}), jsx("span", {
|
|
4372
|
-
className:
|
|
4410
|
+
className: css$17.fileCount,
|
|
4373
4411
|
children: row.count
|
|
4374
4412
|
})]
|
|
4375
4413
|
});
|
|
4376
4414
|
};
|
|
4377
4415
|
return jsxs("div", {
|
|
4378
|
-
className: clsx(
|
|
4416
|
+
className: clsx(css$17.block, className),
|
|
4379
4417
|
"data-search": props.kind,
|
|
4380
4418
|
children: [jsxs("div", {
|
|
4381
|
-
className:
|
|
4419
|
+
className: css$17.header,
|
|
4382
4420
|
children: [jsx("span", {
|
|
4383
|
-
className:
|
|
4421
|
+
className: css$17.summary,
|
|
4384
4422
|
children: summaryText(props, shown, truncated, total)
|
|
4385
4423
|
}), !empty && jsx("button", {
|
|
4386
4424
|
type: "button",
|
|
4387
|
-
className:
|
|
4425
|
+
className: css$17.copyButton,
|
|
4388
4426
|
onClick: onCopy,
|
|
4389
4427
|
children: copied ? "复制成功" : "复制"
|
|
4390
4428
|
})]
|
|
4391
4429
|
}), empty ? jsx("div", {
|
|
4392
|
-
className:
|
|
4430
|
+
className: css$17.empty,
|
|
4393
4431
|
children: "无结果"
|
|
4394
4432
|
}) : jsxs("div", {
|
|
4395
|
-
className:
|
|
4433
|
+
className: css$17.body,
|
|
4396
4434
|
children: [
|
|
4397
4435
|
head.map((row) => jsx("div", { children: renderRow(row) }, rowKey(row))),
|
|
4398
4436
|
hidden > 0 && jsx("button", {
|
|
4399
4437
|
type: "button",
|
|
4400
|
-
className:
|
|
4438
|
+
className: css$17.expand,
|
|
4401
4439
|
"aria-expanded": expanded,
|
|
4402
4440
|
"aria-label": expanded ? "收起结果" : `展开其余 ${hidden} 行结果`,
|
|
4403
4441
|
onClick: onToggle,
|
|
@@ -4881,9 +4919,6 @@ function parseGfmWithMath(text) {
|
|
|
4881
4919
|
});
|
|
4882
4920
|
}
|
|
4883
4921
|
//#endregion
|
|
4884
|
-
//#region \0nomix-css-stub:./CodeBlock.module.css.mjs
|
|
4885
|
-
var CodeBlock_module_css_default = {};
|
|
4886
|
-
//#endregion
|
|
4887
4922
|
//#region lib/types/markdown/CodeBlock.js
|
|
4888
4923
|
function CodeBlock({ code, lang, className, copyLabel = "复制", copiedLabel = "复制成功" }) {
|
|
4889
4924
|
const trimmed = code.endsWith("\n") ? code.slice(0, -1) : code;
|
|
@@ -4905,24 +4940,24 @@ function CodeBlock({ code, lang, className, copyLabel = "复制", copiedLabel =
|
|
|
4905
4940
|
});
|
|
4906
4941
|
}, [copied, trimmed]);
|
|
4907
4942
|
const body = html === void 0 ? jsx("pre", {
|
|
4908
|
-
className:
|
|
4943
|
+
className: css$18.plain,
|
|
4909
4944
|
children: jsx("code", { children: trimmed })
|
|
4910
4945
|
}) : jsx("div", { dangerouslySetInnerHTML: { __html: html } });
|
|
4911
4946
|
return jsxs("div", {
|
|
4912
4947
|
ref: rootRef,
|
|
4913
|
-
className: clsx(
|
|
4948
|
+
className: clsx(css$18.block, "md-code-block", className),
|
|
4914
4949
|
children: [jsx("div", {
|
|
4915
|
-
className:
|
|
4950
|
+
className: css$18.bannerWrap,
|
|
4916
4951
|
children: jsxs("div", {
|
|
4917
|
-
className:
|
|
4952
|
+
className: css$18.banner,
|
|
4918
4953
|
children: [jsx("div", {
|
|
4919
|
-
className:
|
|
4954
|
+
className: css$18.infostring,
|
|
4920
4955
|
children: lang ?? ""
|
|
4921
4956
|
}), jsx("div", {
|
|
4922
|
-
className:
|
|
4957
|
+
className: css$18.action,
|
|
4923
4958
|
children: jsx("button", {
|
|
4924
4959
|
type: "button",
|
|
4925
|
-
className:
|
|
4960
|
+
className: css$18.copyButton,
|
|
4926
4961
|
onClick: onCopy,
|
|
4927
4962
|
children: copied ? copiedLabel : copyLabel
|
|
4928
4963
|
})
|
|
@@ -5013,9 +5048,6 @@ function renderTexToReact(value, displayMode) {
|
|
|
5013
5048
|
return [...new DOMParser().parseFromString(html, "text/html").body.childNodes].map(domToReact);
|
|
5014
5049
|
}
|
|
5015
5050
|
//#endregion
|
|
5016
|
-
//#region \0nomix-css-stub:./MarkdownText.module.css.mjs
|
|
5017
|
-
var MarkdownText_module_css_default = {};
|
|
5018
|
-
//#endregion
|
|
5019
5051
|
//#region lib/types/markdown/render.js
|
|
5020
5052
|
/**
|
|
5021
5053
|
* Direct mdast→React markdown renderer. Replaces the react-markdown /
|
|
@@ -5129,7 +5161,10 @@ function renderNode(node, key, context) {
|
|
|
5129
5161
|
case "text": return node.value;
|
|
5130
5162
|
case "paragraph": return jsx("p", { children: renderChildren(node.children, context) }, key);
|
|
5131
5163
|
case "heading": return createElement(`h${node.depth}`, { key }, ...renderChildren(node.children, context));
|
|
5132
|
-
case "blockquote": return jsx("blockquote", { children: wrapBlockChildren(renderChildren(node.children,
|
|
5164
|
+
case "blockquote": return jsx("blockquote", { children: wrapBlockChildren(renderChildren(node.children, {
|
|
5165
|
+
...context,
|
|
5166
|
+
inBlockquote: true
|
|
5167
|
+
}).filter((child) => child !== null), true) }, key);
|
|
5133
5168
|
case "thematicBreak": return jsx("hr", {}, key);
|
|
5134
5169
|
case "break": return jsxs(Fragment$1, { children: [jsx("br", {}), "\n"] }, key);
|
|
5135
5170
|
case "strong": return jsx("strong", { children: renderChildren(node.children, context) }, key);
|
|
@@ -5142,7 +5177,7 @@ function renderNode(node, key, context) {
|
|
|
5142
5177
|
const mention = context.inLink === true ? void 0 : context.fileMentions?.resolve(value);
|
|
5143
5178
|
if (mention !== void 0) return jsx("code", { children: jsx("button", {
|
|
5144
5179
|
type: "button",
|
|
5145
|
-
className:
|
|
5180
|
+
className: css$19.fileMention,
|
|
5146
5181
|
title: mention.title,
|
|
5147
5182
|
"aria-label": mention.label,
|
|
5148
5183
|
onClick: mention.open,
|
|
@@ -5234,8 +5269,10 @@ function renderListItem(item, loose, key, context) {
|
|
|
5234
5269
|
function renderTable(node, key, context) {
|
|
5235
5270
|
const align = node.align ?? null;
|
|
5236
5271
|
const [headRow, ...bodyRows] = node.children;
|
|
5272
|
+
const wide = (align === null ? headRow?.children.length ?? 0 : align.length) >= 4 && context.inBlockquote !== true;
|
|
5237
5273
|
return jsx("div", {
|
|
5238
|
-
className:
|
|
5274
|
+
className: clsx(css$19.tableScroll, wide ? "md-table-wide" : css$19.tableFill),
|
|
5275
|
+
tabIndex: wide ? 0 : void 0,
|
|
5239
5276
|
children: jsxs("table", { children: [headRow !== void 0 && jsx("thead", { children: renderTableRow(headRow, "th", align, 0, context) }), bodyRows.length > 0 && jsx("tbody", { children: bodyRows.map((row, index) => renderTableRow(row, "td", align, index + 1, context)) })] })
|
|
5240
5277
|
}, key);
|
|
5241
5278
|
}
|
|
@@ -5285,11 +5322,11 @@ function inlineCodeHttpUrl(value) {
|
|
|
5285
5322
|
function renderImage(url, alt, key) {
|
|
5286
5323
|
const imageSrc = remoteImageUrl(sanitizeUrl(normalizeUri(url)));
|
|
5287
5324
|
if (imageSrc === void 0) return jsx("span", {
|
|
5288
|
-
className:
|
|
5325
|
+
className: css$19.imageAlt,
|
|
5289
5326
|
children: alt
|
|
5290
5327
|
}, key);
|
|
5291
5328
|
return jsx("img", {
|
|
5292
|
-
className:
|
|
5329
|
+
className: css$19.image,
|
|
5293
5330
|
src: imageSrc,
|
|
5294
5331
|
alt,
|
|
5295
5332
|
loading: "lazy",
|
|
@@ -5522,14 +5559,11 @@ const MarkdownText = memo(function MarkdownText({ text, streaming = false, codeL
|
|
|
5522
5559
|
fileMentions
|
|
5523
5560
|
]);
|
|
5524
5561
|
return jsx("div", {
|
|
5525
|
-
className:
|
|
5562
|
+
className: css$19.markdown,
|
|
5526
5563
|
children
|
|
5527
5564
|
});
|
|
5528
5565
|
});
|
|
5529
5566
|
//#endregion
|
|
5530
|
-
//#region \0nomix-css-stub:./WebBlock.module.css.mjs
|
|
5531
|
-
var WebBlock_module_css_default = {};
|
|
5532
|
-
//#endregion
|
|
5533
5567
|
//#region lib/types/WebBlock.js
|
|
5534
5568
|
/**
|
|
5535
5569
|
* The URL to link to, or undefined when the URL must render as plain text. Only
|
|
@@ -5600,20 +5634,20 @@ function SafeLink({ url, label, className }) {
|
|
|
5600
5634
|
*/
|
|
5601
5635
|
function SourceItem({ source, ordinal }) {
|
|
5602
5636
|
return jsxs("li", {
|
|
5603
|
-
className:
|
|
5637
|
+
className: css$20.source,
|
|
5604
5638
|
value: ordinal,
|
|
5605
5639
|
children: [
|
|
5606
5640
|
jsx(SafeLink, {
|
|
5607
5641
|
url: source.url,
|
|
5608
5642
|
label: linkLabel(source.url, source.title),
|
|
5609
|
-
className:
|
|
5643
|
+
className: css$20.sourceLink
|
|
5610
5644
|
}),
|
|
5611
5645
|
source.snippet !== void 0 && source.snippet !== "" && jsx("div", {
|
|
5612
|
-
className:
|
|
5646
|
+
className: css$20.snippet,
|
|
5613
5647
|
children: source.snippet
|
|
5614
5648
|
}),
|
|
5615
5649
|
source.publishedAt !== void 0 && source.publishedAt !== "" && jsx("div", {
|
|
5616
|
-
className:
|
|
5650
|
+
className: css$20.published,
|
|
5617
5651
|
children: source.publishedAt
|
|
5618
5652
|
})
|
|
5619
5653
|
]
|
|
@@ -5628,25 +5662,25 @@ function SourceItem({ source, ordinal }) {
|
|
|
5628
5662
|
function WebSearchBlock({ answer, sources, truncated, className }) {
|
|
5629
5663
|
const empty = (answer === void 0 || answer === "") && sources.length === 0;
|
|
5630
5664
|
return jsxs("div", {
|
|
5631
|
-
className: clsx(
|
|
5665
|
+
className: clsx(css$20.block, className),
|
|
5632
5666
|
"data-web": "search",
|
|
5633
5667
|
children: [
|
|
5634
5668
|
answer !== void 0 && answer !== "" && jsx("div", {
|
|
5635
|
-
className:
|
|
5669
|
+
className: css$20.answer,
|
|
5636
5670
|
children: jsx(MarkdownText, { text: answer })
|
|
5637
5671
|
}),
|
|
5638
5672
|
empty ? jsx("div", {
|
|
5639
|
-
className:
|
|
5673
|
+
className: css$20.empty,
|
|
5640
5674
|
children: "未找到结果"
|
|
5641
5675
|
}) : jsx("ol", {
|
|
5642
|
-
className:
|
|
5676
|
+
className: css$20.sources,
|
|
5643
5677
|
children: sources.map((source, index) => jsx(SourceItem, {
|
|
5644
5678
|
source,
|
|
5645
5679
|
ordinal: index + 1
|
|
5646
5680
|
}, index))
|
|
5647
5681
|
}),
|
|
5648
5682
|
truncated && jsx("div", {
|
|
5649
|
-
className:
|
|
5683
|
+
className: css$20.truncated,
|
|
5650
5684
|
children: "来源列表已截断"
|
|
5651
5685
|
})
|
|
5652
5686
|
]
|
|
@@ -5659,19 +5693,19 @@ function WebSearchBlock({ answer, sources, truncated, className }) {
|
|
|
5659
5693
|
*/
|
|
5660
5694
|
function WebFetchBlock({ url, statusCode, truncated, className }) {
|
|
5661
5695
|
return jsxs("div", {
|
|
5662
|
-
className: clsx(
|
|
5696
|
+
className: clsx(css$20.block, css$20.fetch, className),
|
|
5663
5697
|
"data-web": "fetch",
|
|
5664
5698
|
children: [jsx(SafeLink, {
|
|
5665
5699
|
url,
|
|
5666
5700
|
label: url,
|
|
5667
|
-
className:
|
|
5701
|
+
className: css$20.fetchUrl
|
|
5668
5702
|
}), jsxs("div", {
|
|
5669
|
-
className:
|
|
5703
|
+
className: css$20.fetchMeta,
|
|
5670
5704
|
children: [jsxs("span", {
|
|
5671
|
-
className:
|
|
5705
|
+
className: css$20.status,
|
|
5672
5706
|
children: ["HTTP ", statusCode]
|
|
5673
5707
|
}), truncated && jsx("span", {
|
|
5674
|
-
className:
|
|
5708
|
+
className: css$20.truncated,
|
|
5675
5709
|
children: "内容已截断"
|
|
5676
5710
|
})]
|
|
5677
5711
|
})]
|
|
@@ -5686,9 +5720,6 @@ function WebBlock(props) {
|
|
|
5686
5720
|
return props.kind === "search" ? jsx(WebSearchBlock, { ...props }) : jsx(WebFetchBlock, { ...props });
|
|
5687
5721
|
}
|
|
5688
5722
|
//#endregion
|
|
5689
|
-
//#region \0nomix-css-stub:./JsonBlock.module.css.mjs
|
|
5690
|
-
var JsonBlock_module_css_default = {};
|
|
5691
|
-
//#endregion
|
|
5692
5723
|
//#region lib/types/markdown/JsonBlock.js
|
|
5693
5724
|
const MAX_CHARS = 2e4;
|
|
5694
5725
|
/** Default truncation footer; the owner passes a localized formatter. */
|
|
@@ -5712,10 +5743,10 @@ function JsonBlock({ label, payload, defaultOpen = false, truncatedLabel = defau
|
|
|
5712
5743
|
truncatedLabel
|
|
5713
5744
|
]);
|
|
5714
5745
|
return jsxs("div", {
|
|
5715
|
-
className:
|
|
5746
|
+
className: css$21.root,
|
|
5716
5747
|
children: [jsxs("button", {
|
|
5717
5748
|
type: "button",
|
|
5718
|
-
className:
|
|
5749
|
+
className: css$21.toggle,
|
|
5719
5750
|
onClick: () => {
|
|
5720
5751
|
setOpen((v) => !v);
|
|
5721
5752
|
},
|
|
@@ -5725,19 +5756,16 @@ function JsonBlock({ label, payload, defaultOpen = false, truncatedLabel = defau
|
|
|
5725
5756
|
label
|
|
5726
5757
|
]
|
|
5727
5758
|
}), open && jsx("pre", {
|
|
5728
|
-
className:
|
|
5759
|
+
className: css$21.body,
|
|
5729
5760
|
children: body
|
|
5730
5761
|
})]
|
|
5731
5762
|
});
|
|
5732
5763
|
}
|
|
5733
5764
|
//#endregion
|
|
5734
|
-
//#region \0nomix-css-stub:./MessageText.module.css.mjs
|
|
5735
|
-
var MessageText_module_css_default = {};
|
|
5736
|
-
//#endregion
|
|
5737
5765
|
//#region lib/types/markdown/MessageText.js
|
|
5738
5766
|
function MessageText({ text }) {
|
|
5739
5767
|
return jsx("div", {
|
|
5740
|
-
className:
|
|
5768
|
+
className: css$22.text,
|
|
5741
5769
|
children: text
|
|
5742
5770
|
});
|
|
5743
5771
|
}
|
|
@@ -5813,4 +5841,6 @@ function extractMarkdownPlainText(markdown, options = {}) {
|
|
|
5813
5841
|
}
|
|
5814
5842
|
}
|
|
5815
5843
|
//#endregion
|
|
5816
|
-
export { BrandWordmark, Button, CodeBlock, ConnectionBanner, DEFAULT_DIFF_MAX_LINES, DEFAULT_READ_MAX_LINES, DEFAULT_SEARCH_MAX_LINES, DEFAULT_TERMINAL_MAX_LINES, DiffBlock, DisclosureRow, HoverCard, IconAgentPresetOutline16, IconApiOutline14, IconArchiveOutline20, IconBranchOutline16, IconBrowseOutline16, IconCheckOutline14, IconCheckOutline16, IconChecklistOutline14, IconChevronDownOutline14, IconChevronLeftOutline14, IconChevronRightOutline14, IconChevronUpOutline14, IconCloseFill14, IconCloseOutline16, IconCodeOutline16, IconCopyOutline16, IconCordisPluginOutline14, IconDarkOutline16, IconDataOutline16, IconDislikeFill16, IconDislikeOutline16, IconDownloadOutline16, IconEditOutline16, IconEllipsisOutline16, IconEnhanceOutline16, IconFolderClose16, IconFolderOpen16, IconFolderOpenOutline16, IconFollowsystemOutline16, IconFullscreenOutline16, IconGlobeOutline14, IconGoalOutline16, IconInspectOutline12, IconLightOutline16, IconLikeFill16, IconLikeOutline16, IconLinkOutline14, IconLinkOutline16, IconListPenOutline16, IconLoadingOutline16, IconNewChatOutline16, IconPanelLeftOutline16, IconPaperclipOutline16, IconPauseOutline16, IconPersonalizationOutline16, IconPlayOutline16, IconPlusOutline16, IconProjectAddOutline16, IconQuestionOutline14, IconQueueOutline14, IconRefreshOutline14, IconRefreshOutline16, IconRightUpOutline14, IconRightUpOutline16, IconSearchOutline16, IconSendOutline14, IconSendOutline16, IconSettingsOutline14, IconSettingsOutline16, IconShareOutline16, IconSkillOutline16, IconSparkle16, IconStopFill16, IconThinkOutline14, IconThinkOutline16, IconTrashOutline16, IconTreeCorner8x10, IconTriangleRightFill14, IconUserOutline16, IconWarningOutline16, Input, JsonBlock, JsonTree, MarkdownText, Menu, MessageText, Modal,
|
|
5844
|
+
export { BrandWordmark, Button, CodeBlock, ConnectionBanner, DEFAULT_DIFF_MAX_LINES, DEFAULT_READ_MAX_LINES, DEFAULT_SEARCH_MAX_LINES, DEFAULT_TERMINAL_MAX_LINES, DiffBlock, DisclosureRow, HoverCard, IconAgentPresetOutline16, IconApiOutline14, IconArchiveOutline20, IconBranchOutline16, IconBrowseOutline16, IconCheckOutline14, IconCheckOutline16, IconChecklistOutline14, IconChevronDownOutline14, IconChevronLeftOutline14, IconChevronRightOutline14, IconChevronUpOutline14, IconCloseFill14, IconCloseOutline16, IconCodeOutline16, IconCopyOutline16, IconCordisPluginOutline14, IconDarkOutline16, IconDataOutline16, IconDislikeFill16, IconDislikeOutline16, IconDownloadOutline16, IconEditOutline16, IconEllipsisOutline16, IconEnhanceOutline16, IconFolderClose16, IconFolderOpen16, IconFolderOpenOutline16, IconFollowsystemOutline16, IconFullscreenOutline16, IconGlobeOutline14, IconGoalOutline16, IconInspectOutline12, IconLightOutline16, IconLikeFill16, IconLikeOutline16, IconLinkOutline14, IconLinkOutline16, IconListPenOutline16, IconLoadingOutline16, IconNewChatOutline16, IconPanelLeftOutline16, IconPaperclipOutline16, IconPauseOutline16, IconPersonalizationOutline16, IconPlayOutline16, IconPlusOutline16, IconProjectAddOutline16, IconQuestionOutline14, IconQueueOutline14, IconRefreshOutline14, IconRefreshOutline16, IconRightUpOutline14, IconRightUpOutline16, IconSearchOutline16, IconSendOutline14, IconSendOutline16, IconSettingsOutline14, IconSettingsOutline16, IconShareOutline16, IconSkillOutline16, IconSparkle16, IconStopFill16, IconThinkOutline14, IconThinkOutline16, IconTrashOutline16, IconTreeCorner8x10, IconTriangleRightFill14, IconUserOutline16, IconWarningOutline16, Input, JsonBlock, JsonTree, MarkdownText, Menu, MessageText, Modal, NomixLogo, OnboardingSurface, Pill, ReadBlock, RiskConfirmation, SearchBlock, StateDot, TerminalBlock, Toast, Tooltip, WebBlock, extractMarkdownPlainText, useAnchoredMaxHeight, useAnchoredPosition, useDismissOnOutsidePointer, writeClipboard };
|
|
5845
|
+
|
|
5846
|
+
//# sourceMappingURL=index.js.map
|