@cat-factory/worker 0.201.5 → 0.201.6
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.
- package/dist/infrastructure/containers/CloudflareContainerTransport.js +1 -1
- package/dist/infrastructure/containers/CloudflareContainerTransport.js.map +1 -1
- package/dist/infrastructure/containers/DeployContainer.js +1 -1
- package/dist/infrastructure/containers/DeployContainer.js.map +1 -1
- package/dist/infrastructure/containers/RunContainer.d.ts +28 -1
- package/dist/infrastructure/containers/RunContainer.d.ts.map +1 -1
- package/dist/infrastructure/containers/RunContainer.js +37 -18
- package/dist/infrastructure/containers/RunContainer.js.map +1 -1
- package/dist/infrastructure/containers/UiTesterContainer.js +1 -1
- package/dist/infrastructure/containers/UiTesterContainer.js.map +1 -1
- package/package.json +19 -19
|
@@ -117,7 +117,7 @@ export class CloudflareContainerTransport {
|
|
|
117
117
|
backend = 'cloudflare-container';
|
|
118
118
|
constructor(
|
|
119
119
|
// Which per-run container class serves a given image variant. Every class (executor, UI
|
|
120
|
-
// tester, deploy harness) exposes the same `/jobs` HTTP contract on
|
|
120
|
+
// tester, deploy harness) exposes the same `/jobs` HTTP contract on the harness port plus
|
|
121
121
|
// `recentStopObservation`/`shutdown`, so this transport drives any of them unchanged: a
|
|
122
122
|
// deploy-dedicated instance is simply built over a resolver pinned to that one namespace.
|
|
123
123
|
resolveNamespace,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudflareContainerTransport.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/CloudflareContainerTransport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EAOrB,kBAAkB,GACnB,MAAM,qBAAqB,CAAA;AAI5B,OAAO,EAEL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,aAAa,CAAA;AAGpB,+FAA+F;AAC/F,yFAAyF;AACzF,gGAAgG;AACh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BAAwB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,cAAc;QAC/D,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO;QACtC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC9B,CAAA;AACH,CAAC;AAED,mFAAmF;AACnF,sFAAsF;AACtF,uFAAuF;AACvF,oFAAoF;AACpF,sFAAsF;AACtF,sFAAsF;AACtF,sFAAsF;AACtF,oFAAoF;AACpF,2EAA2E;AAC3E,gDAAgD;AAChD,EAAE;AACF,+EAA+E;AAC/E,oFAAoF;AACpF,oFAAoF;AACpF,iFAAiF;AACjF,UAAU;AAEV,oFAAoF;AACpF,+EAA+E;AAC/E,mEAAmE;AACnE,MAAM,mBAAmB,GAAG,MAAM,CAAA;AAClC,MAAM,eAAe,GAAG,MAAM,CAAA;AAC9B,iGAAiG;AACjG,6FAA6F;AAC7F,0FAA0F;AAC1F,MAAM,eAAe,GAAG,MAAM,CAAA;AAE9B,kFAAkF;AAClF,mFAAmF;AACnF,mFAAmF;AACnF,MAAM,qBAAqB,GAAG,kBAAkB,CAAA;AAEhD;;;;;;;GAOG;AACH,MAAM,UAAU,uBAAuB,CACrC,SAAgC;IAEhC,OAAO,GAAG,EAAE,CAAC,SAAS,CAAA;AACxB,CAAC;AAED,MAAM,OAAO,4BAA4B;IASpB,gBAAgB;IAEhB,QAAQ;IAQR,YAAY;IAlB/B,6EAA6E;IACpE,OAAO,GAAG,sBAAsB,CAAA;IAEzC;IACE,wFAAwF;IACxF,
|
|
1
|
+
{"version":3,"file":"CloudflareContainerTransport.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/CloudflareContainerTransport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EAOrB,kBAAkB,GACnB,MAAM,qBAAqB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gBAAE,OAAO,SAAS,CAAA;QAC9C,CAAC;QACD,MAAM,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QACvB,OAAO,SAAS,CAAA;IAClB,CAAC;CACF;AAED;;;;GAIG;AACH,KAAK,UAAU,QAAQ,CAAC,GAAa;IACnC,IAAI,CAAC;QACH,OAAO,MAAM,GAAG,CAAC,IAAI,EAAE,CAAA;IACzB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAA;IAClB,CAAC;AACH,CAAC;AAED,KAAK,UAAU,QAAQ,CAAC,GAAa;IACnC,IAAI,CAAC;QACH,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;IACzC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,WAAW,CAAA;IACpB,CAAC;AACH,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { RunContainer } from './RunContainer';
|
|
|
5
5
|
// class, so the `image: 'deploy'` dispatch variant needs its own class. This one is bound as
|
|
6
6
|
// `DEPLOY_CONTAINER`, so the k8s CLIs never bloat an agent run's cold start.
|
|
7
7
|
//
|
|
8
|
-
// The deploy harness serves the SAME `POST /jobs` + `GET /jobs/{id}` contract on
|
|
8
|
+
// The deploy harness serves the SAME `POST /jobs` + `GET /jobs/{id}` contract on the same port, so the
|
|
9
9
|
// generic `CloudflareContainerTransport` drives it unchanged (it just gets this namespace), and
|
|
10
10
|
// its lifecycle behaviour is {@link RunContainer}'s, shared byte-for-byte with the agent one.
|
|
11
11
|
export class DeployContainer extends RunContainer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeployContainer.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/DeployContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,+FAA+F;AAC/F,gGAAgG;AAChG,0FAA0F;AAC1F,6FAA6F;AAC7F,6EAA6E;AAC7E,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"DeployContainer.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/DeployContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,+FAA+F;AAC/F,gGAAgG;AAChG,0FAA0F;AAC1F,6FAA6F;AAC7F,6EAA6E;AAC7E,EAAE;AACF,uGAAuG;AACvG,gGAAgG;AAChG,8FAA8F;AAC9F,MAAM,OAAO,eAAgB,SAAQ,YAAY;CAAG"}
|
|
@@ -4,7 +4,7 @@ import type { Env } from '../env';
|
|
|
4
4
|
import { type StopObservation } from './stopCause';
|
|
5
5
|
/**
|
|
6
6
|
* The behaviour every per-run Cloudflare Container shares: one Durable Object instance per run
|
|
7
|
-
* id hosts that run's sequence of jobs, the harness listens on
|
|
7
|
+
* id hosts that run's sequence of jobs, the harness listens on {@link HARNESS_JOB_PORT}, and the base
|
|
8
8
|
* `Container.fetch` proxies inbound requests there once it has booted.
|
|
9
9
|
*
|
|
10
10
|
* The two concrete classes ({@link import('./ExecutionContainer').ExecutionContainer} and
|
|
@@ -147,4 +147,31 @@ export declare abstract class RunContainer extends Container<Env> {
|
|
|
147
147
|
/** The DO storage, narrowed to what the stop-cause bookkeeping uses. */
|
|
148
148
|
private get storage();
|
|
149
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* The container env every per-run Cloudflare Container is started with.
|
|
152
|
+
*
|
|
153
|
+
* A free function rather than an inline initializer because it is the only place the Worker states
|
|
154
|
+
* what the job container's environment IS, and an initializer reading `this.env` can only be
|
|
155
|
+
* evaluated by standing up a Durable Object.
|
|
156
|
+
*
|
|
157
|
+
* Two values are omitted when unset, so the harness keeps its own defaults:
|
|
158
|
+
*
|
|
159
|
+
* - `HARNESS_SHARED_SECRET`: inbound auth, so the harness rejects any /jobs call that does not
|
|
160
|
+
* present the matching `x-harness-secret` header (which the transport sends).
|
|
161
|
+
* - `GITHUB_ALLOWED_HOSTS`: the harness will only send a clone/push credential to a host on its
|
|
162
|
+
* allow-list, which defaults to github.com. A GitLab deployment's clone URL is therefore
|
|
163
|
+
* refused at checkout unless its instance is named here. It is the sibling of
|
|
164
|
+
* `deploymentRepoOrigin`, derived from the same `GITLAB_API_BASE` inversion so the host
|
|
165
|
+
* dispatched to and the host allowed cannot disagree. (Local mode's `harnessAllowedHosts` is
|
|
166
|
+
* the same widening on the transport it owns.)
|
|
167
|
+
*
|
|
168
|
+
* `PORT` is the exception: always stated, and last, so nothing above can disagree with the
|
|
169
|
+
* {@link RunContainer.defaultPort} the class addresses. Left unset, the two are joined only by the
|
|
170
|
+
* image happening to default to the same number, and a deployment pins its OWN mirrored image tag
|
|
171
|
+
* in the wrangler `[[containers]]` block. One left on a tag from before the harness port moved
|
|
172
|
+
* would bind its own default, answer nothing on `defaultPort`, and surface as a container that
|
|
173
|
+
* never became ready. The Kubernetes pod spec and the local container adapters state it the same
|
|
174
|
+
* way, so no facade leaves the served port to the image.
|
|
175
|
+
*/
|
|
176
|
+
export declare function runContainerEnv(env: Env): Record<string, string>;
|
|
150
177
|
//# sourceMappingURL=RunContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunContainer.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/containers/RunContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"RunContainer.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/containers/RunContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAIxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAGjC,OAAO,EAML,KA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|
|
2
3
|
import { runBestEffort } from '@cat-factory/kernel';
|
|
3
4
|
import { harnessGitLabHost } from '@cat-factory/server';
|
|
4
5
|
import { loadGitLabConfig } from '../config/gitlab';
|
|
@@ -6,7 +7,7 @@ import { logger } from '../observability/logger';
|
|
|
6
7
|
import { clearStopCause, isRolloutSignal, observationForStop, recordStopCause, takeStopCause, } from './stopCause';
|
|
7
8
|
/**
|
|
8
9
|
* The behaviour every per-run Cloudflare Container shares: one Durable Object instance per run
|
|
9
|
-
* id hosts that run's sequence of jobs, the harness listens on
|
|
10
|
+
* id hosts that run's sequence of jobs, the harness listens on {@link HARNESS_JOB_PORT}, and the base
|
|
10
11
|
* `Container.fetch` proxies inbound requests there once it has booted.
|
|
11
12
|
*
|
|
12
13
|
* The two concrete classes ({@link import('./ExecutionContainer').ExecutionContainer} and
|
|
@@ -22,23 +23,8 @@ import { clearStopCause, isRolloutSignal, observationForStop, recordStopCause, t
|
|
|
22
23
|
*/
|
|
23
24
|
export class RunContainer extends Container {
|
|
24
25
|
/** The harness HTTP server port (matches each image's Dockerfile ENTRYPOINT/EXPOSE). */
|
|
25
|
-
defaultPort =
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
// - `HARNESS_SHARED_SECRET`: inbound auth, so the harness rejects any /jobs call that does
|
|
29
|
-
// not present the matching `x-harness-secret` header (which the transport sends).
|
|
30
|
-
// - `GITHUB_ALLOWED_HOSTS`: the harness will only send a clone/push credential to a host on
|
|
31
|
-
// its allow-list, which defaults to github.com. A GitLab deployment's clone URL is
|
|
32
|
-
// therefore refused at checkout unless its instance is named here. It is the sibling of
|
|
33
|
-
// `deploymentRepoOrigin`, derived from the same `GITLAB_API_BASE` inversion so the host
|
|
34
|
-
// dispatched to and the host allowed cannot disagree. (Local mode's `harnessAllowedHosts`
|
|
35
|
-
// is the same widening on the transport it owns.)
|
|
36
|
-
envVars = {
|
|
37
|
-
...(this.env.HARNESS_SHARED_SECRET
|
|
38
|
-
? { HARNESS_SHARED_SECRET: this.env.HARNESS_SHARED_SECRET }
|
|
39
|
-
: {}),
|
|
40
|
-
...harnessHostEnv(this.env),
|
|
41
|
-
};
|
|
26
|
+
defaultPort = HARNESS_JOB_PORT;
|
|
27
|
+
envVars = runContainerEnv(this.env);
|
|
42
28
|
// A job is dispatched, then polled every ~15s while it runs, so the instance stays warm for
|
|
43
29
|
// the job's duration without holding a single request open. Polling is the ONLY thing that
|
|
44
30
|
// keeps it warm, which is why an elapsed window is recorded as a reclaim cause rather than
|
|
@@ -248,4 +234,37 @@ function harnessHostEnv(env) {
|
|
|
248
234
|
const host = harnessGitLabHost(loadGitLabConfig(env));
|
|
249
235
|
return host ? { GITHUB_ALLOWED_HOSTS: host } : {};
|
|
250
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* The container env every per-run Cloudflare Container is started with.
|
|
239
|
+
*
|
|
240
|
+
* A free function rather than an inline initializer because it is the only place the Worker states
|
|
241
|
+
* what the job container's environment IS, and an initializer reading `this.env` can only be
|
|
242
|
+
* evaluated by standing up a Durable Object.
|
|
243
|
+
*
|
|
244
|
+
* Two values are omitted when unset, so the harness keeps its own defaults:
|
|
245
|
+
*
|
|
246
|
+
* - `HARNESS_SHARED_SECRET`: inbound auth, so the harness rejects any /jobs call that does not
|
|
247
|
+
* present the matching `x-harness-secret` header (which the transport sends).
|
|
248
|
+
* - `GITHUB_ALLOWED_HOSTS`: the harness will only send a clone/push credential to a host on its
|
|
249
|
+
* allow-list, which defaults to github.com. A GitLab deployment's clone URL is therefore
|
|
250
|
+
* refused at checkout unless its instance is named here. It is the sibling of
|
|
251
|
+
* `deploymentRepoOrigin`, derived from the same `GITLAB_API_BASE` inversion so the host
|
|
252
|
+
* dispatched to and the host allowed cannot disagree. (Local mode's `harnessAllowedHosts` is
|
|
253
|
+
* the same widening on the transport it owns.)
|
|
254
|
+
*
|
|
255
|
+
* `PORT` is the exception: always stated, and last, so nothing above can disagree with the
|
|
256
|
+
* {@link RunContainer.defaultPort} the class addresses. Left unset, the two are joined only by the
|
|
257
|
+
* image happening to default to the same number, and a deployment pins its OWN mirrored image tag
|
|
258
|
+
* in the wrangler `[[containers]]` block. One left on a tag from before the harness port moved
|
|
259
|
+
* would bind its own default, answer nothing on `defaultPort`, and surface as a container that
|
|
260
|
+
* never became ready. The Kubernetes pod spec and the local container adapters state it the same
|
|
261
|
+
* way, so no facade leaves the served port to the image.
|
|
262
|
+
*/
|
|
263
|
+
export function runContainerEnv(env) {
|
|
264
|
+
return {
|
|
265
|
+
...(env.HARNESS_SHARED_SECRET ? { HARNESS_SHARED_SECRET: env.HARNESS_SHARED_SECRET } : {}),
|
|
266
|
+
...harnessHostEnv(env),
|
|
267
|
+
PORT: String(HARNESS_JOB_PORT),
|
|
268
|
+
};
|
|
269
|
+
}
|
|
251
270
|
//# sourceMappingURL=RunContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunContainer.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/RunContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,eAAe,EAGf,aAAa,GACd,MAAM,aAAa,CAAA;AAEpB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,OAAgB,YAAa,SAAQ,SAAc;IACvD,wFAAwF;IAC/E,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"RunContainer.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/RunContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAElD,OA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QAC1F,GAAG,cAAc,CAAC,GAAG,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;KAC/B,CAAA;AACH,CAAC"}
|
|
@@ -10,7 +10,7 @@ import { RunContainer } from './RunContainer';
|
|
|
10
10
|
// agent steps with a `tester-ui` step, and a per-run container cannot change image mid-run. The
|
|
11
11
|
// two are addressed by `containerKeyForRef`, which qualifies the run id with the variant.
|
|
12
12
|
//
|
|
13
|
-
// The UI image serves the SAME `POST /jobs` + `GET /jobs/{id}` contract on
|
|
13
|
+
// The UI image serves the SAME `POST /jobs` + `GET /jobs/{id}` contract on the same port (it layers onto
|
|
14
14
|
// the same harness), so the generic `CloudflareContainerTransport` drives it unchanged, and its
|
|
15
15
|
// lifecycle behaviour is {@link RunContainer}'s, shared byte-for-byte with the agent one.
|
|
16
16
|
export class UiTesterContainer extends RunContainer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiTesterContainer.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/UiTesterContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,gGAAgG;AAChG,6FAA6F;AAC7F,8FAA8F;AAC9F,4FAA4F;AAC5F,+FAA+F;AAC/F,iEAAiE;AACjE,EAAE;AACF,4FAA4F;AAC5F,gGAAgG;AAChG,0FAA0F;AAC1F,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"UiTesterContainer.js","sourceRoot":"","sources":["../../../src/infrastructure/containers/UiTesterContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,gGAAgG;AAChG,6FAA6F;AAC7F,8FAA8F;AAC9F,4FAA4F;AAC5F,+FAA+F;AAC/F,iEAAiE;AACjE,EAAE;AACF,4FAA4F;AAC5F,gGAAgG;AAChG,0FAA0F;AAC1F,EAAE;AACF,yGAAyG;AACzG,gGAAgG;AAChG,0FAA0F;AAC1F,MAAM,OAAO,iBAAkB,SAAQ,YAAY;CAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/worker",
|
|
3
|
-
"version": "0.201.
|
|
3
|
+
"version": "0.201.6",
|
|
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",
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
"@ai-sdk/anthropic": "^4.0.41",
|
|
37
37
|
"@ai-sdk/openai": "^4.0.46",
|
|
38
38
|
"@ai-sdk/openai-compatible": "^3.0.35",
|
|
39
|
-
"@cat-factory/agents": "0.145.
|
|
40
|
-
"@cat-factory/binary-generators": "0.3.
|
|
41
|
-
"@cat-factory/caching": "0.20.
|
|
42
|
-
"@cat-factory/consensus": "0.17.
|
|
43
|
-
"@cat-factory/contracts": "0.
|
|
44
|
-
"@cat-factory/eks": "0.1.
|
|
45
|
-
"@cat-factory/gates": "0.11.
|
|
46
|
-
"@cat-factory/gitlab": "0.22.
|
|
47
|
-
"@cat-factory/integrations": "0.166.
|
|
48
|
-
"@cat-factory/kernel": "0.321.
|
|
49
|
-
"@cat-factory/observability-langfuse": "0.11.
|
|
50
|
-
"@cat-factory/observability-otel": "0.23.
|
|
51
|
-
"@cat-factory/orchestration": "0.288.
|
|
52
|
-
"@cat-factory/prompt-fragments": "1.1.
|
|
53
|
-
"@cat-factory/provider-cloudflare": "0.7.
|
|
54
|
-
"@cat-factory/server": "0.307.
|
|
55
|
-
"@cat-factory/spend": "0.16.
|
|
39
|
+
"@cat-factory/agents": "0.145.3",
|
|
40
|
+
"@cat-factory/binary-generators": "0.3.15",
|
|
41
|
+
"@cat-factory/caching": "0.20.49",
|
|
42
|
+
"@cat-factory/consensus": "0.17.14",
|
|
43
|
+
"@cat-factory/contracts": "0.332.0",
|
|
44
|
+
"@cat-factory/eks": "0.1.353",
|
|
45
|
+
"@cat-factory/gates": "0.11.15",
|
|
46
|
+
"@cat-factory/gitlab": "0.22.15",
|
|
47
|
+
"@cat-factory/integrations": "0.166.15",
|
|
48
|
+
"@cat-factory/kernel": "0.321.3",
|
|
49
|
+
"@cat-factory/observability-langfuse": "0.11.15",
|
|
50
|
+
"@cat-factory/observability-otel": "0.23.8",
|
|
51
|
+
"@cat-factory/orchestration": "0.288.6",
|
|
52
|
+
"@cat-factory/prompt-fragments": "1.1.11",
|
|
53
|
+
"@cat-factory/provider-cloudflare": "0.7.506",
|
|
54
|
+
"@cat-factory/server": "0.307.2",
|
|
55
|
+
"@cat-factory/spend": "0.16.20",
|
|
56
56
|
"@cloudflare/containers": "^0.3.7",
|
|
57
57
|
"@hono/valibot-validator": "^0.6.1",
|
|
58
58
|
"ai": "^7.0.77",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"workers-ai-provider": "^4.0.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@cat-factory/conformance": "0.47.
|
|
65
|
+
"@cat-factory/conformance": "0.47.12",
|
|
66
66
|
"@cloudflare/vitest-pool-workers": "^0.22.0",
|
|
67
67
|
"@cloudflare/workers-types": "5.20260815.1",
|
|
68
68
|
"typescript": "7.0.2",
|