psycgod-sage 2.5.5 → 2.5.6

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.
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=postinstall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postinstall.d.ts","sourceRoot":"","sources":["../../src/cli/postinstall.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ const message = `
3
+ SAGE installed.
4
+
5
+ Next step:
6
+ sage install
7
+
8
+ That connects this machine, activates SAGE for local AI agents, and verifies
9
+ that future terminal commands are routed through SAGE.
10
+
11
+ If you only want to wrap one command now:
12
+ sage run -- pytest
13
+
14
+ Shortcuts also work:
15
+ sage pytest
16
+ sage npm test
17
+ sage git status
18
+ `;
19
+ console.log(message.trim());
20
+ export {};
21
+ //# sourceMappingURL=postinstall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postinstall.js","sourceRoot":"","sources":["../../src/cli/postinstall.ts"],"names":[],"mappings":";AAEA,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;CAgBf,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "psycgod-sage",
3
- "version": "2.5.5",
3
+ "version": "2.5.6",
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",
@@ -15,13 +15,14 @@
15
15
  "dist",
16
16
  "bin"
17
17
  ],
18
- "scripts": {
19
- "build": "tsc",
20
- "dev": "tsc --watch",
21
- "test": "vitest",
22
- "lint": "eslint src",
23
- "prepublishOnly": "npm run build"
24
- },
18
+ "scripts": {
19
+ "build": "tsc",
20
+ "dev": "tsc --watch",
21
+ "test": "vitest",
22
+ "lint": "eslint src",
23
+ "postinstall": "node ./dist/cli/postinstall.js",
24
+ "prepublishOnly": "npm run build"
25
+ },
25
26
  "dependencies": {},
26
27
  "devDependencies": {
27
28
  "@types/better-sqlite3": "^7.6.11",