@lssm/lib.workflow-composer 0.0.0-canary-20251217083314 → 0.0.0-canary-20251219202229

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Chaman Ventures, SASU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -28,6 +28,8 @@ Refer to `docs/tech/personalization/workflow-composition.md` for more.
28
28
 
29
29
 
30
30
 
31
+
32
+
31
33
 
32
34
 
33
35
 
@@ -9,4 +9,5 @@ declare class WorkflowComposer {
9
9
  compose(params: ComposeParams): WorkflowSpec;
10
10
  }
11
11
  //#endregion
12
- export { WorkflowComposer };
12
+ export { WorkflowComposer };
13
+ //# sourceMappingURL=composer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composer.d.ts","names":[],"sources":["../src/composer.ts"],"sourcesContent":[],"mappings":";;;;cAIa,gBAAA;;EAAA,QAAA,CAAA,SAAA,EAGS,iBAHO,CAAA,EAAA,IAAA;EAGP,YAAA,CAAA,UAAA,EAKK,iBALL,EAAA,CAAA,EAAA,IAAA;EAKK,OAAA,CAAA,MAAA,EAKT,aALS,CAAA,EAKO,YALP"}
package/dist/composer.js CHANGED
@@ -25,4 +25,5 @@ function matches(params, extension) {
25
25
  }
26
26
 
27
27
  //#endregion
28
- export { WorkflowComposer };
28
+ export { WorkflowComposer };
29
+ //# sourceMappingURL=composer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composer.js","names":[],"sources":["../src/composer.ts"],"sourcesContent":["import type { WorkflowSpec } from '@lssm/lib.contracts/workflow/spec';\nimport { applyWorkflowExtension } from './injector';\nimport type { ComposeParams, WorkflowExtension } from './types';\n\nexport class WorkflowComposer {\n private readonly extensions: WorkflowExtension[] = [];\n\n register(extension: WorkflowExtension): this {\n this.extensions.push(extension);\n return this;\n }\n\n registerMany(extensions: WorkflowExtension[]): this {\n extensions.forEach((extension) => this.register(extension));\n return this;\n }\n\n compose(params: ComposeParams): WorkflowSpec {\n const applicable = this.extensions\n .filter((extension) => matches(params, extension))\n .sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0));\n\n return applicable.reduce(\n (acc, extension) => applyWorkflowExtension(acc, extension),\n params.base\n );\n }\n}\n\nfunction matches(params: ComposeParams, extension: WorkflowExtension) {\n if (extension.workflow !== params.base.meta.name) return false;\n if (\n extension.baseVersion &&\n extension.baseVersion !== params.base.meta.version\n ) {\n return false;\n }\n if (extension.tenantId && extension.tenantId !== params.tenantId) {\n return false;\n }\n if (extension.role && extension.role !== params.role) {\n return false;\n }\n if (extension.device && extension.device !== params.device) {\n return false;\n }\n return true;\n}\n"],"mappings":";;;AAIA,IAAa,mBAAb,MAA8B;CAC5B,AAAiB,aAAkC,EAAE;CAErD,SAAS,WAAoC;AAC3C,OAAK,WAAW,KAAK,UAAU;AAC/B,SAAO;;CAGT,aAAa,YAAuC;AAClD,aAAW,SAAS,cAAc,KAAK,SAAS,UAAU,CAAC;AAC3D,SAAO;;CAGT,QAAQ,QAAqC;AAK3C,SAJmB,KAAK,WACrB,QAAQ,cAAc,QAAQ,QAAQ,UAAU,CAAC,CACjD,MAAM,GAAG,OAAO,EAAE,YAAY,MAAM,EAAE,YAAY,GAAG,CAEtC,QACf,KAAK,cAAc,uBAAuB,KAAK,UAAU,EAC1D,OAAO,KACR;;;AAIL,SAAS,QAAQ,QAAuB,WAA8B;AACpE,KAAI,UAAU,aAAa,OAAO,KAAK,KAAK,KAAM,QAAO;AACzD,KACE,UAAU,eACV,UAAU,gBAAgB,OAAO,KAAK,KAAK,QAE3C,QAAO;AAET,KAAI,UAAU,YAAY,UAAU,aAAa,OAAO,SACtD,QAAO;AAET,KAAI,UAAU,QAAQ,UAAU,SAAS,OAAO,KAC9C,QAAO;AAET,KAAI,UAAU,UAAU,UAAU,WAAW,OAAO,OAClD,QAAO;AAET,QAAO"}
@@ -4,4 +4,5 @@ import { WorkflowSpec } from "@lssm/lib.contracts/workflow/spec";
4
4
  //#region src/injector.d.ts
