@tutti-os/agent-gui 0.0.37 → 0.0.39

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/{AgentMessageMarkdown-Fv7I0HUN.d.ts → AgentMessageMarkdown-BVeh06AJ.d.ts} +5 -0
  2. package/dist/agent-conversation/index.d.ts +1 -1
  3. package/dist/agent-conversation/index.js +5 -5
  4. package/dist/agent-message-center/index.d.ts +1 -0
  5. package/dist/agent-message-center/index.js +231 -15
  6. package/dist/agent-message-center/index.js.map +1 -1
  7. package/dist/app/renderer/agentactivity.css +67 -0
  8. package/dist/{chunk-5YJPISWJ.js → chunk-3AXEEQMV.js} +24 -7
  9. package/dist/chunk-3AXEEQMV.js.map +1 -0
  10. package/dist/{chunk-BQNHPMQY.js → chunk-46IYJEZX.js} +98 -5
  11. package/dist/chunk-46IYJEZX.js.map +1 -0
  12. package/dist/{chunk-UHQDBXGH.js → chunk-5HQDW73P.js} +497 -233
  13. package/dist/chunk-5HQDW73P.js.map +1 -0
  14. package/dist/{chunk-2ADVHCST.js → chunk-B2JKDZSR.js} +1 -1
  15. package/dist/{chunk-2ADVHCST.js.map → chunk-B2JKDZSR.js.map} +1 -1
  16. package/dist/{chunk-MKSRP5XS.js → chunk-C7ZZZXKB.js} +5 -5
  17. package/dist/{chunk-XROBPALT.js → chunk-RE3AHBX6.js} +2 -2
  18. package/dist/{chunk-JL2WNRYC.js → chunk-WJPEKD3F.js} +17 -1
  19. package/dist/chunk-WJPEKD3F.js.map +1 -0
  20. package/dist/{chunk-NCS7X3XY.js → chunk-XL2EKJTQ.js} +15 -3
  21. package/dist/chunk-XL2EKJTQ.js.map +1 -0
  22. package/dist/{chunk-WHWZZYBV.js → chunk-Y2DQJPTL.js} +2 -2
  23. package/dist/{chunk-SXHVKUUI.js → chunk-Y5SE2XMU.js} +72 -15
  24. package/dist/chunk-Y5SE2XMU.js.map +1 -0
  25. package/dist/{chunk-MUZMBEFO.js → chunk-ZWJBG2JM.js} +21 -2
  26. package/dist/chunk-ZWJBG2JM.js.map +1 -0
  27. package/dist/context-mention-palette/index.js +6 -6
  28. package/dist/i18n/index.d.ts +16 -0
  29. package/dist/i18n/index.js +1 -1
  30. package/dist/index.d.ts +5 -3
  31. package/dist/index.js +2163 -998
  32. package/dist/index.js.map +1 -1
  33. package/dist/workbench/contribution.js +2 -2
  34. package/dist/workbench/index.d.ts +2 -1
  35. package/dist/workbench/index.js +2 -2
  36. package/dist/workbench/state.d.ts +6 -0
  37. package/dist/workbench/state.js +1 -1
  38. package/dist/workspace-agent-generated-files.js +2 -2
  39. package/package.json +13 -12
  40. package/dist/chunk-5YJPISWJ.js.map +0 -1
  41. package/dist/chunk-BQNHPMQY.js.map +0 -1
  42. package/dist/chunk-JL2WNRYC.js.map +0 -1
  43. package/dist/chunk-MUZMBEFO.js.map +0 -1
  44. package/dist/chunk-NCS7X3XY.js.map +0 -1
  45. package/dist/chunk-SXHVKUUI.js.map +0 -1
  46. package/dist/chunk-UHQDBXGH.js.map +0 -1
  47. /package/dist/{chunk-MKSRP5XS.js.map → chunk-C7ZZZXKB.js.map} +0 -0
  48. /package/dist/{chunk-XROBPALT.js.map → chunk-RE3AHBX6.js.map} +0 -0
  49. /package/dist/{chunk-WHWZZYBV.js.map → chunk-Y2DQJPTL.js.map} +0 -0
