@tutti-os/agent-gui 0.0.115 → 0.0.116

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 (78) hide show
  1. package/dist/{AgentGUI-D4jgPDg0.d.ts → AgentGUI-Be6O5di1.d.ts} +2 -2
  2. package/dist/{AgentRichTextReadonly-KNPDB5ZJ.js → AgentRichTextReadonly-AY36C7TV.js} +5 -5
  3. package/dist/agent-conversation/index.d.ts +2 -2
  4. package/dist/agent-conversation/index.js +9 -9
  5. package/dist/agent-env/ui.d.ts +19 -0
  6. package/dist/agent-env/ui.js +9 -0
  7. package/dist/agent-env/ui.js.map +1 -0
  8. package/dist/agent-gui.d.ts +3 -3
  9. package/dist/agent-gui.js +19 -18
  10. package/dist/agent-message-center/index.js +10 -10
  11. package/dist/{agentGuiNodeTypes-BebhwDeE.d.ts → agentGuiNodeTypes-C_H3DbXt.d.ts} +78 -2
  12. package/dist/agents.d.ts +1 -1
  13. package/dist/agents.js +1 -1
  14. package/dist/app/renderer/agentactivity.css +79 -3
  15. package/dist/{chunk-CTSKSYMM.js → chunk-5G3OFCWH.js} +2 -2
  16. package/dist/{chunk-JLRPIEIE.js → chunk-5HIF53K5.js} +44 -5
  17. package/dist/chunk-5HIF53K5.js.map +1 -0
  18. package/dist/{chunk-CY45OZEY.js → chunk-AMO3EB7V.js} +4 -4
  19. package/dist/{chunk-W4KHK5HK.js → chunk-DVXXZWYX.js} +95 -1
  20. package/dist/chunk-DVXXZWYX.js.map +1 -0
  21. package/dist/{chunk-FBPZXKQC.js → chunk-DXXKHL4G.js} +2 -2
  22. package/dist/{chunk-SFYWL6FT.js → chunk-EPNL55ZQ.js} +2 -2
  23. package/dist/{chunk-EM4RD5FQ.js → chunk-EYZSEPL7.js} +9 -9
  24. package/dist/chunk-EYZSEPL7.js.map +1 -0
  25. package/dist/{chunk-YKQAOIF2.js → chunk-I6Y4XQVR.js} +119 -8
  26. package/dist/chunk-I6Y4XQVR.js.map +1 -0
  27. package/dist/{chunk-ATDAII35.js → chunk-IIQSQNS4.js} +2960 -1527
  28. package/dist/chunk-IIQSQNS4.js.map +1 -0
  29. package/dist/{chunk-RATBQN2V.js → chunk-J26ZYCAH.js} +3 -2
  30. package/dist/{chunk-RATBQN2V.js.map → chunk-J26ZYCAH.js.map} +1 -1
  31. package/dist/{chunk-HFU3FYXP.js → chunk-JEXYDXFW.js} +4 -4
  32. package/dist/{chunk-MWN3AIQJ.js → chunk-LQJBDDZG.js} +4 -4
  33. package/dist/{chunk-UHBCM6RO.js → chunk-MHOYBRCY.js} +1 -1
  34. package/dist/{chunk-UHBCM6RO.js.map → chunk-MHOYBRCY.js.map} +1 -1
  35. package/dist/{chunk-BYE5CKEU.js → chunk-NNIXG27Q.js} +6 -6
  36. package/dist/{chunk-FRCZZ7ON.js → chunk-OXC5CPW7.js} +7 -7
  37. package/dist/{chunk-AY5AFMT2.js → chunk-TUWQV2MC.js} +5 -5
  38. package/dist/chunk-UP3ZDYTN.js +64 -0
  39. package/dist/chunk-UP3ZDYTN.js.map +1 -0
  40. package/dist/{chunk-7OYHDOGG.js → chunk-UV3UQAS2.js} +6 -4
  41. package/dist/chunk-UV3UQAS2.js.map +1 -0
  42. package/dist/{chunk-455YDWMS.js → chunk-VLPWO73G.js} +2 -2
  43. package/dist/context-mention-palette/index.js +7 -7
  44. package/dist/{contribution-C2LDwLA7.d.ts → contribution-BlemXneM.d.ts} +1 -1
  45. package/dist/i18n/index.d.ts +94 -0
  46. package/dist/i18n/index.js +2 -2
  47. package/dist/index.d.ts +6 -6
  48. package/dist/index.js +22 -21
  49. package/dist/index.js.map +1 -1
  50. package/dist/mention-search.js +5 -5
  51. package/dist/{types-yF_0mrNS.d.ts → types-COIp0SYP.d.ts} +2 -0
  52. package/dist/workbench/contribution.d.ts +2 -2
  53. package/dist/workbench/contribution.js +7 -7
  54. package/dist/workbench/index.d.ts +2 -2
  55. package/dist/workbench/index.js +10 -10
  56. package/dist/workbench/launch.js +3 -3
  57. package/dist/workbench/sessionTitle.js +2 -2
  58. package/dist/workbench/state.js +1 -1
  59. package/dist/workbench/types.d.ts +2 -0
  60. package/dist/workbench/types.js +1 -1
  61. package/package.json +19 -12
  62. package/dist/chunk-7OYHDOGG.js.map +0 -1
  63. package/dist/chunk-ATDAII35.js.map +0 -1
  64. package/dist/chunk-EM4RD5FQ.js.map +0 -1
  65. package/dist/chunk-JLRPIEIE.js.map +0 -1
  66. package/dist/chunk-W4KHK5HK.js.map +0 -1
  67. package/dist/chunk-YKQAOIF2.js.map +0 -1
  68. /package/dist/{AgentRichTextReadonly-KNPDB5ZJ.js.map → AgentRichTextReadonly-AY36C7TV.js.map} +0 -0
  69. /package/dist/{chunk-CTSKSYMM.js.map → chunk-5G3OFCWH.js.map} +0 -0
  70. /package/dist/{chunk-CY45OZEY.js.map → chunk-AMO3EB7V.js.map} +0 -0
  71. /package/dist/{chunk-FBPZXKQC.js.map → chunk-DXXKHL4G.js.map} +0 -0
  72. /package/dist/{chunk-SFYWL6FT.js.map → chunk-EPNL55ZQ.js.map} +0 -0
  73. /package/dist/{chunk-HFU3FYXP.js.map → chunk-JEXYDXFW.js.map} +0 -0
  74. /package/dist/{chunk-MWN3AIQJ.js.map → chunk-LQJBDDZG.js.map} +0 -0
  75. /package/dist/{chunk-BYE5CKEU.js.map → chunk-NNIXG27Q.js.map} +0 -0
  76. /package/dist/{chunk-FRCZZ7ON.js.map → chunk-OXC5CPW7.js.map} +0 -0
  77. /package/dist/{chunk-AY5AFMT2.js.map → chunk-TUWQV2MC.js.map} +0 -0
  78. /package/dist/{chunk-455YDWMS.js.map → chunk-VLPWO73G.js.map} +0 -0