5
5
  declare function applyWorkflowExtension(base: WorkflowSpec, extension: WorkflowExtension): WorkflowSpec;
6
6
  //#endregion
7
- export { applyWorkflowExtension };
7
+ export { applyWorkflowExtension };
8
+ //# sourceMappingURL=injector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"injector.d.ts","names":[],"sources":["../src/injector.ts"],"sourcesContent":[],"mappings":";;;;iBAIgB,sBAAA,OACR,yBACK,oBACV"}
package/dist/injector.js CHANGED
@@ -69,4 +69,5 @@ function cloneWorkflowSpec(spec) {
69
69
  }
70
70
 
71
71
  //#endregion
72
- export { applyWorkflowExtension };
72
+ export { applyWorkflowExtension };
73
+ //# sourceMappingURL=injector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"injector.js","names":["result: typeof transitions"],"sources":["../src/injector.ts"],"sourcesContent":["import type { WorkflowSpec } from '@lssm/lib.contracts/workflow/spec';\nimport type { WorkflowExtension, StepInjection } from './types';\nimport { validateExtension } from './validator';\n\nexport function applyWorkflowExtension(\n base: WorkflowSpec,\n extension: WorkflowExtension\n): WorkflowSpec {\n validateExtension(extension, base);\n const spec = cloneWorkflowSpec(base);\n\n const steps = [...spec.definition.steps];\n let transitions = [...spec.definition.transitions];\n\n const hiddenSet = new Set(extension.hiddenSteps ?? []);\n\n hiddenSet.forEach((stepId) => {\n const idx = steps.findIndex((step) => step.id === stepId);\n if (idx !== -1) {\n steps.splice(idx, 1);\n }\n });\n\n if (hiddenSet.size) {\n transitions = transitions.filter(\n (transition) =>\n !hiddenSet.has(transition.from) && !hiddenSet.has(transition.to)\n );\n }\n\n extension.customSteps?.forEach((injection) => {\n insertStep(steps, injection);\n wireTransitions(transitions, injection);\n });\n\n spec.definition.steps = steps;\n spec.definition.transitions = dedupeTransitions(transitions);\n spec.meta = {\n ...spec.meta,\n version: spec.meta.version,\n };\n return spec;\n}\n\nfunction insertStep(\n steps: WorkflowSpec['definition']['steps'],\n injection: StepInjection\n) {\n const anchorIndex = resolveAnchorIndex(steps, injection);\n if (anchorIndex === -1) {\n throw new Error(`Unable to place injected step \"${injection.inject.id}\"`);\n }\n steps.splice(anchorIndex, 0, { ...injection.inject });\n}\n\nfunction resolveAnchorIndex(\n steps: WorkflowSpec['definition']['steps'],\n injection: StepInjection\n) {\n if (injection.after) {\n const idx = steps.findIndex((step) => step.id === injection.after);\n return idx === -1 ? -1 : idx + 1;\n }\n if (injection.before) {\n const idx = steps.findIndex((step) => step.id === injection.before);\n return idx === -1 ? -1 : idx;\n }\n return steps.length;\n}\n\nfunction wireTransitions(\n transitions: WorkflowSpec['definition']['transitions'],\n injection: StepInjection\n) {\n if (!injection.inject.id) return;\n\n if (injection.transitionFrom) {\n transitions.push({\n from: injection.transitionFrom,\n to: injection.inject.id,\n condition: injection.when,\n });\n }\n\n if (injection.transitionTo) {\n transitions.push({\n from: injection.inject.id,\n to: injection.transitionTo,\n condition: injection.when,\n });\n }\n}\n\nfunction dedupeTransitions(\n transitions: WorkflowSpec['definition']['transitions']\n): WorkflowSpec['definition']['transitions'] {\n const seen = new Set<string>();\n const result: typeof transitions = [];\n transitions.forEach((transition) => {\n const key = `${transition.from}->${transition.to}:${transition.condition ?? ''}`;\n if (seen.has(key)) return;\n seen.add(key);\n result.push(transition);\n });\n return result;\n}\n\nfunction cloneWorkflowSpec(spec: WorkflowSpec): WorkflowSpec {\n return JSON.parse(JSON.stringify(spec));\n}\n"],"mappings":";;;AAIA,SAAgB,uBACd,MACA,WACc;AACd,mBAAkB,WAAW,KAAK;CAClC,MAAM,OAAO,kBAAkB,KAAK;CAEpC,MAAM,QAAQ,CAAC,GAAG,KAAK,WAAW,MAAM;CACxC,IAAI,cAAc,CAAC,GAAG,KAAK,WAAW,YAAY;CAElD,MAAM,YAAY,IAAI,IAAI,UAAU,eAAe,EAAE,CAAC;AAEtD,WAAU,SAAS,WAAW;EAC5B,MAAM,MAAM,MAAM,WAAW,SAAS,KAAK,OAAO,OAAO;AACzD,MAAI,QAAQ,GACV,OAAM,OAAO,KAAK,EAAE;GAEtB;AAEF,KAAI,UAAU,KACZ,eAAc,YAAY,QACvB,eACC,CAAC,UAAU,IAAI,WAAW,KAAK,IAAI,CAAC,UAAU,IAAI,WAAW,GAAG,CACnE;AAGH,WAAU,aAAa,SAAS,cAAc;AAC5C,aAAW,OAAO,UAAU;AAC5B,kBAAgB,aAAa,UAAU;GACvC;AAEF,MAAK,WAAW,QAAQ;AACxB,MAAK,WAAW,cAAc,kBAAkB,YAAY;AAC5D,MAAK,OAAO;EACV,GAAG,KAAK;EACR,SAAS,KAAK,KAAK;EACpB;AACD,QAAO;;AAGT,SAAS,WACP,OACA,WACA;CACA,MAAM,cAAc,mBAAmB,OAAO,UAAU;AACxD,KAAI,gBAAgB,GAClB,OAAM,IAAI,MAAM,kCAAkC,UAAU,OAAO,GAAG,GAAG;AAE3E,OAAM,OAAO,aAAa,GAAG,EAAE,GAAG,UAAU,QAAQ,CAAC;;AAGvD,SAAS,mBACP,OACA,WACA;AACA,KAAI,UAAU,OAAO;EACnB,MAAM,MAAM,MAAM,WAAW,SAAS,KAAK,OAAO,UAAU,MAAM;AAClE,SAAO,QAAQ,KAAK,KAAK,MAAM;;AAEjC,KAAI,UAAU,QAAQ;EACpB,MAAM,MAAM,MAAM,WAAW,SAAS,KAAK,OAAO,UAAU,OAAO;AACnE,SAAO,QAAQ,KAAK,KAAK;;AAE3B,QAAO,MAAM;;AAGf,SAAS,gBACP,aACA,WACA;AACA,KAAI,CAAC,UAAU,OAAO,GAAI;AAE1B,KAAI,UAAU,eACZ,aAAY,KAAK;EACf,MAAM,UAAU;EAChB,IAAI,UAAU,OAAO;EACrB,WAAW,UAAU;EACtB,CAAC;AAGJ,KAAI,UAAU,aACZ,aAAY,KAAK;EACf,MAAM,UAAU,OAAO;EACvB,IAAI,UAAU;EACd,WAAW,UAAU;EACtB,CAAC;;AAIN,SAAS,kBACP,aAC2C;CAC3C,MAAM,uBAAO,IAAI,KAAa;CAC9B,MAAMA,SAA6B,EAAE;AACrC,aAAY,SAAS,eAAe;EAClC,MAAM,MAAM,GAAG,WAAW,KAAK,IAAI,WAAW,GAAG,GAAG,WAAW,aAAa;AAC5E,MAAI,KAAK,IAAI,IAAI,CAAE;AACnB,OAAK,IAAI,IAAI;AACb,SAAO,KAAK,WAAW;GACvB;AACF,QAAO;;AAGT,SAAS,kBAAkB,MAAkC;AAC3D,QAAO,KAAK,MAAM,KAAK,UAAU,KAAK,CAAC"}
package/dist/merger.d.ts CHANGED
@@ -3,4 +3,5 @@ import { WorkflowExtension } from "./types.js";
3
3
  //#region src/merger.d.ts
