parallax-opencode 0.2.0 → 0.3.0
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 +260 -217
- package/dist/cli.js +239 -2
- package/dist/plugin.d.ts +15 -13
- package/dist/plugin.js +276 -128
- package/dist/score.d.ts +16 -0
- package/dist/score.js +60 -0
- package/dist/tests/detect.test.d.ts +1 -0
- package/dist/tests/detect.test.js +75 -0
- package/dist/tests/friction.test.d.ts +1 -0
- package/dist/tests/friction.test.js +87 -0
- package/dist/tests/protocol.test.d.ts +1 -0
- package/dist/tests/protocol.test.js +80 -0
- package/dist/tests/score.test.d.ts +1 -0
- package/dist/tests/score.test.js +106 -0
- package/dist/tests/trace.test.d.ts +1 -0
- package/dist/tests/trace.test.js +109 -0
- package/dist/types.d.ts +11 -2
- package/dist-standalone/parallax-engine.d.ts +15 -13
- package/dist-standalone/parallax-engine.js +241 -34594
- package/package.json +64 -65
package/package.json
CHANGED
|
@@ -1,65 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "parallax-opencode",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "PARALLAX ENGINE plugin for OpenCode -- friction-loop verification, mode switching (plan/build/debug),
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/plugin.js",
|
|
7
|
-
"types": "./dist/plugin.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/plugin.js",
|
|
11
|
-
"types": "./dist/plugin.d.ts"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"dist",
|
|
16
|
-
"dist-standalone",
|
|
17
|
-
"agents",
|
|
18
|
-
"skills",
|
|
19
|
-
"scripts",
|
|
20
|
-
"postinstall.mjs",
|
|
21
|
-
"LICENSE"
|
|
22
|
-
],
|
|
23
|
-
"scripts": {
|
|
24
|
-
"postinstall": "node postinstall.mjs",
|
|
25
|
-
"install": "node scripts/install.mjs",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"build": "tsc --project tsconfig.build.json",
|
|
30
|
-
"build:standalone": "npx esbuild src/plugin.ts --bundle --outfile=dist-standalone/parallax-engine.js --platform=node --format=esm --external:@opencode-ai/plugin && node -e \"require('fs').copyFileSync('dist/plugin.d.ts', 'dist-standalone/parallax-engine.d.ts')\"",
|
|
31
|
-
"build:all": "npm run build && npm run build:standalone",
|
|
32
|
-
"typecheck": "tsc --noEmit",
|
|
33
|
-
"test": "vitest run",
|
|
34
|
-
"test:watch": "vitest"
|
|
35
|
-
},
|
|
36
|
-
"bin": {
|
|
37
|
-
"parallax": "dist/cli.js",
|
|
38
|
-
"parallax-opencode": "scripts/install.mjs"
|
|
39
|
-
},
|
|
40
|
-
"keywords": [
|
|
41
|
-
"opencode",
|
|
42
|
-
"plugin",
|
|
43
|
-
"parallax",
|
|
44
|
-
"friction-loop",
|
|
45
|
-
"verification",
|
|
46
|
-
"ai-agent"
|
|
47
|
-
],
|
|
48
|
-
"license": "MIT",
|
|
49
|
-
"repository": {
|
|
50
|
-
"type": "git",
|
|
51
|
-
"url": "git+https://github.com/Master0fFate/parallax-opencode.git"
|
|
52
|
-
},
|
|
53
|
-
"homepage": "https://github.com/Master0fFate/parallax-opencode",
|
|
54
|
-
"dependencies": {
|
|
55
|
-
"@opencode-ai/plugin": "^1.14.20"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "parallax-opencode",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "PARALLAX ENGINE plugin for OpenCode -- protocol enforcement, friction-loop verification, mode switching (plan/build/debug), trace recording, coherence scoring, CI gate, and PR-ready trace artifacts",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/plugin.js",
|
|
7
|
+
"types": "./dist/plugin.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/plugin.js",
|
|
11
|
+
"types": "./dist/plugin.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"dist-standalone",
|
|
17
|
+
"agents",
|
|
18
|
+
"skills",
|
|
19
|
+
"scripts",
|
|
20
|
+
"postinstall.mjs",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"postinstall": "node postinstall.mjs",
|
|
25
|
+
"install": "node scripts/install.mjs",
|
|
26
|
+
"release": "node scripts/publish.mjs",
|
|
27
|
+
"release:dry": "node scripts/publish.mjs --dry-run",
|
|
28
|
+
"release:patch": "node scripts/publish.mjs --patch",
|
|
29
|
+
"build": "tsc --project tsconfig.build.json",
|
|
30
|
+
"build:standalone": "npx esbuild src/plugin.ts --bundle --outfile=dist-standalone/parallax-engine.js --platform=node --format=esm --external:@opencode-ai/plugin && node -e \"require('fs').copyFileSync('dist/plugin.d.ts', 'dist-standalone/parallax-engine.d.ts')\"",
|
|
31
|
+
"build:all": "npm run build && npm run build:standalone",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"test:watch": "vitest"
|
|
35
|
+
},
|
|
36
|
+
"bin": {
|
|
37
|
+
"parallax": "dist/cli.js",
|
|
38
|
+
"parallax-opencode": "scripts/install.mjs"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"opencode",
|
|
42
|
+
"plugin",
|
|
43
|
+
"parallax",
|
|
44
|
+
"friction-loop",
|
|
45
|
+
"verification",
|
|
46
|
+
"ai-agent"
|
|
47
|
+
],
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/Master0fFate/parallax-opencode.git"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/Master0fFate/parallax-opencode",
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@opencode-ai/plugin": "^1.14.20"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/node": "^22.19.19",
|
|
59
|
+
"bun-types": "^1.3.14",
|
|
60
|
+
"esbuild": "^0.27.7",
|
|
61
|
+
"typescript": "^5.7.0",
|
|
62
|
+
"vitest": "^3.2.4"
|
|
63
|
+
}
|
|
64
|
+
}
|