agent-job-relay-opencode-v1 0.1.8 → 0.1.9
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 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Experimental durable background jobs with completion routed to the initiating OpenCode session through the public session API. Supports Linux x86_64/glibc and Windows x86_64, targets OpenCode **1.19.4** and uses the shared `agent-job-relay-runtime` package. No Rust compiler, binary path or install script is needed for the published package. OpenCode V2, macOS and ARM are not supported.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Add the latest published package to your project's `opencode.json`:
|
|
6
6
|
|
|
7
7
|
```json
|
|
8
8
|
{
|
|
9
|
-
"plugin": ["agent-job-relay-opencode-v1@
|
|
9
|
+
"plugin": ["agent-job-relay-opencode-v1@latest"]
|
|
10
10
|
}
|
|
11
11
|
```
|
|
12
12
|
|
|
@@ -14,6 +14,6 @@ Restart OpenCode. Ask it to run your project's tests in the background and tell
|
|
|
14
14
|
|
|
15
15
|
State defaults to `$XDG_STATE_HOME/agent-job-relay/opencode`, else `$HOME/.local/state/agent-job-relay/opencode`; an absolute `AJR_STATE_DIR` or plugin `stateDir` option overrides it. State must stay outside npm/host caches. Long Unix socket paths fail explicitly: select a shorter persistent state path once, rather than changing an existing profile to conceal an error. Development can supply absolute `executable` and `stateDir` options in the plugin tuple.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Refresh the host's package cache using its supported mechanism to resolve latest, then restart after finishing jobs. An already running daemon retains its loaded native image; incompatible daemons require an explicit same-profile stop/update. After host replacement, ask the Agent to preview `relay_recover`, then apply if you requested restoration; it never reruns commands. Remove the plugin config entry to disable it. History remains outside caches; no automatic daemon stop or data purge runs.
|
|
18
18
|
|
|
19
19
|
The real OpenCode 1.19.4 loader/MCP/session API/agent loop is checked with a **simulated model**, not a real provider account. Real-provider and broader-version community tests and PRs are welcome. For checks and limitations, see [host plugins](https://github.com/MorningFrog/agent-job-relay/blob/main/docs/host-plugins.md) and [contributing](https://github.com/MorningFrog/agent-job-relay/blob/main/CONTRIBUTING.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-job-relay-opencode-v1",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"exports": "./index.mjs",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@opencode-ai/plugin": "1.19.4",
|
|
40
|
-
"agent-job-relay-runtime": "0.1.
|
|
40
|
+
"agent-job-relay-runtime": "0.1.9"
|
|
41
41
|
}
|
|
42
42
|
}
|