@cat-factory/kernel 0.123.1 → 0.123.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,5 +1,5 @@
|
|
|
1
1
|
/** Every structured failure cause a harness can stamp on a failed job view. */
|
|
2
|
-
export declare const HARNESS_FAILURE_CAUSES: readonly ['inactivity-timeout', 'max-duration', 'agent', 'git', 'api', 'no-usable-output', 'no-changes', 'deploy'];
|
|
2
|
+
export declare const HARNESS_FAILURE_CAUSES: readonly ['inactivity-timeout', 'max-duration', 'agent', 'git', 'api', 'llm-upstream', 'no-usable-output', 'no-changes', 'deploy'];
|
|
3
3
|
/** See {@link HARNESS_FAILURE_CAUSES}; the type the kernel job-view ports carry. */
|
|
4
4
|
export type HarnessFailureCause = (typeof HARNESS_FAILURE_CAUSES)[number];
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harness-failure.d.ts","sourceRoot":"","sources":["../../src/domain/harness-failure.ts"],"names":[],"mappings":"AAkBA,+EAA+E;AAC/E,eAAO,MAAM,sBAAsB,YAEjC,oBAAoB,EACpB,cAAc,
|
|
1
|
+
{"version":3,"file":"harness-failure.d.ts","sourceRoot":"","sources":["../../src/domain/harness-failure.ts"],"names":[],"mappings":"AAkBA,+EAA+E;AAC/E,eAAO,MAAM,sBAAsB,YAEjC,oBAAoB,EACpB,cAAc,EAId,OAAO,EACP,KAAK,EACL,KAAK,EACL,cAAc,EACd,kBAAkB,EAClB,YAAY,EAEZ,QAAQ,CACA,CAAA;AAEV,oFAAoF;AACpF,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEzE;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAElF;AAqBD;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,SAAS,GAAG,OAAO,GAAG,SAAS,CAEjC"}
|
|
@@ -21,10 +21,12 @@ export const HARNESS_FAILURE_CAUSES = [
|
|
|
21
21
|
'inactivity-timeout',
|
|
22
22
|
'max-duration',
|
|
23
23
|
// Executor-harness faults: the agent erred/threw, a git op failed, an upstream API call
|
|
24
|
-
// failed, the
|
|
24
|
+
// failed, the model provider rejected every call (auth/quota/rate-limit), the agent finished
|
|
25
|
+
// without a usable product / without a change to push.
|
|
25
26
|
'agent',
|
|
26
27
|
'git',
|
|
27
28
|
'api',
|
|
29
|
+
'llm-upstream',
|
|
28
30
|
'no-usable-output',
|
|
29
31
|
'no-changes',
|
|
30
32
|
// Deploy-harness fault: rendering/applying the Kubernetes manifests failed.
|
|
@@ -52,6 +54,7 @@ const FAILURE_KIND_BY_CAUSE = {
|
|
|
52
54
|
agent: 'agent',
|
|
53
55
|
git: 'agent',
|
|
54
56
|
api: 'agent',
|
|
57
|
+
'llm-upstream': 'agent',
|
|
55
58
|
'no-usable-output': 'agent',
|
|
56
59
|
'no-changes': 'agent',
|
|
57
60
|
deploy: 'agent',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harness-failure.js","sourceRoot":"","sources":["../../src/domain/harness-failure.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,+FAA+F;AAC/F,yCAAyC;AACzC,EAAE;AACF,2FAA2F;AAC3F,qFAAqF;AACrF,8FAA8F;AAC9F,gBAAgB;AAChB,4FAA4F;AAC5F,iCAAiC;AACjC,4FAA4F;AAC5F,6FAA6F;AAC7F,iDAAiD;AACjD,EAAE;AACF,4FAA4F;AAC5F,+FAA+F;AAC/F,gEAAgE;AAEhE,+EAA+E;AAC/E,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,gDAAgD;IAChD,oBAAoB;IACpB,cAAc;IACd,wFAAwF;IACxF,
|
|
1
|
+
{"version":3,"file":"harness-failure.js","sourceRoot":"","sources":["../../src/domain/har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
3
|
-
"version": "0.123.
|
|
3
|
+
"version": "0.123.2",
|
|
4
4
|
"description": "Shared vocabulary, pure logic, and port interfaces for the Agent Architecture Board.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"ai": "^6.0.224",
|
|
28
|
-
"@cat-factory/contracts": "0.128.
|
|
28
|
+
"@cat-factory/contracts": "0.128.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@vitest/coverage-v8": "^4.1.10",
|