@tutti-os/agent-gui 0.0.33 → 0.0.35
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.
- package/README.md +5 -0
- package/dist/{AgentMessageMarkdown-Cp70W-Z2.d.ts → AgentMessageMarkdown-0sV8Biv3.d.ts} +53 -5
- package/dist/agent-conversation/index.d.ts +4 -4
- package/dist/agent-conversation/index.js +5 -5
- package/dist/agent-message-center/index.d.ts +2 -2
- package/dist/agent-message-center/index.js +29 -8
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentConversationVM-BElW2LNR.d.ts → agentConversationVM-xuzmD5IL.d.ts} +2 -0
- package/dist/app/renderer/agentactivity.css +54 -128
- package/dist/{chunk-SGQ4C7JE.js → chunk-2ADVHCST.js} +2 -1
- package/dist/chunk-2ADVHCST.js.map +1 -0
- package/dist/{chunk-WPWZKKKV.js → chunk-3LEUGNCT.js} +2 -2
- package/dist/{chunk-AFTAFV2C.js → chunk-CMXRLF64.js} +85 -13
- package/dist/chunk-CMXRLF64.js.map +1 -0
- package/dist/{chunk-RDCBACWR.js → chunk-JYH2ITNL.js} +5 -5
- package/dist/{chunk-RQ3HEF42.js → chunk-KFMD33UD.js} +36 -12
- package/dist/chunk-KFMD33UD.js.map +1 -0
- package/dist/{chunk-ZWYHKGQ7.js → chunk-NCS7X3XY.js} +11 -9
- package/dist/{chunk-ZWYHKGQ7.js.map → chunk-NCS7X3XY.js.map} +1 -1
- package/dist/{chunk-GSZPMKFW.js → chunk-O56P2KSZ.js} +237 -26
- package/dist/chunk-O56P2KSZ.js.map +1 -0
- package/dist/{chunk-ERRANBGS.js → chunk-U3D7YI47.js} +7 -11
- package/dist/chunk-U3D7YI47.js.map +1 -0
- package/dist/{chunk-OOQIJXCA.js → chunk-UN4XGHLQ.js} +3 -2
- package/dist/{chunk-A4KUAXE5.js → chunk-VPC55T7P.js} +2 -2
- package/dist/context-mention-palette/index.js +6 -6
- package/dist/i18n/index.d.ts +34 -10
- package/dist/i18n/index.js +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1012 -477
- package/dist/index.js.map +1 -1
- package/dist/plan-decision-ops.d.ts +1 -1
- package/dist/workbench/contribution.js +1 -1
- package/dist/workbench/index.js +1 -1
- package/dist/workspace-agent-generated-files.js +2 -2
- package/dist/{workspaceLinkActions-CqWZaCY4.d.ts → workspaceLinkActions-C6POH38D.d.ts} +7 -1
- package/package.json +12 -12
- package/dist/chunk-AFTAFV2C.js.map +0 -1
- package/dist/chunk-ERRANBGS.js.map +0 -1
- package/dist/chunk-GSZPMKFW.js.map +0 -1
- package/dist/chunk-RQ3HEF42.js.map +0 -1
- package/dist/chunk-SGQ4C7JE.js.map +0 -1
- /package/dist/{chunk-WPWZKKKV.js.map → chunk-3LEUGNCT.js.map} +0 -0
- /package/dist/{chunk-RDCBACWR.js.map → chunk-JYH2ITNL.js.map} +0 -0
- /package/dist/{chunk-OOQIJXCA.js.map → chunk-UN4XGHLQ.js.map} +0 -0
- /package/dist/{chunk-A4KUAXE5.js.map → chunk-VPC55T7P.js.map} +0 -0
package/dist/i18n/index.d.ts
CHANGED
|
@@ -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";
|
|
@@ -477,9 +478,6 @@ declare const agentGuiI18nResources: {
|
|
|
477
478
|
readonly usageTokensLabel: "Tokens";
|
|
478
479
|
readonly usageLimitsLabel: "Limits";
|
|
479
480
|
readonly usageCompactAction: "Compact";
|
|
480
|
-
readonly usageAlertWarnMessage: "Context is {{percent}}% full. Consider compacting the conversation.";
|
|
481
|
-
readonly usageAlertCriticalMessage: "Context is {{percent}}% full. Compact now to keep the session going.";
|
|
482
|
-
readonly usageAlertDismiss: "Dismiss";
|
|
483
481
|
readonly planCardTitle: "Plan";
|
|
484
482
|
readonly planCardCopy: "Copy plan";
|
|
485
483
|
readonly planCardExpand: "Expand plan";
|
|
@@ -540,6 +538,7 @@ declare const agentGuiI18nResources: {
|
|
|
540
538
|
readonly empty: "What can {{provider}} help you with?";
|
|
541
539
|
readonly conversations: "Sessions";
|
|
542
540
|
readonly newConversation: "New session";
|
|
541
|
+
readonly agentEnvSetup: "Environment check";
|
|
543
542
|
readonly noConversations: "No sessions yet";
|
|
544
543
|
readonly emptyProjectConversations: "No chats yet";
|
|
545
544
|
readonly batchRunnerStandaloneTitle: "Agent GUI batch runner";
|
|
@@ -656,6 +655,7 @@ declare const agentGuiI18nResources: {
|
|
|
656
655
|
readonly authRequired: "Authentication required";
|
|
657
656
|
readonly authLogin: "Sign in";
|
|
658
657
|
readonly activatingSession: "Connecting session...";
|
|
658
|
+
readonly cancellingSession: "Cancelling...";
|
|
659
659
|
readonly retryActivation: "Retry";
|
|
660
660
|
readonly continueInNewConversation: "New session";
|
|
661
661
|
readonly goalLabel: "Goal";
|
|
@@ -677,6 +677,18 @@ declare const agentGuiI18nResources: {
|
|
|
677
677
|
readonly visibleErrorRuntimeUnavailable: "{{provider}} could not start because the runtime is unavailable";
|
|
678
678
|
readonly visibleErrorQuotaOrRateLimit: "{{provider}} request failed because a quota or rate limit was reached";
|
|
679
679
|
readonly visibleErrorDetails: "View details";
|
|
680
|
+
readonly visibleErrorRawDetails: "Raw error";
|
|
681
|
+
readonly visibleErrorCliNotFound: "{{provider}} CLI wasn't found, so it couldn't run. Set it up to continue.";
|
|
682
|
+
readonly visibleErrorVersionUnsupported: "{{provider}}'s installed version is unsupported for this request. Upgrade to continue.";
|
|
683
|
+
readonly visibleErrorNetwork: "{{provider}} couldn't reach the network to complete this request.";
|
|
684
|
+
readonly visibleErrorConfigTimeout: "{{provider}} couldn't apply session settings before the request timed out. Try again in a moment.";
|
|
685
|
+
readonly visibleErrorStreamDisconnected: "{{provider}}'s response was interrupted before it completed. Try again in a moment.";
|
|
686
|
+
readonly visibleErrorConcurrencyLimit: "{{provider}} is handling too many requests right now. Try again after another task finishes.";
|
|
687
|
+
readonly visibleErrorActionInstall: "Set up";
|
|
688
|
+
readonly visibleErrorActionUpgrade: "Upgrade";
|
|
689
|
+
readonly visibleErrorActionRelogin: "Sign in";
|
|
690
|
+
readonly visibleErrorActionCheckNetwork: "Check network";
|
|
691
|
+
readonly visibleErrorActionDetect: "Open setup";
|
|
680
692
|
readonly systemNoticeTransportRetry: "Codex connection interrupted. Reconnecting...";
|
|
681
693
|
readonly systemNoticeTransportFallback: "Codex switched to HTTPS transport";
|
|
682
694
|
readonly systemNoticeWarning: "Codex warning";
|
|
@@ -847,7 +859,7 @@ declare const agentGuiI18nResources: {
|
|
|
847
859
|
readonly referencesLabel: "References";
|
|
848
860
|
readonly requirementNoOtherOutputDir: "3. Do not write final deliverables to any other directory.";
|
|
849
861
|
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/
|
|
862
|
+
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
863
|
readonly taskContentLabel: "Task content";
|
|
852
864
|
readonly taskTitleLabel: "Task title";
|
|
853
865
|
};
|
|
@@ -1555,7 +1567,7 @@ declare const agentGuiI18nResources: {
|
|
|
1555
1567
|
readonly taskCompletedCount: "{{count}} completed";
|
|
1556
1568
|
readonly issueStatusNotStarted: "To run";
|
|
1557
1569
|
readonly issueStatusRunning: "Running";
|
|
1558
|
-
readonly issueStatusInProgress: "
|
|
1570
|
+
readonly issueStatusInProgress: "Running";
|
|
1559
1571
|
readonly issueStatusPendingAcceptance: "Pending acceptance";
|
|
1560
1572
|
readonly issueStatusCompleted: "Completed";
|
|
1561
1573
|
readonly issueStatusFailed: "Failed";
|
|
@@ -2702,6 +2714,7 @@ declare const agentGuiI18nResources: {
|
|
|
2702
2714
|
readonly initialPlaceholder: "输入 @ 引用会话、文件、任务和应用";
|
|
2703
2715
|
readonly followupPlaceholder: "要求 {{provider}} 继续后续变更";
|
|
2704
2716
|
readonly installRequiredPlaceholder: "请先从 Dock 安装 {{provider}},然后再发送消息";
|
|
2717
|
+
readonly installRequiredAction: "设置";
|
|
2705
2718
|
readonly collaboratorSessionReadOnlyPlaceholder: "非当前用户会话,不可直接对话";
|
|
2706
2719
|
readonly send: "发送";
|
|
2707
2720
|
readonly modelLabel: "模型";
|
|
@@ -2854,9 +2867,6 @@ declare const agentGuiI18nResources: {
|
|
|
2854
2867
|
readonly usageTokensLabel: "Token 用量";
|
|
2855
2868
|
readonly usageLimitsLabel: "限额";
|
|
2856
2869
|
readonly usageCompactAction: "压缩";
|
|
2857
|
-
readonly usageAlertWarnMessage: "上下文已使用 {{percent}}%,建议压缩会话。";
|
|
2858
|
-
readonly usageAlertCriticalMessage: "上下文已使用 {{percent}}%,请立即压缩以继续会话。";
|
|
2859
|
-
readonly usageAlertDismiss: "关闭提醒";
|
|
2860
2870
|
readonly planCardTitle: "计划";
|
|
2861
2871
|
readonly planCardCopy: "复制计划";
|
|
2862
2872
|
readonly planCardExpand: "展开方案";
|
|
@@ -2917,6 +2927,7 @@ declare const agentGuiI18nResources: {
|
|
|
2917
2927
|
readonly empty: "需要 {{provider}} 帮你做些什么?";
|
|
2918
2928
|
readonly conversations: "会话";
|
|
2919
2929
|
readonly newConversation: "新建会话";
|
|
2930
|
+
readonly agentEnvSetup: "环境检测";
|
|
2920
2931
|
readonly noConversations: "还没有会话";
|
|
2921
2932
|
readonly emptyProjectConversations: "暂无对话";
|
|
2922
2933
|
readonly batchRunnerStandaloneTitle: "Agent GUI 批量执行面板";
|
|
@@ -3033,6 +3044,7 @@ declare const agentGuiI18nResources: {
|
|
|
3033
3044
|
readonly authRequired: "需要认证";
|
|
3034
3045
|
readonly authLogin: "登录";
|
|
3035
3046
|
readonly activatingSession: "正在连接会话...";
|
|
3047
|
+
readonly cancellingSession: "正在取消中...";
|
|
3036
3048
|
readonly retryActivation: "重试";
|
|
3037
3049
|
readonly continueInNewConversation: "去新会话";
|
|
3038
3050
|
readonly goalLabel: "目标";
|
|
@@ -3054,6 +3066,18 @@ declare const agentGuiI18nResources: {
|
|
|
3054
3066
|
readonly visibleErrorRuntimeUnavailable: "{{provider}} 因运行环境不可用而无法启动";
|
|
3055
3067
|
readonly visibleErrorQuotaOrRateLimit: "{{provider}} 请求失败:额度或频率限制已触发";
|
|
3056
3068
|
readonly visibleErrorDetails: "查看详情";
|
|
3069
|
+
readonly visibleErrorRawDetails: "原始错误";
|
|
3070
|
+
readonly visibleErrorCliNotFound: "未检测到 {{provider}} CLI,无法运行。请先完成安装。";
|
|
3071
|
+
readonly visibleErrorVersionUnsupported: "当前 {{provider}} 版本过旧,不支持此请求。请先升级。";
|
|
3072
|
+
readonly visibleErrorNetwork: "{{provider}} 无法连接网络以完成此请求。";
|
|
3073
|
+
readonly visibleErrorConfigTimeout: "{{provider}} 在请求超时前未能应用会话设置。请稍后重试。";
|
|
3074
|
+
readonly visibleErrorStreamDisconnected: "{{provider}} 的响应在完成前被中断。请稍后重试。";
|
|
3075
|
+
readonly visibleErrorConcurrencyLimit: "{{provider}} 当前处理的请求过多。请在其他任务完成后再试。";
|
|
3076
|
+
readonly visibleErrorActionInstall: "去安装";
|
|
3077
|
+
readonly visibleErrorActionUpgrade: "去升级";
|
|
3078
|
+
readonly visibleErrorActionRelogin: "登录";
|
|
3079
|
+
readonly visibleErrorActionCheckNetwork: "检测网络";
|
|
3080
|
+
readonly visibleErrorActionDetect: "打开检测";
|
|
3057
3081
|
readonly systemNoticeTransportRetry: "Codex 连接中断,正在重连";
|
|
3058
3082
|
readonly systemNoticeTransportFallback: "Codex 已切换到 HTTPS 传输";
|
|
3059
3083
|
readonly systemNoticeWarning: "Codex 警告";
|
|
@@ -3224,7 +3248,7 @@ declare const agentGuiI18nResources: {
|
|
|
3224
3248
|
readonly referencesLabel: "引用资料";
|
|
3225
3249
|
readonly requirementNoOtherOutputDir: "3. 不要把最终产物写到其他目录。";
|
|
3226
3250
|
readonly requirementStayInWorkspace: "1. 在 {{workspaceRoot}} 下工作,不要切换到其他无关目录。";
|
|
3227
|
-
readonly requirementSummaryOutput: "2. 如果用户没有另行指定位置,至少输出 docs/tutti/
|
|
3251
|
+
readonly requirementSummaryOutput: "2. 如果用户没有另行指定位置,至少输出 docs/tutti/task_summary_{{issueId}}.md,说明处理结果、改动与结论。";
|
|
3228
3252
|
readonly taskContentLabel: "任务内容";
|
|
3229
3253
|
readonly taskTitleLabel: "任务标题";
|
|
3230
3254
|
};
|
|
@@ -3932,7 +3956,7 @@ declare const agentGuiI18nResources: {
|
|
|
3932
3956
|
readonly taskCompletedCount: "{{count}} 个已完成";
|
|
3933
3957
|
readonly issueStatusNotStarted: "未启动";
|
|
3934
3958
|
readonly issueStatusRunning: "执行中";
|
|
3935
|
-
readonly issueStatusInProgress: "
|
|
3959
|
+
readonly issueStatusInProgress: "执行中";
|
|
3936
3960
|
readonly issueStatusPendingAcceptance: "待验收";
|
|
3937
3961
|
readonly issueStatusCompleted: "已完成";
|
|
3938
3962
|
readonly issueStatusFailed: "失败";
|
package/dist/i18n/index.js
CHANGED
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,
|
|
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-
|
|
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-0sV8Biv3.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-0sV8Biv3.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-
|
|
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-
|
|
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;
|