@kivacore/cli 0.13.1 → 0.13.3
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 +14 -7
- package/main.js +558 -408
- package/main.js.map +4 -4
- package/package.json +1 -1
- package/resources/pi-agent/prompts/agent-system.md +15 -1
- package/resources/pi-agent/prompts/coder-system.md +2 -1
package/README.md
CHANGED
|
@@ -38,16 +38,20 @@ one-line notice on stderr. Set `KIVA_SKIP_UPDATE_CHECK=1` to skip the check.
|
|
|
38
38
|
|
|
39
39
|
## Start with a prompt
|
|
40
40
|
|
|
41
|
-
Type what you want straight after `kiva` and
|
|
42
|
-
|
|
41
|
+
Type what you want straight after `kiva` and an agent opens with it as the
|
|
42
|
+
first message, already sent:
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
kiva "summarize what changed in this repo this week"
|
|
45
|
+
kiva "summarize what changed in this repo this week" # Work Agent
|
|
46
|
+
kiva "create a purchasing management app for my company" # Coding Agent
|
|
46
47
|
```
|
|
47
48
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
Kiva picks the agent from the prompt: the Coding Agent when it asks to build or
|
|
50
|
+
change software, the Work Agent for everything else, and whenever you are
|
|
51
|
+
logged out or the choice cannot be made within a few seconds. To choose
|
|
52
|
+
yourself, name the agent: `kiva work "<prompt>"` or `kiva code "<prompt>"`.
|
|
53
|
+
The same options apply (`kiva --thinking high "..."`). The prompt must be
|
|
54
|
+
quoted: a single word is still read as a command.
|
|
51
55
|
|
|
52
56
|
## AI provider for `kiva work` and `kiva code`
|
|
53
57
|
|
|
@@ -335,7 +339,8 @@ kiva dsql query "<sql>" --json
|
|
|
335
339
|
kiva dsql generate "open tasks assigned to me" --json
|
|
336
340
|
kiva dsql ask "how many tasks are open?" --json
|
|
337
341
|
kiva dsql schema app base --json
|
|
338
|
-
kiva dsql schema data-source base task --json
|
|
342
|
+
kiva dsql schema data-source base task --json # lists each enum field's option ids and labels; --no-expand-enums omits them
|
|
343
|
+
kiva dsql schema app base --expand-enums --json
|
|
339
344
|
kiva dsql list-custom-query --appSlug base --json
|
|
340
345
|
kiva dsql create-custom-query --appSlug base --name "Open Tasks" --dsqlQuery "<sql>" --fields '<json>' --json
|
|
341
346
|
kiva dsql run-custom-query --queryId "<id>" --json
|
|
@@ -377,6 +382,8 @@ List and manage apps:
|
|
|
377
382
|
|
|
378
383
|
```bash
|
|
379
384
|
kiva apps list --json
|
|
385
|
+
kiva apps list-api-clients --json
|
|
386
|
+
kiva apps list-api-clients --appSlug "<app-slug>" --json
|
|
380
387
|
kiva apps delete --appId "<app-id>" --json
|
|
381
388
|
kiva apps restore --appId "<app-id>" --json
|
|
382
389
|
```
|