@tutti-os/agent-gui 0.0.32 → 0.0.34

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 (47) hide show
  1. package/README.md +5 -0
  2. package/dist/{AgentMessageMarkdown-Cp70W-Z2.d.ts → AgentMessageMarkdown-CU6gRvTm.d.ts} +53 -2
  3. package/dist/agent-conversation/index.d.ts +4 -4
  4. package/dist/agent-conversation/index.js +5 -5
  5. package/dist/agent-message-center/index.d.ts +2 -2
  6. package/dist/agent-message-center/index.js +29 -8
  7. package/dist/agent-message-center/index.js.map +1 -1
  8. package/dist/{agentConversationVM-BElW2LNR.d.ts → agentConversationVM-xuzmD5IL.d.ts} +2 -0
  9. package/dist/app/renderer/agentactivity.css +53 -76
  10. package/dist/{chunk-SGQ4C7JE.js → chunk-2ADVHCST.js} +2 -1
  11. package/dist/chunk-2ADVHCST.js.map +1 -0
  12. package/dist/{chunk-MFWZKYZ4.js → chunk-I5GHWK6X.js} +7 -11
  13. package/dist/chunk-I5GHWK6X.js.map +1 -0
  14. package/dist/{chunk-ZWYHKGQ7.js → chunk-NCS7X3XY.js} +11 -9
  15. package/dist/{chunk-ZWYHKGQ7.js.map → chunk-NCS7X3XY.js.map} +1 -1
  16. package/dist/{chunk-FG66NW5M.js → chunk-PVEFWBH6.js} +15 -2
  17. package/dist/chunk-PVEFWBH6.js.map +1 -0
  18. package/dist/{chunk-WPWZKKKV.js → chunk-RUO6SDNC.js} +2 -2
  19. package/dist/{chunk-OOQIJXCA.js → chunk-SV4UKLJO.js} +3 -2
  20. package/dist/{chunk-RDCBACWR.js → chunk-TCKH7GZ6.js} +5 -5
  21. package/dist/{chunk-RQ3HEF42.js → chunk-TQFYX7KY.js} +36 -6
  22. package/dist/chunk-TQFYX7KY.js.map +1 -0
  23. package/dist/{chunk-AFTAFV2C.js → chunk-XPVYQUFK.js} +78 -12
  24. package/dist/chunk-XPVYQUFK.js.map +1 -0
  25. package/dist/{chunk-J2DMJREM.js → chunk-ZR2LZVN6.js} +229 -21
  26. package/dist/chunk-ZR2LZVN6.js.map +1 -0
  27. package/dist/context-mention-palette/index.js +6 -6
  28. package/dist/i18n/index.d.ts +34 -4
  29. package/dist/i18n/index.js +1 -1
  30. package/dist/index.d.ts +5 -4
  31. package/dist/index.js +892 -199
  32. package/dist/index.js.map +1 -1
  33. package/dist/plan-decision-ops.d.ts +1 -1
  34. package/dist/workbench/contribution.js +1 -1
  35. package/dist/workbench/index.js +1 -1
  36. package/dist/workspace-agent-generated-files.js +2 -2
  37. package/dist/{workspaceLinkActions-CqWZaCY4.d.ts → workspaceLinkActions-C6POH38D.d.ts} +7 -1
  38. package/package.json +12 -12
  39. package/dist/chunk-AFTAFV2C.js.map +0 -1
  40. package/dist/chunk-FG66NW5M.js.map +0 -1
  41. package/dist/chunk-J2DMJREM.js.map +0 -1
  42. package/dist/chunk-MFWZKYZ4.js.map +0 -1
  43. package/dist/chunk-RQ3HEF42.js.map +0 -1
  44. package/dist/chunk-SGQ4C7JE.js.map +0 -1
  45. /package/dist/{chunk-WPWZKKKV.js.map → chunk-RUO6SDNC.js.map} +0 -0
  46. /package/dist/{chunk-OOQIJXCA.js.map → chunk-SV4UKLJO.js.map} +0 -0
  47. /package/dist/{chunk-RDCBACWR.js.map → chunk-TCKH7GZ6.js.map} +0 -0
