nebula-ai 0.1.25 → 0.1.26

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 CHANGED
@@ -20,7 +20,7 @@ npx nebula-ai chat "summarize the open issues in repo X"
20
20
 
21
21
  The auth token is persisted as an encrypted file at `~/.nebula/auth-token` (mode `0600`). The encryption key is derived from your hostname and OS user via HKDF-SHA256, so backups/syncs of `~/.nebula/` to a different machine yield ciphertext that won't decrypt on the target, the binding is intentional, not a bug. See [ADR-0054](../../docs/adr/0054-encrypted-file-token-store-no-keychain.md) for the threat-model details.
22
22
 
23
- **Supported platforms:** macOS (arm64, x64), Linux (x64, arm64), Windows (x64).
23
+ **Supported platforms:** macOS (arm64), Linux (x64, arm64), Windows (x64).
24
24
 
25
25
  ## Install via Homebrew
26
26
 
@@ -65,7 +65,7 @@ When you are not typing:
65
65
  - **Esc**, back to the conversation.
66
66
  - **Ctrl+B**, hide or show the rail, remembered between launches. Below 100 columns it folds away by itself and the workspace name moves into the title.
67
67
  - **i / Enter**, type in the composer; **Esc** leaves it.
68
- - **↑ / ↓ or j / k**, select a message for replies (`t`), reactions (`r`) or copy (`y`). PgUp / PgDn and Ctrl+U / Ctrl+D scroll without moving the selection.
68
+ - **↑ / ↓ or j / k**, select a message for replies (`t`), reactions (`r`), copy (`y`), share (`s`), edit (`e`) or bookmark (`Shift+B`). PgUp / PgDn and Ctrl+U / Ctrl+D scroll without moving the selection.
69
69
  - **Mouse**, click a rail row, a view, or a tab's `×`.
70
70
  - **Status bar**, mode badge (`NAV` / `INSERT` / `HITL`), where you are, the next few keys, and the connection dot.
71
71
  - **q** quits from navigation mode; **Ctrl+C** twice quits from anywhere. **?** opens the full shortcut reference.
@@ -78,9 +78,13 @@ When you are not typing:
78
78
  - **File attachments**, drop file paths into the Channel composer to upload and stage them for your next message. Task composers can also use files through your connected local device.
79
79
  - **Activity log**, tool calls and execution details are surfaced inline in chat, with `Enter` on a completed turn opening the full activity log.
80
80
  - **Entity navigation**, press `Tab` on a selected message to cycle through referenced agents, triggers, files, and skills; `Enter` opens the detail view.
81
- - **Channel messages**, use `↑`/`↓` in navigation mode to select a message, `t` to open its replies, `r` to react, `y` to copy, and `d` to delete one of your own (Enter or `y` confirms, Esc keeps it). Inside replies, `i` composes, `j`/`k` scroll, `d` deletes your selected reply, `p` loads earlier replies, and `Esc` returns. `Ctrl+/` also lists open Channels you have not joined; Enter joins and opens one. In the Apps view (Channel → Apps), `a` adds a workspace app to the Channel and `x` removes the selected one.
81
+ - **Channel messages**, use `↑`/`↓` in navigation mode to select a message, `t` to open its replies, `r` to react, `y` to copy, `s` to share it into another Channel, `e` to edit and `d` to delete one of your own (Enter or `y` confirms, Esc keeps it). Inside replies, `i` composes, `j`/`k` scroll, `d` deletes your selected reply, `p` loads earlier replies, `Shift+T` titles the thread, `Shift+X` closes it for everyone (asking first, then stopping them, while its Tasks run), `Shift+D` marks it Done for you, and `Esc` returns. The header shows the thread's title and, once closed, who closed it. `Ctrl+/` also lists open Channels you have not joined; Enter joins and opens one. In the Apps view (Channel → Apps), `a` adds a workspace app to the Channel and `x` removes the selected one.
82
82
  - **Interactive prompts (HITL)**, when an agent asks a multi-choice question or requests plan approval, it renders as a widget with option descriptions, number-key shortcuts (1-9), and an "Other" free-text fallback.
