@tutti-os/agent-gui 0.0.56 → 0.0.57
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/dist/@-lined-14px-64O2KKB4.svg +3 -0
- package/dist/agent-conversation/index.d.ts +2 -2
- package/dist/agent-conversation/index.js +5 -5
- package/dist/agent-message-center/index.js +7 -7
- package/dist/{agentGuiNodeTypes-DCnsaqJr.d.ts → agentGuiNodeTypes-BRU6P22B.d.ts} +2 -1
- package/dist/app/renderer/agentactivity.css +48 -3
- package/dist/app/renderer/assets/icons/@-lined-14px.svg +3 -0
- package/dist/{chunk-6QFURP4M.js → chunk-2VHP7KQ5.js} +2 -2
- package/dist/{chunk-54CMFCHF.js → chunk-33LWYV6O.js} +31 -1
- package/dist/chunk-33LWYV6O.js.map +1 -0
- package/dist/{chunk-X4C4HD6E.js → chunk-DZ76JPCV.js} +103 -9
- package/dist/chunk-DZ76JPCV.js.map +1 -0
- package/dist/{chunk-4URDQNBP.js → chunk-HFZOXSSQ.js} +2 -2
- package/dist/{chunk-PQYSB2WC.js → chunk-IMZBRUP3.js} +4 -4
- package/dist/{chunk-752VTG4P.js → chunk-KOR6UVUJ.js} +4 -4
- package/dist/{chunk-MXDPRBS6.js → chunk-N37A5CJH.js} +2 -2
- package/dist/{chunk-SITURZG6.js → chunk-QFHR527D.js} +2 -2
- package/dist/{chunk-EVVIWZLX.js → chunk-RGVVHF7Q.js} +2 -2
- package/dist/{chunk-PQYMG6PQ.js → chunk-SZ7JGCS3.js} +2 -2
- package/dist/{chunk-5PGMLZ4W.js → chunk-Z3AAQQFD.js} +2 -2
- package/dist/context-mention-palette/index.js +6 -6
- package/dist/i18n/index.d.ts +30 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +7 -4
- package/dist/index.js +315 -74
- package/dist/index.js.map +1 -1
- package/dist/queued-prompt-runtime.d.ts +2 -2
- package/dist/{types-B2m7UcBb.d.ts → types-BsHvTjIZ.d.ts} +8 -1
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/index.d.ts +1 -1
- package/dist/workbench/index.js +3 -3
- package/dist/workbench/launch.d.ts +1 -1
- package/dist/workbench/providerCatalog.d.ts +1 -1
- package/dist/workbench/sessionTitle.d.ts +1 -1
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.d.ts +1 -1
- package/dist/workbench/types.d.ts +1 -1
- package/dist/workspace-agent-generated-files.js +3 -3
- package/package.json +12 -12
- package/dist/chunk-54CMFCHF.js.map +0 -1
- package/dist/chunk-X4C4HD6E.js.map +0 -1
- /package/dist/{chunk-6QFURP4M.js.map → chunk-2VHP7KQ5.js.map} +0 -0
- /package/dist/{chunk-4URDQNBP.js.map → chunk-HFZOXSSQ.js.map} +0 -0
- /package/dist/{chunk-PQYSB2WC.js.map → chunk-IMZBRUP3.js.map} +0 -0
- /package/dist/{chunk-752VTG4P.js.map → chunk-KOR6UVUJ.js.map} +0 -0
- /package/dist/{chunk-MXDPRBS6.js.map → chunk-N37A5CJH.js.map} +0 -0
- /package/dist/{chunk-SITURZG6.js.map → chunk-QFHR527D.js.map} +0 -0
- /package/dist/{chunk-EVVIWZLX.js.map → chunk-RGVVHF7Q.js.map} +0 -0
- /package/dist/{chunk-PQYMG6PQ.js.map → chunk-SZ7JGCS3.js.map} +0 -0
- /package/dist/{chunk-5PGMLZ4W.js.map → chunk-Z3AAQQFD.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
formatAgentSessionMentionText,
|
|
5
5
|
normalizeAgentGUIProviderIdentity,
|
|
6
6
|
resolveAgentGUIExplicitConversationTitle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SZ7JGCS3.js";
|
|
8
8
|
|
|
9
9
|
// workbench/sessionTitle.ts
|
|
10
10
|
function formatAgentGuiSessionPlainTitle(title, options = {}) {
|
|
@@ -96,4 +96,4 @@ export {
|
|
|
96
96
|
formatAgentGuiConversationPlainTitle,
|
|
97
97
|
resolveAgentGuiWorkbenchSessionTitle
|
|
98
98
|
};
|
|
99
|
-
//# sourceMappingURL=chunk-
|
|
99
|
+
//# sourceMappingURL=chunk-RGVVHF7Q.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GCBDIQDX.js";
|
|
4
4
|
import {
|
|
5
5
|
translateInUiLanguage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-33LWYV6O.js";
|
|
7
7
|
|
|
8
8
|
// shared/utils/agentSessionMentionText.ts
|
|
9
9
|
import {
|
|
@@ -314,4 +314,4 @@ export {
|
|
|
314
314
|
resolveAgentGUIProviderDisplayLabel,
|
|
315
315
|
firstAgentGUIUserMessageTitle
|
|
316
316
|
};
|
|
317
|
-
//# sourceMappingURL=chunk-
|
|
317
|
+
//# sourceMappingURL=chunk-SZ7JGCS3.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
setCurrentAgentGuiI18nRuntime,
|
|
7
7
|
translate,
|
|
8
8
|
translateInUiLanguage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-33LWYV6O.js";
|
|
10
10
|
|
|
11
11
|
// i18n/index.ts
|
|
12
12
|
import React, {
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
AgentGuiI18nProvider,
|
|
69
69
|
useTranslation
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-Z3AAQQFD.js.map
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
AgentMentionSearchController,
|
|
5
5
|
flattenAgentMentionPaletteEntries,
|
|
6
6
|
groupStartKeys
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-IMZBRUP3.js";
|
|
8
|
+
import "../chunk-HFZOXSSQ.js";
|
|
9
|
+
import "../chunk-QFHR527D.js";
|
|
10
10
|
import "../chunk-IBIMGLCD.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-N37A5CJH.js";
|
|
12
12
|
import "../chunk-Y35GDLP2.js";
|
|
13
13
|
import "../chunk-LUGELG5V.js";
|
|
14
14
|
import "../chunk-S6PCOX3S.js";
|
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
20
20
|
} from "../chunk-JM24HADP.js";
|
|
21
21
|
import "../chunk-GCBDIQDX.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-Z3AAQQFD.js";
|
|
23
|
+
import "../chunk-33LWYV6O.js";
|
|
24
24
|
export {
|
|
25
25
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS,
|
|
26
26
|
AgentContextMentionPalette,
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -336,6 +336,20 @@ declare const agentGuiI18nResources: {
|
|
|
336
336
|
readonly followupPlaceholder: "Request follow-up changes from {{provider}}";
|
|
337
337
|
readonly installRequiredPlaceholder: "Finish setting up {{provider}} to send messages";
|
|
338
338
|
readonly installRequiredAction: "Set up";
|
|
339
|
+
readonly providerGateCheckingTitle: "Checking your agent";
|
|
340
|
+
readonly providerGateCheckingDescription: "One moment while we check whether {{provider}} is ready.";
|
|
341
|
+
readonly providerGateInstallTitle: "Install {{provider}} first";
|
|
342
|
+
readonly providerGateInstallDescription: "{{provider}} needs to be installed before you can start a new chat here.";
|
|
343
|
+
readonly providerGateInstallAction: "Install";
|
|
344
|
+
readonly providerGateLoginTitle: "Sign in to {{provider}}";
|
|
345
|
+
readonly providerGateLoginDescription: "{{provider}} is installed. Sign in once, then come back and start chatting.";
|
|
346
|
+
readonly providerGateLoginAction: "Sign in";
|
|
347
|
+
readonly providerGateUnavailableTitle: "{{provider}} is not ready yet";
|
|
348
|
+
readonly providerGateUnavailableDescription: "We could not confirm that {{provider}} is ready. Try checking again.";
|
|
349
|
+
readonly providerGateRetryAction: "Check again";
|
|
350
|
+
readonly providerGatePendingInstall: "Installing…";
|
|
351
|
+
readonly providerGatePendingLogin: "Opening sign in…";
|
|
352
|
+
readonly providerGatePendingRefresh: "Checking…";
|
|
339
353
|
readonly collaboratorSessionReadOnlyPlaceholder: "This session belongs to another user and cannot be replied to directly";
|
|
340
354
|
readonly send: "Send";
|
|
341
355
|
readonly modelLabel: "Model";
|
|
@@ -834,6 +848,7 @@ declare const agentGuiI18nResources: {
|
|
|
834
848
|
readonly fileMentionEmpty: "Search workspace files based on your input";
|
|
835
849
|
readonly fileMentionError: "Unable to search Files.";
|
|
836
850
|
readonly fileMentionTabHint: "Tab switch category | ←→ enter/leave folder | ↑↓ switch selection";
|
|
851
|
+
readonly mentionPalette: "Mention context";
|
|
837
852
|
readonly addReference: "Add reference";
|
|
838
853
|
readonly referenceWorkspaceFiles: "Reference workspace files";
|
|
839
854
|
readonly referencePicker: {
|
|
@@ -2798,6 +2813,20 @@ declare const agentGuiI18nResources: {
|
|
|
2798
2813
|
readonly followupPlaceholder: "要求 {{provider}} 继续后续变更";
|
|
2799
2814
|
readonly installRequiredPlaceholder: "请先完成 {{provider}} 配置,然后再发送消息";
|
|
2800
2815
|
readonly installRequiredAction: "设置";
|
|
2816
|
+
readonly providerGateCheckingTitle: "正在检查 Agent";
|
|
2817
|
+
readonly providerGateCheckingDescription: "稍等一下,我们正在确认 {{provider}} 是否已经可用。";
|
|
2818
|
+
readonly providerGateInstallTitle: "先安装 {{provider}}";
|
|
2819
|
+
readonly providerGateInstallDescription: "需要先安装 {{provider}},才能在这里开始新的对话。";
|
|
2820
|
+
readonly providerGateInstallAction: "安装";
|
|
2821
|
+
readonly providerGateLoginTitle: "登录 {{provider}}";
|
|
2822
|
+
readonly providerGateLoginDescription: "{{provider}} 已安装。先完成一次登录,然后就可以开始对话。";
|
|
2823
|
+
readonly providerGateLoginAction: "登录";
|
|
2824
|
+
readonly providerGateUnavailableTitle: "{{provider}} 暂时还不可用";
|
|
2825
|
+
readonly providerGateUnavailableDescription: "我们还不能确认 {{provider}} 已准备好,可以再检测一次。";
|
|
2826
|
+
readonly providerGateRetryAction: "重新检测";
|
|
2827
|
+
readonly providerGatePendingInstall: "正在安装…";
|
|
2828
|
+
readonly providerGatePendingLogin: "正在打开登录…";
|
|
2829
|
+
readonly providerGatePendingRefresh: "正在检测…";
|
|
2801
2830
|
readonly collaboratorSessionReadOnlyPlaceholder: "非当前用户会话,不可直接对话";
|
|
2802
2831
|
readonly send: "发送";
|
|
2803
2832
|
readonly modelLabel: "模型";
|
|
@@ -3296,6 +3325,7 @@ declare const agentGuiI18nResources: {
|
|
|
3296
3325
|
readonly fileMentionEmpty: "根据你输入的内容搜索工作区文件";
|
|
3297
3326
|
readonly fileMentionError: "无法搜索工作区文件。";
|
|
3298
3327
|
readonly fileMentionTabHint: "Tab 切换分类 | ←→ 进入/返回文件夹 | ↑↓ 切换选中";
|
|
3328
|
+
readonly mentionPalette: "提及上下文";
|
|
3299
3329
|
readonly addReference: "添加引用";
|
|
3300
3330
|
readonly referenceWorkspaceFiles: "引用空间文件";
|
|
3301
3331
|
readonly referencePicker: {
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,10 @@ import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentS
|
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { ReactNode, PropsWithChildren, JSX } from 'react';
|
|
6
6
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import { q as AgentProvider, f as AgentGUIProviderTargetRef, i as AgentHostAgentSessionComposerSettings, g as AgentHostActivateAgentSessionResult, o as AgentHostUpdateAgentSessionSettingsResult, m as AgentHostAgentSessionState, n as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, e as AgentGUIProviderTarget, a as AgentGUIProvider, p as AgentPromptContentBlock, P as Point, b as AgentGUIProviderReadinessGate, N as NodeFrame } from './types-BsHvTjIZ.js';
|
|
8
|
+
export { c as AgentGUIProviderReadinessGateAction, d as AgentGUIProviderReadinessGateStatus } from './types-BsHvTjIZ.js';
|
|
9
|
+
import { l as AgentProbeSnapshot, A as AgentComposerDraft, o as AgentSessionCommand, d as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, e as AgentGUIQueuedPromptVM, c as AgentGUINodeViewModel, b as AgentGUIConversationScope, h as AgentHostInputApi } from './agentGuiNodeTypes-BRU6P22B.js';
|
|
10
|
+
export { f as AgentHostApi, g as AgentHostApplyWorkspaceGitPatchInput, i as AgentHostRuntimeApi, j as AgentHostSelectFilesInput, k as AgentProbeProvider, m as AgentProviderProbeListInput, n as AgentProviderProbeListResult, p as AgentUsageQuota, q as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, r as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-BRU6P22B.js';
|
|
10
11
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
11
12
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter } from '@tutti-os/workspace-file-reference/contracts';
|
|
12
13
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
@@ -609,6 +610,7 @@ interface AgentComposerProps {
|
|
|
609
610
|
fileMentionEmpty: string;
|
|
610
611
|
fileMentionError: string;
|
|
611
612
|
fileMentionTabHint: string;
|
|
613
|
+
mentionPalette: string;
|
|
612
614
|
removeMention: string;
|
|
613
615
|
addReference: string;
|
|
614
616
|
referenceWorkspaceFiles: string;
|
|
@@ -762,6 +764,7 @@ interface AgentGUINodeProps {
|
|
|
762
764
|
onAgentProviderLogin?: (provider: AgentProvider) => void;
|
|
763
765
|
providerTargets?: readonly AgentGUIProviderTarget[];
|
|
764
766
|
providerTargetsLoading?: boolean;
|
|
767
|
+
providerReadinessGates?: Partial<Record<AgentGUIProvider, AgentGUIProviderReadinessGate | null>> | null;
|
|
765
768
|
defaultProviderTargetId?: string | null;
|
|
766
769
|
conversationScope?: AgentGUIConversationScope;
|
|
767
770
|
onWorkspaceFileReferencesAdded?: (input: {
|
|
@@ -872,4 +875,4 @@ interface AgentActivityHostProviderProps extends PropsWithChildren {
|
|
|
872
875
|
}
|
|
873
876
|
declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi, children }: AgentActivityHostProviderProps): JSX.Element;
|
|
874
877
|
|
|
875
|
-
export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIProps, AgentGUIProvider, AgentGUIProviderTarget, AgentGUIProviderTargetRef, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };
|
|
878
|
+
export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIProps, AgentGUIProvider, AgentGUIProviderReadinessGate, AgentGUIProviderTarget, AgentGUIProviderTargetRef, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };
|