@getopencrawl/cli-darwin-arm64 0.4.5 → 0.4.6
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 +20 -0
- package/bin/opencrawl +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -205,3 +205,23 @@ personal environment above using their HTTPS receiver hostname. DELETE
|
|
|
205
205
|
credential cannot search/read, issue credentials or revoke credentials. The
|
|
206
206
|
receiver always binds the operator's fixed tenant/user, including for delegated
|
|
207
207
|
tokens. Changing that fixed identity invalidates old delegations.
|
|
208
|
+
|
|
209
|
+
## Search workspace knowledge
|
|
210
|
+
|
|
211
|
+
`opencrawl search "words" --json` queries sessions and all authorized indexed
|
|
212
|
+
connectors. Use `--source sessions|connectors`, `--match any|all|phrase`,
|
|
213
|
+
`--session-id ID` with sessions, and `--limit 1..40`. Follow `data.next` with
|
|
214
|
+
`--cursor TOKEN` and otherwise identical arguments. Pages are live and bounded;
|
|
215
|
+
inspect `coverage`, `partial`, `truncated` and `windowExhausted` before claiming
|
|
216
|
+
completeness. Results contain compact verbatim excerpts and source provenance.
|
|
217
|
+
Whitespace-equivalent passages within a session/resource are grouped; use
|
|
218
|
+
`--no-dedupe` to inspect all occurrences. `duplicateCount` counts additional
|
|
219
|
+
candidates in the current search window.
|
|
220
|
+
|
|
221
|
+
Expand a result with `opencrawl fetch <result-id> --json`. Fetch returns up to
|
|
222
|
+
6,000 characters of the original indexed passage. Continue with
|
|
223
|
+
`--offset <nextOffset> --content-version <version>`; use `--length 1..16000` to
|
|
224
|
+
control page size. A changed passage requires restarting from offset 0. Access
|
|
225
|
+
and source visibility are checked again on every read. One indexed passage may
|
|
226
|
+
be only part of a larger document or session.
|
|
227
|
+
For self-hosting, set `OPENCRAWL_TOKEN` and `--api`; otherwise saved OAuth is used.
|
package/bin/opencrawl
CHANGED