@xemahq/platform-common 0.25.0 → 0.27.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,4 +1,4 @@
1
1
  export { type GrowthGate, type GrowthGateSubject, type GrowthGateVerdict, GrowthGateRefusal, evaluateGrowthGate, growthGateSatisfiesFloor, } from './growth-gate';
2
2
  export { type OrgGrowthPolicy, EXTERNAL_PUBLISHING_FLOOR, EXTERNAL_PUBLISHING_ALWAYS_DECIDES, BACKGROUND_GRANTS_ALWAYS_DECIDE, MIN_INTERNAL_PUBLISH_REVIEW_QUORUM, MAX_INTERNAL_PUBLISH_REVIEW_QUORUM, allowListAdmits, internalPublishNeedsReview, } from './org-growth-policy';
3
- export { MemberShellMode, type MemberShellModeOverride, type OrgExperiencePolicy, resolveMemberShellMode, } from './member-shell-mode';
3
+ export { MemberShellMode, type MemberShellModeOverride, type OrgExperiencePolicy, } from './member-shell-mode';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/growth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,eAAe,EACpB,yBAAyB,EACzB,kCAAkC,EAClC,+BAA+B,EAC/B,kCAAkC,EAClC,kCAAkC,EAClC,eAAe,EACf,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,eAAe,EACf,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/growth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,eAAe,EACpB,yBAAyB,EACzB,kCAAkC,EAClC,+BAA+B,EAC/B,kCAAkC,EAClC,kCAAkC,EAClC,eAAe,EACf,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,eAAe,EACf,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GACzB,MAAM,qBAAqB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveMemberShellMode = exports.MemberShellMode = exports.internalPublishNeedsReview = exports.allowListAdmits = exports.MAX_INTERNAL_PUBLISH_REVIEW_QUORUM = exports.MIN_INTERNAL_PUBLISH_REVIEW_QUORUM = exports.BACKGROUND_GRANTS_ALWAYS_DECIDE = exports.EXTERNAL_PUBLISHING_ALWAYS_DECIDES = exports.EXTERNAL_PUBLISHING_FLOOR = exports.growthGateSatisfiesFloor = exports.evaluateGrowthGate = exports.GrowthGateRefusal = void 0;
3
+ exports.MemberShellMode = exports.internalPublishNeedsReview = exports.allowListAdmits = exports.MAX_INTERNAL_PUBLISH_REVIEW_QUORUM = exports.MIN_INTERNAL_PUBLISH_REVIEW_QUORUM = exports.BACKGROUND_GRANTS_ALWAYS_DECIDE = exports.EXTERNAL_PUBLISHING_ALWAYS_DECIDES = exports.EXTERNAL_PUBLISHING_FLOOR = exports.growthGateSatisfiesFloor = exports.evaluateGrowthGate = exports.GrowthGateRefusal = void 0;
4
4
  var growth_gate_1 = require("./growth-gate");
5
5
  Object.defineProperty(exports, "GrowthGateRefusal", { enumerable: true, get: function () { return growth_gate_1.GrowthGateRefusal; } });
6
6
  Object.defineProperty(exports, "evaluateGrowthGate", { enumerable: true, get: function () { return growth_gate_1.evaluateGrowthGate; } });
