@lmctl-ai/lmctl 0.1.14 → 0.1.16
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/CHANGELOG.md +24 -0
- package/README.md +19 -0
- package/dist/cli/index.js +500 -499
- package/examples/opencode.github-copilot.json +40 -0
- package/package.json +4 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable public-preview changes for `@lmctl-ai/lmctl` are recorded here.
|
|
4
|
+
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
- Added `provider=opencode` model-effort selection with `_MEMBER_ ... model=<id> effort=<variant>`.
|
|
8
|
+
- Chat/MCP path: sends opencode ACP `session/set_config_option` for `model`, then `effort`.
|
|
9
|
+
- Seed path: uses `opencode run --model <id> --variant <effort>`.
|
|
10
|
+
- Added managed opencode provider entries for GitHub Copilot, DeepSeek, and OpenRouter-backed Qwen models.
|
|
11
|
+
- Added `examples/opencode.github-copilot.json` as a copyable opencode provider/variant sample.
|
|
12
|
+
- `lmctl lint` now warns when:
|
|
13
|
+
- `effort=` is used outside `provider=opencode`;
|
|
14
|
+
- opencode `effort=` is set without `model=`;
|
|
15
|
+
- `~/.config/opencode/opencode.json` is missing, while still accepting lmctl-managed model ids.
|
|
16
|
+
|
|
17
|
+
### Provider Effort Support
|
|
18
|
+
|
|
19
|
+
| Provider | `effort=` support |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| `opencode` | Supported through opencode variants. |
|
|
22
|
+
| `claude` | Native CLI has `--effort`, but lmctl has not wired `_MEMBER_ effort=` to Claude yet. |
|
|
23
|
+
| `codex` | Codex exposes effort-like config through native settings; lmctl has not wired `_MEMBER_ effort=` to Codex yet. |
|
|
24
|
+
| `agy` | No verified effort flag in `agy --help`; only `--model` is currently supported by lmctl. |
|
package/README.md
CHANGED
|
@@ -25,10 +25,29 @@ lmctl status
|
|
|
25
25
|
`diagnose`, `init`, `status`, and `db`. Run `lmctl <command> --help` for
|
|
26
26
|
details on each.
|
|
27
27
|
|
|
28
|
+
## Model selection
|
|
29
|
+
|
|
30
|
+
Teamfiles can pin provider models with `_MEMBER_ ... model=<id>`.
|
|
31
|
+
For `provider=opencode`, GitHub Copilot reasoning variants can also be
|
|
32
|
+
selected with `effort=<variant>`, for example:
|
|
33
|
+
|
|
34
|
+
```md
|
|
35
|
+
_MEMBER_ alias=Reviewer provider=opencode model=github-copilot/gpt-5.4 effort=xhigh sessiondir=/repo
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
If `~/.config/opencode/opencode.json` is missing, `lmctl lint` warns and
|
|
39
|
+
points to [`examples/opencode.github-copilot.json`](./examples/opencode.github-copilot.json).
|
|
40
|
+
Copy that file into your opencode config location and adjust it for the
|
|
41
|
+
models your account can access.
|
|
42
|
+
|
|
28
43
|
## Requirements
|
|
29
44
|
|
|
30
45
|
- Node.js >= 20
|
|
31
46
|
|
|
47
|
+
## Changelog
|
|
48
|
+
|
|
49
|
+
See [`CHANGELOG.md`](./CHANGELOG.md).
|
|
50
|
+
|
|
32
51
|
## License
|
|
33
52
|
|
|
34
53
|
Proprietary — free during the public preview. Not licensed for
|