@xemahq/platform-common 0.25.0 → 0.26.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.
- package/dist/lib/xema-path-builder.d.ts +1 -1
- package/dist/lib/xema-path-builder.d.ts.map +1 -1
- package/dist/lib/xema-path-builder.js +0 -2
- package/dist/lib/xema-path-builder.js.map +1 -1
- package/dist/schemas/xema/index.d.ts +1 -1
- package/dist/schemas/xema/index.d.ts.map +1 -1
- package/dist/schemas/xema/index.js +0 -2
- package/dist/schemas/xema/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/schemas/xema/manifest.json +0 -32
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type XemaPathType = 'phase-root' | 'phase-pages' | 'phase-analysis' | '
|
|
1
|
+
export type XemaPathType = 'phase-root' | 'phase-pages' | 'phase-analysis' | 'coordinator-root' | 'coordinator-pages' | 'coordinator-contract' | 'coordinator-analysis' | 'review-root' | 'references-root' | 'inputs-root' | 'deliverables-root' | 'uploads-root' | 'repos-root' | 'retry-history' | 'unit-pages-reference' | 'unit-pages-index' | 'review-reference' | 'review-template' | 'review-deliverables' | 'review-output' | 'review-upstream' | 'review-coordinator-report' | 'review-scope-validation' | 'context-json' | 'agents-md' | 'coordinator-consistency-report' | 'scope-validation-output' | 'review-brief' | 'scope-validation';
|
|
2
2
|
export interface XemaPathConfig {
|
|
3
3
|
runId: string;
|
|
4
4
|
groupKey: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xema-path-builder.d.ts","sourceRoot":"","sources":["../../src/lib/xema-path-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"xema-path-builder.d.ts","sourceRoot":"","sources":["../../src/lib/xema-path-builder.ts"],"names":[],"mappings":"AAyCA,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,sBAAsB,GACtB,sBAAsB,GACtB,aAAa,GACb,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,YAAY,GACZ,eAAe,GACf,sBAAsB,GACtB,kBAAkB,GAClB,kBAAkB,GAClB,iBAAiB,GACjB,qBAAqB,GACrB,eAAe,GACf,iBAAiB,GACjB,2BAA2B,GAC3B,yBAAyB,GACzB,cAAc,GACd,WAAW,GACX,gCAAgC,GAChC,yBAAyB,GACzB,cAAc,GACd,kBAAkB,CAAC;AAEvB,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAaD,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM,CAyD9E"}
|
|
@@ -27,8 +27,6 @@ function buildXemaPath(_cfg, type) {
|
|
|
27
27
|
case 'phase-analysis':
|
|
28
28
|
case 'coordinator-analysis':
|
|
29
29
|
return 'deliverables/analysis.json';
|
|
30
|
-
case 'phase-manifest':
|
|
31
|
-
return 'deliverables/manifest.json';
|
|
32
30
|
case 'coordinator-contract':
|
|
33
31
|
return 'deliverables/coordinator-contract.json';
|
|
34
32
|
case 'review-output':
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xema-path-builder.js","sourceRoot":"","sources":["../../src/lib/xema-path-builder.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"xema-path-builder.js","sourceRoot":"","sources":["../../src/lib/xema-path-builder.ts"],"names":[],"mappings":";;AAwFA,sCAyDC;AAzDD,SAAgB,aAAa,CAAC,IAAoB,EAAE,IAAkB;IACpE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,YAAY,CAAC;QAClB,KAAK,kBAAkB,CAAC;QACxB,KAAK,mBAAmB;YACtB,OAAO,cAAc,CAAC;QACxB,KAAK,aAAa;YAChB,OAAO,GAAG,CAAC;QACb,KAAK,iBAAiB;YACpB,OAAO,YAAY,CAAC;QACtB,KAAK,aAAa;YAChB,OAAO,QAAQ,CAAC;QAClB,KAAK,cAAc;YACjB,OAAO,SAAS,CAAC;QACnB,KAAK,YAAY;YACf,OAAO,OAAO,CAAC;QACjB,KAAK,cAAc;YACjB,OAAO,cAAc,CAAC;QACxB,KAAK,WAAW;YACd,OAAO,WAAW,CAAC;QACrB,KAAK,aAAa,CAAC;QACnB,KAAK,mBAAmB;YACtB,OAAO,oBAAoB,CAAC;QAC9B,KAAK,gBAAgB,CAAC;QACtB,KAAK,sBAAsB;YACzB,OAAO,4BAA4B,CAAC;QACtC,KAAK,sBAAsB;YACzB,OAAO,wCAAwC,CAAC;QAClD,KAAK,eAAe;YAClB,OAAO,0BAA0B,CAAC;QACpC,KAAK,kBAAkB;YACrB,OAAO,YAAY,CAAC;QACtB,KAAK,iBAAiB;YACpB,OAAO,0BAA0B,CAAC;QACpC,KAAK,qBAAqB;YACxB,OAAO,8BAA8B,CAAC;QACxC,KAAK,iBAAiB;YACpB,OAAO,qBAAqB,CAAC;QAC/B,KAAK,eAAe;YAClB,OAAO,wCAAwC,CAAC;QAClD,KAAK,sBAAsB;YACzB,OAAO,uBAAuB,CAAC;QACjC,KAAK,kBAAkB;YACrB,OAAO,kCAAkC,CAAC;QAC5C,KAAK,cAAc;YACjB,OAAO,8BAA8B,CAAC;QACxC,KAAK,2BAA2B;YAC9B,OAAO,oCAAoC,CAAC;QAC9C,KAAK,yBAAyB;YAC5B,OAAO,kCAAkC,CAAC;QAC5C,KAAK,gCAAgC;YACnC,OAAO,sCAAsC,CAAC;QAChD,KAAK,yBAAyB;YAC5B,OAAO,oCAAoC,CAAC;QAC9C,KAAK,kBAAkB;YACrB,OAAO,kCAAkC,CAAC;IAC9C,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type XemaSchemaName = 'analysis' | 'clarification-contract' | 'context' | '
|
|
1
|
+
export type XemaSchemaName = 'analysis' | 'clarification-contract' | 'context' | 'review-history';
|
|
2
2
|
export declare const XEMA_SCHEMAS: Record<string, Record<string, unknown>>;
|
|
3
3
|
export declare function getXemaSchema(name: string): Record<string, unknown> | null;
|
|
4
4
|
export declare function listXemaSchemas(): Array<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/xema/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/xema/index.ts"],"names":[],"mappings":"AAsBA,MAAM,MAAM,cAAc,GACtB,UAAU,GACV,wBAAwB,GACxB,SAAS,GACT,gBAAgB,CAAC;AAOrB,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKhE,CAAC;AAGF,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAE1E;AAGD,wBAAgB,eAAe,IAAI,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAKtE"}
|
|
@@ -9,13 +9,11 @@ exports.listXemaSchemas = listXemaSchemas;
|
|
|
9
9
|
const analysis_json_1 = __importDefault(require("./analysis.json"));
|
|
10
10
|
const clarification_contract_json_1 = __importDefault(require("./clarification-contract.json"));
|
|
11
11
|
const context_json_1 = __importDefault(require("./context.json"));
|
|
12
|
-
const manifest_json_1 = __importDefault(require("./manifest.json"));
|
|
13
12
|
const review_history_json_1 = __importDefault(require("./review-history.json"));
|
|
14
13
|
exports.XEMA_SCHEMAS = {
|
|
15
14
|
analysis: analysis_json_1.default,
|
|
16
15
|
'clarification-contract': clarification_contract_json_1.default,
|
|
17
16
|
context: context_json_1.default,
|
|
18
|
-
manifest: manifest_json_1.default,
|
|
19
17
|
'review-history': review_history_json_1.default,
|
|
20
18
|
};
|
|
21
19
|
function getXemaSchema(name) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/xema/index.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/xema/index.ts"],"names":[],"mappings":";;;;;;AAyCA,sCAEC;AAGD,0CAKC;AAnCD,oEAAuC;AACvC,gGAAkE;AAClE,kEAAqC;AACrC,gFAAkD;AAcrC,QAAA,YAAY,GAA4C;IACnE,QAAQ,EAAE,uBAAmC;IAC7C,wBAAwB,EAAE,qCAAgD;IAC1E,OAAO,EAAE,sBAAkC;IAC3C,gBAAgB,EAAE,6BAAwC;CAC3D,CAAC;AAGF,SAAgB,aAAa,CAAC,IAAY;IACxC,OAAO,oBAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;AACpC,CAAC;AAGD,SAAgB,eAAe;IAC7B,OAAO,MAAM,CAAC,OAAO,CAAC,oBAAY,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE;QACzD,MAAM,GAAG,GAAG,OAAO,MAAM,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,YAAY,IAAI,EAAE,CAAC;QAC7E,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/platform-common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "Shared NestJS building blocks for Xema services — auth guards, response redaction, CORS configuration, and crypto helpers.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"rxjs": "7.8.2",
|
|
63
63
|
"ts-jest": "^29.4.9",
|
|
64
64
|
"typescript": "5.9.3",
|
|
65
|
-
"@xemahq/kernel-contracts": "^
|
|
65
|
+
"@xemahq/kernel-contracts": "^31.0.0"
|
|
66
66
|
},
|
|
67
67
|
"exports": {
|
|
68
68
|
".": {
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schemas.xema.dev/manifest",
|
|
4
|
-
"title": "Unit / Coordinator Output Manifest",
|
|
5
|
-
"description": "Schema for /workspace/deliverables/manifest.json — list of pages the orchestrator should harvest. Written LAST by unit workers and coordinators.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["pages"],
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"properties": {
|
|
10
|
-
"pages": {
|
|
11
|
-
"type": "array",
|
|
12
|
-
"items": {
|
|
13
|
-
"type": "object",
|
|
14
|
-
"required": ["slug", "title"],
|
|
15
|
-
"additionalProperties": false,
|
|
16
|
-
"properties": {
|
|
17
|
-
"slug": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"pattern": "^[a-z0-9][a-z0-9-]*$",
|
|
20
|
-
"description": "Kebab-case page slug — also the filename under deliverables/pages/."
|
|
21
|
-
},
|
|
22
|
-
"title": { "type": "string" },
|
|
23
|
-
"parentSlug": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"description": "Must reference another page slug in the same manifest."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"status": { "type": "string", "enum": ["complete", "partial"] }
|
|
31
|
-
}
|
|
32
|
-
}
|