@kortix/ui 0.15.8 → 0.15.9

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 (90) hide show
  1. package/dist/_vendor/kortix-shared.js +4 -1
  2. package/dist/access/access/access-dialog-share.js +12 -6
  3. package/dist/access/access/share-selection.d.ts +9 -0
  4. package/dist/access/access/share-selection.js +64 -0
  5. package/dist/customize/connectors/connector-identity.js +3 -3
  6. package/dist/customize/connectors/detail/app-page.js +2 -2
  7. package/dist/customize/connectors/detail/connector-accounts.d.ts +3 -1
  8. package/dist/customize/connectors/detail/connector-accounts.js +2 -2
  9. package/dist/customize/connectors/detail/connector-notice-view.d.ts +4 -0
  10. package/dist/customize/connectors/detail/connector-notice-view.js +4 -0
  11. package/dist/customize/connectors/detail/connector-notice.d.ts +31 -4
  12. package/dist/customize/connectors/detail/connector-notice.js +23 -4
  13. package/dist/customize/connectors/detail/connector-page.js +27 -7
  14. package/dist/customize/connectors/detail/connector-status.d.ts +12 -1
  15. package/dist/customize/connectors/detail/connector-status.js +11 -0
  16. package/dist/customize/connectors/detail/status-badge.d.ts +3 -3
  17. package/dist/customize/connectors/detail/status-badge.js +2 -1
  18. package/dist/customize/connectors/detail/use-connector-detail.js +10 -2
  19. package/dist/customize/connectors/detail/use-mcp-oauth-sign-in.d.ts +13 -0
  20. package/dist/customize/connectors/detail/use-mcp-oauth-sign-in.js +29 -0
  21. package/dist/customize/providers/provider-accordion.js +5 -4
  22. package/dist/customize/providers/provider-connect.js +3 -1
  23. package/dist/customize/providers/provider-sheet.js +9 -4
  24. package/dist/customize/sections/component/email-connect-form.js +4 -2
  25. package/dist/customize/sections/connectors-view.d.ts +4 -1
  26. package/dist/customize/sections/connectors-view.js +42 -7
  27. package/dist/customize/sections/view/account-secret-resources-panel.d.ts +15 -0
  28. package/dist/customize/sections/view/account-secret-resources-panel.js +44 -5
  29. package/dist/customize/sections/view/secret-delivery.d.ts +9 -2
  30. package/dist/customize/sections/view/secret-delivery.js +14 -4
  31. package/dist/customize/sections/view/secrets-view.js +21 -5
  32. package/dist/customize/triggers/schedule/schedule-builder.js +1 -1
  33. package/dist/customize/triggers/schedule/schedule-copy.js +4 -0
  34. package/dist/customize/triggers/schedule/schedule-detail-sheet.js +14 -3
  35. package/dist/customize/triggers/schedule/then-fields.d.ts +3 -1
  36. package/dist/customize/triggers/schedule/then-fields.js +8 -4
  37. package/dist/customize/triggers/schedule/trigger-composer.js +1 -1
  38. package/dist/customize/triggers/schedule/trigger-list.d.ts +3 -1
  39. package/dist/customize/triggers/schedule/trigger-list.js +18 -2
  40. package/dist/customize/triggers/schedule/trigger-runs-logic.js +4 -2
  41. package/dist/customize/triggers/schedule/trigger-runs-panel.js +4 -1
  42. package/dist/files/renderers/pptx-renderer.js +5 -20
  43. package/dist/files/renderers/presentation/FullScreenPresentationViewer.d.ts +3 -2
  44. package/dist/files/renderers/presentation/FullScreenPresentationViewer.js +23 -304
  45. package/dist/files/renderers/presentation/presentation-export-menu.d.ts +14 -0
  46. package/dist/files/renderers/presentation/presentation-export-menu.js +44 -0
  47. package/dist/files/renderers/presentation/presentation-utils.d.ts +1 -0
  48. package/dist/files/renderers/presentation/presentation-utils.js +4 -0
  49. package/dist/files/renderers/presentation/slide-iframe.d.ts +23 -0
  50. package/dist/files/renderers/presentation/slide-iframe.js +61 -0
  51. package/dist/files/renderers/presentation/use-presentation-metadata.d.ts +39 -0
  52. package/dist/files/renderers/presentation/use-presentation-metadata.js +137 -0
  53. package/dist/files/renderers/presentation/use-slide-navigation.d.ts +17 -0
  54. package/dist/files/renderers/presentation/use-slide-navigation.js +82 -0
  55. package/dist/files/renderers/shared/use-stage-fit-scale.d.ts +19 -0
  56. package/dist/files/renderers/shared/use-stage-fit-scale.js +41 -0
  57. package/dist/files/renderers/show-content-renderer.js +16 -11
  58. package/dist/files/renderers/xlsx/xlsx-renderer.d.ts +4 -13
  59. package/dist/files/renderers/xlsx/xlsx-renderer.js +6 -63
  60. package/dist/files/renderers/xlsx/xlsx-viewer.d.ts +4 -2
  61. package/dist/files/renderers/xlsx/xlsx-viewer.js +28 -34
  62. package/dist/files/viewer/file-content-renderer.js +1 -4
  63. package/dist/files/viewer/use-file-content-state.js +10 -9
  64. package/dist/i18n/en.d.ts +48 -0
  65. package/dist/i18n/en.js +51 -3
  66. package/dist/internal/chrome/use-chrome-offered.d.ts +2 -1
  67. package/dist/internal/chrome/use-chrome-offered.js +4 -2
  68. package/dist/internal/hooks/connectors/use-finish-sign-in.d.ts +13 -0
  69. package/dist/internal/hooks/connectors/use-finish-sign-in.js +33 -0
  70. package/dist/internal/hooks/connectors/use-pipedream-connect-member.js +6 -1
  71. package/dist/internal/hooks/connectors/use-pipedream-connect-project.js +6 -1
  72. package/dist/internal/lib/error-handler.js +33 -0
  73. package/dist/internal/lib/trigger-clock.d.ts +7 -2
  74. package/dist/internal/lib/trigger-clock.js +17 -3
  75. package/dist/lib/z-stack.d.ts +5 -1
  76. package/dist/lib/z-stack.js +12 -2
  77. package/dist/session/models/model-connection-gate.js +16 -3
  78. package/dist/session/models/model-picker-panel.js +6 -2
  79. package/dist/session/models/provider-key-action.d.ts +10 -0
  80. package/dist/session/models/provider-key-action.js +35 -0
  81. package/dist/session/models/provider-key-slot.d.ts +9 -0
  82. package/dist/session/models/provider-key-slot.js +19 -0
  83. package/dist/session/prompts/session-connect-prompt.d.ts +40 -0
  84. package/dist/session/prompts/session-connect-prompt.js +126 -0
  85. package/dist/session/status/session-error-banner.d.ts +1 -1
  86. package/dist/session/status/session-error-banner.js +12 -4
  87. package/dist/session/thread/session-chat.js +7 -2
  88. package/dist/session/thread/transcript.js +31 -7
  89. package/dist/test-utils/intl.d.ts +48 -0
  90. package/package.json +3 -3
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Gateway codes a person fixes on the provider's account in Models: no key,
3
+ * a key the provider refused, an expired provider login, a provider account
4
+ * with no funds (`providerClientErrorBody`, `resolve-candidates.ts`).
5
+ */
6
+ const FIXED_IN_MODELS = new Set([
7
+ 'provider_not_connected',
8
+ 'provider_key_rejected',
9
+ 'provider_reauth_required',
10
+ 'provider_payment_required',
11
+ ]);
12
+ /** Providers with their own fix: ChatGPT (`chatGptConnectionAction`) and Claude (`claudeConnectionAction`). */
13
+ const OWN_FIX = new Set(['codex', 'openai-codex', 'claude-agent']);
14
+ /** The provider a gateway model id names (`anthropic/claude-x` → `anthropic`), without OpenCode's `kortix/`. */
15
+ function providerOfModel(model) {
16
+ const id = (model ?? '').replace(/^kortix\//, '');
17
+ const slash = id.indexOf('/');
18
+ return slash > 0 ? id.slice(0, slash) : undefined;
19
+ }
20
+ /**
21
+ * The provider whose key a failed turn needs fixed in Models → Providers, or
22
+ * null. A resolution error names no provider (`provider: ''`), so the routed
23
+ * model names it. A Kortix-managed model (no provider prefix) never needs a key.
24
+ */
25
+ export function providerKeyFix(details) {
26
+ if (!details)
27
+ return null;
28
+ const code = details.code ?? (details.upstreamStatus === 401 || details.upstreamStatus === 403 ? 'provider_key_rejected' : undefined);
29
+ if (!code || !FIXED_IN_MODELS.has(code))
30
+ return null;
31
+ const providerId = details.provider || providerOfModel(details.resolvedModel ?? details.requestedModel);
32
+ if (!providerId || OWN_FIX.has(providerId) || providerId === 'kortix')
33
+ return null;
34
+ return { providerId, code };
35
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The fix for a turn that failed on a provider key: Models → Providers, open
3
+ * on that provider, where the key is added, replaced or checked. Renders on a
4
+ * project route only (`useModelConnectionGate`).
5
+ */
6
+ export declare function ProviderKeySlot({ providerId, className }: {
7
+ providerId: string;
8
+ className?: string;
9
+ }): import("react").JSX.Element | null;
@@ -0,0 +1,19 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { PROVIDER_LABELS } from '../../internal/lib/provider-branding.js';
4
+ import { Button } from '../../primitives/button.js';
5
+ import { useTranslations } from '../../i18n/index.js';
6
+ import { useModelConnectionGate } from './use-model-connection-gate.js';
7
+ /**
8
+ * The fix for a turn that failed on a provider key: Models → Providers, open
9
+ * on that provider, where the key is added, replaced or checked. Renders on a
10
+ * project route only (`useModelConnectionGate`).
11
+ */
12
+ export function ProviderKeySlot({ providerId, className = 'mt-2 pl-7' }) {
13
+ const t = useTranslations('pooledSecrets');
14
+ const { canConnectProvider, openConnectProvider, modal } = useModelConnectionGate();
15
+ if (!canConnectProvider)
16
+ return null;
17
+ const name = PROVIDER_LABELS[providerId] ?? providerId;
18
+ return (_jsxs("div", { className: className, children: [modal, _jsx(Button, { size: "sm", className: "active:scale-[0.96]", onClick: () => openConnectProvider('providers', providerId), children: t('openProviderInModels', { provider: name }) })] }));
19
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * In-session Connect card, docked above the composer beside
3
+ * `SessionApprovalPrompt` and `SessionAccessPrompt`.
4
+ *
5
+ * An agent runs `kortix connectors connect <app>` and stops: the sign-in it
6
+ * started is a raw provider link, and nothing in Kortix finished the
7
+ * connection when the person came back (2026-11-11). The API records which
8
+ * session asked on the account row (`requesting_session_id`); this card reads
9
+ * those rows (`listSessionConnectRequests`) and finishes each one through
10
+ * `connectionSignInSteps`: the window opens inside the click, the first request
11
+ * records a sign-in that already finished at the provider, and only an
12
+ * unfinished one goes to a new sign-in page. Finalize tells the session that
13
+ * asked, so the agent continues on its own.
14
+ *
15
+ * Shown: every request still to sign in, and each one that connected while
16
+ * this page was open ("Connected as …"). A request that was connected before
17
+ * the page loaded is history and stays hidden.
18
+ */
19
+ import { type SessionConnectRequest } from '@kortix/sdk';
20
+ /** Stable id of one request: its account row, or the connector on an older server. */
21
+ export declare function sessionConnectRequestKey(request: SessionConnectRequest): string;
22
+ /**
23
+ * The requests on screen: every pending one, plus those that connected after
24
+ * `seenPending` first saw them pending. Pure; exported for tests.
25
+ */
26
+ export declare function sessionConnectRequestsOnScreen(requests: readonly SessionConnectRequest[], seenPending: ReadonlySet<string>): SessionConnectRequest[];
27
+ export declare function SessionConnectPrompt({ projectId, sessionId, busy, onDockedChange, }: {
28
+ projectId: string;
29
+ sessionId: string;
30
+ /** The agent is running: poll faster, and read again when it stops. */
31
+ busy: boolean;
32
+ /** True while a card is on screen: the composer docks onto it. */
33
+ onDockedChange?: (docked: boolean) => void;
34
+ }): import("react").JSX.Element | null;
35
+ /** The card itself: one row per request. */
36
+ export declare function SessionConnectNotice({ requests, projectId, onSettled, }: {
37
+ requests: readonly SessionConnectRequest[];
38
+ projectId: string;
39
+ onSettled: () => void;
40
+ }): import("react").JSX.Element;
@@ -0,0 +1,126 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /**
4
+ * In-session Connect card, docked above the composer beside
5
+ * `SessionApprovalPrompt` and `SessionAccessPrompt`.
6
+ *
7
+ * An agent runs `kortix connectors connect <app>` and stops: the sign-in it
8
+ * started is a raw provider link, and nothing in Kortix finished the
9
+ * connection when the person came back (2026-11-11). The API records which
10
+ * session asked on the account row (`requesting_session_id`); this card reads
11
+ * those rows (`listSessionConnectRequests`) and finishes each one through
12
+ * `connectionSignInSteps`: the window opens inside the click, the first request
13
+ * records a sign-in that already finished at the provider, and only an
14
+ * unfinished one goes to a new sign-in page. Finalize tells the session that
15
+ * asked, so the agent continues on its own.
16
+ *
17
+ * Shown: every request still to sign in, and each one that connected while
18
+ * this page was open ("Connected as …"). A request that was connected before
19
+ * the page loaded is history and stays hidden.
20
+ */
21
+ import { connectionSignInSteps, listSessionConnectRequests, } from '@kortix/sdk';
22
+ import { CheckIcon, PlugsConnectedIcon } from '@phosphor-icons/react';
23
+ import { useQuery } from '@tanstack/react-query';
24
+ import { useEffect, useRef, useState } from 'react';
25
+ import { useTranslations } from '../../i18n/index.js';
26
+ import { cn } from '../../lib/utils.js';
27
+ import { runConnectLinkFlow } from '../../internal/hooks/connectors/use-connect-link.js';
28
+ import { ConnectorAppMark } from '../../markdown/setup-links/connector-handshake.js';
29
+ import { Button } from '../../primitives/button.js';
30
+ import Loading from '../../primitives/loading.js';
31
+ import { errorToast } from '../../primitives/toast.js';
32
+ /** While the agent runs, a new request can land at any moment. */
33
+ const BUSY_POLL_MS = 8_000;
34
+ /** A card whose sign-in the person may finish in another tab. */
35
+ const PENDING_POLL_MS = 10_000;
36
+ /** Stable id of one request: its account row, or the connector on an older server. */
37
+ export function sessionConnectRequestKey(request) {
38
+ return request.connection_id ?? request.slug;
39
+ }
40
+ /**
41
+ * The requests on screen: every pending one, plus those that connected after
42
+ * `seenPending` first saw them pending. Pure; exported for tests.
43
+ */
44
+ export function sessionConnectRequestsOnScreen(requests, seenPending) {
45
+ return requests.filter((request) => !request.connected || seenPending.has(sessionConnectRequestKey(request)));
46
+ }
47
+ export function SessionConnectPrompt({ projectId, sessionId, busy, onDockedChange, }) {
48
+ const seenPending = useRef(new Set());
49
+ const query = useQuery({
50
+ queryKey: ['session-connect-requests', projectId, sessionId],
51
+ queryFn: () => listSessionConnectRequests(projectId, sessionId),
52
+ enabled: Boolean(projectId && sessionId),
53
+ staleTime: 2_000,
54
+ retry: false,
55
+ refetchOnWindowFocus: true,
56
+ refetchInterval: (state) => busy
57
+ ? BUSY_POLL_MS
58
+ : (state.state.data ?? []).some((request) => !request.connected)
59
+ ? PENDING_POLL_MS
60
+ : false,
61
+ });
62
+ const { refetch } = query;
63
+ // The agent stops right after it starts a sign-in: read once more then.
64
+ const wasBusy = useRef(busy);
65
+ useEffect(() => {
66
+ if (wasBusy.current && !busy)
67
+ void refetch();
68
+ wasBusy.current = busy;
69
+ }, [busy, refetch]);
70
+ const requests = query.data ?? [];
71
+ for (const request of requests) {
72
+ if (!request.connected)
73
+ seenPending.current.add(sessionConnectRequestKey(request));
74
+ }
75
+ const shown = sessionConnectRequestsOnScreen(requests, seenPending.current);
76
+ const docked = shown.length > 0;
77
+ useEffect(() => {
78
+ onDockedChange?.(docked);
79
+ }, [docked, onDockedChange]);
80
+ useEffect(() => () => onDockedChange?.(false), [onDockedChange]);
81
+ if (!docked)
82
+ return null;
83
+ return (_jsx(SessionConnectNotice, { requests: shown, projectId: projectId, onSettled: () => void refetch() }));
84
+ }
85
+ /** The card itself: one row per request. */
86
+ export function SessionConnectNotice({ requests, projectId, onSettled, }) {
87
+ const t = useTranslations('connectSignIn');
88
+ const allConnected = requests.every((request) => request.connected);
89
+ return (
90
+ // `w-full`, or the composer's `items-center` strip shrinks this to its content width.
91
+ _jsxs("div", { className: "relative isolate z-10 w-full", "data-testid": "session-connect-prompt", children: [_jsxs("div", { className: "text-muted-foreground flex min-h-6 items-center gap-1.5 px-3 py-1 text-xs", children: [_jsx(PlugsConnectedIcon, { className: cn('size-3.5 shrink-0', allConnected ? 'text-kortix-green' : 'text-kortix-orange') }), _jsx("span", { className: "min-w-0 truncate", children: allConnected ? t('signInFinished') : t('cardHeadline') })] }), _jsx("ul", { className: "flex flex-col gap-1 px-3 pt-0.5 pb-2.5", children: requests.map((request) => (_jsx(SessionConnectRow, { request: request, projectId: projectId, onSettled: onSettled }, sessionConnectRequestKey(request)))) })] }));
92
+ }
93
+ function SessionConnectRow({ request, projectId, onSettled, }) {
94
+ const t = useTranslations('connectSignIn');
95
+ const [phase, setPhase] = useState('idle');
96
+ const name = request.name?.trim() || request.app || request.slug;
97
+ const shared = request.owner_type === 'project';
98
+ const connect = async () => {
99
+ if (!request.connection_id)
100
+ return;
101
+ setPhase('waiting');
102
+ try {
103
+ const steps = connectionSignInSteps(projectId, request.slug, {
104
+ connection_id: request.connection_id,
105
+ owner_type: request.owner_type ?? 'member',
106
+ });
107
+ await runConnectLinkFlow(steps.start, steps.finalize);
108
+ }
109
+ catch (error) {
110
+ errorToast(error instanceof Error && error.message ? error.message : t('cardFailed', { app: name }));
111
+ }
112
+ finally {
113
+ setPhase('idle');
114
+ onSettled();
115
+ }
116
+ };
117
+ return (_jsxs("li", { className: "border-border flex min-w-0 items-center gap-3 rounded-sm border px-3 py-2", "data-testid": "session-connect-row", "data-connected": request.connected || undefined, children: [_jsx(ConnectorAppMark, { name: name, slug: request.slug, iconUrl: `https://logos.composio.dev/api/${encodeURIComponent(request.app || request.slug)}`, size: "md" }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("p", { className: "text-foreground truncate text-sm font-medium", children: t('cardTitle', { app: name }) }), _jsx("p", { className: "text-muted-foreground truncate text-xs", children: request.connected
118
+ ? request.connected_as
119
+ ? t('connectedAs', { account: request.connected_as })
120
+ : t('connected')
121
+ : phase === 'waiting'
122
+ ? t('signingIn', { app: name })
123
+ : shared
124
+ ? t('cardShared')
125
+ : t('cardPrivate') })] }), request.connected ? (_jsx(CheckIcon, { weight: "bold", className: "text-kortix-green size-4 shrink-0", "aria-label": t('connected') })) : (_jsxs(Button, { type: "button", size: "sm", className: "shrink-0", disabled: phase === 'waiting' || !request.connection_id, onClick: () => void connect(), children: [phase === 'waiting' ? _jsx(Loading, { className: "size-4 shrink-0" }) : null, t('connect')] }))] }));
126
+ }
@@ -1,6 +1,6 @@
1
1
  import { type GatewayErrorDetails } from '@kortix/sdk';
2
2
  import { type KortixSendError } from '@kortix/sdk/react';
3
- type TurnErrorGatewayDetails = Pick<GatewayErrorDetails, 'provider' | 'code' | 'suggestion' | 'requestId' | 'attemptFailures' | 'requestedModel' | 'resolvedModel'>;
3
+ type TurnErrorGatewayDetails = Pick<GatewayErrorDetails, 'provider' | 'code' | 'suggestion' | 'requestId' | 'attemptFailures' | 'requestedModel' | 'resolvedModel' | 'upstreamStatus'>;
4
4
  /**
5
5
  * Which row a plain-text turn error renders, and whether it opens. The one
6
6
  * decision `TurnErrorDisplay` makes for `errorText`, exported so the debug page
@@ -7,6 +7,8 @@ import { chatGptConnectionAction } from '../models/chatgpt-connection-action.js'
7
7
  import { ChatGptConnectionSlot } from '../models/chatgpt-connection-button.js';
8
8
  import { ClaudeConnectionSlot, claudeConnectionAction } from '../models/claude-connection-slot.js';
9
9
  import { AskOwnerForCreditsButton } from '../models/ask-owner-for-credits-button.js';
10
+ import { providerKeyFix } from '../models/provider-key-action.js';
11
+ import { ProviderKeySlot } from '../models/provider-key-slot.js';
10
12
  import { Button } from '../../primitives/button.js';
11
13
  import { ChainOfThoughtStep } from '../../primitives/chain-of-thought.js';
12
14
  import { DisclosureContent, DisclosureTrigger } from '../../primitives/disclosure.js';
@@ -162,7 +164,7 @@ function GatewayAttemptFailureList({ details }) {
162
164
  * a billing card through `error.kind`; that path is not described here.)
163
165
  */
164
166
  export function describeTurnErrorRow({ text, gateway, raw, }) {
165
- if (isInsufficientCreditsError(text) || isUsageLimitError(text)) {
167
+ if (!providerKeyFix(gateway) && (isInsufficientCreditsError(text) || isUsageLimitError(text))) {
166
168
  return { kind: 'billing-card', expandable: false };
167
169
  }
168
170
  const hasMeta = Boolean(gateway?.provider || gateway?.code || gateway?.requestId);
@@ -252,14 +254,19 @@ export function TurnErrorDisplay({ errorText, errorDetails, errorRaw, defaultDet
252
254
  }
253
255
  return _jsx(InsufficientCreditsCard, { errorText: text, className: className });
254
256
  }
257
+ // A provider key the person fixes in Models (none, refused, expired, or a
258
+ // provider account with no funds). Decided before the credits sniff: an
259
+ // OpenRouter "Insufficient credits" is the provider's account, not Kortix
260
+ // credits, and the Kortix top-up card would not fix it.
261
+ const providerFix = providerKeyFix(gateway);
255
262
  // Insufficient credits → actionable card with buy/auto-topup buttons.
256
263
  // Also covers turn-level errors passed as plain `errorText`, which never
257
264
  // go through `classifySendError`.
258
- if (isInsufficientCreditsError(text)) {
265
+ if (!providerFix && isInsufficientCreditsError(text)) {
259
266
  return _jsx(InsufficientCreditsCard, { errorText: text, className: className });
260
267
  }
261
268
  // Free-tier / subscription / budget limit → actionable upgrade card
262
- if (isUsageLimitError(text)) {
269
+ if (!providerFix && isUsageLimitError(text)) {
263
270
  return _jsx(UsageLimitCard, { errorText: text, className: className });
264
271
  }
265
272
  // A member's own ChatGPT login expired or is missing: the fix is theirs to
@@ -268,7 +275,8 @@ export function TurnErrorDisplay({ errorText, errorDetails, errorRaw, defaultDet
268
275
  // The same for the member's own Claude subscription (Claude models run on it).
269
276
  const claude = chatGpt ? null : claudeConnectionAction(text);
270
277
  // Real errors → a checkpoint row in the activity lane, not a boxed alert.
271
- return (_jsx(TurnErrorCheckpoint, { text: text, gateway: gateway, raw: errorRaw, defaultOpen: defaultDetailsOpen, action: chatGpt ? _jsx(ChatGptConnectionSlot, { action: chatGpt }) : claude ? _jsx(ClaudeConnectionSlot, { action: claude }) : undefined, modelOptions: modelOptions, className: className }));
278
+ return (_jsx(TurnErrorCheckpoint, { text: text, gateway: gateway, raw: errorRaw, defaultOpen: defaultDetailsOpen, action: chatGpt ? _jsx(ChatGptConnectionSlot, { action: chatGpt }) : claude ? _jsx(ClaudeConnectionSlot, { action: claude })
279
+ : providerFix ? _jsx(ProviderKeySlot, { providerId: providerFix.providerId }) : undefined, modelOptions: modelOptions, className: className }));
272
280
  }
273
281
  export function SessionRetryDisplay({ message, attempt, secondsLeft, details, className, }) {
274
282
  if (!message)
@@ -5,6 +5,7 @@ import { uiRoutes } from '../../lib/routes.js';
5
5
  import { isQuestionTool } from '@kortix/sdk';
6
6
  import { SessionAccessPrompt } from '../prompts/session-access-prompt.js';
7
7
  import { SessionApprovalPrompt } from '../prompts/session-approval-prompt.js';
8
+ import { SessionConnectPrompt } from '../prompts/session-connect-prompt.js';
8
9
  import { childSessionHref } from '../tool/tools/session-spawn-urls.js';
9
10
  import { SessionPermissionPrompt } from '../prompts/session-permission-prompt.js';
10
11
  import { useSessionWallpaperLayer } from '../panel/session-wallpaper-layer.js';
@@ -1496,6 +1497,8 @@ export function SessionChat({ sessionId, projectSessionId, sessionState, project
1496
1497
  const [approvalDocked, setApprovalDocked] = useState(false);
1497
1498
  // My Kortix asking to give a colleague access docks the same way.
1498
1499
  const [accessDocked, setAccessDocked] = useState(false);
1500
+ // A connector sign-in the agent started docks the same way (`SessionConnectPrompt`).
1501
+ const [connectDocked, setConnectDocked] = useState(false);
1499
1502
  const questionPromptTimerRef = useRef(null);
1500
1503
  useEffect(() => {
1501
1504
  const nextQuestion = activePendingQuestion;
@@ -3458,11 +3461,13 @@ export function SessionChat({ sessionId, projectSessionId, sessionState, project
3458
3461
  effectiveBusy,
3459
3462
  canStop,
3460
3463
  ]);
3461
- const chatInputSlot = useMemo(() => (_jsxs(_Fragment, { children: [_jsx(SessionApprovalPrompt, { onDockedChange: setApprovalDocked }), _jsx(SessionAccessPrompt, { projectId: projectId ?? '', asks: accessAsks, onDockedChange: setAccessDocked }), _jsx(SessionPermissionPrompt, { sessionId: sessionId, agentName: sessionScopeAgentName, permissions: pendingPermissions, onReply: handlePermissionReply }), renderedQuestion ? (_jsx("div", { className: cn('w-full overflow-hidden transition-[max-height,opacity,transform] ease-in-out', questionPromptVisible
3464
+ const chatInputSlot = useMemo(() => (_jsxs(_Fragment, { children: [_jsx(SessionApprovalPrompt, { onDockedChange: setApprovalDocked }), _jsx(SessionAccessPrompt, { projectId: projectId ?? '', asks: accessAsks, onDockedChange: setAccessDocked }), projectId && projectSessionId ? (_jsx(SessionConnectPrompt, { projectId: projectId, sessionId: projectSessionId, busy: effectiveBusy, onDockedChange: setConnectDocked })) : null, _jsx(SessionPermissionPrompt, { sessionId: sessionId, agentName: sessionScopeAgentName, permissions: pendingPermissions, onReply: handlePermissionReply }), renderedQuestion ? (_jsx("div", { className: cn('w-full overflow-hidden transition-[max-height,opacity,transform] ease-in-out', questionPromptVisible
3462
3465
  ? 'duration-slow max-h-130 translate-y-0 opacity-100'
3463
3466
  : 'duration-slow pointer-events-none max-h-0 -translate-y-1 opacity-0'), children: _jsx(QuestionPrompt, { ref: questionPromptRef, request: renderedQuestion, onReply: handleQuestionReply, onReject: handleQuestionReject, onActionChange: handleQuestionActionChange }, renderedQuestion.id) })) : null] })), [
3464
3467
  projectId,
3465
3468
  accessAsks,
3469
+ effectiveBusy,
3470
+ projectSessionId,
3466
3471
  sessionId,
3467
3472
  sessionScopeAgentName,
3468
3473
  pendingPermissions,
@@ -3999,7 +4004,7 @@ export function SessionChat({ sessionId, projectSessionId, sessionState, project
3999
4004
  // Same dead-prompt guard as questions: only lock while the agent is
4000
4005
  // actually paused on the decision (isBusy), so a stale card can't
4001
4006
  // swallow the composer on an idle session.
4002
- lockForApproval: runtimePermissionLocksComposer(livePermissions.length, isBusy), onCustomAnswer: handleCustomAnswer, questionButtonLabel: renderedQuestion ? questionAction.label : null, questionActive: !!renderedQuestion || approvalDocked || accessDocked, questionCanAct: questionAction.canAct, onQuestionAction: handleQuestionAction, aboveSlot: chatAboveSlot, inputSlot: chatInputSlot, toolbarSlot: chatToolbarSlot, underbarSlot: chatUnderbarSlot,
4007
+ lockForApproval: runtimePermissionLocksComposer(livePermissions.length, isBusy), onCustomAnswer: handleCustomAnswer, questionButtonLabel: renderedQuestion ? questionAction.label : null, questionActive: !!renderedQuestion || approvalDocked || accessDocked || connectDocked, questionCanAct: questionAction.canAct, onQuestionAction: handleQuestionAction, aboveSlot: chatAboveSlot, inputSlot: chatInputSlot, toolbarSlot: chatToolbarSlot, underbarSlot: chatUnderbarSlot,
4003
4008
  // The shell can now render on a cached transcript alone, i.e. before
4004
4009
  // the sandbox answers — so sending has to be gated separately from
4005
4010
  // reading. See sessionComposerReadiness.
@@ -1039,12 +1039,12 @@ function TurnSessionReport({ report }) {
1039
1039
  /** The user side of a turn: the report card, the system-pill line, and the
1040
1040
  * user bubble (hidden for notification-only turns). */
1041
1041
  function TurnUserBlock(props) {
1042
- const { userContent } = props;
1042
+ const { userContent, noticeInWork } = props;
1043
1043
  const { sessionReport, noticeBatch, subagentNotice, peerMessage, parkedAnswer, systemMessages, hasVisibleUserContent } = userContent;
1044
1044
  // P5.6: the note a partial restore left for the agent is a notice, not a person's prompt.
1045
1045
  if (isSessionLogRestoreNote(props.turn.user))
1046
1046
  return _jsx(RestoreNoteMarker, {});
1047
- return (_jsxs(_Fragment, { children: [noticeBatch ? (_jsx(NoticeBatchGroup, { items: noticeBatch })) : subagentNotice ? (_jsx(SubagentNoticeRow, { notice: subagentNotice })) : peerMessage ? (_jsx(PeerMessageRow, { info: peerMessage })) : parkedAnswer ? (_jsx(ParkedAnswerRow, { answer: parkedAnswer })) : (sessionReport && _jsx(TurnSessionReport, { report: sessionReport })), !hasVisibleUserContent && !sessionReport && !noticeBatch && !peerMessage && !parkedAnswer && systemMessages.length > 0 && (_jsx(SystemMessageIndicator, { messages: systemMessages })), hasVisibleUserContent && _jsx(TurnUserBubble, { ...props })] }));
1047
+ return (_jsxs(_Fragment, { children: [!noticeInWork && (noticeBatch ? (_jsx(NoticeBatchGroup, { items: noticeBatch })) : subagentNotice ? (_jsx(SubagentNoticeRow, { notice: subagentNotice })) : peerMessage ? (_jsx(PeerMessageRow, { info: peerMessage })) : parkedAnswer ? (_jsx(ParkedAnswerRow, { answer: parkedAnswer })) : (sessionReport && _jsx(TurnSessionReport, { report: sessionReport }))), !hasVisibleUserContent && !sessionReport && !noticeBatch && !peerMessage && !parkedAnswer && systemMessages.length > 0 && (_jsx(SystemMessageIndicator, { messages: systemMessages })), hasVisibleUserContent && _jsx(TurnUserBubble, { ...props })] }));
1048
1048
  }
1049
1049
  /** The user message bubble — dimmed while the prompt waits in the queue. */
1050
1050
  function TurnUserBubble(props) {
@@ -1065,13 +1065,21 @@ const NO_RECOVERED_CALLS = new Set();
1065
1065
  /** The assistant's part tree: bursts, standalone deliverables, and prose
1066
1066
  * between them, under one live-context provider. */
1067
1067
  function TurnToolBlocks(props) {
1068
- const { turn, sessionId, permissions, onPermissionReply, disableToolNavigation, model, segments, conversationDensity, fold, durationMs, } = props;
1068
+ const { turn, sessionId, permissions, onPermissionReply, disableToolNavigation, model, segments, conversationDensity, fold, durationMs, workNotice, } = props;
1069
1069
  const { working, hasSteps, hasReasoning } = model;
1070
1070
  // Every settled turn folds, live or reloaded (the T3 Code rule): one turn
1071
1071
  // reads one way. A turn the reader touched while it worked (opened or closed
1072
1072
  // a row) settles with its "Worked for" row open, so nothing they were
1073
1073
  // reading disappears under them.
1074
1074
  const split = useMemo(() => (fold && !working ? splitSessionLogTurnWork(segments.filter(segmentRendersSomething), { working }) : null), [fold, segments, working]);
1075
+ // A settled turn whose prompt is another agent's notice folds the notice
1076
+ // row into this work fold with the work it led to (KRTX-4732): the parent's
1077
+ // answer below is the only top-level message, and the row stays reachable
1078
+ // by opening the row. A turn with no work of its own still gets the fold,
1079
+ // so the exchange never becomes unreachable. In the inline mode (text plus
1080
+ // an answered question, no fold row) the row renders visible above the
1081
+ // answer instead — the gate below keeps the block mounted for it.
1082
+ const noticeFold = !!workNotice && fold && !working;
1075
1083
  const workSegments = useMemo(() => new Set(split?.work ?? []), [split]);
1076
1084
  const touchedLive = useRef(false);
1077
1085
  const markTouched = useCallback(() => {
@@ -1120,13 +1128,13 @@ function TurnToolBlocks(props) {
1120
1128
  return null;
1121
1129
  return (_jsx(TurnSegment, { segment: segment, isTrailing: segment === segments[segments.length - 1], working: working, openText: model.openText, hasSteps: hasSteps, sessionId: sessionId, permissions: permissions, onPermissionReply: onPermissionReply, disableNavigation: disableToolNavigation, conversationDensity: conversationDensity }, key));
1122
1130
  };
1123
- return (_jsx(_Fragment, { children: (working || hasSteps || hasReasoning) && turn.assistant.length > 0 && (
1131
+ return (_jsx(_Fragment, { children: (working || hasSteps || hasReasoning || noticeFold || !!workNotice) && (turn.assistant.length > 0 || !!workNotice) && (
1124
1132
  // Every tool row below — the bursts' rows and the standalone ones —
1125
1133
  // reads this to tell a call that has not spoken YET from one that never
1126
1134
  // will. Provided here rather than per-row because `working` is a fact
1127
1135
  // about the TURN, and this block is the turn's whole part tree.
1128
1136
  // See `TurnLiveContext`.
1129
- _jsx(TurnLiveContext.Provider, { value: working, children: _jsx(RecoveredCallsContext.Provider, { value: recovered, children: _jsx(ImageGenPathsContext.Provider, { value: imageGenPaths, children: _jsx(ImageGenDigestsContext.Provider, { value: imageGenDigests, children: _jsx(ImageGenRunsContext.Provider, { value: imageGenRuns, children: _jsx(InTranscriptTurnContext.Provider, { value: true, children: _jsx(WorkTouchContext.Provider, { value: markTouched, children: _jsxs("div", { className: "flex flex-col gap-3", onClickCapture: onClickCapture, children: [split && (_jsx(TurnWorkAccordion, { durationMs: durationMs, open: workOpen, onToggle: toggleWork, contentId: workContentId }, "turn-work")), segments.map((segment) => {
1137
+ _jsx(TurnLiveContext.Provider, { value: working, children: _jsx(RecoveredCallsContext.Provider, { value: recovered, children: _jsx(ImageGenPathsContext.Provider, { value: imageGenPaths, children: _jsx(ImageGenDigestsContext.Provider, { value: imageGenDigests, children: _jsx(ImageGenRunsContext.Provider, { value: imageGenRuns, children: _jsx(InTranscriptTurnContext.Provider, { value: true, children: _jsx(WorkTouchContext.Provider, { value: markTouched, children: _jsxs("div", { className: "flex flex-col gap-3", onClickCapture: onClickCapture, children: [(split || noticeFold) && (_jsx(TurnWorkAccordion, { durationMs: durationMs, open: workOpen, onToggle: toggleWork, contentId: workContentId }, "turn-work")), workNotice && (!noticeFold || workMounted) && (_jsx("div", { id: workContentId, hidden: !!(split || noticeFold) && !workOpen, className: "min-w-0", children: _jsx(WorkFoldContext.Provider, { value: !working, children: workNotice }) }, "turn-notice")), segments.map((segment) => {
1130
1138
  const isWork = workSegments.has(segment);
1131
1139
  if (isWork && !workMounted)
1132
1140
  return null;
@@ -1134,7 +1142,7 @@ function TurnToolBlocks(props) {
1134
1142
  if (!node)
1135
1143
  return null;
1136
1144
  const hidden = isWork && !workOpen;
1137
- return (_jsx("div", { id: isWork && segment === split?.work[0] ? workContentId : undefined, hidden: hidden, className: "min-w-0", children: _jsx(WorkFoldContext.Provider, { value: isWork, children: node }) }, node.key));
1145
+ return (_jsx("div", { id: !workNotice && isWork && segment === split?.work[0] ? workContentId : undefined, hidden: hidden, className: "min-w-0", children: _jsx(WorkFoldContext.Provider, { value: isWork, children: node }) }, node.key));
1138
1146
  })] }) }) }) }) }) }) }) })) }));
1139
1147
  }
1140
1148
  /** One segment of the turn's steps section: a burst, a show group, a
@@ -1427,6 +1435,22 @@ function SessionTurnImpl(props) {
1427
1435
  const errors = useTurnErrorState({ turn, turnOutcome });
1428
1436
  const answered = useAnsweredQuestionState({ turn, questions, sessionId, blocks: model.blocks, hasSteps: model.hasSteps });
1429
1437
  const userContent = useTurnUserContent({ turn, commandMessages, commands });
1438
+ // A turn whose prompt is another agent's notice (a sub-agent's report, a
1439
+ // teammate's update) folds that row into its work fold (KRTX-4732): the
1440
+ // parent's answer is the only top-level message. A settled turn with no
1441
+ // answer at all keeps the row at the top level, where it stays reachable;
1442
+ // the main transcript only — space threads hide notices already.
1443
+ const workNotice = rows
1444
+ ? undefined
1445
+ : isAgentNoticeTurn(turn) && (model.working || turn.assistant.length > 0)
1446
+ ? userContent.noticeBatch
1447
+ ? _jsx(NoticeBatchGroup, { items: userContent.noticeBatch })
1448
+ : userContent.subagentNotice
1449
+ ? _jsx(SubagentNoticeRow, { notice: userContent.subagentNotice })
1450
+ : userContent.peerMessage
1451
+ ? _jsx(PeerMessageRow, { info: userContent.peerMessage })
1452
+ : undefined
1453
+ : undefined;
1430
1454
  const status = useTurnLiveStatus({ turn, blocks: model.blocks, agentWorking: model.agentWorking });
1431
1455
  const retry = useTurnRetryState({ sessionStatus, isWorkingTurn });
1432
1456
  const meta = useTurnSettledMeta({ working: model.working, turn });
@@ -1529,7 +1553,7 @@ function SessionTurnImpl(props) {
1529
1553
  // The segments are already the message's: nothing is left to fold.
1530
1554
  fold: !messagesOnly && !answered.shouldUseInlineContent, durationMs: meta.turnDurationMs })), _jsx(TurnAssistantBlock, { ...props, model: model, answered: answered, userContent: userContent, tHardcodedUi: tHardcodedUi })] }), messagesOnly && !model.working && errors.turnErrorIsAbort && model.response.trim() === '' && shownSegments.length === 0 ? (_jsx("p", { className: "text-muted-foreground text-sm", children: tTurnRows('stopped') })) : null, _jsx(TurnFooter, { ...props, hideActionBar: true, quietBusy: messagesOnly, model: model, errors: errors, answered: answered, status: status, retry: retry, meta: meta, tHardcodedUi: tHardcodedUi, connectProviderOpen: connectProviderOpen, onConnectProviderOpenChange: setConnectProviderOpen }), messagesOnly && !model.working ? (_jsx(TurnMessageWork, { ...props, model: model, segments: segments, shown: shownSegments, userContent: userContent, conversationDensity: conversationDensity, front: rows.front === true })) : null] }) })) : null] }));
1531
1555
  }
1532
- return (_jsxs("div", { className: "group/turn text-factor-[2] space-y-2.5", children: [_jsx(TurnUserBlock, { ...props, model: model, queueTone: queueTone, userContent: userContent }), props.isFirstTurn ? afterFirstPrompt : null, _jsx(TurnFallbackRows, { working: model.working, events: props.servedModel?.fallbacks }), _jsxs(GenuiTelemetryContext.Provider, { value: genuiTelemetry, children: [_jsx(TurnToolBlocks, { ...props, model: model, segments: segments, conversationDensity: conversationDensity, fold: !answered.shouldUseInlineContent, durationMs: meta.turnDurationMs }), _jsx(TurnAssistantBlock, { ...props, model: model, answered: answered, userContent: userContent, tHardcodedUi: tHardcodedUi })] }), _jsx(TurnFooter, { ...props, model: model, errors: errors, answered: answered, status: status, retry: retry, meta: meta, tHardcodedUi: tHardcodedUi, connectProviderOpen: connectProviderOpen, onConnectProviderOpenChange: setConnectProviderOpen })] }));
1556
+ return (_jsxs("div", { className: "group/turn text-factor-[2] space-y-2.5", children: [_jsx(TurnUserBlock, { ...props, model: model, queueTone: queueTone, userContent: userContent, noticeInWork: !!workNotice }), props.isFirstTurn ? afterFirstPrompt : null, _jsx(TurnFallbackRows, { working: model.working, events: props.servedModel?.fallbacks }), _jsxs(GenuiTelemetryContext.Provider, { value: genuiTelemetry, children: [_jsx(TurnToolBlocks, { ...props, model: model, segments: segments, conversationDensity: conversationDensity, fold: !answered.shouldUseInlineContent, durationMs: meta.turnDurationMs, workNotice: workNotice }), _jsx(TurnAssistantBlock, { ...props, model: model, answered: answered, userContent: userContent, tHardcodedUi: tHardcodedUi })] }), _jsx(TurnFooter, { ...props, model: model, errors: errors, answered: answered, status: status, retry: retry, meta: meta, tHardcodedUi: tHardcodedUi, connectProviderOpen: connectProviderOpen, onConnectProviderOpenChange: setConnectProviderOpen })] }));
1533
1557
  }
1534
1558
  /**
1535
1559
  * The boundary that stops the transcript re-rendering with the stream.
@@ -107,6 +107,14 @@ export declare const testUiTranslator: import("use-intl")._Translator<{
107
107
  access: string;
108
108
  actions: string;
109
109
  coolingDown: string;
110
+ keyVerified: string;
111
+ keyInvalid: string;
112
+ keyUnchecked: string;
113
+ checkKey: string;
114
+ savedVerified: string;
115
+ savedInvalid: string;
116
+ checkError: string;
117
+ openProviderInModels: string;
110
118
  member: string;
111
119
  members: string;
112
120
  actionsFor: string;
@@ -179,6 +187,9 @@ export declare const testUiTranslator: import("use-intl")._Translator<{
179
187
  claudeReconnectDescription: string;
180
188
  claudeAccountLabelPlaceholder: string;
181
189
  claudeDeleteAccountConfirmTitle: string;
190
+ sharedOnlyYouDescription: string;
191
+ oauthOnlyYouDescription: string;
192
+ claudeOauthOnlyYouDescription: string;
182
193
  };
183
194
  secrets: {
184
195
  undecryptable: {
@@ -1497,6 +1508,10 @@ export declare const testUiTranslator: import("use-intl")._Translator<{
1497
1508
  connectModel: string;
1498
1509
  imagesUnsupported: string;
1499
1510
  imagesUnsupportedHint: string;
1511
+ noModelUpgradeReason: string;
1512
+ noModelKeyReason: string;
1513
+ noModelUpgradePlan: string;
1514
+ noModelAddProviderKey: string;
1500
1515
  };
1501
1516
  providerRecovery: {
1502
1517
  savedPrompt: string;
@@ -2702,6 +2717,8 @@ export declare const testUiTranslator: import("use-intl")._Translator<{
2702
2717
  checkConnection: string;
2703
2718
  };
2704
2719
  i18nComplete: {
2720
+ noModelAddProviderKey: string;
2721
+ noModelUpgradePlan: string;
2705
2722
  text03217276a5f1: string;
2706
2723
  text0b6a47661327: string;
2707
2724
  text1a9030082a20: string;
@@ -6843,6 +6860,12 @@ export declare const testUiTranslator: import("use-intl")._Translator<{
6843
6860
  noticeSignInTitle: string;
6844
6861
  noticeSignInBody: string;
6845
6862
  noticeSignInAction: string;
6863
+ noticeSignInAgainTitle: string;
6864
+ noticeSignInAgainBody: string;
6865
+ noticeNoToolsTitle: string;
6866
+ noticeNoToolsBody: string;
6867
+ noticeAddRoutesAction: string;
6868
+ statusNoTools: string;
6846
6869
  connectAccount: string;
6847
6870
  notSignedIn: string;
6848
6871
  credentialRejected: string;
@@ -7860,6 +7883,12 @@ export declare const testUiTranslator: import("use-intl")._Translator<{
7860
7883
  triggerAutoPause: {
7861
7884
  title: string;
7862
7885
  description: string;
7886
+ billingTitle: string;
7887
+ billingDescription: string;
7888
+ modelTitle: string;
7889
+ modelDescription: string;
7890
+ listBilling: string;
7891
+ listModel: string;
7863
7892
  };
7864
7893
  featureGate: {
7865
7894
  enable: string;
@@ -10092,6 +10121,25 @@ export declare const testUiTranslator: import("use-intl")._Translator<{
10092
10121
  capWorkspace: string;
10093
10122
  capMember: string;
10094
10123
  };
10124
+ connectSignIn: {
10125
+ openSignIn: string;
10126
+ checkingTitle: string;
10127
+ checkingDescription: string;
10128
+ signInUnfinished: string;
10129
+ finishSignIn: string;
10130
+ signInFinished: string;
10131
+ cardHeadline: string;
10132
+ cardTitle: string;
10133
+ cardShared: string;
10134
+ cardPrivate: string;
10135
+ signingIn: string;
10136
+ connectedAs: string;
10137
+ connected: string;
10138
+ connect: string;
10139
+ cardFailed: string;
10140
+ blockedTitle: string;
10141
+ blockedDescription: string;
10142
+ };
10095
10143
  }, "hardcodedUi.i18nComplete">;
10096
10144
  export declare function IntlTestProvider({ children, locale, timeZone, messages, fallback, ...rest }: Partial<IntlConfig> & {
10097
10145
  children: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kortix/ui",
3
- "version": "0.15.8",
3
+ "version": "0.15.9",
4
4
  "description": "Kortix UI: the shared React component library for apps/web, Kortix Apps and SDK hosts. Tailwind v4 classes, themed by CSS variables.",
5
5
  "type": "module",
6
6
  "license": "Elastic-2.0",
@@ -2202,7 +2202,7 @@
2202
2202
  "@extend-ai/react-docx": "^0.7.5",
2203
2203
  "@extend-ai/react-xlsx": "0.13.4",
2204
2204
  "@glideapps/glide-data-grid": "6.0.4-alpha24",
2205
- "@kortix/llm-catalog": "0.15.8",
2205
+ "@kortix/llm-catalog": "0.15.9",
2206
2206
  "@lezer/highlight": "1.2.3",
2207
2207
  "@paper-design/shaders-react": "^0.0.76",
2208
2208
  "@phosphor-icons/react": "2.1.10",
@@ -2277,7 +2277,7 @@
2277
2277
  "zustand": "^5.0.3"
2278
2278
  },
2279
2279
  "peerDependencies": {
2280
- "@kortix/sdk": "^0.15.8",
2280
+ "@kortix/sdk": "^0.15.9",
2281
2281
  "@tanstack/react-query": "^5.75.2",
2282
2282
  "@types/react": ">=18",
2283
2283
  "react": ">=19",