@costrict/csc 4.1.11 → 4.1.12

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.
@@ -427,7 +427,7 @@ async function appendDeadLetter(entry) {
427
427
  // src/services/rawDump/worker.ts
428
428
  import { promises as fs7 } from "fs";
429
429
  import { createHash as createHash2 } from "crypto";
430
- import os7 from "os";
430
+ import os6 from "os";
431
431
  import path7 from "path";
432
432
  import { fileURLToPath } from "url";
433
433
 
@@ -477,8 +477,8 @@ async function saveCoStrictCredentials(credentials) {
477
477
  import { createRequire } from "module";
478
478
  function getVersion() {
479
479
  try {
480
- if (typeof MACRO !== "undefined" && "4.1.11")
481
- return "4.1.11";
480
+ if (typeof MACRO !== "undefined" && "4.1.12")
481
+ return "4.1.12";
482
482
  } catch {}
483
483
  try {
484
484
  const require2 = createRequire(import.meta.url);
@@ -892,7 +892,6 @@ async function getProjectDirs() {
892
892
 
893
893
  // src/services/rawDump/session.ts
894
894
  import { promises as fs6 } from "fs";
895
- import os6 from "os";
896
895
  import path6 from "path";
897
896
 
898
897
  // src/services/rawDump/parse.ts
@@ -964,8 +963,8 @@ function fillConversation(conv) {
964
963
  let outputTokens = 0;
965
964
  let cacheReadInputTokens = 0;
966
965
  let cacheCreationInputTokens = 0;
967
- let startTime = undefined;
968
- let endTime = undefined;
966
+ let startTime;
967
+ let endTime;
969
968
  conv.events.forEach((evt) => {
970
969
  if (evt.timestamp) {
971
970
  const t = new Date(evt.timestamp);
@@ -1252,11 +1251,417 @@ function parseSession(cacheConversations, events) {
1252
1251
  };
1253
1252
  }
1254
1253
 
1254
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
1255
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
1256
+ var _freeGlobal_default = freeGlobal;
1257
+
1258
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js
1259
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
1260
+ var root = _freeGlobal_default || freeSelf || Function("return this")();
1261
+ var _root_default = root;
1262
+
1263
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
1264
+ var Symbol2 = _root_default.Symbol;
1265
+ var _Symbol_default = Symbol2;
1266
+
1267
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
1268
+ var objectProto = Object.prototype;
1269
+ var hasOwnProperty = objectProto.hasOwnProperty;
1270
+ var nativeObjectToString = objectProto.toString;
1271
+ var symToStringTag = _Symbol_default ? _Symbol_default.toStringTag : undefined;
1272
+ function getRawTag(value) {
1273
+ var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
1274
+ try {
1275
+ value[symToStringTag] = undefined;
1276
+ var unmasked = true;
1277
+ } catch (e) {}
1278
+ var result = nativeObjectToString.call(value);
1279
+ if (unmasked) {
1280
+ if (isOwn) {
1281
+ value[symToStringTag] = tag;
1282
+ } else {
1283
+ delete value[symToStringTag];
1284
+ }
1285
+ }
1286
+ return result;
1287
+ }
1288
+ var _getRawTag_default = getRawTag;
1289
+
1290
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
1291
+ var objectProto2 = Object.prototype;
1292
+ var nativeObjectToString2 = objectProto2.toString;
1293
+ function objectToString(value) {
1294
+ return nativeObjectToString2.call(value);
1295
+ }
1296
+ var _objectToString_default = objectToString;
1297
+
1298
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
1299
+ var nullTag = "[object Null]";
1300
+ var undefinedTag = "[object Undefined]";
1301
+ var symToStringTag2 = _Symbol_default ? _Symbol_default.toStringTag : undefined;
1302
+ function baseGetTag(value) {
1303
+ if (value == null) {
1304
+ return value === undefined ? undefinedTag : nullTag;
1305
+ }
1306
+ return symToStringTag2 && symToStringTag2 in Object(value) ? _getRawTag_default(value) : _objectToString_default(value);
1307
+ }
1308
+ var _baseGetTag_default = baseGetTag;
1309
+
1310
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
1311
+ function isObject(value) {
1312
+ var type = typeof value;
1313
+ return value != null && (type == "object" || type == "function");
1314
+ }
1315
+ var isObject_default = isObject;
1316
+
1317
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
1318
+ var asyncTag = "[object AsyncFunction]";
1319
+ var funcTag = "[object Function]";
1320
+ var genTag = "[object GeneratorFunction]";
1321
+ var proxyTag = "[object Proxy]";
1322
+ function isFunction(value) {
1323
+ if (!isObject_default(value)) {
1324
+ return false;
1325
+ }
1326
+ var tag = _baseGetTag_default(value);
1327
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
1328
+ }
1329
+ var isFunction_default = isFunction;
1330
+
1331
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
1332
+ var coreJsData = _root_default["__core-js_shared__"];
1333
+ var _coreJsData_default = coreJsData;
1334
+
1335
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
1336
+ var maskSrcKey = function() {
1337
+ var uid = /[^.]+$/.exec(_coreJsData_default && _coreJsData_default.keys && _coreJsData_default.keys.IE_PROTO || "");
1338
+ return uid ? "Symbol(src)_1." + uid : "";
1339
+ }();
1340
+ function isMasked(func) {
1341
+ return !!maskSrcKey && maskSrcKey in func;
1342
+ }
1343
+ var _isMasked_default = isMasked;
1344
+
1345
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
1346
+ var funcProto = Function.prototype;
1347
+ var funcToString = funcProto.toString;
1348
+ function toSource(func) {
1349
+ if (func != null) {
1350
+ try {
1351
+ return funcToString.call(func);
1352
+ } catch (e) {}
1353
+ try {
1354
+ return func + "";
1355
+ } catch (e) {}
1356
+ }
1357
+ return "";
1358
+ }
1359
+ var _toSource_default = toSource;
1360
+
1361
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
1362
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1363
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
1364
+ var funcProto2 = Function.prototype;
1365
+ var objectProto3 = Object.prototype;
1366
+ var funcToString2 = funcProto2.toString;
1367
+ var hasOwnProperty2 = objectProto3.hasOwnProperty;
1368
+ var reIsNative = RegExp("^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
1369
+ function baseIsNative(value) {
1370
+ if (!isObject_default(value) || _isMasked_default(value)) {
1371
+ return false;
1372
+ }
1373
+ var pattern = isFunction_default(value) ? reIsNative : reIsHostCtor;
1374
+ return pattern.test(_toSource_default(value));
1375
+ }
1376
+ var _baseIsNative_default = baseIsNative;
1377
+
1378
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
1379
+ function getValue(object, key) {
1380
+ return object == null ? undefined : object[key];
1381
+ }
1382
+ var _getValue_default = getValue;
1383
+
1384
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
1385
+ function getNative(object, key) {
1386
+ var value = _getValue_default(object, key);
1387
+ return _baseIsNative_default(value) ? value : undefined;
1388
+ }
1389
+ var _getNative_default = getNative;
1390
+
1391
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
1392
+ var nativeCreate = _getNative_default(Object, "create");
1393
+ var _nativeCreate_default = nativeCreate;
1394
+
1395
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
1396
+ function hashClear() {
1397
+ this.__data__ = _nativeCreate_default ? _nativeCreate_default(null) : {};
1398
+ this.size = 0;
1399
+ }
1400
+ var _hashClear_default = hashClear;
1401
+
1402
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
1403
+ function hashDelete(key) {
1404
+ var result = this.has(key) && delete this.__data__[key];
1405
+ this.size -= result ? 1 : 0;
1406
+ return result;
1407
+ }
1408
+ var _hashDelete_default = hashDelete;
1409
+
1410
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
1411
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
1412
+ var objectProto4 = Object.prototype;
1413
+ var hasOwnProperty3 = objectProto4.hasOwnProperty;
1414
+ function hashGet(key) {
1415
+ var data = this.__data__;
1416
+ if (_nativeCreate_default) {
1417
+ var result = data[key];
1418
+ return result === HASH_UNDEFINED ? undefined : result;
1419
+ }
1420
+ return hasOwnProperty3.call(data, key) ? data[key] : undefined;
1421
+ }
1422
+ var _hashGet_default = hashGet;
1423
+
1424
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
1425
+ var objectProto5 = Object.prototype;
1426
+ var hasOwnProperty4 = objectProto5.hasOwnProperty;
1427
+ function hashHas(key) {
1428
+ var data = this.__data__;
1429
+ return _nativeCreate_default ? data[key] !== undefined : hasOwnProperty4.call(data, key);
1430
+ }
1431
+ var _hashHas_default = hashHas;
1432
+
1433
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
1434
+ var HASH_UNDEFINED2 = "__lodash_hash_undefined__";
1435
+ function hashSet(key, value) {
1436
+ var data = this.__data__;
1437
+ this.size += this.has(key) ? 0 : 1;
1438
+ data[key] = _nativeCreate_default && value === undefined ? HASH_UNDEFINED2 : value;
1439
+ return this;
1440
+ }
1441
+ var _hashSet_default = hashSet;
1442
+
1443
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
1444
+ function Hash(entries) {
1445
+ var index = -1, length = entries == null ? 0 : entries.length;
1446
+ this.clear();
1447
+ while (++index < length) {
1448
+ var entry = entries[index];
1449
+ this.set(entry[0], entry[1]);
1450
+ }
1451
+ }
1452
+ Hash.prototype.clear = _hashClear_default;
1453
+ Hash.prototype["delete"] = _hashDelete_default;
1454
+ Hash.prototype.get = _hashGet_default;
1455
+ Hash.prototype.has = _hashHas_default;
1456
+ Hash.prototype.set = _hashSet_default;
1457
+ var _Hash_default = Hash;
1458
+
1459
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
1460
+ function listCacheClear() {
1461
+ this.__data__ = [];
1462
+ this.size = 0;
1463
+ }
1464
+ var _listCacheClear_default = listCacheClear;
1465
+
1466
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js
1467
+ function eq(value, other) {
1468
+ return value === other || value !== value && other !== other;
1469
+ }
1470
+ var eq_default = eq;
1471
+
1472
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
1473
+ function assocIndexOf(array, key) {
1474
+ var length = array.length;
1475
+ while (length--) {
1476
+ if (eq_default(array[length][0], key)) {
1477
+ return length;
1478
+ }
1479
+ }
1480
+ return -1;
1481
+ }
1482
+ var _assocIndexOf_default = assocIndexOf;
1483
+
1484
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
1485
+ var arrayProto = Array.prototype;
1486
+ var splice = arrayProto.splice;
1487
+ function listCacheDelete(key) {
1488
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
1489
+ if (index < 0) {
1490
+ return false;
1491
+ }
1492
+ var lastIndex = data.length - 1;
1493
+ if (index == lastIndex) {
1494
+ data.pop();
1495
+ } else {
1496
+ splice.call(data, index, 1);
1497
+ }
1498
+ --this.size;
1499
+ return true;
1500
+ }
1501
+ var _listCacheDelete_default = listCacheDelete;
1502
+
1503
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
1504
+ function listCacheGet(key) {
1505
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
1506
+ return index < 0 ? undefined : data[index][1];
1507
+ }
1508
+ var _listCacheGet_default = listCacheGet;
1509
+
1510
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
1511
+ function listCacheHas(key) {
1512
+ return _assocIndexOf_default(this.__data__, key) > -1;
1513
+ }
1514
+ var _listCacheHas_default = listCacheHas;
1515
+
1516
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
1517
+ function listCacheSet(key, value) {
1518
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
1519
+ if (index < 0) {
1520
+ ++this.size;
1521
+ data.push([key, value]);
1522
+ } else {
1523
+ data[index][1] = value;
1524
+ }
1525
+ return this;
1526
+ }
1527
+ var _listCacheSet_default = listCacheSet;
1528
+
1529
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
1530
+ function ListCache(entries) {
1531
+ var index = -1, length = entries == null ? 0 : entries.length;
1532
+ this.clear();
1533
+ while (++index < length) {
1534
+ var entry = entries[index];
1535
+ this.set(entry[0], entry[1]);
1536
+ }
1537
+ }
1538
+ ListCache.prototype.clear = _listCacheClear_default;
1539
+ ListCache.prototype["delete"] = _listCacheDelete_default;
1540
+ ListCache.prototype.get = _listCacheGet_default;
1541
+ ListCache.prototype.has = _listCacheHas_default;
1542
+ ListCache.prototype.set = _listCacheSet_default;
1543
+ var _ListCache_default = ListCache;
1544
+
1545
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
1546
+ var Map2 = _getNative_default(_root_default, "Map");
1547
+ var _Map_default = Map2;
1548
+
1549
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
1550
+ function mapCacheClear() {
1551
+ this.size = 0;
1552
+ this.__data__ = {
1553
+ hash: new _Hash_default,
1554
+ map: new (_Map_default || _ListCache_default),
1555
+ string: new _Hash_default
1556
+ };
1557
+ }
1558
+ var _mapCacheClear_default = mapCacheClear;
1559
+
1560
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
1561
+ function isKeyable(value) {
1562
+ var type = typeof value;
1563
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
1564
+ }
1565
+ var _isKeyable_default = isKeyable;
1566
+
1567
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
1568
+ function getMapData(map, key) {
1569
+ var data = map.__data__;
1570
+ return _isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1571
+ }
1572
+ var _getMapData_default = getMapData;
1573
+
1574
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
1575
+ function mapCacheDelete(key) {
1576
+ var result = _getMapData_default(this, key)["delete"](key);
1577
+ this.size -= result ? 1 : 0;
1578
+ return result;
1579
+ }
1580
+ var _mapCacheDelete_default = mapCacheDelete;
1581
+
1582
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
1583
+ function mapCacheGet(key) {
1584
+ return _getMapData_default(this, key).get(key);
1585
+ }
1586
+ var _mapCacheGet_default = mapCacheGet;
1587
+
1588
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
1589
+ function mapCacheHas(key) {
1590
+ return _getMapData_default(this, key).has(key);
1591
+ }
1592
+ var _mapCacheHas_default = mapCacheHas;
1593
+
1594
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
1595
+ function mapCacheSet(key, value) {
1596
+ var data = _getMapData_default(this, key), size = data.size;
1597
+ data.set(key, value);
1598
+ this.size += data.size == size ? 0 : 1;
1599
+ return this;
1600
+ }
1601
+ var _mapCacheSet_default = mapCacheSet;
1602
+
1603
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
1604
+ function MapCache(entries) {
1605
+ var index = -1, length = entries == null ? 0 : entries.length;
1606
+ this.clear();
1607
+ while (++index < length) {
1608
+ var entry = entries[index];
1609
+ this.set(entry[0], entry[1]);
1610
+ }
1611
+ }
1612
+ MapCache.prototype.clear = _mapCacheClear_default;
1613
+ MapCache.prototype["delete"] = _mapCacheDelete_default;
1614
+ MapCache.prototype.get = _mapCacheGet_default;
1615
+ MapCache.prototype.has = _mapCacheHas_default;
1616
+ MapCache.prototype.set = _mapCacheSet_default;
1617
+ var _MapCache_default = MapCache;
1618
+
1619
+ // node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
1620
+ var FUNC_ERROR_TEXT = "Expected a function";
1621
+ function memoize(func, resolver) {
1622
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
1623
+ throw new TypeError(FUNC_ERROR_TEXT);
1624
+ }
1625
+ var memoized = function() {
1626
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache2 = memoized.cache;
1627
+ if (cache2.has(key)) {
1628
+ return cache2.get(key);
1629
+ }
1630
+ var result = func.apply(this, args);
1631
+ memoized.cache = cache2.set(key, result) || cache2;
1632
+ return result;
1633
+ };
1634
+ memoized.cache = new (memoize.Cache || _MapCache_default);
1635
+ return memoized;
1636
+ }
1637
+ memoize.Cache = _MapCache_default;
1638
+ var memoize_default = memoize;
1639
+
1640
+ // src/utils/envUtils.ts
1641
+ import { homedir as homedir2 } from "os";
1642
+ import { join as join2 } from "path";
1643
+
1644
+ // src/constants/branding.ts
1645
+ var PRODUCT_URL = "https://costrict.ai";
1646
+ var PRODUCT_DOCS_URL = `${PRODUCT_URL}/docs`;
1647
+ var PRODUCT_CHROME_URL = `${PRODUCT_URL}/chrome`;
1648
+ var PRODUCT_SETTINGS_URL = `${PRODUCT_URL}/settings`;
1649
+ var PRODUCT_CODE_URL = `${PRODUCT_URL}/code`;
1650
+ var PRODUCT_SESSION_URL = `${PRODUCT_URL}/session`;
1651
+ var PRODUCT_UPGRADE_URL = `${PRODUCT_URL}/upgrade/max`;
1652
+ var PRODUCT_DOWNLOAD_URL = `${PRODUCT_URL}/download`;
1653
+ var PRODUCT_DESKTOP_API_URL = `${PRODUCT_URL}/api/desktop`;
1654
+ var PRODUCT_OAUTH_CLIENT_METADATA_URL = `${PRODUCT_URL}/oauth/costrict-client-metadata`;
1655
+ var CONFIG_DIR_NAME = ".costrict";
1656
+
1657
+ // src/utils/envUtils.ts
1658
+ var getCostrictConfigHomeDir = memoize_default(() => {
1659
+ return (process.env.COSTRICT_CONFIG_DIR ?? process.env.CLAUDE_CONFIG_DIR ?? join2(homedir2(), CONFIG_DIR_NAME)).normalize("NFC");
1660
+ }, () => process.env.COSTRICT_CONFIG_DIR ?? process.env.CLAUDE_CONFIG_DIR);
1661
+ var getClaudeConfigHomeDir = getCostrictConfigHomeDir;
1662
+
1255
1663
  // src/services/rawDump/session.ts
1256
1664
  var log2 = createLogger("session");
1257
- function getClaudeConfigHomeDir() {
1258
- return process.env.CLAUDE_CONFIG_HOME || path6.join(os6.homedir(), ".claude");
1259
- }
1260
1665
  function normalizeProjectPath2(dir) {
1261
1666
  return dir.replace(/:/g, "-").replace(/[/\\]/g, "-");
1262
1667
  }
@@ -1267,8 +1672,8 @@ function getSessionDirectory(directory) {
1267
1672
  path6.join(claudeHome, "projects", projectPath),
1268
1673
  path6.join(claudeHome, "transcripts"),
1269
1674
  path6.join(claudeHome, "sessions"),
1270
- path6.join(directory, ".claude", "sessions"),
1271
- path6.join(directory, ".claude"),
1675
+ path6.join(directory, CONFIG_DIR_NAME, "sessions"),
1676
+ path6.join(directory, CONFIG_DIR_NAME),
1272
1677
  directory,
1273
1678
  process.env.CSC_SESSION_DIR || ""
1274
1679
  ];
@@ -1871,7 +2276,7 @@ async function uploadSummary(payload, authData) {
1871
2276
  client_ide: "cli",
1872
2277
  client_version: authData.version,
1873
2278
  client_os: detectOs(),
1874
- client_os_version: os7.release(),
2279
+ client_os_version: os6.release(),
1875
2280
  caller: process.env.CSC_RAW_DUMP_CALLER || "chat"
1876
2281
  };
1877
2282
  await uploadReport(authData, "/raw-store/task-summary", body);
@@ -2173,10 +2578,10 @@ if (scriptPath.endsWith("worker.ts") || scriptPath.endsWith("worker.js")) {
2173
2578
 
2174
2579
  // src/services/rawDump/timerWorker.ts
2175
2580
  import { promises as fs8 } from "fs";
2176
- import os8 from "os";
2581
+ import os7 from "os";
2177
2582
  import path8 from "path";
2178
2583
  var log5 = createLogger("timer");
2179
- var TIMER_LOCK_FILE = path8.join(os8.homedir(), ".claude", "raw-dump", "csc-timer.lock");
2584
+ var TIMER_LOCK_FILE = path8.join(os7.homedir(), ".claude", "raw-dump", "csc-timer.lock");
2180
2585
  var isRunning = false;
2181
2586
  async function acquireTimerLock() {
2182
2587
  try {
@@ -2288,5 +2693,5 @@ export {
2288
2693
  startBatchWorker
2289
2694
  };
2290
2695
 
2291
- //# debugId=2644B5BA08355EE564756E2164756E21
2696
+ //# debugId=19F0142A23AA826964756E2164756E21
2292
2697
  //# sourceMappingURL=batchWorker.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/csc",
3
- "version": "4.1.11",
3
+ "version": "4.1.12",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",
@@ -29,8 +29,7 @@
29
29
  },
30
30
  "workspaces": [
31
31
  "packages/*",
32
- "packages/@ant/*",
33
- "packages/@anthropic-ai/*"
32
+ "packages/@costrict/*"
34
33
  ],
35
34
  "files": [
36
35
  "dist",
@@ -79,6 +78,11 @@
79
78
  "docs:dev": "npx mintlify dev",
80
79
  "typecheck": "tsc --noEmit",
81
80
  "rcs": "bun run scripts/rcs.ts",
81
+ "self-verify": "bun run scripts/self-verify.ts",
82
+ "self-verify:smoke": "bun run scripts/self-verify.ts --profile smoke",
83
+ "self-verify:release-p0": "bun run scripts/self-verify.ts --profile release-p0",
84
+ "self-verify:smoke:keep": "bun run scripts/self-verify.ts --profile smoke --keep-artifacts",
85
+ "self-verify:release-p0:keep": "bun run scripts/self-verify.ts --profile release-p0 --keep-artifacts",
82
86
  "security:scan": "bun run scripts/security-scan.ts"
83
87
  },
84
88
  "dependencies": {
@@ -97,18 +101,18 @@
97
101
  },
98
102
  "devDependencies": {
99
103
  "@alcalzone/ansi-tokenize": "^0.3.0",
100
- "@ant/claude-for-chrome-mcp": "workspace:*",
101
- "@ant/computer-use-input": "workspace:*",
102
- "@ant/computer-use-mcp": "workspace:*",
103
- "@ant/computer-use-swift": "workspace:*",
104
- "@ant/model-provider": "workspace:*",
104
+ "@costrict/chrome-mcp": "workspace:*",
105
+ "@costrict/computer-use-input": "workspace:*",
106
+ "@costrict/computer-use-mcp": "workspace:*",
107
+ "@costrict/computer-use-swift": "workspace:*",
108
+ "@costrict/model-provider": "workspace:*",
105
109
  "@anthropic-ai/bedrock-sdk": "^0.26.4",
106
110
  "@anthropic-ai/claude-agent-sdk": "^0.2.87",
107
111
  "@anthropic-ai/foundry-sdk": "^0.2.3",
108
112
  "@anthropic-ai/mcpb": "^2.1.2",
109
113
  "@anthropic-ai/sdk": "^0.80.0",
110
114
  "@anthropic-ai/vertex-sdk": "^0.14.4",
111
- "@anthropic/ink": "workspace:*",
115
+ "@costrict/ink": "workspace:*",
112
116
  "@aws-sdk/client-bedrock": "^3.1020.0",
113
117
  "@aws-sdk/client-bedrock-runtime": "^3.1020.0",
114
118
  "@aws-sdk/client-sts": "^3.1020.0",
@@ -116,9 +120,9 @@
116
120
  "@aws-sdk/credential-providers": "^3.1020.0",
117
121
  "@azure/identity": "^4.13.1",
118
122
  "@biomejs/biome": "^2.4.10",
119
- "@claude-code-best/agent-tools": "workspace:*",
120
- "@claude-code-best/builtin-tools": "workspace:*",
121
- "@claude-code-best/mcp-client": "workspace:*",
123
+ "@costrict/agent-tools": "workspace:*",
124
+ "@costrict/builtin-tools": "workspace:*",
125
+ "@costrict/mcp-client": "workspace:*",
122
126
  "@commander-js/extra-typings": "^14.0.0",
123
127
  "@growthbook/growthbook": "^1.6.5",
124
128
  "@langfuse/otel": "^5.1.0",