4
4
  declare function mergeExtensions(extensions: WorkflowExtension[]): WorkflowExtension[];
5
5
  //#endregion
6
- export { mergeExtensions };
6
+ export { mergeExtensions };
7
+ //# sourceMappingURL=merger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merger.d.ts","names":[],"sources":["../src/merger.ts"],"sourcesContent":[],"mappings":";;;iBAEgB,eAAA,aACF,sBACX"}
package/dist/merger.js CHANGED
@@ -4,4 +4,5 @@ function mergeExtensions(extensions) {
4
4
  }
5
5
 
6
6
  //#endregion
7
- export { mergeExtensions };
7
+ export { mergeExtensions };
8
+ //# sourceMappingURL=merger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merger.js","names":[],"sources":["../src/merger.ts"],"sourcesContent":["import type { WorkflowExtension } from './types';\n\nexport function mergeExtensions(\n extensions: WorkflowExtension[]\n): WorkflowExtension[] {\n return extensions.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0));\n}\n"],"mappings":";AAEA,SAAgB,gBACd,YACqB;AACrB,QAAO,WAAW,MAAM,GAAG,OAAO,EAAE,YAAY,MAAM,EAAE,YAAY,GAAG"}
@@ -11,4 +11,5 @@ interface StepTemplateOptions {
11
11
  }
