@cat-factory/agents 0.11.0 → 0.11.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.
@@ -1 +1 @@
1
- {"version":3,"file":"read-only.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAkBpD,4FAA4F;AAC5F,eAAO,MAAM,qBAAqB,aAAiE,CAAA;AAEnG,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAE5D;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QAIiB,CAAA"}
1
+ {"version":3,"file":"read-only.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAmBpD,4FAA4F;AAC5F,eAAO,MAAM,qBAAqB,aAAiE,CAAA;AAEnG,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAE5D;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QAIiB,CAAA"}
@@ -1,18 +1,19 @@
1
1
  // Read-only container agents. Some agent kinds need a real checkout to do their
2
2
  // work but only ever READ it: they clone the repo, explore it, and return a prose
3
3
  // report/proposal — making no edits, no commits and opening no pull request. They
4
- // run through the harness `/explore` endpoint (not `/run`), where an edit-free run
5
- // is the expected, correct outcome rather than an "implementation produced no
6
- // changes" failure, and where no work branch or PR is created.
4
+ // dispatch through the generic, manifest-driven `agent` kind in `explore` mode (the
5
+ // SAME path a registered `container-explore` kind takes), where an edit-free run is
6
+ // the expected, correct outcome rather than an "implementation produced no changes"
7
+ // failure, and where no work branch or PR is created.
7
8
  //
8
9
  // Today that is the `architect` (proposes a design after reading the existing code,
9
10
  // whose prose proposal feeds the human gate / architect-companion) and the tech-debt
10
11
  // `analysis` agent (audits the repo and emits a prioritized report). Both share the
11
- // single reusable read-only execution path (see ContainerAgentExecutor's explore
12
- // body + the harness `handleExplore`).
13
- // The `bug-investigator` joins this set: it clones the repo, reads the codebase from a
14
- // raw bug report and returns a prose enriched report (+ an optional, confidence-gated
15
- // hypothesis), making no edits — the same read-only `/explore` path as architect/analysis.
12
+ // single reusable read-only dispatch (see ContainerAgentExecutor's
13
+ // `buildRegisteredAgentBody` explore path + the harness `handleAgent`).
14
+ // The `bug-investigator` joins this set: it reads the codebase from a raw bug report and
15
+ // returns a prose enriched report (+ an optional, confidence-gated hypothesis), making no
16
+ // edits — the same read-only contract as architect/analysis.
16
17
  /** Container agent kinds that operate read-only (explore + report; no edits/commits/PR). */
17
18
  export const READ_ONLY_AGENT_KINDS = new Set(['architect', 'analysis', 'bug-investigator']);
18
19
  /** Whether `kind` is a read-only container agent (runs the harness `/explore` path). */
@@ -1 +1 @@
1
- {"version":3,"file":"read-only.js","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAEA,gFAAgF;AAChF,kFAAkF;AAClF,kFAAkF;AAClF,mFAAmF;AACnF,8EAA8E;AAC9E,+DAA+D;AAC/D,EAAE;AACF,oFAAoF;AACpF,qFAAqF;AACrF,oFAAoF;AACpF,iFAAiF;AACjF,uCAAuC;AAEvC,uFAAuF;AACvF,sFAAsF;AACtF,2FAA2F;AAC3F,4FAA4F;AAC5F,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAS,CAAC,WAAW,EAAE,UAAU,EAAE,kBAAkB,CAAC,CAAC,CAAA;AAEnG,wFAAwF;AACxF,MAAM,UAAU,mBAAmB,CAAC,IAAe;IACjD,OAAO,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;AACxC,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAC9B,oFAAoF;IACpF,qFAAqF;IACrF,oFAAoF;IACpF,+CAA+C,CAAA"}
1
+ {"version":3,"file":"read-only.js","sourceRoot":"","sources":["../../../src/agents/kinds/read-only.ts"],"names":[],"mappings":"AAEA,gFAAgF;AAChF,kFAAkF;AAClF,kFAAkF;AAClF,oFAAoF;AACpF,oFAAoF;AACpF,oFAAoF;AACpF,sDAAsD;AACtD,EAAE;AACF,oFAAoF;AACpF,qFAAqF;AACrF,oFAAoF;AACpF,mEAAmE;AACnE,wEAAwE;AAExE,yFAAyF;AACzF,0FAA0F;AAC1F,6DAA6D;AAC7D,4FAA4F;AAC5F,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAS,CAAC,WAAW,EAAE,UAAU,EAAE,kBAAkB,CAAC,CAAC,CAAA;AAEnG,wFAAwF;AACxF,MAAM,UAAU,mBAAmB,CAAC,IAAe;IACjD,OAAO,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;AACxC,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAC9B,oFAAoF;IACpF,qFAAqF;IACrF,oFAAoF;IACpF,+CAA+C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/agents",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Agent catalog, routing, prompts and fragment library for the Agent Architecture Board.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,9 +29,9 @@
29
29
  "@ai-sdk/openai-compatible": "^2.0.51",
30
30
  "ai": "^6.0.209",
31
31
  "handlebars": "^4.7.9",
32
- "@cat-factory/contracts": "0.12.0",
33
- "@cat-factory/kernel": "0.12.0",
34
- "@cat-factory/prompt-fragments": "0.7.7"
32
+ "@cat-factory/contracts": "0.13.0",
33
+ "@cat-factory/kernel": "0.13.0",
34
+ "@cat-factory/prompt-fragments": "0.7.8"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "7.0.1-rc",