@4ort/cli 0.8.1 → 0.8.3
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 +5 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -308,7 +308,8 @@ Markdown in, markdown out. Auth: your 4ort.net key (nothing extra to set up).
|
|
|
308
308
|
|
|
309
309
|
```bash
|
|
310
310
|
# pipe an LLM draft straight into a doc
|
|
311
|
-
|
|
311
|
+
# pipe any LLM CLI's output straight into a doc
|
|
312
|
+
llm "600 words on the James Webb telescope" | 4ort docs create -t "JWST"
|
|
312
313
|
```
|
|
313
314
|
|
|
314
315
|
### `4ort sheets` — spreadsheets on sheets.4ort.net
|
|
@@ -425,7 +426,7 @@ GROQ_API_KEY=4ort://groq 4ort run -- node app.js
|
|
|
425
426
|
### `4ort mcp` — the CLI as an MCP server
|
|
426
427
|
|
|
427
428
|
```
|
|
428
|
-
4ort mcp # stdio — for
|
|
429
|
+
4ort mcp # stdio — for desktop MCP clients that spawn processes
|
|
429
430
|
4ort mcp serve # Streamable HTTP (public instance: mcp.4ort.xyz)
|
|
430
431
|
```
|
|
431
432
|
|
|
@@ -457,9 +458,9 @@ The CLI is designed to chain. Some recipes:
|
|
|
457
458
|
| jq -r '.citations[].source_url' \
|
|
458
459
|
| sort -u
|
|
459
460
|
|
|
460
|
-
# pipe answer into another LLM
|
|
461
|
+
# pipe answer into another LLM (any LLM CLI — llm, ollama run, …)
|
|
461
462
|
4ort kg article-context apple-inc \
|
|
462
|
-
|
|
|
463
|
+
| llm "draft a 600-word piece based on these facts"
|
|
463
464
|
|
|
464
465
|
# match a list of brand names from a CSV
|
|
465
466
|
xargs -I {} 4ort kg match {} --json < brands.csv \
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ const program = new Command();
|
|
|
34
34
|
program
|
|
35
35
|
.name("4ort")
|
|
36
36
|
.description("Unified CLI for the 4ort ecosystem — hosting, knowledge graph, and more")
|
|
37
|
-
.version("0.8.
|
|
37
|
+
.version("0.8.3");
|
|
38
38
|
// ─────────────────────────────────────────────────────────────────────
|
|
39
39
|
// 4ort.net subdomain hosting
|
|
40
40
|
// ─────────────────────────────────────────────────────────────────────
|