@@ -19,9 +19,12 @@ declare const agentGuiI18nResources: {
19
19
  readonly confirm: "Confirm";
20
20
  readonly copy: "Copy";
21
21
  readonly create: "Create";
22
+ readonly cut: "Cut";
22
23
  readonly delete: "Delete";
23
24
  readonly deleting: "Deleting...";
24
25
  readonly download: "Download";
26
+ readonly copyImage: "Copy image";
27
+ readonly downloadImage: "Download image";
25
28
  readonly expandImage: "Zoom image";
26
29
  readonly error: "Error";
27
30
  readonly generateByAi: "Generate by AI";
@@ -45,6 +48,7 @@ declare const agentGuiI18nResources: {
45
48
  readonly followCliDefault: "Follow CLI default";
46
49
  readonly unknownError: "Unknown error";
47
50
  readonly notAvailable: "N/A";
51
+ readonly paste: "Paste";
48
52
  readonly percentUnit: "%";
49
53
  readonly pixelUnit: "px";
50
54
  readonly minuteUnit: "min";
@@ -331,6 +335,7 @@ declare const agentGuiI18nResources: {
331
335
  readonly modelLabel: "Model";
332
336
  readonly modelSelectionLabel: "Model selection";
333
337
  readonly defaultModel: "Default model";
338
+ readonly loadingOptions: "Loading…";
334
339
  readonly inheritedUnavailable: "Inherited / unavailable";
335
340
  readonly reasoningLabel: "Reasoning";
336
341
  readonly reasoningDegreeLabel: "Reasoning level";
@@ -488,7 +493,9 @@ declare const agentGuiI18nResources: {
488
493
  readonly planImplementationSend: "Send";
489
494
  readonly planImplementationSkip: "Stay in Plan Mode";
490
495
  readonly noRunningResponse: "No running response to stop.";
496
+ readonly composerTextMenu: "Composer text actions";
491
497
  readonly copyMessage: "Copy message";
498
+ readonly copyImage: "Copy image";
492
499
  readonly messageCopied: "Copied";
493
500
  readonly promptTipsPrefix: "Tips: ";
494
501
  readonly reviewPicker: {
@@ -538,6 +545,7 @@ declare const agentGuiI18nResources: {
538
545
  readonly empty: "What can {{provider}} help you with?";
539
546
  readonly conversations: "Sessions";
540
547
  readonly newConversation: "New session";
548
+ readonly agentConfig: "Settings";
541
549
  readonly agentEnvSetup: "Environment check";
542
550
  readonly noConversations: "No sessions yet";
543
551
  readonly emptyProjectConversations: "No chats yet";
@@ -2408,9 +2416,12 @@ declare const agentGuiI18nResources: {
2408
2416
  readonly confirm: "确认";
2409
2417
  readonly copy: "复制";
2410
2418
  readonly create: "创建";
2419
+ readonly cut: "剪切";
2411
2420
  readonly delete: "删除";
2412
2421
  readonly deleting: "删除中...";
2413
2422
  readonly download: "下载";
2423
+ readonly copyImage: "复制图片";
2424
+ readonly downloadImage: "下载图片";
2414
2425
  readonly expandImage: "放大图片";
2415
2426
  readonly error: "错误";
2416
2427
  readonly generateByAi: "AI 生成";
@@ -2434,6 +2445,7 @@ declare const agentGuiI18nResources: {
2434
2445
  readonly followCliDefault: "跟随 CLI 默认值";
2435
2446
  readonly unknownError: "未知错误";
2436
2447
  readonly notAvailable: "无";
2448
+ readonly paste: "粘贴";
2437
2449
  readonly percentUnit: "%";
2438
2450
  readonly pixelUnit: "px";
2439
2451
  readonly minuteUnit: "分钟";
@@ -2720,6 +2732,7 @@ declare const agentGuiI18nResources: {
2720
2732
  readonly modelLabel: "模型";
2721
2733
  readonly modelSelectionLabel: "模型选择";
2722
2734
  readonly defaultModel: "默认模型";
2735
+ readonly loadingOptions: "正在加载";
2723
2736
  readonly inheritedUnavailable: "继承 / 不可用";
2724
2737
  readonly reasoningLabel: "推理强度";
2725
2738
  readonly reasoningDegreeLabel: "推理程度";
@@ -2877,7 +2890,9 @@ declare const agentGuiI18nResources: {
2877
2890
  readonly planImplementationSend: "送出";
2878
2891
  readonly planImplementationSkip: "留在计划模式";
2879
2892
  readonly noRunningResponse: "当前没有正在运行的回复。";
2893
+ readonly composerTextMenu: "输入框文本操作";
2880
2894
  readonly copyMessage: "复制消息";
2895
+ readonly copyImage: "复制图片";
2881
2896
  readonly messageCopied: "已复制";
2882
2897
  readonly promptTipsPrefix: "Tips:";
2883
2898
  readonly reviewPicker: {
@@ -2927,6 +2942,7 @@ declare const agentGuiI18nResources: {
2927
2942
  readonly empty: "需要 {{provider}} 帮你做些什么?";
2928
2943
  readonly conversations: "会话";
2929
2944
  readonly newConversation: "新建会话";
2945
+ readonly agentConfig: "配置";
2930
2946
  readonly agentEnvSetup: "环境检测";
2931
2947
  readonly noConversations: "还没有会话";
2932
2948
  readonly emptyProjectConversations: "暂无对话";
@@ -6,7 +6,7 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-JL2WNRYC.js";
9
+ } from "../chunk-WJPEKD3F.js";
10
10
  export {
11
11
  AgentGuiI18nProvider,
12
12
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -4,8 +4,8 @@ import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentS
4
4
  import * as react from 'react';
5
5
  import { PropsWithChildren, JSX } from 'react';
6
6
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
7
- import { d as AgentHostAgentSessionComposerSettings, c as AgentHostActivateAgentSessionResult, k as AgentHostUpdateAgentSessionSettingsResult, e as AgentHostAgentSessionState, j as AgentHostUnactivateAgentSessionResult, o as AgentProvider, n as AgentProbeSnapshot, a as AgentGUINodeViewModel, A as AgentGUINodeData, t as Point, N as NodeFrame, l as AgentMessageMarkdownWorkspaceAppIcon, g as AgentHostInputApi } from './AgentMessageMarkdown-Fv7I0HUN.js';
8
- export { f as AgentHostApi, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, m as AgentProbeProvider, p as AgentProviderProbeListInput, q as AgentProviderProbeListResult, r as AgentUsageQuota, s as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, u as WriteWorkspaceAgentReadStateInput } from './AgentMessageMarkdown-Fv7I0HUN.js';
7
+ import { d as AgentHostAgentSessionComposerSettings, c as AgentHostActivateAgentSessionResult, k as AgentHostUpdateAgentSessionSettingsResult, e as AgentHostAgentSessionState, j as AgentHostUnactivateAgentSessionResult, o as AgentProvider, n as AgentProbeSnapshot, a as AgentGUINodeViewModel, A as AgentGUINodeData, t as Point, N as NodeFrame, l as AgentMessageMarkdownWorkspaceAppIcon, g as AgentHostInputApi } from './AgentMessageMarkdown-BVeh06AJ.js';
8
+ export { f as AgentHostApi, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, m as AgentProbeProvider, p as AgentProviderProbeListInput, q as AgentProviderProbeListResult, r as AgentUsageQuota, s as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, u as WriteWorkspaceAgentReadStateInput } from './AgentMessageMarkdown-BVeh06AJ.js';
9
9
  import { ReferenceLocateTarget, WorkspaceFileReferenceAdapter, WorkspaceFileReference } from '@tutti-os/workspace-file-reference/contracts';
10
10
  import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
11
11
  import { W as WorkspaceLinkAction } from './workspaceLinkActions-C6POH38D.js';
@@ -397,6 +397,9 @@ interface AgentGUINodeProps {
397
397
  workspacePath: string;
398
398
  workspaceFileReferenceAdapter?: WorkspaceFileReferenceAdapter | null;
399
399
  onRequestGitBranches?: AgentComposerGitBranchLoader | null;
400
+ selectProjectDirectory?: () => Promise<{
401
+ path: string;
402
+ } | null>;
400
403
  referenceSourceAggregator?: ReferenceSourceAggregator | null;
401
404
  resolveMentionReferenceTarget?: AgentMentionReferenceTargetResolver | null;
402
405
  resolveWorkspaceReferenceInitialTarget?: AgentWorkspaceReferenceInitialTargetResolver | null;
@@ -424,7 +427,6 @@ interface AgentGUINodeProps {
424
427
  composerFocusRequestSequence?: number | null;
425
428
  openSessionRequest?: AgentGUIOpenSessionRequest | null;
426
429
  prefillPromptRequest?: AgentGUIPrefillPromptRequest | null;
427
- showProjectSelector?: boolean;
428
430
  isMuted?: boolean;
429
431
  newConversationRequestSequence?: number | null;
430
432
  onMinimize?: () => void;