83
83
  - **Archive**, press `Shift+A` in any channel to archive it with a confirm prompt. **Shift+R** renames it, **Shift+P** pins it.
84
+ - **Autonomous mode**, press `Shift+O` in a Channel (or Home) to switch its heartbeat on or off: while on, Nebula proactively works toward the Channel's purpose. `nebula-ai channels list` shows it.
85
+ - **Inbox**, the rail's Inbox row lists the threads addressed to you (`!` needs you, `*` unread). `Enter` opens one in its Channel, `d` marks it Done, `Tab` shows Done (where `u` restores), `o` sorts by arrival or latest activity.
86
+ - **Agents**, a Channel's `4` view lists its agents. **Add an agent** puts one of the workspace's on it; **Create an agent** makes a new one of yours (a name and what it's for) and, if you can edit the roster, puts it on this Channel.
87
+ - **Tasks**, a Task started in a thread is named by its number there (`Task 2`) in the Channel's Tasks view.
84
88
  - **Live updates**, Channel messages and board state follow Zero; typing and in-progress activity arrive over LiveKit.
85
89
  - **Start in the composer**, configurable in Settings → CLI & TUI → Preferences. When disabled, chats open in navigation mode; press `i` to start typing.
86
90
 
@@ -92,11 +96,7 @@ When you are not typing:
92
96
 
93
97
  ### Theming
94
98
 
95
- Sixteen base16 color themes ship in the box: `default-dark`, `monokai`, `ocean`, `eighties`, `gruvbox`, `solarized`, `tokyo-night`, `dracula`, `nord`, `onedark`, `catppuccin`, `rose-pine`, `kanagawa`, `everforest`, `night-owl`, `material`. Cycle through them from **Settings → CLI & TUI → Preferences** (press `Enter` on the Theme row), or set a fixed value from the CLI:
96
-
97
- ```sh
98
- npx nebula-ai user config set theme tokyo-night
99
- ```
99
+ Sixteen base16 color themes ship in the box: `default-dark`, `monokai`, `ocean`, `eighties`, `gruvbox`, `solarized`, `tokyo-night`, `dracula`, `nord`, `onedark`, `catppuccin`, `rose-pine`, `kanagawa`, `everforest`, `night-owl`, `material`. Cycle through them from **Settings → CLI & TUI → Preferences** (press `Enter` on the Theme row); the choice is saved between launches.
100
100
 
101
101
  ### Settings
102
102
 
@@ -139,13 +139,14 @@ a calendar, a CRM), hand the work to an agent set up for it, with
139
139
  `tasks create --agent <handle>` or `messages send --agent <handle>`, rather than calling the
140
140
  app from the CLI.
141
141
 
142
- - `channels`: `list`, `create`, `join`, `rename`, `delete`, `archived`, `unarchive`, `purpose`, `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`.
143
- - `tasks`: `list` (`--channel`), `get` (title, Channel, agent, work status), `create <message> --channel <name> --agent <handle>` (starts a Task for that agent and prints its id), `rename`, `stop`, `model`, `read`, `archive`.
144
- - `messages`, every message operation, in a Channel (Home by default, `--channel <name>`) or a Task (`--task <id>`): `send "<text>"` (`--agent <handle>` tags an agent; stdin when the text is omitted), `list`, `replies <id>`, `edit`, `delete`, `react`, `unreact`.
145
- - `agents`: `list`, `get`, `update`, `enable`/`disable`, `remove-toolkit`, `delete`, and `skills list`/`skills detach`.
142
+ - `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`.
143
+ - `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`.
144
+ - `messages`, every message operation, in a Channel (Home by default, `--channel <name>`) or a Task (`--task <id>`): `send "<text>"` (`--agent <handle>` tags an agent; 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).
145
+ - `inbox`: `list` (the threads addressed to you; `--done`, `--sort created|updated`), `done <root-id>`, `restore <root-id>`.
146
+ - `agents`: `list`, `get`, `create <name> -d <description>` (`--model`, `--channel`, `--toolkit <slug>` repeated, `--access`), `update`, `enable`/`disable`, `remove-toolkit`, `delete`, and `skills list`/`skills detach`.
146
147
  - `jobs`: `list`, `get`, `create` (scheduled, `--cron`), `update`, `run`, `pause`, `resume`, `delete`.