@@ -2,9 +2,9 @@ import * as react from 'react';
2
2
  import { PropsWithChildren, JSX, HTMLAttributes, ReactNode } from 'react';
3
3
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
4
4
  import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings, AgentActivityActivateSessionResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener, AgentActivitySubmitSettingsPatch } from '@tutti-os/agent-activity-core';
5
- import { u as AgentHostAgentSessionComposerSettings, y as AgentHostUnactivateAgentSessionResult, h as AgentGUIAgentTarget, n as AgentGUIProvider, z as AgentPromptContentBlock, m as AgentGUINodeData, P as Point, o as AgentGUIProviderRailAllPresentation, p as AgentGUIProviderRailMode, q as AgentGUIProviderReadinessGate, l as AgentGUIHomeSuggestionId, N as NodeFrame, e as AgentGUIAgentDirectorySnapshot, k as AgentGUIAllAgentsPresentation } from './types-yF_0mrNS.js';
5
+ import { u as AgentHostAgentSessionComposerSettings, y as AgentHostUnactivateAgentSessionResult, h as AgentGUIAgentTarget, n as AgentGUIProvider, z as AgentPromptContentBlock, m as AgentGUINodeData, P as Point, o as AgentGUIProviderRailAllPresentation, p as AgentGUIProviderRailMode, q as AgentGUIProviderReadinessGate, l as AgentGUIHomeSuggestionId, N as NodeFrame, e as AgentGUIAgentDirectorySnapshot, k as AgentGUIAllAgentsPresentation } from './types-COIp0SYP.js';
6
6
  import { WorkspaceQueryCache } from './workspace-query-cache.js';
7
- import { A as AgentComposerDraft, q as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, l as AgentMessageMarkdownWorkspaceAppIcon, r as AgentSlashCommandCapability, c as AgentGUINodeViewModel, n as AgentProbeSnapshot, a as AgentComposerDraftFile, i as AgentHostInputApi } from './agentGuiNodeTypes-BebhwDeE.js';
7
+ import { A as AgentComposerDraft, u as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, p as AgentMessageMarkdownWorkspaceAppIcon, v as AgentSlashCommandCapability, c as AgentGUINodeViewModel, r as AgentProbeSnapshot, a as AgentComposerDraftFile, m as AgentHostInputApi } from './agentGuiNodeTypes-C_H3DbXt.js';
8
8
  import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
9
9
  import { A as AgentContextMentionItem } from './agentFileMentionContracts-DY4Z70CN.js';
10
10
  import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AgentRichTextReadonly
3
- } from "./chunk-455YDWMS.js";
4
- import "./chunk-SFYWL6FT.js";
3
+ } from "./chunk-VLPWO73G.js";
4
+ import "./chunk-EPNL55ZQ.js";
5
5
  import "./chunk-LUGELG5V.js";
