@tutti-os/agent-gui 0.0.40 → 0.0.42

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 (40) hide show
  1. package/dist/{AgentMessageMarkdown-GDgLA-im.d.ts → AgentMessageMarkdown-Cts0dAIm.d.ts} +1 -0
  2. package/dist/agent-conversation/index.d.ts +1 -1
  3. package/dist/agent-conversation/index.js +4 -4
  4. package/dist/agent-message-center/index.js +6 -6
  5. package/dist/agent-message-center/index.js.map +1 -1
  6. package/dist/app/renderer/agentactivity.css +524 -14
  7. package/dist/{chunk-UUM2GZXH.js → chunk-3PVSIL3H.js} +4 -4
  8. package/dist/{chunk-RE3AHBX6.js → chunk-3WZWZHAJ.js} +2 -2
  9. package/dist/{chunk-Y2DQJPTL.js → chunk-42WP3P5C.js} +2 -2
  10. package/dist/{chunk-Y5SE2XMU.js → chunk-5LVFYNIP.js} +5 -2
  11. package/dist/{chunk-Y5SE2XMU.js.map → chunk-5LVFYNIP.js.map} +1 -1
  12. package/dist/{chunk-EQ4RSPQE.js → chunk-5U4SXENC.js} +4 -4
  13. package/dist/{chunk-R7XH3C4Y.js → chunk-5UD2YEBX.js} +153 -36
  14. package/dist/chunk-5UD2YEBX.js.map +1 -0
  15. package/dist/{chunk-WJPEKD3F.js → chunk-LKOPLDPM.js} +5 -1
  16. package/dist/chunk-LKOPLDPM.js.map +1 -0
  17. package/dist/{chunk-WC34LVH6.js → chunk-OLZP2EFK.js} +230 -45
  18. package/dist/chunk-OLZP2EFK.js.map +1 -0
  19. package/dist/{chunk-DO7D7OOL.js → chunk-XTFRVACA.js} +23 -15
  20. package/dist/chunk-XTFRVACA.js.map +1 -0
  21. package/dist/context-mention-palette/index.js +5 -5
  22. package/dist/i18n/index.d.ts +4 -0
  23. package/dist/i18n/index.js +1 -1
  24. package/dist/index.d.ts +12 -2
  25. package/dist/index.js +1640 -1282
  26. package/dist/index.js.map +1 -1
  27. package/dist/workbench/contribution.d.ts +4 -0
  28. package/dist/workbench/contribution.js +1 -1
  29. package/dist/workbench/index.d.ts +10 -3
  30. package/dist/workbench/index.js +1 -1
  31. package/dist/workspace-agent-generated-files.js +2 -2
  32. package/package.json +12 -12
  33. package/dist/chunk-DO7D7OOL.js.map +0 -1
  34. package/dist/chunk-R7XH3C4Y.js.map +0 -1
  35. package/dist/chunk-WC34LVH6.js.map +0 -1
  36. package/dist/chunk-WJPEKD3F.js.map +0 -1
  37. /package/dist/{chunk-UUM2GZXH.js.map → chunk-3PVSIL3H.js.map} +0 -0
  38. /package/dist/{chunk-RE3AHBX6.js.map → chunk-3WZWZHAJ.js.map} +0 -0
  39. /package/dist/{chunk-Y2DQJPTL.js.map → chunk-42WP3P5C.js.map} +0 -0
  40. /package/dist/{chunk-EQ4RSPQE.js.map → chunk-5U4SXENC.js.map} +0 -0
@@ -4,12 +4,12 @@ import {
4
4
  AgentMentionSearchController,
5
5
  flattenAgentMentionPaletteEntries,
6
6
  groupStartKeys
7
- } from "../chunk-EQ4RSPQE.js";
8
- import "../chunk-Y5SE2XMU.js";
9
- import "../chunk-Y2DQJPTL.js";
7
+ } from "../chunk-5U4SXENC.js";
8
+ import "../chunk-5LVFYNIP.js";
9
+ import "../chunk-42WP3P5C.js";
10
10
  import "../chunk-MTFSQWZ6.js";
11
11
  import "../chunk-IBIMGLCD.js";
12
- import "../chunk-RE3AHBX6.js";
12
+ import "../chunk-3WZWZHAJ.js";
13
13
  import "../chunk-Y35GDLP2.js";
14
14
  import "../chunk-TXXWUG2J.js";
15
15
  import "../chunk-TYGL25EL.js";
@@ -17,7 +17,7 @@ import {
17
17
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
18
18
  } from "../chunk-JM24HADP.js";
19
19
  import "../chunk-GCBDIQDX.js";
