@kortix/ui 0.14.12 → 0.14.14
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 +1 -1
- package/dist/_vendor/kortix-shared.js +521 -7045
- package/dist/_vendor/shared/app-config.d.ts +8 -0
- package/dist/_vendor/shared/artifact-annotations.d.ts +708 -0
- package/dist/_vendor/shared/artifact-comments.d.ts +327 -0
- package/dist/_vendor/shared/index.d.ts +3 -1
- package/dist/_vendor/shared/my-kortix-agent.d.ts +40 -0
- package/dist/_vendor/shared/peer-message-prompt.d.ts +35 -0
- package/dist/_vendor/shared/pixel-mark.d.ts +11 -0
- package/dist/_vendor/shared/prompt-attachments.d.ts +1 -0
- package/dist/_vendor/shared/reminder-prompt.d.ts +8 -2
- package/dist/_vendor/shared/runtime-versions.d.ts +8 -0
- package/dist/artifacts/artifact-frame.d.ts +1 -0
- package/dist/artifacts/artifact-frame.js +18 -5
- package/dist/artifacts/frame-policy.d.ts +1 -1
- package/dist/artifacts/frame-policy.js +10 -5
- package/dist/customize/agents/agent-access-text.d.ts +16 -0
- package/dist/customize/agents/agent-access-text.js +54 -0
- package/dist/customize/agents/agent-approval-rules.d.ts +8 -0
- package/dist/customize/agents/agent-approval-rules.js +26 -0
- package/dist/customize/agents/agent-authority-card.js +4 -1
- package/dist/customize/agents/agent-cover-card.d.ts +4 -1
- package/dist/customize/agents/agent-cover-card.js +2 -2
- package/dist/customize/agents/agent-detail-aside.d.ts +1 -2
- package/dist/customize/agents/agent-detail-aside.js +8 -11
- package/dist/customize/agents/agent-drives-section.d.ts +23 -7
- package/dist/customize/agents/agent-drives-section.js +107 -41
- package/dist/customize/agents/agent-instructions.d.ts +11 -0
- package/dist/customize/agents/agent-instructions.js +114 -0
- package/dist/customize/agents/agent-model-view.d.ts +17 -0
- package/dist/customize/agents/agent-model-view.js +67 -0
- package/dist/customize/agents/agent-overview.d.ts +53 -0
- package/dist/customize/agents/agent-overview.js +242 -0
- package/dist/customize/agents/agent-page-chrome.d.ts +128 -0
- package/dist/customize/agents/agent-page-chrome.js +145 -0
- package/dist/customize/agents/agent-page.d.ts +13 -1
- package/dist/customize/agents/agent-page.js +478 -367
- package/dist/customize/agents/agent-pin-button.d.ts +10 -0
- package/dist/customize/agents/agent-pin-button.js +20 -0
- package/dist/customize/agents/agent-policy-sets-section.d.ts +16 -0
- package/dist/customize/agents/agent-policy-sets-section.js +80 -0
- package/dist/customize/agents/agent-policy-sets.js +1 -1
- package/dist/customize/agents/agent-section-rail.d.ts +21 -0
- package/dist/customize/agents/agent-section-rail.js +23 -0
- package/dist/customize/agents/agent-share-control.d.ts +4 -3
- package/dist/customize/agents/agent-share-control.js +15 -16
- package/dist/customize/agents/{agent-people-section.d.ts → agent-share-dialog.d.ts} +3 -1
- package/dist/customize/agents/{agent-people-section.js → agent-share-dialog.js} +21 -21
- package/dist/customize/agents/agent-tabs.d.ts +95 -0
- package/dist/customize/agents/agent-tabs.js +199 -0
- package/dist/customize/agents/agents-page.d.ts +0 -21
- package/dist/customize/agents/agents-page.js +104 -118
- package/dist/customize/agents/connectors-required.d.ts +16 -0
- package/dist/customize/agents/connectors-required.js +19 -0
- package/dist/customize/agents/create-agent-modal.d.ts +19 -0
- package/dist/customize/agents/create-agent-modal.js +94 -0
- package/dist/customize/connectors/agent-access.d.ts +4 -4
- package/dist/customize/connectors/agent-access.js +7 -10
- package/dist/customize/connectors/connector-identity.d.ts +12 -0
- package/dist/customize/connectors/connector-identity.js +15 -2
- package/dist/customize/connectors/connector-routes.js +2 -2
- package/dist/customize/connectors/connectors-page.d.ts +14 -1
- package/dist/customize/connectors/connectors-page.js +101 -32
- package/dist/customize/connectors/detail/app-page.js +1 -1
- package/dist/customize/connectors/detail/connector-agents.js +0 -3
- package/dist/customize/connectors/detail/connector-page.d.ts +1 -1
- package/dist/customize/connectors/detail/connector-page.js +5 -2
- package/dist/customize/connectors/detail/connector-policy-sets.js +1 -1
- package/dist/customize/connectors/detail/connector-triggers.js +2 -2
- package/dist/customize/connectors/use-agent-access.d.ts +7 -5
- package/dist/customize/connectors/use-agent-access.js +2 -6
- package/dist/customize/models/models-page.d.ts +7 -1
- package/dist/customize/models/models-page.js +2 -2
- package/dist/customize/project-settings/project-admin-sections.d.ts +63 -0
- package/dist/customize/project-settings/project-admin-sections.js +80 -0
- package/dist/customize/project-settings/project-settings-page.d.ts +1 -1
- package/dist/customize/project-settings/project-settings-page.js +4 -13
- package/dist/customize/project-settings/project-settings-sections.d.ts +5 -5
- package/dist/customize/project-settings/project-settings-sections.js +6 -20
- package/dist/customize/providers/provider-accordion.js +29 -17
- package/dist/customize/providers/provider-connect.js +1 -1
- package/dist/customize/providers/provider-sheet.d.ts +4 -1
- package/dist/customize/providers/provider-sheet.js +15 -5
- package/dist/customize/secrets/secrets-page.d.ts +5 -1
- package/dist/customize/secrets/secrets-page.js +2 -2
- package/dist/customize/sections/gateway-view.d.ts +10 -2
- package/dist/customize/sections/gateway-view.js +16 -4
- package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.d.ts +12 -5
- package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.js +131 -8
- package/dist/customize/sections/llm-provider/claude-code-step.d.ts +10 -0
- package/dist/customize/sections/llm-provider/claude-code-step.js +32 -0
- package/dist/customize/sections/llm-provider/models-tab.js +5 -1
- package/dist/customize/sections/view/account-secret-resources-panel.d.ts +5 -3
- package/dist/customize/sections/view/account-secret-resources-panel.js +122 -19
- package/dist/customize/sections/view/agent-editor-access-fields.d.ts +1 -1
- package/dist/customize/sections/view/agent-editor-access-fields.js +8 -4
- package/dist/customize/sections/view/agent-editor-basics-fields.d.ts +4 -1
- package/dist/customize/sections/view/agent-editor-basics-fields.js +33 -4
- package/dist/customize/sections/view/agent-editor-catalog.d.ts +2 -2
- package/dist/customize/sections/view/agent-editor-catalog.js +10 -12
- package/dist/customize/sections/view/agent-editor-primitives.d.ts +1 -1
- package/dist/customize/sections/view/agent-editor-primitives.js +4 -4
- package/dist/customize/sections/view/agent-editor.d.ts +37 -26
- package/dist/customize/sections/view/agent-editor.js +19 -19
- package/dist/customize/sections/view/grant-mode-field.d.ts +8 -20
- package/dist/customize/sections/view/grant-mode-field.js +31 -57
- package/dist/customize/sections/view/permission-editor.d.ts +3 -1
- package/dist/customize/sections/view/permission-editor.js +19 -10
- package/dist/customize/sections/view/review-view.d.ts +8 -0
- package/dist/customize/sections/view/review-view.js +12 -1
- package/dist/customize/sections/view/secret-delivery.js +1 -4
- package/dist/customize/sections/view/secrets-view.d.ts +7 -1
- package/dist/customize/sections/view/secrets-view.js +42 -6
- package/dist/customize/settings/rail.js +2 -8
- package/dist/customize/settings/settings-tabs.d.ts +2 -2
- package/dist/customize/settings/settings-tabs.js +17 -19
- package/dist/customize/settings/tabs/experimental-tab.d.ts +3 -0
- package/dist/customize/settings/tabs/experimental-tab.js +6 -1
- package/dist/customize/settings/tabs/sandbox-tab.d.ts +4 -6
- package/dist/customize/settings/tabs/sandbox-tab.js +9 -9
- package/dist/customize/shared/access-list.d.ts +39 -0
- package/dist/customize/shared/access-list.js +62 -0
- package/dist/customize/shared/agent-resource-scope.d.ts +87 -0
- package/dist/customize/shared/agent-resource-scope.js +123 -0
- package/dist/customize/shared/capability-library.d.ts +41 -0
- package/dist/customize/shared/capability-library.js +271 -0
- package/dist/customize/shared/capability-page-shell.d.ts +18 -1
- package/dist/customize/shared/capability-page-shell.js +21 -1
- package/dist/customize/shared/catalog/catalog-space-tabs.d.ts +14 -0
- package/dist/customize/shared/catalog/catalog-space-tabs.js +20 -0
- package/dist/customize/shared/customize-tab-bar.d.ts +13 -0
- package/dist/customize/shared/customize-tab-bar.js +95 -0
- package/dist/customize/shared/entity/entity-modal.d.ts +17 -1
- package/dist/customize/shared/entity/entity-modal.js +10 -9
- package/dist/customize/shared/leave-guard.d.ts +23 -0
- package/dist/customize/shared/leave-guard.js +87 -0
- package/dist/customize/shared/standalone-settings-nav.js +4 -1
- package/dist/customize/shared/tool-rules.d.ts +11 -0
- package/dist/customize/shared/tool-rules.js +29 -0
- package/dist/customize/skills/builtin-skill-modal.d.ts +6 -0
- package/dist/customize/skills/builtin-skill-modal.js +41 -0
- package/dist/customize/skills/skills-page.d.ts +21 -18
- package/dist/customize/skills/skills-page.js +16 -110
- package/dist/customize/triggers/runtime-triggers.d.ts +17 -0
- package/dist/customize/triggers/runtime-triggers.js +57 -0
- package/dist/customize/triggers/schedule/event-trigger-copy.js +2 -2
- package/dist/customize/triggers/schedule/post-to-field.js +2 -2
- package/dist/customize/triggers/schedule/schedule-copy.d.ts +11 -6
- package/dist/customize/triggers/schedule/schedule-copy.js +29 -8
- package/dist/customize/triggers/schedule/schedule-detail-sheet.js +7 -3
- package/dist/customize/triggers/schedule/trigger-composer-logic.d.ts +26 -1
- package/dist/customize/triggers/schedule/trigger-composer-logic.js +64 -3
- package/dist/customize/triggers/schedule/trigger-composer.js +57 -20
- package/dist/customize/triggers/schedule/trigger-edit-logic.js +18 -5
- package/dist/customize/triggers/schedule/trigger-filter.d.ts +10 -0
- package/dist/customize/triggers/schedule/trigger-filter.js +16 -0
- package/dist/customize/triggers/schedule/trigger-runs-panel.js +1 -0
- package/dist/customize/triggers/schedule/trigger-toast.js +2 -1
- package/dist/customize/triggers/schedule/use-trigger-mutations.d.ts +1 -1
- package/dist/customize/triggers/schedule/use-trigger-mutations.js +1 -1
- package/dist/customize/triggers/schedule/when-app.d.ts +15 -0
- package/dist/customize/triggers/schedule/when-app.js +21 -0
- package/dist/customize/triggers/schedule/when-change-request.d.ts +10 -0
- package/dist/customize/triggers/schedule/when-change-request.js +15 -0
- package/dist/customize/triggers/schedule-view.d.ts +17 -3
- package/dist/customize/triggers/schedule-view.js +46 -16
- package/dist/customize/triggers/triggers-page.d.ts +3 -3
- package/dist/customize/triggers/triggers-page.js +2 -2
- package/dist/customize/use-configure-thread.d.ts +8 -2
- package/dist/customize/use-configure-thread.js +30 -18
- package/dist/files/project/components/change-request-detail-dialog.js +2 -3
- package/dist/files/project/components/drive-explorer.js +6 -5
- package/dist/files/project/explorer-source.d.ts +3 -0
- package/dist/files/project/upload-batch.d.ts +3 -3
- package/dist/files/project/upload-batch.js +7 -6
- package/dist/files/runtime/sandbox-explorer-source.js +3 -3
- package/dist/i18n/en.d.ts +1330 -53
- package/dist/i18n/en.js +1422 -145
- package/dist/i18n/ui-catalog/remaining-ui-translation-keys.generated.js +16 -7
- package/dist/internal/auth/auth-primitives.d.ts +1 -3
- package/dist/internal/auth/auth-primitives.js +2 -2
- package/dist/internal/billing/session-cost-format.d.ts +1 -0
- package/dist/internal/billing/session-cost-format.js +11 -0
- package/dist/internal/components/agent-mark.d.ts +12 -1
- package/dist/internal/components/agent-mark.js +34 -11
- package/dist/internal/components/nav-rail.d.ts +22 -0
- package/dist/internal/components/nav-rail.js +16 -0
- package/dist/internal/components/repository-disconnected.js +2 -2
- package/dist/internal/goals/goal-meta.d.ts +15 -1
- package/dist/internal/goals/goal-meta.js +42 -2
- package/dist/internal/hooks/projects/use-agent-config.d.ts +11 -7
- package/dist/internal/hooks/projects/use-agent-config.js +28 -11
- package/dist/internal/hooks/use-slash-focus.d.ts +7 -1
- package/dist/internal/hooks/use-slash-focus.js +9 -3
- package/dist/internal/layout/project-capability-nav.d.ts +24 -0
- package/dist/internal/layout/project-capability-nav.js +86 -0
- package/dist/internal/layout/project-page-header.d.ts +1 -1
- package/dist/internal/layout/project-page-header.js +1 -1
- package/dist/internal/layout/project-settings-nav.d.ts +3 -2
- package/dist/internal/layout/project-settings-nav.js +5 -3
- package/dist/internal/lib/browser-noise/rules/old-browsers.js +1 -1
- package/dist/internal/lib/capability-tab-routes.d.ts +34 -3
- package/dist/internal/lib/capability-tab-routes.js +76 -8
- package/dist/internal/lib/manifest-health.d.ts +10 -0
- package/dist/internal/lib/manifest-health.js +20 -0
- package/dist/internal/lib/pixel-mark.d.ts +4 -1
- package/dist/internal/lib/pixel-mark.js +33 -6
- package/dist/internal/lib/project-actions.d.ts +1 -1
- package/dist/internal/lib/project-actions.js +0 -4
- package/dist/internal/lib/provider-branding.js +2 -0
- package/dist/internal/lib/space-scope.d.ts +29 -0
- package/dist/internal/lib/space-scope.js +28 -0
- package/dist/internal/lib/use-project-feature-flags.js +3 -3
- package/dist/internal/lib/web-notifications.d.ts +74 -8
- package/dist/internal/lib/web-notifications.js +243 -117
- package/dist/internal/notifications/notification-rows.d.ts +14 -7
- package/dist/internal/notifications/notification-rows.js +21 -14
- package/dist/internal/notifications/session-toast-cards.d.ts +2 -2
- package/dist/internal/reminders/reminder-format.d.ts +6 -2
- package/dist/internal/reminders/reminder-format.js +7 -1
- package/dist/internal/stores/active-space-store.d.ts +35 -0
- package/dist/internal/stores/active-space-store.js +29 -0
- package/dist/internal/stores/kortix-computer-store.js +13 -4
- package/dist/internal/stores/pinned-agents-store.d.ts +26 -0
- package/dist/internal/stores/pinned-agents-store.js +20 -0
- package/dist/internal/stores/session-panel-memory-store.js +3 -0
- package/dist/internal/stores/turn-attention-store.d.ts +5 -4
- package/dist/lib/routes.d.ts +16 -1
- package/dist/lib/routes.js +15 -3
- package/dist/markdown/doc-editor/doc-embed.d.ts +31 -0
- package/dist/markdown/doc-editor/doc-embed.js +168 -0
- package/dist/markdown/doc-editor/doc-extensions.d.ts +26 -0
- package/dist/markdown/doc-editor/doc-extensions.js +149 -0
- package/dist/markdown/doc-editor/doc-menus.d.ts +9 -0
- package/dist/markdown/doc-editor/doc-menus.js +56 -0
- package/dist/markdown/doc-editor/markdown.d.ts +12 -0
- package/dist/markdown/doc-editor/markdown.js +140 -0
- package/dist/markdown/genui/components/inline.d.ts +1 -1
- package/dist/primitives/badge.d.ts +1 -1
- package/dist/primitives/button.d.ts +1 -1
- package/dist/primitives/pixel-kortix-mark.d.ts +5 -4
- package/dist/primitives/pixel-kortix-mark.js +5 -15
- package/dist/primitives/tag.d.ts +1 -1
- package/dist/primitives/textarea.js +14 -0
- package/dist/primitives/toast.d.ts +2 -0
- package/dist/primitives/toast.js +4 -2
- package/dist/providers/ui-provider.d.ts +16 -0
- package/dist/session/actions/session-label.d.ts +1 -1
- package/dist/session/actions/session-label.js +3 -3
- package/dist/session/agents/agent-model.d.ts +92 -0
- package/dist/session/agents/agent-model.js +123 -0
- package/dist/session/agents/agent-state-mark.d.ts +10 -0
- package/dist/session/agents/agent-state-mark.js +22 -0
- package/dist/session/agents/agent-strip.d.ts +58 -0
- package/dist/session/agents/agent-strip.js +259 -0
- package/dist/session/agents/held-messages.d.ts +33 -0
- package/dist/session/agents/held-messages.js +50 -0
- package/dist/session/agents/legacy-subagent-chat.d.ts +11 -0
- package/dist/session/agents/legacy-subagent-chat.js +19 -0
- package/dist/session/agents/session-peek.d.ts +20 -0
- package/dist/session/agents/session-peek.js +67 -0
- package/dist/session/agents/session-prompt.d.ts +13 -0
- package/dist/session/agents/session-prompt.js +18 -0
- package/dist/session/agents/steer-session.d.ts +13 -0
- package/dist/session/agents/steer-session.js +29 -0
- package/dist/session/agents/subagent-dialog-content.d.ts +11 -0
- package/dist/session/agents/subagent-dialog-content.js +115 -0
- package/dist/session/agents/subagent-view.d.ts +8 -0
- package/dist/session/agents/subagent-view.js +18 -0
- package/dist/session/agents/tasks-panel.d.ts +13 -0
- package/dist/session/agents/tasks-panel.js +41 -0
- package/dist/session/agents/workflow-run-controls.d.ts +43 -0
- package/dist/session/agents/workflow-run-controls.js +141 -0
- package/dist/session/composer/ComposerCard.d.ts +1 -1
- package/dist/session/composer/ComposerCard.js +3 -3
- package/dist/session/composer/agent-selector.js +13 -19
- package/dist/session/composer/composer-underbar.d.ts +3 -1
- package/dist/session/composer/composer-underbar.js +2 -2
- package/dist/session/composer/composer.d.ts +5 -0
- package/dist/session/composer/composer.js +16 -10
- package/dist/session/composer/editor/composer-editor.js +19 -8
- package/dist/session/composer/editor/ultracode.d.ts +34 -0
- package/dist/session/composer/editor/ultracode.js +127 -0
- package/dist/session/composer/send-blockers.d.ts +1 -11
- package/dist/session/composer/send-blockers.js +1 -11
- package/dist/session/composer/session-composer-readiness.d.ts +1 -28
- package/dist/session/composer/session-composer-readiness.js +5 -16
- package/dist/session/header/reminder-parts.d.ts +1 -1
- package/dist/session/header/session-site-header.js +6 -3
- package/dist/session/header/subagent-hover-card.d.ts +0 -2
- package/dist/session/header/subagent-hover-card.js +1 -4
- package/dist/session/models/claude-connection-slot.d.ts +11 -0
- package/dist/session/models/claude-connection-slot.js +30 -0
- package/dist/session/models/model-availability.d.ts +3 -1
- package/dist/session/models/model-availability.js +3 -0
- package/dist/session/models/model-selector.js +11 -12
- package/dist/session/models/model-tags.d.ts +9 -0
- package/dist/session/models/model-tags.js +8 -0
- package/dist/session/panel/easy/easy-panel.js +1 -1
- package/dist/session/panel/easy/step-icon.js +5 -1
- package/dist/session/panel/mobile-tool-drawer.js +1 -1
- package/dist/session/panel/session-action-panel-column.js +1 -1
- package/dist/session/panel/session-desktop.js +41 -14
- package/dist/session/panel/session-panel-provider.d.ts +1 -1
- package/dist/session/panel/session-panel-provider.js +7 -11
- package/dist/session/prompts/question-prompt.js +3 -1
- package/dist/session/status/session-error-banner.js +4 -1
- package/dist/session/thread/session-chat.js +286 -296
- package/dist/session/thread/session-context-modal.js +29 -10
- package/dist/session/thread/session-context-spawned-sessions.d.ts +13 -0
- package/dist/session/thread/session-context-spawned-sessions.js +44 -0
- package/dist/session/thread/session-context-sub-sessions.js +3 -8
- package/dist/session/thread/transcript.d.ts +3 -0
- package/dist/session/thread/transcript.js +32 -8
- package/dist/session/tool/shared/full-view-action.d.ts +29 -0
- package/dist/session/tool/shared/full-view-action.js +43 -0
- package/dist/session/tool/tool-part-renderer.js +10 -2
- package/dist/session/tool/tools/agent-message-tool.js +2 -2
- package/dist/session/tool/tools/agent-spawn-tool.js +2 -2
- package/dist/session/tool/tools/agent-status-tool.js +2 -2
- package/dist/session/tool/tools/kortix-action-tool.d.ts +2 -0
- package/dist/session/tool/tools/kortix-action-tool.js +148 -0
- package/dist/session/tool/tools/kortix-tool-card.d.ts +83 -0
- package/dist/session/tool/tools/kortix-tool-card.js +186 -0
- package/dist/session/tool/tools/multi-agent-tool-bodies.d.ts +11 -0
- package/dist/session/tool/tools/multi-agent-tool-bodies.js +141 -0
- package/dist/session/tool/tools/multi-agent-tool-data.d.ts +63 -0
- package/dist/session/tool/tools/multi-agent-tool-data.js +118 -0
- package/dist/session/tool/tools/multi-agent-tools.d.ts +9 -0
- package/dist/session/tool/tools/multi-agent-tools.js +38 -0
- package/dist/session/tool/tools/question-tool.js +1 -1
- package/dist/session/tool/tools/register.d.ts +3 -0
- package/dist/session/tool/tools/register.js +3 -0
- package/dist/session/tool/tools/session-spawn-tool.js +2 -2
- package/dist/session/tool/tools/task-tool.d.ts +1 -1
- package/dist/session/tool/tools/task-tool.js +29 -41
- package/dist/session/tool/tools/workflow-progress.d.ts +34 -0
- package/dist/session/tool/tools/workflow-progress.js +186 -0
- package/dist/session/tool/tools/workflow-run.d.ts +128 -0
- package/dist/session/tool/tools/workflow-run.js +251 -0
- package/dist/session/tool/tools/workflow-tool.d.ts +9 -0
- package/dist/session/tool/tools/workflow-tool.js +253 -0
- package/dist/session/turn/notice-batch-group.d.ts +12 -0
- package/dist/session/turn/notice-batch-group.js +17 -0
- package/dist/session/turn/peer-message-row.d.ts +14 -0
- package/dist/session/turn/peer-message-row.js +57 -0
- package/dist/session/turn/subagent-notice-row.d.ts +4 -0
- package/dist/session/turn/subagent-notice-row.js +50 -0
- package/dist/session/turn/subagent-notice.d.ts +58 -0
- package/dist/session/turn/subagent-notice.js +111 -0
- package/dist/session/turn/user-message.js +24 -5
- package/dist/styles/tokens.css +2 -0
- package/dist/styles.css +1 -1
- package/dist/terminal/session-terminal-connect-bar.js +1 -1
- package/dist/workspace/admin/project-admin-dashboard.d.ts +53 -0
- package/dist/workspace/admin/project-admin-dashboard.js +252 -0
- package/dist/workspace/admin/project-admin-nav.d.ts +20 -0
- package/dist/workspace/admin/project-admin-nav.js +41 -0
- package/dist/workspace/home/welcome-body.js +25 -3
- package/dist/workspace/index.d.ts +6 -2
- package/dist/workspace/index.js +12 -2
- package/dist/workspace/layout/new-session-create.js +3 -3
- package/dist/workspace/layout/project-home.js +3 -3
- package/dist/workspace/memory/memory-labels.js +5 -0
- package/dist/workspace/repository-disconnected.js +2 -2
- package/dist/workspace/sessions/board-dispatch.d.ts +52 -0
- package/dist/workspace/sessions/board-dispatch.js +110 -0
- package/dist/workspace/sessions/board-grouping.d.ts +63 -0
- package/dist/workspace/sessions/board-grouping.js +141 -0
- package/dist/workspace/sessions/board-peek.d.ts +15 -0
- package/dist/workspace/sessions/board-peek.js +54 -0
- package/dist/workspace/sessions/board-state-mark.d.ts +15 -0
- package/dist/workspace/sessions/board-state-mark.js +24 -0
- package/dist/workspace/sessions/project-sessions-view.js +42 -31
- package/dist/workspace/sessions/sessions-board.d.ts +12 -0
- package/dist/workspace/sessions/sessions-board.js +214 -0
- package/dist/workspace/sidebar/footer/project-manifest-issues-alert.d.ts +46 -0
- package/dist/workspace/sidebar/footer/project-manifest-issues-alert.js +85 -0
- package/dist/workspace/sidebar/footer/sidebar-alert.js +1 -1
- package/dist/workspace/sidebar/new-agent-modal-provider.d.ts +12 -0
- package/dist/workspace/sidebar/new-agent-modal-provider.js +19 -0
- package/dist/workspace/sidebar/project-nav-items.d.ts +3 -1
- package/dist/workspace/sidebar/project-nav-items.js +53 -5
- package/dist/workspace/sidebar/project-session-list.js +35 -12
- package/dist/workspace/sidebar/project-sidebar.js +6 -3
- package/dist/workspace/sidebar/session-filter-menu.js +2 -1
- package/dist/workspace/space/space-blocks.d.ts +25 -0
- package/dist/workspace/space/space-blocks.js +124 -0
- package/dist/workspace/space/space-filter-tabs.d.ts +17 -0
- package/dist/workspace/space/space-filter-tabs.js +31 -0
- package/dist/workspace/space/space-page.d.ts +24 -0
- package/dist/workspace/space/space-page.js +157 -0
- package/dist/workspace/space/space-room.d.ts +20 -0
- package/dist/workspace/space/space-room.js +27 -0
- package/dist/workspace/space/space-tab-menu.d.ts +14 -0
- package/dist/workspace/space/space-tab-menu.js +127 -0
- package/dist/workspace/space/space-tab-panels.d.ts +9 -0
- package/dist/workspace/space/space-tab-panels.js +203 -0
- package/dist/workspace/space/space-templates.d.ts +34 -0
- package/dist/workspace/space/space-templates.js +71 -0
- package/dist/workspace/space/use-space-filter.d.ts +10 -0
- package/dist/workspace/space/use-space-filter.js +40 -0
- package/dist/workspace/space/use-space-manifest.d.ts +8 -0
- package/dist/workspace/space/use-space-manifest.js +27 -0
- package/dist/workspace/spaces/space-timeline.js +2 -2
- package/package.json +56 -53
- package/skills/kortix-ui/SKILL.md +1 -1
- package/skills/kortix-ui/references/custom-dashboard.md +10 -4
- package/skills/kortix-ui/references/modules.md +10 -8
- package/dist/_vendor/shared/meta-agent.d.ts +0 -7
- package/dist/customize/agents/agent-grant-pages.d.ts +0 -37
- package/dist/customize/agents/agent-grant-pages.js +0 -226
- package/dist/customize/agents/agent-triggers-section.d.ts +0 -17
- package/dist/customize/agents/agent-triggers-section.js +0 -109
- package/dist/customize/migrate-to-v2/index.d.ts +0 -5
- package/dist/customize/migrate-to-v2/index.js +0 -5
- package/dist/customize/migrate-to-v2/migration-prompt.d.ts +0 -16
- package/dist/customize/migrate-to-v2/migration-prompt.js +0 -59
- package/dist/customize/migrate-to-v2/upgrade-defs.d.ts +0 -30
- package/dist/customize/migrate-to-v2/upgrade-defs.js +0 -43
- package/dist/customize/migrate-to-v2/upgrade-view.d.ts +0 -32
- package/dist/customize/migrate-to-v2/upgrade-view.js +0 -152
- package/dist/customize/migrate-to-v2/use-run-upgrade.d.ts +0 -18
- package/dist/customize/migrate-to-v2/use-run-upgrade.js +0 -16
- package/dist/customize/shared/capability-tabs.d.ts +0 -3
- package/dist/customize/shared/capability-tabs.js +0 -137
- package/dist/customize/skills/skill-scope.d.ts +0 -14
- package/dist/customize/skills/skill-scope.js +0 -18
- package/dist/internal/lib/manifest-version.d.ts +0 -21
- package/dist/internal/lib/manifest-version.js +0 -55
- package/dist/session/composer/hooks/use-composer-escape-stop.d.ts +0 -6
- package/dist/session/composer/hooks/use-composer-escape-stop.js +0 -28
- package/dist/session/thread/sub-session-modal-content.d.ts +0 -8
- package/dist/session/thread/sub-session-modal-content.js +0 -23
- package/dist/session/thread/sub-session-modal.d.ts +0 -2
- package/dist/session/thread/sub-session-modal.js +0 -14
- package/dist/workspace/sidebar/footer/project-manifest-upgrade-alert.d.ts +0 -13
- package/dist/workspace/sidebar/footer/project-manifest-upgrade-alert.js +0 -48
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kortix/ui",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.14",
|
|
4
4
|
"description": "Kortix UI: the shared React component library for apps/web, Kortix Apps and SDK hosts. Tailwind v4 classes, themed by CSS variables.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Elastic-2.0",
|
|
@@ -181,6 +181,10 @@
|
|
|
181
181
|
"types": "./dist/customize/index.d.ts",
|
|
182
182
|
"import": "./dist/customize/index.js"
|
|
183
183
|
},
|
|
184
|
+
"./customize/agents/agent-apps-grant": {
|
|
185
|
+
"types": "./dist/customize/agents/agent-apps-grant.d.ts",
|
|
186
|
+
"import": "./dist/customize/agents/agent-apps-grant.js"
|
|
187
|
+
},
|
|
184
188
|
"./customize/agents/agent-detail-aside": {
|
|
185
189
|
"types": "./dist/customize/agents/agent-detail-aside.d.ts",
|
|
186
190
|
"import": "./dist/customize/agents/agent-detail-aside.js"
|
|
@@ -201,10 +205,6 @@
|
|
|
201
205
|
"types": "./dist/customize/connectors/connectors-app-return-bar.d.ts",
|
|
202
206
|
"import": "./dist/customize/connectors/connectors-app-return-bar.js"
|
|
203
207
|
},
|
|
204
|
-
"./customize/connectors/connectors-page": {
|
|
205
|
-
"types": "./dist/customize/connectors/connectors-page.d.ts",
|
|
206
|
-
"import": "./dist/customize/connectors/connectors-page.js"
|
|
207
|
-
},
|
|
208
208
|
"./customize/connectors/detail/app-page": {
|
|
209
209
|
"types": "./dist/customize/connectors/detail/app-page.d.ts",
|
|
210
210
|
"import": "./dist/customize/connectors/detail/app-page.js"
|
|
@@ -213,22 +213,6 @@
|
|
|
213
213
|
"types": "./dist/customize/connectors/detail/connector-page.d.ts",
|
|
214
214
|
"import": "./dist/customize/connectors/detail/connector-page.js"
|
|
215
215
|
},
|
|
216
|
-
"./customize/migrate-to-v2/upgrade-view": {
|
|
217
|
-
"types": "./dist/customize/migrate-to-v2/upgrade-view.d.ts",
|
|
218
|
-
"import": "./dist/customize/migrate-to-v2/upgrade-view.js"
|
|
219
|
-
},
|
|
220
|
-
"./customize/models/models-page": {
|
|
221
|
-
"types": "./dist/customize/models/models-page.d.ts",
|
|
222
|
-
"import": "./dist/customize/models/models-page.js"
|
|
223
|
-
},
|
|
224
|
-
"./customize/project-settings/project-settings-page": {
|
|
225
|
-
"types": "./dist/customize/project-settings/project-settings-page.d.ts",
|
|
226
|
-
"import": "./dist/customize/project-settings/project-settings-page.js"
|
|
227
|
-
},
|
|
228
|
-
"./customize/secrets/secrets-page": {
|
|
229
|
-
"types": "./dist/customize/secrets/secrets-page.d.ts",
|
|
230
|
-
"import": "./dist/customize/secrets/secrets-page.js"
|
|
231
|
-
},
|
|
232
216
|
"./customize/sections/add-account-fields": {
|
|
233
217
|
"types": "./dist/customize/sections/add-account-fields.d.ts",
|
|
234
218
|
"import": "./dist/customize/sections/add-account-fields.js"
|
|
@@ -381,17 +365,25 @@
|
|
|
381
365
|
"types": "./dist/customize/settings/type.d.ts",
|
|
382
366
|
"import": "./dist/customize/settings/type.js"
|
|
383
367
|
},
|
|
368
|
+
"./customize/shared/agent-resource-scope": {
|
|
369
|
+
"types": "./dist/customize/shared/agent-resource-scope.d.ts",
|
|
370
|
+
"import": "./dist/customize/shared/agent-resource-scope.js"
|
|
371
|
+
},
|
|
384
372
|
"./customize/shared/capability-access-gate": {
|
|
385
373
|
"types": "./dist/customize/shared/capability-access-gate.d.ts",
|
|
386
374
|
"import": "./dist/customize/shared/capability-access-gate.js"
|
|
387
375
|
},
|
|
376
|
+
"./customize/shared/capability-page-shell": {
|
|
377
|
+
"types": "./dist/customize/shared/capability-page-shell.d.ts",
|
|
378
|
+
"import": "./dist/customize/shared/capability-page-shell.js"
|
|
379
|
+
},
|
|
388
380
|
"./customize/shared/capability-skeleton": {
|
|
389
381
|
"types": "./dist/customize/shared/capability-skeleton.d.ts",
|
|
390
382
|
"import": "./dist/customize/shared/capability-skeleton.js"
|
|
391
383
|
},
|
|
392
|
-
"./customize/shared/
|
|
393
|
-
"types": "./dist/customize/shared/
|
|
394
|
-
"import": "./dist/customize/shared/
|
|
384
|
+
"./customize/shared/customize-tab-bar": {
|
|
385
|
+
"types": "./dist/customize/shared/customize-tab-bar.d.ts",
|
|
386
|
+
"import": "./dist/customize/shared/customize-tab-bar.js"
|
|
395
387
|
},
|
|
396
388
|
"./customize/shared/entity/entity-files": {
|
|
397
389
|
"types": "./dist/customize/shared/entity/entity-files.d.ts",
|
|
@@ -409,10 +401,6 @@
|
|
|
409
401
|
"types": "./dist/customize/shared/with-search.d.ts",
|
|
410
402
|
"import": "./dist/customize/shared/with-search.js"
|
|
411
403
|
},
|
|
412
|
-
"./customize/skills/skills-page": {
|
|
413
|
-
"types": "./dist/customize/skills/skills-page.d.ts",
|
|
414
|
-
"import": "./dist/customize/skills/skills-page.js"
|
|
415
|
-
},
|
|
416
404
|
"./customize/triggers/schedule-view": {
|
|
417
405
|
"types": "./dist/customize/triggers/schedule-view.d.ts",
|
|
418
406
|
"import": "./dist/customize/triggers/schedule-view.js"
|
|
@@ -421,10 +409,6 @@
|
|
|
421
409
|
"types": "./dist/customize/triggers/schedule/schedule-copy.d.ts",
|
|
422
410
|
"import": "./dist/customize/triggers/schedule/schedule-copy.js"
|
|
423
411
|
},
|
|
424
|
-
"./customize/triggers/triggers-page": {
|
|
425
|
-
"types": "./dist/customize/triggers/triggers-page.d.ts",
|
|
426
|
-
"import": "./dist/customize/triggers/triggers-page.js"
|
|
427
|
-
},
|
|
428
412
|
"./data-grid": {
|
|
429
413
|
"types": "./dist/primitives/data-grid.d.ts",
|
|
430
414
|
"import": "./dist/primitives/data-grid.js"
|
|
@@ -1151,9 +1135,9 @@
|
|
|
1151
1135
|
"types": "./dist/internal/lib/kortix-cli.d.ts",
|
|
1152
1136
|
"import": "./dist/internal/lib/kortix-cli.js"
|
|
1153
1137
|
},
|
|
1154
|
-
"./internal/lib/manifest-
|
|
1155
|
-
"types": "./dist/internal/lib/manifest-
|
|
1156
|
-
"import": "./dist/internal/lib/manifest-
|
|
1138
|
+
"./internal/lib/manifest-health": {
|
|
1139
|
+
"types": "./dist/internal/lib/manifest-health.d.ts",
|
|
1140
|
+
"import": "./dist/internal/lib/manifest-health.js"
|
|
1157
1141
|
},
|
|
1158
1142
|
"./internal/lib/mobile-store-urls": {
|
|
1159
1143
|
"types": "./dist/internal/lib/mobile-store-urls.d.ts",
|
|
@@ -1295,10 +1279,6 @@
|
|
|
1295
1279
|
"types": "./dist/internal/notifications/web-push.d.ts",
|
|
1296
1280
|
"import": "./dist/internal/notifications/web-push.js"
|
|
1297
1281
|
},
|
|
1298
|
-
"./internal/reminders/use-refetch-after-fire": {
|
|
1299
|
-
"types": "./dist/internal/reminders/use-refetch-after-fire.d.ts",
|
|
1300
|
-
"import": "./dist/internal/reminders/use-refetch-after-fire.js"
|
|
1301
|
-
},
|
|
1302
1282
|
"./internal/session-types/index": {
|
|
1303
1283
|
"types": "./dist/internal/session-types/index.d.ts",
|
|
1304
1284
|
"import": "./dist/internal/session-types/index.js"
|
|
@@ -1455,10 +1435,6 @@
|
|
|
1455
1435
|
"types": "./dist/primitives/label.d.ts",
|
|
1456
1436
|
"import": "./dist/primitives/label.js"
|
|
1457
1437
|
},
|
|
1458
|
-
"./lib/favicon": {
|
|
1459
|
-
"types": "./dist/lib/favicon.d.ts",
|
|
1460
|
-
"import": "./dist/lib/favicon.js"
|
|
1461
|
-
},
|
|
1462
1438
|
"./lib/host-env": {
|
|
1463
1439
|
"types": "./dist/lib/host-env.d.ts",
|
|
1464
1440
|
"import": "./dist/lib/host-env.js"
|
|
@@ -1499,6 +1475,22 @@
|
|
|
1499
1475
|
"types": "./dist/markdown/copy-button.d.ts",
|
|
1500
1476
|
"import": "./dist/markdown/copy-button.js"
|
|
1501
1477
|
},
|
|
1478
|
+
"./markdown/doc-editor/doc-embed": {
|
|
1479
|
+
"types": "./dist/markdown/doc-editor/doc-embed.d.ts",
|
|
1480
|
+
"import": "./dist/markdown/doc-editor/doc-embed.js"
|
|
1481
|
+
},
|
|
1482
|
+
"./markdown/doc-editor/doc-extensions": {
|
|
1483
|
+
"types": "./dist/markdown/doc-editor/doc-extensions.d.ts",
|
|
1484
|
+
"import": "./dist/markdown/doc-editor/doc-extensions.js"
|
|
1485
|
+
},
|
|
1486
|
+
"./markdown/doc-editor/doc-menus": {
|
|
1487
|
+
"types": "./dist/markdown/doc-editor/doc-menus.d.ts",
|
|
1488
|
+
"import": "./dist/markdown/doc-editor/doc-menus.js"
|
|
1489
|
+
},
|
|
1490
|
+
"./markdown/doc-editor/markdown": {
|
|
1491
|
+
"types": "./dist/markdown/doc-editor/markdown.d.ts",
|
|
1492
|
+
"import": "./dist/markdown/doc-editor/markdown.js"
|
|
1493
|
+
},
|
|
1502
1494
|
"./markdown/setup-links/api-base": {
|
|
1503
1495
|
"types": "./dist/markdown/setup-links/api-base.d.ts",
|
|
1504
1496
|
"import": "./dist/markdown/setup-links/api-base.js"
|
|
@@ -1977,6 +1969,10 @@
|
|
|
1977
1969
|
"types": "./dist/workspace/index.d.ts",
|
|
1978
1970
|
"import": "./dist/workspace/index.js"
|
|
1979
1971
|
},
|
|
1972
|
+
"./workspace/admin/project-admin-dashboard": {
|
|
1973
|
+
"types": "./dist/workspace/admin/project-admin-dashboard.d.ts",
|
|
1974
|
+
"import": "./dist/workspace/admin/project-admin-dashboard.js"
|
|
1975
|
+
},
|
|
1980
1976
|
"./workspace/home/access-requests-bell": {
|
|
1981
1977
|
"types": "./dist/workspace/home/access-requests-bell.d.ts",
|
|
1982
1978
|
"import": "./dist/workspace/home/access-requests-bell.js"
|
|
@@ -2089,10 +2085,6 @@
|
|
|
2089
2085
|
"types": "./dist/workspace/review/types.d.ts",
|
|
2090
2086
|
"import": "./dist/workspace/review/types.js"
|
|
2091
2087
|
},
|
|
2092
|
-
"./workspace/sidebar/customize-sidebar-modal": {
|
|
2093
|
-
"types": "./dist/workspace/sidebar/customize-sidebar-modal.d.ts",
|
|
2094
|
-
"import": "./dist/workspace/sidebar/customize-sidebar-modal.js"
|
|
2095
|
-
},
|
|
2096
2088
|
"./workspace/sidebar/footer/project-apps-nav": {
|
|
2097
2089
|
"types": "./dist/workspace/sidebar/footer/project-apps-nav.d.ts",
|
|
2098
2090
|
"import": "./dist/workspace/sidebar/footer/project-apps-nav.js"
|
|
@@ -2105,9 +2097,9 @@
|
|
|
2105
2097
|
"types": "./dist/workspace/sidebar/footer/project-computer-nav.d.ts",
|
|
2106
2098
|
"import": "./dist/workspace/sidebar/footer/project-computer-nav.js"
|
|
2107
2099
|
},
|
|
2108
|
-
"./workspace/sidebar/footer/project-manifest-
|
|
2109
|
-
"types": "./dist/workspace/sidebar/footer/project-manifest-
|
|
2110
|
-
"import": "./dist/workspace/sidebar/footer/project-manifest-
|
|
2100
|
+
"./workspace/sidebar/footer/project-manifest-issues-alert": {
|
|
2101
|
+
"types": "./dist/workspace/sidebar/footer/project-manifest-issues-alert.d.ts",
|
|
2102
|
+
"import": "./dist/workspace/sidebar/footer/project-manifest-issues-alert.js"
|
|
2111
2103
|
},
|
|
2112
2104
|
"./workspace/sidebar/footer/project-mcp-nav": {
|
|
2113
2105
|
"types": "./dist/workspace/sidebar/footer/project-mcp-nav.d.ts",
|
|
@@ -2156,6 +2148,10 @@
|
|
|
2156
2148
|
"./workspace/sidebar/workspace-menu-section": {
|
|
2157
2149
|
"types": "./dist/workspace/sidebar/workspace-menu-section.d.ts",
|
|
2158
2150
|
"import": "./dist/workspace/sidebar/workspace-menu-section.js"
|
|
2151
|
+
},
|
|
2152
|
+
"./workspace/space/space-page": {
|
|
2153
|
+
"types": "./dist/workspace/space/space-page.d.ts",
|
|
2154
|
+
"import": "./dist/workspace/space/space-page.js"
|
|
2159
2155
|
}
|
|
2160
2156
|
},
|
|
2161
2157
|
"publishConfig": {
|
|
@@ -2193,7 +2189,7 @@
|
|
|
2193
2189
|
"@extend-ai/react-docx": "^0.7.5",
|
|
2194
2190
|
"@extend-ai/react-xlsx": "0.13.4",
|
|
2195
2191
|
"@glideapps/glide-data-grid": "6.0.4-alpha24",
|
|
2196
|
-
"@kortix/llm-catalog": "0.14.
|
|
2192
|
+
"@kortix/llm-catalog": "0.14.14",
|
|
2197
2193
|
"@lezer/highlight": "1.2.3",
|
|
2198
2194
|
"@paper-design/shaders-react": "^0.0.76",
|
|
2199
2195
|
"@phosphor-icons/react": "2.1.10",
|
|
@@ -2282,10 +2278,17 @@
|
|
|
2282
2278
|
"uqr": "0.1.3",
|
|
2283
2279
|
"use-intl": "^4.13.4",
|
|
2284
2280
|
"vaul": "^1.1.2",
|
|
2285
|
-
"zustand": "^5.0.3"
|
|
2281
|
+
"zustand": "^5.0.3",
|
|
2282
|
+
"@tiptap/extension-code": "3.30.5",
|
|
2283
|
+
"@tiptap/extension-code-block": "3.30.5",
|
|
2284
|
+
"@tiptap/extension-image": "3.30.5",
|
|
2285
|
+
"marked": "^16.4.2",
|
|
2286
|
+
"turndown": "^7.2.1",
|
|
2287
|
+
"turndown-plugin-gfm": "^1.0.2",
|
|
2288
|
+
"yaml": "^2.8.2"
|
|
2286
2289
|
},
|
|
2287
2290
|
"peerDependencies": {
|
|
2288
|
-
"@kortix/sdk": "^0.14.
|
|
2291
|
+
"@kortix/sdk": "^0.14.14",
|
|
2289
2292
|
"@tanstack/react-query": "^5.75.2",
|
|
2290
2293
|
"@types/react": ">=18",
|
|
2291
2294
|
"react": ">=19",
|
|
@@ -114,7 +114,7 @@ One entry per module. Its curated names are the public API (semver). Every name,
|
|
|
114
114
|
| `@kortix/ui/files` | Project files (git repo), sandbox files, `FilePreviewHost` | `ProjectFilesView` (workspace); `<FilePreviewHost />` once on a page without a side panel |
|
|
115
115
|
| `@kortix/ui/file-viewer` | Any file kind: pdf, docx, xlsx, csv, pptx, zip, images, code | `<FileViewer content fileName />`; `FileContentRenderer` in `FileSourceProvider` |
|
|
116
116
|
| `@kortix/ui/terminal`, `@kortix/ui/browser` | The session shell; the sandbox browser | the runtime ids of a mounted `useSession` |
|
|
117
|
-
| `@kortix/ui/markdown`, `@kortix/ui/genui` | Markdown with code, math, links; GenUI blocks | `<UnifiedMarkdown content trust="agent"
|
|
117
|
+
| `@kortix/ui/markdown`, `@kortix/ui/genui` | Markdown with code, math, links; GenUI blocks | `<UnifiedMarkdown content trust="agent" />`; `genui` renders GenUI fences |
|
|
118
118
|
| `@kortix/ui/diff`, `@kortix/ui/changes` | One diff; a change list | `<DiffView before after />` |
|
|
119
119
|
| `@kortix/ui/apps`, `@kortix/ui/artifacts` | App frames, the frame pool, the App view model; artifact frames and session cards | none |
|
|
120
120
|
| `@kortix/ui/access`, `@kortix/ui/customize` | Sharing and roles; project configuration pages | `<ConnectorsPage projectId />` |
|
|
@@ -188,20 +188,21 @@ pass stable objects (module scope):
|
|
|
188
188
|
| `link` | a plain `<a>` | its router's link, called with `href` |
|
|
189
189
|
| `navigation` | full page loads; `usePathname` / `useSearchParams` read `window.location` | `{ useRouter, usePathname, useSearchParams, useParams }` of its router |
|
|
190
190
|
| `config` | `{ connectorsEnabled: true, managedModelsEnabled: false }` | `managedModelsEnabled: true` when the deployment serves its model lineup. Billing is the SDK flag `billingEnabled` of `createKortix({ backendUrl, getToken, billingEnabled })`, which every billing gate reads. It is for Kortix's own app: its upgrade actions open the Kortix plan dialog that apps/web mounts. A custom host leaves it off, so no upgrade control renders. |
|
|
191
|
-
| `resolvePreviewUrl` | the SDK preview URL, with the SDK token | an async function of the request (it returns a Promise) that resolves to the framed URL with the host's own scoped token, or to `null` to keep the SDK preview URL (a host whose origin is not the Kortix backend). `config.terminalEnabled: false` hides the Terminal when the host's proxy cannot upgrade a WebSocket. `config.cliConnectEnabled` (default true): false hides the Terminal's "Connect from your machine" bar, for a host that serves no `<origin>/install` installer and ships no Kortix CLI. `config.publicSharesEnabled` (default true): false hides every public-link control, for a host that serves no page at `share.public_path` (`/share/session/<token>`). `config.commandPaletteShortcut` / `config.settingsShortcut` (default false): true when the host opens a command palette on ⌘K or settings on ⌘,; only then does the composer hint at them. `config.providerIconBaseUrl`: where the host serves provider logos (`<base>/<icon>.svg`); without it they load from models.dev, and the Kortix provider draws `useBrand`'s icon. `config.accountApiEnabled` (default true): false for a host that fronts one operator key and blocks the account routes; then no IAM probe, billing or session-oversight request runs, billing state stays empty, and every permission gate shows its control (the server enforces each route). |
|
|
192
|
-
| `components` | no slots: each control that opens one is hidden | `ShareSessionModal` (`@kortix/ui/workspace` exports Kortix's), `HomeAnnouncement`, `Wallpaper`, `ProjectProviderModal`, `ProviderAccountsModal`, `ConnectorConnectModal` |
|
|
191
|
+
| `resolvePreviewUrl` | the SDK preview URL, with the SDK token | an async function of the request (it returns a Promise) that resolves to the framed URL with the host's own scoped token, or to `null` to keep the SDK preview URL (a host whose origin is not the Kortix backend). `config.terminalEnabled: false` hides the Terminal when the host's proxy cannot upgrade a WebSocket. `config.cliConnectEnabled` (default true): false hides the Terminal's "Connect from your machine" bar, for a host that serves no `<origin>/install` installer and ships no Kortix CLI. `config.publicSharesEnabled` (default true): false hides every public-link control, for a host that serves no page at `share.public_path` (`/share/session/<token>`). `config.commandPaletteShortcut` / `config.settingsShortcut` (default false): true when the host opens a command palette on ⌘K or settings on ⌘,; only then does the composer hint at them. `config.providerIconBaseUrl`: where the host serves provider logos (`<base>/<icon>.svg`); without it they load from models.dev, and the Kortix provider draws `useBrand`'s icon. `config.accountApiEnabled` (default true): false for a host that fronts one operator key and blocks the account routes; then no IAM probe, billing or session-oversight request runs, billing state stays empty, and every permission gate shows its control (the server enforces each route). `config.modelPickerEnabled`, `contextMeterEnabled`, `sessionOverridesEnabled`, `runtimeSlashEnabled` (default true): false hides the model and effort pickers, the context ring, the session-overrides gear, or the runtime's skills and commands in the `/` menu. `config.offeredAgents` and `agentLabels`: the agents the composer's picker offers, and their display names. `config.takeFiles` and `attachAccept`: the host takes the composer's files itself, and the attach picker's `accept` list. |
|
|
192
|
+
| `components` | no slots: each control that opens one is hidden | `ShareSessionModal` (`@kortix/ui/workspace` exports Kortix's), `HomeAnnouncement`, `Wallpaper`, `ProjectProviderModal`, `ProviderAccountsModal`, `ConnectorConnectModal`, `ArtifactViewer` (without it, the panel shows an artifact read-only), `RoomPanel` (flag `agent_rooms`) |
|
|
193
193
|
| `useBrand` | the Kortix marks | a hook that returns `{ app_name, logo_url, icon_url }` |
|
|
194
194
|
| `image` | a plain `<img>` | its image component |
|
|
195
195
|
| `i18n` | the bundled English catalog | `{ useTranslations, useLocale }` (next-intl signatures) or `{ locale, messages }` |
|
|
196
196
|
| `strings` | English copy of the primitives | the keys it translates |
|
|
197
197
|
| `useViewerId` | no viewer: a one-person session names nobody, and a stopped turn never says "Stopped by" | a hook that returns the signed-in Kortix user's id (the owner of the token the SDK sends). A session several people write in needs it to name the other senders |
|
|
198
|
+
| `useViewer`, `updateViewerMetadata` | `{ id }` from `useViewerId`; preferences stay in this browser | a hook that returns the signed-in user (`id`, `email`, `metadata` with `name`, `full_name`, `avatar_url`); a function that saves profile fields, so UI preferences follow the user across devices |
|
|
198
199
|
|
|
199
200
|
A Next.js host passes `next/link` and `{ useRouter, usePathname, useSearchParams, useParams }` from
|
|
200
201
|
`next/navigation` unchanged.
|
|
201
202
|
|
|
202
203
|
## 5. The project shell
|
|
203
204
|
|
|
204
|
-
Your sidebar chrome around Kortix's session list. Every URL the components link to comes from one route table, `setUiRoutes` (`@kortix/ui`), called once at module load. The defaults are Kortix's own paths: `project` `/projects/<id>`, `session` `/projects/<id>/sessions/<sessionId>`, `sessions` `/projects/<id>/sessions` (`?view=archived|deleted`), `files` `/projects/<id>/files`, `drive` `/projects/<id>/drive`, `apps` `/projects/<id>/apps`, `members` `/projects/<id>/members`, `sandboxSettings` `/projects/<id>/
|
|
205
|
+
Your sidebar chrome around Kortix's session list. Every URL the components link to comes from one route table, `setUiRoutes` (`@kortix/ui`), called once at module load. The defaults are Kortix's own paths: `project` `/projects/<id>`, `session` `/projects/<id>/sessions/<sessionId>`, `sessions` `/projects/<id>/sessions` (`?view=archived|deleted`), `files` `/projects/<id>/files`, `drive` `/projects/<id>/drive`, `apps` `/projects/<id>/apps`, `members` `/projects/<id>/members`, `sandboxSettings` `/projects/<id>/admin/sandbox`, `customize` `/projects/<id>/customize/<page>` (agents, skills, connectors, triggers, reminders, models, secrets, review, settings), `admin` `/projects/<id>/admin/<section>` (it follows `customize` when you map only `customize`), `rooms` `/projects/<id>/rooms` (flag `agent_rooms`), `goals` `/projects/<id>/goals` (flag `goals`), `artifacts` `/projects/<id>/artifacts` (flag `artifacts`), and, while the project's `project_channels` flag is on, `space` `/projects/<id>/spaces/<slug>`, `memory` `/projects/<id>/memory`, `channel` `/projects/<id>/c/<slug>` and `dm` `/projects/<id>/dm/<agent>`. Return your own path for a page you serve elsewhere. Return `null` for a page you do not serve: every link to it is hidden. `project`, `session`, `channel` and `dm` cannot be null. This app serves the project
|
|
205
206
|
home, its files and a session (section 7), so it maps the other pages to `null`.
|
|
206
207
|
|
|
207
208
|
```tsx
|
|
@@ -376,9 +377,14 @@ setUiRoutes({
|
|
|
376
377
|
sessions: () => null,
|
|
377
378
|
drive: () => null,
|
|
378
379
|
apps: () => null,
|
|
380
|
+
rooms: () => null,
|
|
381
|
+
goals: () => null,
|
|
382
|
+
artifacts: () => null,
|
|
383
|
+
space: () => null,
|
|
384
|
+
memory: () => null,
|
|
379
385
|
members: () => null,
|
|
380
386
|
sandboxSettings: () => null,
|
|
381
|
-
customize: () => null,
|
|
387
|
+
customize: () => null, // `admin` follows it
|
|
382
388
|
});
|
|
383
389
|
|
|
384
390
|
const router = createBrowserRouter([
|
|
@@ -76,7 +76,7 @@ Names: `createTranslator`, `UiI18nHost`, `localizeUiCatalog`, `translateUiCatalo
|
|
|
76
76
|
|
|
77
77
|
Source: `src/markdown/index.tsx`. Assistant and document markdown: code, math, links, GenUI fences, frontmatter.
|
|
78
78
|
|
|
79
|
-
Props: `UnifiedMarkdown`: `content`, `trust` (`'agent'` for model text), `variant` (`'document'` for a file), `documentPath`, `isStreaming`, `className`.
|
|
79
|
+
Props: `UnifiedMarkdown`: `content`, `trust` (`'agent'` for model text), `variant` (`'document'` for a file), `documentPath`, `isStreaming`, `genui` (render `openui` fences as GenUI blocks), `className`.
|
|
80
80
|
|
|
81
81
|
```tsx
|
|
82
82
|
import { UnifiedMarkdown } from '@kortix/ui/markdown';
|
|
@@ -95,15 +95,15 @@ Names: `markdownPolicy`, `MarkdownPolicy`, `MarkdownTrust`, `MarkdownVariant`, `
|
|
|
95
95
|
|
|
96
96
|
Source: `src/markdown/genui/index.ts`. Typed UI blocks inside assistant markdown: the block renderer, the component set, telemetry, copy-as-text.
|
|
97
97
|
|
|
98
|
-
Props: none to mount: `UnifiedMarkdown` renders
|
|
98
|
+
Props: none to mount: `UnifiedMarkdown` with `genui` renders `openui` fences as blocks (the session thread sets it). Without `genui`, a fence is a code block. The viewer's preference (`useGenuiEnabled`, default on) can turn the blocks off.
|
|
99
99
|
|
|
100
100
|
```tsx
|
|
101
101
|
import { mayHoldGenui } from '@kortix/ui/genui';
|
|
102
102
|
import { UnifiedMarkdown } from '@kortix/ui/markdown';
|
|
103
103
|
|
|
104
|
-
// GenUI fences render inside UnifiedMarkdown
|
|
104
|
+
// GenUI fences render inside UnifiedMarkdown with `genui`; mayHoldGenui is a cheap pre-check.
|
|
105
105
|
export function Reply({ text }: { text: string }) {
|
|
106
|
-
return <UnifiedMarkdown content={text} trust="agent" className={mayHoldGenui(text) ? 'min-h-24' : undefined} />;
|
|
106
|
+
return <UnifiedMarkdown content={text} trust="agent" genui className={mayHoldGenui(text) ? 'min-h-24' : undefined} />;
|
|
107
107
|
}
|
|
108
108
|
```
|
|
109
109
|
|
|
@@ -155,7 +155,7 @@ Names: `ChangeList`, `ChangeSummary`, `DiffLayoutToggle`, `ExpandAllButton`, `us
|
|
|
155
155
|
|
|
156
156
|
Source: `src/files/index.ts`. Browse and edit files. Project files are the git-backed repo; sandbox files are a live session workspace.
|
|
157
157
|
|
|
158
|
-
Mount: Project files: inside `ProjectFilesProvider` (`projectId`,
|
|
158
|
+
Mount: Project files: inside `ProjectFilesProvider` (`value`: `projectId`, the git `ref`, optional `defaultBranch`). Sandbox files: inside a mounted `useSession`. `FilePreviewHost`: once, on a page with no session side panel; a file open (`openPreview`) shows there. `SessionThread` mounts it already. `DriveUploadTray`: once per project shell; it lists the Drive uploads in flight and stays mounted across pages.
|
|
159
159
|
|
|
160
160
|
Props: `ProjectFilesView` (`@kortix/ui/workspace`): `projectId`. It fills its parent (`h-full`): the parent sets the height, or only the header shows. `FileExplorerPage`: `embedded`. `SandboxFileExplorer`: `embedded`, `shareContext`, `leading`. `FilePreviewHost`: none.
|
|
161
161
|
|
|
@@ -336,7 +336,7 @@ Source: `src/session/panel/index.ts`. The session side panel: provider, panel bo
|
|
|
336
336
|
|
|
337
337
|
Mount: Inside `SessionPanelProvider` (`sessionId`, `projectId`, `projectSessionId`).
|
|
338
338
|
|
|
339
|
-
Props: `SessionPanelProvider`: `sessionId` (runtime id), `projectId`, `projectSessionId`, `isSessionBusy`. `ActionPanel` takes none. `openSessionQuickView(view, source, target?)` opens a view (`browser`, `terminal`, `files`, `audit`) in the panel; with no panel mounted, `SessionThread` shows it in a dialog.
|
|
339
|
+
Props: `SessionPanelProvider`: `sessionId` (runtime id), `projectId`, `projectSessionId`, `isSessionBusy`. `ActionPanel` takes none. `openSessionQuickView(view, source, target?)` opens a view (`browser`, `terminal`, `files`, `audit`, `reminders`, `desktop`) in the panel; with no panel mounted, `SessionThread` shows it in a dialog.
|
|
340
340
|
|
|
341
341
|
```tsx
|
|
342
342
|
import { ActionPanel, SessionPanelProvider } from '@kortix/ui/session-panel';
|
|
@@ -395,11 +395,13 @@ export function Sessions({ projectId }: { projectId: string }) {
|
|
|
395
395
|
}
|
|
396
396
|
```
|
|
397
397
|
|
|
398
|
-
Goals (behind the `goals` flag): `GoalStatusBadge` (a goal's status), `GoalHealthDot` (green running, orange needs attention, grey closed), `useGoalIssueText` (one sentence per health issue), `goalProgress` (met and total criteria), `goalOpenAsks` (asks waiting on a person), `goalNeedsYou` (an open ask or a health issue), `formatGoalTime` (the reminders time format), `goalHref` (the goal's page, or null), `useGoalClock` (the current time, re-read every 30 s).
|
|
398
|
+
Goals (behind the `goals` flag): `GoalStatusBadge` (a goal's status), `GoalHealthDot` (green running, orange needs attention, grey closed), `useGoalIssueText` (one sentence per health issue), `goalProgress` (met and total criteria), `goalOpenAsks` (asks waiting on a person), `goalNeedsYou` (an open ask or a health issue), `formatGoalTime` (the reminders time format), `goalHref` (the goal's page, or null), `useGoalClock` (the current time, re-read every 30 s), `goalNeedsAttention` (a health issue no person was asked about), `goalLastWake` (when the goal last woke), `goalAssignedTo` (the goal is for this person), `useGoalPerson` (who a goal is for, by name), `useStartGoal` (starts a goal: a session that writes GOAL.md).
|
|
399
399
|
|
|
400
400
|
Channels and memory (behind the `project_channels` flag): `SpaceView` (`projectId`, `target`: a `SpaceTarget`, `{ kind: 'channel', slug }` or `{ kind: 'dm', agentName }`; `beforeSend`; `renderFolder` draws a `SpaceFolder`, one space's Files tab; `renderApps`) is a channel or DM page with its threads, files, memory, apps, links and triggers. `ChannelGlyph` (`visibility`) is `#` or a lock. `agentLabel` (`name`) is an agent's display name. `MemoryView` (`projectId`, `layerKey`: `company` or a space id, `place`) is one memory layer's pages; `CompanyMemoryPage` (`projectId`) is the project's Company memory. `useMemoryPageHref` (`projectId`) returns `(layer: MemoryLayerRef, pageId) => href | null`: the page's link, null when the host serves no such page.
|
|
401
401
|
|
|
402
|
-
|
|
402
|
+
Spaces (Work in progress, behind the `project_channels` flag; a space is a channel declared in kortix.yaml `spaces:`): `SPACES_FLAG` is that flag key. `useSpacesEnabled` (`projectId`) is true only while it is on. `spaceScope` (`items`, `config`, `enabled`, `bindingOf`) returns `{ spaces, groups, spaceOf }` for a list page; off, it offers no spaces and every item is project-wide. `useActiveSpace` (`projectId`) is the viewer's active space and its setter; off, it reads `null`. `useSpaceFilter` (`projectId`) is a list page's space filter value and setter; off, it is always `ALL_SPACES`. `SpaceFilterTabs` (`spaces`, `groups`, `value`, `onValueChange`) is the filter, and renders nothing without spaces. `spaceFilterLabel` (`value`, `spaces`, `projectWide`) names a filter value for an empty state.
|
|
403
|
+
|
|
404
|
+
Names: `SpaceView`, `SpaceViewProps`, `SpaceTarget`, `SpaceFolder`, `ChannelGlyph`, `agentLabel`, `MemoryView`, `MemoryViewProps`, `CompanyMemoryPage`, `MemoryLayerRef`, `useMemoryPageHref`, `ProjectPageHeader`, `useCapabilityAccess`, `useProjectNavRows`, `SidebarToggle`, `activeCapabilityTab`, `agentHref`, `capabilityTabHref`, `channelsHref`, `remindersHref`, `reviewHref`, `CUSTOMIZE_SECTION_ACCESS`, `CUSTOMIZE_SECTION_GATE_ACTIONS`, `PROJECT_ACTIONS`, `isCustomizeSectionVisible`, `CustomizeSection`, `ProjectAction`, `usePermission`, `usePermissions`, `usePermissionsFor`, `PROJECT_PAGE_ACTIONS`, `useProjectCan`, `useProjectCans`, `useProjectPageCans`, `CanResult`, `formatFireTime`, `nearestFire`, `reminderTitle`, `scheduleLabel`, `ProjectHomeWallpaper`, `ProjectHomeWelcomeBody`, `InstantSessionShell`, `ProjectFilesView`, `ProjectHome`, `ProjectHomeSendOptions`, `useProjectHomeSend`, `UseProjectHomeSendOptions`, `SavedSessionSkeleton`, `SessionLayout`, `SessionWorkspace`, `SessionLayoutProps`, `SessionWorkspaceProps`, `ProjectSessionsView`, `ProjectSessionList`, `ProjectSidebar`, `ShareSessionModal`
|
|
403
405
|
|
|
404
406
|
## `@kortix/ui/access`
|
|
405
407
|
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const META_AGENT_NAME = "meta";
|
|
2
|
-
export declare const META_SANDBOX_SLUG = "meta";
|
|
3
|
-
/** Meta — the platform coordinator's DISPLAY name. The internal id stays `meta`
|
|
4
|
-
* (it keys the grant, the sandbox slug, and the project default agent); this is
|
|
5
|
-
* the brand name every UI renders. */
|
|
6
|
-
export declare const META_AGENT_DISPLAY_NAME = "Meta";
|
|
7
|
-
export declare function isMetaAgentName(name: string | null | undefined): boolean;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { AgentDraft } from '../sections/view/agent-editor.js';
|
|
2
|
-
import { type ProjectConfigSummary } from '@kortix/sdk';
|
|
3
|
-
import { type PolicySetOption } from './agent-policy-sets.js';
|
|
4
|
-
export declare function SkillsGrantPage({ projectId, config, editor, }: {
|
|
5
|
-
projectId: string;
|
|
6
|
-
config: ProjectConfigSummary;
|
|
7
|
-
editor: AgentDraft;
|
|
8
|
-
}): import("react").JSX.Element;
|
|
9
|
-
export declare function ConnectorsGrantPage({ projectId, editor, policySetOptions, }: {
|
|
10
|
-
projectId: string;
|
|
11
|
-
editor: AgentDraft;
|
|
12
|
-
/** Each connector's policy sets (`connectorPolicySetOptions`), read from the
|
|
13
|
-
* manifest the page already holds. */
|
|
14
|
-
policySetOptions?: Record<string, PolicySetOption[]>;
|
|
15
|
-
}): import("react").JSX.Element;
|
|
16
|
-
export declare function SecretsGrantPage({ projectId, editor }: {
|
|
17
|
-
projectId: string;
|
|
18
|
-
editor: AgentDraft;
|
|
19
|
-
}): import("react").JSX.Element;
|
|
20
|
-
/**
|
|
21
|
-
* Which Kortix Apps this agent may open — `agents.<name>.apps` in
|
|
22
|
-
* kortix.yaml, the same All · Pick · None machine as Connectors and the same
|
|
23
|
-
* cards.
|
|
24
|
-
*
|
|
25
|
-
* The grant decides admission for a `restricted` or `private` App only. A
|
|
26
|
-
* `project` App admits any agent that holds `project.app.read`, a `public` App
|
|
27
|
-
* admits everyone, and a `password` App admits no agent at all — so a row for
|
|
28
|
-
* one of those is still grantable (its mode can change) but is flagged as not
|
|
29
|
-
* currently load-bearing.
|
|
30
|
-
*
|
|
31
|
-
* Enforcement is the App gate (`agentAppAccessDecision`, apps/api/src/apps/
|
|
32
|
-
* access.ts).
|
|
33
|
-
*/
|
|
34
|
-
export declare function AppsGrantPage({ projectId, editor }: {
|
|
35
|
-
projectId: string;
|
|
36
|
-
editor: AgentDraft;
|
|
37
|
-
}): import("react").JSX.Element;
|