@plutojl/cli 0.6.0 → 0.7.1
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 +3 -2
- package/dist/cli.cjs +108 -97
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,7 +124,7 @@ Example `.plutomcp.json`:
|
|
|
124
124
|
}
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
Cell outputs
|
|
127
|
+
Cell results keep outputs small: text is cut at 4,000 characters, Pluto tree views at 8,000, and images and other binary outputs are replaced by their size with a `body_note`. `read_cell_output` fetches the whole thing — `as: "text"` for markup and long text, `as: "file"` to write it next to the notebook (`<notebook>.assets/<cell_id>.<ext>`; an `output_path` ending in `.png` renders SVG plots to PNG), or `as: "image"` to get a picture; SVG plots and other non-raster values are rendered to PNG inside the notebook. From the CLI, image results are saved to a file (`--out`) rather than printed.
|
|
128
128
|
|
|
129
129
|
Unknown options, options that do not apply to the command, and invalid values are errors (exit code 2). Set `PLUTO_CLI_DEBUG=1` to see stack traces for unexpected failures. Colors follow `NO_COLOR` / `FORCE_COLOR`.
|
|
130
130
|
|
|
@@ -149,7 +149,8 @@ These tools are callable from the command line via `call`, and exposed to AI ass
|
|
|
149
149
|
| `get_notebook_url` | Get the Pluto web UI URL for a notebook |
|
|
150
150
|
| `list_cells` | List cells with IDs and execution status |
|
|
151
151
|
| `create_cell` | Create and execute a new cell |
|
|
152
|
-
| `read_cell` | Read cell code and output
|
|
152
|
+
| `read_cell` | Read cell code and output (summarized) |
|
|
153
|
+
| `read_cell_output` | Full output as text, a file, or an image |
|
|
153
154
|
| `edit_cell` | Update cell code |
|
|
154
155
|
| `execute_cell` | Run an existing cell |
|
|
155
156
|
| `delete_cell` | Remove a cell |
|