pi-studio-opencode 0.1.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/ARCHITECTURE.md +122 -0
- package/LICENSE +21 -0
- package/README.md +108 -0
- package/dist/demo-host-pi.d.ts +1 -0
- package/dist/demo-host-pi.js +71 -0
- package/dist/demo-host-pi.js.map +1 -0
- package/dist/demo-host.d.ts +1 -0
- package/dist/demo-host.js +154 -0
- package/dist/demo-host.js.map +1 -0
- package/dist/host-opencode-plugin.d.ts +52 -0
- package/dist/host-opencode-plugin.js +396 -0
- package/dist/host-opencode-plugin.js.map +1 -0
- package/dist/host-opencode.d.ts +154 -0
- package/dist/host-opencode.js +627 -0
- package/dist/host-opencode.js.map +1 -0
- package/dist/host-pi.d.ts +45 -0
- package/dist/host-pi.js +258 -0
- package/dist/host-pi.js.map +1 -0
- package/dist/install-config.d.ts +36 -0
- package/dist/install-config.js +136 -0
- package/dist/install-config.js.map +1 -0
- package/dist/install.d.ts +16 -0
- package/dist/install.js +168 -0
- package/dist/install.js.map +1 -0
- package/dist/launcher.d.ts +2 -0
- package/dist/launcher.js +124 -0
- package/dist/launcher.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +732 -0
- package/dist/main.js.map +1 -0
- package/dist/mock-pi-session.d.ts +27 -0
- package/dist/mock-pi-session.js +138 -0
- package/dist/mock-pi-session.js.map +1 -0
- package/dist/open-browser.d.ts +1 -0
- package/dist/open-browser.js +29 -0
- package/dist/open-browser.js.map +1 -0
- package/dist/opencode-plugin.d.ts +3 -0
- package/dist/opencode-plugin.js +326 -0
- package/dist/opencode-plugin.js.map +1 -0
- package/dist/prototype-pdf.d.ts +12 -0
- package/dist/prototype-pdf.js +991 -0
- package/dist/prototype-pdf.js.map +1 -0
- package/dist/prototype-server.d.ts +88 -0
- package/dist/prototype-server.js +1002 -0
- package/dist/prototype-server.js.map +1 -0
- package/dist/prototype-theme.d.ts +36 -0
- package/dist/prototype-theme.js +1471 -0
- package/dist/prototype-theme.js.map +1 -0
- package/dist/studio-core.d.ts +63 -0
- package/dist/studio-core.js +251 -0
- package/dist/studio-core.js.map +1 -0
- package/dist/studio-host-types.d.ts +50 -0
- package/dist/studio-host-types.js +14 -0
- package/dist/studio-host-types.js.map +1 -0
- package/examples/opencode/INSTALL.md +67 -0
- package/examples/opencode/opencode.local-path.jsonc +16 -0
- package/package.json +68 -0
- package/static/prototype.css +1277 -0
- package/static/prototype.html +173 -0
- package/static/prototype.js +3198 -0
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pi-studio-opencode",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "OpenCode plug-in adaptation of pi-studio with a browser-based two-pane Studio workspace",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/omaclaren/pi-studio-opencode.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/omaclaren/pi-studio-opencode#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/omaclaren/pi-studio-opencode/issues"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist/opencode-plugin.js",
|
|
16
|
+
"types": "./dist/opencode-plugin.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"import": "./dist/opencode-plugin.js",
|
|
20
|
+
"types": "./dist/opencode-plugin.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./launcher": {
|
|
23
|
+
"import": "./dist/launcher.js",
|
|
24
|
+
"types": "./dist/launcher.d.ts"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"bin": {
|
|
28
|
+
"pi-studio-opencode": "./dist/launcher.js"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"static",
|
|
33
|
+
"examples",
|
|
34
|
+
"README.md",
|
|
35
|
+
"ARCHITECTURE.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsc -p tsconfig.build.json",
|
|
40
|
+
"start": "tsx src/main.ts",
|
|
41
|
+
"check": "tsc --noEmit",
|
|
42
|
+
"test": "tsx --test test/**/*.test.ts",
|
|
43
|
+
"smoke": "tsx src/main.ts --multi-steer-test --new-run-after-idle-test --abort-test",
|
|
44
|
+
"host-demo": "tsx src/demo-host.ts",
|
|
45
|
+
"pi-host-demo": "tsx src/demo-host-pi.ts",
|
|
46
|
+
"prototype": "tsx src/prototype-server.ts",
|
|
47
|
+
"launch": "tsx src/launcher.ts",
|
|
48
|
+
"prepublishOnly": "npm run check && npm test && npm run build"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@opencode-ai/plugin": "^1.2.27",
|
|
52
|
+
"@opencode-ai/sdk": "^1.2.27"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/node": "^22.15.30",
|
|
56
|
+
"tsx": "^4.20.5",
|
|
57
|
+
"typescript": "^5.9.2"
|
|
58
|
+
},
|
|
59
|
+
"keywords": [
|
|
60
|
+
"opencode",
|
|
61
|
+
"opencode-plugin",
|
|
62
|
+
"studio",
|
|
63
|
+
"pi-studio",
|
|
64
|
+
"browser-workspace",
|
|
65
|
+
"markdown",
|
|
66
|
+
"latex"
|
|
67
|
+
]
|
|
68
|
+
}
|