@kortix/ui 0.15.0 → 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 (173) hide show
  1. package/dist/_vendor/kortix-shared.js +233 -130
  2. package/dist/_vendor/shared/code-language.d.ts +2 -2
  3. package/dist/_vendor/shared/html.d.ts +7 -0
  4. package/dist/_vendor/shared/index.d.ts +1 -0
  5. package/dist/_vendor/shared/pixel-mark.d.ts +28 -0
  6. package/dist/_vendor/shared/runtime-versions.d.ts +2 -6
  7. package/dist/_vendor/shared/tool-output/media-path.d.ts +1 -6
  8. package/dist/_vendor/shared/tool-output/scan.d.ts +2 -0
  9. package/dist/_vendor/shared/utils/string.d.ts +6 -0
  10. package/dist/artifacts/artifact-session.js +4 -3
  11. package/dist/customize/agents/agent-page.js +5 -5
  12. package/dist/customize/agents/agent-status.js +1 -1
  13. package/dist/customize/agents/agents-page.js +3 -3
  14. package/dist/customize/connectors/use-agent-access.d.ts +3 -3
  15. package/dist/customize/sections/connectors-view.js +50 -37
  16. package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.js +21 -18
  17. package/dist/customize/sections/llm-provider/device-grant.d.ts +15 -0
  18. package/dist/customize/sections/llm-provider/device-grant.js +27 -0
  19. package/dist/customize/sections/view/agent-editor.d.ts +2 -2
  20. package/dist/customize/sections/view/agent-editor.js +2 -2
  21. package/dist/customize/sections/view/review-center-connected.js +37 -6
  22. package/dist/customize/sections/view/secret-delivery.d.ts +4 -5
  23. package/dist/customize/sections/view/secret-delivery.js +5 -4
  24. package/dist/customize/triggers/schedule/trigger-runs-logic.d.ts +6 -0
  25. package/dist/customize/triggers/schedule/trigger-runs-logic.js +13 -0
  26. package/dist/customize/triggers/schedule/trigger-runs-panel.js +9 -2
  27. package/dist/files/project/api/runtime-files.d.ts +2 -2
  28. package/dist/files/project/api/runtime-files.js +2 -2
  29. package/dist/files/project/components/drive-explorer.js +1 -1
  30. package/dist/files/project/components/drive-grid-view.js +0 -1
  31. package/dist/files/project/components/drive-list-view.js +0 -1
  32. package/dist/files/project/components/file-explorer-page.js +1 -1
  33. package/dist/files/project/hooks/index.d.ts +1 -1
  34. package/dist/files/project/hooks/index.js +1 -1
  35. package/dist/files/project/hooks/use-server-health.d.ts +1 -1
  36. package/dist/files/project/hooks/use-server-health.js +1 -1
  37. package/dist/files/project/search/workspace-search-service.d.ts +1 -1
  38. package/dist/files/project/search/workspace-search-service.js +1 -1
  39. package/dist/files/runtime/hooks/index.d.ts +1 -1
  40. package/dist/files/runtime/hooks/index.js +1 -1
  41. package/dist/files/runtime/hooks/server-health-state.d.ts +2 -2
  42. package/dist/files/runtime/hooks/server-health-state.js +2 -2
  43. package/dist/files/runtime/hooks/system-dir.js +2 -2
  44. package/dist/files/runtime/hooks/use-file-content.d.ts +1 -1
  45. package/dist/files/runtime/hooks/use-file-content.js +1 -1
  46. package/dist/files/runtime/hooks/use-file-list.d.ts +1 -1
  47. package/dist/files/runtime/hooks/use-file-list.js +3 -3
  48. package/dist/files/runtime/hooks/use-server-health.d.ts +2 -2
  49. package/dist/files/runtime/hooks/use-server-health.js +3 -3
  50. package/dist/files/runtime/hooks/use-workspace-search.d.ts +1 -2
  51. package/dist/files/runtime/hooks/use-workspace-search.js +0 -1
  52. package/dist/files/runtime/index.d.ts +2 -2
  53. package/dist/files/runtime/index.js +2 -2
  54. package/dist/files/runtime/path-utils.d.ts +1 -1
  55. package/dist/files/runtime/path-utils.js +1 -1
  56. package/dist/files/runtime/sandbox-explorer-source.d.ts +1 -1
  57. package/dist/files/runtime/sandbox-explorer-source.js +1 -1
  58. package/dist/files/runtime/sandbox-file-explorer.d.ts +1 -1
  59. package/dist/files/runtime/sandbox-file-explorer.js +2 -2
  60. package/dist/files/tree/components/file-tree-item.js +0 -1
  61. package/dist/files/tree/hooks/use-file-events.d.ts +1 -1
  62. package/dist/files/tree/hooks/use-file-events.js +1 -1
  63. package/dist/i18n/en.d.ts +63 -1
  64. package/dist/i18n/en.js +79 -17
  65. package/dist/internal/files/file-read-retry.js +1 -1
  66. package/dist/internal/files/types.d.ts +2 -2
  67. package/dist/internal/files/types.js +2 -2
  68. package/dist/internal/goals/goal-meta.d.ts +33 -14
  69. package/dist/internal/goals/goal-meta.js +55 -13
  70. package/dist/internal/layout/nav-hover-card.d.ts +1 -1
  71. package/dist/internal/layout/nav-hover-card.js +1 -1
  72. package/dist/internal/layout/project-capability-nav.d.ts +1 -1
  73. package/dist/internal/layout/project-capability-nav.js +1 -1
  74. package/dist/internal/lib/browser-error-noise.d.ts +1 -1
  75. package/dist/internal/lib/browser-error-noise.js +1 -1
  76. package/dist/internal/lib/browser-noise/rules/expected-states.js +1 -1
  77. package/dist/internal/lib/browser-noise/rules/injected-scripts.js +18 -0
  78. package/dist/internal/lib/browser-noise/rules/old-browsers.d.ts +1 -0
  79. package/dist/internal/lib/browser-noise/rules/old-browsers.js +1 -1
  80. package/dist/internal/lib/browser-noise/rules/rejections.d.ts +0 -9
  81. package/dist/internal/lib/browser-noise/rules/rejections.js +0 -14
  82. package/dist/internal/lib/delivered-but-disconnected.js +3 -5
  83. package/dist/internal/lib/error-handler.js +8 -3
  84. package/dist/internal/lib/pixel-mark.d.ts +4 -17
  85. package/dist/internal/lib/pixel-mark.js +5 -148
  86. package/dist/internal/lib/sounds.d.ts +4 -4
  87. package/dist/internal/lib/sounds.js +4 -4
  88. package/dist/internal/lib/use-project-feature-flags.js +3 -1
  89. package/dist/internal/stores/composer-prefill-store.js +4 -1
  90. package/dist/internal/stores/sound-store.d.ts +4 -4
  91. package/dist/internal/stores/sound-store.js +10 -0
  92. package/dist/markdown/code/shiki-highlighter.js +14 -5
  93. package/dist/markdown/file-links.js +12 -3
  94. package/dist/markdown/markdown-frontmatter.d.ts +6 -6
  95. package/dist/markdown/markdown-frontmatter.js +3 -3
  96. package/dist/primitives/button.js +2 -1
  97. package/dist/session/agents/held-messages.d.ts +1 -5
  98. package/dist/session/agents/held-messages.js +1 -21
  99. package/dist/session/composer/ComposerAboveCard.d.ts +4 -1
  100. package/dist/session/composer/ComposerAboveCard.js +2 -2
  101. package/dist/session/composer/composer-chat-input.d.ts +1 -1
  102. package/dist/session/composer/composer-chat-input.js +2 -2
  103. package/dist/session/composer/composer.js +16 -1
  104. package/dist/session/composer/hooks/use-file-search.d.ts +15 -15
  105. package/dist/session/composer/hooks/use-file-search.js +16 -16
  106. package/dist/session/composer/menus/mention-controller.js +1 -3
  107. package/dist/session/composer/menus/space-mentions.d.ts +14 -4
  108. package/dist/session/composer/menus/space-mentions.js +17 -1
  109. package/dist/session/composer/use-instant-session-send.js +2 -2
  110. package/dist/session/header/session-goal-indicator.js +4 -4
  111. package/dist/session/panel/easy/plan-card.d.ts +2 -2
  112. package/dist/session/panel/easy/plan-card.js +2 -2
  113. package/dist/session/panel/session-desktop.js +6 -0
  114. package/dist/session/panel/use-session-panel-state.js +2 -2
  115. package/dist/session/status/sandbox-loading-boundary.js +2 -2
  116. package/dist/session/status/session-terminal-state.d.ts +47 -0
  117. package/dist/session/status/session-terminal-state.js +56 -0
  118. package/dist/session/thread/plan-surface.d.ts +1 -1
  119. package/dist/session/thread/plan-surface.js +1 -1
  120. package/dist/session/thread/session-chat.d.ts +1 -1
  121. package/dist/session/thread/session-chat.js +88 -99
  122. package/dist/session/thread/stop-sequence.d.ts +51 -0
  123. package/dist/session/thread/stop-sequence.js +55 -0
  124. package/dist/session/thread/transcript.d.ts +2 -2
  125. package/dist/session/thread/transcript.js +2 -2
  126. package/dist/session/tool/tools/apply-patch-tool.d.ts +1 -1
  127. package/dist/session/tool/tools/apply-patch-tool.js +1 -1
  128. package/dist/session/tool/tools/kortix-action-tool.js +1 -1
  129. package/dist/session/tool/tools/multi-agent-tool-bodies.d.ts +1 -1
  130. package/dist/session/tool/tools/multi-agent-tool-bodies.js +1 -1
  131. package/dist/session/tool/tools/multi-agent-tools.js +1 -1
  132. package/dist/session/tool/tools/pty-kill-tool.d.ts +1 -1
  133. package/dist/session/tool/tools/pty-kill-tool.js +1 -1
  134. package/dist/session/tool/tools/pty-read-tool.d.ts +2 -2
  135. package/dist/session/tool/tools/pty-read-tool.js +2 -2
  136. package/dist/session/tool/tools/pty-spawn-tool.d.ts +1 -1
  137. package/dist/session/tool/tools/pty-spawn-tool.js +1 -1
  138. package/dist/session/tool/tools/pty-write-tool.d.ts +1 -1
  139. package/dist/session/tool/tools/pty-write-tool.js +1 -1
  140. package/dist/session/tool/tools/todo-write-tool.d.ts +1 -1
  141. package/dist/session/tool/tools/todo-write-tool.js +1 -1
  142. package/dist/session/turn/peer-message-row.d.ts +1 -10
  143. package/dist/session/turn/peer-message-row.js +1 -18
  144. package/dist/session/turn/plan-anchor.d.ts +3 -3
  145. package/dist/session/turn/plan-anchor.js +3 -3
  146. package/dist/session/turn/plan-card.d.ts +7 -7
  147. package/dist/session/turn/plan-card.js +7 -7
  148. package/dist/styles.css +1 -1
  149. package/dist/terminal/terminal-card-gate.d.ts +6 -3
  150. package/dist/terminal/terminal-card-gate.js +21 -4
  151. package/dist/workspace/index.d.ts +1 -1
  152. package/dist/workspace/index.js +1 -1
  153. package/dist/workspace/review/review-center.d.ts +8 -2
  154. package/dist/workspace/review/review-center.js +44 -13
  155. package/dist/workspace/review/review-reducer.d.ts +7 -0
  156. package/dist/workspace/review/review-reducer.js +11 -0
  157. package/dist/workspace/sidebar/footer/project-artifacts-nav.d.ts +6 -1
  158. package/dist/workspace/sidebar/footer/project-artifacts-nav.js +47 -4
  159. package/dist/workspace/sidebar/project-nav-items.js +11 -12
  160. package/dist/workspace/spaces/principal-card.d.ts +3 -1
  161. package/dist/workspace/spaces/principal-card.js +3 -3
  162. package/dist/workspace/spaces/space-agent-ask.d.ts +14 -0
  163. package/dist/workspace/spaces/space-agent-ask.js +36 -0
  164. package/dist/workspace/spaces/space-details-dialog.js +1 -1
  165. package/dist/workspace/spaces/space-details-panel.d.ts +2 -1
  166. package/dist/workspace/spaces/space-details-panel.js +62 -8
  167. package/dist/workspace/spaces/space-mention-source.d.ts +3 -2
  168. package/dist/workspace/spaces/space-mention-source.js +12 -19
  169. package/dist/workspace/spaces/space-view.js +3 -2
  170. package/package.json +3 -3
  171. package/skills/kortix-ui/references/modules.md +1 -1
  172. package/dist/session/tool/tools/multi-agent-tool-data.d.ts +0 -63
  173. package/dist/session/tool/tools/multi-agent-tool-data.js +0 -118
