@tutti-os/agent-gui 0.0.52 → 0.0.54

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 (79) hide show
  1. package/dist/{AgentMentionSearchController-CExFPobz.d.ts → AgentMentionSearchController-DzhWr0PN.d.ts} +13 -3
  2. package/dist/agent-conversation/index.d.ts +2 -2
  3. package/dist/agent-conversation/index.js +7 -6
  4. package/dist/agent-conversation/index.js.map +1 -1
  5. package/dist/agent-message-center/index.js +33 -12
  6. package/dist/agent-message-center/index.js.map +1 -1
  7. package/dist/{agentGuiNodeTypes-wzOITHRW.d.ts → agentGuiNodeTypes-DCnsaqJr.d.ts} +16 -2
  8. package/dist/app/renderer/agentactivity.css +136 -2
  9. package/dist/{chunk-ZTSS2NU2.js → chunk-2XVECUTU.js} +25 -1
  10. package/dist/chunk-2XVECUTU.js.map +1 -0
  11. package/dist/{chunk-OBFDA7RG.js → chunk-4PSDYKZQ.js} +20 -3
  12. package/dist/chunk-4PSDYKZQ.js.map +1 -0
  13. package/dist/{chunk-BFIYBPFD.js → chunk-6AXH2BOD.js} +5 -5
  14. package/dist/{chunk-4K22O34C.js → chunk-7GM7UQXD.js} +29 -3
  15. package/dist/chunk-7GM7UQXD.js.map +1 -0
  16. package/dist/{chunk-2OLYX32K.js → chunk-7ZDLFTVL.js} +76 -7
  17. package/dist/chunk-7ZDLFTVL.js.map +1 -0
  18. package/dist/{chunk-FYVVHRLZ.js → chunk-BGZ2OSDQ.js} +2 -2
  19. package/dist/{chunk-DPG2J7N5.js → chunk-CMOGPJ23.js} +2 -2
  20. package/dist/{chunk-3ZVVFQH5.js → chunk-EXZH66UE.js} +180 -88
  21. package/dist/chunk-EXZH66UE.js.map +1 -0
  22. package/dist/{chunk-66EQ6EQO.js → chunk-GL54NRMB.js} +59 -2
  23. package/dist/chunk-GL54NRMB.js.map +1 -0
  24. package/dist/{chunk-Y7ZVTWMZ.js → chunk-H2YWXFYX.js} +2 -2
  25. package/dist/{chunk-UKDC63WG.js → chunk-JRA44NYI.js} +78 -4
  26. package/dist/chunk-JRA44NYI.js.map +1 -0
  27. package/dist/{chunk-EFDGMXTB.js → chunk-OQJSZSYB.js} +48 -48
  28. package/dist/chunk-OQJSZSYB.js.map +1 -0
  29. package/dist/{chunk-ARCM7YB2.js → chunk-PBHTLI3E.js} +13 -3
  30. package/dist/{chunk-ARCM7YB2.js.map → chunk-PBHTLI3E.js.map} +1 -1
  31. package/dist/{chunk-5Y3PC7HP.js → chunk-VOXUYDQF.js} +238 -25
  32. package/dist/chunk-VOXUYDQF.js.map +1 -0
  33. package/dist/{chunk-HDBKB5RA.js → chunk-WMQN7SZC.js} +2 -58
  34. package/dist/chunk-WMQN7SZC.js.map +1 -0
  35. package/dist/{chunk-F5DYXCY3.js → chunk-Z2BTIAOC.js} +1 -1
  36. package/dist/chunk-Z2BTIAOC.js.map +1 -0
  37. package/dist/{chunk-PIKG746A.js → chunk-ZFDO72FE.js} +132 -67
  38. package/dist/chunk-ZFDO72FE.js.map +1 -0
  39. package/dist/context-mention-palette/index.d.ts +2 -2
  40. package/dist/context-mention-palette/index.js +8 -8
  41. package/dist/context-mention-provider.d.ts +1 -0
  42. package/dist/i18n/index.d.ts +24 -0
  43. package/dist/i18n/index.js +2 -2
  44. package/dist/index.d.ts +23 -53
  45. package/dist/index.js +945 -665
  46. package/dist/index.js.map +1 -1
  47. package/dist/queued-prompt-runtime.d.ts +2 -2
  48. package/dist/{types-xMz0lJWt.d.ts → types-B2m7UcBb.d.ts} +8 -0
  49. package/dist/workbench/contribution.d.ts +43 -4
  50. package/dist/workbench/contribution.js +9 -5
  51. package/dist/workbench/index.d.ts +3 -3
  52. package/dist/workbench/index.js +18 -8
  53. package/dist/workbench/launch.d.ts +2 -1
  54. package/dist/workbench/launch.js +2 -2
  55. package/dist/workbench/providerCatalog.d.ts +1 -1
  56. package/dist/workbench/sessionTitle.d.ts +1 -1
  57. package/dist/workbench/sessionTitle.js +3 -3
  58. package/dist/workbench/state.d.ts +1 -1
  59. package/dist/workbench/state.js +2 -2
  60. package/dist/workbench/types.d.ts +8 -8
  61. package/dist/workbench/types.js +1 -1
  62. package/dist/workspace-agent-generated-files.js +3 -3
  63. package/package.json +14 -14
  64. package/dist/chunk-2OLYX32K.js.map +0 -1
  65. package/dist/chunk-3ZVVFQH5.js.map +0 -1
  66. package/dist/chunk-4K22O34C.js.map +0 -1
  67. package/dist/chunk-5Y3PC7HP.js.map +0 -1
  68. package/dist/chunk-66EQ6EQO.js.map +0 -1
  69. package/dist/chunk-EFDGMXTB.js.map +0 -1
  70. package/dist/chunk-F5DYXCY3.js.map +0 -1
  71. package/dist/chunk-HDBKB5RA.js.map +0 -1
  72. package/dist/chunk-OBFDA7RG.js.map +0 -1
  73. package/dist/chunk-PIKG746A.js.map +0 -1
  74. package/dist/chunk-UKDC63WG.js.map +0 -1
  75. package/dist/chunk-ZTSS2NU2.js.map +0 -1
  76. /package/dist/{chunk-BFIYBPFD.js.map → chunk-6AXH2BOD.js.map} +0 -0
  77. /package/dist/{chunk-FYVVHRLZ.js.map → chunk-BGZ2OSDQ.js.map} +0 -0
  78. /package/dist/{chunk-DPG2J7N5.js.map → chunk-CMOGPJ23.js.map} +0 -0
  79. /package/dist/{chunk-Y7ZVTWMZ.js.map → chunk-H2YWXFYX.js.map} +0 -0
