@tutti-os/agent-gui 0.0.159 → 0.0.161

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/{AgentRichTextReadonly-ZGW4IZ6O.js → AgentRichTextReadonly-PNUSXHOQ.js} +5 -5
  2. package/dist/agent-conversation/index.d.ts +1 -1
  3. package/dist/agent-conversation/index.js +7 -7
  4. package/dist/agent-gui.d.ts +2 -1
  5. package/dist/agent-gui.js +14 -14
  6. package/dist/agent-message-center/index.js +6 -6
  7. package/dist/{agentGuiNodeTypes-2xRyhPBD.d.ts → agentGuiNodeTypes-BxyRdJ8A.d.ts} +2 -0
  8. package/dist/app/renderer/agentactivity.css +14 -2
  9. package/dist/{chunk-YRAKPTXS.js → chunk-2DGFRQEP.js} +3 -3
  10. package/dist/{chunk-YUJY75WA.js → chunk-52ANPJET.js} +3 -3
  11. package/dist/{chunk-PAVNEKRU.js → chunk-7ED6E444.js} +4 -4
  12. package/dist/{chunk-CBQMF744.js → chunk-C4Z4JLOJ.js} +2 -2
  13. package/dist/{chunk-EITAGUEN.js → chunk-DFQMEPM7.js} +2 -2
  14. package/dist/{chunk-GTSKTVVB.js → chunk-DSOWEIVN.js} +2 -2
  15. package/dist/{chunk-55UKPTLG.js → chunk-GUGOTL55.js} +4 -4
  16. package/dist/{chunk-YGBZKQ2S.js → chunk-HGMOBQKA.js} +2 -2
  17. package/dist/{chunk-DB3PHOZC.js → chunk-ILSYNGFJ.js} +99 -77
  18. package/dist/chunk-ILSYNGFJ.js.map +1 -0
  19. package/dist/{chunk-3PSYZ53C.js → chunk-MOC5TDZU.js} +4 -4
  20. package/dist/{chunk-UMJIM225.js → chunk-MVVZPLI6.js} +367 -264
  21. package/dist/chunk-MVVZPLI6.js.map +1 -0
  22. package/dist/{chunk-ABUBJDTO.js → chunk-QHSWRS4L.js} +6 -6
  23. package/dist/{chunk-VVB5N5ON.js → chunk-W5U7PGMH.js} +2 -2
  24. package/dist/{chunk-J4QLQETO.js → chunk-ZJWX36UL.js} +2 -2
  25. package/dist/context-mention-palette/index.js +7 -7
  26. package/dist/i18n/index.d.ts +220 -208
  27. package/dist/i18n/index.js +2 -2
  28. package/dist/index.d.ts +223 -208
  29. package/dist/index.js +14 -14
  30. package/dist/mention-search.js +5 -5
  31. package/dist/workbench/contribution.js +3 -3
  32. package/dist/workbench/index.js +3 -3
  33. package/dist/workbench/sessionTitle.js +2 -2
  34. package/package.json +13 -13
  35. package/dist/chunk-DB3PHOZC.js.map +0 -1
  36. package/dist/chunk-UMJIM225.js.map +0 -1
  37. /package/dist/{AgentRichTextReadonly-ZGW4IZ6O.js.map → AgentRichTextReadonly-PNUSXHOQ.js.map} +0 -0
  38. /package/dist/{chunk-YRAKPTXS.js.map → chunk-2DGFRQEP.js.map} +0 -0
  39. /package/dist/{chunk-YUJY75WA.js.map → chunk-52ANPJET.js.map} +0 -0
  40. /package/dist/{chunk-PAVNEKRU.js.map → chunk-7ED6E444.js.map} +0 -0
  41. /package/dist/{chunk-CBQMF744.js.map → chunk-C4Z4JLOJ.js.map} +0 -0
  42. /package/dist/{chunk-EITAGUEN.js.map → chunk-DFQMEPM7.js.map} +0 -0
  43. /package/dist/{chunk-GTSKTVVB.js.map → chunk-DSOWEIVN.js.map} +0 -0
  44. /package/dist/{chunk-55UKPTLG.js.map → chunk-GUGOTL55.js.map} +0 -0
  45. /package/dist/{chunk-YGBZKQ2S.js.map → chunk-HGMOBQKA.js.map} +0 -0
  46. /package/dist/{chunk-3PSYZ53C.js.map → chunk-MOC5TDZU.js.map} +0 -0
  47. /package/dist/{chunk-ABUBJDTO.js.map → chunk-QHSWRS4L.js.map} +0 -0
  48. /package/dist/{chunk-VVB5N5ON.js.map → chunk-W5U7PGMH.js.map} +0 -0
  49. /package/dist/{chunk-J4QLQETO.js.map → chunk-ZJWX36UL.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -2184,6 +2184,7 @@ interface AgentGUIComposerViewModel {
2184
2184
  }
2185
2185
  interface AgentGUIInteractionViewModel {
2186
2186
  isRespondingApproval: boolean;
2187
+ isRuntimeBlocked: boolean;
2187
2188
  pendingApproval: AgentGUIApprovalRequest | null;
2188
2189
  pendingInteractivePrompt: AgentGUIInteractivePrompt | null;
2189
2190
  sessionChrome: AgentGUISessionChrome;
@@ -2193,6 +2194,7 @@ interface AgentGUIReadinessViewModel {
2193
2194
  activeLiveState: "inactive" | "activating" | "active" | "failed";
2194
2195
  activationError: string | null;
2195
2196
  activeConversationBusy: boolean;
2197
+ sessionRuntimeBlocked: boolean;
2196
2198
  providerReadinessGate: AgentGUIProviderReadinessGate | null;
2197
2199
  }
2198
2200
  interface AgentGUIOperationsViewModel {
@@ -2607,6 +2609,116 @@ declare const agentGuiI18nResources: {
2607
2609
  readonly workspaceCenterSearchAria: "Open room search";
2608
2610
  readonly workspaceCenterSearchTitle: "Search nodes, partitions, and notes in this room";
2609
2611
  readonly agentGui: {
2612
+ readonly projectLocked: "Project cannot be changed after the session starts";
2613
+ readonly projectMissingDescription: "This conversation's working directory no longer exists";
2614
+ readonly fileMentionEnterFolder: "Enter folder";
2615
+ readonly fileMentionSwitchCategory: "Switch category";
2616
+ readonly fileMentionNavigateHierarchy: "Enter/leave folder";
2617
+ readonly fileMentionSwitchSelection: "Switch selection";
2618
+ readonly mentionFilterFile: "Files";
2619
+ readonly mentionFilterApp: "Apps";
2620
+ readonly mentionFilterAgent: "Agents";
2621
+ readonly provenanceFilterAllAgents: "All agents";
2622
+ readonly provenanceFilterAllMembers: "All members";
2623
+ readonly provenanceFilterAllSources: "All sources";
2624
+ readonly provenanceFilterAgents: "Agents";
2625
+ readonly provenanceFilterFilteredSources: "Filtered sources";
2626
+ readonly provenanceFilterMembers: "Members";
2627
+ readonly provenanceFilterReset: "Reset";
2628
+ readonly mentionFilterSession: "Sessions";
2629
+ readonly mentionFilterCollab: "Collaboration";
2630
+ readonly mentionFilterIssue: "Tasks";
2631
+ readonly mentionKindAgent: "Agent";
2632
+ readonly mentionKindApp: "App";
2633
+ readonly mentionKindAppFactory: "App Factory";
2634
+ readonly mentionKindFile: "File";
2635
+ readonly mentionKindIssue: "Task";
2636
+ readonly mentionKindReference: "Reference";
2637
+ readonly mentionKindSession: "Session";
2638
+ readonly mentionGroupFiles: "Files";
2639
+ readonly mentionGroupOpenedFiles: "Files I opened";
2640
+ readonly mentionGroupAgentGeneratedFiles: "Recent files generated by Agent";
2641
+ readonly mentionGroupApps: "Apps";
2642
+ readonly mentionGroupAgents: "Agents";
2643
+ readonly mentionGroupMySessions: "My sessions";
2644
+ readonly mentionGroupCollabSessions: "Collaboration sessions";
2645
+ readonly mentionGroupIssues: "Tasks";
2646
+ readonly mentionEmptyMySessions: "No sessions yet";
2647
+ readonly mentionEmptyCollabSessions: "No collaboration sessions yet";
2648
+ readonly mentionEmptyApps: "No apps yet";
2649
+ readonly mentionEmptyAgents: "No agents available";
2650
+ readonly mentionEmptyIssues: "No tasks yet";
2651
+ readonly mentionEmptyDockFiles: "No open files in the dock yet. Type to search workspace files.";
2652
+ readonly mentionEmptyAgentGeneratedFiles: "No files generated by Agent yet";
2653
+ readonly mentionFolderBack: "Back";
2654
+ readonly mentionFolderChildCount: "Contains {{count}} items";
2655
+ readonly mentionAgentTargetAvailable: "Available";
2656
+ readonly mentionAgentTargetUnavailable: "Unavailable";
2657
+ readonly mentionNoMatchingFiles: "No matching files";
2658
+ readonly mentionOpenReferences: "View output";
2659
+ readonly issueRunPrompt: {
2660
+ readonly currentWorkingDirectoryLabel: "Current working directory";
2661
+ readonly executionRequirementsLabel: "Execution requirements";
2662
+ readonly intro: "You are handling a task.";
2663
+ readonly issueContentLabel: "Task content";
2664
+ readonly issueTitleLabel: "Task title";
2665
+ readonly missingContent: "(No additional content)";
2666
+ readonly noReferences: "- (No references)";
2667
+ readonly referencesLabel: "References";
2668
+ readonly requirementNoOtherOutputDir: "3. Do not write final deliverables to any other directory.";
2669
+ readonly requirementStayInWorkspace: "1. Work under {{workspaceRoot}}; do not switch to unrelated directories.";
2670
+ readonly requirementSummaryOutput: "2. Unless the user specifies another location, write at least docs/tutti/task_summary_{{issueId}}.md with the result, changes, and conclusion.";
2671
+ readonly taskContentLabel: "Task content";
2672
+ readonly taskTitleLabel: "Task title";
2673
+ };
2674
+ readonly mentionCollaboratorFallback: "Collaborator";
2675
+ readonly syncPending: "Saved locally, syncing to cloud";
2676
+ readonly syncSynced: "Synced to cloud";
2677
+ readonly syncFailed: "Cloud sync failed";
2678
+ readonly directoryPicker: {
2679
+ readonly confirm: "Select folder";
2680
+ readonly emptySearch: "No matching folders";
2681
+ readonly searchPlaceholder: "Search folders";
2682
+ readonly title: "Select project folder";
2683
+ };
2684
+ readonly referencePicker: {
2685
+ readonly clearFilter: "Clear filter";
2686
+ readonly confirm: "Use references";
2687
+ readonly emptyDirectory: "This folder is empty.";
2688
+ readonly emptyPreview: "Select a file to see details";
2689
+ readonly emptySearch: "No matching files or folders.";
2690
+ readonly fileTypeAll: "All types";
2691
+ readonly fileTypeDocument: "Documents";
2692
+ readonly fileTypeImage: "Images";
2693
+ readonly fileTypeOther: "Other";
2694
+ readonly fileTypeSeparator: ", ";
2695
+ readonly fileTypeVideo: "Videos";
2696
+ readonly fileTypeWebpage: "Web pages";
2697
+ readonly loadMore: "Load more";
2698
+ readonly loadMoreGroups: "Load more";
2699
+ readonly loading: "Loading...";
2700
+ readonly loadError: "Couldn't load this content. Try again later.";
2701
+ readonly previewBinary: "This file looks like binary content.";
2702
+ readonly previewDecodeFailed: "This file couldn't be decoded as UTF-8 text.";
2703
+ readonly previewError: "Couldn't load a preview.";
2704
+ readonly previewFileTooLarge: "This file is larger than {{maxSize}}.";
2705
+ readonly previewFolder: "Folder preview is not available.";
2706
+ readonly previewHierarchy: "Location";
2707
+ readonly previewLoading: "Loading preview...";
2708
+ readonly previewModified: "Produced at";
2709
+ readonly previewSize: "Size";
2710
+ readonly previewSource: "Source";
2711
+ readonly previewTextTooLarge: "This text file is larger than {{maxSize}}.";
2712
+ readonly previewTooLarge: "This file is too large to preview.";
2713
+ readonly previewUnavailable: "Preview is not available in this workspace.";
2714
+ readonly previewUnsupported: "This file type can't be previewed here.";
2715
+ readonly searchPlaceholder: "Search files and folders";
2716
+ readonly selectGroupHint: "Select a folder on the left";
2717
+ readonly selectedCount: "{{count}} selected";
2718
+ readonly sourceColumn: "Category";
2719
+ readonly title: "Pick workspace references";
2720
+ readonly workspaceRootGroup: "Workspace";
2721
+ };
2610
2722
  readonly slashCommandCompactLabel: "compact";
2611
2723
  readonly slashCommandContextLabel: "context";
2612
2724
  readonly slashCommandFastLabel: "fast";
@@ -2711,110 +2823,6 @@ declare const agentGuiI18nResources: {
2711
2823
  readonly useTemplate: "Use template";
2712
2824
  };
2713
2825
  readonly referenceWorkspaceFiles: "Reference workspace files";
2714
- readonly referencePicker: {
2715
- readonly clearFilter: "Clear filter";
2716
- readonly confirm: "Use references";
2717
- readonly emptyDirectory: "This folder is empty.";
2718
- readonly emptyPreview: "Select a file to see details";
2719
- readonly emptySearch: "No matching files or folders.";
2720
- readonly fileTypeAll: "All types";
2721
- readonly fileTypeDocument: "Documents";
2722
- readonly fileTypeImage: "Images";
2723
- readonly fileTypeOther: "Other";
2724
- readonly fileTypeSeparator: ", ";
2725
- readonly fileTypeVideo: "Videos";
2726
- readonly fileTypeWebpage: "Web pages";
2727
- readonly loadMore: "Load more";
2728
- readonly loadMoreGroups: "Load more";
2729
- readonly loading: "Loading...";
2730
- readonly loadError: "Couldn't load this content. Try again later.";
2731
- readonly previewBinary: "This file looks like binary content.";
2732
- readonly previewDecodeFailed: "This file couldn't be decoded as UTF-8 text.";
2733
- readonly previewError: "Couldn't load a preview.";
2734
- readonly previewFileTooLarge: "This file is larger than {{maxSize}}.";
2735
- readonly previewFolder: "Folder preview is not available.";
2736
- readonly previewHierarchy: "Location";
2737
- readonly previewLoading: "Loading preview...";
2738
- readonly previewModified: "Produced at";
2739
- readonly previewSize: "Size";
2740
- readonly previewSource: "Source";
2741
- readonly previewTextTooLarge: "This text file is larger than {{maxSize}}.";
2742
- readonly previewTooLarge: "This file is too large to preview.";
2743
- readonly previewUnavailable: "Preview is not available in this workspace.";
2744
- readonly previewUnsupported: "This file type can't be previewed here.";
2745
- readonly searchPlaceholder: "Search files and folders";
2746
- readonly selectGroupHint: "Select a folder on the left";
2747
- readonly selectedCount: "{{count}} selected";
2748
- readonly sourceColumn: "Category";
2749
- readonly title: "Pick workspace references";
2750
- readonly workspaceRootGroup: "Workspace";
2751
- };
2752
- readonly projectLocked: "Project cannot be changed after the session starts";
2753
- readonly projectMissingDescription: "This conversation's working directory no longer exists";
2754
- readonly fileMentionEnterFolder: "Enter folder";
2755
- readonly fileMentionSwitchCategory: "Switch category";
2756
- readonly fileMentionNavigateHierarchy: "Enter/leave folder";
2757
- readonly fileMentionSwitchSelection: "Switch selection";
2758
- readonly mentionFilterFile: "Files";
2759
- readonly mentionFilterApp: "Apps";
2760
- readonly mentionFilterAgent: "Agents";
2761
- readonly provenanceFilterAllAgents: "All agents";
2762
- readonly provenanceFilterAllMembers: "All members";
2763
- readonly provenanceFilterAllSources: "All sources";
2764
- readonly provenanceFilterAgents: "Agents";
2765
- readonly provenanceFilterFilteredSources: "Filtered sources";
2766
- readonly provenanceFilterMembers: "Members";
2767
- readonly provenanceFilterReset: "Reset";
2768
- readonly mentionFilterSession: "Sessions";
2769
- readonly mentionFilterCollab: "Collaboration";
2770
- readonly mentionFilterIssue: "Tasks";
2771
- readonly mentionKindAgent: "Agent";
2772
- readonly mentionKindApp: "App";
2773
- readonly mentionKindAppFactory: "App Factory";
2774
- readonly mentionKindFile: "File";
2775
- readonly mentionKindIssue: "Task";
2776
- readonly mentionKindReference: "Reference";
2777
- readonly mentionKindSession: "Session";
2778
- readonly mentionGroupFiles: "Files";
2779
- readonly mentionGroupOpenedFiles: "Files I opened";
2780
- readonly mentionGroupAgentGeneratedFiles: "Recent files generated by Agent";
2781
- readonly mentionGroupApps: "Apps";
2782
- readonly mentionGroupAgents: "Agents";
2783
- readonly mentionGroupMySessions: "My sessions";
2784
- readonly mentionGroupCollabSessions: "Collaboration sessions";
2785
- readonly mentionGroupIssues: "Tasks";
2786
- readonly mentionEmptyMySessions: "No sessions yet";
2787
- readonly mentionEmptyCollabSessions: "No collaboration sessions yet";
2788
- readonly mentionEmptyApps: "No apps yet";
2789
- readonly mentionEmptyAgents: "No agents available";
2790
- readonly mentionEmptyIssues: "No tasks yet";
2791
- readonly mentionEmptyDockFiles: "No open files in the dock yet. Type to search workspace files.";
2792
- readonly mentionEmptyAgentGeneratedFiles: "No files generated by Agent yet";
2793
- readonly mentionFolderBack: "Back";
2794
- readonly mentionFolderChildCount: "Contains {{count}} items";
2795
- readonly mentionAgentTargetAvailable: "Available";
2796
- readonly mentionAgentTargetUnavailable: "Unavailable";
2797
- readonly mentionNoMatchingFiles: "No matching files";
2798
- readonly mentionOpenReferences: "View output";
2799
- readonly issueRunPrompt: {
2800
- readonly currentWorkingDirectoryLabel: "Current working directory";
2801
- readonly executionRequirementsLabel: "Execution requirements";
2802
- readonly intro: "You are handling a task.";
2803
- readonly issueContentLabel: "Task content";
2804
- readonly issueTitleLabel: "Task title";
2805
- readonly missingContent: "(No additional content)";
2806
- readonly noReferences: "- (No references)";
2807
- readonly referencesLabel: "References";
2808
- readonly requirementNoOtherOutputDir: "3. Do not write final deliverables to any other directory.";
2809
- readonly requirementStayInWorkspace: "1. Work under {{workspaceRoot}}; do not switch to unrelated directories.";
2810
- readonly requirementSummaryOutput: "2. Unless the user specifies another location, write at least docs/tutti/task_summary_{{issueId}}.md with the result, changes, and conclusion.";
2811
- readonly taskContentLabel: "Task content";
2812
- readonly taskTitleLabel: "Task title";
2813
- };
2814
- readonly mentionCollaboratorFallback: "Collaborator";
2815
- readonly syncPending: "Saved locally, syncing to cloud";
2816
- readonly syncSynced: "Synced to cloud";
2817
- readonly syncFailed: "Cloud sync failed";
2818
2826
  readonly slashCommandPalette: "Slash commands";
2819
2827
  readonly skillPickerPalette: "Skills";
2820
2828
  readonly slashPaletteCommandsGroup: "Commands";
@@ -5271,6 +5279,116 @@ declare const agentGuiI18nResources: {
5271
5279
  readonly workspaceCenterSearchAria: "打开房间搜索";
5272
5280
  readonly workspaceCenterSearchTitle: "在当前房间搜索节点、分区与便签";
5273
5281
  readonly agentGui: {
5282
+ readonly projectLocked: "会话开始后项目不可更改";
5283
+ readonly projectMissingDescription: "此对话的工作目录已不存在";
5284
+ readonly fileMentionEnterFolder: "进入文件夹";
5285
+ readonly fileMentionSwitchCategory: "切换分类";
5286
+ readonly fileMentionNavigateHierarchy: "进入/返回文件夹";
5287
+ readonly fileMentionSwitchSelection: "切换选中";
5288
+ readonly mentionFilterFile: "文件";
5289
+ readonly mentionFilterApp: "应用";
5290
+ readonly mentionFilterAgent: "智能体";
5291
+ readonly provenanceFilterAllAgents: "全部智能体";
5292
+ readonly provenanceFilterAllMembers: "全部成员";
5293
+ readonly provenanceFilterAllSources: "全部来源";
5294
+ readonly provenanceFilterAgents: "智能体";
5295
+ readonly provenanceFilterFilteredSources: "已筛选来源";
5296
+ readonly provenanceFilterMembers: "成员";
5297
+ readonly provenanceFilterReset: "重置";
5298
+ readonly mentionFilterSession: "会话";
5299
+ readonly mentionFilterCollab: "协作";
5300
+ readonly mentionFilterIssue: "任务";
5301
+ readonly mentionKindAgent: "智能体";
5302
+ readonly mentionKindApp: "应用";
5303
+ readonly mentionKindAppFactory: "应用工厂";
5304
+ readonly mentionKindFile: "文件";
5305
+ readonly mentionKindIssue: "任务";
5306
+ readonly mentionKindReference: "引用";
5307
+ readonly mentionKindSession: "会话";
5308
+ readonly mentionGroupFiles: "文件";
5309
+ readonly mentionGroupOpenedFiles: "我打开的文件";
5310
+ readonly mentionGroupAgentGeneratedFiles: "近期 Agent 生成的文件";
5311
+ readonly mentionGroupApps: "应用";
5312
+ readonly mentionGroupAgents: "智能体";
5313
+ readonly mentionGroupMySessions: "我的会话";
5314
+ readonly mentionGroupCollabSessions: "协作会话";
5315
+ readonly mentionGroupIssues: "任务";
5316
+ readonly mentionEmptyMySessions: "暂无会话";
5317
+ readonly mentionEmptyCollabSessions: "暂无协作会话";
5318
+ readonly mentionEmptyApps: "暂无应用";
5319
+ readonly mentionEmptyAgents: "暂无可用智能体";
5320
+ readonly mentionEmptyIssues: "暂无任务";
5321
+ readonly mentionEmptyDockFiles: "Dock 栏暂无已打开文件,输入关键词可搜索工作区文件";
5322
+ readonly mentionEmptyAgentGeneratedFiles: "暂无 Agent 生成的文件";
5323
+ readonly mentionFolderBack: "返回";
5324
+ readonly mentionFolderChildCount: "包含 {{count}} 个子项";
5325
+ readonly mentionAgentTargetAvailable: "可用";
5326
+ readonly mentionAgentTargetUnavailable: "不可用";
5327
+ readonly mentionNoMatchingFiles: "没有匹配到文件";
5328
+ readonly mentionOpenReferences: "查看产物";
5329
+ readonly issueRunPrompt: {
5330
+ readonly currentWorkingDirectoryLabel: "当前工作目录";
5331
+ readonly executionRequirementsLabel: "执行要求";
5332
+ readonly intro: "你正在处理一个任务。";
5333
+ readonly issueContentLabel: "任务内容";
5334
+ readonly issueTitleLabel: "任务标题";
5335
+ readonly missingContent: "(无补充内容)";
5336
+ readonly noReferences: "- (无引用资料)";
5337
+ readonly referencesLabel: "引用资料";
5338
+ readonly requirementNoOtherOutputDir: "3. 不要把最终产物写到其他目录。";
5339
+ readonly requirementStayInWorkspace: "1. 在 {{workspaceRoot}} 下工作,不要切换到其他无关目录。";
5340
+ readonly requirementSummaryOutput: "2. 如果用户没有另行指定位置,至少输出 docs/tutti/task_summary_{{issueId}}.md,说明处理结果、改动与结论。";
5341
+ readonly taskContentLabel: "任务内容";
5342
+ readonly taskTitleLabel: "任务标题";
5343
+ };
5344
+ readonly mentionCollaboratorFallback: "协作者";
5345
+ readonly syncPending: "已保存到本地,正在同步到云端";
5346
+ readonly syncSynced: "已同步到云端";
5347
+ readonly syncFailed: "云端同步失败";
5348
+ readonly directoryPicker: {
5349
+ readonly confirm: "选择目录";
5350
+ readonly emptySearch: "没有匹配的目录";
5351
+ readonly searchPlaceholder: "搜索目录";
5352
+ readonly title: "选择项目目录";
5353
+ };
5354
+ readonly referencePicker: {
5355
+ readonly clearFilter: "清除筛选";
5356
+ readonly confirm: "引用文件";
5357
+ readonly emptyDirectory: "当前目录为空";
5358
+ readonly emptyPreview: "选择一个文件查看详情";
5359
+ readonly emptySearch: "没有匹配的文件或文件夹";
5360
+ readonly fileTypeAll: "全部类型";
5361
+ readonly fileTypeDocument: "文档";
5362
+ readonly fileTypeImage: "图片";
5363
+ readonly fileTypeOther: "其他";
5364
+ readonly fileTypeSeparator: "、";
5365
+ readonly fileTypeVideo: "视频";
5366
+ readonly fileTypeWebpage: "网页";
5367
+ readonly loadMore: "加载更多";
5368
+ readonly loadMoreGroups: "拉取更多";
5369
+ readonly loading: "正在加载";
5370
+ readonly loadError: "加载内容失败,请稍后重试";
5371
+ readonly previewBinary: "这个文件更像二进制内容";
5372
+ readonly previewDecodeFailed: "暂时无法按 UTF-8 文本解码这个文件";
5373
+ readonly previewError: "加载预览失败";
5374
+ readonly previewFileTooLarge: "这个文件超过了 {{maxSize}}";
5375
+ readonly previewFolder: "暂不支持预览文件夹";
5376
+ readonly previewHierarchy: "所属层级";
5377
+ readonly previewLoading: "正在加载预览";
5378
+ readonly previewModified: "产出时间";
5379
+ readonly previewSize: "文件大小";
5380
+ readonly previewSource: "产出来源";
5381
+ readonly previewTextTooLarge: "这个文本文件超过了 {{maxSize}}";
5382
+ readonly previewTooLarge: "文件过大,无法预览";
5383
+ readonly previewUnavailable: "当前工作区无法预览文件";
5384
+ readonly previewUnsupported: "暂不支持预览这种文件类型";
5385
+ readonly searchPlaceholder: "搜索文件和文件夹";
5386
+ readonly selectGroupHint: "从左侧选择一个目录";
5387
+ readonly selectedCount: "已选择 {{count}} 项";
5388
+ readonly title: "选择工作区引用";
5389
+ readonly sourceColumn: "分类";
5390
+ readonly workspaceRootGroup: "工作区";
5391
+ };
5274
5392
  readonly slashCommandCompactLabel: "压缩";
5275
5393
  readonly slashCommandContextLabel: "上下文";
5276
5394
  readonly slashCommandFastLabel: "快速";
@@ -5375,110 +5493,6 @@ declare const agentGuiI18nResources: {
5375
5493
  readonly useTemplate: "使用模板";
5376
5494
  };
5377
5495
  readonly referenceWorkspaceFiles: "引用空间文件";
5378
- readonly referencePicker: {
5379
- readonly clearFilter: "清除筛选";
5380
- readonly confirm: "引用文件";
5381
- readonly emptyDirectory: "当前目录为空";
5382
- readonly emptyPreview: "选择一个文件查看详情";
5383
- readonly emptySearch: "没有匹配的文件或文件夹";
5384
- readonly fileTypeAll: "全部类型";
5385
- readonly fileTypeDocument: "文档";
5386
- readonly fileTypeImage: "图片";
5387
- readonly fileTypeOther: "其他";
5388
- readonly fileTypeSeparator: "、";
5389
- readonly fileTypeVideo: "视频";
5390
- readonly fileTypeWebpage: "网页";
5391
- readonly loadMore: "加载更多";
5392
- readonly loadMoreGroups: "拉取更多";
5393
- readonly loading: "正在加载";
5394
- readonly loadError: "加载内容失败,请稍后重试";
5395
- readonly previewBinary: "这个文件更像二进制内容";
5396
- readonly previewDecodeFailed: "暂时无法按 UTF-8 文本解码这个文件";
5397
- readonly previewError: "加载预览失败";
5398
- readonly previewFileTooLarge: "这个文件超过了 {{maxSize}}";
5399
- readonly previewFolder: "暂不支持预览文件夹";
5400
- readonly previewHierarchy: "所属层级";
5401
- readonly previewLoading: "正在加载预览";
5402
- readonly previewModified: "产出时间";
5403
- readonly previewSize: "文件大小";
5404
- readonly previewSource: "产出来源";
5405
- readonly previewTextTooLarge: "这个文本文件超过了 {{maxSize}}";
5406
- readonly previewTooLarge: "文件过大,无法预览";
5407
- readonly previewUnavailable: "当前工作区无法预览文件";
5408
- readonly previewUnsupported: "暂不支持预览这种文件类型";
5409
- readonly searchPlaceholder: "搜索文件和文件夹";
5410
- readonly selectGroupHint: "从左侧选择一个目录";
5411
- readonly selectedCount: "已选择 {{count}} 项";
5412
- readonly title: "选择工作区引用";
5413
- readonly sourceColumn: "分类";
5414
- readonly workspaceRootGroup: "工作区";
5415
- };
5416
- readonly projectLocked: "会话开始后项目不可更改";
5417
- readonly projectMissingDescription: "此对话的工作目录已不存在";
5418
- readonly fileMentionEnterFolder: "进入文件夹";
5419
- readonly fileMentionSwitchCategory: "切换分类";
5420
- readonly fileMentionNavigateHierarchy: "进入/返回文件夹";
5421
- readonly fileMentionSwitchSelection: "切换选中";
5422
- readonly mentionFilterFile: "文件";
5423
- readonly mentionFilterApp: "应用";
5424
- readonly mentionFilterAgent: "智能体";
5425
- readonly provenanceFilterAllAgents: "全部智能体";
5426
- readonly provenanceFilterAllMembers: "全部成员";
5427
- readonly provenanceFilterAllSources: "全部来源";
5428
- readonly provenanceFilterAgents: "智能体";
5429
- readonly provenanceFilterFilteredSources: "已筛选来源";
5430
- readonly provenanceFilterMembers: "成员";
5431
- readonly provenanceFilterReset: "重置";
5432
- readonly mentionFilterSession: "会话";
5433
- readonly mentionFilterCollab: "协作";
5434
- readonly mentionFilterIssue: "任务";
5435
- readonly mentionKindAgent: "智能体";
5436
- readonly mentionKindApp: "应用";
5437
- readonly mentionKindAppFactory: "应用工厂";
5438
- readonly mentionKindFile: "文件";
5439
- readonly mentionKindIssue: "任务";
5440
- readonly mentionKindReference: "引用";
5441
- readonly mentionKindSession: "会话";
5442
- readonly mentionGroupFiles: "文件";
5443
- readonly mentionGroupOpenedFiles: "我打开的文件";
5444
- readonly mentionGroupAgentGeneratedFiles: "近期 Agent 生成的文件";
5445
- readonly mentionGroupApps: "应用";
5446
- readonly mentionGroupAgents: "智能体";
5447
- readonly mentionGroupMySessions: "我的会话";
5448
- readonly mentionGroupCollabSessions: "协作会话";
5449
- readonly mentionGroupIssues: "任务";
5450
- readonly mentionEmptyMySessions: "暂无会话";
5451
- readonly mentionEmptyCollabSessions: "暂无协作会话";
5452
- readonly mentionEmptyApps: "暂无应用";
5453
- readonly mentionEmptyAgents: "暂无可用智能体";
5454
- readonly mentionEmptyIssues: "暂无任务";
5455
- readonly mentionEmptyDockFiles: "Dock 栏暂无已打开文件,输入关键词可搜索工作区文件";
5456
- readonly mentionEmptyAgentGeneratedFiles: "暂无 Agent 生成的文件";
5457
- readonly mentionFolderBack: "返回";
5458
- readonly mentionFolderChildCount: "包含 {{count}} 个子项";
5459
- readonly mentionAgentTargetAvailable: "可用";
5460
- readonly mentionAgentTargetUnavailable: "不可用";
5461
- readonly mentionNoMatchingFiles: "没有匹配到文件";
5462
- readonly mentionOpenReferences: "查看产物";
5463
- readonly issueRunPrompt: {
5464
- readonly currentWorkingDirectoryLabel: "当前工作目录";
5465
- readonly executionRequirementsLabel: "执行要求";
5466
- readonly intro: "你正在处理一个任务。";
5467
- readonly issueContentLabel: "任务内容";
5468
- readonly issueTitleLabel: "任务标题";
5469
- readonly missingContent: "(无补充内容)";
5470
- readonly noReferences: "- (无引用资料)";
5471
- readonly referencesLabel: "引用资料";
5472
- readonly requirementNoOtherOutputDir: "3. 不要把最终产物写到其他目录。";
5473
- readonly requirementStayInWorkspace: "1. 在 {{workspaceRoot}} 下工作,不要切换到其他无关目录。";
5474
- readonly requirementSummaryOutput: "2. 如果用户没有另行指定位置,至少输出 docs/tutti/task_summary_{{issueId}}.md,说明处理结果、改动与结论。";
5475
- readonly taskContentLabel: "任务内容";
5476
- readonly taskTitleLabel: "任务标题";
5477
- };
5478
- readonly mentionCollaboratorFallback: "协作者";
5479
- readonly syncPending: "已保存到本地,正在同步到云端";
5480
- readonly syncSynced: "已同步到云端";
5481
- readonly syncFailed: "云端同步失败";
5482
5496
  readonly slashCommandPalette: "斜杠菜单";
5483
5497
  readonly skillPickerPalette: "技能";
5484
5498
  readonly slashPaletteCommandsGroup: "命令";
@@ -8106,6 +8120,7 @@ interface AgentGUINodeWorkspace {
8106
8120
  resolveExternalPromptEntries?: AgentComposerProps["resolveExternalPromptEntries"];
8107
8121
  prepareExternalPromptFiles?: AgentComposerProps["prepareExternalPromptFiles"];
8108
8122
  promptAssetLimit?: number | null;
8123
+ projectDirectorySourceAggregator?: ReferenceSourceAggregator | null;
8109
8124
  referenceSourceAggregator?: ReferenceSourceAggregator | null;
8110
8125
  resolveReferenceEntryIconUrl?: (entry: WorkspaceFileEntry) => Promise<string | null | undefined>;
8111
8126
  resolveMentionReferenceTarget?: AgentMentionReferenceTargetResolver | null;
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  localAgentGUIAgentTargetId,
9
9
  normalizeAgentGUIAgentTargets,
10
10
  resolveAgentGUIAgentTarget
11
- } from "./chunk-UMJIM225.js";
11
+ } from "./chunk-MVVZPLI6.js";
12
12
  import "./chunk-A4WCTHWS.js";
13
13
  import {
14
14
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
@@ -16,18 +16,18 @@ import {
16
16
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
17
17
  resolveAgentGUIExpandedWindowFrame,
18
18
  shouldAutoCollapseAgentGUIConversationRail
19
- } from "./chunk-YRAKPTXS.js";
19
+ } from "./chunk-2DGFRQEP.js";
20
20
  import "./chunk-6II57C72.js";
21
21
  import "./chunk-YSA4MXR5.js";
22
22
  import "./chunk-MHOYBRCY.js";
23
23
  import "./chunk-SZVHT57M.js";
24
- import "./chunk-YGBZKQ2S.js";
25
- import "./chunk-ABUBJDTO.js";
26
- import "./chunk-CBQMF744.js";
24
+ import "./chunk-HGMOBQKA.js";
25
+ import "./chunk-QHSWRS4L.js";
26
+ import "./chunk-C4Z4JLOJ.js";
27
27
  import "./chunk-THBCAUBR.js";
28
28
  import "./chunk-UP3ZDYTN.js";
29
29
  import "./chunk-GUFEHWUX.js";
30
- import "./chunk-PAVNEKRU.js";
30
+ import "./chunk-7ED6E444.js";
31
31
  import {
32
32
  agentGUIAgentIsReady,
33
33
  normalizeAgentGUIAgents,
@@ -40,14 +40,14 @@ import {
40
40
  } from "./chunk-PQPNDL4A.js";
41
41
  import {
42
42
  preloadAgentMentionBrowse
43
- } from "./chunk-3PSYZ53C.js";
43
+ } from "./chunk-MOC5TDZU.js";
44
44
  import "./chunk-VMPA46ET.js";
45
45
  import "./chunk-XJ34OIEQ.js";
46
46
  import "./chunk-JDVP33S5.js";
47
47
  import {
48
48
  createAgentSessionHandoffPrompt,
49
49
  createAgentSessionMarkdownLink
50
- } from "./chunk-J4QLQETO.js";
50
+ } from "./chunk-ZJWX36UL.js";
51
51
  import "./chunk-5QPOMKMQ.js";
52
52
  import {
53
53
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
@@ -59,13 +59,13 @@ import {
59
59
  import {
60
60
  dispatchAgentPlanPromptAction,
61
61
  selectAgentPlanPromptTurn
62
- } from "./chunk-55UKPTLG.js";
62
+ } from "./chunk-GUGOTL55.js";
63
63
  import {
64
64
  useEngineSelector
65
65
  } from "./chunk-2RQM7PJN.js";
66
- import "./chunk-YUJY75WA.js";
66
+ import "./chunk-52ANPJET.js";
67
67
  import "./chunk-ZVYUTXQJ.js";
68
- import "./chunk-GTSKTVVB.js";
68
+ import "./chunk-DSOWEIVN.js";
69
69
  import "./chunk-YMXYBG7U.js";
70
70
  import {
71
71
  AgentActivityHostProvider,
@@ -75,17 +75,17 @@ import {
75
75
  useAgentActivityRuntime,
76
76
  useAgentActivitySnapshot,
77
77
  useOptionalAgentActivityRuntime
78
- } from "./chunk-VVB5N5ON.js";
78
+ } from "./chunk-W5U7PGMH.js";
79
79
  import "./chunk-F5UR6EJG.js";
80
80
  import "./chunk-ZWLWT3TZ.js";
81
81
  import {
82
82
  AgentGuiI18nProvider,
83
83
  agentGuiI18nModule,
84
84
  agentGuiI18nResources
85
- } from "./chunk-EITAGUEN.js";
85
+ } from "./chunk-DFQMEPM7.js";
86
86
  import "./chunk-PJP5BUU6.js";
87
87
  import "./chunk-AODSTIED.js";
88
- import "./chunk-DB3PHOZC.js";
88
+ import "./chunk-ILSYNGFJ.js";
89
89
  import "./chunk-MIJXEELH.js";
90
90
  import {
91
91
  getAgentCustomMentionKind,
@@ -3,22 +3,22 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-3PSYZ53C.js";
6
+ } from "./chunk-MOC5TDZU.js";
7
7
  import "./chunk-VMPA46ET.js";
8
8
  import "./chunk-XJ34OIEQ.js";
9
9
  import "./chunk-JDVP33S5.js";
10
- import "./chunk-J4QLQETO.js";
10
+ import "./chunk-ZJWX36UL.js";
11
11
  import "./chunk-5QPOMKMQ.js";
12
12
  import "./chunk-RMQREVJY.js";
13
13
  import "./chunk-FGLQZ6I4.js";
14
14
  import "./chunk-YMXYBG7U.js";
15
- import "./chunk-VVB5N5ON.js";
15
+ import "./chunk-W5U7PGMH.js";
16
16
  import "./chunk-F5UR6EJG.js";
17
17
  import "./chunk-ZWLWT3TZ.js";
18
- import "./chunk-EITAGUEN.js";
18
+ import "./chunk-DFQMEPM7.js";
19
19
  import "./chunk-PJP5BUU6.js";
20
20
  import "./chunk-AODSTIED.js";
21
- import "./chunk-DB3PHOZC.js";
21
+ import "./chunk-ILSYNGFJ.js";
22
22
  import "./chunk-MIJXEELH.js";
23
23
  import "./chunk-D2JUDUYY.js";
24
24
  import "./chunk-LCFMJPNA.js";
@@ -18,17 +18,17 @@ import {
18
18
  resolveAgentGuiUnifiedDockLaunchPayload,
19
19
  resolveAgentGuiWorkbenchContributionCopy,
20
20
  resolveAgentGuiWorkbenchDefaultLaunchFrame
21
- } from "../chunk-YRAKPTXS.js";
21
+ } from "../chunk-2DGFRQEP.js";
22
22
  import "../chunk-6II57C72.js";
23
23
  import "../chunk-YSA4MXR5.js";
24
24
  import "../chunk-MHOYBRCY.js";
25
25
  import "../chunk-SZVHT57M.js";
26
- import "../chunk-YGBZKQ2S.js";
26
+ import "../chunk-HGMOBQKA.js";
27
27
  import "../chunk-66JZ7BQM.js";
28
28
  import "../chunk-PQPNDL4A.js";
29
29
  import "../chunk-2RQM7PJN.js";
30
30
  import "../chunk-AODSTIED.js";
31
- import "../chunk-DB3PHOZC.js";
31
+ import "../chunk-ILSYNGFJ.js";
32
32
  import "../chunk-MIJXEELH.js";
33
33
  import "../chunk-LCFMJPNA.js";
34
34
  import "../chunk-5CLSJWUN.js";
@@ -14,7 +14,7 @@ import {
14
14
  resolveAgentGuiUnifiedDockLaunchPayload,
15
15
  resolveAgentGuiWorkbenchContributionCopy,
16
16
  resolveAgentGuiWorkbenchConversationIdentity
17
- } from "../chunk-YRAKPTXS.js";
17
+ } from "../chunk-2DGFRQEP.js";
18
18
  import {
19
19
  areAgentGuiWorkbenchNodeStatesEqual,
20
20
  areAgentGuiWorkbenchStatesEqual,
@@ -56,12 +56,12 @@ import {
56
56
  import {
57
57
  resolveAgentGuiWorkbenchHeaderTitle,
58
58
  resolveAgentGuiWorkbenchSessionTitle
59
- } from "../chunk-YGBZKQ2S.js";
59
+ } from "../chunk-HGMOBQKA.js";
60
60
  import "../chunk-66JZ7BQM.js";
61
61
  import "../chunk-PQPNDL4A.js";
62
62
  import "../chunk-2RQM7PJN.js";
63
63
  import "../chunk-AODSTIED.js";
64
- import "../chunk-DB3PHOZC.js";
64
+ import "../chunk-ILSYNGFJ.js";
65
65
  import "../chunk-MIJXEELH.js";
66
66
  import "../chunk-LCFMJPNA.js";
67
67
  import "../chunk-5CLSJWUN.js";