@mtreeai/msapling-cli 2.3.6-beta.50 → 2.3.6-beta.52
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 +13 -7
- package/dist/index.js +15015 -9899
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -61,13 +61,18 @@ Once the REPL is running, type `/help` to see all available slash commands. Comm
|
|
|
61
61
|
| `/login <token>` | Paste an API token from Settings → API Keys |
|
|
62
62
|
| `/logout` | Clear stored token |
|
|
63
63
|
| `/chat <message>` | Send a message and stream a response |
|
|
64
|
-
| `/
|
|
65
|
-
| `/
|
|
64
|
+
| `/chat new <title>` | Create a chat inside the fixed CLI project |
|
|
65
|
+
| `/chat import <chat_id>` | Copy another owned chat into a new CLI chat without mutating the source |
|
|
66
|
+
| `/model` | Open the loopback visual catalog (complete LAB catalog remotely; direct provider catalog standalone) |
|
|
67
|
+
| `/model --terminal` | Use the provider-first terminal selector instead |
|
|
68
|
+
| `/keys add <provider>` | Enter a BYOK key through hidden terminal input or the one-time local browser prompt |
|
|
69
|
+
| `/keys use <provider> [base_url]` | Select OpenRouter or an OpenAI-compatible provider in standalone mode |
|
|
70
|
+
| `/footer [compact|expanded|field on|off]` | Configure telemetry visibility |
|
|
66
71
|
| `/cost` | Show usage and billing data |
|
|
67
72
|
| `/config` | View and edit configuration |
|
|
68
73
|
| `/help` | Show all slash-command help |
|
|
69
74
|
|
|
70
|
-
> **Note:** `chat`, `login`, `
|
|
75
|
+
> **Note:** `chat`, `login`, `model`, `footer`, `cost`, and `config` are REPL slash-commands (prefixed with `/`), not top-level argv subcommands. The CLI is single-chat: fanout/swarm commands are hidden and disabled. Run `msapling --help` to see the argv interface.
|
|
71
76
|
|
|
72
77
|
See `packages/cli/src/commands/index.ts` for the canonical slash-command list.
|
|
73
78
|
|
|
@@ -75,7 +80,7 @@ See `packages/cli/src/commands/index.ts` for the canonical slash-command list.
|
|
|
75
80
|
|
|
76
81
|
|
|
77
82
|
|
|
78
|
-
The CLI
|
|
83
|
+
The installed CLI has explicit remote and standalone profiles. In remote mode, MSapling's backend is the source of truth for auth, projects, chats, model routing, usage, billing, MDrive, locks, and audit data. In `--local` mode, model calls, provider keys, transcripts, tools, and project settings remain local and LAB is not contacted for turns.
|
|
79
84
|
|
|
80
85
|
## Product Direction
|
|
81
86
|
|
|
@@ -83,7 +88,7 @@ MSapling started as a multi-chat browser workspace: multiple AI chats, many mode
|
|
|
83
88
|
|
|
84
89
|
The mobile app extends that shared workspace to one-chat-at-a-time usage and phone-first workflows such as sending a photo into a chat.
|
|
85
90
|
|
|
86
|
-
The CLI
|
|
91
|
+
The CLI uses the same backend state through a fixed project named `CLI` and one active chat at a time. It should be fast, low-resource, and useful without duplicating the backend.
|
|
87
92
|
|
|
88
93
|
## Architecture
|
|
89
94
|
|
|
@@ -96,7 +101,7 @@ CLI /
|
|
|
96
101
|
The CLI should:
|
|
97
102
|
|
|
98
103
|
- authenticate with the backend
|
|
99
|
-
- read
|
|
104
|
+
- read the fixed `CLI` project and active chat from the backend
|
|
100
105
|
- stream chat responses from `/api/chat/message`
|
|
101
106
|
- display backend usage and quota data
|
|
102
107
|
- respect backend stream locks
|
|
@@ -105,7 +110,8 @@ The CLI should:
|
|
|
105
110
|
|
|
106
111
|
The CLI should not:
|
|
107
112
|
|
|
108
|
-
- invent separate chat state
|
|
113
|
+
- invent separate chat state or switch arbitrary web chats
|
|
114
|
+
- expose multi-chat/swarm fanout commands
|
|
109
115
|
- compute billing locally
|
|
110
116
|
- simulate MDrive state
|
|
111
117
|
- bypass backend locks
|