@tutti-os/agent-gui 0.0.85 → 0.0.86

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 (62) hide show
  1. package/README.md +49 -44
  2. package/dist/agent-conversation/index.d.ts +2 -2
  3. package/dist/agent-conversation/index.js +5 -5
  4. package/dist/agent-message-center/index.js +7 -7
  5. package/dist/{agentGuiNodeTypes-CmuJ7VDZ.d.ts → agentGuiNodeTypes-fRobgKiP.d.ts} +1 -5
  6. package/dist/{chunk-A2JPL5N6.js → chunk-3HARXLAZ.js} +2 -2
  7. package/dist/{chunk-BEM3KDOJ.js → chunk-45FF4DQU.js} +17 -281
  8. package/dist/chunk-45FF4DQU.js.map +1 -0
  9. package/dist/{chunk-UNLTQUPO.js → chunk-4SQNOOJ3.js} +4 -4
  10. package/dist/{chunk-FIH7IYLX.js → chunk-7FZT2OYT.js} +4 -4
  11. package/dist/chunk-7FZT2OYT.js.map +1 -0
  12. package/dist/{chunk-L2ZMLLYL.js → chunk-7LMJXF4R.js} +2 -2
  13. package/dist/{chunk-DBIJRSFG.js → chunk-A7RA7ORT.js} +104 -45
  14. package/dist/chunk-A7RA7ORT.js.map +1 -0
  15. package/dist/{chunk-CVPWQHQH.js → chunk-AOVPGJBC.js} +2 -2
  16. package/dist/{chunk-BT2DT2P7.js → chunk-GAPTLVII.js} +1 -1
  17. package/dist/{chunk-BT2DT2P7.js.map → chunk-GAPTLVII.js.map} +1 -1
  18. package/dist/{chunk-3355GEBI.js → chunk-HOSX5C5V.js} +2 -2
  19. package/dist/{chunk-CXJEQQR5.js → chunk-KQE5KV2V.js} +2 -2
  20. package/dist/{chunk-N7EX6XK3.js → chunk-SXDLSEHO.js} +3 -3
  21. package/dist/{chunk-MQ6WW3CD.js → chunk-U7D7G3UU.js} +2 -2
  22. package/dist/{chunk-6YLA7R4S.js → chunk-UNO7CEAF.js} +2 -2
  23. package/dist/{chunk-AA75BOX3.js → chunk-VWXFFSIM.js} +3 -1
  24. package/dist/chunk-VWXFFSIM.js.map +1 -0
  25. package/dist/{chunk-HUNUSBQQ.js → chunk-XQUUELKF.js} +2 -2
  26. package/dist/context-mention-palette/index.js +6 -6
  27. package/dist/i18n/index.d.ts +2 -0
  28. package/dist/i18n/index.js +2 -2
  29. package/dist/index.d.ts +28 -94
  30. package/dist/index.js +479 -445
  31. package/dist/index.js.map +1 -1
  32. package/dist/queued-prompt-runtime.d.ts +2 -2
  33. package/dist/{types-DUHHejs2.d.ts → types-BvztUbHf.d.ts} +31 -21
  34. package/dist/workbench/contribution.d.ts +9 -11
  35. package/dist/workbench/contribution.js +4 -4
  36. package/dist/workbench/index.d.ts +1 -1
  37. package/dist/workbench/index.js +7 -7
  38. package/dist/workbench/launch.d.ts +0 -1
  39. package/dist/workbench/launch.js +2 -2
  40. package/dist/workbench/providerCatalog.d.ts +0 -1
  41. package/dist/workbench/sessionTitle.d.ts +0 -1
  42. package/dist/workbench/sessionTitle.js +3 -3
  43. package/dist/workbench/state.d.ts +7 -2
  44. package/dist/workbench/state.js +3 -1
  45. package/dist/workbench/types.d.ts +0 -6
  46. package/dist/workbench/types.js +1 -1
  47. package/dist/workspace-agent-generated-files.js +3 -3
  48. package/package.json +12 -12
  49. package/dist/chunk-AA75BOX3.js.map +0 -1
  50. package/dist/chunk-BEM3KDOJ.js.map +0 -1
  51. package/dist/chunk-DBIJRSFG.js.map +0 -1
  52. package/dist/chunk-FIH7IYLX.js.map +0 -1
  53. /package/dist/{chunk-A2JPL5N6.js.map → chunk-3HARXLAZ.js.map} +0 -0
  54. /package/dist/{chunk-UNLTQUPO.js.map → chunk-4SQNOOJ3.js.map} +0 -0
  55. /package/dist/{chunk-L2ZMLLYL.js.map → chunk-7LMJXF4R.js.map} +0 -0
  56. /package/dist/{chunk-CVPWQHQH.js.map → chunk-AOVPGJBC.js.map} +0 -0
  57. /package/dist/{chunk-3355GEBI.js.map → chunk-HOSX5C5V.js.map} +0 -0
  58. /package/dist/{chunk-CXJEQQR5.js.map → chunk-KQE5KV2V.js.map} +0 -0
  59. /package/dist/{chunk-N7EX6XK3.js.map → chunk-SXDLSEHO.js.map} +0 -0
  60. /package/dist/{chunk-MQ6WW3CD.js.map → chunk-U7D7G3UU.js.map} +0 -0
  61. /package/dist/{chunk-6YLA7R4S.js.map → chunk-UNO7CEAF.js.map} +0 -0
  62. /package/dist/{chunk-HUNUSBQQ.js.map → chunk-XQUUELKF.js.map} +0 -0
