@tutti-os/agent-gui 0.0.55 → 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/{AgentMentionSearchController-DzhWr0PN.d.ts → AgentMentionSearchController-Po0KQLcL.d.ts} +13 -1
- package/dist/agent-conversation/index.d.ts +3 -3
- package/dist/agent-conversation/index.js +6 -6
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +8 -8
- 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-ZFDO72FE.js → chunk-2VHP7KQ5.js} +16 -3
- package/dist/chunk-2VHP7KQ5.js.map +1 -0
- package/dist/{chunk-2XVECUTU.js → chunk-33LWYV6O.js} +33 -1
- package/dist/chunk-33LWYV6O.js.map +1 -0
- package/dist/{chunk-GBAQVKQN.js → chunk-DZ76JPCV.js} +104 -10
- package/dist/chunk-DZ76JPCV.js.map +1 -0
- package/dist/{chunk-PBHTLI3E.js → chunk-HFZOXSSQ.js} +2 -2
- package/dist/{chunk-7H4IH67L.js → chunk-IMZBRUP3.js} +13 -5
- package/dist/{chunk-7H4IH67L.js.map → chunk-IMZBRUP3.js.map} +1 -1
- package/dist/{chunk-6AXH2BOD.js → chunk-KOR6UVUJ.js} +5 -5
- package/dist/{chunk-NBTJEF3H.js → chunk-N37A5CJH.js} +140 -4
- package/dist/chunk-N37A5CJH.js.map +1 -0
- package/dist/{chunk-WMQN7SZC.js → chunk-QFHR527D.js} +2 -2
- package/dist/{chunk-BGZ2OSDQ.js → chunk-RGVVHF7Q.js} +2 -2
- package/dist/{chunk-GL54NRMB.js → chunk-S6PCOX3S.js} +40 -1
- package/dist/chunk-S6PCOX3S.js.map +1 -0
- package/dist/{chunk-CMOGPJ23.js → chunk-SZ7JGCS3.js} +2 -2
- package/dist/{chunk-H2YWXFYX.js → chunk-Z3AAQQFD.js} +2 -2
- package/dist/context-mention-palette/index.d.ts +2 -2
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +32 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +49 -8
- package/dist/index.js +322 -75
- 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/dist/{workspaceLinkActions-C6POH38D.d.ts → workspaceLinkActions-Bjy_XfBm.d.ts} +8 -1
- package/package.json +14 -14
- package/dist/chunk-2XVECUTU.js.map +0 -1
- package/dist/chunk-GBAQVKQN.js.map +0 -1
- package/dist/chunk-GL54NRMB.js.map +0 -1
- package/dist/chunk-NBTJEF3H.js.map +0 -1
- package/dist/chunk-ZFDO72FE.js.map +0 -1
- /package/dist/{chunk-PBHTLI3E.js.map → chunk-HFZOXSSQ.js.map} +0 -0
- /package/dist/{chunk-6AXH2BOD.js.map → chunk-KOR6UVUJ.js.map} +0 -0
- /package/dist/{chunk-WMQN7SZC.js.map → chunk-QFHR527D.js.map} +0 -0
- /package/dist/{chunk-BGZ2OSDQ.js.map → chunk-RGVVHF7Q.js.map} +0 -0
- /package/dist/{chunk-CMOGPJ23.js.map → chunk-SZ7JGCS3.js.map} +0 -0
- /package/dist/{chunk-H2YWXFYX.js.map → chunk-Z3AAQQFD.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-
|
|
1
|
+
import { e as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-BRU6P22B.js';
|
|
2
2
|
import '@tutti-os/agent-activity-core';
|
|
3
|
-
import './types-
|
|
3
|
+
import './types-BsHvTjIZ.js';
|
|
4
4
|
import './workspaceAgentActivityListViewModel-B5viw5Da.js';
|
|
5
5
|
import './agentConversationVM-Qbz9GBwR.js';
|
|
6
6
|
import '@tutti-os/workspace-user-project/contracts';
|
|
@@ -165,6 +165,13 @@ interface AgentGUIProviderTarget {
|
|
|
165
165
|
disabled?: boolean;
|
|
166
166
|
unavailableReason?: string;
|
|
167
167
|
}
|
|
168
|
+
type AgentGUIProviderReadinessGateStatus = "checking" | "not_installed" | "auth_required" | "unavailable";
|
|
169
|
+
type AgentGUIProviderReadinessGateAction = "install" | "login" | "refresh";
|
|
170
|
+
interface AgentGUIProviderReadinessGate {
|
|
171
|
+
status: AgentGUIProviderReadinessGateStatus;
|
|
172
|
+
pendingAction?: AgentGUIProviderReadinessGateAction | null;
|
|
173
|
+
onAction?: (provider: AgentGUIProvider, action: AgentGUIProviderReadinessGateAction) => void;
|
|
174
|
+
}
|
|
168
175
|
interface Size {
|
|
169
176
|
width: number;
|
|
170
177
|
height: number;
|
|
@@ -178,4 +185,4 @@ interface NodeFrame {
|
|
|
178
185
|
size: Size;
|
|
179
186
|
}
|
|
180
187
|
|
|
181
|
-
export type { AgentGUINodeData as A, NodeFrame as N, Point as P, AgentGUIProvider as a,
|
|
188
|
+
export type { AgentGUINodeData as A, NodeFrame as N, Point as P, AgentGUIProvider as a, AgentGUIProviderReadinessGate as b, AgentGUIProviderReadinessGateAction as c, AgentGUIProviderReadinessGateStatus as d, AgentGUIProviderTarget as e, AgentGUIProviderTargetRef as f, AgentHostActivateAgentSessionResult as g, AgentHostAgentSessionCommand as h, AgentHostAgentSessionComposerSettings as i, AgentHostAgentSessionPermissionConfig as j, AgentHostAgentSessionReasoningEffort as k, AgentHostAgentSessionSpeed as l, AgentHostAgentSessionState as m, AgentHostUnactivateAgentSessionResult as n, AgentHostUpdateAgentSessionSettingsResult as o, AgentPromptContentBlock as p, AgentProvider as q };
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { WorkbenchFrame, WorkbenchHostNodeBodyContext, WorkbenchHostDockEntry, WorkbenchHostLaunchRequest, WorkbenchContribution } from '@tutti-os/workbench-surface';
|
|
3
3
|
import { AgentGuiWorkbenchDockLayout } from './launch.js';
|
|
4
4
|
import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchState } from './types.js';
|
|
5
|
-
import {
|
|
5
|
+
import { e as AgentGUIProviderTarget, f as AgentGUIProviderTargetRef } from '../types-BsHvTjIZ.js';
|
|
6
6
|
|
|
7
7
|
declare const agentGuiWorkbenchDefaultNodeFrame: WorkbenchFrame;
|
|
8
8
|
declare const agentGuiWorkbenchDefaultUsableHeightRatio = 0.7;
|
|
@@ -6,7 +6,7 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
6
6
|
import { WorkbenchDisplayMode, WorkbenchHostNodeHeaderWindowActions } from '@tutti-os/workbench-surface';
|
|
7
7
|
export { AgentGuiSessionTitleFormatOptions, AgentGuiWorkbenchSessionTitleResult, ResolveAgentGuiWorkbenchSessionTitleInput, formatAgentGuiConversationPlainTitle, formatAgentGuiSessionPlainTitle, resolveAgentGuiWorkbenchSessionTitle } from './sessionTitle.js';
|
|
8
8
|
export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
|
|
9
|
-
import '../types-
|
|
9
|
+
import '../types-BsHvTjIZ.js';
|
|
10
10
|
import '@tutti-os/agent-activity-core';
|
|
11
11
|
import '../uiSettings-BQS9r2eo.js';
|
|
12
12
|
|
package/dist/workbench/index.js
CHANGED
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
formatAgentGuiConversationPlainTitle,
|
|
57
57
|
formatAgentGuiSessionPlainTitle,
|
|
58
58
|
resolveAgentGuiWorkbenchSessionTitle
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-RGVVHF7Q.js";
|
|
60
|
+
import "../chunk-SZ7JGCS3.js";
|
|
61
61
|
import "../chunk-MTFSQWZ6.js";
|
|
62
62
|
import "../chunk-GCBDIQDX.js";
|
|
63
|
-
import "../chunk-
|
|
63
|
+
import "../chunk-33LWYV6O.js";
|
|
64
64
|
export {
|
|
65
65
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
66
66
|
AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
|
|
2
2
|
import { agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchPrefillPromptPayload, agentGuiWorkbenchPrefillPromptActivationType, AgentGuiWorkbenchProvider } from './types.js';
|
|
3
|
-
import '../types-
|
|
3
|
+
import '../types-BsHvTjIZ.js';
|
|
4
4
|
|
|
5
5
|
type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "payload" | "typeId"> & {
|
|
6
6
|
dockEntryId?: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgentGuiWorkbenchProvider } from './types.js';
|
|
2
|
-
import '../types-
|
|
2
|
+
import '../types-BsHvTjIZ.js';
|
|
3
3
|
|
|
4
4
|
declare const agentGuiWorkbenchProviders: readonly ["claude-code", "codex", "nexight", "hermes", "gemini", "openclaw"];
|
|
5
5
|
declare const agentGuiWorkbenchDefaultDockProviders: readonly ["codex", "claude-code"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
|
|
2
2
|
import { U as UiLanguage } from '../uiSettings-BQS9r2eo.js';
|
|
3
3
|
import { AgentGuiWorkbenchProvider } from './types.js';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-BsHvTjIZ.js';
|
|
5
5
|
|
|
6
6
|
interface AgentGuiSessionTitleFormatOptions {
|
|
7
7
|
fallbackAgentLabel?: string;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
formatAgentGuiConversationPlainTitle,
|
|
3
3
|
formatAgentGuiSessionPlainTitle,
|
|
4
4
|
resolveAgentGuiWorkbenchSessionTitle
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-RGVVHF7Q.js";
|
|
6
|
+
import "../chunk-SZ7JGCS3.js";
|
|
7
7
|
import "../chunk-GCBDIQDX.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-33LWYV6O.js";
|
|
9
9
|
export {
|
|
10
10
|
formatAgentGuiConversationPlainTitle,
|
|
11
11
|
formatAgentGuiSessionPlainTitle,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WorkbenchHostExternalStateSource, WorkbenchHostExternalStateLookupInput } from '@tutti-os/workbench-surface';
|
|
2
2
|
import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState } from './types.js';
|
|
3
|
-
import '../types-
|
|
3
|
+
import '../types-BsHvTjIZ.js';
|
|
4
4
|
|
|
5
5
|
type AgentGuiWorkbenchStateLookupRequest = Pick<WorkbenchHostExternalStateLookupInput, "instanceId" | "typeId"> & Partial<Pick<WorkbenchHostExternalStateLookupInput, "nodeId">>;
|
|
6
6
|
declare function createDefaultAgentGuiWorkbenchNodeState(provider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as AgentGUIProviderTargetRef } from '../types-BsHvTjIZ.js';
|
|
2
2
|
|
|
3
3
|
type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
4
4
|
declare const agentGuiWorkbenchOpenSessionActivationType = "agent-gui:open-session";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
resolveWorkspaceAgentActivityStatus,
|
|
5
5
|
resolveWorkspaceAgentActivityTitle,
|
|
6
6
|
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HFZOXSSQ.js";
|
|
8
8
|
import "./chunk-IBIMGLCD.js";
|
|
9
9
|
import "./chunk-Y35GDLP2.js";
|
|
10
10
|
import {
|
|
11
11
|
workspaceAgentProviderLabel
|
|
12
12
|
} from "./chunk-TYGL25EL.js";
|
|
13
13
|
import "./chunk-GCBDIQDX.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-Z3AAQQFD.js";
|
|
15
|
+
import "./chunk-33LWYV6O.js";
|
|
16
16
|
export {
|
|
17
17
|
buildWorkspaceAgentActivityListViewModel,
|
|
18
18
|
collectWorkspaceAgentGeneratedFiles,
|
|
@@ -62,6 +62,13 @@ interface OpenWorkspaceAppLinkAction {
|
|
|
62
62
|
summaryTaskId?: string | null;
|
|
63
63
|
source: WorkspaceLinkActionSource;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
interface OpenCustomMentionLinkAction {
|
|
66
|
+
type: "open-custom-mention";
|
|
67
|
+
/** 注册表里的 kind(= mention:// providerId)。 */
|
|
68
|
+
kind: string;
|
|
69
|
+
href: string;
|
|
70
|
+
source: WorkspaceLinkActionSource;
|
|
71
|
+
}
|
|
72
|
+
type WorkspaceLinkAction = OpenWorkspaceFileLinkAction | OpenLocalAssetPreviewLinkAction | OpenWorkspaceUrlLinkAction | OpenAgentSessionLinkAction | OpenWorkspaceIssueLinkAction | OpenWorkspaceAppLinkAction | OpenCustomMentionLinkAction;
|
|
66
73
|
|
|
67
74
|
export type { WorkspaceLinkAction as W };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutti-os/agent-gui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.57",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -90,17 +90,17 @@
|
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@monaco-editor/react": "^4.7.0",
|
|
93
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
94
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
95
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
96
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
97
|
-
"@tutti-os/ui-system": "0.0.
|
|
98
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
99
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
100
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
101
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
102
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
103
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
93
|
+
"@tutti-os/agent-activity-core": "0.0.57",
|
|
94
|
+
"@tutti-os/ui-i18n-runtime": "0.0.57",
|
|
95
|
+
"@tutti-os/ui-rich-text": "0.0.57",
|
|
96
|
+
"@tutti-os/ui-react-hooks": "0.0.57",
|
|
97
|
+
"@tutti-os/ui-system": "0.0.57",
|
|
98
|
+
"@tutti-os/workbench-surface": "0.0.57",
|
|
99
|
+
"@tutti-os/workspace-external-core": "0.0.57",
|
|
100
|
+
"@tutti-os/workspace-file-manager": "0.0.57",
|
|
101
|
+
"@tutti-os/workspace-file-reference": "0.0.57",
|
|
102
|
+
"@tutti-os/workspace-issue-manager": "0.0.57",
|
|
103
|
+
"@tutti-os/workspace-user-project": "0.0.57",
|
|
104
104
|
"@tanstack/react-virtual": "^3.13.12",
|
|
105
105
|
"@tiptap/core": "^3.11.1",
|
|
106
106
|
"@tiptap/pm": "^3.23.6",
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
"typescript": "^5.8.3",
|
|
132
132
|
"vite": "^6.4.2",
|
|
133
133
|
"vitest": "^4.0.13",
|
|
134
|
-
"@tutti-os/
|
|
135
|
-
"@tutti-os/
|
|
134
|
+
"@tutti-os/client-tuttid-ts": "0.0.0",
|
|
135
|
+
"@tutti-os/config-tsconfig": "0.0.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
138
138
|
"react": "^19.1.0",
|