@octen.ai/cli 0.5.2 → 0.5.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 +2 -2
- package/dist/commands/broadSearch.js +1 -1
- package/dist/commands/chat.js +1 -1
- package/dist/commands/search.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ Search the live web.
|
|
|
61
61
|
octen search "latest LLM benchmarks" -n 10 --topic news --highlight --time-range week
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
Options: `-n` (result count 1–100), `--topic` (general|news), `--highlight` (+`--highlight-max-tokens`, min 100), `--time-range` (day|week|month|year or d|w|m|y), `--start-time`/`--end-time` (YYYY-MM-DD or ISO datetime), `--include-domains`, `--exclude-domains`, `--full-content`, `--images`, `--videos`, `--format` (text|markdown), `--safesearch`, `--country` (
|
|
64
|
+
Options: `-n` (result count 1–100), `--topic` (general|news), `--highlight` (+`--highlight-max-tokens`, min 100), `--time-range` (day|week|month|year or d|w|m|y), `--start-time`/`--end-time` (YYYY-MM-DD or ISO datetime), `--include-domains`, `--exclude-domains`, `--full-content`, `--images`, `--videos`, `--format` (text|markdown), `--safesearch`, `--country` (follow [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), the International Standard for country codes and codes for their subdivisions — like US or JP, or auto, the default).
|
|
65
65
|
|
|
66
66
|
---
|
|
67
67
|
|
|
@@ -128,7 +128,7 @@ Sampling: `--temperature`, `--top-p`, `--top-k`, `--min-p`, `--top-a`, `--repeti
|
|
|
128
128
|
|
|
129
129
|
Reasoning: `--reasoning-effort` (xhigh|high|medium|low|minimal|none), `--reasoning-max-tokens`. When a model emits reasoning it is shown under a dim `reasoning:` prefix in pretty mode.
|
|
130
130
|
|
|
131
|
-
Web search (only meaningful with `--search` and/or `--broad-search`): `--search-max-searches <n>` (octen_search only; default 5), `--search-max-queries <n>` (octen_broad_search only; 1-30, default 5), `--search-topic` (general|news), `--search-count <n>` (1-100), `--search-include-domains <list>`, `--search-exclude-domains <list>`, `--search-include-text <list>`/`--search-exclude-text <list>` (max 5 each), `--search-time-basis` (auto|published|crawled), `--search-time-range` (day|week|month|year or d|w|m|y), `--search-start-time <when>`, `--search-end-time <when>`, `--search-format` (markdown|text), `--search-safesearch` (off|strict), `--search-country` (ISO 3166
|
|
131
|
+
Web search (only meaningful with `--search` and/or `--broad-search`): `--search-max-searches <n>` (octen_search only; default 5), `--search-max-queries <n>` (octen_broad_search only; 1-30, default 5), `--search-topic` (general|news), `--search-count <n>` (1-100), `--search-include-domains <list>`, `--search-exclude-domains <list>`, `--search-include-text <list>`/`--search-exclude-text <list>` (max 5 each), `--search-time-basis` (auto|published|crawled), `--search-time-range` (day|week|month|year or d|w|m|y), `--search-start-time <when>`, `--search-end-time <when>`, `--search-format` (markdown|text), `--search-safesearch` (off|strict), `--search-country` (ISO 3166 country code like US or JP, or auto), `--search-include-images`, `--search-full-content` (+`--search-full-content-max-tokens <n>`), `--search-highlight-max-tokens <n>`. The shared options apply to whichever tool(s) are enabled.
|
|
132
132
|
|
|
133
133
|
---
|
|
134
134
|
|
|
@@ -19,7 +19,7 @@ export function registerBroadSearch(program) {
|
|
|
19
19
|
.option("--start-time <when>", "YYYY-MM-DD or ISO datetime (e.g. 2024-01-01T00:00:00Z)")
|
|
20
20
|
.option("--end-time <when>", "YYYY-MM-DD or ISO datetime (e.g. 2024-12-31T23:59:59Z)")
|
|
21
21
|
.option("--format <f>", "text|markdown").option("--safesearch <s>", "off|strict")
|
|
22
|
-
.option("--country <code>", "country
|
|
22
|
+
.option("--country <code>", "country of the search — follow ISO 3166 country codes (e.g. US, JP) or auto (default)")
|
|
23
23
|
.option("--highlight").option("--highlight-max-tokens <n>", "max tokens per highlight", parseIntOpt("--highlight-max-tokens"))
|
|
24
24
|
.option("--full-content").option("--full-content-max-tokens <n>", "max tokens per result", parseIntOpt("--full-content-max-tokens"))
|
|
25
25
|
.option("--images").option("--videos")
|
package/dist/commands/chat.js
CHANGED
|
@@ -95,7 +95,7 @@ export function registerChat(program) {
|
|
|
95
95
|
.option("--search-end-time <when>", "search tools: end time filter")
|
|
96
96
|
.option("--search-format <f>", "search tools: markdown|text")
|
|
97
97
|
.option("--search-safesearch <s>", "search tools: off|strict")
|
|
98
|
-
.option("--search-country <code>", "search tools: ISO 3166
|
|
98
|
+
.option("--search-country <code>", "search tools: ISO 3166 country code (e.g. US, JP) or auto")
|
|
99
99
|
.option("--search-include-images", "search tools: include image results")
|
|
100
100
|
.option("--search-full-content", "search tools: include full page content")
|
|
101
101
|
.option("--search-full-content-max-tokens <n>", "search tools: max tokens for full content", parseIntOpt("--search-full-content-max-tokens"))
|
package/dist/commands/search.js
CHANGED
|
@@ -16,7 +16,7 @@ export function registerSearch(program, fixedTopic) {
|
|
|
16
16
|
.option("--start-time <when>", "YYYY-MM-DD or ISO datetime (e.g. 2024-01-01T00:00:00Z)")
|
|
17
17
|
.option("--end-time <when>", "YYYY-MM-DD or ISO datetime (e.g. 2024-12-31T23:59:59Z)")
|
|
18
18
|
.option("--format <f>", "text|markdown").option("--safesearch <s>", "off|strict")
|
|
19
|
-
.option("--country <code>", "country
|
|
19
|
+
.option("--country <code>", "country of the search — follow ISO 3166 country codes (e.g. US, JP) or auto (default)")
|
|
20
20
|
.option("--highlight").option("--highlight-max-tokens <n>", "max tokens per highlight", parseIntOpt("--highlight-max-tokens"))
|
|
21
21
|
.option("--full-content").option("--full-content-max-tokens <n>", "max tokens per result", parseIntOpt("--full-content-max-tokens"))
|
|
22
22
|
.option("--images").option("--videos");
|