@@ -1,6 +1,6 @@
1
- import { d as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-wzOITHRW.js';
1
+ import { e as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-DCnsaqJr.js';
2
2
  import '@tutti-os/agent-activity-core';
3
- import './types-xMz0lJWt.js';
3
+ import './types-B2m7UcBb.js';
4
4
  import './workspaceAgentActivityListViewModel-B5viw5Da.js';
5
5
  import './agentConversationVM-Qbz9GBwR.js';
6
6
  import '@tutti-os/workspace-user-project/contracts';
@@ -25,6 +25,7 @@ interface AgentHostAgentSessionComposerSettings {
25
25
  interface AgentHostAgentSession {
26
26
  workspaceId: string;
27
27
  agentSessionId: string;
28
+ agentTargetId?: string | null;
28
29
  provider: AgentHostAgentSessionProvider;
29
30
  providerSessionId: string;
30
31
  resumable?: boolean;
@@ -52,6 +53,7 @@ interface AgentHostAgentSessionInteractivePrompt {
52
53
  interface AgentHostAgentSessionState {
53
54
  workspaceId: string;
54
55
  agentSessionId: string;
56
+ agentTargetId?: string | null;
55
57
  provider: AgentHostAgentSessionProvider;
56
58
  providerSessionId?: string;
57
59
  resumable?: boolean;
@@ -131,7 +133,10 @@ type AgentProvider = (typeof AGENT_PROVIDERS)[number];
131
133
 
132
134
  interface AgentGUINodeData {
133
135
  provider: AgentGUIProvider;
136
+ agentTargetId?: string | null;
137
+ /** @deprecated Use agentTargetId for selection restore. */
134
138
  providerTargetId?: string | null;
139
+ /** @deprecated Provider target refs are resolved from the current target list. */
135
140
  providerTargetRef?: AgentGUIProviderTargetRef | null;
136
141
  lastActiveAgentSessionId: string | null;
137
142
  lastActiveConversationTitle?: string | null;
@@ -139,6 +144,7 @@ interface AgentGUINodeData {
139
144
  conversationRailWidthPx?: number | null;
140
145
  conversationRailCollapsed?: boolean | null;
141
146
  composerOverrides?: AgentHostAgentSessionComposerSettings | null;
147
+ composerOverridesByAgentTargetId?: Record<string, AgentHostAgentSessionComposerSettings | null> | null;
142
148
  composerOverridesByProvider?: Partial<Record<AgentGUIProvider, AgentHostAgentSessionComposerSettings | null>> | null;
143
149
  }
144
150
  type AgentGUIProvider = Extract<AgentProvider, "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw">;
@@ -149,10 +155,12 @@ interface AgentGUIProviderTargetRef {
149
155
  }
150
156
  interface AgentGUIProviderTarget {
151
157
  targetId: string;
158
+ agentTargetId?: string | null;
152
159
  provider: AgentGUIProvider;
153
160
  ref: AgentGUIProviderTargetRef;
154
161
  label: string;
155
162
  description?: string;
163
+ iconUrl?: string | null;
156
164
  ownerLabel?: string;
157
165
  disabled?: boolean;
158
166
  unavailableReason?: string;
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
- import { WorkbenchFrame, WorkbenchHostNodeBodyContext, WorkbenchHostDockEntry, WorkbenchContribution, WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
3
- import { AgentGuiWorkbenchState, AgentGuiWorkbenchProvider } from './types.js';
4
- import '../types-xMz0lJWt.js';
2
+ import { WorkbenchFrame, WorkbenchHostNodeBodyContext, WorkbenchHostDockEntry, WorkbenchHostLaunchRequest, WorkbenchContribution } from '@tutti-os/workbench-surface';
3
+ import { AgentGuiWorkbenchDockLayout } from './launch.js';
4
+ import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchState } from './types.js';
5
+ import { b as AgentGUIProviderTarget, c as AgentGUIProviderTargetRef } from '../types-B2m7UcBb.js';
5
6
 
6
7
  declare const agentGuiWorkbenchDefaultNodeFrame: WorkbenchFrame;
7
8
  declare const agentGuiWorkbenchDefaultUsableHeightRatio = 0.7;
@@ -39,22 +40,60 @@ interface AgentGuiWorkbenchRenderBodyHelpers {
39
40
  }
40
41
  interface CreateAgentGuiWorkbenchContributionInput {
41
42
  copy?: AgentGuiWorkbenchContributionCopyOverrides;
43
+ defaultProvider?: AgentGuiWorkbenchProvider | null;
44
+ defaultProviderTargetId?: string | null;
45
+ dockLayout?: AgentGuiWorkbenchDockLayout;
42
46
  dockIconUrls?: Partial<Record<AgentGuiWorkbenchProvider, string>>;
43
47
  dockSectionId?: string;
44
48
  frame?: WorkbenchFrame;
45
49
  id?: string;
50
+ providerAvailability?: AgentGuiWorkbenchProviderAvailability;
51
+ providerTargets?: readonly AgentGUIProviderTarget[] | null;
52
+ providerTargetsLoading?: boolean;
46
53
  renderBody(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
47
54
  renderPreview?(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
48
55
  renderMinimizedPreview(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
49
56
  resolveDockPopupTitle?: (state: AgentGuiWorkbenchState | null) => string | null;
50
57
  resolveDockEntryVisibility?: (provider: AgentGuiWorkbenchProvider) => WorkbenchHostDockEntry["visibility"];
58
+ resolveDockLaunchPayload?: (input: {
59
+ dockEntryId?: string | null;
60
+ payload: unknown;
61
+ reason: WorkbenchHostLaunchRequest["reason"];
62
+ }) => unknown | null | undefined;
63
+ unifiedDockIconUrl?: string;
51
64
  workspaceId: string;
52
65
  }
53
66
  declare function createAgentGuiWorkbenchContribution(input: CreateAgentGuiWorkbenchContributionInput): WorkbenchContribution;
67
+ type AgentGuiWorkbenchProviderAvailability = Partial<Record<AgentGuiWorkbenchProvider, boolean | "available" | "ready" | "unavailable" | {
68
+ available?: boolean | null;
69
+ status?: string | null;
70
+ } | null | undefined>>;
71
+ interface BuildAgentGuiDockEntriesInput {
72
+ defaultProvider?: AgentGuiWorkbenchProvider | null;
73
+ defaultProviderTargetId?: string | null;
74
+ dockIconUrls?: Partial<Record<AgentGuiWorkbenchProvider, string>>;
75
+ label?: string;
76
+ layout: AgentGuiWorkbenchDockLayout;
77
+ providerAvailability?: AgentGuiWorkbenchProviderAvailability;
78
+ providerTargetsLoading?: boolean;
79
+ renderPreview?: CreateAgentGuiWorkbenchContributionInput["renderPreview"];
80
+ resolveDockEntryVisibility?: CreateAgentGuiWorkbenchContributionInput["resolveDockEntryVisibility"];
81
+ resolveDockPopupTitle?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupTitle"];
82
+ sectionId?: string;
83
+ targets?: readonly AgentGUIProviderTarget[] | null;
84
+ unifiedDockIconUrl?: string;
85
+ }
86
+ declare function buildAgentGuiDockEntries(input: BuildAgentGuiDockEntriesInput): WorkbenchHostDockEntry[];
87
+ declare function resolveAgentGuiUnifiedDockLaunchPayload(input: Pick<BuildAgentGuiDockEntriesInput, "defaultProvider" | "defaultProviderTargetId" | "providerAvailability" | "providerTargetsLoading" | "targets">): {
88
+ provider: AgentGuiWorkbenchProvider;
89
+ agentTargetId?: string;
90
+ providerTargetId?: string;
91
+ providerTargetRef?: AgentGUIProviderTargetRef;
92
+ };
54
93
  declare function resolveAgentGuiWorkbenchDefaultLaunchFrame(input: {
55
94
  frame: WorkbenchFrame;
56
95
  request: Pick<WorkbenchHostLaunchRequest, "layoutConstraints" | "surfaceSize">;
57
96
  }): WorkbenchFrame;
58
97
  declare function resolveAgentGuiWorkbenchContributionCopy(copy?: AgentGuiWorkbenchContributionCopyOverrides): AgentGuiWorkbenchContributionCopy;
59
98
 
60
- export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, type AgentGuiWorkbenchContributionCopy, type AgentGuiWorkbenchContributionCopyOverrides, type AgentGuiWorkbenchConversationRailToggleDetail, type AgentGuiWorkbenchNewConversationDetail, type AgentGuiWorkbenchRenderBodyHelpers, type CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchCompactVisibleAreaRatio, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, agentGuiWorkbenchDefaultUsableHeightRatio, agentGuiWorkbenchNewWindowCascadeOffset, createAgentGuiWorkbenchContribution, resolveAgentGuiWorkbenchContributionCopy, resolveAgentGuiWorkbenchDefaultLaunchFrame };
99
+ export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, type AgentGuiWorkbenchContributionCopy, type AgentGuiWorkbenchContributionCopyOverrides, type AgentGuiWorkbenchConversationRailToggleDetail, type AgentGuiWorkbenchNewConversationDetail, type AgentGuiWorkbenchProviderAvailability, type AgentGuiWorkbenchRenderBodyHelpers, type BuildAgentGuiDockEntriesInput, type CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchCompactVisibleAreaRatio, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, agentGuiWorkbenchDefaultUsableHeightRatio, agentGuiWorkbenchNewWindowCascadeOffset, buildAgentGuiDockEntries, createAgentGuiWorkbenchContribution, resolveAgentGuiUnifiedDockLaunchPayload, resolveAgentGuiWorkbenchContributionCopy, resolveAgentGuiWorkbenchDefaultLaunchFrame };
@@ -6,16 +6,18 @@ import {
6
6
  agentGuiWorkbenchDefaultNodeFrame,
7
7
  agentGuiWorkbenchDefaultUsableHeightRatio,
8
8
  agentGuiWorkbenchNewWindowCascadeOffset,
9
+ buildAgentGuiDockEntries,
9
10
  createAgentGuiWorkbenchContribution,
11
+ resolveAgentGuiUnifiedDockLaunchPayload,
10
12
  resolveAgentGuiWorkbenchContributionCopy,
11
13
  resolveAgentGuiWorkbenchDefaultLaunchFrame
12
- } from "../chunk-5Y3PC7HP.js";
13
- import "../chunk-OBFDA7RG.js";
14
- import "../chunk-F5DYXCY3.js";
15
- import "../chunk-EFDGMXTB.js";
14
+ } from "../chunk-VOXUYDQF.js";
15
+ import "../chunk-4PSDYKZQ.js";
16
+ import "../chunk-Z2BTIAOC.js";
17
+ import "../chunk-OQJSZSYB.js";
16
18
  import "../chunk-22L4VWUR.js";
17
19
  import "../chunk-Q75AK47T.js";
18
- import "../chunk-4K22O34C.js";
20
+ import "../chunk-7GM7UQXD.js";
19
21
  import "../chunk-MTFSQWZ6.js";
20
22
  export {
21
23
  AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
@@ -25,7 +27,9 @@ export {
25
27
  agentGuiWorkbenchDefaultNodeFrame,
26
28
  agentGuiWorkbenchDefaultUsableHeightRatio,
27
29
  agentGuiWorkbenchNewWindowCascadeOffset,
30
+ buildAgentGuiDockEntries,
28
31
  createAgentGuiWorkbenchContribution,
32
+ resolveAgentGuiUnifiedDockLaunchPayload,
29
33
  resolveAgentGuiWorkbenchContributionCopy,
30
34
  resolveAgentGuiWorkbenchDefaultLaunchFrame
31
35
  };
@@ -1,14 +1,14 @@
1
- export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, AgentGuiWorkbenchContributionCopy, AgentGuiWorkbenchContributionCopyOverrides, AgentGuiWorkbenchConversationRailToggleDetail, AgentGuiWorkbenchNewConversationDetail, AgentGuiWorkbenchRenderBodyHelpers, CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, createAgentGuiWorkbenchContribution, resolveAgentGuiWorkbenchContributionCopy } from './contribution.js';
1
+ export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, AgentGuiWorkbenchContributionCopy, AgentGuiWorkbenchContributionCopyOverrides, AgentGuiWorkbenchConversationRailToggleDetail, AgentGuiWorkbenchNewConversationDetail, AgentGuiWorkbenchProviderAvailability, AgentGuiWorkbenchRenderBodyHelpers, BuildAgentGuiDockEntriesInput, CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, buildAgentGuiDockEntries, createAgentGuiWorkbenchContribution, resolveAgentGuiUnifiedDockLaunchPayload, resolveAgentGuiWorkbenchContributionCopy } from './contribution.js';
2
2
  export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProviders, agentGuiWorkbenchDockSuppressedProviders, agentGuiWorkbenchProviderLabels, agentGuiWorkbenchProviders, isAgentGuiWorkbenchComingSoonProvider, isAgentGuiWorkbenchDefaultDockProvider, isAgentGuiWorkbenchDockSuppressedProvider, isAgentGuiWorkbenchProvider, normalizeAgentGuiWorkbenchProvider, resolveAgentGuiWorkbenchProviderLabel } from './providerCatalog.js';
3
- export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest } from './launch.js';
3
+ export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockEntryIdForLayout, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest } from './launch.js';
4
4
  export { agentGuiWorkbenchProviderFromInstanceId, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
5
5
  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-B2m7UcBb.js';
9
10
  import '@tutti-os/agent-activity-core';
10
11
  import '../uiSettings-BQS9r2eo.js';
11
- import '../types-xMz0lJWt.js';
12
12
 
13
13
  interface AgentGuiWorkbenchHeaderCopy {
14
14
  collapseConversationRail: string;
@@ -4,24 +4,29 @@ import {
4
4
  AgentGuiWorkbenchHeader,
5
5
  agentGuiWorkbenchDefaultCopy,
6
6
  agentGuiWorkbenchDefaultNodeFrame,
7
+ buildAgentGuiDockEntries,
7
8
  createAgentGuiWorkbenchContribution,
9
+ resolveAgentGuiUnifiedDockLaunchPayload,
8
10
  resolveAgentGuiWorkbenchContributionCopy
9
- } from "../chunk-5Y3PC7HP.js";
11
+ } from "../chunk-VOXUYDQF.js";
10
12
  import {
11
13
  agentGuiWorkbenchDockEntryId,
14
+ agentGuiWorkbenchDockEntryIdForLayout,
15
+ agentGuiWorkbenchDockIdentityFromIdentifier,
12
16
  agentGuiWorkbenchInstanceId,
13
17
  agentGuiWorkbenchProviderFromIdentifier,
14
18
  agentGuiWorkbenchProviderFromLaunchRequest,
15
19
  agentGuiWorkbenchTypeId,
20
+ agentGuiWorkbenchUnifiedDockEntryId,
16
21
  createAgentGuiWorkbenchDraftLaunchRequest,
17
22
  createAgentGuiWorkbenchInstanceId,
18
23
  createAgentGuiWorkbenchLaunchDescriptor,
19
24
  createAgentGuiWorkbenchSessionLaunchRequest
20
- } from "../chunk-OBFDA7RG.js";
25
+ } from "../chunk-4PSDYKZQ.js";
21
26
  import {
22
27
  agentGuiWorkbenchOpenSessionActivationType,
23
28
  agentGuiWorkbenchPrefillPromptActivationType
24
- } from "../chunk-F5DYXCY3.js";
29
+ } from "../chunk-Z2BTIAOC.js";
25
30
  import {
26
31
  agentGuiWorkbenchProviderFromInstanceId,
27
32
  areAgentGuiWorkbenchNodeStatesEqual,
@@ -31,7 +36,7 @@ import {
31
36
  normalizeAgentGuiWorkbenchNodeState,
32
37
  normalizeAgentGuiWorkbenchState,
33
38
  projectAgentGuiWorkbenchState
34
- } from "../chunk-EFDGMXTB.js";
39
+ } from "../chunk-OQJSZSYB.js";
35
40
  import {
36
41
  agentGuiWorkbenchComingSoonProviders,
37
42
  agentGuiWorkbenchDefaultDockProviders,
@@ -46,16 +51,16 @@ import {
46
51
  resolveAgentGuiWorkbenchProviderLabel
47
52
  } from "../chunk-22L4VWUR.js";
48
53
  import "../chunk-Q75AK47T.js";
49
- import "../chunk-4K22O34C.js";
54
+ import "../chunk-7GM7UQXD.js";
50
55
  import {
51
56
  formatAgentGuiConversationPlainTitle,
52
57
  formatAgentGuiSessionPlainTitle,
53
58
  resolveAgentGuiWorkbenchSessionTitle
54
- } from "../chunk-FYVVHRLZ.js";
55
- import "../chunk-DPG2J7N5.js";
59
+ } from "../chunk-BGZ2OSDQ.js";
60
+ import "../chunk-CMOGPJ23.js";
56
61
  import "../chunk-MTFSQWZ6.js";
57
62
  import "../chunk-GCBDIQDX.js";
58
- import "../chunk-ZTSS2NU2.js";
63
+ import "../chunk-2XVECUTU.js";
59
64
  export {
60
65
  AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
61
66
  AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
@@ -65,6 +70,8 @@ export {
65
70
  agentGuiWorkbenchDefaultDockProviders,
66
71
  agentGuiWorkbenchDefaultNodeFrame,
67
72
  agentGuiWorkbenchDockEntryId,
73
+ agentGuiWorkbenchDockEntryIdForLayout,
74
+ agentGuiWorkbenchDockIdentityFromIdentifier,
68
75
  agentGuiWorkbenchDockSuppressedProviders,
69
76
  agentGuiWorkbenchInstanceId,
70
77
  agentGuiWorkbenchOpenSessionActivationType,
@@ -75,8 +82,10 @@ export {
75
82
  agentGuiWorkbenchProviderLabels,
76
83
  agentGuiWorkbenchProviders,
77
84
  agentGuiWorkbenchTypeId,
85
+ agentGuiWorkbenchUnifiedDockEntryId,
78
86
  areAgentGuiWorkbenchNodeStatesEqual,
79
87
  areAgentGuiWorkbenchStatesEqual,
88
+ buildAgentGuiDockEntries,
80
89
  createAgentGuiWorkbenchContribution,
81
90
  createAgentGuiWorkbenchDraftLaunchRequest,
82
91
  createAgentGuiWorkbenchInstanceId,
@@ -94,6 +103,7 @@ export {
94
103
  normalizeAgentGuiWorkbenchProvider,
95
104
  normalizeAgentGuiWorkbenchState,
96
105
  projectAgentGuiWorkbenchState,
106
+ resolveAgentGuiUnifiedDockLaunchPayload,
97
107
  resolveAgentGuiWorkbenchContributionCopy,
98
108
  resolveAgentGuiWorkbenchProviderLabel,
99
109
  resolveAgentGuiWorkbenchSessionTitle
@@ -1,6 +1,6 @@
1
1
  import { WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
2
2
  import { agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchPrefillPromptPayload, agentGuiWorkbenchPrefillPromptActivationType, AgentGuiWorkbenchProvider } from './types.js';
3
- import '../types-xMz0lJWt.js';
3
+ import '../types-B2m7UcBb.js';
4
4
 
5
5
  type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "payload" | "typeId"> & {
6
6
  dockEntryId?: string | null;
@@ -22,6 +22,7 @@ declare function agentGuiWorkbenchDockEntryIdForLayout(input: {
22
22
  declare function agentGuiWorkbenchInstanceId(provider: AgentGuiWorkbenchProvider): string;
23
23
  declare function createAgentGuiWorkbenchInstanceId(input: {
24
24
  agentSessionId?: string | null;
25
+ agentTargetId?: string | null;
25
26
  provider: AgentGuiWorkbenchProvider;
26
27
  }): string;
27
28
  declare function agentGuiWorkbenchProviderFromIdentifier(value: string | null | undefined): AgentGuiWorkbenchProvider | null;
@@ -13,10 +13,10 @@ import {
13
13
  createAgentGuiWorkbenchSessionLaunchRequest,
14
14
  resolveAgentGuiWorkbenchLaunchDockEntryId,
15
15
  shouldReuseAgentGuiWorkbenchDockEntryNode
16
- } from "../chunk-OBFDA7RG.js";
16
+ } from "../chunk-4PSDYKZQ.js";
17
17
  import {
18
18
  agentGuiWorkbenchPrefillPromptActivationType
19
- } from "../chunk-F5DYXCY3.js";
19
+ } from "../chunk-Z2BTIAOC.js";
20
20
  import "../chunk-22L4VWUR.js";
21
21
  export {
22
22
  agentGuiWorkbenchDockEntryId,
@@ -1,5 +1,5 @@
1
1
  import { AgentGuiWorkbenchProvider } from './types.js';
2
- import '../types-xMz0lJWt.js';
2
+ import '../types-B2m7UcBb.js';
3
3
 
4
4
  declare const agentGuiWorkbenchProviders: readonly ["claude-code", "codex", "nexight", "hermes", "gemini", "openclaw"];
5
5
  declare const agentGuiWorkbenchDefaultDockProviders: readonly ["codex", "claude-code"];
@@ -1,7 +1,7 @@
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-xMz0lJWt.js';
4
+ import '../types-B2m7UcBb.js';
5
5
 
6
6
  interface AgentGuiSessionTitleFormatOptions {
7
7
  fallbackAgentLabel?: string;
@@ -2,10 +2,10 @@ import {
2
2
  formatAgentGuiConversationPlainTitle,
3
3
  formatAgentGuiSessionPlainTitle,
4
4
  resolveAgentGuiWorkbenchSessionTitle
5
- } from "../chunk-FYVVHRLZ.js";
6
- import "../chunk-DPG2J7N5.js";
5
+ } from "../chunk-BGZ2OSDQ.js";
6
+ import "../chunk-CMOGPJ23.js";
7
7
  import "../chunk-GCBDIQDX.js";
8
- import "../chunk-ZTSS2NU2.js";
8
+ import "../chunk-2XVECUTU.js";
9
9
  export {
10
10
  formatAgentGuiConversationPlainTitle,
11
11
  formatAgentGuiSessionPlainTitle,
@@ -1,6 +1,6 @@
1
1
  import { WorkbenchHostExternalStateSource, WorkbenchHostExternalStateLookupInput } from '@tutti-os/workbench-surface';
2
2
  import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState } from './types.js';
3
- import '../types-xMz0lJWt.js';
3
+ import '../types-B2m7UcBb.js';
4
4
 
5
5
  type AgentGuiWorkbenchStateLookupRequest = Pick<WorkbenchHostExternalStateLookupInput, "instanceId" | "typeId"> & Partial<Pick<WorkbenchHostExternalStateLookupInput, "nodeId">>;
6
6
  declare function createDefaultAgentGuiWorkbenchNodeState(provider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
@@ -7,9 +7,9 @@ import {
7
7
  normalizeAgentGuiWorkbenchNodeState,
8
8
  normalizeAgentGuiWorkbenchState,
9
9
  projectAgentGuiWorkbenchState
10
- } from "../chunk-EFDGMXTB.js";
10
+ } from "../chunk-OQJSZSYB.js";
11
11
  import "../chunk-22L4VWUR.js";
12
- import "../chunk-4K22O34C.js";
12
+ import "../chunk-7GM7UQXD.js";
13
13
  export {
14
14
  agentGuiWorkbenchProviderFromInstanceId,
15
15
  areAgentGuiWorkbenchNodeStatesEqual,
@@ -1,4 +1,4 @@
1
- import { c as AgentGUIProviderTargetRef } from '../types-xMz0lJWt.js';
1
+ import { c as AgentGUIProviderTargetRef } from '../types-B2m7UcBb.js';
2
2
 
3
3
  type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
4
4
  declare const agentGuiWorkbenchOpenSessionActivationType = "agent-gui:open-session";
@@ -15,8 +15,11 @@ interface AgentGuiWorkbenchComposerOverrides {
15
15
  reasoningEffort?: string | null;
16
16
  }
17
17
  type AgentGuiWorkbenchComposerOverridesByProvider = Partial<Record<AgentGuiWorkbenchProvider, AgentGuiWorkbenchComposerOverrides | null>>;
18
+ type AgentGuiWorkbenchComposerOverridesByAgentTargetId = Record<string, AgentGuiWorkbenchComposerOverrides | null>;
18
19
  interface AgentGuiWorkbenchNodeState {
20
+ agentTargetId?: string | null;
19
21
  composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;
22
+ composerOverridesByAgentTargetId?: AgentGuiWorkbenchComposerOverridesByAgentTargetId | null;
20
23
  composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | null;
21
24
  conversationCount?: number | null;
22
25
  conversationRailCollapsed?: boolean | null;
@@ -25,22 +28,19 @@ interface AgentGuiWorkbenchNodeState {
25
28
  /** @deprecated Conversation titles are derived from the active session id. */
26
29
  lastActiveConversationTitle?: string | null;
27
30
  provider: AgentGuiWorkbenchProvider;
31
+ /** @deprecated Use agentTargetId for selection restore. */
28
32
  providerTargetId?: string | null;
33
+ /** @deprecated Provider target refs are resolved from the current target list. */
29
34
  providerTargetRef?: AgentGUIProviderTargetRef | null;
30
35
  }
31
36
  interface AgentGuiWorkbenchState {
32
- composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;
33
- composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | null;
37
+ agentTargetId?: string | null;
34
38
  conversationRailCollapsed?: boolean | null;
35
39
  conversationRailWidthPx?: number | null;
36
40
  lastActiveAgentSessionId: string | null;
37
- /** @deprecated Conversation titles are derived from the active session id. */
38
- lastActiveConversationTitle?: string | null;
39
- providerTargetId?: string | null;
40
- providerTargetRef?: AgentGUIProviderTargetRef | null;
41
41
  }
42
42
  interface AgentGuiWorkbenchWorkspaceState {
43
43
  workspaceId: string;
44
44
  }
45
45
 
46
- export { type AgentGuiWorkbenchComposerOverrides, type AgentGuiWorkbenchComposerOverridesByProvider, type AgentGuiWorkbenchNodeState, type AgentGuiWorkbenchPrefillPromptPayload, type AgentGuiWorkbenchProvider, type AgentGuiWorkbenchState, type AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType };
46
+ export { type AgentGuiWorkbenchComposerOverrides, type AgentGuiWorkbenchComposerOverridesByAgentTargetId, type AgentGuiWorkbenchComposerOverridesByProvider, type AgentGuiWorkbenchNodeState, type AgentGuiWorkbenchPrefillPromptPayload, type AgentGuiWorkbenchProvider, type AgentGuiWorkbenchState, type AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  agentGuiWorkbenchOpenSessionActivationType,
3
3
  agentGuiWorkbenchPrefillPromptActivationType
4
- } from "../chunk-F5DYXCY3.js";
4
+ } from "../chunk-Z2BTIAOC.js";
5
5
  export {
6
6
  agentGuiWorkbenchOpenSessionActivationType,
7
7
  agentGuiWorkbenchPrefillPromptActivationType
@@ -4,15 +4,15 @@ import {
4
4
  resolveWorkspaceAgentActivityStatus,
5
5
  resolveWorkspaceAgentActivityTitle,
6
6
  reuseWorkspaceAgentActivityListViewModelIfUnchanged
7
- } from "./chunk-ARCM7YB2.js";
7
+ } from "./chunk-PBHTLI3E.js";
8
8
  import "./chunk-IBIMGLCD.js";
9
9
  import "./chunk-Y35GDLP2.js";
10
10
  import {
11
11
  workspaceAgentProviderLabel
12
12
  } from "./chunk-TYGL25EL.js";
13
13
  import "./chunk-GCBDIQDX.js";
14
- import "./chunk-Y7ZVTWMZ.js";
15
- import "./chunk-ZTSS2NU2.js";
14
+ import "./chunk-H2YWXFYX.js";
15
+ import "./chunk-2XVECUTU.js";
16
16
  export {
17
17
  buildWorkspaceAgentActivityListViewModel,
18
18
  collectWorkspaceAgentGeneratedFiles,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/agent-gui",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -90,17 +90,17 @@
90
90
  },
91
91
  "dependencies": {
92
92
  "@monaco-editor/react": "^4.7.0",
93
- "@tutti-os/agent-activity-core": "0.0.52",
94
- "@tutti-os/ui-i18n-runtime": "0.0.52",
95
- "@tutti-os/ui-rich-text": "0.0.52",
96
- "@tutti-os/ui-react-hooks": "0.0.52",
97
- "@tutti-os/ui-system": "0.0.52",
98
- "@tutti-os/workbench-surface": "0.0.52",
99
- "@tutti-os/workspace-external-core": "0.0.52",
100
- "@tutti-os/workspace-file-manager": "0.0.52",
101
- "@tutti-os/workspace-file-reference": "0.0.52",
102
- "@tutti-os/workspace-issue-manager": "0.0.52",
103
- "@tutti-os/workspace-user-project": "0.0.52",
93
+ "@tutti-os/agent-activity-core": "0.0.54",
94
+ "@tutti-os/ui-i18n-runtime": "0.0.54",
95
+ "@tutti-os/ui-rich-text": "0.0.54",
96
+ "@tutti-os/ui-react-hooks": "0.0.54",
97
+ "@tutti-os/ui-system": "0.0.54",
98
+ "@tutti-os/workbench-surface": "0.0.54",
99
+ "@tutti-os/workspace-external-core": "0.0.54",
100
+ "@tutti-os/workspace-file-manager": "0.0.54",
101
+ "@tutti-os/workspace-file-reference": "0.0.54",
102
+ "@tutti-os/workspace-issue-manager": "0.0.54",
103
+ "@tutti-os/workspace-user-project": "0.0.54",
104
104
  "@tanstack/react-virtual": "^3.13.12",
105
105
  "@tiptap/core": "^3.11.1",
106
106
  "@tiptap/pm": "^3.23.6",
@@ -131,8 +131,8 @@
131
131
  "typescript": "^5.8.3",
132
132
  "vite": "^6.4.2",
133
133
  "vitest": "^4.0.13",
134
- "@tutti-os/config-tsconfig": "0.0.0",
135
- "@tutti-os/client-tuttid-ts": "0.0.0"
134
+ "@tutti-os/client-tuttid-ts": "0.0.0",
135
+ "@tutti-os/config-tsconfig": "0.0.0"
136
136
  },
137
137
  "peerDependencies": {
138
138
  "react": "^19.1.0",