@cat-factory/server 0.260.0 → 0.260.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.
package/dist/config/docs.d.ts
CHANGED
|
@@ -4,6 +4,23 @@
|
|
|
4
4
|
* GitHub-slugified heading (e.g. `authentication`), appended as `#anchor` when provided.
|
|
5
5
|
*/
|
|
6
6
|
export declare function repoDocUrl(path: string, anchor?: string): string;
|
|
7
|
+
/**
|
|
8
|
+
* Named WEBSITE pages referenced by error remedies, for the remedies whose instructions the site
|
|
9
|
+
* owns. Reach for one of these when the fix is a SETUP step: the site states it for the operator
|
|
10
|
+
* doing it, and after the documentation split the repo doc deliberately no longer restates it.
|
|
11
|
+
*
|
|
12
|
+
* {@link DOCS} stays the right target when the remedy is about this repository's own internals, or
|
|
13
|
+
* when the reader may be somewhere a browser is inconvenient: a GitHub blob URL renders in a
|
|
14
|
+
* terminal-adjacent tab and survives a checkout that has no docs.
|
|
15
|
+
*
|
|
16
|
+
* A page named here must be one that is LIVE. Nothing in CI can confirm that (the site deploys from
|
|
17
|
+
* its own repository), so load it before adding an entry: a remedy pointing at a 404 fails the one
|
|
18
|
+
* reader who is already stuck.
|
|
19
|
+
*/
|
|
20
|
+
export declare const SITE_DOCS: {
|
|
21
|
+
/** VCS support matrix — including per-provider setup and the webhook secrets. */
|
|
22
|
+
readonly vcsSetup: "https://www.catfactory.ai/reference/vcs-support-matrix.html#setting-each-one-up";
|
|
23
|
+
};
|
|
7
24
|
/**
|
|
8
25
|
* Named in-repo docs referenced by error remedies. Each helper takes an optional section anchor.
|
|
9
26
|
* Add an entry here (rather than a bare literal at the call site) whenever a new remedy links a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/config/docs.ts"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAGhE;
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/config/docs.ts"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAGhE;AAKD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS;IACpB,iFAAiF;aACjF,QAAQ;CACA,CAAA;AAEV;;;;GAIG;AACH,eAAO,MAAM,IAAI;IACf,uFAAuF;aACvF,OAAO,YAAY,MAAM;IACzB,mEAAmE;aACnE,YAAY,YAAY,MAAM;IAC9B,4EAA4E;aAC5E,iBAAiB,YAAY,MAAM;IACnC,0EAA0E;aAC1E,gBAAgB,YAAY,MAAM;IAClC,sFAAsF;aACtF,YAAY,YAAY,MAAM;IAC9B,uFAAuF;aACvF,mBAAmB,YAAY,MAAM;IAErC,iGAAiG;aACjG,UAAU,YAAY,MAAM;CACpB,CAAA;AAMV,eAAO,MAAM,gBAAgB;aAC3B,qBAAqB,EAAE,0BAA0B;aACjD,cAAc,EAAE,gBAAgB;aAChC,cAAc,EAAE,gCAAgC;aAChD,cAAc,EAAE,iBAAiB;aACjC,gBAAgB,EAAE,oBAAoB;aACtC,SAAS,EAAE,YAAY;CACf,CAAA"}
|
package/dist/config/docs.js
CHANGED
|
@@ -23,6 +23,25 @@ export function repoDocUrl(path, anchor) {
|
|
|
23
23
|
const base = `${REPO_DOC_BLOB_BASE}/${path}`;
|
|
24
24
|
return anchor ? `${base}#${anchor}` : base;
|
|
25
25
|
}
|
|
26
|
+
/** The published documentation site, which owns everything a reader can act on with no checkout. */
|
|
27
|
+
const SITE_BASE = 'https://www.catfactory.ai';
|
|
28
|
+
/**
|
|
29
|
+
* Named WEBSITE pages referenced by error remedies, for the remedies whose instructions the site
|
|
30
|
+
* owns. Reach for one of these when the fix is a SETUP step: the site states it for the operator
|
|
31
|
+
* doing it, and after the documentation split the repo doc deliberately no longer restates it.
|
|
32
|
+
*
|
|
33
|
+
* {@link DOCS} stays the right target when the remedy is about this repository's own internals, or
|
|
34
|
+
* when the reader may be somewhere a browser is inconvenient: a GitHub blob URL renders in a
|
|
35
|
+
* terminal-adjacent tab and survives a checkout that has no docs.
|
|
36
|
+
*
|
|
37
|
+
* A page named here must be one that is LIVE. Nothing in CI can confirm that (the site deploys from
|
|
38
|
+
* its own repository), so load it before adding an entry: a remedy pointing at a 404 fails the one
|
|
39
|
+
* reader who is already stuck.
|
|
40
|
+
*/
|
|
41
|
+
export const SITE_DOCS = {
|
|
42
|
+
/** VCS support matrix — including per-provider setup and the webhook secrets. */
|
|
43
|
+
vcsSetup: `${SITE_BASE}/reference/vcs-support-matrix.html#setting-each-one-up`,
|
|
44
|
+
};
|
|
26
45
|
/**
|
|
27
46
|
* Named in-repo docs referenced by error remedies. Each helper takes an optional section anchor.
|
|
28
47
|
* Add an entry here (rather than a bare literal at the call site) whenever a new remedy links a
|
package/dist/config/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/config/docs.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,mDAAmD;AACnD,EAAE;AACF,wFAAwF;AACxF,0FAA0F;AAC1F,6FAA6F;AAC7F,4FAA4F;AAC5F,wFAAwF;AACxF,mCAAmC;AACnC,EAAE;AACF,8FAA8F;AAC9F,+FAA+F;AAC/F,4EAA4E;AAC5E,8EAA8E;AAE9E,qFAAqF;AACrF,MAAM,kBAAkB,GAAG,oDAAoD,CAAA;AAE/E;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,IAAY,EAAE,MAAe;IACtD,MAAM,IAAI,GAAG,GAAG,kBAAkB,IAAI,IAAI,EAAE,CAAA;IAC5C,OAAO,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AAC5C,CAAC;AAED;;;;GA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IAC7D,iGAAiG;IACjG,UAAU,EAAE,CAAC,MAAe,EAAE,EAAE,CAAC,UAAU,CAAC,yCAAyC,EAAE,MAAM,CAAC;CACtF,CAAA;AAEV,8FAA8F;AAC9F,+FAA+F;AAC/F,gGAAgG;AAChG,6DAA6D;AAC7D,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,qBAAqB,EAAE,0BAA0B;IACjD,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gCAAgC;IAChD,cAAc,EAAE,iBAAiB;IACjC,gBAAgB,EAAE,oBAAoB;IACtC,SAAS,EAAE,YAAY;CACf,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DOCS } from '../config/docs.js';
|
|
1
|
+
import { DOCS, SITE_DOCS } from '../config/docs.js';
|
|
2
2
|
import { logger } from '../observability/logger.js';
|
|
3
3
|
const PROVIDER_COPY = {
|
|
4
4
|
github: {
|
|
@@ -13,7 +13,7 @@ const PROVIDER_COPY = {
|
|
|
13
13
|
envVar: 'GITLAB_WEBHOOK_SECRET',
|
|
14
14
|
header: 'X-Gitlab-Token',
|
|
15
15
|
providerSecretField: "the webhook's 'Secret token' (GitLab project/group Settings → Webhooks)",
|
|
16
|
-
docsUrl:
|
|
16
|
+
docsUrl: SITE_DOCS.vcsSetup,
|
|
17
17
|
},
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signatureLog.js","sourceRoot":"","sources":["../../src/webhooks/signatureLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"signatureLog.js","sourceRoot":"","sources":["../../src/webhooks/signatureLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AA2CnD,MAAM,aAAa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/E,MAAM,CAAC,IAAI,CAAC,iCAAiC,CAAC,SAAS,CAAC,EAAE;QACxD,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,KAAK,EAAE,4BAA4B;KACpC,CAAC,CAAA;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/server",
|
|
3
|
-
"version": "0.260.
|
|
3
|
+
"version": "0.260.1",
|
|
4
4
|
"description": "Runtime-neutral HTTP layer for the Agent Architecture Board: the Hono controllers, middleware (auth/authz/CORS/error), request helpers and the gateway seams shared by every deployment facade (Cloudflare Worker, Node service).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"jose": "^6.2.8",
|
|
32
32
|
"pino": "^10.3.1",
|
|
33
33
|
"valibot": "^1.4.2",
|
|
34
|
-
"@cat-factory/agents": "0.121.
|
|
35
|
-
"@cat-factory/contracts": "0.283.
|
|
36
|
-
"@cat-factory/integrations": "0.153.
|
|
37
|
-
"@cat-factory/kernel": "0.279.
|
|
34
|
+
"@cat-factory/agents": "0.121.2",
|
|
35
|
+
"@cat-factory/contracts": "0.283.1",
|
|
36
|
+
"@cat-factory/integrations": "0.153.1",
|
|
37
|
+
"@cat-factory/kernel": "0.279.1",
|
|
38
38
|
"@cat-factory/mcp-server": "0.26.0",
|
|
39
|
-
"@cat-factory/orchestration": "0.248.
|
|
40
|
-
"@cat-factory/spend": "0.15.
|
|
39
|
+
"@cat-factory/orchestration": "0.248.3",
|
|
40
|
+
"@cat-factory/spend": "0.15.52"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^26.1.2",
|