@tutti-os/agent-gui 0.0.12 → 0.0.13
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/agent-conversation/index.d.ts +5 -52
- package/dist/agent-conversation/index.js +4 -3
- package/dist/agent-conversation/index.js.map +1 -1
- package/dist/agent-message-center/index.d.ts +15 -5
- package/dist/agent-message-center/index.js +47 -28
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentConversationVM-BtHYOTgv.d.ts → agentConversationVM-BVe64P2E.d.ts} +1 -1
- package/dist/app/renderer/agentactivity.css +111 -134
- package/dist/app/renderer/assets/icons/agents/manage-agent-tutti.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-nexight.png +0 -0
- package/dist/chunk-3YZX5EUC.js +1993 -0
- package/dist/chunk-3YZX5EUC.js.map +1 -0
- package/dist/{chunk-QU4F2RSS.js → chunk-ASAZDEQE.js} +7 -7
- package/dist/chunk-ASAZDEQE.js.map +1 -0
- package/dist/{chunk-Y3AQGWJA.js → chunk-FSTZDNRM.js} +43 -3
- package/dist/chunk-FSTZDNRM.js.map +1 -0
- package/dist/{chunk-72YSPOHX.js → chunk-GZHQPPK2.js} +626 -1915
- package/dist/chunk-GZHQPPK2.js.map +1 -0
- package/dist/{chunk-Y5O7BVGU.js → chunk-HSXDSFKB.js} +10 -1123
- package/dist/chunk-HSXDSFKB.js.map +1 -0
- package/dist/{chunk-PKCJR6GC.js → chunk-KEKPOVQD.js} +14 -7
- package/dist/chunk-KEKPOVQD.js.map +1 -0
- package/dist/{chunk-4ASBZ4X7.js → chunk-MTFSQWZ6.js} +2 -2
- package/dist/chunk-MU2LODEV.js +1211 -0
- package/dist/chunk-MU2LODEV.js.map +1 -0
- package/dist/{chunk-R5Q2UDDH.js → chunk-Q75AK47T.js} +2 -2
- package/dist/{chunk-PONEQEJ5.js → chunk-RLPVFX7V.js} +137 -31
- package/dist/chunk-RLPVFX7V.js.map +1 -0
- package/dist/chunk-VDNMTW2E.js +9 -0
- package/dist/chunk-VDNMTW2E.js.map +1 -0
- package/dist/chunk-WME2V26J.js +1124 -0
- package/dist/chunk-WME2V26J.js.map +1 -0
- package/dist/chunk-YXSO4ITT.js +10 -0
- package/dist/chunk-YXSO4ITT.js.map +1 -0
- package/dist/{chunk-3735XYFZ.js → chunk-ZO3SZCIX.js} +54 -3
- package/dist/chunk-ZO3SZCIX.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +203 -0
- package/dist/context-mention-palette/index.js +30 -0
- package/dist/context-mention-provider.d.ts +51 -0
- package/dist/context-mention-provider.js +7 -0
- package/dist/context-mention-provider.js.map +1 -0
- package/dist/i18n/index.d.ts +42 -2
- package/dist/i18n/index.js +1 -1
- package/dist/index.d.ts +31 -6
- package/dist/index.js +2465 -3690
- package/dist/index.js.map +1 -1
- package/dist/plan-decision-ops.d.ts +2 -2
- package/dist/workbench/contribution.js +5 -5
- package/dist/workbench/index.d.ts +2 -2
- package/dist/workbench/index.js +10 -6
- package/dist/workbench/launch.d.ts +19 -2
- package/dist/workbench/launch.js +7 -2
- package/dist/workbench/types.d.ts +6 -1
- package/dist/workbench/types.js +5 -3
- package/dist/workspace-agent-generated-files.d.ts +1 -1
- package/dist/workspace-agent-generated-files.js +2 -2
- package/dist/{workspaceAgentActivityListViewModel-BLLYGuFO.d.ts → workspaceAgentActivityListViewModel-BK_J3aNX.d.ts} +8 -5
- package/dist/{workspaceLinkActions-Bwa-phu8.d.ts → workspaceLinkActions-BlLN8Pvz.d.ts} +7 -1
- package/package.json +24 -15
- package/dist/agent-rich-text-at-provider.d.ts +0 -49
- package/dist/agent-rich-text-at-provider.js +0 -7
- package/dist/chunk-3735XYFZ.js.map +0 -1
- package/dist/chunk-6AZ2KF6R.js +0 -7
- package/dist/chunk-6AZ2KF6R.js.map +0 -1
- package/dist/chunk-72YSPOHX.js.map +0 -1
- package/dist/chunk-KCC3GNPB.js +0 -13
- package/dist/chunk-KCC3GNPB.js.map +0 -1
- package/dist/chunk-PKCJR6GC.js.map +0 -1
- package/dist/chunk-PONEQEJ5.js.map +0 -1
- package/dist/chunk-QU4F2RSS.js.map +0 -1
- package/dist/chunk-Y3AQGWJA.js.map +0 -1
- package/dist/chunk-Y5O7BVGU.js.map +0 -1
- /package/dist/{chunk-4ASBZ4X7.js.map → chunk-MTFSQWZ6.js.map} +0 -0
- /package/dist/{chunk-R5Q2UDDH.js.map → chunk-Q75AK47T.js.map} +0 -0
- /package/dist/{agent-rich-text-at-provider.js.map → context-mention-palette/index.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AgentConversationPromptVM } from './agentConversationVM-
|
|
2
|
-
import './workspaceAgentActivityListViewModel-
|
|
1
|
+
import { A as AgentConversationPromptVM } from './agentConversationVM-BVe64P2E.js';
|
|
2
|
+
import './workspaceAgentActivityListViewModel-BK_J3aNX.js';
|
|
3
3
|
import '@tutti-os/agent-activity-core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
createAgentGuiWorkbenchContribution,
|
|
8
8
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
9
9
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-ASAZDEQE.js";
|
|
11
|
+
import "../chunk-ZO3SZCIX.js";
|
|
12
12
|
import "../chunk-GEXHKJK5.js";
|
|
13
13
|
import "../chunk-22L4VWUR.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-VDNMTW2E.js";
|
|
15
|
+
import "../chunk-Q75AK47T.js";
|
|
16
|
+
import "../chunk-MTFSQWZ6.js";
|
|
17
17
|
export {
|
|
18
18
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
19
19
|
agentGuiWorkbenchCompactVisibleAreaRatio,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AgentGuiWorkbenchContributionCopy, AgentGuiWorkbenchContributionCopyOverrides, AgentGuiWorkbenchConversationRailToggleDetail, AgentGuiWorkbenchRenderBodyHelpers, CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, createAgentGuiWorkbenchContribution, resolveAgentGuiWorkbenchContributionCopy } from './contribution.js';
|
|
2
2
|
export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProviders, agentGuiWorkbenchDockSuppressedProviders, agentGuiWorkbenchProviderLabels, agentGuiWorkbenchProviders, isAgentGuiWorkbenchComingSoonProvider, isAgentGuiWorkbenchDefaultDockProvider, isAgentGuiWorkbenchDockSuppressedProvider, isAgentGuiWorkbenchProvider, normalizeAgentGuiWorkbenchProvider, resolveAgentGuiWorkbenchProviderLabel } from './providerCatalog.js';
|
|
3
|
-
export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest } from './launch.js';
|
|
3
|
+
export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest } from './launch.js';
|
|
4
4
|
export { agentGuiWorkbenchProviderFromInstanceId, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
|
|
5
5
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
6
|
-
export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType } from './types.js';
|
|
6
|
+
export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
|
|
7
7
|
import '@tutti-os/workbench-surface';
|
|
8
8
|
|
|
9
9
|
interface AgentGuiWorkbenchHeaderCopy {
|
package/dist/workbench/index.js
CHANGED
|
@@ -5,17 +5,18 @@ import {
|
|
|
5
5
|
agentGuiWorkbenchDefaultNodeFrame,
|
|
6
6
|
createAgentGuiWorkbenchContribution,
|
|
7
7
|
resolveAgentGuiWorkbenchContributionCopy
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-ASAZDEQE.js";
|
|
9
9
|
import {
|
|
10
10
|
agentGuiWorkbenchDockEntryId,
|
|
11
11
|
agentGuiWorkbenchInstanceId,
|
|
12
12
|
agentGuiWorkbenchProviderFromIdentifier,
|
|
13
13
|
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
14
14
|
agentGuiWorkbenchTypeId,
|
|
15
|
+
createAgentGuiWorkbenchDraftLaunchRequest,
|
|
15
16
|
createAgentGuiWorkbenchInstanceId,
|
|
16
17
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
17
18
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
18
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-ZO3SZCIX.js";
|
|
19
20
|
import {
|
|
20
21
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
21
22
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
@@ -40,10 +41,11 @@ import {
|
|
|
40
41
|
resolveAgentGuiWorkbenchProviderLabel
|
|
41
42
|
} from "../chunk-22L4VWUR.js";
|
|
42
43
|
import {
|
|
43
|
-
agentGuiWorkbenchOpenSessionActivationType
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
import "../chunk-
|
|
44
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
45
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
46
|
+
} from "../chunk-VDNMTW2E.js";
|
|
47
|
+
import "../chunk-Q75AK47T.js";
|
|
48
|
+
import "../chunk-MTFSQWZ6.js";
|
|
47
49
|
export {
|
|
48
50
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
49
51
|
AgentGuiWorkbenchHeader,
|
|
@@ -55,6 +57,7 @@ export {
|
|
|
55
57
|
agentGuiWorkbenchDockSuppressedProviders,
|
|
56
58
|
agentGuiWorkbenchInstanceId,
|
|
57
59
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
60
|
+
agentGuiWorkbenchPrefillPromptActivationType,
|
|
58
61
|
agentGuiWorkbenchProviderFromIdentifier,
|
|
59
62
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
60
63
|
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
@@ -64,6 +67,7 @@ export {
|
|
|
64
67
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
65
68
|
areAgentGuiWorkbenchStatesEqual,
|
|
66
69
|
createAgentGuiWorkbenchContribution,
|
|
70
|
+
createAgentGuiWorkbenchDraftLaunchRequest,
|
|
67
71
|
createAgentGuiWorkbenchInstanceId,
|
|
68
72
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
69
73
|
createAgentGuiWorkbenchNodeStateSource,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
|
|
2
|
-
import { agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchProvider } from './types.js';
|
|
2
|
+
import { agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchPrefillPromptPayload, agentGuiWorkbenchPrefillPromptActivationType, AgentGuiWorkbenchProvider } from './types.js';
|
|
3
3
|
|
|
4
4
|
type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "payload" | "typeId"> & {
|
|
5
5
|
dockEntryId?: string | null;
|
|
@@ -25,12 +25,29 @@ declare function createAgentGuiWorkbenchSessionLaunchRequest(input: {
|
|
|
25
25
|
reason: "host";
|
|
26
26
|
typeId: string;
|
|
27
27
|
};
|
|
28
|
+
declare function createAgentGuiWorkbenchDraftLaunchRequest(input: {
|
|
29
|
+
draftPrompt: string;
|
|
30
|
+
provider: unknown;
|
|
31
|
+
userProjectPath?: string | null;
|
|
32
|
+
}): {
|
|
33
|
+
dockEntryId: string;
|
|
34
|
+
payload: {
|
|
35
|
+
userProjectPath?: string | undefined;
|
|
36
|
+
draftPrompt: string;
|
|
37
|
+
provider: AgentGuiWorkbenchProvider;
|
|
38
|
+
};
|
|
39
|
+
reason: "host";
|
|
40
|
+
typeId: string;
|
|
41
|
+
};
|
|
28
42
|
interface AgentGuiWorkbenchLaunchDescriptor {
|
|
29
43
|
activation: {
|
|
30
44
|
payload: {
|
|
31
45
|
agentSessionId: string;
|
|
32
46
|
};
|
|
33
47
|
type: typeof agentGuiWorkbenchOpenSessionActivationType;
|
|
48
|
+
} | {
|
|
49
|
+
payload: AgentGuiWorkbenchPrefillPromptPayload;
|
|
50
|
+
type: typeof agentGuiWorkbenchPrefillPromptActivationType;
|
|
34
51
|
} | null;
|
|
35
52
|
dockEntryId: string;
|
|
36
53
|
instanceId: string;
|
|
@@ -40,4 +57,4 @@ interface AgentGuiWorkbenchLaunchDescriptor {
|
|
|
40
57
|
}
|
|
41
58
|
declare function createAgentGuiWorkbenchLaunchDescriptor(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchLaunchDescriptor;
|
|
42
59
|
|
|
43
|
-
export { type AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest };
|
|
60
|
+
export { type AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchInstanceId, agentGuiWorkbenchPrefillPromptActivationType, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest };
|
package/dist/workbench/launch.js
CHANGED
|
@@ -4,18 +4,23 @@ import {
|
|
|
4
4
|
agentGuiWorkbenchProviderFromIdentifier,
|
|
5
5
|
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
6
6
|
agentGuiWorkbenchTypeId,
|
|
7
|
+
createAgentGuiWorkbenchDraftLaunchRequest,
|
|
7
8
|
createAgentGuiWorkbenchInstanceId,
|
|
8
9
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
9
10
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-ZO3SZCIX.js";
|
|
11
12
|
import "../chunk-22L4VWUR.js";
|
|
12
|
-
import
|
|
13
|
+
import {
|
|
14
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
15
|
+
} from "../chunk-VDNMTW2E.js";
|
|
13
16
|
export {
|
|
14
17
|
agentGuiWorkbenchDockEntryId,
|
|
15
18
|
agentGuiWorkbenchInstanceId,
|
|
19
|
+
agentGuiWorkbenchPrefillPromptActivationType,
|
|
16
20
|
agentGuiWorkbenchProviderFromIdentifier,
|
|
17
21
|
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
18
22
|
agentGuiWorkbenchTypeId,
|
|
23
|
+
createAgentGuiWorkbenchDraftLaunchRequest,
|
|
19
24
|
createAgentGuiWorkbenchInstanceId,
|
|
20
25
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
21
26
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
2
2
|
declare const agentGuiWorkbenchOpenSessionActivationType = "agent-gui:open-session";
|
|
3
|
+
declare const agentGuiWorkbenchPrefillPromptActivationType = "agent-gui:prefill-prompt";
|
|
4
|
+
interface AgentGuiWorkbenchPrefillPromptPayload {
|
|
5
|
+
draftPrompt: string;
|
|
6
|
+
userProjectPath?: string | null;
|
|
7
|
+
}
|
|
3
8
|
interface AgentGuiWorkbenchComposerOverrides {
|
|
4
9
|
model?: string | null;
|
|
5
10
|
permissionModeId?: string | null;
|
|
@@ -29,4 +34,4 @@ interface AgentGuiWorkbenchWorkspaceState {
|
|
|
29
34
|
workspaceId: string;
|
|
30
35
|
}
|
|
31
36
|
|
|
32
|
-
export { type AgentGuiWorkbenchComposerOverrides, type AgentGuiWorkbenchComposerOverridesByProvider, type AgentGuiWorkbenchNodeState, type AgentGuiWorkbenchProvider, type AgentGuiWorkbenchState, type AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType };
|
|
37
|
+
export { type AgentGuiWorkbenchComposerOverrides, type AgentGuiWorkbenchComposerOverridesByProvider, type AgentGuiWorkbenchNodeState, type AgentGuiWorkbenchPrefillPromptPayload, type AgentGuiWorkbenchProvider, type AgentGuiWorkbenchState, type AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType };
|
package/dist/workbench/types.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
agentGuiWorkbenchOpenSessionActivationType
|
|
3
|
-
|
|
2
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
3
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
4
|
+
} from "../chunk-VDNMTW2E.js";
|
|
4
5
|
export {
|
|
5
|
-
agentGuiWorkbenchOpenSessionActivationType
|
|
6
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
7
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
6
8
|
};
|
|
7
9
|
//# sourceMappingURL=types.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { B as BuildWorkspaceAgentActivityListOptions, W as WorkspaceAgentActivityCard, m as WorkspaceAgentActivityListViewModel, o as WorkspaceAgentActivityStatus, q as WorkspaceAgentChangedFile, r as buildWorkspaceAgentActivityListViewModel, s as collectWorkspaceAgentGeneratedFiles, t as resolveWorkspaceAgentActivityStatus, u as resolveWorkspaceAgentActivityTitle, v as reuseWorkspaceAgentActivityListViewModelIfUnchanged, w as workspaceAgentProviderLabel } from './workspaceAgentActivityListViewModel-
|
|
1
|
+
export { B as BuildWorkspaceAgentActivityListOptions, C as CollectWorkspaceAgentGeneratedFilesOptions, W as WorkspaceAgentActivityCard, m as WorkspaceAgentActivityListViewModel, o as WorkspaceAgentActivityStatus, q as WorkspaceAgentChangedFile, r as buildWorkspaceAgentActivityListViewModel, s as collectWorkspaceAgentGeneratedFiles, t as resolveWorkspaceAgentActivityStatus, u as resolveWorkspaceAgentActivityTitle, v as reuseWorkspaceAgentActivityListViewModelIfUnchanged, w as workspaceAgentProviderLabel } from './workspaceAgentActivityListViewModel-BK_J3aNX.js';
|
|
2
2
|
import '@tutti-os/agent-activity-core';
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveWorkspaceAgentActivityStatus,
|
|
5
5
|
resolveWorkspaceAgentActivityTitle,
|
|
6
6
|
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KEKPOVQD.js";
|
|
8
8
|
import "./chunk-IBIMGLCD.js";
|
|
9
9
|
import "./chunk-XJ34OIEQ.js";
|
|
10
10
|
import {
|
|
11
11
|
workspaceAgentProviderLabel
|
|
12
12
|
} from "./chunk-TYGL25EL.js";
|
|
13
13
|
import "./chunk-GCBDIQDX.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-FSTZDNRM.js";
|
|
15
15
|
export {
|
|
16
16
|
buildWorkspaceAgentActivityListViewModel,
|
|
17
17
|
collectWorkspaceAgentGeneratedFiles,
|
|
@@ -45,7 +45,7 @@ interface AgentHostBatchUserInfoResult {
|
|
|
45
45
|
users: AgentHostUserInfo[];
|
|
46
46
|
}
|
|
47
47
|
type AgentHostWorkspaceAgentProvider = "codex" | "claude-code" | string;
|
|
48
|
-
type AgentHostWorkspaceAgentSessionOrigin = "
|
|
48
|
+
type AgentHostWorkspaceAgentSessionOrigin = "WORKSPACE_AGENT_SESSION_ORIGIN_RUNTIME" | string;
|
|
49
49
|
type AgentHostWorkspaceAgentPresenceStatus = "working" | "paused" | string;
|
|
50
50
|
type AgentHostWorkspaceAgentSessionLifecycleStatus = "active" | "ended" | "failed" | string;
|
|
51
51
|
type AgentHostWorkspaceAgentTurnPhase = "idle" | "working" | "waiting_approval" | "waiting_input" | "failed" | string;
|
|
@@ -197,7 +197,7 @@ interface RoomShareMemberView {
|
|
|
197
197
|
|
|
198
198
|
type WorkspaceAgentActivityProvider = "codex" | "claude-code" | string;
|
|
199
199
|
declare const WORKSPACE_AGENT_ACTIVITY_RUNTIME_SESSION_ORIGIN = "WORKSPACE_AGENT_SESSION_ORIGIN_RUNTIME";
|
|
200
|
-
type WorkspaceAgentActivitySessionOrigin =
|
|
200
|
+
type WorkspaceAgentActivitySessionOrigin = typeof WORKSPACE_AGENT_ACTIVITY_RUNTIME_SESSION_ORIGIN | string;
|
|
201
201
|
type WorkspaceAgentActivitySyncStatus = "pending" | "synced" | "failed" | string;
|
|
202
202
|
interface WorkspaceAgentActivitySyncState {
|
|
203
203
|
workspaceId?: string;
|
|
@@ -331,13 +331,16 @@ interface BuildWorkspaceAgentActivityListOptions {
|
|
|
331
331
|
userProfilesById?: Record<string, AgentHostUserInfo>;
|
|
332
332
|
fallbackMembers?: RoomShareMemberView[];
|
|
333
333
|
}
|
|
334
|
-
|
|
334
|
+
interface CollectWorkspaceAgentGeneratedFilesOptions {
|
|
335
335
|
workspaceRoot?: string | null;
|
|
336
|
-
|
|
336
|
+
/** When set, only include files from sessions whose cwd matches this path. */
|
|
337
|
+
sessionCwd?: string | null;
|
|
338
|
+
}
|
|
339
|
+
declare function collectWorkspaceAgentGeneratedFiles(snapshot: WorkspaceAgentActivitySnapshot, options?: CollectWorkspaceAgentGeneratedFilesOptions): WorkspaceAgentChangedFile[];
|
|
337
340
|
declare function buildWorkspaceAgentActivityListViewModel(snapshot: WorkspaceAgentActivitySnapshot, options?: BuildWorkspaceAgentActivityListOptions): WorkspaceAgentActivityListViewModel;
|
|
338
341
|
declare function reuseWorkspaceAgentActivityListViewModelIfUnchanged(previous: WorkspaceAgentActivityListViewModel | null, next: WorkspaceAgentActivityListViewModel): WorkspaceAgentActivityListViewModel;
|
|
339
342
|
|
|
340
343
|
declare function resolveWorkspaceAgentActivityStatus(session: WorkspaceAgentActivitySession): WorkspaceAgentActivityStatus;
|
|
341
344
|
declare function resolveWorkspaceAgentActivityTitle(session: WorkspaceAgentActivitySession, messages?: readonly WorkspaceAgentActivityMessage[]): string;
|
|
342
345
|
|
|
343
|
-
export { type AgentHostBatchUserInfoInput as A, type BuildWorkspaceAgentActivityListOptions as B, type ToolCallStatusKind as T, type WorkspaceAgentActivityCard as W, type AgentHostBatchUserInfoResult as a, type AgentHostDeleteWorkspaceAgentSessionInput as b, type AgentHostManagedAgentsState as c, type AgentHostRuntimeOpenclawGatewayWarmupResult as d, type AgentHostWorkspaceAgentListInput as e, type AgentHostWorkspaceAgentMessage as f, type AgentHostWorkspaceAgentSession as g, type AgentHostWorkspaceAgentSessionMessages as h, type AgentHostWorkspaceAgentSessionMessagesInput as i, type AgentHostWorkspaceAgentSessionSummary as j, type AgentHostWorkspaceAgentSessionSummaryInput as k, type AgentHostWorkspaceAgentSnapshot as l, type WorkspaceAgentActivityListViewModel as m, type WorkspaceAgentActivitySession as n, type WorkspaceAgentActivityStatus as o, type WorkspaceAgentActivityTimelineItem as p, type WorkspaceAgentChangedFile as q, buildWorkspaceAgentActivityListViewModel as r, collectWorkspaceAgentGeneratedFiles as s, resolveWorkspaceAgentActivityStatus as t, resolveWorkspaceAgentActivityTitle as u, reuseWorkspaceAgentActivityListViewModelIfUnchanged as v, workspaceAgentProviderLabel as w };
|
|
346
|
+
export { type AgentHostBatchUserInfoInput as A, type BuildWorkspaceAgentActivityListOptions as B, type CollectWorkspaceAgentGeneratedFilesOptions as C, type ToolCallStatusKind as T, type WorkspaceAgentActivityCard as W, type AgentHostBatchUserInfoResult as a, type AgentHostDeleteWorkspaceAgentSessionInput as b, type AgentHostManagedAgentsState as c, type AgentHostRuntimeOpenclawGatewayWarmupResult as d, type AgentHostWorkspaceAgentListInput as e, type AgentHostWorkspaceAgentMessage as f, type AgentHostWorkspaceAgentSession as g, type AgentHostWorkspaceAgentSessionMessages as h, type AgentHostWorkspaceAgentSessionMessagesInput as i, type AgentHostWorkspaceAgentSessionSummary as j, type AgentHostWorkspaceAgentSessionSummaryInput as k, type AgentHostWorkspaceAgentSnapshot as l, type WorkspaceAgentActivityListViewModel as m, type WorkspaceAgentActivitySession as n, type WorkspaceAgentActivityStatus as o, type WorkspaceAgentActivityTimelineItem as p, type WorkspaceAgentChangedFile as q, buildWorkspaceAgentActivityListViewModel as r, collectWorkspaceAgentGeneratedFiles as s, resolveWorkspaceAgentActivityStatus as t, resolveWorkspaceAgentActivityTitle as u, reuseWorkspaceAgentActivityListViewModelIfUnchanged as v, workspaceAgentProviderLabel as w };
|
|
@@ -46,6 +46,12 @@ interface OpenWorkspaceIssueLinkAction {
|
|
|
46
46
|
topicId?: string | null;
|
|
47
47
|
source: WorkspaceLinkActionSource;
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
interface OpenWorkspaceAppLinkAction {
|
|
50
|
+
type: "open-workspace-app";
|
|
51
|
+
workspaceId: string;
|
|
52
|
+
appId: string;
|
|
53
|
+
source: WorkspaceLinkActionSource;
|
|
54
|
+
}
|
|
55
|
+
type WorkspaceLinkAction = OpenWorkspaceFileLinkAction | OpenWorkspaceUrlLinkAction | OpenAgentSessionLinkAction | OpenWorkspaceIssueLinkAction | OpenWorkspaceAppLinkAction;
|
|
50
56
|
|
|
51
57
|
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.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -17,13 +17,17 @@
|
|
|
17
17
|
"types": "./dist/agent-conversation/index.d.ts",
|
|
18
18
|
"import": "./dist/agent-conversation/index.js"
|
|
19
19
|
},
|
|
20
|
+
"./context-mention-palette": {
|
|
21
|
+
"types": "./dist/context-mention-palette/index.d.ts",
|
|
22
|
+
"import": "./dist/context-mention-palette/index.js"
|
|
23
|
+
},
|
|
20
24
|
"./plan-decision-ops": {
|
|
21
25
|
"types": "./dist/plan-decision-ops.d.ts",
|
|
22
26
|
"import": "./dist/plan-decision-ops.js"
|
|
23
27
|
},
|
|
24
|
-
"./
|
|
25
|
-
"types": "./dist/
|
|
26
|
-
"import": "./dist/
|
|
28
|
+
"./context-mention-provider": {
|
|
29
|
+
"types": "./dist/context-mention-provider.d.ts",
|
|
30
|
+
"import": "./dist/context-mention-provider.js"
|
|
27
31
|
},
|
|
28
32
|
"./mention-file-presentation": {
|
|
29
33
|
"types": "./dist/mention-file-presentation.d.ts",
|
|
@@ -78,15 +82,17 @@
|
|
|
78
82
|
},
|
|
79
83
|
"dependencies": {
|
|
80
84
|
"@monaco-editor/react": "^4.7.0",
|
|
81
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
82
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
83
|
-
"@tutti-os/ui-
|
|
84
|
-
"@tutti-os/ui-
|
|
85
|
-
"@tutti-os/
|
|
86
|
-
"@tutti-os/
|
|
87
|
-
"@tutti-os/workspace-
|
|
88
|
-
"@tutti-os/workspace-
|
|
89
|
-
"@tutti-os/workspace-
|
|
85
|
+
"@tutti-os/agent-activity-core": "0.0.13",
|
|
86
|
+
"@tutti-os/ui-i18n-runtime": "0.0.13",
|
|
87
|
+
"@tutti-os/ui-rich-text": "0.0.13",
|
|
88
|
+
"@tutti-os/ui-react-hooks": "0.0.13",
|
|
89
|
+
"@tutti-os/ui-system": "0.0.13",
|
|
90
|
+
"@tutti-os/workbench-surface": "0.0.13",
|
|
91
|
+
"@tutti-os/workspace-external-core": "0.0.13",
|
|
92
|
+
"@tutti-os/workspace-file-manager": "0.0.13",
|
|
93
|
+
"@tutti-os/workspace-file-reference": "0.0.13",
|
|
94
|
+
"@tutti-os/workspace-issue-manager": "0.0.13",
|
|
95
|
+
"@tutti-os/workspace-user-project": "0.0.13",
|
|
90
96
|
"@tanstack/react-virtual": "^3.13.12",
|
|
91
97
|
"@tiptap/core": "^3.11.1",
|
|
92
98
|
"@tiptap/pm": "^3.23.6",
|
|
@@ -140,11 +146,14 @@
|
|
|
140
146
|
"agent-conversation": [
|
|
141
147
|
"./dist/agent-conversation/index.d.ts"
|
|
142
148
|
],
|
|
149
|
+
"context-mention-palette": [
|
|
150
|
+
"./dist/context-mention-palette/index.d.ts"
|
|
151
|
+
],
|
|
143
152
|
"plan-decision-ops": [
|
|
144
153
|
"./dist/plan-decision-ops.d.ts"
|
|
145
154
|
],
|
|
146
|
-
"
|
|
147
|
-
"./dist/
|
|
155
|
+
"context-mention-provider": [
|
|
156
|
+
"./dist/context-mention-provider.d.ts"
|
|
148
157
|
],
|
|
149
158
|
"mention-file-presentation": [
|
|
150
159
|
"./dist/mention-file-presentation.d.ts"
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
declare const AGENT_GUI_MENTION_PROVIDER_IDS: {
|
|
2
|
-
readonly agentGeneratedFile: "agent-generated-file";
|
|
3
|
-
readonly agentSession: "agent-session";
|
|
4
|
-
readonly file: "file";
|
|
5
|
-
readonly workspaceApp: "workspace-app";
|
|
6
|
-
readonly workspaceIssue: "workspace-issue";
|
|
7
|
-
};
|
|
8
|
-
type AgentGUIMentionProviderId = (typeof AGENT_GUI_MENTION_PROVIDER_IDS)[keyof typeof AGENT_GUI_MENTION_PROVIDER_IDS];
|
|
9
|
-
interface AgentRichTextAtProviderContext {
|
|
10
|
-
metadata?: Readonly<Record<string, unknown>>;
|
|
11
|
-
}
|
|
12
|
-
interface AgentRichTextAtQueryInput {
|
|
13
|
-
keyword: string;
|
|
14
|
-
maxResults?: number;
|
|
15
|
-
abortSignal?: AbortSignal;
|
|
16
|
-
context: AgentRichTextAtProviderContext;
|
|
17
|
-
}
|
|
18
|
-
interface AgentRichTextMentionInsert {
|
|
19
|
-
entityId: string;
|
|
20
|
-
label: string;
|
|
21
|
-
href?: string | null;
|
|
22
|
-
kind?: string | null;
|
|
23
|
-
meta?: Readonly<Record<string, string>> | null;
|
|
24
|
-
}
|
|
25
|
-
interface AgentRichTextMentionInsertResult {
|
|
26
|
-
kind: "mention";
|
|
27
|
-
mention: AgentRichTextMentionInsert;
|
|
28
|
-
}
|
|
29
|
-
interface AgentRichTextMarkdownLinkInsertResult {
|
|
30
|
-
kind: "markdown-link";
|
|
31
|
-
label: string;
|
|
32
|
-
href: string;
|
|
33
|
-
}
|
|
34
|
-
interface AgentRichTextTextInsertResult {
|
|
35
|
-
kind: "text";
|
|
36
|
-
text: string;
|
|
37
|
-
}
|
|
38
|
-
type AgentRichTextAtInsertResult = AgentRichTextMentionInsertResult | AgentRichTextMarkdownLinkInsertResult | AgentRichTextTextInsertResult;
|
|
39
|
-
interface AgentRichTextAtProvider<TItem = any> {
|
|
40
|
-
id: string;
|
|
41
|
-
query: (input: AgentRichTextAtQueryInput) => Promise<readonly TItem[]> | readonly TItem[];
|
|
42
|
-
getItemKey: (item: TItem) => string;
|
|
43
|
-
getItemLabel: (item: TItem) => string;
|
|
44
|
-
getItemSubtitle?: (item: TItem) => string | null | undefined;
|
|
45
|
-
getItemThumbnailUrl?: (item: TItem) => string | null | undefined | Promise<string | null | undefined>;
|
|
46
|
-
toInsertResult: (item: TItem) => AgentRichTextAtInsertResult;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { AGENT_GUI_MENTION_PROVIDER_IDS, type AgentGUIMentionProviderId, type AgentRichTextAtInsertResult, type AgentRichTextAtProvider, type AgentRichTextAtProviderContext, type AgentRichTextAtQueryInput, type AgentRichTextMarkdownLinkInsertResult, type AgentRichTextMentionInsert, type AgentRichTextMentionInsertResult, type AgentRichTextTextInsertResult };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../workbench/launch.ts"],"sourcesContent":["import type { WorkbenchHostLaunchRequest } from \"@tutti-os/workbench-surface\";\nimport {\n isAgentGuiWorkbenchProvider,\n normalizeAgentGuiWorkbenchProvider\n} from \"./providerCatalog.ts\";\nimport {\n agentGuiWorkbenchOpenSessionActivationType,\n type AgentGuiWorkbenchProvider\n} from \"./types.ts\";\n\ntype AgentGuiWorkbenchLaunchRequestInput = Pick<\n WorkbenchHostLaunchRequest,\n \"payload\" | \"typeId\"\n> & {\n dockEntryId?: string | null;\n};\n\nexport const agentGuiWorkbenchTypeId = \"agent-gui\";\n\nconst agentGuiWorkbenchDockEntryPrefix = \"agent-gui:\";\nlet agentGuiWorkbenchInstanceSequence = 0;\n\nexport function agentGuiWorkbenchDockEntryId(\n provider: AgentGuiWorkbenchProvider\n): string {\n return provider === \"codex\"\n ? agentGuiWorkbenchTypeId\n : `${agentGuiWorkbenchDockEntryPrefix}${provider}`;\n}\n\nexport function agentGuiWorkbenchInstanceId(\n provider: AgentGuiWorkbenchProvider\n): string {\n return `${agentGuiWorkbenchDockEntryPrefix}${provider}`;\n}\n\nexport function createAgentGuiWorkbenchInstanceId(input: {\n agentSessionId?: string | null;\n provider: AgentGuiWorkbenchProvider;\n}): string {\n const prefix = agentGuiWorkbenchInstanceId(input.provider);\n const agentSessionId = input.agentSessionId?.trim();\n if (agentSessionId) {\n return `${prefix}:session:${encodeAgentGuiWorkbenchInstanceSegment(\n agentSessionId\n )}`;\n }\n\n agentGuiWorkbenchInstanceSequence += 1;\n return [\n prefix,\n \"panel\",\n `${Date.now().toString(36)}-${agentGuiWorkbenchInstanceSequence.toString(36)}`\n ].join(\":\");\n}\n\nexport function agentGuiWorkbenchProviderFromIdentifier(\n value: string | null | undefined\n): AgentGuiWorkbenchProvider | null {\n const normalized = value?.trim();\n if (!normalized || normalized === agentGuiWorkbenchTypeId) {\n return normalized === agentGuiWorkbenchTypeId ? \"codex\" : null;\n }\n if (!normalized.startsWith(agentGuiWorkbenchDockEntryPrefix)) {\n return null;\n }\n const provider = normalized\n .slice(agentGuiWorkbenchDockEntryPrefix.length)\n .split(\":\", 1)[0];\n return isAgentGuiWorkbenchProvider(provider) ? provider : null;\n}\n\nexport function agentGuiWorkbenchProviderFromLaunchRequest(\n request: AgentGuiWorkbenchLaunchRequestInput\n): AgentGuiWorkbenchProvider {\n const payloadProvider =\n request.payload &&\n typeof request.payload === \"object\" &&\n !Array.isArray(request.payload)\n ? (request.payload as { provider?: unknown }).provider\n : null;\n if (isAgentGuiWorkbenchProvider(payloadProvider)) {\n return payloadProvider;\n }\n return (\n agentGuiWorkbenchProviderFromIdentifier(request.dockEntryId) ??\n agentGuiWorkbenchProviderFromIdentifier(request.typeId) ??\n \"codex\"\n );\n}\n\nexport function createAgentGuiWorkbenchSessionLaunchRequest(input: {\n agentSessionId?: string;\n provider: unknown;\n}) {\n const provider = normalizeAgentGuiWorkbenchProvider(input.provider);\n return {\n dockEntryId: agentGuiWorkbenchDockEntryId(provider),\n payload: {\n ...(input.agentSessionId ? { agentSessionId: input.agentSessionId } : {}),\n provider\n },\n reason: \"host\" as const,\n typeId: agentGuiWorkbenchTypeId\n };\n}\n\nexport interface AgentGuiWorkbenchLaunchDescriptor {\n activation: {\n payload: {\n agentSessionId: string;\n };\n type: typeof agentGuiWorkbenchOpenSessionActivationType;\n } | null;\n dockEntryId: string;\n instanceId: string;\n provider: AgentGuiWorkbenchProvider;\n reuseDockEntryNode: boolean;\n targetAgentSessionId: string | null;\n}\n\nexport function createAgentGuiWorkbenchLaunchDescriptor(\n request: AgentGuiWorkbenchLaunchRequestInput\n): AgentGuiWorkbenchLaunchDescriptor {\n const provider = agentGuiWorkbenchProviderFromLaunchRequest(request);\n const targetAgentSessionId = agentSessionIdFromLaunchPayload(request.payload);\n const instanceId = createAgentGuiWorkbenchInstanceId({\n agentSessionId: targetAgentSessionId,\n provider\n });\n\n return {\n activation: targetAgentSessionId\n ? {\n payload: {\n agentSessionId: targetAgentSessionId\n },\n type: agentGuiWorkbenchOpenSessionActivationType\n }\n : null,\n dockEntryId: request.dockEntryId ?? agentGuiWorkbenchDockEntryId(provider),\n instanceId,\n provider,\n reuseDockEntryNode: Boolean(targetAgentSessionId),\n targetAgentSessionId\n };\n}\n\nfunction encodeAgentGuiWorkbenchInstanceSegment(value: string): string {\n return encodeURIComponent(value.trim());\n}\n\nfunction agentSessionIdFromLaunchPayload(payload: unknown): string | null {\n if (!payload || typeof payload !== \"object\" || Array.isArray(payload)) {\n return null;\n }\n const agentSessionId = (payload as { agentSessionId?: unknown })\n .agentSessionId;\n return typeof agentSessionId === \"string\" && agentSessionId.trim()\n ? agentSessionId.trim()\n : null;\n}\n"],"mappings":";;;;;;;;;AAiBO,IAAM,0BAA0B;AAEvC,IAAM,mCAAmC;AACzC,IAAI,oCAAoC;AAEjC,SAAS,6BACd,UACQ;AACR,SAAO,aAAa,UAChB,0BACA,GAAG,gCAAgC,GAAG,QAAQ;AACpD;AAEO,SAAS,4BACd,UACQ;AACR,SAAO,GAAG,gCAAgC,GAAG,QAAQ;AACvD;AAEO,SAAS,kCAAkC,OAGvC;AACT,QAAM,SAAS,4BAA4B,MAAM,QAAQ;AACzD,QAAM,iBAAiB,MAAM,gBAAgB,KAAK;AAClD,MAAI,gBAAgB;AAClB,WAAO,GAAG,MAAM,YAAY;AAAA,MAC1B;AAAA,IACF,CAAC;AAAA,EACH;AAEA,uCAAqC;AACrC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,GAAG,KAAK,IAAI,EAAE,SAAS,EAAE,CAAC,IAAI,kCAAkC,SAAS,EAAE,CAAC;AAAA,EAC9E,EAAE,KAAK,GAAG;AACZ;AAEO,SAAS,wCACd,OACkC;AAClC,QAAM,aAAa,OAAO,KAAK;AAC/B,MAAI,CAAC,cAAc,eAAe,yBAAyB;AACzD,WAAO,eAAe,0BAA0B,UAAU;AAAA,EAC5D;AACA,MAAI,CAAC,WAAW,WAAW,gCAAgC,GAAG;AAC5D,WAAO;AAAA,EACT;AACA,QAAM,WAAW,WACd,MAAM,iCAAiC,MAAM,EAC7C,MAAM,KAAK,CAAC,EAAE,CAAC;AAClB,SAAO,4BAA4B,QAAQ,IAAI,WAAW;AAC5D;AAEO,SAAS,2CACd,SAC2B;AAC3B,QAAM,kBACJ,QAAQ,WACR,OAAO,QAAQ,YAAY,YAC3B,CAAC,MAAM,QAAQ,QAAQ,OAAO,IACzB,QAAQ,QAAmC,WAC5C;AACN,MAAI,4BAA4B,eAAe,GAAG;AAChD,WAAO;AAAA,EACT;AACA,SACE,wCAAwC,QAAQ,WAAW,KAC3D,wCAAwC,QAAQ,MAAM,KACtD;AAEJ;AAEO,SAAS,4CAA4C,OAGzD;AACD,QAAM,WAAW,mCAAmC,MAAM,QAAQ;AAClE,SAAO;AAAA,IACL,aAAa,6BAA6B,QAAQ;AAAA,IAClD,SAAS;AAAA,MACP,GAAI,MAAM,iBAAiB,EAAE,gBAAgB,MAAM,eAAe,IAAI,CAAC;AAAA,MACvE;AAAA,IACF;AAAA,IACA,QAAQ;AAAA,IACR,QAAQ;AAAA,EACV;AACF;AAgBO,SAAS,wCACd,SACmC;AACnC,QAAM,WAAW,2CAA2C,OAAO;AACnE,QAAM,uBAAuB,gCAAgC,QAAQ,OAAO;AAC5E,QAAM,aAAa,kCAAkC;AAAA,IACnD,gBAAgB;AAAA,IAChB;AAAA,EACF,CAAC;AAED,SAAO;AAAA,IACL,YAAY,uBACR;AAAA,MACE,SAAS;AAAA,QACP,gBAAgB;AAAA,MAClB;AAAA,MACA,MAAM;AAAA,IACR,IACA;AAAA,IACJ,aAAa,QAAQ,eAAe,6BAA6B,QAAQ;AAAA,IACzE;AAAA,IACA;AAAA,IACA,oBAAoB,QAAQ,oBAAoB;AAAA,IAChD;AAAA,EACF;AACF;AAEA,SAAS,uCAAuC,OAAuB;AACrE,SAAO,mBAAmB,MAAM,KAAK,CAAC;AACxC;AAEA,SAAS,gCAAgC,SAAiC;AACxE,MAAI,CAAC,WAAW,OAAO,YAAY,YAAY,MAAM,QAAQ,OAAO,GAAG;AACrE,WAAO;AAAA,EACT;AACA,QAAM,iBAAkB,QACrB;AACH,SAAO,OAAO,mBAAmB,YAAY,eAAe,KAAK,IAC7D,eAAe,KAAK,IACpB;AACN;","names":[]}
|
package/dist/chunk-6AZ2KF6R.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../workbench/types.ts"],"sourcesContent":["export type AgentGuiWorkbenchProvider =\n | \"claude-code\"\n | \"codex\"\n | \"nexight\"\n | \"gemini\"\n | \"hermes\"\n | \"openclaw\";\n\nexport const agentGuiWorkbenchOpenSessionActivationType =\n \"agent-gui:open-session\";\n\nexport interface AgentGuiWorkbenchComposerOverrides {\n model?: string | null;\n permissionModeId?: string | null;\n planMode?: boolean;\n reasoningEffort?: string | null;\n}\n\nexport type AgentGuiWorkbenchComposerOverridesByProvider = Partial<\n Record<AgentGuiWorkbenchProvider, AgentGuiWorkbenchComposerOverrides | null>\n>;\n\nexport interface AgentGuiWorkbenchNodeState {\n composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;\n composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | null;\n conversationCount?: number | null;\n conversationRailCollapsed?: boolean | null;\n conversationRailWidthPx?: number | null;\n lastActiveAgentSessionId: string | null;\n lastActiveConversationTitle?: string | null;\n provider: AgentGuiWorkbenchProvider;\n}\n\nexport interface AgentGuiWorkbenchState {\n composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;\n composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | 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":";AAQO,IAAM,6CACX;","names":[]}
|