@ultrst-armada/kloks 1.21.0 → 1.22.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.
Files changed (75) hide show
  1. package/.krusbl-release-attestation.json +3 -3
  2. package/package.json +4 -4
  3. package/packages/audio-midi/dist/{audioClipEngine-BOT33JKI.js → audioClipEngine-E5ODQNYR.js} +3 -2
  4. package/packages/audio-midi/dist/{audioInputManager-BLDGGLAR.js → audioInputManager-OOH3TOJ6.js} +2 -1
  5. package/packages/audio-midi/dist/{chunk-N55BWOC6.js → chunk-2U7VIADS.js} +1 -1
  6. package/packages/audio-midi/dist/{chunk-3GRGELA4.js → chunk-3FXNT6PF.js} +2 -2
  7. package/packages/audio-midi/dist/chunk-QGM4M3NI.js +37 -0
  8. package/packages/audio-midi/dist/dist-XMSSRYDR.js +899 -0
  9. package/packages/audio-midi/dist/index.js +534 -75
  10. package/packages/audio-midi/dist/transformers.node-HWHOAE4H.js +43879 -0
  11. package/packages/audio-midi/package.json +1 -1
  12. package/packages/backend/dist/ai-inference/index.js +1 -0
  13. package/packages/backend/dist/ai-keys/index.d.ts +1 -0
  14. package/packages/backend/dist/ai-keys/index.js +2 -1
  15. package/packages/backend/dist/ai-models/index.js +3 -2
  16. package/packages/backend/dist/ai-provider/index.js +1 -0
  17. package/packages/backend/dist/ai-routing/index.js +4 -3
  18. package/packages/backend/dist/ai-tools/index.js +1 -0
  19. package/packages/backend/dist/api/index.js +1 -0
  20. package/packages/backend/dist/auth/index.js +1 -0
  21. package/packages/backend/dist/{chunk-RBF2OGMC.js → chunk-B3VJ4HDV.js} +4 -15
  22. package/packages/backend/dist/{chunk-OYVHKYJW.js → chunk-IJ5QNZCY.js} +1 -1
  23. package/packages/backend/dist/{chunk-4WUVDLIQ.js → chunk-LMWXONZG.js} +1 -1
  24. package/packages/backend/dist/chunk-MWSYNRNZ.js +871 -0
  25. package/packages/backend/dist/{chunk-4ONX56XS.js → chunk-NB2X3HEX.js} +26 -14
  26. package/packages/backend/dist/{chunk-RSKFM7AC.js → chunk-OB65KZ2M.js} +8 -5
  27. package/packages/backend/dist/{chunk-F7JDIU2C.js → chunk-P7H6TIEA.js} +3 -0
  28. package/packages/backend/dist/{chunk-UYXROZPP.js → chunk-PT6J6UEU.js} +2 -2
  29. package/packages/backend/dist/chunk-QGM4M3NI.js +37 -0
  30. package/packages/backend/dist/client/index.js +1 -0
  31. package/packages/backend/dist/connectivity/index.js +1 -0
  32. package/packages/backend/dist/control-plane/index.js +1 -0
  33. package/packages/backend/dist/development/index.js +3 -2
  34. package/packages/backend/dist/dist-XMSSRYDR.js +899 -0
  35. package/packages/backend/dist/index.js +77 -76
  36. package/packages/backend/dist/krnl-ai-services.d.ts +12 -2
  37. package/packages/backend/dist/krnl-ai-services.js +6 -5
  38. package/packages/backend/dist/krnl-services.d.ts +8 -0
  39. package/packages/backend/dist/krnl-services.js +7 -6
  40. package/packages/backend/dist/services/index.d.ts +2 -3
  41. package/packages/backend/dist/services/index.js +4 -3
  42. package/packages/backend/dist/srkl/index.js +1 -0
  43. package/packages/backend/dist/storage/index.js +8 -7
  44. package/packages/backend/dist/transformers.node-HWHOAE4H.js +43879 -0
  45. package/packages/backend/dist/workspace/index.js +3 -2
  46. package/packages/backend/package.json +5 -5
  47. package/packages/client/package.json +1 -1
  48. package/packages/contracts/package.json +1 -1
  49. package/packages/fod/dist/index.js +2 -2
  50. package/packages/fod/package.json +24 -13
  51. package/packages/functions/dist/chunk-QGM4M3NI.js +37 -0
  52. package/packages/functions/dist/dist-XMSSRYDR.js +899 -0
  53. package/packages/functions/dist/index.d.ts +2 -0
  54. package/packages/functions/dist/index.js +581 -94
  55. package/packages/functions/dist/transformers.node-HWHOAE4H.js +43879 -0
  56. package/packages/functions/package.json +1 -1
  57. package/packages/orchestrations/package.json +3 -3
  58. package/packages/services/dist/chunk-QGM4M3NI.js +37 -0
  59. package/packages/services/dist/dist-XMSSRYDR.js +899 -0
  60. package/packages/services/dist/index.d.ts +55 -8
  61. package/packages/services/dist/index.js +640 -85
  62. package/packages/services/dist/transformers.node-HWHOAE4H.js +43879 -0
  63. package/packages/services/package.json +1 -1
  64. package/packages/state-graph/dist/chunk-QGM4M3NI.js +37 -0
  65. package/packages/state-graph/dist/dist-XMSSRYDR.js +899 -0
  66. package/packages/state-graph/dist/domain/index.js +1 -0
  67. package/packages/state-graph/dist/index.js +602 -119
  68. package/packages/state-graph/dist/rules/index.js +1 -0
  69. package/packages/state-graph/dist/spatial/index.js +1 -0
  70. package/packages/state-graph/dist/state/index.js +1 -0
  71. package/packages/state-graph/dist/store/index.js +1 -0
  72. package/packages/state-graph/dist/transformers.node-HWHOAE4H.js +43879 -0
  73. package/packages/state-graph/package.json +1 -1
  74. package/packages/backend/dist/chunk-TY32TUNI.js +0 -376
  75. package/packages/backend/dist/{chunk-2XTHJI4I.js → chunk-6DNGLKAV.js} +3 -3
