@ulrichc1/sparn 1.0.0 → 1.0.1
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 +8 -4
- package/dist/cli/index.cjs +1 -1
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Sparn
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@ulrichc1/sparn)
|
|
4
|
+
[](https://www.npmjs.com/package/@ulrichc1/sparn)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
3
7
|
> 🧠 Neuroscience-inspired context optimization for AI coding agents
|
|
4
8
|
|
|
5
9
|
**Status**: ✅ **Production Ready** - All Core Features Complete
|
|
@@ -121,7 +125,7 @@ Before/after token savings with progress bars and celebration messages:
|
|
|
121
125
|
### Global CLI Install
|
|
122
126
|
|
|
123
127
|
```bash
|
|
124
|
-
npm install -g sparn
|
|
128
|
+
npm install -g @ulrichc1/sparn
|
|
125
129
|
|
|
126
130
|
# Verify installation
|
|
127
131
|
sparn --version
|
|
@@ -130,11 +134,11 @@ sparn --version
|
|
|
130
134
|
### Project Dependency
|
|
131
135
|
|
|
132
136
|
```bash
|
|
133
|
-
npm install sparn
|
|
137
|
+
npm install @ulrichc1/sparn
|
|
134
138
|
|
|
135
139
|
# Or with other package managers
|
|
136
|
-
yarn add sparn
|
|
137
|
-
pnpm add sparn
|
|
140
|
+
yarn add @ulrichc1/sparn
|
|
141
|
+
pnpm add @ulrichc1/sparn
|
|
138
142
|
```
|
|
139
143
|
|
|
140
144
|
---
|
package/dist/cli/index.cjs
CHANGED
|
@@ -390,7 +390,7 @@ function getVersion() {
|
|
|
390
390
|
} catch {
|
|
391
391
|
const __filename2 = (0, import_node_url.fileURLToPath)(importMetaUrl);
|
|
392
392
|
const __dirname = (0, import_node_path.dirname)(__filename2);
|
|
393
|
-
const pkg = JSON.parse((0, import_node_fs2.readFileSync)((0, import_node_path.join)(__dirname, "
|
|
393
|
+
const pkg = JSON.parse((0, import_node_fs2.readFileSync)((0, import_node_path.join)(__dirname, "../../package.json"), "utf-8"));
|
|
394
394
|
return pkg.version;
|
|
395
395
|
}
|
|
396
396
|
}
|