@kortix/ui 0.14.19 → 0.15.1

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.
Files changed (538) hide show
  1. package/README.md +1 -1
  2. package/dist/_vendor/kortix-shared.js +1188 -202
  3. package/dist/_vendor/shared/artifact-annotations.d.ts +85 -607
  4. package/dist/_vendor/shared/artifact-comments.d.ts +53 -489
  5. package/dist/_vendor/shared/code-language.d.ts +2 -2
  6. package/dist/_vendor/shared/html.d.ts +7 -0
  7. package/dist/_vendor/shared/index.d.ts +1 -1
  8. package/dist/_vendor/shared/peer-message-prompt.d.ts +7 -1
  9. package/dist/_vendor/shared/pixel-mark.d.ts +28 -0
  10. package/dist/_vendor/shared/project-glyphs.d.ts +103 -20
  11. package/dist/_vendor/shared/runtime-versions.d.ts +2 -6
  12. package/dist/_vendor/shared/tool-output/media-path.d.ts +1 -6
  13. package/dist/_vendor/shared/tool-output/scan.d.ts +2 -0
  14. package/dist/_vendor/shared/utils/string.d.ts +6 -0
  15. package/dist/_vendor/shared/webhook-signing.d.ts +3 -1
  16. package/dist/access/access/access-dialog-share.d.ts +3 -28
  17. package/dist/access/access/access-dialog-share.js +3 -75
  18. package/dist/artifacts/artifact-frame.js +26 -2
  19. package/dist/artifacts/artifact-session.js +8 -3
  20. package/dist/artifacts/frame-policy.d.ts +2 -9
  21. package/dist/artifacts/frame-policy.js +2 -25
  22. package/dist/customize/agents/agent-page.js +5 -5
  23. package/dist/customize/agents/agent-status.js +1 -1
  24. package/dist/customize/agents/agents-page.js +4 -4
  25. package/dist/customize/agents/create-agent-modal.js +1 -1
  26. package/dist/customize/connectors/connector-filter.d.ts +2 -1
  27. package/dist/customize/connectors/connector-filter.js +2 -3
  28. package/dist/customize/connectors/connectors-page.js +15 -24
  29. package/dist/customize/connectors/detail/connector-status.d.ts +3 -24
  30. package/dist/customize/connectors/detail/connector-status.js +2 -42
  31. package/dist/customize/connectors/detail/use-connector-detail.d.ts +2 -6
  32. package/dist/customize/connectors/detail/use-connector-detail.js +3 -13
  33. package/dist/customize/connectors/install/install.d.ts +2 -6
  34. package/dist/customize/connectors/install/install.js +2 -16
  35. package/dist/customize/connectors/provider-label.d.ts +4 -17
  36. package/dist/customize/connectors/provider-label.js +4 -37
  37. package/dist/customize/connectors/use-agent-access.d.ts +3 -3
  38. package/dist/customize/providers/provider-connect.d.ts +6 -15
  39. package/dist/customize/providers/provider-connect.js +5 -36
  40. package/dist/customize/sections/connector-connection-form.d.ts +3 -7
  41. package/dist/customize/sections/connector-connection-form.js +2 -33
  42. package/dist/customize/sections/connector-oauth2-auto.d.ts +3 -33
  43. package/dist/customize/sections/connector-oauth2-auto.js +2 -64
  44. package/dist/customize/sections/connectors-view.js +50 -37
  45. package/dist/customize/sections/gateway-view.d.ts +6 -5
  46. package/dist/customize/sections/gateway-view.js +31 -13
  47. package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.js +21 -18
  48. package/dist/customize/sections/llm-provider/constants.d.ts +1 -2
  49. package/dist/customize/sections/llm-provider/constants.js +1 -2
  50. package/dist/customize/sections/llm-provider/device-grant.d.ts +15 -0
  51. package/dist/customize/sections/llm-provider/device-grant.js +27 -0
  52. package/dist/customize/sections/llm-provider/utils.d.ts +1 -41
  53. package/dist/customize/sections/llm-provider/utils.js +1 -52
  54. package/dist/customize/sections/view/account-secret-resources-panel.js +4 -1
  55. package/dist/customize/sections/view/agent-editor-catalog.js +0 -5
  56. package/dist/customize/sections/view/agent-editor.d.ts +2 -2
  57. package/dist/customize/sections/view/agent-editor.js +2 -2
  58. package/dist/customize/sections/view/channel-settings-patch.js +1 -1
  59. package/dist/customize/sections/view/channels-view.js +8 -8
  60. package/dist/customize/sections/view/connector-connections.d.ts +5 -85
  61. package/dist/customize/sections/view/connector-connections.js +5 -99
  62. package/dist/customize/sections/view/gateway/gateway-logs.d.ts +42 -3
  63. package/dist/customize/sections/view/gateway/gateway-logs.js +212 -15
  64. package/dist/customize/sections/view/gateway/gateway-overview.js +1 -1
  65. package/dist/customize/sections/view/gateway/gateway-routing.d.ts +3 -3
  66. package/dist/customize/sections/view/gateway/gateway-routing.js +81 -200
  67. package/dist/customize/sections/view/gateway/routing-parts.d.ts +101 -0
  68. package/dist/customize/sections/view/gateway/routing-parts.js +154 -0
  69. package/dist/customize/sections/view/gateway/routing-sentence-layout.d.ts +2 -0
  70. package/dist/customize/sections/view/gateway/routing-sentence-layout.js +82 -0
  71. package/dist/customize/sections/view/review-center-connected.js +54 -21
  72. package/dist/customize/sections/view/review-view.d.ts +7 -0
  73. package/dist/customize/sections/view/review-view.js +11 -0
  74. package/dist/customize/sections/view/secret-delivery.d.ts +4 -5
  75. package/dist/customize/sections/view/secret-delivery.js +6 -5
  76. package/dist/customize/sections/view/secrets-view.js +1 -1
  77. package/dist/customize/sections/view/subscription-usage-tab.d.ts +14 -0
  78. package/dist/customize/sections/view/subscription-usage-tab.js +122 -0
  79. package/dist/customize/sections/view/subscription-usage.d.ts +34 -0
  80. package/dist/customize/sections/view/subscription-usage.js +98 -0
  81. package/dist/customize/settings/tabs/experimental-tab.js +3 -3
  82. package/dist/customize/settings/tabs/general-tab.js +65 -10
  83. package/dist/customize/shared/catalog/catalog-card.d.ts +9 -4
  84. package/dist/customize/shared/catalog/catalog-card.js +3 -3
  85. package/dist/customize/shared/channels-switch-dialog.d.ts +1 -1
  86. package/dist/customize/shared/channels-switch-dialog.js +1 -1
  87. package/dist/customize/shared/feature-gate-screen.js +1 -1
  88. package/dist/customize/triggers/schedule/post-to-field.d.ts +1 -1
  89. package/dist/customize/triggers/schedule/post-to-field.js +2 -2
  90. package/dist/customize/triggers/schedule/trigger-composer-logic.d.ts +1 -1
  91. package/dist/customize/triggers/schedule/trigger-runs-logic.d.ts +6 -0
  92. package/dist/customize/triggers/schedule/trigger-runs-logic.js +13 -0
  93. package/dist/customize/triggers/schedule/trigger-runs-panel.js +9 -2
  94. package/dist/files/drives/conflict-marks.d.ts +28 -0
  95. package/dist/files/drives/conflict-marks.js +39 -0
  96. package/dist/files/drives/session-drives-chip.js +15 -10
  97. package/dist/files/project/api/runtime-files.d.ts +2 -2
  98. package/dist/files/project/api/runtime-files.js +2 -2
  99. package/dist/files/project/components/drive-explorer.js +1 -1
  100. package/dist/files/project/components/drive-grid-view.js +0 -1
  101. package/dist/files/project/components/drive-list-view.js +0 -1
  102. package/dist/files/project/components/file-explorer-page.js +1 -1
  103. package/dist/files/project/hooks/index.d.ts +1 -1
  104. package/dist/files/project/hooks/index.js +1 -1
  105. package/dist/files/project/hooks/use-server-health.d.ts +1 -1
  106. package/dist/files/project/hooks/use-server-health.js +1 -1
  107. package/dist/files/project/search/workspace-search-service.d.ts +1 -1
  108. package/dist/files/project/search/workspace-search-service.js +1 -1
  109. package/dist/files/runtime/hooks/index.d.ts +1 -1
  110. package/dist/files/runtime/hooks/index.js +1 -1
  111. package/dist/files/runtime/hooks/server-health-state.d.ts +2 -2
  112. package/dist/files/runtime/hooks/server-health-state.js +2 -2
  113. package/dist/files/runtime/hooks/system-dir.js +2 -2
  114. package/dist/files/runtime/hooks/use-file-content.d.ts +1 -1
  115. package/dist/files/runtime/hooks/use-file-content.js +1 -1
  116. package/dist/files/runtime/hooks/use-file-list.d.ts +1 -1
  117. package/dist/files/runtime/hooks/use-file-list.js +3 -3
  118. package/dist/files/runtime/hooks/use-server-health.d.ts +2 -2
  119. package/dist/files/runtime/hooks/use-server-health.js +3 -3
  120. package/dist/files/runtime/hooks/use-workspace-search.d.ts +1 -2
  121. package/dist/files/runtime/hooks/use-workspace-search.js +0 -1
  122. package/dist/files/runtime/index.d.ts +2 -2
  123. package/dist/files/runtime/index.js +2 -2
  124. package/dist/files/runtime/path-utils.d.ts +1 -1
  125. package/dist/files/runtime/path-utils.js +1 -1
  126. package/dist/files/runtime/sandbox-explorer-source.d.ts +1 -1
  127. package/dist/files/runtime/sandbox-explorer-source.js +1 -1
  128. package/dist/files/runtime/sandbox-file-explorer.d.ts +1 -1
  129. package/dist/files/runtime/sandbox-file-explorer.js +2 -2
  130. package/dist/files/tree/components/file-tree-item.js +0 -1
  131. package/dist/files/tree/hooks/use-file-events.d.ts +1 -1
  132. package/dist/files/tree/hooks/use-file-events.js +1 -1
  133. package/dist/files/viewer/index.d.ts +1 -1
  134. package/dist/files/viewer/index.js +1 -1
  135. package/dist/i18n/en.d.ts +513 -203
  136. package/dist/i18n/en.js +610 -300
  137. package/dist/index.d.ts +1 -1
  138. package/dist/index.js +1 -1
  139. package/dist/internal/account-hub/sections.d.ts +1 -1
  140. package/dist/internal/capture/use-capture-area.d.ts +5 -1
  141. package/dist/internal/capture/use-capture-area.js +16 -9
  142. package/dist/internal/files/file-read-retry.js +1 -1
  143. package/dist/internal/files/types.d.ts +2 -2
  144. package/dist/internal/files/types.js +2 -2
  145. package/dist/internal/goals/goal-meta.d.ts +76 -10
  146. package/dist/internal/goals/goal-meta.js +191 -14
  147. package/dist/internal/hooks/connectors/use-add-account.d.ts +3 -9
  148. package/dist/internal/hooks/connectors/use-add-account.js +3 -18
  149. package/dist/internal/hooks/connectors/use-connect-link.d.ts +3 -2
  150. package/dist/internal/hooks/connectors/use-connect-link.js +15 -24
  151. package/dist/internal/hooks/connectors/use-pipedream-connect-project.d.ts +3 -56
  152. package/dist/internal/hooks/connectors/use-pipedream-connect-project.js +3 -87
  153. package/dist/internal/hooks/projects/use-new-project-session.d.ts +3 -2
  154. package/dist/internal/hooks/projects/use-new-project-session.js +4 -3
  155. package/dist/internal/hooks/projects/use-project-can-run.d.ts +7 -0
  156. package/dist/internal/hooks/projects/use-project-can-run.js +12 -5
  157. package/dist/internal/hooks/projects/use-restart-project-session.d.ts +0 -1
  158. package/dist/internal/hooks/projects/use-restart-project-session.js +0 -1
  159. package/dist/internal/layout/nav-hover-card.d.ts +1 -1
  160. package/dist/internal/layout/nav-hover-card.js +1 -1
  161. package/dist/internal/layout/project-capability-nav.d.ts +1 -1
  162. package/dist/internal/layout/project-capability-nav.js +7 -3
  163. package/dist/internal/layout/project-page-header.d.ts +3 -1
  164. package/dist/internal/layout/project-page-header.js +2 -2
  165. package/dist/internal/lib/account-secret-access.d.ts +1 -41
  166. package/dist/internal/lib/account-secret-access.js +3 -46
  167. package/dist/internal/lib/browser-error-noise.d.ts +2 -2
  168. package/dist/internal/lib/browser-error-noise.js +2 -2
  169. package/dist/internal/lib/browser-noise/rules/expected-states.d.ts +2 -15
  170. package/dist/internal/lib/browser-noise/rules/expected-states.js +6 -56
  171. package/dist/internal/lib/browser-noise/rules/injected-scripts.js +18 -0
  172. package/dist/internal/lib/browser-noise/rules/old-browsers.d.ts +1 -0
  173. package/dist/internal/lib/browser-noise/rules/old-browsers.js +1 -1
  174. package/dist/internal/lib/browser-noise/rules/rejections.d.ts +0 -9
  175. package/dist/internal/lib/browser-noise/rules/rejections.js +0 -14
  176. package/dist/internal/lib/capability-tab-routes.d.ts +3 -3
  177. package/dist/internal/lib/capability-tab-routes.js +11 -3
  178. package/dist/internal/lib/delivered-but-disconnected.js +3 -5
  179. package/dist/internal/lib/error-handler.js +8 -3
  180. package/dist/internal/lib/llm-providers.d.ts +4 -110
  181. package/dist/internal/lib/llm-providers.js +5 -102
  182. package/dist/internal/lib/navigation/message-link.d.ts +32 -0
  183. package/dist/internal/lib/navigation/message-link.js +51 -0
  184. package/dist/internal/lib/navigation/session-href.d.ts +11 -0
  185. package/dist/internal/lib/navigation/session-href.js +20 -0
  186. package/dist/internal/lib/navigation/session-spawn-urls.d.ts +17 -0
  187. package/dist/internal/lib/navigation/session-spawn-urls.js +26 -0
  188. package/dist/internal/lib/pixel-mark.d.ts +4 -17
  189. package/dist/internal/lib/pixel-mark.js +5 -148
  190. package/dist/internal/lib/sounds.d.ts +4 -4
  191. package/dist/internal/lib/sounds.js +4 -4
  192. package/dist/internal/lib/space-scope.d.ts +3 -3
  193. package/dist/internal/lib/space-scope.js +3 -3
  194. package/dist/internal/lib/use-project-feature-flags.js +9 -7
  195. package/dist/internal/lib/web-notifications.d.ts +1 -1
  196. package/dist/internal/lib/web-notifications.js +0 -3
  197. package/dist/internal/notifications/notification-bell.js +1 -3
  198. package/dist/internal/notifications/notification-rows.d.ts +2 -2
  199. package/dist/internal/notifications/notification-rows.js +2 -3
  200. package/dist/internal/session-types/index.d.ts +5 -7
  201. package/dist/internal/session-types/index.js +5 -7
  202. package/dist/internal/stores/active-space-store.d.ts +1 -1
  203. package/dist/internal/stores/active-space-store.js +1 -1
  204. package/dist/internal/stores/composer-prefill-store.js +4 -1
  205. package/dist/internal/stores/kortix-computer-store.d.ts +15 -0
  206. package/dist/internal/stores/kortix-computer-store.js +12 -0
  207. package/dist/internal/stores/sound-store.d.ts +4 -4
  208. package/dist/internal/stores/sound-store.js +10 -0
  209. package/dist/lib/routes.d.ts +17 -7
  210. package/dist/lib/routes.js +18 -2
  211. package/dist/markdown/app-link-icons.d.ts +7 -0
  212. package/dist/markdown/app-link-icons.js +20 -0
  213. package/dist/markdown/app-links.d.ts +9 -0
  214. package/dist/markdown/app-links.js +112 -0
  215. package/dist/markdown/code/shiki-highlighter.js +14 -5
  216. package/dist/markdown/doc-editor/doc-attrs.d.ts +28 -0
  217. package/dist/markdown/doc-editor/doc-attrs.js +156 -0
  218. package/dist/markdown/doc-editor/doc-embed.d.ts +6 -0
  219. package/dist/markdown/doc-editor/doc-embed.js +26 -8
  220. package/dist/markdown/doc-editor/doc-extensions.d.ts +10 -0
  221. package/dist/markdown/doc-editor/doc-extensions.js +55 -8
  222. package/dist/markdown/doc-editor/doc-fidelity.d.ts +72 -0
  223. package/dist/markdown/doc-editor/doc-fidelity.js +135 -0
  224. package/dist/markdown/doc-editor/doc-node-view.d.ts +9 -0
  225. package/dist/markdown/doc-editor/doc-node-view.js +29 -0
  226. package/dist/markdown/doc-editor/markdown.d.ts +20 -0
  227. package/dist/markdown/doc-editor/markdown.js +455 -18
  228. package/dist/markdown/file-links.js +12 -3
  229. package/dist/markdown/markdown-frontmatter.d.ts +6 -6
  230. package/dist/markdown/markdown-frontmatter.js +3 -3
  231. package/dist/markdown/unified-markdown.d.ts +1 -1
  232. package/dist/markdown/unified-markdown.js +129 -10
  233. package/dist/primitives/button.js +2 -1
  234. package/dist/primitives/emoji-picker.js +16 -100
  235. package/dist/primitives/emoji-tint.js +12 -12
  236. package/dist/primitives/entity-avatar.js +14 -9
  237. package/dist/primitives/glyph-face.d.ts +19 -12
  238. package/dist/primitives/glyph-face.js +59 -20
  239. package/dist/primitives/glyph-paths-source.d.ts +7 -0
  240. package/dist/primitives/glyph-paths-source.js +14 -6
  241. package/dist/primitives/glyph-paths.generated.d.ts +1 -1
  242. package/dist/primitives/glyph-paths.generated.js +947 -204
  243. package/dist/primitives/glyph-picker.d.ts +6 -10
  244. package/dist/primitives/glyph-picker.js +147 -98
  245. package/dist/primitives/glyph-registry.js +1604 -1
  246. package/dist/primitives/glyph-tint.d.ts +28 -3
  247. package/dist/primitives/glyph-tint.js +41 -83
  248. package/dist/primitives/kortix-glyphs.d.ts +32 -0
  249. package/dist/primitives/kortix-glyphs.js +157 -0
  250. package/dist/primitives/project-icon-picker.d.ts +8 -1
  251. package/dist/primitives/project-icon-picker.js +13 -5
  252. package/dist/primitives/user-avatar.d.ts +8 -1
  253. package/dist/primitives/user-avatar.js +2 -2
  254. package/dist/providers/ui-provider.d.ts +1 -8
  255. package/dist/session/actions/project-session-list-helpers.js +1 -1
  256. package/dist/session/agents/agent-model.js +4 -0
  257. package/dist/session/agents/agent-state-mark.d.ts +12 -7
  258. package/dist/session/agents/agent-state-mark.js +37 -15
  259. package/dist/session/agents/agent-strip.js +8 -2
  260. package/dist/session/agents/agent-surface.d.ts +81 -0
  261. package/dist/session/agents/agent-surface.js +97 -0
  262. package/dist/session/agents/held-messages.d.ts +1 -5
  263. package/dist/session/agents/held-messages.js +8 -25
  264. package/dist/session/agents/legacy-subagent-chat.js +1 -1
  265. package/dist/session/agents/session-peek.js +24 -12
  266. package/dist/session/agents/steer-session.d.ts +2 -0
  267. package/dist/session/agents/steer-session.js +3 -2
  268. package/dist/session/agents/subagent-dialog-content.d.ts +30 -1
  269. package/dist/session/agents/subagent-dialog-content.js +147 -33
  270. package/dist/session/agents/subagent-view.d.ts +15 -5
  271. package/dist/session/agents/subagent-view.js +28 -6
  272. package/dist/session/agents/tasks-panel.js +2 -12
  273. package/dist/session/agents/workflow-run-controls.d.ts +3 -1
  274. package/dist/session/agents/workflow-run-controls.js +12 -7
  275. package/dist/session/composer/ComposerAboveCard.d.ts +4 -1
  276. package/dist/session/composer/ComposerAboveCard.js +2 -2
  277. package/dist/session/composer/ComposerCard.d.ts +7 -1
  278. package/dist/session/composer/ComposerCard.js +74 -9
  279. package/dist/session/composer/agent-selector.d.ts +16 -0
  280. package/dist/session/composer/agent-selector.js +19 -11
  281. package/dist/session/composer/chat-input/chat-input-control.d.ts +64 -0
  282. package/dist/session/composer/chat-input/chat-input-control.js +578 -0
  283. package/dist/session/composer/chat-input/chat-input-overrides.d.ts +76 -0
  284. package/dist/session/composer/chat-input/chat-input-overrides.js +40 -0
  285. package/dist/session/composer/chat-input/chat-input-panes.d.ts +56 -0
  286. package/dist/session/composer/chat-input/chat-input-panes.js +148 -0
  287. package/dist/session/composer/chat-input/chat-input-summary.d.ts +67 -0
  288. package/dist/session/composer/chat-input/chat-input-summary.js +67 -0
  289. package/dist/session/composer/chat-queue-lines.d.ts +20 -0
  290. package/dist/session/composer/chat-queue-lines.js +20 -0
  291. package/dist/session/composer/composer-chat-input.d.ts +9 -2
  292. package/dist/session/composer/composer-chat-input.js +14 -6
  293. package/dist/session/composer/composer-focus-context.d.ts +7 -0
  294. package/dist/session/composer/composer-focus-context.js +9 -0
  295. package/dist/session/composer/composer-toolbar.d.ts +3 -1
  296. package/dist/session/composer/composer-toolbar.js +3 -3
  297. package/dist/session/composer/composer-underbar.d.ts +10 -1
  298. package/dist/session/composer/composer-underbar.js +10 -2
  299. package/dist/session/composer/composer.d.ts +12 -0
  300. package/dist/session/composer/composer.js +71 -2
  301. package/dist/session/composer/editor/composer-editor.d.ts +10 -2
  302. package/dist/session/composer/editor/composer-editor.js +22 -6
  303. package/dist/session/composer/editor/first-visual-line.d.ts +2 -0
  304. package/dist/session/composer/editor/first-visual-line.js +9 -0
  305. package/dist/session/composer/editor/mention-node.js +2 -0
  306. package/dist/session/composer/editor/serialize.js +9 -1
  307. package/dist/session/composer/hooks/use-file-search.d.ts +16 -16
  308. package/dist/session/composer/hooks/use-file-search.js +17 -17
  309. package/dist/session/composer/menus/mention-controller.d.ts +3 -11
  310. package/dist/session/composer/menus/mention-controller.js +54 -16
  311. package/dist/session/composer/menus/mention-menu.d.ts +7 -2
  312. package/dist/session/composer/menus/mention-menu.js +17 -9
  313. package/dist/session/composer/menus/menu-items.d.ts +9 -0
  314. package/dist/session/composer/menus/space-mentions.d.ts +58 -0
  315. package/dist/session/composer/menus/space-mentions.js +99 -0
  316. package/dist/session/composer/prompt-history.d.ts +9 -0
  317. package/dist/session/composer/prompt-history.js +45 -0
  318. package/dist/session/composer/queue-projection.d.ts +2 -0
  319. package/dist/session/composer/queue-projection.js +1 -0
  320. package/dist/session/composer/queued-prompt-list.js +53 -4
  321. package/dist/session/composer/reasoning-effort-selector.d.ts +20 -0
  322. package/dist/session/composer/reasoning-effort-selector.js +3 -3
  323. package/dist/session/composer/types.d.ts +2 -1
  324. package/dist/session/composer/use-instant-session-send.js +2 -2
  325. package/dist/session/header/session-goal-indicator.js +4 -4
  326. package/dist/session/header/session-site-header.js +7 -3
  327. package/dist/session/header/subagent-hover-card.d.ts +7 -4
  328. package/dist/session/header/subagent-hover-card.js +62 -11
  329. package/dist/session/list/session-status-mark.d.ts +42 -0
  330. package/dist/{workspace/sidebar → session/list}/session-status-mark.js +37 -2
  331. package/dist/session/models/model-selector.d.ts +7 -2
  332. package/dist/session/models/model-selector.js +39 -31
  333. package/dist/session/overrides/provider-secret-pool-editor.d.ts +11 -0
  334. package/dist/session/overrides/provider-secret-pool-editor.js +17 -0
  335. package/dist/session/overrides/session-overrides-control.d.ts +5 -0
  336. package/dist/session/overrides/session-overrides-toolbar.js +147 -7
  337. package/dist/session/panel/easy/plan-card.d.ts +2 -2
  338. package/dist/session/panel/easy/plan-card.js +2 -2
  339. package/dist/session/panel/model-switch-event.d.ts +8 -0
  340. package/dist/session/panel/model-switch-event.js +19 -0
  341. package/dist/session/panel/session-audit-panel.js +3 -2
  342. package/dist/session/panel/session-desktop.js +11 -1
  343. package/dist/session/panel/session-panel-provider.js +1 -1
  344. package/dist/session/panel/shared/use-panel-handoffs.d.ts +2 -2
  345. package/dist/session/panel/shared/use-panel-handoffs.js +21 -2
  346. package/dist/session/panel/use-session-panel-state.js +2 -2
  347. package/dist/session/prompts/ask-deck.d.ts +21 -0
  348. package/dist/session/prompts/ask-deck.js +253 -0
  349. package/dist/session/prompts/session-permission-prompt.d.ts +7 -1
  350. package/dist/session/prompts/session-permission-prompt.js +3 -3
  351. package/dist/session/status/sandbox-loading-boundary.js +2 -2
  352. package/dist/session/status/session-load-state.d.ts +0 -1
  353. package/dist/session/status/session-load-state.js +2 -4
  354. package/dist/session/status/session-terminal-state.d.ts +47 -0
  355. package/dist/session/status/session-terminal-state.js +56 -0
  356. package/dist/session/thread/message-parsing.d.ts +0 -1
  357. package/dist/session/thread/message-parsing.js +0 -1
  358. package/dist/session/thread/plan-surface.d.ts +1 -1
  359. package/dist/session/thread/plan-surface.js +1 -1
  360. package/dist/session/thread/session-chat.d.ts +4 -2
  361. package/dist/session/thread/session-chat.js +547 -409
  362. package/dist/session/thread/session-context-metrics.d.ts +0 -1
  363. package/dist/session/thread/session-context-metrics.js +1 -1
  364. package/dist/session/thread/session-context-sub-sessions.js +3 -1
  365. package/dist/session/thread/show-work.d.ts +38 -0
  366. package/dist/session/thread/show-work.js +115 -0
  367. package/dist/session/thread/stop-sequence.d.ts +51 -0
  368. package/dist/session/thread/stop-sequence.js +55 -0
  369. package/dist/session/thread/thread-boot-rows.d.ts +2 -1
  370. package/dist/session/thread/thread-boot-rows.js +7 -3
  371. package/dist/session/thread/transcript-rows.d.ts +36 -0
  372. package/dist/session/thread/transcript.d.ts +48 -4
  373. package/dist/session/thread/transcript.js +228 -36
  374. package/dist/session/thread/typing-indicator.d.ts +21 -0
  375. package/dist/session/thread/typing-indicator.js +46 -0
  376. package/dist/session/tool/shared/infrastructure-contexts.d.ts +12 -0
  377. package/dist/session/tool/shared/infrastructure-contexts.js +6 -0
  378. package/dist/session/tool/tool-part-renderer.d.ts +2 -0
  379. package/dist/session/tool/tool-part-renderer.js +16 -2
  380. package/dist/session/tool/tools/apply-patch-tool.d.ts +1 -1
  381. package/dist/session/tool/tools/apply-patch-tool.js +1 -1
  382. package/dist/session/tool/tools/kortix-action-tool.js +8 -1
  383. package/dist/session/tool/tools/multi-agent-tool-bodies.d.ts +19 -0
  384. package/dist/session/tool/tools/multi-agent-tool-bodies.js +35 -14
  385. package/dist/session/tool/tools/multi-agent-tools.js +1 -1
  386. package/dist/session/tool/tools/pty-kill-tool.d.ts +1 -1
  387. package/dist/session/tool/tools/pty-kill-tool.js +1 -1
  388. package/dist/session/tool/tools/pty-read-tool.d.ts +2 -2
  389. package/dist/session/tool/tools/pty-read-tool.js +2 -2
  390. package/dist/session/tool/tools/pty-spawn-tool.d.ts +1 -1
  391. package/dist/session/tool/tools/pty-spawn-tool.js +1 -1
  392. package/dist/session/tool/tools/pty-write-tool.d.ts +1 -1
  393. package/dist/session/tool/tools/pty-write-tool.js +1 -1
  394. package/dist/session/tool/tools/session-spawn-urls.d.ts +1 -16
  395. package/dist/session/tool/tools/session-spawn-urls.js +4 -26
  396. package/dist/session/tool/tools/task-tool.d.ts +5 -18
  397. package/dist/session/tool/tools/task-tool.js +47 -86
  398. package/dist/session/tool/tools/todo-write-tool.d.ts +1 -1
  399. package/dist/session/tool/tools/todo-write-tool.js +1 -1
  400. package/dist/session/tool/tools/workflow-progress.d.ts +14 -18
  401. package/dist/session/tool/tools/workflow-progress.js +24 -179
  402. package/dist/session/tool/tools/workflow-result-text.d.ts +15 -0
  403. package/dist/session/tool/tools/workflow-result-text.js +34 -0
  404. package/dist/session/tool/tools/workflow-run-card.d.ts +35 -0
  405. package/dist/session/tool/tools/workflow-run-card.js +157 -0
  406. package/dist/session/tool/tools/workflow-tool.js +45 -58
  407. package/dist/session/turn/activity-burst.d.ts +2 -2
  408. package/dist/session/turn/activity-burst.js +11 -5
  409. package/dist/session/turn/answered-question-step.d.ts +29 -0
  410. package/dist/session/turn/answered-question-step.js +48 -3
  411. package/dist/session/turn/notice-batch-group.d.ts +4 -4
  412. package/dist/session/turn/notice-batch-group.js +5 -8
  413. package/dist/session/turn/peer-message-row.d.ts +14 -8
  414. package/dist/session/turn/peer-message-row.js +38 -64
  415. package/dist/session/turn/plan-anchor.d.ts +3 -3
  416. package/dist/session/turn/plan-anchor.js +3 -3
  417. package/dist/session/turn/plan-card.d.ts +7 -7
  418. package/dist/session/turn/plan-card.js +7 -7
  419. package/dist/session/turn/subagent-notice-row.d.ts +16 -1
  420. package/dist/session/turn/subagent-notice-row.js +47 -35
  421. package/dist/session/turn/throttled-markdown.js +4 -1
  422. package/dist/session/turn/turn-work-accordion.d.ts +10 -3
  423. package/dist/session/turn/turn-work-accordion.js +18 -11
  424. package/dist/session/turn/user-message.js +16 -42
  425. package/dist/session/turn/voice-turn.d.ts +22 -0
  426. package/dist/session/turn/voice-turn.js +32 -0
  427. package/dist/session/voice/call-ring.d.ts +10 -0
  428. package/dist/session/voice/call-ring.js +52 -0
  429. package/dist/session/voice/use-voice-call.d.ts +4 -4
  430. package/dist/session/voice/use-voice-call.js +6 -9
  431. package/dist/session/voice/voice-call-card.d.ts +6 -0
  432. package/dist/session/voice/voice-call-card.js +113 -0
  433. package/dist/session/voice/voice-call-state.d.ts +3 -0
  434. package/dist/session/voice/voice-call-state.js +2 -1
  435. package/dist/session/voice/voice-call-store.d.ts +16 -6
  436. package/dist/session/voice/voice-call-store.js +5 -5
  437. package/dist/session/voice/voice-call.d.ts +4 -8
  438. package/dist/session/voice/voice-call.js +33 -36
  439. package/dist/styles/components.css +33 -0
  440. package/dist/styles/theme.css +26 -0
  441. package/dist/styles.css +1 -1
  442. package/dist/terminal/terminal-card-gate.d.ts +6 -3
  443. package/dist/terminal/terminal-card-gate.js +21 -4
  444. package/dist/workspace/admin/project-admin-dashboard.d.ts +1 -1
  445. package/dist/workspace/admin/project-admin-dashboard.js +12 -9
  446. package/dist/workspace/index.d.ts +3 -2
  447. package/dist/workspace/index.js +2 -1
  448. package/dist/workspace/layout/use-project-home-send.d.ts +2 -0
  449. package/dist/workspace/layout/use-project-home-send.js +5 -3
  450. package/dist/workspace/memory/company-memory-page.d.ts +1 -1
  451. package/dist/workspace/memory/company-memory-page.js +1 -1
  452. package/dist/workspace/new/use-creatable-accounts.js +13 -4
  453. package/dist/workspace/projects/modal/project-icon-field.js +49 -34
  454. package/dist/workspace/review/review-center.d.ts +12 -3
  455. package/dist/workspace/review/review-center.js +50 -16
  456. package/dist/workspace/review/review-reducer.d.ts +7 -0
  457. package/dist/workspace/review/review-reducer.js +11 -0
  458. package/dist/workspace/sessions/project-sessions-helpers.js +1 -1
  459. package/dist/workspace/sessions/project-sessions-view.js +1 -1
  460. package/dist/workspace/sessions/session-row.js +6 -4
  461. package/dist/workspace/sessions/sessions-toolbar.d.ts +1 -1
  462. package/dist/workspace/sessions/sessions-toolbar.js +4 -4
  463. package/dist/workspace/sidebar/footer/project-artifacts-nav.d.ts +6 -1
  464. package/dist/workspace/sidebar/footer/project-artifacts-nav.js +47 -4
  465. package/dist/workspace/sidebar/footer/project-memory-nav.d.ts +1 -1
  466. package/dist/workspace/sidebar/footer/project-memory-nav.js +1 -1
  467. package/dist/workspace/sidebar/project-nav-items.js +13 -17
  468. package/dist/workspace/sidebar/project-session-list.d.ts +7 -1
  469. package/dist/workspace/sidebar/project-session-list.js +63 -24
  470. package/dist/workspace/sidebar/project-sidebar.js +10 -7
  471. package/dist/workspace/sidebar/project-spaces-nav.d.ts +7 -3
  472. package/dist/workspace/sidebar/project-spaces-nav.js +77 -46
  473. package/dist/workspace/sidebar/session-brief-hover-card.d.ts +4 -2
  474. package/dist/workspace/sidebar/session-brief-hover-card.js +47 -28
  475. package/dist/workspace/sidebar/session-group-sections.js +12 -4
  476. package/dist/workspace/sidebar/sidebar-more-group.d.ts +13 -0
  477. package/dist/workspace/sidebar/sidebar-more-group.js +27 -0
  478. package/dist/workspace/space/space-blocks.d.ts +3 -1
  479. package/dist/workspace/space/space-blocks.js +4 -7
  480. package/dist/workspace/space/space-page.d.ts +4 -6
  481. package/dist/workspace/space/space-page.js +10 -24
  482. package/dist/workspace/space/space-tab-panels.d.ts +14 -1
  483. package/dist/workspace/space/space-tab-panels.js +12 -21
  484. package/dist/workspace/space/space-templates.d.ts +4 -5
  485. package/dist/workspace/space/space-templates.js +2 -7
  486. package/dist/workspace/space/use-space-filter.d.ts +1 -1
  487. package/dist/workspace/space/use-space-filter.js +1 -1
  488. package/dist/workspace/spaces/channels-onboarding.d.ts +2 -2
  489. package/dist/workspace/spaces/channels-onboarding.js +4 -3
  490. package/dist/workspace/spaces/create-channel-dialog.js +4 -2
  491. package/dist/workspace/spaces/principal-card.d.ts +73 -0
  492. package/dist/workspace/spaces/principal-card.js +246 -0
  493. package/dist/workspace/spaces/space-agent-ask.d.ts +14 -0
  494. package/dist/workspace/spaces/space-agent-ask.js +36 -0
  495. package/dist/workspace/spaces/space-auto-open.d.ts +8 -0
  496. package/dist/workspace/spaces/space-auto-open.js +18 -0
  497. package/dist/workspace/spaces/space-avatar.d.ts +44 -0
  498. package/dist/workspace/spaces/space-avatar.js +41 -0
  499. package/dist/workspace/spaces/space-details-dialog.js +1 -1
  500. package/dist/workspace/spaces/space-details-panel.d.ts +27 -0
  501. package/dist/workspace/spaces/space-details-panel.js +173 -0
  502. package/dist/workspace/spaces/space-identity.d.ts +49 -0
  503. package/dist/workspace/spaces/space-identity.js +104 -0
  504. package/dist/workspace/spaces/space-members.js +1 -1
  505. package/dist/workspace/spaces/space-mention-source.d.ts +13 -0
  506. package/dist/workspace/spaces/space-mention-source.js +71 -0
  507. package/dist/workspace/spaces/space-people.d.ts +29 -0
  508. package/dist/workspace/spaces/space-people.js +87 -0
  509. package/dist/workspace/spaces/space-roster.d.ts +3 -2
  510. package/dist/workspace/spaces/space-roster.js +7 -4
  511. package/dist/workspace/spaces/space-tab-list.d.ts +37 -0
  512. package/dist/workspace/spaces/space-tab-list.js +82 -0
  513. package/dist/workspace/spaces/space-tabs.d.ts +74 -0
  514. package/dist/workspace/spaces/space-tabs.js +199 -0
  515. package/dist/workspace/spaces/space-threads-tab.js +1 -1
  516. package/dist/workspace/spaces/space-timeline-view.js +126 -17
  517. package/dist/workspace/spaces/space-timeline.d.ts +44 -9
  518. package/dist/workspace/spaces/space-timeline.js +120 -12
  519. package/dist/workspace/spaces/space-view.d.ts +19 -12
  520. package/dist/workspace/spaces/space-view.js +203 -68
  521. package/dist/workspace/spaces/use-personal-space-name.d.ts +2 -0
  522. package/dist/workspace/spaces/use-personal-space-name.js +10 -0
  523. package/package.json +11 -7
  524. package/skills/kortix-ui/SKILL.md +1 -1
  525. package/skills/kortix-ui/references/custom-dashboard.md +2 -3
  526. package/skills/kortix-ui/references/modules.md +4 -4
  527. package/dist/_vendor/shared/room-prompt.d.ts +0 -66
  528. package/dist/session/tool/tools/multi-agent-tool-data.d.ts +0 -63
  529. package/dist/session/tool/tools/multi-agent-tool-data.js +0 -118
  530. package/dist/session/voice/voice-call-bar.d.ts +0 -4
  531. package/dist/session/voice/voice-call-bar.js +0 -39
  532. package/dist/workspace/sidebar/footer/project-rooms-nav.d.ts +0 -9
  533. package/dist/workspace/sidebar/footer/project-rooms-nav.js +0 -32
  534. package/dist/workspace/sidebar/session-status-mark.d.ts +0 -19
  535. package/dist/workspace/space/space-room.d.ts +0 -20
  536. package/dist/workspace/space/space-room.js +0 -27
  537. /package/dist/{workspace/sidebar → session/list}/session-list-chrome.d.ts +0 -0
  538. /package/dist/{workspace/sidebar → session/list}/session-list-chrome.js +0 -0
