@tutti-os/agent-gui 0.0.71 → 0.0.73

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 (65) hide show
  1. package/README.md +5 -0
  2. package/dist/{AgentMentionSearchController-Po0KQLcL.d.ts → AgentMentionSearchController-DD_WOred.d.ts} +1 -0
  3. package/dist/agent-conversation/index.d.ts +2 -2
  4. package/dist/agent-conversation/index.js +6 -6
  5. package/dist/agent-message-center/index.d.ts +2 -1
  6. package/dist/agent-message-center/index.js +12 -10
  7. package/dist/agent-message-center/index.js.map +1 -1
  8. package/dist/{agentGuiNodeTypes-C0oBQn-F.d.ts → agentGuiNodeTypes-aJ3AX7u2.d.ts} +39 -18
  9. package/dist/app/renderer/agentactivity.css +156 -1
  10. package/dist/{chunk-KTIHLBCN.js → chunk-2I2WRI4F.js} +248 -4
  11. package/dist/chunk-2I2WRI4F.js.map +1 -0
  12. package/dist/{chunk-DXENDZEF.js → chunk-3PKRGSMH.js} +2 -2
  13. package/dist/{chunk-QDWV5VTD.js → chunk-466AWJTS.js} +6 -31
  14. package/dist/chunk-466AWJTS.js.map +1 -0
  15. package/dist/{chunk-SG6A35BU.js → chunk-5H6NINJY.js} +2 -2
  16. package/dist/{chunk-SC3PS7AT.js → chunk-C7K3EFGI.js} +2 -2
  17. package/dist/{chunk-DGNKXT3Q.js → chunk-G6BVEY7I.js} +69 -3
  18. package/dist/chunk-G6BVEY7I.js.map +1 -0
  19. package/dist/{chunk-KS35VKHM.js → chunk-GDFQXJMG.js} +1 -1
  20. package/dist/chunk-GDFQXJMG.js.map +1 -0
  21. package/dist/{chunk-WWY6MYMU.js → chunk-IVIXKAEH.js} +19 -9
  22. package/dist/chunk-IVIXKAEH.js.map +1 -0
  23. package/dist/{chunk-IZX2YQXY.js → chunk-KWQ4N4IZ.js} +117 -8
  24. package/dist/chunk-KWQ4N4IZ.js.map +1 -0
  25. package/dist/{chunk-ISQCYEUJ.js → chunk-OBJRIQPX.js} +411 -62
  26. package/dist/chunk-OBJRIQPX.js.map +1 -0
  27. package/dist/{chunk-QJ42HQ24.js → chunk-Q6AWM3RH.js} +4 -4
  28. package/dist/{chunk-MVPSFOJZ.js → chunk-SVGIWXNK.js} +2 -2
  29. package/dist/{chunk-Y3C5EHSW.js → chunk-SZF52NMJ.js} +173 -12
  30. package/dist/chunk-SZF52NMJ.js.map +1 -0
  31. package/dist/{chunk-FTSEVC6O.js → chunk-XZF4QNT4.js} +2 -2
  32. package/dist/context-mention-palette/index.d.ts +2 -2
  33. package/dist/context-mention-palette/index.js +7 -7
  34. package/dist/i18n/index.d.ts +68 -2
  35. package/dist/i18n/index.js +2 -2
  36. package/dist/index.d.ts +122 -102
  37. package/dist/index.js +2210 -1325
  38. package/dist/index.js.map +1 -1
  39. package/dist/queued-prompt-runtime.d.ts +1 -1
  40. package/dist/workbench/contribution.d.ts +7 -1
  41. package/dist/workbench/contribution.js +4 -4
  42. package/dist/workbench/index.js +5 -7
  43. package/dist/workbench/sessionTitle.js +3 -3
  44. package/dist/workbench/state.js +1 -2
  45. package/dist/workspace-agent-generated-files.js +3 -3
  46. package/dist/{workspaceLinkActions-Bjy_XfBm.d.ts → workspaceLinkActions-DS9LWqzI.d.ts} +1 -1
  47. package/package.json +14 -14
  48. package/dist/chunk-DGNKXT3Q.js.map +0 -1
  49. package/dist/chunk-ISQCYEUJ.js.map +0 -1
  50. package/dist/chunk-IZX2YQXY.js.map +0 -1
  51. package/dist/chunk-KS35VKHM.js.map +0 -1
  52. package/dist/chunk-KTIHLBCN.js.map +0 -1
  53. package/dist/chunk-N37A62BK.js +0 -250
  54. package/dist/chunk-N37A62BK.js.map +0 -1
  55. package/dist/chunk-NROZAN34.js +0 -173
  56. package/dist/chunk-NROZAN34.js.map +0 -1
  57. package/dist/chunk-QDWV5VTD.js.map +0 -1
  58. package/dist/chunk-WWY6MYMU.js.map +0 -1
  59. package/dist/chunk-Y3C5EHSW.js.map +0 -1
  60. /package/dist/{chunk-DXENDZEF.js.map → chunk-3PKRGSMH.js.map} +0 -0
  61. /package/dist/{chunk-SG6A35BU.js.map → chunk-5H6NINJY.js.map} +0 -0
  62. /package/dist/{chunk-SC3PS7AT.js.map → chunk-C7K3EFGI.js.map} +0 -0
  63. /package/dist/{chunk-QJ42HQ24.js.map → chunk-Q6AWM3RH.js.map} +0 -0
  64. /package/dist/{chunk-MVPSFOJZ.js.map → chunk-SVGIWXNK.js.map} +0 -0
  65. /package/dist/{chunk-FTSEVC6O.js.map → chunk-XZF4QNT4.js.map} +0 -0
