worktree-bay 2.3.6 → 2.3.7
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.
|
@@ -19,6 +19,8 @@ export function complete(cfg, words) {
|
|
|
19
19
|
return Object.values(readLabels(cfg));
|
|
20
20
|
if (['add', 'run', 'sh', 'path'].includes(sub) && pos === 2)
|
|
21
21
|
return Object.keys(cfg.services);
|
|
22
|
+
if (sub === 'run' && pos === 3)
|
|
23
|
+
return Object.keys(cfg.services[prev[2]]?.run ?? {}); // run <feature> <service> <name>:补该服务的 run 命令名
|
|
22
24
|
if (sub === 'up' && pos >= 2)
|
|
23
25
|
return Object.keys(cfg.services); // up 接变长服务列表
|
|
24
26
|
return [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worktree-bay",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.7",
|
|
4
4
|
"description": "Per-feature git worktree + port slots for parallel multi-service development: auto deps, env wiring, frontend-to-backend, merge-aware reclaim, plus an MCP server for AI agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|