@karowanorg/orc-sdk 0.1.0 → 0.1.2

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 CHANGED
@@ -49,7 +49,7 @@ export declare class Orc {
49
49
  }>;
50
50
  validate(input: ValidateInput): Promise<Awaited<ReturnType<typeof validateOp.handler>>>;
51
51
  resume(runId: string, wait?: boolean): Promise<OrcRun>;
52
- capabilities(host?: string): Promise<unknown>;
52
+ capabilities(): Promise<unknown>;
53
53
  run(runId: string): OrcRun;
54
54
  status(runId: string): Promise<RunStatus>;
55
55
  approvals(runId: string): Promise<import("@karowanorg/orc-core").ApprovalRequest[]>;
package/dist/index.js CHANGED
@@ -83,9 +83,9 @@ export class Orc {
83
83
  await resumeOp.handler(resumeOp.input.parse({ runId, wait }), ctx);
84
84
  return new OrcRun(this, runId);
85
85
  }
86
- async capabilities(host) {
86
+ async capabilities() {
87
87
  const ctx = await this.ctx();
88
- return capabilitiesOp.handler({ host, refresh: false }, ctx);
88
+ return capabilitiesOp.handler({ refresh: false }, ctx);
89
89
  }
90
90
  run(runId) {
91
91
  return new OrcRun(this, runId);
package/dist/program.d.ts CHANGED
@@ -16,10 +16,8 @@ export interface AgentOptions {
16
16
  schema?: Json;
17
17
  /** Default true. false requires the run's allow-writes grant (fail-closed). */
18
18
  readOnly?: boolean;
19
- /** Plain path on the leaf's host. Defaults to the run cwd. */
19
+ /** Plain path. Defaults to the run cwd. */
20
20
  cwd?: string;
21
- /** SSH destination (separate field — never a URI). Defaults to the run host. */
22
- host?: string;
23
21
  /** Output-idle watchdog for this call, ms; false disables. */
24
22
  idleTimeout?: number | false;
25
23
  phase?: string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@karowanorg/orc-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "license": "0BSD",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "dependencies": {
8
- "@karowanorg/orc-ops": "^0.1.0",
9
- "@karowanorg/orc-core": "^0.1.0",
8
+ "@karowanorg/orc-ops": "^0.1.2",
9
+ "@karowanorg/orc-core": "^0.1.2",
10
10
  "zod": "^4.1.0"
11
11
  },
12
12
  "exports": {