ci: smoke crawlkit control surface
This commit is contained in:
parent
c4be70e521
commit
ab39e1bde2
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -91,14 +91,19 @@ jobs:
|
||||
}'
|
||||
|
||||
- name: Build
|
||||
run: go build ./cmd/discrawl
|
||||
run: go build -o bin/discrawl ./cmd/discrawl
|
||||
|
||||
- name: Smoke test CLI help
|
||||
- name: Smoke test CLI control surface
|
||||
run: |
|
||||
set -euo pipefail
|
||||
output="$(go run ./cmd/discrawl help)"
|
||||
output="$(./bin/discrawl help)"
|
||||
printf '%s\n' "$output"
|
||||
printf '%s' "$output" | grep -q "metadata"
|
||||
printf '%s' "$output" | grep -q "tui"
|
||||
test -n "$(./bin/discrawl --version)"
|
||||
./bin/discrawl metadata --json | grep -q '"schema_version"'
|
||||
./bin/discrawl status --json | grep -q '"databases"'
|
||||
./bin/discrawl tui --json | grep -q '^\['
|
||||
|
||||
deps:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -30,10 +30,13 @@
|
||||
|
||||
### Changes
|
||||
|
||||
- Add crawlkit control metadata/status surfaces with `metadata --json`, `status --json`, and `doctor --json`.
|
||||
- Add `tap` and `cache-import` as public desktop-cache import names while keeping `wiretap` as a documented legacy alias.
|
||||
- Add `discrawl tui`, a terminal archive browser for stored guild messages and local `@me` wiretap DMs using the shared `crawlkit/tui` package.
|
||||
|
||||
### Fixes
|
||||
|
||||
- Keep status and TUI reads safe for fresh or missing local databases without triggering git-share auto-update.
|
||||
- Added OS keyring fallback for Discord bot-token resolution, keeping env as the first source and documenting the default keyring item. (#17)
|
||||
- Clarified and locked down FTS query normalization so operator-like search terms such as `AND`, `OR`, `NOT`, `NEAR`, and `*` stay parameterized and quoted before SQLite `MATCH`. Thanks @mvanhorn.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user