@botiverse/oar-cli 0.95.1 → 0.97.0
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 +7 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ oar run claude "What does this repo do?"
|
|
|
17
17
|
## Commands
|
|
18
18
|
|
|
19
19
|
The registered runtimes are OAR's `defaultRuntimes`, cursor, which the CLI
|
|
20
|
-
adds itself on the `@cursor/sdk` 1.
|
|
20
|
+
adds itself on the `@cursor/sdk` 1.3.1 it depends on, and the community
|
|
21
21
|
runtimes (Mister Morph) from `@botiverse/oar/community` (`src/runtimes.ts`).
|
|
22
22
|
Commands that take an optional `[runtime]` cover every registered runtime
|
|
23
23
|
when it is omitted (or `all`). A runtime whose probe or
|
|
@@ -95,7 +95,7 @@ via `coalesceText`), and other facts as bracketed meta lines
|
|
|
95
95
|
(`[compacting: threshold]`, `[compacted]` or `[compaction failed] reason`,
|
|
96
96
|
`[retry 2/3] reason`, `[waiting for app: type]`, `[task shell started]`).
|
|
97
97
|
Turn starts, usage, model, service tier and effort reports, native user
|
|
98
|
-
message echoes, queued, withdrawn and dropped inputs, task updates, tool
|
|
98
|
+
message echoes, queued, withdrawn, handled and dropped inputs, task updates, tool
|
|
99
99
|
input and progress deltas and oar's own answers to app requests print
|
|
100
100
|
nothing (the full mapping is `src/progress.ts`):
|
|
101
101
|
|
|
@@ -108,7 +108,9 @@ The repo is a pnpm workspace...
|
|
|
108
108
|
[turn completed]
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
The exit code is 0
|
|
111
|
+
The exit code is 0 when the turn completed or the runtime handled the prompt
|
|
112
|
+
natively without a model turn (a Pi extension command), and 1 otherwise,
|
|
113
|
+
except that the first Ctrl-C interrupts
|
|
112
114
|
the turn and exits 130; a second one disposes the session at once. The
|
|
113
115
|
process ends at most a second after the session is disposed, even when a
|
|
114
116
|
runtime left a handle behind (`@cursor/sdk` 1.0.35 to 1.0.37 kept a 24 hour
|
|
@@ -135,7 +137,8 @@ Flags:
|
|
|
135
137
|
- `--json`: print the session records (`RawEvent`s) as JSON lines instead
|
|
136
138
|
of progress (frames with their verbatim `native` payload and oar's
|
|
137
139
|
`events`, plus the request/response records of the run), and a final
|
|
138
|
-
`{"outcome": ...}` line
|
|
140
|
+
`{"outcome": ...}` line (`{"disposition": ...}` for a natively handled
|
|
141
|
+
prompt).
|
|
139
142
|
- `--record <file>`: also write the run as an `oar-voyage/3` JSONL log (in
|
|
140
143
|
both output modes; the log always carries every record).
|
|
141
144
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botiverse/oar-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.97.0",
|
|
4
4
|
"description": "Command-line interface for controlling and observing agent runtimes with OAR",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"README.md"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cursor/sdk": "1.
|
|
15
|
+
"@cursor/sdk": "1.3.1",
|
|
16
16
|
"commander": "^12.1.0",
|
|
17
|
-
"@botiverse/oar": "0.
|
|
17
|
+
"@botiverse/oar": "0.97.0"
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|