shipwright-cli 1.10.0 → 2.0.0
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 +114 -36
- package/completions/_shipwright +212 -32
- package/completions/shipwright.bash +97 -25
- package/docs/strategy/01-market-research.md +619 -0
- package/docs/strategy/02-mission-and-brand.md +587 -0
- package/docs/strategy/03-gtm-and-roadmap.md +759 -0
- package/docs/strategy/QUICK-START.txt +289 -0
- package/docs/strategy/README.md +172 -0
- package/package.json +4 -2
- package/scripts/sw +208 -1
- package/scripts/sw-activity.sh +500 -0
- package/scripts/sw-adaptive.sh +925 -0
- package/scripts/sw-adversarial.sh +1 -1
- package/scripts/sw-architecture-enforcer.sh +1 -1
- package/scripts/sw-auth.sh +613 -0
- package/scripts/sw-autonomous.sh +664 -0
- package/scripts/sw-changelog.sh +704 -0
- package/scripts/sw-checkpoint.sh +1 -1
- package/scripts/sw-ci.sh +602 -0
- package/scripts/sw-cleanup.sh +1 -1
- package/scripts/sw-code-review.sh +637 -0
- package/scripts/sw-connect.sh +1 -1
- package/scripts/sw-context.sh +605 -0
- package/scripts/sw-cost.sh +1 -1
- package/scripts/sw-daemon.sh +432 -130
- package/scripts/sw-dashboard.sh +1 -1
- package/scripts/sw-db.sh +540 -0
- package/scripts/sw-decompose.sh +539 -0
- package/scripts/sw-deps.sh +551 -0
- package/scripts/sw-developer-simulation.sh +1 -1
- package/scripts/sw-discovery.sh +412 -0
- package/scripts/sw-docs-agent.sh +539 -0
- package/scripts/sw-docs.sh +1 -1
- package/scripts/sw-doctor.sh +59 -1
- package/scripts/sw-dora.sh +615 -0
- package/scripts/sw-durable.sh +710 -0
- package/scripts/sw-e2e-orchestrator.sh +535 -0
- package/scripts/sw-eventbus.sh +393 -0
- package/scripts/sw-feedback.sh +471 -0
- package/scripts/sw-fix.sh +1 -1
- package/scripts/sw-fleet-discover.sh +567 -0
- package/scripts/sw-fleet-viz.sh +404 -0
- package/scripts/sw-fleet.sh +8 -1
- package/scripts/sw-github-app.sh +596 -0
- package/scripts/sw-github-checks.sh +1 -1
- package/scripts/sw-github-deploy.sh +1 -1
- package/scripts/sw-github-graphql.sh +1 -1
- package/scripts/sw-guild.sh +569 -0
- package/scripts/sw-heartbeat.sh +1 -1
- package/scripts/sw-hygiene.sh +559 -0
- package/scripts/sw-incident.sh +617 -0
- package/scripts/sw-init.sh +88 -1
- package/scripts/sw-instrument.sh +699 -0
- package/scripts/sw-intelligence.sh +1 -1
- package/scripts/sw-jira.sh +1 -1
- package/scripts/sw-launchd.sh +363 -28
- package/scripts/sw-linear.sh +1 -1
- package/scripts/sw-logs.sh +1 -1
- package/scripts/sw-loop.sh +64 -3
- package/scripts/sw-memory.sh +1 -1
- package/scripts/sw-mission-control.sh +487 -0
- package/scripts/sw-model-router.sh +545 -0
- package/scripts/sw-otel.sh +596 -0
- package/scripts/sw-oversight.sh +689 -0
- package/scripts/sw-pipeline-composer.sh +1 -1
- package/scripts/sw-pipeline-vitals.sh +1 -1
- package/scripts/sw-pipeline.sh +687 -24
- package/scripts/sw-pm.sh +693 -0
- package/scripts/sw-pr-lifecycle.sh +522 -0
- package/scripts/sw-predictive.sh +1 -1
- package/scripts/sw-prep.sh +1 -1
- package/scripts/sw-ps.sh +1 -1
- package/scripts/sw-public-dashboard.sh +798 -0
- package/scripts/sw-quality.sh +595 -0
- package/scripts/sw-reaper.sh +1 -1
- package/scripts/sw-recruit.sh +573 -0
- package/scripts/sw-regression.sh +642 -0
- package/scripts/sw-release-manager.sh +736 -0
- package/scripts/sw-release.sh +706 -0
- package/scripts/sw-remote.sh +1 -1
- package/scripts/sw-replay.sh +520 -0
- package/scripts/sw-retro.sh +691 -0
- package/scripts/sw-scale.sh +444 -0
- package/scripts/sw-security-audit.sh +505 -0
- package/scripts/sw-self-optimize.sh +1 -1
- package/scripts/sw-session.sh +1 -1
- package/scripts/sw-setup.sh +1 -1
- package/scripts/sw-standup.sh +712 -0
- package/scripts/sw-status.sh +1 -1
- package/scripts/sw-strategic.sh +658 -0
- package/scripts/sw-stream.sh +450 -0
- package/scripts/sw-swarm.sh +583 -0
- package/scripts/sw-team-stages.sh +511 -0
- package/scripts/sw-templates.sh +1 -1
- package/scripts/sw-testgen.sh +515 -0
- package/scripts/sw-tmux-pipeline.sh +554 -0
- package/scripts/sw-tmux.sh +1 -1
- package/scripts/sw-trace.sh +485 -0
- package/scripts/sw-tracker-github.sh +188 -0
- package/scripts/sw-tracker-jira.sh +172 -0
- package/scripts/sw-tracker-linear.sh +251 -0
- package/scripts/sw-tracker.sh +117 -2
- package/scripts/sw-triage.sh +603 -0
- package/scripts/sw-upgrade.sh +1 -1
- package/scripts/sw-ux.sh +677 -0
- package/scripts/sw-webhook.sh +627 -0
- package/scripts/sw-widgets.sh +530 -0
- package/scripts/sw-worktree.sh +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# ╔═══════════════════════════════════════════════════════════════════════════╗
|
|
3
3
|
# ║ Shipwright — Bash tab completions ║
|
|
4
|
+
# ║ Auto-install to ~/.local/share/bash-completion/completions/ during init║
|
|
4
5
|
# ╚═══════════════════════════════════════════════════════════════════════════╝
|
|
5
|
-
# Source this file or place it in /usr/local/etc/bash_completion.d/
|
|
6
6
|
|
|
7
7
|
_shipwright_completions() {
|
|
8
8
|
local cur prev
|
|
@@ -10,7 +10,7 @@ _shipwright_completions() {
|
|
|
10
10
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
11
11
|
|
|
12
12
|
# Top-level commands
|
|
13
|
-
local commands="session status ps logs templates doctor cleanup reaper upgrade loop pipeline worktree prep daemon memory cost
|
|
13
|
+
local commands="init setup session status ps logs templates doctor cleanup reaper upgrade loop pipeline worktree prep daemon fleet memory cost db fix dashboard jira linear tracker heartbeat checkpoint webhook decompose connect remote launchd intelligence optimize predict adversarial simulate architecture vitals docs tmux github checks deploys pr context help version"
|
|
14
14
|
|
|
15
15
|
case "$prev" in
|
|
16
16
|
shipwright|sw|cct)
|
|
@@ -18,47 +18,87 @@ _shipwright_completions() {
|
|
|
18
18
|
return 0
|
|
19
19
|
;;
|
|
20
20
|
pipeline)
|
|
21
|
-
COMPREPLY=( $(compgen -W "start resume status
|
|
21
|
+
COMPREPLY=( $(compgen -W "start resume status test" -- "$cur") )
|
|
22
22
|
return 0
|
|
23
23
|
;;
|
|
24
24
|
daemon)
|
|
25
|
-
COMPREPLY=( $(compgen -W "start stop status metrics
|
|
25
|
+
COMPREPLY=( $(compgen -W "start stop status metrics test" -- "$cur") )
|
|
26
|
+
return 0
|
|
27
|
+
;;
|
|
28
|
+
fleet)
|
|
29
|
+
COMPREPLY=( $(compgen -W "start stop status metrics test" -- "$cur") )
|
|
26
30
|
return 0
|
|
27
31
|
;;
|
|
28
32
|
memory)
|
|
29
|
-
COMPREPLY=( $(compgen -W "show search
|
|
33
|
+
COMPREPLY=( $(compgen -W "show search stats" -- "$cur") )
|
|
30
34
|
return 0
|
|
31
35
|
;;
|
|
32
36
|
cost)
|
|
33
|
-
COMPREPLY=( $(compgen -W "show budget
|
|
37
|
+
COMPREPLY=( $(compgen -W "show budget" -- "$cur") )
|
|
34
38
|
return 0
|
|
35
39
|
;;
|
|
36
40
|
templates)
|
|
37
41
|
COMPREPLY=( $(compgen -W "list show" -- "$cur") )
|
|
38
42
|
return 0
|
|
39
43
|
;;
|
|
40
|
-
|
|
41
|
-
COMPREPLY=( $(compgen -W "
|
|
44
|
+
worktree)
|
|
45
|
+
COMPREPLY=( $(compgen -W "create list remove" -- "$cur") )
|
|
46
|
+
return 0
|
|
47
|
+
;;
|
|
48
|
+
tracker)
|
|
49
|
+
COMPREPLY=( $(compgen -W "init status sync test" -- "$cur") )
|
|
50
|
+
return 0
|
|
51
|
+
;;
|
|
52
|
+
heartbeat)
|
|
53
|
+
COMPREPLY=( $(compgen -W "write check list clear" -- "$cur") )
|
|
54
|
+
return 0
|
|
55
|
+
;;
|
|
56
|
+
checkpoint)
|
|
57
|
+
COMPREPLY=( $(compgen -W "save restore list delete" -- "$cur") )
|
|
58
|
+
return 0
|
|
59
|
+
;;
|
|
60
|
+
connect)
|
|
61
|
+
COMPREPLY=( $(compgen -W "start stop join status" -- "$cur") )
|
|
62
|
+
return 0
|
|
63
|
+
;;
|
|
64
|
+
remote)
|
|
65
|
+
COMPREPLY=( $(compgen -W "list add remove status test" -- "$cur") )
|
|
66
|
+
return 0
|
|
67
|
+
;;
|
|
68
|
+
launchd)
|
|
69
|
+
COMPREPLY=( $(compgen -W "install uninstall status test" -- "$cur") )
|
|
70
|
+
return 0
|
|
71
|
+
;;
|
|
72
|
+
dashboard)
|
|
73
|
+
COMPREPLY=( $(compgen -W "start stop status" -- "$cur") )
|
|
74
|
+
return 0
|
|
75
|
+
;;
|
|
76
|
+
github)
|
|
77
|
+
COMPREPLY=( $(compgen -W "context security blame" -- "$cur") )
|
|
78
|
+
return 0
|
|
79
|
+
;;
|
|
80
|
+
checks)
|
|
81
|
+
COMPREPLY=( $(compgen -W "list status test" -- "$cur") )
|
|
42
82
|
return 0
|
|
43
83
|
;;
|
|
44
|
-
|
|
45
|
-
COMPREPLY=( $(compgen -W "
|
|
84
|
+
deploys)
|
|
85
|
+
COMPREPLY=( $(compgen -W "list status test" -- "$cur") )
|
|
46
86
|
return 0
|
|
47
87
|
;;
|
|
48
|
-
|
|
49
|
-
COMPREPLY=( $(compgen -W "
|
|
88
|
+
docs)
|
|
89
|
+
COMPREPLY=( $(compgen -W "check sync wiki report test" -- "$cur") )
|
|
50
90
|
return 0
|
|
51
91
|
;;
|
|
52
|
-
|
|
53
|
-
COMPREPLY=( $(compgen -W "
|
|
92
|
+
tmux)
|
|
93
|
+
COMPREPLY=( $(compgen -W "doctor install fix reload test" -- "$cur") )
|
|
54
94
|
return 0
|
|
55
95
|
;;
|
|
56
|
-
|
|
57
|
-
COMPREPLY=( $(compgen -W "
|
|
96
|
+
decompose)
|
|
97
|
+
COMPREPLY=( $(compgen -W "analyze create-subtasks" -- "$cur") )
|
|
58
98
|
return 0
|
|
59
99
|
;;
|
|
60
|
-
|
|
61
|
-
COMPREPLY=( $(compgen -W "
|
|
100
|
+
pr)
|
|
101
|
+
COMPREPLY=( $(compgen -W "review merge cleanup feedback" -- "$cur") )
|
|
62
102
|
return 0
|
|
63
103
|
;;
|
|
64
104
|
budget)
|
|
@@ -70,13 +110,45 @@ _shipwright_completions() {
|
|
|
70
110
|
# Flags for subcommands already handled above; fall back to commands
|
|
71
111
|
if [[ "$cur" == -* ]]; then
|
|
72
112
|
case "${COMP_WORDS[1]}" in
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
113
|
+
pipeline)
|
|
114
|
+
COMPREPLY=( $(compgen -W "--issue --goal --worktree --template --skip-gates" -- "$cur") )
|
|
115
|
+
;;
|
|
116
|
+
prep)
|
|
117
|
+
COMPREPLY=( $(compgen -W "--check --with-claude --verbose" -- "$cur") )
|
|
118
|
+
;;
|
|
119
|
+
loop)
|
|
120
|
+
COMPREPLY=( $(compgen -W "--test-cmd --max-iterations --model --agents --audit --audit-agent --quality-gates --definition-of-done --resume --skip-permissions" -- "$cur") )
|
|
121
|
+
;;
|
|
122
|
+
fix)
|
|
123
|
+
COMPREPLY=( $(compgen -W "--repos" -- "$cur") )
|
|
124
|
+
;;
|
|
125
|
+
logs)
|
|
126
|
+
COMPREPLY=( $(compgen -W "--follow --lines --grep" -- "$cur") )
|
|
127
|
+
;;
|
|
128
|
+
cleanup)
|
|
129
|
+
COMPREPLY=( $(compgen -W "--force" -- "$cur") )
|
|
130
|
+
;;
|
|
131
|
+
upgrade)
|
|
132
|
+
COMPREPLY=( $(compgen -W "--apply" -- "$cur") )
|
|
133
|
+
;;
|
|
134
|
+
reaper)
|
|
135
|
+
COMPREPLY=( $(compgen -W "--watch" -- "$cur") )
|
|
136
|
+
;;
|
|
137
|
+
status)
|
|
138
|
+
COMPREPLY=( $(compgen -W "--json" -- "$cur") )
|
|
139
|
+
;;
|
|
140
|
+
doctor)
|
|
141
|
+
COMPREPLY=( $(compgen -W "--json" -- "$cur") )
|
|
142
|
+
;;
|
|
143
|
+
remote)
|
|
144
|
+
COMPREPLY=( $(compgen -W "--host --port --key --user" -- "$cur") )
|
|
145
|
+
;;
|
|
146
|
+
connect)
|
|
147
|
+
COMPREPLY=( $(compgen -W "--token" -- "$cur") )
|
|
148
|
+
;;
|
|
149
|
+
cost)
|
|
150
|
+
COMPREPLY=( $(compgen -W "--period --json --by-stage" -- "$cur") )
|
|
151
|
+
;;
|
|
80
152
|
esac
|
|
81
153
|
return 0
|
|
82
154
|
fi
|