coderemote 0.3.2 → 0.3.4

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.
Files changed (3) hide show
  1. package/README.md +16 -0
  2. package/dist/coderemote.js +1696 -125
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -97,6 +97,8 @@ coderemote stop # stop the agent for this folder (--all: every
97
97
  coderemote serve # share on 127.0.0.1 only, no tunnel (local testing)
98
98
  coderemote requests [PORT] # requests that reached a previewed port (--grep, --failed, --json)
99
99
  coderemote request <ID> # headers and bodies of one request (--show-secrets, --json)
100
+ coderemote setup claude # let the app follow and answer Claude Code sessions (--remove)
101
+ coderemote setup codex # the same for Codex; then trust its hooks once with /hooks
100
102
  coderemote rotate-token # revoke every paired device, stop running agents
101
103
  coderemote login # sign in again (--microsoft, or --device-code without a browser)
102
104
  coderemote update # install the latest version (`up` says when there's one)
@@ -106,6 +108,20 @@ coderemote help # all options
106
108
  Options: `--root DIR` shares another folder; `--port N` picks the local port (default
107
109
  `31580`). The tunnel URL stays the same between runs, so paired phones reconnect on their own.
108
110
 
111
+ `setup claude` installs the Code Remote plugin into Claude Code (`claude plugin install
112
+ coderemote@coderemote`). From then on, every Claude Code session in a shared folder shows in
113
+ the app's Agents tab: what it is doing, and its permission prompts and questions, which you can
114
+ answer from the phone while the prompt stays open on the computer too (whichever answers first
115
+ wins). Without a running agent the plugin does nothing. Inside Claude Code the same plugin
116
+ installs with `/plugin install coderemote --marketplace CodeRemoteApp/coderemote`.
117
+
118
+ `setup codex` does the same for Codex (0.139 or later): it adds this repository as a Codex
119
+ plugin marketplace and installs `coderemote`. Codex runs a plugin's hooks only once you
120
+ trust them, so open Codex afterwards and approve the Code Remote hooks in `/hooks`. Codex shows
121
+ its approval prompt only after the hook declines, so the agent answers there at once while you
122
+ are at the computer (or have the app open), and holds the request for your phone, up to ten
123
+ minutes, only while you're away.
124
+
109
125
  `requests` and `request` read the traffic log of a port you preview from the app, so a coding
110
126
  agent in a terminal (Claude Code, Codex, …) can debug with it: run them in the shared folder.
111
127
  The log lives in the agent's memory only (the latest 200 requests per port, bodies up to 64 KB).