openclaw-opencode-bridge 2.1.6 → 2.1.7

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 CHANGED
@@ -83,8 +83,8 @@ Contoh:
83
83
 
84
84
  ## Perilaku Timeout
85
85
 
86
- - `/cc` memakai timeout adaptif dengan base `60s` dan maksimum `300s`.
87
- - `/ccn` memakai timeout adaptif dengan base `90s` dan maksimum `420s`.
86
+ - `/cc` memakai timeout adaptif dengan base `300s` dan maksimum `600s`.
87
+ - `/ccn` memakai timeout adaptif dengan base `300s` dan maksimum `600s`.
88
88
  - Timeout adalah batas maksimal proses. Kalau OpenCode selesai lebih cepat, reply langsung dikirim saat itu juga.
89
89
 
90
90
  ## Catatan Sesi
@@ -121,6 +121,11 @@ Ini akan menghapus plugin, script bridge, AGENTS.md hasil instalasi bridge, dan
121
121
  | Perintah lambat/timeout | Cek prompt terlalu berat, lihat log bridge, pastikan OpenCode CLI normal |
122
122
  | Output aneh/berantakan | Ulangi onboarding agar script/plugin terbaru terpasang |
123
123
 
124
+ ## Attribution
125
+
126
+ Proyek ini diadaptasi dari karya original:
127
+ `https://github.com/bettep-dev/openclaw-claude-bridge`
128
+
124
129
  ## License
125
130
 
126
131
  [MIT](LICENSE)
package/README_EN.md CHANGED
@@ -77,8 +77,8 @@ Examples:
77
77
 
78
78
  ## Timeout Behavior
79
79
 
80
- - `/cc` uses adaptive timeout with base `60s` and max `300s`.
81
- - `/ccn` uses adaptive timeout with base `90s` and max `420s`.
80
+ - `/cc` uses adaptive timeout with base `300s` and max `600s`.
81
+ - `/ccn` uses adaptive timeout with base `300s` and max `600s`.
82
82
  - Timeout is a hard upper bound. If OpenCode finishes early, output is sent immediately.
83
83
 
84
84
  ## Session Notes
@@ -121,6 +121,11 @@ If this project helps you, you can support it via:
121
121
 
122
122
  `0xe81c32383C8F21A14E6C2264939dA512e9F9bb42`
123
123
 
124
+ ## Attribution
125
+
126
+ This project is adapted from the original work:
127
+ `https://github.com/bettep-dev/openclaw-claude-bridge`
128
+
124
129
  ## License
125
130
 
126
131
  [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-opencode-bridge",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "Bridge OpenClaw messaging channels to OpenCode via persistent OpenCode sessions",
5
5
  "main": "./lib/onboard.js",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  #!/bin/bash
2
- # bridge-version: 16
2
+ # bridge-version: 17
3
3
  # Start fresh session asynchronously and send instruction
4
4
  MSG="$1"
5
5
  OPENCODE="{{OPENCODE_BIN}}"
@@ -7,8 +7,8 @@ CHANNEL="{{CHANNEL}}"
7
7
  TARGET="{{TARGET_ID}}"
8
8
  WORKSPACE="{{WORKSPACE}}"
9
9
  LOG_FILE="/tmp/opencode-bridge-send.log"
10
- BASE_TIMEOUT_SEC=90
11
- MAX_TIMEOUT_SEC=420
10
+ BASE_TIMEOUT_SEC=300
11
+ MAX_TIMEOUT_SEC=600
12
12
  LOCK_WAIT_SEC=3
13
13
 
14
14
  if [ -z "$MSG" ]; then
@@ -1,5 +1,5 @@
1
1
  #!/bin/bash
2
- # bridge-version: 18
2
+ # bridge-version: 19
3
3
  # Dispatch instruction to OpenCode asynchronously and relay response
4
4
  MSG="$1"
5
5
  OPENCODE="{{OPENCODE_BIN}}"
@@ -7,8 +7,8 @@ CHANNEL="{{CHANNEL}}"
7
7
  TARGET="{{TARGET_ID}}"
8
8
  WORKSPACE="{{WORKSPACE}}"
9
9
  LOG_FILE="/tmp/opencode-bridge-send.log"
10
- BASE_TIMEOUT_SEC=60
11
- MAX_TIMEOUT_SEC=300
10
+ BASE_TIMEOUT_SEC=300
11
+ MAX_TIMEOUT_SEC=600
12
12
  LOCK_WAIT_SEC=3
13
13
 
14
14
  if [ -z "$MSG" ]; then