qlogicagent 2.3.0 → 2.5.0
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.js +6 -6
- package/dist/cli.js +209 -208
- package/dist/index.js +234 -233
- package/dist/orchestration.js +2 -2
- package/dist/protocol.js +1 -0
- package/dist/types/agent/tunable-defaults.d.ts +7 -0
- package/dist/types/agent/types.d.ts +24 -100
- package/dist/types/cli/stdio-server.d.ts +11 -0
- package/dist/types/cli/tool-bootstrap.d.ts +6 -0
- package/dist/types/contracts/index.d.ts +2 -3
- package/dist/types/llm/provider-def.d.ts +3 -0
- package/dist/types/llm/transport.d.ts +25 -25
- package/dist/types/llm/transports/anthropic-messages.d.ts +2 -2
- package/dist/types/llm/transports/gemini-generatecontent.d.ts +2 -2
- package/dist/types/llm/transports/openai-chat.d.ts +2 -2
- package/dist/types/llm/transports/openai-responses.d.ts +9 -9
- package/dist/types/llm/transports/volcengine-responses.d.ts +11 -11
- package/dist/types/orchestration/agent-instance.d.ts +15 -0
- package/dist/types/orchestration/solo-evaluator.d.ts +13 -0
- package/dist/types/orchestration/solo-persistence.d.ts +38 -0
- package/dist/types/orchestration/tool-loop/tool-choice-policy.d.ts +1 -1
- package/dist/types/protocol/methods.d.ts +173 -53
- package/dist/types/protocol/notifications.d.ts +4 -514
- package/dist/types/protocol/wire/acp-protocol.d.ts +411 -0
- package/dist/types/protocol/wire/agent-events.d.ts +32 -0
- package/dist/types/protocol/wire/agent-methods.d.ts +587 -0
- package/dist/types/protocol/wire/agent-rpc.d.ts +97 -0
- package/dist/types/protocol/wire/capability-manifest.d.ts +111 -0
- package/dist/types/protocol/wire/capability-transport.d.ts +207 -0
- package/dist/types/protocol/wire/channel-ingress.d.ts +29 -0
- package/dist/types/protocol/wire/channel.d.ts +89 -0
- package/dist/types/protocol/wire/chat-types.d.ts +87 -0
- package/dist/types/protocol/wire/checkpoint-runtime.d.ts +61 -0
- package/dist/types/protocol/wire/checkpoint.d.ts +72 -0
- package/dist/types/protocol/wire/execution.d.ts +391 -0
- package/dist/types/protocol/wire/gateway-rpc.d.ts +314 -0
- package/dist/types/protocol/wire/gateway.d.ts +62 -0
- package/dist/types/protocol/wire/hook-protocol.d.ts +37 -0
- package/dist/types/protocol/wire/index.d.ts +25 -0
- package/dist/types/protocol/wire/memory-provider-lifecycle.d.ts +80 -0
- package/dist/types/protocol/wire/notification-payloads.d.ts +581 -0
- package/dist/types/protocol/wire/provider-runtime-contract.d.ts +66 -0
- package/dist/types/protocol/wire/provider-runtime-core.d.ts +147 -0
- package/dist/types/protocol/wire/provider-runtime-io.d.ts +20 -0
- package/dist/types/protocol/wire/resource-manifest.d.ts +68 -0
- package/dist/types/protocol/wire/session.d.ts +32 -0
- package/dist/types/protocol/wire/thread-protocol.d.ts +157 -0
- package/dist/types/protocol/wire/transport.d.ts +57 -0
- package/dist/types/protocol/wire/turn.d.ts +208 -0
- package/dist/types/protocol/wire/web-capability.d.ts +51 -0
- package/dist/types/runtime/hooks/memory-hooks.d.ts +2 -2
- package/dist/types/runtime/infra/acp-types.d.ts +3 -142
- package/dist/types/runtime/infra/token-budget.d.ts +3 -3
- package/dist/types/runtime/session/index.d.ts +1 -1
- package/dist/types/runtime/session/session-memory.d.ts +46 -0
- package/dist/types/runtime/session/session-persistence.d.ts +34 -8
- package/dist/types/runtime/session/session-state.d.ts +4 -4
- package/dist/types/skills/memory/memory-tool.d.ts +1 -1
- package/dist/types/skills/memory/qmemory-adapter.d.ts +2 -2
- package/dist/types/skills/memory/qmemory-http-client.d.ts +16 -0
- package/dist/types/skills/permissions/hook-runner.d.ts +4 -4
- package/dist/types/skills/permissions/permission-classifier.d.ts +2 -2
- package/dist/types/skills/tools/project-switch-tool.d.ts +24 -0
- package/dist/types/skills/tools.d.ts +5 -5
- package/dist/types/transport/acp-event-emitter.d.ts +1 -1
- package/dist/types/transport/acp-server.d.ts +17 -10
- package/package.json +14 -4
- package/dist/types/runtime/execution/remote-agent.d.ts +0 -63
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* OpenAI Responses API Transport
|
|
2
|
+
* OpenAI Responses API Transport 鈥?SSE streaming implementation.
|
|
3
3
|
*
|
|
4
4
|
* Implements the OpenAI Responses API (`POST /v1/responses`),
|
|
5
5
|
* the officially recommended path for GPT-5.x text generation.
|
|
@@ -49,14 +49,14 @@ export declare class OpenAIResponsesTransport implements LLMTransport {
|
|
|
49
49
|
*
|
|
50
50
|
* Event format: "event: <type>\ndata: <json>\n\n"
|
|
51
51
|
* Key events:
|
|
52
|
-
* - response.output_text.delta
|
|
53
|
-
* - response.reasoning_summary_text.delta
|
|
54
|
-
* - response.function_call_arguments.delta
|
|
55
|
-
* - response.output_item.added
|
|
56
|
-
* - response.output_item.done
|
|
57
|
-
* - response.content_part.done
|
|
58
|
-
* - response.completed
|
|
59
|
-
* - response.failed
|
|
52
|
+
* - response.output_text.delta 鈫?text content delta
|
|
53
|
+
* - response.reasoning_summary_text.delta 鈫?reasoning summary text
|
|
54
|
+
* - response.function_call_arguments.delta 鈫?tool call arguments streaming
|
|
55
|
+
* - response.output_item.added 鈫?new output item started
|
|
56
|
+
* - response.output_item.done 鈫?output item completed
|
|
57
|
+
* - response.content_part.done 鈫?content part completed (annotations)
|
|
58
|
+
* - response.completed 鈫?full response complete with usage
|
|
59
|
+
* - response.failed 鈫?error
|
|
60
60
|
*/
|
|
61
61
|
private parseSSEStream;
|
|
62
62
|
private processEvent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Volcengine Responses API Transport
|
|
2
|
+
* Volcengine Responses API Transport 鈥?SSE streaming implementation.
|
|
3
3
|
*
|
|
4
4
|
* Implements the fire mountain ark Responses API (`/api/v3/responses`),
|
|
5
5
|
* which is the officially recommended primary path for Doubao LLM text generation
|
|
@@ -37,9 +37,9 @@ export declare class VolcengineResponsesTransport implements LLMTransport {
|
|
|
37
37
|
stream(request: LLMRequest, apiKey: string, signal?: AbortSignal): AsyncGenerator<LLMChunk>;
|
|
38
38
|
/**
|
|
39
39
|
* Resolve known Volcengine Responses API incompatibilities:
|
|
40
|
-
* - instructions + caching
|
|
41
|
-
* - caching + json_schema
|
|
42
|
-
* - caching + builtin_web_search/image_process
|
|
40
|
+
* - instructions + caching 鈫?drop caching (搂20.7)
|
|
41
|
+
* - caching + json_schema 鈫?downgrade to json_object (搂20.10)
|
|
42
|
+
* - caching + builtin_web_search/image_process 鈫?drop those builtin tools
|
|
43
43
|
* Returns a shallow copy with fields adjusted; never mutates the original.
|
|
44
44
|
*/
|
|
45
45
|
private resolveConstraints;
|
|
@@ -51,13 +51,13 @@ export declare class VolcengineResponsesTransport implements LLMTransport {
|
|
|
51
51
|
*
|
|
52
52
|
* Event format: "event: <type>\ndata: <json>\n\n"
|
|
53
53
|
* Key events:
|
|
54
|
-
* - response.output_text.delta
|
|
55
|
-
* - response.reasoning_summary_text.delta
|
|
56
|
-
* - response.function_call_arguments.delta
|
|
57
|
-
* - response.output_item.added
|
|
58
|
-
* - response.output_item.done
|
|
59
|
-
* - response.completed
|
|
60
|
-
* - response.failed
|
|
54
|
+
* - response.output_text.delta 鈫?text content delta
|
|
55
|
+
* - response.reasoning_summary_text.delta 鈫?thinking/reasoning text
|
|
56
|
+
* - response.function_call_arguments.delta 鈫?tool call arguments streaming
|
|
57
|
+
* - response.output_item.added 鈫?new output item started
|
|
58
|
+
* - response.output_item.done 鈫?output item completed
|
|
59
|
+
* - response.completed 鈫?full response complete with usage
|
|
60
|
+
* - response.failed 鈫?error
|
|
61
61
|
*/
|
|
62
62
|
private parseSSEStream;
|
|
63
63
|
private processEvent;
|
|
@@ -26,6 +26,19 @@ export interface ProductCallbacks {
|
|
|
26
26
|
onCheckpointed?: (productId: string, timestamp: string) => void;
|
|
27
27
|
onBudgetWarning?: (productId: string, usedTokens: number, maxTotalTokens: number, percentage: number) => void;
|
|
28
28
|
onCompleted?: (productId: string, summary: string) => void;
|
|
29
|
+
/** DAG topology resolved and sent to client for visualization. */
|
|
30
|
+
onDagTopology?: (productId: string, nodes: {
|
|
31
|
+
id: string;
|
|
32
|
+
label: string;
|
|
33
|
+
deps: string[];
|
|
34
|
+
}[], edges: {
|
|
35
|
+
from: string;
|
|
36
|
+
to: string;
|
|
37
|
+
}[]) => void;
|
|
38
|
+
/** Real-time budget consumption update. */
|
|
39
|
+
onBudgetUpdate?: (productId: string, inputTokens: number, outputTokens: number, elapsed: number, maxTotalTokens?: number) => void;
|
|
40
|
+
/** Streaming text output from a running task. */
|
|
41
|
+
onTaskOutputDelta?: (productId: string, taskId: string, text: string) => void;
|
|
29
42
|
}
|
|
30
43
|
export declare class ProductOrchestrator {
|
|
31
44
|
private processManager;
|
|
@@ -46,6 +59,8 @@ export declare class ProductOrchestrator {
|
|
|
46
59
|
checkpoint(productId: string): Promise<void>;
|
|
47
60
|
/** Delete a product session, pausing first if active. */
|
|
48
61
|
delete(productId: string): Promise<void>;
|
|
62
|
+
/** Rollback a product to a checkpoint: delete running session then resume from disk. */
|
|
63
|
+
rollback(productId: string, _checkpoint: string): Promise<void>;
|
|
49
64
|
/** Get product status. */
|
|
50
65
|
getStatus(productId: string): ProductStatus | null;
|
|
51
66
|
/** List all products (in-memory + on-disk). */
|
|
@@ -24,6 +24,13 @@ export interface SoloCallbacks {
|
|
|
24
24
|
onEvaluation?: (soloId: string, evaluation: SoloEvaluation) => void;
|
|
25
25
|
/** Streaming text delta from a competing agent (forwarded from child process). */
|
|
26
26
|
onAgentDelta?: (soloId: string, agentId: string, text: string) => void;
|
|
27
|
+
/** File diff produced by a completed agent. */
|
|
28
|
+
onAgentDiff?: (soloId: string, agentId: string, files: {
|
|
29
|
+
path: string;
|
|
30
|
+
hunks: string;
|
|
31
|
+
}[]) => void;
|
|
32
|
+
/** Token usage report after agent completes. */
|
|
33
|
+
onAgentUsage?: (soloId: string, agentId: string, inputTokens: number, outputTokens: number) => void;
|
|
27
34
|
}
|
|
28
35
|
export declare class SoloEvaluator {
|
|
29
36
|
private processManager;
|
|
@@ -32,6 +39,12 @@ export declare class SoloEvaluator {
|
|
|
32
39
|
private callbacks;
|
|
33
40
|
private sessions;
|
|
34
41
|
constructor(processManager: AgentProcessManager, acpDetector: AcpDetector, configStore: AgentConfigStore | null, callbacks?: SoloCallbacks);
|
|
42
|
+
/** Persist current session data to disk (fire-and-forget). */
|
|
43
|
+
private persistSession;
|
|
44
|
+
/** Restore sessions from disk (call once at startup). */
|
|
45
|
+
restoreFromDisk(cwd?: string): Promise<number>;
|
|
46
|
+
/** Delete a solo session from memory and disk. */
|
|
47
|
+
deleteSolo(soloId: string): Promise<boolean>;
|
|
35
48
|
/**
|
|
36
49
|
* Start a Solo Mode PK session.
|
|
37
50
|
* Creates worktrees, spawns agents in parallel, waits for completion, then evaluates.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Solo Persistence — read/write Solo Mode state to disk.
|
|
3
|
+
*
|
|
4
|
+
* State is stored at `<project>/.qlogicagent/solos/<soloId>/solo-state.json`.
|
|
5
|
+
* Mirrors the product-persistence.ts pattern.
|
|
6
|
+
*/
|
|
7
|
+
import type { SoloState, SoloAgentState, SoloEvaluation } from "../runtime/infra/acp-types.js";
|
|
8
|
+
export interface PersistedSoloState {
|
|
9
|
+
soloId: string;
|
|
10
|
+
state: SoloState;
|
|
11
|
+
task: string;
|
|
12
|
+
cwd: string;
|
|
13
|
+
gitRoot: string;
|
|
14
|
+
agents: Array<{
|
|
15
|
+
agentId: string;
|
|
16
|
+
memberId: string;
|
|
17
|
+
worktreePath: string;
|
|
18
|
+
worktreeBranch: string;
|
|
19
|
+
state: SoloAgentState;
|
|
20
|
+
resultText?: string;
|
|
21
|
+
diff?: string;
|
|
22
|
+
usage?: {
|
|
23
|
+
inputTokens: number;
|
|
24
|
+
outputTokens: number;
|
|
25
|
+
};
|
|
26
|
+
error?: string;
|
|
27
|
+
}>;
|
|
28
|
+
evaluation?: SoloEvaluation;
|
|
29
|
+
createdAt: number;
|
|
30
|
+
}
|
|
31
|
+
/** Save solo state to disk. */
|
|
32
|
+
export declare function saveSoloState(state: PersistedSoloState, cwd?: string): Promise<void>;
|
|
33
|
+
/** Load solo state from disk. Returns undefined if not found. */
|
|
34
|
+
export declare function loadSoloState(soloId: string, cwd?: string): Promise<PersistedSoloState | undefined>;
|
|
35
|
+
/** List all solo session IDs with their persisted state. */
|
|
36
|
+
export declare function listSoloSessions(cwd?: string): Promise<PersistedSoloState[]>;
|
|
37
|
+
/** Delete solo state from disk. */
|
|
38
|
+
export declare function deleteSoloState(soloId: string, cwd?: string): Promise<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Centralized RPC Method Protocol
|
|
2
|
+
* Centralized RPC Method Protocol 鈥?all JSON-RPC request methods
|
|
3
3
|
* that qlogicagent exposes to external apps.
|
|
4
4
|
*
|
|
5
5
|
* This is the SINGLE SOURCE OF TRUTH for the agent's inbound API contract.
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { ChatMessage, ToolDefinition } from "../agent/types.js";
|
|
10
10
|
import type { TodoItem } from "../contracts/todo.js";
|
|
11
|
-
import type { AgentDescriptor, AgentConfig,
|
|
11
|
+
import type { AgentDescriptor, AgentConfig, GatewayRpcMethodMap, RpcProjectInfo, RpcProjectType, RpcProjectStatus, SoloStatus, ProductStatus, ProductSummary } from "./wire/index.js";
|
|
12
|
+
import type { AgentsScanParams, AgentsConfigParams, AgentsSetConfigParams, AgentsGetConfigParams, AgentsRemoveConfigParams, AgentsSetGatewayParams, SoloStartParams, SoloIdParams, SoloSelectParams, SoloDeleteParams, ProductCreateParams, ProductIdParams, ProductDeleteParams } from "../runtime/infra/acp-types.js";
|
|
12
13
|
export interface InitializeParams {
|
|
13
14
|
protocolVersion: string;
|
|
14
15
|
host?: {
|
|
@@ -125,6 +126,8 @@ export interface SessionGetInfoResult {
|
|
|
125
126
|
totalCost?: number;
|
|
126
127
|
};
|
|
127
128
|
}
|
|
129
|
+
export type SessionGetMessagesParams = GatewayRpcMethodMap["session.getMessages"]["params"];
|
|
130
|
+
export type SessionGetMessagesResult = GatewayRpcMethodMap["session.getMessages"]["result"];
|
|
128
131
|
export interface MemoryListParams {
|
|
129
132
|
/** Filter by source: "local" (md files), "store" (in-memory), "qmemory" (remote). */
|
|
130
133
|
source?: "local" | "store" | "qmemory" | "all";
|
|
@@ -177,7 +180,7 @@ export interface MemoryDreamResult {
|
|
|
177
180
|
export interface ToolsListParams {
|
|
178
181
|
/** Filter by category. */
|
|
179
182
|
category?: "builtin" | "mcp" | "plugin" | "all";
|
|
180
|
-
/** Include full parameter schemas (default false
|
|
183
|
+
/** Include full parameter schemas (default false 鈥?names only). */
|
|
181
184
|
includeSchema?: boolean;
|
|
182
185
|
}
|
|
183
186
|
export interface ToolsListResult {
|
|
@@ -302,56 +305,59 @@ export interface TasksCancelResult {
|
|
|
302
305
|
ok: boolean;
|
|
303
306
|
message: string;
|
|
304
307
|
}
|
|
305
|
-
export type ProjectType =
|
|
306
|
-
export type ProjectStatus =
|
|
307
|
-
export
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
export
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
export
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
export
|
|
328
|
-
|
|
329
|
-
export
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
export
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
export
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
export
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
export
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
export
|
|
349
|
-
|
|
350
|
-
export
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
308
|
+
export type ProjectType = RpcProjectType;
|
|
309
|
+
export type ProjectStatus = RpcProjectStatus;
|
|
310
|
+
export type ProjectInfo = RpcProjectInfo;
|
|
311
|
+
export type ProjectCreateParams = GatewayRpcMethodMap["project.create"]["params"];
|
|
312
|
+
export type ProjectCreateResult = GatewayRpcMethodMap["project.create"]["result"];
|
|
313
|
+
export type ProjectListParams = GatewayRpcMethodMap["project.list"]["params"];
|
|
314
|
+
export type ProjectListResult = GatewayRpcMethodMap["project.list"]["result"];
|
|
315
|
+
export type ProjectDeleteParams = GatewayRpcMethodMap["project.delete"]["params"];
|
|
316
|
+
export type ProjectDeleteResult = GatewayRpcMethodMap["project.delete"]["result"];
|
|
317
|
+
export type ProjectRenameParams = GatewayRpcMethodMap["project.rename"]["params"];
|
|
318
|
+
export type ProjectRenameResult = GatewayRpcMethodMap["project.rename"]["result"];
|
|
319
|
+
export type ProjectArchiveParams = GatewayRpcMethodMap["project.archive"]["params"];
|
|
320
|
+
export type ProjectArchiveResult = GatewayRpcMethodMap["project.archive"]["result"];
|
|
321
|
+
export type ProjectUnarchiveParams = GatewayRpcMethodMap["project.unarchive"]["params"];
|
|
322
|
+
export type ProjectUnarchiveResult = GatewayRpcMethodMap["project.unarchive"]["result"];
|
|
323
|
+
export type ProjectArchiveByGroupParams = GatewayRpcMethodMap["project.archiveByGroup"]["params"];
|
|
324
|
+
export type ProjectArchiveByGroupResult = GatewayRpcMethodMap["project.archiveByGroup"]["result"];
|
|
325
|
+
export type SessionCreateParams = GatewayRpcMethodMap["session.create"]["params"];
|
|
326
|
+
export type SessionCreateResult = GatewayRpcMethodMap["session.create"]["result"];
|
|
327
|
+
export type SessionListParams = GatewayRpcMethodMap["session.list"]["params"];
|
|
328
|
+
export type SessionListResult = GatewayRpcMethodMap["session.list"]["result"];
|
|
329
|
+
export type SessionGetParams = GatewayRpcMethodMap["session.get"]["params"];
|
|
330
|
+
export type SessionGetResult = GatewayRpcMethodMap["session.get"]["result"];
|
|
331
|
+
export type SessionUpdateParams = GatewayRpcMethodMap["session.update"]["params"];
|
|
332
|
+
export type SessionUpdateResult = GatewayRpcMethodMap["session.update"]["result"];
|
|
333
|
+
export type SessionDeleteParams = GatewayRpcMethodMap["session.delete"]["params"];
|
|
334
|
+
export type SessionDeleteResult = GatewayRpcMethodMap["session.delete"]["result"];
|
|
335
|
+
export type SessionArchiveParams = GatewayRpcMethodMap["session.archive"]["params"];
|
|
336
|
+
export type SessionArchiveResult = GatewayRpcMethodMap["session.archive"]["result"];
|
|
337
|
+
export type InstructionsListParams = GatewayRpcMethodMap["instructions.list"]["params"];
|
|
338
|
+
export type InstructionsListResult = GatewayRpcMethodMap["instructions.list"]["result"];
|
|
339
|
+
export type InstructionsReadParams = GatewayRpcMethodMap["instructions.read"]["params"];
|
|
340
|
+
export type InstructionsReadResult = GatewayRpcMethodMap["instructions.read"]["result"];
|
|
341
|
+
export type InstructionsWriteParams = GatewayRpcMethodMap["instructions.write"]["params"];
|
|
342
|
+
export type InstructionsWriteResult = GatewayRpcMethodMap["instructions.write"]["result"];
|
|
343
|
+
export type InstructionsDeleteParams = GatewayRpcMethodMap["instructions.delete"]["params"];
|
|
344
|
+
export type InstructionsDeleteResult = GatewayRpcMethodMap["instructions.delete"]["result"];
|
|
345
|
+
export type FilesListParams = GatewayRpcMethodMap["files.list"]["params"];
|
|
346
|
+
export type FilesListResult = GatewayRpcMethodMap["files.list"]["result"];
|
|
347
|
+
export type FilesReadParams = GatewayRpcMethodMap["files.read"]["params"];
|
|
348
|
+
export type FilesReadResult = GatewayRpcMethodMap["files.read"]["result"];
|
|
349
|
+
export type FilesCreateParams = GatewayRpcMethodMap["files.create"]["params"];
|
|
350
|
+
export type FilesCreateResult = GatewayRpcMethodMap["files.create"]["result"];
|
|
351
|
+
export type FilesRenameParams = GatewayRpcMethodMap["files.rename"]["params"];
|
|
352
|
+
export type FilesRenameResult = GatewayRpcMethodMap["files.rename"]["result"];
|
|
353
|
+
export type FilesDeleteParams = GatewayRpcMethodMap["files.delete"]["params"];
|
|
354
|
+
export type FilesDeleteResult = GatewayRpcMethodMap["files.delete"]["result"];
|
|
355
|
+
export type FilesGitStatusParams = GatewayRpcMethodMap["files.gitStatus"]["params"];
|
|
356
|
+
export type FilesGitStatusResult = GatewayRpcMethodMap["files.gitStatus"]["result"];
|
|
357
|
+
export type SessionSwitchProjectParams = GatewayRpcMethodMap["session.switchProject"]["params"];
|
|
358
|
+
export type SessionSwitchProjectResult = GatewayRpcMethodMap["session.switchProject"]["result"];
|
|
359
|
+
export type SessionGetStateParams = GatewayRpcMethodMap["session.getState"]["params"];
|
|
360
|
+
export type SessionGetStateResult = GatewayRpcMethodMap["session.getState"]["result"];
|
|
355
361
|
export interface RpcMethodMap {
|
|
356
362
|
"initialize": {
|
|
357
363
|
params: InitializeParams;
|
|
@@ -377,6 +383,10 @@ export interface RpcMethodMap {
|
|
|
377
383
|
params: SessionGetInfoParams;
|
|
378
384
|
result: SessionGetInfoResult;
|
|
379
385
|
};
|
|
386
|
+
"session.getMessages": {
|
|
387
|
+
params: SessionGetMessagesParams;
|
|
388
|
+
result: SessionGetMessagesResult;
|
|
389
|
+
};
|
|
380
390
|
"memory.list": {
|
|
381
391
|
params: MemoryListParams;
|
|
382
392
|
result: MemoryListResult;
|
|
@@ -502,6 +512,16 @@ export interface RpcMethodMap {
|
|
|
502
512
|
mergedBranch: string;
|
|
503
513
|
};
|
|
504
514
|
};
|
|
515
|
+
"solo.list": {
|
|
516
|
+
params: undefined;
|
|
517
|
+
result: SoloStatus[];
|
|
518
|
+
};
|
|
519
|
+
"solo.delete": {
|
|
520
|
+
params: SoloDeleteParams;
|
|
521
|
+
result: {
|
|
522
|
+
ok: true;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
505
525
|
"product.create": {
|
|
506
526
|
params: ProductCreateParams;
|
|
507
527
|
result: {
|
|
@@ -534,6 +554,26 @@ export interface RpcMethodMap {
|
|
|
534
554
|
params: undefined;
|
|
535
555
|
result: ProductSummary[];
|
|
536
556
|
};
|
|
557
|
+
"product.delete": {
|
|
558
|
+
params: ProductDeleteParams;
|
|
559
|
+
result: {
|
|
560
|
+
ok: true;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
"product.cancel": {
|
|
564
|
+
params: ProductIdParams;
|
|
565
|
+
result: {
|
|
566
|
+
ok: true;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
"product.rollback": {
|
|
570
|
+
params: ProductIdParams & {
|
|
571
|
+
checkpoint?: string;
|
|
572
|
+
};
|
|
573
|
+
result: {
|
|
574
|
+
ok: true;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
537
577
|
"project.create": {
|
|
538
578
|
params: ProjectCreateParams;
|
|
539
579
|
result: ProjectCreateResult;
|
|
@@ -546,6 +586,22 @@ export interface RpcMethodMap {
|
|
|
546
586
|
params: ProjectDeleteParams;
|
|
547
587
|
result: ProjectDeleteResult;
|
|
548
588
|
};
|
|
589
|
+
"project.rename": {
|
|
590
|
+
params: ProjectRenameParams;
|
|
591
|
+
result: ProjectRenameResult;
|
|
592
|
+
};
|
|
593
|
+
"project.archive": {
|
|
594
|
+
params: ProjectArchiveParams;
|
|
595
|
+
result: ProjectArchiveResult;
|
|
596
|
+
};
|
|
597
|
+
"project.unarchive": {
|
|
598
|
+
params: ProjectUnarchiveParams;
|
|
599
|
+
result: ProjectUnarchiveResult;
|
|
600
|
+
};
|
|
601
|
+
"project.archiveByGroup": {
|
|
602
|
+
params: ProjectArchiveByGroupParams;
|
|
603
|
+
result: ProjectArchiveByGroupResult;
|
|
604
|
+
};
|
|
549
605
|
"session.switchProject": {
|
|
550
606
|
params: SessionSwitchProjectParams;
|
|
551
607
|
result: SessionSwitchProjectResult;
|
|
@@ -554,6 +610,70 @@ export interface RpcMethodMap {
|
|
|
554
610
|
params: SessionGetStateParams;
|
|
555
611
|
result: SessionGetStateResult;
|
|
556
612
|
};
|
|
613
|
+
"session.create": {
|
|
614
|
+
params: SessionCreateParams;
|
|
615
|
+
result: SessionCreateResult;
|
|
616
|
+
};
|
|
617
|
+
"session.list": {
|
|
618
|
+
params: SessionListParams;
|
|
619
|
+
result: SessionListResult;
|
|
620
|
+
};
|
|
621
|
+
"session.get": {
|
|
622
|
+
params: SessionGetParams;
|
|
623
|
+
result: SessionGetResult;
|
|
624
|
+
};
|
|
625
|
+
"session.update": {
|
|
626
|
+
params: SessionUpdateParams;
|
|
627
|
+
result: SessionUpdateResult;
|
|
628
|
+
};
|
|
629
|
+
"session.delete": {
|
|
630
|
+
params: SessionDeleteParams;
|
|
631
|
+
result: SessionDeleteResult;
|
|
632
|
+
};
|
|
633
|
+
"session.archive": {
|
|
634
|
+
params: SessionArchiveParams;
|
|
635
|
+
result: SessionArchiveResult;
|
|
636
|
+
};
|
|
637
|
+
"instructions.list": {
|
|
638
|
+
params: InstructionsListParams;
|
|
639
|
+
result: InstructionsListResult;
|
|
640
|
+
};
|
|
641
|
+
"instructions.read": {
|
|
642
|
+
params: InstructionsReadParams;
|
|
643
|
+
result: InstructionsReadResult;
|
|
644
|
+
};
|
|
645
|
+
"instructions.write": {
|
|
646
|
+
params: InstructionsWriteParams;
|
|
647
|
+
result: InstructionsWriteResult;
|
|
648
|
+
};
|
|
649
|
+
"instructions.delete": {
|
|
650
|
+
params: InstructionsDeleteParams;
|
|
651
|
+
result: InstructionsDeleteResult;
|
|
652
|
+
};
|
|
653
|
+
"files.list": {
|
|
654
|
+
params: FilesListParams;
|
|
655
|
+
result: FilesListResult;
|
|
656
|
+
};
|
|
657
|
+
"files.read": {
|
|
658
|
+
params: FilesReadParams;
|
|
659
|
+
result: FilesReadResult;
|
|
660
|
+
};
|
|
661
|
+
"files.create": {
|
|
662
|
+
params: FilesCreateParams;
|
|
663
|
+
result: FilesCreateResult;
|
|
664
|
+
};
|
|
665
|
+
"files.rename": {
|
|
666
|
+
params: FilesRenameParams;
|
|
667
|
+
result: FilesRenameResult;
|
|
668
|
+
};
|
|
669
|
+
"files.delete": {
|
|
670
|
+
params: FilesDeleteParams;
|
|
671
|
+
result: FilesDeleteResult;
|
|
672
|
+
};
|
|
673
|
+
"files.gitStatus": {
|
|
674
|
+
params: FilesGitStatusParams;
|
|
675
|
+
result: FilesGitStatusResult;
|
|
676
|
+
};
|
|
557
677
|
}
|
|
558
678
|
/** All known RPC method names. */
|
|
559
679
|
export type RpcMethod = keyof RpcMethodMap;
|