6
6
  import "./chunk-KPMQGPYU.js";
7
7
  import "./chunk-W6TO6K2X.js";
8
+ import "./chunk-5G3OFCWH.js";
8
9
  import "./chunk-PJP5BUU6.js";
9
10
  import "./chunk-7KVZPJ3O.js";
10
- import "./chunk-CTSKSYMM.js";
11
- import "./chunk-W4KHK5HK.js";
11
+ import "./chunk-DVXXZWYX.js";
12
12
  import "./chunk-D2JUDUYY.js";
13
13
  import "./chunk-6CUELYIF.js";
14
14
  import "./chunk-YNSXUEIR.js";
15
15
  export {
16
16
  AgentRichTextReadonly
17
17
  };
18
- //# sourceMappingURL=AgentRichTextReadonly-KNPDB5ZJ.js.map
18
+ //# sourceMappingURL=AgentRichTextReadonly-AY36C7TV.js.map
@@ -2,11 +2,11 @@ import * as react from 'react';
2
2
  import { ReactNode, JSX } from 'react';
3
3
  import { c as AgentConversationVM, e as WorkspaceLinkAction, d as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-BD0-gg6C.js';
4
4
  export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityTimelineItem, f as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-BD0-gg6C.js';
5
- import { d as AgentGUIProviderSkillOption, l as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-BebhwDeE.js';
5
+ import { d as AgentGUIProviderSkillOption, p as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-C_H3DbXt.js';
6
6
  export { W as WorkspaceAgentActivityCard } from '../workspaceAgentActivityListTypes-DZfS_HgG.js';
7
7
  import '@tutti-os/workspace-issue-manager/core';
8
8
  import '@tutti-os/agent-activity-core';
9
- import '../types-yF_0mrNS.js';
9
+ import '../types-COIp0SYP.js';
10
10
  import '@tutti-os/workspace-user-project/contracts';
11
11
  import '../pastedTextKinds-D-XuInaS.js';
12
12
 
@@ -6,26 +6,26 @@ import {
6
6
  projectAgentConversationVM,
7
7
  reconcileProjectedAgentConversationVM,
8
8
  useProjectedAgentConversation
9
- } from "../chunk-EM4RD5FQ.js";
10
- import "../chunk-455YDWMS.js";
9
+ } from "../chunk-EYZSEPL7.js";
10
+ import "../chunk-VLPWO73G.js";
11
11
  import "../chunk-VMQNG2KI.js";
12
12
  import "../chunk-FGLQZ6I4.js";
13
13
  import "../chunk-XJ34OIEQ.js";
14
14
  import "../chunk-R7AXDQCA.js";
15
- import "../chunk-SFYWL6FT.js";
15
+ import "../chunk-EPNL55ZQ.js";
16
16
  import "../chunk-LUGELG5V.js";
17
- import "../chunk-YKQAOIF2.js";
17
+ import "../chunk-I6Y4XQVR.js";
18
18
  import "../chunk-KPMQGPYU.js";
19
- import "../chunk-RATBQN2V.js";
19
+ import "../chunk-J26ZYCAH.js";
20
20
  import "../chunk-F5UR6EJG.js";
21
21
  import "../chunk-W6TO6K2X.js";
22
+ import {
23
+ translate
24
+ } from "../chunk-5G3OFCWH.js";
22
25
  import "../chunk-PJP5BUU6.js";
23
26
  import "../chunk-7KVZPJ3O.js";
27
+ import "../chunk-DVXXZWYX.js";
24
28
  import "../chunk-MIJXEELH.js";
25
- import {
26
- translate
27
- } from "../chunk-CTSKSYMM.js";
28
- import "../chunk-W4KHK5HK.js";
29
29
  import "../chunk-D2JUDUYY.js";
30
30
  import "../chunk-6CUELYIF.js";
31
31
  import "../chunk-YNSXUEIR.js";
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type AgentSetupStepStatus = "pending" | "running" | "ok" | "error" | "skipped";
4
+ declare function AgentSetupStepIcon({ status, warning }: {
5
+ status: AgentSetupStepStatus;
6
+ warning?: boolean;
7
+ }): React.JSX.Element;
8
+ interface AgentSetupDialogProps {
9
+ afterContent?: ReactNode;
10
+ children: ReactNode;
11
+ description: ReactNode;
12
+ footer?: ReactNode;
13
+ onOpenChange: (open: boolean) => void;
14
+ open: boolean;
15
+ title: ReactNode;
16
+ }
17
+ declare function AgentSetupDialog({ afterContent, children, description, footer, onOpenChange, open, title }: AgentSetupDialogProps): React.JSX.Element;
18
+
19
+ export { AgentSetupDialog, type AgentSetupDialogProps, AgentSetupStepIcon, type AgentSetupStepStatus };
@@ -0,0 +1,9 @@
1
+ import {
2
+ AgentSetupDialog,
3
+ AgentSetupStepIcon
4
+ } from "../chunk-UP3ZDYTN.js";
5
+ export {
6
+ AgentSetupDialog,
7
+ AgentSetupStepIcon
8
+ };
9
+ //# sourceMappingURL=ui.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import '@tutti-os/ui-i18n-runtime';
3
- export { n as AgentGUI, w as AgentGUIProps } from './AgentGUI-D4jgPDg0.js';
4
- import './agentGuiNodeTypes-BebhwDeE.js';
5
- export { l as AgentGUIHomeSuggestionId } from './types-yF_0mrNS.js';
3
+ export { n as AgentGUI, w as AgentGUIProps } from './AgentGUI-Be6O5di1.js';
4
+ import './agentGuiNodeTypes-C_H3DbXt.js';
5
+ export { l as AgentGUIHomeSuggestionId } from './types-COIp0SYP.js';
6
6
  import './runtime-BBNdWgDU.js';
7
7
  export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
8
8
  import '@tutti-os/agent-activity-core';
package/dist/agent-gui.js CHANGED
@@ -1,41 +1,42 @@
1
1
  import {
2
2
  AgentGUI
3
- } from "./chunk-ATDAII35.js";
3
+ } from "./chunk-IIQSQNS4.js";
4
4
  import "./chunk-A4WCTHWS.js";
5
- import "./chunk-BYE5CKEU.js";
6
- import "./chunk-AY5AFMT2.js";
7
- import "./chunk-CY45OZEY.js";
8
- import "./chunk-JLRPIEIE.js";
5
+ import "./chunk-NNIXG27Q.js";
6
+ import "./chunk-TUWQV2MC.js";
7
+ import "./chunk-MHOYBRCY.js";
8
+ import "./chunk-AMO3EB7V.js";
9
+ import "./chunk-5HIF53K5.js";
9
10
  import "./chunk-R2ZADXRB.js";
10
- import "./chunk-UHBCM6RO.js";
11
- import "./chunk-EM4RD5FQ.js";
12
- import "./chunk-455YDWMS.js";
11
+ import "./chunk-EYZSEPL7.js";
12
+ import "./chunk-VLPWO73G.js";
13
13
  import "./chunk-VMQNG2KI.js";
14
- import "./chunk-MWN3AIQJ.js";
15
- import "./chunk-7OYHDOGG.js";
14
+ import "./chunk-UP3ZDYTN.js";
15
+ import "./chunk-LQJBDDZG.js";
16
+ import "./chunk-UV3UQAS2.js";
16
17
  import "./chunk-FGLQZ6I4.js";
17
18
  import "./chunk-L2GENUG3.js";
18
- import "./chunk-FRCZZ7ON.js";
19
+ import "./chunk-OXC5CPW7.js";
19
20
  import "./chunk-USIFGHT3.js";
20
21
  import "./chunk-XJ34OIEQ.js";
21
22
  import "./chunk-R7AXDQCA.js";
22
- import "./chunk-SFYWL6FT.js";
23
+ import "./chunk-EPNL55ZQ.js";
23
24
  import "./chunk-LUGELG5V.js";
24
25
  import "./chunk-JM24HADP.js";
25
- import "./chunk-HFU3FYXP.js";
26
+ import "./chunk-JEXYDXFW.js";
26
27
  import "./chunk-2RQM7PJN.js";
27
- import "./chunk-YKQAOIF2.js";
28
+ import "./chunk-I6Y4XQVR.js";
28
29
  import "./chunk-KPMQGPYU.js";
29
- import "./chunk-FBPZXKQC.js";
30
+ import "./chunk-DXXKHL4G.js";
30
31
  import "./chunk-YMXYBG7U.js";
31
- import "./chunk-RATBQN2V.js";
32
+ import "./chunk-J26ZYCAH.js";
32
33
  import "./chunk-F5UR6EJG.js";
33
34
  import "./chunk-W6TO6K2X.js";
35
+ import "./chunk-5G3OFCWH.js";
34
36
  import "./chunk-PJP5BUU6.js";
35
37
  import "./chunk-7KVZPJ3O.js";
38
+ import "./chunk-DVXXZWYX.js";
36
39
  import "./chunk-MIJXEELH.js";
37
- import "./chunk-CTSKSYMM.js";
38
- import "./chunk-W4KHK5HK.js";
39
40
  import "./chunk-D2JUDUYY.js";
40
41
  import "./chunk-6CUELYIF.js";
41
42
  import "./chunk-YNSXUEIR.js";
@@ -6,7 +6,7 @@ import {
6
6
  dispatchAgentPlanPromptAction,
7
7
  getPromptToolDetails,
8
8
  isPromptRequestIdTitle
9
- } from "../chunk-HFU3FYXP.js";
9
+ } from "../chunk-JEXYDXFW.js";
10
10
  import {
11
11
  useEngineSelector
12
12
  } from "../chunk-2RQM7PJN.js";
