@runtypelabs/cli 2.28.1 → 2.30.0
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 +39 -0
- package/dist/index.js +1383 -185
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -133,6 +133,45 @@ long-running flows can complete; use `--timeout <ms>` to choose a different dead
|
|
|
133
133
|
`RUNTYPE_API_KEY` before using `--input -` or `-F key=@-`; the CLI will not put an interactive login
|
|
134
134
|
prompt on a stream that contains tool arguments.
|
|
135
135
|
|
|
136
|
+
### Connect a Mac to Runtype Devices
|
|
137
|
+
|
|
138
|
+
`runtype devices` is the control plane for local computers connected to Runtype agents. The CLI
|
|
139
|
+
owns authentication, pairing, status, and lifecycle commands; a separate native helper owns
|
|
140
|
+
Keychain identity, macOS permissions, Messages access, and the persistent outbound relay
|
|
141
|
+
connection. The CLI does not need to remain running after setup.
|
|
142
|
+
|
|
143
|
+
The current macOS helper is an internal-alpha source distribution. Build it from a core checkout,
|
|
144
|
+
then let the public CLI copy it to a stable per-user location, pair it without putting the one-time
|
|
145
|
+
secret in process arguments, and start its background service:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
pnpm --filter @runtypelabs/device-daemon-macos build
|
|
149
|
+
runtype devices setup \
|
|
150
|
+
--helper-path apps/device-daemon-macos/.build/debug/runtype-device \
|
|
151
|
+
--name "My Mac"
|
|
152
|
+
|
|
153
|
+
runtype devices status
|
|
154
|
+
runtype devices doctor
|
|
155
|
+
runtype devices list
|
|
156
|
+
runtype devices mcp-url <device-id>
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Sending from the user's iMessage account remains locally disabled until explicitly enabled:
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
runtype devices policy allow-send
|
|
163
|
+
runtype devices policy deny-send
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
Policy changes restart an installed device service so the relay receives the updated tool
|
|
167
|
+
manifest. If the service is stopped, the CLI reports publication as pending until
|
|
168
|
+
`runtype devices install` is run.
|
|
169
|
+
|
|
170
|
+
Use `runtype devices logs --follow` for local daemon diagnostics and
|
|
171
|
+
`runtype devices revoke <device-id> --yes` to invalidate a device in Runtype. External distribution still requires the
|
|
172
|
+
planned signed and notarized `Runtype Device.app`; the source-built `--helper-path` workflow is not
|
|
173
|
+
the production packaging story.
|
|
174
|
+
|
|
136
175
|
### 3. Work With Agents, Flows, and Records
|
|
137
176
|
|
|
138
177
|
```bash
|