@elevasis/sdk 1.28.0 → 1.28.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/cli.cjs CHANGED
@@ -36948,6 +36948,8 @@ function childSystemsOf2(system) {
36948
36948
  return system.systems ?? system.subsystems ?? {};
36949
36949
  }
36950
36950
  function getSystem(model, path3) {
36951
+ const flatMatch = model.systems[path3];
36952
+ if (flatMatch !== void 0) return flatMatch;
36951
36953
  const segments = path3.split(".");
36952
36954
  let current = model.systems;
36953
36955
  let node;
@@ -43998,6 +44000,7 @@ var ResourceRegistry = class {
43998
44000
  const candidate = base ? {
43999
44001
  ...base,
44000
44002
  version: incoming.version ?? base.version ?? "0.0.0",
44003
+ organizationModel: incoming.organizationModel ?? base.organizationModel,
44001
44004
  workflows: [...base.workflows ?? [], ...incoming.workflows ?? []],
44002
44005
  agents: [...base.agents ?? [], ...incoming.agents ?? []],
44003
44006
  triggers: incoming.triggers,
@@ -44159,6 +44162,7 @@ var ResourceRegistry = class {
44159
44162
  }
44160
44163
  const existingOrg = this.registry[orgName];
44161
44164
  if (existingOrg) {
44165
+ existingOrg.organizationModel = org.organizationModel ?? existingOrg.organizationModel;
44162
44166
  existingOrg.workflows = [...existingOrg.workflows ?? [], ...org.workflows ?? []];
44163
44167
  existingOrg.agents = [...existingOrg.agents ?? [], ...org.agents ?? []];
44164
44168
  existingOrg.triggers = org.triggers;
@@ -44708,7 +44712,7 @@ function wrapAction(commandName, fn) {
44708
44712
  // package.json
44709
44713
  var package_default = {
44710
44714
  name: "@elevasis/sdk",
44711
- version: "1.28.0",
44715
+ version: "1.28.1",
44712
44716
  description: "SDK for building Elevasis organization resources",
44713
44717
  type: "module",
44714
44718
  bin: {
package/dist/index.js CHANGED
@@ -345,6 +345,8 @@ function childSystemsOf2(system) {
345
345
  return system.systems ?? system.subsystems ?? {};
346
346
  }
347
347
  function getSystem(model, path) {
348
+ const flatMatch = model.systems[path];
349
+ if (flatMatch !== void 0) return flatMatch;
348
350
  const segments = path.split(".");
349
351
  let current = model.systems;
350
352
  let node;
@@ -5387,6 +5389,7 @@ var ResourceRegistry = class {
5387
5389
  const candidate = base ? {
5388
5390
  ...base,
5389
5391
  version: incoming.version ?? base.version ?? "0.0.0",
5392
+ organizationModel: incoming.organizationModel ?? base.organizationModel,
5390
5393
  workflows: [...base.workflows ?? [], ...incoming.workflows ?? []],
5391
5394
  agents: [...base.agents ?? [], ...incoming.agents ?? []],
5392
5395
  triggers: incoming.triggers,
@@ -5548,6 +5551,7 @@ var ResourceRegistry = class {
5548
5551
  }
5549
5552
  const existingOrg = this.registry[orgName];
5550
5553
  if (existingOrg) {
5554
+ existingOrg.organizationModel = org.organizationModel ?? existingOrg.organizationModel;
5551
5555
  existingOrg.workflows = [...existingOrg.workflows ?? [], ...org.workflows ?? []];
5552
5556
  existingOrg.agents = [...existingOrg.agents ?? [], ...org.agents ?? []];
5553
5557
  existingOrg.triggers = org.triggers;
@@ -6967,6 +6967,8 @@ function childSystemsOf(system) {
6967
6967
  return system.systems ?? system.subsystems ?? {};
6968
6968
  }
6969
6969
  function getSystem(model, path) {
6970
+ const flatMatch = model.systems[path];
6971
+ if (flatMatch !== void 0) return flatMatch;
6970
6972
  const segments = path.split(".");
6971
6973
  let current = model.systems;
6972
6974
  let node;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {
@@ -58,7 +58,7 @@
58
58
  "tsup": "^8.0.0",
59
59
  "typescript": "5.9.2",
60
60
  "zod": "^4.1.0",
61
- "@repo/core": "0.35.0",
61
+ "@repo/core": "0.35.1",
62
62
  "@repo/typescript-config": "0.0.0",
63
63
  "@repo/eslint-config": "0.0.0"
64
64
  },