@noetic-tools/context 1.2.1 → 1.2.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.
@@ -218,9 +218,9 @@ const KIND_ENTRIES = [
218
218
  line: '`runCode` — code in `execute`, run by a subprocess adapter the host must provide',
219
219
  },
220
220
  {
221
- kind: 'claude-code',
221
+ kind: 'acp-agent',
222
222
  group: 'leaf',
223
- line: '`claude-code`, `codex`, `opencode`, `pi` — hand a `prompt` to a coding agent',
223
+ line: '`acp-agent` — hand a `prompt` to an external coding agent named by `agent` (e.g. `claude-code`, `codex`, `gemini`)',
224
224
  },
225
225
  {
226
226
  kind: 'sequence',
@@ -263,21 +263,12 @@ const KIND_ENTRIES = [
263
263
  line: '`subflow` — run a named workflow by `ref`',
264
264
  },
265
265
  ];
266
- /** The harness kinds share one line, so they are folded into the `claude-code` entry. */
267
- const HARNESS_KINDS = [
268
- 'claude-code',
269
- 'codex',
270
- 'opencode',
271
- 'pi',
272
- ];
273
266
  function kindEntries(allowed) {
274
267
  if (!allowed) {
275
268
  return KIND_ENTRIES;
276
269
  }
277
270
  const permitted = new Set(allowed);
278
- return KIND_ENTRIES.filter((entry) => entry.kind === 'claude-code'
279
- ? HARNESS_KINDS.some((kind) => permitted.has(kind))
280
- : permitted.has(entry.kind));
271
+ return KIND_ENTRIES.filter((entry) => permitted.has(entry.kind));
281
272
  }
282
273
  function treeGuide(schemaUrl, allowed) {
283
274
  const entries = kindEntries(allowed);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noetic-tools/context",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "description": "Context layer system for Noetic agents: the ContextLayer contract, lifecycle, budget/projection machinery, and built-in layer implementations.",
6
6
  "license": "Apache-2.0",
@@ -44,7 +44,7 @@
44
44
  "zod": "^4.0.0"
45
45
  },
46
46
  "dependencies": {
47
- "@noetic-tools/types": "^3.2.1",
47
+ "@noetic-tools/types": "^3.2.2",
48
48
  "zod": "^4.0.0"
49
49
  },
50
50
  "scripts": {