@@ -1,4 +1,4 @@
1
- import { parseDocument, isMap, isSeq, isScalar, Scalar } from 'yaml';
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
@@ -97,6 +97,8 @@ var channelConnectorSlug = (platform) => `kortix_${platform}`;
97
97
  var isChannelPlatform = (platform) => CHANNEL_PLATFORM_IDS.includes(platform);
98
98
 
99
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"];
100
102
  var CHANNEL_PLATFORMS = CHANNEL_PLATFORM_IDS;
101
103
  ({
102
104
  ...Object.fromEntries(CHANNEL_PLATFORMS.map((platform) => [channelConnectorSlug(platform), "channel"]))});
@@ -169,6 +171,11 @@ function renameAgentKey(doc, from, to, map = (v) => v) {
169
171
  }
170
172
  return paths;
171
173
  }
174
+ function everyScalar() {
175
+ const node = new Scalar("*");
176
+ node.type = Scalar.QUOTE_DOUBLE;
177
+ return node;
178
+ }
172
179
  var DEPRECATIONS = [
173
180
  {
174
181
  id: "drop-kortix-version",
@@ -183,10 +190,10 @@ var DEPRECATIONS = [
183
190
  {
184
191
  id: "tools-explicit",
185
192
  since: "2026-10-27",
186
- summary: "an agent without `tools` gets every tool. Write `tools: all` (same meaning), or list the tools it needs.",
193
+ summary: 'an agent without `tools` gets every tool. Write `tools: "*"` (same meaning), or list the tools it needs.',
187
194
  apply: (doc) => agentBlocks(doc).flatMap(([name, block]) => {
188
195
  if (block.has("tools")) return [];
189
- block.set("tools", "all");
196
+ block.set("tools", everyScalar());
190
197
  return [`agents.${name}.tools`];
191
198
  })
192
199
  },
@@ -327,13 +334,30 @@ var DEPRECATIONS = [
327
334
  }
328
335
  }
329
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
+ ];
330
353
  function applyDeprecations(doc) {
331
354
  return DEPRECATIONS.flatMap((deprecation) => deprecation.apply(doc).map((path) => ({ id: deprecation.id, path })));
332
355
  }
333
- function fixManifestText(text) {
356
+ function fixManifestText(text, options = {}) {
334
357
  const doc = parseDocument(text);
335
358
  if (doc.errors.length > 0) return { text, fixed: [] };
336
- const fixed = applyDeprecations(doc);
359
+ const rewrites = options.canonical ? CANONICAL_REWRITES : [];
360
+ const fixed = [...applyDeprecations(doc), ...rewrites.flatMap((rewrite) => rewrite.apply(doc).map((path) => ({ id: rewrite.id, path })))];
337
361
  if (fixed.length === 0) return { text, fixed };
338
362
  const rendered = doc.toString({ lineWidth: 0, flowCollectionPadding: false });
339
363
  return { text: keepUnchangedLines(text, rendered), fixed };
@@ -380,7 +404,18 @@ var ManifestSyntaxError = class extends Error {
380
404
  code = "manifest_invalid";
381
405
  };
382
406
  function yamlErrorSummary(message) {
383
- return (message.split("\n")[0] ?? message).trim().replace(/:$/, "");
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}\``;
384
419
  }
385
420
  function parseManifestText(raw) {
386
421
  const doc = parseDocument(raw);
@@ -1158,6 +1193,153 @@ function formatFileSize(bytes) {
1158
1193
 
1159
1194
  // ../shared/src/project-glyphs.ts
1160
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
+ },
1161
1343
  {
1162
1344
  label: "Objects",
1163
1345
  names: [
@@ -1172,7 +1354,24 @@ var PROJECT_GLYPH_GROUPS = [
1172
1354
  "Key",
1173
1355
  "Lock",
1174
1356
  "Umbrella",
1175
- "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"
1176
1375
  ]
1177
1376
  },
1178
1377
  {
@@ -1189,7 +1388,20 @@ var PROJECT_GLYPH_GROUPS = [
1189
1388
  "Spade",
1190
1389
  "Club",
1191
1390
  "Cube",
1192
- "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"
1193
1405
  ]
1194
1406
  },
1195
1407
  {
@@ -1206,7 +1418,26 @@ var PROJECT_GLYPH_GROUPS = [
1206
1418
  "Archive",
1207
1419
  "Notebook",
1208
1420
  "Files",
1209
- "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"
1210
1441
  ]
1211
1442
  },
1212
1443
  {
@@ -1223,7 +1454,33 @@ var PROJECT_GLYPH_GROUPS = [
1223
1454
  "Scissors",
1224
1455
  "LinkSimple",
1225
1456
  "ShareNetwork",
1226
- "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"
1227
1484
  ]
1228
1485
  },
1229
1486
  {
@@ -1240,7 +1497,27 @@ var PROJECT_GLYPH_GROUPS = [
1240
1497
  "ArrowsLeftRight",
1241
1498
  "ArrowUUpLeft",
1242
1499
  "ArrowsOut",
1243
- "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"
1244
1521
  ]
1245
1522
  },
1246
1523
  {
@@ -1257,7 +1534,263 @@ var PROJECT_GLYPH_GROUPS = [
1257
1534
  "Monitor",
1258
1535
  "DeviceMobile",
1259
1536
  "Keyboard",
1260
- "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"
1261
1794
  ]
1262
1795
  },
1263
1796
  {
@@ -1274,7 +1807,79 @@ var PROJECT_GLYPH_GROUPS = [
1274
1807
  "Flower",
1275
1808
  "Cactus",
1276
1809
  "Snowflake",
1277
- "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"
1278
1883
  ]
1279
1884
  },
1280
1885
  {
@@ -1291,7 +1896,26 @@ var PROJECT_GLYPH_GROUPS = [
1291
1896
  "Crown",
1292
1897
  "Flag",
1293
1898
  "Medal",
1294
- "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"
1295
1919
  ]
1296
1920
  },
1297
1921
  {
@@ -1308,7 +1932,21 @@ var PROJECT_GLYPH_GROUPS = [
1308
1932
  "Egg",
1309
1933
  "Bread",
1310
1934
  "Wine",
1311
- "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"
1312
1950
  ]
1313
1951
  },
1314
1952
  {
@@ -1325,7 +1963,37 @@ var PROJECT_GLYPH_GROUPS = [
1325
1963
  "Fish",
1326
1964
  "Shrimp",
1327
1965
  "Feather",
1328
- "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"
1329
1997
  ]
1330
1998
  },
1331
1999
  {
@@ -1342,7 +2010,29 @@ var PROJECT_GLYPH_GROUPS = [
1342
2010
  "Scooter",
1343
2011
  "Taxi",
1344
2012
  "Van",
1345
- "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"
1346
2036
  ]
1347
2037
  },
1348
2038
  {
@@ -1359,7 +2049,77 @@ var PROJECT_GLYPH_GROUPS = [
1359
2049
  "PersonSimpleRun",
1360
2050
  "Hand",
1361
2051
  "ThumbsUp",
1362
- "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"
1363
2123
  ]
1364
2124
  },
1365
2125
  {
@@ -1376,7 +2136,16 @@ var PROJECT_GLYPH_GROUPS = [
1376
2136
  "Waveform",
1377
2137
  "Disc",
1378
2138
  "Headphones",
1379
- "Equalizer"
2139
+ "Equalizer",
2140
+ "MusicNotesSimple",
2141
+ "MusicNotesPlus",
2142
+ "PianoKeys",
2143
+ "SpeakerSimpleHigh",
2144
+ "Queue",
2145
+ "CassetteTape",
2146
+ "WaveSawtooth",
2147
+ "WaveSquare",
2148
+ "WaveTriangle"
1380
2149
  ]
1381
2150
  },
1382
2151
  {
@@ -1393,7 +2162,78 @@ var PROJECT_GLYPH_GROUPS = [
1393
2162
  "Volleyball",
1394
2163
  "PingPong",
1395
2164
  "Racquet",
1396
- "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"
1397
2237
  ]
1398
2238
  },
1399
2239
  {
@@ -1410,7 +2250,39 @@ var PROJECT_GLYPH_GROUPS = [
1410
2250
  "Tag",
1411
2251
  "ChartBar",
1412
2252
  "ChartPie",
1413
- "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"
1414
2286
  ]
1415
2287
  },
1416
2288
  {
@@ -1427,7 +2299,13 @@ var PROJECT_GLYPH_GROUPS = [
1427
2299
  "FirstAid",
1428
2300
  "Syringe",
1429
2301
  "Bandaids",
1430
- "Stethoscope"
2302
+ "Stethoscope",
2303
+ "HeartStraight",
2304
+ "HandsPraying",
2305
+ "HairDryer",
2306
+ "Towel",
2307
+ "BabyCarriage",
2308
+ "HeartStraightBreak"
1431
2309
  ]
1432
2310
  },
1433
2311
  {
@@ -1442,7 +2320,17 @@ var PROJECT_GLYPH_GROUPS = [
1442
2320
  "NumberCircleSix",
1443
2321
  "NumberCircleSeven",
1444
2322
  "NumberCircleEight",
1445
- "NumberCircleNine"
2323
+ "NumberCircleNine",
2324
+ "NumberSquareZero",
2325
+ "NumberSquareOne",
2326
+ "NumberSquareTwo",
2327
+ "NumberSquareThree",
2328
+ "NumberSquareFour",
2329
+ "NumberSquareFive",
2330
+ "NumberSquareSix",
2331
+ "NumberSquareSeven",
2332
+ "NumberSquareEight",
2333
+ "NumberSquareNine"
1446
2334
  ]
1447
2335
  }
1448
2336
  ];
@@ -1459,8 +2347,23 @@ var PROJECT_GLYPH_COLORS = [
1459
2347
  "purple",
1460
2348
  "magenta"
1461
2349
  ];
1462
- new Set(PROJECT_GLYPH_NAMES);
1463
- new Set(PROJECT_GLYPH_COLORS);
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
+ }
1464
2367
 
1465
2368
  // ../shared/src/prompt-attachments.ts
1466
2369
  var MAX_PROMPT_UPLOAD_FILENAME_BYTES = 255 - 40;
@@ -1543,18 +2446,18 @@ function findFencedCodeEnd(text, start) {
1543
2446
  const markerLength = openingMatch[2].length;
1544
2447
  let lineStart = openingLineEnd === -1 ? text.length : openingLineEnd + 1;
1545
2448
  while (lineStart < text.length) {
1546
- const lineEnd3 = text.indexOf("\n", lineStart);
1547
- const line = text.slice(lineStart, lineEnd3 === -1 ? text.length : lineEnd3);
2449
+ const lineEnd2 = text.indexOf("\n", lineStart);
2450
+ const line = text.slice(lineStart, lineEnd2 === -1 ? text.length : lineEnd2);
1548
2451
  const indentLength = /^ {0,3}/.exec(line)?.[0].length ?? 0;
1549
2452
  const candidateStart = indentLength;
1550
2453
  if (line[candidateStart] === marker) {
1551
2454
  const candidateLength = countRun(line, candidateStart, marker);
1552
2455
  const remainder = line.slice(candidateStart + candidateLength);
1553
2456
  if (candidateLength >= markerLength && /^[\t ]*\r?$/.test(remainder)) {
1554
- return lineEnd3 === -1 ? text.length : lineEnd3 + 1;
2457
+ return lineEnd2 === -1 ? text.length : lineEnd2 + 1;
1555
2458
  }
1556
2459
  }
1557
- lineStart = lineEnd3 === -1 ? text.length : lineEnd3 + 1;
2460
+ lineStart = lineEnd2 === -1 ? text.length : lineEnd2 + 1;
1558
2461
  }
1559
2462
  return text.length;
1560
2463
  }
@@ -1664,12 +2567,12 @@ function hasReferenceDefinitionOutsideFences(markdown, definition) {
1664
2567
  let lineStart = 0;
1665
2568
  while (lineStart < markdown.length) {
1666
2569
  const newline = markdown.indexOf("\n", lineStart);
1667
- const lineEnd3 = newline === -1 ? markdown.length : newline;
2570
+ const lineEnd2 = newline === -1 ? markdown.length : newline;
1668
2571
  const next = newline === -1 ? markdown.length : newline + 1;
1669
2572
  const first = markdown[lineStart];
1670
2573
  if (marker !== null) {
1671
2574
  if (first === marker || first === " " || first === " ") {
1672
- const line = markdown.slice(lineStart, lineEnd3).replace(/\r$/, "");
2575
+ const line = markdown.slice(lineStart, lineEnd2).replace(/\r$/, "");
1673
2576
  const close = REGION_CLOSE.exec(line);
1674
2577
  if (close && close[1][0] === marker && close[1].length >= length) {
1675
2578
  marker = null;
@@ -1680,7 +2583,7 @@ function hasReferenceDefinitionOutsideFences(markdown, definition) {
1680
2583
  continue;
1681
2584
  }
1682
2585
  if (first === "`" || first === "~" || first === "$" || first === " " && !hasContainer) {
1683
- const line = markdown.slice(lineStart, lineEnd3).replace(/\r$/, "");
2586
+ const line = markdown.slice(lineStart, lineEnd2).replace(/\r$/, "");
1684
2587
  const open = FENCE_OPEN.exec(line) ?? MATH_OPEN.exec(line);
1685
2588
  if (open && !(open[1][0] === "`" && open[2].includes("`"))) {
1686
2589
  if (definition.test(markdown.slice(runStart, lineStart))) return true;
@@ -1733,19 +2636,94 @@ function isMermaidCode(language, code) {
1733
2636
  return false;
1734
2637
  }
1735
2638
 
2639
+ // ../shared/src/tool-output/scan.ts
2640
+ function isWhitespace2(code) {
2641
+ if (code === 32 || code >= 9 && code <= 13) return true;
2642
+ if (code < 160) return false;
2643
+ return code === 160 || code === 5760 || code >= 8192 && code <= 8202 || code === 8232 || code === 8233 || code === 8239 || code === 8287 || code === 12288 || code === 65279;
2644
+ }
2645
+ function isLineTerminator(code) {
2646
+ return code === 10 || code === 13 || code === 8232 || code === 8233;
2647
+ }
2648
+ function lineEnd(text, from) {
2649
+ for (let i = from; i < text.length; i++) {
2650
+ if (isLineTerminator(text.charCodeAt(i))) return i;
2651
+ }
2652
+ return text.length;
2653
+ }
2654
+ function nextOf(text, characters) {
2655
+ let from = Number.POSITIVE_INFINITY;
2656
+ let found = -1;
2657
+ return (at) => {
2658
+ if (at >= from && (found === -1 || at <= found)) return found;
2659
+ from = at;
2660
+ found = -1;
2661
+ for (let i = at; i < text.length; i++) {
2662
+ if (characters.includes(text.charCodeAt(i))) {
2663
+ found = i;
2664
+ break;
2665
+ }
2666
+ }
2667
+ return found;
2668
+ };
2669
+ }
2670
+ function whitespaceEnd(text, from) {
2671
+ let i = from;
2672
+ while (i < text.length && isWhitespace2(text.charCodeAt(i))) i++;
2673
+ return i;
2674
+ }
2675
+ function isDigit(code) {
2676
+ return code >= 48 && code <= 57;
2677
+ }
2678
+ function isWordCharacter(code) {
2679
+ return code >= 48 && code <= 57 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95;
2680
+ }
2681
+ function lineTables(line) {
2682
+ const n = line.length;
2683
+ const spaceEnd = new Int32Array(n + 2);
2684
+ const solidEnd = new Int32Array(n + 2);
2685
+ const wordEnd = new Int32Array(n + 2);
2686
+ const breakAt = new Int32Array(n + 2);
2687
+ for (const table of [spaceEnd, solidEnd, wordEnd, breakAt]) {
2688
+ table[n] = n;
2689
+ table[n + 1] = n + 1;
2690
+ }
2691
+ for (let i = n - 1; i >= 0; i--) {
2692
+ const code = line.charCodeAt(i);
2693
+ const space = isWhitespace2(code);
2694
+ spaceEnd[i] = space ? spaceEnd[i + 1] : i;
2695
+ solidEnd[i] = space ? i : solidEnd[i + 1];
2696
+ wordEnd[i] = isWordCharacter(code) ? wordEnd[i + 1] : i;
2697
+ breakAt[i] = isLineTerminator(code) ? i : breakAt[i + 1];
2698
+ }
2699
+ return { spaceEnd, solidEnd, wordEnd, breakAt };
2700
+ }
2701
+ function positionIndex(n, holds) {
2702
+ const after = new Int32Array(n + 2);
2703
+ const before = new Int32Array(n + 1);
2704
+ after[n + 1] = -1;
2705
+ for (let e = n; e >= 0; e--) after[e] = holds(e) ? e : after[e + 1];
2706
+ for (let e = 0; e <= n; e++) before[e] = holds(e) ? e : e > 0 ? before[e - 1] : -1;
2707
+ return { after, before };
2708
+ }
2709
+ function startsWithIgnoreCase(text, needle, at) {
2710
+ if (at < 0 || at + needle.length > text.length) return false;
2711
+ for (let i = 0; i < needle.length; i++) {
2712
+ let a = text.charCodeAt(at + i);
2713
+ let b2 = needle.charCodeAt(i);
2714
+ if (a >= 65 && a <= 90) a += 32;
2715
+ if (b2 >= 65 && b2 <= 90) b2 += 32;
2716
+ if (a !== b2) return false;
2717
+ }
2718
+ return true;
2719
+ }
2720
+
1736
2721
  // ../shared/src/tag-blocks.ts
1737
2722
  var GT = 62;
1738
2723
  var COLON = 58;
1739
2724
  var NEWLINE = 10;
1740
2725
  var WHITESPACE = /\s/;
1741
2726
  var WORD = /\w/;
1742
- function lineEnd(text, from) {
1743
- for (let i = from; i < text.length; i++) {
1744
- const code = text.charCodeAt(i);
1745
- if (code === 10 || code === 13 || code === 8232 || code === 8233) return i;
1746
- }
1747
- return text.length;
1748
- }
1749
2727
  function fold(code) {
1750
2728
  return code >= 65 && code <= 90 ? code + 32 : code;
1751
2729
  }
@@ -1967,55 +2945,14 @@ function parseReminderPrompt(rawText) {
1967
2945
  const head = HEAD.exec(rawText);
1968
2946
  if (!head) return void 0;
1969
2947
  const close = rawText.indexOf("]", head[0].length);
1970
- const lineEnd3 = rawText.indexOf("\n", head[0].length);
1971
- if (close < 0 || lineEnd3 >= 0 && lineEnd3 < close) return void 0;
2948
+ const lineEnd2 = rawText.indexOf("\n", head[0].length);
2949
+ if (close < 0 || lineEnd2 >= 0 && lineEnd2 < close) return void 0;
1972
2950
  return { id: head[1], recurring: head[2] === "recurring", prompt: rawText.slice(close + 1).trim() };
1973
2951
  }
1974
2952
 
1975
- // ../shared/src/room-prompt.ts
1976
- var FOOTER = "\n\n---\n";
1977
- var SESSION = "agent session ";
1978
- var HEAD2 = /^\[room ([a-z0-9][a-z0-9._/-]{0,63}) · #(\d+) · from ([^\n]+?)(?:, in thread #(\d+))?\]\n/;
1979
- function parseRoomPrompt(rawText) {
1980
- if (!rawText) return void 0;
1981
- const head = HEAD2.exec(rawText);
1982
- if (!head) return void 0;
1983
- const rest = rawText.slice(head[0].length);
1984
- const end = rest.lastIndexOf(FOOTER);
1985
- const from = head[3];
1986
- const session = from.startsWith(SESSION);
1987
- return {
1988
- room: head[1],
1989
- seq: Number(head[2]),
1990
- senderKind: session ? "session" : "member",
1991
- sender: session ? from.slice(SESSION.length) : from,
1992
- replyTo: head[4] ? Number(head[4]) : null,
1993
- text: (end >= 0 ? rest.slice(0, end) : rest).trim()
1994
- };
1995
- }
1996
- var DIGEST_HEAD = /^\[room ([a-z0-9][a-z0-9._/-]{0,63}) · #(\d+)(?:–#(\d+))? · (\d+) new messages?\]\n/;
1997
- var DIGEST_LINE = /^#(\d+) ([^\n]*?): ([^\n]*)$/;
1998
- function parseRoomDigest(rawText) {
1999
- if (!rawText) return void 0;
2000
- const head = DIGEST_HEAD.exec(rawText);
2001
- if (!head) return void 0;
2002
- const rest = rawText.slice(head[0].length);
2003
- const end = rest.lastIndexOf(FOOTER);
2004
- const body = (end >= 0 ? rest.slice(0, end) : rest).trim().split("\n");
2005
- const lines = [];
2006
- let more = 0;
2007
- for (const line of body) {
2008
- const match = DIGEST_LINE.exec(line);
2009
- if (match) lines.push({ seq: Number(match[1]), sender: match[2], text: match[3] });
2010
- const tail = /^… and (\d+) more$/.exec(line);
2011
- if (tail) more = Number(tail[1]);
2012
- }
2013
- const fromSeq = Number(head[2]);
2014
- return { room: head[1], fromSeq, toSeq: head[3] ? Number(head[3]) : fromSeq, count: Number(head[4]), lines, more };
2015
- }
2016
-
2017
2953
  // ../shared/src/peer-message-prompt.ts
2018
- var FOOTER2 = "\n\n---\n";
2954
+ var SPACE_POST_SUMMARY = "post in this space";
2955
+ var FOOTER = "\n\n---\n";
2019
2956
  var LABEL = {
2020
2957
  message: "message",
2021
2958
  shutdown_request: "shutdown request",
@@ -2023,13 +2960,13 @@ var LABEL = {
2023
2960
  idle_notice: "idle notice"
2024
2961
  };
2025
2962
  var KIND_OF = new Map(Object.entries(LABEL).map(([kind, label]) => [label, kind]));
2026
- var HEAD3 = /^\[(message|shutdown request|shutdown response|idle notice) from ([^\n·]+?) · session ([0-9a-f]{8}) · #([A-Za-z0-9_-]{1,64})(?: · ([^\n\]]*))?\]\n/;
2963
+ var HEAD2 = /^\[(message|shutdown request|shutdown response|idle notice) from ([^\n·]+?) · session ([0-9a-f]{8}) · #([A-Za-z0-9_-]{1,64})(?: · ([^\n\]]*))?\]\n/;
2027
2964
  function parsePeerMessagePrompt(rawText) {
2028
2965
  if (!rawText) return void 0;
2029
- const head = HEAD3.exec(rawText);
2966
+ const head = HEAD2.exec(rawText);
2030
2967
  if (!head) return void 0;
2031
2968
  const rest = rawText.slice(head[0].length);
2032
- const end = rest.lastIndexOf(FOOTER2);
2969
+ const end = rest.lastIndexOf(FOOTER);
2033
2970
  return {
2034
2971
  kind: KIND_OF.get(head[1]),
2035
2972
  from: head[2],
@@ -2155,10 +3092,10 @@ function withoutSlackId(value) {
2155
3092
  return /^[A-Z][A-Z0-9]+$/.test(value.slice(at + 2, -1)) ? value.slice(0, at) : value;
2156
3093
  }
2157
3094
  function readSlackFollowUp(text) {
2158
- const lineEnd3 = text.indexOf("\n");
2159
- const header = readSlackFollowUpHeader((lineEnd3 < 0 ? text : text.slice(0, lineEnd3)).trimEnd());
3095
+ const lineEnd2 = text.indexOf("\n");
3096
+ const header = readSlackFollowUpHeader((lineEnd2 < 0 ? text : text.slice(0, lineEnd2)).trimEnd());
2160
3097
  if (!header) return void 0;
2161
- const rest = lineEnd3 < 0 ? "" : text.slice(lineEnd3 + 1);
3098
+ const rest = lineEnd2 < 0 ? "" : text.slice(lineEnd2 + 1);
2162
3099
  const blank = rest.search(/\r?\n\s*\r?\n/);
2163
3100
  const body = blank < 0 ? rest : rest.slice(blank);
2164
3101
  return {
@@ -2177,9 +3114,9 @@ var TELEGRAM_FIRST_HEADER = "You received a message on Telegram.";
2177
3114
  var TELEGRAM_FOLLOW_UP_HEADER = /^New Telegram message from (\S+) in the same chat:$/;
2178
3115
  var TELEGRAM_TAIL = "\n\nHow to answer:\n- Reply with the ";
2179
3116
  function readTelegramPrompt(text) {
2180
- const lineEnd3 = text.indexOf("\n");
2181
- if (lineEnd3 < 0) return void 0;
2182
- const header = text.slice(0, lineEnd3).trimEnd();
3117
+ const lineEnd2 = text.indexOf("\n");
3118
+ if (lineEnd2 < 0) return void 0;
3119
+ const header = text.slice(0, lineEnd2).trimEnd();
2183
3120
  const followUp = TELEGRAM_FOLLOW_UP_HEADER.exec(header);
2184
3121
  if (header !== TELEGRAM_FIRST_HEADER && !followUp) return void 0;
2185
3122
  const idLine = /^Message id:[^\n]*\n/m.exec(text);
@@ -2191,7 +3128,7 @@ function readTelegramPrompt(text) {
2191
3128
  return {
2192
3129
  platform: "Telegram",
2193
3130
  context: "",
2194
- userName: field(text.slice(lineEnd3, idLine.index), "From") || followUp?.[1] || "unknown",
3131
+ userName: field(text.slice(lineEnd2, idLine.index), "From") || followUp?.[1] || "unknown",
2195
3132
  messageText: text.slice(start, tail > start ? tail : text.length).trim(),
2196
3133
  followUp: followUp !== null
2197
3134
  };
@@ -2271,18 +3208,22 @@ function stripChatMentionMarkup(value) {
2271
3208
 
2272
3209
  // ../shared/src/webhook-signing.ts
2273
3210
  var WEBHOOK_SIGNATURE_HEADER = "X-Kortix-Signature";
3211
+ var WEBHOOK_TIMESTAMP_HEADER = "X-Kortix-Timestamp";
2274
3212
  var WEBHOOK_DELIVERY_ID_HEADER = "X-Kortix-Delivery-Id";
2275
3213
  function buildWebhookSampleRequest(url) {
2276
3214
  return [
3215
+ "TS=$(date +%s)",
2277
3216
  `curl -X POST ${url} \\`,
2278
3217
  ` -H "Content-Type: application/json" \\`,
2279
3218
  ` -H "${WEBHOOK_DELIVERY_ID_HEADER}: $(uuidgen)" \\`,
2280
- ` -H "${WEBHOOK_SIGNATURE_HEADER}: sha256=$(echo -n '$BODY' | openssl dgst -sha256 -hmac "$SECRET" -hex | sed 's/^.* //')" \\`,
3219
+ ` -H "${WEBHOOK_TIMESTAMP_HEADER}: $TS" \\`,
3220
+ ` -H "${WEBHOOK_SIGNATURE_HEADER}: sha256=$(printf '%s.%s' "$TS" '$BODY' | openssl dgst -sha256 -hmac "$SECRET" -hex | sed 's/^.* //')" \\`,
2281
3221
  ` -d '$BODY'`,
2282
3222
  "",
2283
3223
  `# $BODY is the JSON you want to send, e.g. {"event":"deploy.succeeded"}`,
2284
3224
  "# $SECRET is the signing key you saved for this webhook",
2285
3225
  `# ${WEBHOOK_DELIVERY_ID_HEADER} names this event: a retry with the same id runs once.`,
3226
+ "# The signature covers the timestamp: a delivery older than 5 minutes is refused, so a captured one cannot replay.",
2286
3227
  "# Without it, an identical body within 10 minutes counts as the same event."
2287
3228
  ].join("\n");
2288
3229
  }
@@ -2370,6 +3311,23 @@ var SPACE_SLUG_MAX = 40;
2370
3311
  function spaceSlug(name) {
2371
3312
  return name.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "").replace(/-+/g, "-").slice(0, SPACE_SLUG_MAX).replace(/^-+|-+$/g, "");
2372
3313
  }
3314
+ var SPACE_CHANNELS_DIR = "/Company/Channels";
3315
+ var PRIVATE_CHANNELS_DIR = "/Channels";
3316
+ var FOLDER_SEGMENT = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
3317
+ function spaceDriveFolders(kind, name, personalFolder, privateSpaceId = null) {
3318
+ if (kind === "channel" && privateSpaceId) {
3319
+ if (!FOLDER_SEGMENT.test(privateSpaceId)) return null;
3320
+ const files = `${PRIVATE_CHANNELS_DIR}/${privateSpaceId}`;
3321
+ return { files, memory: `${files}/Memory` };
3322
+ }
3323
+ if (!FOLDER_SEGMENT.test(name)) return null;
3324
+ if (kind === "channel") {
3325
+ const files = `${SPACE_CHANNELS_DIR}/${name}`;
3326
+ return { files, memory: `${files}/Memory` };
3327
+ }
3328
+ if (!personalFolder) return null;
3329
+ return { files: `${personalFolder}/Agents/${name}`, memory: `${personalFolder}/Memory/${name}` };
3330
+ }
2373
3331
 
2374
3332
  // ../shared/src/artifact-doc.ts
2375
3333
  var ARTIFACT_DOC_CSS = `
@@ -2572,7 +3530,7 @@ function languageLabel(language) {
2572
3530
  // ../shared/src/connector-sections.ts
2573
3531
  var OTHER = "Other";
2574
3532
  var POPULAR_SECTION = "popular";
2575
- function foldCategory(value) {
3533
+ function fold2(value) {
2576
3534
  return value.toLowerCase().replace(/[^a-z0-9]/g, "");
2577
3535
  }
2578
3536
  var CURATED_SECTIONS = [
@@ -2778,7 +3736,7 @@ function sectionRank(key) {
2778
3736
  }
2779
3737
  function sectionKeyForCategory(raw) {
2780
3738
  const trimmed = raw.trim();
2781
- return CLAIMED_BY.get(foldCategory(trimmed)) ?? trimmed;
3739
+ return CLAIMED_BY.get(fold2(trimmed)) ?? trimmed;
2782
3740
  }
2783
3741
  function sectionTitle(key) {
2784
3742
  return CURATED_TITLE.get(key) ?? humanizeCategory(key);
@@ -3010,80 +3968,135 @@ var PIXEL_KORTIX_ROWS = [
3010
3968
  "## ## ##",
3011
3969
  "## ## ##"
3012
3970
  ];
3013
-
3014
- // ../shared/src/preview-state-page.ts
3015
- var PREVIEW_BUILDING_STATES = /* @__PURE__ */ new Set([
3016
- "starting",
3017
- "not-listening"
3018
- ]);
3019
- var PREVIEW_STATE_MESSAGE = "kortix:preview-state";
3020
-
3021
- // ../shared/src/tool-output/scan.ts
3022
- function isWhitespace2(code) {
3023
- if (code === 32 || code >= 9 && code <= 13) return true;
3024
- if (code < 160) return false;
3025
- return code === 160 || code === 5760 || code >= 8192 && code <= 8202 || code === 8232 || code === 8233 || code === 8239 || code === 8287 || code === 12288 || code === 65279;
3026
- }
3027
- function isLineTerminator(code) {
3028
- return code === 10 || code === 13 || code === 8232 || code === 8233;
3029
- }
3030
- function lineEnd2(text, from) {
3031
- for (let i = from; i < text.length; i++) {
3032
- if (isLineTerminator(text.charCodeAt(i))) return i;
3033
- }
3034
- return text.length;
3035
- }
3036
- function whitespaceEnd(text, from) {
3037
- let i = from;
3038
- while (i < text.length && isWhitespace2(text.charCodeAt(i))) i++;
3039
- return i;
3971
+ var PIXEL_MARK_SIZE = 7;
3972
+ var HALF = 4;
3973
+ var MAX_ATTEMPTS = 256;
3974
+ var MASK = [
3975
+ [0.15, 0.3, 0.45, 0.55],
3976
+ [0.3, 0.5, 0.6, 0.7],
3977
+ [0.4, 0.6, 0.65, 0.7],
3978
+ [0.5, 0.65, 0.7, 0.75],
3979
+ [0.4, 0.55, 0.6, 0.65],
3980
+ [0.3, 0.45, 0.5, 0.5],
3981
+ [0.2, 0.35, 0.4, 0.35]
3982
+ ];
3983
+ var RESERVED_ROWS = { mykortix: PIXEL_KORTIX_ROWS, meta: PIXEL_KORTIX_ROWS };
3984
+ function fnv1a(input) {
3985
+ let h2 = 2166136261;
3986
+ for (let i = 0; i < input.length; i++) {
3987
+ h2 ^= input.charCodeAt(i);
3988
+ h2 = Math.imul(h2, 16777619);
3989
+ }
3990
+ return h2 >>> 0;
3991
+ }
3992
+ function mulberry32(seed) {
3993
+ let a = seed;
3994
+ return () => {
3995
+ a = a + 1831565813 | 0;
3996
+ let t = Math.imul(a ^ a >>> 15, 1 | a);
3997
+ t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t;
3998
+ return ((t ^ t >>> 14) >>> 0) / 4294967296;
3999
+ };
3040
4000
  }
3041
- function isDigit(code) {
3042
- return code >= 48 && code <= 57;
4001
+ function draw(seed) {
4002
+ const rand = mulberry32(seed);
4003
+ return MASK.map((row) => {
4004
+ const half = row.map((p2) => rand() < p2);
4005
+ return [...half, half[2], half[1], half[0]];
4006
+ });
3043
4007
  }
3044
- function isWordCharacter(code) {
3045
- return code >= 48 && code <= 57 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95;
4008
+ function largestComponent(grid) {
4009
+ const seen = grid.map((row) => row.map(() => false));
4010
+ let best = 0;
4011
+ for (let r = 0; r < PIXEL_MARK_SIZE; r++)
4012
+ for (let c = 0; c < PIXEL_MARK_SIZE; c++) {
4013
+ if (!grid[r][c] || seen[r][c]) continue;
4014
+ let size = 0;
4015
+ const stack = [[r, c]];
4016
+ seen[r][c] = true;
4017
+ while (stack.length) {
4018
+ const [y, x] = stack.pop();
4019
+ size++;
4020
+ for (const [ny, nx] of [[y + 1, x], [y - 1, x], [y, x + 1], [y, x - 1]]) {
4021
+ if (grid[ny]?.[nx] && !seen[ny][nx]) {
4022
+ seen[ny][nx] = true;
4023
+ stack.push([ny, nx]);
4024
+ }
4025
+ }
4026
+ }
4027
+ best = Math.max(best, size);
4028
+ }
4029
+ return best;
4030
+ }
4031
+ function hasIsolatedPixel(grid) {
4032
+ return grid.some(
4033
+ (row, r) => row.some((on, c) => {
4034
+ if (!on) return false;
4035
+ for (let dy = -1; dy <= 1; dy++)
4036
+ for (let dx = -1; dx <= 1; dx++) if ((dy || dx) && grid[r + dy]?.[c + dx]) return false;
4037
+ return true;
4038
+ })
4039
+ );
3046
4040
  }
3047
- function lineTables(line) {
3048
- const n = line.length;
3049
- const spaceEnd = new Int32Array(n + 2);
3050
- const solidEnd = new Int32Array(n + 2);
3051
- const wordEnd = new Int32Array(n + 2);
3052
- const breakAt = new Int32Array(n + 2);
3053
- for (const table of [spaceEnd, solidEnd, wordEnd, breakAt]) {
3054
- table[n] = n;
3055
- table[n + 1] = n + 1;
3056
- }
3057
- for (let i = n - 1; i >= 0; i--) {
3058
- const code = line.charCodeAt(i);
3059
- const space = isWhitespace2(code);
3060
- spaceEnd[i] = space ? spaceEnd[i + 1] : i;
3061
- solidEnd[i] = space ? i : solidEnd[i + 1];
3062
- wordEnd[i] = isWordCharacter(code) ? wordEnd[i + 1] : i;
3063
- breakAt[i] = isLineTerminator(code) ? i : breakAt[i + 1];
3064
- }
3065
- return { spaceEnd, solidEnd, wordEnd, breakAt };
4041
+ function passesPixelMarkGate(grid) {
4042
+ const filled = grid.flat().filter(Boolean).length;
4043
+ if (filled < 18 || filled > 30) return false;
4044
+ const rows = grid.filter((row) => row.some(Boolean)).length;
4045
+ const cols = grid[0].filter((_2, c) => grid.some((row) => row[c])).length;
4046
+ if (rows < 5 || cols < 5) return false;
4047
+ if (grid.filter((row) => row.every(Boolean)).length > 1) return false;
4048
+ if (grid.filter((row) => row[HALF - 1]).length < 3) return false;
4049
+ if (hasIsolatedPixel(grid)) return false;
4050
+ return largestComponent(grid) >= Math.ceil(filled * 0.85);
4051
+ }
4052
+ function toPath(grid) {
4053
+ let d = "";
4054
+ grid.forEach((row, y) => {
4055
+ for (let x = 0; x < row.length; ) {
4056
+ if (!row[x]) {
4057
+ x++;
4058
+ continue;
4059
+ }
4060
+ const start = x;
4061
+ while (x < row.length && row[x]) x++;
4062
+ d += `M${start} ${y}h${x - start}v1h-${x - start}z`;
4063
+ }
4064
+ });
4065
+ return d;
3066
4066
  }
3067
- function positionIndex(n, holds) {
3068
- const after = new Int32Array(n + 2);
3069
- const before = new Int32Array(n + 1);
3070
- after[n + 1] = -1;
3071
- for (let e = n; e >= 0; e--) after[e] = holds(e) ? e : after[e + 1];
3072
- for (let e = 0; e <= n; e++) before[e] = holds(e) ? e : e > 0 ? before[e - 1] : -1;
3073
- return { after, before };
4067
+ function rowsToPath(rows, cell) {
4068
+ return toPath(rows.map((row) => [...row].map((c) => c === cell)));
3074
4069
  }
3075
- function startsWithIgnoreCase(text, needle, at) {
3076
- if (at < 0 || at + needle.length > text.length) return false;
3077
- for (let i = 0; i < needle.length; i++) {
3078
- let a = text.charCodeAt(at + i);
3079
- let b2 = needle.charCodeAt(i);
3080
- if (a >= 65 && a <= 90) a += 32;
3081
- if (b2 >= 65 && b2 <= 90) b2 += 32;
3082
- if (a !== b2) return false;
4070
+ function pixelMarkShape(slug) {
4071
+ const rows = RESERVED_ROWS[slug];
4072
+ if (rows) {
4073
+ return {
4074
+ grid: rows.map((row) => [...row].map((c) => c !== " ")),
4075
+ path: rowsToPath(rows, "#"),
4076
+ ditherPath: rowsToPath(rows, "+"),
4077
+ width: rows[0].length,
4078
+ height: rows.length
4079
+ };
3083
4080
  }
3084
- return true;
4081
+ let grid = draw(fnv1a(slug));
4082
+ for (let attempt = 1; !passesPixelMarkGate(grid) && attempt < MAX_ATTEMPTS; attempt++)
4083
+ grid = draw(fnv1a(`${slug}:${attempt}`));
4084
+ return {
4085
+ grid,
4086
+ path: toPath(grid),
4087
+ ditherPath: "",
4088
+ width: PIXEL_MARK_SIZE,
4089
+ height: PIXEL_MARK_SIZE
4090
+ };
3085
4091
  }
3086
4092
 
4093
+ // ../shared/src/preview-state-page.ts
4094
+ var PREVIEW_BUILDING_STATES = /* @__PURE__ */ new Set([
4095
+ "starting",
4096
+ "not-listening"
4097
+ ]);
4098
+ var PREVIEW_STATE_MESSAGE = "kortix:preview-state";
4099
+
3087
4100
  // ../shared/src/tool-output/background-workers.ts
3088
4101
  var COLON2 = 58;
3089
4102
  function occurrences(text, needle, ignoreCase) {
@@ -3181,26 +4194,9 @@ var MD_SIGNALS = [
3181
4194
  function looksLikeMarkdown(text) {
3182
4195
  return MD_SIGNALS.some((re) => re.test(text)) || hasMarkdownLink(text) || hasOrderedListItem(text);
3183
4196
  }
3184
- function nextOfEither(text, a, b2) {
3185
- let from = Number.POSITIVE_INFINITY;
3186
- let found = -1;
3187
- return (at) => {
3188
- if (at >= from && (found === -1 || at <= found)) return found;
3189
- from = at;
3190
- found = -1;
3191
- for (let i = at; i < text.length; i++) {
3192
- const code = text.charCodeAt(i);
3193
- if (code === a || code === b2) {
3194
- found = i;
3195
- break;
3196
- }
3197
- }
3198
- return found;
3199
- };
3200
- }
3201
4197
  function hasMarkdownLink(text) {
3202
- const labelEnd = nextOfEither(text, 93, 10);
3203
- const urlEnd = nextOfEither(text, 41, 10);
4198
+ const labelEnd = nextOf(text, [93, 10]);
4199
+ const urlEnd = nextOf(text, [41, 10]);
3204
4200
  for (let open = text.indexOf("["); open !== -1; ) {
3205
4201
  const close = labelEnd(open + 1);
3206
4202
  if (close === -1) return false;
@@ -3659,7 +4655,7 @@ function blockEndsAt(text, at) {
3659
4655
  function textToBlockEnd(text, from) {
3660
4656
  const start = whitespaceEnd(text, from);
3661
4657
  if (start < text.length) {
3662
- const end = lineEnd2(text, start);
4658
+ const end = lineEnd(text, start);
3663
4659
  if (blockEndsAt(text, end)) return [start, end];
3664
4660
  } else if (start - 1 >= from && !isLineTerminator(text.charCodeAt(start - 1))) {
3665
4661
  return [start - 1, start];
@@ -3703,7 +4699,7 @@ function detailedBlocks(body) {
3703
4699
  }
3704
4700
  if (firstNewline === -1) return null;
3705
4701
  if (start < n && firstNewline <= start - 3) {
3706
- const end = lineEnd2(body, start);
4702
+ const end = lineEnd(body, start);
3707
4703
  const rest = afterContent(body, end);
3708
4704
  if (rest) return { content: [start, end], ...rest };
3709
4705
  }
@@ -3794,18 +4790,8 @@ function compactHits(body) {
3794
4790
  runEnd = i;
3795
4791
  return i;
3796
4792
  };
3797
- const next = (character) => {
3798
- let from2 = Number.POSITIVE_INFINITY;
3799
- let found = -1;
3800
- return (at) => {
3801
- if (at >= from2 && (found === -1 || at <= found)) return found;
3802
- from2 = at;
3803
- found = body.indexOf(character, at);
3804
- return found;
3805
- };
3806
- };
3807
- const nextOpen = next("[");
3808
- const nextClose = next("]");
4793
+ const nextOpen = nextOf(body, [BRACKET_OPEN2]);
4794
+ const nextClose = nextOf(body, [BRACKET_CLOSE]);
3809
4795
  let innerFor = -1;
3810
4796
  let innerOpen = -1;
3811
4797
  const idAt = (at) => {
@@ -4053,7 +5039,7 @@ function sectionHeaderAt(text, at) {
4053
5039
  let afterEquals = at + 2;
4054
5040
  while (text.charCodeAt(afterEquals) === EQUALS) afterEquals++;
4055
5041
  const titleStart = whitespaceEnd(text, afterEquals);
4056
- const lastStop = lineEnd2(text, titleStart);
5042
+ const lastStop = lineEnd(text, titleStart);
4057
5043
  let i = titleStart;
4058
5044
  while (i < lastStop) {
4059
5045
  const code = text.charCodeAt(i);
@@ -4104,7 +5090,7 @@ function toolsUsedLine(text) {
4104
5090
  else continue;
4105
5091
  const listStart = whitespaceEnd(text, at + label.length);
4106
5092
  if (listStart < text.length) {
4107
- const end = lineEnd2(text, listStart);
5093
+ const end = lineEnd(text, listStart);
4108
5094
  return { index, end, tools: text.slice(listStart, end) };
4109
5095
  }
4110
5096
  for (let last = text.length - 1; last >= at + label.length; last--) {
@@ -4206,7 +5192,7 @@ function endsTitle(text, from) {
4206
5192
  function titleAfter(text, from) {
4207
5193
  const start = whitespaceEnd(text, from);
4208
5194
  if (start < text.length) {
4209
- const lastEnd = lineEnd2(text, start);
5195
+ const lastEnd = lineEnd(text, start);
4210
5196
  let end = start + 1;
4211
5197
  while (end < lastEnd) {
4212
5198
  if (endsTitle(text, end)) return text.slice(start, end);
@@ -4287,7 +5273,7 @@ function conversationHeader(text) {
4287
5273
  }
4288
5274
  if (nextClose < inner + 1) nextClose = text.indexOf(close, inner + 1);
4289
5275
  if (nextClose === -1) return null;
4290
- const stop = lineEnd2(text, inner);
5276
+ const stop = lineEnd(text, inner);
4291
5277
  if (nextClose < stop)
4292
5278
  return { index: at, end: nextClose + close.length, inner: text.slice(inner, nextClose) };
4293
5279
  from = stop;
@@ -4423,7 +5409,7 @@ function withoutBaseDirectoryNote(text) {
4423
5409
  for (; ; ) {
4424
5410
  const note = text.indexOf(NOTE, from);
4425
5411
  if (note === -1) return text;
4426
- const end = lineEnd2(text, note);
5412
+ const end = lineEnd(text, note);
4427
5413
  if (nextPhrase < note + NOTE.length) nextPhrase = text.indexOf(PHRASE, note + NOTE.length);
4428
5414
  if (nextPhrase === -1) return text;
4429
5415
  if (nextPhrase < end) return text.slice(0, note) + text.slice(end);
@@ -4568,4 +5554,4 @@ function parseTriggerLines(output) {
4568
5554
  });
4569
5555
  }
4570
5556
 
4571
- 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_NAMES, 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, languageLabel, looksLikeMarkdown, masonryColumns, neutralizePastedTags, newConfigPrompt, newPastedContentId, normalizeLanguage, normalizeLatexDelimiters, openMarkdownLinkAtEnd, parseBackgroundWorkers, parseBalanceUsd, parseChannelMessage, parseGrepOutput, parseManifestText, parseMemoryEntryOutput, parseMemorySearchOutput, parsePeerMessagePrompt, parseReminderPrompt, parseRoomDigest, parseRoomPrompt, 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, spaceSlug, splitPastedContent, stripBashMetadata, stripChatMentionMarkup, stripMarkupForToolOutput, tagBlocks, toolRegistryCandidates, trimPastedText, truncateString, utf8Bytes, withoutEdgeQuotes, xmlBlocks };
5557
+ 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, fnv1a, 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, passesPixelMarkGate, peerHandleLabel, pixelMarkShape, 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 };