@rely-ai/caliber 1.5.2 → 1.5.3
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/dist/bin.js +3 -2
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2543,7 +2543,8 @@ var PRECOMMIT_START = "# caliber:pre-commit:start";
|
|
|
2543
2543
|
var PRECOMMIT_END = "# caliber:pre-commit:end";
|
|
2544
2544
|
var PRECOMMIT_BLOCK = `${PRECOMMIT_START}
|
|
2545
2545
|
if command -v caliber >/dev/null 2>&1; then
|
|
2546
|
-
|
|
2546
|
+
echo "\\033[2mcaliber: refreshing docs...\\033[0m"
|
|
2547
|
+
caliber refresh 2>/dev/null || true
|
|
2547
2548
|
git diff --name-only -- CLAUDE.md .claude/ .cursor/ AGENTS.md 2>/dev/null | xargs git add 2>/dev/null || true
|
|
2548
2549
|
fi
|
|
2549
2550
|
${PRECOMMIT_END}`;
|
|
@@ -7085,7 +7086,7 @@ program.command("skills").description("Discover and install community skills for
|
|
|
7085
7086
|
program.command("score").description("Score your current agent config setup (deterministic, no network)").option("--json", "Output as JSON").option("--quiet", "One-line output for scripts/hooks").option("--agent <type>", "Target agents (comma-separated): claude, cursor, codex", parseAgentOption).action(scoreCommand);
|
|
7086
7087
|
program.command("refresh").description("Update docs based on recent code changes").option("--quiet", "Suppress output (for use in hooks)").option("--dry-run", "Preview changes without writing files").action(refreshCommand);
|
|
7087
7088
|
program.command("hooks").description("Manage auto-refresh hooks (toggle interactively)").option("--install", "Enable all hooks non-interactively").option("--remove", "Disable all hooks non-interactively").action(hooksCommand);
|
|
7088
|
-
var learn = program.command("learn").description("Session learning \u2014 observe tool usage and extract reusable instructions");
|
|
7089
|
+
var learn = program.command("learn", { hidden: true }).description("[dev] Session learning \u2014 observe tool usage and extract reusable instructions");
|
|
7089
7090
|
learn.command("observe").description("Record a tool event from stdin (called by hooks)").option("--failure", "Mark event as a tool failure").action(learnObserveCommand);
|
|
7090
7091
|
learn.command("finalize").description("Analyze session events and update CLAUDE.md (called on SessionEnd)").action(learnFinalizeCommand);
|
|
7091
7092
|
learn.command("install").description("Install learning hooks into .claude/settings.json").action(learnInstallCommand);
|
package/package.json
CHANGED