@tangle-network/agent-interface 5.6.0 → 5.6.1

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/harness.d.ts CHANGED
@@ -1,27 +1,16 @@
1
1
  import { z } from "zod";
2
2
  /**
3
- * The execution runner for an agent — WHICH runtime materializes and runs an `AgentProfile`.
3
+ * Recognized execution identities, not a deployment's list of installed runners.
4
+ * A profile's authored harness remains part of its canonical identity; execution
5
+ * receipts record authored identity, effective identity and selected harness
6
+ * separately. Retiring an executable must not invalidate historical profiles,
7
+ * sessions or receipts. Availability is admitted against the selected deployment.
4
8
  *
5
- * This enum describes an EXECUTION concern. When an `AgentProfile` authors a `harness`
6
- * preference, that field participates in its canonical identity like every other parsed profile
7
- * field. A caller or executor may override the preference for one run, but the execution receipt
8
- * preserves the authored identity, effective identity, and selected harness separately. This is
9
- * the single shared enum every layer references instead of keeping its own copy (session control,
10
- * the profile materializer, the cli-bridge backends, VB profile specs).
11
- *
12
- * `cli-base` is the router-backed mode — a plain multi-turn router call (a reviewer, a cheap judge,
13
- * a one-shot) with no full coding-agent harness. The rest are full agentic harnesses run in a
14
- * sandbox or locally via the CLI bridge.
15
- *
16
- * `forge` (tailcallhq/forgecode) and `cursor` (cursor-agent) are multi-provider CLI harnesses with
17
- * no vendor lock, so they carry no entry in the capability tables and resolve as router-backed.
18
- *
19
- * `prime` (PrimeIntellect-ai/prime-agent) is the prime fork of the pi line — the RLM
20
- * IPython-kernel harness. It is a distinct harness from `pi`: the fork's wire protocol has
21
- * diverged (its daemon rejects pi-line clients), so the two are not interchangeable at run time.
9
+ * `cli-base` names router-backed execution without a full coding-agent harness.
10
+ * `prime` is a distinct Pi-line fork with a different native wire protocol; its
11
+ * sessions are not interchangeable with Pi sessions. A shared identity does not
12
+ * assert protocol, model, profile-control or native-resume compatibility.
22
13
  */
23
- export type HarnessType = "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
24
- /** Runtime validator for {@link HarnessType}. Kept in lockstep with the type by the drift guard below. */
25
14
  export declare const harnessTypeSchema: z.ZodEnum<{
26
15
  acp: "acp";
27
16
  amp: "amp";
@@ -40,3 +29,5 @@ export declare const harnessTypeSchema: z.ZodEnum<{
40
29
  pi: "pi";
41
30
  prime: "prime";
42
31
  }>;
32
+ /** One declaration owns runtime validation and the compile-time vocabulary. */
33
+ export type HarnessType = z.infer<typeof harnessTypeSchema>;
package/dist/harness.js CHANGED
@@ -1,5 +1,16 @@
1
1
  import { z } from "zod";
2
- /** Runtime validator for {@link HarnessType}. Kept in lockstep with the type by the drift guard below. */
2
+ /**
3
+ * Recognized execution identities, not a deployment's list of installed runners.
4
+ * A profile's authored harness remains part of its canonical identity; execution
5
+ * receipts record authored identity, effective identity and selected harness
6
+ * separately. Retiring an executable must not invalidate historical profiles,
7
+ * sessions or receipts. Availability is admitted against the selected deployment.
8
+ *
9
+ * `cli-base` names router-backed execution without a full coding-agent harness.
10
+ * `prime` is a distinct Pi-line fork with a different native wire protocol; its
11
+ * sessions are not interchangeable with Pi sessions. A shared identity does not
12
+ * assert protocol, model, profile-control or native-resume compatibility.
13
+ */
3
14
  export const harnessTypeSchema = z.enum([
4
15
  "claude-code",
5
16
  "nanoclaw",
@@ -18,5 +29,3 @@ export const harnessTypeSchema = z.enum([
18
29
  "acp",
19
30
  "cli-base",
20
31
  ]);
21
- const _harnessSchemaMatchesType = true;
22
- void _harnessSchemaMatchesType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "5.6.0",
3
+ "version": "5.6.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",