@almadar/std 16.218.0 → 16.219.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.
- package/behaviors/lolo/infra/atoms/std-data-import.lolo +56 -5
- package/behaviors/lolo/infra/atoms/std-notification-center.lolo +18 -18
- package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +5 -5
- package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +17 -18
- package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +215 -0
- package/behaviors/lolo/ui/core/atoms/ui-textarea.lolo +2 -2
- package/behaviors/lolo/ui/core/molecules/ui-gantt.lolo +169 -0
- package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +2 -2
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +2 -2
- package/behaviors/registry/infra/atoms/std-data-import.orb +329 -6
- package/behaviors/registry/infra/atoms/std-notification-center.orb +41 -33
- package/behaviors/registry/infra/atoms/std-notification-preferences.orb +10 -17
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +198 -195
- package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +723 -0
- package/behaviors/registry/ui/core/molecules/ui-gantt.orb +508 -0
- package/canonical-operators.json +46 -1
- package/dist/behaviors/exports-reader.js +3212 -2818
- package/dist/behaviors/functions/index.d.ts +238 -5
- package/dist/behaviors/functions/index.js +3207 -2819
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +3213 -2819
- package/dist/behaviors/query.js +3212 -2818
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +19 -7
- package/dist/behaviors-registry.json +1772 -127
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3249 -2819
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/index.d.ts +2 -1
- package/dist/modules/index.js +30 -1
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.d.ts +20 -0
- package/dist/modules/json.js +30 -0
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js +28 -0
- package/dist/{types-C-Yerb4-.d.ts → types-DpbKBJu8.d.ts} +3 -3
- package/i18n/ar.json +3 -1
- package/i18n/en.json +2 -0
- package/i18n/sl.json +3 -1
- package/package.json +2 -2
package/dist/modules/anim.d.ts
CHANGED
package/dist/modules/array.d.ts
CHANGED
package/dist/modules/async.d.ts
CHANGED
package/dist/modules/core.d.ts
CHANGED
package/dist/modules/data.d.ts
CHANGED
package/dist/modules/ease.d.ts
CHANGED
package/dist/modules/format.d.ts
CHANGED
package/dist/modules/geo.d.ts
CHANGED
package/dist/modules/graph.d.ts
CHANGED
package/dist/modules/grid.d.ts
CHANGED
package/dist/modules/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { MATH_OPERATORS, getMathOperators } from './math.js';
|
|
|
3
3
|
export { STR_OPERATORS, getStrOperators } from './str.js';
|
|
4
4
|
export { ARRAY_OPERATORS, getArrayOperators, getLambdaArrayOperators } from './array.js';
|
|
5
5
|
export { OBJECT_OPERATORS, getObjectOperators } from './object.js';
|
|
6
|
+
export { JSON_OPERATORS, getJsonOperators } from './json.js';
|
|
6
7
|
export { TIME_OPERATORS, getTimeOperators } from './time.js';
|
|
7
8
|
export { VALIDATE_OPERATORS, getValidateOperators } from './validate.js';
|
|
8
9
|
export { FORMAT_OPERATORS, getFormatOperators } from './format.js';
|
|
@@ -31,4 +32,4 @@ export { MEMORY_OPERATORS, getMemoryOperators } from './memory.js';
|
|
|
31
32
|
export { TRACE_OPERATORS, getTraceOperators } from './trace.js';
|
|
32
33
|
export { BEHAVIOR_OPERATORS, getBehaviorOperators } from './behavior.js';
|
|
33
34
|
export { INTEGRATION_OPERATORS, getIntegrationOperators } from './integration.js';
|
|
34
|
-
import '../types-
|
|
35
|
+
import '../types-DpbKBJu8.js';
|
package/dist/modules/index.js
CHANGED
|
@@ -2286,6 +2286,35 @@ function getObjectOperators() {
|
|
|
2286
2286
|
return Object.keys(OBJECT_OPERATORS);
|
|
2287
2287
|
}
|
|
2288
2288
|
|
|
2289
|
+
// modules/json.ts
|
|
2290
|
+
var JSON_OPERATORS = {
|
|
2291
|
+
"json/parse": {
|
|
2292
|
+
module: "json",
|
|
2293
|
+
category: "std-json",
|
|
2294
|
+
minArity: 1,
|
|
2295
|
+
maxArity: 1,
|
|
2296
|
+
description: "Parse a JSON string into a value; invalid JSON or non-string input returns null (never throws)",
|
|
2297
|
+
hasSideEffects: false,
|
|
2298
|
+
returnType: "any",
|
|
2299
|
+
params: [{ name: "s", type: "string", description: "The JSON string to parse" }],
|
|
2300
|
+
example: '["json/parse", "{\\"a\\": 1}"] // => {a: 1}'
|
|
2301
|
+
},
|
|
2302
|
+
"json/stringify": {
|
|
2303
|
+
module: "json",
|
|
2304
|
+
category: "std-json",
|
|
2305
|
+
minArity: 1,
|
|
2306
|
+
maxArity: 1,
|
|
2307
|
+
description: "Serialize any value to a JSON string",
|
|
2308
|
+
hasSideEffects: false,
|
|
2309
|
+
returnType: "string",
|
|
2310
|
+
params: [{ name: "v", type: "any", description: "The value to serialize" }],
|
|
2311
|
+
example: '["json/stringify", {a: 1}] // => "{\\"a\\":1}"'
|
|
2312
|
+
}
|
|
2313
|
+
};
|
|
2314
|
+
function getJsonOperators() {
|
|
2315
|
+
return Object.keys(JSON_OPERATORS);
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2289
2318
|
// modules/time.ts
|
|
2290
2319
|
var TIME_OPERATORS = {
|
|
2291
2320
|
"time/now": {
|
|
@@ -6398,4 +6427,4 @@ function getIntegrationOperators() {
|
|
|
6398
6427
|
return Object.keys(INTEGRATION_OPERATORS);
|
|
6399
6428
|
}
|
|
6400
6429
|
|
|
6401
|
-
export { ANIM_OPERATORS, ARRAY_OPERATORS, ASYNC_OPERATORS, BEHAVIOR_OPERATORS, BROWSER_OPERATORS, COMPOSITION_OPERATORS, CONTRACT_OPERATORS, CORE_OPERATORS, DATA_OPERATORS, EASE_OPERATORS, FORMAT_OPERATORS, GEO_OPERATORS, GRAPH_OPERATORS, GRID_OPERATORS, INTEGRATION_OPERATORS, LLM_OPERATORS, MATH_OPERATORS, MEMORY_OPERATORS, NN_OPERATORS, NOISE_OPERATORS, OBJECT_OPERATORS, OS_OPERATORS, PATH_OPERATORS, PROB_OPERATORS, SESSION_OPERATORS, STR_OPERATORS, TENSOR_OPERATORS, TIME_OPERATORS, TRACE_OPERATORS, TRAIN_OPERATORS, VALIDATE_OPERATORS, VEC_OPERATORS, WORKSPACE_OPERATORS, getAnimOperators, getArrayOperators, getAsyncOperators, getBehaviorOperators, getCompositionOperators, getContractOperators, getCoreOperators, getDataOperators, getEaseOperators, getFormatOperators, getGeoOperators, getGraphOperators, getGridOperators, getIntegrationOperators, getLambdaArrayOperators, getLlmOperators, getMathOperators, getMemoryOperators, getNnOperators, getNoiseOperators, getObjectOperators, getPathOperators, getProbOperators, getSessionOperators, getStrOperators, getTensorOperators, getTimeOperators, getTraceOperators, getTrainOperators, getValidateOperators, getVecOperators, getWorkspaceOperators };
|
|
6430
|
+
export { ANIM_OPERATORS, ARRAY_OPERATORS, ASYNC_OPERATORS, BEHAVIOR_OPERATORS, BROWSER_OPERATORS, COMPOSITION_OPERATORS, CONTRACT_OPERATORS, CORE_OPERATORS, DATA_OPERATORS, EASE_OPERATORS, FORMAT_OPERATORS, GEO_OPERATORS, GRAPH_OPERATORS, GRID_OPERATORS, INTEGRATION_OPERATORS, JSON_OPERATORS, LLM_OPERATORS, MATH_OPERATORS, MEMORY_OPERATORS, NN_OPERATORS, NOISE_OPERATORS, OBJECT_OPERATORS, OS_OPERATORS, PATH_OPERATORS, PROB_OPERATORS, SESSION_OPERATORS, STR_OPERATORS, TENSOR_OPERATORS, TIME_OPERATORS, TRACE_OPERATORS, TRAIN_OPERATORS, VALIDATE_OPERATORS, VEC_OPERATORS, WORKSPACE_OPERATORS, getAnimOperators, getArrayOperators, getAsyncOperators, getBehaviorOperators, getCompositionOperators, getContractOperators, getCoreOperators, getDataOperators, getEaseOperators, getFormatOperators, getGeoOperators, getGraphOperators, getGridOperators, getIntegrationOperators, getJsonOperators, getLambdaArrayOperators, getLlmOperators, getMathOperators, getMemoryOperators, getNnOperators, getNoiseOperators, getObjectOperators, getPathOperators, getProbOperators, getSessionOperators, getStrOperators, getTensorOperators, getTimeOperators, getTraceOperators, getTrainOperators, getValidateOperators, getVecOperators, getWorkspaceOperators };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* JSON Module - JSON parsing and serialization
|
|
5
|
+
*
|
|
6
|
+
* `(json/parse s)` — pure, deterministic: string → parsed value. Invalid JSON
|
|
7
|
+
* or non-string input → null, never throws — guards can branch on null. No
|
|
8
|
+
* reviver, no prototype access, no side effects. `(json/stringify v)` is the
|
|
9
|
+
* inverse: any value → JSON string.
|
|
10
|
+
*
|
|
11
|
+
* @packageDocumentation
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
declare const JSON_OPERATORS: Record<string, StdOperatorMeta>;
|
|
15
|
+
/**
|
|
16
|
+
* Get all json operator names.
|
|
17
|
+
*/
|
|
18
|
+
declare function getJsonOperators(): string[];
|
|
19
|
+
|
|
20
|
+
export { JSON_OPERATORS, getJsonOperators };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// modules/json.ts
|
|
2
|
+
var JSON_OPERATORS = {
|
|
3
|
+
"json/parse": {
|
|
4
|
+
module: "json",
|
|
5
|
+
category: "std-json",
|
|
6
|
+
minArity: 1,
|
|
7
|
+
maxArity: 1,
|
|
8
|
+
description: "Parse a JSON string into a value; invalid JSON or non-string input returns null (never throws)",
|
|
9
|
+
hasSideEffects: false,
|
|
10
|
+
returnType: "any",
|
|
11
|
+
params: [{ name: "s", type: "string", description: "The JSON string to parse" }],
|
|
12
|
+
example: '["json/parse", "{\\"a\\": 1}"] // => {a: 1}'
|
|
13
|
+
},
|
|
14
|
+
"json/stringify": {
|
|
15
|
+
module: "json",
|
|
16
|
+
category: "std-json",
|
|
17
|
+
minArity: 1,
|
|
18
|
+
maxArity: 1,
|
|
19
|
+
description: "Serialize any value to a JSON string",
|
|
20
|
+
hasSideEffects: false,
|
|
21
|
+
returnType: "string",
|
|
22
|
+
params: [{ name: "v", type: "any", description: "The value to serialize" }],
|
|
23
|
+
example: '["json/stringify", {a: 1}] // => "{\\"a\\":1}"'
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
function getJsonOperators() {
|
|
27
|
+
return Object.keys(JSON_OPERATORS);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { JSON_OPERATORS, getJsonOperators };
|
package/dist/modules/llm.d.ts
CHANGED
package/dist/modules/math.d.ts
CHANGED
package/dist/modules/memory.d.ts
CHANGED
package/dist/modules/nn.d.ts
CHANGED
package/dist/modules/noise.d.ts
CHANGED
package/dist/modules/object.d.ts
CHANGED
package/dist/modules/os.d.ts
CHANGED
package/dist/modules/path.d.ts
CHANGED
package/dist/modules/prob.d.ts
CHANGED
package/dist/modules/str.d.ts
CHANGED
package/dist/modules/tensor.d.ts
CHANGED
package/dist/modules/time.d.ts
CHANGED
package/dist/modules/trace.d.ts
CHANGED
package/dist/modules/train.d.ts
CHANGED
package/dist/modules/vector.d.ts
CHANGED