@kortix/ui 0.14.17 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/_vendor/kortix-shared.js +993 -74
- package/dist/_vendor/shared/artifact-annotations.d.ts +85 -607
- package/dist/_vendor/shared/artifact-comments.d.ts +53 -489
- package/dist/_vendor/shared/channel-descriptors.d.ts +20 -1
- package/dist/_vendor/shared/channel-message.d.ts +1 -1
- package/dist/_vendor/shared/index.d.ts +0 -1
- package/dist/_vendor/shared/my-kortix-agent.d.ts +1 -1
- package/dist/_vendor/shared/peer-message-prompt.d.ts +7 -1
- package/dist/_vendor/shared/project-glyphs.d.ts +103 -20
- package/dist/_vendor/shared/space-slug.d.ts +3 -4
- package/dist/_vendor/shared/utils/ambiguous-write.d.ts +3 -3
- package/dist/_vendor/shared/webhook-signing.d.ts +3 -1
- package/dist/access/access/access-dialog-share.d.ts +3 -28
- package/dist/access/access/access-dialog-share.js +3 -75
- package/dist/artifacts/artifact-frame.js +26 -2
- package/dist/artifacts/artifact-session.js +6 -2
- package/dist/artifacts/frame-policy.d.ts +2 -9
- package/dist/artifacts/frame-policy.js +2 -25
- package/dist/customize/agents/agent-instructions.d.ts +8 -0
- package/dist/customize/agents/agent-instructions.js +38 -12
- package/dist/customize/agents/agent-overview.d.ts +6 -3
- package/dist/customize/agents/agent-overview.js +8 -2
- package/dist/customize/agents/agent-page-chrome.d.ts +45 -27
- package/dist/customize/agents/agent-page-chrome.js +60 -37
- package/dist/customize/agents/agent-page.js +88 -99
- package/dist/customize/agents/agent-tabs.d.ts +15 -14
- package/dist/customize/agents/agent-tabs.js +19 -16
- package/dist/customize/agents/agents-page.js +9 -7
- package/dist/customize/agents/create-agent-modal.js +1 -1
- package/dist/customize/connectors/connector-filter.d.ts +2 -1
- package/dist/customize/connectors/connector-filter.js +2 -3
- package/dist/customize/connectors/connectors-page.js +15 -24
- package/dist/customize/connectors/detail/account-info.js +1 -1
- package/dist/customize/connectors/detail/connector-status.d.ts +3 -24
- package/dist/customize/connectors/detail/connector-status.js +2 -42
- package/dist/customize/connectors/detail/use-connector-detail.d.ts +2 -6
- package/dist/customize/connectors/detail/use-connector-detail.js +3 -13
- package/dist/customize/connectors/install/install.d.ts +2 -6
- package/dist/customize/connectors/install/install.js +2 -16
- package/dist/customize/connectors/provider-label.d.ts +4 -17
- package/dist/customize/connectors/provider-label.js +4 -37
- package/dist/customize/project-settings/project-admin-sections.d.ts +6 -2
- package/dist/customize/project-settings/project-admin-sections.js +5 -3
- package/dist/customize/project-settings/project-settings-sections.js +1 -1
- package/dist/customize/providers/provider-connect.d.ts +6 -15
- package/dist/customize/providers/provider-connect.js +5 -36
- package/dist/customize/sections/component/channel-access-panel.js +16 -0
- package/dist/customize/sections/component/channel-mocks.d.ts +5 -0
- package/dist/customize/sections/component/channel-mocks.js +14 -2
- package/dist/customize/sections/component/discord-channel-row.d.ts +6 -0
- package/dist/customize/sections/component/discord-channel-row.js +48 -0
- package/dist/customize/sections/connector-connection-form.d.ts +3 -7
- package/dist/customize/sections/connector-connection-form.js +2 -33
- package/dist/customize/sections/connector-oauth2-auto.d.ts +3 -33
- package/dist/customize/sections/connector-oauth2-auto.js +2 -64
- package/dist/customize/sections/gateway-access-tab.js +1 -1
- package/dist/customize/sections/gateway-view.d.ts +6 -5
- package/dist/customize/sections/gateway-view.js +31 -13
- package/dist/customize/sections/llm-provider/constants.d.ts +1 -2
- package/dist/customize/sections/llm-provider/constants.js +1 -2
- package/dist/customize/sections/llm-provider/utils.d.ts +1 -41
- package/dist/customize/sections/llm-provider/utils.js +1 -52
- package/dist/customize/sections/view/account-secret-resources-panel.js +4 -1
- package/dist/customize/sections/view/agent-editor-catalog.js +0 -5
- package/dist/customize/sections/view/channel-settings-patch.js +1 -1
- package/dist/customize/sections/view/channels-view.js +26 -9
- package/dist/customize/sections/view/connector-connections.d.ts +5 -85
- package/dist/customize/sections/view/connector-connections.js +5 -99
- package/dist/customize/sections/view/gateway/gateway-logs.d.ts +42 -3
- package/dist/customize/sections/view/gateway/gateway-logs.js +212 -15
- package/dist/customize/sections/view/gateway/gateway-overview.js +1 -1
- package/dist/customize/sections/view/gateway/gateway-routing.d.ts +3 -3
- package/dist/customize/sections/view/gateway/gateway-routing.js +81 -200
- package/dist/customize/sections/view/gateway/routing-parts.d.ts +101 -0
- package/dist/customize/sections/view/gateway/routing-parts.js +154 -0
- package/dist/customize/sections/view/gateway/routing-sentence-layout.d.ts +2 -0
- package/dist/customize/sections/view/gateway/routing-sentence-layout.js +82 -0
- package/dist/customize/sections/view/git-view.js +2 -2
- package/dist/customize/sections/view/review-center-connected.js +17 -15
- package/dist/customize/sections/view/review-view.d.ts +7 -0
- package/dist/customize/sections/view/review-view.js +11 -0
- package/dist/customize/sections/view/secret-delivery.js +2 -2
- package/dist/customize/sections/view/secrets-view.js +1 -1
- package/dist/customize/sections/view/subscription-usage-tab.d.ts +14 -0
- package/dist/customize/sections/view/subscription-usage-tab.js +122 -0
- package/dist/customize/sections/view/subscription-usage.d.ts +34 -0
- package/dist/customize/sections/view/subscription-usage.js +98 -0
- package/dist/customize/settings/rail.js +2 -2
- package/dist/customize/settings/tabs/experimental-tab.d.ts +2 -2
- package/dist/customize/settings/tabs/experimental-tab.js +5 -5
- package/dist/customize/settings/tabs/general-tab.js +70 -14
- package/dist/customize/shared/capability-library.js +19 -22
- package/dist/customize/shared/catalog/catalog-card.d.ts +9 -4
- package/dist/customize/shared/catalog/catalog-card.js +3 -3
- package/dist/customize/shared/channels-switch-dialog.d.ts +1 -1
- package/dist/customize/shared/channels-switch-dialog.js +1 -1
- package/dist/customize/shared/customize-tab-bar.d.ts +1 -2
- package/dist/customize/shared/customize-tab-bar.js +10 -11
- package/dist/customize/shared/feature-gate-screen.js +1 -1
- package/dist/customize/triggers/schedule/post-to-field.d.ts +1 -1
- package/dist/customize/triggers/schedule/post-to-field.js +2 -2
- package/dist/customize/triggers/schedule/trigger-composer-logic.d.ts +1 -1
- package/dist/files/drives/conflict-marks.d.ts +28 -0
- package/dist/files/drives/conflict-marks.js +39 -0
- package/dist/files/drives/session-drives-chip.js +15 -10
- package/dist/files/project/components/drive-create-dialog.js +3 -3
- package/dist/files/viewer/index.d.ts +1 -1
- package/dist/files/viewer/index.js +1 -1
- package/dist/i18n/en.d.ts +502 -207
- package/dist/i18n/en.js +608 -313
- package/dist/i18n/ui-catalog/remaining-ui-translation-keys.generated.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/account-hub/sections.d.ts +1 -1
- package/dist/internal/branding/branding-provider.d.ts +15 -4
- package/dist/internal/branding/branding-provider.js +12 -7
- package/dist/internal/capture/use-capture-area.d.ts +5 -1
- package/dist/internal/capture/use-capture-area.js +16 -9
- package/dist/internal/connector-logo/connector-logo.js +2 -0
- package/dist/internal/connector-logo/connector-mark-files.js +1 -0
- package/dist/internal/goals/goal-meta.d.ts +50 -3
- package/dist/internal/goals/goal-meta.js +144 -9
- package/dist/internal/hooks/channels/use-channels-installations.d.ts +7 -2
- package/dist/internal/hooks/channels/use-channels-installations.js +31 -1
- package/dist/internal/hooks/connectors/use-add-account.d.ts +3 -9
- package/dist/internal/hooks/connectors/use-add-account.js +3 -18
- package/dist/internal/hooks/connectors/use-connect-link.d.ts +3 -2
- package/dist/internal/hooks/connectors/use-connect-link.js +15 -24
- package/dist/internal/hooks/connectors/use-pipedream-connect-project.d.ts +3 -56
- package/dist/internal/hooks/connectors/use-pipedream-connect-project.js +3 -87
- package/dist/internal/hooks/projects/use-new-project-session.d.ts +9 -16
- package/dist/internal/hooks/projects/use-new-project-session.js +16 -100
- package/dist/internal/hooks/projects/use-project-can-run.d.ts +7 -0
- package/dist/internal/hooks/projects/use-project-can-run.js +12 -5
- package/dist/internal/hooks/projects/use-restart-project-session.d.ts +0 -1
- package/dist/internal/hooks/projects/use-restart-project-session.js +0 -1
- package/dist/internal/hooks/use-notification-center.d.ts +11 -8
- package/dist/internal/hooks/use-notification-center.js +22 -10
- package/dist/internal/icons/discord.d.ts +9 -0
- package/dist/internal/icons/discord.js +9 -0
- package/dist/internal/layout/connect-mcp-modal.js +1 -1
- package/dist/internal/layout/project-capability-nav.js +6 -2
- package/dist/internal/layout/project-page-header.d.ts +3 -1
- package/dist/internal/layout/project-page-header.js +2 -2
- package/dist/internal/lib/account-secret-access.d.ts +1 -41
- package/dist/internal/lib/account-secret-access.js +3 -46
- package/dist/internal/lib/browser-error-noise.d.ts +1 -1
- package/dist/internal/lib/browser-error-noise.js +1 -1
- package/dist/internal/lib/browser-noise/rules/expected-states.d.ts +2 -15
- package/dist/internal/lib/browser-noise/rules/expected-states.js +6 -56
- package/dist/internal/lib/capability-tab-routes.d.ts +3 -3
- package/dist/internal/lib/capability-tab-routes.js +11 -3
- package/dist/internal/lib/error-handler.js +1 -1
- package/dist/internal/lib/llm-providers.d.ts +4 -110
- package/dist/internal/lib/llm-providers.js +5 -102
- package/dist/internal/lib/navigation/message-link.d.ts +32 -0
- package/dist/internal/lib/navigation/message-link.js +51 -0
- package/dist/internal/lib/navigation/session-href.d.ts +11 -0
- package/dist/internal/lib/navigation/session-href.js +20 -0
- package/dist/internal/lib/navigation/session-spawn-urls.d.ts +17 -0
- package/dist/internal/lib/navigation/session-spawn-urls.js +26 -0
- package/dist/internal/lib/space-scope.d.ts +3 -3
- package/dist/internal/lib/space-scope.js +3 -3
- package/dist/internal/lib/use-project-feature-flags.js +11 -9
- package/dist/internal/lib/web-notifications.d.ts +1 -1
- package/dist/internal/lib/web-notifications.js +0 -3
- package/dist/internal/notifications/notification-bell.js +1 -3
- package/dist/internal/notifications/notification-rows.d.ts +2 -2
- package/dist/internal/notifications/notification-rows.js +2 -3
- package/dist/internal/session-types/index.d.ts +5 -7
- package/dist/internal/session-types/index.js +5 -7
- package/dist/internal/stores/active-space-store.d.ts +1 -1
- package/dist/internal/stores/active-space-store.js +1 -1
- package/dist/internal/stores/kortix-computer-store.d.ts +15 -0
- package/dist/internal/stores/kortix-computer-store.js +12 -0
- package/dist/lib/routes.d.ts +17 -7
- package/dist/lib/routes.js +18 -2
- package/dist/markdown/app-link-icons.d.ts +7 -0
- package/dist/markdown/app-link-icons.js +20 -0
- package/dist/markdown/app-links.d.ts +9 -0
- package/dist/markdown/app-links.js +112 -0
- package/dist/markdown/doc-editor/doc-attrs.d.ts +28 -0
- package/dist/markdown/doc-editor/doc-attrs.js +156 -0
- package/dist/markdown/doc-editor/doc-embed.d.ts +6 -0
- package/dist/markdown/doc-editor/doc-embed.js +26 -8
- package/dist/markdown/doc-editor/doc-extensions.d.ts +10 -0
- package/dist/markdown/doc-editor/doc-extensions.js +55 -8
- package/dist/markdown/doc-editor/doc-fidelity.d.ts +72 -0
- package/dist/markdown/doc-editor/doc-fidelity.js +135 -0
- package/dist/markdown/doc-editor/doc-node-view.d.ts +9 -0
- package/dist/markdown/doc-editor/doc-node-view.js +29 -0
- package/dist/markdown/doc-editor/markdown.d.ts +20 -0
- package/dist/markdown/doc-editor/markdown.js +455 -18
- package/dist/markdown/markdown-frontmatter.d.ts +0 -3
- package/dist/markdown/markdown-frontmatter.js +45 -5
- package/dist/markdown/unified-markdown.d.ts +1 -1
- package/dist/markdown/unified-markdown.js +129 -10
- package/dist/primitives/emoji-picker.js +16 -100
- package/dist/primitives/emoji-tint.js +12 -12
- package/dist/primitives/entity-avatar.js +14 -9
- package/dist/primitives/glyph-face.d.ts +19 -12
- package/dist/primitives/glyph-face.js +59 -20
- package/dist/primitives/glyph-paths-source.d.ts +7 -0
- package/dist/primitives/glyph-paths-source.js +14 -6
- package/dist/primitives/glyph-paths.generated.d.ts +1 -1
- package/dist/primitives/glyph-paths.generated.js +947 -204
- package/dist/primitives/glyph-picker.d.ts +6 -10
- package/dist/primitives/glyph-picker.js +147 -98
- package/dist/primitives/glyph-registry.js +1604 -1
- package/dist/primitives/glyph-tint.d.ts +28 -3
- package/dist/primitives/glyph-tint.js +41 -83
- package/dist/primitives/kortix-glyphs.d.ts +32 -0
- package/dist/primitives/kortix-glyphs.js +157 -0
- package/dist/primitives/project-icon-picker.d.ts +8 -1
- package/dist/primitives/project-icon-picker.js +13 -5
- package/dist/primitives/user-avatar.d.ts +8 -1
- package/dist/primitives/user-avatar.js +2 -2
- package/dist/providers/ui-provider.d.ts +1 -8
- package/dist/session/actions/project-session-list-helpers.d.ts +4 -14
- package/dist/session/actions/project-session-list-helpers.js +6 -17
- package/dist/session/actions/session-label.d.ts +5 -9
- package/dist/session/actions/session-label.js +6 -10
- package/dist/session/agents/agent-model.js +4 -0
- package/dist/session/agents/agent-state-mark.d.ts +12 -7
- package/dist/session/agents/agent-state-mark.js +37 -15
- package/dist/session/agents/agent-strip.js +8 -2
- package/dist/session/agents/agent-surface.d.ts +81 -0
- package/dist/session/agents/agent-surface.js +97 -0
- package/dist/session/agents/held-messages.js +7 -4
- package/dist/session/agents/legacy-subagent-chat.js +1 -1
- package/dist/session/agents/session-peek.js +24 -12
- package/dist/session/agents/steer-session.d.ts +2 -0
- package/dist/session/agents/steer-session.js +3 -2
- package/dist/session/agents/subagent-dialog-content.d.ts +30 -1
- package/dist/session/agents/subagent-dialog-content.js +147 -33
- package/dist/session/agents/subagent-view.d.ts +15 -5
- package/dist/session/agents/subagent-view.js +28 -6
- package/dist/session/agents/tasks-panel.js +2 -12
- package/dist/session/agents/workflow-run-controls.d.ts +3 -1
- package/dist/session/agents/workflow-run-controls.js +12 -7
- package/dist/session/composer/ComposerCard.d.ts +7 -1
- package/dist/session/composer/ComposerCard.js +74 -9
- package/dist/session/composer/agent-selector.d.ts +16 -0
- package/dist/session/composer/agent-selector.js +19 -11
- package/dist/session/composer/chat-input/chat-input-control.d.ts +64 -0
- package/dist/session/composer/chat-input/chat-input-control.js +578 -0
- package/dist/session/composer/chat-input/chat-input-overrides.d.ts +76 -0
- package/dist/session/composer/chat-input/chat-input-overrides.js +40 -0
- package/dist/session/composer/chat-input/chat-input-panes.d.ts +56 -0
- package/dist/session/composer/chat-input/chat-input-panes.js +148 -0
- package/dist/session/composer/chat-input/chat-input-summary.d.ts +67 -0
- package/dist/session/composer/chat-input/chat-input-summary.js +67 -0
- package/dist/session/composer/chat-queue-lines.d.ts +20 -0
- package/dist/session/composer/chat-queue-lines.js +20 -0
- package/dist/session/composer/composer-chat-input.d.ts +8 -1
- package/dist/session/composer/composer-chat-input.js +12 -4
- package/dist/session/composer/composer-focus-context.d.ts +7 -0
- package/dist/session/composer/composer-focus-context.js +9 -0
- package/dist/session/composer/composer-toolbar.d.ts +3 -1
- package/dist/session/composer/composer-toolbar.js +3 -3
- package/dist/session/composer/composer-underbar.d.ts +10 -1
- package/dist/session/composer/composer-underbar.js +10 -2
- package/dist/session/composer/composer.d.ts +12 -0
- package/dist/session/composer/composer.js +55 -1
- package/dist/session/composer/editor/composer-editor.d.ts +10 -2
- package/dist/session/composer/editor/composer-editor.js +22 -6
- package/dist/session/composer/editor/first-visual-line.d.ts +2 -0
- package/dist/session/composer/editor/first-visual-line.js +9 -0
- package/dist/session/composer/editor/mention-node.js +2 -0
- package/dist/session/composer/editor/serialize.js +9 -1
- package/dist/session/composer/hooks/use-file-search.d.ts +1 -1
- package/dist/session/composer/hooks/use-file-search.js +1 -1
- package/dist/session/composer/menus/mention-controller.d.ts +3 -11
- package/dist/session/composer/menus/mention-controller.js +56 -16
- package/dist/session/composer/menus/mention-menu.d.ts +7 -2
- package/dist/session/composer/menus/mention-menu.js +17 -9
- package/dist/session/composer/menus/menu-items.d.ts +9 -0
- package/dist/session/composer/menus/space-mentions.d.ts +48 -0
- package/dist/session/composer/menus/space-mentions.js +83 -0
- package/dist/session/composer/prompt-history.d.ts +9 -0
- package/dist/session/composer/prompt-history.js +45 -0
- package/dist/session/composer/queue-projection.d.ts +2 -0
- package/dist/session/composer/queue-projection.js +1 -0
- package/dist/session/composer/queued-prompt-list.js +53 -4
- package/dist/session/composer/reasoning-effort-selector.d.ts +20 -0
- package/dist/session/composer/reasoning-effort-selector.js +3 -3
- package/dist/session/composer/types.d.ts +2 -1
- package/dist/session/header/session-site-header.js +7 -3
- package/dist/session/header/subagent-hover-card.d.ts +7 -4
- package/dist/session/header/subagent-hover-card.js +62 -11
- package/dist/session/list/session-status-mark.d.ts +42 -0
- package/dist/{workspace/sidebar → session/list}/session-status-mark.js +37 -2
- package/dist/session/models/model-selector.d.ts +7 -2
- package/dist/session/models/model-selector.js +39 -31
- package/dist/session/overrides/provider-secret-pool-editor.d.ts +11 -0
- package/dist/session/overrides/provider-secret-pool-editor.js +17 -0
- package/dist/session/overrides/session-overrides-control.d.ts +5 -0
- package/dist/session/overrides/session-overrides-toolbar.js +147 -7
- package/dist/session/panel/model-switch-event.d.ts +8 -0
- package/dist/session/panel/model-switch-event.js +19 -0
- package/dist/session/panel/session-audit-panel.js +3 -2
- package/dist/session/panel/session-desktop.js +5 -1
- package/dist/session/panel/session-panel-provider.js +1 -1
- package/dist/session/panel/shared/use-panel-handoffs.d.ts +2 -2
- package/dist/session/panel/shared/use-panel-handoffs.js +21 -2
- package/dist/session/participants/session-participants.d.ts +7 -5
- package/dist/session/participants/session-participants.js +11 -7
- package/dist/session/prompts/ask-deck.d.ts +21 -0
- package/dist/session/prompts/ask-deck.js +253 -0
- package/dist/session/prompts/session-permission-prompt.d.ts +7 -1
- package/dist/session/prompts/session-permission-prompt.js +3 -3
- package/dist/session/status/provisioning-failure.d.ts +4 -5
- package/dist/session/status/provisioning-failure.js +4 -5
- package/dist/session/status/session-load-state.d.ts +0 -1
- package/dist/session/status/session-load-state.js +2 -4
- package/dist/session/thread/message-parsing.d.ts +0 -1
- package/dist/session/thread/message-parsing.js +0 -1
- package/dist/session/thread/optimistic-turn.js +11 -2
- package/dist/session/thread/session-chat.d.ts +3 -1
- package/dist/session/thread/session-chat.js +498 -301
- package/dist/session/thread/session-context-metrics.d.ts +0 -1
- package/dist/session/thread/session-context-metrics.js +1 -1
- package/dist/session/thread/session-context-sub-sessions.js +3 -1
- package/dist/session/thread/show-work.d.ts +38 -0
- package/dist/session/thread/show-work.js +115 -0
- package/dist/session/thread/thread-boot-rows.d.ts +2 -1
- package/dist/session/thread/thread-boot-rows.js +7 -3
- package/dist/session/thread/transcript-rows.d.ts +36 -0
- package/dist/session/thread/transcript.d.ts +55 -2
- package/dist/session/thread/transcript.js +264 -33
- package/dist/session/thread/typing-indicator.d.ts +21 -0
- package/dist/session/thread/typing-indicator.js +46 -0
- package/dist/session/tool/shared/infrastructure-contexts.d.ts +12 -0
- package/dist/session/tool/shared/infrastructure-contexts.js +6 -0
- package/dist/session/tool/tool-part-renderer.d.ts +2 -0
- package/dist/session/tool/tool-part-renderer.js +16 -2
- package/dist/session/tool/tools/channel-send-card.js +1 -0
- package/dist/session/tool/tools/kortix-action-tool.js +8 -1
- package/dist/session/tool/tools/multi-agent-tool-bodies.d.ts +19 -0
- package/dist/session/tool/tools/multi-agent-tool-bodies.js +34 -13
- package/dist/session/tool/tools/session-spawn-urls.d.ts +1 -16
- package/dist/session/tool/tools/session-spawn-urls.js +4 -26
- package/dist/session/tool/tools/task-tool.d.ts +5 -18
- package/dist/session/tool/tools/task-tool.js +47 -86
- package/dist/session/tool/tools/workflow-progress.d.ts +14 -18
- package/dist/session/tool/tools/workflow-progress.js +24 -179
- package/dist/session/tool/tools/workflow-result-text.d.ts +15 -0
- package/dist/session/tool/tools/workflow-result-text.js +34 -0
- package/dist/session/tool/tools/workflow-run-card.d.ts +35 -0
- package/dist/session/tool/tools/workflow-run-card.js +157 -0
- package/dist/session/tool/tools/workflow-tool.js +45 -58
- package/dist/session/turn/activity-burst.d.ts +2 -2
- package/dist/session/turn/activity-burst.js +11 -5
- package/dist/session/turn/answered-question-step.d.ts +29 -0
- package/dist/session/turn/answered-question-step.js +48 -3
- package/dist/session/turn/channel-brand.js +4 -0
- package/dist/session/turn/message-author.d.ts +13 -8
- package/dist/session/turn/message-author.js +34 -16
- package/dist/session/turn/notice-batch-group.d.ts +4 -4
- package/dist/session/turn/notice-batch-group.js +5 -8
- package/dist/session/turn/peer-message-row.d.ts +15 -0
- package/dist/session/turn/peer-message-row.js +39 -30
- package/dist/session/turn/subagent-notice-row.d.ts +16 -1
- package/dist/session/turn/subagent-notice-row.js +47 -35
- package/dist/session/turn/throttled-markdown.js +4 -1
- package/dist/session/turn/turn-work-accordion.d.ts +10 -3
- package/dist/session/turn/turn-work-accordion.js +18 -11
- package/dist/session/turn/user-message.js +17 -43
- package/dist/session/turn/voice-turn.d.ts +22 -0
- package/dist/session/turn/voice-turn.js +32 -0
- package/dist/session/voice/call-audio.d.ts +32 -0
- package/dist/session/voice/call-audio.js +146 -0
- package/dist/session/voice/call-ring.d.ts +10 -0
- package/dist/session/voice/call-ring.js +52 -0
- package/dist/session/voice/screen-share.d.ts +24 -0
- package/dist/session/voice/screen-share.js +75 -0
- package/dist/session/voice/use-voice-call.d.ts +15 -0
- package/dist/session/voice/use-voice-call.js +217 -0
- package/dist/session/voice/voice-call-card.d.ts +6 -0
- package/dist/session/voice/voice-call-card.js +113 -0
- package/dist/session/voice/voice-call-state.d.ts +99 -0
- package/dist/session/voice/voice-call-state.js +104 -0
- package/dist/session/voice/voice-call-store.d.ts +22 -0
- package/dist/session/voice/voice-call-store.js +10 -0
- package/dist/session/voice/voice-call-url.d.ts +24 -0
- package/dist/session/voice/voice-call-url.js +33 -0
- package/dist/session/voice/voice-call.d.ts +11 -0
- package/dist/session/voice/voice-call.js +51 -0
- package/dist/styles/components.css +33 -0
- package/dist/styles/theme.css +26 -0
- package/dist/styles.css +1 -1
- package/dist/workspace/admin/project-admin-dashboard.d.ts +1 -1
- package/dist/workspace/admin/project-admin-dashboard.js +21 -13
- package/dist/workspace/index.d.ts +3 -2
- package/dist/workspace/index.js +2 -1
- package/dist/workspace/layout/project-home.js +13 -14
- package/dist/workspace/layout/use-project-home-send.d.ts +2 -0
- package/dist/workspace/layout/use-project-home-send.js +5 -3
- package/dist/workspace/memory/company-memory-page.d.ts +1 -1
- package/dist/workspace/memory/company-memory-page.js +1 -1
- package/dist/workspace/new/use-creatable-accounts.js +13 -4
- package/dist/workspace/projects/modal/project-icon-field.js +49 -34
- package/dist/workspace/review/review-center.d.ts +4 -1
- package/dist/workspace/review/review-center.js +6 -3
- package/dist/workspace/sessions/project-sessions-helpers.js +1 -1
- package/dist/workspace/sessions/project-sessions-view.js +1 -1
- package/dist/workspace/sessions/session-row.js +6 -4
- package/dist/workspace/sessions/sessions-toolbar.d.ts +1 -1
- package/dist/workspace/sessions/sessions-toolbar.js +4 -4
- package/dist/workspace/sidebar/footer/project-manifest-issues-alert.d.ts +1 -1
- package/dist/workspace/sidebar/footer/project-manifest-issues-alert.js +4 -3
- package/dist/workspace/sidebar/footer/project-memory-nav.d.ts +1 -1
- package/dist/workspace/sidebar/footer/project-memory-nav.js +1 -1
- package/dist/workspace/sidebar/project-nav-items.js +2 -5
- package/dist/workspace/sidebar/project-session-list.d.ts +7 -1
- package/dist/workspace/sidebar/project-session-list.js +64 -24
- package/dist/workspace/sidebar/project-sidebar.js +10 -7
- package/dist/workspace/sidebar/project-spaces-nav.d.ts +7 -3
- package/dist/workspace/sidebar/project-spaces-nav.js +77 -46
- package/dist/workspace/sidebar/session-brief-hover-card.d.ts +4 -2
- package/dist/workspace/sidebar/session-brief-hover-card.js +47 -28
- package/dist/workspace/sidebar/session-filter-menu.js +1 -0
- package/dist/workspace/sidebar/session-group-sections.js +12 -4
- package/dist/workspace/sidebar/session-grouping.d.ts +4 -0
- package/dist/workspace/sidebar/session-grouping.js +2 -0
- package/dist/workspace/sidebar/session-source-icons.js +2 -0
- package/dist/workspace/sidebar/sidebar-more-group.d.ts +13 -0
- package/dist/workspace/sidebar/sidebar-more-group.js +27 -0
- package/dist/workspace/space/space-blocks.d.ts +3 -1
- package/dist/workspace/space/space-blocks.js +4 -7
- package/dist/workspace/space/space-page.d.ts +4 -6
- package/dist/workspace/space/space-page.js +12 -26
- package/dist/workspace/space/space-tab-panels.d.ts +14 -1
- package/dist/workspace/space/space-tab-panels.js +12 -21
- package/dist/workspace/space/space-templates.d.ts +4 -5
- package/dist/workspace/space/space-templates.js +2 -7
- package/dist/workspace/space/use-space-filter.d.ts +1 -1
- package/dist/workspace/space/use-space-filter.js +1 -1
- package/dist/workspace/spaces/channels-onboarding.d.ts +2 -2
- package/dist/workspace/spaces/channels-onboarding.js +4 -3
- package/dist/workspace/spaces/create-channel-dialog.js +4 -2
- package/dist/workspace/spaces/principal-card.d.ts +71 -0
- package/dist/workspace/spaces/principal-card.js +246 -0
- package/dist/workspace/spaces/space-auto-open.d.ts +8 -0
- package/dist/workspace/spaces/space-auto-open.js +18 -0
- package/dist/workspace/spaces/space-avatar.d.ts +44 -0
- package/dist/workspace/spaces/space-avatar.js +41 -0
- package/dist/workspace/spaces/space-details-panel.d.ts +26 -0
- package/dist/workspace/spaces/space-details-panel.js +119 -0
- package/dist/workspace/spaces/space-identity.d.ts +49 -0
- package/dist/workspace/spaces/space-identity.js +104 -0
- package/dist/workspace/spaces/space-members.js +1 -1
- package/dist/workspace/spaces/space-mention-source.d.ts +12 -0
- package/dist/workspace/spaces/space-mention-source.js +78 -0
- package/dist/workspace/spaces/space-people.d.ts +29 -0
- package/dist/workspace/spaces/space-people.js +87 -0
- package/dist/workspace/spaces/space-roster.d.ts +3 -2
- package/dist/workspace/spaces/space-roster.js +7 -4
- package/dist/workspace/spaces/space-tab-list.d.ts +37 -0
- package/dist/workspace/spaces/space-tab-list.js +82 -0
- package/dist/workspace/spaces/space-tabs.d.ts +74 -0
- package/dist/workspace/spaces/space-tabs.js +199 -0
- package/dist/workspace/spaces/space-threads-tab.js +1 -1
- package/dist/workspace/spaces/space-timeline-view.js +126 -17
- package/dist/workspace/spaces/space-timeline.d.ts +44 -9
- package/dist/workspace/spaces/space-timeline.js +120 -12
- package/dist/workspace/spaces/space-view.d.ts +19 -12
- package/dist/workspace/spaces/space-view.js +201 -67
- package/dist/workspace/spaces/use-personal-space-name.d.ts +2 -0
- package/dist/workspace/spaces/use-personal-space-name.js +10 -0
- package/package.json +17 -13
- package/skills/kortix-ui/SKILL.md +3 -3
- package/skills/kortix-ui/references/custom-dashboard.md +3 -4
- package/skills/kortix-ui/references/modules.md +4 -4
- package/dist/_vendor/shared/room-prompt.d.ts +0 -66
- package/dist/customize/agents/agent-section-rail.d.ts +0 -21
- package/dist/customize/agents/agent-section-rail.js +0 -23
- package/dist/internal/hooks/projects/use-warm-project-session.d.ts +0 -270
- package/dist/internal/hooks/projects/use-warm-project-session.js +0 -362
- package/dist/internal/hooks/projects/warm-session-seed.d.ts +0 -66
- package/dist/internal/hooks/projects/warm-session-seed.js +0 -80
- package/dist/internal/hooks/projects/warm-session-taken-registry.d.ts +0 -61
- package/dist/internal/hooks/projects/warm-session-taken-registry.js +0 -141
- package/dist/workspace/sidebar/footer/project-rooms-nav.d.ts +0 -9
- package/dist/workspace/sidebar/footer/project-rooms-nav.js +0 -32
- package/dist/workspace/sidebar/session-status-mark.d.ts +0 -19
- package/dist/workspace/space/space-room.d.ts +0 -20
- package/dist/workspace/space/space-room.js +0 -27
- /package/dist/{workspace/sidebar → session/list}/session-list-chrome.d.ts +0 -0
- /package/dist/{workspace/sidebar → session/list}/session-list-chrome.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { parseDocument,
|
|
1
|
+
import { parseDocument, isScalar, Scalar, isMap, isSeq } from 'yaml';
|
|
2
2
|
import 'util';
|
|
3
3
|
|
|
4
4
|
// ../../node_modules/.pnpm/croner@9.1.0/node_modules/croner/dist/croner.js
|
|
@@ -35,7 +35,7 @@ function k(n, t) {
|
|
|
35
35
|
h.minitz = h;
|
|
36
36
|
|
|
37
37
|
// ../shared/src/channel-descriptors.ts
|
|
38
|
-
var CHANNEL_PLATFORM_IDS = ["slack", "teams", "email", "telegram"];
|
|
38
|
+
var CHANNEL_PLATFORM_IDS = ["slack", "teams", "email", "telegram", "discord"];
|
|
39
39
|
var CHANNELS = {
|
|
40
40
|
slack: {
|
|
41
41
|
label: "Slack",
|
|
@@ -73,12 +73,32 @@ var CHANNELS = {
|
|
|
73
73
|
idsPlaceholder: "123456789, 987654321",
|
|
74
74
|
idInputMode: "numeric"
|
|
75
75
|
}
|
|
76
|
+
},
|
|
77
|
+
discord: {
|
|
78
|
+
label: "Discord",
|
|
79
|
+
envelope: "Discord",
|
|
80
|
+
catalog: {
|
|
81
|
+
domain: "discord.com",
|
|
82
|
+
description: "Message the agent in Discord: mentions, DMs and threads, through the Kortix Discord app."
|
|
83
|
+
},
|
|
84
|
+
messageChars: 2e3,
|
|
85
|
+
// A message holds 5 rows of components: one option a row, then one row for ‹ Back, More › and Done.
|
|
86
|
+
buttons: { max: 4, dataBytes: 100 },
|
|
87
|
+
// A user id is a snowflake: 17 to 20 digits.
|
|
88
|
+
access: {
|
|
89
|
+
userId: /^\d{17,20}$/,
|
|
90
|
+
idPlaceholder: "123456789012345678",
|
|
91
|
+
idsPlaceholder: "123456789012345678, 876543210987654321",
|
|
92
|
+
idInputMode: "numeric"
|
|
93
|
+
}
|
|
76
94
|
}
|
|
77
95
|
};
|
|
78
96
|
var channelConnectorSlug = (platform) => `kortix_${platform}`;
|
|
79
97
|
var isChannelPlatform = (platform) => CHANNEL_PLATFORM_IDS.includes(platform);
|
|
80
98
|
|
|
81
99
|
// ../manifest-schema/src/constants.ts
|
|
100
|
+
var EVERY_GRANT = "*";
|
|
101
|
+
var EVERY_GRANT_KEYS = ["tools", "skills", "subagents", "commands", "extensions", "connectors", "secrets", "apps", "kortix_permissions"];
|
|
82
102
|
var CHANNEL_PLATFORMS = CHANNEL_PLATFORM_IDS;
|
|
83
103
|
({
|
|
84
104
|
...Object.fromEntries(CHANNEL_PLATFORMS.map((platform) => [channelConnectorSlug(platform), "channel"]))});
|
|
@@ -151,6 +171,11 @@ function renameAgentKey(doc, from, to, map = (v) => v) {
|
|
|
151
171
|
}
|
|
152
172
|
return paths;
|
|
153
173
|
}
|
|
174
|
+
function everyScalar() {
|
|
175
|
+
const node = new Scalar("*");
|
|
176
|
+
node.type = Scalar.QUOTE_DOUBLE;
|
|
177
|
+
return node;
|
|
178
|
+
}
|
|
154
179
|
var DEPRECATIONS = [
|
|
155
180
|
{
|
|
156
181
|
id: "drop-kortix-version",
|
|
@@ -165,10 +190,10 @@ var DEPRECATIONS = [
|
|
|
165
190
|
{
|
|
166
191
|
id: "tools-explicit",
|
|
167
192
|
since: "2026-10-27",
|
|
168
|
-
summary:
|
|
193
|
+
summary: 'an agent without `tools` gets every tool. Write `tools: "*"` (same meaning), or list the tools it needs.',
|
|
169
194
|
apply: (doc) => agentBlocks(doc).flatMap(([name, block]) => {
|
|
170
195
|
if (block.has("tools")) return [];
|
|
171
|
-
block.set("tools",
|
|
196
|
+
block.set("tools", everyScalar());
|
|
172
197
|
return [`agents.${name}.tools`];
|
|
173
198
|
})
|
|
174
199
|
},
|
|
@@ -309,13 +334,30 @@ var DEPRECATIONS = [
|
|
|
309
334
|
}
|
|
310
335
|
}
|
|
311
336
|
];
|
|
337
|
+
var CANONICAL_REWRITES = [
|
|
338
|
+
{
|
|
339
|
+
id: "every-grant-star",
|
|
340
|
+
since: "2026-11-05",
|
|
341
|
+
summary: 'every name is written `"*"`; `all` means the same.',
|
|
342
|
+
apply: (doc) => agentBlocks(doc).flatMap(
|
|
343
|
+
([name, block]) => EVERY_GRANT_KEYS.flatMap((key) => {
|
|
344
|
+
const value = block.get(key, true);
|
|
345
|
+
if (!isScalar(value) || typeof value.value !== "string" || value.value.trim().toLowerCase() !== "all") return [];
|
|
346
|
+
value.value = EVERY_GRANT;
|
|
347
|
+
value.type = Scalar.QUOTE_DOUBLE;
|
|
348
|
+
return [`agents.${name}.${key}`];
|
|
349
|
+
})
|
|
350
|
+
)
|
|
351
|
+
}
|
|
352
|
+
];
|
|
312
353
|
function applyDeprecations(doc) {
|
|
313
354
|
return DEPRECATIONS.flatMap((deprecation) => deprecation.apply(doc).map((path) => ({ id: deprecation.id, path })));
|
|
314
355
|
}
|
|
315
|
-
function fixManifestText(text) {
|
|
356
|
+
function fixManifestText(text, options = {}) {
|
|
316
357
|
const doc = parseDocument(text);
|
|
317
358
|
if (doc.errors.length > 0) return { text, fixed: [] };
|
|
318
|
-
const
|
|
359
|
+
const rewrites = options.canonical ? CANONICAL_REWRITES : [];
|
|
360
|
+
const fixed = [...applyDeprecations(doc), ...rewrites.flatMap((rewrite) => rewrite.apply(doc).map((path) => ({ id: rewrite.id, path })))];
|
|
319
361
|
if (fixed.length === 0) return { text, fixed };
|
|
320
362
|
const rendered = doc.toString({ lineWidth: 0, flowCollectionPadding: false });
|
|
321
363
|
return { text: keepUnchangedLines(text, rendered), fixed };
|
|
@@ -350,9 +392,38 @@ function keepUnchangedLines(original, rendered) {
|
|
|
350
392
|
};
|
|
351
393
|
return read(merged) !== null && read(merged) === read(rendered) ? merged : rendered;
|
|
352
394
|
}
|
|
395
|
+
var ManifestSyntaxError = class extends Error {
|
|
396
|
+
constructor(message, line, column) {
|
|
397
|
+
super(message);
|
|
398
|
+
this.line = line;
|
|
399
|
+
this.column = column;
|
|
400
|
+
this.name = "ManifestSyntaxError";
|
|
401
|
+
}
|
|
402
|
+
line;
|
|
403
|
+
column;
|
|
404
|
+
code = "manifest_invalid";
|
|
405
|
+
};
|
|
406
|
+
function yamlErrorSummary(message) {
|
|
407
|
+
const lines = message.split("\n");
|
|
408
|
+
const summary = (lines[0] ?? message).trim().replace(/:$/, "");
|
|
409
|
+
return summary + (bareStarHint(lines) ?? "");
|
|
410
|
+
}
|
|
411
|
+
function bareStarHint(lines) {
|
|
412
|
+
if (!lines[0]?.startsWith("Alias cannot be an empty string")) return null;
|
|
413
|
+
const caret = lines.findIndex((line) => /^\s*\^+\s*$/.test(line));
|
|
414
|
+
const source = caret > 0 ? lines[caret - 1] : void 0;
|
|
415
|
+
const column = caret > 0 ? lines[caret].indexOf("^") : -1;
|
|
416
|
+
if (source === void 0 || source[column] !== "*") return null;
|
|
417
|
+
const fixed = `${source.slice(0, column)}"*"${source.slice(column + 1)}`.replace(/[\u0000-\u001f\u007f-\u009f]/g, "").trim();
|
|
418
|
+
return `: YAML reads a bare \`*\` as an alias. Quote it: \`${fixed.length > 120 ? `${fixed.slice(0, 119)}\u2026` : fixed}\``;
|
|
419
|
+
}
|
|
353
420
|
function parseManifestText(raw) {
|
|
354
421
|
const doc = parseDocument(raw);
|
|
355
|
-
|
|
422
|
+
const error = doc.errors[0];
|
|
423
|
+
if (error) {
|
|
424
|
+
const pos = error.linePos?.[0];
|
|
425
|
+
throw new ManifestSyntaxError(yamlErrorSummary(error.message), pos?.line, pos?.col);
|
|
426
|
+
}
|
|
356
427
|
applyDeprecations(doc);
|
|
357
428
|
const value = doc.toJS();
|
|
358
429
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return {};
|
|
@@ -1122,6 +1193,153 @@ function formatFileSize(bytes) {
|
|
|
1122
1193
|
|
|
1123
1194
|
// ../shared/src/project-glyphs.ts
|
|
1124
1195
|
var PROJECT_GLYPH_GROUPS = [
|
|
1196
|
+
{
|
|
1197
|
+
label: "Kortix",
|
|
1198
|
+
names: ["KortixMark", "KortixPixel", "KortixDither"]
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
// An Enterprise account's own icon (account branding). The picker shows
|
|
1202
|
+
// this group only when the account has a branding icon or logo.
|
|
1203
|
+
label: "Brand",
|
|
1204
|
+
names: ["BrandIcon"]
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
label: "Work",
|
|
1208
|
+
names: [
|
|
1209
|
+
"Calendar",
|
|
1210
|
+
"Clock",
|
|
1211
|
+
"Alarm",
|
|
1212
|
+
"Hourglass",
|
|
1213
|
+
"Envelope",
|
|
1214
|
+
"ChatCircle",
|
|
1215
|
+
"Phone",
|
|
1216
|
+
"Megaphone",
|
|
1217
|
+
"PaperPlaneTilt",
|
|
1218
|
+
"PresentationChart",
|
|
1219
|
+
"Kanban",
|
|
1220
|
+
"ListChecks",
|
|
1221
|
+
"Notepad",
|
|
1222
|
+
"Strategy",
|
|
1223
|
+
"Stamp",
|
|
1224
|
+
"Signature",
|
|
1225
|
+
"CalendarCheck",
|
|
1226
|
+
"CalendarBlank",
|
|
1227
|
+
"CalendarDots",
|
|
1228
|
+
"ClockCountdown",
|
|
1229
|
+
"Timer",
|
|
1230
|
+
"ClipboardText",
|
|
1231
|
+
"Checks",
|
|
1232
|
+
"Desk",
|
|
1233
|
+
"ChatText",
|
|
1234
|
+
"OfficeChair",
|
|
1235
|
+
"ArchiveBox",
|
|
1236
|
+
"TrayArrowDown",
|
|
1237
|
+
"AddressBookTabs",
|
|
1238
|
+
"IdentificationBadge"
|
|
1239
|
+
]
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
label: "Data",
|
|
1243
|
+
names: [
|
|
1244
|
+
"ChartLineUp",
|
|
1245
|
+
"ChartDonut",
|
|
1246
|
+
"ChartScatter",
|
|
1247
|
+
"ChartPolar",
|
|
1248
|
+
"Table",
|
|
1249
|
+
"Rows",
|
|
1250
|
+
"Columns",
|
|
1251
|
+
"FunnelSimple",
|
|
1252
|
+
"Funnel",
|
|
1253
|
+
"Gauge",
|
|
1254
|
+
"Speedometer",
|
|
1255
|
+
"Pulse",
|
|
1256
|
+
"Presentation",
|
|
1257
|
+
"Sigma",
|
|
1258
|
+
"SquaresFour",
|
|
1259
|
+
"GridFour",
|
|
1260
|
+
"Cards",
|
|
1261
|
+
"Faders",
|
|
1262
|
+
"ArrowsSplit",
|
|
1263
|
+
"Path",
|
|
1264
|
+
"ChartBarHorizontal",
|
|
1265
|
+
"ChartLineDown",
|
|
1266
|
+
"ChartPieSlice",
|
|
1267
|
+
"Activity",
|
|
1268
|
+
"Binary",
|
|
1269
|
+
"ListNumbers",
|
|
1270
|
+
"SortAscending",
|
|
1271
|
+
"Ranking"
|
|
1272
|
+
]
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
label: "Talk",
|
|
1276
|
+
names: [
|
|
1277
|
+
"Chat",
|
|
1278
|
+
"ChatsCircle",
|
|
1279
|
+
"ChatTeardrop",
|
|
1280
|
+
"ChatCenteredDots",
|
|
1281
|
+
"Chats",
|
|
1282
|
+
"EnvelopeOpen",
|
|
1283
|
+
"Tray",
|
|
1284
|
+
"Mailbox",
|
|
1285
|
+
"PhoneCall",
|
|
1286
|
+
"Voicemail",
|
|
1287
|
+
"VideoConference",
|
|
1288
|
+
"Broadcast",
|
|
1289
|
+
"Rss",
|
|
1290
|
+
"Translate",
|
|
1291
|
+
"Quotes",
|
|
1292
|
+
"HandWaving",
|
|
1293
|
+
"HandsClapping",
|
|
1294
|
+
"Headset",
|
|
1295
|
+
"BellRinging",
|
|
1296
|
+
"UsersThree",
|
|
1297
|
+
"UserCircle",
|
|
1298
|
+
"AddressBook",
|
|
1299
|
+
"SealCheck",
|
|
1300
|
+
"ChatDots",
|
|
1301
|
+
"ChatCircleDots",
|
|
1302
|
+
"ChatCircleText",
|
|
1303
|
+
"MegaphoneSimple",
|
|
1304
|
+
"PhoneIncoming",
|
|
1305
|
+
"PhoneOutgoing",
|
|
1306
|
+
"EnvelopeSimple",
|
|
1307
|
+
"UserPlus",
|
|
1308
|
+
"UserFocus"
|
|
1309
|
+
]
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
label: "Learn",
|
|
1313
|
+
names: [
|
|
1314
|
+
"GraduationCap",
|
|
1315
|
+
"BookOpen",
|
|
1316
|
+
"Books",
|
|
1317
|
+
"BookBookmark",
|
|
1318
|
+
"Bookmarks",
|
|
1319
|
+
"Exam",
|
|
1320
|
+
"Student",
|
|
1321
|
+
"Chalkboard",
|
|
1322
|
+
"ChalkboardTeacher",
|
|
1323
|
+
"PencilSimple",
|
|
1324
|
+
"Pen",
|
|
1325
|
+
"Highlighter",
|
|
1326
|
+
"Backpack",
|
|
1327
|
+
"Certificate",
|
|
1328
|
+
"Lectern",
|
|
1329
|
+
"Article",
|
|
1330
|
+
"NewspaperClipping",
|
|
1331
|
+
"Scroll",
|
|
1332
|
+
"BookOpenText",
|
|
1333
|
+
"BookOpenUser",
|
|
1334
|
+
"NotePencil",
|
|
1335
|
+
"PencilRuler",
|
|
1336
|
+
"NoteBlank",
|
|
1337
|
+
"ProjectorScreen",
|
|
1338
|
+
"ProjectorScreenChart",
|
|
1339
|
+
"Slideshow",
|
|
1340
|
+
"HighlighterCircle"
|
|
1341
|
+
]
|
|
1342
|
+
},
|
|
1125
1343
|
{
|
|
1126
1344
|
label: "Objects",
|
|
1127
1345
|
names: [
|
|
@@ -1136,7 +1354,24 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1136
1354
|
"Key",
|
|
1137
1355
|
"Lock",
|
|
1138
1356
|
"Umbrella",
|
|
1139
|
-
"Trophy"
|
|
1357
|
+
"Trophy",
|
|
1358
|
+
"Bag",
|
|
1359
|
+
"Eyeglasses",
|
|
1360
|
+
"Sock",
|
|
1361
|
+
"TShirt",
|
|
1362
|
+
"Dress",
|
|
1363
|
+
"Pants",
|
|
1364
|
+
"Sneaker",
|
|
1365
|
+
"Boot",
|
|
1366
|
+
"Hoodie",
|
|
1367
|
+
"Beanie",
|
|
1368
|
+
"BaseballCap",
|
|
1369
|
+
"CowboyHat",
|
|
1370
|
+
"HighHeel",
|
|
1371
|
+
"Belt",
|
|
1372
|
+
"ShirtFolded",
|
|
1373
|
+
"CoatHanger",
|
|
1374
|
+
"BriefcaseMetal"
|
|
1140
1375
|
]
|
|
1141
1376
|
},
|
|
1142
1377
|
{
|
|
@@ -1153,7 +1388,20 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1153
1388
|
"Spade",
|
|
1154
1389
|
"Club",
|
|
1155
1390
|
"Cube",
|
|
1156
|
-
"Polygon"
|
|
1391
|
+
"Polygon",
|
|
1392
|
+
"Octagon",
|
|
1393
|
+
"Pentagon",
|
|
1394
|
+
"Parallelogram",
|
|
1395
|
+
"Rectangle",
|
|
1396
|
+
"Spiral",
|
|
1397
|
+
"Crosshair",
|
|
1398
|
+
"Cylinder",
|
|
1399
|
+
"Sphere",
|
|
1400
|
+
"CircleHalf",
|
|
1401
|
+
"StarHalf",
|
|
1402
|
+
"TriangleDashed",
|
|
1403
|
+
"Union",
|
|
1404
|
+
"ThreeD"
|
|
1157
1405
|
]
|
|
1158
1406
|
},
|
|
1159
1407
|
{
|
|
@@ -1170,7 +1418,26 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1170
1418
|
"Archive",
|
|
1171
1419
|
"Notebook",
|
|
1172
1420
|
"Files",
|
|
1173
|
-
"FolderPlus"
|
|
1421
|
+
"FolderPlus",
|
|
1422
|
+
"FileCode",
|
|
1423
|
+
"FilePdf",
|
|
1424
|
+
"FileImage",
|
|
1425
|
+
"FileVideo",
|
|
1426
|
+
"FileAudio",
|
|
1427
|
+
"FileZip",
|
|
1428
|
+
"FileCsv",
|
|
1429
|
+
"FileDoc",
|
|
1430
|
+
"FileXls",
|
|
1431
|
+
"FilePpt",
|
|
1432
|
+
"FileMd",
|
|
1433
|
+
"FileLock",
|
|
1434
|
+
"FolderLock",
|
|
1435
|
+
"FolderStar",
|
|
1436
|
+
"FolderUser",
|
|
1437
|
+
"FolderNotch",
|
|
1438
|
+
"Folders",
|
|
1439
|
+
"FileArrowUp",
|
|
1440
|
+
"FileArrowDown"
|
|
1174
1441
|
]
|
|
1175
1442
|
},
|
|
1176
1443
|
{
|
|
@@ -1187,7 +1454,33 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1187
1454
|
"Scissors",
|
|
1188
1455
|
"LinkSimple",
|
|
1189
1456
|
"ShareNetwork",
|
|
1190
|
-
"Clipboard"
|
|
1457
|
+
"Clipboard",
|
|
1458
|
+
"PencilLine",
|
|
1459
|
+
"FloppyDisk",
|
|
1460
|
+
"DownloadSimple",
|
|
1461
|
+
"UploadSimple",
|
|
1462
|
+
"Export",
|
|
1463
|
+
"MagnifyingGlass",
|
|
1464
|
+
"Prohibit",
|
|
1465
|
+
"ArrowClockwise",
|
|
1466
|
+
"ArrowCounterClockwise",
|
|
1467
|
+
"Power",
|
|
1468
|
+
"LockOpen",
|
|
1469
|
+
"EyeSlash",
|
|
1470
|
+
"ThumbsDown",
|
|
1471
|
+
"HandPointing",
|
|
1472
|
+
"Share",
|
|
1473
|
+
"Link",
|
|
1474
|
+
"PaperPlaneRight",
|
|
1475
|
+
"CheckCircle",
|
|
1476
|
+
"XCircle",
|
|
1477
|
+
"Download",
|
|
1478
|
+
"Upload",
|
|
1479
|
+
"ShareFat",
|
|
1480
|
+
"PaperPlane",
|
|
1481
|
+
"Backspace",
|
|
1482
|
+
"Resize",
|
|
1483
|
+
"MagnifyingGlassPlus"
|
|
1191
1484
|
]
|
|
1192
1485
|
},
|
|
1193
1486
|
{
|
|
@@ -1204,7 +1497,27 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1204
1497
|
"ArrowsLeftRight",
|
|
1205
1498
|
"ArrowUUpLeft",
|
|
1206
1499
|
"ArrowsOut",
|
|
1207
|
-
"ArrowsIn"
|
|
1500
|
+
"ArrowsIn",
|
|
1501
|
+
"ArrowCircleUp",
|
|
1502
|
+
"ArrowCircleDown",
|
|
1503
|
+
"ArrowCircleLeft",
|
|
1504
|
+
"ArrowCircleRight",
|
|
1505
|
+
"ArrowFatUp",
|
|
1506
|
+
"ArrowFatDown",
|
|
1507
|
+
"ArrowFatLeft",
|
|
1508
|
+
"ArrowFatRight",
|
|
1509
|
+
"ArrowBendUpRight",
|
|
1510
|
+
"ArrowBendDownLeft",
|
|
1511
|
+
"ArrowsDownUp",
|
|
1512
|
+
"ArrowsCounterClockwise",
|
|
1513
|
+
"ArrowElbowDownRight",
|
|
1514
|
+
"ArrowLineUp",
|
|
1515
|
+
"ArrowLineDown",
|
|
1516
|
+
"CaretCircleUp",
|
|
1517
|
+
"CaretCircleDown",
|
|
1518
|
+
"CaretDoubleRight",
|
|
1519
|
+
"Swap",
|
|
1520
|
+
"ShuffleAngular"
|
|
1208
1521
|
]
|
|
1209
1522
|
},
|
|
1210
1523
|
{
|
|
@@ -1221,7 +1534,263 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1221
1534
|
"Monitor",
|
|
1222
1535
|
"DeviceMobile",
|
|
1223
1536
|
"Keyboard",
|
|
1224
|
-
"Robot"
|
|
1537
|
+
"Robot",
|
|
1538
|
+
"CodeBlock",
|
|
1539
|
+
"CodeSimple",
|
|
1540
|
+
"TerminalWindow",
|
|
1541
|
+
"CloudArrowUp",
|
|
1542
|
+
"CloudArrowDown",
|
|
1543
|
+
"CloudCheck",
|
|
1544
|
+
"GlobeSimple",
|
|
1545
|
+
"Network",
|
|
1546
|
+
"BugDroid",
|
|
1547
|
+
"PlugsConnected",
|
|
1548
|
+
"AppWindow",
|
|
1549
|
+
"Browsers",
|
|
1550
|
+
"Tabs",
|
|
1551
|
+
"Sidebar",
|
|
1552
|
+
"ToggleLeft"
|
|
1553
|
+
]
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
label: "Devices",
|
|
1557
|
+
names: [
|
|
1558
|
+
"Laptop",
|
|
1559
|
+
"Desktop",
|
|
1560
|
+
"DeviceTablet",
|
|
1561
|
+
"DeviceMobileCamera",
|
|
1562
|
+
"Watch",
|
|
1563
|
+
"Printer",
|
|
1564
|
+
"Mouse",
|
|
1565
|
+
"HardDrive",
|
|
1566
|
+
"Usb",
|
|
1567
|
+
"Bluetooth",
|
|
1568
|
+
"Memory",
|
|
1569
|
+
"SimCard",
|
|
1570
|
+
"Webcam",
|
|
1571
|
+
"CellSignalFull",
|
|
1572
|
+
"DesktopTower",
|
|
1573
|
+
"ComputerTower",
|
|
1574
|
+
"GraphicsCard",
|
|
1575
|
+
"VirtualReality",
|
|
1576
|
+
"Drone",
|
|
1577
|
+
"Vibrate",
|
|
1578
|
+
"Airplay",
|
|
1579
|
+
"MouseScroll",
|
|
1580
|
+
"Numpad"
|
|
1581
|
+
]
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
label: "Build",
|
|
1585
|
+
names: [
|
|
1586
|
+
"BracketsCurly",
|
|
1587
|
+
"GitMerge",
|
|
1588
|
+
"GitPullRequest",
|
|
1589
|
+
"WifiHigh",
|
|
1590
|
+
"Plug",
|
|
1591
|
+
"Plugs",
|
|
1592
|
+
"Gear",
|
|
1593
|
+
"Sliders",
|
|
1594
|
+
"Command",
|
|
1595
|
+
"Browser",
|
|
1596
|
+
"Function",
|
|
1597
|
+
"TreeStructure",
|
|
1598
|
+
"Circuitry",
|
|
1599
|
+
"GitCommit",
|
|
1600
|
+
"GitFork",
|
|
1601
|
+
"FlowArrow",
|
|
1602
|
+
"Blueprint",
|
|
1603
|
+
"Crane",
|
|
1604
|
+
"HardHat",
|
|
1605
|
+
"Bulldozer",
|
|
1606
|
+
"ShippingContainer"
|
|
1607
|
+
]
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
label: "Tools",
|
|
1611
|
+
names: [
|
|
1612
|
+
"Toolbox",
|
|
1613
|
+
"Screwdriver",
|
|
1614
|
+
"Gavel",
|
|
1615
|
+
"Axe",
|
|
1616
|
+
"Shovel",
|
|
1617
|
+
"Ladder",
|
|
1618
|
+
"PaintRoller",
|
|
1619
|
+
"Nut",
|
|
1620
|
+
"GearSix",
|
|
1621
|
+
"BatteryFull",
|
|
1622
|
+
"BatteryCharging",
|
|
1623
|
+
"Flashlight",
|
|
1624
|
+
"Flame",
|
|
1625
|
+
"Needle",
|
|
1626
|
+
"Pipe",
|
|
1627
|
+
"PipeWrench",
|
|
1628
|
+
"GearFine",
|
|
1629
|
+
"FireExtinguisher",
|
|
1630
|
+
"SprayBottle",
|
|
1631
|
+
"MagnetStraight",
|
|
1632
|
+
"Barricade",
|
|
1633
|
+
"TrafficCone"
|
|
1634
|
+
]
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
label: "Design",
|
|
1638
|
+
names: [
|
|
1639
|
+
"PaintBrush",
|
|
1640
|
+
"Palette",
|
|
1641
|
+
"PenNib",
|
|
1642
|
+
"Ruler",
|
|
1643
|
+
"MagicWand",
|
|
1644
|
+
"Swatches",
|
|
1645
|
+
"Cursor",
|
|
1646
|
+
"Eyedropper",
|
|
1647
|
+
"PaintBucket",
|
|
1648
|
+
"Crop",
|
|
1649
|
+
"Camera",
|
|
1650
|
+
"Aperture",
|
|
1651
|
+
"Image",
|
|
1652
|
+
"VideoCamera",
|
|
1653
|
+
"FilmSlate",
|
|
1654
|
+
"FilmStrip",
|
|
1655
|
+
"PaintBrushBroad",
|
|
1656
|
+
"PaintBrushHousehold",
|
|
1657
|
+
"PencilCircle",
|
|
1658
|
+
"Shapes",
|
|
1659
|
+
"Selection",
|
|
1660
|
+
"BoundingBox",
|
|
1661
|
+
"TextAa",
|
|
1662
|
+
"TextT",
|
|
1663
|
+
"Textbox",
|
|
1664
|
+
"FrameCorners",
|
|
1665
|
+
"Layout",
|
|
1666
|
+
"BezierCurve",
|
|
1667
|
+
"VectorTwo",
|
|
1668
|
+
"VectorThree",
|
|
1669
|
+
"Scribble",
|
|
1670
|
+
"ScribbleLoop",
|
|
1671
|
+
"CursorClick",
|
|
1672
|
+
"CubeTransparent",
|
|
1673
|
+
"Perspective",
|
|
1674
|
+
"PenNibStraight",
|
|
1675
|
+
"Gradient"
|
|
1676
|
+
]
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
label: "Science",
|
|
1680
|
+
names: [
|
|
1681
|
+
"Atom",
|
|
1682
|
+
"Flask",
|
|
1683
|
+
"TestTube",
|
|
1684
|
+
"Microscope",
|
|
1685
|
+
"Dna",
|
|
1686
|
+
"Brain",
|
|
1687
|
+
"Virus",
|
|
1688
|
+
"Magnet",
|
|
1689
|
+
"Calculator",
|
|
1690
|
+
"MathOperations",
|
|
1691
|
+
"Graph",
|
|
1692
|
+
"Infinity",
|
|
1693
|
+
"Pi",
|
|
1694
|
+
"Radioactive",
|
|
1695
|
+
"Biohazard",
|
|
1696
|
+
"HeadCircuit",
|
|
1697
|
+
"NuclearPlant",
|
|
1698
|
+
"FalloutShelter",
|
|
1699
|
+
"Radical",
|
|
1700
|
+
"Lemniscate",
|
|
1701
|
+
"Divide",
|
|
1702
|
+
"Angle",
|
|
1703
|
+
"WaveSine"
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
label: "Security",
|
|
1708
|
+
names: [
|
|
1709
|
+
"Shield",
|
|
1710
|
+
"ShieldCheck",
|
|
1711
|
+
"ShieldWarning",
|
|
1712
|
+
"LockKey",
|
|
1713
|
+
"Fingerprint",
|
|
1714
|
+
"Password",
|
|
1715
|
+
"Vault",
|
|
1716
|
+
"IdentificationCard",
|
|
1717
|
+
"Detective",
|
|
1718
|
+
"Scan",
|
|
1719
|
+
"Siren",
|
|
1720
|
+
"LockSimple",
|
|
1721
|
+
"Keyhole",
|
|
1722
|
+
"ShieldSlash",
|
|
1723
|
+
"ShieldStar",
|
|
1724
|
+
"ShieldPlus",
|
|
1725
|
+
"ShieldChevron",
|
|
1726
|
+
"WarningOctagon",
|
|
1727
|
+
"UserCircleCheck",
|
|
1728
|
+
"UserCheck",
|
|
1729
|
+
"SecurityCamera",
|
|
1730
|
+
"SignIn",
|
|
1731
|
+
"SignOut",
|
|
1732
|
+
"ProhibitInset"
|
|
1733
|
+
]
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
label: "Places",
|
|
1737
|
+
names: [
|
|
1738
|
+
"House",
|
|
1739
|
+
"Buildings",
|
|
1740
|
+
"Storefront",
|
|
1741
|
+
"Factory",
|
|
1742
|
+
"Warehouse",
|
|
1743
|
+
"Hospital",
|
|
1744
|
+
"Church",
|
|
1745
|
+
"CastleTurret",
|
|
1746
|
+
"Lighthouse",
|
|
1747
|
+
"Bridge",
|
|
1748
|
+
"Barn",
|
|
1749
|
+
"Tent",
|
|
1750
|
+
"Island",
|
|
1751
|
+
"GasPump",
|
|
1752
|
+
"MapPin",
|
|
1753
|
+
"Globe",
|
|
1754
|
+
"Compass",
|
|
1755
|
+
"Building",
|
|
1756
|
+
"BuildingOffice",
|
|
1757
|
+
"BuildingApartment",
|
|
1758
|
+
"HouseLine",
|
|
1759
|
+
"HouseSimple",
|
|
1760
|
+
"Park",
|
|
1761
|
+
"Mosque",
|
|
1762
|
+
"Synagogue",
|
|
1763
|
+
"City",
|
|
1764
|
+
"Farm",
|
|
1765
|
+
"Wall",
|
|
1766
|
+
"Stairs",
|
|
1767
|
+
"SolarRoof"
|
|
1768
|
+
]
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
label: "Home",
|
|
1772
|
+
names: [
|
|
1773
|
+
"Couch",
|
|
1774
|
+
"Armchair",
|
|
1775
|
+
"Bed",
|
|
1776
|
+
"Bathtub",
|
|
1777
|
+
"Toilet",
|
|
1778
|
+
"Lamp",
|
|
1779
|
+
"Television",
|
|
1780
|
+
"Oven",
|
|
1781
|
+
"CookingPot",
|
|
1782
|
+
"ForkKnife",
|
|
1783
|
+
"Knife",
|
|
1784
|
+
"Broom",
|
|
1785
|
+
"Door",
|
|
1786
|
+
"Chair",
|
|
1787
|
+
"Fan",
|
|
1788
|
+
"LampPendant",
|
|
1789
|
+
"Shower",
|
|
1790
|
+
"DoorOpen",
|
|
1791
|
+
"Garage",
|
|
1792
|
+
"WashingMachine",
|
|
1793
|
+
"Dresser"
|
|
1225
1794
|
]
|
|
1226
1795
|
},
|
|
1227
1796
|
{
|
|
@@ -1238,7 +1807,79 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1238
1807
|
"Flower",
|
|
1239
1808
|
"Cactus",
|
|
1240
1809
|
"Snowflake",
|
|
1241
|
-
"Rainbow"
|
|
1810
|
+
"Rainbow",
|
|
1811
|
+
"Meteor",
|
|
1812
|
+
"ShootingStar",
|
|
1813
|
+
"StarFour",
|
|
1814
|
+
"RainbowCloud",
|
|
1815
|
+
"Log",
|
|
1816
|
+
"Recycle",
|
|
1817
|
+
"SolarPanel"
|
|
1818
|
+
]
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
label: "Weather",
|
|
1822
|
+
names: [
|
|
1823
|
+
"CloudSun",
|
|
1824
|
+
"CloudMoon",
|
|
1825
|
+
"CloudFog",
|
|
1826
|
+
"SunHorizon",
|
|
1827
|
+
"MoonStars",
|
|
1828
|
+
"Tornado",
|
|
1829
|
+
"ThermometerHot",
|
|
1830
|
+
"ThermometerCold",
|
|
1831
|
+
"DropHalf",
|
|
1832
|
+
"SunDim",
|
|
1833
|
+
"CloudWarning",
|
|
1834
|
+
"UmbrellaSimple",
|
|
1835
|
+
"ThermometerSimple",
|
|
1836
|
+
"Hurricane",
|
|
1837
|
+
"LightningSlash",
|
|
1838
|
+
"DropSlash"
|
|
1839
|
+
]
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
label: "Garden",
|
|
1843
|
+
names: [
|
|
1844
|
+
"Plant",
|
|
1845
|
+
"Clover",
|
|
1846
|
+
"Acorn",
|
|
1847
|
+
"Grains",
|
|
1848
|
+
"TreePalm",
|
|
1849
|
+
"TreeEvergreen",
|
|
1850
|
+
"FlowerLotus",
|
|
1851
|
+
"FlowerTulip",
|
|
1852
|
+
"Waves",
|
|
1853
|
+
"Orange",
|
|
1854
|
+
"Pepper",
|
|
1855
|
+
"Cherries",
|
|
1856
|
+
"PottedPlant",
|
|
1857
|
+
"PicnicTable",
|
|
1858
|
+
"Jar",
|
|
1859
|
+
"JarLabel",
|
|
1860
|
+
"TeaBag"
|
|
1861
|
+
]
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
label: "Things",
|
|
1865
|
+
names: [
|
|
1866
|
+
"Bomb",
|
|
1867
|
+
"FlagBanner",
|
|
1868
|
+
"Lifebuoy",
|
|
1869
|
+
"Parachute",
|
|
1870
|
+
"PushPin",
|
|
1871
|
+
"Seal",
|
|
1872
|
+
"Sticker",
|
|
1873
|
+
"Windmill",
|
|
1874
|
+
"Yarn",
|
|
1875
|
+
"Pinwheel",
|
|
1876
|
+
"Rug",
|
|
1877
|
+
"TreasureChest",
|
|
1878
|
+
"DiscoBall",
|
|
1879
|
+
"CallBell",
|
|
1880
|
+
"TipJar",
|
|
1881
|
+
"Stool",
|
|
1882
|
+
"ToiletPaper"
|
|
1242
1883
|
]
|
|
1243
1884
|
},
|
|
1244
1885
|
{
|
|
@@ -1255,7 +1896,26 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1255
1896
|
"Crown",
|
|
1256
1897
|
"Flag",
|
|
1257
1898
|
"Medal",
|
|
1258
|
-
"Sparkle"
|
|
1899
|
+
"Sparkle",
|
|
1900
|
+
"SealQuestion",
|
|
1901
|
+
"SealWarning",
|
|
1902
|
+
"Equals",
|
|
1903
|
+
"NotEquals",
|
|
1904
|
+
"Copyright",
|
|
1905
|
+
"Trademark",
|
|
1906
|
+
"Peace",
|
|
1907
|
+
"YinYang",
|
|
1908
|
+
"Cross",
|
|
1909
|
+
"StarOfDavid",
|
|
1910
|
+
"HandPeace",
|
|
1911
|
+
"StarAndCrescent",
|
|
1912
|
+
"Copyleft",
|
|
1913
|
+
"TrademarkRegistered",
|
|
1914
|
+
"ExclamationMark",
|
|
1915
|
+
"Tilde",
|
|
1916
|
+
"ApproximateEquals",
|
|
1917
|
+
"GreaterThan",
|
|
1918
|
+
"LessThan"
|
|
1259
1919
|
]
|
|
1260
1920
|
},
|
|
1261
1921
|
{
|
|
@@ -1272,7 +1932,21 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1272
1932
|
"Egg",
|
|
1273
1933
|
"Bread",
|
|
1274
1934
|
"Wine",
|
|
1275
|
-
"Martini"
|
|
1935
|
+
"Martini",
|
|
1936
|
+
"CoffeeBean",
|
|
1937
|
+
"Cheese",
|
|
1938
|
+
"EggCrack",
|
|
1939
|
+
"OrangeSlice",
|
|
1940
|
+
"BowlFood",
|
|
1941
|
+
"BowlSteam",
|
|
1942
|
+
"Brandy",
|
|
1943
|
+
"Champagne",
|
|
1944
|
+
"BeerBottle",
|
|
1945
|
+
"Onigiri",
|
|
1946
|
+
"Popsicle",
|
|
1947
|
+
"PintGlass",
|
|
1948
|
+
"ChefHat",
|
|
1949
|
+
"Cheers"
|
|
1276
1950
|
]
|
|
1277
1951
|
},
|
|
1278
1952
|
{
|
|
@@ -1289,7 +1963,37 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1289
1963
|
"Fish",
|
|
1290
1964
|
"Shrimp",
|
|
1291
1965
|
"Feather",
|
|
1292
|
-
"Bone"
|
|
1966
|
+
"Bone",
|
|
1967
|
+
"FishSimple",
|
|
1968
|
+
"BugBeetle"
|
|
1969
|
+
]
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
label: "Travel",
|
|
1973
|
+
names: [
|
|
1974
|
+
"Suitcase",
|
|
1975
|
+
"SuitcaseRolling",
|
|
1976
|
+
"AirplaneTilt",
|
|
1977
|
+
"AirplaneTakeoff",
|
|
1978
|
+
"Sailboat",
|
|
1979
|
+
"Anchor",
|
|
1980
|
+
"Subway",
|
|
1981
|
+
"MapTrifold",
|
|
1982
|
+
"Signpost",
|
|
1983
|
+
"Campfire",
|
|
1984
|
+
"Binoculars",
|
|
1985
|
+
"GlobeHemisphereWest",
|
|
1986
|
+
"Footprints",
|
|
1987
|
+
"MapPinLine",
|
|
1988
|
+
"TrolleySuitcase",
|
|
1989
|
+
"Tipi",
|
|
1990
|
+
"CableCar",
|
|
1991
|
+
"RoadHorizon",
|
|
1992
|
+
"SwimmingPool",
|
|
1993
|
+
"Elevator",
|
|
1994
|
+
"EscalatorUp",
|
|
1995
|
+
"Seat",
|
|
1996
|
+
"Seatbelt"
|
|
1293
1997
|
]
|
|
1294
1998
|
},
|
|
1295
1999
|
{
|
|
@@ -1306,7 +2010,29 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1306
2010
|
"Scooter",
|
|
1307
2011
|
"Taxi",
|
|
1308
2012
|
"Van",
|
|
1309
|
-
"Jeep"
|
|
2013
|
+
"Jeep",
|
|
2014
|
+
"CarProfile",
|
|
2015
|
+
"CarSimple",
|
|
2016
|
+
"TrainSimple",
|
|
2017
|
+
"TrainRegional",
|
|
2018
|
+
"AirplaneInFlight",
|
|
2019
|
+
"AirplaneLanding",
|
|
2020
|
+
"RocketLaunch",
|
|
2021
|
+
"Tractor",
|
|
2022
|
+
"Ambulance",
|
|
2023
|
+
"FireTruck",
|
|
2024
|
+
"PoliceCar",
|
|
2025
|
+
"Tram",
|
|
2026
|
+
"Moped",
|
|
2027
|
+
"MopedFront",
|
|
2028
|
+
"TruckTrailer",
|
|
2029
|
+
"SteeringWheel",
|
|
2030
|
+
"Tire",
|
|
2031
|
+
"Engine",
|
|
2032
|
+
"ChargingStation",
|
|
2033
|
+
"GasCan",
|
|
2034
|
+
"TrafficSignal",
|
|
2035
|
+
"TrafficSign"
|
|
1310
2036
|
]
|
|
1311
2037
|
},
|
|
1312
2038
|
{
|
|
@@ -1323,7 +2049,77 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1323
2049
|
"PersonSimpleRun",
|
|
1324
2050
|
"Hand",
|
|
1325
2051
|
"ThumbsUp",
|
|
1326
|
-
"Eye"
|
|
2052
|
+
"Eye",
|
|
2053
|
+
"UserGear",
|
|
2054
|
+
"UserList",
|
|
2055
|
+
"UserSquare",
|
|
2056
|
+
"UserMinus",
|
|
2057
|
+
"UserSound",
|
|
2058
|
+
"UsersFour",
|
|
2059
|
+
"PersonArmsSpread",
|
|
2060
|
+
"Person",
|
|
2061
|
+
"PersonSimple",
|
|
2062
|
+
"PersonSimpleThrow",
|
|
2063
|
+
"PersonSimpleHike",
|
|
2064
|
+
"GenderFemale",
|
|
2065
|
+
"GenderMale",
|
|
2066
|
+
"SmileyWink",
|
|
2067
|
+
"SmileyNervous",
|
|
2068
|
+
"SmileySticker",
|
|
2069
|
+
"SmileyXEyes",
|
|
2070
|
+
"SmileyAngry",
|
|
2071
|
+
"SmileyBlank",
|
|
2072
|
+
"SmileyMelting",
|
|
2073
|
+
"HandHeart",
|
|
2074
|
+
"HandFist",
|
|
2075
|
+
"HandGrabbing",
|
|
2076
|
+
"HandPalm",
|
|
2077
|
+
"GenderIntersex",
|
|
2078
|
+
"GenderNeuter",
|
|
2079
|
+
"GenderNonbinary",
|
|
2080
|
+
"GenderTransgender",
|
|
2081
|
+
"ScanSmiley"
|
|
2082
|
+
]
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
label: "Media",
|
|
2086
|
+
names: [
|
|
2087
|
+
"Play",
|
|
2088
|
+
"Pause",
|
|
2089
|
+
"Stop",
|
|
2090
|
+
"Record",
|
|
2091
|
+
"SkipForward",
|
|
2092
|
+
"Repeat",
|
|
2093
|
+
"Shuffle",
|
|
2094
|
+
"SpeakerSlash",
|
|
2095
|
+
"MusicNoteSimple",
|
|
2096
|
+
"VinylRecord",
|
|
2097
|
+
"MonitorPlay",
|
|
2098
|
+
"CameraRotate",
|
|
2099
|
+
"Images",
|
|
2100
|
+
"ImageSquare",
|
|
2101
|
+
"Video",
|
|
2102
|
+
"FilmReel",
|
|
2103
|
+
"MicrophoneStage",
|
|
2104
|
+
"PlayCircle",
|
|
2105
|
+
"PauseCircle",
|
|
2106
|
+
"StopCircle",
|
|
2107
|
+
"SkipBack",
|
|
2108
|
+
"FastForward",
|
|
2109
|
+
"Rewind",
|
|
2110
|
+
"SpeakerLow",
|
|
2111
|
+
"SpeakerNone",
|
|
2112
|
+
"Subtitles",
|
|
2113
|
+
"ClosedCaptioning",
|
|
2114
|
+
"Screencast",
|
|
2115
|
+
"Panorama",
|
|
2116
|
+
"Gif",
|
|
2117
|
+
"FourK",
|
|
2118
|
+
"PictureInPicture",
|
|
2119
|
+
"Eject",
|
|
2120
|
+
"RepeatOnce",
|
|
2121
|
+
"FastForwardCircle",
|
|
2122
|
+
"RewindCircle"
|
|
1327
2123
|
]
|
|
1328
2124
|
},
|
|
1329
2125
|
{
|
|
@@ -1340,7 +2136,16 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1340
2136
|
"Waveform",
|
|
1341
2137
|
"Disc",
|
|
1342
2138
|
"Headphones",
|
|
1343
|
-
"Equalizer"
|
|
2139
|
+
"Equalizer",
|
|
2140
|
+
"MusicNotesSimple",
|
|
2141
|
+
"MusicNotesPlus",
|
|
2142
|
+
"PianoKeys",
|
|
2143
|
+
"SpeakerSimpleHigh",
|
|
2144
|
+
"Queue",
|
|
2145
|
+
"CassetteTape",
|
|
2146
|
+
"WaveSawtooth",
|
|
2147
|
+
"WaveSquare",
|
|
2148
|
+
"WaveTriangle"
|
|
1344
2149
|
]
|
|
1345
2150
|
},
|
|
1346
2151
|
{
|
|
@@ -1357,7 +2162,78 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1357
2162
|
"Volleyball",
|
|
1358
2163
|
"PingPong",
|
|
1359
2164
|
"Racquet",
|
|
1360
|
-
"PersonSimpleSwim"
|
|
2165
|
+
"PersonSimpleSwim",
|
|
2166
|
+
"PersonSimpleSki",
|
|
2167
|
+
"PersonSimpleSnowboard",
|
|
2168
|
+
"MedalMilitary",
|
|
2169
|
+
"FlagCheckered",
|
|
2170
|
+
"SneakerMove",
|
|
2171
|
+
"Hockey",
|
|
2172
|
+
"BoxingGlove",
|
|
2173
|
+
"BowlingBall",
|
|
2174
|
+
"FootballHelmet",
|
|
2175
|
+
"BaseballHelmet",
|
|
2176
|
+
"Cricket",
|
|
2177
|
+
"CourtBasketball",
|
|
2178
|
+
"Boules"
|
|
2179
|
+
]
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
label: "Play",
|
|
2183
|
+
names: [
|
|
2184
|
+
"GameController",
|
|
2185
|
+
"Joystick",
|
|
2186
|
+
"PuzzlePiece",
|
|
2187
|
+
"DiceFive",
|
|
2188
|
+
"Sword",
|
|
2189
|
+
"Skull",
|
|
2190
|
+
"MaskHappy",
|
|
2191
|
+
"Ticket",
|
|
2192
|
+
"Popcorn",
|
|
2193
|
+
"Balloon",
|
|
2194
|
+
"Confetti",
|
|
2195
|
+
"FlyingSaucer",
|
|
2196
|
+
"Lego",
|
|
2197
|
+
"CardsThree",
|
|
2198
|
+
"DiceOne",
|
|
2199
|
+
"DiceSix",
|
|
2200
|
+
"DiceThree",
|
|
2201
|
+
"PokerChip",
|
|
2202
|
+
"LegoSmiley",
|
|
2203
|
+
"BeachBall",
|
|
2204
|
+
"SpinnerBall",
|
|
2205
|
+
"MaskSad",
|
|
2206
|
+
"DiceTwo",
|
|
2207
|
+
"DiceFour",
|
|
2208
|
+
"DiamondsFour"
|
|
2209
|
+
]
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
label: "Shop",
|
|
2213
|
+
names: [
|
|
2214
|
+
"ShoppingBag",
|
|
2215
|
+
"ShoppingBagOpen",
|
|
2216
|
+
"Basket",
|
|
2217
|
+
"Tote",
|
|
2218
|
+
"Barcode",
|
|
2219
|
+
"QrCode",
|
|
2220
|
+
"Money",
|
|
2221
|
+
"CurrencyEur",
|
|
2222
|
+
"CurrencyGbp",
|
|
2223
|
+
"CurrencyBtc",
|
|
2224
|
+
"HandCoins",
|
|
2225
|
+
"Invoice",
|
|
2226
|
+
"CashRegister",
|
|
2227
|
+
"Coin",
|
|
2228
|
+
"ShoppingCartSimple",
|
|
2229
|
+
"TagSimple",
|
|
2230
|
+
"Handbag",
|
|
2231
|
+
"HandbagSimple",
|
|
2232
|
+
"SealPercent",
|
|
2233
|
+
"Trolley",
|
|
2234
|
+
"TagChevron",
|
|
2235
|
+
"ContactlessPayment",
|
|
2236
|
+
"BoxArrowDown"
|
|
1361
2237
|
]
|
|
1362
2238
|
},
|
|
1363
2239
|
{
|
|
@@ -1374,7 +2250,39 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1374
2250
|
"Tag",
|
|
1375
2251
|
"ChartBar",
|
|
1376
2252
|
"ChartPie",
|
|
1377
|
-
"Handshake"
|
|
2253
|
+
"Handshake",
|
|
2254
|
+
"CurrencyCircleDollar",
|
|
2255
|
+
"CurrencyInr",
|
|
2256
|
+
"CurrencyJpy",
|
|
2257
|
+
"CurrencyCny",
|
|
2258
|
+
"CurrencyEth",
|
|
2259
|
+
"CurrencyRub",
|
|
2260
|
+
"CoinVertical",
|
|
2261
|
+
"ReceiptX",
|
|
2262
|
+
"Scales",
|
|
2263
|
+
"MoneyWavy",
|
|
2264
|
+
"Cardholder"
|
|
2265
|
+
]
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
label: "Health",
|
|
2269
|
+
names: [
|
|
2270
|
+
"FirstAidKit",
|
|
2271
|
+
"Tooth",
|
|
2272
|
+
"Ear",
|
|
2273
|
+
"Wheelchair",
|
|
2274
|
+
"PersonSimpleWalk",
|
|
2275
|
+
"PersonSimpleBike",
|
|
2276
|
+
"PersonSimpleTaiChi",
|
|
2277
|
+
"Avocado",
|
|
2278
|
+
"HeartHalf",
|
|
2279
|
+
"Asclepius",
|
|
2280
|
+
"Caduceus",
|
|
2281
|
+
"Prescription",
|
|
2282
|
+
"FaceMask",
|
|
2283
|
+
"HeartBreak",
|
|
2284
|
+
"WheelchairMotion",
|
|
2285
|
+
"Goggles"
|
|
1378
2286
|
]
|
|
1379
2287
|
},
|
|
1380
2288
|
{
|
|
@@ -1391,7 +2299,13 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1391
2299
|
"FirstAid",
|
|
1392
2300
|
"Syringe",
|
|
1393
2301
|
"Bandaids",
|
|
1394
|
-
"Stethoscope"
|
|
2302
|
+
"Stethoscope",
|
|
2303
|
+
"HeartStraight",
|
|
2304
|
+
"HandsPraying",
|
|
2305
|
+
"HairDryer",
|
|
2306
|
+
"Towel",
|
|
2307
|
+
"BabyCarriage",
|
|
2308
|
+
"HeartStraightBreak"
|
|
1395
2309
|
]
|
|
1396
2310
|
},
|
|
1397
2311
|
{
|
|
@@ -1406,7 +2320,17 @@ var PROJECT_GLYPH_GROUPS = [
|
|
|
1406
2320
|
"NumberCircleSix",
|
|
1407
2321
|
"NumberCircleSeven",
|
|
1408
2322
|
"NumberCircleEight",
|
|
1409
|
-
"NumberCircleNine"
|
|
2323
|
+
"NumberCircleNine",
|
|
2324
|
+
"NumberSquareZero",
|
|
2325
|
+
"NumberSquareOne",
|
|
2326
|
+
"NumberSquareTwo",
|
|
2327
|
+
"NumberSquareThree",
|
|
2328
|
+
"NumberSquareFour",
|
|
2329
|
+
"NumberSquareFive",
|
|
2330
|
+
"NumberSquareSix",
|
|
2331
|
+
"NumberSquareSeven",
|
|
2332
|
+
"NumberSquareEight",
|
|
2333
|
+
"NumberSquareNine"
|
|
1410
2334
|
]
|
|
1411
2335
|
}
|
|
1412
2336
|
];
|
|
@@ -1423,8 +2347,23 @@ var PROJECT_GLYPH_COLORS = [
|
|
|
1423
2347
|
"purple",
|
|
1424
2348
|
"magenta"
|
|
1425
2349
|
];
|
|
1426
|
-
|
|
1427
|
-
new Set(
|
|
2350
|
+
var HEX_COLOR = /^#[0-9a-f]{6}$/;
|
|
2351
|
+
var NAME_SET = new Set(PROJECT_GLYPH_NAMES);
|
|
2352
|
+
var COLOR_SET = new Set(PROJECT_GLYPH_COLORS);
|
|
2353
|
+
function isProjectGlyphName(value) {
|
|
2354
|
+
return typeof value === "string" && NAME_SET.has(value);
|
|
2355
|
+
}
|
|
2356
|
+
function isProjectGlyphPaletteColor(value) {
|
|
2357
|
+
return typeof value === "string" && COLOR_SET.has(value);
|
|
2358
|
+
}
|
|
2359
|
+
function isProjectGlyphColor(value) {
|
|
2360
|
+
return typeof value === "string" && (COLOR_SET.has(value) || HEX_COLOR.test(value));
|
|
2361
|
+
}
|
|
2362
|
+
function normalizeProjectGlyphColor(value) {
|
|
2363
|
+
if (typeof value !== "string") return null;
|
|
2364
|
+
const candidate = value.startsWith("#") ? value.toLowerCase() : value;
|
|
2365
|
+
return isProjectGlyphColor(candidate) ? candidate : null;
|
|
2366
|
+
}
|
|
1428
2367
|
|
|
1429
2368
|
// ../shared/src/prompt-attachments.ts
|
|
1430
2369
|
var MAX_PROMPT_UPLOAD_FILENAME_BYTES = 255 - 40;
|
|
@@ -1936,50 +2875,9 @@ function parseReminderPrompt(rawText) {
|
|
|
1936
2875
|
return { id: head[1], recurring: head[2] === "recurring", prompt: rawText.slice(close + 1).trim() };
|
|
1937
2876
|
}
|
|
1938
2877
|
|
|
1939
|
-
// ../shared/src/room-prompt.ts
|
|
1940
|
-
var FOOTER = "\n\n---\n";
|
|
1941
|
-
var SESSION = "agent session ";
|
|
1942
|
-
var HEAD2 = /^\[room ([a-z0-9][a-z0-9._/-]{0,63}) · #(\d+) · from ([^\n]+?)(?:, in thread #(\d+))?\]\n/;
|
|
1943
|
-
function parseRoomPrompt(rawText) {
|
|
1944
|
-
if (!rawText) return void 0;
|
|
1945
|
-
const head = HEAD2.exec(rawText);
|
|
1946
|
-
if (!head) return void 0;
|
|
1947
|
-
const rest = rawText.slice(head[0].length);
|
|
1948
|
-
const end = rest.lastIndexOf(FOOTER);
|
|
1949
|
-
const from = head[3];
|
|
1950
|
-
const session = from.startsWith(SESSION);
|
|
1951
|
-
return {
|
|
1952
|
-
room: head[1],
|
|
1953
|
-
seq: Number(head[2]),
|
|
1954
|
-
senderKind: session ? "session" : "member",
|
|
1955
|
-
sender: session ? from.slice(SESSION.length) : from,
|
|
1956
|
-
replyTo: head[4] ? Number(head[4]) : null,
|
|
1957
|
-
text: (end >= 0 ? rest.slice(0, end) : rest).trim()
|
|
1958
|
-
};
|
|
1959
|
-
}
|
|
1960
|
-
var DIGEST_HEAD = /^\[room ([a-z0-9][a-z0-9._/-]{0,63}) · #(\d+)(?:–#(\d+))? · (\d+) new messages?\]\n/;
|
|
1961
|
-
var DIGEST_LINE = /^#(\d+) ([^\n]*?): ([^\n]*)$/;
|
|
1962
|
-
function parseRoomDigest(rawText) {
|
|
1963
|
-
if (!rawText) return void 0;
|
|
1964
|
-
const head = DIGEST_HEAD.exec(rawText);
|
|
1965
|
-
if (!head) return void 0;
|
|
1966
|
-
const rest = rawText.slice(head[0].length);
|
|
1967
|
-
const end = rest.lastIndexOf(FOOTER);
|
|
1968
|
-
const body = (end >= 0 ? rest.slice(0, end) : rest).trim().split("\n");
|
|
1969
|
-
const lines = [];
|
|
1970
|
-
let more = 0;
|
|
1971
|
-
for (const line of body) {
|
|
1972
|
-
const match = DIGEST_LINE.exec(line);
|
|
1973
|
-
if (match) lines.push({ seq: Number(match[1]), sender: match[2], text: match[3] });
|
|
1974
|
-
const tail = /^… and (\d+) more$/.exec(line);
|
|
1975
|
-
if (tail) more = Number(tail[1]);
|
|
1976
|
-
}
|
|
1977
|
-
const fromSeq = Number(head[2]);
|
|
1978
|
-
return { room: head[1], fromSeq, toSeq: head[3] ? Number(head[3]) : fromSeq, count: Number(head[4]), lines, more };
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
2878
|
// ../shared/src/peer-message-prompt.ts
|
|
1982
|
-
var
|
|
2879
|
+
var SPACE_POST_SUMMARY = "post in this space";
|
|
2880
|
+
var FOOTER = "\n\n---\n";
|
|
1983
2881
|
var LABEL = {
|
|
1984
2882
|
message: "message",
|
|
1985
2883
|
shutdown_request: "shutdown request",
|
|
@@ -1987,13 +2885,13 @@ var LABEL = {
|
|
|
1987
2885
|
idle_notice: "idle notice"
|
|
1988
2886
|
};
|
|
1989
2887
|
var KIND_OF = new Map(Object.entries(LABEL).map(([kind, label]) => [label, kind]));
|
|
1990
|
-
var
|
|
2888
|
+
var HEAD2 = /^\[(message|shutdown request|shutdown response|idle notice) from ([^\n·]+?) · session ([0-9a-f]{8}) · #([A-Za-z0-9_-]{1,64})(?: · ([^\n\]]*))?\]\n/;
|
|
1991
2889
|
function parsePeerMessagePrompt(rawText) {
|
|
1992
2890
|
if (!rawText) return void 0;
|
|
1993
|
-
const head =
|
|
2891
|
+
const head = HEAD2.exec(rawText);
|
|
1994
2892
|
if (!head) return void 0;
|
|
1995
2893
|
const rest = rawText.slice(head[0].length);
|
|
1996
|
-
const end = rest.lastIndexOf(
|
|
2894
|
+
const end = rest.lastIndexOf(FOOTER);
|
|
1997
2895
|
return {
|
|
1998
2896
|
kind: KIND_OF.get(head[1]),
|
|
1999
2897
|
from: head[2],
|
|
@@ -2235,18 +3133,22 @@ function stripChatMentionMarkup(value) {
|
|
|
2235
3133
|
|
|
2236
3134
|
// ../shared/src/webhook-signing.ts
|
|
2237
3135
|
var WEBHOOK_SIGNATURE_HEADER = "X-Kortix-Signature";
|
|
3136
|
+
var WEBHOOK_TIMESTAMP_HEADER = "X-Kortix-Timestamp";
|
|
2238
3137
|
var WEBHOOK_DELIVERY_ID_HEADER = "X-Kortix-Delivery-Id";
|
|
2239
3138
|
function buildWebhookSampleRequest(url) {
|
|
2240
3139
|
return [
|
|
3140
|
+
"TS=$(date +%s)",
|
|
2241
3141
|
`curl -X POST ${url} \\`,
|
|
2242
3142
|
` -H "Content-Type: application/json" \\`,
|
|
2243
3143
|
` -H "${WEBHOOK_DELIVERY_ID_HEADER}: $(uuidgen)" \\`,
|
|
2244
|
-
` -H "${
|
|
3144
|
+
` -H "${WEBHOOK_TIMESTAMP_HEADER}: $TS" \\`,
|
|
3145
|
+
` -H "${WEBHOOK_SIGNATURE_HEADER}: sha256=$(printf '%s.%s' "$TS" '$BODY' | openssl dgst -sha256 -hmac "$SECRET" -hex | sed 's/^.* //')" \\`,
|
|
2245
3146
|
` -d '$BODY'`,
|
|
2246
3147
|
"",
|
|
2247
3148
|
`# $BODY is the JSON you want to send, e.g. {"event":"deploy.succeeded"}`,
|
|
2248
3149
|
"# $SECRET is the signing key you saved for this webhook",
|
|
2249
3150
|
`# ${WEBHOOK_DELIVERY_ID_HEADER} names this event: a retry with the same id runs once.`,
|
|
3151
|
+
"# The signature covers the timestamp: a delivery older than 5 minutes is refused, so a captured one cannot replay.",
|
|
2250
3152
|
"# Without it, an identical body within 10 minutes counts as the same event."
|
|
2251
3153
|
].join("\n");
|
|
2252
3154
|
}
|
|
@@ -2334,6 +3236,23 @@ var SPACE_SLUG_MAX = 40;
|
|
|
2334
3236
|
function spaceSlug(name) {
|
|
2335
3237
|
return name.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "").replace(/-+/g, "-").slice(0, SPACE_SLUG_MAX).replace(/^-+|-+$/g, "");
|
|
2336
3238
|
}
|
|
3239
|
+
var SPACE_CHANNELS_DIR = "/Company/Channels";
|
|
3240
|
+
var PRIVATE_CHANNELS_DIR = "/Channels";
|
|
3241
|
+
var FOLDER_SEGMENT = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
|
|
3242
|
+
function spaceDriveFolders(kind, name, personalFolder, privateSpaceId = null) {
|
|
3243
|
+
if (kind === "channel" && privateSpaceId) {
|
|
3244
|
+
if (!FOLDER_SEGMENT.test(privateSpaceId)) return null;
|
|
3245
|
+
const files = `${PRIVATE_CHANNELS_DIR}/${privateSpaceId}`;
|
|
3246
|
+
return { files, memory: `${files}/Memory` };
|
|
3247
|
+
}
|
|
3248
|
+
if (!FOLDER_SEGMENT.test(name)) return null;
|
|
3249
|
+
if (kind === "channel") {
|
|
3250
|
+
const files = `${SPACE_CHANNELS_DIR}/${name}`;
|
|
3251
|
+
return { files, memory: `${files}/Memory` };
|
|
3252
|
+
}
|
|
3253
|
+
if (!personalFolder) return null;
|
|
3254
|
+
return { files: `${personalFolder}/Agents/${name}`, memory: `${personalFolder}/Memory/${name}` };
|
|
3255
|
+
}
|
|
2337
3256
|
|
|
2338
3257
|
// ../shared/src/artifact-doc.ts
|
|
2339
3258
|
var ARTIFACT_DOC_CSS = `
|
|
@@ -4532,4 +5451,4 @@ function parseTriggerLines(output) {
|
|
|
4532
5451
|
});
|
|
4533
5452
|
}
|
|
4534
5453
|
|
|
4535
|
-
export { ARTIFACT_DOC_CSS, AVATAR_INK, CARD_TEXT_RATIO, CHANNELS, CHANNEL_PLATFORM_IDS, COMMIT_CONFIRM_ATTEMPTS, COMMIT_CONFIRM_DELAY_MS, CREDITS_PER_DOLLAR, CURATED_SECTIONS, KATEX_FENCE_LANGUAGES, LANGUAGE_ALIASES, MAX_PROMPT_ATTACHMENTS_BYTES, MAX_PROMPT_ATTACHMENT_BYTES, MAX_PROMPT_ATTACHMENT_FILES, MAX_PROMPT_UPLOAD_FILENAME_BYTES, MY_KORTIX_AGENT_NAME, MY_KORTIX_DISPLAY_NAME, MY_KORTIX_SANDBOX_SLUG, OTHER, PASTED_INLINE_MAX_BYTES, PIXEL_KORTIX_ROWS, POLICY_SETS_UNSUPPORTED_PROVIDERS, POPULAR_SECTION, PREVIEW_BUILDING_STATES, PREVIEW_STATE_MESSAGE, PROJECT_GLYPH_COLORS,
|
|
5454
|
+
export { ARTIFACT_DOC_CSS, AVATAR_INK, CARD_TEXT_RATIO, CHANNELS, CHANNEL_PLATFORM_IDS, COMMIT_CONFIRM_ATTEMPTS, COMMIT_CONFIRM_DELAY_MS, CREDITS_PER_DOLLAR, CURATED_SECTIONS, KATEX_FENCE_LANGUAGES, LANGUAGE_ALIASES, MAX_PROMPT_ATTACHMENTS_BYTES, MAX_PROMPT_ATTACHMENT_BYTES, MAX_PROMPT_ATTACHMENT_FILES, MAX_PROMPT_UPLOAD_FILENAME_BYTES, MY_KORTIX_AGENT_NAME, MY_KORTIX_DISPLAY_NAME, MY_KORTIX_SANDBOX_SLUG, OTHER, PASTED_INLINE_MAX_BYTES, PIXEL_KORTIX_ROWS, POLICY_SETS_UNSUPPORTED_PROVIDERS, POPULAR_SECTION, PREVIEW_BUILDING_STATES, PREVIEW_STATE_MESSAGE, PROJECT_GLYPH_COLORS, PROJECT_GLYPH_GROUPS, SPACE_POST_SUMMARY, UNKNOWN_RATIO, UPLOAD_LIMITS, appAdminsOnly, autoLinkUrls, avatarFill, buildWebhookSampleRequest, capitalizeWords, cardImageShape, cardListLayout, chalkColors, channelPromptTail, confirmCommitted, countInSection, dollarsToCredits, editConfigPrompt, errorCode, escapeCurrencyDollars, expandPastedContent, extractReadableHtml, fileTagBlocks, fixManifestText, formatFileSize, formatRelative, formatUsdAsCredits, gridApps, groupIntoSections, hasReferenceDefinitionOutsideFences, humanizeCategory, indexOfIgnoreCase, isAllowedWebPushHost, isAmbiguousCreateFailure, isChannelFileLabel, isChannelPlatform, isMermaidCode, isMyKortixAgentName, isProjectGlyphColor, isProjectGlyphName, isProjectGlyphPaletteColor, languageLabel, looksLikeMarkdown, masonryColumns, neutralizePastedTags, newConfigPrompt, newPastedContentId, normalizeLanguage, normalizeLatexDelimiters, normalizeProjectGlyphColor, openMarkdownLinkAtEnd, parseBackgroundWorkers, parseBalanceUsd, parseChannelMessage, parseGrepOutput, parseManifestText, parseMemoryEntryOutput, parseMemorySearchOutput, parsePeerMessagePrompt, parseReminderPrompt, parseSessionGetOutput, parseSessionMessagesOutput, parseSessionMetadataOutput, parseSessionSearchHits, parseTriggerEvent, parseTriggerLines, peerHandleLabel, policySetNameError, prefersPreviewLink, prepareMarkdownForKatex, prepareMarkdownForMath, promptFileReferenceXml, ptyOutputBlock, ptySpawnedBody, pushTypeOf, referenceHeaders, removeSpans, replaceSpans, resolveRegisteredKey, safeHttpUrl, sandboxMediaPath, sanitizePromptUploadFilename, sectionKeyForCategory, sectionKeysForEntry, sectionTitle, selfClosingTags, serializePromptWithPastes, shouldTilePaste, skillDocumentBody, slackPlainText, slugifySlug, spaceDriveFolders, spaceSlug, splitPastedContent, stripBashMetadata, stripChatMentionMarkup, stripMarkupForToolOutput, tagBlocks, toolRegistryCandidates, trimPastedText, truncateString, utf8Bytes, withoutEdgeQuotes, xmlBlocks };
|