@@ -6,14 +6,15 @@ import {
6
6
  WorkspaceFS,
7
7
  remoteWorkspaceService,
8
8
  workingWorkspaceService
9
- } from "../chunk-2XTHJI4I.js";
9
+ } from "../chunk-6DNGLKAV.js";
10
10
  import {
11
11
  formatCanonicalWorkspaceFolderName,
12
12
  sanitizeWorkspaceName
13
13
  } from "../chunk-FZKBTF34.js";
14
14
  import "../chunk-VN2YMZJO.js";
15
- import "../chunk-KKRWZDMN.js";
16
15
  import "../chunk-VAFCR2MS.js";
16
+ import "../chunk-KKRWZDMN.js";
17
+ import "../chunk-QGM4M3NI.js";
17
18
  export {
18
19
  RemoteWorkspaceService,
19
20
  SyncEngine,
@@ -120,14 +120,14 @@
120
120
  "@webcontainer/api": "^1.6.4"
121
121
  },
122
122
  "peerDependencies": {
123
- "better-sqlite3": "^11.0.0",
124
123
  "@aws-sdk/client-s3": "^3.600.0",
125
124
  "@aws-sdk/lib-storage": "^3.600.0",
126
- "@supabase/supabase-js": "^2.45.0",
127
125
  "@neondatabase/serverless": "^0.10.0",
126
+ "@supabase/supabase-js": "^2.45.0",
128
127
  "bcryptjs": "^2.4.3",
129
- "zod": "^3.22.0",
130
- "react": "^18.0.0 || ^19.0.0"
128
+ "better-sqlite3": "^11.0.0",
129
+ "react": "^18.0.0 || ^19.0.0",
130
+ "zod": "^3.22.0"
131
131
  },
132
132
  "peerDependenciesMeta": {
133
133
  "better-sqlite3": {
@@ -156,6 +156,6 @@
156
156
  }
157
157
  },
158
158
  "devDependencies": {
159
- "@ultrst-armada/krnl": "^1.0.3"
159
+ "@ultrst-armada/krnl": "^1.0.9"
160
160
  }
161
161
  }
@@ -36,6 +36,6 @@
36
36
  }
37
37
  },
