@4ort/cli 0.8.2 → 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 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -308,9 +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
|
-
# pipe any LLM CLI's output straight into a doc
|
|
312
|
-
|
|
313
|
-
llm "600 words on the James Webb telescope" | 4ort docs create -t "JWST"
|
|
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"
|
|
314
313
|
```
|
|
315
314
|
|
|
316
315
|
### `4ort sheets` — spreadsheets on sheets.4ort.net
|
|
@@ -427,7 +426,7 @@ GROQ_API_KEY=4ort://groq 4ort run -- node app.js
|
|
|
427
426
|
### `4ort mcp` — the CLI as an MCP server
|
|
428
427
|
|
|
429
428
|
```
|
|
430
|
-
4ort mcp # stdio — for
|
|
429
|
+
4ort mcp # stdio — for desktop MCP clients that spawn processes
|
|
431
430
|
4ort mcp serve # Streamable HTTP (public instance: mcp.4ort.xyz)
|
|
432
431
|
```
|
|
433
432
|
|
|
@@ -459,10 +458,9 @@ The CLI is designed to chain. Some recipes:
|
|
|
459
458
|
| jq -r '.citations[].source_url' \
|
|
460
459
|
| sort -u
|
|
461
460
|
|
|
462
|
-
# pipe answer into another LLM
|
|
461
|
+
# pipe answer into another LLM (any LLM CLI — llm, ollama run, …)
|
|
463
462
|
4ort kg article-context apple-inc \
|
|
464
|
-
|
|
|
465
|
-
# (works the same with any LLM CLI — llm, gemini, ollama run, …)
|
|
463
|
+
| llm "draft a 600-word piece based on these facts"
|
|
466
464
|
|
|
467
465
|
# match a list of brand names from a CSV
|
|
468
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
|
// ─────────────────────────────────────────────────────────────────────
|