@tutti-os/agent-gui 0.0.44 → 0.0.46

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 (49) hide show
  1. package/dist/agent-conversation/index.js +5 -4
  2. package/dist/agent-conversation/index.js.map +1 -1
  3. package/dist/agent-message-center/index.js +17 -11
  4. package/dist/agent-message-center/index.js.map +1 -1
  5. package/dist/app/renderer/agentactivity.css +154 -69
  6. package/dist/{chunk-GMLK2EFU.js → chunk-62QOR3TC.js} +4 -97
  7. package/dist/chunk-62QOR3TC.js.map +1 -0
  8. package/dist/{chunk-5UD2YEBX.js → chunk-AMNXH4DJ.js} +47 -14
  9. package/dist/{chunk-5UD2YEBX.js.map → chunk-AMNXH4DJ.js.map} +1 -1
  10. package/dist/{chunk-25VZHG6G.js → chunk-BAQTM6VS.js} +15 -6
  11. package/dist/chunk-BAQTM6VS.js.map +1 -0
  12. package/dist/{chunk-ZORA4UAT.js → chunk-D6IYEVDT.js} +2 -2
  13. package/dist/chunk-EIC7XS3C.js +71 -0
  14. package/dist/chunk-EIC7XS3C.js.map +1 -0
  15. package/dist/chunk-FJG2EH4V.js +317 -0
  16. package/dist/chunk-FJG2EH4V.js.map +1 -0
  17. package/dist/{chunk-64OSXJRE.js → chunk-FRG36S6N.js} +26 -7
  18. package/dist/chunk-FRG36S6N.js.map +1 -0
  19. package/dist/{chunk-J4MU53PH.js → chunk-NZ2BGOJU.js} +2 -2
  20. package/dist/chunk-OL54R6OL.js +99 -0
  21. package/dist/chunk-OL54R6OL.js.map +1 -0
  22. package/dist/{chunk-ZTQKIJ5J.js → chunk-QT45WUPQ.js} +71 -20
  23. package/dist/chunk-QT45WUPQ.js.map +1 -0
  24. package/dist/{chunk-IGXC7NRW.js → chunk-VFQR7AZI.js} +10 -63
  25. package/dist/chunk-VFQR7AZI.js.map +1 -0
  26. package/dist/{chunk-SF2PE7M6.js → chunk-ZJ7OSY4T.js} +4 -4
  27. package/dist/context-mention-palette/index.js +7 -6
  28. package/dist/i18n/index.d.ts +2 -2
  29. package/dist/i18n/index.js +2 -1
  30. package/dist/index.d.ts +1 -5
  31. package/dist/index.js +321 -245
  32. package/dist/index.js.map +1 -1
  33. package/dist/uiSettings-BQS9r2eo.d.ts +6 -0
  34. package/dist/workbench/contribution.js +1 -1
  35. package/dist/workbench/index.d.ts +3 -0
  36. package/dist/workbench/index.js +13 -2
  37. package/dist/workbench/sessionTitle.d.ts +28 -0
  38. package/dist/workbench/sessionTitle.js +14 -0
  39. package/dist/workbench/sessionTitle.js.map +1 -0
  40. package/dist/workspace-agent-generated-files.js +3 -2
  41. package/package.json +21 -14
  42. package/dist/chunk-25VZHG6G.js.map +0 -1
  43. package/dist/chunk-64OSXJRE.js.map +0 -1
  44. package/dist/chunk-GMLK2EFU.js.map +0 -1
  45. package/dist/chunk-IGXC7NRW.js.map +0 -1
  46. package/dist/chunk-ZTQKIJ5J.js.map +0 -1
  47. /package/dist/{chunk-ZORA4UAT.js.map → chunk-D6IYEVDT.js.map} +0 -0
  48. /package/dist/{chunk-J4MU53PH.js.map → chunk-NZ2BGOJU.js.map} +0 -0
  49. /package/dist/{chunk-SF2PE7M6.js.map → chunk-ZJ7OSY4T.js.map} +0 -0
@@ -0,0 +1,6 @@
1
+ declare const UI_LANGUAGES: readonly ["en", "zh-CN"];
2
+ type UiLanguage = (typeof UI_LANGUAGES)[number];
3
+ declare const UI_THEMES: readonly ["system", "light", "dark"];
4
+ type UiTheme = (typeof UI_THEMES)[number];
5
+
6
+ export type { UiLanguage as U, UiTheme as a };
@@ -8,7 +8,7 @@ import {
8
8
  createAgentGuiWorkbenchContribution,
9
9
  resolveAgentGuiWorkbenchContributionCopy,
10
10
  resolveAgentGuiWorkbenchDefaultLaunchFrame
11
- } from "../chunk-5UD2YEBX.js";
11
+ } from "../chunk-AMNXH4DJ.js";
12
12
  import "../chunk-EU7RWKHE.js";
13
13
  import "../chunk-EFDGMXTB.js";
