@rely-ai/caliber 1.22.0-dev.1773765954 → 1.22.0-dev.1773766400
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 +10 -9
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -159,12 +159,12 @@ __export(constants_exports, {
|
|
|
159
159
|
MANIFEST_FILE: () => MANIFEST_FILE
|
|
160
160
|
});
|
|
161
161
|
import path9 from "path";
|
|
162
|
-
import
|
|
162
|
+
import os3 from "os";
|
|
163
163
|
var AUTH_DIR, CALIBER_DIR, MANIFEST_FILE, BACKUPS_DIR, LEARNING_DIR, LEARNING_SESSION_FILE, LEARNING_STATE_FILE, LEARNING_MAX_EVENTS, LEARNING_ROI_FILE;
|
|
164
164
|
var init_constants = __esm({
|
|
165
165
|
"src/constants.ts"() {
|
|
166
166
|
"use strict";
|
|
167
|
-
AUTH_DIR = path9.join(
|
|
167
|
+
AUTH_DIR = path9.join(os3.homedir(), ".caliber");
|
|
168
168
|
CALIBER_DIR = ".caliber";
|
|
169
169
|
MANIFEST_FILE = path9.join(CALIBER_DIR, "manifest.json");
|
|
170
170
|
BACKUPS_DIR = path9.join(CALIBER_DIR, "backups");
|
|
@@ -185,7 +185,7 @@ __export(lock_exports, {
|
|
|
185
185
|
});
|
|
186
186
|
import fs29 from "fs";
|
|
187
187
|
import path23 from "path";
|
|
188
|
-
import
|
|
188
|
+
import os6 from "os";
|
|
189
189
|
function isCaliberRunning() {
|
|
190
190
|
try {
|
|
191
191
|
if (!fs29.existsSync(LOCK_FILE)) return false;
|
|
@@ -218,7 +218,7 @@ var LOCK_FILE, STALE_MS;
|
|
|
218
218
|
var init_lock = __esm({
|
|
219
219
|
"src/lib/lock.ts"() {
|
|
220
220
|
"use strict";
|
|
221
|
-
LOCK_FILE = path23.join(
|
|
221
|
+
LOCK_FILE = path23.join(os6.tmpdir(), ".caliber.lock");
|
|
222
222
|
STALE_MS = 10 * 60 * 1e3;
|
|
223
223
|
}
|
|
224
224
|
});
|
|
@@ -1206,6 +1206,7 @@ var OpenAICompatProvider = class {
|
|
|
1206
1206
|
// src/llm/cursor-acp.ts
|
|
1207
1207
|
import { spawn, execSync as execSync3 } from "child_process";
|
|
1208
1208
|
import readline from "readline";
|
|
1209
|
+
import os2 from "os";
|
|
1209
1210
|
var ACP_AGENT_BIN = "agent";
|
|
1210
1211
|
var IS_WINDOWS = process.platform === "win32";
|
|
1211
1212
|
var CursorAcpProvider = class {
|
|
@@ -1373,7 +1374,7 @@ var CursorAcpProvider = class {
|
|
|
1373
1374
|
conn.activeCallbacks = callbacks;
|
|
1374
1375
|
try {
|
|
1375
1376
|
const sessionResult = await this.send(conn, "session/new", {
|
|
1376
|
-
cwd:
|
|
1377
|
+
cwd: os2.tmpdir(),
|
|
1377
1378
|
mcpServers: []
|
|
1378
1379
|
});
|
|
1379
1380
|
await this.send(conn, "session/prompt", {
|
|
@@ -3290,9 +3291,9 @@ import { createTwoFilesPatch } from "diff";
|
|
|
3290
3291
|
import { execSync as execSync5, spawn as spawn3 } from "child_process";
|
|
3291
3292
|
import fs14 from "fs";
|
|
3292
3293
|
import path12 from "path";
|
|
3293
|
-
import
|
|
3294
|
+
import os4 from "os";
|
|
3294
3295
|
var IS_WINDOWS3 = process.platform === "win32";
|
|
3295
|
-
var DIFF_TEMP_DIR = path12.join(
|
|
3296
|
+
var DIFF_TEMP_DIR = path12.join(os4.tmpdir(), "caliber-diff");
|
|
3296
3297
|
function getEmptyFilePath(proposedPath) {
|
|
3297
3298
|
fs14.mkdirSync(DIFF_TEMP_DIR, { recursive: true });
|
|
3298
3299
|
const tempPath = path12.join(DIFF_TEMP_DIR, path12.basename(proposedPath));
|
|
@@ -5718,10 +5719,10 @@ import chalk7 from "chalk";
|
|
|
5718
5719
|
// src/telemetry/config.ts
|
|
5719
5720
|
import fs23 from "fs";
|
|
5720
5721
|
import path18 from "path";
|
|
5721
|
-
import
|
|
5722
|
+
import os5 from "os";
|
|
5722
5723
|
import crypto3 from "crypto";
|
|
5723
5724
|
import { execSync as execSync12 } from "child_process";
|
|
5724
|
-
var CONFIG_DIR2 = path18.join(
|
|
5725
|
+
var CONFIG_DIR2 = path18.join(os5.homedir(), ".caliber");
|
|
5725
5726
|
var CONFIG_FILE2 = path18.join(CONFIG_DIR2, "config.json");
|
|
5726
5727
|
var runtimeDisabled = false;
|
|
5727
5728
|
function readConfig() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rely-ai/caliber",
|
|
3
|
-
"version": "1.22.0-dev.
|
|
3
|
+
"version": "1.22.0-dev.1773766400",
|
|
4
4
|
"description": "Analyze your codebase and generate optimized AI agent configs (CLAUDE.md, .cursorrules, skills) — no API key needed",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|