psycgod-sage 1.0.14 → 1.0.15
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/README.md +11 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# SAGE npm launcher - Smart Agent Guidance Engine
|
|
2
|
-
[](https://www.npmjs.com/package/psycgod-sage)
|
|
3
3
|
|
|
4
4
|
This npm package is a Node-friendly launcher for the canonical Python package `psycgod-sage`.
|
|
5
5
|
It installs/updates the PyPI SAGE core and forwards commands to `python -m sage`, so npm/npx
|
|
@@ -8,13 +8,13 @@ and PyPI behavior stay identical. ML V1 is included. ML V2 remains optional.
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npm install -g psycgod-sage
|
|
11
|
+
npm install -g psycgod-sage
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
One-shot npx usage:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npx -y psycgod-sage
|
|
17
|
+
npx -y psycgod-sage run -- npm test
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Equivalent Python install:
|
|
@@ -27,12 +27,12 @@ sage run -- npm test
|
|
|
27
27
|
## Usage
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
npx -y psycgod-sage
|
|
31
|
-
npx -y psycgod-sage
|
|
32
|
-
npx -y psycgod-sage
|
|
33
|
-
npx -y psycgod-sage
|
|
34
|
-
npx -y psycgod-sage
|
|
35
|
-
npx -y psycgod-sage
|
|
30
|
+
npx -y psycgod-sage run -- npm test
|
|
31
|
+
npx -y psycgod-sage history
|
|
32
|
+
npx -y psycgod-sage explain --failed
|
|
33
|
+
npx -y psycgod-sage suggest --failed
|
|
34
|
+
npx -y psycgod-sage predict rm -rf node_modules
|
|
35
|
+
npx -y psycgod-sage ml setup
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
If installed from PyPI, AI agents should use:
|
|
@@ -44,7 +44,7 @@ sage run -- <command>
|
|
|
44
44
|
If installed from npm/npx, AI agents should use:
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
|
-
npx -y psycgod-sage
|
|
47
|
+
npx -y psycgod-sage run -- <command>
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
## Notes
|
|
@@ -52,7 +52,7 @@ npx -y psycgod-sage-js run -- <command>
|
|
|
52
52
|
- npm/npx SAGE delegates to PyPI `psycgod-sage`.
|
|
53
53
|
- There is no separate JS database, runner, compressor, or ML implementation in the active CLI path.
|
|
54
54
|
- ML V1 is included through PyPI SAGE.
|
|
55
|
-
- Optional ML V2 can be installed later with `npx -y psycgod-sage
|
|
55
|
+
- Optional ML V2 can be installed later with `npx -y psycgod-sage ml setup`.
|
|
56
56
|
|
|
57
57
|
Links:
|
|
58
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "psycgod-sage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"mcpName": "io.github.psycgod/sage",
|
|
5
5
|
"description": "npm/npx launcher for the canonical PyPI SAGE CLI wrapper for AI coding agents",
|
|
6
6
|
"author": "PsYcGoD",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
|
38
|
-
"url": "git+https://github.com/PsYcGoD/sage
|
|
38
|
+
"url": "git+https://github.com/PsYcGoD/sage.git"
|
|
39
39
|
},
|
|
40
40
|
"keywords": [
|
|
41
41
|
"ai",
|