@@ -4,20 +4,20 @@ import {
4
4
  AgentMentionSearchController,
5
5
  flattenAgentMentionPaletteEntries,
6
6
  groupStartKeys
7
- } from "../chunk-MFWZKYZ4.js";
8
- import "../chunk-OOQIJXCA.js";
9
- import "../chunk-WPWZKKKV.js";
7
+ } from "../chunk-I5GHWK6X.js";
8
+ import "../chunk-SV4UKLJO.js";
9
+ import "../chunk-RUO6SDNC.js";
10
10
  import "../chunk-MTFSQWZ6.js";
11
11
  import "../chunk-IBIMGLCD.js";
12
- import "../chunk-FG66NW5M.js";
12
+ import "../chunk-PVEFWBH6.js";
13
13
  import "../chunk-Y35GDLP2.js";
14
- import "../chunk-SGQ4C7JE.js";
14
+ import "../chunk-2ADVHCST.js";
15
15
  import "../chunk-TYGL25EL.js";
16
16
  import {
17
17
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
18
18
  } from "../chunk-JM24HADP.js";
19
19
  import "../chunk-GCBDIQDX.js";
20
- import "../chunk-RQ3HEF42.js";
20
+ import "../chunk-TQFYX7KY.js";
21
21
  import "../chunk-LUGELG5V.js";
22
22
  import "../chunk-PJP5BUU6.js";
