@octen.ai/cli 0.1.5 → 0.1.6
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 +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,9 @@ Extract content from one or more URLs (1–20).
|
|
|
58
58
|
octen fetch https://example.com --query "pricing" --max-age 3600 --images
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
Options: `--query` (relevance hint), `--max-age <sec>` (cache age), `--images`, `--videos`, `--audio`, `--favicon`, `--format` (markdown|text), `--fetch-timeout <sec
|
|
61
|
+
Options: `--query` (relevance hint), `--max-age <sec>` (cache age), `--images`, `--videos`, `--audio`, `--favicon`, `--format` (markdown|text), `--fetch-timeout <sec>`, `--full` (print full page content).
|
|
62
|
+
|
|
63
|
+
Pretty output truncates page content to ~500 chars for readability; pass `--full` to print the whole thing (or `--json` for the raw response).
|
|
62
64
|
|
|
63
65
|
---
|
|
64
66
|
|
|
@@ -67,7 +69,7 @@ Options: `--query` (relevance hint), `--max-age <sec>` (cache age), `--images`,
|
|
|
67
69
|
Chat completion with optional streaming.
|
|
68
70
|
|
|
69
71
|
```sh
|
|
70
|
-
octen chat "Summarize the Octen docs" -m
|
|
72
|
+
octen chat "Summarize the Octen docs" -m anthropic/claude-haiku-4.5
|
|
71
73
|
```
|
|
72
74
|
|
|
73
75
|
Streaming is on by default when output is a TTY; use `--no-stream` to get a single JSON response. Pass `-i` for interactive REPL mode. Set `OCTEN_CHAT_MODEL` to avoid specifying `-m` every time.
|