12
12
  declare function approvalStepTemplate(options: StepTemplateOptions): Step;
13
13
  //#endregion
14
- export { StepTemplateOptions, approvalStepTemplate };
14
+ export { StepTemplateOptions, approvalStepTemplate };
15
+ //# sourceMappingURL=templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates.d.ts","names":[],"sources":["../src/templates.ts"],"sourcesContent":[],"mappings":";;;UAMiB,mBAAA;;EAAA,KAAA,EAAA,MAAA;EASD,IAAA,CAAA,EANP,QAMO;;WAJL;;;iBAIK,oBAAA,UAA8B,sBAAsB"}
package/dist/templates.js CHANGED
@@ -14,4 +14,5 @@ function approvalStepTemplate(options) {
14
14
  }
15
15
 
16
16
  //#endregion
17
- export { approvalStepTemplate };
17
+ export { approvalStepTemplate };
18
+ //# sourceMappingURL=templates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates.js","names":[],"sources":["../src/templates.ts"],"sourcesContent":["import type {\n Step,\n StepAction,\n StepType,\n} from '@lssm/lib.contracts/workflow/spec';\n\nexport interface StepTemplateOptions {\n id: string;\n label: string;\n type?: StepType;\n description?: string;\n action?: StepAction;\n guardExpression?: string;\n}\n\nexport function approvalStepTemplate(options: StepTemplateOptions): Step {\n return {\n id: options.id,\n label: options.label,\n type: options.type ?? 'human',\n description: options.description ?? 'Tenant-specific approval',\n action: options.action,\n guard: options.guardExpression\n ? {\n type: 'expression',\n value: options.guardExpression,\n }\n : undefined,\n };\n}\n"],"mappings":";AAeA,SAAgB,qBAAqB,SAAoC;AACvE,QAAO;EACL,IAAI,QAAQ;EACZ,OAAO,QAAQ;EACf,MAAM,QAAQ,QAAQ;EACtB,aAAa,QAAQ,eAAe;EACpC,QAAQ,QAAQ;EAChB,OAAO,QAAQ,kBACX;GACE,MAAM;GACN,OAAO,QAAQ;GAChB,GACD;EACL"}
package/dist/types.d.ts CHANGED
@@ -28,4 +28,5 @@ interface ComposeParams extends WorkflowExtensionScope {
28
28
  base: WorkflowSpec;
29
29
  }
