@mindstudio-ai/remy 0.1.343 → 0.1.345

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
@@ -360,10 +360,10 @@ All command responses include the `requestId` from the originating command.
360
360
  | `user_message` | `text`, `attachments?`, `queued?`, `hidden?` | Echo of a user message entering the turn. Queue-delivered messages (including ASAP items injected mid-turn) carry `queued: true` and their own original `requestId` (a merged turn emits one per absorbed message); idle sends echo with the turn's requestId and no `queued` flag. `hidden: true` marks internal entries (e.g. passive background results) that should not render. |
361
361
  | `tool_start` | `id`, `name`, `input`, `partial?`, `parentToolId?` | Tool execution started. `partial: true` means more `tool_start` events will follow for this id (progressive input streaming). |
362
362
  | `tool_input_delta` | `id`, `name`, `result`, `parentToolId?` | Progressive tool content (streaming tools only) |
363
- | `tool_done` | `id`, `name`, `result`, `isError`, `parentToolId?` | Tool execution completed. For a background tool this carries the synchronous ack; for a synthesized user/gate compaction block it arrives late, when the compaction finishes, carrying the summary (or error). |
363
+ | `tool_done` | `id`, `name`, `result`, `isError`, `parentToolId?`, `recording?` | Tool execution completed. For a background tool this carries the synchronous ack; for a synthesized user/gate compaction block it arrives late, when the compaction finishes, carrying the summary (or error). `recording` is a browser-test replay chunk, lifted off the result string so the history cap cannot lose it. |
364
364
  | `tool_background_complete` | `id`, `name`, `result`, `parentToolId?` | A background tool's detached work finished; `result` belongs in the block's `backgroundResult`. Emitted for all `backgroundNotify` classes. |
365
365
  | `status` | `message` | Contextual status label (e.g., "Writing files...") |
366
- | `error` | `error` | Error message (may precede `completed`) |
366
+ | `error` | `error`, `code?`, `badModelId?` | Error message (may precede `completed`). `code` is the server's structured classifier when it sent one; `badModelId` accompanies `code: 'invalid_model_override'` and names the rejected model. |
367
367
  | `history` | `messages` | Response to `get_history` |
368
368
  | `session_cleared` | | Response to `clear` |
369
369
  | `models_changed` | `models?`, `modelSurfaces`, `allowedModelsByType` | Response to `changeModels` |
@@ -435,9 +435,16 @@ npm run typecheck # Type check only
435
435
 
436
436
  ## Config
437
437
 
438
- Remy reads credentials from `~/.mindstudio-local-tunnel/config.json`, using the active environment's `apiKey` and `apiBaseUrl`.
439
-
440
- Resolution order for API key:
438
+ Resolution order for the API key:
441
439
  1. `--api-key` flag
442
440
  2. `MINDSTUDIO_API_KEY` environment variable
443
- 3. `~/.mindstudio-local-tunnel/config.json` (active environment)
441
+
442
+ And for the base URL: `--base-url`, then `MINDSTUDIO_BASE_URL`, then
443
+ `https://api.mindstudio.ai`. `MINDSTUDIO_APP_ID` is env-only and optional — when unset the platform
444
+ attributes cost to a shared per-org service-account app.
445
+
446
+ Inside a dev box, the C&C server sets both variables when it spawns remy; there is nothing to
447
+ configure. Running remy by hand means exporting them yourself.
448
+
449
+ Remy used to fall back to `~/.mindstudio-local-tunnel/config.json`, written by the dev tunnel's
450
+ login flow when the tunnel was a standalone CLI. Nothing writes that file any more.