@pretense/cli 0.6.9 → 0.6.10
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 +538 -60
- package/dist/chunk-4IG2OEJZ.js +24 -0
- package/dist/index.js +3106 -1029
- package/dist/postinstall.js +4 -1
- package/package.json +4 -3
package/dist/postinstall.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
PRETENSE_VERSION
|
|
4
|
+
} from "./chunk-4IG2OEJZ.js";
|
|
2
5
|
import {
|
|
3
6
|
init_esm_shims
|
|
4
7
|
} from "./chunk-TWMRHZGM.js";
|
|
@@ -7,7 +10,7 @@ import {
|
|
|
7
10
|
init_esm_shims();
|
|
8
11
|
if (process.env.npm_config_global === "true" || process.env.npm_config_global === "1") {
|
|
9
12
|
console.log(`
|
|
10
|
-
Pretense
|
|
13
|
+
Pretense v${PRETENSE_VERSION} installed.
|
|
11
14
|
Run: pretense init
|
|
12
15
|
Docs: https://pretense.ai/docs
|
|
13
16
|
`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pretense/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10",
|
|
4
4
|
"description": "Local-first AI firewall that mutates proprietary code before sending to LLM APIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"@pretense/mutator": "0.2.0",
|
|
31
31
|
"@pretense/proxy": "0.1.0",
|
|
32
32
|
"@pretense/scanner": "0.2.0",
|
|
33
|
-
"@pretense/store": "0.2.0"
|
|
33
|
+
"@pretense/store": "0.2.0",
|
|
34
|
+
"@pretense/scanner-rs": "0.2.0"
|
|
34
35
|
},
|
|
35
36
|
"publishConfig": {
|
|
36
37
|
"access": "public",
|
|
@@ -74,7 +75,7 @@
|
|
|
74
75
|
"scripts": {
|
|
75
76
|
"build": "tsup",
|
|
76
77
|
"dev": "tsx src/index.ts",
|
|
77
|
-
"postinstall": "node -e \"fs.existsSync('dist/postinstall.js')
|
|
78
|
+
"postinstall": "node -e \"const fs=require('node:fs');if(fs.existsSync('dist/postinstall.js'))import('./dist/postinstall.js').catch(()=>{})\" || true",
|
|
78
79
|
"test": "vitest run",
|
|
79
80
|
"lint": "tsc --noEmit -p tsconfig.lint.json"
|
|
80
81
|
}
|