@@ -1,3 +1,3 @@
1
1
  import type { ToolProps } from '../shared/types.js';
2
- /** @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. */
2
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
3
3
  export declare function PtyWriteTool({ call, defaultOpen, forceOpen, locked }: ToolProps): import("react").JSX.Element;
@@ -5,7 +5,7 @@ import { ToolRegistry } from '../shared/registry.js';
5
5
  import { ToolResultCard } from '../shared/result-card.js';
6
6
  import { TerminalWindowIcon as Terminal } from '@phosphor-icons/react';
7
7
  import { useTranslations } from '../../../i18n/index.js';
8
- /** @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. */
8
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
9
9
  export function PtyWriteTool({ call, defaultOpen, forceOpen, locked }) {
10
10
  const tHardcodedUi = useTranslations('hardcodedUi');
11
11
  const input = partInput(call);
@@ -1,3 +1,3 @@
1
1
  import type { ToolProps } from '../shared/types.js';
2
- /** @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. */
2
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
3
3
  export declare function TodoWriteTool({ call, defaultOpen, forceOpen, locked }: ToolProps): import("react").JSX.Element;
@@ -9,7 +9,7 @@ import { cn } from '../../../lib/utils.js';
9
9
  import { ListChecksIcon as ListTodo } from '@phosphor-icons/react';
10
10
  import { useTranslations } from '../../../i18n/index.js';
11
11
  import { useMemo } from 'react';
12
- /** @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. */
12
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
13
13
  export function TodoWriteTool({ call, defaultOpen, forceOpen, locked }) {
14
14
  const tI18nHardcoded = useTranslations('hardcodedUi');
15
15
  const input = partInput(call);
@@ -1,4 +1,4 @@
1
- import type { PeerMessageKind, PeerMessagePromptInfo } from '../../_vendor/shared/index.js';
1
+ import type { PeerMessagePromptInfo } from '../../_vendor/shared/index.js';
2
2
  /**
3
3
  * A message another Kortix session sent this one (`send_message`). Nobody here
4
4
  * typed it, so it is never a bubble: it is an agent row, the sender's face and
@@ -12,15 +12,6 @@ import type { PeerMessageKind, PeerMessagePromptInfo } from '../../_vendor/share
12
12
  * An idle notice says only that a teammate finished: one row like an agent's
13
13
  * finish, that opens to the rest. A shutdown request and its answer say so on the right.
14
14
  */
15
- /**
16
- * The preview after the sender: the summary, else the first line of the text. CSS cuts it with `…`.
17
- * An idle notice (`firePeerIdleNotices` in the API) previews its "Its last answer:" line; its
18
- * first line ("reviewer finished its turn and is idle.") repeats the headline, so it shows only
19
- * when it says something else (an error).
20
- */
21
- export declare function peerMessagePreview(info: Pick<PeerMessagePromptInfo, 'summary' | 'text'> & {
22
- kind?: PeerMessageKind;
23
- }): string;
24
15
  /** An idle notice's text without the line that repeats the state, and its answer without the "Its last answer:" label. */
25
16
  export declare function idleNoticeBody(text: string): string;
26
17
  export declare function PeerMessageRow({ info, actions }: {
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { peerMessagePreview } from '@kortix/sdk';
3
4
  import { peerHandleLabel } from '../../_vendor/kortix-shared.js';
4
5
  import { useTranslations } from '../../i18n/index.js';
5
6
  import { UnifiedMarkdown } from '../../markdown/unified-markdown.js';
@@ -18,24 +19,6 @@ import { BasicTool } from '../tool/shared/infrastructure.js';
18
19
  * An idle notice says only that a teammate finished: one row like an agent's
19
20
  * finish, that opens to the rest. A shutdown request and its answer say so on the right.
20
21
  */
21
- /**
22
- * The preview after the sender: the summary, else the first line of the text. CSS cuts it with `…`.
23
- * An idle notice (`firePeerIdleNotices` in the API) previews its "Its last answer:" line; its
24
- * first line ("reviewer finished its turn and is idle.") repeats the headline, so it shows only
25
- * when it says something else (an error).
26
- */
27
- export function peerMessagePreview(info) {
28
- if (info.summary?.trim())
29
- return info.summary.trim();
30
- const lines = info.text.split('\n').map((line) => line.trim()).filter(Boolean);
31
- if (info.kind === 'idle_notice') {
32
- const answer = lines.find((line) => line.startsWith('Its last answer:'));
33
- if (answer)
34
- return answer.slice('Its last answer:'.length).trim();
35
- return lines[0] && !/finished its turn and is idle\.?$/.test(lines[0]) ? lines[0] : '';
36
- }
37
- return lines[0] ?? '';
38
- }
39
22
  /** An idle notice's text without the line that repeats the state, and its answer without the "Its last answer:" label. */
40
23
  export function idleNoticeBody(text) {
41
24
  // Only the platform's two lines change; the answer itself keeps its Markdown (indents, blank lines).
@@ -27,7 +27,7 @@ import { type SessionLogTurn } from '@kortix/sdk';
27
27
  * A tool call that writes the plan. The runtime emits more than one spelling
28
28
  * (`todowrite`, `todo_write`); `toolKind` owns them. The todo READ shares the
29
29
  * kind and never renders (`shouldShowToolPart`), so it is not a plan write.
30
- * @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.
30
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
31
31
  */
32
32
  export declare function isPlanWriteTool(tool: string): boolean;
33
33
  /**
@@ -81,7 +81,7 @@ export interface PlanSurfaceState {
81
81
  * whether the panel is OPEN deliberately does not enter into it. */
82
82
  isMobile: boolean;
83
83
  }
84
- /** @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. */
84
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
85
85
  export declare function planBelongsToChat(state: PlanSurfaceState): boolean;
86
86
  /**
87
87
  * The anchor the CHAT should use — which is "none" unless the chat is the
@@ -90,6 +90,6 @@ export declare function planBelongsToChat(state: PlanSurfaceState): boolean;
90
90
  * The gate wraps the lookup rather than sitting beside it: returning `null` (which matches no message id) means every `ownsPlan`
91
91
  * downstream, including the user bubble's own column cap, falls out of ONE
92
92
  * decision instead of two that can disagree.
93
- * @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.
93
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
94
94
  */
95
95
  export declare function chatPlanAnchorId(turns: ReadonlyArray<Pick<SessionLogTurn, 'id' | 'plan'>> | null | undefined, chatOwnsPlan: boolean): string | null;
@@ -27,7 +27,7 @@ import { shouldShowToolPart, toolKind } from '@kortix/sdk';
27
27
  * A tool call that writes the plan. The runtime emits more than one spelling
28
28
  * (`todowrite`, `todo_write`); `toolKind` owns them. The todo READ shares the
29
29
  * kind and never renders (`shouldShowToolPart`), so it is not a plan write.
30
- * @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.
30
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
31
31
  */
32
32
  export function isPlanWriteTool(tool) {
33
33
  return toolKind(tool) === 'todowrite' && shouldShowToolPart({ tool });
@@ -42,7 +42,7 @@ export function isPlanWriteTool(tool) {
42
42
  export function planAnchorMessageId(turns) {
43
43
  return turns.find((turn) => turn.plan)?.id ?? null;
44
44
  }
45
- /** @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. */
45
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
46
46
  export function planBelongsToChat(state) {
47
47
  return state.isMobile;
48
48
  }
@@ -53,7 +53,7 @@ export function planBelongsToChat(state) {
53
53
  * The gate wraps the lookup rather than sitting beside it: returning `null` (which matches no message id) means every `ownsPlan`
54
54
  * downstream, including the user bubble's own column cap, falls out of ONE
55
55
  * decision instead of two that can disagree.
56
- * @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.
56
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
57
57
  */
58
58
  export function chatPlanAnchorId(turns, chatOwnsPlan) {
59
59
  if (!chatOwnsPlan || !turns)
@@ -28,7 +28,7 @@ export declare function planRingState(done: number, total: number, running: bool
28
28
  * ticks are precise but need counting, a pie is instant but coarse. Together
29
29
  * the glyph answers "roughly how far?" at a glance and "exactly how far?" on a
30
30
  * second look — at 18px, where a single encoding would have to pick one.
31
- * @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.
31
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
32
32
  */
33
33
  export declare function PlanRing({ done, total, running, className, }: {
34
34
  done: number;
@@ -44,10 +44,10 @@ export declare function PlanRing({ done, total, running, className, }: {
44
44
  * when a plan sits under it, and `ownsPlan` alone is not that answer: the anchor
45
45
  * falls back to the last turn when no turn ever wrote todos, so a session with
46
46
  * zero todos still nominates an owner.
47
- * @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.
47
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
48
48
  */
49
49
  export declare function useHasPlan(sessionId: string): boolean;
50
- /** @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. */
50
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
51
51
  export declare function planSummary(todos: ReadonlyArray<{
52
52
  status: string;
53
53
  content: string;
@@ -74,7 +74,7 @@ export declare function planSummary(todos: ReadonlyArray<{
74
74
  * Filtering AFTER `keyTodos` is deliberate. Keying first means the surviving
75
75
  * rows keep the keys they had while the running row was present, so React's
76
76
  * state stays attached to a row as the agent advances past it.
77
- * @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.
77
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
78
78
  */
79
79
  export declare function planListTodos(keyed: ReadonlyArray<{
80
80
  todo: TodoItem;
@@ -88,13 +88,13 @@ export declare function planListTodos(keyed: ReadonlyArray<{
88
88
  * repeats a line often enough ("Run the tests" twice) that keying on it alone
89
89
  * collides. An occurrence counter disambiguates the repeat, which keeps React's
90
90
  * state attached to the row rather than to its position.
91
- * @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.
91
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
92
92
  */
93
93
  export declare function keyTodos(todos: ReadonlyArray<TodoItem>): Array<{
94
94
  todo: TodoItem;
95
95
  key: string;
96
96
  }>;
97
- /** @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. */
97
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
98
98
  export declare function PlanCard({ sessionId }: {
99
99
  sessionId: string;
100
100
  }): import("react").JSX.Element | null;
@@ -109,7 +109,7 @@ export declare function PlanCard({ sessionId }: {
109
109
  *
110
110
  * Takes rows already keyed and filtered (`planListTodos(keyTodos(todos))`) —
111
111
  * the caller decides what the list is; this decides what it looks like.
112
- * @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.
112
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
113
113
  */
114
114
  export declare function PlanSteps({ rows, className, }: {
115
115
  rows: ReadonlyArray<{
@@ -200,7 +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
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
204
204
  */
205
205
  export function PlanRing({ done, total, running, className, }) {
206
206
  const tI18nComplete = useTranslations('hardcodedUi.i18nComplete');
@@ -222,13 +222,13 @@ export function PlanRing({ done, total, running, className, }) {
222
222
  * when a plan sits under it, and `ownsPlan` alone is not that answer: the anchor
223
223
  * falls back to the last turn when no turn ever wrote todos, so a session with
224
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.
225
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
226
226
  */
227
227
  export function useHasPlan(sessionId) {
228
228
  const { data } = useRuntimeSessionTodo(sessionId);
229
229
  return parseTodos(data).length > 0;
230
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. */
231
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
232
232
  export function planSummary(todos) {
233
233
  const total = todos.length;
234
234
  const done = todos.filter((todo) => todo.status === 'completed').length;
@@ -258,7 +258,7 @@ export function planSummary(todos) {
258
258
  * Filtering AFTER `keyTodos` is deliberate. Keying first means the surviving
259
259
  * rows keep the keys they had while the running row was present, so React's
260
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.
261
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
262
262
  */
263
263
  export function planListTodos(keyed) {
264
264
  return keyed.filter(({ todo }) => todo.status !== 'in_progress');
@@ -268,7 +268,7 @@ export function planListTodos(keyed) {
268
268
  * repeats a line often enough ("Run the tests" twice) that keying on it alone
269
269
  * collides. An occurrence counter disambiguates the repeat, which keeps React's
270
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.
271
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
272
272
  */
273
273
  export function keyTodos(todos) {
274
274
  const seen = new Map();
@@ -278,7 +278,7 @@ export function keyTodos(todos) {
278
278
  return { todo, key: n === 0 ? todo.content : `${todo.content}#${n}` };
279
279
  });
280
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. */
281
+ /** @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code. */
282
282
  export function PlanCard({ sessionId }) {
283
283
  const tI18nComplete = useTranslations('hardcodedUi.i18nComplete');
284
284
  const { data } = useRuntimeSessionTodo(sessionId);
@@ -312,7 +312,7 @@ export function PlanCard({ sessionId }) {
312
312
  *
313
313
  * Takes rows already keyed and filtered (`planListTodos(keyTodos(todos))`) —
314
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.
315
+ * @deprecated Renders an OpenCode-only tool or todo list (pi has none). Only a transcript OpenCode wrote holds one; this keeps it readable. No new code.
316
316
  */
317
317
  export function PlanSteps({ rows, className, }) {
318
318
  return (