nebula-ai 0.1.28 → 0.1.29
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 +50 -218
- package/bin/nebula-ai.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ When you are not typing:
|
|
|
93
93
|
|
|
94
94
|
### Workspace & session
|
|
95
95
|
|
|
96
|
-
- **Workspaces**,
|
|
96
|
+
- **Workspaces**, the status bar names the one you are in. Press `Ctrl+K` and pick "Switch workspace", or open Settings > Workspaces, to switch. Each Channel keeps the tabs opened from it.
|
|
97
97
|
- **Drafts**, text drafts stay with their workspace and conversation during navigation. Opening search or shortcut help keeps the current composer and staged files intact. Drafts are held for this process, not persisted across restarts.
|
|
98
98
|
- **Session restore**, enable in Settings to automatically reopen your readers and navigation state when you restart the CLI. Session state is also flushed on clean Ctrl+C / SIGTERM.
|
|
99
99
|
|
|
@@ -129,12 +129,10 @@ Press `,`, or search for `Settings` with Ctrl+/; a Channel's own settings are it
|
|
|
129
129
|
bring-your-own routing aliases and endpoints.
|
|
130
130
|
- **Local Device**, daemon status, start/stop/restart controls, device ID.
|
|
131
131
|
- **Files**, browse and manage files stored on the platform.
|
|
132
|
-
- **Triggers**, the workspace's jobs: create, edit, pause and delete.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
prompt in the edit form now clears the filter; it used to save nothing.
|
|
137
|
-
An emptied cron expression is refused in the form.
|
|
132
|
+
- **Triggers**, the workspace's jobs: create, edit, pause and delete. A job
|
|
133
|
+
created with a blank cron expression is a draft with no schedule. Editing
|
|
134
|
+
a job refuses an emptied cron expression, and emptying the filtering
|
|
135
|
+
prompt clears the filter.
|
|
138
136
|
|
|
139
137
|
## Local device
|
|
140
138
|
|
|
@@ -159,7 +157,7 @@ a calendar, a CRM), hand the work to an agent set up for it, with
|
|
|
159
157
|
app from the CLI.
|
|
160
158
|
|
|
161
159
|
- `channels`: `list` (with each Channel's heartbeat), `create`, `join`, `rename`, `delete`, `archived`, `unarchive`, `purpose`, `heartbeat <on|off>` (autonomous mode), `miniapps`/`add-miniapp`/`remove-miniapp`, `model`, `appearance`, `agents`/`add-agent`/`remove-agent`, `default-model`, `devices`/`add-device`/`remove-device`, `default-device`, and for named Channels `members`/`invite`/`remove-member`/`member-role`.
|
|
162
|
-
- `tasks`: `list` (`--channel`), `get` (title, Channel, agent, work status, its number and thread), `create <message> --channel <name> --agent <handle>` (starts a Task for that agent and prints its id), `rename`, `stop`, `model`, `read`, `archive`.
|
|
160
|
+
- `tasks`: `list` (`--channel`, `--mine`), `get` (title, Channel, agent, work status, its number and thread), `create <message> --channel <name> --agent <handle>` (starts a Task for that agent and prints its id), `wait <id>` (waits for the Task's newest turn, or its first one when `tasks create` has just started it, and prints it as `chat` does, with `chat`'s exit codes), `rename`, `stop`, `model`, `read`, `archive`.
|
|
163
161
|
- `messages`, every message operation, in a Channel (Home by default, `--channel <name>`) or a Task (`--task <id>`): `send "<text>"` (`--agent <handle>` tags an agent; `--to <member>` sends a direct message to a person; stdin when the text is omitted), `list`, `replies <id>`, `edit`, `delete`, `react`, `unreact`, `share <id> --to <channel>`; and threads, addressed by the message that started them: `threads` (yours, or every one in `--channel`; `--all`, `--closed`), `title <root-id> <title>`, `close <root-id>` (`--stop` stops its running Tasks first).
|
|
164
162
|
- `inbox`: `list` (the threads addressed to you; `--done`, `--sort created|updated`), `done <root-id>`, `restore <root-id>`.
|
|
165
163
|
- `approvals`: `list` (what agents are waiting on you for), `approve <id>` (`--always`), `deny <id>` (`--reason`). Asks that need more than a yes or no are answered in the app.
|
|
@@ -169,240 +167,74 @@ app from the CLI.
|
|
|
169
167
|
- `miniapps`: `list`, `get`, `create`, `delete`.
|
|
170
168
|
- `skills`: `list`, `save` (a SKILL.md from `--file`; `--command` makes a personal skill one of your `/` commands), `delete`, at the workspace or personal scope.
|
|
171
169
|
- `call`: `list` (`--channel`), `chat <thread> -m "…"`, `leave`; `call start` / `call join <thread>` open the TUI's call screen (`--headless` runs the audio engine with no TUI; `--chat` joins data-only).
|
|
172
|
-
- `chat`, send a message to an agent (`-a/--agent`, `-t/--task`, `--no-stream`). The workspace Nebula talks in Channels, so reach it with `messages send`; `chat --resume <task-id>` opens a Task in the TUI.
|
|
170
|
+
- `chat`, send a message to an agent (`-a/--agent`, `-t/--task`, `--new` for a new chat instead of the agent's DM, `--no-stream`). The workspace Nebula talks in Channels, so reach it with `messages send`; `chat --resume <task-id>` opens a Task in the TUI.
|
|
171
|
+
- `acp`, serve the Agent Client Protocol on stdio for an editor such as Zed. Each session runs as the first agent that can run a Task, or the one `--agent <handle>` names, in the folder the editor opened.
|
|
173
172
|
- `open <link>`, resolve a `nebula://open` link and open the TUI on it.
|
|
173
|
+
- `credits`, the active workspace's Nebula Credits (granted and purchased), its Tool Credits where they are a separate bucket, and its most recent credit additions (`--limit`). Read-only.
|
|
174
|
+
- `acp`, run an [Agent Client Protocol](https://agentclientprotocol.com) server over stdio, for an editor that speaks ACP to start and continue Nebula Tasks.
|
|
174
175
|
- `login` / `logout`, `status`, `workspace list|switch`, `local-device`, `install` / `uninstall`, `update`, `completion`, `capabilities`, `logs`: session, device and setup commands.
|
|
175
176
|
|
|
177
|
+
`--workspace <slug-or-id>` runs one command in that workspace without changing the one the TUI opens. A value that matches no workspace stops the command with a `usage` error that lists the workspace slugs, before anything is read or written.
|
|
178
|
+
|
|
176
179
|
Every command supports `--json` for machine-readable output, `-v/--verbose` for extra detail, `--no-color` to disable ANSI styling, and `--api-url <url>` to point at a non-default backend.
|
|
177
180
|
|
|
178
181
|
### Scripting contract
|
|
179
182
|
|
|
180
|
-
Exit
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
`
|
|
183
|
+
| Exit code | `--json` error code | Meaning |
|
|
184
|
+
| --- | --- | --- |
|
|
185
|
+
| `0` | | Success. |
|
|
186
|
+
| `1` | `error` | Any other failure, including a failed chat turn. |
|
|
187
|
+
| `2` | `usage` | A mistyped command, option or argument, or a `--workspace` that matches no workspace. |
|
|
188
|
+
| `3` | `auth_required` | Not signed in, or the saved session can no longer be used. |
|
|
189
|
+
| `4` | `waiting` | A chat or `tasks wait` is waiting for your decision, or `tasks stop` refused a Task with an open question. |
|
|
190
|
+
| `5` | `outcome_unknown` | A message or other write was sent and possibly accepted, but its outcome is unknown. Check with the matching read command (for a chat, `nebula-ai messages list --task <id>`) before sending again. |
|
|
191
|
+
| `6` | `not_found` | The thing the command named does not exist or is not visible to you. |
|
|
192
|
+
| `7` | `timeout` | Nebula did not answer in time. |
|
|
185
193
|
|
|
186
194
|
With `--json`, errors are exactly one JSON line on stderr, without ANSI:
|
|
187
|
-
`{"error":{"code":"usage","message":"…"}}
|
|
188
|
-
|
|
195
|
+
`{"error":{"code":"usage","message":"…"}}`, with a code from the table
|
|
196
|
+
above. Every failure other than `usage` also carries `trace_id`, the W3C trace
|
|
197
|
+
id this command sent on its requests; without `--json` it is printed as
|
|
198
|
+
`Trace: <id>` under the message. Results stay on stdout. Signed-out
|
|
189
199
|
`status --json` prints the full status document with `auth.logged_in:false`
|
|
190
200
|
and exits `3`; a network failure during validation does not imply sign-out.
|
|
191
201
|
|
|
202
|
+
Ctrl-C during `chat` or `tasks wait` stops waiting, never the turn: the agent
|
|
203
|
+
keeps working, a notice on stderr says where to follow it, and the command
|
|
204
|
+
exits `5`, as it does when the reply does not settle in time. Under `--json`
|
|
205
|
+
the notice is left out, and a turn that had started prints with
|
|
206
|
+
`"status": "incomplete"`.
|
|
207
|
+
|
|
192
208
|
`chat --json` returns `{thread_id, agent, status, final_message, events, pending}`.
|
|
193
209
|
When `status` is `waiting`, `pending` contains `{kind, title, summary}` (title
|
|
194
210
|
and summary may be null); otherwise `pending` is null. Failed, waiting, and
|
|
195
211
|
incomplete chat results still print on stdout before the corresponding exit.
|
|
196
212
|
|
|
197
|
-
###
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
a REST call. It prints the new agent's id.
|
|
211
|
-
- New flag: `skills save --command` / `--no-command` for a personal skill;
|
|
212
|
-
`skills list` prints `is_command` and draws a command as `/name`.
|
|
213
|
-
- New fields: `tasks list|get --json` print `task_number`,
|
|
214
|
-
`thread_root_id`, `waiting_on_user_id` and `created_at`.
|
|
215
|
-
|
|
216
|
-
### Changelog: one line for a refused or unknown write
|
|
217
|
-
|
|
218
|
-
- A refused write prints the server's sentence. `chat` no longer prefixes it
|
|
219
|
-
with `Failed to send message:`.
|
|
220
|
-
- A refusal that paying lifts prints the server's sentence and then where to
|
|
221
|
-
pay, `Activate at <url>`, in every command. It replaces `chat`'s "Billing
|
|
222
|
-
required to send messages" line.
|
|
223
|
-
- A write with no answer in 30 seconds says the same thing in every command,
|
|
224
|
-
in `chat` and in the ACP server: "No answer came back from Nebula in 30
|
|
225
|
-
seconds. It may or may not have gone through: check before trying again."
|
|
226
|
-
The exit code (5) and the `outcome_unknown` code are unchanged.
|
|
227
|
-
|
|
228
|
-
### Changelog: entity commands are Zero-only
|
|
229
|
-
|
|
230
|
-
Every entity command now reads and writes through Zero. The commands with no
|
|
231
|
-
Zero path are gone until their entity is published and their writes are
|
|
232
|
-
mutators; the tables below still describe the ones that remain.
|
|
233
|
-
|
|
234
|
-
- Removed groups: `devices` (`user devices`), `files` (`user files`),
|
|
235
|
-
`integrations`, `user` (`variables`, `billing`, `config`), `profile`,
|
|
236
|
-
`usage`, `models` and `invite`.
|
|
237
|
-
- Removed verbs: `agents create|logs|errors|accounts|set-account|triggers`,
|
|
238
|
-
`tasks delete|unarchive|share|status|update`, `channels files|call`,
|
|
239
|
-
`call status|end`, and the `spaces` alias for `channels`.
|
|
240
|
-
- Changed reads: `agents list|get`, `tasks list|get|messages` and `call list`
|
|
241
|
-
print the synced rows' fields. `tasks get` carries the work status
|
|
242
|
-
`tasks status` used to. `call list` lists the workspace's Calls rather than
|
|
243
|
-
one Task's.
|
|
244
|
-
- Changed writes: `channels create` and `tasks create` are mutations now.
|
|
245
|
-
`tasks create <message> --agent <handle>` posts the message that starts the
|
|
246
|
-
Task and prints the Task's id once it lands; `channels create` prints the
|
|
247
|
-
id and handle the server kept.
|
|
248
|
-
- `channels` manages Channels and their configuration only; every message
|
|
249
|
-
operation is `messages`. Sending is `messages send` (Home by default,
|
|
250
|
-
`--channel`, or `--task`) and reading is `messages list`, replacing
|
|
251
|
-
`channels message`, `channels messages`, `tasks post` and `tasks messages`.
|
|
252
|
-
A Channel's Tasks and Calls are `tasks list --channel` and
|
|
253
|
-
`call list --channel`, replacing `channels tasks` and `channels calls`.
|
|
254
|
-
- New: `jobs`, `miniapps`, `messages` and `skills` groups, and `tasks
|
|
255
|
-
rename|stop|model|read`, `channels archived|unarchive|purpose`,
|
|
256
|
-
`agents remove-toolkit`.
|
|
257
|
-
|
|
258
|
-
### Changelog: what a write prints under `--json`
|
|
259
|
-
|
|
260
|
-
Every CLI command that writes now prints `{ "ok": true }` plus the ids it was
|
|
261
|
-
given or created under `--json`, in place of the server's response body. Run
|
|
262
|
-
the matching read command for the row. `tasks share` and `files share` still
|
|
263
|
-
print their link. A write with no server answer in 30 seconds exits 5 with
|
|
264
|
-
`outcome_unknown`.
|
|
265
|
-
|
|
266
|
-
The key is `id` when a command has one id, and a snake_case name per id when
|
|
267
|
-
it has more. Without `--json`, each command prints one line built from its
|
|
268
|
-
arguments.
|
|
269
|
-
|
|
270
|
-
| Command | `--json` before | `--json` now | Text |
|
|
271
|
-
| --- | --- | --- | --- |
|
|
272
|
-
| `agents update <id>` | the agent | `{ "ok": true, "id" }` | `Updated agent: <id>` (it used to print the agent) |
|
|
273
|
-
| `agents enable <id>` | the response body | `{ "ok": true, "id" }` | `Enabled agent: <id>` |
|
|
274
|
-
| `agents disable <id>` | the response body | `{ "ok": true, "id" }` | `Disabled agent: <id>` |
|
|
275
|
-
| `agents delete <id>` | the agent id as a bare string | `{ "ok": true, "id" }` | `Deleted agent: <id>` |
|
|
276
|
-
| `channels message <channel>` | `{ "sent": true, "space" }` | `{ "ok": true }` | `Sent.` |
|
|
277
|
-
| `agents create` | the agent | `{ "ok": true, "id" }` | `Created agent: <name> (<id>)` |
|
|
278
|
-
| `agents skills detach <agent-id> <skill-name>` | the response body | `{ "ok": true, "id" }` | `Detached skill "<skill-name>" from agent <agent-id>` |
|
|
279
|
-
| `tasks create` | the Task | `{ "ok": true, "id" }` | `Started a Task: <id>` |
|
|
280
|
-
| `tasks delete <id>` | the response body | `{ "ok": true, "id" }` | `Deleted Task: <id>` |
|
|
281
|
-
| `tasks archive <id>` | the thread | `{ "ok": true, "id" }` | `Archived Task: <id>` |
|
|
282
|
-
| `tasks unarchive <id>` | the response body | `{ "ok": true, "id" }` | `Unarchived Task: <id>` |
|
|
283
|
-
| `tasks update <id>` | the response body | `{ "ok": true, "id" }` | `Updated Task: <id>` (it used to print the Task) |
|
|
284
|
-
| `user files delete <id>` | the response body | `{ "ok": true, "id" }` | `Deleted file: <id>` |
|
|
285
|
-
| `user update` | the response body | `{ "ok": true }` | `Profile updated.` |
|
|
286
|
-
| `user variables set <name> <value>` | the response body | `{ "ok": true }` | `Variable "<name>" set.` |
|
|
287
|
-
| `user variables create <name> <value>` | the response body | `{ "ok": true, "id" }` | `Variable "<name>" created (<id>).` |
|
|
288
|
-
| `user variables delete <name>` | the response body | `{ "ok": true }` | `Deleted variable: <name>` (the list of agents that used it is gone) |
|
|
289
|
-
| `profile set` | the response body | `{ "ok": true }` | `Profile updated.` |
|
|
290
|
-
| `profile set-email <address>` | the response body | `{ "ok": true }` | unchanged |
|
|
291
|
-
| `profile verify-email <code>` | the response body | `{ "ok": true }` | `Email address updated.` |
|
|
292
|
-
| `user billing auto-topup` with `--enable`, `--disable`, `--threshold` or `--amount` | the settings | `{ "ok": true }` | `Auto top-up updated.` (it used to print the settings) |
|
|
293
|
-
| `user devices start` | the response body | `{ "ok": true }` | `Device started.` |
|
|
294
|
-
| `user devices stop` | the response body | `{ "ok": true }` | `Device stopped.` |
|
|
295
|
-
| `user devices delete` | the response body | `{ "ok": true }` | `Device deleted.` |
|
|
296
|
-
| `user devices rename <name>` | the response body | `{ "ok": true }` | `Device renamed to: <name>` |
|
|
297
|
-
| `user devices make-private` | the response body | `{ "ok": true }` | `Device is private.` |
|
|
298
|
-
| `user devices services create <name>` | the response body | `{ "ok": true }` | `Created service: <name>` |
|
|
299
|
-
| `user devices services start <name>` | the response body | `{ "ok": true }` | `Started service: <name>` |
|
|
300
|
-
| `user devices services stop <name>` | the response body | `{ "ok": true }` | `Stopped service: <name>` |
|
|
301
|
-
| `integrations disconnect <provider> [accountId]` | `{ "provider", "accountId" }` | `{ "ok": true, "id" }`, with no `id` when you passed no account | `Disconnected <provider> (<accountId>).`, or `Disconnected <provider>.` with no account |
|
|
302
|
-
| `call start` | the response body, with `thread_id`, `call_id` and the join credential | `{ "ok": true, "thread_id", "call_id" }` | `Call started: <thread_id>` |
|
|
303
|
-
| `call join <task>` | the response body, with the join credential | `{ "ok": true, "thread_id", "call_id" }` | `Joined the call: <thread_id>` |
|
|
304
|
-
| `call end <task>` | the response body | `{ "ok": true, "id" }` | `Call ended.` |
|
|
305
|
-
| `call chat <task>` | `true` | `{ "ok": true, "thread_id", "event_id" }` | `Sent.` |
|
|
306
|
-
| `call leave <task>` | `call_id`, `thread_id`, `left`, `call_ended` | `{ "ok": true, "id" }` | `Left the call.`; a Task with no live Call now exits 1 |
|
|
307
|
-
| `channels create <name>` | the Channel | `{ "ok": true, "id" }` | `Created Channel: <name> (<id>)` (it used to print the slug) |
|
|
308
|
-
| `channels call <channel>` | the response body, with `thread_id`, `call_id` and the join credential | `{ "ok": true, "thread_id", "call_id" }` | `Started a Call in <channel>: <thread_id>` |
|
|
309
|
-
| `channels join <channel>` | `{ "joined" }` | `{ "ok": true }` | `Joined Channel: <channel>` |
|
|
310
|
-
| `channels rename <channel> <new-name>` | `{ "renamed": true }` | `{ "ok": true }` | `Renamed Channel <channel> to <new-name>` |
|
|
311
|
-
| `channels delete <channel>` | `{ "deleted": true }` | `{ "ok": true }` | `Deleted Channel: <channel>` |
|
|
312
|
-
| `channels add-miniapp <channel> <miniapp>` | `{ "added" }` | `{ "ok": true }` | `Added <miniapp> to <channel>` |
|
|
313
|
-
| `channels remove-miniapp <channel> <miniapp>` | `{ "removed" }` | `{ "ok": true }` | `Removed <miniapp> from <channel>` |
|
|
314
|
-
| `channels model <channel> <model>` | `{ "model", "space" }` | `{ "ok": true }` | `Set <channel> to <model>` |
|
|
315
|
-
| `channels appearance <channel>` | `{ "space" }` | `{ "ok": true }` | `Updated <channel>` |
|
|
316
|
-
| `channels add-agent <channel> <agent>` | `{ "added": true }` | `{ "ok": true, "id" }` | `Added agent <agent> to <channel>` |
|
|
317
|
-
| `channels remove-agent <channel> <agent>` | `{ "removed": true }` | `{ "ok": true, "id" }` | `Removed agent <agent> from <channel>` |
|
|
318
|
-
| `channels default-model <channel> <model>` | `{ "model", "space" }` | `{ "ok": true }` | `New Tasks in <channel> will use <model>` |
|
|
319
|
-
| `channels add-device <channel>` | `{ "kind" }` | `{ "ok": true, "id" }` with `--local`, the id of this computer; `{ "ok": true }` for a cloud device | `Added a device to <channel>` |
|
|
320
|
-
| `channels remove-device <channel> <device>` | `{ "removed": true }` | `{ "ok": true, "id" }` | `Removed device <device> from <channel>` |
|
|
321
|
-
| `channels default-device <channel> [device]` | `{ "device" }` | `{ "ok": true, "id" }`, with no `id` when it clears the default | `New Tasks in <channel> will run on <device>` |
|
|
322
|
-
| `channels invite <channel> <member>` | `{ "invited": true }` | `{ "ok": true, "id" }` | `Invited <member> to <channel>` |
|
|
323
|
-
| `channels remove-member <channel> <member>` | `{ "removed": true }` | `{ "ok": true, "id" }` | `Removed <member> from <channel>` |
|
|
324
|
-
| `channels member-role <channel> <member> <role>` | `{ "role" }` | `{ "ok": true, "id" }` | `<member> is now a <role> in <channel>` |
|
|
325
|
-
| `user config set <key> <value>` | `{ "key", "value" }` | `{ "ok": true }` | unchanged |
|
|
326
|
-
| `user config reset` | `{ "reset": true }` | `{ "ok": true }` | unchanged |
|
|
327
|
-
| `logout` | `null` | `{ "ok": true }` | unchanged |
|
|
328
|
-
|
|
329
|
-
`tasks share` and `user files share` print the server's answer under
|
|
330
|
-
`--json`, as before. Without `--json` they now print the link instead of the whole body.
|
|
331
|
-
|
|
332
|
-
A create prints the id of the row it made, whoever minted it. `call start`,
|
|
333
|
-
`call join` and `channels call` print the Task and Call ids and never the
|
|
334
|
-
join credential. A cloud device added with `channels add-device` prints no
|
|
335
|
-
id, because the server mints it after the command returns.
|
|
336
|
-
|
|
337
|
-
The table covers all 56 kernel writes that print the envelope. The two
|
|
338
|
-
floor commands above make 58 kernel writes in total.
|
|
339
|
-
|
|
340
|
-
### Changelog: what a read prints under `--json`
|
|
341
|
-
|
|
342
|
-
Every read command now prints a fixed list of fields under `--json`, not
|
|
343
|
-
the server's whole response. A list prints a bare array and a single read
|
|
344
|
-
prints one object, with no `result`, `success` or `message` wrapper around
|
|
345
|
-
either. A field the server adds later does not appear until the CLI
|
|
346
|
-
declares it. Keys are snake_case. A timestamp is epoch milliseconds, as the
|
|
347
|
-
REST response had it.
|
|
348
|
-
|
|
349
|
-
A read that gets no answer in 30 seconds exits 1 with `error` and prints
|
|
350
|
-
nothing on stdout. A single read that finds nothing, such as
|
|
351
|
-
`user devices info` with no device, exits 1 with `error` too.
|
|
352
|
-
|
|
353
|
-
Each read keeps the fields its text output shows, plus the row's id. The
|
|
354
|
-
table lists the keys it stopped printing. `tasks share` and
|
|
355
|
-
`user files share` follow the same rule: they still print their link.
|
|
356
|
-
|
|
357
|
-
| Command | Prints now | Stopped printing |
|
|
358
|
-
| --- | --- | --- |
|
|
359
|
-
| `usage` | `period_days`, `total_cost_dollars`, `request_count`, `total_tokens`, `billable_tokens`, `total_input_tokens`, `total_output_tokens`, `total_cached_tokens`, `cache_hit_percentage`, `estimated_savings_dollars` | `user_id`, `start_date`, `end_date`, `daily_avg_tokens`, `daily_avg_requests`, `total_reasoning_tokens` |
|
|
360
|
-
| `tasks list` | `id`, `title`, `channel`, `updated_at` | `user_id`, `title_source`, `slug`, `is_title_placeholder`, `source`, `source_channel_name`, `source_workspace_name`, `is_shared`, `is_pinned`, `can_share`, `can_archive`, `extended_thinking_enabled`, `target_agent_id`, `assigned_agent_id`, `is_agent_dm`, `working_dir`, `device_id`, `active_device`, `device_label`, `plan_mode`, `model_preference`, `archived_at`, `created_at`, `message_count`, `last_message`, `last_activity_at`, `channel_label`, `channel_id`, `origin_root_message_id`, `origin_call_id`, `channel_auto_routed`, `channel_description`, `tags`, `thread_summary`, `chapters`, `chapters_covered_up_to`, `unread_count`, `last_read_at`, `has_unread`, `first_unread_message_id`, `voice_status`, `voice_call_id`, `state`, `miniapp_id`, `miniapps`, `visibility`, `participant_user_ids`, `participant_agent_ids`, `display_summary`, `feed_bucket`, `is_channel`, `room_kind`, `dm_agent`. The text table's Agent column, which the response never filled, is now Channel. |
|
|
361
|
-
| `tasks get <id>` | `id`, `title`, `channel`, `feed_bucket`, `created_at`, `updated_at`, `archived_at` | the keys `tasks list` stopped printing, less `archived_at`, `created_at` and `feed_bucket` |
|
|
362
|
-
| `tasks status <id>` | `id`, `last_activity_at`, `state` with `feed_bucket`, `turns` (`work_status`, `state_seq`, `open_turns[]` of `user_message_id`, `status`, `started_at`, and `last_outcome` of `outcome`, `turn_id`, `settled_at_ms`) and `unread` (`count`, `has_unread`) | `state.visibility`, `state.turns.composer_block`, `state.unread.last_read_at`, `state.unread.first_unread_message_id`; on each open turn `user_id`, `agent_id`, `task_id`, `trigger_id`, `coalescible`, `expires_at`, `todo_progress`, `latest_activity`, `wait_id`, `wait_condition`, `wait_timeout_at_ms`, `holder`; on `last_outcome` `terminal_event_id`, `task_id` |
|
|
363
|
-
| `tasks messages <id>` | `id`, `role`, `content`, `created_at` | `agentDisplayName`, `agentId`, `agentAvatarUrl`, `agentIsSubAgent` |
|
|
364
|
-
| `tasks share <id>` | `share_url`, `is_shared` | `can_share`, `restriction_reason`, `source_display` |
|
|
365
|
-
| `call list <task>` | `call_id`, `thread_id`, `status`, `started_at`, `ended_at`, `duration_ms`, `participant_user_ids`, `participant_agent_ids`, `summary` | `work_thread_ids`, `started_by_user_id`, `room_name`, `transcript_message_count`, `member_user_ids`, `member_agent_ids`, `final_summary`, `transcript_file_path`, `summary_file_path`, `thread_title`, `thread_summary_title`, `thread_summary`, `visibility` |
|
|
366
|
-
| `call status <task>` | one object: `status`, `call_id`, `started_at`, `participants[]` of `kind`, `id`, `display_name`, `connected`, `posture` | the `{ "status": {…}, "participants": {…} }` wrapper; `room_name`, `session_id`, `background_agent_ids`, `silent_agent_ids`, `listen_only_agent_ids`, `audio_output_off_agent_ids`, `wake_config`, `personas`, `monitors`, `summary`; on each participant `is_active`, `is_creator` |
|
|
367
|
-
| `agents list` | `id`, `name`, `slug`, `visibility`, `is_disabled`, `updated_at`, `can_run`, `run_blocked_detail`, `run_scope_detail` | `description`, `icon_url`, `workspace_access`, `my_access`, `is_system`, `is_user_agent`, `toolkit_count`, `trigger_count`, `user_id`, `is_orchestrator`, `is_channel_agent`, `device_id`, `external`, `owner_display_name`, `created_at`, `display_name` |
|
|
368
|
-
| `agents get <id>` | `id`, `name`, `slug`, `description`, `visibility`, `is_disabled`, `effective_model`, `updated_at`, `external_runtime`, `can_run`, `run_blocked_detail`, `run_scope_detail` | `user_id`, `interaction_prefs`, `website_scope`, `icon_url`, `device_id`, `model_preference`, `workspace_access`, `my_access`, `is_system`, `is_user_agent`, `is_channel_agent`, `summary`, `prompts`, `tools`, `memories`, `wallets`, `oauth_connections`, `toolkits`, `toolkit_details`, `account_links`, `linked_accounts`, `skills`, `cost_per_million_input_tokens`, `pricing_display`, `knowledge_base`, `external`, `integration_backend`, `is_legacy`, `created_at`, `display_name` |
|
|
369
|
-
| `agents logs <id>`, `agents errors <id>` | a bare array of `id`, `task_id`, `created_at`, `log_level`, `is_error`, `message`, `tool_name` | the `logs`, `total` and `has_more` wrapper; on each log `agent_id`, `user_id`, `agent_name`, `agent_owner_id`, `success`, `message_type`, `tool_args`, `tool_result`, `tool_duration_ms`, `error_details`, `duration_ms`, `token_usage` |
|
|
370
|
-
| `agents accounts <id>` | `account_id`, `toolkit`, `display_name`, `status` | `account` and `accountId`, renamed to the response's `display_name` and `account_id` |
|
|
371
|
-
| `agents triggers <id>` | `id`, `name`, `kind`, `is_active`, `status_label`, `schedule_label`, `event_label`, `last_run_at`, `next_run_at` | every other key of the trigger, `webhook_secret` included: `user_id`, `last_task_id`, `slug`, `description`, `cron_expression`, `data`, `options`, `external_trigger_id`, `deactivation_reason`, `last_execution_status`, `run_count`, `max_runs`, `starts_at`, `ends_at`, `deleted_at`, `created_at`, `updated_at`, `agent_id`, `goal_status`, `goal_success_criteria`, `goal_memory`, `goal_memory_summary`, `goal_iteration_count`, `goal_max_iterations`, `goal_next_check_at`, `goal_met_at`, `goal_plan`, `job_lifecycle`, `event_config`, `trigger_type`, `filtering_prompt`, `task_content`, `plan_mode`, `timezone`, `toolkit_slug`, `monitoring`, `thread_id`, `channel_id`, `thread_summary`, `thread_last_activity_at`, `channel`, `channel_label`, `is_agent_dm`, `target_agent_id`, `agent_display_name`, `latest_run`, `task_title`, `task_prompt`, `task_steps`, `webhook_secret`, `webhook_url`, `is_legacy`, `owner_display_name`, `is_private`, `workspace_access`, `my_access`, `can_manage`, `manage_blocked_reason`, `recipe_approval`, `lifecycle_label`, `lifecycle_tone`, `job_status`, `status_tone`, `activity_sort_priority`, `activity_sort_at` |
|
|
372
|
-
| `agents skills list <agent-id>` | a bare array of `name`, `description`, `origin`, `version` | the `success`, `message`, `skills`, `total` and `error` wrapper; on each skill `path`, `file_id`. The list now comes from the local store, not `GET /agents/{id}/skills`. Text mode prints a table instead of the response. |
|
|
373
|
-
| `channels list` | `id`, `name`, `slug`, `kind`, `unread_count`, `description` | `unreadCount`, renamed `unread_count` |
|
|
374
|
-
| `channels tasks <channel>` | `kind`, `id`, `title`, `feed_bucket`, `status_label` | the `{ "kind", "value": {…} }` nesting and every camelCase key inside `value` |
|
|
375
|
-
| `channels files <channel>` | `id`, `name`, `content_type`, `size_bytes`, `thread_id`, `created_at` | `contentType`, `sizeBytes`, `threadId`, `createdAt` (renamed), `agentName` |
|
|
376
|
-
| `channels calls <channel>` | `call_id`, `thread_id`, `title`, `status`, `started_at`, `ended_at`, `duration_ms`, `summary` | `callId`, `threadId`, `startedAt`, `endedAt`, `durationMs` (renamed) |
|
|
377
|
-
| `channels miniapps <channel>` | `id`, `name`, `status`, `description`, `public_url` | `publicUrl` (renamed), `iconUrl`, `hasUnread` |
|
|
378
|
-
| `channels agents <channel>` | `agent_id`, `name`, `description`, `disabled`, `is_orchestrator`, `can_run`, `run_blocked_detail` | `agentId`, `isOrchestrator`, `canRun`, `runBlockedDetail` (renamed), `avatarUrl`, `accessible`, `runScopeDetail` |
|
|
379
|
-
| `channels devices <channel>` | `device_id`, `name`, `device_type`, `is_default`, `addressable` | `deviceId`, `deviceType`, `isDefault` (renamed), `addedByUserId` |
|
|
380
|
-
| `channels members <channel>` | `user_id`, `name`, `online` | `userId` (renamed), `avatarUrl` |
|
|
381
|
-
| `integrations list` | `provider`, `account`, `connected`, `you` | nothing |
|
|
382
|
-
| `user` and `profile get` | `id`, `is_admin`, `profile` with `username`, `first_name`, `last_name`, `email`, `email_verified`, `timezone` | `agents`, `usage_limits_enabled`, `needs_balance`, `needs_device`, `needs_seat`; in `profile` `id`, `icon_url`, `preferences`, `updated_at`, `display_name` |
|
|
383
|
-
| `user variables list` | `id`, `variable_name`, `variable_value`, `is_secret` | `display_name`, `user_tool_id`, `is_managed`, `browser_urls`, `linked_tools`, `linked_agents` |
|
|
384
|
-
| `user config list` | a bare array of `key`, `value` | the object keyed by setting name |
|
|
385
|
-
| `user config get <key>` | `key`, `value` | the bare value. Text mode still prints the bare value. |
|
|
386
|
-
| `user config models` | a bare array of `model_id`, `provider`, `is_default`, `input_cost_per_1m_tokens`, `output_cost_per_1m_tokens` | the `models` and `default_model_id` wrapper, and any other key of a model. Text mode drops the "Default model" line; the Default column marks it. |
|
|
387
|
-
| `user billing balance` | `nebula_credit_balance_dollars`, `standard_credit_balance_dollars` | `nebula_credit_balance_microcents`, `nebula_granted_balance_dollars`, `nebula_purchased_balance_dollars`, `standard_credit_balance_microcents`, `credits_pooled`. Text mode prints both balances; it used to print `Balance: $0.00` whatever the balance was. |
|
|
388
|
-
| `user billing history` | `id`, `amount_dollars`, `source`, `created_at` | `payment_provider`, `bucket` |
|
|
389
|
-
| `user billing auto-topup` with no flags | `is_enabled`, `threshold_dollars`, `topup_amount_dollars`, `has_payment_method` | `has_stripe_payment_method`, `bucket`, `max_period_spend_dollars` |
|
|
390
|
-
| `user files list`, `user files get <id>` | `id`, `filename`, `content_type`, `size_bytes`, `folder_path`, `description`, `created_at`, `updated_at` | `user_id`, `thread_id`, `task_id`, `user_message_id`, `file_extension`, `s3_key`, `source`, `visibility`, `tags`, `deleted_at`, `device_id`, `content`, `content_encoding`, `agent_id`, `agent_name`, `category`, `syntax_language` |
|
|
391
|
-
| `user files content <id>` | `content` | the bare body. Text mode still prints the text. |
|
|
392
|
-
| `user files folders` | a bare array of `folder_path` | the `success`, `folders` and `error` wrapper |
|
|
393
|
-
| `user files share <id>` | `share_url`, `expires_at`, `message` | `success`, `share_token`, `error` |
|
|
394
|
-
| `user devices info` | the device: `id`, `name`, `status`, `visibility`, `device_type` | the `success`, `device` and `message` wrapper; on the device `is_primary`, `workspace_access`, `my_access`, `size`, `user_id`, `cpu`, `memory`, `storage`, `storage_size`, `cpu_cores`, `memory_bytes`, `storage_bytes`, `disk_total_bytes`, `disk_available_bytes`, `disk_stats_at`, `platform`, `arch`, `agent_version`, `capabilities`, `host_home_dir`, `home_dir`, `sandbox_id`, `vm_name`, `ssh_public_key`, `region`, `last_active_at`, `last_reachable_at`, `created_at`, `updated_at`, `assigned_agent_count`, `harnesses`, `tools`, `agents`, `unattended_exec`, `terminal` |
|
|
395
|
-
| `user devices files`, `user devices search <pattern>` | a bare array of `name`, `path`, `is_dir`, `size`, `content_type` | `search` drops its `success`, `files`, `path` and `total` wrapper; on each file `mod_time`, `permissions`, `file_id`, `description`, `tags`, `source`, `agent_id`, `agent_name`, `thread_id`, `task_id`, `created_at`, `category`, `syntax_language`. `search` text mode prints a table. |
|
|
396
|
-
| `user devices services list`, `user devices services get <name>` | `name`, `cmd`, `http_port`, `public_url`, `state` with `status`, `started_at` | `args`, `needs`, `cwd`, `app_type`, `state.pid`; `get` drops its `success`, `message`, `service` and `url` wrapper |
|
|
397
|
-
| `user devices services logs <name>` | `stdout`, `stderr` | `success` |
|
|
213
|
+
### Output under `--json`
|
|
214
|
+
|
|
215
|
+
A read prints a fixed set of snake_case fields: a list prints a bare array,
|
|
216
|
+
and a single read prints one object, with no wrapper around either. A field
|
|
217
|
+
the server adds appears only once the CLI declares it. A timestamp is epoch
|
|
218
|
+
milliseconds.
|
|
219
|
+
|
|
220
|
+
A write prints `{ "ok": true }` plus the ids it was given or created, never
|
|
221
|
+
the row: `id` when the command has one, a snake_case name per id when it has
|
|
222
|
+
more. Run the matching read command for the row. A create prints the id of
|
|
223
|
+
the row it made; `call start` and `call join` print the Task and Call ids and
|
|
224
|
+
never the join credential. Without `--json`, a write prints one line built
|
|
225
|
+
from its arguments.
|
|
398
226
|
|
|
227
|
+
A refused write prints the server's sentence. When paying lifts the refusal,
|
|
228
|
+
it is followed by where to pay, `Activate at <url>`. A write with no answer
|
|
229
|
+
in 30 seconds says "No answer came back from Nebula in 30 seconds. It may or
|
|
230
|
+
may not have gone through: check before trying again." in every command, in
|
|
231
|
+
`chat` and in the ACP server, and exits `5`.
|
|
399
232
|
|
|
400
233
|
## Privacy and telemetry
|
|
401
234
|
|
|
402
235
|
The CLI collects anonymized usage analytics (via PostHog) to help improve the product. You can opt out at any time:
|
|
403
236
|
|
|
404
237
|
- Toggle telemetry off in the TUI under **Settings → CLI & TUI → Preferences**
|
|
405
|
-
- From the CLI: `npx nebula-ai user config set telemetry false`
|
|
406
238
|
- Or set `DO_NOT_TRACK=1` (or `NEBULA_DO_NOT_TRACK=1`) in your environment
|
|
407
239
|
|
|
408
240
|
No events are sent when telemetry is disabled, and a run from source never sends usage analytics.
|
package/bin/nebula-ai.js
CHANGED
|
@@ -328,7 +328,7 @@ function maybeSpawnUpdateCheck(currentVersion) {
|
|
|
328
328
|
const path = require("node:path");
|
|
329
329
|
const cachePath = ${JSON.stringify(cachePath)};
|
|
330
330
|
fetch("https://registry.npmjs.org/nebula-ai/${distTag}", {
|
|
331
|
-
headers: { "Accept": "application/
|
|
331
|
+
headers: { "Accept": "application/json" },
|
|
332
332
|
signal: AbortSignal.timeout(10000),
|
|
333
333
|
})
|
|
334
334
|
.then(r => { if (!r.ok) throw new Error(r.status); return r.json(); })
|