shraga 0.1.118 → 0.1.120

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
@@ -249,6 +249,18 @@ export default defineConfig({
249
249
  Values in `env` resolve from `process.env` (your `.env` or system env) at startup. The legacy
250
250
  filename `unclaw.config.ts` is also accepted.
251
251
 
252
+ Other keys: `publicOrigin` (absolute links in notifications), and `offload` for a low-resource box that
253
+ sends heavy work to an external pod:
254
+
255
+ ```ts
256
+ offload: { gateway: 'http://pod.internal:4700', maxLocalFileMB: 25 /* default */ },
257
+ ```
258
+
259
+ When set, the prompt tells the agent to use the gateway, `share_file` routes media and files over
260
+ `maxLocalFileMB` through it, heavy local Bash (ffmpeg encodes, remotion renders, starting mcp-video/mcp-audio)
261
+ is refused, and agent subprocesses get `SHRAGA_OFFLOAD=1` / `SHRAGA_OFFLOAD_GATEWAY`. The gateway's HTTP
262
+ contract is documented in `src/server/offload.ts`. Unset = none of this.
263
+
252
264
  ## Expose it (optional)
253
265
 
254
266
  Running on a home machine? Set `CLOUDFLARE_TUNNEL_TOKEN` for a public URL via Cloudflare Tunnel, or