7f4decee26
- Add `kb reindex` command with confirmation prompt and --yes flag - Add implicit note shorthand: `kb "my note"` submits a note directly - Rename `add` to `addfile`, remove --note/--title/--type flags - Add client-side file extension validation before upload - Add `kb examples` command for common usage patterns - Update README, SKILL.md, and main specs - Archive completed changes and sync delta specs BREAKING: `kb add` renamed to `kb addfile`, `kb add --note` replaced by `kb "text"` Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
601 B
Markdown
23 lines
601 B
Markdown
## Why
|
|
|
|
The engine exposes `POST /api/v1/reindex` but there's no client command for it. Users switching embedding models must use curl directly. Adding `kb reindex` with a confirmation prompt keeps it consistent with other destructive commands like `kb remove`.
|
|
|
|
## What Changes
|
|
|
|
- Add `kb reindex` command to the Go client with confirmation prompt (skip with `--yes`/`-y`)
|
|
- Display reindex results (chunks reindexed, model used)
|
|
|
|
## Capabilities
|
|
|
|
### New Capabilities
|
|
|
|
(none)
|
|
|
|
### Modified Capabilities
|
|
|
|
- `go-client`: Add reindex command requirement
|
|
|
|
## Impact
|
|
|
|
- New file: `client/cmd/reindex.go`
|