@ultrst-armada/kloks 1.24.11 → 1.25.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/package.json +5 -4
- package/packages/audio-midi/dist/index.js +16 -16
- package/packages/backend/dist/chunk-CA5HVC4X.js +155 -0
- package/packages/backend/dist/{chunk-UC25J7E4.js → chunk-COA3ABWL.js} +1 -1
- package/packages/backend/dist/chunk-GKQ42CYW.js +47 -0
- package/packages/backend/dist/{chunk-XHADDA75.js → chunk-RIOYKF3X.js} +18 -10
- package/packages/backend/dist/development/index.d.ts +4 -113
- package/packages/backend/dist/development/index.js +31 -204
- package/packages/backend/dist/development/webContainerRuntime.d.ts +2 -0
- package/packages/backend/dist/development/webContainerRuntime.js +12 -0
- package/packages/backend/dist/development/webContainerService.d.ts +17 -0
- package/packages/backend/dist/development/webContainerService.js +19 -0
- package/packages/backend/dist/index.d.ts +17 -1
- package/packages/backend/dist/index.js +62 -2
- package/packages/backend/dist/krnl-services.js +2 -2
- package/packages/backend/dist/srkl/index.d.ts +0 -5
- package/packages/backend/dist/srkl/index.js +1 -1
- package/packages/backend/dist/webContainerRuntime-BnHB2bNz.d.ts +103 -0
- package/packages/backend/package.json +7 -2
- package/packages/client/dist/auth.d.ts +13 -0
- package/packages/client/dist/index.d.ts +1 -0
- package/packages/client/package.json +1 -1
- package/packages/functions/dist/index.js +16 -16
- package/packages/services/dist/index.d.ts +70 -1
- package/packages/services/dist/index.js +130 -16
- package/packages/services/kloks.manifest.json +28 -0
- package/packages/state-graph/dist/index.js +30 -30
- package/.krusbl-release-attestation.json +0 -8
|
@@ -16,20 +16,6 @@ import {
|
|
|
16
16
|
useSkipoBind,
|
|
17
17
|
useSkipoState
|
|
18
18
|
} from "./chunk-EW4ACSZB.js";
|
|
19
|
-
import {
|
|
20
|
-
CommandApi,
|
|
21
|
-
GhostStore,
|
|
22
|
-
GraphStore
|
|
23
|
-
} from "./chunk-4UVGXFEM.js";
|
|
24
|
-
import {
|
|
25
|
-
BaseGraph,
|
|
26
|
-
BaseNode,
|
|
27
|
-
BaseViewWindow,
|
|
28
|
-
CustomGraph,
|
|
29
|
-
CustomNode,
|
|
30
|
-
CustomViewWindow,
|
|
31
|
-
DEFAULT_GRAPH_SETTINGS
|
|
32
|
-
} from "./chunk-KG6QYS26.js";
|
|
33
19
|
import {
|
|
34
20
|
AttractionEngine,
|
|
35
21
|
GhostInferenceEngine,
|
|
@@ -45,6 +31,20 @@ import {
|
|
|
45
31
|
WireTypeRegistry,
|
|
46
32
|
initializeDefaultGraphRules
|
|
47
33
|
} from "./chunk-TZOL3RN7.js";
|
|
34
|
+
import {
|
|
35
|
+
CommandApi,
|
|
36
|
+
GhostStore,
|
|
37
|
+
GraphStore
|
|
38
|
+
} from "./chunk-4UVGXFEM.js";
|
|
39
|
+
import {
|
|
40
|
+
BaseGraph,
|
|
41
|
+
BaseNode,
|
|
42
|
+
BaseViewWindow,
|
|
43
|
+
CustomGraph,
|
|
44
|
+
CustomNode,
|
|
45
|
+
CustomViewWindow,
|
|
46
|
+
DEFAULT_GRAPH_SETTINGS
|
|
47
|
+
} from "./chunk-KG6QYS26.js";
|
|
48
48
|
import {
|
|
49
49
|
AutoSolidify,
|
|
50
50
|
SpatialEngine,
|
|
@@ -63,7 +63,7 @@ import "./chunk-QGM4M3NI.js";
|
|
|
63
63
|
// ../../node_modules/.pnpm/@ultrst-armada+krnl@1.0.9_@types+node@22.20.5/node_modules/@ultrst-armada/krnl/packages/core/dist/index.js
|
|
64
64
|
import { randomUUID } from "crypto";
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
66
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/define-api.js
|
|
67
67
|
function defineApi(definition) {
|
|
68
68
|
const properties = Object.fromEntries(definition.parameters.map((parameter) => [
|
|
69
69
|
parameter.name,
|
|
@@ -84,7 +84,7 @@ function defineApi(definition) {
|
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
87
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/array-apis.js
|
|
88
88
|
var array = { type: "array" };
|
|
89
89
|
var integer = { type: "integer" };
|
|
90
90
|
var arrayApis = [
|
|
@@ -95,7 +95,7 @@ var arrayApis = [
|
|
|
95
95
|
defineApi({ id: "gutts.arrays.last", name: "last", category: "arrays", description: "Returns the final element of an array, or undefined when the array is empty.", parameters: [{ name: "values", description: "The array whose final element should be returned.", required: true, schema: array }], output: { description: "The final array element, or undefined for an empty array." }, semantics: { deterministic: true, pure: true, sideEffects: false } })
|
|
96
96
|
];
|
|
97
97
|
|
|
98
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
98
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/json-apis.js
|
|
99
99
|
var json = { type: "object", description: "A JSON-compatible value." };
|
|
100
100
|
var jsonApis = [
|
|
101
101
|
defineApi({ id: "gutts.json.isJsonValue", name: "isJsonValue", category: "json", description: "Checks whether an unknown value can be represented as a finite JSON value.", parameters: [{ name: "value", description: "The value to validate as JSON-compatible data.", required: true, schema: {} }], output: { type: "boolean", description: "True when the value is a valid JSON value." }, semantics: { deterministic: true, pure: true, sideEffects: false } }),
|
|
@@ -104,7 +104,7 @@ var jsonApis = [
|
|
|
104
104
|
defineApi({ id: "gutts.json.stringifyJson", name: "stringifyJson", category: "json", description: "Serializes a JSON-compatible value into JSON text, optionally using indentation.", parameters: [{ name: "value", description: "The JSON-compatible value to serialize.", required: true, schema: {} }, { name: "space", description: "Optional number of indentation spaces to use in the serialized output.", required: false, schema: { type: "number" } }], output: { type: "string", description: "The serialized JSON text." }, semantics: { deterministic: true, pure: true, sideEffects: false }, errors: ["Throws TypeError when the value cannot be serialized as JSON."] })
|
|
105
105
|
];
|
|
106
106
|
|
|
107
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
107
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/number-apis.js
|
|
108
108
|
var numberApis = [
|
|
109
109
|
defineApi({ id: "gutts.numbers.clamp", name: "clamp", category: "numbers", description: "Restricts a numeric value to an inclusive minimum and maximum range.", parameters: [{ name: "value", description: "The numeric value to constrain.", required: true, schema: { type: "number" } }, { name: "min", description: "The inclusive lower bound.", required: true, schema: { type: "number" } }, { name: "max", description: "The inclusive upper bound.", required: true, schema: { type: "number" } }], output: { type: "number", description: "The value constrained to the inclusive range." }, semantics: { deterministic: true, pure: true, sideEffects: false }, errors: ["Throws RangeError when min exceeds max."] }),
|
|
110
110
|
defineApi({ id: "gutts.numbers.inRange", name: "inRange", category: "numbers", description: "Checks whether a numeric value falls within the configured range.", parameters: [{ name: "value", description: "The numeric value to test.", required: true, schema: { type: "number" } }, { name: "min", description: "The lower range boundary.", required: true, schema: { type: "number" } }, { name: "max", description: "The upper range boundary.", required: true, schema: { type: "number" } }], output: { type: "boolean", description: "Whether the value is inside the range." }, semantics: { deterministic: true, pure: true, sideEffects: false }, errors: ["Throws RangeError when min exceeds max."] }),
|
|
@@ -113,7 +113,7 @@ var numberApis = [
|
|
|
113
113
|
defineApi({ id: "gutts.numbers.sum", name: "sum", category: "numbers", description: "Adds all numbers in an array and returns their total.", parameters: [{ name: "values", description: "The numeric values to add.", required: true, schema: { type: "array", items: { type: "number" } } }], output: { type: "number", description: "The sum of all input numbers." }, semantics: { deterministic: true, pure: true, sideEffects: false } })
|
|
114
114
|
];
|
|
115
115
|
|
|
116
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
116
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/object-apis.js
|
|
117
117
|
var objectApis = [
|
|
118
118
|
defineApi({ id: "gutts.objects.hasOwn", name: "hasOwn", category: "objects", description: "Checks whether an object contains a requested property.", parameters: [{ name: "value", description: "The object to inspect.", required: true, schema: { type: "object" } }, { name: "key", description: "The property key to look for.", required: true, schema: { type: "string" } }], output: { type: "boolean" }, semantics: { deterministic: true, pure: true, sideEffects: false } }),
|
|
119
119
|
defineApi({ id: "gutts.objects.pick", name: "pick", category: "objects", description: "Creates an object containing only requested properties.", parameters: [{ name: "value", description: "The source object.", required: true, schema: { type: "object" } }, { name: "keys", description: "The property keys to retain.", required: true, schema: { type: "array", items: { type: "string" } } }], output: { type: "object" }, semantics: { deterministic: true, pure: true, sideEffects: false } }),
|
|
@@ -121,7 +121,7 @@ var objectApis = [
|
|
|
121
121
|
defineApi({ id: "gutts.objects.isPlainObject", name: "isPlainObject", category: "objects", description: "Checks whether a value is a plain JavaScript object.", parameters: [{ name: "value", description: "The value to classify.", required: true, schema: {} }], output: { type: "boolean" }, semantics: { deterministic: true, pure: true, sideEffects: false } })
|
|
122
122
|
];
|
|
123
123
|
|
|
124
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
124
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/string-apis.js
|
|
125
125
|
var string = { type: "string" };
|
|
126
126
|
var stringApis = [
|
|
127
127
|
defineApi({ id: "gutts.strings.isBlank", name: "isBlank", category: "strings", description: "Checks whether a string contains no non-whitespace characters.", parameters: [{ name: "value", description: "The string to inspect.", required: true, schema: string }], output: { type: "boolean" }, semantics: { deterministic: true, pure: true, sideEffects: false } }),
|
|
@@ -137,7 +137,7 @@ var stringApis = [
|
|
|
137
137
|
defineApi({ id: "gutts.strings.truncateWords", name: "truncateWords", category: "strings", description: "Shortens a string to a maximum number of words and appends a suffix when truncation is required.", parameters: [{ name: "value", description: "The string to shorten.", required: true, schema: string }, { name: "maxWords", description: "The non-negative maximum number of words.", required: true, schema: { type: "number" } }, { name: "suffix", description: "The suffix used when truncation occurs.", required: false, schema: string }], output: { type: "string" }, semantics: { deterministic: true, pure: true, sideEffects: false }, errors: ["Throws RangeError when maxWords is negative."] })
|
|
138
138
|
];
|
|
139
139
|
|
|
140
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
140
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/url-apis.js
|
|
141
141
|
var string2 = { type: "string" };
|
|
142
142
|
var urlApis = [
|
|
143
143
|
defineApi({ id: "gutts.urls.isUrl", name: "isUrl", category: "urls", description: "Checks whether a string can be parsed as a URL by the standard URL constructor.", parameters: [{ name: "value", description: "The string to validate.", required: true, schema: string2 }], output: { type: "boolean" }, semantics: { deterministic: true, pure: true, sideEffects: false } }),
|
|
@@ -146,7 +146,7 @@ var urlApis = [
|
|
|
146
146
|
defineApi({ id: "gutts.urls.setQueryParam", name: "setQueryParam", category: "urls", description: "Returns a URL with one query-string parameter set to the supplied value.", parameters: [{ name: "url", description: "The URL to modify.", required: true, schema: string2 }, { name: "key", description: "The query parameter name.", required: true, schema: string2 }, { name: "value", description: "The query parameter value.", required: true, schema: string2 }], output: { type: "string" }, semantics: { deterministic: true, pure: true, sideEffects: false }, errors: ["Throws when url cannot be parsed as a URL."] })
|
|
147
147
|
];
|
|
148
148
|
|
|
149
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
149
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/models/needle3/index.js
|
|
150
150
|
var needle3Metadata = {
|
|
151
151
|
id: "model.cactus-needle3",
|
|
152
152
|
name: "Needle 3",
|
|
@@ -177,12 +177,12 @@ var needle3CompleteApi = defineApi({
|
|
|
177
177
|
semantics: { deterministic: false, pure: false, sideEffects: false }
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
180
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/models/runtimes/ettin-head.js
|
|
181
181
|
import fs from "fs";
|
|
182
182
|
import path from "path";
|
|
183
183
|
import os from "os";
|
|
184
184
|
|
|
185
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
185
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/models/smollm2/index.js
|
|
186
186
|
var smolLM2Metadata = {
|
|
187
187
|
id: "model.smollm2-135m-instruct",
|
|
188
188
|
name: "SmolLM2-135M-Instruct",
|
|
@@ -214,7 +214,7 @@ var smolLM2GenerateApi = defineApi({
|
|
|
214
214
|
errors: ["Model load failure", "Inference failure"]
|
|
215
215
|
});
|
|
216
216
|
|
|
217
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
217
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/models/whistle/index.js
|
|
218
218
|
var whistleMetadata = {
|
|
219
219
|
id: "model.cactus-whistle",
|
|
220
220
|
name: "Whistle",
|
|
@@ -244,7 +244,7 @@ var whistleTranscribeApi = defineApi({
|
|
|
244
244
|
semantics: { deterministic: true, pure: false, sideEffects: false }
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
247
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/models/ettin/index.js
|
|
248
248
|
var defineEttin = (id2, name, parameters, description) => ({
|
|
249
249
|
id: id2,
|
|
250
250
|
name,
|
|
@@ -279,7 +279,7 @@ var ettinRerankApi = defineApi({
|
|
|
279
279
|
semantics: { deterministic: true, pure: false, sideEffects: false }
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
282
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/models/minilm/index.js
|
|
283
283
|
var miniLML6Metadata = {
|
|
284
284
|
id: "model.minilm-l6-v2",
|
|
285
285
|
name: "MiniLM-L6-v2",
|
|
@@ -310,7 +310,7 @@ var miniLMSimilarityApi = defineApi({
|
|
|
310
310
|
semantics: { deterministic: true, pure: false, sideEffects: false }
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
313
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/api-registry.js
|
|
314
314
|
var guttsApiDefinitions = Object.freeze([
|
|
315
315
|
...arrayApis,
|
|
316
316
|
...jsonApis,
|
|
@@ -326,7 +326,7 @@ var guttsApiDefinitions = Object.freeze([
|
|
|
326
326
|
]);
|
|
327
327
|
var guttsApiById = Object.freeze(Object.fromEntries(guttsApiDefinitions.map((api) => [api.id, api])));
|
|
328
328
|
|
|
329
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
329
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/api/fod-node-provider.js
|
|
330
330
|
var schemaType = (schema) => String(schema?.type ?? "any");
|
|
331
331
|
function guttsApiToFodNode(api) {
|
|
332
332
|
return {
|
|
@@ -342,7 +342,7 @@ function guttsApiToFodNode(api) {
|
|
|
342
342
|
}
|
|
343
343
|
var guttsFodNodeDefinitions = Object.freeze(guttsApiDefinitions.map(guttsApiToFodNode));
|
|
344
344
|
|
|
345
|
-
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.
|
|
345
|
+
// ../../node_modules/.pnpm/@dinilmusick+gutts@1.4.4_@types+node@22.20.5/node_modules/@dinilmusick/gutts/dist/models/model-registry.js
|
|
346
346
|
var guttsModelDefinitions = Object.freeze([
|
|
347
347
|
smolLM2Metadata,
|
|
348
348
|
needle3Metadata,
|