@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.
- package/dist/_vendor/kortix-shared.js +1 -1
- package/dist/_vendor/shared/runtime-versions.d.ts +4 -0
- package/dist/access/access/access-dialog-share.js +4 -7
- package/dist/access/access/access-dialog.js +2 -1
- package/dist/access/access/principal-picker.js +6 -5
- package/dist/customize/agents/agent-cover-card.d.ts +17 -0
- package/dist/customize/agents/agent-cover-card.js +13 -0
- package/dist/customize/agents/agent-page.js +6 -33
- package/dist/customize/agents/agents-page.js +43 -49
- package/dist/customize/migrate-to-v2/migration-prompt.d.ts +1 -0
- package/dist/customize/migrate-to-v2/migration-prompt.js +1 -0
- package/dist/customize/sections/view/channels-view.js +2 -6
- package/dist/customize/shared/new-entity-menu.js +4 -1
- package/dist/customize/skills/skills-page.js +4 -5
- package/dist/customize/triggers/schedule/then-fields.js +1 -5
- package/dist/customize/triggers/schedule-view.js +4 -2
- package/dist/i18n/en.d.ts +60 -12
- package/dist/i18n/en.js +62 -14
- package/dist/internal/components/agent-mark.d.ts +38 -0
- package/dist/internal/components/agent-mark.js +38 -0
- package/dist/internal/lib/pixel-mark.d.ts +33 -0
- package/dist/internal/lib/pixel-mark.js +152 -0
- package/dist/internal/lib/use-project-feature-flags.js +3 -3
- package/dist/markdown/genui/components/inline.d.ts +1 -1
- package/dist/markdown/setup-links/app-credentials-form.d.ts +12 -0
- package/dist/markdown/setup-links/app-credentials-form.js +115 -0
- package/dist/markdown/setup-links/secret-intake-form.d.ts +10 -0
- package/dist/markdown/setup-links/secret-intake-form.js +1 -1
- package/dist/primitives/entity-avatar.d.ts +4 -1
- package/dist/primitives/entity-avatar.js +4 -2
- package/dist/primitives/user-avatar.d.ts +3 -1
- package/dist/primitives/user-avatar.js +4 -2
- package/dist/providers/ui-provider.d.ts +1 -1
- package/dist/session/composer/agent-selector.d.ts +7 -1
- package/dist/session/composer/agent-selector.js +20 -10
- package/dist/session/composer/context-usage.d.ts +5 -0
- package/dist/session/composer/context-usage.js +6 -1
- package/dist/session/composer/token-progress.js +4 -4
- package/dist/session/header/export-transcript-modal.d.ts +3 -2
- package/dist/session/header/export-transcript-modal.js +6 -3
- package/dist/session/models/model-selector.d.ts +3 -1
- package/dist/session/models/model-selector.js +3 -2
- package/dist/session/panel/easy/plan-card.d.ts +2 -0
- package/dist/session/panel/easy/plan-card.js +2 -0
- package/dist/session/thread/plan-surface.d.ts +1 -0
- package/dist/session/thread/plan-surface.js +1 -0
- package/dist/session/thread/session-chat.js +2 -2
- package/dist/session/thread/session-context-metrics.d.ts +15 -0
- package/dist/session/thread/session-context-metrics.js +10 -1
- package/dist/session/thread/session-context-modal.d.ts +4 -2
- package/dist/session/thread/session-context-modal.js +16 -9
- package/dist/session/thread/transcript.d.ts +4 -0
- package/dist/session/thread/transcript.js +18 -5
- package/dist/session/thread/turn-share.d.ts +16 -0
- package/dist/session/thread/turn-share.js +162 -0
- package/dist/session/tool/tools/apply-patch-tool.d.ts +1 -0
- package/dist/session/tool/tools/apply-patch-tool.js +1 -0
- package/dist/session/tool/tools/pty-kill-tool.d.ts +1 -0
- package/dist/session/tool/tools/pty-kill-tool.js +1 -0
- package/dist/session/tool/tools/pty-read-tool.d.ts +2 -0
- package/dist/session/tool/tools/pty-read-tool.js +2 -0
- package/dist/session/tool/tools/pty-spawn-tool.d.ts +1 -0
- package/dist/session/tool/tools/pty-spawn-tool.js +1 -0
- package/dist/session/tool/tools/pty-write-tool.d.ts +1 -0
- package/dist/session/tool/tools/pty-write-tool.js +1 -0
- package/dist/session/tool/tools/todo-write-tool.d.ts +1 -0
- package/dist/session/tool/tools/todo-write-tool.js +1 -0
- package/dist/session/turn/message-author-label.js +6 -2
- package/dist/session/turn/plan-anchor.d.ts +3 -0
- package/dist/session/turn/plan-anchor.js +3 -0
- package/dist/session/turn/plan-card.d.ts +7 -0
- package/dist/session/turn/plan-card.js +7 -0
- package/dist/styles.css +1 -1
- package/dist/terminal/session-terminal-connect-bar.js +2 -1
- package/dist/workspace/sidebar/session-brief-hover-card.js +28 -1
- package/package.json +11 -3
- package/dist/customize/agents/agent-nav.prototype.d.ts +0 -35
- 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 (
|