@cat-factory/agents 0.51.0 → 0.52.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.
|
@@ -8,7 +8,7 @@ export interface VersionedPrompt {
|
|
|
8
8
|
export declare const PROMPT_VERSIONS: {
|
|
9
9
|
readonly 'requirement-review': {
|
|
10
10
|
readonly id: 'requirement-review';
|
|
11
|
-
readonly version:
|
|
11
|
+
readonly version: 3;
|
|
12
12
|
readonly text: string;
|
|
13
13
|
};
|
|
14
14
|
readonly 'requirement-rework': {
|
|
@@ -5,7 +5,7 @@ import { ARCHITECTURE_BRAINSTORM_REWORK_SYSTEM_PROMPT, ARCHITECTURE_BRAINSTORM_S
|
|
|
5
5
|
import { KAIZEN_SYSTEM_PROMPT } from '../prompts/kaizen.js';
|
|
6
6
|
/** The currently-shipping version of each numbered prompt. */
|
|
7
7
|
export const PROMPT_VERSIONS = {
|
|
8
|
-
'requirement-review': { id: 'requirement-review', version:
|
|
8
|
+
'requirement-review': { id: 'requirement-review', version: 3, text: REVIEW_SYSTEM_PROMPT },
|
|
9
9
|
'requirement-rework': { id: 'requirement-rework', version: 2, text: REWORK_SYSTEM_PROMPT },
|
|
10
10
|
'requirement-writer': { id: 'requirement-writer', version: 2, text: WRITER_SYSTEM_PROMPT },
|
|
11
11
|
'clarity-review': { id: 'clarity-review', version: 1, text: CLARITY_REVIEW_SYSTEM_PROMPT },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB,QAeV,CAAA;AAEvB;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,QAqBV,CAAA;AAEvB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,QAiBV,CAAA"}
|
|
@@ -9,6 +9,13 @@ export const REVIEW_SYSTEM_PROMPT = 'You are a meticulous product / requirements
|
|
|
9
9
|
'(gaps), ambiguities that need clarification, unstated assumptions, risks, and open ' +
|
|
10
10
|
'questions. Be specific, concrete and actionable, and phrase each item so a product ' +
|
|
11
11
|
'owner can answer it directly. Do NOT invent answers or requirements. ' +
|
|
12
|
+
'For EVERY finding, also judge whether it can be answered without the product owner: set ' +
|
|
13
|
+
'"autoAnswerable" to true ONLY when a confident, defensible answer follows from universal ' +
|
|
14
|
+
'engineering / product best practice OR is already determinable from the context provided ' +
|
|
15
|
+
'(so a senior engineer could reasonably decide it without new input). Set it to false when ' +
|
|
16
|
+
'answering the finding genuinely requires a business, product or domain decision, or ' +
|
|
17
|
+
'information not present in the context — anything where guessing would risk building the ' +
|
|
18
|
+
'wrong thing. When unsure, prefer false. ' +
|
|
12
19
|
'Respond with ONLY a JSON object — no prose, no code fences. ' +
|
|
13
20
|
FINAL_ANSWER_IN_REPLY;
|
|
14
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements.js","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mFAAmF;AACnF,qFAAqF;AACrF,6EAA6E;AAE7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAC/B,8EAA8E;IAC9E,mFAAmF;IACnF,oFAAoF;IACpF,qFAAqF;IACrF,qFAAqF;IACrF,uEAAuE;IACvE,8DAA8D;IAC9D,qBAAqB,CAAA;AAEvB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,kFAAkF;IAClF,oFAAoF;IACpF,oFAAoF;IACpF,uEAAuE;IACvE,qFAAqF;IACrF,mFAAmF;IACnF,sFAAsF;IACtF,4EAA4E;IAC5E,4BAA4B;IAC5B,oDAAoD;IACpD,qFAAqF;IACrF,6EAA6E;IAC7E,uDAAuD;IACvD,iFAAiF;IACjF,mDAAmD;IACnD,oFAAoF;IACpF,0DAA0D;IAC1D,+DAA+D;IAC/D,2EAA2E;IAC3E,8BAA8B;IAC9B,qBAAqB,CAAA;AAEvB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,yFAAyF;IACzF,yFAAyF;IACzF,sFAAsF;IACtF,wFAAwF;IACxF,4FAA4F;IAC5F,6FAA6F;IAC7F,2FAA2F;IAC3F,wFAAwF;IACxF,2FAA2F;IAC3F,+FAA+F;IAC/F,iGAAiG;IACjG,+FAA+F;IAC/F,qCAAqC;IACrC,0FAA0F;IAC1F,gGAAgG;IAChG,oDAAoD;IACpD,qBAAqB,CAAA"}
|
|
1
|
+
{"version":3,"file":"requirements.js","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mFAAmF;AACnF,qFAAqF;AACrF,6EAA6E;AAE7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAC/B,8EAA8E;IAC9E,mFAAmF;IACnF,oFAAoF;IACpF,qFAAqF;IACrF,qFAAqF;IACrF,uEAAuE;IACvE,0FAA0F;IAC1F,2FAA2F;IAC3F,2FAA2F;IAC3F,4FAA4F;IAC5F,sFAAsF;IACtF,2FAA2F;IAC3F,0CAA0C;IAC1C,8DAA8D;IAC9D,qBAAqB,CAAA;AAEvB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,kFAAkF;IAClF,oFAAoF;IACpF,oFAAoF;IACpF,uEAAuE;IACvE,qFAAqF;IACrF,mFAAmF;IACnF,sFAAsF;IACtF,4EAA4E;IAC5E,4BAA4B;IAC5B,oDAAoD;IACpD,qFAAqF;IACrF,6EAA6E;IAC7E,uDAAuD;IACvD,iFAAiF;IACjF,mDAAmD;IACnD,oFAAoF;IACpF,0DAA0D;IAC1D,+DAA+D;IAC/D,2EAA2E;IAC3E,8BAA8B;IAC9B,qBAAqB,CAAA;AAEvB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,yFAAyF;IACzF,yFAAyF;IACzF,sFAAsF;IACtF,wFAAwF;IACxF,4FAA4F;IAC5F,6FAA6F;IAC7F,2FAA2F;IAC3F,wFAAwF;IACxF,2FAA2F;IAC3F,+FAA+F;IAC/F,iGAAiG;IACjG,+FAA+F;IAC/F,qCAAqC;IACrC,0FAA0F;IAC1F,gGAAgG;IAChG,oDAAoD;IACpD,qBAAqB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.1",
|
|
4
4
|
"description": "Agent catalog, routing, prompts and fragment library for the Agent Architecture Board.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"ai": "^6.0.219",
|
|
32
32
|
"handlebars": "^4.7.9",
|
|
33
33
|
"valibot": "^1.4.2",
|
|
34
|
-
"@cat-factory/
|
|
35
|
-
"@cat-factory/
|
|
36
|
-
"@cat-factory/
|
|
34
|
+
"@cat-factory/prompt-fragments": "0.13.7",
|
|
35
|
+
"@cat-factory/contracts": "0.123.0",
|
|
36
|
+
"@cat-factory/kernel": "0.115.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "7.0.1-rc",
|
|
40
40
|
"vitest": "^4.1.9",
|
|
41
|
-
"@cat-factory/caching": "0.6.
|
|
41
|
+
"@cat-factory/caching": "0.6.20"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsc -b tsconfig.build.json",
|