hinacode 0.3.0-alpha.10 → 0.3.0-alpha.11

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.
@@ -1803,7 +1803,7 @@ const isArrayNonEmpty = isArrayNonEmpty$1;
1803
1803
  const isReadonlyArrayNonEmpty = isArrayNonEmpty$1;
1804
1804
  const lastNonEmpty = (self2) => self2[self2.length - 1];
1805
1805
  const clampCount = (n, length) => Math.min(normalize(n), length);
1806
- const take$4 = /* @__PURE__ */ dual(2, (self2, n) => {
1806
+ const take$3 = /* @__PURE__ */ dual(2, (self2, n) => {
1807
1807
  const input = fromIterable$1(self2);
1808
1808
  return input.slice(0, clampCount(n, input.length));
1809
1809
  });
@@ -5607,10 +5607,6 @@ const formatIsoOffset = (self2) => {
5607
5607
  };
5608
5608
  const formatIsoZoned = (self2) => self2.zone._tag === "Offset" ? formatIsoOffset(self2) : `${formatIsoOffset(self2)}[${self2.zone.id}]`;
5609
5609
  const Order = Number$4;
5610
- const nextPow2 = (n) => {
5611
- const nextPow = Math.ceil(Math.log(n) / Math.log(2));
5612
- return Math.max(Math.pow(2, nextPow), 2);
5613
- };
5614
5610
  const round = /* @__PURE__ */ dual(2, (self2, precision) => {
5615
5611
  const factor = Math.pow(10, precision);
5616
5612
  return Math.round(self2 * factor) / factor;
@@ -6988,7 +6984,7 @@ const takeN = (self2, n) => {
6988
6984
  return array2;
6989
6985
  };
6990
6986
  const takeAll$2 = (self2) => takeN(self2, self2.length);
6991
- const take$3 = (self2) => {
6987
+ const take$2 = (self2) => {
6992
6988
  if (!self2.head) return Empty;
6993
6989
  const message = self2.head.array[self2.head.offset];
6994
6990
  if (self2.head.mutable) self2.head.array[self2.head.offset] = void 0;
@@ -7033,31 +7029,10 @@ const remove$1 = (self2, value2) => filter$1(self2, (v) => v !== value2);
7033
7029
  const TypeId$j = "~effect/PubSub";
7034
7030
  const SubscriptionTypeId = "~effect/PubSub/Subscription";
7035
7031
  const make$k = (options) => sync(() => makePubSubUnsafe(options.atomicPubSub(), /* @__PURE__ */ new Map(), makeUnsafe$4(), makeUnsafe$2(false), make$m(false), options.strategy(), make$m(none())));
7036
- const sliding = (capacity) => make$k({
7037
- atomicPubSub: () => makeAtomicBounded(capacity),
7038
- strategy: () => new SlidingStrategy()
7039
- });
7040
7032
  const unbounded$1 = (options) => make$k({
7041
7033
  atomicPubSub: () => makeAtomicUnbounded(options),
7042
7034
  strategy: () => new DroppingStrategy()
7043
7035
  });
7044
- const makeAtomicBounded = (capacity) => {
7045
- const options = {
7046
- capacity
7047
- };
7048
- ensureCapacity(options.capacity);
7049
- if (options.capacity === Infinity) {
7050
- return makeAtomicUnbounded(options);
7051
- }
7052
- const replayBuffer = options.replay && options.replay > 0 ? new ReplayBuffer(Math.ceil(options.replay)) : void 0;
7053
- if (options.capacity === 1) {
7054
- return new BoundedPubSubSingle(replayBuffer);
7055
- } else if (nextPow2(options.capacity) === options.capacity) {
7056
- return new BoundedPubSubPow2(options.capacity, replayBuffer);
7057
- } else {
7058
- return new BoundedPubSubArb(options.capacity, replayBuffer);
7059
- }
7060
- };
7061
7036
  const makeAtomicUnbounded = (options) => {
7062
7037
  const replay = options?.replay;
7063
7038
  return new UnboundedPubSub(replay && replay > 0 ? new ReplayBuffer(Math.ceil(replay)) : void 0);
@@ -7098,22 +7073,6 @@ const unsubscribe = (self2) => uninterruptible(withFiber((state) => {
7098
7073
  self2.strategy.onPubSubEmptySpaceUnsafe(self2.pubsub, self2.subscribers);
7099
7074
  })), when(self2.shutdownHook.open), asVoid);
7100
7075
  }));
7101
- const take$2 = (self2) => suspend$2(() => {
7102
- if (self2.shutdownFlag.current) {
7103
- return interrupt$1;
7104
- }
7105
- if (self2.replayWindow.remaining > 0) {
7106
- const message2 = self2.replayWindow.take();
7107
- return succeed$3(message2);
7108
- }
7109
- const message = self2.pollers.length === 0 ? self2.subscription.poll() : Empty;
7110
- if (message === Empty) {
7111
- return pollForItem(self2);
7112
- } else {
7113
- self2.strategy.onPubSubEmptySpaceUnsafe(self2.pubsub, self2.subscribers);
7114
- return succeed$3(message);
7115
- }
7116
- });
7117
7076
  const takeAll$1 = (self2) => suspend$2(function loop(value2) {
7118
7077
  if (self2.shutdownFlag.current) {
7119
7078
  return interrupt$1;
@@ -7172,473 +7131,6 @@ const removeSubscribers = (subscribers, subscription, pollers) => {
7172
7131
  }
7173
7132
  };
7174
7133
  const makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make$l(), makeUnsafe$2(false), make$m(false), strategy, pubsub.replayWindow(), ended);
7175
- class BoundedPubSubArb {
7176
- array;
7177
- replayIndices;
7178
- publisherIndex = 0;
7179
- subscribers;
7180
- subscriberCount = 0;
7181
- subscribersIndex = 0;
7182
- capacity;
7183
- replayBuffer;
7184
- constructor(capacity, replayBuffer) {
7185
- this.capacity = capacity;
7186
- this.replayBuffer = replayBuffer;
7187
- this.array = Array.from({
7188
- length: capacity
7189
- });
7190
- this.replayIndices = replayBuffer ? Array.from({
7191
- length: capacity
7192
- }) : [];
7193
- this.subscribers = Array.from({
7194
- length: capacity
7195
- });
7196
- }
7197
- replayWindow() {
7198
- return this.replayBuffer ? new ReplayWindowImpl(this.replayBuffer) : emptyReplayWindow;
7199
- }
7200
- isEmpty() {
7201
- return this.publisherIndex === this.subscribersIndex;
7202
- }
7203
- isFull() {
7204
- return this.publisherIndex === this.subscribersIndex + this.capacity;
7205
- }
7206
- size() {
7207
- return this.publisherIndex - this.subscribersIndex;
7208
- }
7209
- publish(value2) {
7210
- if (this.isFull()) {
7211
- return false;
7212
- }
7213
- const replayIndex = this.replayBuffer?.offer(value2);
7214
- if (this.subscriberCount !== 0) {
7215
- const index = this.publisherIndex % this.capacity;
7216
- this.array[index] = value2;
7217
- if (replayIndex !== void 0) {
7218
- this.replayIndices[index] = replayIndex;
7219
- }
7220
- this.subscribers[index] = this.subscriberCount;
7221
- this.publisherIndex += 1;
7222
- }
7223
- return true;
7224
- }
7225
- publishAll(elements) {
7226
- if (this.subscriberCount === 0) {
7227
- if (this.replayBuffer) {
7228
- this.replayBuffer.offerAll(elements);
7229
- }
7230
- return [];
7231
- }
7232
- const chunk = fromIterable$1(elements);
7233
- const n = chunk.length;
7234
- const size = this.publisherIndex - this.subscribersIndex;
7235
- const available = this.capacity - size;
7236
- const forPubSub = Math.min(n, available);
7237
- if (forPubSub === 0) {
7238
- return chunk;
7239
- }
7240
- let iteratorIndex = 0;
7241
- const publishAllIndex = this.publisherIndex + forPubSub;
7242
- while (this.publisherIndex !== publishAllIndex) {
7243
- const a = chunk[iteratorIndex++];
7244
- const index = this.publisherIndex % this.capacity;
7245
- this.array[index] = a;
7246
- const replayIndex = this.replayBuffer?.offer(a);
7247
- if (replayIndex !== void 0) {
7248
- this.replayIndices[index] = replayIndex;
7249
- }
7250
- this.subscribers[index] = this.subscriberCount;
7251
- this.publisherIndex += 1;
7252
- }
7253
- return chunk.slice(iteratorIndex);
7254
- }
7255
- slide() {
7256
- if (this.subscribersIndex !== this.publisherIndex) {
7257
- const index = this.subscribersIndex % this.capacity;
7258
- const value2 = this.array[index];
7259
- this.array[index] = AbsentValue;
7260
- this.subscribers[index] = 0;
7261
- this.subscribersIndex += 1;
7262
- this.replayBuffer?.slide(value2, this.replayIndices[index]);
7263
- }
7264
- }
7265
- subscribe() {
7266
- this.subscriberCount += 1;
7267
- return new BoundedPubSubArbSubscription(this, this.publisherIndex, false);
7268
- }
7269
- }
7270
- class BoundedPubSubArbSubscription {
7271
- self;
7272
- subscriberIndex;
7273
- unsubscribed;
7274
- constructor(self2, subscriberIndex, unsubscribed) {
7275
- this.self = self2;
7276
- this.subscriberIndex = subscriberIndex;
7277
- this.unsubscribed = unsubscribed;
7278
- }
7279
- isEmpty() {
7280
- return this.unsubscribed || this.self.publisherIndex === this.subscriberIndex || this.self.publisherIndex === this.self.subscribersIndex;
7281
- }
7282
- size() {
7283
- if (this.unsubscribed) {
7284
- return 0;
7285
- }
7286
- return this.self.publisherIndex - Math.max(this.subscriberIndex, this.self.subscribersIndex);
7287
- }
7288
- poll() {
7289
- if (this.unsubscribed) {
7290
- return Empty;
7291
- }
7292
- this.subscriberIndex = Math.max(this.subscriberIndex, this.self.subscribersIndex);
7293
- if (this.subscriberIndex !== this.self.publisherIndex) {
7294
- const index = this.subscriberIndex % this.self.capacity;
7295
- const elem = this.self.array[index];
7296
- this.self.subscribers[index] -= 1;
7297
- if (this.self.subscribers[index] === 0) {
7298
- this.self.array[index] = AbsentValue;
7299
- this.self.subscribersIndex += 1;
7300
- }
7301
- this.subscriberIndex += 1;
7302
- return elem;
7303
- }
7304
- return Empty;
7305
- }
7306
- pollUpTo(n) {
7307
- n = normalize(n);
7308
- if (this.unsubscribed) {
7309
- return [];
7310
- }
7311
- this.subscriberIndex = Math.max(this.subscriberIndex, this.self.subscribersIndex);
7312
- const size = this.self.publisherIndex - this.subscriberIndex;
7313
- const toPoll = Math.min(n, size);
7314
- if (toPoll <= 0) {
7315
- return [];
7316
- }
7317
- const builder = [];
7318
- const pollUpToIndex = this.subscriberIndex + toPoll;
7319
- while (this.subscriberIndex !== pollUpToIndex) {
7320
- const index = this.subscriberIndex % this.self.capacity;
7321
- const a = this.self.array[index];
7322
- this.self.subscribers[index] -= 1;
7323
- if (this.self.subscribers[index] === 0) {
7324
- this.self.array[index] = AbsentValue;
7325
- this.self.subscribersIndex += 1;
7326
- }
7327
- builder.push(a);
7328
- this.subscriberIndex += 1;
7329
- }
7330
- return builder;
7331
- }
7332
- unsubscribe() {
7333
- if (!this.unsubscribed) {
7334
- this.unsubscribed = true;
7335
- this.self.subscriberCount -= 1;
7336
- this.subscriberIndex = Math.max(this.subscriberIndex, this.self.subscribersIndex);
7337
- while (this.subscriberIndex !== this.self.publisherIndex) {
7338
- const index = this.subscriberIndex % this.self.capacity;
7339
- this.self.subscribers[index] -= 1;
7340
- if (this.self.subscribers[index] === 0) {
7341
- this.self.array[index] = AbsentValue;
7342
- this.self.subscribersIndex += 1;
7343
- }
7344
- this.subscriberIndex += 1;
7345
- }
7346
- }
7347
- }
7348
- }
7349
- class BoundedPubSubPow2 {
7350
- array;
7351
- replayIndices;
7352
- mask;
7353
- publisherIndex = 0;
7354
- subscribers;
7355
- subscriberCount = 0;
7356
- subscribersIndex = 0;
7357
- capacity;
7358
- replayBuffer;
7359
- constructor(capacity, replayBuffer) {
7360
- this.capacity = capacity;
7361
- this.replayBuffer = replayBuffer;
7362
- this.array = Array.from({
7363
- length: capacity
7364
- });
7365
- this.replayIndices = replayBuffer ? Array.from({
7366
- length: capacity
7367
- }) : [];
7368
- this.mask = capacity - 1;
7369
- this.subscribers = Array.from({
7370
- length: capacity
7371
- });
7372
- }
7373
- replayWindow() {
7374
- return this.replayBuffer ? new ReplayWindowImpl(this.replayBuffer) : emptyReplayWindow;
7375
- }
7376
- isEmpty() {
7377
- return this.publisherIndex === this.subscribersIndex;
7378
- }
7379
- isFull() {
7380
- return this.publisherIndex === this.subscribersIndex + this.capacity;
7381
- }
7382
- size() {
7383
- return this.publisherIndex - this.subscribersIndex;
7384
- }
7385
- publish(value2) {
7386
- if (this.isFull()) {
7387
- return false;
7388
- }
7389
- const replayIndex = this.replayBuffer?.offer(value2);
7390
- if (this.subscriberCount !== 0) {
7391
- const index = this.publisherIndex & this.mask;
7392
- this.array[index] = value2;
7393
- if (replayIndex !== void 0) {
7394
- this.replayIndices[index] = replayIndex;
7395
- }
7396
- this.subscribers[index] = this.subscriberCount;
7397
- this.publisherIndex += 1;
7398
- }
7399
- return true;
7400
- }
7401
- publishAll(elements) {
7402
- if (this.subscriberCount === 0) {
7403
- if (this.replayBuffer) {
7404
- this.replayBuffer.offerAll(elements);
7405
- }
7406
- return [];
7407
- }
7408
- const chunk = fromIterable$1(elements);
7409
- const n = chunk.length;
7410
- const size = this.publisherIndex - this.subscribersIndex;
7411
- const available = this.capacity - size;
7412
- const forPubSub = Math.min(n, available);
7413
- if (forPubSub === 0) {
7414
- return chunk;
7415
- }
7416
- let iteratorIndex = 0;
7417
- const publishAllIndex = this.publisherIndex + forPubSub;
7418
- while (this.publisherIndex !== publishAllIndex) {
7419
- const elem = chunk[iteratorIndex++];
7420
- const index = this.publisherIndex & this.mask;
7421
- this.array[index] = elem;
7422
- const replayIndex = this.replayBuffer?.offer(elem);
7423
- if (replayIndex !== void 0) {
7424
- this.replayIndices[index] = replayIndex;
7425
- }
7426
- this.subscribers[index] = this.subscriberCount;
7427
- this.publisherIndex += 1;
7428
- }
7429
- return chunk.slice(iteratorIndex);
7430
- }
7431
- slide() {
7432
- if (this.subscribersIndex !== this.publisherIndex) {
7433
- const index = this.subscribersIndex & this.mask;
7434
- const value2 = this.array[index];
7435
- this.array[index] = AbsentValue;
7436
- this.subscribers[index] = 0;
7437
- this.subscribersIndex += 1;
7438
- this.replayBuffer?.slide(value2, this.replayIndices[index]);
7439
- }
7440
- }
7441
- subscribe() {
7442
- this.subscriberCount += 1;
7443
- return new BoundedPubSubPow2Subscription(this, this.publisherIndex, false);
7444
- }
7445
- }
7446
- class BoundedPubSubPow2Subscription {
7447
- self;
7448
- subscriberIndex;
7449
- unsubscribed;
7450
- constructor(self2, subscriberIndex, unsubscribed) {
7451
- this.self = self2;
7452
- this.subscriberIndex = subscriberIndex;
7453
- this.unsubscribed = unsubscribed;
7454
- }
7455
- isEmpty() {
7456
- return this.unsubscribed || this.self.publisherIndex === this.subscriberIndex || this.self.publisherIndex === this.self.subscribersIndex;
7457
- }
7458
- size() {
7459
- if (this.unsubscribed) {
7460
- return 0;
7461
- }
7462
- return this.self.publisherIndex - Math.max(this.subscriberIndex, this.self.subscribersIndex);
7463
- }
7464
- poll() {
7465
- if (this.unsubscribed) {
7466
- return Empty;
7467
- }
7468
- this.subscriberIndex = Math.max(this.subscriberIndex, this.self.subscribersIndex);
7469
- if (this.subscriberIndex !== this.self.publisherIndex) {
7470
- const index = this.subscriberIndex & this.self.mask;
7471
- const elem = this.self.array[index];
7472
- this.self.subscribers[index] -= 1;
7473
- if (this.self.subscribers[index] === 0) {
7474
- this.self.array[index] = AbsentValue;
7475
- this.self.subscribersIndex += 1;
7476
- }
7477
- this.subscriberIndex += 1;
7478
- return elem;
7479
- }
7480
- return Empty;
7481
- }
7482
- pollUpTo(n) {
7483
- n = normalize(n);
7484
- if (this.unsubscribed) {
7485
- return [];
7486
- }
7487
- this.subscriberIndex = Math.max(this.subscriberIndex, this.self.subscribersIndex);
7488
- const size = this.self.publisherIndex - this.subscriberIndex;
7489
- const toPoll = Math.min(n, size);
7490
- if (toPoll <= 0) {
7491
- return [];
7492
- }
7493
- const builder = [];
7494
- const pollUpToIndex = this.subscriberIndex + toPoll;
7495
- while (this.subscriberIndex !== pollUpToIndex) {
7496
- const index = this.subscriberIndex & this.self.mask;
7497
- const elem = this.self.array[index];
7498
- this.self.subscribers[index] -= 1;
7499
- if (this.self.subscribers[index] === 0) {
7500
- this.self.array[index] = AbsentValue;
7501
- this.self.subscribersIndex += 1;
7502
- }
7503
- builder.push(elem);
7504
- this.subscriberIndex += 1;
7505
- }
7506
- return builder;
7507
- }
7508
- unsubscribe() {
7509
- if (!this.unsubscribed) {
7510
- this.unsubscribed = true;
7511
- this.self.subscriberCount -= 1;
7512
- this.subscriberIndex = Math.max(this.subscriberIndex, this.self.subscribersIndex);
7513
- while (this.subscriberIndex !== this.self.publisherIndex) {
7514
- const index = this.subscriberIndex & this.self.mask;
7515
- this.self.subscribers[index] -= 1;
7516
- if (this.self.subscribers[index] === 0) {
7517
- this.self.array[index] = AbsentValue;
7518
- this.self.subscribersIndex += 1;
7519
- }
7520
- this.subscriberIndex += 1;
7521
- }
7522
- }
7523
- }
7524
- }
7525
- class BoundedPubSubSingle {
7526
- publisherIndex = 0;
7527
- subscriberCount = 0;
7528
- subscribers = 0;
7529
- value = AbsentValue;
7530
- replayIndex = 0;
7531
- capacity = 1;
7532
- replayBuffer;
7533
- constructor(replayBuffer) {
7534
- this.replayBuffer = replayBuffer;
7535
- }
7536
- replayWindow() {
7537
- return this.replayBuffer ? new ReplayWindowImpl(this.replayBuffer) : emptyReplayWindow;
7538
- }
7539
- pipe() {
7540
- return pipeArguments(this, arguments);
7541
- }
7542
- isEmpty() {
7543
- return this.subscribers === 0;
7544
- }
7545
- isFull() {
7546
- return !this.isEmpty();
7547
- }
7548
- size() {
7549
- return this.isEmpty() ? 0 : 1;
7550
- }
7551
- publish(value2) {
7552
- if (this.isFull()) {
7553
- return false;
7554
- }
7555
- const replayIndex = this.replayBuffer?.offer(value2);
7556
- if (this.subscriberCount !== 0) {
7557
- this.value = value2;
7558
- if (replayIndex !== void 0) {
7559
- this.replayIndex = replayIndex;
7560
- }
7561
- this.subscribers = this.subscriberCount;
7562
- this.publisherIndex += 1;
7563
- }
7564
- return true;
7565
- }
7566
- publishAll(elements) {
7567
- if (this.subscriberCount === 0) {
7568
- if (this.replayBuffer) {
7569
- this.replayBuffer.offerAll(elements);
7570
- }
7571
- return [];
7572
- }
7573
- const chunk = fromIterable$1(elements);
7574
- if (chunk.length === 0) {
7575
- return chunk;
7576
- }
7577
- if (this.publish(chunk[0])) {
7578
- return chunk.slice(1);
7579
- } else {
7580
- return chunk;
7581
- }
7582
- }
7583
- slide() {
7584
- if (this.isFull()) {
7585
- const value2 = this.value;
7586
- this.subscribers = 0;
7587
- this.value = AbsentValue;
7588
- this.replayBuffer?.slide(value2, this.replayIndex);
7589
- }
7590
- }
7591
- subscribe() {
7592
- this.subscriberCount += 1;
7593
- return new BoundedPubSubSingleSubscription(this, this.publisherIndex, false);
7594
- }
7595
- }
7596
- class BoundedPubSubSingleSubscription {
7597
- self;
7598
- subscriberIndex;
7599
- unsubscribed;
7600
- constructor(self2, subscriberIndex, unsubscribed) {
7601
- this.self = self2;
7602
- this.subscriberIndex = subscriberIndex;
7603
- this.unsubscribed = unsubscribed;
7604
- }
7605
- isEmpty() {
7606
- return this.unsubscribed || this.self.subscribers === 0 || this.subscriberIndex === this.self.publisherIndex;
7607
- }
7608
- size() {
7609
- return this.isEmpty() ? 0 : 1;
7610
- }
7611
- poll() {
7612
- if (this.isEmpty()) {
7613
- return Empty;
7614
- }
7615
- const elem = this.self.value;
7616
- this.self.subscribers -= 1;
7617
- if (this.self.subscribers === 0) {
7618
- this.self.value = AbsentValue;
7619
- }
7620
- this.subscriberIndex = this.self.publisherIndex;
7621
- return elem;
7622
- }
7623
- pollUpTo(n) {
7624
- if (normalize(n) < 1 || this.isEmpty()) {
7625
- return [];
7626
- }
7627
- return [this.poll()];
7628
- }
7629
- unsubscribe() {
7630
- if (!this.unsubscribed) {
7631
- this.unsubscribed = true;
7632
- this.self.subscriberCount -= 1;
7633
- if (this.self.subscribers !== 0 && this.subscriberIndex !== this.self.publisherIndex) {
7634
- this.self.subscribers -= 1;
7635
- if (this.self.subscribers === 0) {
7636
- this.self.value = AbsentValue;
7637
- }
7638
- }
7639
- }
7640
- }
7641
- }
7642
7134
  class UnboundedPubSub {
7643
7135
  publisherHead = {
7644
7136
  value: AbsentValue,
@@ -7858,11 +7350,6 @@ class PubSubImpl {
7858
7350
  }
7859
7351
  }
7860
7352
  const makePubSubUnsafe = (pubsub, subscribers, scope2, shutdownHook, shutdownFlag, strategy, ended) => new PubSubImpl(pubsub, subscribers, scope2, shutdownHook, shutdownFlag, strategy, ended);
7861
- const ensureCapacity = (capacity) => {
7862
- if (capacity <= 0 || capacity !== Infinity && !Number.isInteger(capacity)) {
7863
- throw new Error(`Cannot construct PubSub with capacity of ${capacity}`);
7864
- }
7865
- };
7866
7353
  class DroppingStrategy {
7867
7354
  get shutdown() {
7868
7355
  return void_$1;
@@ -7879,48 +7366,10 @@ class DroppingStrategy {
7879
7366
  return strategyCompleteSubscribersUnsafe(this, pubsub, subscribers);
7880
7367
  }
7881
7368
  }
7882
- class SlidingStrategy {
7883
- get shutdown() {
7884
- return void_$1;
7885
- }
7886
- handleSurplus(pubsub, subscribers, elements, _isShutdown, ended) {
7887
- return sync(() => {
7888
- if (isSome(ended.current)) return false;
7889
- this.slidingPublishUnsafe(pubsub, elements);
7890
- this.completeSubscribersUnsafe(pubsub, subscribers);
7891
- return true;
7892
- });
7893
- }
7894
- onPubSubEmptySpaceUnsafe(_pubsub, _subscribers) {
7895
- }
7896
- completePollersUnsafe(pubsub, subscribers, subscription, pollers) {
7897
- return strategyCompletePollersUnsafe(this, pubsub, subscribers, subscription, pollers);
7898
- }
7899
- completeSubscribersUnsafe(pubsub, subscribers) {
7900
- return strategyCompleteSubscribersUnsafe(this, pubsub, subscribers);
7901
- }
7902
- slidingPublishUnsafe(pubsub, elements) {
7903
- const it = elements[Symbol.iterator]();
7904
- let next2 = it.next();
7905
- if (!next2.done && pubsub.capacity > 0) {
7906
- let a = next2.value;
7907
- let loop = true;
7908
- while (loop) {
7909
- pubsub.slide();
7910
- const pub = pubsub.publish(a);
7911
- if (pub && (next2 = it.next()) && !next2.done) {
7912
- a = next2.value;
7913
- } else if (pub) {
7914
- loop = false;
7915
- }
7916
- }
7917
- }
7918
- }
7919
- }
7920
7369
  const strategyCompletePollersUnsafe = (strategy, pubsub, subscribers, subscription, pollers) => {
7921
7370
  let keepPolling = true;
7922
7371
  while (keepPolling && !subscription.isEmpty()) {
7923
- const poller = take$3(pollers);
7372
+ const poller = take$2(pollers);
7924
7373
  if (poller === Empty) {
7925
7374
  removeSubscribers(subscribers, subscription, pollers);
7926
7375
  if (pollers.length === 0) {
@@ -8110,7 +7559,7 @@ const offerUnsafe = (self2, message) => {
8110
7559
  return false;
8111
7560
  } else if (self2.messages.length >= self2.capacity) {
8112
7561
  if (self2.strategy === "sliding") {
8113
- take$3(self2.messages);
7562
+ take$2(self2.messages);
8114
7563
  append(self2.messages, message);
8115
7564
  return true;
8116
7565
  } else if (self2.capacity <= 0 && self2.state.takers.size > 0) {
@@ -8236,7 +7685,7 @@ const takeUnsafe = (self2) => {
8236
7685
  return self2.state.exit;
8237
7686
  }
8238
7687
  if (self2.messages.length > 0) {
8239
- const message = take$3(self2.messages);
7688
+ const message = take$2(self2.messages);
8240
7689
  releaseCapacity(self2);
8241
7690
  return exitSucceed(message);
8242
7691
  } else if (self2.capacity <= 0 && self2.state.offers.size > 0) {
@@ -16537,6 +15986,10 @@ function defaultShouldQuit(input) {
16537
15986
  }
16538
15987
  const layer$1 = layer$2;
16539
15988
  const layer = /* @__PURE__ */ provideMerge(layer$b, /* @__PURE__ */ mergeAll$1(layer$7, layer$9, layer$5, layer$3, layer$1));
15989
+ const version = "0.3.0-alpha.11";
15990
+ const packageJson = {
15991
+ version
15992
+ };
16540
15993
  const LimitReset = NullOr(Struct({ at: String$1, autoResume: Boolean$1 }));
16541
15994
  const UsageLimit = Union2([
16542
15995
  Struct({ kind: Literal2("usage"), message: String$1, reset: LimitReset }),
@@ -16813,8 +16266,8 @@ const publishedKind = (name) => kindOfPublishTool.get(ownToolName(name)) ?? null
16813
16266
  const isPublishArtifactTool = (name) => publishedKind(name) !== null;
16814
16267
  const isPublishDocumentTool = (name) => publishedKind(name) === "document";
16815
16268
  const publishedArtifact = (result2) => {
16816
- const [, id, version] = /^Published (?:artifact|document|whiteboard) ([a-z0-9][a-z0-9-]*) version (\d+)/.exec(result2) ?? [];
16817
- return id === void 0 ? null : { id, version: Number(version) };
16269
+ const [, id, version2] = /^Published (?:artifact|document|whiteboard) ([a-z0-9][a-z0-9-]*) version (\d+)/.exec(result2) ?? [];
16270
+ return id === void 0 ? null : { id, version: Number(version2) };
16818
16271
  };
16819
16272
  const publishedArtifactId = (result2) => publishedArtifact(result2)?.id ?? null;
16820
16273
  const textOfBlock = (block) => typeof block === "object" && block !== null && Reflect.get(block, "type") === "text" ? String(Reflect.get(block, "text")) : "";
@@ -21383,7 +20836,7 @@ function requireWebsocketServer() {
21383
20836
  socket.on("error", socketOnError);
21384
20837
  const key = req.headers["sec-websocket-key"];
21385
20838
  const upgrade = req.headers.upgrade;
21386
- const version = +req.headers["sec-websocket-version"];
20839
+ const version2 = +req.headers["sec-websocket-version"];
21387
20840
  if (req.method !== "GET") {
21388
20841
  const message = "Invalid HTTP method";
21389
20842
  abortHandshakeOrEmitwsClientError(this, req, socket, 405, message);
@@ -21399,7 +20852,7 @@ function requireWebsocketServer() {
21399
20852
  abortHandshakeOrEmitwsClientError(this, req, socket, 400, message);
21400
20853
  return;
21401
20854
  }
21402
- if (version !== 13 && version !== 8) {
20855
+ if (version2 !== 13 && version2 !== 8) {
21403
20856
  const message = "Missing or invalid Sec-WebSocket-Version header";
21404
20857
  abortHandshakeOrEmitwsClientError(this, req, socket, 400, message, {
21405
20858
  "Sec-WebSocket-Version": "13, 8"
@@ -21443,7 +20896,7 @@ function requireWebsocketServer() {
21443
20896
  }
21444
20897
  if (this.options.verifyClient) {
21445
20898
  const info = {
21446
- origin: req.headers[`${version === 8 ? "sec-websocket-origin" : "origin"}`],
20899
+ origin: req.headers[`${version2 === 8 ? "sec-websocket-origin" : "origin"}`],
21447
20900
  secure: !!(req.socket.authorized || req.socket.encrypted),
21448
20901
  req
21449
20902
  };
@@ -21902,6 +21355,7 @@ const RpcMethods = {
21902
21355
  provider: optional(ProviderId),
21903
21356
  model: optional(String$1),
21904
21357
  effort: optional(String$1),
21358
+ accessMode: optional(AccessMode),
21905
21359
  worktree: optional(Struct({ branch: String$1, baseRef: String$1 })),
21906
21360
  createdBy: optional(String$1)
21907
21361
  }),
@@ -22925,7 +22379,7 @@ export {
22925
22379
  catchTag as ay,
22926
22380
  result as az,
22927
22381
  sync$1 as b,
22928
- redact as b$,
22382
+ symbol as b$,
22929
22383
  fromResult as b0,
22930
22384
  Number$1 as b1,
22931
22385
  forEach$1 as b2,
@@ -22936,33 +22390,33 @@ export {
22936
22390
  promise as b7,
22937
22391
  isFailure$1 as b8,
22938
22392
  toCheckoutTarget as b9,
22939
- ExceededCapacityError2 as bA,
22940
- makeUnsafe$4 as bB,
22941
- makeUnsafe$5 as bC,
22942
- makeUnsafe$6 as bD,
22943
- runForkWith as bE,
22944
- runIn as bF,
22945
- hasInterrupts as bG,
22946
- doneUnsafe as bH,
22947
- getUnsafe as bI,
22948
- addFinalizer$1 as bJ,
22949
- _await as bK,
22950
- getCurrent as bL,
22951
- interrupt as bM,
22952
- close as bN,
22953
- isZero as bO,
22954
- isFinite$1 as bP,
22955
- Clock as bQ,
22956
- toMillis as bR,
22957
- millis as bS,
22958
- void_$2 as bT,
22959
- getOrThrow as bU,
22960
- BaseProto as bV,
22961
- Error$2 as bW,
22962
- toSeconds as bX,
22963
- symbol$1 as bY,
22964
- structure as bZ,
22965
- symbol as b_,
22393
+ tap$1 as bA,
22394
+ ExceededCapacityError2 as bB,
22395
+ makeUnsafe$4 as bC,
22396
+ makeUnsafe$5 as bD,
22397
+ makeUnsafe$6 as bE,
22398
+ runForkWith as bF,
22399
+ runIn as bG,
22400
+ hasInterrupts as bH,
22401
+ doneUnsafe as bI,
22402
+ getUnsafe as bJ,
22403
+ addFinalizer$1 as bK,
22404
+ _await as bL,
22405
+ getCurrent as bM,
22406
+ interrupt as bN,
22407
+ close as bO,
22408
+ isZero as bP,
22409
+ isFinite$1 as bQ,
22410
+ Clock as bR,
22411
+ toMillis as bS,
22412
+ millis as bT,
22413
+ void_$2 as bU,
22414
+ getOrThrow as bV,
22415
+ BaseProto as bW,
22416
+ Error$2 as bX,
22417
+ toSeconds as bY,
22418
+ symbol$1 as bZ,
22419
+ structure as b_,
22966
22420
  noticeEvents as ba,
22967
22421
  PushEvent as bb,
22968
22422
  ThreadStatus as bc,
@@ -22971,415 +22425,415 @@ export {
22971
22425
  isThreadBusy as bf,
22972
22426
  tryPromise as bg,
22973
22427
  map$8 as bh,
22974
- tapError as bi,
22975
- provide as bj,
22976
- layer as bk,
22977
- hash as bl,
22978
- equals$2 as bm,
22979
- NodeInspectSymbol as bn,
22980
- toJson as bo,
22981
- withFiber as bp,
22982
- uninterruptibleMask as bq,
22983
- get$2 as br,
22984
- Scope as bs,
22985
- flow as bt,
22986
- fromInputUnsafe$1 as bu,
22987
- constant as bv,
22988
- zero$1 as bw,
22989
- addFinalizerExit as bx,
22990
- exit as by,
22991
- tap$1 as bz,
22428
+ packageJson as bi,
22429
+ tapError as bj,
22430
+ provide as bk,
22431
+ layer as bl,
22432
+ hash as bm,
22433
+ equals$2 as bn,
22434
+ NodeInspectSymbol as bo,
22435
+ toJson as bp,
22436
+ withFiber as bq,
22437
+ uninterruptibleMask as br,
22438
+ get$2 as bs,
22439
+ Scope as bt,
22440
+ flow as bu,
22441
+ fromInputUnsafe$1 as bv,
22442
+ constant as bw,
22443
+ zero$1 as bx,
22444
+ addFinalizerExit as by,
22445
+ exit as bz,
22992
22446
  constVoid as c,
22993
- makeSpanUnsafe as c$,
22994
- symbolRedactable as c0,
22995
- strictEqual as c1,
22996
- map$7 as c2,
22997
- try_$2 as c3,
22998
- flatMap$6 as c4,
22999
- combine$1 as c5,
23000
- string$1 as c6,
23001
- number$1 as c7,
23002
- optimize as c8,
23003
- contextWith$1 as c9,
23004
- runPromise as cA,
23005
- runPromiseWith as cB,
23006
- runPromiseExit as cC,
23007
- runPromiseExitWith as cD,
23008
- runSync$1 as cE,
23009
- runSyncWith as cF,
23010
- runSyncExit as cG,
23011
- runSyncExitWith as cH,
23012
- runCallback as cI,
23013
- runCallbackWith as cJ,
23014
- makeMemoMapUnsafe as cK,
23015
- buildWithMemoMap as cL,
23016
- flatten$1 as cM,
23017
- await_ as cN,
23018
- scopeRemoveFinalizerUnsafe as cO,
23019
- die$2 as cP,
23020
- isResult as cQ,
23021
- isSuccess$1 as cR,
23022
- effect as cS,
23023
- contextWith as cT,
23024
- getOrUndefined as cU,
23025
- context as cV,
23026
- make$j as cW,
23027
- fromQueue as cX,
23028
- unwrap as cY,
23029
- onExit$1 as cZ,
23030
- failCauseUnsafe as c_,
23031
- infinity as ca,
23032
- PipeInspectableProto as cb,
23033
- updateContext$1 as cc,
23034
- merge$3 as cd,
23035
- succeed$7 as ce,
23036
- exitHasInterrupts as cf,
23037
- ClockRef as cg,
23038
- forkUnsafe$1 as ch,
23039
- onExitUnsafe as ci,
23040
- void_$3 as cj,
23041
- fiberInterrupt as ck,
23042
- fiberJoin as cl,
23043
- filterMap as cm,
23044
- failVoid as cn,
23045
- isGreaterThanOrEqualTo$1 as co,
23046
- LogLevelOrder as cp,
23047
- interruptAs as cq,
23048
- isFailure as cr,
23049
- into as cs,
23050
- asVoid as ct,
23051
- done as cu,
23052
- filterInterruptors as cv,
23053
- interruptAllAs as cw,
23054
- interruptAll as cx,
23055
- empty$4 as cy,
23056
- forkUnsafe as cz,
22447
+ failCauseUnsafe as c$,
22448
+ redact as c0,
22449
+ symbolRedactable as c1,
22450
+ strictEqual as c2,
22451
+ map$7 as c3,
22452
+ try_$2 as c4,
22453
+ flatMap$6 as c5,
22454
+ combine$1 as c6,
22455
+ string$1 as c7,
22456
+ number$1 as c8,
22457
+ optimize as c9,
22458
+ forkUnsafe as cA,
22459
+ runPromise as cB,
22460
+ runPromiseWith as cC,
22461
+ runPromiseExit as cD,
22462
+ runPromiseExitWith as cE,
22463
+ runSync$1 as cF,
22464
+ runSyncWith as cG,
22465
+ runSyncExit as cH,
22466
+ runSyncExitWith as cI,
22467
+ runCallback as cJ,
22468
+ runCallbackWith as cK,
22469
+ makeMemoMapUnsafe as cL,
22470
+ buildWithMemoMap as cM,
22471
+ flatten$1 as cN,
22472
+ await_ as cO,
22473
+ scopeRemoveFinalizerUnsafe as cP,
22474
+ die$2 as cQ,
22475
+ isResult as cR,
22476
+ isSuccess$1 as cS,
22477
+ effect as cT,
22478
+ contextWith as cU,
22479
+ getOrUndefined as cV,
22480
+ context as cW,
22481
+ make$j as cX,
22482
+ fromQueue as cY,
22483
+ unwrap as cZ,
22484
+ onExit$1 as c_,
22485
+ contextWith$1 as ca,
22486
+ infinity as cb,
22487
+ PipeInspectableProto as cc,
22488
+ updateContext$1 as cd,
22489
+ merge$3 as ce,
22490
+ succeed$7 as cf,
22491
+ exitHasInterrupts as cg,
22492
+ ClockRef as ch,
22493
+ forkUnsafe$1 as ci,
22494
+ onExitUnsafe as cj,
22495
+ void_$3 as ck,
22496
+ fiberInterrupt as cl,
22497
+ fiberJoin as cm,
22498
+ filterMap as cn,
22499
+ failVoid as co,
22500
+ isGreaterThanOrEqualTo$1 as cp,
22501
+ LogLevelOrder as cq,
22502
+ interruptAs as cr,
22503
+ isFailure as cs,
22504
+ into as ct,
22505
+ asVoid as cu,
22506
+ done as cv,
22507
+ filterInterruptors as cw,
22508
+ interruptAllAs as cx,
22509
+ interruptAll as cy,
22510
+ empty$4 as cz,
23057
22511
  dual as d,
23058
- signedOutFailure as d$,
23059
- TracerTimingEnabled as d0,
23060
- endSpan as d1,
23061
- makeSpanScoped as d2,
23062
- useSpan as d3,
23063
- constUndefined as d4,
23064
- provideService as d5,
23065
- ParentSpan as d6,
23066
- serviceOption as d7,
23067
- make$r as d8,
23068
- provide$3 as d9,
23069
- sort as dA,
23070
- flatMapNullishOr as dB,
23071
- catch_$2 as dC,
23072
- fromNullishOr$1 as dD,
23073
- logDebug as dE,
23074
- annotateLogs as dF,
23075
- withSpan as dG,
23076
- logInfo as dH,
23077
- catchDefect as dI,
23078
- filterOrFail as dJ,
23079
- make$w as dK,
23080
- Number$4 as dL,
23081
- encodeEffect as dM,
23082
- asSome as dN,
23083
- mutable as dO,
23084
- NoSuchElementError2 as dP,
23085
- Literals as dQ,
23086
- FileSystem as dR,
23087
- orElseSucceed as dS,
23088
- chatFolder as dT,
23089
- Boolean$1 as dU,
23090
- ProjectKind as dV,
23091
- ignore as dW,
23092
- logWarning as dX,
23093
- sleep as dY,
23094
- forkDetach as dZ,
23095
- succeed$5 as d_,
23096
- onError as da,
23097
- catchIf as db,
23098
- scope as dc,
23099
- getOption as dd,
23100
- onExitPrimitive as de,
23101
- catchCause$1 as df,
23102
- matchCauseEffect as dg,
23103
- failCause$3 as dh,
23104
- combine as di,
23105
- add as dj,
23106
- makeUnsafe$1 as dk,
23107
- fromReasons as dl,
23108
- isFailReason as dm,
23109
- makeDieReason as dn,
23110
- reasonAnnotations as dp,
23111
- failCause$5 as dq,
23112
- yieldNow as dr,
23113
- constTrue as ds,
23114
- normalizeNonEmpty as dt,
23115
- unbounded$1 as du,
23116
- publishUnsafe as dv,
23117
- fromPubSub as dw,
23118
- getDefaultExportFromCjs as dx,
23119
- now as dy,
23120
- formatIso as dz,
22512
+ succeed$5 as d$,
22513
+ makeSpanUnsafe as d0,
22514
+ TracerTimingEnabled as d1,
22515
+ endSpan as d2,
22516
+ makeSpanScoped as d3,
22517
+ useSpan as d4,
22518
+ constUndefined as d5,
22519
+ provideService as d6,
22520
+ ParentSpan as d7,
22521
+ serviceOption as d8,
22522
+ make$r as d9,
22523
+ formatIso as dA,
22524
+ sort as dB,
22525
+ flatMapNullishOr as dC,
22526
+ catch_$2 as dD,
22527
+ fromNullishOr$1 as dE,
22528
+ logDebug as dF,
22529
+ annotateLogs as dG,
22530
+ withSpan as dH,
22531
+ logInfo as dI,
22532
+ catchDefect as dJ,
22533
+ filterOrFail as dK,
22534
+ make$w as dL,
22535
+ Number$4 as dM,
22536
+ encodeEffect as dN,
22537
+ asSome as dO,
22538
+ mutable as dP,
22539
+ NoSuchElementError2 as dQ,
22540
+ Literals as dR,
22541
+ FileSystem as dS,
22542
+ orElseSucceed as dT,
22543
+ chatFolder as dU,
22544
+ Boolean$1 as dV,
22545
+ ProjectKind as dW,
22546
+ ignore as dX,
22547
+ logWarning as dY,
22548
+ sleep as dZ,
22549
+ forkDetach as d_,
22550
+ provide$3 as da,
22551
+ onError as db,
22552
+ catchIf as dc,
22553
+ scope as dd,
22554
+ getOption as de,
22555
+ onExitPrimitive as df,
22556
+ catchCause$1 as dg,
22557
+ matchCauseEffect as dh,
22558
+ failCause$3 as di,
22559
+ combine as dj,
22560
+ add as dk,
22561
+ makeUnsafe$1 as dl,
22562
+ fromReasons as dm,
22563
+ isFailReason as dn,
22564
+ makeDieReason as dp,
22565
+ reasonAnnotations as dq,
22566
+ failCause$5 as dr,
22567
+ yieldNow as ds,
22568
+ constTrue as dt,
22569
+ normalizeNonEmpty as du,
22570
+ unbounded$1 as dv,
22571
+ publishUnsafe as dw,
22572
+ fromPubSub as dx,
22573
+ getDefaultExportFromCjs as dy,
22574
+ now as dz,
23121
22575
  hasProperty as e,
23122
- PRIVATE_NETWORKS as e$,
23123
- decodeUnknownOption as e0,
23124
- Unknown2 as e1,
23125
- toArray as e2,
23126
- cachedWithTTL as e3,
23127
- minutes as e4,
23128
- toAsyncIterable as e5,
23129
- timeout as e6,
23130
- addFinalizer as e7,
23131
- callback as e8,
23132
- offer as e9,
23133
- suspend as eA,
23134
- unlistedModel as eB,
23135
- make$f as eC,
23136
- tap as eD,
23137
- tick as eE,
23138
- map$1 as eF,
23139
- drop as eG,
23140
- merge as eH,
23141
- onInterrupt as eI,
23142
- format as eJ,
23143
- getOrNull as eK,
23144
- Record as eL,
23145
- make$i as eM,
23146
- join as eN,
23147
- end as eO,
23148
- forkScoped as eP,
23149
- isObject as eQ,
23150
- repeat as eR,
23151
- subscribe as eS,
23152
- fromSubscription as eT,
23153
- applySettingsPatch as eU,
23154
- publish as eV,
23155
- defaultSettings as eW,
23156
- Settings as eX,
23157
- flatMapNullishOr$1 as eY,
23158
- option as eZ,
23159
- delay as e_,
23160
- withPermit as ea,
23161
- acquireUseRelease as eb,
23162
- shutdownUnsafe as ec,
23163
- make$s as ed,
23164
- forkIn as ee,
23165
- fromAsyncIterable as ef,
23166
- runForEach as eg,
23167
- CLAUDE_EFFORT_LEVELS as eh,
23168
- ensuring as ei,
23169
- currentTimeMillis as ej,
23170
- sum as ek,
23171
- race as el,
23172
- publishedArtifactId as em,
23173
- PUBLISH_DOCUMENT_TOOL as en,
23174
- PUBLISH_ARTIFACT_TOOL as eo,
23175
- PUBLISH_WHITEBOARD_TOOL as ep,
23176
- isDone as eq,
23177
- empty as er,
23178
- succeed$1 as es,
23179
- fromIterable as et,
23180
- flatMap as eu,
23181
- interruptWhen as ev,
23182
- concat as ew,
23183
- fromEffectDrain as ex,
23184
- fromEffect as ey,
23185
- fromIterableEffect as ez,
22576
+ delay as e$,
22577
+ signedOutFailure as e0,
22578
+ decodeUnknownOption as e1,
22579
+ Unknown2 as e2,
22580
+ toArray as e3,
22581
+ cachedWithTTL as e4,
22582
+ minutes as e5,
22583
+ toAsyncIterable as e6,
22584
+ timeout as e7,
22585
+ addFinalizer as e8,
22586
+ callback as e9,
22587
+ fromIterableEffect as eA,
22588
+ suspend as eB,
22589
+ unlistedModel as eC,
22590
+ make$f as eD,
22591
+ tap as eE,
22592
+ tick as eF,
22593
+ map$1 as eG,
22594
+ drop as eH,
22595
+ merge as eI,
22596
+ onInterrupt as eJ,
22597
+ format as eK,
22598
+ getOrNull as eL,
22599
+ Record as eM,
22600
+ make$i as eN,
22601
+ join as eO,
22602
+ end as eP,
22603
+ forkScoped as eQ,
22604
+ isObject as eR,
22605
+ repeat as eS,
22606
+ subscribe as eT,
22607
+ fromSubscription as eU,
22608
+ applySettingsPatch as eV,
22609
+ publish as eW,
22610
+ defaultSettings as eX,
22611
+ Settings as eY,
22612
+ flatMapNullishOr$1 as eZ,
22613
+ option as e_,
22614
+ offer as ea,
22615
+ withPermit as eb,
22616
+ acquireUseRelease as ec,
22617
+ shutdownUnsafe as ed,
22618
+ make$s as ee,
22619
+ forkIn as ef,
22620
+ fromAsyncIterable as eg,
22621
+ runForEach as eh,
22622
+ CLAUDE_EFFORT_LEVELS as ei,
22623
+ ensuring as ej,
22624
+ currentTimeMillis as ek,
22625
+ sum as el,
22626
+ race as em,
22627
+ publishedArtifactId as en,
22628
+ PUBLISH_DOCUMENT_TOOL as eo,
22629
+ PUBLISH_ARTIFACT_TOOL as ep,
22630
+ PUBLISH_WHITEBOARD_TOOL as eq,
22631
+ isDone as er,
22632
+ empty as es,
22633
+ succeed$1 as et,
22634
+ fromIterable as eu,
22635
+ flatMap as ev,
22636
+ interruptWhen as ew,
22637
+ concat as ex,
22638
+ fromEffectDrain as ey,
22639
+ fromEffect as ez,
23186
22640
  optionalKey as f,
23187
- Duration as f$,
23188
- RelayHostList as f0,
23189
- RelayMachineList as f1,
23190
- encodeSync as f2,
23191
- mergeAll$1 as f3,
23192
- makeUnsafe as f4,
23193
- effectDiscard as f5,
23194
- changes as f6,
23195
- Void2 as f7,
23196
- AppConnection as f8,
23197
- decodeEffect as f9,
23198
- nativeTracer as fA,
23199
- hasInterrupts$1 as fB,
23200
- succeed$6 as fC,
23201
- setStackTraceLimit as fD,
23202
- fail$3 as fE,
23203
- getStackTraceLimit as fF,
23204
- fiberEnterUninterruptibleUnsafe as fG,
23205
- contA as fH,
23206
- effectIsExit as fI,
23207
- closeUnsafe as fJ,
23208
- contE as fK,
23209
- reportCauseUnsafe as fL,
23210
- matchCauseEffectEager as fM,
23211
- flatMapEager as fN,
23212
- provideMerge as fO,
23213
- fromInput as fP,
23214
- fromReadable as fQ,
23215
- toArrayBuffer as fR,
23216
- provide$2 as fS,
23217
- layer$7 as fT,
23218
- pipeThroughDuplex as fU,
23219
- toUint8Array as fV,
23220
- WebSocketServer as fW,
23221
- orDie as fX,
23222
- runForEachArray as fY,
23223
- interruptible as fZ,
23224
- die$4 as f_,
23225
- toCodecJson as fa,
23226
- RecordFromUrlParams as fb,
23227
- decodeTo as fc,
23228
- externalSpan as fd,
23229
- isOption as fe,
23230
- isExit as ff,
23231
- zero as fg,
23232
- fromInput$1 as fh,
23233
- badArgument as fi,
23234
- isSchemaError$1 as fj,
23235
- isNoSuchElementError as fk,
23236
- StackTrace as fl,
23237
- mapEager as fm,
23238
- updateContext as fn,
23239
- makeUnsafe$2 as fo,
23240
- tag as fp,
23241
- Error$1 as fq,
23242
- fromInputUnsafe as fr,
23243
- Path as fs,
23244
- run$1 as ft,
23245
- mebibytes as fu,
23246
- Class$3 as fv,
23247
- constFalse as fw,
23248
- withLogSpan as fx,
23249
- log as fy,
23250
- Tracer as fz,
22641
+ die$4 as f$,
22642
+ PRIVATE_NETWORKS as f0,
22643
+ RelayHostList as f1,
22644
+ RelayMachineList as f2,
22645
+ encodeSync as f3,
22646
+ mergeAll$1 as f4,
22647
+ makeUnsafe as f5,
22648
+ effectDiscard as f6,
22649
+ changes as f7,
22650
+ Void2 as f8,
22651
+ AppConnection as f9,
22652
+ Tracer as fA,
22653
+ nativeTracer as fB,
22654
+ hasInterrupts$1 as fC,
22655
+ succeed$6 as fD,
22656
+ setStackTraceLimit as fE,
22657
+ fail$3 as fF,
22658
+ getStackTraceLimit as fG,
22659
+ fiberEnterUninterruptibleUnsafe as fH,
22660
+ contA as fI,
22661
+ effectIsExit as fJ,
22662
+ closeUnsafe as fK,
22663
+ contE as fL,
22664
+ reportCauseUnsafe as fM,
22665
+ matchCauseEffectEager as fN,
22666
+ flatMapEager as fO,
22667
+ provideMerge as fP,
22668
+ fromInput as fQ,
22669
+ fromReadable as fR,
22670
+ toArrayBuffer as fS,
22671
+ provide$2 as fT,
22672
+ layer$7 as fU,
22673
+ pipeThroughDuplex as fV,
22674
+ toUint8Array as fW,
22675
+ WebSocketServer as fX,
22676
+ orDie as fY,
22677
+ runForEachArray as fZ,
22678
+ interruptible as f_,
22679
+ decodeEffect as fa,
22680
+ toCodecJson as fb,
22681
+ RecordFromUrlParams as fc,
22682
+ decodeTo as fd,
22683
+ externalSpan as fe,
22684
+ isOption as ff,
22685
+ isExit as fg,
22686
+ zero as fh,
22687
+ fromInput$1 as fi,
22688
+ badArgument as fj,
22689
+ isSchemaError$1 as fk,
22690
+ isNoSuchElementError as fl,
22691
+ StackTrace as fm,
22692
+ mapEager as fn,
22693
+ updateContext as fo,
22694
+ makeUnsafe$2 as fp,
22695
+ tag as fq,
22696
+ Error$1 as fr,
22697
+ fromInputUnsafe as fs,
22698
+ Path as ft,
22699
+ run$1 as fu,
22700
+ mebibytes as fv,
22701
+ Class$3 as fw,
22702
+ constFalse as fx,
22703
+ withLogSpan as fy,
22704
+ log as fz,
23251
22705
  format$1 as g,
23252
- IllegalArgumentError2 as g$,
23253
- DateTimeUtc as g0,
23254
- withConstructorDefault as g1,
23255
- withDecodingDefault as g2,
23256
- Redacted as g3,
23257
- Tuple as g4,
23258
- isRedacted as g5,
23259
- MutableJson as g6,
23260
- Never2 as g7,
23261
- toJsonSchemaDocument as g8,
23262
- effectContext as g9,
23263
- UndefinedOr as gA,
23264
- Finite as gB,
23265
- passthrough$1 as gC,
23266
- Uint8ArrayFromBase64 as gD,
23267
- Json as gE,
23268
- TemplateLiteral2 as gF,
23269
- decode as gG,
23270
- withDefault$1 as gH,
23271
- isBetween as gI,
23272
- take$4 as gJ,
23273
- isNullish as gK,
23274
- isString as gL,
23275
- never$1 as gM,
23276
- bounded as gN,
23277
- withParentSpan as gO,
23278
- die$3 as gP,
23279
- offerAll as gQ,
23280
- decodeSync as gR,
23281
- NonEmptyArray as gS,
23282
- interrupt$2 as gT,
23283
- interruptors as gU,
23284
- catchCauseIf as gV,
23285
- decode$1 as gW,
23286
- decodeUnknownResult as gX,
23287
- fn as gY,
23288
- isTagged as gZ,
23289
- isReadonlyObject as g_,
23290
- annotateCurrentSpan as ga,
23291
- isUndefined as gb,
23292
- failCause$2 as gc,
23293
- forkChild as gd,
23294
- catch_ as ge,
23295
- isSchemaError as gf,
23296
- failCause as gg,
23297
- mapEffect as gh,
23298
- onEnd as gi,
23299
- isSchema as gj,
23300
- annotate$1 as gk,
23301
- fail$4 as gl,
23302
- make$2 as gm,
23303
- declare as gn,
23304
- isStream as go,
23305
- Class3 as gp,
23306
- Exit as gq,
23307
- getOrUndefinedUnsafe as gr,
23308
- provideContext as gs,
23309
- Opaque as gt,
23310
- StructWithRest as gu,
23311
- JsonObject as gv,
23312
- transformOptional as gw,
23313
- flatMap$7 as gx,
23314
- toType as gy,
23315
- Any2 as gz,
22706
+ isReadonlyObject as g$,
22707
+ Duration as g0,
22708
+ DateTimeUtc as g1,
22709
+ withConstructorDefault as g2,
22710
+ withDecodingDefault as g3,
22711
+ Redacted as g4,
22712
+ Tuple as g5,
22713
+ isRedacted as g6,
22714
+ MutableJson as g7,
22715
+ Never2 as g8,
22716
+ toJsonSchemaDocument as g9,
22717
+ Any2 as gA,
22718
+ UndefinedOr as gB,
22719
+ Finite as gC,
22720
+ passthrough$1 as gD,
22721
+ Uint8ArrayFromBase64 as gE,
22722
+ Json as gF,
22723
+ TemplateLiteral2 as gG,
22724
+ decode as gH,
22725
+ withDefault$1 as gI,
22726
+ isBetween as gJ,
22727
+ take$3 as gK,
22728
+ isNullish as gL,
22729
+ isString as gM,
22730
+ never$1 as gN,
22731
+ bounded as gO,
22732
+ withParentSpan as gP,
22733
+ die$3 as gQ,
22734
+ offerAll as gR,
22735
+ decodeSync as gS,
22736
+ NonEmptyArray as gT,
22737
+ interrupt$2 as gU,
22738
+ interruptors as gV,
22739
+ catchCauseIf as gW,
22740
+ decode$1 as gX,
22741
+ decodeUnknownResult as gY,
22742
+ fn as gZ,
22743
+ isTagged as g_,
22744
+ effectContext as ga,
22745
+ annotateCurrentSpan as gb,
22746
+ isUndefined as gc,
22747
+ failCause$2 as gd,
22748
+ forkChild as ge,
22749
+ catch_ as gf,
22750
+ isSchemaError as gg,
22751
+ failCause as gh,
22752
+ mapEffect as gi,
22753
+ onEnd as gj,
22754
+ isSchema as gk,
22755
+ annotate$1 as gl,
22756
+ fail$4 as gm,
22757
+ make$2 as gn,
22758
+ declare as go,
22759
+ isStream as gp,
22760
+ Class3 as gq,
22761
+ Exit as gr,
22762
+ getOrUndefinedUnsafe as gs,
22763
+ provideContext as gt,
22764
+ Opaque as gu,
22765
+ StructWithRest as gv,
22766
+ JsonObject as gw,
22767
+ transformOptional as gx,
22768
+ flatMap$7 as gy,
22769
+ toType as gz,
23316
22770
  hasInterruptsOnly as h,
23317
22771
  subtract as h$,
23318
- encode as h0,
23319
- omit as h1,
23320
- merge$2 as h2,
23321
- succeedContext as h3,
23322
- unwrap$3 as h4,
23323
- CurrentMemoMap as h5,
23324
- fromIterable$1 as h6,
23325
- reverse as h7,
23326
- withFiberSucceed as h8,
23327
- fiberEnterInterruptibleUnsafe as h9,
23328
- spawnsSubagent as hA,
23329
- isPublishArtifactTool as hB,
23330
- outputText as hC,
23331
- publishedArtifact as hD,
23332
- toolArgument as hE,
23333
- isPublishDocumentTool as hF,
23334
- commonjsGlobal as hG,
23335
- isRunAgentTool as hH,
23336
- presetModels as hI,
23337
- filter as hJ,
23338
- take as hK,
23339
- runDrain as hL,
23340
- min$1 as hM,
23341
- ChildProcessSpawner as hN,
23342
- make$b as hO,
23343
- mkString as hP,
23344
- decodeText as hQ,
23345
- ForkPoint as hR,
23346
- TokenUsage as hS,
23347
- MessagePart as hT,
23348
- Message as hU,
23349
- sliding as hV,
22772
+ IllegalArgumentError2 as h0,
22773
+ encode as h1,
22774
+ omit as h2,
22775
+ merge$2 as h3,
22776
+ succeedContext as h4,
22777
+ unwrap$3 as h5,
22778
+ CurrentMemoMap as h6,
22779
+ fromIterable$1 as h7,
22780
+ reverse as h8,
22781
+ withFiberSucceed as h9,
22782
+ decodeUnknownSync as hA,
22783
+ spawnsSubagent as hB,
22784
+ isPublishArtifactTool as hC,
22785
+ outputText as hD,
22786
+ publishedArtifact as hE,
22787
+ toolArgument as hF,
22788
+ isPublishDocumentTool as hG,
22789
+ commonjsGlobal as hH,
22790
+ isRunAgentTool as hI,
22791
+ presetModels as hJ,
22792
+ filter as hK,
22793
+ take as hL,
22794
+ runDrain as hM,
22795
+ min$1 as hN,
22796
+ ChildProcessSpawner as hO,
22797
+ make$b as hP,
22798
+ mkString as hQ,
22799
+ decodeText as hR,
22800
+ ForkPoint as hS,
22801
+ TokenUsage as hT,
22802
+ MessagePart as hU,
22803
+ Message as hV,
23350
22804
  parseGitHubPullRequestUrl as hW,
23351
22805
  PullRequestReviewer as hX,
23352
22806
  PullRequestLabel as hY,
23353
22807
  PullRequestComment as hZ,
23354
22808
  DiffSide as h_,
23355
- compose as ha,
23356
- collect as hb,
23357
- catchDone as hc,
23358
- takeAll as hd,
23359
- fromArray as he,
23360
- whileLoop as hf,
23361
- matchEffect as hg,
23362
- defaultFormatter as hh,
23363
- logFatal as hi,
23364
- isDeferred as hj,
23365
- hasDies as hk,
23366
- shutdown as hl,
23367
- Scheduler as hm,
23368
- CurrentLogLevel as hn,
23369
- UnknownFromJsonString as ho,
23370
- ignoreCause as hp,
23371
- forever as hq,
23372
- Class$2 as hr,
23373
- TaggedStruct as hs,
23374
- toEncoded as ht,
23375
- isMaxLength as hu,
23376
- makeFilter as hv,
23377
- isPattern as hw,
23378
- runLast as hx,
23379
- fromOption as hy,
23380
- decodeUnknownSync as hz,
22809
+ fiberEnterInterruptibleUnsafe as ha,
22810
+ compose as hb,
22811
+ collect as hc,
22812
+ catchDone as hd,
22813
+ takeAll as he,
22814
+ fromArray as hf,
22815
+ whileLoop as hg,
22816
+ matchEffect as hh,
22817
+ defaultFormatter as hi,
22818
+ logFatal as hj,
22819
+ isDeferred as hk,
22820
+ hasDies as hl,
22821
+ shutdown as hm,
22822
+ Scheduler as hn,
22823
+ CurrentLogLevel as ho,
22824
+ UnknownFromJsonString as hp,
22825
+ ignoreCause as hq,
22826
+ forever as hr,
22827
+ Class$2 as hs,
22828
+ TaggedStruct as ht,
22829
+ toEncoded as hu,
22830
+ isMaxLength as hv,
22831
+ makeFilter as hw,
22832
+ isPattern as hx,
22833
+ runLast as hy,
22834
+ fromOption as hz,
23381
22835
  isEffect as i,
23382
- when as i$,
22836
+ threadDeviceId as i$,
23383
22837
  PULL_REQUEST_REFRESH as i0,
23384
22838
  parseGitHubRepository as i1,
23385
22839
  request as i2,
@@ -23390,33 +22844,33 @@ export {
23390
22844
  Project as i7,
23391
22845
  BooleanFromBit as i8,
23392
22846
  Worktree as i9,
23393
- AgentAccount as iA,
23394
- filter$2 as iB,
23395
- schedule as iC,
23396
- BrowserFrame as iD,
23397
- PagePick as iE,
23398
- defaultClientSettings as iF,
23399
- ClientSettings as iG,
23400
- parsePairingUrl as iH,
23401
- pairingUrl as iI,
23402
- Environment as iJ,
23403
- relayWebSocketUrl as iK,
23404
- remoteWebSocketUrl as iL,
23405
- CHALLENGE_WAIT_MS as iM,
23406
- dialPlan as iN,
23407
- REMOTE_PROTOCOL_VERSION as iO,
23408
- DIRECT_CHECK_INTERVAL_MS as iP,
23409
- DIRECT_CHECK_TIMEOUT_MS as iQ,
23410
- next as iR,
23411
- bytes as iS,
23412
- Timestamp as iT,
23413
- RoutineSchedule as iU,
23414
- RoutineRun as iV,
23415
- launch as iW,
23416
- uninterruptible as iX,
23417
- parseUnsafe as iY,
23418
- RoutineWorkspace as iZ,
23419
- LinearIssue as i_,
22847
+ filter$2 as iA,
22848
+ schedule as iB,
22849
+ BrowserFrame as iC,
22850
+ PagePick as iD,
22851
+ defaultClientSettings as iE,
22852
+ ClientSettings as iF,
22853
+ parsePairingUrl as iG,
22854
+ pairingUrl as iH,
22855
+ Environment as iI,
22856
+ relayWebSocketUrl as iJ,
22857
+ remoteWebSocketUrl as iK,
22858
+ CHALLENGE_WAIT_MS as iL,
22859
+ dialPlan as iM,
22860
+ REMOTE_PROTOCOL_VERSION as iN,
22861
+ DIRECT_CHECK_INTERVAL_MS as iO,
22862
+ DIRECT_CHECK_TIMEOUT_MS as iP,
22863
+ next as iQ,
22864
+ bytes as iR,
22865
+ Timestamp as iS,
22866
+ RoutineSchedule as iT,
22867
+ RoutineRun as iU,
22868
+ launch as iV,
22869
+ uninterruptible as iW,
22870
+ parseUnsafe as iX,
22871
+ RoutineWorkspace as iY,
22872
+ LinearIssue as iZ,
22873
+ when as i_,
23420
22874
  timeoutOption as ia,
23421
22875
  ScheduledMessage as ib,
23422
22876
  QueuedMessage as ic,
@@ -23424,54 +22878,52 @@ export {
23424
22878
  getOrThrow$1 as ie,
23425
22879
  PullRequestWatch as ig,
23426
22880
  PullRequestLink as ih,
23427
- PullRequestStatus as ii,
23428
- allWatchEventKinds as ij,
23429
- enabledProviders as ik,
23430
- transcriptThreadId$1 as il,
23431
- resumeGraceMs as im,
23432
- fail$2 as io,
23433
- WAIT_AGENT_TOOL as ip,
23434
- startingProvider as iq,
23435
- kilobytes as ir,
23436
- monotonicTimeNanos as is,
23437
- retry as it,
23438
- spaced as iu,
23439
- die as iv,
23440
- snakeToCamel as iw,
23441
- camelToSnake as ix,
23442
- UpdatableProviderId as iy,
23443
- filter$4 as iz,
22881
+ allWatchEventKinds as ii,
22882
+ enabledProviders as ij,
22883
+ transcriptThreadId$1 as ik,
22884
+ resumeGraceMs as il,
22885
+ fail$2 as im,
22886
+ WAIT_AGENT_TOOL as io,
22887
+ startingProvider as ip,
22888
+ kilobytes as iq,
22889
+ monotonicTimeNanos as ir,
22890
+ retry as is,
22891
+ spaced as it,
22892
+ die as iu,
22893
+ snakeToCamel as iv,
22894
+ camelToSnake as iw,
22895
+ UpdatableProviderId as ix,
22896
+ filter$4 as iy,
22897
+ AgentAccount as iz,
23444
22898
  toCodecStringTree as j,
23445
- threadDeviceId as j0,
23446
- shownScreen as j1,
23447
- devicePlatformOf as j2,
23448
- RUN_AGENT_TOOL as j3,
23449
- ARTIFACT_THEME_GUIDE as j4,
23450
- DeviceUrl as j5,
23451
- DeviceApp as j6,
23452
- DeviceButton as j7,
23453
- WatchEventKind as j8,
23454
- GuideGroup as j9,
23455
- PullRequestGuide as ja,
23456
- flatten$4 as jb,
23457
- diskFullness as jc,
23458
- pretty as jd,
23459
- min as je,
23460
- exponential as jf,
23461
- desktopOnlyPushes as jg,
23462
- reachesPhone as jh,
23463
- mutations as ji,
23464
- desktopOnlyMethods as jj,
23465
- isAddressNotUpYet as jk,
23466
- ClientFrame as jl,
23467
- empty$2 as jm,
23468
- BindHost as jn,
23469
- take$2 as jo,
23470
- getAugmentedNamespace as jp,
23471
- make$t as jq,
23472
- NativeSpan as jr,
23473
- currentTimeNanos as js,
23474
- isPortInUse as jt,
22899
+ shownScreen as j0,
22900
+ devicePlatformOf as j1,
22901
+ RUN_AGENT_TOOL as j2,
22902
+ ARTIFACT_THEME_GUIDE as j3,
22903
+ DeviceUrl as j4,
22904
+ DeviceApp as j5,
22905
+ DeviceButton as j6,
22906
+ WatchEventKind as j7,
22907
+ GuideGroup as j8,
22908
+ PullRequestGuide as j9,
22909
+ flatten$4 as ja,
22910
+ diskFullness as jb,
22911
+ pretty as jc,
22912
+ min as jd,
22913
+ exponential as je,
22914
+ desktopOnlyPushes as jf,
22915
+ reachesPhone as jg,
22916
+ mutations as jh,
22917
+ desktopOnlyMethods as ji,
22918
+ isAddressNotUpYet as jj,
22919
+ ClientFrame as jk,
22920
+ empty$2 as jl,
22921
+ BindHost as jm,
22922
+ getAugmentedNamespace as jn,
22923
+ make$t as jo,
22924
+ NativeSpan as jp,
22925
+ currentTimeNanos as jq,
22926
+ isPortInUse as jr,
23475
22927
  decodeUnknownEffect as k,
23476
22928
  logError as l,
23477
22929
  identity as m,