@a-company/paradigm 3.1.5 → 3.1.6
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.
|
@@ -248,6 +248,8 @@ fi
|
|
|
248
248
|
# --- Check 7: Lore entry expected for significant sessions ---
|
|
249
249
|
if [ "$SOURCE_COUNT" -ge 3 ] && [ -d ".paradigm/lore" ]; then
|
|
250
250
|
LORE_RECORDED=false
|
|
251
|
+
|
|
252
|
+
# Check git diff first (covers staged/committed lore)
|
|
251
253
|
for file in $MODIFIED; do
|
|
252
254
|
case "$file" in
|
|
253
255
|
.paradigm/lore/entries/*.yaml|.paradigm/lore/entries/*/*.yaml)
|
|
@@ -257,6 +259,17 @@ if [ "$SOURCE_COUNT" -ge 3 ] && [ -d ".paradigm/lore" ]; then
|
|
|
257
259
|
esac
|
|
258
260
|
done
|
|
259
261
|
|
|
262
|
+
# Also check for recent lore on disk (covers MCP-written entries not yet staged)
|
|
263
|
+
if [ "$LORE_RECORDED" = false ]; then
|
|
264
|
+
TODAY=$(date -u +"%Y-%m-%d")
|
|
265
|
+
if [ -d ".paradigm/lore/entries/$TODAY" ]; then
|
|
266
|
+
ENTRY_COUNT=$(find ".paradigm/lore/entries/$TODAY" -name "*.yaml" 2>/dev/null | head -1)
|
|
267
|
+
if [ -n "$ENTRY_COUNT" ]; then
|
|
268
|
+
LORE_RECORDED=true
|
|
269
|
+
fi
|
|
270
|
+
fi
|
|
271
|
+
fi
|
|
272
|
+
|
|
260
273
|
if [ "$LORE_RECORDED" = false ]; then
|
|
261
274
|
VIOLATIONS="$VIOLATIONS
|
|
262
275
|
- You modified $SOURCE_COUNT source files but recorded no lore entry.
|
|
@@ -703,6 +716,8 @@ fi
|
|
|
703
716
|
# --- Check 7: Lore entry expected for significant sessions ---
|
|
704
717
|
if [ "$SOURCE_COUNT" -ge 3 ] && [ -d ".paradigm/lore" ]; then
|
|
705
718
|
LORE_RECORDED=false
|
|
719
|
+
|
|
720
|
+
# Check git diff first (covers staged/committed lore)
|
|
706
721
|
for file in $MODIFIED; do
|
|
707
722
|
case "$file" in
|
|
708
723
|
.paradigm/lore/entries/*.yaml|.paradigm/lore/entries/*/*.yaml)
|
|
@@ -712,6 +727,17 @@ if [ "$SOURCE_COUNT" -ge 3 ] && [ -d ".paradigm/lore" ]; then
|
|
|
712
727
|
esac
|
|
713
728
|
done
|
|
714
729
|
|
|
730
|
+
# Also check for recent lore on disk (covers MCP-written entries not yet staged)
|
|
731
|
+
if [ "$LORE_RECORDED" = false ]; then
|
|
732
|
+
TODAY=$(date -u +"%Y-%m-%d")
|
|
733
|
+
if [ -d ".paradigm/lore/entries/$TODAY" ]; then
|
|
734
|
+
ENTRY_COUNT=$(find ".paradigm/lore/entries/$TODAY" -name "*.yaml" 2>/dev/null | head -1)
|
|
735
|
+
if [ -n "$ENTRY_COUNT" ]; then
|
|
736
|
+
LORE_RECORDED=true
|
|
737
|
+
fi
|
|
738
|
+
fi
|
|
739
|
+
fi
|
|
740
|
+
|
|
715
741
|
if [ "$LORE_RECORDED" = false ]; then
|
|
716
742
|
VIOLATIONS="$VIOLATIONS
|
|
717
743
|
- You modified $SOURCE_COUNT source files but recorded no lore entry.
|
package/dist/index.js
CHANGED
|
@@ -109,7 +109,7 @@ ${chalk2.magenta("\u2569 ")}${chalk2.cyan("\u2534 \u2534\u2534\u2514\u2500\u253
|
|
|
109
109
|
program.name("paradigm").description("Unified developer tools ecosystem").version(VERSION).addHelpText("before", banner);
|
|
110
110
|
program.command("init").description("Initialize Paradigm in the current project").option("-f, --force", "Overwrite existing files").option("--name <name>", "Project name").option("--ide <ide>", "Target IDE: cursor, copilot, windsurf, claude").option("--migrate", "Output migration prompt for existing IDE files").option("--quick", "Non-interactive mode with smart defaults").option("--dry-run", "Show what would be created without creating").action(initCommand);
|
|
111
111
|
program.command("shift").description("Full project setup in one command (init + team init + scan + sync all IDEs + doctor)").option("-f, --force", "Reinitialize even if already setup").option("-q, --quick", "Skip slow operations (scan)").option("--verify", "Run health checks after setup").option("--ide <ide>", "Target specific IDE instead of all").option("--configure-models", "Force model configuration prompts for team agents").action(async (options) => {
|
|
112
|
-
const { shiftCommand } = await import("./shift-
|
|
112
|
+
const { shiftCommand } = await import("./shift-YELZUPYG.js");
|
|
113
113
|
await shiftCommand(options);
|
|
114
114
|
});
|
|
115
115
|
program.command("setup [path]").description("Interactive setup wizard for Paradigm").option("-y, --yes", "Accept all defaults (non-interactive)").option("-f, --force", "Overwrite existing .paradigm config").action(async (path2, options) => {
|
|
@@ -479,19 +479,19 @@ historyCmd.option("--json", "Output as JSON").action(async (options) => {
|
|
|
479
479
|
});
|
|
480
480
|
var hooksCmd = program.command("hooks").description("Git hooks for automatic history capture");
|
|
481
481
|
hooksCmd.command("install").description("Install git hooks, Claude Code hooks, and Cursor hooks").option("-f, --force", "Overwrite existing hooks").option("--post-commit", "Only install post-commit hook").option("--pre-push", "Only install pre-push hook").option("--claude-code", "Only install Claude Code hooks (stop + pre-commit)").option("--cursor", "Only install Cursor hooks (.cursor/hooks.json)").action(async (options) => {
|
|
482
|
-
const { hooksInstallCommand } = await import("./hooks-
|
|
482
|
+
const { hooksInstallCommand } = await import("./hooks-RLJFGKPF.js");
|
|
483
483
|
await hooksInstallCommand(options);
|
|
484
484
|
});
|
|
485
485
|
hooksCmd.command("uninstall").description("Remove paradigm hooks (git hooks, or --cursor for Cursor hooks)").option("--cursor", "Remove Cursor hooks instead of git hooks").action(async (options) => {
|
|
486
|
-
const { hooksUninstallCommand } = await import("./hooks-
|
|
486
|
+
const { hooksUninstallCommand } = await import("./hooks-RLJFGKPF.js");
|
|
487
487
|
await hooksUninstallCommand(options);
|
|
488
488
|
});
|
|
489
489
|
hooksCmd.command("status").description("Check git hooks status").action(async () => {
|
|
490
|
-
const { hooksStatusCommand } = await import("./hooks-
|
|
490
|
+
const { hooksStatusCommand } = await import("./hooks-RLJFGKPF.js");
|
|
491
491
|
await hooksStatusCommand();
|
|
492
492
|
});
|
|
493
493
|
hooksCmd.action(async () => {
|
|
494
|
-
const { hooksStatusCommand } = await import("./hooks-
|
|
494
|
+
const { hooksStatusCommand } = await import("./hooks-RLJFGKPF.js");
|
|
495
495
|
await hooksStatusCommand();
|
|
496
496
|
});
|
|
497
497
|
var triageCmd = program.command("triage").description("Semantic error triage - incident management and pattern matching");
|