@lmctl-ai/lmctl 0.1.214 → 0.1.216
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/dist/cli/index.js +545 -541
- package/durable-memory/model_selection.md +40 -0
- package/package.json +1 -1
|
@@ -13,6 +13,14 @@ For `.lmctl` teamfile compatibility mode:
|
|
|
13
13
|
opens a short-lived ACP session and asks opencode itself to validate
|
|
14
14
|
`model=` and `effort=`. It never sends a prompt. See the `## OpenCode`
|
|
15
15
|
section below.
|
|
16
|
+
- `kimi` model validation reads configured aliases from
|
|
17
|
+
`$KIMI_CODE_HOME/config.toml` (default `~/.kimi-code/config.toml`) and
|
|
18
|
+
WARNS (never injects) when `model=` isn't one of the declared
|
|
19
|
+
`[models.<alias>]` table names, or when the config file itself is
|
|
20
|
+
missing/unreadable. Same rationale as opencode: kimi model aliases are
|
|
21
|
+
user-defined, not a fixed vendor catalog, so a hardcoded list in this
|
|
22
|
+
doc would be wrong for every user whose aliases differ. See the
|
|
23
|
+
`## Kimi` section below.
|
|
16
24
|
- `copilot` accepts `model=` syntactically, but model selection is not
|
|
17
25
|
supported and lint warns that the value is ignored.
|
|
18
26
|
- `lmctl seed <teamfile>` passes `model=` through to the provider seed
|
|
@@ -138,11 +146,43 @@ Example:
|
|
|
138
146
|
_MEMBER_ alias=Reviewer provider=opencode model=github-copilot/gpt-5.4 effort=xhigh sessionid=<seeded-id>
|
|
139
147
|
```
|
|
140
148
|
|
|
149
|
+
## Kimi
|
|
150
|
+
|
|
151
|
+
Kimi (Moonshot AI's Kimi Code CLI) speaks ACP, same transport family as opencode/
|
|
152
|
+
gemini/copilot. `model=` values are **user-defined aliases** declared in
|
|
153
|
+
`$KIMI_CODE_HOME/config.toml` under `[models.<alias>]` table headers (e.g.
|
|
154
|
+
`[models."kimi-code/k3"]`), not a fixed vendor catalog — same shape as opencode,
|
|
155
|
+
not claude/codex. `lmctl` does not manage this file; it only reads it to validate
|
|
156
|
+
`model=` at lint/seed time and warns (never injects) when the config is missing
|
|
157
|
+
or the alias isn't declared.
|
|
158
|
+
|
|
159
|
+
Kimi's ACP mode defaults to permission-**prompting** (unlike every argv-YOLO or
|
|
160
|
+
config-file-YOLO provider). lmctl forces it into full-auto via an ACP protocol
|
|
161
|
+
call (`session/set_config_option`, `configId: "mode"`, `value: "auto"`) sent
|
|
162
|
+
after `session/new`/`session/load` and before the first `session/prompt` —
|
|
163
|
+
fail-closed: if that call is rejected, lmctl throws rather than proceeding, on
|
|
164
|
+
both the one-shot transport (`src/providers/transports/acp.ts`) and the
|
|
165
|
+
persistent `lmctl serve`/daemon path (`src/serve/persistent-adapters.ts`). See
|
|
166
|
+
`src/providers/yolo-contract.ts`'s `PROTOCOL_LEVEL_YOLO` set for the contract.
|
|
167
|
+
|
|
168
|
+
Kimi 0.28.x exposes `thinking` through ACP only as an `on`/`off` toggle.
|
|
169
|
+
Turning it on selects the current model alias's `default_effort` from
|
|
170
|
+
`config.toml`; it does not accept a session-level effort value. Choose or
|
|
171
|
+
define a different model alias when a different default effort is required.
|
|
172
|
+
Accordingly, lmctl warns that `_MEMBER_ effort=` is ignored for Kimi.
|
|
173
|
+
|
|
174
|
+
Example:
|
|
175
|
+
|
|
176
|
+
```md
|
|
177
|
+
_MEMBER_ alias=Reviewer provider=kimi model="kimi-code/k3" sessionid=<seeded-id>
|
|
178
|
+
```
|
|
179
|
+
|
|
141
180
|
`effort=` support by provider:
|
|
142
181
|
|
|
143
182
|
| Provider | Status |
|
|
144
183
|
| --- | --- |
|
|
145
184
|
| `opencode` | Supported (via the model's declared `variants` in opencode.json). |
|
|
185
|
+
| `kimi` | Not supported on the Kimi 0.28.x baseline; effort is fixed by the selected model alias's `default_effort`. |
|
|
146
186
|
| `claude` | Claude Code has native `--effort`, but lmctl has not wired `_MEMBER_ effort=` to Claude yet. |
|
|
147
187
|
| `codex` | Native effort surfaces exist; lmctl has not wired `_MEMBER_ effort=` to Codex yet. |
|
|
148
188
|
| `agy` | No verified effort flag; only `--model` supported. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.216",
|
|
4
4
|
"description": "A provider-agnostic control plane for teams of AI coding agents — across providers, with independent review and durable memory.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://lmctl.com",
|