@moreai/code 0.1.0-beta.7 → 0.1.0-beta.8
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 +90 -14
- package/dist/THIRD_PARTY_LICENSES.txt +14 -14
- package/dist/daemon.mjs +2176 -1765
- package/dist/locales.dat +0 -0
- package/dist/moreai.mjs +290 -268
- package/npm-shrinkwrap.json +1734 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<img alt="More AI Code exploring a repository, editing a file, writing a test, running it and summarising the change" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
17
|
+
<img alt="More AI Code exploring a repository, editing a file, writing a test, running it and summarising the change" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/session.webp" width="860">
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
More AI Code is an assistant that works in your project from the terminal.
|
|
@@ -126,7 +126,7 @@ to search), then paste an API key, sign in with your subscription, or choose a
|
|
|
126
126
|
local model from Ollama or LM Studio. Keys stay on your machine.
|
|
127
127
|
|
|
128
128
|
<p align="center">
|
|
129
|
-
<img alt="The first launch: a searchable list of AI providers — Anthropic, OpenAI, ChatGPT, Google Gemini, GitHub Copilot, OpenRouter and more" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
129
|
+
<img alt="The first launch: a searchable list of AI providers — Anthropic, OpenAI, ChatGPT, Google Gemini, GitHub Copilot, OpenRouter and more" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/connect.webp" width="760">
|
|
130
130
|
</p>
|
|
131
131
|
|
|
132
132
|
Already have `ANTHROPIC_API_KEY`, `OPENAI_API_KEY` or another provider key in
|
|
@@ -138,7 +138,7 @@ Type the task as you would tell a colleague and press **Enter**. The line under
|
|
|
138
138
|
the prompt shows the access mode, the model and your branch.
|
|
139
139
|
|
|
140
140
|
<p align="center">
|
|
141
|
-
<img alt="A session in a project folder, with the task typed into the prompt" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
141
|
+
<img alt="A session in a project folder, with the task typed into the prompt" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/start.webp" width="760">
|
|
142
142
|
</p>
|
|
143
143
|
|
|
144
144
|
### 3. Follow along and approve what matters
|
|
@@ -153,7 +153,7 @@ once, for the session, always, or deny it. In `auto`, the default, it runs
|
|
|
153
153
|
what it can show is safe and declines the rest.
|
|
154
154
|
|
|
155
155
|
<p align="center">
|
|
156
|
-
<img alt="A permission card asking to run npm test, with the choices Allow once, Allow for this session, Always allow and Deny" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
156
|
+
<img alt="A permission card asking to run npm test, with the choices Allow once, Allow for this session, Always allow and Deny" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/approve.webp" width="760">
|
|
157
157
|
</p>
|
|
158
158
|
|
|
159
159
|
While it works, a message you type goes straight into the running task and is
|
|
@@ -168,14 +168,14 @@ Linux**. It shares this CLI's engine and your account, so a session you start
|
|
|
168
168
|
in the terminal is in the app's **Code** section, and the other way round.
|
|
169
169
|
|
|
170
170
|
<p align="center">
|
|
171
|
-
<a href="https://more-ai.net/download/mac"><img alt="Download for macOS" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
172
|
-
<a href="https://more-ai.net/download/windows"><img alt="Download for Windows" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
173
|
-
<a href="https://more-ai.net/download/linux"><img alt="Download for Linux" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
174
|
-
<a href="https://app.more-ai.net/"><img alt="Open the web app" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
171
|
+
<a href="https://more-ai.net/download/mac"><img alt="Download for macOS" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/download-macos.svg" width="168"></a>
|
|
172
|
+
<a href="https://more-ai.net/download/windows"><img alt="Download for Windows" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/download-windows.svg" width="168"></a>
|
|
173
|
+
<a href="https://more-ai.net/download/linux"><img alt="Download for Linux" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/download-linux.svg" width="168"></a>
|
|
174
|
+
<a href="https://app.more-ai.net/"><img alt="Open the web app" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/open-web-app.svg" width="168"></a>
|
|
175
175
|
</p>
|
|
176
176
|
|
|
177
177
|
<p align="center">
|
|
178
|
-
<img alt="The desktop app's Code section: a session that added retries to an API client, with its plan, the files it changed and a diff panel" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
178
|
+
<img alt="The desktop app's Code section: a session that added retries to an API client, with its plan, the files it changed and a diff panel" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/desktop-code.webp" width="860">
|
|
179
179
|
</p>
|
|
180
180
|
|
|
181
181
|
- **Code** — sessions grouped by folder, every edit as a diff, an embedded
|
|
@@ -194,8 +194,8 @@ in the terminal is in the app's **Code** section, and the other way round.
|
|
|
194
194
|
[app.more-ai.net](https://app.more-ai.net/), on any computer or phone.
|
|
195
195
|
|
|
196
196
|
<p align="center">
|
|
197
|
-
<img alt="Home: the agent reading interview notes in a project folder and updating an outline, with its task list" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
198
|
-
<img alt="Scheduled tasks: a morning brief, a weekly competitor scan and a notes-to-outline task with their schedules and last results" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
197
|
+
<img alt="Home: the agent reading interview notes in a project folder and updating an outline, with its task list" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/desktop-home.webp" width="360">
|
|
198
|
+
<img alt="Scheduled tasks: a morning brief, a weekly competitor scan and a notes-to-outline task with their schedules and last results" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/desktop-scheduled.webp" width="360">
|
|
199
199
|
</p>
|
|
200
200
|
|
|
201
201
|
## Everyday commands
|
|
@@ -220,10 +220,26 @@ moreai doctor # check that everything is ready
|
|
|
220
220
|
|
|
221
221
|
Pick one with **Shift+Tab** in a session or `--mode <mode>` on the command line.
|
|
222
222
|
|
|
223
|
+
## Run installed agents from scripts
|
|
224
|
+
|
|
225
|
+
```sh
|
|
226
|
+
moreai agents run codex --model gpt-6.2-sol --effort medium --json "Inspect the failing tests"
|
|
227
|
+
moreai agents run claude-code --model opus "Explain the recent changes"
|
|
228
|
+
moreai agents run opencode --cwd ./worker "Inspect this workspace"
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
`--effort` accepts `low`, `medium`, `high`, `xhigh`, or `max`. The selected agent and model must support that effort.
|
|
232
|
+
The command returns the answer on stdout. With `--json`, the final `result` event contains the answer in `text`.
|
|
233
|
+
|
|
234
|
+
Each command opens its own Code session through the More AI engine using the
|
|
235
|
+
selected agent's sign-in on that machine. Scripts can start several commands in
|
|
236
|
+
parallel. When a script is launched by an installed agent, its More AI calls
|
|
237
|
+
link to the parent run and inherit its access ceiling. An explicit mode can reduce the access.
|
|
238
|
+
|
|
223
239
|
## Helper agents
|
|
224
240
|
|
|
225
241
|
<p align="center">
|
|
226
|
-
<img alt="Three parallel helper agents researching webhooks, each with its result, then the combined answer" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
242
|
+
<img alt="Three parallel helper agents researching webhooks, each with its result, then the combined answer" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/helpers.webp" width="860">
|
|
227
243
|
</p>
|
|
228
244
|
|
|
229
245
|
For broad questions the agent can start several **helper agents** in
|
|
@@ -264,7 +280,7 @@ your own `gh` / `glab` login; `--finish push|branch|folder` chooses otherwise.
|
|
|
264
280
|
Inside a session, `/cloud` does the same.
|
|
265
281
|
|
|
266
282
|
<p align="center">
|
|
267
|
-
<img alt="The More AI web app at app.more-ai.net, with recent conversations and a scheduled task in the sidebar" src="https://unpkg.com/@moreai/code@0.1.0-beta.
|
|
283
|
+
<img alt="The More AI web app at app.more-ai.net, with recent conversations and a scheduled task in the sidebar" src="https://unpkg.com/@moreai/code@0.1.0-beta.8/media/web-app.webp" width="760">
|
|
268
284
|
</p>
|
|
269
285
|
|
|
270
286
|
## Scripts and pipes
|
|
@@ -337,6 +353,27 @@ emailed code to `moreai login you@example.com --code-stdin`. When a provider
|
|
|
337
353
|
signs in through the browser on a remote machine, the CLI prints the
|
|
338
354
|
`ssh -L` command that forwards the sign-in back to your terminal.
|
|
339
355
|
|
|
356
|
+
## Shared computers (seats)
|
|
357
|
+
|
|
358
|
+
On a shared server, each person can connect their own More AI account and keep
|
|
359
|
+
separate sessions and Claude Code, Codex, or OpenCode sign-ins. Create an
|
|
360
|
+
enrollment link in More AI under **Add machine**, then pass the token on stdin
|
|
361
|
+
to `moreai seat join NAME --token-stdin`. This also installs a background
|
|
362
|
+
service for the seat.
|
|
363
|
+
|
|
364
|
+
- `moreai seat list` shows the owner profile and existing seats.
|
|
365
|
+
- `moreai seat login NAME claude` signs in to Claude Code for that seat. Use
|
|
366
|
+
`codex` or `opencode` for the other agents. Use `seat login` for OpenCode
|
|
367
|
+
even from `seat shell`, since a plain `opencode` uses the OS user’s data home.
|
|
368
|
+
- `moreai --seat NAME doctor` checks a seat. Use `--seat NAME` or
|
|
369
|
+
`MOREAI_SEAT=NAME` with other commands too.
|
|
370
|
+
- `moreai seat remove NAME --yes` disconnects the seat and deletes its local
|
|
371
|
+
sessions, settings, and agent sign-ins.
|
|
372
|
+
|
|
373
|
+
Use `--shared-agents` when joining if the seat should use the OS user's coding
|
|
374
|
+
agent sign-ins. People who share the same OS login can read each other's
|
|
375
|
+
files. Use separate OS logins for file isolation.
|
|
376
|
+
|
|
340
377
|
## How it runs
|
|
341
378
|
|
|
342
379
|
`moreai` starts a small background engine on your machine the first time it
|
|
@@ -350,9 +387,48 @@ Keychain, Windows Credential Manager, or the Secret Service on Linux). A Linux
|
|
|
350
387
|
server without a keyring service stores them in a file only your user can read
|
|
351
388
|
(`~/.config/More AI/secrets.json`), the way most command-line tools keep tokens.
|
|
352
389
|
|
|
390
|
+
## Attach files to a remote Code session
|
|
391
|
+
|
|
392
|
+
Open a Code session hosted on a paired execution machine in the desktop app,
|
|
393
|
+
then drop a file into the message field or use the attachment button. If the
|
|
394
|
+
project runs on a second SSH server, enroll that server and open the session
|
|
395
|
+
there to send files into its workspace. You can send up to four files, up
|
|
396
|
+
to 64 MiB each. A 43.5 MB video fits. The agent receives the verified file in
|
|
397
|
+
its session workspace. The upload can start while the agent is working and
|
|
398
|
+
the message waits until its attachments are ready.
|
|
399
|
+
|
|
400
|
+
To keep file contents off the More AI relay, select a trusted, working SSH
|
|
401
|
+
alias for that machine in Machines settings. Host-key verification and a
|
|
402
|
+
device identity check bind the connection to the chosen machine. Without a
|
|
403
|
+
usable direct connection, the app uses the paired relay. Both paths resume
|
|
404
|
+
from the receiver's saved position after a disconnect. Relay transfers use
|
|
405
|
+
96 KiB chunks, leaving room for encoding and signatures within a 256 KiB
|
|
406
|
+
frame. At the 64 MiB file limit, the relay carries about 85.3 MiB of base64
|
|
407
|
+
per direction plus message headers. A receiving machine reserves up to
|
|
408
|
+
512 MiB for transfers, enough for two full four-file messages. A partial
|
|
409
|
+
transfer expires after 24 hours of inactivity. Keep or reopen the sending app for it to finish queued uploads.
|
|
410
|
+
|
|
411
|
+
## Read a file from another computer
|
|
412
|
+
|
|
413
|
+
A remote Code session runs on the machine you selected. To give its agent a
|
|
414
|
+
text file, enable remote access on the source computer and open **Settings →
|
|
415
|
+
Machines** in the desktop app. Open the destination machine and turn on file
|
|
416
|
+
sharing. Choose one UTF-8 file up to 32 KiB. On your next remote send, the
|
|
417
|
+
agent receives the command for reading that snapshot.
|
|
418
|
+
|
|
419
|
+
To share across accounts, run `moreai remote file-address` on the receiving
|
|
420
|
+
machine. Enter that address in the source computer’s Machines settings, select
|
|
421
|
+
the file, then give the displayed read command to the recipient. The command is
|
|
422
|
+
bound to that account and device. Keep the source online while the recipient
|
|
423
|
+
reads. Replacing the selection or turning sharing off revokes subsequent reads.
|
|
424
|
+
Changes to the original file require a new selection.
|
|
425
|
+
|
|
426
|
+
Both machines connect outbound through the relay. A phone or browser can
|
|
427
|
+
control a session. File selection runs in the desktop app.
|
|
428
|
+
|
|
353
429
|
## Privacy
|
|
354
430
|
|
|
355
|
-
|
|
431
|
+
You choose which files to share with another computer and which tasks to move to the cloud.
|
|
356
432
|
More AI collects usage analytics to find bugs; with AI traces on (the default)
|
|
357
433
|
the content of runs is included so failed runs can be debugged. API keys are
|
|
358
434
|
never sent. The first interactive session asks once; change it any time:
|
|
@@ -3,7 +3,7 @@ is distributed under its own license, reproduced below; those licenses apply
|
|
|
3
3
|
to that component only.
|
|
4
4
|
|
|
5
5
|
------------------------------------------------------------------------------
|
|
6
|
-
@ai-sdk/anthropic 4.0.
|
|
6
|
+
@ai-sdk/anthropic 4.0.68 — Apache-2.0
|
|
7
7
|
|
|
8
8
|
Copyright 2023 Vercel, Inc.
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ See the License for the specific language governing permissions and
|
|
|
20
20
|
limitations under the License.
|
|
21
21
|
|
|
22
22
|
------------------------------------------------------------------------------
|
|
23
|
-
@ai-sdk/code-mode 1.0.
|
|
23
|
+
@ai-sdk/code-mode 1.0.79 — Apache-2.0
|
|
24
24
|
|
|
25
25
|
Copyright 2023 Vercel, Inc.
|
|
26
26
|
|
|
@@ -37,7 +37,7 @@ See the License for the specific language governing permissions and
|
|
|
37
37
|
limitations under the License.
|
|
38
38
|
|
|
39
39
|
------------------------------------------------------------------------------
|
|
40
|
-
@ai-sdk/gateway 4.0.
|
|
40
|
+
@ai-sdk/gateway 4.0.100 — Apache-2.0
|
|
41
41
|
|
|
42
42
|
Copyright 2023 Vercel, Inc.
|
|
43
43
|
|
|
@@ -54,7 +54,7 @@ See the License for the specific language governing permissions and
|
|
|
54
54
|
limitations under the License.
|
|
55
55
|
|
|
56
56
|
------------------------------------------------------------------------------
|
|
57
|
-
@ai-sdk/google 4.0.
|
|
57
|
+
@ai-sdk/google 4.0.85 — Apache-2.0
|
|
58
58
|
|
|
59
59
|
Copyright 2023 Vercel, Inc.
|
|
60
60
|
|
|
@@ -71,7 +71,7 @@ See the License for the specific language governing permissions and
|
|
|
71
71
|
limitations under the License.
|
|
72
72
|
|
|
73
73
|
------------------------------------------------------------------------------
|
|
74
|
-
@ai-sdk/harness 1.0.
|
|
74
|
+
@ai-sdk/harness 1.0.133 — Apache-2.0
|
|
75
75
|
|
|
76
76
|
Copyright 2023 Vercel, Inc.
|
|
77
77
|
|
|
@@ -88,7 +88,7 @@ See the License for the specific language governing permissions and
|
|
|
88
88
|
limitations under the License.
|
|
89
89
|
|
|
90
90
|
------------------------------------------------------------------------------
|
|
91
|
-
@ai-sdk/harness-claude-code 1.0.
|
|
91
|
+
@ai-sdk/harness-claude-code 1.0.137 — Apache-2.0
|
|
92
92
|
|
|
93
93
|
Copyright 2023 Vercel, Inc.
|
|
94
94
|
|
|
@@ -105,7 +105,7 @@ See the License for the specific language governing permissions and
|
|
|
105
105
|
limitations under the License.
|
|
106
106
|
|
|
107
107
|
------------------------------------------------------------------------------
|
|
108
|
-
@ai-sdk/harness-codex 1.0.
|
|
108
|
+
@ai-sdk/harness-codex 1.0.135 — Apache-2.0
|
|
109
109
|
|
|
110
110
|
Copyright 2023 Vercel, Inc.
|
|
111
111
|
|
|
@@ -122,7 +122,7 @@ See the License for the specific language governing permissions and
|
|
|
122
122
|
limitations under the License.
|
|
123
123
|
|
|
124
124
|
------------------------------------------------------------------------------
|
|
125
|
-
@ai-sdk/harness-opencode 1.0.
|
|
125
|
+
@ai-sdk/harness-opencode 1.0.135 — Apache-2.0
|
|
126
126
|
|
|
127
127
|
Copyright 2023 Vercel, Inc.
|
|
128
128
|
|
|
@@ -139,7 +139,7 @@ See the License for the specific language governing permissions and
|
|
|
139
139
|
limitations under the License.
|
|
140
140
|
|
|
141
141
|
------------------------------------------------------------------------------
|
|
142
|
-
@ai-sdk/openai 4.0.
|
|
142
|
+
@ai-sdk/openai 4.0.81 — Apache-2.0
|
|
143
143
|
|
|
144
144
|
Copyright 2023 Vercel, Inc.
|
|
145
145
|
|
|
@@ -156,7 +156,7 @@ See the License for the specific language governing permissions and
|
|
|
156
156
|
limitations under the License.
|
|
157
157
|
|
|
158
158
|
------------------------------------------------------------------------------
|
|
159
|
-
@ai-sdk/openai-compatible 3.0.
|
|
159
|
+
@ai-sdk/openai-compatible 3.0.59 — Apache-2.0
|
|
160
160
|
|
|
161
161
|
Copyright 2023 Vercel, Inc.
|
|
162
162
|
|
|
@@ -173,7 +173,7 @@ See the License for the specific language governing permissions and
|
|
|
173
173
|
limitations under the License.
|
|
174
174
|
|
|
175
175
|
------------------------------------------------------------------------------
|
|
176
|
-
@ai-sdk/provider 4.0.
|
|
176
|
+
@ai-sdk/provider 4.0.19 — Apache-2.0
|
|
177
177
|
|
|
178
178
|
Copyright 2023 Vercel, Inc.
|
|
179
179
|
|
|
@@ -190,7 +190,7 @@ See the License for the specific language governing permissions and
|
|
|
190
190
|
limitations under the License.
|
|
191
191
|
|
|
192
192
|
------------------------------------------------------------------------------
|
|
193
|
-
@ai-sdk/provider-utils 5.0.
|
|
193
|
+
@ai-sdk/provider-utils 5.0.51 — Apache-2.0
|
|
194
194
|
|
|
195
195
|
Licensed under Apache-2.0.
|
|
196
196
|
|
|
@@ -983,7 +983,7 @@ Apache License 2.0
|
|
|
983
983
|
See the LICENSE file in the root of this repository.
|
|
984
984
|
|
|
985
985
|
------------------------------------------------------------------------------
|
|
986
|
-
ai 7.0.
|
|
986
|
+
ai 7.0.122 — Apache-2.0
|
|
987
987
|
|
|
988
988
|
Copyright 2023 Vercel, Inc.
|
|
989
989
|
|
|
@@ -6245,7 +6245,7 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
|
6245
6245
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
6246
6246
|
|
|
6247
6247
|
------------------------------------------------------------------------------
|
|
6248
|
-
run 2.1.
|
|
6248
|
+
run 2.1.13 — Apache-2.0
|
|
6249
6249
|
|
|
6250
6250
|
Copyright 2023 Vercel, Inc.
|
|
6251
6251
|
|