38
38
  "devDependencies": {
39
- "@ultrst-armada/krnl": "^1.0.3"
39
+ "@ultrst-armada/krnl": "^1.0.9"
40
40
  }
41
41
  }
@@ -28,6 +28,6 @@
28
28
  "zod": "^3.24.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@ultrst-armada/krnl": "^1.0.3"
31
+ "@ultrst-armada/krnl": "^1.0.9"
32
32
  }
33
33
  }
@@ -132,7 +132,7 @@ async function executeFodFlow(flow, endpoints, onEvent, initialInput) {
132
132
  remaining.delete(node.id);
133
133
  emit({ type: "node-started", timestamp: Date.now(), flowId: flow.id, nodeId: node.id });
134
134
  try {
135
- const endpointId = String(node.data.endpointId ?? node.data.apiId ?? node.type.replace(/^(host|gutts)\//, ""));
135
+ const endpointId = String(node.data?.endpointId ?? node.data?.apiId ?? node.type.replace(/^(host|gutts)\//, ""));
136
136
  const endpoint = endpoints.get(endpointId);
137
137
  if (!endpoint) throw new Error(`No executable endpoint registered for node '${node.type}'.`);
138
138
  const input = {};
@@ -146,7 +146,7 @@ async function executeFodFlow(flow, endpoints, onEvent, initialInput) {
146
146
  for (const edge of incoming(node.id)) {
147
147
  input[String(edge.targetHandle ?? "input")] = values.get(`${edge.source}:${edge.sourceHandle ?? "result"}`);
148
148
  }
149
- const configured = node.data.inputs ?? {};
149
+ const configured = node.data?.inputs ?? {};
150
150
  Object.assign(input, configured);
151
151
  const result = await endpoint.invoke(input);
152
152
  outputs[node.id] = result;
@@ -4,23 +4,34 @@
4
4
  "description": "Embedded FOD workflow orchestration module for Skipo applications.",
5
5
  "type": "module",
6
6
  "private": false,
7
- "publishConfig": {"access":"public","registry":"https://registry.npmjs.org/"},
8
- "main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js",
9
- "exports": {".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"}},
7
+ "publishConfig": {
8
+ "access": "public",
9
+ "registry": "https://registry.npmjs.org/"
10
+ },
11
+ "main": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "module": "./dist/index.js",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ }
20
+ },
10
21
  "scripts": {
11
- "build":"tsup src/index.ts --format esm --dts --clean --external @ultrst-armada/krnl",
12
- "typecheck":"tsc --noEmit",
13
- "test":"vitest run",
14
- "clean":"rm -rf dist"
22
+ "build": "tsup src/index.ts --format esm --dts --clean --external @ultrst-armada/krnl",
23
+ "typecheck": "tsc --noEmit",
24
+ "test": "vitest run",
25
+ "clean": "rm -rf dist"
15
26
  },
16
27
  "dependencies": {
17
- "@kloks/backend":"workspace:*",
18
- "@kloks/state-graph":"workspace:*"
28
+ "@kloks/backend": "workspace:*",
29
+ "@kloks/state-graph": "workspace:*"
19
30
  },
20
31
  "devDependencies": {
21
- "@ultrst-armada/krnl":"^1.0.3",
22
- "tsup":"^8.4.0",
23
- "typescript":"^5.7.3",
24
- "vitest":"^3.1.0"
32
+ "@ultrst-armada/krnl": "^1.0.9",
33
+ "tsup": "^8.4.0",
34
+ "typescript": "^5.7.3",
35
+ "vitest": "^3.1.0"
25
36
  }
26
37
  }
@@ -0,0 +1,37 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
+ }) : x)(function(x) {
10
+ if (typeof require !== "undefined") return require.apply(this, arguments);
11
+ throw Error('Dynamic require of "' + x + '" is not supported');
12
+ });
13
+ var __commonJS = (cb, mod) => function __require2() {
14
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
15
+ };
16
+ var __copyProps = (to, from, except, desc) => {
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from))
19
+ if (!__hasOwnProp.call(to, key) && key !== except)
20
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
+ mod
31
+ ));
32
+
33
+ export {
34
+ __require,
35
+ __commonJS,
36
+ __toESM
37
+ };