14
14
  import "../chunk-22L4VWUR.js";
@@ -4,7 +4,10 @@ export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentG
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
+ export { AgentGuiSessionTitleFormatOptions, AgentGuiWorkbenchSessionTitleResult, ResolveAgentGuiWorkbenchSessionTitleInput, formatAgentGuiConversationPlainTitle, formatAgentGuiSessionPlainTitle, resolveAgentGuiWorkbenchSessionTitle } from './sessionTitle.js';
7
8
  export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
9
+ import '@tutti-os/agent-activity-core';
10
+ import '../uiSettings-BQS9r2eo.js';
8
11
  import '../types-xMz0lJWt.js';
9
12
 
10
13
  interface AgentGuiWorkbenchHeaderCopy {
@@ -6,7 +6,7 @@ import {
6
6
  agentGuiWorkbenchDefaultNodeFrame,
7
7
  createAgentGuiWorkbenchContribution,
8
8
  resolveAgentGuiWorkbenchContributionCopy
9
- } from "../chunk-5UD2YEBX.js";
9
+ } from "../chunk-AMNXH4DJ.js";
10
10
  import {
11
11
  agentGuiWorkbenchDockEntryId,
12
12
  agentGuiWorkbenchInstanceId,
@@ -47,7 +47,15 @@ import {
47
47
  } from "../chunk-F5DYXCY3.js";
48
48
  import "../chunk-Q75AK47T.js";
49
49
  import "../chunk-4K22O34C.js";
50
+ import {
51
+ formatAgentGuiConversationPlainTitle,
52
+ formatAgentGuiSessionPlainTitle,
53
+ resolveAgentGuiWorkbenchSessionTitle
54
+ } from "../chunk-OL54R6OL.js";
55
+ import "../chunk-FJG2EH4V.js";
50
56
  import "../chunk-MTFSQWZ6.js";
57
+ import "../chunk-GCBDIQDX.js";
58
+ import "../chunk-VFQR7AZI.js";
51
59
  export {
52
60
  AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
53
61
  AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
@@ -76,6 +84,8 @@ export {
76
84
  createAgentGuiWorkbenchNodeStateSource,
77
85
  createAgentGuiWorkbenchSessionLaunchRequest,
78
86
  createDefaultAgentGuiWorkbenchNodeState,
87
+ formatAgentGuiConversationPlainTitle,
88
+ formatAgentGuiSessionPlainTitle,
79
89
  isAgentGuiWorkbenchComingSoonProvider,
80
90
  isAgentGuiWorkbenchDefaultDockProvider,
81
91
  isAgentGuiWorkbenchDockSuppressedProvider,
@@ -85,6 +95,7 @@ export {
85
95
  normalizeAgentGuiWorkbenchState,
86
96
  projectAgentGuiWorkbenchState,
87
97
  resolveAgentGuiWorkbenchContributionCopy,
88
- resolveAgentGuiWorkbenchProviderLabel
98
+ resolveAgentGuiWorkbenchProviderLabel,
99
+ resolveAgentGuiWorkbenchSessionTitle
89
100
  };
90
101
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,28 @@
1
+ import { AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
2
+ import { U as UiLanguage } from '../uiSettings-BQS9r2eo.js';
3
+ import { AgentGuiWorkbenchProvider } from './types.js';
4
+ import '../types-xMz0lJWt.js';
5
+
6
+ interface AgentGuiSessionTitleFormatOptions {
7
+ fallbackAgentLabel?: string;
8
+ language?: UiLanguage;
9
+ }
10
+ interface ResolveAgentGuiWorkbenchSessionTitleInput extends AgentGuiSessionTitleFormatOptions {
11
+ agentSessionId?: string | null;
12
+ fallbackTitle?: string | null;
13
+ provider: AgentGuiWorkbenchProvider | string;
14
+ snapshot: AgentActivitySnapshot;
15
+ }
16
+ interface AgentGuiWorkbenchSessionTitleResult {
17
+ agentSessionId: string | null;
18
+ source: "snapshot" | "fallback" | "none";
19
+ title: string | null;
20
+ }
21
+ declare function formatAgentGuiSessionPlainTitle(title: string | null | undefined, options?: AgentGuiSessionTitleFormatOptions): string;
22
+ declare function formatAgentGuiConversationPlainTitle(conversation: {
23
+ title: string;
24
+ titleFallback?: "generic-agent" | null;
25
+ }, options?: AgentGuiSessionTitleFormatOptions): string;
26
+ declare function resolveAgentGuiWorkbenchSessionTitle({ agentSessionId, fallbackTitle, language, provider, snapshot }: ResolveAgentGuiWorkbenchSessionTitleInput): AgentGuiWorkbenchSessionTitleResult;
27
+
28
+ export { type AgentGuiSessionTitleFormatOptions, type AgentGuiWorkbenchSessionTitleResult, type ResolveAgentGuiWorkbenchSessionTitleInput, formatAgentGuiConversationPlainTitle, formatAgentGuiSessionPlainTitle, resolveAgentGuiWorkbenchSessionTitle };
@@ -0,0 +1,14 @@
1
+ import {
2
+ formatAgentGuiConversationPlainTitle,
3
+ formatAgentGuiSessionPlainTitle,
4
+ resolveAgentGuiWorkbenchSessionTitle
5
+ } from "../chunk-OL54R6OL.js";
6
+ import "../chunk-FJG2EH4V.js";
7
+ import "../chunk-GCBDIQDX.js";
8
+ import "../chunk-VFQR7AZI.js";
9
+ export {
10
+ formatAgentGuiConversationPlainTitle,
11
+ formatAgentGuiSessionPlainTitle,
12
+ resolveAgentGuiWorkbenchSessionTitle
13
+ };
14
+ //# sourceMappingURL=sessionTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -4,14 +4,15 @@ import {
4
4
  resolveWorkspaceAgentActivityStatus,
5
5
  resolveWorkspaceAgentActivityTitle,
6
6
  reuseWorkspaceAgentActivityListViewModelIfUnchanged
7
- } from "./chunk-ZORA4UAT.js";
7
+ } from "./chunk-D6IYEVDT.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-IGXC7NRW.js";
14
+ import "./chunk-EIC7XS3C.js";
15
+ import "./chunk-VFQR7AZI.js";
15
16
  export {
16
17
  buildWorkspaceAgentActivityListViewModel,
17
18
  collectWorkspaceAgentGeneratedFiles,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/agent-gui",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -61,6 +61,10 @@
61
61
  "types": "./dist/workbench/providerCatalog.d.ts",
62
62
  "import": "./dist/workbench/providerCatalog.js"
63
63
  },
64
+ "./workbench/sessionTitle": {
65
+ "types": "./dist/workbench/sessionTitle.d.ts",
66
+ "import": "./dist/workbench/sessionTitle.js"
67
+ },
64
68
  "./workbench/state": {
65
69
  "types": "./dist/workbench/state.d.ts",
66
70
  "import": "./dist/workbench/state.js"
@@ -82,17 +86,17 @@
82
86
  },
83
87
  "dependencies": {
84
88
  "@monaco-editor/react": "^4.7.0",
85
- "@tutti-os/agent-activity-core": "0.0.44",
86
- "@tutti-os/ui-i18n-runtime": "0.0.44",
87
- "@tutti-os/ui-rich-text": "0.0.44",
88
- "@tutti-os/ui-react-hooks": "0.0.44",
89
- "@tutti-os/ui-system": "0.0.44",
90
- "@tutti-os/workbench-surface": "0.0.44",
91
- "@tutti-os/workspace-external-core": "0.0.44",
92
- "@tutti-os/workspace-file-manager": "0.0.44",
93
- "@tutti-os/workspace-file-reference": "0.0.44",
94
- "@tutti-os/workspace-issue-manager": "0.0.44",
95
- "@tutti-os/workspace-user-project": "0.0.44",
89
+ "@tutti-os/agent-activity-core": "0.0.46",
90
+ "@tutti-os/ui-i18n-runtime": "0.0.46",
91
+ "@tutti-os/ui-rich-text": "0.0.46",
92
+ "@tutti-os/ui-react-hooks": "0.0.46",
93
+ "@tutti-os/ui-system": "0.0.46",
94
+ "@tutti-os/workbench-surface": "0.0.46",
95
+ "@tutti-os/workspace-external-core": "0.0.46",
96
+ "@tutti-os/workspace-file-manager": "0.0.46",
97
+ "@tutti-os/workspace-file-reference": "0.0.46",
98
+ "@tutti-os/workspace-issue-manager": "0.0.46",
99
+ "@tutti-os/workspace-user-project": "0.0.46",
96
100
  "@tanstack/react-virtual": "^3.13.12",
97
101
  "@tiptap/core": "^3.11.1",
98
102
  "@tiptap/pm": "^3.23.6",
@@ -123,8 +127,8 @@
123
127
  "typescript": "^5.8.3",
124
128
  "vite": "^6.4.2",
125
129
  "vitest": "^4.0.13",
126
- "@tutti-os/client-tuttid-ts": "0.0.0",
127
- "@tutti-os/config-tsconfig": "0.0.0"
130
+ "@tutti-os/config-tsconfig": "0.0.0",
131
+ "@tutti-os/client-tuttid-ts": "0.0.0"
128
132
  },
129
133
  "peerDependencies": {
130
134
  "react": "^19.1.0",
@@ -182,6 +186,9 @@
182
186
  "workbench/providerCatalog": [
183
187
  "./dist/workbench/providerCatalog.d.ts"
184
188
  ],
189
+ "workbench/sessionTitle": [
190
+ "./dist/workbench/sessionTitle.d.ts"
191
+ ],
185
192
  "workbench/state": [
186
193
  "./dist/workbench/state.d.ts"
187
194
  ],