@lmctl-ai/lmctl 0.1.48 → 0.1.50
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 +12 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2046,13 +2046,21 @@ Examples:
|
|
|
2046
2046
|
`),e.stderr.write(`usage: lmctl plan [options] <directory>
|
|
2047
2047
|
`),2;if(r.positionals.length!==1)return e.stderr.write(`usage: lmctl plan [options] <directory>
|
|
2048
2048
|
`),2;let n=OU(r.positionals[0]);jU(n,{recursive:!0});let s=$(r,"--team")??IS(n),o=$(r,"--provider")??"claude",i=RU(n,MU(s));return $U(i)?(e.stderr.write(`error: ${i} already exists.
|
|
2049
|
-
`),1):(AU(i,PU({teamName:DU(s),workdir:n,leadProvider:o}),"utf8"),e.stdout.write(`Created ${i}
|
|
2049
|
+
`),1):(AU(i,PU({teamName:DU(s),workdir:n,teamfilePath:i,leadProvider:o}),"utf8"),e.stdout.write(`Created ${i}
|
|
2050
2050
|
`),e.stdout.write(`Edit ${i}; only _MEMBER_ lines are parsed, everything else is free-form.
|
|
2051
2051
|
`),e.stdout.write(`After editing, run: lmctl lint ${i}
|
|
2052
2052
|
`),e.stdout.write(`Then run: lmctl seed ${i}
|
|
2053
|
-
`),0)}function MU(t){return NS(t)?t:`${t}.lmctl`}function DU(t){let e=NS(t);return e?IS(t,e):t}function PU(t){let{teamName:e,leadProvider:
|
|
2053
|
+
`),0)}function MU(t){return NS(t)?t:`${t}.lmctl`}function DU(t){let e=NS(t);return e?IS(t,e):t}function PU(t){let{teamName:e,teamfilePath:r,leadProvider:n}=t;return`# ${e}
|
|
2054
2054
|
|
|
2055
2055
|
# Lead, you take tasks from the operator. Clarify only when needed,
|
|
2056
|
+
# then first use lmctl_chat to ping each of your members with a one-line
|
|
2057
|
+
# "reply OK" to confirm the delegation channel works; then proceed with
|
|
2058
|
+
# the task.
|
|
2059
|
+
# How to delegate to a member (two equivalent ways - the CLI never needs a tool search):
|
|
2060
|
+
# MCP tool: lmctl_chat(team="${r}", alias="Coder", prompt="your task")
|
|
2061
|
+
# CLI shell: lmctl chat "${r}" Coder "your task"
|
|
2062
|
+
# Warmup/connectivity check first: lmctl chat "${r}" Coder "reply OK"
|
|
2063
|
+
# If the lmctl_chat tool isn't immediately available in your session, just use the CLI form.
|
|
2056
2064
|
# delegate implementation to Coder, and send completed work to
|
|
2057
2065
|
# Reviewer1 for review.
|
|
2058
2066
|
# If Reviewer1 finds issues, send the work back to Coder for repair
|
|
@@ -2066,13 +2074,13 @@ Examples:
|
|
|
2066
2074
|
# reviews disagree in a way you cannot resolve, or the right technical
|
|
2067
2075
|
# decision is not obvious.
|
|
2068
2076
|
|
|
2069
|
-
_MEMBER_ alias=Lead provider=${
|
|
2077
|
+
_MEMBER_ alias=Lead provider=${n}
|
|
2070
2078
|
|
|
2071
2079
|
# members
|
|
2072
2080
|
_MEMBER_ alias=Coder provider=codex
|
|
2073
2081
|
|
|
2074
2082
|
_MEMBER_ alias=Reviewer1 provider=codex
|
|
2075
|
-
_MEMBER_ alias=Reviewer2 provider=${
|
|
2083
|
+
_MEMBER_ alias=Reviewer2 provider=${n}
|
|
2076
2084
|
_MEMBER_ alias=Reviewer3 provider=agy
|
|
2077
2085
|
|
|
2078
2086
|
# durable-memory/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
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",
|