@tutti-os/agent-gui 0.0.3
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 +202 -0
- package/README.md +56 -0
- package/dist/agent-message-center/index.d.ts +218 -0
- package/dist/agent-message-center/index.js +1962 -0
- package/dist/agent-message-center/index.js.map +1 -0
- package/dist/agent-rich-text-at-provider.d.ts +49 -0
- package/dist/agent-rich-text-at-provider.js +7 -0
- package/dist/agent-rich-text-at-provider.js.map +1 -0
- package/dist/agent-title-text.d.ts +3 -0
- package/dist/agent-title-text.js +7 -0
- package/dist/agent-title-text.js.map +1 -0
- package/dist/app/renderer/agentactivity.css +6773 -0
- package/dist/app/renderer/assets/icons/agent-sessions-filled.svg +1 -0
- package/dist/app/renderer/assets/icons/agents/claude-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/codex-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/gemini-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/hermes-rounded.png +0 -0
- 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-nextop.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-openclaw.png +0 -0
- package/dist/app/renderer/assets/icons/agents/nextop-doc-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/openclaw-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/code-filled.svg +1 -0
- package/dist/app/renderer/assets/icons/doc-filled.svg +1 -0
- package/dist/app/renderer/assets/icons/folder-filled.svg +1 -0
- package/dist/app/renderer/assets/icons/image-filled.svg +1 -0
- package/dist/app/renderer/assets/icons/issue-filled.svg +1 -0
- package/dist/app/renderer/assets/icons/product-filled.svg +1 -0
- package/dist/app/renderer/assets/icons/user-avatar-placeholder.png +0 -0
- package/dist/app/renderer/assets/icons/video-filled.svg +1 -0
- package/dist/chunk-22L4VWUR.js +70 -0
- package/dist/chunk-22L4VWUR.js.map +1 -0
- package/dist/chunk-3D5VTIKP.js +93 -0
- package/dist/chunk-3D5VTIKP.js.map +1 -0
- package/dist/chunk-AF5CXBJN.js +3075 -0
- package/dist/chunk-AF5CXBJN.js.map +1 -0
- package/dist/chunk-BABBC24I.js +28 -0
- package/dist/chunk-BABBC24I.js.map +1 -0
- package/dist/chunk-GCBDIQDX.js +22 -0
- package/dist/chunk-GCBDIQDX.js.map +1 -0
- package/dist/chunk-HSR5DI6O.js +4695 -0
- package/dist/chunk-HSR5DI6O.js.map +1 -0
- package/dist/chunk-IVPB4MLI.js +7 -0
- package/dist/chunk-IVPB4MLI.js.map +1 -0
- package/dist/chunk-KCC3GNPB.js +13 -0
- package/dist/chunk-KCC3GNPB.js.map +1 -0
- package/dist/chunk-PJP5BUU6.js +18 -0
- package/dist/chunk-PJP5BUU6.js.map +1 -0
- package/dist/chunk-RORLLV27.js +144 -0
- package/dist/chunk-RORLLV27.js.map +1 -0
- package/dist/chunk-UJWUGMWC.js +128 -0
- package/dist/chunk-UJWUGMWC.js.map +1 -0
- package/dist/chunk-UKQIGNN3.js +921 -0
- package/dist/chunk-UKQIGNN3.js.map +1 -0
- package/dist/chunk-ZP7P7DYO.js +270 -0
- package/dist/chunk-ZP7P7DYO.js.map +1 -0
- package/dist/chunk-ZX5PDYAS.js +346 -0
- package/dist/chunk-ZX5PDYAS.js.map +1 -0
- package/dist/claude-rounded-F6VPQETB.png +0 -0
- package/dist/codex-rounded-SC63MZAW.png +0 -0
- package/dist/gemini-rounded-O4KAJFIM.png +0 -0
- package/dist/hermes-rounded-QGDHBNRJ.png +0 -0
- package/dist/i18n/index.d.ts +4580 -0
- package/dist/i18n/index.js +19 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/index.d.ts +775 -0
- package/dist/index.js +33699 -0
- package/dist/index.js.map +1 -0
- package/dist/manage-agent-claude-code-F6VPQETB.png +0 -0
- package/dist/manage-agent-codex-SC63MZAW.png +0 -0
- package/dist/manage-agent-gemini-O4KAJFIM.png +0 -0
- package/dist/manage-agent-hermes-QGDHBNRJ.png +0 -0
- package/dist/manage-agent-nextop-UFAQ22K2.png +0 -0
- package/dist/manage-agent-openclaw-24U7O6CA.png +0 -0
- package/dist/mention-file-presentation.d.ts +16 -0
- package/dist/mention-file-presentation.js +10 -0
- package/dist/mention-file-presentation.js.map +1 -0
- package/dist/nextop-doc-rounded-UFAQ22K2.png +0 -0
- package/dist/openclaw-rounded-24U7O6CA.png +0 -0
- package/dist/user-avatar-placeholder-WP2373TS.png +0 -0
- package/dist/workbench/contribution.d.ts +42 -0
- package/dist/workbench/contribution.js +24 -0
- package/dist/workbench/contribution.js.map +1 -0
- package/dist/workbench/index.d.ts +24 -0
- package/dist/workbench/index.js +82 -0
- package/dist/workbench/index.js.map +1 -0
- package/dist/workbench/launch.d.ts +49 -0
- package/dist/workbench/launch.js +23 -0
- package/dist/workbench/launch.js.map +1 -0
- package/dist/workbench/providerCatalog.d.ts +15 -0
- package/dist/workbench/providerCatalog.js +27 -0
- package/dist/workbench/providerCatalog.js.map +1 -0
- package/dist/workbench/state.d.ts +22 -0
- package/dist/workbench/state.js +22 -0
- package/dist/workbench/state.js.map +1 -0
- package/dist/workbench/types.d.ts +43 -0
- package/dist/workbench/types.js +7 -0
- package/dist/workbench/types.js.map +1 -0
- package/dist/workspace-agent-generated-files.d.ts +2 -0
- package/dist/workspace-agent-generated-files.js +21 -0
- package/dist/workspace-agent-generated-files.js.map +1 -0
- package/dist/workspaceAgentActivityListViewModel-PvLQDj60.d.ts +309 -0
- package/dist/workspaceLinkActions-Bwa-phu8.d.ts +51 -0
- package/package.json +166 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type AgentMentionFileVisualKind = "document" | "code" | "markdown" | "image" | "video" | "folder";
|
|
2
|
+
declare function resolveAgentMentionFileVisualKind(input: {
|
|
3
|
+
entryKind?: string | null;
|
|
4
|
+
href?: string | null;
|
|
5
|
+
name?: string | null;
|
|
6
|
+
path?: string | null;
|
|
7
|
+
}): AgentMentionFileVisualKind;
|
|
8
|
+
declare function resolveAgentMentionFileThumbnailUrl(input: {
|
|
9
|
+
entryKind?: string | null;
|
|
10
|
+
href?: string | null;
|
|
11
|
+
name?: string | null;
|
|
12
|
+
path?: string | null;
|
|
13
|
+
thumbnailUrl?: string | null;
|
|
14
|
+
}): string | undefined;
|
|
15
|
+
|
|
16
|
+
export { type AgentMentionFileVisualKind, resolveAgentMentionFileThumbnailUrl, resolveAgentMentionFileVisualKind };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveAgentMentionFileThumbnailUrl,
|
|
3
|
+
resolveAgentMentionFileVisualKind
|
|
4
|
+
} from "./chunk-BABBC24I.js";
|
|
5
|
+
import "./chunk-PJP5BUU6.js";
|
|
6
|
+
export {
|
|
7
|
+
resolveAgentMentionFileThumbnailUrl,
|
|
8
|
+
resolveAgentMentionFileVisualKind
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=mention-file-presentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { WorkbenchFrame, WorkbenchHostNodeBodyContext, WorkbenchHostDockEntry, WorkbenchContribution, WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
|
|
3
|
+
import { AgentGuiWorkbenchState, AgentGuiWorkbenchProvider } from './types.js';
|
|
4
|
+
|
|
5
|
+
declare const agentGuiWorkbenchDefaultNodeFrame: WorkbenchFrame;
|
|
6
|
+
declare const agentGuiWorkbenchDefaultUsableHeightRatio = 0.7;
|
|
7
|
+
declare const AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT = "nextop:agent-gui-workbench-conversation-rail-toggle";
|
|
8
|
+
interface AgentGuiWorkbenchConversationRailToggleDetail {
|
|
9
|
+
conversationRailCollapsed: boolean;
|
|
10
|
+
instanceId: string;
|
|
11
|
+
}
|
|
12
|
+
interface AgentGuiWorkbenchContributionCopy {
|
|
13
|
+
collapseConversationRail: string;
|
|
14
|
+
expandConversationRail: string;
|
|
15
|
+
fallbackAgentLabel: string;
|
|
16
|
+
nodeTitle: string;
|
|
17
|
+
}
|
|
18
|
+
type AgentGuiWorkbenchContributionCopyOverrides = Partial<AgentGuiWorkbenchContributionCopy>;
|
|
19
|
+
declare const agentGuiWorkbenchDefaultCopy: AgentGuiWorkbenchContributionCopy;
|
|
20
|
+
interface AgentGuiWorkbenchRenderBodyHelpers {
|
|
21
|
+
nodeTypeId: string;
|
|
22
|
+
onStateChange(state: AgentGuiWorkbenchState): void;
|
|
23
|
+
provider: AgentGuiWorkbenchProvider;
|
|
24
|
+
}
|
|
25
|
+
interface CreateAgentGuiWorkbenchContributionInput {
|
|
26
|
+
copy?: AgentGuiWorkbenchContributionCopyOverrides;
|
|
27
|
+
dockIconUrls?: Partial<Record<AgentGuiWorkbenchProvider, string>>;
|
|
28
|
+
dockSectionId?: string;
|
|
29
|
+
frame?: WorkbenchFrame;
|
|
30
|
+
id?: string;
|
|
31
|
+
renderBody(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
|
|
32
|
+
resolveDockEntryVisibility?: (provider: AgentGuiWorkbenchProvider) => WorkbenchHostDockEntry["visibility"];
|
|
33
|
+
workspaceId: string;
|
|
34
|
+
}
|
|
35
|
+
declare function createAgentGuiWorkbenchContribution(input: CreateAgentGuiWorkbenchContributionInput): WorkbenchContribution;
|
|
36
|
+
declare function resolveAgentGuiWorkbenchDefaultLaunchFrame(input: {
|
|
37
|
+
frame: WorkbenchFrame;
|
|
38
|
+
request: Pick<WorkbenchHostLaunchRequest, "layoutConstraints" | "surfaceSize">;
|
|
39
|
+
}): WorkbenchFrame;
|
|
40
|
+
declare function resolveAgentGuiWorkbenchContributionCopy(copy?: AgentGuiWorkbenchContributionCopyOverrides): AgentGuiWorkbenchContributionCopy;
|
|
41
|
+
|
|
42
|
+
export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, type AgentGuiWorkbenchContributionCopy, type AgentGuiWorkbenchContributionCopyOverrides, type AgentGuiWorkbenchConversationRailToggleDetail, type AgentGuiWorkbenchRenderBodyHelpers, type CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, agentGuiWorkbenchDefaultUsableHeightRatio, createAgentGuiWorkbenchContribution, resolveAgentGuiWorkbenchContributionCopy, resolveAgentGuiWorkbenchDefaultLaunchFrame };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
3
|
+
agentGuiWorkbenchDefaultCopy,
|
|
4
|
+
agentGuiWorkbenchDefaultNodeFrame,
|
|
5
|
+
agentGuiWorkbenchDefaultUsableHeightRatio,
|
|
6
|
+
createAgentGuiWorkbenchContribution,
|
|
7
|
+
resolveAgentGuiWorkbenchContributionCopy,
|
|
8
|
+
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
9
|
+
} from "../chunk-ZX5PDYAS.js";
|
|
10
|
+
import "../chunk-RORLLV27.js";
|
|
11
|
+
import "../chunk-ZP7P7DYO.js";
|
|
12
|
+
import "../chunk-22L4VWUR.js";
|
|
13
|
+
import "../chunk-IVPB4MLI.js";
|
|
14
|
+
import "../chunk-UJWUGMWC.js";
|
|
15
|
+
export {
|
|
16
|
+
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
17
|
+
agentGuiWorkbenchDefaultCopy,
|
|
18
|
+
agentGuiWorkbenchDefaultNodeFrame,
|
|
19
|
+
agentGuiWorkbenchDefaultUsableHeightRatio,
|
|
20
|
+
createAgentGuiWorkbenchContribution,
|
|
21
|
+
resolveAgentGuiWorkbenchContributionCopy,
|
|
22
|
+
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=contribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AgentGuiWorkbenchContributionCopy, AgentGuiWorkbenchContributionCopyOverrides, AgentGuiWorkbenchConversationRailToggleDetail, AgentGuiWorkbenchRenderBodyHelpers, CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, createAgentGuiWorkbenchContribution, resolveAgentGuiWorkbenchContributionCopy } from './contribution.js';
|
|
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';
|
|
4
|
+
export { agentGuiWorkbenchProviderFromInstanceId, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
|
|
5
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
6
|
+
export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPendingHandoff, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType } from './types.js';
|
|
7
|
+
import '@tutti-os/workbench-surface';
|
|
8
|
+
|
|
9
|
+
interface AgentGuiWorkbenchHeaderCopy {
|
|
10
|
+
collapseConversationRail: string;
|
|
11
|
+
expandConversationRail: string;
|
|
12
|
+
fallbackAgentLabel: string;
|
|
13
|
+
}
|
|
14
|
+
interface AgentGuiWorkbenchHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
15
|
+
copy: AgentGuiWorkbenchHeaderCopy;
|
|
16
|
+
defaultActions?: ReactNode;
|
|
17
|
+
isConversationRailAutoCollapsed: boolean;
|
|
18
|
+
isConversationRailCollapsed: boolean;
|
|
19
|
+
onToggleConversationRail: (nextCollapsed: boolean) => void;
|
|
20
|
+
title?: string;
|
|
21
|
+
}
|
|
22
|
+
declare function AgentGuiWorkbenchHeader({ className, copy, defaultActions, isConversationRailAutoCollapsed, isConversationRailCollapsed, onToggleConversationRail, title, ...headerProps }: AgentGuiWorkbenchHeaderProps): ReactNode;
|
|
23
|
+
|
|
24
|
+
export { AgentGuiWorkbenchHeader, type AgentGuiWorkbenchHeaderCopy, type AgentGuiWorkbenchHeaderProps };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
3
|
+
AgentGuiWorkbenchHeader,
|
|
4
|
+
agentGuiWorkbenchDefaultCopy,
|
|
5
|
+
agentGuiWorkbenchDefaultNodeFrame,
|
|
6
|
+
createAgentGuiWorkbenchContribution,
|
|
7
|
+
resolveAgentGuiWorkbenchContributionCopy
|
|
8
|
+
} from "../chunk-ZX5PDYAS.js";
|
|
9
|
+
import {
|
|
10
|
+
agentGuiWorkbenchDockEntryId,
|
|
11
|
+
agentGuiWorkbenchInstanceId,
|
|
12
|
+
agentGuiWorkbenchProviderFromIdentifier,
|
|
13
|
+
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
14
|
+
agentGuiWorkbenchTypeId,
|
|
15
|
+
createAgentGuiWorkbenchInstanceId,
|
|
16
|
+
createAgentGuiWorkbenchLaunchDescriptor,
|
|
17
|
+
createAgentGuiWorkbenchSessionLaunchRequest
|
|
18
|
+
} from "../chunk-RORLLV27.js";
|
|
19
|
+
import {
|
|
20
|
+
agentGuiWorkbenchProviderFromInstanceId,
|
|
21
|
+
areAgentGuiWorkbenchNodeStatesEqual,
|
|
22
|
+
areAgentGuiWorkbenchStatesEqual,
|
|
23
|
+
createAgentGuiWorkbenchNodeStateSource,
|
|
24
|
+
createDefaultAgentGuiWorkbenchNodeState,
|
|
25
|
+
normalizeAgentGuiWorkbenchNodeState,
|
|
26
|
+
normalizeAgentGuiWorkbenchState,
|
|
27
|
+
projectAgentGuiWorkbenchState
|
|
28
|
+
} from "../chunk-ZP7P7DYO.js";
|
|
29
|
+
import {
|
|
30
|
+
agentGuiWorkbenchComingSoonProviders,
|
|
31
|
+
agentGuiWorkbenchDefaultDockProviders,
|
|
32
|
+
agentGuiWorkbenchDockSuppressedProviders,
|
|
33
|
+
agentGuiWorkbenchProviderLabels,
|
|
34
|
+
agentGuiWorkbenchProviders,
|
|
35
|
+
isAgentGuiWorkbenchComingSoonProvider,
|
|
36
|
+
isAgentGuiWorkbenchDefaultDockProvider,
|
|
37
|
+
isAgentGuiWorkbenchDockSuppressedProvider,
|
|
38
|
+
isAgentGuiWorkbenchProvider,
|
|
39
|
+
normalizeAgentGuiWorkbenchProvider,
|
|
40
|
+
resolveAgentGuiWorkbenchProviderLabel
|
|
41
|
+
} from "../chunk-22L4VWUR.js";
|
|
42
|
+
import {
|
|
43
|
+
agentGuiWorkbenchOpenSessionActivationType
|
|
44
|
+
} from "../chunk-IVPB4MLI.js";
|
|
45
|
+
import "../chunk-UJWUGMWC.js";
|
|
46
|
+
export {
|
|
47
|
+
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
48
|
+
AgentGuiWorkbenchHeader,
|
|
49
|
+
agentGuiWorkbenchComingSoonProviders,
|
|
50
|
+
agentGuiWorkbenchDefaultCopy,
|
|
51
|
+
agentGuiWorkbenchDefaultDockProviders,
|
|
52
|
+
agentGuiWorkbenchDefaultNodeFrame,
|
|
53
|
+
agentGuiWorkbenchDockEntryId,
|
|
54
|
+
agentGuiWorkbenchDockSuppressedProviders,
|
|
55
|
+
agentGuiWorkbenchInstanceId,
|
|
56
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
57
|
+
agentGuiWorkbenchProviderFromIdentifier,
|
|
58
|
+
agentGuiWorkbenchProviderFromInstanceId,
|
|
59
|
+
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
60
|
+
agentGuiWorkbenchProviderLabels,
|
|
61
|
+
agentGuiWorkbenchProviders,
|
|
62
|
+
agentGuiWorkbenchTypeId,
|
|
63
|
+
areAgentGuiWorkbenchNodeStatesEqual,
|
|
64
|
+
areAgentGuiWorkbenchStatesEqual,
|
|
65
|
+
createAgentGuiWorkbenchContribution,
|
|
66
|
+
createAgentGuiWorkbenchInstanceId,
|
|
67
|
+
createAgentGuiWorkbenchLaunchDescriptor,
|
|
68
|
+
createAgentGuiWorkbenchNodeStateSource,
|
|
69
|
+
createAgentGuiWorkbenchSessionLaunchRequest,
|
|
70
|
+
createDefaultAgentGuiWorkbenchNodeState,
|
|
71
|
+
isAgentGuiWorkbenchComingSoonProvider,
|
|
72
|
+
isAgentGuiWorkbenchDefaultDockProvider,
|
|
73
|
+
isAgentGuiWorkbenchDockSuppressedProvider,
|
|
74
|
+
isAgentGuiWorkbenchProvider,
|
|
75
|
+
normalizeAgentGuiWorkbenchNodeState,
|
|
76
|
+
normalizeAgentGuiWorkbenchProvider,
|
|
77
|
+
normalizeAgentGuiWorkbenchState,
|
|
78
|
+
projectAgentGuiWorkbenchState,
|
|
79
|
+
resolveAgentGuiWorkbenchContributionCopy,
|
|
80
|
+
resolveAgentGuiWorkbenchProviderLabel
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
|
|
2
|
+
import { agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchPendingHandoff, AgentGuiWorkbenchProvider } from './types.js';
|
|
3
|
+
|
|
4
|
+
type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "payload" | "typeId"> & {
|
|
5
|
+
dockEntryId?: string | null;
|
|
6
|
+
};
|
|
7
|
+
declare const agentGuiWorkbenchTypeId = "agent-gui";
|
|
8
|
+
declare function agentGuiWorkbenchDockEntryId(provider: AgentGuiWorkbenchProvider): string;
|
|
9
|
+
declare function agentGuiWorkbenchInstanceId(provider: AgentGuiWorkbenchProvider): string;
|
|
10
|
+
declare function createAgentGuiWorkbenchInstanceId(input: {
|
|
11
|
+
agentSessionId?: string | null;
|
|
12
|
+
pendingHandoff?: {
|
|
13
|
+
requestId?: string | null;
|
|
14
|
+
} | null;
|
|
15
|
+
provider: AgentGuiWorkbenchProvider;
|
|
16
|
+
}): string;
|
|
17
|
+
declare function agentGuiWorkbenchProviderFromIdentifier(value: string | null | undefined): AgentGuiWorkbenchProvider | null;
|
|
18
|
+
declare function agentGuiWorkbenchProviderFromLaunchRequest(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchProvider;
|
|
19
|
+
declare function createAgentGuiWorkbenchSessionLaunchRequest(input: {
|
|
20
|
+
agentSessionId?: string;
|
|
21
|
+
pendingHandoff?: AgentGuiWorkbenchPendingHandoff;
|
|
22
|
+
provider: unknown;
|
|
23
|
+
}): {
|
|
24
|
+
dockEntryId: string;
|
|
25
|
+
payload: {
|
|
26
|
+
provider: AgentGuiWorkbenchProvider;
|
|
27
|
+
pendingHandoff?: AgentGuiWorkbenchPendingHandoff | undefined;
|
|
28
|
+
agentSessionId?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
reason: "host";
|
|
31
|
+
typeId: string;
|
|
32
|
+
};
|
|
33
|
+
interface AgentGuiWorkbenchLaunchDescriptor {
|
|
34
|
+
activation: {
|
|
35
|
+
payload: {
|
|
36
|
+
agentSessionId: string;
|
|
37
|
+
};
|
|
38
|
+
type: typeof agentGuiWorkbenchOpenSessionActivationType;
|
|
39
|
+
} | null;
|
|
40
|
+
dockEntryId: string;
|
|
41
|
+
instanceId: string;
|
|
42
|
+
pendingHandoff: AgentGuiWorkbenchPendingHandoff | null;
|
|
43
|
+
provider: AgentGuiWorkbenchProvider;
|
|
44
|
+
reuseDockEntryNode: boolean;
|
|
45
|
+
targetAgentSessionId: string | null;
|
|
46
|
+
}
|
|
47
|
+
declare function createAgentGuiWorkbenchLaunchDescriptor(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchLaunchDescriptor;
|
|
48
|
+
|
|
49
|
+
export { type AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
agentGuiWorkbenchDockEntryId,
|
|
3
|
+
agentGuiWorkbenchInstanceId,
|
|
4
|
+
agentGuiWorkbenchProviderFromIdentifier,
|
|
5
|
+
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
6
|
+
agentGuiWorkbenchTypeId,
|
|
7
|
+
createAgentGuiWorkbenchInstanceId,
|
|
8
|
+
createAgentGuiWorkbenchLaunchDescriptor,
|
|
9
|
+
createAgentGuiWorkbenchSessionLaunchRequest
|
|
10
|
+
} from "../chunk-RORLLV27.js";
|
|
11
|
+
import "../chunk-22L4VWUR.js";
|
|
12
|
+
import "../chunk-IVPB4MLI.js";
|
|
13
|
+
export {
|
|
14
|
+
agentGuiWorkbenchDockEntryId,
|
|
15
|
+
agentGuiWorkbenchInstanceId,
|
|
16
|
+
agentGuiWorkbenchProviderFromIdentifier,
|
|
17
|
+
agentGuiWorkbenchProviderFromLaunchRequest,
|
|
18
|
+
agentGuiWorkbenchTypeId,
|
|
19
|
+
createAgentGuiWorkbenchInstanceId,
|
|
20
|
+
createAgentGuiWorkbenchLaunchDescriptor,
|
|
21
|
+
createAgentGuiWorkbenchSessionLaunchRequest
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=launch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AgentGuiWorkbenchProvider } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const agentGuiWorkbenchProviders: readonly ["claude-code", "codex", "nexight", "hermes", "gemini", "openclaw"];
|
|
4
|
+
declare const agentGuiWorkbenchDefaultDockProviders: readonly ["codex", "claude-code"];
|
|
5
|
+
declare const agentGuiWorkbenchDockSuppressedProviders: readonly ["hermes", "gemini"];
|
|
6
|
+
declare const agentGuiWorkbenchComingSoonProviders: readonly ["nexight"];
|
|
7
|
+
declare const agentGuiWorkbenchProviderLabels: Record<AgentGuiWorkbenchProvider, string>;
|
|
8
|
+
declare function resolveAgentGuiWorkbenchProviderLabel(provider: AgentGuiWorkbenchProvider): string;
|
|
9
|
+
declare function isAgentGuiWorkbenchDefaultDockProvider(provider: AgentGuiWorkbenchProvider): boolean;
|
|
10
|
+
declare function isAgentGuiWorkbenchDockSuppressedProvider(provider: AgentGuiWorkbenchProvider): boolean;
|
|
11
|
+
declare function isAgentGuiWorkbenchComingSoonProvider(provider: AgentGuiWorkbenchProvider): boolean;
|
|
12
|
+
declare function isAgentGuiWorkbenchProvider(value: unknown): value is AgentGuiWorkbenchProvider;
|
|
13
|
+
declare function normalizeAgentGuiWorkbenchProvider(value: unknown, fallbackProvider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchProvider;
|
|
14
|
+
|
|
15
|
+
export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProviders, agentGuiWorkbenchDockSuppressedProviders, agentGuiWorkbenchProviderLabels, agentGuiWorkbenchProviders, isAgentGuiWorkbenchComingSoonProvider, isAgentGuiWorkbenchDefaultDockProvider, isAgentGuiWorkbenchDockSuppressedProvider, isAgentGuiWorkbenchProvider, normalizeAgentGuiWorkbenchProvider, resolveAgentGuiWorkbenchProviderLabel };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
agentGuiWorkbenchComingSoonProviders,
|
|
3
|
+
agentGuiWorkbenchDefaultDockProviders,
|
|
4
|
+
agentGuiWorkbenchDockSuppressedProviders,
|
|
5
|
+
agentGuiWorkbenchProviderLabels,
|
|
6
|
+
agentGuiWorkbenchProviders,
|
|
7
|
+
isAgentGuiWorkbenchComingSoonProvider,
|
|
8
|
+
isAgentGuiWorkbenchDefaultDockProvider,
|
|
9
|
+
isAgentGuiWorkbenchDockSuppressedProvider,
|
|
10
|
+
isAgentGuiWorkbenchProvider,
|
|
11
|
+
normalizeAgentGuiWorkbenchProvider,
|
|
12
|
+
resolveAgentGuiWorkbenchProviderLabel
|
|
13
|
+
} from "../chunk-22L4VWUR.js";
|
|
14
|
+
export {
|
|
15
|
+
agentGuiWorkbenchComingSoonProviders,
|
|
16
|
+
agentGuiWorkbenchDefaultDockProviders,
|
|
17
|
+
agentGuiWorkbenchDockSuppressedProviders,
|
|
18
|
+
agentGuiWorkbenchProviderLabels,
|
|
19
|
+
agentGuiWorkbenchProviders,
|
|
20
|
+
isAgentGuiWorkbenchComingSoonProvider,
|
|
21
|
+
isAgentGuiWorkbenchDefaultDockProvider,
|
|
22
|
+
isAgentGuiWorkbenchDockSuppressedProvider,
|
|
23
|
+
isAgentGuiWorkbenchProvider,
|
|
24
|
+
normalizeAgentGuiWorkbenchProvider,
|
|
25
|
+
resolveAgentGuiWorkbenchProviderLabel
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=providerCatalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { WorkbenchHostExternalStateSource, WorkbenchHostExternalStateLookupInput } from '@tutti-os/workbench-surface';
|
|
2
|
+
import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState } from './types.js';
|
|
3
|
+
|
|
4
|
+
declare function createDefaultAgentGuiWorkbenchNodeState(provider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
|
|
5
|
+
declare function normalizeAgentGuiWorkbenchState(state: unknown): AgentGuiWorkbenchState;
|
|
6
|
+
declare function projectAgentGuiWorkbenchState(state: AgentGuiWorkbenchNodeState): AgentGuiWorkbenchState;
|
|
7
|
+
declare function areAgentGuiWorkbenchStatesEqual(left: AgentGuiWorkbenchState, right: AgentGuiWorkbenchState): boolean;
|
|
8
|
+
declare function normalizeAgentGuiWorkbenchNodeState(state: Partial<AgentGuiWorkbenchNodeState> | null | undefined, fallbackProvider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
|
|
9
|
+
declare function areAgentGuiWorkbenchNodeStatesEqual(left: AgentGuiWorkbenchNodeState, right: AgentGuiWorkbenchNodeState): boolean;
|
|
10
|
+
declare function agentGuiWorkbenchProviderFromInstanceId(instanceId: string | null | undefined): AgentGuiWorkbenchProvider;
|
|
11
|
+
declare function createAgentGuiWorkbenchNodeStateSource(input: {
|
|
12
|
+
typeId?: string;
|
|
13
|
+
workspaceId: string;
|
|
14
|
+
}): {
|
|
15
|
+
externalStateSource: WorkbenchHostExternalStateSource<AgentGuiWorkbenchState | null, AgentGuiWorkbenchWorkspaceState>;
|
|
16
|
+
readNodeState: (request: Pick<WorkbenchHostExternalStateLookupInput, "instanceId" | "typeId">) => AgentGuiWorkbenchState | null;
|
|
17
|
+
writeNodeState: (request: Pick<WorkbenchHostExternalStateLookupInput, "instanceId" | "typeId"> & {
|
|
18
|
+
state: AgentGuiWorkbenchState;
|
|
19
|
+
}) => void;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { agentGuiWorkbenchProviderFromInstanceId, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
agentGuiWorkbenchProviderFromInstanceId,
|
|
3
|
+
areAgentGuiWorkbenchNodeStatesEqual,
|
|
4
|
+
areAgentGuiWorkbenchStatesEqual,
|
|
5
|
+
createAgentGuiWorkbenchNodeStateSource,
|
|
6
|
+
createDefaultAgentGuiWorkbenchNodeState,
|
|
7
|
+
normalizeAgentGuiWorkbenchNodeState,
|
|
8
|
+
normalizeAgentGuiWorkbenchState,
|
|
9
|
+
projectAgentGuiWorkbenchState
|
|
10
|
+
} from "../chunk-ZP7P7DYO.js";
|
|
11
|
+
import "../chunk-22L4VWUR.js";
|
|
12
|
+
export {
|
|
13
|
+
agentGuiWorkbenchProviderFromInstanceId,
|
|
14
|
+
areAgentGuiWorkbenchNodeStatesEqual,
|
|
15
|
+
areAgentGuiWorkbenchStatesEqual,
|
|
16
|
+
createAgentGuiWorkbenchNodeStateSource,
|
|
17
|
+
createDefaultAgentGuiWorkbenchNodeState,
|
|
18
|
+
normalizeAgentGuiWorkbenchNodeState,
|
|
19
|
+
normalizeAgentGuiWorkbenchState,
|
|
20
|
+
projectAgentGuiWorkbenchState
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
2
|
+
declare const agentGuiWorkbenchOpenSessionActivationType = "agent-gui:open-session";
|
|
3
|
+
interface AgentGuiWorkbenchComposerOverrides {
|
|
4
|
+
model?: string | null;
|
|
5
|
+
permissionModeId?: string | null;
|
|
6
|
+
planMode?: boolean;
|
|
7
|
+
reasoningEffort?: string | null;
|
|
8
|
+
}
|
|
9
|
+
type AgentGuiWorkbenchComposerOverridesByProvider = Partial<Record<AgentGuiWorkbenchProvider, AgentGuiWorkbenchComposerOverrides | null>>;
|
|
10
|
+
interface AgentGuiWorkbenchPendingHandoff {
|
|
11
|
+
issueId?: string | null;
|
|
12
|
+
issueTitle?: string | null;
|
|
13
|
+
prompt: string;
|
|
14
|
+
requestId: string;
|
|
15
|
+
taskId?: string | null;
|
|
16
|
+
taskTitle: string;
|
|
17
|
+
title: string;
|
|
18
|
+
}
|
|
19
|
+
interface AgentGuiWorkbenchNodeState {
|
|
20
|
+
composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;
|
|
21
|
+
composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | null;
|
|
22
|
+
conversationCount?: number | null;
|
|
23
|
+
conversationRailCollapsed?: boolean | null;
|
|
24
|
+
conversationRailWidthPx?: number | null;
|
|
25
|
+
lastActiveAgentSessionId: string | null;
|
|
26
|
+
lastActiveConversationTitle?: string | null;
|
|
27
|
+
pendingHandoff?: AgentGuiWorkbenchPendingHandoff | null;
|
|
28
|
+
provider: AgentGuiWorkbenchProvider;
|
|
29
|
+
}
|
|
30
|
+
interface AgentGuiWorkbenchState {
|
|
31
|
+
composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;
|
|
32
|
+
composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | null;
|
|
33
|
+
conversationRailCollapsed?: boolean | null;
|
|
34
|
+
conversationRailWidthPx?: number | null;
|
|
35
|
+
lastActiveAgentSessionId: string | null;
|
|
36
|
+
lastActiveConversationTitle?: string | null;
|
|
37
|
+
pendingHandoff?: AgentGuiWorkbenchPendingHandoff | null;
|
|
38
|
+
}
|
|
39
|
+
interface AgentGuiWorkbenchWorkspaceState {
|
|
40
|
+
workspaceId: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { type AgentGuiWorkbenchComposerOverrides, type AgentGuiWorkbenchComposerOverridesByProvider, type AgentGuiWorkbenchNodeState, type AgentGuiWorkbenchPendingHandoff, type AgentGuiWorkbenchProvider, type AgentGuiWorkbenchState, type AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { B as BuildWorkspaceAgentActivityListOptions, W as WorkspaceAgentActivityCard, m as WorkspaceAgentActivityListViewModel, n as WorkspaceAgentActivityStatus, o as WorkspaceAgentChangedFile, p as buildWorkspaceAgentActivityListViewModel, q as collectWorkspaceAgentGeneratedFiles, r as resolveWorkspaceAgentActivityStatus, s as resolveWorkspaceAgentActivityTitle, t as reuseWorkspaceAgentActivityListViewModelIfUnchanged, w as workspaceAgentProviderLabel } from './workspaceAgentActivityListViewModel-PvLQDj60.js';
|
|
2
|
+
import '@tutti-os/agent-activity-core';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildWorkspaceAgentActivityListViewModel,
|
|
3
|
+
collectWorkspaceAgentGeneratedFiles,
|
|
4
|
+
resolveWorkspaceAgentActivityStatus,
|
|
5
|
+
resolveWorkspaceAgentActivityTitle,
|
|
6
|
+
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
+
} from "./chunk-UKQIGNN3.js";
|
|
8
|
+
import {
|
|
9
|
+
workspaceAgentProviderLabel
|
|
10
|
+
} from "./chunk-3D5VTIKP.js";
|
|
11
|
+
import "./chunk-GCBDIQDX.js";
|
|
12
|
+
import "./chunk-HSR5DI6O.js";
|
|
13
|
+
export {
|
|
14
|
+
buildWorkspaceAgentActivityListViewModel,
|
|
15
|
+
collectWorkspaceAgentGeneratedFiles,
|
|
16
|
+
resolveWorkspaceAgentActivityStatus,
|
|
17
|
+
resolveWorkspaceAgentActivityTitle,
|
|
18
|
+
reuseWorkspaceAgentActivityListViewModelIfUnchanged,
|
|
19
|
+
workspaceAgentProviderLabel
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=workspace-agent-generated-files.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|