@tutti-os/agent-gui 0.0.65 → 0.0.67
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/LICENSE +1 -2
- package/README.md +1 -1
- package/dist/agent-conversation/index.d.ts +2 -2
- package/dist/agent-conversation/index.js +8 -8
- package/dist/agent-message-center/index.js +10 -10
- package/dist/{agentGuiNodeTypes-CCjzXdTe.d.ts → agentGuiNodeTypes-DNXndXhV.d.ts} +3 -1
- package/dist/app/renderer/agentactivity.css +109 -0
- package/dist/app/renderer/assets/icons/agents/tutti-flat-filled.svg +12 -0
- package/dist/{chunk-N4I3TD4G.js → chunk-BX4UBTOI.js} +70 -2
- package/dist/chunk-BX4UBTOI.js.map +1 -0
- package/dist/{chunk-IDTB6OID.js → chunk-CTYXJGSW.js} +50 -12
- package/dist/chunk-CTYXJGSW.js.map +1 -0
- package/dist/{chunk-P5C3ED3V.js → chunk-DP2X4J2D.js} +3 -3
- package/dist/{chunk-LJE2W4EM.js → chunk-DQTBWOIK.js} +27 -4
- package/dist/chunk-DQTBWOIK.js.map +1 -0
- package/dist/chunk-IL2ORY23.js +193 -0
- package/dist/chunk-IL2ORY23.js.map +1 -0
- package/dist/{chunk-XZPAU7FC.js → chunk-JGU2VMDA.js} +3 -3
- package/dist/{chunk-DL6BMEHI.js → chunk-JWWHS34V.js} +3 -3
- package/dist/{chunk-UWBX3DZK.js → chunk-KS4ULVGM.js} +2 -2
- package/dist/{chunk-XLBJHHDX.js → chunk-MA254MXR.js} +51 -7
- package/dist/chunk-MA254MXR.js.map +1 -0
- package/dist/{chunk-TG3ZXLPM.js → chunk-MYD37I32.js} +27 -3
- package/dist/chunk-MYD37I32.js.map +1 -0
- package/dist/{chunk-2IMBPRKV.js → chunk-NCAVJEHI.js} +1 -1
- package/dist/chunk-NCAVJEHI.js.map +1 -0
- package/dist/{chunk-R2NGSPQS.js → chunk-OEJQJP65.js} +3 -1
- package/dist/{chunk-R2NGSPQS.js.map → chunk-OEJQJP65.js.map} +1 -1
- package/dist/{chunk-6OYLLPPN.js → chunk-PFKY5W76.js} +17 -13
- package/dist/chunk-PFKY5W76.js.map +1 -0
- package/dist/{chunk-N7BGNAA2.js → chunk-QZYGCZNQ.js} +7 -9
- package/dist/chunk-QZYGCZNQ.js.map +1 -0
- package/dist/{chunk-CKCUEHBW.js → chunk-RNFP7CUO.js} +9 -8
- package/dist/chunk-RNFP7CUO.js.map +1 -0
- package/dist/{chunk-UI3YDJTC.js → chunk-SKWDZTEV.js} +6 -4
- package/dist/chunk-SKWDZTEV.js.map +1 -0
- package/dist/{chunk-LQHYHF36.js → chunk-UAXKJNM2.js} +14 -7
- package/dist/chunk-UAXKJNM2.js.map +1 -0
- package/dist/{chunk-HKKC2U6J.js → chunk-VIJQ5C33.js} +6 -6
- package/dist/{chunk-HKKC2U6J.js.map → chunk-VIJQ5C33.js.map} +1 -1
- package/dist/{chunk-EIPQGFAE.js → chunk-XBR7D7X2.js} +2 -2
- package/dist/{chunk-R7PSPKBD.js → chunk-YU3XLPLC.js} +2 -6
- package/dist/chunk-YU3XLPLC.js.map +1 -0
- package/dist/{chunk-QULZNKPA.js → chunk-YYAP6IK7.js} +4 -166
- package/dist/chunk-YYAP6IK7.js.map +1 -0
- package/dist/{chunk-W3Q7B3DV.js → chunk-ZABN3POD.js} +6 -2
- package/dist/chunk-ZABN3POD.js.map +1 -0
- package/dist/context-mention-palette/index.js +9 -9
- package/dist/cursor-flat-filled-CL7N3BTZ.svg +3 -0
- package/dist/i18n/index.d.ts +50 -6
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +63 -6
- package/dist/index.js +1654 -1395
- package/dist/index.js.map +1 -1
- package/dist/queued-prompt-runtime.d.ts +22 -3
- package/dist/queued-prompt-runtime.js +1 -1
- package/dist/tutti-flat-filled-K32QBTZE.svg +12 -0
- package/dist/{types-BAPEle8b.d.ts → types-BxOwnK7K.d.ts} +17 -4
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/contribution.js +8 -8
- package/dist/workbench/index.d.ts +1 -1
- package/dist/workbench/index.js +11 -11
- package/dist/workbench/launch.d.ts +1 -1
- package/dist/workbench/launch.js +3 -3
- package/dist/workbench/providerCatalog.d.ts +4 -4
- package/dist/workbench/providerCatalog.js +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/state.js +3 -3
- package/dist/workbench/types.d.ts +2 -2
- package/dist/workbench/types.js +1 -1
- package/dist/workspace-agent-generated-files.js +4 -4
- package/package.json +12 -12
- package/dist/app/renderer/assets/icons/@-lined-14px.svg +0 -3
- package/dist/app/renderer/assets/icons/agents/manage-agent-claude-code.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-codex.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-gemini.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-hermes.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-openclaw.png +0 -0
- package/dist/app/renderer/assets/icons/agents/tutti-doc-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-claude-code.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-codex.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-gemini.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-nexight.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-openclaw.png +0 -0
- package/dist/app/renderer/assets/icons/arrow-left-filled.svg +0 -1
- package/dist/chunk-2IMBPRKV.js.map +0 -1
- package/dist/chunk-6OYLLPPN.js.map +0 -1
- package/dist/chunk-CKCUEHBW.js.map +0 -1
- package/dist/chunk-IDTB6OID.js.map +0 -1
- package/dist/chunk-LJE2W4EM.js.map +0 -1
- package/dist/chunk-LQHYHF36.js.map +0 -1
- package/dist/chunk-N4I3TD4G.js.map +0 -1
- package/dist/chunk-N7BGNAA2.js.map +0 -1
- package/dist/chunk-QULZNKPA.js.map +0 -1
- package/dist/chunk-R7PSPKBD.js.map +0 -1
- package/dist/chunk-TG3ZXLPM.js.map +0 -1
- package/dist/chunk-TYGL25EL.js +0 -30
- package/dist/chunk-TYGL25EL.js.map +0 -1
- package/dist/chunk-UI3YDJTC.js.map +0 -1
- package/dist/chunk-W3Q7B3DV.js.map +0 -1
- package/dist/chunk-XLBJHHDX.js.map +0 -1
- /package/dist/{chunk-P5C3ED3V.js.map → chunk-DP2X4J2D.js.map} +0 -0
- /package/dist/{chunk-XZPAU7FC.js.map → chunk-JGU2VMDA.js.map} +0 -0
- /package/dist/{chunk-DL6BMEHI.js.map → chunk-JWWHS34V.js.map} +0 -0
- /package/dist/{chunk-UWBX3DZK.js.map → chunk-KS4ULVGM.js.map} +0 -0
- /package/dist/{chunk-EIPQGFAE.js.map → chunk-XBR7D7X2.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-
|
|
1
|
+
import { d as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-DNXndXhV.js';
|
|
2
2
|
import '@tutti-os/agent-activity-core';
|
|
3
|
-
import './types-
|
|
3
|
+
import './types-BxOwnK7K.js';
|
|
4
4
|
import './workspaceAgentActivityListViewModel-DJvAqZso.js';
|
|
5
5
|
import './agentConversationVM-DPAgUJlR.js';
|
|
6
6
|
import '@tutti-os/workspace-user-project/contracts';
|
|
@@ -18,6 +18,7 @@ interface AgentQueuedPromptClaim {
|
|
|
18
18
|
leasedUntilUnixMs: number;
|
|
19
19
|
workspaceId: string;
|
|
20
20
|
}
|
|
21
|
+
type AgentQueuedPromptSuspendReason = "user_stop";
|
|
21
22
|
interface AgentQueuedPromptQueueSnapshot {
|
|
22
23
|
agentSessionId: string;
|
|
23
24
|
claim: AgentQueuedPromptClaim | null;
|
|
@@ -25,6 +26,13 @@ interface AgentQueuedPromptQueueSnapshot {
|
|
|
25
26
|
prompts: readonly AgentGUIQueuedPromptVM[];
|
|
26
27
|
retryBlock: AgentQueuedPromptRetryBlock | null;
|
|
27
28
|
sendNextPromptId: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* User intent gate: while set, the drainer must not auto-dispatch this
|
|
31
|
+
* queue even when the session is available. Set when the user stops the
|
|
32
|
+
* session; cleared by an explicit user send (composer submit resumes, and
|
|
33
|
+
* promotePrompt clears it as part of "send now").
|
|
34
|
+
*/
|
|
35
|
+
suspendReason: AgentQueuedPromptSuspendReason | null;
|
|
28
36
|
workspaceId: string;
|
|
29
37
|
}
|
|
30
38
|
interface AgentQueuedPromptSnapshot {
|
|
@@ -90,9 +98,20 @@ interface AgentQueuedPromptRuntime {
|
|
|
90
98
|
retryBlock: AgentQueuedPromptRetryBlock | null;
|
|
91
99
|
workspaceId: string;
|
|
92
100
|
}): void;
|
|
101
|
+
/** Hold the queue after a user stop; a no-op when the queue is empty. */
|
|
102
|
+
suspendQueue(input: {
|
|
103
|
+
agentSessionId: string;
|
|
104
|
+
reason: AgentQueuedPromptSuspendReason;
|
|
105
|
+
workspaceId: string;
|
|
106
|
+
}): void;
|
|
107
|
+
/** Lift a user-stop hold (explicit user send). */
|
|
108
|
+
resumeQueue(input: {
|
|
109
|
+
agentSessionId: string;
|
|
110
|
+
workspaceId: string;
|
|
111
|
+
}): void;
|
|
93
112
|
subscribe(listener: () => void): () => void;
|
|
94
113
|
}
|
|
95
114
|
declare const EMPTY_AGENT_QUEUED_PROMPT_SNAPSHOT: AgentQueuedPromptSnapshot;
|
|
96
115
|
declare function createAgentQueuedPromptRuntime(): AgentQueuedPromptRuntime;
|
|
97
116
|
|
|
98
|
-
export { type AgentQueuedPromptClaim, type AgentQueuedPromptClaimResult, type AgentQueuedPromptQueueSnapshot, type AgentQueuedPromptRetryBlock, type AgentQueuedPromptRuntime, type AgentQueuedPromptSnapshot, EMPTY_AGENT_QUEUED_PROMPT_SNAPSHOT, createAgentQueuedPromptRuntime };
|
|
117
|
+
export { type AgentQueuedPromptClaim, type AgentQueuedPromptClaimResult, type AgentQueuedPromptQueueSnapshot, type AgentQueuedPromptRetryBlock, type AgentQueuedPromptRuntime, type AgentQueuedPromptSnapshot, type AgentQueuedPromptSuspendReason, EMPTY_AGENT_QUEUED_PROMPT_SNAPSHOT, createAgentQueuedPromptRuntime };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_4006_12727)">
|
|
3
|
+
<path d="M11.211 0.548002C15.073 0.543295 17.9345 1.81179 19.9296 3.83278L20.0239 3.92959C23.0552 7.07998 23.023 10.8748 22.9943 11.9018C22.8951 15.489 21.1542 19.394 18.0294 21.4325C15.586 23.0268 12.2832 23.8613 9.04026 23.2149C5.73648 22.5563 2.62419 20.3848 0.625961 16.2234L3.20797 14.9835C4.83801 18.3782 7.22765 19.933 9.60024 20.4059C12.0336 20.891 14.5815 20.2622 16.4644 19.0336L16.4645 19.0335C18.641 17.6137 20.0521 14.6807 20.1311 11.8223V11.8219C20.1548 10.9733 20.1554 8.19731 17.96 5.91559C16.5591 4.45982 14.4443 3.40834 11.2145 3.41226C6.37955 3.4188 3.86602 6.76421 3.83019 9.29717L3.82979 9.35691C3.83105 10.3775 4.17276 11.3212 4.80308 11.8258C5.35665 12.269 6.54025 12.6884 9.00181 11.7756C9.74148 11.5012 10.4014 11.1957 11.0683 10.8751C11.7204 10.5617 12.4153 10.2154 13.1403 9.91163C14.6484 9.2797 16.3347 8.80763 18.7078 8.80454L18.7115 11.6688C16.7745 11.6713 15.463 12.0439 14.2473 12.5533C13.6103 12.8202 13.0118 13.1188 12.3092 13.4566C11.6213 13.7872 10.8653 14.1393 9.99793 14.4611H9.99777C7.01416 15.5675 4.64823 15.3711 3.01281 14.0617C1.45417 12.8137 0.967387 10.8679 0.965528 9.36047L0.965609 9.36039C0.960216 5.06707 4.93334 0.55642 11.2108 0.548002H11.211Z" fill="black"/>
|
|
4
|
+
<path d="M6.97341 14.9505V6.38824H9.83775V14.9505C9.83775 15.3767 9.92837 15.571 9.98458 15.6564C10.0386 15.7384 10.1373 15.8367 10.3693 15.9334C10.9249 16.1648 11.8087 16.2252 13.1098 16.2252V19.0894C11.9066 19.0894 10.4383 19.065 9.26781 18.5774C8.63685 18.3146 8.02895 17.8947 7.59224 17.2314C7.15772 16.5714 6.97341 15.793 6.97341 14.9505Z" fill="black"/>
|
|
5
|
+
<path d="M12.918 14.9505V6.38824H15.7824V14.9505C15.7824 15.3767 15.873 15.571 15.9292 15.6564C15.9832 15.7384 16.0819 15.8367 16.3139 15.9334C16.8695 16.1648 17.7533 16.2252 19.0544 16.2252V19.0894C17.8512 19.0894 16.3829 19.065 15.2124 18.5774C14.5815 18.3146 13.9736 17.8947 13.5369 17.2314C13.1023 16.5714 12.918 15.793 12.918 14.9505Z" fill="black"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_4006_12727">
|
|
9
|
+
<rect width="24" height="24" fill="white"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type AgentHostAgentSessionProvider = "claude-code" | "codex" | "cursor" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
1
|
+
type AgentHostAgentSessionProvider = "claude-code" | "codex" | "tutti-agent" | "cursor" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
2
2
|
type AgentHostAgentSessionPermissionModeSemantic = "ask-before-write" | "accept-edits" | "locked-down" | "auto" | "full-access" | "unconfigurable";
|
|
3
3
|
type AgentHostAgentSessionReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | string;
|
|
4
4
|
type AgentHostAgentSessionSpeed = "standard" | "fast" | string;
|
|
@@ -128,7 +128,7 @@ interface AgentHostAgentSessionCommand {
|
|
|
128
128
|
inputHint?: string;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
declare const AGENT_PROVIDERS: readonly ["claude-code", "codex", "cursor", "nexight", "opencode", "gemini", "openclaw", "hermes"];
|
|
131
|
+
declare const AGENT_PROVIDERS: readonly ["claude-code", "codex", "cursor", "tutti-agent", "nexight", "opencode", "gemini", "openclaw", "hermes"];
|
|
132
132
|
type AgentProvider = (typeof AGENT_PROVIDERS)[number];
|
|
133
133
|
|
|
134
134
|
interface AgentGUINodeData {
|
|
@@ -147,7 +147,7 @@ interface AgentGUINodeData {
|
|
|
147
147
|
composerOverridesByAgentTargetId?: Record<string, AgentHostAgentSessionComposerSettings | null> | null;
|
|
148
148
|
composerOverridesByProvider?: Partial<Record<AgentGUIProvider, AgentHostAgentSessionComposerSettings | null>> | null;
|
|
149
149
|
}
|
|
150
|
-
type AgentGUIProvider = Extract<AgentProvider, "claude-code" | "codex" | "cursor" | "nexight" | "gemini" | "hermes" | "openclaw">;
|
|
150
|
+
type AgentGUIProvider = Extract<AgentProvider, "claude-code" | "codex" | "tutti-agent" | "cursor" | "nexight" | "gemini" | "hermes" | "openclaw">;
|
|
151
151
|
interface AgentGUIProviderTargetRef {
|
|
152
152
|
kind: string;
|
|
153
153
|
provider: AgentGUIProvider;
|
|
@@ -165,6 +165,19 @@ interface AgentGUIProviderTarget {
|
|
|
165
165
|
disabled?: boolean;
|
|
166
166
|
unavailableReason?: string;
|
|
167
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* How the provider rail composes the target list.
|
|
170
|
+
* - "catalog" (default): host-provided targets are augmented with the static
|
|
171
|
+
* local provider catalog, disabled placeholders (nexight/hermes/openclaw),
|
|
172
|
+
* and coming-soon markers. When no targets are provided, the full local
|
|
173
|
+
* catalog is shown.
|
|
174
|
+
* - "exact": the rail renders exactly the provided targets — no static catalog
|
|
175
|
+
* fallback, no disabled placeholders, no coming-soon injection. When the list
|
|
176
|
+
* is empty (and not loading) the host-provided empty renderer is shown. Use
|
|
177
|
+
* this when the list is fully orchestrated externally (e.g. shared agents,
|
|
178
|
+
* custom /agents).
|
|
179
|
+
*/
|
|
180
|
+
type AgentGUIProviderRailMode = "catalog" | "exact";
|
|
168
181
|
type AgentGUIProviderReadinessGateStatus = "checking" | "coming_soon" | "not_installed" | "auth_required" | "unavailable";
|
|
169
182
|
type AgentGUIProviderReadinessGateAction = "install" | "login" | "refresh";
|
|
170
183
|
interface AgentGUIProviderReadinessGate {
|
|
@@ -185,4 +198,4 @@ interface NodeFrame {
|
|
|
185
198
|
size: Size;
|
|
186
199
|
}
|
|
187
200
|
|
|
188
|
-
export type { AgentGUINodeData as A, NodeFrame as N, Point as P, AgentGUIProvider as a,
|
|
201
|
+
export type { AgentGUINodeData as A, NodeFrame as N, Point as P, AgentGUIProvider as a, AgentGUIProviderRailMode as b, AgentGUIProviderReadinessGate as c, AgentGUIProviderReadinessGateAction as d, AgentGUIProviderReadinessGateStatus as e, AgentGUIProviderTarget as f, AgentGUIProviderTargetRef as g, AgentHostActivateAgentSessionResult as h, AgentHostAgentSessionCommand as i, AgentHostAgentSessionComposerSettings as j, AgentHostAgentSessionPermissionConfig as k, AgentHostAgentSessionReasoningEffort as l, AgentHostAgentSessionSpeed as m, AgentHostAgentSessionState as n, AgentHostUnactivateAgentSessionResult as o, AgentHostUpdateAgentSessionSettingsResult as p, AgentPromptContentBlock as q, AgentProvider as r };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { WorkbenchFrame, WorkbenchHostNodeBodyContext, WorkbenchHostLaunchRequest, WorkbenchHostDockEntry, WorkbenchContribution } from '@tutti-os/workbench-surface';
|
|
3
3
|
import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchState } from './types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { f as AgentGUIProviderTarget, g as AgentGUIProviderTargetRef } from '../types-BxOwnK7K.js';
|
|
5
5
|
|
|
6
6
|
declare const agentGuiWorkbenchDefaultNodeFrame: WorkbenchFrame;
|
|
7
7
|
declare const agentGuiWorkbenchDefaultUsableWidthRatio = 0.8;
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
14
14
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
15
15
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-UAXKJNM2.js";
|
|
17
|
+
import "../chunk-JWWHS34V.js";
|
|
18
|
+
import "../chunk-DP2X4J2D.js";
|
|
19
|
+
import "../chunk-NCAVJEHI.js";
|
|
20
|
+
import "../chunk-RNFP7CUO.js";
|
|
21
|
+
import "../chunk-DQTBWOIK.js";
|
|
22
|
+
import "../chunk-SKWDZTEV.js";
|
|
23
|
+
import "../chunk-OEJQJP65.js";
|
|
24
24
|
export {
|
|
25
25
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
26
26
|
AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
|
|
@@ -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-BxOwnK7K.js';
|
|
10
10
|
import '@tutti-os/agent-activity-core';
|
|
11
11
|
import '../uiSettings-BQS9r2eo.js';
|
|
12
12
|
|
package/dist/workbench/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
createAgentGuiWorkbenchContribution,
|
|
9
9
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
10
10
|
resolveAgentGuiWorkbenchContributionCopy
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-UAXKJNM2.js";
|
|
12
12
|
import {
|
|
13
13
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
14
14
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
normalizeAgentGuiWorkbenchNodeState,
|
|
19
19
|
normalizeAgentGuiWorkbenchState,
|
|
20
20
|
projectAgentGuiWorkbenchState
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-JWWHS34V.js";
|
|
22
22
|
import {
|
|
23
23
|
agentGuiWorkbenchDockEntryId,
|
|
24
24
|
agentGuiWorkbenchDockIdentityFromIdentifier,
|
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
createAgentGuiWorkbenchInstanceId,
|
|
32
32
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
33
33
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-DP2X4J2D.js";
|
|
35
35
|
import {
|
|
36
36
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
37
37
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-NCAVJEHI.js";
|
|
39
39
|
import {
|
|
40
40
|
agentGuiWorkbenchComingSoonProviders,
|
|
41
41
|
agentGuiWorkbenchDefaultDockProviders,
|
|
@@ -48,17 +48,17 @@ import {
|
|
|
48
48
|
isAgentGuiWorkbenchProvider,
|
|
49
49
|
normalizeAgentGuiWorkbenchProvider,
|
|
50
50
|
resolveAgentGuiWorkbenchProviderLabel
|
|
51
|
-
} from "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
51
|
+
} from "../chunk-RNFP7CUO.js";
|
|
52
|
+
import "../chunk-DQTBWOIK.js";
|
|
53
|
+
import "../chunk-SKWDZTEV.js";
|
|
54
54
|
import {
|
|
55
55
|
formatAgentGuiConversationPlainTitle,
|
|
56
56
|
formatAgentGuiSessionPlainTitle,
|
|
57
57
|
resolveAgentGuiWorkbenchSessionTitle
|
|
58
|
-
} from "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
58
|
+
} from "../chunk-XBR7D7X2.js";
|
|
59
|
+
import "../chunk-ZABN3POD.js";
|
|
60
|
+
import "../chunk-OEJQJP65.js";
|
|
61
|
+
import "../chunk-MA254MXR.js";
|
|
62
62
|
import "../chunk-GCBDIQDX.js";
|
|
63
63
|
export {
|
|
64
64
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_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-BxOwnK7K.js';
|
|
4
4
|
|
|
5
5
|
type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "payload" | "typeId"> & {
|
|
6
6
|
dockEntryId?: string | null;
|
package/dist/workbench/launch.js
CHANGED
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
createAgentGuiWorkbenchSessionLaunchRequest,
|
|
13
13
|
resolveAgentGuiWorkbenchLaunchDockEntryId,
|
|
14
14
|
shouldReuseAgentGuiWorkbenchDockEntryNode
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-DP2X4J2D.js";
|
|
16
16
|
import {
|
|
17
17
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-NCAVJEHI.js";
|
|
19
|
+
import "../chunk-RNFP7CUO.js";
|
|
20
20
|
export {
|
|
21
21
|
agentGuiWorkbenchDockEntryId,
|
|
22
22
|
agentGuiWorkbenchDockIdentityFromIdentifier,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AgentGuiWorkbenchProvider } from './types.js';
|
|
2
|
-
import '../types-
|
|
2
|
+
import '../types-BxOwnK7K.js';
|
|
3
3
|
|
|
4
|
-
declare const agentGuiWorkbenchProviders: readonly ["claude-code", "codex", "cursor", "
|
|
5
|
-
declare const agentGuiWorkbenchDefaultDockProviders: readonly ["codex", "claude-code"];
|
|
4
|
+
declare const agentGuiWorkbenchProviders: readonly ["claude-code", "codex", "cursor", "tutti-agent", "hermes", "gemini", "openclaw"];
|
|
5
|
+
declare const agentGuiWorkbenchDefaultDockProviders: readonly ["codex", "claude-code", "tutti-agent"];
|
|
6
6
|
declare const agentGuiWorkbenchDockSuppressedProviders: readonly ["hermes", "gemini"];
|
|
7
|
-
declare const agentGuiWorkbenchComingSoonProviders: readonly [
|
|
7
|
+
declare const agentGuiWorkbenchComingSoonProviders: readonly [];
|
|
8
8
|
declare const agentGuiWorkbenchProviderLabels: Record<AgentGuiWorkbenchProvider, string>;
|
|
9
9
|
declare function resolveAgentGuiWorkbenchProviderLabel(provider: AgentGuiWorkbenchProvider): string;
|
|
10
10
|
declare function isAgentGuiWorkbenchDefaultDockProvider(provider: AgentGuiWorkbenchProvider): boolean;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isAgentGuiWorkbenchProvider,
|
|
11
11
|
normalizeAgentGuiWorkbenchProvider,
|
|
12
12
|
resolveAgentGuiWorkbenchProviderLabel
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-RNFP7CUO.js";
|
|
14
14
|
export {
|
|
15
15
|
agentGuiWorkbenchComingSoonProviders,
|
|
16
16
|
agentGuiWorkbenchDefaultDockProviders,
|
|
@@ -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-BxOwnK7K.js';
|
|
5
5
|
|
|
6
6
|
interface AgentGuiSessionTitleFormatOptions {
|
|
7
7
|
fallbackAgentLabel?: string;
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
formatAgentGuiConversationPlainTitle,
|
|
3
3
|
formatAgentGuiSessionPlainTitle,
|
|
4
4
|
resolveAgentGuiWorkbenchSessionTitle
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-XBR7D7X2.js";
|
|
6
|
+
import "../chunk-ZABN3POD.js";
|
|
7
|
+
import "../chunk-MA254MXR.js";
|
|
8
8
|
import "../chunk-GCBDIQDX.js";
|
|
9
9
|
export {
|
|
10
10
|
formatAgentGuiConversationPlainTitle,
|
|
@@ -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-BxOwnK7K.js';
|
|
4
4
|
|
|
5
5
|
type AgentGuiWorkbenchStateLookupRequest = Pick<WorkbenchHostExternalStateLookupInput, "instanceId" | "typeId"> & Partial<Pick<WorkbenchHostExternalStateLookupInput, "nodeId">>;
|
|
6
6
|
declare function createDefaultAgentGuiWorkbenchNodeState(provider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
|
package/dist/workbench/state.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
normalizeAgentGuiWorkbenchNodeState,
|
|
8
8
|
normalizeAgentGuiWorkbenchState,
|
|
9
9
|
projectAgentGuiWorkbenchState
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-JWWHS34V.js";
|
|
11
|
+
import "../chunk-RNFP7CUO.js";
|
|
12
|
+
import "../chunk-SKWDZTEV.js";
|
|
13
13
|
export {
|
|
14
14
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
15
15
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as AgentGUIProviderTargetRef } from '../types-BxOwnK7K.js';
|
|
2
2
|
|
|
3
|
-
type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "cursor" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
3
|
+
type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "tutti-agent" | "cursor" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
4
4
|
declare const agentGuiWorkbenchOpenSessionActivationType = "agent-gui:open-session";
|
|
5
5
|
declare const agentGuiWorkbenchPrefillPromptActivationType = "agent-gui:prefill-prompt";
|
|
6
6
|
interface AgentGuiWorkbenchPrefillPromptPayload {
|
package/dist/workbench/types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
3
3
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NCAVJEHI.js";
|
|
5
5
|
export {
|
|
6
6
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
7
7
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveWorkspaceAgentActivityStatus,
|
|
5
5
|
resolveWorkspaceAgentActivityTitle,
|
|
6
6
|
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YYAP6IK7.js";
|
|
8
8
|
import "./chunk-IBIMGLCD.js";
|
|
9
9
|
import "./chunk-Y35GDLP2.js";
|
|
10
10
|
import {
|
|
11
11
|
workspaceAgentProviderLabel
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-IL2ORY23.js";
|
|
13
|
+
import "./chunk-KS4ULVGM.js";
|
|
14
|
+
import "./chunk-MA254MXR.js";
|
|
15
15
|
import "./chunk-GCBDIQDX.js";
|
|
16
16
|
export {
|
|
17
17
|
buildWorkspaceAgentActivityListViewModel,
|
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.67",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -94,17 +94,17 @@
|
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
96
|
"@monaco-editor/react": "^4.7.0",
|
|
97
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
98
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
99
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
100
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
101
|
-
"@tutti-os/ui-system": "0.0.
|
|
102
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
103
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
104
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
105
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
106
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
107
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
97
|
+
"@tutti-os/agent-activity-core": "0.0.67",
|
|
98
|
+
"@tutti-os/ui-i18n-runtime": "0.0.67",
|
|
99
|
+
"@tutti-os/ui-rich-text": "0.0.67",
|
|
100
|
+
"@tutti-os/ui-react-hooks": "0.0.67",
|
|
101
|
+
"@tutti-os/ui-system": "0.0.67",
|
|
102
|
+
"@tutti-os/workbench-surface": "0.0.67",
|
|
103
|
+
"@tutti-os/workspace-external-core": "0.0.67",
|
|
104
|
+
"@tutti-os/workspace-file-manager": "0.0.67",
|
|
105
|
+
"@tutti-os/workspace-file-reference": "0.0.67",
|
|
106
|
+
"@tutti-os/workspace-issue-manager": "0.0.67",
|
|
107
|
+
"@tutti-os/workspace-user-project": "0.0.67",
|
|
108
108
|
"@tanstack/react-virtual": "^3.13.12",
|
|
109
109
|
"@tiptap/core": "^3.11.1",
|
|
110
110
|
"@tiptap/pm": "^3.23.6",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M4.15672 0.923957C5.52544 0.283494 7.07068 0.123903 8.54141 0.471076C10.012 0.818299 11.3224 1.652 12.2602 2.83688C13.198 4.02185 13.7082 5.48879 13.7082 6.99996V7.5833C13.7082 8.27949 13.4315 8.94697 12.9392 9.43925C12.4469 9.93152 11.7794 10.2083 11.0832 10.2083C10.3871 10.2083 9.71954 9.93152 9.22728 9.43925C9.20473 9.4167 9.18341 9.39303 9.16177 9.36976C8.59144 9.89033 7.83294 10.2083 6.9999 10.2083C5.22803 10.2082 3.79157 8.77185 3.79157 6.99996C3.79159 5.2281 5.22805 3.79168 6.9999 3.79163C7.57711 3.79163 8.11847 3.94468 8.58641 4.21147C8.74008 3.95987 9.01686 3.79166 9.33324 3.79163C9.81648 3.79163 10.2082 4.1834 10.2082 4.66663V7.5833C10.2082 7.81533 10.3005 8.03786 10.4646 8.20195C10.6287 8.36602 10.8512 8.45827 11.0832 8.4583C11.3153 8.4583 11.5378 8.36603 11.7019 8.20195C11.866 8.03786 11.9582 7.81536 11.9582 7.5833V6.99996C11.9582 5.88302 11.581 4.7985 10.8878 3.92265C10.1947 3.04698 9.22614 2.43098 8.13923 2.17436C7.05219 1.91777 5.91006 2.0354 4.89842 2.50875C3.88684 2.98212 3.06461 3.78336 2.56509 4.78227C2.06558 5.7813 1.91811 6.92003 2.14639 8.01339C2.37468 9.10674 2.96539 10.0913 3.8229 10.807C4.68041 11.5226 5.75467 11.9276 6.87116 11.9566C7.98766 11.9856 9.08115 11.6366 9.97468 10.9665C10.3612 10.6766 10.91 10.7549 11.2 11.1414C11.4899 11.528 11.4117 12.0768 11.0251 12.3667C9.81619 13.2734 8.33625 13.7453 6.82559 13.706C5.31501 13.6667 3.86197 13.1185 2.70181 12.1503C1.54166 11.182 0.742296 9.85035 0.433417 8.37114C0.12458 6.89196 0.32394 5.3517 0.99966 4.00013C1.67547 2.64852 2.78802 1.56444 4.15672 0.923957ZM6.9999 5.54163C6.19454 5.54168 5.54159 6.1946 5.54157 6.99996C5.54157 7.80535 6.19453 8.45825 6.9999 8.4583C7.80532 8.4583 8.45824 7.80538 8.45824 6.99996C8.45822 6.19457 7.80531 5.54163 6.9999 5.54163Z" fill="black"/>
|
|
3
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#000" d="M14.293 5.293a3 3 0 0 1 0 4.243L10.414 12l3.879 3.464a3 3 0 1 1-4 4.464l-6-5.354a3 3 0 0 1 0-4.464l6-5.354a3 3 0 0 1 4 0"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../workbench/types.ts"],"sourcesContent":["import type { AgentGUIProviderTargetRef } from \"../types\";\n\nexport type AgentGuiWorkbenchProvider =\n | \"claude-code\"\n | \"codex\"\n | \"cursor\"\n | \"nexight\"\n | \"gemini\"\n | \"hermes\"\n | \"openclaw\";\n\nexport const agentGuiWorkbenchOpenSessionActivationType =\n \"agent-gui:open-session\";\n\nexport const agentGuiWorkbenchPrefillPromptActivationType =\n \"agent-gui:prefill-prompt\";\n\nexport interface AgentGuiWorkbenchPrefillPromptPayload {\n agentTargetId?: string | null;\n autoSubmit?: boolean;\n draftPrompt: string;\n provider?: AgentGuiWorkbenchProvider;\n userProjectPath?: string | null;\n}\n\nexport interface AgentGuiWorkbenchComposerOverrides {\n model?: string | null;\n permissionModeId?: string | null;\n planMode?: boolean;\n reasoningEffort?: string | null;\n speed?: string | null;\n}\n\nexport type AgentGuiWorkbenchComposerOverridesByProvider = Partial<\n Record<AgentGuiWorkbenchProvider, AgentGuiWorkbenchComposerOverrides | null>\n>;\n\nexport type AgentGuiWorkbenchComposerOverridesByAgentTargetId = Record<\n string,\n AgentGuiWorkbenchComposerOverrides | null\n>;\n\nexport interface AgentGuiWorkbenchNodeState {\n agentTargetId?: string | null;\n composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;\n composerOverridesByAgentTargetId?: AgentGuiWorkbenchComposerOverridesByAgentTargetId | null;\n composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | null;\n conversationCount?: number | null;\n conversationRailCollapsed?: boolean | null;\n conversationRailWidthPx?: number | null;\n lastActiveAgentSessionId: string | null;\n /** @deprecated Conversation titles are derived from the active session id. */\n lastActiveConversationTitle?: string | null;\n provider: AgentGuiWorkbenchProvider;\n /** @deprecated Use agentTargetId for selection restore. */\n providerTargetId?: string | null;\n /** @deprecated Provider target refs are resolved from the current target list. */\n providerTargetRef?: AgentGUIProviderTargetRef | null;\n}\n\nexport interface AgentGuiWorkbenchState {\n agentTargetId?: string | null;\n conversationRailCollapsed?: boolean | null;\n conversationRailWidthPx?: number | null;\n lastActiveAgentSessionId: string | null;\n lastActiveConversationTitle?: string | null;\n}\n\nexport interface AgentGuiWorkbenchWorkspaceState {\n workspaceId: string;\n}\n"],"mappings":";AAWO,IAAM,6CACX;AAEK,IAAM,+CACX;","names":[]}
|