@cat-factory/agents 0.17.1 → 0.18.0
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":"testing.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/testing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/testing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AA4ErE,4DAA4D;AAC5D,wBAAgB,aAAa,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAEtD;AAED,mFAAmF;AACnF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAIvE;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAazE"}
|
|
@@ -50,15 +50,20 @@ const TESTER_SYSTEM_PROMPT = [
|
|
|
50
50
|
FINAL_ANSWER_IN_REPLY,
|
|
51
51
|
].join('\n');
|
|
52
52
|
const FIXER_SYSTEM_PROMPT = [
|
|
53
|
-
'You are a software engineer fixing problems
|
|
54
|
-
'
|
|
53
|
+
'You are a software engineer fixing problems raised on this pull-request branch — either by a',
|
|
54
|
+
'tester (a structured report of failed outcomes and concerns) or by a human code reviewer (the',
|
|
55
|
+
'review threads and PR comments to address). The feedback to act on is provided in the run',
|
|
56
|
+
'context below.',
|
|
55
57
|
'',
|
|
56
|
-
'Address every
|
|
58
|
+
'Address every item raised:',
|
|
57
59
|
'- Reproduce each issue, find the root cause, and make the minimal correct change to fix it.',
|
|
58
60
|
'- Do not disable, skip or weaken tests to make them pass; fix the underlying behaviour.',
|
|
59
61
|
'- Keep the project building and the existing tests green.',
|
|
62
|
+
'- When the context includes review threads, post a short reply on each thread you addressed',
|
|
63
|
+
' noting how you resolved it, so the thread can be marked resolved.',
|
|
60
64
|
'',
|
|
61
|
-
'Commit your fixes to the current branch (no new branch, no new PR) so the tester
|
|
65
|
+
'Commit your fixes to the current branch (no new branch, no new PR) so the tester / reviewer can',
|
|
66
|
+
're-check them.',
|
|
62
67
|
'',
|
|
63
68
|
STANDARDS_FOOTER,
|
|
64
69
|
].join('\n');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../src/agents/prompts/testing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAA;AAElE,iFAAiF;AACjF,iFAAiF;AACjF,mFAAmF;AACnF,+EAA+E;AAC/E,qFAAqF;AACrF,qFAAqF;AACrF,oFAAoF;AACpF,2EAA2E;AAE3E,MAAM,iBAAiB,GAAG,QAAQ,CAAA;AAClC,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEhC,iFAAiF;AACjF,MAAM,iBAAiB,GAAG;IACxB,2EAA2E;IAC3E,GAAG;IACH,qFAAqF;IACrF,4EAA4E;IAC5E,oGAAoG;IACpG,wDAAwD;IACxD,sFAAsF;IACtF,MAAM;IACN,yGAAyG;IACzG,+FAA+F;IAC/F,MAAM;IACN,yCAAyC;IACzC,GAAG;CACJ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAEZ,MAAM,oBAAoB,GAAG;IAC3B,gGAAgG;IAChG,4OAA4O;IAC5O,EAAE;IACF,iDAAiD;IACjD,kKAAkK;IAClK,+ZAA+Z;IAC/Z,8JAA8J;IAC9J,EAAE;IACF,eAAe;IACf,sRAAsR;IACtR,kOAAkO;IAClO,wKAAwK;IACxK,oIAAoI;IACpI,EAAE;IACF,QAAQ;IACR,4LAA4L;IAC5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IAC3F,gBAAgB;IAChB,EAAE;IACF,4BAA4B;IAC5B,6FAA6F;IAC7F,yFAAyF;IACzF,2DAA2D;IAC3D,6FAA6F;IAC7F,qEAAqE;IACrE,EAAE;IACF,iGAAiG;IACjG,gBAAgB;IAChB,EAAE;IACF,gBAAgB;CACjB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAEZ,4DAA4D;AAC5D,MAAM,UAAU,aAAa,CAAC,IAAe;IAC3C,OAAO,IAAI,KAAK,iBAAiB,IAAI,IAAI,KAAK,gBAAgB,CAAA;AAChE,CAAC;AAED,mFAAmF;AACnF,MAAM,UAAU,mBAAmB,CAAC,IAAe;IACjD,IAAI,IAAI,KAAK,iBAAiB;QAAE,OAAO,oBAAoB,CAAA;IAC3D,IAAI,IAAI,KAAK,gBAAgB;QAAE,OAAO,mBAAmB,CAAA;IACzD,OAAO,SAAS,CAAA;AAClB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,wBAAwB,CAAC,OAAwB;IAC/D,IAAI,OAAO,CAAC,SAAS,KAAK,iBAAiB;QAAE,OAAO,EAAE,CAAA;IACtD,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,4BAA4B,CAAC,CAAA;IACrE,IAAI,GAAG,KAAK,WAAW,EAAE,CAAC;QACxB,OAAO,kHAAkH,CAAA;IAC3H,CAAC;IACD,IAAI,GAAG,KAAK,OAAO,EAAE,CAAC;QACpB,IAAI,OAAO,CAAC,OAAO,EAAE,mBAAmB,EAAE,CAAC;YACzC,OAAO,gIAAgI,CAAA;QACzI,CAAC;QACD,OAAO,qIAAqI,CAAA;IAC9I,CAAC;IACD,OAAO,EAAE,CAAA;AACX,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Agent catalog, routing, prompts and fragment library for the Agent Architecture Board.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"ai": "^6.0.209",
|
|
31
31
|
"handlebars": "^4.7.9",
|
|
32
32
|
"valibot": "^1.4.1",
|
|
33
|
-
"@cat-factory/contracts": "0.
|
|
34
|
-
"@cat-factory/
|
|
35
|
-
"@cat-factory/
|
|
33
|
+
"@cat-factory/contracts": "0.34.0",
|
|
34
|
+
"@cat-factory/kernel": "0.37.0",
|
|
35
|
+
"@cat-factory/prompt-fragments": "0.7.32"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "7.0.1-rc",
|