@caplets/opencode 0.6.2 → 0.7.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 +3 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,12 +32,12 @@ CAPLETS_MODE=remote CAPLETS_REMOTE_URL=https://caplets.example.com/caplets openc
|
|
|
32
32
|
CAPLETS_MODE=cloud CAPLETS_REMOTE_URL=https://cloud.caplets.dev opencode
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Run `caplets
|
|
35
|
+
Run `caplets remote login <url>` before remote or Cloud mode. Native integrations use the saved Remote Profile, so remote credentials do not belong in the environment:
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
+
caplets remote login https://caplets.example.com/caplets
|
|
38
39
|
CAPLETS_MODE=remote \
|
|
39
40
|
CAPLETS_REMOTE_URL=https://caplets.example.com/caplets \
|
|
40
|
-
CAPLETS_REMOTE_TOKEN=... \
|
|
41
41
|
opencode
|
|
42
42
|
```
|
|
43
43
|
|
|
@@ -52,7 +52,6 @@ export default {
|
|
|
52
52
|
mode: "remote",
|
|
53
53
|
remote: {
|
|
54
54
|
url: "https://caplets.example.com/caplets",
|
|
55
|
-
user: "caplets",
|
|
56
55
|
pollIntervalMs: 5_000,
|
|
57
56
|
},
|
|
58
57
|
},
|
|
@@ -61,4 +60,4 @@ export default {
|
|
|
61
60
|
};
|
|
62
61
|
```
|
|
63
62
|
|
|
64
|
-
Plugin config overrides environment variables. The explicit config shape is `{ mode, remote: { url,
|
|
63
|
+
Plugin config overrides environment variables. The explicit config shape is `{ mode, remote: { url, pollIntervalMs } }`; credentials come from `caplets remote login <url>`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caplets/opencode",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Native OpenCode plugin for Caplets.",
|
|
5
5
|
"homepage": "https://github.com/spiritledsoftware/caplets#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@caplets/core": "0.
|
|
29
|
+
"@caplets/core": "0.25.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@jitl/quickjs-wasmfile-release-sync": "^0.32.0",
|