@tutti-os/agent-gui 0.0.66 → 0.0.67

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 (86) hide show
  1. package/dist/agent-conversation/index.d.ts +2 -2
  2. package/dist/agent-conversation/index.js +8 -8
  3. package/dist/agent-message-center/index.js +10 -10
  4. package/dist/{agentGuiNodeTypes-B9Aq3UEU.d.ts → agentGuiNodeTypes-DNXndXhV.d.ts} +1 -1
  5. package/dist/app/renderer/agentactivity.css +66 -0
  6. package/dist/app/renderer/assets/icons/agents/tutti-flat-filled.svg +12 -0
  7. package/dist/{chunk-N4I3TD4G.js → chunk-BX4UBTOI.js} +70 -2
  8. package/dist/chunk-BX4UBTOI.js.map +1 -0
  9. package/dist/{chunk-T3KGZV35.js → chunk-CTYXJGSW.js} +3 -3
  10. package/dist/{chunk-P5C3ED3V.js → chunk-DP2X4J2D.js} +3 -3
  11. package/dist/{chunk-LJE2W4EM.js → chunk-DQTBWOIK.js} +27 -4
  12. package/dist/chunk-DQTBWOIK.js.map +1 -0
  13. package/dist/chunk-IL2ORY23.js +193 -0
  14. package/dist/chunk-IL2ORY23.js.map +1 -0
  15. package/dist/{chunk-NOTZW5WH.js → chunk-JGU2VMDA.js} +3 -3
  16. package/dist/{chunk-DL6BMEHI.js → chunk-JWWHS34V.js} +3 -3
  17. package/dist/{chunk-6ULTMCKP.js → chunk-KS4ULVGM.js} +2 -2
  18. package/dist/{chunk-KRJF7WLJ.js → chunk-MA254MXR.js} +41 -7
  19. package/dist/chunk-MA254MXR.js.map +1 -0
  20. package/dist/{chunk-2IMBPRKV.js → chunk-NCAVJEHI.js} +1 -1
  21. package/dist/chunk-NCAVJEHI.js.map +1 -0
  22. package/dist/{chunk-R2NGSPQS.js → chunk-OEJQJP65.js} +3 -1
  23. package/dist/{chunk-R2NGSPQS.js.map → chunk-OEJQJP65.js.map} +1 -1
  24. package/dist/{chunk-UBBHWDMP.js → chunk-PFKY5W76.js} +9 -9
  25. package/dist/chunk-PFKY5W76.js.map +1 -0
  26. package/dist/{chunk-JTFWT6DK.js → chunk-QZYGCZNQ.js} +4 -4
  27. package/dist/{chunk-CKCUEHBW.js → chunk-RNFP7CUO.js} +9 -8
  28. package/dist/chunk-RNFP7CUO.js.map +1 -0
  29. package/dist/{chunk-UI3YDJTC.js → chunk-SKWDZTEV.js} +6 -4
  30. package/dist/chunk-SKWDZTEV.js.map +1 -0
  31. package/dist/{chunk-LQHYHF36.js → chunk-UAXKJNM2.js} +14 -7
  32. package/dist/chunk-UAXKJNM2.js.map +1 -0
  33. package/dist/{chunk-CTJQTUQ3.js → chunk-VIJQ5C33.js} +5 -5
  34. package/dist/{chunk-VBTPXEFH.js → chunk-XBR7D7X2.js} +2 -2
  35. package/dist/{chunk-DXVMRZHH.js → chunk-YU3XLPLC.js} +2 -2
  36. package/dist/{chunk-Z26P2QNT.js → chunk-YYAP6IK7.js} +4 -166
  37. package/dist/chunk-YYAP6IK7.js.map +1 -0
  38. package/dist/{chunk-HNODQVG2.js → chunk-ZABN3POD.js} +6 -2
  39. package/dist/chunk-ZABN3POD.js.map +1 -0
  40. package/dist/context-mention-palette/index.js +9 -9
  41. package/dist/cursor-flat-filled-CL7N3BTZ.svg +3 -0
  42. package/dist/i18n/index.d.ts +40 -6
  43. package/dist/i18n/index.js +2 -2
  44. package/dist/index.d.ts +48 -6
  45. package/dist/index.js +1420 -921
  46. package/dist/index.js.map +1 -1
  47. package/dist/queued-prompt-runtime.d.ts +2 -2
  48. package/dist/tutti-flat-filled-K32QBTZE.svg +12 -0
  49. package/dist/{types-Bxn8bLEp.d.ts → types-BxOwnK7K.d.ts} +3 -3
  50. package/dist/workbench/contribution.d.ts +1 -1
  51. package/dist/workbench/contribution.js +8 -8
  52. package/dist/workbench/index.d.ts +1 -1
  53. package/dist/workbench/index.js +11 -11
  54. package/dist/workbench/launch.d.ts +1 -1
  55. package/dist/workbench/launch.js +3 -3
  56. package/dist/workbench/providerCatalog.d.ts +4 -4
  57. package/dist/workbench/providerCatalog.js +1 -1
  58. package/dist/workbench/sessionTitle.d.ts +1 -1
  59. package/dist/workbench/sessionTitle.js +3 -3
  60. package/dist/workbench/state.d.ts +1 -1
  61. package/dist/workbench/state.js +3 -3
  62. package/dist/workbench/types.d.ts +2 -2
  63. package/dist/workbench/types.js +1 -1
  64. package/dist/workspace-agent-generated-files.js +4 -4
  65. package/package.json +12 -12
  66. package/dist/chunk-2IMBPRKV.js.map +0 -1
  67. package/dist/chunk-CKCUEHBW.js.map +0 -1
  68. package/dist/chunk-HNODQVG2.js.map +0 -1
  69. package/dist/chunk-KRJF7WLJ.js.map +0 -1
  70. package/dist/chunk-LJE2W4EM.js.map +0 -1
  71. package/dist/chunk-LQHYHF36.js.map +0 -1
  72. package/dist/chunk-N4I3TD4G.js.map +0 -1
  73. package/dist/chunk-TYGL25EL.js +0 -30
  74. package/dist/chunk-TYGL25EL.js.map +0 -1
  75. package/dist/chunk-UBBHWDMP.js.map +0 -1
  76. package/dist/chunk-UI3YDJTC.js.map +0 -1
  77. package/dist/chunk-Z26P2QNT.js.map +0 -1
  78. /package/dist/{chunk-T3KGZV35.js.map → chunk-CTYXJGSW.js.map} +0 -0
  79. /package/dist/{chunk-P5C3ED3V.js.map → chunk-DP2X4J2D.js.map} +0 -0
  80. /package/dist/{chunk-NOTZW5WH.js.map → chunk-JGU2VMDA.js.map} +0 -0
  81. /package/dist/{chunk-DL6BMEHI.js.map → chunk-JWWHS34V.js.map} +0 -0
  82. /package/dist/{chunk-6ULTMCKP.js.map → chunk-KS4ULVGM.js.map} +0 -0
  83. /package/dist/{chunk-JTFWT6DK.js.map → chunk-QZYGCZNQ.js.map} +0 -0
  84. /package/dist/{chunk-CTJQTUQ3.js.map → chunk-VIJQ5C33.js.map} +0 -0
  85. /package/dist/{chunk-VBTPXEFH.js.map → chunk-XBR7D7X2.js.map} +0 -0
  86. /package/dist/{chunk-DXVMRZHH.js.map → chunk-YU3XLPLC.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4,10 +4,10 @@ import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentS
4
4
  import * as react from 'react';
5
5
  import { ReactNode, PropsWithChildren, JSX, HTMLAttributes } from 'react';
6
6
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
7
- import { r as AgentProvider, g as AgentGUIProviderTargetRef, j as AgentHostAgentSessionComposerSettings, h as AgentHostActivateAgentSessionResult, p as AgentHostUpdateAgentSessionSettingsResult, n as AgentHostAgentSessionState, o as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, a as AgentGUIProvider, f as AgentGUIProviderTarget, q as AgentPromptContentBlock, P as Point, b as AgentGUIProviderRailMode, c as AgentGUIProviderReadinessGate, N as NodeFrame } from './types-Bxn8bLEp.js';
8
- export { d as AgentGUIProviderReadinessGateAction, e as AgentGUIProviderReadinessGateStatus } from './types-Bxn8bLEp.js';
9
- import { k as AgentProbeSnapshot, A as AgentComposerDraft, n as AgentSessionCommand, c as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, d as AgentGUIQueuedPromptVM, b as AgentGUINodeViewModel, g as AgentHostInputApi } from './agentGuiNodeTypes-B9Aq3UEU.js';
10
- export { e as AgentHostApi, f as AgentHostApplyWorkspaceGitPatchInput, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, j as AgentProbeProvider, l as AgentProviderProbeListInput, m as AgentProviderProbeListResult, o as AgentUsageQuota, p as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, q as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-B9Aq3UEU.js';
7
+ import { r as AgentProvider, g as AgentGUIProviderTargetRef, j as AgentHostAgentSessionComposerSettings, h as AgentHostActivateAgentSessionResult, p as AgentHostUpdateAgentSessionSettingsResult, n as AgentHostAgentSessionState, o as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, a as AgentGUIProvider, f as AgentGUIProviderTarget, q as AgentPromptContentBlock, P as Point, b as AgentGUIProviderRailMode, c as AgentGUIProviderReadinessGate, N as NodeFrame } from './types-BxOwnK7K.js';
8
+ export { d as AgentGUIProviderReadinessGateAction, e as AgentGUIProviderReadinessGateStatus } from './types-BxOwnK7K.js';
9
+ import { k as AgentProbeSnapshot, A as AgentComposerDraft, n as AgentSessionCommand, c as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, d as AgentGUIQueuedPromptVM, b as AgentGUINodeViewModel, g as AgentHostInputApi } from './agentGuiNodeTypes-DNXndXhV.js';
10
+ export { e as AgentHostApi, f as AgentHostApplyWorkspaceGitPatchInput, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, j as AgentProbeProvider, l as AgentProviderProbeListInput, m as AgentProviderProbeListResult, o as AgentUsageQuota, p as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, q as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-DNXndXhV.js';
11
11
  import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
12
12
  import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter } from '@tutti-os/workspace-file-reference/contracts';
13
13
  import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
@@ -382,6 +382,15 @@ interface AgentActivityRuntimePromptAsset {
382
382
  data: string;
383
383
  }
384
384
  interface AgentActivityRuntime {
385
+ /**
386
+ * Stable identity of this runtime instance (e.g. a local origin vs a
387
+ * shared/room origin). When present, the conversation-list and session-view
388
+ * stores key their query state, runtime resolution, and subscriptions by this
389
+ * value, so multiple runtimes can coexist for the same workspace without
390
+ * fighting over a single module-global slot. Absent => legacy single-runtime
391
+ * behaviour resolved via the module-global.
392
+ */
393
+ origin?: string;
385
394
  promptContentUploadSupport?: {
386
395
  file?: boolean;
387
396
  image?: boolean;
@@ -469,6 +478,37 @@ interface AgentGUIPrefillPromptRequest {
469
478
  userProjectPath?: string | null;
470
479
  }
471
480
 
481
+ interface AgentGUIAccountMenuState {
482
+ user: {
483
+ userId: string;
484
+ name?: string | null;
485
+ email?: string | null;
486
+ avatar?: string | null;
487
+ } | null;
488
+ membershipLabel: string;
489
+ creditsLabel: string | null;
490
+ loading: boolean;
491
+ error: string | null;
492
+ partialError?: boolean;
493
+ registrationCreditsToast?: {
494
+ id: string;
495
+ creditsLabel: string;
496
+ visible: boolean;
497
+ autoDismissMs?: number;
498
+ onDismiss(): void;
499
+ } | null;
500
+ links: {
501
+ planUrl: string;
502
+ usageUrl: string;
503
+ settingsUrl: string;
504
+ };
505
+ onOpenChange(open: boolean): void;
506
+ onLogin(): void;
507
+ onLogout?(): void;
508
+ onSettings?(): void;
509
+ onOpenExternal(url: string): void;
510
+ }
511
+
472
512
  interface AgentSlashCommandCapability {
473
513
  aliases?: readonly string[];
474
514
  capability: "browserUse" | "computerUse";
@@ -864,6 +904,7 @@ interface AgentGUINodeProps {
864
904
  capabilityMenuState?: AgentComposerCapabilityMenuState;
865
905
  onCapabilitySettingsRequest?: (capability: AgentComposerCapabilitySettingsTarget) => void;
866
906
  onAgentProviderLogin?: (provider: AgentProvider) => void;
907
+ accountMenuState?: AgentGUIAccountMenuState | null;
867
908
  providerTargets?: readonly AgentGUIProviderTarget[];
868
909
  providerTargetsLoading?: boolean;
869
910
  /**
@@ -929,7 +970,7 @@ interface AgentGUIProps extends AgentGUINodeProps {
929
970
  }
930
971
  declare const AgentGUI: react.NamedExoticComponent<AgentGUIProps>;
931
972
 
932
- declare const agentGUIDefaultTargetProviders: readonly ["codex", "claude-code", "cursor", "nexight", "hermes", "openclaw"];
973
+ declare const agentGUIDefaultTargetProviders: readonly ["codex", "claude-code", "cursor", "tutti-agent", "hermes", "openclaw"];
933
974
  declare function createLocalAgentGUIProviderTarget(provider: AgentGUIProvider): AgentGUIProviderTarget;
934
975
  declare function createSharedAgentGUIProviderTarget(input: {
935
976
  provider: AgentGUIProvider;
@@ -967,6 +1008,7 @@ declare const agentGuiDockIconUrls: {
967
1008
  readonly hermes: string;
968
1009
  readonly nexight: string;
969
1010
  readonly openclaw: string;
1011
+ readonly "tutti-agent": string;
970
1012
  };
971
1013
 
972
1014
  interface AgentGUIExpandedWindowFrameInput {
@@ -1000,4 +1042,4 @@ interface AgentActivityHostProviderProps extends PropsWithChildren {
1000
1042
  }
1001
1043
  declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi, children }: AgentActivityHostProviderProps): JSX.Element;
1002
1044
 
1003
- export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIProps, AgentGUIProvider, type AgentGUIProviderRailEmptyRenderer, AgentGUIProviderRailMode, AgentGUIProviderReadinessGate, AgentGUIProviderTarget, AgentGUIProviderTargetRef, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, createSharedAgentGUIProviderTarget, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIAgentTargetId, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };
1045
+ export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIProps, AgentGUIProvider, type AgentGUIProviderRailEmptyRenderer, AgentGUIProviderRailMode, AgentGUIProviderReadinessGate, AgentGUIProviderTarget, AgentGUIProviderTargetRef, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, createSharedAgentGUIProviderTarget, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIAgentTargetId, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };