@tutti-os/agent-gui 0.0.64 → 0.0.65

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 (57) hide show
  1. package/dist/agent-conversation/index.js +6 -6
  2. package/dist/agent-message-center/index.js +8 -8
  3. package/dist/app/renderer/agentactivity.css +3 -3
  4. package/dist/{chunk-F6GDUU4X.js → chunk-6OYLLPPN.js} +5 -5
  5. package/dist/{chunk-PVVM7MZZ.js → chunk-DL6BMEHI.js} +2 -2
  6. package/dist/{chunk-C465B7WK.js → chunk-EIPQGFAE.js} +2 -2
  7. package/dist/{chunk-52VZ54WH.js → chunk-HKKC2U6J.js} +5 -5
  8. package/dist/{chunk-TT2YJNEP.js → chunk-IDTB6OID.js} +3 -3
  9. package/dist/{chunk-FUJ73PTH.js → chunk-LJE2W4EM.js} +3 -5
  10. package/dist/chunk-LJE2W4EM.js.map +1 -0
  11. package/dist/{chunk-YFTQK2G4.js → chunk-LQHYHF36.js} +7 -7
  12. package/dist/chunk-LQHYHF36.js.map +1 -0
  13. package/dist/{chunk-ERWDRI3F.js → chunk-N4I3TD4G.js} +2 -2
  14. package/dist/{chunk-ERWDRI3F.js.map → chunk-N4I3TD4G.js.map} +1 -1
  15. package/dist/{chunk-RDRKIMAC.js → chunk-N7BGNAA2.js} +5 -5
  16. package/dist/{chunk-YUMHFZ5A.js → chunk-P5C3ED3V.js} +3 -2
  17. package/dist/chunk-P5C3ED3V.js.map +1 -0
  18. package/dist/{chunk-ZTZ6STJZ.js → chunk-QULZNKPA.js} +2 -2
  19. package/dist/{chunk-TFPKI4XJ.js → chunk-R7PSPKBD.js} +2 -2
  20. package/dist/{chunk-3NSUJ7OF.js → chunk-UI3YDJTC.js} +39 -5
  21. package/dist/chunk-UI3YDJTC.js.map +1 -0
  22. package/dist/{chunk-IIXCU2UU.js → chunk-UWBX3DZK.js} +2 -2
  23. package/dist/{chunk-76GTKO4Q.js → chunk-W3Q7B3DV.js} +2 -2
  24. package/dist/{chunk-MQ6RKXXW.js → chunk-XLBJHHDX.js} +5 -3
  25. package/dist/chunk-XLBJHHDX.js.map +1 -0
  26. package/dist/{chunk-FLTLZGIN.js → chunk-XZPAU7FC.js} +3 -3
  27. package/dist/context-mention-palette/index.js +7 -7
  28. package/dist/i18n/index.d.ts +4 -2
  29. package/dist/i18n/index.js +2 -2
  30. package/dist/index.d.ts +18 -1
  31. package/dist/index.js +515 -299
  32. package/dist/index.js.map +1 -1
  33. package/dist/workbench/contribution.js +5 -5
  34. package/dist/workbench/index.js +8 -8
  35. package/dist/workbench/launch.d.ts +2 -0
  36. package/dist/workbench/launch.js +1 -1
  37. package/dist/workbench/sessionTitle.js +3 -3
  38. package/dist/workbench/state.js +2 -2
  39. package/dist/workspace-agent-generated-files.js +3 -3
  40. package/package.json +12 -12
  41. package/dist/chunk-3NSUJ7OF.js.map +0 -1
  42. package/dist/chunk-FUJ73PTH.js.map +0 -1
  43. package/dist/chunk-MQ6RKXXW.js.map +0 -1
  44. package/dist/chunk-YFTQK2G4.js.map +0 -1
  45. package/dist/chunk-YUMHFZ5A.js.map +0 -1
  46. package/dist/cursor-flat-filled-CL7N3BTZ.svg +0 -3
  47. /package/dist/{chunk-F6GDUU4X.js.map → chunk-6OYLLPPN.js.map} +0 -0
  48. /package/dist/{chunk-PVVM7MZZ.js.map → chunk-DL6BMEHI.js.map} +0 -0
  49. /package/dist/{chunk-C465B7WK.js.map → chunk-EIPQGFAE.js.map} +0 -0
  50. /package/dist/{chunk-52VZ54WH.js.map → chunk-HKKC2U6J.js.map} +0 -0
  51. /package/dist/{chunk-TT2YJNEP.js.map → chunk-IDTB6OID.js.map} +0 -0
  52. /package/dist/{chunk-RDRKIMAC.js.map → chunk-N7BGNAA2.js.map} +0 -0
  53. /package/dist/{chunk-ZTZ6STJZ.js.map → chunk-QULZNKPA.js.map} +0 -0
  54. /package/dist/{chunk-TFPKI4XJ.js.map → chunk-R7PSPKBD.js.map} +0 -0
  55. /package/dist/{chunk-IIXCU2UU.js.map → chunk-UWBX3DZK.js.map} +0 -0
  56. /package/dist/{chunk-76GTKO4Q.js.map → chunk-W3Q7B3DV.js.map} +0 -0
  57. /package/dist/{chunk-FLTLZGIN.js.map → chunk-XZPAU7FC.js.map} +0 -0
@@ -5,11 +5,11 @@ import {
5
5
  import {
6
6
  getAgentCustomMentionKind,
7
7
  managedAgentRoundedIconUrl
8
- } from "./chunk-ERWDRI3F.js";
8
+ } from "./chunk-N4I3TD4G.js";
9
9
  import {
10
10
  translate,
11
11
  useTranslation
12
- } from "./chunk-IIXCU2UU.js";
12
+ } from "./chunk-UWBX3DZK.js";
13
13
 
14
14
  // agent-gui/agentGuiNode/agentRichText/agentFileMentionExtension.ts
15
15
  import { mergeAttributes, Node } from "@tiptap/core";
@@ -1437,4 +1437,4 @@ export {
1437
1437
  mentionItemToAttrs,
1438
1438
  attrsToMentionItem
1439
1439
  };
1440
- //# sourceMappingURL=chunk-FLTLZGIN.js.map
1440
+ //# sourceMappingURL=chunk-XZPAU7FC.js.map
@@ -4,19 +4,19 @@ import {
4
4
  AgentMentionSearchController,
5
5
  flattenAgentMentionPaletteEntries,
6
6
  groupStartKeys
7
- } from "../chunk-52VZ54WH.js";
8
- import "../chunk-ZTZ6STJZ.js";
9
- import "../chunk-TFPKI4XJ.js";
7
+ } from "../chunk-HKKC2U6J.js";
8
+ import "../chunk-QULZNKPA.js";
9
+ import "../chunk-R7PSPKBD.js";
10
10
  import "../chunk-IBIMGLCD.js";
11
- import "../chunk-FLTLZGIN.js";
11
+ import "../chunk-XZPAU7FC.js";
12
12
  import "../chunk-Y35GDLP2.js";
13
13
  import "../chunk-LUGELG5V.js";
14
- import "../chunk-ERWDRI3F.js";
14
+ import "../chunk-N4I3TD4G.js";
15
15
  import "../chunk-TYGL25EL.js";
16
- import "../chunk-IIXCU2UU.js";
16
+ import "../chunk-UWBX3DZK.js";
17
17
  import "../chunk-PJP5BUU6.js";
18
18
  import "../chunk-R2NGSPQS.js";
19
- import "../chunk-MQ6RKXXW.js";
19
+ import "../chunk-XLBJHHDX.js";
20
20
  import {
21
21
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
22
22
  } from "../chunk-JM24HADP.js";