@@ -15,5 +15,4 @@ Object.defineProperty(exports, "allowListAdmits", { enumerable: true, get: funct
15
15
  Object.defineProperty(exports, "internalPublishNeedsReview", { enumerable: true, get: function () { return org_growth_policy_1.internalPublishNeedsReview; } });
16
16
  var member_shell_mode_1 = require("./member-shell-mode");
17
17
  Object.defineProperty(exports, "MemberShellMode", { enumerable: true, get: function () { return member_shell_mode_1.MemberShellMode; } });
18
- Object.defineProperty(exports, "resolveMemberShellMode", { enumerable: true, get: function () { return member_shell_mode_1.resolveMemberShellMode; } });
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/growth/index.ts"],"names":[],"mappings":";;;AAAA,6CAOuB;AAHrB,gHAAA,iBAAiB,OAAA;AACjB,iHAAA,kBAAkB,OAAA;AAClB,uHAAA,wBAAwB,OAAA;AAE1B,yDAS6B;AAP3B,8HAAA,yBAAyB,OAAA;AACzB,uIAAA,kCAAkC,OAAA;AAClC,oIAAA,+BAA+B,OAAA;AAC/B,uIAAA,kCAAkC,OAAA;AAClC,uIAAA,kCAAkC,OAAA;AAClC,oHAAA,eAAe,OAAA;AACf,+HAAA,0BAA0B,OAAA;AAE5B,yDAK6B;AAJ3B,oHAAA,eAAe,OAAA;AAGf,2HAAA,sBAAsB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/growth/index.ts"],"names":[],"mappings":";;;AAAA,6CAOuB;AAHrB,gHAAA,iBAAiB,OAAA;AACjB,iHAAA,kBAAkB,OAAA;AAClB,uHAAA,wBAAwB,OAAA;AAE1B,yDAS6B;AAP3B,8HAAA,yBAAyB,OAAA;AACzB,uIAAA,kCAAkC,OAAA;AAClC,oIAAA,+BAA+B,OAAA;AAC/B,uIAAA,kCAAkC,OAAA;AAClC,uIAAA,kCAAkC,OAAA;AAClC,oHAAA,eAAe,OAAA;AACf,+HAAA,0BAA0B,OAAA;AAE5B,yDAI6B;AAH3B,oHAAA,eAAe,OAAA"}
@@ -10,5 +10,4 @@ export interface OrgExperiencePolicy {
10
10
  readonly memberShellMode?: MemberShellMode;
11
11
  readonly shellModeOverrides?: readonly MemberShellModeOverride[];
12
12
  }
13
- export declare function resolveMemberShellMode(policy: OrgExperiencePolicy | undefined, subjectGroupIds: readonly string[]): MemberShellMode;
14
13
  //# sourceMappingURL=member-shell-mode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"member-shell-mode.d.ts","sourceRoot":"","sources":["../../../src/lib/growth/member-shell-mode.ts"],"names":[],"mappings":"AAcA,oBAAY,eAAe;IAEzB,IAAI,SAAS;IAEb,aAAa,mBAAmB;CACjC;AAGD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;CAChC;AASD,MAAM,WAAW,mBAAmB;IAElC,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC;IAC3C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAClE;AAeD,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,eAAe,EAAE,SAAS,MAAM,EAAE,GACjC,eAAe,CAUjB"}
1
+ {"version":3,"file":"member-shell-mode.d.ts","sourceRoot":"","sources":["../../../src/lib/growth/member-shell-mode.ts"],"names":[],"mappings":"AAcA,oBAAY,eAAe;IAEzB,IAAI,SAAS;IAEb,aAAa,mBAAmB;CACjC;AAGD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;CAChC;AASD,MAAM,WAAW,mBAAmB;IAkBlC,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC;IAC3C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAClE"}
@@ -1,21 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MemberShellMode = void 0;
4
- exports.resolveMemberShellMode = resolveMemberShellMode;
5
4
  var MemberShellMode;
6
5
  (function (MemberShellMode) {
7
6
  MemberShellMode["Full"] = "full";
8
7
  MemberShellMode["PortalFocused"] = "portal-focused";
9
8
  })(MemberShellMode || (exports.MemberShellMode = MemberShellMode = {}));
10
- function resolveMemberShellMode(policy, subjectGroupIds) {
11
- if (policy === undefined) {
12
- return MemberShellMode.Full;
13
- }
14
- for (const override of policy.shellModeOverrides ?? []) {
15
- if (subjectGroupIds.includes(override.groupId)) {
16
- return override.mode;
17
- }
18
- }
19
- return policy.memberShellMode ?? MemberShellMode.Full;
20
- }
21
9
  //# sourceMappingURL=member-shell-mode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"member-shell-mode.js","sourceRoot":"","sources":["../../../src/lib/growth/member-shell-mode.ts"],"names":[],"mappings":";;;AAqDA,wDAaC;AApDD,IAAY,eAKX;AALD,WAAY,eAAe;IAEzB,gCAAa,CAAA;IAEb,mDAAgC,CAAA;AAClC,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAkCD,SAAgB,sBAAsB,CACpC,MAAuC,EACvC,eAAkC;IAElC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,eAAe,CAAC,IAAI,CAAC;IAC9B,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,CAAC;QACvD,IAAI,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/C,OAAO,QAAQ,CAAC,IAAI,CAAC;QACvB,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC,eAAe,IAAI,eAAe,CAAC,IAAI,CAAC;AACxD,CAAC"}
1
+ {"version":3,"file":"member-shell-mode.js","sourceRoot":"","sources":["../../../src/lib/growth/member-shell-mode.ts"],"names":[],"mappings":";;;AAcA,IAAY,eAKX;AALD,WAAY,eAAe;IAEzB,gCAAa,CAAA;IAEb,mDAAgC,CAAA;AAClC,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B"}
@@ -1,4 +1,4 @@
1
- export type XemaPathType = 'phase-root' | 'phase-pages' | 'phase-analysis' | 'phase-manifest' | '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';
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":"AA0CA,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,aAAa,GACb,gBAAgB,GAChB,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,CA2D9E"}
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":";;AA0FA,sCA2DC;AA3DD,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,gBAAgB;YACnB,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
+ {"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' | 'manifest' | 'review-history';
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":"AAuBA,MAAM,MAAM,cAAc,GACtB,UAAU,GACV,wBAAwB,GACxB,SAAS,GACT,UAAU,GACV,gBAAgB,CAAC;AAOrB,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAMhE,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"}
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":";;;;;;AA4CA,sCAEC;AAGD,0CAKC;AAtCD,oEAAuC;AACvC,gGAAkE;AAClE,kEAAqC;AACrC,oEAAuC;AACvC,gFAAkD;AAerC,QAAA,YAAY,GAA4C;IACnE,QAAQ,EAAE,uBAAmC;IAC7C,wBAAwB,EAAE,qCAAgD;IAC1E,OAAO,EAAE,sBAAkC;IAC3C,QAAQ,EAAE,uBAAmC;IAC7C,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"}
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.25.0",
3
+ "version": "0.27.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": "^30.3.0"
65
+ "@xemahq/kernel-contracts": "^32.1.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
- }