@@ -19,35 +19,35 @@ import {
19
19
  isExitPlanSwitchModeInput,
20
20
  normalizeAgentApprovalPurpose,
21
21
  normalizeAskUserQuestions
22
- } from "../chunk-YKQAOIF2.js";
22
+ } from "../chunk-I6Y4XQVR.js";
23
23
  import {
24
24
  cn
25
25
  } from "../chunk-KPMQGPYU.js";
26
26
  import {
27
27
  userAvatarPlaceholderUrl,
28
28
  workspaceAgentActivityStatusLabel
29
- } from "../chunk-FBPZXKQC.js";
29
+ } from "../chunk-DXXKHL4G.js";
30
30
  import {
31
31
  resolveWorkspaceAgentSessionSortTimeUnixMs
32
32
  } from "../chunk-YMXYBG7U.js";
33
33
  import {
34
34
  workspaceAgentProviderLabel
35
- } from "../chunk-RATBQN2V.js";
35
+ } from "../chunk-J26ZYCAH.js";
36
36
  import "../chunk-F5UR6EJG.js";
37
37
  import {
38
38
  managedAgentRoundedIconUrl
39
39
  } from "../chunk-W6TO6K2X.js";
40
+ import {
41
+ AgentGuiI18nProvider,
42
+ getActiveUiLanguage,
43
+ useTranslation
44
+ } from "../chunk-5G3OFCWH.js";
40
45
  import "../chunk-PJP5BUU6.js";