30
30
  //#endregion
31
- export { ComposeParams, StepInjection, WorkflowExtension, WorkflowExtensionScope };
31
+ export { ComposeParams, StepInjection, WorkflowExtension, WorkflowExtensionScope };
32
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"sourcesContent":[],"mappings":";;;UAEiB,sBAAA;;EAAA,IAAA,CAAA,EAAA,MAAA;EAMA,MAAA,CAAA,EAAA,MAAA;AAUjB;AAIgB,UAdC,aAAA,CAcD;EAEH,EAAA,CAAA,EAAA,MAAA;EACG,KAAA,CAAA,EAAA,MAAA;EAP2B,MAAA,CAAA,EAAA,MAAA;EAAsB,MAAA,EANvD,IAMuD;EAUhD,IAAA,CAAA,EAAA,MAAA;;;;UAVA,iBAAA,SAA0B;;;;gBAI3B;;aAEH;gBACG;;UAGC,aAAA,SAAsB;QAC/B"}
@@ -8,4 +8,5 @@ interface WorkflowExtensionValidationIssue {
8
8
  }
9
9
  declare function validateExtension(extension: WorkflowExtension, base: WorkflowSpec): void;
10
10
  //#endregion
11
- export { WorkflowExtensionValidationIssue, validateExtension };
11
+ export { WorkflowExtensionValidationIssue, validateExtension };
12
+ //# sourceMappingURL=validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validator.d.ts","names":[],"sources":["../src/validator.ts"],"sourcesContent":[],"mappings":";;;;UAGiB,gCAAA;;EAAA,OAAA,EAAA,MAAA;AAKjB;iBAAgB,iBAAA,YACH,yBACL"}
package/dist/validator.js CHANGED
@@ -33,4 +33,5 @@ function validateExtension(extension, base) {
33
33
  }
34
34
 
35
35
  //#endregion
