Description
@daytona/opencode depends on @daytona/sdk @daytona/api-client @daytona/toolbox-api-client
simultaneously, @daytona/sdk also depends on @daytona/api-client @daytona/toolbox-api-client
because i modified these 4 packages for my local testing, and i have no way of publishing to npm, i bundled the opencode plugin using esbuild
NODE_PATH=./node_modules ./node_modules/.bin/esbuild index.js \
--bundle \
--platform=node \
--format=cjs \
--alias:@daytona/api-client=./node_modules/@daytona/api-client \
--alias:@daytona/toolbox-api-client=./node_modules/@daytona/toolbox-api-client \
--alias:@daytona/sdk=./node_modules/@daytona/sdk \
--outfile=dist/index.js
then installed the plugin using opencode plugin --global ~/daytona-plugin
opencode@c4dd849dfc57:~/daytona-plugin$ tree -a
.
|-- .opencode
| -- plugin | -- index.js
|-- README.md
`-- package.json
3 directories, 3 files
The local plugin works for terminal ui (TUI), which would trigger writing to daytona.log
opencode@c4dd849dfc57:~/.local/share/opencode/log$ cat daytona.log
[2026-04-30T01:38:30.789Z] [INFO] OpenCode started with Daytona plugin
However, the plugin seems not to activate at all using opencode serve. There is no logging to daytona.log using opencode serve
The bundled plugin is attached
daytona-plugin.tar.gz
(In contrast, installing the original version of the plugin from npm by opencode plugin --global @daytona/opencode works for both tui and webui (opencode serve))
Plugins
local modified version of @daytona/opencode
OpenCode version
1.14.30
Steps to reproduce
- Unzip to ~ (resulting ~/daytona-plugin)
- cd ~/daytona-plugin
- opencode plugin --global $(pwd)
- opencode (tui)
- check ~/.local/share/opencode/logs whether daytona.log with entry
OpenCode started with Daytona plugin (should be created by tui)
- retry by opencode serve
- check ~/.local/share/opencode/logs again, NO NEW ENTRIES
Screenshot and/or share link
No response
Operating System
debian trixie
Terminal
windows terminal
Description
@daytona/opencodedepends on@daytona/sdk @daytona/api-client @daytona/toolbox-api-clientsimultaneously,
@daytona/sdkalso depends on@daytona/api-client @daytona/toolbox-api-clientbecause i modified these 4 packages for my local testing, and i have no way of publishing to npm, i bundled the opencode plugin using esbuild
then installed the plugin using
opencode plugin --global ~/daytona-pluginopencode@c4dd849dfc57:~/daytona-plugin$ tree -a
.
|-- .opencode
|
-- plugin |-- index.js|-- README.md
`-- package.json
3 directories, 3 files
The local plugin works for terminal ui (TUI), which would trigger writing to daytona.log
However, the plugin seems not to activate at all using
opencode serve. There is no logging to daytona.log usingopencode serveThe bundled plugin is attached
daytona-plugin.tar.gz
(In contrast, installing the original version of the plugin from npm by
opencode plugin --global @daytona/opencodeworks for both tui and webui (opencode serve))Plugins
local modified version of @daytona/opencode
OpenCode version
1.14.30
Steps to reproduce
OpenCode started with Daytona plugin(should be created by tui)Screenshot and/or share link
No response
Operating System
debian trixie
Terminal
windows terminal