claude-use 11.66.2 → 11.66.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/cli.cjs CHANGED
@@ -25872,20 +25872,7 @@ var init_statusline = __esm({
25872
25872
  }
25873
25873
  });
25874
25874
 
25875
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/complex.js
25876
- var complexFromPolar;
25877
- var init_complex = __esm({
25878
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/complex.js"() {
25879
- complexFromPolar = (magnitude, phase, unit) => ({
25880
- kind: "complex",
25881
- re: magnitude * Math.cos(phase),
25882
- im: magnitude * Math.sin(phase),
25883
- unit
25884
- });
25885
- }
25886
- });
25887
-
25888
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/computed-value.js
25875
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/computed-value.js
25889
25876
  function normalizeUnit(unit) {
25890
25877
  if (unit === void 0) return {};
25891
25878
  const normalized = {};
@@ -25916,7 +25903,7 @@ function combineUnitsForDivide(a10, b) {
25916
25903
  }
25917
25904
  var UnitSchema, DurationUnitSchema, ComputedValueSchema;
25918
25905
  var init_computed_value = __esm({
25919
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/computed-value.js"() {
25906
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/computed-value.js"() {
25920
25907
  init_zod();
25921
25908
  UnitSchema = external_exports.record(external_exports.string(), external_exports.number());
25922
25909
  DurationUnitSchema = external_exports.enum([
@@ -25959,7 +25946,20 @@ var init_computed_value = __esm({
25959
25946
  }
25960
25947
  });
25961
25948
 
25962
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluation.js
25949
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/complex.js
25950
+ var complexFromPolar;
25951
+ var init_complex = __esm({
25952
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/complex.js"() {
25953
+ complexFromPolar = (magnitude, phase, unit) => ({
25954
+ kind: "complex",
25955
+ re: magnitude * Math.cos(phase),
25956
+ im: magnitude * Math.sin(phase),
25957
+ unit
25958
+ });
25959
+ }
25960
+ });
25961
+
25962
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluation.js
25963
25963
  function definite(value2) {
25964
25964
  return {
25965
25965
  status: "definite",
@@ -25980,7 +25980,7 @@ function firstIndeterminate(...results) {
25980
25980
  }
25981
25981
  var IndeterminateReasonSchema;
25982
25982
  var init_evaluation = __esm({
25983
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluation.js"() {
25983
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluation.js"() {
25984
25984
  init_zod();
25985
25985
  IndeterminateReasonSchema = external_exports.object({
25986
25986
  /** Which of the three reason categories applies. */
@@ -25995,10 +25995,10 @@ var init_evaluation = __esm({
25995
25995
  }
25996
25996
  });
25997
25997
 
25998
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/json-value.js
25998
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/json-value.js
25999
25999
  var JsonValueSchema;
26000
26000
  var init_json_value = __esm({
26001
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/json-value.js"() {
26001
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/json-value.js"() {
26002
26002
  init_zod();
26003
26003
  JsonValueSchema = external_exports.lazy(() => external_exports.union([
26004
26004
  external_exports.string(),
@@ -26011,10 +26011,10 @@ var init_json_value = __esm({
26011
26011
  }
26012
26012
  });
26013
26013
 
26014
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/tree.js
26014
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/tree.js
26015
26015
  var ComparisonOperatorSchema, TextComparisonOperatorSchema, MembershipOperatorSchema, ArithmeticOperatorSchema, HitPolicySchema, NotNodeSchema, AndNodeSchema, OrNodeSchema, AllOfNodeSchema, AnyOfNodeSchema, CompareNodeSchema, TextCompareNodeSchema, MemberOfNodeSchema, ExistsNodeSchema, SomeNodeSchema, EveryNodeSchema, TreeReferenceNodeSchema, PredicateNodeSchema, NumberLiteralNodeSchema, TextLiteralNodeSchema, BooleanLiteralNodeSchema, InstantLiteralNodeSchema, DurationLiteralNodeSchema, ComplexRectangularLiteralNodeSchema, ComplexPolarLiteralNodeSchema, ComplexLiteralNodeSchema, ReferenceNodeSchema, ArithmeticNodeSchema, NegateNodeSchema, CallNodeSchema, LookupNodeSchema, ConditionalCaseSchema, ConditionalNodeSchema, FoldCombinerSchema, FoldNodeSchema, AccumulatorNodeSchema, DelegateNodeSchema, CoreExpressionNodeSchema, ExpressionNodeSchema;
26016
26016
  var init_tree = __esm({
26017
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/tree.js"() {
26017
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/tree.js"() {
26018
26018
  init_computed_value();
26019
26019
  init_json_value();
26020
26020
  init_zod();
@@ -26302,15 +26302,15 @@ var init_tree = __esm({
26302
26302
  }
26303
26303
  });
26304
26304
 
26305
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/functions.js
26305
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/functions.js
26306
26306
  var emptyFunctionRegistry;
26307
26307
  var init_functions = __esm({
26308
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/functions.js"() {
26308
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/functions.js"() {
26309
26309
  emptyFunctionRegistry = {};
26310
26310
  }
26311
26311
  });
26312
26312
 
26313
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-budget.js
26313
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-budget.js
26314
26314
  function createEvaluationBudget(maxNodes, maxNestingDepth) {
26315
26315
  let nodesVisited = 0;
26316
26316
  return { checkNode(nestingDepth) {
@@ -26321,13 +26321,13 @@ function createEvaluationBudget(maxNodes, maxNestingDepth) {
26321
26321
  }
26322
26322
  var DEFAULT_MAX_EVALUATION_NODES;
26323
26323
  var init_evaluator_budget = __esm({
26324
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-budget.js"() {
26324
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-budget.js"() {
26325
26325
  init_evaluation();
26326
26326
  DEFAULT_MAX_EVALUATION_NODES = 1e4;
26327
26327
  }
26328
26328
  });
26329
26329
 
26330
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-effect.js
26330
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-effect.js
26331
26331
  function* wait(value2) {
26332
26332
  return yield {
26333
26333
  kind: "wait",
@@ -26366,11 +26366,11 @@ function runSync(task) {
26366
26366
  return step2.value;
26367
26367
  }
26368
26368
  var init_evaluator_effect = __esm({
26369
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-effect.js"() {
26369
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-effect.js"() {
26370
26370
  }
26371
26371
  });
26372
26372
 
26373
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-collection.js
26373
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-collection.js
26374
26374
  function* resolveParticipatingItems(evaluatePredicate2, collection, filter, context, resolvers, functions, visitedTreeKeys, treeReferenceDepth, budget, nestingDepth) {
26375
26375
  const candidates = yield* wait(resolvers.resolveCollection(collection, context));
26376
26376
  return yield* all(candidates.map(function* (item) {
@@ -26396,12 +26396,136 @@ function firstFilterIndeterminate(participating) {
26396
26396
  }
26397
26397
  }
26398
26398
  var init_evaluator_collection = __esm({
26399
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-collection.js"() {
26399
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-collection.js"() {
26400
26400
  init_evaluator_effect();
26401
26401
  }
26402
26402
  });
26403
26403
 
26404
- // node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/ast.js
26404
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/complex-division.js
26405
+ function scaleByPowerOfTwo(value2, exponent) {
26406
+ const firstHalf = Math.trunc(exponent / 2);
26407
+ return value2 * 2 ** firstHalf * 2 ** (exponent - firstHalf);
26408
+ }
26409
+ function scaleToAboutAQuarter(larger2) {
26410
+ return -Math.floor(Math.log2(larger2)) - 2;
26411
+ }
26412
+ function divideComplexComponents(dividend, divisor) {
26413
+ const largerDividend = Math.max(Math.abs(dividend.re), Math.abs(dividend.im));
26414
+ if (largerDividend === 0) return {
26415
+ re: 0,
26416
+ im: 0
26417
+ };
26418
+ const largerDivisor = Math.max(Math.abs(divisor.re), Math.abs(divisor.im));
26419
+ const dividendScale = scaleToAboutAQuarter(largerDividend);
26420
+ const divisorScale = scaleToAboutAQuarter(largerDivisor);
26421
+ const a10 = scaleByPowerOfTwo(dividend.re, dividendScale);
26422
+ const b = scaleByPowerOfTwo(dividend.im, dividendScale);
26423
+ const c10 = scaleByPowerOfTwo(divisor.re, divisorScale);
26424
+ const d = scaleByPowerOfTwo(divisor.im, divisorScale);
26425
+ const denominator = c10 * c10 + d * d;
26426
+ const shift = divisorScale - dividendScale;
26427
+ return {
26428
+ re: scaleByPowerOfTwo((a10 * c10 + b * d) / denominator, shift),
26429
+ im: scaleByPowerOfTwo((b * c10 - a10 * d) / denominator, shift)
26430
+ };
26431
+ }
26432
+ var init_complex_division = __esm({
26433
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/complex-division.js"() {
26434
+ }
26435
+ });
26436
+
26437
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/duration-order.js
26438
+ function exactParts(magnitude) {
26439
+ scratchValue[0] = magnitude;
26440
+ const bits = scratchBits[0];
26441
+ if (bits === void 0) throw new Error("a one-element array always has an element zero");
26442
+ const exponentField = Number(bits >> FRACTION_BITS & EXPONENT_FIELD_MASK);
26443
+ const fraction = bits & FRACTION_MASK;
26444
+ if (exponentField === 0) return {
26445
+ significand: fraction,
26446
+ exponent: SUBNORMAL_EXPONENT
26447
+ };
26448
+ return {
26449
+ significand: fraction | IMPLICIT_LEADING_BIT,
26450
+ exponent: exponentField - EXPONENT_BIAS_WITH_FRACTION
26451
+ };
26452
+ }
26453
+ function orderOf(left, right) {
26454
+ if (left < right) return -1;
26455
+ return left > right ? 1 : 0;
26456
+ }
26457
+ function exactOrder(left, right) {
26458
+ const leftSign = Math.sign(left.value);
26459
+ const rightSign = Math.sign(right.value);
26460
+ if (leftSign !== rightSign) return leftSign < rightSign ? -1 : 1;
26461
+ if (leftSign === 0) return 0;
26462
+ const leftParts = exactParts(Math.abs(left.value));
26463
+ const rightParts = exactParts(Math.abs(right.value));
26464
+ let leftProduct = leftParts.significand * BigInt(left.size);
26465
+ let rightProduct = rightParts.significand * BigInt(right.size);
26466
+ const shift = leftParts.exponent - rightParts.exponent;
26467
+ if (shift > 0) leftProduct <<= BigInt(shift);
26468
+ else rightProduct <<= BigInt(-shift);
26469
+ return leftSign < 0 ? orderOf(rightProduct, leftProduct) : orderOf(leftProduct, rightProduct);
26470
+ }
26471
+ function compareDurations(left, right) {
26472
+ if (Number.isNaN(left.value) || Number.isNaN(right.value)) return void 0;
26473
+ if (!Number.isFinite(left.value) || !Number.isFinite(right.value)) return orderOf(left.value, right.value);
26474
+ const leftSize = millisecondsPerDurationUnit[left.unit];
26475
+ const rightSize = millisecondsPerDurationUnit[right.unit];
26476
+ const sharedSize = Math.max(leftSize, rightSize);
26477
+ const leftInShared = left.value / (sharedSize / leftSize);
26478
+ const rightInShared = right.value / (sharedSize / rightSize);
26479
+ if (leftInShared < rightInShared) return -1;
26480
+ if (leftInShared > rightInShared) return 1;
26481
+ return exactOrder({
26482
+ value: left.value,
26483
+ size: leftSize
26484
+ }, {
26485
+ value: right.value,
26486
+ size: rightSize
26487
+ });
26488
+ }
26489
+ var millisecondsPerDurationUnit, ONE, FRACTION_BITS, FRACTION_MASK, IMPLICIT_LEADING_BIT, EXPONENT_FIELD_MASK, EXPONENT_BIAS_WITH_FRACTION, SUBNORMAL_EXPONENT, scratchValue, scratchBits;
26490
+ var init_duration_order = __esm({
26491
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/duration-order.js"() {
26492
+ millisecondsPerDurationUnit = {
26493
+ ms: 1,
26494
+ s: 1e3,
26495
+ min: 6e4,
26496
+ h: 36e5,
26497
+ d: 864e5
26498
+ };
26499
+ ONE = 1n;
26500
+ FRACTION_BITS = 52n;
26501
+ FRACTION_MASK = (ONE << FRACTION_BITS) - ONE;
26502
+ IMPLICIT_LEADING_BIT = ONE << FRACTION_BITS;
26503
+ EXPONENT_FIELD_MASK = 2047n;
26504
+ EXPONENT_BIAS_WITH_FRACTION = 1075;
26505
+ SUBNORMAL_EXPONENT = -1074;
26506
+ scratchValue = /* @__PURE__ */ new Float64Array(1);
26507
+ scratchBits = new BigUint64Array(scratchValue.buffer);
26508
+ }
26509
+ });
26510
+
26511
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/integer-power.js
26512
+ function powerByRepeatedSquaring({ base, exponent, identity, multiply }) {
26513
+ let result = identity;
26514
+ let factor = base;
26515
+ let remaining = exponent;
26516
+ while (remaining > 0) {
26517
+ if (remaining % 2 === 1) result = multiply(result, factor);
26518
+ remaining = Math.floor(remaining / 2);
26519
+ if (remaining > 0) factor = multiply(factor, factor);
26520
+ }
26521
+ return result;
26522
+ }
26523
+ var init_integer_power = __esm({
26524
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/integer-power.js"() {
26525
+ }
26526
+ });
26527
+
26528
+ // node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/ast.js
26405
26529
  function rangeContains(range2, unit) {
26406
26530
  return unit >= range2.from && unit <= range2.to;
26407
26531
  }
@@ -26410,14 +26534,14 @@ function charClassMatches(node2, unit) {
26410
26534
  return node2.negated ? !inRanges : inRanges;
26411
26535
  }
26412
26536
  var init_ast = __esm({
26413
- "node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/ast.js"() {
26537
+ "node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/ast.js"() {
26414
26538
  }
26415
26539
  });
26416
26540
 
26417
- // node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/errors.js
26541
+ // node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/errors.js
26418
26542
  var RegexParseError;
26419
26543
  var init_errors3 = __esm({
26420
- "node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/errors.js"() {
26544
+ "node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/errors.js"() {
26421
26545
  RegexParseError = class extends Error {
26422
26546
  pattern;
26423
26547
  index;
@@ -26433,7 +26557,7 @@ var init_errors3 = __esm({
26433
26557
  }
26434
26558
  });
26435
26559
 
26436
- // node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/shorthand-classes.js
26560
+ // node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/shorthand-classes.js
26437
26561
  function codeOf(char) {
26438
26562
  return char.charCodeAt(0);
26439
26563
  }
@@ -26494,7 +26618,7 @@ function expandShorthandClass(letter) {
26494
26618
  }
26495
26619
  var DIGIT_RANGES, WORD_RANGES, SPACE_RANGES;
26496
26620
  var init_shorthand_classes = __esm({
26497
- "node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/shorthand-classes.js"() {
26621
+ "node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/shorthand-classes.js"() {
26498
26622
  DIGIT_RANGES = [range("0", "9")];
26499
26623
  WORD_RANGES = [
26500
26624
  range("A", "Z"),
@@ -26513,7 +26637,7 @@ var init_shorthand_classes = __esm({
26513
26637
  }
26514
26638
  });
26515
26639
 
26516
- // node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/parser.js
26640
+ // node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/parser.js
26517
26641
  function parseRegex(pattern) {
26518
26642
  const parser = new Parser(pattern);
26519
26643
  const node2 = parser.parseAlternation();
@@ -26522,7 +26646,7 @@ function parseRegex(pattern) {
26522
26646
  }
26523
26647
  var SEQUENCE_TERMINATORS, SIMPLE_ESCAPES, Parser;
26524
26648
  var init_parser = __esm({
26525
- "node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/parser.js"() {
26649
+ "node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/parser.js"() {
26526
26650
  init_errors3();
26527
26651
  init_shorthand_classes();
26528
26652
  SEQUENCE_TERMINATORS = /* @__PURE__ */ new Set(["|", ")"]);
@@ -26837,13 +26961,13 @@ var init_parser = __esm({
26837
26961
  }
26838
26962
  });
26839
26963
 
26840
- // node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/nfa.js
26964
+ // node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/nfa.js
26841
26965
  function compileToNfa(node2) {
26842
26966
  return new NfaBuilder().build(node2);
26843
26967
  }
26844
26968
  var NfaBuilder;
26845
26969
  var init_nfa = __esm({
26846
- "node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/nfa.js"() {
26970
+ "node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/nfa.js"() {
26847
26971
  init_ast();
26848
26972
  NfaBuilder = class {
26849
26973
  states = [];
@@ -27085,7 +27209,7 @@ var init_nfa = __esm({
27085
27209
  }
27086
27210
  });
27087
27211
 
27088
- // node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/matcher.js
27212
+ // node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/matcher.js
27089
27213
  function closure(nfa, seeds, pos, length) {
27090
27214
  const result = /* @__PURE__ */ new Set();
27091
27215
  const visited = /* @__PURE__ */ new Set();
@@ -27141,21 +27265,21 @@ function compilePattern(pattern) {
27141
27265
  return { test: (input2) => matchesNfa(nfa, input2) };
27142
27266
  }
27143
27267
  var init_matcher = __esm({
27144
- "node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/matcher.js"() {
27268
+ "node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/matcher.js"() {
27145
27269
  init_parser();
27146
27270
  init_nfa();
27147
27271
  }
27148
27272
  });
27149
27273
 
27150
- // node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/index.js
27274
+ // node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/index.js
27151
27275
  var init_dist = __esm({
27152
- "node_modules/.pnpm/trilean-regex@1.0.3/node_modules/trilean-regex/dist/index.js"() {
27276
+ "node_modules/.pnpm/trilean-regex@1.0.13/node_modules/trilean-regex/dist/index.js"() {
27153
27277
  init_errors3();
27154
27278
  init_matcher();
27155
27279
  }
27156
27280
  });
27157
27281
 
27158
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-operations.js
27282
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-operations.js
27159
27283
  function combineAnd(left, right) {
27160
27284
  if (left.status === "definite" && !left.value) return definite(false);
27161
27285
  if (right.status === "definite" && !right.value) return definite(false);
@@ -27232,9 +27356,11 @@ function compareValues(op, left, right) {
27232
27356
  if (rightEpoch === void 0) return unparseableInstant(right.value);
27233
27357
  return definite(applyComparisonOperator(op, leftEpoch, rightEpoch));
27234
27358
  }
27235
- case "duration":
27359
+ case "duration": {
27236
27360
  if (right.kind !== "duration") return indeterminate("wrong-type", `cannot compare a 'duration' value with a '${right.kind}' value`);
27237
- return definite(applyComparisonOperator(op, toMilliseconds(left.value, left.unit), toMilliseconds(right.value, right.unit)));
27361
+ const order = compareDurations(left, right);
27362
+ return definite(applyComparisonOperator(op, order ?? NaN, 0));
27363
+ }
27238
27364
  case "complex":
27239
27365
  if (op !== "eq" && op !== "neq") return indeterminate("wrong-type", `ordering operator '${op}' is not defined for complex values; the complex plane has no total order`);
27240
27366
  if (right.kind !== "complex") return indeterminate("wrong-type", `cannot compare a 'complex' value with a '${right.kind}' value`);
@@ -27301,7 +27427,7 @@ function computeMembershipMatch(operand, candidate) {
27301
27427
  }
27302
27428
  case "duration":
27303
27429
  if (candidate.kind !== "duration") return indeterminate("wrong-type", `cannot compare a 'duration' value with a '${candidate.kind}' value for membership`);
27304
- return definite(toMilliseconds(operand.value, operand.unit) === toMilliseconds(candidate.value, candidate.unit));
27430
+ return definite(compareDurations(operand, candidate) === 0);
27305
27431
  case "complex":
27306
27432
  if (candidate.kind !== "complex") return indeterminate("wrong-type", `cannot compare a 'complex' value with a '${candidate.kind}' value for membership`);
27307
27433
  if (!unitsEqual(operand.unit, candidate.unit)) return indeterminate("wrong-type", "cannot compare complex values with incompatible units for membership");
@@ -27451,12 +27577,12 @@ function applyArithmeticOnComplex(op, left, right) {
27451
27577
  case "multiply":
27452
27578
  return definite(multiplyComplexValues(left, right));
27453
27579
  case "divide": {
27454
- const divisorSquaredMagnitude = right.re * right.re + right.im * right.im;
27455
- if (divisorSquaredMagnitude === 0) return indeterminate("domain-error", "division by zero");
27580
+ if (right.re === 0 && right.im === 0) return indeterminate("domain-error", "division by zero");
27581
+ const quotient = divideComplexComponents(left, right);
27456
27582
  return definite({
27457
27583
  kind: "complex",
27458
- re: (left.re * right.re + left.im * right.im) / divisorSquaredMagnitude,
27459
- im: (left.im * right.re - left.re * right.im) / divisorSquaredMagnitude,
27584
+ re: quotient.re,
27585
+ im: quotient.im,
27460
27586
  unit: combineUnitsForDivide(left.unit, right.unit)
27461
27587
  });
27462
27588
  }
@@ -27466,6 +27592,20 @@ function applyArithmeticOnComplex(op, left, right) {
27466
27592
  throw new Error("unreachable arithmetic operator");
27467
27593
  }
27468
27594
  }
27595
+ function reciprocalOf(value2) {
27596
+ return {
27597
+ kind: "complex",
27598
+ ...divideComplexComponents({
27599
+ re: 1,
27600
+ im: 0
27601
+ }, value2),
27602
+ unit: combineUnitsForDivide({}, value2.unit)
27603
+ };
27604
+ }
27605
+ function isFiniteAndNonZero(value2) {
27606
+ const larger2 = Math.max(Math.abs(value2.re), Math.abs(value2.im));
27607
+ return Number.isFinite(larger2) && larger2 > 0;
27608
+ }
27469
27609
  function applyComplexPower(base, exponent) {
27470
27610
  if (exponent.kind !== "number" || !Number.isInteger(exponent.value)) return indeterminate("wrong-type", "'power' with a complex operand requires a real integer exponent");
27471
27611
  if (!isDimensionless(base.unit) || !isDimensionless(exponent.unit)) return indeterminate("wrong-type", "'power' requires dimensionless operands");
@@ -27476,12 +27616,28 @@ function applyComplexPower(base, exponent) {
27476
27616
  unit: {}
27477
27617
  };
27478
27618
  const complexBase = toComplexValue(base);
27479
- let repeatedProduct = complexUnit;
27480
- for (let applied = 0; applied < Math.abs(exponent.value); applied += 1) repeatedProduct = multiplyComplexValues(repeatedProduct, complexBase);
27481
- if (exponent.value >= 0) return definite(repeatedProduct);
27482
- return applyArithmeticOnComplex("divide", complexUnit, repeatedProduct);
27619
+ if (exponent.value >= 0) return definite(powerByRepeatedSquaring({
27620
+ base: complexBase,
27621
+ exponent: exponent.value,
27622
+ identity: complexUnit,
27623
+ multiply: multiplyComplexValues
27624
+ }));
27625
+ if (complexBase.re === 0 && complexBase.im === 0) return indeterminate("domain-error", "division by zero");
27626
+ const positivePower = powerByRepeatedSquaring({
27627
+ base: complexBase,
27628
+ exponent: -exponent.value,
27629
+ identity: complexUnit,
27630
+ multiply: multiplyComplexValues
27631
+ });
27632
+ if (isFiniteAndNonZero(positivePower)) return definite(reciprocalOf(positivePower));
27633
+ return definite(powerByRepeatedSquaring({
27634
+ base: reciprocalOf(complexBase),
27635
+ exponent: -exponent.value,
27636
+ identity: complexUnit,
27637
+ multiply: multiplyComplexValues
27638
+ }));
27483
27639
  }
27484
- function applyArithmetic(op, left, right) {
27640
+ function applyArithmeticByKind(op, left, right) {
27485
27641
  if (left.kind === "instant" && right.kind === "instant" && op === "subtract") {
27486
27642
  const leftEpoch = toEpochMilliseconds(left.value);
27487
27643
  if (leftEpoch === void 0) return unparseableInstant(left.value);
@@ -27514,6 +27670,26 @@ function applyArithmetic(op, left, right) {
27514
27670
  }
27515
27671
  return applyArithmeticOnNumbers(op, left, right);
27516
27672
  }
27673
+ function hasFiniteMagnitude(value2) {
27674
+ switch (value2.kind) {
27675
+ case "number":
27676
+ case "duration":
27677
+ return Number.isFinite(value2.value);
27678
+ case "complex":
27679
+ return Number.isFinite(value2.re) && Number.isFinite(value2.im);
27680
+ case "text":
27681
+ case "boolean":
27682
+ case "instant":
27683
+ return true;
27684
+ default:
27685
+ throw new Error("unreachable computed-value kind");
27686
+ }
27687
+ }
27688
+ function applyArithmetic(op, left, right) {
27689
+ const result = applyArithmeticByKind(op, left, right);
27690
+ if (result.status === "definite" && !hasFiniteMagnitude(result.value)) return indeterminate("domain-error", "result is not a finite number");
27691
+ return result;
27692
+ }
27517
27693
  function checkReferenceUnit(expectedUnit, resolvedValue) {
27518
27694
  if (expectedUnit === void 0) return void 0;
27519
27695
  if (resolvedValue.kind !== "number" && resolvedValue.kind !== "complex") return indeterminate("wrong-type", "a unit was expected on a reference that resolved to a non-numeric value");
@@ -27524,25 +27700,21 @@ function invokeRegisteredFunction(functions, fnName, args) {
27524
27700
  if (fn2 === void 0) return indeterminate("wrong-type", `no function registered under the name '${fnName}'`);
27525
27701
  const outcome = fn2(args);
27526
27702
  if ("domainError" in outcome) return indeterminate("domain-error", outcome.domainError);
27703
+ if ("wrongType" in outcome) return indeterminate("wrong-type", outcome.wrongType);
27527
27704
  return definite(outcome);
27528
27705
  }
27529
- var millisecondsPerDurationUnit;
27530
27706
  var init_evaluator_operations = __esm({
27531
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-operations.js"() {
27707
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-operations.js"() {
27532
27708
  init_computed_value();
27709
+ init_complex_division();
27710
+ init_duration_order();
27533
27711
  init_evaluation();
27712
+ init_integer_power();
27534
27713
  init_dist();
27535
- millisecondsPerDurationUnit = {
27536
- ms: 1,
27537
- s: 1e3,
27538
- min: 6e4,
27539
- h: 36e5,
27540
- d: 864e5
27541
- };
27542
27714
  }
27543
27715
  });
27544
27716
 
27545
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator.js
27717
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator.js
27546
27718
  function* evaluatePredicateInternal(node2, context, resolvers, accumulator, functions, visitedTreeKeys, treeReferenceDepth, budget, nestingDepth) {
27547
27719
  const budgetExceeded = budget.checkNode(nestingDepth);
27548
27720
  if (budgetExceeded !== void 0) return budgetExceeded;
@@ -27788,7 +27960,7 @@ function* evaluateValueInternal(node2, context, resolvers, accumulator, function
27788
27960
  }
27789
27961
  }
27790
27962
  var init_evaluator = __esm({
27791
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator.js"() {
27963
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator.js"() {
27792
27964
  init_complex();
27793
27965
  init_evaluation();
27794
27966
  init_evaluator_effect();
@@ -27798,7 +27970,7 @@ var init_evaluator = __esm({
27798
27970
  }
27799
27971
  });
27800
27972
 
27801
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-factory.js
27973
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-factory.js
27802
27974
  function createEvaluator({ functions = emptyFunctionRegistry, maxNodes = DEFAULT_MAX_EVALUATION_NODES, maxNestingDepth = 500 }) {
27803
27975
  return {
27804
27976
  evaluatePredicate: async (node2, context, resolvers) => runAsync(evaluatePredicateInternal(node2, context, resolvers, void 0, functions, /* @__PURE__ */ new Set(), 0, createEvaluationBudget(maxNodes, maxNestingDepth), 0)),
@@ -27813,7 +27985,7 @@ function createSyncEvaluator({ functions = emptyFunctionRegistry, maxNodes = DEF
27813
27985
  }
27814
27986
  var evaluatePredicate, evaluateValue;
27815
27987
  var init_evaluator_factory = __esm({
27816
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/evaluator-factory.js"() {
27988
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/evaluator-factory.js"() {
27817
27989
  init_evaluator_budget();
27818
27990
  init_evaluator_effect();
27819
27991
  init_evaluator();
@@ -27822,9 +27994,9 @@ var init_evaluator_factory = __esm({
27822
27994
  }
27823
27995
  });
27824
27996
 
27825
- // node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/index.js
27997
+ // node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/index.js
27826
27998
  var init_dist2 = __esm({
27827
- "node_modules/.pnpm/trilean@1.7.1/node_modules/trilean/dist/index.js"() {
27999
+ "node_modules/.pnpm/trilean@1.9.0/node_modules/trilean/dist/index.js"() {
27828
28000
  init_tree();
27829
28001
  init_evaluator_factory();
27830
28002
  }
@@ -37182,7 +37354,7 @@ var init_package = __esm({
37182
37354
  "package.json"() {
37183
37355
  package_default = {
37184
37356
  name: "claude-use",
37185
- version: "11.66.2",
37357
+ version: "11.66.3",
37186
37358
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
37187
37359
  license: "MIT",
37188
37360
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -37241,7 +37413,7 @@ var init_package = __esm({
37241
37413
  cosmiconfig: "^10.0.1",
37242
37414
  picomatch: "^4.0.7",
37243
37415
  "string-width": "8.3.0",
37244
- trilean: "1.7.1",
37416
+ trilean: "1.9.0",
37245
37417
  undici: "7.30.1",
37246
37418
  zod: "^4.6.7"
37247
37419
  },
package/dist/index.cjs CHANGED
@@ -4751,7 +4751,7 @@ var init_package = __esm({
4751
4751
  "package.json"() {
4752
4752
  package_default = {
4753
4753
  name: "claude-use",
4754
- version: "11.66.2",
4754
+ version: "11.66.3",
4755
4755
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
4756
4756
  license: "MIT",
4757
4757
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -4810,7 +4810,7 @@ var init_package = __esm({
4810
4810
  cosmiconfig: "^10.0.1",
4811
4811
  picomatch: "^4.0.7",
4812
4812
  "string-width": "8.3.0",
4813
- trilean: "1.7.1",
4813
+ trilean: "1.9.0",
4814
4814
  undici: "7.30.1",
4815
4815
  zod: "^4.6.7"
4816
4816
  },
package/dist/index.mjs CHANGED
@@ -4727,7 +4727,7 @@ var init_package = __esm({
4727
4727
  "package.json"() {
4728
4728
  package_default = {
4729
4729
  name: "claude-use",
4730
- version: "11.66.2",
4730
+ version: "11.66.3",
4731
4731
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
4732
4732
  license: "MIT",
4733
4733
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -4786,7 +4786,7 @@ var init_package = __esm({
4786
4786
  cosmiconfig: "^10.0.1",
4787
4787
  picomatch: "^4.0.7",
4788
4788
  "string-width": "8.3.0",
4789
- trilean: "1.7.1",
4789
+ trilean: "1.9.0",
4790
4790
  undici: "7.30.1",
4791
4791
  zod: "^4.6.7"
4792
4792
  },
@@ -297,8 +297,8 @@ declare const LaunchSchema: z.ZodObject<{
297
297
  }>>;
298
298
  layout: z.ZodOptional<z.ZodObject<{
299
299
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
300
- account: "account";
301
300
  model: "model";
301
+ account: "account";
302
302
  identity: "identity";
303
303
  provider: "provider";
304
304
  version: "version";
@@ -1523,8 +1523,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1523
1523
  }>>;
1524
1524
  layout: z.ZodOptional<z.ZodObject<{
1525
1525
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1526
- account: "account";
1527
1526
  model: "model";
1527
+ account: "account";
1528
1528
  identity: "identity";
1529
1529
  provider: "provider";
1530
1530
  version: "version";
@@ -2369,8 +2369,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2369
2369
  }>>;
2370
2370
  layout: z.ZodOptional<z.ZodObject<{
2371
2371
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2372
- account: "account";
2373
2372
  model: "model";
2373
+ account: "account";
2374
2374
  identity: "identity";
2375
2375
  provider: "provider";
2376
2376
  version: "version";
@@ -3142,8 +3142,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3142
3142
  }>>;
3143
3143
  layout: z.ZodOptional<z.ZodObject<{
3144
3144
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3145
- account: "account";
3146
3145
  model: "model";
3146
+ account: "account";
3147
3147
  identity: "identity";
3148
3148
  provider: "provider";
3149
3149
  version: "version";
@@ -3915,8 +3915,8 @@ declare const PortableConfigSchema: z.ZodObject<{
3915
3915
  }>>;
3916
3916
  layout: z.ZodOptional<z.ZodObject<{
3917
3917
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3918
- account: "account";
3919
3918
  model: "model";
3919
+ account: "account";
3920
3920
  identity: "identity";
3921
3921
  provider: "provider";
3922
3922
  version: "version";
@@ -4669,8 +4669,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4669
4669
  }>>;
4670
4670
  layout: z.ZodOptional<z.ZodObject<{
4671
4671
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4672
- account: "account";
4673
4672
  model: "model";
4673
+ account: "account";
4674
4674
  identity: "identity";
4675
4675
  provider: "provider";
4676
4676
  version: "version";
@@ -9630,7 +9630,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9630
9630
  kind: zod.ZodLiteral<"profile">;
9631
9631
  name: zod.ZodString;
9632
9632
  value: zod.ZodObject<{
9633
- description: zod.ZodOptional<zod.ZodString>;
9634
9633
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
9635
9634
  value: zod.ZodBoolean;
9636
9635
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9706,6 +9705,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9706
9705
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
9707
9706
  }, zod_v4_core.$strip>], "kind">]>;
9708
9707
  }, zod_v4_core.$strict>]>>>;
9708
+ description: zod.ZodOptional<zod.ZodString>;
9709
9709
  models: zod.ZodOptional<zod.ZodObject<{
9710
9710
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
9711
9711
  mode: zod.ZodEnum<{
@@ -9793,8 +9793,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9793
9793
  }>>;
9794
9794
  layout: zod.ZodOptional<zod.ZodObject<{
9795
9795
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
9796
- account: "account";
9797
9796
  model: "model";
9797
+ account: "account";
9798
9798
  identity: "identity";
9799
9799
  provider: "provider";
9800
9800
  version: "version";
@@ -10351,7 +10351,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10351
10351
  kind: zod.ZodLiteral<"profile">;
10352
10352
  name: zod.ZodString;
10353
10353
  value: zod.ZodObject<{
10354
- description: zod.ZodOptional<zod.ZodString>;
10355
10354
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
10356
10355
  value: zod.ZodBoolean;
10357
10356
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -10427,6 +10426,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10427
10426
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
10428
10427
  }, zod_v4_core.$strip>], "kind">]>;
10429
10428
  }, zod_v4_core.$strict>]>>>;
10429
+ description: zod.ZodOptional<zod.ZodString>;
10430
10430
  models: zod.ZodOptional<zod.ZodObject<{
10431
10431
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10432
10432
  mode: zod.ZodEnum<{
@@ -10514,8 +10514,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10514
10514
  }>>;
10515
10515
  layout: zod.ZodOptional<zod.ZodObject<{
10516
10516
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10517
- account: "account";
10518
10517
  model: "model";
10518
+ account: "account";
10519
10519
  identity: "identity";
10520
10520
  provider: "provider";
10521
10521
  version: "version";
@@ -11711,8 +11711,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11711
11711
  }>>;
11712
11712
  layout: zod.ZodOptional<zod.ZodObject<{
11713
11713
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11714
- account: "account";
11715
11714
  model: "model";
11715
+ account: "account";
11716
11716
  identity: "identity";
11717
11717
  provider: "provider";
11718
11718
  version: "version";
@@ -12489,8 +12489,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12489
12489
  }>>;
12490
12490
  layout: zod.ZodOptional<zod.ZodObject<{
12491
12491
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12492
- account: "account";
12493
12492
  model: "model";
12493
+ account: "account";
12494
12494
  identity: "identity";
12495
12495
  provider: "provider";
12496
12496
  version: "version";
@@ -13356,8 +13356,8 @@ declare const StatuslineSchema: z.ZodObject<{
13356
13356
  }>>;
13357
13357
  layout: z.ZodOptional<z.ZodObject<{
13358
13358
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13359
- account: "account";
13360
13359
  model: "model";
13360
+ account: "account";
13361
13361
  identity: "identity";
13362
13362
  provider: "provider";
13363
13363
  version: "version";
@@ -14214,8 +14214,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14214
14214
  }>>;
14215
14215
  layout: zod.ZodOptional<zod.ZodObject<{
14216
14216
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
14217
- account: "account";
14218
14217
  model: "model";
14218
+ account: "account";
14219
14219
  identity: "identity";
14220
14220
  provider: "provider";
14221
14221
  version: "version";
@@ -15883,8 +15883,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
15883
15883
  }>>;
15884
15884
  layout: zod.ZodOptional<zod.ZodObject<{
15885
15885
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
15886
- account: "account";
15887
15886
  model: "model";
15887
+ account: "account";
15888
15888
  identity: "identity";
15889
15889
  provider: "provider";
15890
15890
  version: "version";
@@ -16681,7 +16681,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16681
16681
  kind: zod.ZodLiteral<"profile">;
16682
16682
  name: zod.ZodString;
16683
16683
  value: zod.ZodObject<{
16684
- description: zod.ZodOptional<zod.ZodString>;
16685
16684
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
16686
16685
  value: zod.ZodBoolean;
16687
16686
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -16757,6 +16756,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16757
16756
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
16758
16757
  }, zod_v4_core.$strip>], "kind">]>;
16759
16758
  }, zod_v4_core.$strict>]>>>;
16759
+ description: zod.ZodOptional<zod.ZodString>;
16760
16760
  models: zod.ZodOptional<zod.ZodObject<{
16761
16761
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
16762
16762
  mode: zod.ZodEnum<{
@@ -16844,8 +16844,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16844
16844
  }>>;
16845
16845
  layout: zod.ZodOptional<zod.ZodObject<{
16846
16846
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
16847
- account: "account";
16848
16847
  model: "model";
16848
+ account: "account";
16849
16849
  identity: "identity";
16850
16850
  provider: "provider";
16851
16851
  version: "version";
@@ -17402,7 +17402,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17402
17402
  kind: zod.ZodLiteral<"profile">;
17403
17403
  name: zod.ZodString;
17404
17404
  value: zod.ZodObject<{
17405
- description: zod.ZodOptional<zod.ZodString>;
17406
17405
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
17407
17406
  value: zod.ZodBoolean;
17408
17407
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -17478,6 +17477,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17478
17477
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
17479
17478
  }, zod_v4_core.$strip>], "kind">]>;
17480
17479
  }, zod_v4_core.$strict>]>>>;
17480
+ description: zod.ZodOptional<zod.ZodString>;
17481
17481
  models: zod.ZodOptional<zod.ZodObject<{
17482
17482
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
17483
17483
  mode: zod.ZodEnum<{
@@ -17565,8 +17565,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17565
17565
  }>>;
17566
17566
  layout: zod.ZodOptional<zod.ZodObject<{
17567
17567
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17568
- account: "account";
17569
17568
  model: "model";
17569
+ account: "account";
17570
17570
  identity: "identity";
17571
17571
  provider: "provider";
17572
17572
  version: "version";
@@ -18762,8 +18762,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18762
18762
  }>>;
18763
18763
  layout: zod.ZodOptional<zod.ZodObject<{
18764
18764
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18765
- account: "account";
18766
18765
  model: "model";
18766
+ account: "account";
18767
18767
  identity: "identity";
18768
18768
  provider: "provider";
18769
18769
  version: "version";
@@ -19540,8 +19540,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19540
19540
  }>>;
19541
19541
  layout: zod.ZodOptional<zod.ZodObject<{
19542
19542
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
19543
- account: "account";
19544
19543
  model: "model";
19544
+ account: "account";
19545
19545
  identity: "identity";
19546
19546
  provider: "provider";
19547
19547
  version: "version";
@@ -21196,7 +21196,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
21196
21196
  kind: z.ZodLiteral<"profile">;
21197
21197
  name: z.ZodString;
21198
21198
  value: z.ZodObject<{
21199
- description: z.ZodOptional<z.ZodString>;
21200
21199
  entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
21201
21200
  value: z.ZodBoolean;
21202
21201
  when: z.ZodUnion<readonly [z.ZodObject<{
@@ -21272,6 +21271,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
21272
21271
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
21273
21272
  }, z.core.$strip>], "kind">]>;
21274
21273
  }, z.core.$strict>]>>>;
21274
+ description: z.ZodOptional<z.ZodString>;
21275
21275
  models: z.ZodOptional<z.ZodObject<{
21276
21276
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
21277
21277
  mode: z.ZodEnum<{
@@ -21359,8 +21359,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
21359
21359
  }>>;
21360
21360
  layout: z.ZodOptional<z.ZodObject<{
21361
21361
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
21362
- account: "account";
21363
21362
  model: "model";
21363
+ account: "account";
21364
21364
  identity: "identity";
21365
21365
  provider: "provider";
21366
21366
  version: "version";
@@ -21919,7 +21919,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
21919
21919
  kind: z.ZodLiteral<"profile">;
21920
21920
  name: z.ZodString;
21921
21921
  value: z.ZodObject<{
21922
- description: z.ZodOptional<z.ZodString>;
21923
21922
  entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
21924
21923
  value: z.ZodBoolean;
21925
21924
  when: z.ZodUnion<readonly [z.ZodObject<{
@@ -21995,6 +21994,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
21995
21994
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
21996
21995
  }, z.core.$strip>], "kind">]>;
21997
21996
  }, z.core.$strict>]>>>;
21997
+ description: z.ZodOptional<z.ZodString>;
21998
21998
  models: z.ZodOptional<z.ZodObject<{
21999
21999
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22000
22000
  mode: z.ZodEnum<{
@@ -22082,8 +22082,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
22082
22082
  }>>;
22083
22083
  layout: z.ZodOptional<z.ZodObject<{
22084
22084
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22085
- account: "account";
22086
22085
  model: "model";
22086
+ account: "account";
22087
22087
  identity: "identity";
22088
22088
  provider: "provider";
22089
22089
  version: "version";
@@ -23281,8 +23281,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
23281
23281
  }>>;
23282
23282
  layout: z.ZodOptional<z.ZodObject<{
23283
23283
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23284
- account: "account";
23285
23284
  model: "model";
23285
+ account: "account";
23286
23286
  identity: "identity";
23287
23287
  provider: "provider";
23288
23288
  version: "version";
@@ -24061,8 +24061,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
24061
24061
  }>>;
24062
24062
  layout: z.ZodOptional<z.ZodObject<{
24063
24063
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24064
- account: "account";
24065
24064
  model: "model";
24065
+ account: "account";
24066
24066
  identity: "identity";
24067
24067
  provider: "provider";
24068
24068
  version: "version";
@@ -25098,8 +25098,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25098
25098
  }>>;
25099
25099
  layout: z.ZodOptional<z.ZodObject<{
25100
25100
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25101
- account: "account";
25102
25101
  model: "model";
25102
+ account: "account";
25103
25103
  identity: "identity";
25104
25104
  provider: "provider";
25105
25105
  version: "version";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "11.66.2",
3
+ "version": "11.66.3",
4
4
  "description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
5
5
  "license": "MIT",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",
@@ -59,7 +59,7 @@
59
59
  "cosmiconfig": "^10.0.1",
60
60
  "picomatch": "^4.0.7",
61
61
  "string-width": "8.3.0",
62
- "trilean": "1.7.1",
62
+ "trilean": "1.9.0",
63
63
  "undici": "7.30.1",
64
64
  "zod": "^4.6.7"
65
65
  },