36
- export { validateExtension };
36
+ export { validateExtension };
37
+ //# sourceMappingURL=validator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validator.js","names":["issues: WorkflowExtensionValidationIssue[]"],"sources":["../src/validator.ts"],"sourcesContent":["import type { WorkflowSpec } from '@lssm/lib.contracts/workflow/spec';\nimport type { WorkflowExtension } from './types';\n\nexport interface WorkflowExtensionValidationIssue {\n code: string;\n message: string;\n}\n\nexport function validateExtension(\n extension: WorkflowExtension,\n base: WorkflowSpec\n) {\n const issues: WorkflowExtensionValidationIssue[] = [];\n const stepIds = new Set(base.definition.steps.map((step) => step.id));\n\n extension.customSteps?.forEach((injection, idx) => {\n if (!injection.inject.id) {\n issues.push({\n code: 'workflow.extension.step.id',\n message: `customSteps[${idx}] is missing an id`,\n });\n }\n\n if (!injection.after && !injection.before) {\n issues.push({\n code: 'workflow.extension.step.anchor',\n message: `customSteps[${idx}] must set after or before`,\n });\n }\n\n if (injection.after && !stepIds.has(injection.after)) {\n issues.push({\n code: 'workflow.extension.step.after',\n message: `customSteps[${idx}] references unknown step \"${injection.after}\"`,\n });\n }\n\n if (injection.before && !stepIds.has(injection.before)) {\n issues.push({\n code: 'workflow.extension.step.before',\n message: `customSteps[${idx}] references unknown step \"${injection.before}\"`,\n });\n }\n });\n\n extension.hiddenSteps?.forEach((stepId) => {\n if (!stepIds.has(stepId)) {\n issues.push({\n code: 'workflow.extension.hidden-step',\n message: `hidden step \"${stepId}\" does not exist`,\n });\n }\n });\n\n if (issues.length) {\n const reason = issues\n .map((issue) => `${issue.code}: ${issue.message}`)\n .join('; ');\n throw new Error(\n `Invalid workflow extension for ${extension.workflow}: ${reason}`\n );\n }\n}\n"],"mappings":";AAQA,SAAgB,kBACd,WACA,MACA;CACA,MAAMA,SAA6C,EAAE;CACrD,MAAM,UAAU,IAAI,IAAI,KAAK,WAAW,MAAM,KAAK,SAAS,KAAK,GAAG,CAAC;AAErE,WAAU,aAAa,SAAS,WAAW,QAAQ;AACjD,MAAI,CAAC,UAAU,OAAO,GACpB,QAAO,KAAK;GACV,MAAM;GACN,SAAS,eAAe,IAAI;GAC7B,CAAC;AAGJ,MAAI,CAAC,UAAU,SAAS,CAAC,UAAU,OACjC,QAAO,KAAK;GACV,MAAM;GACN,SAAS,eAAe,IAAI;GAC7B,CAAC;AAGJ,MAAI,UAAU,SAAS,CAAC,QAAQ,IAAI,UAAU,MAAM,CAClD,QAAO,KAAK;GACV,MAAM;GACN,SAAS,eAAe,IAAI,6BAA6B,UAAU,MAAM;GAC1E,CAAC;AAGJ,MAAI,UAAU,UAAU,CAAC,QAAQ,IAAI,UAAU,OAAO,CACpD,QAAO,KAAK;GACV,MAAM;GACN,SAAS,eAAe,IAAI,6BAA6B,UAAU,OAAO;GAC3E,CAAC;GAEJ;AAEF,WAAU,aAAa,SAAS,WAAW;AACzC,MAAI,CAAC,QAAQ,IAAI,OAAO,CACtB,QAAO,KAAK;GACV,MAAM;GACN,SAAS,gBAAgB,OAAO;GACjC,CAAC;GAEJ;AAEF,KAAI,OAAO,QAAQ;EACjB,MAAM,SAAS,OACZ,KAAK,UAAU,GAAG,MAAM,KAAK,IAAI,MAAM,UAAU,CACjD,KAAK,KAAK;AACb,QAAM,IAAI,MACR,kCAAkC,UAAU,SAAS,IAAI,SAC1D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/lib.workflow-composer",
3
- "version": "0.0.0-canary-20251217083314",
3
+ "version": "0.0.0-canary-20251219202229",
4
4
  "description": "Tenant-aware workflow composition helpers for ContractSpec.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,12 +24,12 @@
24
24
  "test": "bun run"
25
25
  },
26
26
  "dependencies": {
27
- "@lssm/lib.contracts": "0.0.0-canary-20251217083314"
27
+ "@lssm/lib.contracts": "0.0.0-canary-20251219202229"
28
28
  },
29
29
  "devDependencies": {
30
- "@lssm/tool.tsdown": "0.0.0-canary-20251217083314",
31
- "@lssm/tool.typescript": "0.0.0-canary-20251217083314",
32
- "tsdown": "^0.17.4",
30
+ "@lssm/tool.tsdown": "0.0.0-canary-20251219202229",
31
+ "@lssm/tool.typescript": "0.0.0-canary-20251219202229",
32
+ "tsdown": "^0.18.1",
33
33
  "typescript": "^5.9.3"
34
34
  },
35
35
  "exports": {
@@ -42,5 +42,6 @@
42
42
  ".": "./dist/index.js",
43
43
  "./*": "./*"
44
44
  }
45
- }
45
+ },
46
+ "license": "MIT"
46
47
  }