@kortix/ui 0.14.7 → 0.14.8

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 (78) hide show
  1. package/dist/_vendor/kortix-shared.js +1 -1
  2. package/dist/_vendor/shared/runtime-versions.d.ts +4 -0
  3. package/dist/access/access/access-dialog-share.js +4 -7
  4. package/dist/access/access/access-dialog.js +2 -1
  5. package/dist/access/access/principal-picker.js +6 -5
  6. package/dist/customize/agents/agent-cover-card.d.ts +17 -0
  7. package/dist/customize/agents/agent-cover-card.js +13 -0
  8. package/dist/customize/agents/agent-page.js +6 -33
  9. package/dist/customize/agents/agents-page.js +43 -49
  10. package/dist/customize/migrate-to-v2/migration-prompt.d.ts +1 -0
  11. package/dist/customize/migrate-to-v2/migration-prompt.js +1 -0
  12. package/dist/customize/sections/view/channels-view.js +2 -6
  13. package/dist/customize/shared/new-entity-menu.js +4 -1
  14. package/dist/customize/skills/skills-page.js +4 -5
  15. package/dist/customize/triggers/schedule/then-fields.js +1 -5
  16. package/dist/customize/triggers/schedule-view.js +4 -2
  17. package/dist/i18n/en.d.ts +60 -12
  18. package/dist/i18n/en.js +62 -14
  19. package/dist/internal/components/agent-mark.d.ts +38 -0
  20. package/dist/internal/components/agent-mark.js +38 -0
  21. package/dist/internal/lib/pixel-mark.d.ts +33 -0
  22. package/dist/internal/lib/pixel-mark.js +152 -0
  23. package/dist/internal/lib/use-project-feature-flags.js +3 -3
  24. package/dist/markdown/genui/components/inline.d.ts +1 -1
  25. package/dist/markdown/setup-links/app-credentials-form.d.ts +12 -0
  26. package/dist/markdown/setup-links/app-credentials-form.js +115 -0
  27. package/dist/markdown/setup-links/secret-intake-form.d.ts +10 -0
  28. package/dist/markdown/setup-links/secret-intake-form.js +1 -1
  29. package/dist/primitives/entity-avatar.d.ts +4 -1
  30. package/dist/primitives/entity-avatar.js +4 -2
  31. package/dist/primitives/user-avatar.d.ts +3 -1
  32. package/dist/primitives/user-avatar.js +4 -2
  33. package/dist/providers/ui-provider.d.ts +1 -1
  34. package/dist/session/composer/agent-selector.d.ts +7 -1
  35. package/dist/session/composer/agent-selector.js +20 -10
  36. package/dist/session/composer/context-usage.d.ts +5 -0
  37. package/dist/session/composer/context-usage.js +6 -1
  38. package/dist/session/composer/token-progress.js +4 -4
  39. package/dist/session/header/export-transcript-modal.d.ts +3 -2
  40. package/dist/session/header/export-transcript-modal.js +6 -3
  41. package/dist/session/models/model-selector.d.ts +3 -1
  42. package/dist/session/models/model-selector.js +3 -2
  43. package/dist/session/panel/easy/plan-card.d.ts +2 -0
  44. package/dist/session/panel/easy/plan-card.js +2 -0
  45. package/dist/session/thread/plan-surface.d.ts +1 -0
  46. package/dist/session/thread/plan-surface.js +1 -0
  47. package/dist/session/thread/session-chat.js +2 -2
  48. package/dist/session/thread/session-context-metrics.d.ts +15 -0
  49. package/dist/session/thread/session-context-metrics.js +10 -1
  50. package/dist/session/thread/session-context-modal.d.ts +4 -2
  51. package/dist/session/thread/session-context-modal.js +16 -9
  52. package/dist/session/thread/transcript.d.ts +4 -0
  53. package/dist/session/thread/transcript.js +18 -5
  54. package/dist/session/thread/turn-share.d.ts +16 -0
  55. package/dist/session/thread/turn-share.js +162 -0
  56. package/dist/session/tool/tools/apply-patch-tool.d.ts +1 -0
  57. package/dist/session/tool/tools/apply-patch-tool.js +1 -0
  58. package/dist/session/tool/tools/pty-kill-tool.d.ts +1 -0
  59. package/dist/session/tool/tools/pty-kill-tool.js +1 -0
  60. package/dist/session/tool/tools/pty-read-tool.d.ts +2 -0
  61. package/dist/session/tool/tools/pty-read-tool.js +2 -0
  62. package/dist/session/tool/tools/pty-spawn-tool.d.ts +1 -0
  63. package/dist/session/tool/tools/pty-spawn-tool.js +1 -0
  64. package/dist/session/tool/tools/pty-write-tool.d.ts +1 -0
  65. package/dist/session/tool/tools/pty-write-tool.js +1 -0
  66. package/dist/session/tool/tools/todo-write-tool.d.ts +1 -0
  67. package/dist/session/tool/tools/todo-write-tool.js +1 -0
  68. package/dist/session/turn/message-author-label.js +6 -2
  69. package/dist/session/turn/plan-anchor.d.ts +3 -0
  70. package/dist/session/turn/plan-anchor.js +3 -0
  71. package/dist/session/turn/plan-card.d.ts +7 -0
  72. package/dist/session/turn/plan-card.js +7 -0
  73. package/dist/styles.css +1 -1
  74. package/dist/terminal/session-terminal-connect-bar.js +2 -1
  75. package/dist/workspace/sidebar/session-brief-hover-card.js +28 -1
  76. package/package.json +11 -3
  77. package/dist/customize/agents/agent-nav.prototype.d.ts +0 -35
  78. package/dist/customize/agents/agent-nav.prototype.js +0 -95
