@glasser-ai/cli 0.1.57 → 0.1.61
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/glasser.js +276 -244
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Re-run either command to upgrade. Then: `glasser login`.
|
|
|
16
16
|
## Commands
|
|
17
17
|
|
|
18
18
|
```
|
|
19
|
-
glasser search ["<query>"] [--limit N] [--cursor C] # no query lists the catalog
|
|
19
|
+
glasser search ["<query>"] --use-case "<ask>" [--limit N] [--cursor C] # no query lists the catalog; --use-case is always required
|
|
20
20
|
# -q/--query takes the same value; --query=<q> for a leading dash
|
|
21
21
|
glasser inspect -p <provider> -e <endpoint> [--endpoint-version N]
|
|
22
22
|
glasser run -p <provider> -e <endpoint> [-i '<json>'|@file | -f <path>]
|
|
@@ -100,7 +100,7 @@ requires `--force` so a prompt can never corrupt machine output.
|
|
|
100
100
|
## Development
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
|
-
pnpm --filter @glasser-ai/cli dev -- search -q "web search" # tsx, no build
|
|
103
|
+
pnpm --filter @glasser-ai/cli dev -- search -q "web search" --use-case "find a web search API" # tsx, no build
|
|
104
104
|
pnpm --filter @glasser-ai/cli build # esbuild → dist/glasser.js
|
|
105
105
|
node apps/cli/dist/glasser.js --help
|
|
106
106
|
cd apps/cli && pnpm link --global # a PATH `glasser` shim
|