package/README.md CHANGED
@@ -102,3 +102,8 @@ or sent as session creation authority.
102
102
  Hosts that need to brand the aggregate provider rail entry may pass
103
103
  `providerRailAllPresentation.iconUrl`. This only changes the `All` filter icon;
104
104
  single agent or target icons continue to come from `providerTargets[].iconUrl`.
105
+
106
+ Hosts that need custom main-pane presentation for a disabled selected target may
107
+ pass `renderProviderUnavailableState`. AgentGUI calls this renderer only when
108
+ the selected `providerTargets[]` entry has `disabled: true`; install, login,
109
+ checking, and retry readiness gates keep the built-in AgentGUI flows.
@@ -22,6 +22,7 @@ interface AgentMentionSessionItem {
22
22
  href: string;
23
23
  workspaceId: string;
24
24
  targetId: string;
25
+ agentTargetId?: string;
25
26
  name: string;
26
27
  title: string;
27
28
  scope: AgentMentionScope;
@@ -1,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, JSX } from 'react';
3
- import { W as WorkspaceLinkAction } from '../workspaceLinkActions-Bjy_XfBm.js';
3
+ import { W as WorkspaceLinkAction } from '../workspaceLinkActions-DS9LWqzI.js';
4
4
  import { A as AgentMessageMarkdownWorkspaceAppIcon } from '../AgentMessageMarkdown-DeYPURtF.js';
5
5
  import { c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DPAgUJlR.js';
6
6
  export { B as BuildWorkspaceAgentSessionDetailInput, d as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DPAgUJlR.js';
7
- import { c as AgentGUIProviderSkillOption } from '../agentGuiNodeTypes-C0oBQn-F.js';
7
+ import { e as AgentGUIProviderSkillOption } from '../agentGuiNodeTypes-aJ3AX7u2.js';
8
8
  export { W as WorkspaceAgentActivityCard, n as WorkspaceAgentActivitySession, q as WorkspaceAgentActivityTimelineItem } from '../workspaceAgentActivityListViewModel-DJvAqZso.js';
9
9
  import '@tutti-os/workspace-issue-manager/core';
10
10
  import '@tutti-os/agent-activity-core';
@@ -6,20 +6,20 @@ import {
6
6
  projectAgentConversationVM,
7
7
  reconcileProjectedAgentConversationVM,
8
8
  useProjectedAgentConversation
9
- } from "../chunk-ISQCYEUJ.js";
10
- import "../chunk-WWY6MYMU.js";
9
+ } from "../chunk-OBJRIQPX.js";
10
+ import "../chunk-IVIXKAEH.js";
11
11
  import "../chunk-PSLAWU25.js";
12
- import "../chunk-IZX2YQXY.js";
12
+ import "../chunk-KWQ4N4IZ.js";
13
13
  import "../chunk-Y35GDLP2.js";
14
14
  import "../chunk-LUGELG5V.js";
15
- import "../chunk-KS35VKHM.js";
15
+ import "../chunk-GDFQXJMG.js";
16
16
  import "../chunk-4US2YHBY.js";
17
17
  import {
18
18
  translate
19
- } from "../chunk-SC3PS7AT.js";
19
+ } from "../chunk-C7K3EFGI.js";
20
20
  import "../chunk-PJP5BUU6.js";
21
21
  import "../chunk-4I2VCAMW.js";
22
- import "../chunk-DGNKXT3Q.js";
22
+ import "../chunk-G6BVEY7I.js";
23
23
 
24
24
  // shared/WorkspaceAgentSessionDetail.tsx
25
25
  import { useMemo } from "react";
@@ -2,7 +2,7 @@ import * as react from 'react';
2
2
  import { JSX, ReactNode, HTMLAttributes } from 'react';
3
3
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
4
4
  import { TranslateFn, useTranslation, AgentGuiI18nLocale } from '../i18n/index.js';
