@octen.ai/cli 0.5.3 → 0.5.4
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 +3 -3
- package/dist/api/chat.d.ts +0 -1
- package/dist/api/chat.js +0 -1
- package/dist/api/search.d.ts +0 -1
- package/dist/api/search.js +0 -1
- package/dist/commands/broadSearch.js +0 -1
- package/dist/commands/chat.js +0 -2
- package/dist/commands/search.js +0 -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
|
|
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`.
|
|
65
65
|
|
|
66
66
|
---
|
|
67
67
|
|
|
@@ -85,7 +85,7 @@ Use it for comparisons across many sources (pricing, products, vendors), surveys
|
|
|
85
85
|
octen broad-search "compare cloud GPU pricing across providers" --max-queries 5 -n 10
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
Options: `--max-queries` (decompose into up to N sub-queries, 1–30, default 5), plus all `octen search` flags (`-n/--count` per sub-query, `--topic`, `--highlight`, `--full-content`, `--time-range`, `--start-time`/`--end-time`, `--include-domains`/`--exclude-domains`, `--include-text`/`--exclude-text`, `--images`, `--videos`, `--format`, `--safesearch
|
|
88
|
+
Options: `--max-queries` (decompose into up to N sub-queries, 1–30, default 5), plus all `octen search` flags (`-n/--count` per sub-query, `--topic`, `--highlight`, `--full-content`, `--time-range`, `--start-time`/`--end-time`, `--include-domains`/`--exclude-domains`, `--include-text`/`--exclude-text`, `--images`, `--videos`, `--format`, `--safesearch`).
|
|
89
89
|
|
|
90
90
|
---
|
|
91
91
|
|
|
@@ -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-
|
|
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-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
|
|
package/dist/api/chat.d.ts
CHANGED
package/dist/api/chat.js
CHANGED
|
@@ -48,7 +48,6 @@ function buildWebSearchParameters(s) {
|
|
|
48
48
|
put("end_time", normalizeTimeBound("--search-end-time", s.endTime, true));
|
|
49
49
|
put("format", s.format);
|
|
50
50
|
put("safesearch", s.safesearch);
|
|
51
|
-
put("country", s.country);
|
|
52
51
|
put("include_images", s.includeImages);
|
|
53
52
|
if (s.fullContent) {
|
|
54
53
|
parameters["full_content"] = {
|
package/dist/api/search.d.ts
CHANGED
package/dist/api/search.js
CHANGED
|
@@ -56,7 +56,6 @@ export function buildSearchOptions(o) {
|
|
|
56
56
|
put("end_time", normalizeTimeBound("--end-time", o.endTime, true));
|
|
57
57
|
put("format", o.format);
|
|
58
58
|
put("safesearch", o.safesearch);
|
|
59
|
-
put("country", o.country);
|
|
60
59
|
put("include_images", o.images);
|
|
61
60
|
put("include_videos", o.videos);
|
|
62
61
|
if (o.highlight)
|
|
@@ -19,7 +19,6 @@ 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 of the search — follow ISO 3166 country codes (e.g. US, JP) or auto (default)")
|
|
23
22
|
.option("--highlight").option("--highlight-max-tokens <n>", "max tokens per highlight", parseIntOpt("--highlight-max-tokens"))
|
|
24
23
|
.option("--full-content").option("--full-content-max-tokens <n>", "max tokens per result", parseIntOpt("--full-content-max-tokens"))
|
|
25
24
|
.option("--images").option("--videos")
|
package/dist/commands/chat.js
CHANGED
|
@@ -95,7 +95,6 @@ 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 country code (e.g. US, JP) or auto")
|
|
99
98
|
.option("--search-include-images", "search tools: include image results")
|
|
100
99
|
.option("--search-full-content", "search tools: include full page content")
|
|
101
100
|
.option("--search-full-content-max-tokens <n>", "search tools: max tokens for full content", parseIntOpt("--search-full-content-max-tokens"))
|
|
@@ -141,7 +140,6 @@ export function registerChat(program) {
|
|
|
141
140
|
endTime: opts.searchEndTime,
|
|
142
141
|
format: opts.searchFormat,
|
|
143
142
|
safesearch: opts.searchSafesearch,
|
|
144
|
-
country: opts.searchCountry,
|
|
145
143
|
includeImages: opts.searchIncludeImages,
|
|
146
144
|
fullContent: Boolean(opts.searchFullContent),
|
|
147
145
|
fullContentMaxTokens: opts.searchFullContentMaxTokens,
|
package/dist/commands/search.js
CHANGED
|
@@ -16,7 +16,6 @@ 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 of the search — follow ISO 3166 country codes (e.g. US, JP) or auto (default)")
|
|
20
19
|
.option("--highlight").option("--highlight-max-tokens <n>", "max tokens per highlight", parseIntOpt("--highlight-max-tokens"))
|
|
21
20
|
.option("--full-content").option("--full-content-max-tokens <n>", "max tokens per result", parseIntOpt("--full-content-max-tokens"))
|
|
22
21
|
.option("--images").option("--videos");
|