qlogicagent 2.20.6 → 2.20.8

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.
Files changed (183) hide show
  1. package/README.md +27 -54
  2. package/dist/agent-contract.js +1 -1
  3. package/dist/agent.js +42 -41
  4. package/dist/cli.js +1 -1
  5. package/dist/host-contract.js +1 -1
  6. package/dist/index.js +539 -565
  7. package/dist/orchestration.js +14 -14
  8. package/dist/project-memory-host.js +30 -33
  9. package/dist/protocol.js +1 -1
  10. package/dist/types/agent/memory-recall-context.d.ts +7 -0
  11. package/dist/types/agent/tool-loop/artifact-final-contract.d.ts +2 -0
  12. package/dist/types/agent/tool-loop/direct-response-contract.d.ts +12 -0
  13. package/dist/types/agent/tool-loop/final-status-stream-suppressor.d.ts +22 -0
  14. package/dist/types/agent/tool-loop/loop-helpers.d.ts +2 -2
  15. package/dist/types/agent/tool-loop.d.ts +5 -1
  16. package/dist/types/agent/types.d.ts +27 -15
  17. package/dist/types/cli/acp-commands.d.ts +1 -1
  18. package/dist/types/cli/acp-extended-handlers.d.ts +13 -3
  19. package/dist/types/cli/agent-runtime-session-state.d.ts +1 -0
  20. package/dist/types/cli/base-tool-bootstrap.d.ts +0 -7
  21. package/dist/types/cli/community-skill-installer.d.ts +2 -0
  22. package/dist/types/cli/core-tool-coordinator.d.ts +0 -3
  23. package/dist/types/cli/core-tools/registry.d.ts +1 -4
  24. package/dist/types/cli/handlers/config-handler.d.ts +0 -1
  25. package/dist/types/cli/handlers/goal-handler.d.ts +24 -0
  26. package/dist/types/cli/handlers/memory-handler.d.ts +1 -2
  27. package/dist/types/cli/handlers/skill-curator-handler.d.ts +8 -0
  28. package/dist/types/cli/handlers/turn-handler.d.ts +9 -12
  29. package/dist/types/cli/memory-candidate-service.d.ts +1 -8
  30. package/dist/types/cli/memory-coordinator.d.ts +1 -13
  31. package/dist/types/cli/product-acp-params.d.ts +1 -0
  32. package/dist/types/cli/provider-core-facade.d.ts +2 -30
  33. package/dist/types/cli/rpc-registry.d.ts +2 -4
  34. package/dist/types/cli/runtime-hook-bootstrap.d.ts +1 -2
  35. package/dist/types/cli/stdio-acp-request-host.d.ts +1 -2
  36. package/dist/types/cli/stdio-rpc-handler-hosts.d.ts +0 -2
  37. package/dist/types/cli/stdio-runtime-bootstrap.d.ts +0 -7
  38. package/dist/types/cli/stdio-runtime-services.d.ts +1 -8
  39. package/dist/types/cli/stdio-server.d.ts +0 -4
  40. package/dist/types/cli/tool-bootstrap-core-registration.d.ts +0 -4
  41. package/dist/types/cli/tool-bootstrap.d.ts +0 -17
  42. package/dist/types/contracts/memory-recall-packet.d.ts +31 -0
  43. package/dist/types/contracts/memory-response-contract.d.ts +2 -0
  44. package/dist/types/contracts/tool-execution-evidence.d.ts +8 -0
  45. package/dist/types/contracts/tool-name.d.ts +10 -0
  46. package/dist/types/contracts/turn-event.d.ts +36 -3
  47. package/dist/types/host-contract/acp-content.d.ts +45 -0
  48. package/dist/types/host-contract/index.d.ts +65 -48
  49. package/dist/types/orchestration/agent-instance.d.ts +21 -1
  50. package/dist/types/orchestration/agent-roster.d.ts +14 -15
  51. package/dist/types/orchestration/dag-scheduler.d.ts +4 -0
  52. package/dist/types/orchestration/goal-context-envelope.d.ts +7 -0
  53. package/dist/types/orchestration/goal-loop-coordinator.d.ts +55 -12
  54. package/dist/types/orchestration/goal-mode-adapters.d.ts +13 -1
  55. package/dist/types/orchestration/goal-run-persistence.d.ts +9 -2
  56. package/dist/types/orchestration/goal-run-types.d.ts +127 -13
  57. package/dist/types/orchestration/index.d.ts +1 -1
  58. package/dist/types/orchestration/product-persistence.d.ts +10 -1
  59. package/dist/types/orchestration/product-planner.d.ts +3 -3
  60. package/dist/types/orchestration/testing/delegate-test-bridge.d.ts +1 -0
  61. package/dist/types/orchestration/workflow/data-item.d.ts +1 -1
  62. package/dist/types/orchestration/workflow/expression.d.ts +1 -2
  63. package/dist/types/orchestration/workflow/workflow-patch.d.ts +1 -2
  64. package/dist/types/orchestration/workflow/workflow-render.d.ts +1 -2
  65. package/dist/types/project-memory-host.d.ts +1 -0
  66. package/dist/types/protocol/agent-contract.d.ts +10 -8
  67. package/dist/types/protocol/methods.d.ts +2 -19
  68. package/dist/types/protocol/notifications.d.ts +1 -1
  69. package/dist/types/protocol/wire/acp-agent-management.d.ts +48 -6
  70. package/dist/types/protocol/wire/acp-protocol.d.ts +11 -24
  71. package/dist/types/protocol/wire/agent-methods.d.ts +5 -142
  72. package/dist/types/protocol/wire/chat-types.d.ts +50 -0
  73. package/dist/types/protocol/wire/index.d.ts +2 -2
  74. package/dist/types/protocol/wire/notification-payloads.d.ts +73 -122
  75. package/dist/types/protocol/wire/thread-protocol.d.ts +4 -40
  76. package/dist/types/runtime/community/community-consent-client.d.ts +0 -13
  77. package/dist/types/runtime/context/context-compression-strategies.d.ts +29 -0
  78. package/dist/types/runtime/context/context-envelope.d.ts +3 -0
  79. package/dist/types/runtime/execution/dream-agent.d.ts +4 -5
  80. package/dist/types/runtime/execution/mcp-capability-selection.d.ts +54 -0
  81. package/dist/types/runtime/execution/memory-decay.d.ts +1 -1
  82. package/dist/types/runtime/execution/search-result-quality.d.ts +22 -0
  83. package/dist/types/runtime/execution/streaming-tool-executor.d.ts +2 -0
  84. package/dist/types/runtime/execution/tool-result-storage.d.ts +44 -0
  85. package/dist/types/runtime/hooks/memory-hooks.d.ts +3 -2
  86. package/dist/types/runtime/infra/agent-paths.d.ts +0 -8
  87. package/dist/types/runtime/infra/default-path-service.d.ts +0 -2
  88. package/dist/types/runtime/infra/llmrouter-managed-inference.d.ts +54 -1
  89. package/dist/types/runtime/infra/media-persistence.d.ts +6 -36
  90. package/dist/types/runtime/memory/implicit-extraction.d.ts +7 -15
  91. package/dist/types/runtime/memory/memory-recall-attribution.d.ts +24 -0
  92. package/dist/types/runtime/ports/agent-runtime-ports.d.ts +14 -0
  93. package/dist/types/runtime/ports/index.d.ts +1 -3
  94. package/dist/types/runtime/ports/memory-provider.d.ts +2 -19
  95. package/dist/types/runtime/ports/memory-writer.d.ts +1 -1
  96. package/dist/types/runtime/ports/path-service.d.ts +0 -2
  97. package/dist/types/runtime/prompt/capability-routing-policy.d.ts +13 -0
  98. package/dist/types/runtime/prompt/environment-context.d.ts +3 -6
  99. package/dist/types/runtime/prompt/fresh-workspace-evidence.d.ts +8 -13
  100. package/dist/types/runtime/prompt/tool-necessity-policy.d.ts +12 -0
  101. package/dist/types/skills/mcp/mcp-manager.d.ts +29 -4
  102. package/dist/types/skills/memory/host-memory-provider.d.ts +3 -9
  103. package/dist/types/skills/memory/memdir.d.ts +1 -1
  104. package/dist/types/skills/memory/memory-content-safety.d.ts +1 -0
  105. package/dist/types/skills/permissions/hook-runner.d.ts +3 -3
  106. package/dist/types/skills/portable-tool.d.ts +5 -0
  107. package/dist/types/skills/skill-system/skill-lifecycle.d.ts +1 -0
  108. package/dist/types/skills/tools/exec-tool.d.ts +1 -5
  109. package/dist/types/skills/tools/shell/command-compatibility.d.ts +3 -0
  110. package/dist/types/skills/tools/shell/index.d.ts +4 -3
  111. package/dist/types/skills/tools/shell/shell-exec.d.ts +15 -8
  112. package/dist/types/skills/tools/shell/shell-provider.d.ts +26 -0
  113. package/dist/types/transport/acp-server.d.ts +4 -1
  114. package/dist/types/transport/host-community-client.d.ts +0 -1
  115. package/dist/types/transport/host-request-client.d.ts +1 -0
  116. package/dist/types/transport/host-run-state-client.d.ts +1 -1
  117. package/dist/workflow-host.js +6 -6
  118. package/package.json +4 -3
  119. package/dist/skills/mcp/astraclaw-native-mcp-server.js +0 -12
  120. package/dist/types/cli/core-tools/checkpoint-tool-bootstrap.d.ts +0 -9
  121. package/dist/types/cli/core-tools/checkpoint-tool-service.d.ts +0 -7
  122. package/dist/types/cli/core-tools/config-tool-bootstrap.d.ts +0 -7
  123. package/dist/types/cli/core-tools/config-tool-service.d.ts +0 -13
  124. package/dist/types/cli/core-tools/monitor-tool-bootstrap.d.ts +0 -7
  125. package/dist/types/cli/core-tools/monitor-tool-service.d.ts +0 -6
  126. package/dist/types/cli/dev-tool-bootstrap.d.ts +0 -9
  127. package/dist/types/cli/dev-tools/dev-tool-bootstrap-service.d.ts +0 -7
  128. package/dist/types/cli/dev-tools/dev-tool-registry.d.ts +0 -8
  129. package/dist/types/cli/dev-tools/incremental-repo-map.d.ts +0 -81
  130. package/dist/types/cli/dev-tools/lsp-supervisor.d.ts +0 -59
  131. package/dist/types/cli/dev-tools/lsp-tool-service.d.ts +0 -7
  132. package/dist/types/cli/handlers/media-handler.d.ts +0 -19
  133. package/dist/types/cli/handlers/skills-handler.d.ts +0 -37
  134. package/dist/types/cli/industrial-runtime-store.d.ts +0 -16
  135. package/dist/types/cli/media-capability-schema.d.ts +0 -49
  136. package/dist/types/cli/media-file-api-service.d.ts +0 -73
  137. package/dist/types/cli/media-file-tool-service.d.ts +0 -13
  138. package/dist/types/cli/media-inline.d.ts +0 -31
  139. package/dist/types/cli/media-runtime-facade.d.ts +0 -51
  140. package/dist/types/cli/media-understanding.d.ts +0 -102
  141. package/dist/types/cli/skill-invocation-service.d.ts +0 -10
  142. package/dist/types/cli/skill-tools-bootstrap.d.ts +0 -35
  143. package/dist/types/cli/skills-query-service.d.ts +0 -41
  144. package/dist/types/cli/tool-bootstrap-media-registration.d.ts +0 -20
  145. package/dist/types/cli/turn-media-setup.d.ts +0 -34
  146. package/dist/types/cli/turn-preview-browser-setup.d.ts +0 -15
  147. package/dist/types/runtime/infra/astraclaw-capabilities.d.ts +0 -33
  148. package/dist/types/runtime/infra/builtin-skills-seed.d.ts +0 -31
  149. package/dist/types/runtime/infra/checkpoint-backend.d.ts +0 -9
  150. package/dist/types/runtime/infra/industrial-runtime-session-server.d.ts +0 -20
  151. package/dist/types/runtime/infra/migrate-project-skills.d.ts +0 -24
  152. package/dist/types/runtime/infra/project-skill-manifest.d.ts +0 -21
  153. package/dist/types/runtime/infra/skill-resolver.d.ts +0 -74
  154. package/dist/types/runtime/infra/worktree-backend.d.ts +0 -86
  155. package/dist/types/runtime/ports/checkpoint-contracts.d.ts +0 -19
  156. package/dist/types/runtime/ports/worktree-contracts.d.ts +0 -22
  157. package/dist/types/skills/mcp/astraclaw-native-mcp-server.d.ts +0 -1
  158. package/dist/types/skills/memory/memory-tool.d.ts +0 -87
  159. package/dist/types/skills/tools/checkpoint-tool.d.ts +0 -66
  160. package/dist/types/skills/tools/config-tool.d.ts +0 -61
  161. package/dist/types/skills/tools/file-management-tool.d.ts +0 -90
  162. package/dist/types/skills/tools/image-generate-tool.d.ts +0 -98
  163. package/dist/types/skills/tools/instructions-tool.d.ts +0 -65
  164. package/dist/types/skills/tools/lsp-tool.d.ts +0 -153
  165. package/dist/types/skills/tools/media-cancel-tool.d.ts +0 -30
  166. package/dist/types/skills/tools/media-understand-tool.d.ts +0 -28
  167. package/dist/types/skills/tools/monitor-tool.d.ts +0 -113
  168. package/dist/types/skills/tools/music-generate-tool.d.ts +0 -80
  169. package/dist/types/skills/tools/notebook-edit-tool.d.ts +0 -15
  170. package/dist/types/skills/tools/preview-browser-tool.d.ts +0 -136
  171. package/dist/types/skills/tools/repo-map-tool.d.ts +0 -52
  172. package/dist/types/skills/tools/skill-tool.d.ts +0 -142
  173. package/dist/types/skills/tools/sleep-tool.d.ts +0 -49
  174. package/dist/types/skills/tools/stt-tool.d.ts +0 -33
  175. package/dist/types/skills/tools/subagent-decision-tool.d.ts +0 -15
  176. package/dist/types/skills/tools/three-d-generate-tool.d.ts +0 -46
  177. package/dist/types/skills/tools/tts-tool.d.ts +0 -50
  178. package/dist/types/skills/tools/video-edit-tool.d.ts +0 -72
  179. package/dist/types/skills/tools/video-generate-tool.d.ts +0 -162
  180. package/dist/types/skills/tools/video-merge-tool.d.ts +0 -105
  181. package/dist/types/skills/tools/video-upscale-tool.d.ts +0 -45
  182. package/dist/types/skills/tools/voice-clone-tool.d.ts +0 -40
  183. package/dist/types/skills/tools/worktree-tool.d.ts +0 -69