5
- import { W as WorkspaceLinkAction } from '../workspaceLinkActions-Bjy_XfBm.js';
5
+ import { W as WorkspaceLinkAction } from '../workspaceLinkActions-DS9LWqzI.js';
6
6
  import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
7
7
  import { b as AgentConversationPromptVM } from '../agentConversationVM-DPAgUJlR.js';
8
8
  import { o as WorkspaceAgentActivityStatus } from '../workspaceAgentActivityListViewModel-DJvAqZso.js';
@@ -34,6 +34,7 @@ interface WorkspaceAgentMessageCenterCounts {
34
34
  interface WorkspaceAgentMessageCenterItem {
35
35
  id: string;
36
36
  agentSessionId: string;
37
+ agentTargetId?: string | null;
37
38
  provider: string;
38
39
  userId: string | null;
39
40
  title: string;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  formatAgentGuiConversationPlainTitle
3
- } from "../chunk-FTSEVC6O.js";
3
+ } from "../chunk-XZF4QNT4.js";
4
4
  import {
5
5
  AgentInteractivePromptSurface,
6
6
  approvalOptionDisplayLabel,
7
7
  getPromptToolDetails,
8
8
  isPromptRequestIdTitle
9
- } from "../chunk-QJ42HQ24.js";
9
+ } from "../chunk-Q6AWM3RH.js";
10
10
  import {
11
11
  PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
12
12
  PLAN_IMPLEMENTATION_PROMPT,
@@ -15,7 +15,7 @@ import {
15
15
  } from "../chunk-MKHDRIGN.js";
16
16
  import {
17
17
  formatAgentSessionMentionText
18
- } from "../chunk-SG6A35BU.js";
18
+ } from "../chunk-5H6NINJY.js";
19
19
  import {
20
20
  AgentMessageMarkdown,
21
21
  CustomScrollArea,
@@ -25,17 +25,17 @@ import {
25
25
  extractExitPlanModeOptions,
26
26
  isExitPlanSwitchModeInput,
27
27
  normalizeAskUserQuestions
28
- } from "../chunk-WWY6MYMU.js";
28
+ } from "../chunk-IVIXKAEH.js";
29
29
  import {
30
30
  userAvatarPlaceholderUrl,
31
31
  workspaceAgentActivityStatusLabel
32
- } from "../chunk-MVPSFOJZ.js";
32
+ } from "../chunk-SVGIWXNK.js";
33
33
  import {
34
34
  resolveWorkspaceAgentSessionSortTimeUnixMs
35
35
  } from "../chunk-IBIMGLCD.js";
36
36
  import {
37
37
  managedAgentRoundedIconUrl
38
- } from "../chunk-KS35VKHM.js";
38
+ } from "../chunk-GDFQXJMG.js";
39
39
  import {
40
40
  workspaceAgentProviderLabel
41
41
  } from "../chunk-4US2YHBY.js";
@@ -43,10 +43,10 @@ import {
43
43
  AgentGuiI18nProvider,
44
44
  getActiveUiLanguage,
45
45
  useTranslation
46
- } from "../chunk-SC3PS7AT.js";
46
+ } from "../chunk-C7K3EFGI.js";
47
47
  import "../chunk-PJP5BUU6.js";
48
48
  import "../chunk-4I2VCAMW.js";
49
- import "../chunk-DGNKXT3Q.js";
49
+ import "../chunk-G6BVEY7I.js";
50
50
  import "../chunk-GCBDIQDX.js";
51
51
 
52
52
  // agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
@@ -501,6 +501,7 @@ function buildWorkspaceAgentMessageCenterModel(snapshot, options = {}) {
501
501
  return {
502
502
  id: `message-center-${session.agentSessionId}`,
503
503
  agentSessionId: session.agentSessionId,
504
+ agentTargetId: session.agentTargetId?.trim() || null,
504
505
  provider: session.provider,
505
506
  userId: session.userId?.trim() || null,
506
507
  title,
@@ -1633,11 +1634,12 @@ function MessageCenterSummary({
1633
1634
  );
1634
1635
  const handleLinkAction = useCallback(
1635
1636
  (action) => {
1637
+ const agentTargetId = item.agentTargetId?.trim() || null;
1636
1638
  onLinkAction?.(
1637
- action.type === "open-agent-session" && !action.provider ? { ...action, provider: item.provider } : action
1639
+ action.type === "open-agent-session" && !action.agentTargetId && agentTargetId ? { ...action, agentTargetId } : action
1638
1640
  );
1639
1641
  },
1640
- [item.provider, onLinkAction]
1642
+ [item.agentTargetId, onLinkAction]
1641
1643
  );
1642
1644
  useEffect(() => {
1643
1645
  if (!shouldMeasureOverflow) {