@rely-ai/caliber 1.31.0-dev.1774714302 → 1.31.0-dev.1774714653
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 +1 -1
- package/dist/bin.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -391,7 +391,7 @@ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
|
|
|
391
391
|
See [CONTRIBUTING.md](./CONTRIBUTING.md) for detailed guidelines.
|
|
392
392
|
|
|
393
393
|
```bash
|
|
394
|
-
git clone https://github.com/
|
|
394
|
+
git clone https://github.com/caliber-ai-org/ai-setup.git
|
|
395
395
|
cd caliber
|
|
396
396
|
npm install
|
|
397
397
|
npm run dev # Watch mode
|
package/dist/bin.js
CHANGED
|
@@ -261,7 +261,7 @@ grep -q "caliber" .git/hooks/pre-commit 2>/dev/null && echo "hook-active" || ech
|
|
|
261
261
|
2. Run: \`${bin} refresh && git add ${MANAGED_DOC_PATHS} 2>/dev/null\`
|
|
262
262
|
3. After it completes, briefly tell the user what Caliber updated. Then proceed with the commit.
|
|
263
263
|
|
|
264
|
-
If \`${bin}\` is not found, tell the user: "This project uses Caliber for agent config sync.
|
|
264
|
+
If \`${bin}\` is not found, tell the user: "This project uses Caliber for agent config sync. Run /setup-caliber to get set up."
|
|
265
265
|
${BLOCK_END}`;
|
|
266
266
|
}
|
|
267
267
|
function getCursorRuleContent() {
|
|
@@ -276,7 +276,7 @@ Run: \`grep -q "caliber" .git/hooks/pre-commit 2>/dev/null && echo "hook-active"
|
|
|
276
276
|
If hook-active: just commit normally \u2014 Caliber syncs automatically via the hook. Tell the user: "Caliber will sync your agent configs automatically."
|
|
277
277
|
If no-hook: run \`${bin} refresh && git add ${MANAGED_DOC_PATHS} 2>/dev/null\` before committing, and tell the user what was updated.
|
|
278
278
|
|
|
279
|
-
If \`${bin}\` is not found, tell the user: "This project uses Caliber for agent config sync.
|
|
279
|
+
If \`${bin}\` is not found, tell the user: "This project uses Caliber for agent config sync. Run /setup-caliber to get set up."
|
|
280
280
|
`;
|
|
281
281
|
}
|
|
282
282
|
function hasPreCommitBlock(content) {
|
|
@@ -306,7 +306,7 @@ function getSyncBlock() {
|
|
|
306
306
|
return `${SYNC_BLOCK_START}
|
|
307
307
|
## Context Sync
|
|
308
308
|
|
|
309
|
-
This project uses [Caliber](https://github.com/
|
|
309
|
+
This project uses [Caliber](https://github.com/caliber-ai-org/ai-setup) to keep AI agent configs in sync across Claude Code, Cursor, Copilot, and Codex.
|
|
310
310
|
Configs update automatically before each commit via \`${bin} refresh\`.
|
|
311
311
|
If the pre-commit hook is not set up, run \`${bin} hooks --install\` to enable automatic sync.
|
|
312
312
|
${SYNC_BLOCK_END}`;
|
|
@@ -327,7 +327,7 @@ alwaysApply: true
|
|
|
327
327
|
---
|
|
328
328
|
This project uses Caliber to keep AI agent configs (CLAUDE.md, Cursor rules, Copilot instructions)
|
|
329
329
|
in sync with the codebase automatically. Before each commit, run \`${bin} refresh\` to sync configs.
|
|
330
|
-
If \`${bin}\` is not found, tell the user: "This project uses Caliber for agent config sync.
|
|
330
|
+
If \`${bin}\` is not found, tell the user: "This project uses Caliber for agent config sync. Run /setup-caliber to get set up."
|
|
331
331
|
`;
|
|
332
332
|
}
|
|
333
333
|
function getCursorSyncRule() {
|
|
@@ -5280,7 +5280,7 @@ function collectSetupFiles(setup, targetAgent) {
|
|
|
5280
5280
|
if (agentRefs.length === 0) agentRefs.push("See CLAUDE.md and .cursor/rules/ for agent configurations.");
|
|
5281
5281
|
const stubContent = `# AGENTS.md
|
|
5282
5282
|
|
|
5283
|
-
This project uses AI coding agents configured by [Caliber](https://github.com/
|
|
5283
|
+
This project uses AI coding agents configured by [Caliber](https://github.com/caliber-ai-org/ai-setup).
|
|
5284
5284
|
|
|
5285
5285
|
${agentRefs.join(" ")}
|
|
5286
5286
|
`;
|
|
@@ -9622,7 +9622,7 @@ async function initCommand(options) {
|
|
|
9622
9622
|
if (agentRefs.length === 0) agentRefs.push("See CLAUDE.md and .cursor/rules/ for agent configurations.");
|
|
9623
9623
|
const stubContent = `# AGENTS.md
|
|
9624
9624
|
|
|
9625
|
-
This project uses AI coding agents configured by [Caliber](https://github.com/
|
|
9625
|
+
This project uses AI coding agents configured by [Caliber](https://github.com/caliber-ai-org/ai-setup).
|
|
9626
9626
|
|
|
9627
9627
|
${agentRefs.join(" ")}
|
|
9628
9628
|
`;
|
|
@@ -10333,13 +10333,13 @@ var LEARNINGS_FILE = "CALIBER_LEARNINGS.md";
|
|
|
10333
10333
|
var LEARNINGS_HEADER = `# Caliber Learnings
|
|
10334
10334
|
|
|
10335
10335
|
Accumulated patterns and anti-patterns from development sessions.
|
|
10336
|
-
Auto-managed by [caliber](https://github.com/
|
|
10336
|
+
Auto-managed by [caliber](https://github.com/caliber-ai-org/ai-setup) \u2014 do not edit manually.
|
|
10337
10337
|
|
|
10338
10338
|
`;
|
|
10339
10339
|
var PERSONAL_LEARNINGS_HEADER = `# Personal Learnings
|
|
10340
10340
|
|
|
10341
10341
|
Developer-specific patterns and preferences.
|
|
10342
|
-
Auto-managed by [caliber](https://github.com/
|
|
10342
|
+
Auto-managed by [caliber](https://github.com/caliber-ai-org/ai-setup) \u2014 do not edit manually.
|
|
10343
10343
|
|
|
10344
10344
|
`;
|
|
10345
10345
|
var LEARNED_START = "<!-- caliber:learned -->";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rely-ai/caliber",
|
|
3
|
-
"version": "1.31.0-dev.
|
|
3
|
+
"version": "1.31.0-dev.1774714653",
|
|
4
4
|
"description": "AI context infrastructure for coding agents — keeps CLAUDE.md, Cursor rules, and skills in sync as your codebase evolves",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|