41
46
  import "../chunk-7KVZPJ3O.js";
47
+ import "../chunk-DVXXZWYX.js";
42
48
  import {
43
49
  normalizeAgentTitleText
44
50
  } from "../chunk-MIJXEELH.js";
45
- import {
46
- AgentGuiI18nProvider,
47
- getActiveUiLanguage,
48
- useTranslation
49
- } from "../chunk-CTSKSYMM.js";
50
- import "../chunk-W4KHK5HK.js";
51
51
  import "../chunk-D2JUDUYY.js";
52
52
  import "../chunk-6CUELYIF.js";
53
53
  import "../chunk-YNSXUEIR.js";
@@ -1,5 +1,5 @@
1
1
  import { AgentActivitySession, AgentActivitySlashCommandPolicy, AgentActivityUsage, CanonicalAgentSession } from '@tutti-os/agent-activity-core';
2
- import { t as AgentHostAgentSessionCommand, u as AgentHostAgentSessionComposerSettings, w as AgentHostAgentSessionReasoningEffort, x as AgentHostAgentSessionSpeed, v as AgentHostAgentSessionPermissionConfig, n as AgentGUIProvider, z as AgentPromptContentBlock, m as AgentGUINodeData, h as AgentGUIAgentTarget, p as AgentGUIProviderRailMode, q as AgentGUIProviderReadinessGate } from './types-yF_0mrNS.js';
2
+ import { t as AgentHostAgentSessionCommand, u as AgentHostAgentSessionComposerSettings, w as AgentHostAgentSessionReasoningEffort, x as AgentHostAgentSessionSpeed, v as AgentHostAgentSessionPermissionConfig, n as AgentGUIProvider, z as AgentPromptContentBlock, m as AgentGUINodeData, h as AgentGUIAgentTarget, p as AgentGUIProviderRailMode, q as AgentGUIProviderReadinessGate } from './types-COIp0SYP.js';
3
3
  import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, d as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-BD0-gg6C.js';
4
4
  import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
5
5
  import { A as AGENT_PASTED_TEXT_BLOCK_KIND } from './pastedTextKinds-D-XuInaS.js';
