@metta-ts/libraries 1.5.0 → 2.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metta-ts/libraries",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,7 +16,7 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@metta-ts/core": "1.5.0"
19
+ "@mettascript/libraries": "2.0.0"
20
20
  },
21
21
  "author": "MesTTo",
22
22
  "engines": {
@@ -27,26 +27,17 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "description": "Pure MeTTa standard libraries for MeTTa TS, auto-registered as importable built-in modules.",
31
- "keywords": [
32
- "metta",
33
- "hyperon",
34
- "standard-library",
35
- "atomspace",
36
- "typescript"
37
- ],
30
+ "description": "Compatibility shim for @mettascript/libraries.",
38
31
  "repository": {
39
32
  "type": "git",
40
- "url": "git+https://github.com/MesTTo/MeTTa-TS.git",
33
+ "url": "git+https://github.com/MesTTo/MeTTaScript.git",
41
34
  "directory": "packages/libraries"
42
35
  },
43
- "homepage": "https://github.com/MesTTo/MeTTa-TS#readme",
36
+ "homepage": "https://github.com/MesTTo/MeTTaScript#readme",
44
37
  "bugs": {
45
- "url": "https://github.com/MesTTo/MeTTa-TS/issues"
38
+ "url": "https://github.com/MesTTo/MeTTaScript/issues"
46
39
  },
47
40
  "scripts": {
48
- "generate": "node scripts/generate-sources.mjs",
49
- "prebuild": "pnpm generate",
50
41
  "build": "tsup src/index.ts --format esm --dts --clean"
51
42
  }
52
43
  }
package/README.md DELETED
@@ -1,24 +0,0 @@
1
- <!--
2
- SPDX-FileCopyrightText: 2026 MesTTo
3
- SPDX-License-Identifier: MIT
4
- -->
5
-
6
- # @metta-ts/libraries
7
-
8
- `@metta-ts/libraries` packages the pure MeTTa standard libraries for MeTTa TS.
9
- Importing the package registers the modules with `@metta-ts/core`, so programs
10
- can load them with `(import! &self <name>)`.
11
-
12
- ```ts
13
- import "@metta-ts/libraries";
14
- import { runProgram } from "@metta-ts/core";
15
-
16
- const out = runProgram(`
17
- !(import! &self vector)
18
- !(dot (1.0 2.0 3.0) (4.0 5.0 6.0))
19
- `);
20
- ```
21
-
22
- The package currently includes `vector`, `roman`, `combinatorics`, `patrick`,
23
- `datastructures`, `spaces`, `nars`, and `pln`. The native host modules remain
24
- in `@metta-ts/core`.