@@ -583,7 +583,8 @@ declare const agentGuiI18nResources: {
583
583
  readonly empty: "What can {{provider}} help you with?";
584
584
  readonly conversations: "Sessions";
585
585
  readonly newConversation: "New session";
586
- readonly agentConfig: "Usage & Environment Check";
586
+ readonly agentConfig: "Check & Settings";
587
+ readonly agentSettingsMenu: "Settings";
587
588
  readonly agentEnvSetup: "Environment Check";
588
589
  readonly noConversations: "No sessions yet";
589
590
  readonly emptyProjectConversations: "No chats yet";
@@ -3092,7 +3093,8 @@ declare const agentGuiI18nResources: {
3092
3093
  readonly empty: "需要 {{provider}} 帮你做些什么?";
3093
3094
  readonly conversations: "会话";
3094
3095
  readonly newConversation: "新建会话";
3095
- readonly agentConfig: "用量&环境检测";
3096
+ readonly agentConfig: "检测与设置";
3097
+ readonly agentSettingsMenu: "设置";
3096
3098
  readonly agentEnvSetup: "环境检测";
3097
3099
  readonly noConversations: "还没有会话";
3098
3100
  readonly emptyProjectConversations: "暂无对话";
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-IIXCU2UU.js";
10
- import "../chunk-MQ6RKXXW.js";
9
+ } from "../chunk-UWBX3DZK.js";
10
+ import "../chunk-XLBJHHDX.js";
11
11
  export {
12
12
  AgentGuiI18nProvider,
13
13
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -819,6 +819,11 @@ interface AgentWorkspaceReferenceInitialTargetInput {
819
819
  userProjects: AgentGUINodeViewModel["userProjects"];
820
820
  }
821
821
  type AgentWorkspaceReferenceInitialTargetResolver = (input: AgentWorkspaceReferenceInitialTargetInput) => ReferenceLocateTarget | null;
822
+ interface AgentGUISidebarFooterContext {
823
+ currentUserId?: string | null;
824
+ activeConversation: AgentGUINodeViewModel["activeConversation"];
825
+ }
826
+ type AgentGUISidebarFooterRenderer = (ctx: AgentGUISidebarFooterContext) => ReactNode;
822
827
 
823
828
  interface AgentGUINodeProps {
824
829
  nodeId: string;
@@ -854,6 +859,7 @@ interface AgentGUINodeProps {
854
859
  onAgentProviderLogin?: (provider: AgentProvider) => void;
855
860
  providerTargets?: readonly AgentGUIProviderTarget[];
856
861
  providerTargetsLoading?: boolean;
862
+ renderSidebarFooter?: (ctx: AgentGUISidebarFooterContext) => ReactNode;
857
863
  comingSoonProviders?: readonly AgentGUIProvider[];
858
864
  providerReadinessGates?: Partial<Record<AgentGUIProvider, AgentGUIProviderReadinessGate | null>> | null;
859
865
  defaultProviderTargetId?: string | null;
@@ -910,6 +916,17 @@ declare const AgentGUI: react.NamedExoticComponent<AgentGUIProps>;
910
916
 
911
917
  declare const agentGUIDefaultTargetProviders: readonly ["codex", "claude-code", "cursor", "nexight", "hermes", "openclaw"];
912
918
  declare function createLocalAgentGUIProviderTarget(provider: AgentGUIProvider): AgentGUIProviderTarget;
919
+ declare function createSharedAgentGUIProviderTarget(input: {
920
+ provider: AgentGUIProvider;
921
+ sharedAgentId: string;
922
+ label: string;
923
+ agentTargetId?: string | null;
924
+ ownerLabel?: string | null;
925
+ iconUrl?: string | null;
926
+ unavailableReason?: string | null;
927
+ disabled?: boolean;
928
+ ref?: Record<string, unknown> | null;
929
+ }): AgentGUIProviderTarget;
913
930
  declare function createLocalAgentGUIProviderTargets(providers?: readonly AgentGUIProvider[]): AgentGUIProviderTarget[];
914
931
  declare function localAgentGUIProviderTargetId(provider: AgentGUIProvider): string;
915
932
  declare function localAgentGUIAgentTargetId(provider: AgentGUIProvider): string | null;
@@ -968,4 +985,4 @@ interface AgentActivityHostProviderProps extends PropsWithChildren {
968
985
  }
969
986
  declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi, children }: AgentActivityHostProviderProps): JSX.Element;
970
987
 
971
- 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, AgentGUIProviderReadinessGate, AgentGUIProviderTarget, AgentGUIProviderTargetRef, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIAgentTargetId, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };
988
+ 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, 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 };