@@ -236,6 +236,7 @@ type AgentHostWorkspaceApi = AgentHostRecord & {
236
236
  interface AgentHostInputApi {
237
237
  account?: AgentHostAccountApi;
238
238
  agentSessions?: AgentHostAgentSessionsApi;
239
+ agentTargetSetup?: AgentHostAgentTargetSetupApi;
239
240
  clipboard: AgentHostClipboardApi;
240
241
  debug?: AgentHostDebugApi;
241
242
  filesystem: AgentHostFilesystemApi;
@@ -256,6 +257,67 @@ type AgentHostAccountApi = AgentHostRecord & {
256
257
  type AgentHostWorkspaceAgentProbesApi = AgentHostRecord & {
257
258
  list: (input: AgentHostListWorkspaceAgentProbesInput) => AgentHostAsyncResult<AgentHostWorkspaceAgentProbesResult>;
258
259
  };
260
+ interface AgentHostAgentTargetInstallPlan {
261
+ packageName: string;
262
+ packageVersion: string;
263
+ runner: "npm" | "pnpm" | "uv";
264
+ planDigest: string;
265
+ installRoot: string;
266
+ }
267
+ interface AgentHostAgentTargetSetupAction {
268
+ actionId: string;
269
+ clientActionId: string;
270
+ kind: "install" | "authenticate";
271
+ status: "queued" | "running" | "succeeded" | "failed" | "interrupted";
272
+ phase: "preparing" | "installing" | "verifying" | "probing" | "activating" | "authenticating" | "complete";
273
+ errorCode: string | null;
274
+ errorMessage: string | null;
275
+ }
276
+ interface AgentHostAgentTargetSetupSnapshot {
277
+ agentTargetId: string;
278
+ status: "ready" | "auth_required" | "not_installed" | "installing" | "authenticating" | "failed";
279
+ runtimeSource: "local" | "managed" | null;
280
+ runtimeVersion: string | null;
281
+ reason: string | null;
282
+ authMethods: AgentHostAgentTargetAuthMethod[];
283
+ account: AgentHostAgentTargetAuthenticatedAccount | null;
284
+ plan: AgentHostAgentTargetInstallPlan | null;
285
+ action: AgentHostAgentTargetSetupAction | null;
286
+ }
287
+ interface AgentHostAgentTargetAuthenticatedAccount {
288
+ id: string;
289
+ displayName: string;
290
+ authMethodId: string;
291
+ organization: string | null;
292
+ }
293
+ interface AgentHostAgentTargetAuthMethod {
294
+ id: string;
295
+ name: string;
296
+ description?: string | null;
297
+ }
298
+ interface AgentHostAgentTargetSetupState {
299
+ snapshot: AgentHostAgentTargetSetupSnapshot | null;
300
+ loading: boolean;
301
+ failed: boolean;
302
+ }
303
+ interface AgentHostAgentTargetSetupWatch {
304
+ getSnapshot: () => AgentHostAgentTargetSetupState;
305
+ subscribe: (listener: (state: AgentHostAgentTargetSetupState) => void) => AgentHostUnsubscribe;
306
+ install: (input: {
307
+ planDigest: string;
308
+ clientActionId: string;
309
+ }) => AgentHostAsyncResult<void>;
310
+ authenticate: (input: {
311
+ methodId: string;
312
+ clientActionId: string;
313
+ }) => AgentHostAsyncResult<void>;
314
+ refresh: () => AgentHostAsyncResult<void>;
315
+ }
316
+ type AgentHostAgentTargetSetupApi = AgentHostRecord & {
317
+ watch: (input: {
318
+ agentTargetId: string;
319
+ }) => AgentHostAgentTargetSetupWatch;
320
+ };
259
321
  type AgentProviderProbeListInput = AgentHostListWorkspaceAgentProbesInput;
260
322
  type AgentProviderProbeListResult = AgentHostWorkspaceAgentProbesResult;
261
323
  interface AgentHostUserProject {
@@ -285,6 +347,10 @@ type AgentHostUserProjectsApi = AgentHostRecord & {
285
347
  list: () => AgentHostAsyncResult<{
286
348
  projects: AgentHostUserProject[];
287
349
  }>;
350
+ move: (input: {
351
+ beforeProjectId: string | null;
352
+ projectId: string;
353
+ }) => AgentHostAsyncResult<void>;
288
354
  subscribe?: (listener: () => void) => AgentHostUnsubscribe;
289
355
  prepareSelection?: (input: {
290
356
  projectLocked: boolean;
@@ -326,6 +392,7 @@ type AgentHostAgentSessionsApi = AgentHostRecord & {
326
392
  };
327
393
  interface AgentHostRuntimeApi {
328
394
  account?: AgentHostAccountApi;
395
+ agentTargetSetup?: AgentHostAgentTargetSetupApi;
329
396
  clipboard: AgentHostClipboardApi;
330
397
  debug?: AgentHostDebugApi;
331
398
  filesystem: AgentHostFilesystemApi;
@@ -413,6 +480,13 @@ type AgentGUIInteractivePrompt = AgentGUIApprovalRequest | {
413
480
  kind: "plan-implementation";
414
481
  }>;
415
482
 
483
+ type AgentGUIConversationRailRevealReason = "created" | "external-open";
484
+ interface AgentGUIConversationRailRevealRequest {
485
+ agentSessionId: string;
486
+ reason: AgentGUIConversationRailRevealReason;
487
+ revision: number;
488
+ }
489
+
416
490
  type AgentCapabilityUse = "browserUse" | "computerUse";
417
491
 
418
492
  interface AgentSlashCommandCapability {
@@ -590,6 +664,7 @@ interface AgentGUIRailViewModel {
590
664
  userProjects: AgentGUIConversationUserProject[];
591
665
  activeConversation: AgentGUIConversationSummary | null;
592
666
  activeConversationId: string | null;
667
+ revealRequest: AgentGUIConversationRailRevealRequest | null;
593
668
  isLoadingConversations: boolean;
594
669
  listError: string | null;
595
670
  }
@@ -642,6 +717,7 @@ interface AgentGUIOperationsViewModel {
642
717
  goalClearNoticeSequence: number;
643
718
  isDeletingConversation: boolean;
644
719
  isDeletingProjectConversations: boolean;
720
+ isUserProjectMutationPending: boolean;
645
721
  pendingDeleteConversation: AgentGUIConversationSummary | null;
646
722
  pendingDeleteProjectConversations: AgentGUIProjectConversationDeleteTarget | null;
647
723
  }
@@ -655,4 +731,4 @@ interface AgentGUINodeViewModel {
655
731
  operations: AgentGUIOperationsViewModel;
656
732
  }
657
733
 
658
- export type { AgentComposerDraft as A, PersistWriteResult as P, ReadWorkspaceAgentReadStateInput as R, WorkspaceAgentReadStateSnapshot as W, AgentComposerDraftFile as a, AgentGUIComposerSettingsVM as b, AgentGUINodeViewModel as c, AgentGUIProviderSkillOption as d, AgentGUIQueueStatus as e, AgentGUIQueuedPromptVM as f, AgentHostApi as g, AgentHostApplyWorkspaceGitPatchInput as h, AgentHostInputApi as i, AgentHostRuntimeApi as j, AgentHostSelectFilesInput as k, AgentMessageMarkdownWorkspaceAppIcon as l, AgentProbeProvider as m, AgentProbeSnapshot as n, AgentProviderProbeListInput as o, AgentProviderProbeListResult as p, AgentSessionCommand as q, AgentSlashCommandCapability as r, AgentUsageQuota as s, AgentUsageSnapshot as t, WriteWorkspaceAgentReadStateInput as u };
734
+ export type { AgentComposerDraft as A, PersistWriteResult as P, ReadWorkspaceAgentReadStateInput as R, WorkspaceAgentReadStateSnapshot as W, AgentComposerDraftFile as a, AgentGUIComposerSettingsVM as b, AgentGUINodeViewModel as c, AgentGUIProviderSkillOption as d, AgentGUIQueueStatus as e, AgentGUIQueuedPromptVM as f, AgentHostAgentTargetAuthenticatedAccount as g, AgentHostAgentTargetSetupSnapshot as h, AgentHostAgentTargetSetupState as i, AgentHostAgentTargetSetupWatch as j, AgentHostApi as k, AgentHostApplyWorkspaceGitPatchInput as l, AgentHostInputApi as m, AgentHostRuntimeApi as n, AgentHostSelectFilesInput as o, AgentMessageMarkdownWorkspaceAppIcon as p, AgentProbeProvider as q, AgentProbeSnapshot as r, AgentProviderProbeListInput as s, AgentProviderProbeListResult as t, AgentSessionCommand as u, AgentSlashCommandCapability as v, AgentUsageQuota as w, AgentUsageSnapshot as x, WriteWorkspaceAgentReadStateInput as y };
package/dist/agents.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as AgentGUIAgent, h as AgentGUIAgentTarget } from './types-yF_0mrNS.js';
1
+ import { A as AgentGUIAgent, h as AgentGUIAgentTarget } from './types-COIp0SYP.js';
2
2
 
3
3
  declare function normalizeAgentGUIAgents(agents: readonly AgentGUIAgent[] | null | undefined): AgentGUIAgent[];
4
4
  declare function agentGUIAgentIsReady(agent: AgentGUIAgent): boolean;
package/dist/agents.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  normalizeAgentGUIAgents,
4
4
  projectAgentGUIAgentsToInternalTargets,
5
5
  resolveAgentGUISelectedDirectoryAgent
6
- } from "./chunk-7OYHDOGG.js";
6
+ } from "./chunk-UV3UQAS2.js";
7
7
  export {
8
8
  agentGUIAgentIsReady,
9
9
  normalizeAgentGUIAgents,
@@ -209,7 +209,7 @@
209
209
  overflow: hidden;
210
210
  border: 1px solid var(--line-2);
211
211
  border-radius: 8px;
212
- background: var(--background-panel);
212
+ background: var(--background-fronted);
213
213
  box-shadow: 0 18px 40px color-mix(in srgb, black 26%, transparent);
214
214
  color: var(--text-primary);
215
215
  padding: 4px;
@@ -274,11 +274,14 @@
274
274
  }
275
275
 
276
276
  .tsh-zoom-dialog__icon-button:hover,
277
- .tsh-zoom-dialog__image-actions button:hover,
278
- .tsh-image-context-menu button:hover {
277
+ .tsh-zoom-dialog__image-actions button:hover {
279
278
  background: color-mix(in srgb, var(--background-panel) 82%, white 12%);
280
279
  }
281
280
 
281
+ .tsh-image-context-menu button:hover {
282
+ background: var(--transparency-hover);
283
+ }
284
+
282
285
  .tsh-zoom-dialog__zoom-controls button:not(:disabled):hover {
283
286
  background: color-mix(in srgb, var(--background-panel) 86%, black 8%);
284
287
  }
@@ -4833,10 +4836,22 @@ aside.workspace-agents-status-panel
4833
4836
  * collapsing the conversation rail must not pull them into the 720px content
4834
4837
  * cap. Let the primary row span the window and keep the same trailing inset as
4835
4838
  * the expanded detail row.
4839
+ *
4840
+ * The tool actions are absolutely positioned against the window's right edge,
4841
+ * so they no longer occupy space in the flex row. In the collapsed primary row
4842
+ * the title is preceded by the traffic lights and header chrome buttons, which
4843
+ * means a max-width on the title alone cannot stop its right edge from sliding
4844
+ * under those actions. Reserve the actions' width plus the normal inset as
4845
+ * trailing padding on the row itself so the title flex-grows and truncates
4846
+ * before it can reach them, regardless of what precedes it.
4836
4847
  */
4837
4848
  .agent-gui-workbench-header[data-agent-gui-standalone-window-header="true"][data-agent-gui-workbench-header-collapsed="true"]
4838
4849
  .agent-gui-workbench-header__primary {
4839
4850
  width: 100%;
4851
+ padding-inline-end: calc(
4852
+ var(--agent-gui-tool-sidebar-layout-width, 0px) +
4853
+ var(--agent-gui-workbench-header-padding-x)
4854
+ );
4840
4855
  }
4841
4856
 
4842
4857
  .agent-gui-workbench-header[data-agent-gui-standalone-window-header="true"]
@@ -5183,6 +5198,18 @@ aside.workspace-agents-status-panel
5183
5198
  overflow: hidden;
5184
5199
  }
5185
5200
 
5201
+ /*
5202
+ * In the collapsed primary row the trailing reserve is supplied by the row's
5203
+ * own padding-inline-end (it has to account for the leading traffic lights and
5204
+ * chrome buttons that a title-level max-width cannot see). Relax the shared
5205
+ * max-width here so the reservation is not counted twice, which would strand
5206
+ * the title far short of the actions.
5207
+ */
5208
+ .agent-gui-workbench-header[data-agent-gui-standalone-window-header="true"][data-agent-gui-workbench-header-collapsed="true"]
5209
+ .agent-gui-workbench-header__session-title {
5210
+ max-width: 100%;
5211
+ }
5212
+
5186
5213
  .agent-gui-workbench-header[data-agent-gui-standalone-window-header="true"]
5187
5214
  .agent-gui-workbench-header__agent-brand,
5188
5215
  .agent-gui-workbench-header[data-agent-gui-standalone-window-header="true"]
@@ -5857,11 +5884,60 @@ aside.workspace-agents-status-panel
5857
5884
  }
5858
5885
 
5859
5886
  .agent-gui-node__conversation-section {
5887
+ position: relative;
5860
5888
  display: grid;
5861
5889
  min-width: 0;
5862
5890
  max-width: 100%;
5863
5891
  }
5864
5892
 
5893
+ .agent-gui-node__conversation-section[data-project-dragging="true"] {
5894
+ opacity: 0.42;
5895
+ }
5896
+
5897
+ .agent-gui-node__conversation-section[data-project-drop-indicator]::before {
5898
+ position: absolute;
5899
+ right: 6px;
5900
+ left: 6px;
5901
+ z-index: 4;
5902
+ height: 2px;
5903
+ border-radius: 999px;
5904
+ background: var(--agent-gui-accent);
5905
+ content: "";
5906
+ pointer-events: none;
5907
+ }
5908
+
5909
+ .agent-gui-node__conversation-section[data-project-drop-indicator="before"]::before {
5910
+ top: -1px;
5911
+ }
5912
+
5913
+ .agent-gui-node__conversation-section[data-project-drop-indicator="after"]::before {
5914
+ bottom: -1px;
5915
+ }
5916
+
5917
+ .agent-gui-node__project-drag-image {
5918
+ position: fixed;
5919
+ top: -1000px;
5920
+ left: -1000px;
5921
+ display: flex;
5922
+ max-width: 220px;
5923
+ align-items: center;
5924
+ gap: 7px;
5925
+ border: 1px solid var(--border-subtle);
5926
+ border-radius: 7px;
5927
+ background: var(--agent-gui-surface-raised);
5928
+ box-shadow: var(--shadow-elevated);
5929
+ color: var(--text-primary);
5930
+ padding: 7px 10px;
5931
+ font-size: 12px;
5932
+ pointer-events: none;
5933
+ }
5934
+
5935
+ .agent-gui-node__project-drag-image > span:last-child {
5936
+ overflow: hidden;
5937
+ text-overflow: ellipsis;
5938
+ white-space: nowrap;
5939
+ }
5940
+
5865
5941
  .agent-gui-node__conversation-section + .agent-gui-node__conversation-section {
5866
5942
  margin-top: 12px;
5867
5943
  }
@@ -6,7 +6,7 @@ import {
6
6
  setCurrentAgentGuiI18nRuntime,
7
7
  translate,
8
8
  translateInUiLanguage
9
- } from "./chunk-W4KHK5HK.js";
9
+ } from "./chunk-DVXXZWYX.js";
10
10
 
11
11
  // i18n/index.ts
12
12
  import React, {
@@ -68,4 +68,4 @@ export {
68
68
  AgentGuiI18nProvider,
69
69
  useTranslation
70
70
  };
71
- //# sourceMappingURL=chunk-CTSKSYMM.js.map
71
+ //# sourceMappingURL=chunk-5G3OFCWH.js.map