psycgod-sage 2.6.0 → 2.6.2
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/LICENSE +21 -21
- package/bin/sage.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/python/bridge.d.ts +1 -1
- package/dist/python/bridge.js +1 -1
- package/package.json +24 -23
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 PsYcGoD
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PsYcGoD
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/bin/sage.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import '../dist/cli/index.js';
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import '../dist/cli/index.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ensurePythonSage, findPython, runPythonSage, setupPythonSage, showPythonSageApiStatus } from './python/bridge.js';
|
|
2
|
-
export declare const VERSION = "2.6.
|
|
2
|
+
export declare const VERSION = "2.6.2";
|
|
3
3
|
export declare const PYPI_PACKAGE = "psycgod-sage";
|
|
4
4
|
export declare const NPM_RUN_PREFIX = "npx -y psycgod-sage run --";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ensurePythonSage, findPython, runPythonSage, setupPythonSage, showPythonSageApiStatus } from './python/bridge.js';
|
|
2
|
-
export const VERSION = '2.6.
|
|
2
|
+
export const VERSION = '2.6.2';
|
|
3
3
|
export const PYPI_PACKAGE = 'psycgod-sage';
|
|
4
4
|
export const NPM_RUN_PREFIX = 'npx -y psycgod-sage run --';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/python/bridge.d.ts
CHANGED
package/dist/python/bridge.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spawnSync } from 'child_process';
|
|
2
2
|
import { existsSync, statSync } from 'fs';
|
|
3
|
-
export const EXPECTED_SAGE_VERSION = '2.6.
|
|
3
|
+
export const EXPECTED_SAGE_VERSION = '2.6.2';
|
|
4
4
|
const PYTHON_CANDIDATES = [
|
|
5
5
|
...(process.env.PYTHON ? [{ command: process.env.PYTHON, prefixArgs: [] }] : []),
|
|
6
6
|
{ command: 'python', prefixArgs: [] },
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "psycgod-sage",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
4
|
+
"mcpName": "io.github.PsYcGoD/sage",
|
|
4
5
|
"mcpName": "io.github.PsYcGoD/sage",
|
|
5
6
|
"description": "npm/npx launcher for the canonical PyPI SAGE CLI wrapper for AI coding agents",
|
|
6
7
|
"author": "PsYcGoD",
|
|
@@ -11,33 +12,33 @@
|
|
|
11
12
|
"bin": {
|
|
12
13
|
"sage": "bin/sage.js"
|
|
13
14
|
},
|
|
14
|
-
"files": [
|
|
15
|
-
"bin",
|
|
16
|
-
"dist/index.*",
|
|
17
|
-
"dist/cli/index.*",
|
|
18
|
-
"dist/python/bridge.*"
|
|
19
|
-
],
|
|
15
|
+
"files": [
|
|
16
|
+
"bin",
|
|
17
|
+
"dist/index.*",
|
|
18
|
+
"dist/cli/index.*",
|
|
19
|
+
"dist/python/bridge.*"
|
|
20
|
+
],
|
|
20
21
|
"scripts": {
|
|
21
|
-
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc",
|
|
22
|
+
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc",
|
|
22
23
|
"dev": "tsc --watch",
|
|
23
|
-
"test": "vitest --run tests/launcher.test.ts",
|
|
24
|
+
"test": "vitest --run tests/launcher.test.ts",
|
|
24
25
|
"lint": "eslint src",
|
|
25
|
-
"prepack": "npm run build"
|
|
26
|
+
"prepack": "npm run build"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/node": "^24.0.0",
|
|
31
|
+
"typescript": "^5.9.0",
|
|
32
|
+
"vitest": "^4.1.0"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=18.0.0"
|
|
26
36
|
},
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"vitest": "^4.1.0"
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public",
|
|
39
|
+
"provenance": true,
|
|
40
|
+
"registry": "https://registry.npmjs.org/"
|
|
32
41
|
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=18.0.0"
|
|
35
|
-
},
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public",
|
|
38
|
-
"provenance": true,
|
|
39
|
-
"registry": "https://registry.npmjs.org/"
|
|
40
|
-
},
|
|
41
42
|
"repository": {
|
|
42
43
|
"type": "git",
|
|
43
44
|
"url": "git+https://github.com/PsYcGoD/sage.git"
|