@almadar/std 1.0.15 → 2.1.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.
@@ -9,7 +9,7 @@
9
9
  /**
10
10
  * Operator categories for the core expression language.
11
11
  */
12
- declare const OPERATOR_CATEGORIES: readonly ["arithmetic", "comparison", "logic", "control", "effect", "collection", "std-math", "std-str", "std-array", "std-object", "std-validate", "std-time", "std-format", "std-async", "std-nn", "std-tensor", "std-train"];
12
+ declare const OPERATOR_CATEGORIES: readonly ["arithmetic", "comparison", "logic", "control", "effect", "collection", "std-math", "std-str", "std-array", "std-object", "std-validate", "std-time", "std-format", "std-async", "std-nn", "std-tensor", "std-train", "std-prob"];
13
13
  type OperatorCategory = (typeof OPERATOR_CATEGORIES)[number];
14
14
  /**
15
15
  * Base metadata for an operator.
@@ -33,13 +33,13 @@ interface OperatorMeta {
33
33
  * Each module provides a set of operators prefixed with the module name.
34
34
  * E.g., 'math' provides 'math/abs', 'math/clamp', etc.
35
35
  */
36
- declare const STD_MODULES: readonly ["math", "str", "array", "object", "time", "validate", "format", "async", "nn", "tensor", "train"];
36
+ declare const STD_MODULES: readonly ["math", "str", "array", "object", "time", "validate", "format", "async", "nn", "tensor", "train", "prob"];
37
37
  type StdModule = (typeof STD_MODULES)[number];
38
38
  /**
39
39
  * Standard library operator categories.
40
40
  * These extend the core categories for more granular classification.
41
41
  */
42
- declare const STD_OPERATOR_CATEGORIES: readonly ["std-math", "std-str", "std-array", "std-object", "std-time", "std-validate", "std-format", "std-async", "std-nn", "std-tensor", "std-train"];
42
+ declare const STD_OPERATOR_CATEGORIES: readonly ["std-math", "std-str", "std-array", "std-object", "std-time", "std-validate", "std-format", "std-async", "std-nn", "std-tensor", "std-train", "std-prob"];
43
43
  type StdOperatorCategory = (typeof STD_OPERATOR_CATEGORIES)[number];
44
44
  /**
45
45
  * Extended operator metadata for std library operators.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "1.0.15",
3
+ "version": "2.1.0",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "@almadar/operators": "1.0.14",
35
- "@almadar/core": "1.0.17"
34
+ "@almadar/operators": ">=2.0.0",
35
+ "@almadar/core": ">=2.0.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "tsup": "^8.0.0",
@@ -42,7 +42,7 @@
42
42
  "repository": {
43
43
  "type": "git",
44
44
  "url": "https://github.com/almadar-io/almadar.git",
45
- "directory": "packages/almadar-std"
45
+ "directory": "docs/packages/std"
46
46
  },
47
47
  "license": "MIT",
48
48
  "keywords": [
@@ -51,6 +51,7 @@
51
51
  "standard-library",
52
52
  "operators"
53
53
  ],
54
+ "homepage": "https://github.com/almadar-io/almadar#readme",
54
55
  "scripts": {
55
56
  "build": "tsup",
56
57
  "build:watch": "tsup --watch",