@cat-factory/worker 0.52.10 → 0.53.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":"fragmentLibrary.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/config/fragmentLibrary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAEjC,YAAY,EAAE,qBAAqB,EAAE,CAAA;AAErC,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,GAAG,GAAG,qBAAqB,
|
|
1
|
+
{"version":3,"file":"fragmentLibrary.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/config/fragmentLibrary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAEjC,YAAY,EAAE,qBAAqB,EAAE,CAAA;AAErC,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,GAAG,GAAG,qBAAqB,CAQzE"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export function loadFragmentLibraryConfig(env) {
|
|
2
2
|
return {
|
|
3
|
-
|
|
3
|
+
// On by default; opt OUT with `PROMPT_LIBRARY_ENABLED=false`. The library needs
|
|
4
|
+
// no secrets (fragments aren't secrets) and its tables ship in the base
|
|
5
|
+
// migrations, so a stock deployment can curate/link fragments out of the box.
|
|
6
|
+
enabled: env.PROMPT_LIBRARY_ENABLED?.trim() !== 'false',
|
|
4
7
|
selector: env.PROMPT_LIBRARY_SELECTOR?.trim() === 'llm' ? 'llm' : 'deterministic',
|
|
5
8
|
};
|
|
6
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fragmentLibrary.js","sourceRoot":"","sources":["../../../src/infrastructure/config/fragmentLibrary.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,yBAAyB,CAAC,GAAQ;IAChD,OAAO;QACL,OAAO,EAAE,GAAG,CAAC,sBAAsB,KAAK,
|
|
1
|
+
{"version":3,"file":"fragmentLibrary.js","sourceRoot":"","sources":["../../../src/infrastructure/config/fragmentLibrary.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,yBAAyB,CAAC,GAAQ;IAChD,OAAO;QACL,gFAAgF;QAChF,wEAAwE;QACxE,8EAA8E;QAC9E,OAAO,EAAE,GAAG,CAAC,sBAAsB,EAAE,IAAI,EAAE,KAAK,OAAO;QACvD,QAAQ,EAAE,GAAG,CAAC,uBAAuB,EAAE,IAAI,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe;KAClF,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/worker",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.0",
|
|
4
4
|
"description": "Reusable Cloudflare Worker library (Hono + D1) exposing the Agent Architecture Board core: the `createApp()` Hono factory, the default fetch/scheduled/queue handler, and the Durable Object + Workflow classes. Deployments (see deploy/backend) supply the wrangler.toml + config and re-export these.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"@cat-factory/consensus": "0.8.9",
|
|
47
47
|
"@cat-factory/contracts": "0.81.2",
|
|
48
48
|
"@cat-factory/gates": "0.2.66",
|
|
49
|
-
"@cat-factory/integrations": "0.54.2",
|
|
50
|
-
"@cat-factory/observability-langfuse": "0.7.109",
|
|
51
|
-
"@cat-factory/prompt-fragments": "0.9.40",
|
|
52
49
|
"@cat-factory/gitlab": "0.4.37",
|
|
50
|
+
"@cat-factory/integrations": "0.54.2",
|
|
53
51
|
"@cat-factory/kernel": "0.69.5",
|
|
54
|
-
"@cat-factory/provider-cloudflare": "0.7.114",
|
|
55
|
-
"@cat-factory/server": "0.66.3",
|
|
56
52
|
"@cat-factory/orchestration": "0.57.5",
|
|
57
|
-
"@cat-factory/
|
|
53
|
+
"@cat-factory/prompt-fragments": "0.9.40",
|
|
54
|
+
"@cat-factory/provider-cloudflare": "0.7.114",
|
|
55
|
+
"@cat-factory/server": "0.66.4",
|
|
56
|
+
"@cat-factory/spend": "0.10.70",
|
|
57
|
+
"@cat-factory/observability-langfuse": "0.7.109"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@cloudflare/vitest-pool-workers": "^0.16.20",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"typescript": "7.0.1-rc",
|
|
63
63
|
"vitest": "^4.1.9",
|
|
64
64
|
"wrangler": "^4.105.0",
|
|
65
|
-
"@cat-factory/conformance": "0.9.
|
|
65
|
+
"@cat-factory/conformance": "0.9.89"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "tsc -b tsconfig.build.json",
|