20
- import "../chunk-WJPEKD3F.js";
20
+ import "../chunk-LKOPLDPM.js";
21
21
  import "../chunk-LUGELG5V.js";
22
22
  import "../chunk-PJP5BUU6.js";
23
23
  export {
@@ -18,6 +18,8 @@ declare const agentGuiI18nResources: {
18
18
  readonly close: "Close";
19
19
  readonly confirm: "Confirm";
20
20
  readonly copy: "Copy";
21
+ readonly copying: "Copying...";
22
+ readonly copyFailed: "Copy failed";
21
23
  readonly create: "Create";
22
24
  readonly cut: "Cut";
23
25
  readonly delete: "Delete";
@@ -2415,6 +2417,8 @@ declare const agentGuiI18nResources: {
2415
2417
  readonly close: "关闭";
2416
2418
  readonly confirm: "确认";
2417
2419
  readonly copy: "复制";
2420
+ readonly copying: "复制中...";
2421
+ readonly copyFailed: "复制失败";
2418
2422
  readonly create: "创建";
2419
2423
  readonly cut: "剪切";
2420
2424
  readonly delete: "删除";
@@ -6,7 +6,7 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-WJPEKD3F.js";
9
+ } from "../chunk-LKOPLDPM.js";
10
10
  export {
11
11
  AgentGuiI18nProvider,
12
12
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -5,8 +5,8 @@ import * as react from 'react';
5
5
  import { PropsWithChildren, JSX } from 'react';
6
6
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
7
7
  import { n as AgentProvider, c as AgentGUIProviderTargetRef, f as AgentHostAgentSessionComposerSettings, d as AgentHostActivateAgentSessionResult, l as AgentHostUpdateAgentSessionSettingsResult, j as AgentHostAgentSessionState, k as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, P as Point, b as AgentGUIProviderTarget, N as NodeFrame, a as AgentGUIProvider } from './types-xMz0lJWt.js';
8
- import { h as AgentProbeSnapshot, A as AgentGUINodeViewModel, f as AgentMessageMarkdownWorkspaceAppIcon, c as AgentHostInputApi } from './AgentMessageMarkdown-GDgLA-im.js';
9
- export { b as AgentHostApi, d as AgentHostRuntimeApi, e as AgentHostSelectFilesInput, g as AgentProbeProvider, i as AgentProviderProbeListInput, j as AgentProviderProbeListResult, k as AgentUsageQuota, l as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, m as WriteWorkspaceAgentReadStateInput } from './AgentMessageMarkdown-GDgLA-im.js';
8
+ import { h as AgentProbeSnapshot, A as AgentGUINodeViewModel, f as AgentMessageMarkdownWorkspaceAppIcon, c as AgentHostInputApi } from './AgentMessageMarkdown-Cts0dAIm.js';
9
+ export { b as AgentHostApi, d as AgentHostRuntimeApi, e as AgentHostSelectFilesInput, g as AgentProbeProvider, i as AgentProviderProbeListInput, j as AgentProviderProbeListResult, k as AgentUsageQuota, l as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, m as WriteWorkspaceAgentReadStateInput } from './AgentMessageMarkdown-Cts0dAIm.js';
10
10
  import { ReferenceLocateTarget, WorkspaceFileReferenceAdapter, WorkspaceFileReference } from '@tutti-os/workspace-file-reference/contracts';
11
11
  import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
12
12
  import { W as WorkspaceLinkAction } from './workspaceLinkActions-C6POH38D.js';
@@ -346,6 +346,15 @@ interface WorkspaceDesktopAgentProbesState {
346
346
  }
347
347
  type WorkspaceDesktopAgentProbeDemandChange = (provider: AgentProvider | null, sourceId?: string) => void;
348
348
 
349
+ interface AgentGUIComposerDefaults {
350
+ model?: string;
351
+ permissionModeId?: string;
352
+ reasoningEffort?: string;
353
+ }
354
+ interface AgentGUIRememberComposerDefaultsInput {
355
+ provider: AgentGUINodeData["provider"];
356
+ defaults: AgentGUIComposerDefaults | null;
357
+ }
349
358
  interface AgentGUIOpenSessionRequest {
350
359
  agentSessionId: string;
351
360
  sequence: number;
@@ -430,6 +439,7 @@ interface AgentGUINodeProps {
430
439
  onClose: () => void;
431
440
  onResize: (frame: NodeFrame) => void;
432
441
  onUpdateNode: (updater: (current: AgentGUINodeData) => AgentGUINodeData) => void;
442
+ onRememberComposerDefaults?: (input: AgentGUIRememberComposerDefaultsInput) => void | Promise<void>;
433
443
  isMaximized?: boolean;
434
444
  isActive: boolean;
435
445
  composerFocusRequestSequence?: number | null;