@mobiman/vector 1.1.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/LICENSE +21 -0
- package/README.md +117 -0
- package/agents/vector-codebase-mapper.md +770 -0
- package/agents/vector-debugger.md +1338 -0
- package/agents/vector-executor.md +487 -0
- package/agents/vector-integration-checker.md +443 -0
- package/agents/vector-nyquist-auditor.md +176 -0
- package/agents/vector-phase-researcher.md +553 -0
- package/agents/vector-plan-checker.md +706 -0
- package/agents/vector-planner.md +1307 -0
- package/agents/vector-project-researcher.md +629 -0
- package/agents/vector-research-synthesizer.md +247 -0
- package/agents/vector-roadmapper.md +650 -0
- package/agents/vector-ui-auditor.md +439 -0
- package/agents/vector-ui-checker.md +300 -0
- package/agents/vector-ui-researcher.md +353 -0
- package/agents/vector-verifier.md +579 -0
- package/bin/install.cjs +2907 -0
- package/bin/install.cjs.map +1 -0
- package/bin/install.cts +3103 -0
- package/bin/install.d.cts +3 -0
- package/bin/install.d.cts.map +1 -0
- package/commands/vector/add-phase.md +43 -0
- package/commands/vector/add-tests.md +41 -0
- package/commands/vector/add-todo.md +47 -0
- package/commands/vector/audit-milestone.md +36 -0
- package/commands/vector/autonomous.md +41 -0
- package/commands/vector/check-todos.md +45 -0
- package/commands/vector/cleanup.md +18 -0
- package/commands/vector/complete-milestone.md +136 -0
- package/commands/vector/debug.md +168 -0
- package/commands/vector/discuss-phase.md +90 -0
- package/commands/vector/do.md +30 -0
- package/commands/vector/execute-phase.md +41 -0
- package/commands/vector/health.md +22 -0
- package/commands/vector/help.md +22 -0
- package/commands/vector/insert-phase.md +32 -0
- package/commands/vector/join-discord.md +18 -0
- package/commands/vector/list-phase-assumptions.md +46 -0
- package/commands/vector/map-codebase.md +71 -0
- package/commands/vector/new-milestone.md +44 -0
- package/commands/vector/new-project.md +42 -0
- package/commands/vector/pause-work.md +38 -0
- package/commands/vector/plan-milestone-gaps.md +34 -0
- package/commands/vector/plan-phase.md +45 -0
- package/commands/vector/progress.md +24 -0
- package/commands/vector/quick.md +47 -0
- package/commands/vector/reapply-patches.md +123 -0
- package/commands/vector/remove-phase.md +31 -0
- package/commands/vector/research-phase.md +190 -0
- package/commands/vector/resume-work.md +40 -0
- package/commands/vector/set-profile.md +12 -0
- package/commands/vector/settings.md +36 -0
- package/commands/vector/stats.md +18 -0
- package/commands/vector/ui-phase.md +34 -0
- package/commands/vector/ui-review.md +32 -0
- package/commands/vector/update.md +37 -0
- package/commands/vector/validate-phase.md +35 -0
- package/commands/vector/verify-work.md +38 -0
- package/core/bin/lib/commands.cjs +641 -0
- package/core/bin/lib/commands.cjs.map +1 -0
- package/core/bin/lib/commands.cts +712 -0
- package/core/bin/lib/commands.d.cts +23 -0
- package/core/bin/lib/commands.d.cts.map +1 -0
- package/core/bin/lib/config.cjs +281 -0
- package/core/bin/lib/config.cjs.map +1 -0
- package/core/bin/lib/config.cts +301 -0
- package/core/bin/lib/config.d.cts +50 -0
- package/core/bin/lib/config.d.cts.map +1 -0
- package/core/bin/lib/core.cjs +483 -0
- package/core/bin/lib/core.cjs.map +1 -0
- package/core/bin/lib/core.cts +544 -0
- package/core/bin/lib/core.d.cts +96 -0
- package/core/bin/lib/core.d.cts.map +1 -0
- package/core/bin/lib/frontmatter.cjs +341 -0
- package/core/bin/lib/frontmatter.cjs.map +1 -0
- package/core/bin/lib/frontmatter.cts +295 -0
- package/core/bin/lib/frontmatter.d.cts +18 -0
- package/core/bin/lib/frontmatter.d.cts.map +1 -0
- package/core/bin/lib/init.cjs +674 -0
- package/core/bin/lib/init.cjs.map +1 -0
- package/core/bin/lib/init.cts +775 -0
- package/core/bin/lib/init.d.cts +16 -0
- package/core/bin/lib/init.d.cts.map +1 -0
- package/core/bin/lib/milestone.cjs +210 -0
- package/core/bin/lib/milestone.cjs.map +1 -0
- package/core/bin/lib/milestone.cts +241 -0
- package/core/bin/lib/milestone.d.cts +11 -0
- package/core/bin/lib/milestone.d.cts.map +1 -0
- package/core/bin/lib/model-profiles.cjs +62 -0
- package/core/bin/lib/model-profiles.cjs.map +1 -0
- package/core/bin/lib/model-profiles.cts +66 -0
- package/core/bin/lib/model-profiles.d.cts +33 -0
- package/core/bin/lib/model-profiles.d.cts.map +1 -0
- package/core/bin/lib/phase.cjs +713 -0
- package/core/bin/lib/phase.cjs.map +1 -0
- package/core/bin/lib/phase.cts +914 -0
- package/core/bin/lib/phase.d.cts +21 -0
- package/core/bin/lib/phase.d.cts.map +1 -0
- package/core/bin/lib/roadmap.cjs +246 -0
- package/core/bin/lib/roadmap.cjs.map +1 -0
- package/core/bin/lib/roadmap.cts +311 -0
- package/core/bin/lib/roadmap.d.cts +7 -0
- package/core/bin/lib/roadmap.d.cts.map +1 -0
- package/core/bin/lib/state.cjs +709 -0
- package/core/bin/lib/state.cjs.map +1 -0
- package/core/bin/lib/state.cts +718 -0
- package/core/bin/lib/state.d.cts +47 -0
- package/core/bin/lib/state.d.cts.map +1 -0
- package/core/bin/lib/template.cjs +220 -0
- package/core/bin/lib/template.cjs.map +1 -0
- package/core/bin/lib/template.cts +229 -0
- package/core/bin/lib/template.d.cts +15 -0
- package/core/bin/lib/template.d.cts.map +1 -0
- package/core/bin/lib/verify.cjs +824 -0
- package/core/bin/lib/verify.cjs.map +1 -0
- package/core/bin/lib/verify.cts +829 -0
- package/core/bin/lib/verify.d.cts +17 -0
- package/core/bin/lib/verify.d.cts.map +1 -0
- package/core/bin/vector-tools.cjs +641 -0
- package/core/bin/vector-tools.cjs.map +1 -0
- package/core/bin/vector-tools.cts +603 -0
- package/core/bin/vector-tools.d.cts +128 -0
- package/core/bin/vector-tools.d.cts.map +1 -0
- package/core/references/checkpoints.md +776 -0
- package/core/references/continuation-format.md +249 -0
- package/core/references/decimal-phase-calculation.md +65 -0
- package/core/references/git-integration.md +248 -0
- package/core/references/git-planning-commit.md +38 -0
- package/core/references/model-profile-resolution.md +36 -0
- package/core/references/model-profiles.md +101 -0
- package/core/references/phase-argument-parsing.md +61 -0
- package/core/references/planning-config.md +200 -0
- package/core/references/questioning.md +162 -0
- package/core/references/tdd.md +263 -0
- package/core/references/ui-brand.md +160 -0
- package/core/references/verification-patterns.md +612 -0
- package/core/templates/DEBUG.md +164 -0
- package/core/templates/UAT.md +247 -0
- package/core/templates/UI-SPEC.md +100 -0
- package/core/templates/VALIDATION.md +76 -0
- package/core/templates/codebase/architecture.md +255 -0
- package/core/templates/codebase/concerns.md +310 -0
- package/core/templates/codebase/conventions.md +307 -0
- package/core/templates/codebase/integrations.md +280 -0
- package/core/templates/codebase/stack.md +186 -0
- package/core/templates/codebase/structure.md +285 -0
- package/core/templates/codebase/testing.md +480 -0
- package/core/templates/config.json +37 -0
- package/core/templates/context.md +352 -0
- package/core/templates/continue-here.md +78 -0
- package/core/templates/copilot-instructions.md +7 -0
- package/core/templates/debug-subagent-prompt.md +91 -0
- package/core/templates/discovery.md +146 -0
- package/core/templates/milestone-archive.md +123 -0
- package/core/templates/milestone.md +115 -0
- package/core/templates/phase-prompt.md +610 -0
- package/core/templates/planner-subagent-prompt.md +117 -0
- package/core/templates/project.md +184 -0
- package/core/templates/requirements.md +231 -0
- package/core/templates/research-project/ARCHITECTURE.md +204 -0
- package/core/templates/research-project/FEATURES.md +147 -0
- package/core/templates/research-project/PITFALLS.md +200 -0
- package/core/templates/research-project/STACK.md +120 -0
- package/core/templates/research-project/SUMMARY.md +170 -0
- package/core/templates/research.md +552 -0
- package/core/templates/retrospective.md +54 -0
- package/core/templates/roadmap.md +202 -0
- package/core/templates/state.md +176 -0
- package/core/templates/summary-complex.md +59 -0
- package/core/templates/summary-minimal.md +41 -0
- package/core/templates/summary-standard.md +48 -0
- package/core/templates/summary.md +248 -0
- package/core/templates/user-setup.md +311 -0
- package/core/templates/verification-report.md +322 -0
- package/core/workflows/add-phase.md +112 -0
- package/core/workflows/add-tests.md +351 -0
- package/core/workflows/add-todo.md +158 -0
- package/core/workflows/audit-milestone.md +332 -0
- package/core/workflows/autonomous.md +743 -0
- package/core/workflows/check-todos.md +177 -0
- package/core/workflows/cleanup.md +152 -0
- package/core/workflows/complete-milestone.md +766 -0
- package/core/workflows/diagnose-issues.md +219 -0
- package/core/workflows/discovery-phase.md +289 -0
- package/core/workflows/discuss-phase.md +762 -0
- package/core/workflows/do.md +104 -0
- package/core/workflows/execute-phase.md +468 -0
- package/core/workflows/execute-plan.md +483 -0
- package/core/workflows/health.md +159 -0
- package/core/workflows/help.md +513 -0
- package/core/workflows/insert-phase.md +130 -0
- package/core/workflows/list-phase-assumptions.md +178 -0
- package/core/workflows/map-codebase.md +316 -0
- package/core/workflows/new-milestone.md +386 -0
- package/core/workflows/new-project.md +1113 -0
- package/core/workflows/node-repair.md +92 -0
- package/core/workflows/pause-work.md +122 -0
- package/core/workflows/plan-milestone-gaps.md +274 -0
- package/core/workflows/plan-phase.md +666 -0
- package/core/workflows/progress.md +382 -0
- package/core/workflows/quick.md +717 -0
- package/core/workflows/remove-phase.md +155 -0
- package/core/workflows/research-phase.md +74 -0
- package/core/workflows/resume-project.md +307 -0
- package/core/workflows/settings.md +243 -0
- package/core/workflows/stats.md +60 -0
- package/core/workflows/transition.md +544 -0
- package/core/workflows/ui-phase.md +290 -0
- package/core/workflows/ui-review.md +157 -0
- package/core/workflows/update.md +320 -0
- package/core/workflows/validate-phase.md +167 -0
- package/core/workflows/verify-phase.md +243 -0
- package/core/workflows/verify-work.md +584 -0
- package/package.json +55 -0
- package/scripts/build-hooks.cjs +38 -0
- package/scripts/build-hooks.cjs.map +1 -0
- package/scripts/build-hooks.cts +41 -0
- package/scripts/build-hooks.d.cts +6 -0
- package/scripts/build-hooks.d.cts.map +1 -0
- package/scripts/run-tests.cjs +28 -0
- package/scripts/run-tests.cjs.map +1 -0
- package/scripts/run-tests.cts +28 -0
- package/scripts/run-tests.d.cts +3 -0
- package/scripts/run-tests.d.cts.map +1 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Vector Tools — CLI utility for Vector workflow operations
|
|
4
|
+
*
|
|
5
|
+
* Replaces repetitive inline bash patterns across ~50 Vector command/workflow/agent files.
|
|
6
|
+
* Centralizes: config parsing, model resolution, phase lookup, git commits, summary verification.
|
|
7
|
+
*
|
|
8
|
+
* Usage: node vector-tools.cjs <command> [args] [--raw]
|
|
9
|
+
*
|
|
10
|
+
* Atomic Commands:
|
|
11
|
+
* state load Load project config + state
|
|
12
|
+
* state json Output STATE.md frontmatter as JSON
|
|
13
|
+
* state update <field> <value> Update a STATE.md field
|
|
14
|
+
* state get [section] Get STATE.md content or section
|
|
15
|
+
* state patch --field val ... Batch update STATE.md fields
|
|
16
|
+
* resolve-model <agent-type> Get model for agent based on profile
|
|
17
|
+
* find-phase <phase> Find phase directory by number
|
|
18
|
+
* commit <message> [--files f1 f2] Commit planning docs
|
|
19
|
+
* verify-summary <path> Verify a SUMMARY.md file
|
|
20
|
+
* generate-slug <text> Convert text to URL-safe slug
|
|
21
|
+
* current-timestamp [format] Get timestamp (full|date|filename)
|
|
22
|
+
* list-todos [area] Count and enumerate pending todos
|
|
23
|
+
* verify-path-exists <path> Check file/directory existence
|
|
24
|
+
* config-ensure-section Initialize .planning/config.json
|
|
25
|
+
* history-digest Aggregate all SUMMARY.md data
|
|
26
|
+
* summary-extract <path> [--fields] Extract structured data from SUMMARY.md
|
|
27
|
+
* state-snapshot Structured parse of STATE.md
|
|
28
|
+
* phase-plan-index <phase> Index plans with waves and status
|
|
29
|
+
* websearch <query> Search web via Brave API (if configured)
|
|
30
|
+
* [--limit N] [--freshness day|week|month]
|
|
31
|
+
*
|
|
32
|
+
* Phase Operations:
|
|
33
|
+
* phase next-decimal <phase> Calculate next decimal phase number
|
|
34
|
+
* phase add <description> Append new phase to roadmap + create dir
|
|
35
|
+
* phase insert <after> <description> Insert decimal phase after existing
|
|
36
|
+
* phase remove <phase> [--force] Remove phase, renumber all subsequent
|
|
37
|
+
* phase complete <phase> Mark phase done, update state + roadmap
|
|
38
|
+
*
|
|
39
|
+
* Roadmap Operations:
|
|
40
|
+
* roadmap get-phase <phase> Extract phase section from ROADMAP.md
|
|
41
|
+
* roadmap analyze Full roadmap parse with disk status
|
|
42
|
+
* roadmap update-plan-progress <N> Update progress table row from disk (PLAN vs SUMMARY counts)
|
|
43
|
+
*
|
|
44
|
+
* Requirements Operations:
|
|
45
|
+
* requirements mark-complete <ids> Mark requirement IDs as complete in REQUIREMENTS.md
|
|
46
|
+
* Accepts: REQ-01,REQ-02 or REQ-01 REQ-02 or [REQ-01, REQ-02]
|
|
47
|
+
*
|
|
48
|
+
* Milestone Operations:
|
|
49
|
+
* milestone complete <version> Archive milestone, create MILESTONES.md
|
|
50
|
+
* [--name <name>]
|
|
51
|
+
* [--archive-phases] Move phase dirs to milestones/vX.Y-phases/
|
|
52
|
+
*
|
|
53
|
+
* Validation:
|
|
54
|
+
* validate consistency Check phase numbering, disk/roadmap sync
|
|
55
|
+
* validate health [--repair] Check .planning/ integrity, optionally repair
|
|
56
|
+
*
|
|
57
|
+
* Progress:
|
|
58
|
+
* progress [json|table|bar] Render progress in various formats
|
|
59
|
+
*
|
|
60
|
+
* Todos:
|
|
61
|
+
* todo complete <filename> Move todo from pending to completed
|
|
62
|
+
*
|
|
63
|
+
* Scaffolding:
|
|
64
|
+
* scaffold context --phase <N> Create CONTEXT.md template
|
|
65
|
+
* scaffold uat --phase <N> Create UAT.md template
|
|
66
|
+
* scaffold verification --phase <N> Create VERIFICATION.md template
|
|
67
|
+
* scaffold phase-dir --phase <N> Create phase directory
|
|
68
|
+
* --name <name>
|
|
69
|
+
*
|
|
70
|
+
* Frontmatter CRUD:
|
|
71
|
+
* frontmatter get <file> [--field k] Extract frontmatter as JSON
|
|
72
|
+
* frontmatter set <file> --field k Update single frontmatter field
|
|
73
|
+
* --value jsonVal
|
|
74
|
+
* frontmatter merge <file> Merge JSON into frontmatter
|
|
75
|
+
* --data '{json}'
|
|
76
|
+
* frontmatter validate <file> Validate required fields
|
|
77
|
+
* --schema plan|summary|verification
|
|
78
|
+
*
|
|
79
|
+
* Verification Suite:
|
|
80
|
+
* verify plan-structure <file> Check PLAN.md structure + tasks
|
|
81
|
+
* verify phase-completeness <phase> Check all plans have summaries
|
|
82
|
+
* verify references <file> Check @-refs + paths resolve
|
|
83
|
+
* verify commits <h1> [h2] ... Batch verify commit hashes
|
|
84
|
+
* verify artifacts <plan-file> Check must_haves.artifacts
|
|
85
|
+
* verify key-links <plan-file> Check must_haves.key_links
|
|
86
|
+
*
|
|
87
|
+
* Template Fill:
|
|
88
|
+
* template fill summary --phase N Create pre-filled SUMMARY.md
|
|
89
|
+
* [--plan M] [--name "..."]
|
|
90
|
+
* [--fields '{json}']
|
|
91
|
+
* template fill plan --phase N Create pre-filled PLAN.md
|
|
92
|
+
* [--plan M] [--type execute|tdd]
|
|
93
|
+
* [--wave N] [--fields '{json}']
|
|
94
|
+
* template fill verification Create pre-filled VERIFICATION.md
|
|
95
|
+
* --phase N [--fields '{json}']
|
|
96
|
+
*
|
|
97
|
+
* State Progression:
|
|
98
|
+
* state advance-plan Increment plan counter
|
|
99
|
+
* state record-metric --phase N Record execution metrics
|
|
100
|
+
* --plan M --duration Xmin
|
|
101
|
+
* [--tasks N] [--files N]
|
|
102
|
+
* state update-progress Recalculate progress bar
|
|
103
|
+
* state add-decision --summary "..." Add decision to STATE.md
|
|
104
|
+
* [--phase N] [--rationale "..."]
|
|
105
|
+
* [--summary-file path] [--rationale-file path]
|
|
106
|
+
* state add-blocker --text "..." Add blocker
|
|
107
|
+
* [--text-file path]
|
|
108
|
+
* state resolve-blocker --text "..." Remove blocker
|
|
109
|
+
* state record-session Update session continuity
|
|
110
|
+
* --stopped-at "..."
|
|
111
|
+
* [--resume-file path]
|
|
112
|
+
*
|
|
113
|
+
* Compound Commands (workflow-specific initialization):
|
|
114
|
+
* init execute-phase <phase> All context for execute-phase workflow
|
|
115
|
+
* init plan-phase <phase> All context for plan-phase workflow
|
|
116
|
+
* init new-project All context for new-project workflow
|
|
117
|
+
* init new-milestone All context for new-milestone workflow
|
|
118
|
+
* init quick <description> All context for quick workflow
|
|
119
|
+
* init resume All context for resume-project workflow
|
|
120
|
+
* init verify-work <phase> All context for verify-work workflow
|
|
121
|
+
* init phase-op <phase> Generic phase operation context
|
|
122
|
+
* init todos [area] All context for todo workflows
|
|
123
|
+
* init milestone-op All context for milestone operations
|
|
124
|
+
* init map-codebase All context for map-codebase workflow
|
|
125
|
+
* init progress All context for progress workflow
|
|
126
|
+
*/
|
|
127
|
+
export {};
|
|
128
|
+
//# sourceMappingURL=vector-tools.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vector-tools.d.cts","sourceRoot":"","sources":["vector-tools.cts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4HG"}
|