yats-toolkit 0.2.2 → 0.2.3
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 +1 -1
- package/src/setup.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yats-toolkit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "YATS — Yet Another Token Saver. One-command MCP server that indexes your codebase into a knowledge graph so AI agents (Claude, Cursor, Copilot) can search and navigate it without burning tokens.",
|
|
5
5
|
"author": "Franco Vinciarelli <vinciarellifranco@gmail.com>",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
package/src/setup.js
CHANGED
|
@@ -776,11 +776,11 @@ async function main(options = {}) {
|
|
|
776
776
|
|
|
777
777
|
if (osPlatform === "win32") {
|
|
778
778
|
// Windows: create a .cmd wrapper
|
|
779
|
-
const cmdScript = `@echo off\r\nnpx yats %*\r\n`;
|
|
779
|
+
const cmdScript = `@echo off\r\nnpx yats-toolkit %*\r\n`;
|
|
780
780
|
writeFileSync(join(YATS_BIN_DIR, "yats.cmd"), cmdScript);
|
|
781
781
|
} else {
|
|
782
782
|
// Linux/macOS: create a shell wrapper
|
|
783
|
-
const shScript = `#!/usr/bin/env bash\nnpx yats "$@"\n`;
|
|
783
|
+
const shScript = `#!/usr/bin/env bash\nnpx yats-toolkit "$@"\n`;
|
|
784
784
|
writeFileSync(join(YATS_BIN_DIR, "yats"), shScript);
|
|
785
785
|
chmodSync(join(YATS_BIN_DIR, "yats"), 0o755);
|
|
786
786
|
}
|