147
148
  - `miniapps`: `list`, `get`, `create`, `delete`.
148
- - `skills`: `list`, `save` (a SKILL.md from `--file`), `delete`, at the workspace or personal scope.
149
+ - `skills`: `list`, `save` (a SKILL.md from `--file`; `--command` makes a personal skill one of your `/` commands), `delete`, at the workspace or personal scope.
149
150
  - `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).
150
151
  - `chat`, send a message to an agent (`-a/--agent`, `-t/--task`, `--no-stream`); `chat --resume <task-id>` opens a Task in the TUI.
151
152
  - `open <link>`, resolve a `nebula://open` link and open the TUI on it.
@@ -172,6 +173,25 @@ When `status` is `waiting`, `pending` contains `{kind, title, summary}` (title
172
173
  and summary may be null); otherwise `pending` is null. Failed, waiting, and
173
174
  incomplete chat results still print on stdout before the corresponding exit.
174
175
 
176
+ ### Changelog: Threads, the inbox and agent creation
177
+
178
+ The CLI catches up with what the desktop added to Zero since the entity
179
+ commands moved there.
180
+
181
+ - New: an `inbox` group (`list`, `done`, `restore`), the desktop's Inbox
182
+ and its per-person Done.
183
+ - New: `messages threads|title|close|share`. A thread is addressed by its
184
+ root message's id, which `messages list` prints. `close` refuses while a
185
+ Task in the thread is running unless `--stop` is given.
186
+ - New: `channels heartbeat <channel> <on|off>` switches a Channel's
187
+ autonomous mode; `channels list` prints `heartbeat`.
188
+ - Back: `agents create`, now a Zero mutation (`agent.create`) rather than
189
+ a REST call. It prints the new agent's id.
190
+ - New flag: `skills save --command` / `--no-command` for a personal skill;
191
+ `skills list` prints `is_command` and draws a command as `/name`.
192
+ - New fields: `tasks list|get --json` print `task_number`,
193
+ `thread_root_id`, `waiting_on_user_id` and `created_at`.
194
+
175
195
  ### Changelog: one line for a refused or unknown write
176
196
 
177
197
  - A refused write prints the server's sentence. `chat` no longer prefixes it
package/bin/nebula-ai.js CHANGED
@@ -72,7 +72,6 @@ const STAMPED_DOWNLOAD_BASE_URL = "https://app-assets.nebula.gg/cli/stable";
72
72
  const DOWNLOAD_BASE_URL = process.env["NEBULA_AI_DOWNLOAD_BASE"] ?? STAMPED_DOWNLOAD_BASE_URL;
73
73
  const SUPPORTED_PLATFORMS = new Set([
74
74
  "darwin-arm64",
75
- "darwin-x64",
76
75
  "linux-x64",
77
76
  "linux-arm64",
78
77
  "win32-x64",
@@ -400,7 +399,7 @@ async function main() {
400
399
  process.exit(1);
401
400
  }
402
401
  if (!SUPPORTED_PLATFORMS.has(platformKey)) {
403
- console.error(`nebula-ai: your platform (${platformKey}) is not yet supported.\n` +
402
+ console.error(`nebula-ai: your platform (${platformKey}) is not supported.\n` +
404
403
  `\n` +
405
404
  `Supported platforms: ${[...SUPPORTED_PLATFORMS].join(", ")}.\n` +
406
405
  `\n` +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nebula-ai",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "CLI/TUI for the nebula.gg AI task orchestration platform",
5
5
  "type": "module",
6
6
  "bin": {