@@ -1,4 +1,5 @@
1
- export type { ShellType, PowerShellEdition, ShellSelection, WindowsPowerShellResolution, WindowsPowerShellProbe, BuildCommandOpts, BuiltCommand, ShellProvider, } from "./shell-provider.js";
1
+ export type { ShellType, PowerShellEdition, ShellSelection, WindowsPowerShellResolution, WindowsPowerShellProbe, BuildCommandOpts, BuiltCommand, ShellProvider, ShellCommandCompatibilityCode, ShellCommandCompatibilityIssue, ShellCommandRetryHint, } from "./shell-provider.js";
2
+ export { validateBashCommandCompatibility, validatePowerShellCommandCompatibility, } from "./command-compatibility.js";
2
3
  export { isPowerShellToolEnabled, resolveShellSelection, resolveWindowsPowerShell, getDefaultShellType, generateCommandId, } from "./shell-provider.js";
3
4
  export { createBashProvider } from "./bash-provider.js";
4
5
  export type { BashProviderOptions } from "./bash-provider.js";
@@ -13,5 +14,5 @@ export { TaskOutput, getTaskOutputDir, setTaskOutputDir, getTaskOutputPath, MAX_
13
14
  export type { ExecResult, ShellCommand } from "./shell-command.js";
14
15
  export { wrapSpawn, createAbortedCommand, createFailedCommand, } from "./shell-command.js";
15
16
  export { subprocessEnv } from "./subprocess-env.js";
16
- export { exec, getCwd, setCwd, initCwd, runWithCwd, getOriginalCwd, setShellProvider, getShellProvider, getActiveShellInfo, } from "./shell-exec.js";
17
- export type { ExecOptions } from "./shell-exec.js";
17
+ export { exec, getCwd, setCwd, initCwd, runWithCwd, getOriginalCwd, setShellProvider, getShellProvider, getActiveShellInfo, preflightShellCommand, } from "./shell-exec.js";
18
+ export type { ActiveShellInfo, ExecOptions, ShellCommandPreflightFailure, } from "./shell-exec.js";
@@ -1,4 +1,4 @@
1
- import type { ShellProvider, ShellType } from "./shell-provider.js";
1
+ import type { ShellCommandCompatibilityIssue, ShellProvider, ShellType } from "./shell-provider.js";
2
2
  import { type ShellCommand } from "./shell-command.js";
3
3
  import type { SandboxConfig } from "./sandbox/sandbox-types.js";
4
4
  export type { ExecResult } from "./shell-command.js";
@@ -21,10 +21,6 @@ export interface ExecOptions {
21
21
  cwd?: string;
22
22
  /** Sandbox context injected by the host; absent = no OS sandbox (degrade). */
23
23
  sandbox?: SandboxConfig;
24
- /** Late-bound CLI authority for active private runtime PATH entries. */
25
- resolveRuntimePathEntries?: () => Promise<string[]>;
26
- /** Opaque qlogicagent session identity for this shell call. */
27
- sessionId?: string;
28
24
  }
29
25
  /**
30
26
  * Set the shell provider for this session.
@@ -47,13 +43,24 @@ export declare function getShellProvider(): ShellProvider;
47
43
  * lightweight turns), and a missing provider is a normal "fall back to
48
44
  * detectShellType()" signal, not an error.
49
45
  */
50
- export declare function getActiveShellInfo(): {
46
+ export interface ActiveShellInfo {
51
47
  type: ShellType;
52
48
  shellPath: string;
53
49
  psEdition?: "5.1" | "7+";
54
50
  isGitBashOnWindows?: boolean;
55
- } | undefined;
56
- export declare function buildShellExecEnvironment(envOverrides: NodeJS.ProcessEnv, resolveRuntimePathEntries?: () => Promise<string[]>, sessionId?: string): Promise<NodeJS.ProcessEnv>;
51
+ }
52
+ export declare function getActiveShellInfo(): ActiveShellInfo | undefined;
53
+ export interface ShellCommandPreflightFailure {
54
+ shell: ActiveShellInfo;
55
+ compatibility: ShellCommandCompatibilityIssue;
56
+ }
57
+ /**
58
+ * Validate a command against the exact provider that `exec()` will spawn.
59
+ * Returning undefined means either compatible syntax or an unconfigured
60
+ * provider; startup still remains the authority for provider configuration.
61
+ */
62
+ export declare function preflightShellCommand(command: string): ShellCommandPreflightFailure | undefined;
63
+ export declare function buildShellExecEnvironment(envOverrides: NodeJS.ProcessEnv): Promise<NodeJS.ProcessEnv>;
57
64
  /**
58
65
  * Execute a shell command using the configured provider.
59
66
  * Creates a new child process for each invocation.
@@ -9,6 +9,24 @@ export type ShellType = "bash" | "powershell";
9
9
  * Consumed by prompt/guidance layers to tailor syntax advice.
10
10
  */
11
11
  export type PowerShellEdition = "5.1" | "7+";
12
+ /**
13
+ * Stable machine-readable reason returned when a command was authored for a
14
+ * different shell than the provider that will actually execute it.
15
+ */
16
+ export type ShellCommandCompatibilityCode = "powershell_curl_alias_flags" | "powershell_legacy_chain_operator" | "powershell_posix_null_device" | "powershell_posix_heredoc" | "powershell_posix_stdin_redirection" | "powershell_posix_while_read" | "powershell_cmd_null_redirection" | "powershell_nested_command_string" | "bash_powershell_syntax";
17
+ export interface ShellCommandRetryHint {
18
+ /** The caller should rewrite the command, not retry it unchanged. */
19
+ action: "rewrite_for_active_shell";
20
+ doNotRepeatUnchanged: true;
21
+ guidance: string;
22
+ alternatives: string[];
23
+ }
24
+ export interface ShellCommandCompatibilityIssue {
25
+ code: ShellCommandCompatibilityCode;
26
+ message: string;
27
+ incompatibleTokens: string[];
28
+ retry: ShellCommandRetryHint;
29
+ }
12
30
  /**
13
31
  * Options passed to `buildExecCommand`.
14
32
  */
@@ -62,6 +80,14 @@ export interface ShellProvider {
62
80
  * Undefined/false otherwise. Read by prompt guidance for path conventions.
63
81
  */
64
82
  readonly isGitBashOnWindows?: boolean;
83
+ /**
84
+ * Validate syntax against this provider before spawning a process.
85
+ *
86
+ * This is intentionally provider-owned: `process.platform`, User-Agent, and
87
+ * environment guesses cannot distinguish PowerShell 5.1, PowerShell 7+, and
88
+ * Git Bash running on the same Windows machine.
89
+ */
90
+ validateCommandCompatibility?(command: string): ShellCommandCompatibilityIssue | null;
65
91
  /**
66
92
  * Wrap a raw user command into a full shell command string.
67
93
  * Handles:
@@ -84,11 +84,13 @@ export interface AcpRequestHandler {
84
84
  handleAcpSoloSpecChat(params: Record<string, unknown>): Promise<unknown>;
85
85
  handleAcpWorkflowChat(params: Record<string, unknown>): Promise<unknown>;
86
86
  handleAcpWorkflowMatchIntent(params: Record<string, unknown>): Promise<unknown>;
87
+ handleAcpWorkflowPlanCommand(params: Record<string, unknown>): Promise<unknown>;
87
88
  handleAcpSoloSpecJudge(params: Record<string, unknown>): Promise<unknown>;
88
89
  handleAcpProductCreate(params: Record<string, unknown>): Promise<unknown>;
89
90
  handleAcpProductPlan(params: Record<string, unknown>): Promise<unknown>;
90
91
  handleAcpProductConfirm(params: Record<string, unknown>): Promise<unknown>;
91
92
  handleAcpProductMessage(params: Record<string, unknown>): Promise<unknown>;
93
+ handleAcpProductMutateDag(params: Record<string, unknown>): Promise<unknown>;
92
94
  handleAcpProductPause(params: Record<string, unknown>): Promise<unknown>;
93
95
  handleAcpProductResume(params: Record<string, unknown>): Promise<unknown>;
94
96
  handleAcpProductCancel(params: Record<string, unknown>): Promise<unknown>;
@@ -101,7 +103,8 @@ export interface AcpRequestHandler {
101
103
  handleAcpGoalUpdateGoal(params: Record<string, unknown>): Promise<unknown>;
102
104
  handleAcpGoalStop(params: Record<string, unknown>): Promise<unknown>;
103
105
  handleAcpGoalMessage(params: Record<string, unknown>): Promise<unknown>;
104
- handleAcpGoalSubscribe(params: Record<string, unknown>): Promise<unknown>;
106
+ handleAcpGoalRecover(params: Record<string, unknown>): Promise<unknown>;
107
+ handleAcpGoalDismiss(params: Record<string, unknown>): Promise<unknown>;
105
108
  }
106
109
  export interface AcpServerConfig {
107
110
  verbose?: boolean;
@@ -4,5 +4,4 @@ export declare class HostCommunityClient {
4
4
  constructor(client: Pick<HostRequestClient, "request">);
5
5
  resolveInstall(resourceId: string, version?: string): Promise<unknown>;
6
6
  listResourceVersions(resourceId: string): Promise<unknown>;
7
- resolveRuntime(id: string, platform: string): Promise<unknown>;
8
7
  }
@@ -26,6 +26,7 @@ export declare class HostRequestClient {
26
26
  private readonly log;
27
27
  private disposedReason;
28
28
  constructor(transport: HostRequestClientTransport, options?: HostRequestClientOptions);
29
+ supportsService(service: HostRequestParams["service"]): boolean;
29
30
  request(params: HostRequestParams, opts?: HostRequestOptions): Promise<unknown>;
30
31
  get pendingCount(): number;
31
32
  handleResponse(msg: AcpJsonRpcResponse): boolean;
@@ -12,7 +12,7 @@ export declare class HostRunStateClient {
12
12
  * and one such remnant permanently breaks the whole project's run-list projection.
13
13
  */
14
14
  openWithCheckpoint(runId: string, kind: "solo" | "product" | "goal", projectId: string, snapshot: unknown, sessionId: string, checkpointId?: string): Promise<string>;
15
- recordEvent(runId: string, event: Omit<RunEvent, "member">, sessionId: string): Promise<void>;
15
+ recordEvent(runId: string, event: RunEvent, sessionId: string): Promise<void>;
16
16
  checkpoint(runId: string, snapshot: unknown, sessionId: string, checkpointId?: string): Promise<void>;
17
17
  get(runId: string, sessionId: string): Promise<RunState>;
18
18
  list(projectId: string, sessionId: string, kind?: "solo" | "product" | "goal"): Promise<RunState[]>;