@@ -1,6 +1,6 @@
1
- import { f as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-CmuJ7VDZ.js';
1
+ import { f as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-fRobgKiP.js';
2
2
  import '@tutti-os/agent-activity-core';
3
- import './types-DUHHejs2.js';
3
+ import './types-BvztUbHf.js';
4
4
  import './workspaceAgentActivityListViewModel-TXH1VXrk.js';
5
5
  import './agentConversationVM-BgoqFyE9.js';
6
6
  import '@tutti-os/workspace-user-project/contracts';
@@ -134,10 +134,6 @@ type AgentProvider = (typeof AGENT_PROVIDERS)[number];
134
134
  interface AgentGUINodeData {
135
135
  provider: AgentGUIProvider;
136
136
  agentTargetId?: string | null;
137
- /** @deprecated Use agentTargetId for selection restore. */
138
- providerTargetId?: string | null;
139
- /** @deprecated Provider target refs are resolved from the current target list. */
140
- providerTargetRef?: AgentGUIProviderTargetRef | null;
141
137
  lastActiveAgentSessionId: string | null;
142
138
  lastActiveConversationTitle?: string | null;
143
139
  conversationCount?: number | null;
@@ -148,6 +144,36 @@ interface AgentGUINodeData {
148
144
  composerOverridesByProvider?: Partial<Record<AgentGUIProvider, AgentHostAgentSessionComposerSettings | null>> | null;
149
145
  }
150
146
  type AgentGUIProvider = Extract<AgentProvider, "claude-code" | "codex" | "tutti-agent" | "cursor" | "nexight" | "hermes" | "openclaw" | "opencode">;
147
+ type AgentGUIAgentAvailabilityStatus = "ready" | "checking" | "coming_soon" | "not_installed" | "auth_required" | "unavailable";
148
+ type AgentGUIAgentAvailabilityAction = "install" | "login" | "refresh";
149
+ interface AgentGUIAgentAvailability {
150
+ status: AgentGUIAgentAvailabilityStatus;
151
+ reason?: string | null;
152
+ pendingAction?: AgentGUIAgentAvailabilityAction | null;
153
+ }
154
+ interface AgentGUIAgentOwner {
155
+ name?: string | null;
156
+ avatarUrl?: string | null;
157
+ }
158
+ /**
159
+ * Host-projected entry from the workspace `/agents` directory.
160
+ *
161
+ * `agentTargetId` is the only UI and launch identity. `provider` remains
162
+ * execution metadata for provider-native composer/runtime policy and must not
163
+ * be used to group, deduplicate, name, or select entries.
164
+ */
165
+ interface AgentGUIAgent {
166
+ agentTargetId: string;
167
+ name: string;
168
+ iconUrl: string;
169
+ description?: string | null;
170
+ owner?: AgentGUIAgentOwner | null;
171
+ availability: AgentGUIAgentAvailability;
172
+ provider: AgentGUIProvider;
173
+ }
174
+ interface AgentGUIAllAgentsPresentation {
175
+ iconUrl?: string | null;
176
+ }
151
177
  interface AgentGUIProviderTargetRef {
152
178
  kind: string;
153
179
  provider: AgentGUIProvider;
@@ -170,22 +196,6 @@ interface AgentGUIProviderTarget {
170
196
  disabled?: boolean;
171
197
  unavailableReason?: string;
172
198
  }
173
- interface AgentGUIProviderRailAllPresentation {
174
- iconUrl?: string | null;
175
- }
176
- /**
177
- * How the provider rail composes the target list.
178
- * - "catalog" (default): host-provided targets are augmented with the static
179
- * local provider catalog, disabled placeholders (nexight/hermes/openclaw),
180
- * and coming-soon markers. When no targets are provided, the full local
181
- * catalog is shown.
182
- * - "exact": the rail renders exactly the provided targets — no static catalog
183
- * fallback, no disabled placeholders, no coming-soon injection. When the list
184
- * is empty (and not loading) the host-provided empty renderer is shown. Use
185
- * this when the list is fully orchestrated externally (e.g. shared agents,
186
- * custom /agents).
187
- */
188
- type AgentGUIProviderRailMode = "catalog" | "exact";
189
199
  type AgentGUIProviderReadinessGateStatus = "checking" | "coming_soon" | "not_installed" | "auth_required" | "unavailable";
190
200
  type AgentGUIProviderReadinessGateAction = "install" | "login" | "refresh";
191
201
  interface AgentGUIProviderReadinessGate {
@@ -206,4 +216,4 @@ interface NodeFrame {
206
216
  size: Size;
207
217
  }
208
218
 
209
- export type { AgentGUINodeData as A, NodeFrame as N, Point as P, AgentGUIProvider as a, AgentGUIProviderRailAllPresentation as b, AgentGUIProviderRailMode as c, AgentGUIProviderReadinessGate as d, AgentGUIProviderReadinessGateAction as e, AgentGUIProviderReadinessGateStatus as f, AgentGUIProviderTarget as g, AgentGUIProviderTargetBadge as h, AgentGUIProviderTargetRef as i, AgentHostActivateAgentSessionResult as j, AgentHostAgentSessionCommand as k, AgentHostAgentSessionComposerSettings as l, AgentHostAgentSessionPermissionConfig as m, AgentHostAgentSessionReasoningEffort as n, AgentHostAgentSessionSpeed as o, AgentHostAgentSessionState as p, AgentHostUnactivateAgentSessionResult as q, AgentHostUpdateAgentSessionSettingsResult as r, AgentPromptContentBlock as s, AgentProvider as t };
219
+ export type { AgentGUIAgent as A, NodeFrame as N, Point as P, AgentGUIAgentAvailability as a, AgentGUIAgentAvailabilityAction as b, AgentGUIAgentAvailabilityStatus as c, AgentGUIAgentOwner as d, AgentGUIAllAgentsPresentation as e, AgentGUINodeData as f, AgentGUIProvider as g, AgentGUIProviderReadinessGate as h, AgentGUIProviderTarget as i, AgentHostActivateAgentSessionResult as j, AgentHostAgentSessionCommand as k, AgentHostAgentSessionComposerSettings as l, AgentHostAgentSessionPermissionConfig as m, AgentHostAgentSessionReasoningEffort as n, AgentHostAgentSessionSpeed as o, AgentHostAgentSessionState as p, AgentHostUnactivateAgentSessionResult as q, AgentHostUpdateAgentSessionSettingsResult as r, AgentPromptContentBlock as s, AgentProvider as t };
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { WorkbenchFrame, WorkbenchHostNodeBodyContext, WorkbenchHostLaunchRequest, WorkbenchHostDockEntry, WorkbenchContribution } from '@tutti-os/workbench-surface';
3
3
  import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchState } from './types.js';
4
- import { g as AgentGUIProviderTarget, i as AgentGUIProviderTargetRef } from '../types-DUHHejs2.js';
4
+ import { A as AgentGUIAgent } from '../types-BvztUbHf.js';
5
5
 
6
6
  declare const agentGuiWorkbenchDefaultNodeFrame: WorkbenchFrame;
7
7
  declare const agentGuiWorkbenchDefaultUsableWidthRatio = 0.8;
@@ -53,14 +53,14 @@ interface AgentGuiWorkbenchRenderBodyHelpers {
53
53
  interface CreateAgentGuiWorkbenchContributionInput {
54
54
  copy?: AgentGuiWorkbenchContributionCopyOverrides;
55
55
  defaultProvider?: AgentGuiWorkbenchProvider | null;
56
- defaultProviderTargetId?: string | null;
56
+ defaultAgentTargetId?: string | null;
57
57
  dockIconUrls?: Partial<Record<AgentGuiWorkbenchProvider, string>>;
58
58
  dockSectionId?: string;
59
59
  frame?: WorkbenchFrame;
60
60
  id?: string;
61
61
  providerAvailability?: AgentGuiWorkbenchProviderAvailability;
62
- providerTargets?: readonly AgentGUIProviderTarget[] | null;
63
- providerTargetsLoading?: boolean;
62
+ agents?: readonly AgentGUIAgent[] | null;
63
+ agentsLoading?: boolean;
64
64
  renderBody(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
65
65
  renderPreview?(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
66
66
  renderMinimizedPreview(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
@@ -74,7 +74,7 @@ interface CreateAgentGuiWorkbenchContributionInput {
74
74
  onOpenDetachedWindow?: (input: {
75
75
  agentSessionId?: string | null;
76
76
  agentTargetId?: string | null;
77
- providerTargets?: readonly AgentGUIProviderTarget[];
77
+ agents?: readonly AgentGUIAgent[];
78
78
  provider: AgentGuiWorkbenchProvider;
79
79
  workspaceId: string;
80
80
  }) => void | Promise<void>;
@@ -88,24 +88,22 @@ type AgentGuiWorkbenchProviderAvailability = Partial<Record<AgentGuiWorkbenchPro
88
88
  } | null | undefined>>;
89
89
  interface BuildAgentGuiDockEntriesInput {
90
90
  defaultProvider?: AgentGuiWorkbenchProvider | null;
91
- defaultProviderTargetId?: string | null;
91
+ defaultAgentTargetId?: string | null;
92
92
  dockIconUrls?: Partial<Record<AgentGuiWorkbenchProvider, string>>;
93
93
  label?: string;
94
94
  providerAvailability?: AgentGuiWorkbenchProviderAvailability;
95
- providerTargetsLoading?: boolean;
95
+ agentsLoading?: boolean;
96
96
  renderPreview?: CreateAgentGuiWorkbenchContributionInput["renderPreview"];
97
97
  resolveDockPopupIdentity?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupIdentity"];
98
98
  resolveDockPopupTitle?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupTitle"];
99
99
  sectionId?: string;
100
- targets?: readonly AgentGUIProviderTarget[] | null;
100
+ agents?: readonly AgentGUIAgent[] | null;
101
101
  unifiedDockIconUrl?: string;
102
102
  }
103
103
  declare function buildAgentGuiDockEntries(input: BuildAgentGuiDockEntriesInput): WorkbenchHostDockEntry[];
104
- declare function resolveAgentGuiUnifiedDockLaunchPayload(input: Pick<BuildAgentGuiDockEntriesInput, "defaultProvider" | "defaultProviderTargetId" | "providerAvailability" | "providerTargetsLoading" | "targets">): {
104
+ declare function resolveAgentGuiUnifiedDockLaunchPayload(input: Pick<BuildAgentGuiDockEntriesInput, "defaultProvider" | "defaultAgentTargetId" | "providerAvailability" | "agentsLoading" | "agents">): {
105
105
  provider: AgentGuiWorkbenchProvider;
106
106
  agentTargetId?: string;
107
- providerTargetId?: string;
108
- providerTargetRef?: AgentGUIProviderTargetRef;
109
107
  };
110
108
  declare function resolveAgentGuiWorkbenchDefaultLaunchFrame(input: {
111
109
  frame: WorkbenchFrame;
@@ -14,10 +14,10 @@ import {
14
14
  resolveAgentGuiUnifiedDockLaunchPayload,
15
15
  resolveAgentGuiWorkbenchContributionCopy,
16
16
  resolveAgentGuiWorkbenchDefaultLaunchFrame
17
- } from "../chunk-DBIJRSFG.js";
18
- import "../chunk-BEM3KDOJ.js";
19
- import "../chunk-L2ZMLLYL.js";
20
- import "../chunk-BT2DT2P7.js";
17
+ } from "../chunk-A7RA7ORT.js";
18
+ import "../chunk-45FF4DQU.js";
19
+ import "../chunk-7LMJXF4R.js";
20
+ import "../chunk-GAPTLVII.js";
21
21
  import "../chunk-XW4CVBUH.js";
22
22
  import "../chunk-XDV4ZRVK.js";
23
23
  export {
@@ -6,7 +6,7 @@ import { HTMLAttributes, ReactNode } from 'react';
6
6
  import { WorkbenchDisplayMode, WorkbenchHostNodeHeaderWindowActions } from '@tutti-os/workbench-surface';
7
7
  export { AgentGuiSessionTitleFormatOptions, AgentGuiWorkbenchSessionTitleResult, ResolveAgentGuiWorkbenchSessionTitleInput, formatAgentGuiConversationPlainTitle, formatAgentGuiSessionPlainTitle, resolveAgentGuiWorkbenchSessionTitle } from './sessionTitle.js';
8
8
  export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
9
- import '../types-DUHHejs2.js';
9
+ import '../types-BvztUbHf.js';
10
10
  import '@tutti-os/agent-activity-core';
11
11
  import '../uiSettings-BQS9r2eo.js';
12
12
 
@@ -8,7 +8,7 @@ import {
8
8
  createAgentGuiWorkbenchContribution,
9
9
  resolveAgentGuiUnifiedDockLaunchPayload,
10
10
  resolveAgentGuiWorkbenchContributionCopy
11
- } from "../chunk-DBIJRSFG.js";
11
+ } from "../chunk-A7RA7ORT.js";
12
12
  import {
13
13
  agentGuiWorkbenchProviderFromInstanceId,
14
14
  areAgentGuiWorkbenchNodeStatesEqual,
@@ -18,7 +18,7 @@ import {
18
18
  normalizeAgentGuiWorkbenchNodeState,
19
19
  normalizeAgentGuiWorkbenchState,
20
20
  projectAgentGuiWorkbenchState
21
- } from "../chunk-BEM3KDOJ.js";
21
+ } from "../chunk-45FF4DQU.js";
22
22
  import {
23
23
  agentGuiWorkbenchDockEntryId,
24
24
  agentGuiWorkbenchDockIdentityFromIdentifier,
@@ -31,11 +31,11 @@ import {
31
31
  createAgentGuiWorkbenchInstanceId,
32
32
  createAgentGuiWorkbenchLaunchDescriptor,
33
33
  createAgentGuiWorkbenchSessionLaunchRequest
34
- } from "../chunk-L2ZMLLYL.js";
34
+ } from "../chunk-7LMJXF4R.js";
35
35
  import {
36
36
  agentGuiWorkbenchOpenSessionActivationType,
37
37
  agentGuiWorkbenchPrefillPromptActivationType
38
- } from "../chunk-BT2DT2P7.js";
38
+ } from "../chunk-GAPTLVII.js";
39
39
  import {
40
40
  agentGuiWorkbenchComingSoonProviders,
41
41
  agentGuiWorkbenchDefaultDockProviders,
@@ -53,10 +53,10 @@ import {
53
53
  formatAgentGuiConversationPlainTitle,
54
54
  formatAgentGuiSessionPlainTitle,
55
55
  resolveAgentGuiWorkbenchSessionTitle
56
- } from "../chunk-6YLA7R4S.js";
57
- import "../chunk-3355GEBI.js";
56
+ } from "../chunk-UNO7CEAF.js";
57
+ import "../chunk-HOSX5C5V.js";
58
58
  import "../chunk-XDV4ZRVK.js";
59
- import "../chunk-AA75BOX3.js";
59
+ import "../chunk-VWXFFSIM.js";
60
60
  import "../chunk-GCBDIQDX.js";
61
61
  export {
62
62
  AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
@@ -1,6 +1,5 @@
1
1
  import { WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
2
2
  import { agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchPrefillPromptPayload, agentGuiWorkbenchPrefillPromptActivationType, AgentGuiWorkbenchProvider } from './types.js';
3
- import '../types-DUHHejs2.js';
4
3
 
5
4
  type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "launchSource" | "payload" | "typeId"> & {
6
5
  dockEntryId?: string | null;
@@ -12,10 +12,10 @@ import {
12
12
  createAgentGuiWorkbenchSessionLaunchRequest,
13
13
  resolveAgentGuiWorkbenchLaunchDockEntryId,
14
14
  shouldReuseAgentGuiWorkbenchDockEntryNode
15
- } from "../chunk-L2ZMLLYL.js";
15
+ } from "../chunk-7LMJXF4R.js";
16
16
  import {
17
17
  agentGuiWorkbenchPrefillPromptActivationType
18
- } from "../chunk-BT2DT2P7.js";
18
+ } from "../chunk-GAPTLVII.js";
19
19
  import "../chunk-XW4CVBUH.js";
20
20
  export {
21
21
  agentGuiWorkbenchDockEntryId,
@@ -1,5 +1,4 @@
1
1
  import { AgentGuiWorkbenchProvider } from './types.js';
2
- import '../types-DUHHejs2.js';
3
2
 
4
3
  declare const agentGuiWorkbenchProviders: readonly ["claude-code", "codex", "cursor", "tutti-agent", "opencode", "hermes", "openclaw"];
5
4
  declare const agentGuiWorkbenchDefaultDockProviders: readonly ["codex", "claude-code", "tutti-agent"];
@@ -1,7 +1,6 @@
1
1
  import { AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
2
2
  import { U as UiLanguage } from '../uiSettings-BQS9r2eo.js';
3
3
  import { AgentGuiWorkbenchProvider } from './types.js';
4
- import '../types-DUHHejs2.js';
5
4
 
6
5
  interface AgentGuiSessionTitleFormatOptions {
7
6
  fallbackAgentLabel?: string;
@@ -2,9 +2,9 @@ import {
2
2
  formatAgentGuiConversationPlainTitle,
3
3
  formatAgentGuiSessionPlainTitle,
4
4
  resolveAgentGuiWorkbenchSessionTitle
5
- } from "../chunk-6YLA7R4S.js";
6
- import "../chunk-3355GEBI.js";
7
- import "../chunk-AA75BOX3.js";
5
+ } from "../chunk-UNO7CEAF.js";
6
+ import "../chunk-HOSX5C5V.js";
7
+ import "../chunk-VWXFFSIM.js";
8
8
  import "../chunk-GCBDIQDX.js";
9
9
  export {
10
10
  formatAgentGuiConversationPlainTitle,
@@ -1,10 +1,15 @@
1
1
  import { WorkbenchHostExternalStateSource, WorkbenchHostExternalStateLookupInput } from '@tutti-os/workbench-surface';
2
2
  import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState } from './types.js';
3
- import '../types-DUHHejs2.js';
4
3
 
5
4
  type AgentGuiWorkbenchStateLookupRequest = Pick<WorkbenchHostExternalStateLookupInput, "instanceId" | "typeId"> & Partial<Pick<WorkbenchHostExternalStateLookupInput, "nodeId">>;
6
5
  declare function createDefaultAgentGuiWorkbenchNodeState(provider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
7
6
  declare function normalizeAgentGuiWorkbenchState(state: unknown): AgentGuiWorkbenchState;
7
+ /**
8
+ * One-time persisted-state reader for snapshots written before agentTargetId
9
+ * became the canonical AgentGUI selection key. Current-state normalizers stay
10
+ * strict so live callers cannot continue using the removed alias.
11
+ */
12
+ declare function migrateLegacyAgentGuiWorkbenchState(state: unknown): unknown;
8
13
  declare function projectAgentGuiWorkbenchState(state: AgentGuiWorkbenchNodeState): AgentGuiWorkbenchState;
9
14
  declare function areAgentGuiWorkbenchStatesEqual(left: AgentGuiWorkbenchState, right: AgentGuiWorkbenchState): boolean;
10
15
  declare function normalizeAgentGuiWorkbenchNodeState(state: Partial<AgentGuiWorkbenchNodeState> | null | undefined, fallbackProvider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
@@ -36,4 +41,4 @@ declare function createAgentGuiWorkbenchNodeStateSource(input: {
36
41
  findInstanceIdByAgentSessionId: (agentSessionId: string) => string | null;
37
42
  };
38
43
 
39
- export { agentGuiWorkbenchProviderFromInstanceId, agentGuiWorkbenchProviderFromInstanceIdOrNull, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState };
44
+ export { agentGuiWorkbenchProviderFromInstanceId, agentGuiWorkbenchProviderFromInstanceIdOrNull, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, migrateLegacyAgentGuiWorkbenchState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState };
@@ -5,10 +5,11 @@ import {
5
5
  areAgentGuiWorkbenchStatesEqual,
6
6
  createAgentGuiWorkbenchNodeStateSource,
7
7
  createDefaultAgentGuiWorkbenchNodeState,
8
+ migrateLegacyAgentGuiWorkbenchState,
8
9
  normalizeAgentGuiWorkbenchNodeState,
9
10
  normalizeAgentGuiWorkbenchState,
10
11
  projectAgentGuiWorkbenchState
11
- } from "../chunk-BEM3KDOJ.js";
12
+ } from "../chunk-45FF4DQU.js";
12
13
  import "../chunk-XW4CVBUH.js";
13
14
  export {
14
15
  agentGuiWorkbenchProviderFromInstanceId,
@@ -17,6 +18,7 @@ export {
17
18
  areAgentGuiWorkbenchStatesEqual,
18
19
  createAgentGuiWorkbenchNodeStateSource,
19
20
  createDefaultAgentGuiWorkbenchNodeState,
21
+ migrateLegacyAgentGuiWorkbenchState,
20
22
  normalizeAgentGuiWorkbenchNodeState,
21
23
  normalizeAgentGuiWorkbenchState,
22
24
  projectAgentGuiWorkbenchState
@@ -1,5 +1,3 @@
1
- import { i as AgentGUIProviderTargetRef } from '../types-DUHHejs2.js';
2
-
3
1
  type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "tutti-agent" | "cursor" | "nexight" | "hermes" | "openclaw" | "opencode";
4
2
  declare const agentGuiWorkbenchOpenSessionActivationType = "agent-gui:open-session";
5
3
  declare const agentGuiWorkbenchPrefillPromptActivationType = "agent-gui:prefill-prompt";
@@ -31,10 +29,6 @@ interface AgentGuiWorkbenchNodeState {
31
29
  /** @deprecated Conversation titles are derived from the active session id. */
32
30
  lastActiveConversationTitle?: string | null;
33
31
  provider: AgentGuiWorkbenchProvider;
34
- /** @deprecated Use agentTargetId for selection restore. */
35
- providerTargetId?: string | null;
36
- /** @deprecated Provider target refs are resolved from the current target list. */
37
- providerTargetRef?: AgentGUIProviderTargetRef | null;
38
32
  }
39
33
  interface AgentGuiWorkbenchState {
40
34
  agentTargetId?: string | null;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  agentGuiWorkbenchOpenSessionActivationType,
3
3
  agentGuiWorkbenchPrefillPromptActivationType
4
- } from "../chunk-BT2DT2P7.js";
4
+ } from "../chunk-GAPTLVII.js";
5
5
  export {
6
6
  agentGuiWorkbenchOpenSessionActivationType,
7
7
  agentGuiWorkbenchPrefillPromptActivationType
@@ -4,14 +4,14 @@ import {
4
4
  resolveWorkspaceAgentActivityStatus,
5
5
  resolveWorkspaceAgentActivityTitle,
6
6
  reuseWorkspaceAgentActivityListViewModelIfUnchanged
7
- } from "./chunk-A2JPL5N6.js";
7
+ } from "./chunk-3HARXLAZ.js";
8
8
  import "./chunk-IBIMGLCD.js";
9
9
  import "./chunk-Y35GDLP2.js";
10
10
  import {
11
11
  workspaceAgentProviderLabel
12
12
  } from "./chunk-4HP6V2YA.js";
13
- import "./chunk-MQ6WW3CD.js";
14
- import "./chunk-AA75BOX3.js";
13
+ import "./chunk-U7D7G3UU.js";
14
+ import "./chunk-VWXFFSIM.js";
15
15
  import "./chunk-GCBDIQDX.js";
16
16
  export {
17
17
  buildWorkspaceAgentActivityListViewModel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/agent-gui",
3
- "version": "0.0.85",
3
+ "version": "0.0.86",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -100,17 +100,17 @@
100
100
  "@tiptap/react": "^3.11.1",
101
101
  "@tiptap/starter-kit": "^3.11.1",
102
102
  "@tiptap/suggestion": "^3.11.1",
103
- "@tutti-os/agent-activity-core": "0.0.85",
104
- "@tutti-os/ui-i18n-runtime": "0.0.85",
105
- "@tutti-os/ui-react-hooks": "0.0.85",
106
- "@tutti-os/ui-rich-text": "0.0.85",
107
- "@tutti-os/ui-system": "0.0.85",
108
- "@tutti-os/workbench-surface": "0.0.85",
109
- "@tutti-os/workspace-external-core": "0.0.85",
110
- "@tutti-os/workspace-file-manager": "0.0.85",
111
- "@tutti-os/workspace-file-reference": "0.0.85",
112
- "@tutti-os/workspace-issue-manager": "0.0.85",
113
- "@tutti-os/workspace-user-project": "0.0.85",
103
+ "@tutti-os/agent-activity-core": "0.0.86",
104
+ "@tutti-os/ui-i18n-runtime": "0.0.86",
105
+ "@tutti-os/ui-react-hooks": "0.0.86",
106
+ "@tutti-os/ui-rich-text": "0.0.86",
107
+ "@tutti-os/ui-system": "0.0.86",
108
+ "@tutti-os/workbench-surface": "0.0.86",
109
+ "@tutti-os/workspace-external-core": "0.0.86",
110
+ "@tutti-os/workspace-file-manager": "0.0.86",
111
+ "@tutti-os/workspace-file-reference": "0.0.86",
112
+ "@tutti-os/workspace-issue-manager": "0.0.86",
113
+ "@tutti-os/workspace-user-project": "0.0.86",
114
114
  "clsx": "^2.1.1",
115
115
  "framer-motion": "^12.40.0",
116
116
  "lodash": "^4.17.21",