@@ -200,6 +200,7 @@ const RING_TONE = {
200
200
  * ticks are precise but need counting, a pie is instant but coarse. Together
201
201
  * the glyph answers "roughly how far?" at a glance and "exactly how far?" on a
202
202
  * second look — at 18px, where a single encoding would have to pick one.
203
+ * @deprecated Renders an OpenCode-only tool or todo list in an OpenCode session (pi has none). OpenCode is sunset (2026-10-23): no new code; delete with OpenCode.
203
204
  */
204
205
  export function PlanRing({ done, total, running, className, }) {
205
206
  const tI18nComplete = useTranslations('hardcodedUi.i18nComplete');
@@ -221,11 +222,13 @@ export function PlanRing({ done, total, running, className, }) {
221
222
  * when a plan sits under it, and `ownsPlan` alone is not that answer: the anchor
222
223
  * falls back to the last turn when no turn ever wrote todos, so a session with
223
224
  * zero todos still nominates an owner.
225
+ * @deprecated Renders an OpenCode-only tool or todo list in an OpenCode session (pi has none). OpenCode is sunset (2026-10-23): no new code; delete with OpenCode.
224
226
  */
225
227
  export function useHasPlan(sessionId) {
226
228
  const { data } = useRuntimeSessionTodo(sessionId);
227
229
  return parseTodos(data).length > 0;
228
230
  }
231
+ /** @deprecated Renders an OpenCode-only tool or todo list in an OpenCode session (pi has none). OpenCode is sunset (2026-10-23): no new code; delete with OpenCode. */
229
232
  export function planSummary(todos) {
230
233
  const total = todos.length;
231
234
  const done = todos.filter((todo) => todo.status === 'completed').length;
@@ -255,6 +258,7 @@ export function planSummary(todos) {
255
258
  * Filtering AFTER `keyTodos` is deliberate. Keying first means the surviving
256
259
  * rows keep the keys they had while the running row was present, so React's
257
260
  * state stays attached to a row as the agent advances past it.
261
+ * @deprecated Renders an OpenCode-only tool or todo list in an OpenCode session (pi has none). OpenCode is sunset (2026-10-23): no new code; delete with OpenCode.
258
262
  */
259
263
  export function planListTodos(keyed) {
260
264
  return keyed.filter(({ todo }) => todo.status !== 'in_progress');
@@ -264,6 +268,7 @@ export function planListTodos(keyed) {
264
268
  * repeats a line often enough ("Run the tests" twice) that keying on it alone
265
269
  * collides. An occurrence counter disambiguates the repeat, which keeps React's
266
270
  * state attached to the row rather than to its position.
271
+ * @deprecated Renders an OpenCode-only tool or todo list in an OpenCode session (pi has none). OpenCode is sunset (2026-10-23): no new code; delete with OpenCode.
267
272
  */
268
273
  export function keyTodos(todos) {
269
274
  const seen = new Map();
@@ -273,6 +278,7 @@ export function keyTodos(todos) {
273
278
  return { todo, key: n === 0 ? todo.content : `${todo.content}#${n}` };
274
279
  });
275
280
  }
281
+ /** @deprecated Renders an OpenCode-only tool or todo list in an OpenCode session (pi has none). OpenCode is sunset (2026-10-23): no new code; delete with OpenCode. */
276
282
  export function PlanCard({ sessionId }) {
277
283
  const tI18nComplete = useTranslations('hardcodedUi.i18nComplete');
278
284
  const { data } = useRuntimeSessionTodo(sessionId);
@@ -306,6 +312,7 @@ export function PlanCard({ sessionId }) {
306
312
  *
307
313
  * Takes rows already keyed and filtered (`planListTodos(keyTodos(todos))`) —
308
314
  * the caller decides what the list is; this decides what it looks like.
315
+ * @deprecated Renders an OpenCode-only tool or todo list in an OpenCode session (pi has none). OpenCode is sunset (2026-10-23): no new code; delete with OpenCode.
309
316
  */
310
317
  export function PlanSteps({ rows, className, }) {
311
318
  return (