@octen.ai/cli 0.1.13 → 0.3.0

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
@@ -11,16 +11,30 @@ npm i -g @octen.ai/cli
11
11
  ```
12
12
 
13
13
  Or run without installing: `npx @octen.ai/cli <command>`. Requires Node.js 18+.
14
+ Uninstall: `npm uninstall -g @octen.ai/cli`.
14
15
 
15
- **Without Node.js (standalone binary):** download the binary for your platform
16
- from the [latest release](https://github.com/Octen-Team/octen-cli/releases/latest)
17
- (`octen-darwin-arm64`, `octen-darwin-x64`, `octen-linux-x64`, `octen-linux-arm64`),
18
- `chmod +x` it, and put it on your `PATH`. On macOS/Linux you can also use Homebrew:
16
+ ### Without Node.js — Homebrew (macOS/Linux)
17
+
18
+ Install (one command — it taps automatically):
19
19
 
20
20
  ```sh
21
21
  brew install Octen-Team/tap/octen
22
22
  ```
23
23
 
24
+ Uninstall:
25
+
26
+ ```sh
27
+ brew uninstall octen
28
+ brew untap Octen-Team/tap # optional — also removes the tap
29
+ ```
30
+
31
+ ### Without Node.js — raw binary
32
+
33
+ Download the binary for your platform from the
34
+ [latest release](https://github.com/Octen-Team/octen-cli/releases/latest)
35
+ (`octen-darwin-arm64`, `octen-darwin-x64`, `octen-linux-x64`, `octen-linux-arm64`),
36
+ `chmod +x` it, and put it on your `PATH`.
37
+
24
38
  Then enable tab-completion (one-time; `bash` / `zsh` / `fish`):
25
39
 
26
40
  ```sh
@@ -61,12 +75,12 @@ octen news "OpenAI announcement" --highlight --time-range day
61
75
 
62
76
  ---
63
77
 
64
- ### `octen fetch`
78
+ ### `octen extract`
65
79
 
66
80
  Extract content from one or more URLs (1–20).
67
81
 
68
82
  ```sh
69
- octen fetch https://example.com --query "pricing" --max-age 3600 --images
83
+ octen extract https://example.com --query "pricing" --max-age 3600 --images
70
84
  ```
71
85
 
72
86
  Options: `--query` (relevance hint), `--max-age <sec>` (cache age, 300–31536000), `--images`, `--videos`, `--audio`, `--favicon`, `--format` (markdown|text), `--fetch-timeout <sec>` (1–60), `--full` (print full page content).
package/dist/cli.js CHANGED
@@ -6,7 +6,7 @@ import { fileURLToPath } from "node:url";
6
6
  import pc from "picocolors";
7
7
  import { exitCodeFor } from "./api/errors.js";
8
8
  import { registerSearch } from "./commands/search.js";
9
- import { registerFetch } from "./commands/fetch.js";
9
+ import { registerExtract } from "./commands/extract.js";
10
10
  import { registerChat } from "./commands/chat.js";
11
11
  import { registerEmbed } from "./commands/embed.js";
12
12
  import { registerVlEmbed } from "./commands/vlEmbed.js";
@@ -35,7 +35,7 @@ registerConfigureMcp(program);
35
35
  registerConfigureSkills(program);
36
36
  registerSearch(program);
37
37
  registerSearch(program, "news");
38
- registerFetch(program);
38
+ registerExtract(program);
39
39
  registerChat(program);
40
40
  registerEmbed(program);
41
41
  registerVlEmbed(program);
@@ -0,0 +1,2 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerExtract(program: Command): void;
@@ -3,9 +3,9 @@ import { buildExtractRequest } from "../api/extract.js";
3
3
  import { chooseMode, emit } from "../output/render.js";
4
4
  import { renderExtract } from "../output/pretty/extract.js";
5
5
  import { makeClient, parseIntOpt } from "./utils.js";
6
- export function registerFetch(program) {
6
+ export function registerExtract(program) {
7
7
  program
8
- .command("fetch")
8
+ .command("extract")
9
9
  .argument("<urls...>", "one or more URLs (1-20)")
10
10
  .description("Extract content from URLs")
11
11
  .option("--query <q>", "optional search query for relevance")
package/package.json CHANGED
@@ -1,10 +1,16 @@
1
1
  {
2
2
  "name": "@octen.ai/cli",
3
- "version": "0.1.13",
3
+ "version": "0.3.0",
4
4
  "description": "Command-line tool for Octen — web search, extract, chat, embeddings, and one-command MCP/Skills setup.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Octen <hello@octen.ai>",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/Octen-Team/octen-cli.git"
11
+ },
12
+ "homepage": "https://github.com/Octen-Team/octen-cli#readme",
13
+ "bugs": "https://github.com/Octen-Team/octen-cli/issues",
8
14
  "publishConfig": {
9
15
  "access": "public"
10
16
  },
@@ -1,2 +0,0 @@
1
- import type { Command } from "commander";
2
- export declare function registerFetch(program: Command): void;