23
23
  export {
@@ -325,6 +325,7 @@ declare const agentGuiI18nResources: {
325
325
  readonly initialPlaceholder: "Type @ to reference sessions, files, tasks, and apps";
326
326
  readonly followupPlaceholder: "Request follow-up changes from {{provider}}";
327
327
  readonly installRequiredPlaceholder: "Install {{provider}} from the dock to send messages";
328
+ readonly installRequiredAction: "Set up";
328
329
  readonly collaboratorSessionReadOnlyPlaceholder: "This session belongs to another user and cannot be replied to directly";
329
330
  readonly send: "Send";
330
331
  readonly modelLabel: "Model";
@@ -540,6 +541,7 @@ declare const agentGuiI18nResources: {
540
541
  readonly empty: "What can {{provider}} help you with?";
541
542
  readonly conversations: "Sessions";
542
543
  readonly newConversation: "New session";
544
+ readonly agentEnvSetup: "Environment check";
543
545
  readonly noConversations: "No sessions yet";
544
546
  readonly emptyProjectConversations: "No chats yet";
545
547
  readonly batchRunnerStandaloneTitle: "Agent GUI batch runner";
@@ -656,6 +658,7 @@ declare const agentGuiI18nResources: {
656
658
  readonly authRequired: "Authentication required";
657
659
  readonly authLogin: "Sign in";
658
660
  readonly activatingSession: "Connecting session...";
661
+ readonly cancellingSession: "Cancelling...";
659
662
  readonly retryActivation: "Retry";
660
663
  readonly continueInNewConversation: "New session";
661
664
  readonly goalLabel: "Goal";
@@ -677,6 +680,18 @@ declare const agentGuiI18nResources: {
677
680
  readonly visibleErrorRuntimeUnavailable: "{{provider}} could not start because the runtime is unavailable";
678
681
  readonly visibleErrorQuotaOrRateLimit: "{{provider}} request failed because a quota or rate limit was reached";
679
682
  readonly visibleErrorDetails: "View details";
683
+ readonly visibleErrorRawDetails: "Raw error";
684
+ readonly visibleErrorCliNotFound: "{{provider}} CLI wasn't found, so it couldn't run. Set it up to continue.";
685
+ readonly visibleErrorVersionUnsupported: "{{provider}}'s installed version is unsupported for this request. Upgrade to continue.";
686
+ readonly visibleErrorNetwork: "{{provider}} couldn't reach the network to complete this request.";
687
+ readonly visibleErrorConfigTimeout: "{{provider}} couldn't apply session settings before the request timed out. Try again in a moment.";
688
+ readonly visibleErrorStreamDisconnected: "{{provider}}'s response was interrupted before it completed. Try again in a moment.";
689
+ readonly visibleErrorConcurrencyLimit: "{{provider}} is handling too many requests right now. Try again after another task finishes.";
690
+ readonly visibleErrorActionInstall: "Set up";
691
+ readonly visibleErrorActionUpgrade: "Upgrade";
692
+ readonly visibleErrorActionRelogin: "Sign in";
693
+ readonly visibleErrorActionCheckNetwork: "Check network";
694
+ readonly visibleErrorActionDetect: "Open setup";
680
695
  readonly systemNoticeTransportRetry: "Codex connection interrupted. Reconnecting...";
681
696
  readonly systemNoticeTransportFallback: "Codex switched to HTTPS transport";
682
697
  readonly systemNoticeWarning: "Codex warning";
@@ -847,7 +862,7 @@ declare const agentGuiI18nResources: {
847
862
  readonly referencesLabel: "References";
848
863
  readonly requirementNoOtherOutputDir: "3. Do not write final deliverables to any other directory.";
849
864
  readonly requirementStayInWorkspace: "1. Work under {{workspaceRoot}}; do not switch to unrelated directories.";
850
- readonly requirementSummaryOutput: "2. Unless the user specifies another location, write at least docs/tutti/issue_summary_{{issueId}}.md with the result, changes, and conclusion.";
865
+ readonly requirementSummaryOutput: "2. Unless the user specifies another location, write at least docs/tutti/task_summary_{{issueId}}.md with the result, changes, and conclusion.";
851
866
  readonly taskContentLabel: "Task content";
852
867
  readonly taskTitleLabel: "Task title";
853
868
  };
@@ -1555,7 +1570,7 @@ declare const agentGuiI18nResources: {
1555
1570
  readonly taskCompletedCount: "{{count}} completed";
1556
1571
  readonly issueStatusNotStarted: "To run";
1557
1572
  readonly issueStatusRunning: "Running";
1558
- readonly issueStatusInProgress: "Progress started";
1573
+ readonly issueStatusInProgress: "Running";
1559
1574
  readonly issueStatusPendingAcceptance: "Pending acceptance";
1560
1575
  readonly issueStatusCompleted: "Completed";
1561
1576
  readonly issueStatusFailed: "Failed";
@@ -2702,6 +2717,7 @@ declare const agentGuiI18nResources: {
2702
2717
  readonly initialPlaceholder: "输入 @ 引用会话、文件、任务和应用";
2703
2718
  readonly followupPlaceholder: "要求 {{provider}} 继续后续变更";
2704
2719
  readonly installRequiredPlaceholder: "请先从 Dock 安装 {{provider}},然后再发送消息";
2720
+ readonly installRequiredAction: "设置";
2705
2721
  readonly collaboratorSessionReadOnlyPlaceholder: "非当前用户会话,不可直接对话";
2706
2722
  readonly send: "发送";
2707
2723
  readonly modelLabel: "模型";
@@ -2917,6 +2933,7 @@ declare const agentGuiI18nResources: {
2917
2933
  readonly empty: "需要 {{provider}} 帮你做些什么?";
2918
2934
  readonly conversations: "会话";
2919
2935
  readonly newConversation: "新建会话";
2936
+ readonly agentEnvSetup: "环境检测";
2920
2937
  readonly noConversations: "还没有会话";
2921
2938
  readonly emptyProjectConversations: "暂无对话";
2922
2939
  readonly batchRunnerStandaloneTitle: "Agent GUI 批量执行面板";
@@ -3033,6 +3050,7 @@ declare const agentGuiI18nResources: {
3033
3050
  readonly authRequired: "需要认证";
3034
3051
  readonly authLogin: "登录";
3035
3052
  readonly activatingSession: "正在连接会话...";
3053
+ readonly cancellingSession: "正在取消中...";
3036
3054
  readonly retryActivation: "重试";
3037
3055
  readonly continueInNewConversation: "去新会话";
3038
3056
  readonly goalLabel: "目标";
@@ -3054,6 +3072,18 @@ declare const agentGuiI18nResources: {
3054
3072
  readonly visibleErrorRuntimeUnavailable: "{{provider}} 因运行环境不可用而无法启动";
3055
3073
  readonly visibleErrorQuotaOrRateLimit: "{{provider}} 请求失败:额度或频率限制已触发";
3056
3074
  readonly visibleErrorDetails: "查看详情";
3075
+ readonly visibleErrorRawDetails: "原始错误";
3076
+ readonly visibleErrorCliNotFound: "未检测到 {{provider}} CLI,无法运行。请先完成安装。";
3077
+ readonly visibleErrorVersionUnsupported: "当前 {{provider}} 版本过旧,不支持此请求。请先升级。";
3078
+ readonly visibleErrorNetwork: "{{provider}} 无法连接网络以完成此请求。";
3079
+ readonly visibleErrorConfigTimeout: "{{provider}} 在请求超时前未能应用会话设置。请稍后重试。";
3080
+ readonly visibleErrorStreamDisconnected: "{{provider}} 的响应在完成前被中断。请稍后重试。";
3081
+ readonly visibleErrorConcurrencyLimit: "{{provider}} 当前处理的请求过多。请在其他任务完成后再试。";
3082
+ readonly visibleErrorActionInstall: "去安装";
3083
+ readonly visibleErrorActionUpgrade: "去升级";
3084
+ readonly visibleErrorActionRelogin: "登录";
3085
+ readonly visibleErrorActionCheckNetwork: "检测网络";
3086
+ readonly visibleErrorActionDetect: "打开检测";
3057
3087
  readonly systemNoticeTransportRetry: "Codex 连接中断,正在重连";
3058
3088
  readonly systemNoticeTransportFallback: "Codex 已切换到 HTTPS 传输";
3059
3089
  readonly systemNoticeWarning: "Codex 警告";
@@ -3224,7 +3254,7 @@ declare const agentGuiI18nResources: {
3224
3254
  readonly referencesLabel: "引用资料";
3225
3255
  readonly requirementNoOtherOutputDir: "3. 不要把最终产物写到其他目录。";
3226
3256
  readonly requirementStayInWorkspace: "1. 在 {{workspaceRoot}} 下工作,不要切换到其他无关目录。";
3227
- readonly requirementSummaryOutput: "2. 如果用户没有另行指定位置,至少输出 docs/tutti/issue_summary_{{issueId}}.md,说明处理结果、改动与结论。";
3257
+ readonly requirementSummaryOutput: "2. 如果用户没有另行指定位置,至少输出 docs/tutti/task_summary_{{issueId}}.md,说明处理结果、改动与结论。";
3228
3258
  readonly taskContentLabel: "任务内容";
3229
3259
  readonly taskTitleLabel: "任务标题";
3230
3260
  };
@@ -3932,7 +3962,7 @@ declare const agentGuiI18nResources: {
3932
3962
  readonly taskCompletedCount: "{{count}} 个已完成";
3933
3963
  readonly issueStatusNotStarted: "未启动";
3934
3964
  readonly issueStatusRunning: "执行中";
3935
- readonly issueStatusInProgress: "已推进";
3965
+ readonly issueStatusInProgress: "执行中";
3936
3966
  readonly issueStatusPendingAcceptance: "待验收";
3937
3967
  readonly issueStatusCompleted: "已完成";
3938
3968
  readonly issueStatusFailed: "失败";
@@ -6,7 +6,7 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-RQ3HEF42.js";
9
+ } from "../chunk-TQFYX7KY.js";
10
10
  export {
11
11
  AgentGuiI18nProvider,
12
12
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -4,18 +4,18 @@ 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, P as Point, N as NodeFrame, l as AgentMessageMarkdownWorkspaceAppIcon, g as AgentHostInputApi } from './AgentMessageMarkdown-Cp70W-Z2.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 } from './AgentMessageMarkdown-Cp70W-Z2.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-CU6gRvTm.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-CU6gRvTm.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
- import { W as WorkspaceLinkAction } from './workspaceLinkActions-CqWZaCY4.js';
11
+ import { W as WorkspaceLinkAction } from './workspaceLinkActions-C6POH38D.js';
12
12
  import { A as AgentContextMentionItem } from './AgentMentionSearchController-D5ks45fN.js';
13
13
  export { p as preloadAgentMentionBrowse } from './AgentMentionSearchController-D5ks45fN.js';
14
14
  import { AgentContextMentionProvider } from './context-mention-provider.js';
15
15
  export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AgentContextMentionProviderId } from './context-mention-provider.js';
16
16
  import { AgentGuiI18nLocale } from './i18n/index.js';
17
17
  export { AgentGuiI18nProvider, agentGuiI18nModule, agentGuiI18nResources } from './i18n/index.js';
18
- import './agentConversationVM-BElW2LNR.js';
18
+ import './agentConversationVM-xuzmD5IL.js';
19
19
  import '@tutti-os/workspace-user-project/contracts';
20
20
  import '@tutti-os/workspace-issue-manager/core';
21
21
  import '@tutti-os/ui-rich-text/at-panel';
@@ -44,6 +44,7 @@ declare function projectCoreSessionStatus(status: string): string;
44
44
  interface AgentActivityRuntimeListSessionMessagesInput {
45
45
  afterVersion?: number;
46
46
  beforeVersion?: number;
47
+ cache?: boolean;
47
48
  agentSessionId: string;
48
49
  limit?: number;
49
50
  order?: AgentActivityMessageOrder;