@adhdev/daemon-core 0.5.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/dist/index.d.ts +2662 -0
- package/dist/index.js +11341 -0
- package/dist/index.js.map +1 -0
- package/package.json +48 -0
- package/providers/_builtin/.github/workflows/generate-registry.yml +57 -0
- package/providers/_builtin/COMPATIBILITY.md +217 -0
- package/providers/_builtin/CONTRIBUTING.md +200 -0
- package/providers/_builtin/README.md +119 -0
- package/providers/_builtin/_helpers/index.js +188 -0
- package/providers/_builtin/acp/agentpool/provider.json +54 -0
- package/providers/_builtin/acp/amp/provider.json +52 -0
- package/providers/_builtin/acp/auggie/provider.json +57 -0
- package/providers/_builtin/acp/autodev/provider.json +54 -0
- package/providers/_builtin/acp/autohand/provider.json +52 -0
- package/providers/_builtin/acp/blackbox-ai/provider.json +54 -0
- package/providers/_builtin/acp/claude-agent/provider.json +57 -0
- package/providers/_builtin/acp/cline-acp/provider.json +54 -0
- package/providers/_builtin/acp/codebuddy/provider.json +54 -0
- package/providers/_builtin/acp/codex-cli/provider.json +57 -0
- package/providers/_builtin/acp/corust-agent/provider.json +52 -0
- package/providers/_builtin/acp/crow-cli/provider.json +54 -0
- package/providers/_builtin/acp/cursor-acp/provider.json +54 -0
- package/providers/_builtin/acp/deepagents/provider.json +52 -0
- package/providers/_builtin/acp/dimcode/provider.json +54 -0
- package/providers/_builtin/acp/docker-cagent/provider.json +57 -0
- package/providers/_builtin/acp/factory-droid/provider.json +60 -0
- package/providers/_builtin/acp/fast-agent/provider.json +52 -0
- package/providers/_builtin/acp/gemini-cli/provider.json +114 -0
- package/providers/_builtin/acp/github-copilot/provider.json +54 -0
- package/providers/_builtin/acp/goose/provider.json +57 -0
- package/providers/_builtin/acp/junie/provider.json +52 -0
- package/providers/_builtin/acp/kilo/provider.json +54 -0
- package/providers/_builtin/acp/kimi-cli/provider.json +57 -0
- package/providers/_builtin/acp/minion-code/provider.json +52 -0
- package/providers/_builtin/acp/mistral-vibe/provider.json +57 -0
- package/providers/_builtin/acp/nova/provider.json +54 -0
- package/providers/_builtin/acp/openclaw/provider.json +54 -0
- package/providers/_builtin/acp/opencode/provider.json +52 -0
- package/providers/_builtin/acp/openhands/provider.json +54 -0
- package/providers/_builtin/acp/pi-acp/provider.json +52 -0
- package/providers/_builtin/acp/qoder/provider.json +54 -0
- package/providers/_builtin/acp/qwen-code/provider.json +60 -0
- package/providers/_builtin/acp/stakpak/provider.json +54 -0
- package/providers/_builtin/acp/vtcode/provider.json +54 -0
- package/providers/_builtin/cli/claude-cli/provider.json +100 -0
- package/providers/_builtin/cli/codex-cli/provider.json +89 -0
- package/providers/_builtin/cli/gemini-cli/provider.json +93 -0
- package/providers/_builtin/docs/CDP_SELECTOR_GUIDE.md +370 -0
- package/providers/_builtin/docs/PROVIDER_GUIDE.md +916 -0
- package/providers/_builtin/extension/cline/provider.json +35 -0
- package/providers/_builtin/extension/cline/scripts/focus_editor.js +48 -0
- package/providers/_builtin/extension/cline/scripts/list_chats.js +100 -0
- package/providers/_builtin/extension/cline/scripts/list_models.js +43 -0
- package/providers/_builtin/extension/cline/scripts/list_modes.js +35 -0
- package/providers/_builtin/extension/cline/scripts/new_session.js +85 -0
- package/providers/_builtin/extension/cline/scripts/open_panel.js +25 -0
- package/providers/_builtin/extension/cline/scripts/read_chat.js +257 -0
- package/providers/_builtin/extension/cline/scripts/resolve_action.js +83 -0
- package/providers/_builtin/extension/cline/scripts/send_message.js +95 -0
- package/providers/_builtin/extension/cline/scripts/set_mode.js +36 -0
- package/providers/_builtin/extension/cline/scripts/set_model.js +36 -0
- package/providers/_builtin/extension/cline/scripts/switch_session.js +206 -0
- package/providers/_builtin/extension/cline/scripts.js +73 -0
- package/providers/_builtin/extension/roo-code/provider.json +35 -0
- package/providers/_builtin/extension/roo-code/scripts.js +659 -0
- package/providers/_builtin/ide/antigravity/provider.json +68 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/focus_editor.js +20 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/list_chats.js +137 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/list_models.js +38 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/list_modes.js +48 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/new_session.js +75 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/read_chat.js +262 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/resolve_action.js +68 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/scripts.js +57 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/send_message.js +56 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/set_mode.js +34 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/set_model.js +47 -0
- package/providers/_builtin/ide/antigravity/scripts/1.106/switch_session.js +114 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/focus_editor.js +20 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/list_chats.js +137 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/list_models.js +61 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/list_modes.js +72 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/new_session.js +75 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/read_chat.js +262 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/resolve_action.js +68 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/scripts.js +67 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/send_message.js +56 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/set_mode.js +67 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/set_model.js +72 -0
- package/providers/_builtin/ide/antigravity/scripts/1.107/switch_session.js +114 -0
- package/providers/_builtin/ide/cursor/provider.json +70 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/dismiss_notification.js +30 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/focus_editor.js +13 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/list_models.js +78 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/list_modes.js +40 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/list_notifications.js +23 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/list_sessions.js +42 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/new_session.js +20 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/open_panel.js +23 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/read_chat.js +75 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/resolve_action.js +19 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/scripts.js +78 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/send_message.js +23 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/set_mode.js +38 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/set_model.js +81 -0
- package/providers/_builtin/ide/cursor/scripts/0.49/switch_session.js +28 -0
- package/providers/_builtin/ide/kiro/provider.json +67 -0
- package/providers/_builtin/ide/kiro/scripts/focus_editor.js +20 -0
- package/providers/_builtin/ide/kiro/scripts/open_panel.js +47 -0
- package/providers/_builtin/ide/kiro/scripts/resolve_action.js +54 -0
- package/providers/_builtin/ide/kiro/scripts/send_message.js +29 -0
- package/providers/_builtin/ide/kiro/scripts/webview_list_models.js +39 -0
- package/providers/_builtin/ide/kiro/scripts/webview_list_modes.js +39 -0
- package/providers/_builtin/ide/kiro/scripts/webview_list_sessions.js +21 -0
- package/providers/_builtin/ide/kiro/scripts/webview_new_session.js +34 -0
- package/providers/_builtin/ide/kiro/scripts/webview_read_chat.js +68 -0
- package/providers/_builtin/ide/kiro/scripts/webview_send_message.js +72 -0
- package/providers/_builtin/ide/kiro/scripts/webview_set_mode.js +15 -0
- package/providers/_builtin/ide/kiro/scripts/webview_set_model.js +15 -0
- package/providers/_builtin/ide/kiro/scripts/webview_switch_session.js +26 -0
- package/providers/_builtin/ide/kiro/scripts.js +62 -0
- package/providers/_builtin/ide/pearai/provider.json +67 -0
- package/providers/_builtin/ide/pearai/scripts/focus_editor.js +20 -0
- package/providers/_builtin/ide/pearai/scripts/list_sessions.js +38 -0
- package/providers/_builtin/ide/pearai/scripts/new_session.js +55 -0
- package/providers/_builtin/ide/pearai/scripts/open_panel.js +46 -0
- package/providers/_builtin/ide/pearai/scripts/resolve_action.js +54 -0
- package/providers/_builtin/ide/pearai/scripts/send_message.js +29 -0
- package/providers/_builtin/ide/pearai/scripts/webview_list_models.js +43 -0
- package/providers/_builtin/ide/pearai/scripts/webview_list_modes.js +35 -0
- package/providers/_builtin/ide/pearai/scripts/webview_list_sessions.js +62 -0
- package/providers/_builtin/ide/pearai/scripts/webview_new_session.js +49 -0
- package/providers/_builtin/ide/pearai/scripts/webview_read_chat.js +92 -0
- package/providers/_builtin/ide/pearai/scripts/webview_resolve_action.js +59 -0
- package/providers/_builtin/ide/pearai/scripts/webview_send_message.js +72 -0
- package/providers/_builtin/ide/pearai/scripts/webview_set_mode.js +36 -0
- package/providers/_builtin/ide/pearai/scripts/webview_set_model.js +36 -0
- package/providers/_builtin/ide/pearai/scripts/webview_switch_session.js +34 -0
- package/providers/_builtin/ide/pearai/scripts.js +74 -0
- package/providers/_builtin/ide/trae/provider.json +66 -0
- package/providers/_builtin/ide/trae/scripts/focus_editor.js +20 -0
- package/providers/_builtin/ide/trae/scripts/list_chats.js +24 -0
- package/providers/_builtin/ide/trae/scripts/list_models.js +39 -0
- package/providers/_builtin/ide/trae/scripts/list_modes.js +39 -0
- package/providers/_builtin/ide/trae/scripts/new_session.js +30 -0
- package/providers/_builtin/ide/trae/scripts/open_panel.js +44 -0
- package/providers/_builtin/ide/trae/scripts/read_chat.js +113 -0
- package/providers/_builtin/ide/trae/scripts/resolve_action.js +54 -0
- package/providers/_builtin/ide/trae/scripts/send_message.js +69 -0
- package/providers/_builtin/ide/trae/scripts/set_mode.js +15 -0
- package/providers/_builtin/ide/trae/scripts/set_model.js +15 -0
- package/providers/_builtin/ide/trae/scripts/switch_session.js +23 -0
- package/providers/_builtin/ide/trae/scripts.js +57 -0
- package/providers/_builtin/ide/vscode/provider.json +64 -0
- package/providers/_builtin/ide/vscode-insiders/provider.json +62 -0
- package/providers/_builtin/ide/vscodium/provider.json +63 -0
- package/providers/_builtin/ide/windsurf/provider.json +53 -0
- package/providers/_builtin/ide/windsurf/scripts/focus_editor.js +30 -0
- package/providers/_builtin/ide/windsurf/scripts/list_chats.js +117 -0
- package/providers/_builtin/ide/windsurf/scripts/list_models.js +39 -0
- package/providers/_builtin/ide/windsurf/scripts/list_modes.js +39 -0
- package/providers/_builtin/ide/windsurf/scripts/new_session.js +69 -0
- package/providers/_builtin/ide/windsurf/scripts/open_panel.js +58 -0
- package/providers/_builtin/ide/windsurf/scripts/read_chat.js +297 -0
- package/providers/_builtin/ide/windsurf/scripts/resolve_action.js +68 -0
- package/providers/_builtin/ide/windsurf/scripts/send_message.js +87 -0
- package/providers/_builtin/ide/windsurf/scripts/set_mode.js +15 -0
- package/providers/_builtin/ide/windsurf/scripts/set_model.js +15 -0
- package/providers/_builtin/ide/windsurf/scripts/switch_session.js +58 -0
- package/providers/_builtin/ide/windsurf/scripts.js +57 -0
- package/providers/_builtin/registry.json +266 -0
- package/providers/_builtin/validate.js +156 -0
- package/src/agent-stream/index.ts +6 -0
- package/src/agent-stream/manager.ts +286 -0
- package/src/agent-stream/poller.ts +154 -0
- package/src/agent-stream/provider-adapter.ts +138 -0
- package/src/agent-stream/types.ts +61 -0
- package/src/boot/daemon-lifecycle.ts +252 -0
- package/src/cdp/devtools.ts +335 -0
- package/src/cdp/initializer.ts +191 -0
- package/src/cdp/manager.ts +897 -0
- package/src/cdp/scanner.ts +185 -0
- package/src/cdp/setup.ts +150 -0
- package/src/cli-adapter-types.ts +25 -0
- package/src/cli-adapters/provider-cli-adapter.ts +448 -0
- package/src/commands/cdp-commands.ts +208 -0
- package/src/commands/chat-commands.ts +675 -0
- package/src/commands/cli-manager.ts +353 -0
- package/src/commands/handler.ts +328 -0
- package/src/commands/router.ts +258 -0
- package/src/commands/stream-commands.ts +325 -0
- package/src/config/chat-history.ts +211 -0
- package/src/config/config.ts +219 -0
- package/src/daemon/dev-server.ts +2378 -0
- package/src/daemon/scaffold-template.ts +394 -0
- package/src/daemon-core.ts +50 -0
- package/src/detection/cli-detector.ts +89 -0
- package/src/detection/ide-detector.ts +157 -0
- package/src/index.ts +103 -0
- package/src/installer.ts +263 -0
- package/src/ipc-protocol.ts +133 -0
- package/src/launch.ts +433 -0
- package/src/logging/command-log.ts +180 -0
- package/src/logging/logger.ts +316 -0
- package/src/providers/acp-provider-instance.ts +1140 -0
- package/src/providers/cli-provider-instance.ts +207 -0
- package/src/providers/contracts.ts +524 -0
- package/src/providers/extension-provider-instance.ts +156 -0
- package/src/providers/ide-provider-instance.ts +377 -0
- package/src/providers/index.ts +18 -0
- package/src/providers/provider-instance-manager.ts +182 -0
- package/src/providers/provider-instance.ts +112 -0
- package/src/providers/provider-loader.ts +1031 -0
- package/src/providers/status-monitor.ts +125 -0
- package/src/providers/version-archive.ts +266 -0
- package/src/status/reporter.ts +294 -0
- package/src/types.ts +206 -0
package/src/types.ts
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADHDev Daemon Core — Shared Types
|
|
3
|
+
*
|
|
4
|
+
* Shared types referenced by daemon-core, daemon-standalone, daemon-cloud, web-core.
|
|
5
|
+
* When modifying this file, also update interface contracts in AGENT_PROTOCOL.md.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// ── Daemon Status ──
|
|
9
|
+
|
|
10
|
+
export interface DaemonStatus {
|
|
11
|
+
id: string;
|
|
12
|
+
type: string;
|
|
13
|
+
platform?: string;
|
|
14
|
+
hostname?: string;
|
|
15
|
+
nickname?: string;
|
|
16
|
+
cdpConnected?: boolean;
|
|
17
|
+
timestamp: number;
|
|
18
|
+
ides: IdeEntry[];
|
|
19
|
+
clis: CliEntry[];
|
|
20
|
+
acps?: AcpEntry[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// ── IDE Entry ──
|
|
24
|
+
|
|
25
|
+
export interface IdeEntry {
|
|
26
|
+
/** Format: "{daemonId}:ide:{instanceId}" */
|
|
27
|
+
id: string;
|
|
28
|
+
instanceId: string;
|
|
29
|
+
/** IDE type: "cursor", "windsurf", "vscode", etc. */
|
|
30
|
+
type: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
cdpConnected?: boolean;
|
|
33
|
+
cdpPort?: number;
|
|
34
|
+
/** Current chat messages (live) */
|
|
35
|
+
chats?: ChatMessage[];
|
|
36
|
+
/** Active chat session */
|
|
37
|
+
activeChat?: Record<string, unknown> | null;
|
|
38
|
+
/** Chat history (legacy) */
|
|
39
|
+
chatHistory?: unknown[];
|
|
40
|
+
/** Agent status: 'idle' | 'working' */
|
|
41
|
+
agentStatus?: string;
|
|
42
|
+
/** Agent streams from extensions */
|
|
43
|
+
agentStreams?: AgentStreamEntry[];
|
|
44
|
+
/** Extension agents monitored via CDP */
|
|
45
|
+
extensions?: ExtensionInfo[];
|
|
46
|
+
/** Workspace folders */
|
|
47
|
+
workspaceFolders?: { name: string; path: string }[];
|
|
48
|
+
/** Active file path */
|
|
49
|
+
activeFile?: string | null;
|
|
50
|
+
/** Current AI model */
|
|
51
|
+
currentModel?: string;
|
|
52
|
+
/** Current AI mode/plan */
|
|
53
|
+
currentPlan?: string;
|
|
54
|
+
/** Managed agents list */
|
|
55
|
+
agents?: unknown[];
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// ── CLI Entry ──
|
|
59
|
+
|
|
60
|
+
export interface CliEntry {
|
|
61
|
+
/** Format: "{daemonId}:cli:{cliId}" */
|
|
62
|
+
id: string;
|
|
63
|
+
cliId: string;
|
|
64
|
+
/** CLI type: "gemini-cli", "claude-code", "codex-cli", etc. */
|
|
65
|
+
type: string;
|
|
66
|
+
name?: string;
|
|
67
|
+
/** Whether the CLI process is running */
|
|
68
|
+
isRunning?: boolean;
|
|
69
|
+
/** Active session info */
|
|
70
|
+
sessionId?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// ── ACP Entry ──
|
|
74
|
+
|
|
75
|
+
export interface AcpEntry {
|
|
76
|
+
/** Format: "{daemonId}:acp:{acpId}" */
|
|
77
|
+
id: string;
|
|
78
|
+
acpId: string;
|
|
79
|
+
/** Agent type: "gemini-acp", "cline-acp", etc. */
|
|
80
|
+
type: string;
|
|
81
|
+
name?: string;
|
|
82
|
+
/** Process running state */
|
|
83
|
+
isRunning?: boolean;
|
|
84
|
+
/** Error state */
|
|
85
|
+
errorReason?: string;
|
|
86
|
+
errorMessage?: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// ── Chat Message ──
|
|
90
|
+
|
|
91
|
+
export interface ChatMessage {
|
|
92
|
+
role: string; // 'user' | 'assistant' | 'human' | 'system'
|
|
93
|
+
/** Plain text (legacy) or rich content blocks (ACP standard) */
|
|
94
|
+
content: string | ContentBlock[];
|
|
95
|
+
kind?: string; // 'standard' | 'thought' | 'tool' | 'system'
|
|
96
|
+
id?: string;
|
|
97
|
+
timestamp?: number;
|
|
98
|
+
/** Tool calls associated with this message */
|
|
99
|
+
toolCalls?: ToolCallInfo[];
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Re-export from contracts for convenience
|
|
103
|
+
import type { ContentBlock, ToolCallInfo } from './providers/contracts.js';
|
|
104
|
+
|
|
105
|
+
// ── Extension Info ──
|
|
106
|
+
|
|
107
|
+
export interface ExtensionInfo {
|
|
108
|
+
id: string;
|
|
109
|
+
type: string; // 'cline' | 'roo-code' | etc.
|
|
110
|
+
name: string;
|
|
111
|
+
isMonitored?: boolean;
|
|
112
|
+
agentStatus?: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// ── Command Result ──
|
|
116
|
+
|
|
117
|
+
export interface CommandResult {
|
|
118
|
+
success: boolean;
|
|
119
|
+
data?: any;
|
|
120
|
+
error?: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// ── Provider Config ──
|
|
124
|
+
|
|
125
|
+
export interface ProviderConfig {
|
|
126
|
+
id: string;
|
|
127
|
+
type: 'ide' | 'extension' | 'cli' | 'acp';
|
|
128
|
+
name: string;
|
|
129
|
+
/** CDP port detection */
|
|
130
|
+
cdpDetect?: {
|
|
131
|
+
processName?: string;
|
|
132
|
+
portFlag?: string;
|
|
133
|
+
};
|
|
134
|
+
/** Capabilities */
|
|
135
|
+
capabilities?: string[];
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// ── Event Types ──
|
|
139
|
+
|
|
140
|
+
export type DaemonEvent =
|
|
141
|
+
| { type: 'status'; data: DaemonStatus }
|
|
142
|
+
| { type: 'chat_update'; data: { ideId: string; messages: ChatMessage[] } }
|
|
143
|
+
| { type: 'screenshot'; data: { ideId: string; base64: string } }
|
|
144
|
+
| { type: 'action_log'; data: { ideId: string; text: string; timestamp: number } }
|
|
145
|
+
| { type: 'error'; data: { message: string } };
|
|
146
|
+
|
|
147
|
+
// ── API Response Types ──
|
|
148
|
+
|
|
149
|
+
export interface SystemInfo {
|
|
150
|
+
cpus: number;
|
|
151
|
+
totalMem: number;
|
|
152
|
+
freeMem: number;
|
|
153
|
+
loadavg: number[];
|
|
154
|
+
uptime: number;
|
|
155
|
+
arch: string;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface DetectedIde {
|
|
159
|
+
id: string;
|
|
160
|
+
type: string;
|
|
161
|
+
name: string;
|
|
162
|
+
installed: boolean;
|
|
163
|
+
running: boolean;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface ProviderInfo {
|
|
167
|
+
type: string;
|
|
168
|
+
icon: string;
|
|
169
|
+
displayName: string;
|
|
170
|
+
category: string;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** Full status response from /api/v1/status */
|
|
174
|
+
export interface StatusResponse {
|
|
175
|
+
id: string;
|
|
176
|
+
type: string;
|
|
177
|
+
platform: string;
|
|
178
|
+
hostname: string;
|
|
179
|
+
timestamp: number;
|
|
180
|
+
ides: IdeEntry[];
|
|
181
|
+
clis: CliEntry[];
|
|
182
|
+
cdpConnected: boolean;
|
|
183
|
+
detectedIdes: DetectedIde[];
|
|
184
|
+
availableProviders: ProviderInfo[];
|
|
185
|
+
system: SystemInfo;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** Agent stream entry within an IDE */
|
|
189
|
+
export interface AgentStreamEntry {
|
|
190
|
+
agentType: string;
|
|
191
|
+
agentName: string;
|
|
192
|
+
extensionId: string;
|
|
193
|
+
status: string;
|
|
194
|
+
messages: unknown[];
|
|
195
|
+
inputContent: string;
|
|
196
|
+
activeModal: { message: string; buttons: string[] } | null;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/** Flattened agent entry from /api/v1/agents */
|
|
200
|
+
export interface AgentEntry {
|
|
201
|
+
ideId: string;
|
|
202
|
+
type: string;
|
|
203
|
+
name: string;
|
|
204
|
+
status: string;
|
|
205
|
+
source: 'native' | 'extension';
|
|
206
|
+
}
|