sequant 2.3.0 → 2.5.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/README.md +125 -160
- package/dist/bin/cli.js +59 -4
- package/dist/dashboard/server.js +1 -0
- package/dist/marketplace/external_plugins/sequant/.claude-plugin/plugin.json +2 -2
- package/dist/marketplace/external_plugins/sequant/README.md +6 -3
- package/dist/marketplace/external_plugins/sequant/hooks/post-tool.sh +92 -0
- package/dist/marketplace/external_plugins/sequant/hooks/pre-tool.sh +18 -9
- package/dist/marketplace/external_plugins/sequant/hooks/relay-check.sh +107 -0
- package/dist/marketplace/external_plugins/sequant/skills/_shared/references/behavior-rule-detection.md +205 -0
- package/dist/marketplace/external_plugins/sequant/skills/_shared/references/subagent-types.md +21 -8
- package/dist/marketplace/external_plugins/sequant/skills/assess/SKILL.md +302 -86
- package/dist/marketplace/external_plugins/sequant/skills/assess/references/predicted-collision-detection.md +109 -0
- package/dist/marketplace/external_plugins/sequant/skills/docs/SKILL.md +141 -22
- package/dist/marketplace/external_plugins/sequant/skills/exec/SKILL.md +83 -78
- package/dist/marketplace/external_plugins/sequant/skills/fullsolve/SKILL.md +377 -137
- package/dist/marketplace/external_plugins/sequant/skills/loop/SKILL.md +28 -0
- package/dist/marketplace/external_plugins/sequant/skills/merger/SKILL.md +621 -0
- package/dist/marketplace/external_plugins/sequant/skills/qa/SKILL.md +741 -232
- package/dist/marketplace/external_plugins/sequant/skills/qa/scripts/quality-checks.sh +47 -1
- package/dist/marketplace/external_plugins/sequant/skills/setup/SKILL.md +12 -6
- package/dist/marketplace/external_plugins/sequant/skills/spec/SKILL.md +217 -964
- package/dist/marketplace/external_plugins/sequant/skills/spec/references/parallel-groups.md +7 -0
- package/dist/marketplace/external_plugins/sequant/skills/spec/references/quality-checklist.md +75 -0
- package/dist/marketplace/external_plugins/sequant/skills/spec/references/recommended-workflow.md +4 -2
- package/dist/marketplace/external_plugins/sequant/skills/test/SKILL.md +0 -27
- package/dist/marketplace/external_plugins/sequant/skills/testgen/SKILL.md +24 -44
- package/dist/src/commands/abort.d.ts +36 -0
- package/dist/src/commands/abort.js +138 -0
- package/dist/src/commands/prompt.d.ts +7 -0
- package/dist/src/commands/prompt.js +101 -7
- package/dist/src/commands/ready-tui-adapter.d.ts +59 -0
- package/dist/src/commands/ready-tui-adapter.js +130 -0
- package/dist/src/commands/ready.d.ts +49 -0
- package/dist/src/commands/ready.js +243 -0
- package/dist/src/commands/run-progress.d.ts +11 -1
- package/dist/src/commands/run-progress.js +20 -3
- package/dist/src/commands/run.js +12 -2
- package/dist/src/commands/status.js +4 -0
- package/dist/src/commands/watch.d.ts +2 -0
- package/dist/src/commands/watch.js +67 -3
- package/dist/src/lib/assess-collision-detect.js +1 -1
- package/dist/src/lib/cli-ui/run-renderer-types.d.ts +39 -0
- package/dist/src/lib/cli-ui/run-renderer.d.ts +34 -2
- package/dist/src/lib/cli-ui/run-renderer.js +250 -33
- package/dist/src/lib/cli-ui/scrollback-harness.d.ts +112 -0
- package/dist/src/lib/cli-ui/scrollback-harness.js +294 -0
- package/dist/src/lib/merge-check/types.js +1 -1
- package/dist/src/lib/relay/archive.js +6 -0
- package/dist/src/lib/relay/types.d.ts +2 -0
- package/dist/src/lib/relay/types.js +9 -0
- package/dist/src/lib/settings.d.ts +34 -0
- package/dist/src/lib/settings.js +23 -1
- package/dist/src/lib/workflow/batch-executor.js +34 -18
- package/dist/src/lib/workflow/drivers/agent-driver.d.ts +48 -1
- package/dist/src/lib/workflow/drivers/aider.d.ts +7 -1
- package/dist/src/lib/workflow/drivers/aider.js +9 -0
- package/dist/src/lib/workflow/drivers/claude-code.d.ts +17 -1
- package/dist/src/lib/workflow/drivers/claude-code.js +51 -2
- package/dist/src/lib/workflow/drivers/index.d.ts +1 -1
- package/dist/src/lib/workflow/event-emitter.d.ts +157 -0
- package/dist/src/lib/workflow/event-emitter.js +102 -0
- package/dist/src/lib/workflow/notice.d.ts +32 -0
- package/dist/src/lib/workflow/notice.js +38 -0
- package/dist/src/lib/workflow/phase-executor.d.ts +9 -21
- package/dist/src/lib/workflow/phase-executor.js +105 -117
- package/dist/src/lib/workflow/phase-mapper.d.ts +26 -13
- package/dist/src/lib/workflow/phase-mapper.js +55 -33
- package/dist/src/lib/workflow/phase-registry.d.ts +127 -0
- package/dist/src/lib/workflow/phase-registry.js +233 -0
- package/dist/src/lib/workflow/platforms/github.d.ts +6 -0
- package/dist/src/lib/workflow/platforms/github.js +17 -0
- package/dist/src/lib/workflow/ready-gate.d.ts +155 -0
- package/dist/src/lib/workflow/ready-gate.js +374 -0
- package/dist/src/lib/workflow/reconcile.js +6 -0
- package/dist/src/lib/workflow/run-log-schema.d.ts +5 -55
- package/dist/src/lib/workflow/run-orchestrator.d.ts +32 -2
- package/dist/src/lib/workflow/run-orchestrator.js +125 -11
- package/dist/src/lib/workflow/state-manager.d.ts +19 -1
- package/dist/src/lib/workflow/state-manager.js +27 -1
- package/dist/src/lib/workflow/state-schema.d.ts +23 -35
- package/dist/src/lib/workflow/state-schema.js +29 -3
- package/dist/src/lib/workflow/types.d.ts +74 -15
- package/dist/src/lib/workflow/types.js +18 -13
- package/dist/src/ui/tui/App.js +8 -2
- package/dist/src/ui/tui/IssueBox.js +3 -4
- package/dist/src/ui/tui/index.d.ts +13 -4
- package/dist/src/ui/tui/index.js +19 -5
- package/dist/src/ui/tui/row-cap.d.ts +51 -0
- package/dist/src/ui/tui/row-cap.js +76 -0
- package/dist/src/ui/tui/teardown.d.ts +20 -0
- package/dist/src/ui/tui/teardown.js +29 -0
- package/dist/src/ui/tui/theme.d.ts +3 -0
- package/dist/src/ui/tui/theme.js +3 -0
- package/package.json +23 -11
- package/templates/hooks/post-tool.sh +81 -0
- package/templates/skills/assess/SKILL.md +28 -28
- package/templates/skills/assess/references/predicted-collision-detection.md +1 -1
- package/templates/skills/qa/SKILL.md +5 -2
- package/templates/skills/setup/SKILL.md +6 -6
|
@@ -385,7 +385,53 @@ else
|
|
|
385
385
|
fi
|
|
386
386
|
|
|
387
387
|
# =============================================================================
|
|
388
|
-
#
|
|
388
|
+
# =============================================================================
|
|
389
|
+
# 11.5. Skill Sync Check (when skill files modified)
|
|
390
|
+
# =============================================================================
|
|
391
|
+
echo ""
|
|
392
|
+
skill_files_changed=$(git diff main...HEAD --name-only | grep -E '^\.(claude/skills|skills|templates/skills)/' || true)
|
|
393
|
+
if [[ -n "$skill_files_changed" ]]; then
|
|
394
|
+
echo "🔍 Checking three-directory skill sync..."
|
|
395
|
+
if [[ -f "scripts/check-skill-sync.ts" ]]; then
|
|
396
|
+
sync_output=$(npx tsx scripts/check-skill-sync.ts 2>&1 || true)
|
|
397
|
+
sync_exit=$?
|
|
398
|
+
sync_summary=$(echo "$sync_output" | grep "^Summary:" || true)
|
|
399
|
+
if [[ $sync_exit -ne 0 ]]; then
|
|
400
|
+
echo "⚠️ Skill sync: DIVERGENCE DETECTED"
|
|
401
|
+
echo "$sync_summary"
|
|
402
|
+
echo " Run: npx tsx scripts/check-skill-sync.ts --fix"
|
|
403
|
+
else
|
|
404
|
+
echo "✅ Skill sync: All files synced across 3 directories"
|
|
405
|
+
fi
|
|
406
|
+
else
|
|
407
|
+
echo " (scripts/check-skill-sync.ts not found — using inline diff)"
|
|
408
|
+
diverged=0
|
|
409
|
+
for f in $skill_files_changed; do
|
|
410
|
+
if [[ "$f" == .claude/skills/* ]]; then
|
|
411
|
+
rel="${f#.claude/skills/}"
|
|
412
|
+
for mirror in "templates/skills" "skills"; do
|
|
413
|
+
if [[ -f "${mirror}/${rel}" ]]; then
|
|
414
|
+
if ! diff -q ".claude/skills/${rel}" "${mirror}/${rel}" > /dev/null 2>&1; then
|
|
415
|
+
echo " ⚠️ DIVERGED: ${rel} (.claude/skills vs ${mirror})"
|
|
416
|
+
diverged=$((diverged + 1))
|
|
417
|
+
fi
|
|
418
|
+
fi
|
|
419
|
+
done
|
|
420
|
+
fi
|
|
421
|
+
done
|
|
422
|
+
if [[ $diverged -eq 0 ]]; then
|
|
423
|
+
echo "✅ Skill sync: Changed skill files are synced"
|
|
424
|
+
else
|
|
425
|
+
echo "⚠️ Skill sync: ${diverged} file(s) diverged"
|
|
426
|
+
echo " Fix: copy from .claude/skills/ to templates/skills/ and skills/"
|
|
427
|
+
fi
|
|
428
|
+
fi
|
|
429
|
+
else
|
|
430
|
+
echo "🔍 Skill sync: No skill files changed (skipped)"
|
|
431
|
+
fi
|
|
432
|
+
|
|
433
|
+
# =============================================================================
|
|
434
|
+
# 12. Build Verification (cacheable - expensive operation)
|
|
389
435
|
# =============================================================================
|
|
390
436
|
|
|
391
437
|
verify_build_against_main() {
|
|
@@ -75,16 +75,16 @@ else
|
|
|
75
75
|
PREREQ_FAIL=true
|
|
76
76
|
fi
|
|
77
77
|
|
|
78
|
-
# 3. Node.js
|
|
78
|
+
# 3. Node.js 22.12+ (for MCP server via npx)
|
|
79
79
|
if node --version >/dev/null 2>&1; then
|
|
80
80
|
NODE_VER=$(node --version | sed 's/v//' | cut -d. -f1)
|
|
81
|
-
if [ "$NODE_VER" -ge
|
|
82
|
-
echo "✅ node: $(node --version) (>=
|
|
81
|
+
if [ "$NODE_VER" -ge 22 ] 2>/dev/null; then
|
|
82
|
+
echo "✅ node: $(node --version) (>= 22)"
|
|
83
83
|
else
|
|
84
|
-
echo "⚠️ node: $(node --version) — MCP server requires Node.js
|
|
84
|
+
echo "⚠️ node: $(node --version) — MCP server requires Node.js 22.12+. Upgrade recommended."
|
|
85
85
|
fi
|
|
86
86
|
else
|
|
87
|
-
echo "⚠️ node: not found — MCP server (npx sequant serve) requires Node.js
|
|
87
|
+
echo "⚠️ node: not found — MCP server (npx sequant serve) requires Node.js 22.12+"
|
|
88
88
|
fi
|
|
89
89
|
|
|
90
90
|
if [ "$PREREQ_FAIL" = "true" ]; then
|
|
@@ -190,6 +190,12 @@ Create `.sequant/settings.json` with sensible defaults:
|
|
|
190
190
|
}
|
|
191
191
|
```
|
|
192
192
|
|
|
193
|
+
> **Note:** `agents.model` is currently **inert** per
|
|
194
|
+
> [anthropics/claude-code#43869](https://github.com/anthropics/claude-code/issues/43869).
|
|
195
|
+
> Subagents inherit the parent session's model regardless of this value. The
|
|
196
|
+
> field is kept for forward compatibility so existing settings.json files
|
|
197
|
+
> continue to parse without error.
|
|
198
|
+
|
|
193
199
|
Use the Write tool to create `.sequant/settings.json` with the above content.
|
|
194
200
|
|
|
195
201
|
### 5. Detect Package Manager
|
|
@@ -377,7 +383,7 @@ You're all set — run `/assess <issue>` to start working on a GitHub issue.
|
|
|
377
383
|
- Check that the file is valid JSON/TOML
|
|
378
384
|
|
|
379
385
|
**MCP tools not available:**
|
|
380
|
-
- Ensure Node.js
|
|
386
|
+
- Ensure Node.js 22.12+ is installed (`node --version`)
|
|
381
387
|
- The MCP server starts automatically via `npx sequant@latest serve`
|
|
382
388
|
- Check Claude Code settings if tools don't appear
|
|
383
389
|
|