@pmate/cli 0.35.6 → 0.35.8

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.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/dist/index.js +343 -227
  3. package/package.json +10 -17
package/dist/index.js CHANGED
@@ -293,181 +293,181 @@ var init_sessionStore = __esm({
293
293
  }
294
294
  });
295
295
 
296
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/account.types.ts
296
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/account.types.ts
297
297
  var init_account_types = __esm({
298
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/account.types.ts"() {
298
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/account.types.ts"() {
299
299
  "use strict";
300
300
  }
301
301
  });
302
302
 
303
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/achievements.types.ts
303
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/achievements.types.ts
304
304
  var init_achievements_types = __esm({
305
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/achievements.types.ts"() {
305
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/achievements.types.ts"() {
306
306
  "use strict";
307
307
  }
308
308
  });
309
309
 
310
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/aigen.types.ts
310
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/aigen.types.ts
311
311
  var init_aigen_types = __esm({
312
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/aigen.types.ts"() {
312
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/aigen.types.ts"() {
313
313
  "use strict";
314
314
  }
315
315
  });
316
316
 
317
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent.types.ts
317
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent.types.ts
318
318
  var init_agent_types = __esm({
319
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent.types.ts"() {
319
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent.types.ts"() {
320
320
  "use strict";
321
321
  }
322
322
  });
323
323
 
324
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent-registry.types.ts
324
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent-registry.types.ts
325
325
  var init_agent_registry_types = __esm({
326
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent-registry.types.ts"() {
326
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/agent-registry.types.ts"() {
327
327
  "use strict";
328
328
  }
329
329
  });
330
330
 
331
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/runner-registry.types.ts
331
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/runner-registry.types.ts
332
332
  var init_runner_registry_types = __esm({
333
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/runner-registry.types.ts"() {
333
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/runner-registry.types.ts"() {
334
334
  "use strict";
335
335
  }
336
336
  });
337
337
 
338
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/function-registry.types.ts
338
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/function-registry.types.ts
339
339
  var init_function_registry_types = __esm({
340
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/function-registry.types.ts"() {
340
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/function-registry.types.ts"() {
341
341
  "use strict";
342
342
  }
343
343
  });
344
344
 
345
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/worker-registry.types.ts
345
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/worker-registry.types.ts
346
346
  var init_worker_registry_types = __esm({
347
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/worker-registry.types.ts"() {
347
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/worker-registry.types.ts"() {
348
348
  "use strict";
349
349
  }
350
350
  });
351
351
 
352
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/call.types.ts
352
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/call.types.ts
353
353
  var init_call_types = __esm({
354
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/call.types.ts"() {
354
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/call.types.ts"() {
355
355
  "use strict";
356
356
  }
357
357
  });
358
358
 
359
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/blockchain.types.ts
359
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/blockchain.types.ts
360
360
  var init_blockchain_types = __esm({
361
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/blockchain.types.ts"() {
361
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/blockchain.types.ts"() {
362
362
  "use strict";
363
363
  }
364
364
  });
365
365
 
366
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/breakdown.types.ts
366
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/breakdown.types.ts
367
367
  var init_breakdown_types = __esm({
368
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/breakdown.types.ts"() {
368
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/breakdown.types.ts"() {
369
369
  "use strict";
370
370
  }
371
371
  });
372
372
 
373
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/chat.types.ts
373
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/chat.types.ts
374
374
  var init_chat_types = __esm({
375
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/chat.types.ts"() {
375
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/chat.types.ts"() {
376
376
  "use strict";
377
377
  }
378
378
  });
379
379
 
380
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/companion.types.ts
380
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/companion.types.ts
381
381
  var init_companion_types = __esm({
382
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/companion.types.ts"() {
382
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/companion.types.ts"() {
383
383
  "use strict";
384
384
  }
385
385
  });
386
386
 
387
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/enums.ts
387
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/enums.ts
388
388
  var init_enums = __esm({
389
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/enums.ts"() {
389
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/enums.ts"() {
390
390
  "use strict";
391
391
  }
392
392
  });
393
393
 
394
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/lang.types.ts
394
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/lang.types.ts
395
395
  var init_lang_types = __esm({
396
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/lang.types.ts"() {
396
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/lang.types.ts"() {
397
397
  "use strict";
398
398
  }
399
399
  });
400
400
 
401
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/logs.types.ts
401
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/logs.types.ts
402
402
  var init_logs_types = __esm({
403
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/logs.types.ts"() {
403
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/logs.types.ts"() {
404
404
  "use strict";
405
405
  }
406
406
  });
407
407
 
408
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/message.types.ts
408
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/message.types.ts
409
409
  var PING, PONG;
410
410
  var init_message_types = __esm({
411
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/message.types.ts"() {
411
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/message.types.ts"() {
412
412
  "use strict";
413
413
  PING = 1;
414
414
  PONG = 2;
415
415
  }
416
416
  });
417
417
 
418
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/newLog.types.ts
418
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/newLog.types.ts
419
419
  var init_newLog_types = __esm({
420
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/newLog.types.ts"() {
420
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/newLog.types.ts"() {
421
421
  "use strict";
422
422
  }
423
423
  });
424
424
 
425
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/novel.types.ts
425
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/novel.types.ts
426
426
  var init_novel_types = __esm({
427
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/novel.types.ts"() {
427
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/novel.types.ts"() {
428
428
  "use strict";
429
429
  }
430
430
  });
431
431
 
432
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/offline.types.ts
432
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/offline.types.ts
433
433
  var init_offline_types = __esm({
434
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/offline.types.ts"() {
434
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/offline.types.ts"() {
435
435
  "use strict";
436
436
  }
437
437
  });
438
438
 
439
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/prompt.types.ts
439
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/prompt.types.ts
440
440
  var init_prompt_types = __esm({
441
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/prompt.types.ts"() {
441
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/prompt.types.ts"() {
442
442
  "use strict";
443
443
  }
444
444
  });
445
445
 
446
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/reading.types.ts
446
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/reading.types.ts
447
447
  var init_reading_types = __esm({
448
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/reading.types.ts"() {
448
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/reading.types.ts"() {
449
449
  "use strict";
450
450
  }
451
451
  });
452
452
 
453
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/settings.types.ts
453
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/settings.types.ts
454
454
  var init_settings_types = __esm({
455
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/settings.types.ts"() {
455
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/settings.types.ts"() {
456
456
  "use strict";
457
457
  }
458
458
  });
459
459
 
460
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/subscription.types.ts
460
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/subscription.types.ts
461
461
  var init_subscription_types = __esm({
462
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/subscription.types.ts"() {
462
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/subscription.types.ts"() {
463
463
  "use strict";
464
464
  }
465
465
  });
466
466
 
467
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/types.ts
467
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/types.ts
468
468
  var buildVoiceKey, createVoice;
469
469
  var init_types = __esm({
470
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/types.ts"() {
470
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/types.ts"() {
471
471
  "use strict";
472
472
  buildVoiceKey = (provider, name) => {
473
473
  return `${provider}:${name}`;
@@ -489,44 +489,44 @@ var init_types = __esm({
489
489
  }
490
490
  });
491
491
 
492
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/wordv5.def.ts
492
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/wordv5.def.ts
493
493
  var init_wordv5_def = __esm({
494
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/wordv5.def.ts"() {
494
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/wordv5.def.ts"() {
495
495
  "use strict";
496
496
  }
497
497
  });
498
498
 
499
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/auth.types.ts
499
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/auth.types.ts
500
500
  var init_auth_types = __esm({
501
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/auth.types.ts"() {
501
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/auth.types.ts"() {
502
502
  "use strict";
503
503
  }
504
504
  });
505
505
 
506
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/apps.types.ts
506
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/apps.types.ts
507
507
  var init_apps_types = __esm({
508
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/apps.types.ts"() {
508
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/apps.types.ts"() {
509
509
  "use strict";
510
510
  }
511
511
  });
512
512
 
513
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/response.types.ts
513
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/response.types.ts
514
514
  var init_response_types = __esm({
515
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/response.types.ts"() {
515
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/response.types.ts"() {
516
516
  "use strict";
517
517
  }
518
518
  });
519
519
 
520
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/role.types.ts
520
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/role.types.ts
521
521
  var init_role_types = __esm({
522
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/role.types.ts"() {
522
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/role.types.ts"() {
523
523
  "use strict";
524
524
  }
525
525
  });
526
526
 
527
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/index.ts
527
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/index.ts
528
528
  var init_types2 = __esm({
529
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/index.ts"() {
529
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/types/index.ts"() {
530
530
  "use strict";
531
531
  init_account_types();
532
532
  init_achievements_types();
@@ -561,24 +561,24 @@ var init_types2 = __esm({
561
561
  }
562
562
  });
563
563
 
564
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/BizErrorCode.ts
564
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/BizErrorCode.ts
565
565
  var init_BizErrorCode = __esm({
566
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/BizErrorCode.ts"() {
566
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/BizErrorCode.ts"() {
567
567
  "use strict";
568
568
  }
569
569
  });
570
570
 
571
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/consts.ts
571
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/consts.ts
572
572
  var init_consts = __esm({
573
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/consts.ts"() {
573
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/consts.ts"() {
574
574
  "use strict";
575
575
  }
576
576
  });
577
577
 
578
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/TopicNames.ts
578
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/TopicNames.ts
579
579
  var TopicNames, topicKindMatchers;
580
580
  var init_TopicNames = __esm({
581
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/TopicNames.ts"() {
581
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/TopicNames.ts"() {
582
582
  "use strict";
583
583
  init_types2();
584
584
  TopicNames = class _TopicNames {
@@ -664,18 +664,18 @@ var init_TopicNames = __esm({
664
664
  }
665
665
  });
666
666
 
667
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/OSSKeys.ts
667
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/OSSKeys.ts
668
668
  var init_OSSKeys = __esm({
669
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/OSSKeys.ts"() {
669
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/OSSKeys.ts"() {
670
670
  "use strict";
671
671
  init_consts();
672
672
  }
673
673
  });
674
674
 
675
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/CompanionProfiles.ts
675
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/CompanionProfiles.ts
676
676
  var openAICoral, openAIAsh, openAIBallad, openAINova, openAIVerse;
677
677
  var init_CompanionProfiles = __esm({
678
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/CompanionProfiles.ts"() {
678
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/CompanionProfiles.ts"() {
679
679
  "use strict";
680
680
  init_types2();
681
681
  openAICoral = createVoice({
@@ -710,9 +710,9 @@ var init_CompanionProfiles = __esm({
710
710
  }
711
711
  });
712
712
 
713
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/index.ts
713
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/index.ts
714
714
  var init_config = __esm({
715
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/index.ts"() {
715
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/config/index.ts"() {
716
716
  "use strict";
717
717
  init_BizErrorCode();
718
718
  init_consts();
@@ -722,83 +722,83 @@ var init_config = __esm({
722
722
  }
723
723
  });
724
724
 
725
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/index.ts
725
+ // node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/index.ts
726
726
  var init_src = __esm({
727
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/index.ts"() {
727
+ "node_modules/.pnpm/@pmate+meta@1.3.1/node_modules/@pmate/meta/src/index.ts"() {
728
728
  "use strict";
729
729
  init_types2();
730
730
  init_config();
731
731
  }
732
732
  });
733
733
 
734
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/base64.ts
734
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/base64.ts
735
735
  var init_base64 = __esm({
736
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/base64.ts"() {
736
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/base64.ts"() {
737
737
  "use strict";
738
738
  }
739
739
  });
740
740
 
741
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Cache.ts
741
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Cache.ts
742
742
  var init_Cache = __esm({
743
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Cache.ts"() {
743
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Cache.ts"() {
744
744
  "use strict";
745
745
  }
746
746
  });
747
747
 
748
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/batchResolve.ts
748
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/batchResolve.ts
749
749
  var init_batchResolve = __esm({
750
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/batchResolve.ts"() {
750
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/batchResolve.ts"() {
751
751
  "use strict";
752
752
  init_Cache();
753
753
  }
754
754
  });
755
755
 
756
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceSpliter.ts
756
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceSpliter.ts
757
757
  var init_sentenceSpliter = __esm({
758
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceSpliter.ts"() {
758
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceSpliter.ts"() {
759
759
  "use strict";
760
760
  }
761
761
  });
762
762
 
763
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceTrim.ts
763
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceTrim.ts
764
764
  var init_sentenceTrim = __esm({
765
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceTrim.ts"() {
765
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceTrim.ts"() {
766
766
  "use strict";
767
767
  }
768
768
  });
769
769
 
770
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/wordSpliter.ts
770
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/wordSpliter.ts
771
771
  var init_wordSpliter = __esm({
772
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/wordSpliter.ts"() {
772
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/wordSpliter.ts"() {
773
773
  "use strict";
774
774
  }
775
775
  });
776
776
 
777
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/regex.ts
777
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/regex.ts
778
778
  var init_regex = __esm({
779
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/regex.ts"() {
779
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/regex.ts"() {
780
780
  "use strict";
781
781
  }
782
782
  });
783
783
 
784
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceSpliter.ts
784
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceSpliter.ts
785
785
  var init_sentenceSpliter2 = __esm({
786
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceSpliter.ts"() {
786
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceSpliter.ts"() {
787
787
  "use strict";
788
788
  }
789
789
  });
790
790
 
791
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceTrim.ts
791
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceTrim.ts
792
792
  var init_sentenceTrim2 = __esm({
793
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceTrim.ts"() {
793
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceTrim.ts"() {
794
794
  "use strict";
795
795
  }
796
796
  });
797
797
 
798
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/wordSpliter.ts
798
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/wordSpliter.ts
799
799
  var regex;
800
800
  var init_wordSpliter2 = __esm({
801
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/wordSpliter.ts"() {
801
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/wordSpliter.ts"() {
802
802
  "use strict";
803
803
  regex = new RegExp(
804
804
  [
@@ -834,23 +834,23 @@ var init_wordSpliter2 = __esm({
834
834
  }
835
835
  });
836
836
 
837
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/sentenceSpliter.ts
837
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/sentenceSpliter.ts
838
838
  var init_sentenceSpliter3 = __esm({
839
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/sentenceSpliter.ts"() {
839
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/sentenceSpliter.ts"() {
840
840
  "use strict";
841
841
  }
842
842
  });
843
843
 
844
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/wordSpliter.ts
844
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/wordSpliter.ts
845
845
  var init_wordSpliter3 = __esm({
846
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/wordSpliter.ts"() {
846
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/wordSpliter.ts"() {
847
847
  "use strict";
848
848
  }
849
849
  });
850
850
 
851
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/readingSettings.ts
851
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/readingSettings.ts
852
852
  var init_readingSettings = __esm({
853
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/readingSettings.ts"() {
853
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/readingSettings.ts"() {
854
854
  "use strict";
855
855
  init_sentenceSpliter();
856
856
  init_wordSpliter();
@@ -861,17 +861,17 @@ var init_readingSettings = __esm({
861
861
  }
862
862
  });
863
863
 
864
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/utils.ts
864
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/utils.ts
865
865
  var init_utils = __esm({
866
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/utils.ts"() {
866
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/utils.ts"() {
867
867
  "use strict";
868
868
  init_src();
869
869
  }
870
870
  });
871
871
 
872
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/index.ts
872
+ // node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/index.ts
873
873
  var init_src2 = __esm({
874
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/index.ts"() {
874
+ "node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/index.ts"() {
875
875
  "use strict";
876
876
  init_sentenceSpliter();
877
877
  init_sentenceTrim();
@@ -887,32 +887,32 @@ var init_src2 = __esm({
887
887
  }
888
888
  });
889
889
 
890
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/bookStats.ts
890
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/bookStats.ts
891
891
  var init_bookStats = __esm({
892
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/bookStats.ts"() {
892
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/bookStats.ts"() {
893
893
  "use strict";
894
894
  init_src2();
895
895
  }
896
896
  });
897
897
 
898
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts
898
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts
899
899
  var init_BoundedConcurrentQueue = __esm({
900
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts"() {
900
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts"() {
901
901
  "use strict";
902
902
  }
903
903
  });
904
904
 
905
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/lru.ts
905
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/lru.ts
906
906
  var init_lru = __esm({
907
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/lru.ts"() {
907
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/lru.ts"() {
908
908
  "use strict";
909
909
  init_Cache();
910
910
  }
911
911
  });
912
912
 
913
- // ../../pmate/pmate-cli/node_modules/.pnpm/js-sha3@0.9.3/node_modules/js-sha3/src/sha3.js
913
+ // node_modules/.pnpm/js-sha3@0.9.3/node_modules/js-sha3/src/sha3.js
914
914
  var require_sha3 = __commonJS({
915
- "../../pmate/pmate-cli/node_modules/.pnpm/js-sha3@0.9.3/node_modules/js-sha3/src/sha3.js"(exports2, module2) {
915
+ "node_modules/.pnpm/js-sha3@0.9.3/node_modules/js-sha3/src/sha3.js"(exports2, module2) {
916
916
  "use strict";
917
917
  (function() {
918
918
  "use strict";
@@ -1557,24 +1557,24 @@ var require_sha3 = __commonJS({
1557
1557
  }
1558
1558
  });
1559
1559
 
1560
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Maybe.ts
1560
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Maybe.ts
1561
1561
  var init_Maybe = __esm({
1562
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Maybe.ts"() {
1562
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Maybe.ts"() {
1563
1563
  "use strict";
1564
1564
  }
1565
1565
  });
1566
1566
 
1567
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/cacheMethodInMem.ts
1567
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/cacheMethodInMem.ts
1568
1568
  var import_js_sha3;
1569
1569
  var init_cacheMethodInMem = __esm({
1570
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/cacheMethodInMem.ts"() {
1570
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/cacheMethodInMem.ts"() {
1571
1571
  "use strict";
1572
1572
  import_js_sha3 = __toESM(require_sha3(), 1);
1573
1573
  init_Maybe();
1574
1574
  }
1575
1575
  });
1576
1576
 
1577
- // ../../pmate/pmate-cli/node_modules/.pnpm/pako@2.1.0/node_modules/pako/dist/pako.esm.mjs
1577
+ // node_modules/.pnpm/pako@2.1.0/node_modules/pako/dist/pako.esm.mjs
1578
1578
  function zero$1(buf) {
1579
1579
  let len = buf.length;
1580
1580
  while (--len >= 0) {
@@ -1862,7 +1862,7 @@ function inflateRaw$1(input, options) {
1862
1862
  }
1863
1863
  var Z_FIXED$1, Z_BINARY, Z_TEXT, Z_UNKNOWN$1, STORED_BLOCK, STATIC_TREES, DYN_TREES, MIN_MATCH$1, MAX_MATCH$1, LENGTH_CODES$1, LITERALS$1, L_CODES$1, D_CODES$1, BL_CODES$1, HEAP_SIZE$1, MAX_BITS$1, Buf_size, MAX_BL_BITS, END_BLOCK, REP_3_6, REPZ_3_10, REPZ_11_138, extra_lbits, extra_dbits, extra_blbits, bl_order, DIST_CODE_LEN, static_ltree, static_dtree, _dist_code, _length_code, base_length, base_dist, static_l_desc, static_d_desc, static_bl_desc, d_code, put_short, send_bits, send_code, bi_reverse, bi_flush, gen_bitlen, gen_codes, tr_static_init, init_block, bi_windup, smaller, pqdownheap, compress_block, build_tree, scan_tree, send_tree, build_bl_tree, send_all_trees, detect_data_type, static_init_done, _tr_init$1, _tr_stored_block$1, _tr_align$1, _tr_flush_block$1, _tr_tally$1, _tr_init_1, _tr_stored_block_1, _tr_flush_block_1, _tr_tally_1, _tr_align_1, trees, adler32, adler32_1, makeTable, crcTable, crc32, crc32_1, messages, constants$2, _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align, Z_NO_FLUSH$2, Z_PARTIAL_FLUSH, Z_FULL_FLUSH$1, Z_FINISH$3, Z_BLOCK$1, Z_OK$3, Z_STREAM_END$3, Z_STREAM_ERROR$2, Z_DATA_ERROR$2, Z_BUF_ERROR$1, Z_DEFAULT_COMPRESSION$1, Z_FILTERED, Z_HUFFMAN_ONLY, Z_RLE, Z_FIXED, Z_DEFAULT_STRATEGY$1, Z_UNKNOWN, Z_DEFLATED$2, MAX_MEM_LEVEL, MAX_WBITS$1, DEF_MEM_LEVEL, LENGTH_CODES, LITERALS, L_CODES, D_CODES, BL_CODES, HEAP_SIZE, MAX_BITS, MIN_MATCH, MAX_MATCH, MIN_LOOKAHEAD, PRESET_DICT, INIT_STATE, GZIP_STATE, EXTRA_STATE, NAME_STATE, COMMENT_STATE, HCRC_STATE, BUSY_STATE, FINISH_STATE, BS_NEED_MORE, BS_BLOCK_DONE, BS_FINISH_STARTED, BS_FINISH_DONE, OS_CODE, err, rank, zero, slide_hash, HASH_ZLIB, HASH, flush_pending, flush_block_only, put_byte, putShortMSB, read_buf, longest_match, fill_window, deflate_stored, deflate_fast, deflate_slow, deflate_rle, deflate_huff, configuration_table, lm_init, deflateStateCheck, deflateResetKeep, deflateReset, deflateSetHeader, deflateInit2, deflateInit, deflate$2, deflateEnd, deflateSetDictionary, deflateInit_1, deflateInit2_1, deflateReset_1, deflateResetKeep_1, deflateSetHeader_1, deflate_2$1, deflateEnd_1, deflateSetDictionary_1, deflateInfo, deflate_1$2, _has, assign, flattenChunks, common, STR_APPLY_UIA_OK, _utf8len, string2buf, buf2binstring, buf2string, utf8border, strings, zstream, toString$1, Z_NO_FLUSH$1, Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_FINISH$2, Z_OK$2, Z_STREAM_END$2, Z_DEFAULT_COMPRESSION, Z_DEFAULT_STRATEGY, Z_DEFLATED$1, Deflate_1$1, deflate_2, deflateRaw_1$1, gzip_1$1, constants$1, deflate_1$1, BAD$1, TYPE$1, inffast, MAXBITS, ENOUGH_LENS$1, ENOUGH_DISTS$1, CODES$1, LENS$1, DISTS$1, lbase, lext, dbase, dext, inflate_table, inftrees, CODES, LENS, DISTS, Z_FINISH$1, Z_BLOCK, Z_TREES, Z_OK$1, Z_STREAM_END$1, Z_NEED_DICT$1, Z_STREAM_ERROR$1, Z_DATA_ERROR$1, Z_MEM_ERROR$1, Z_BUF_ERROR, Z_DEFLATED, HEAD, FLAGS, TIME, OS, EXLEN, EXTRA, NAME, COMMENT, HCRC, DICTID, DICT, TYPE, TYPEDO, STORED, COPY_, COPY, TABLE, LENLENS, CODELENS, LEN_, LEN, LENEXT, DIST, DISTEXT, MATCH, LIT, CHECK, LENGTH, DONE, BAD, MEM, SYNC, ENOUGH_LENS, ENOUGH_DISTS, MAX_WBITS, DEF_WBITS, zswap32, inflateStateCheck, inflateResetKeep, inflateReset, inflateReset2, inflateInit2, inflateInit, virgin, lenfix, distfix, fixedtables, updatewindow, inflate$2, inflateEnd, inflateGetHeader, inflateSetDictionary, inflateReset_1, inflateReset2_1, inflateResetKeep_1, inflateInit_1, inflateInit2_1, inflate_2$1, inflateEnd_1, inflateGetHeader_1, inflateSetDictionary_1, inflateInfo, inflate_1$2, gzheader, toString, Z_NO_FLUSH, Z_FINISH, Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Inflate_1$1, inflate_2, inflateRaw_1$1, ungzip$1, constants, inflate_1$1, Deflate, deflate, deflateRaw, gzip, Inflate, inflate, inflateRaw, ungzip, gzip_1;
1864
1864
  var init_pako_esm = __esm({
1865
- "../../pmate/pmate-cli/node_modules/.pnpm/pako@2.1.0/node_modules/pako/dist/pako.esm.mjs"() {
1865
+ "node_modules/.pnpm/pako@2.1.0/node_modules/pako/dist/pako.esm.mjs"() {
1866
1866
  "use strict";
1867
1867
  Z_FIXED$1 = 4;
1868
1868
  Z_BINARY = 0;
@@ -5743,7 +5743,7 @@ var init_pako_esm = __esm({
5743
5743
  }
5744
5744
  });
5745
5745
 
5746
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/compress.ts
5746
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/compress.ts
5747
5747
  async function gzipEncodeBlob(input) {
5748
5748
  const array = await toUint8Array(input);
5749
5749
  return gzip_1(array);
@@ -5769,16 +5769,16 @@ async function toUint8Array(input) {
5769
5769
  throw new TypeError("Unsupported input type for gzipEncodeBlob");
5770
5770
  }
5771
5771
  var init_compress = __esm({
5772
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/compress.ts"() {
5772
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/compress.ts"() {
5773
5773
  "use strict";
5774
5774
  init_pako_esm();
5775
5775
  }
5776
5776
  });
5777
5777
 
5778
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/AsyncStream.ts
5778
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/AsyncStream.ts
5779
5779
  var AsyncStream;
5780
5780
  var init_AsyncStream = __esm({
5781
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/AsyncStream.ts"() {
5781
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/AsyncStream.ts"() {
5782
5782
  "use strict";
5783
5783
  AsyncStream = class _AsyncStream {
5784
5784
  constructor() {
@@ -5966,10 +5966,10 @@ var init_AsyncStream = __esm({
5966
5966
  }
5967
5967
  });
5968
5968
 
5969
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/uniqHash.ts
5969
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/uniqHash.ts
5970
5970
  var import_js_sha32, sortKeys, uniqHash;
5971
5971
  var init_uniqHash = __esm({
5972
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/uniqHash.ts"() {
5972
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/uniqHash.ts"() {
5973
5973
  "use strict";
5974
5974
  init_src();
5975
5975
  import_js_sha32 = __toESM(require_sha3(), 1);
@@ -5999,69 +5999,69 @@ var init_uniqHash = __esm({
5999
5999
  }
6000
6000
  });
6001
6001
 
6002
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/createMsg.ts
6002
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/createMsg.ts
6003
6003
  var init_createMsg = __esm({
6004
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/createMsg.ts"() {
6004
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/createMsg.ts"() {
6005
6005
  "use strict";
6006
6006
  init_src();
6007
6007
  init_uniqHash();
6008
6008
  }
6009
6009
  });
6010
6010
 
6011
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/detectText.ts
6011
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/detectText.ts
6012
6012
  var init_detectText = __esm({
6013
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/detectText.ts"() {
6013
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/detectText.ts"() {
6014
6014
  "use strict";
6015
6015
  }
6016
6016
  });
6017
6017
 
6018
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Emitter.ts
6018
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Emitter.ts
6019
6019
  var init_Emitter = __esm({
6020
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Emitter.ts"() {
6020
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Emitter.ts"() {
6021
6021
  "use strict";
6022
6022
  }
6023
6023
  });
6024
6024
 
6025
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/EmitterV2.ts
6025
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/EmitterV2.ts
6026
6026
  var init_EmitterV2 = __esm({
6027
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/EmitterV2.ts"() {
6027
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/EmitterV2.ts"() {
6028
6028
  "use strict";
6029
6029
  }
6030
6030
  });
6031
6031
 
6032
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/formatTime.ts
6032
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/formatTime.ts
6033
6033
  var init_formatTime = __esm({
6034
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/formatTime.ts"() {
6034
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/formatTime.ts"() {
6035
6035
  "use strict";
6036
6036
  }
6037
6037
  });
6038
6038
 
6039
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/index.ts
6039
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/index.ts
6040
6040
  var init_format = __esm({
6041
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/index.ts"() {
6041
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/format/index.ts"() {
6042
6042
  "use strict";
6043
6043
  init_formatTime();
6044
6044
  }
6045
6045
  });
6046
6046
 
6047
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/isVolcabulary.ts
6047
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/isVolcabulary.ts
6048
6048
  var init_isVolcabulary = __esm({
6049
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/isVolcabulary.ts"() {
6049
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/isVolcabulary.ts"() {
6050
6050
  "use strict";
6051
6051
  }
6052
6052
  });
6053
6053
 
6054
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Loadable.ts
6054
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Loadable.ts
6055
6055
  var init_Loadable = __esm({
6056
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Loadable.ts"() {
6056
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Loadable.ts"() {
6057
6057
  "use strict";
6058
6058
  }
6059
6059
  });
6060
6060
 
6061
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Logger.ts
6061
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Logger.ts
6062
6062
  var Logger;
6063
6063
  var init_Logger = __esm({
6064
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Logger.ts"() {
6064
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Logger.ts"() {
6065
6065
  "use strict";
6066
6066
  Logger = class _Logger {
6067
6067
  constructor(name) {
@@ -6086,21 +6086,21 @@ var init_Logger = __esm({
6086
6086
  }
6087
6087
  });
6088
6088
 
6089
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/mapToReadingBook.ts
6089
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/mapToReadingBook.ts
6090
6090
  var init_mapToReadingBook = __esm({
6091
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/mapToReadingBook.ts"() {
6091
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/mapToReadingBook.ts"() {
6092
6092
  "use strict";
6093
6093
  }
6094
6094
  });
6095
6095
 
6096
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/memoize.ts
6096
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/memoize.ts
6097
6097
  var init_memoize = __esm({
6098
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/memoize.ts"() {
6098
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/memoize.ts"() {
6099
6099
  "use strict";
6100
6100
  }
6101
6101
  });
6102
6102
 
6103
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs
6103
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs
6104
6104
  function utf8Count(str) {
6105
6105
  const strLength = str.length;
6106
6106
  let byteLength = 0;
@@ -6227,7 +6227,7 @@ function utf8Decode(bytes, inputOffset, byteLength) {
6227
6227
  }
6228
6228
  var sharedTextEncoder, TEXT_ENCODER_THRESHOLD, CHUNK_SIZE, sharedTextDecoder, TEXT_DECODER_THRESHOLD;
6229
6229
  var init_utf8 = __esm({
6230
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs"() {
6230
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs"() {
6231
6231
  "use strict";
6232
6232
  sharedTextEncoder = new TextEncoder();
6233
6233
  TEXT_ENCODER_THRESHOLD = 50;
@@ -6237,10 +6237,10 @@ var init_utf8 = __esm({
6237
6237
  }
6238
6238
  });
6239
6239
 
6240
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs
6240
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs
6241
6241
  var ExtData;
6242
6242
  var init_ExtData = __esm({
6243
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs"() {
6243
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs"() {
6244
6244
  "use strict";
6245
6245
  ExtData = class {
6246
6246
  type;
@@ -6253,10 +6253,10 @@ var init_ExtData = __esm({
6253
6253
  }
6254
6254
  });
6255
6255
 
6256
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs
6256
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs
6257
6257
  var DecodeError;
6258
6258
  var init_DecodeError = __esm({
6259
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs"() {
6259
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs"() {
6260
6260
  "use strict";
6261
6261
  DecodeError = class _DecodeError extends Error {
6262
6262
  constructor(message) {
@@ -6273,7 +6273,7 @@ var init_DecodeError = __esm({
6273
6273
  }
6274
6274
  });
6275
6275
 
6276
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs
6276
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs
6277
6277
  function setUint64(view, offset, value) {
6278
6278
  const high = value / 4294967296;
6279
6279
  const low = value;
@@ -6298,13 +6298,13 @@ function getUint64(view, offset) {
6298
6298
  }
6299
6299
  var UINT32_MAX;
6300
6300
  var init_int = __esm({
6301
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs"() {
6301
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs"() {
6302
6302
  "use strict";
6303
6303
  UINT32_MAX = 4294967295;
6304
6304
  }
6305
6305
  });
6306
6306
 
6307
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs
6307
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs
6308
6308
  function encodeTimeSpecToTimestamp({ sec, nsec }) {
6309
6309
  if (sec >= 0 && nsec >= 0 && sec <= TIMESTAMP64_MAX_SEC) {
6310
6310
  if (nsec === 0 && sec <= TIMESTAMP32_MAX_SEC) {
@@ -6377,7 +6377,7 @@ function decodeTimestampExtension(data) {
6377
6377
  }
6378
6378
  var EXT_TIMESTAMP, TIMESTAMP32_MAX_SEC, TIMESTAMP64_MAX_SEC, timestampExtension;
6379
6379
  var init_timestamp = __esm({
6380
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs"() {
6380
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs"() {
6381
6381
  "use strict";
6382
6382
  init_DecodeError();
6383
6383
  init_int();
@@ -6392,10 +6392,10 @@ var init_timestamp = __esm({
6392
6392
  }
6393
6393
  });
6394
6394
 
6395
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs
6395
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs
6396
6396
  var ExtensionCodec;
6397
6397
  var init_ExtensionCodec = __esm({
6398
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs"() {
6398
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs"() {
6399
6399
  "use strict";
6400
6400
  init_ExtData();
6401
6401
  init_timestamp();
@@ -6462,7 +6462,7 @@ var init_ExtensionCodec = __esm({
6462
6462
  }
6463
6463
  });
6464
6464
 
6465
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs
6465
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs
6466
6466
  function isArrayBufferLike(buffer) {
6467
6467
  return buffer instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && buffer instanceof SharedArrayBuffer;
6468
6468
  }
@@ -6478,15 +6478,15 @@ function ensureUint8Array(buffer) {
6478
6478
  }
6479
6479
  }
6480
6480
  var init_typedArrays = __esm({
6481
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs"() {
6481
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs"() {
6482
6482
  "use strict";
6483
6483
  }
6484
6484
  });
6485
6485
 
6486
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs
6486
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs
6487
6487
  var DEFAULT_MAX_DEPTH, DEFAULT_INITIAL_BUFFER_SIZE, Encoder;
6488
6488
  var init_Encoder = __esm({
6489
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs"() {
6489
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs"() {
6490
6490
  "use strict";
6491
6491
  init_utf8();
6492
6492
  init_ExtensionCodec();
@@ -6896,32 +6896,32 @@ var init_Encoder = __esm({
6896
6896
  }
6897
6897
  });
6898
6898
 
6899
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/encode.mjs
6899
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/encode.mjs
6900
6900
  function encode(value, options) {
6901
6901
  const encoder2 = new Encoder(options);
6902
6902
  return encoder2.encodeSharedRef(value);
6903
6903
  }
6904
6904
  var init_encode = __esm({
6905
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/encode.mjs"() {
6905
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/encode.mjs"() {
6906
6906
  "use strict";
6907
6907
  init_Encoder();
6908
6908
  }
6909
6909
  });
6910
6910
 
6911
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs
6911
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs
6912
6912
  function prettyByte(byte) {
6913
6913
  return `${byte < 0 ? "-" : ""}0x${Math.abs(byte).toString(16).padStart(2, "0")}`;
6914
6914
  }
6915
6915
  var init_prettyByte = __esm({
6916
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs"() {
6916
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs"() {
6917
6917
  "use strict";
6918
6918
  }
6919
6919
  });
6920
6920
 
6921
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs
6921
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs
6922
6922
  var DEFAULT_MAX_KEY_LENGTH, DEFAULT_MAX_LENGTH_PER_KEY, CachedKeyDecoder;
6923
6923
  var init_CachedKeyDecoder = __esm({
6924
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs"() {
6924
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs"() {
6925
6925
  "use strict";
6926
6926
  init_utf8();
6927
6927
  DEFAULT_MAX_KEY_LENGTH = 16;
@@ -6981,10 +6981,10 @@ var init_CachedKeyDecoder = __esm({
6981
6981
  }
6982
6982
  });
6983
6983
 
6984
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs
6984
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs
6985
6985
  var STATE_ARRAY, STATE_MAP_KEY, STATE_MAP_VALUE, mapKeyConverter, StackPool, HEAD_BYTE_REQUIRED, EMPTY_VIEW, EMPTY_BYTES, MORE_DATA, sharedCachedKeyDecoder, Decoder;
6986
6986
  var init_Decoder = __esm({
6987
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs"() {
6987
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs"() {
6988
6988
  "use strict";
6989
6989
  init_prettyByte();
6990
6990
  init_ExtensionCodec();
@@ -7622,31 +7622,31 @@ var init_Decoder = __esm({
7622
7622
  }
7623
7623
  });
7624
7624
 
7625
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/decode.mjs
7625
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/decode.mjs
7626
7626
  function decode(buffer, options) {
7627
7627
  const decoder = new Decoder(options);
7628
7628
  return decoder.decode(buffer);
7629
7629
  }
7630
7630
  var init_decode = __esm({
7631
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/decode.mjs"() {
7631
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/decode.mjs"() {
7632
7632
  "use strict";
7633
7633
  init_Decoder();
7634
7634
  }
7635
7635
  });
7636
7636
 
7637
- // ../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/index.mjs
7637
+ // node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/index.mjs
7638
7638
  var init_dist = __esm({
7639
- "../../pmate/pmate-cli/node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/index.mjs"() {
7639
+ "node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/index.mjs"() {
7640
7640
  "use strict";
7641
7641
  init_encode();
7642
7642
  init_decode();
7643
7643
  }
7644
7644
  });
7645
7645
 
7646
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Msg.ts
7646
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Msg.ts
7647
7647
  var encoder, Msg;
7648
7648
  var init_Msg = __esm({
7649
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Msg.ts"() {
7649
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/Msg.ts"() {
7650
7650
  "use strict";
7651
7651
  init_dist();
7652
7652
  init_src();
@@ -7774,106 +7774,106 @@ var init_Msg = __esm({
7774
7774
  }
7775
7775
  });
7776
7776
 
7777
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/normalize.ts
7777
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/normalize.ts
7778
7778
  var init_normalize = __esm({
7779
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/normalize.ts"() {
7779
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/normalize.ts"() {
7780
7780
  "use strict";
7781
7781
  }
7782
7782
  });
7783
7783
 
7784
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/pageURL.ts
7784
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/pageURL.ts
7785
7785
  var init_pageURL = __esm({
7786
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/pageURL.ts"() {
7786
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/pageURL.ts"() {
7787
7787
  "use strict";
7788
7788
  }
7789
7789
  });
7790
7790
 
7791
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/PromiseQueue.ts
7791
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/PromiseQueue.ts
7792
7792
  var init_PromiseQueue = __esm({
7793
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/PromiseQueue.ts"() {
7793
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/PromiseQueue.ts"() {
7794
7794
  "use strict";
7795
7795
  }
7796
7796
  });
7797
7797
 
7798
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/resourceKey.ts
7798
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/resourceKey.ts
7799
7799
  var import_js_sha33;
7800
7800
  var init_resourceKey = __esm({
7801
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/resourceKey.ts"() {
7801
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/resourceKey.ts"() {
7802
7802
  "use strict";
7803
7803
  import_js_sha33 = __toESM(require_sha3(), 1);
7804
7804
  }
7805
7805
  });
7806
7806
 
7807
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/SelectionHelper.ts
7807
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/SelectionHelper.ts
7808
7808
  var init_SelectionHelper = __esm({
7809
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/SelectionHelper.ts"() {
7809
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/SelectionHelper.ts"() {
7810
7810
  "use strict";
7811
7811
  }
7812
7812
  });
7813
7813
 
7814
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/setMinus.ts
7814
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/setMinus.ts
7815
7815
  var init_setMinus = __esm({
7816
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/setMinus.ts"() {
7816
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/setMinus.ts"() {
7817
7817
  "use strict";
7818
7818
  }
7819
7819
  });
7820
7820
 
7821
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/sha1Hash.ts
7821
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/sha1Hash.ts
7822
7822
  var init_sha1Hash = __esm({
7823
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/sha1Hash.ts"() {
7823
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/sha1Hash.ts"() {
7824
7824
  "use strict";
7825
7825
  }
7826
7826
  });
7827
7827
 
7828
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/TaskWaiter.ts
7828
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/TaskWaiter.ts
7829
7829
  var init_TaskWaiter = __esm({
7830
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/TaskWaiter.ts"() {
7830
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/TaskWaiter.ts"() {
7831
7831
  "use strict";
7832
7832
  init_src3();
7833
7833
  }
7834
7834
  });
7835
7835
 
7836
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/toSentenceAnalyze.ts
7836
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/toSentenceAnalyze.ts
7837
7837
  var init_toSentenceAnalyze = __esm({
7838
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/toSentenceAnalyze.ts"() {
7838
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/toSentenceAnalyze.ts"() {
7839
7839
  "use strict";
7840
7840
  }
7841
7841
  });
7842
7842
 
7843
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/txtBookToJson.ts
7843
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/txtBookToJson.ts
7844
7844
  var init_txtBookToJson = __esm({
7845
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/txtBookToJson.ts"() {
7845
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/txtBookToJson.ts"() {
7846
7846
  "use strict";
7847
7847
  init_src2();
7848
7848
  }
7849
7849
  });
7850
7850
 
7851
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/VocabularyMap.ts
7851
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/VocabularyMap.ts
7852
7852
  var init_VocabularyMap = __esm({
7853
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/VocabularyMap.ts"() {
7853
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/VocabularyMap.ts"() {
7854
7854
  "use strict";
7855
7855
  init_Emitter();
7856
7856
  }
7857
7857
  });
7858
7858
 
7859
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wait.ts
7859
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wait.ts
7860
7860
  var init_wait = __esm({
7861
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wait.ts"() {
7861
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wait.ts"() {
7862
7862
  "use strict";
7863
7863
  }
7864
7864
  });
7865
7865
 
7866
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wordCount.ts
7866
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wordCount.ts
7867
7867
  var init_wordCount = __esm({
7868
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wordCount.ts"() {
7868
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/wordCount.ts"() {
7869
7869
  "use strict";
7870
7870
  }
7871
7871
  });
7872
7872
 
7873
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts
7873
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts
7874
7874
  var logger, WebsocketHeartbeat;
7875
7875
  var init_WebsocketHeartbeat = __esm({
7876
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts"() {
7876
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts"() {
7877
7877
  "use strict";
7878
7878
  init_src();
7879
7879
  init_Logger();
@@ -7914,10 +7914,10 @@ var init_WebsocketHeartbeat = __esm({
7914
7914
  }
7915
7915
  });
7916
7916
 
7917
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClient.ts
7917
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClient.ts
7918
7918
  var logger2;
7919
7919
  var init_WebsocketClient = __esm({
7920
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClient.ts"() {
7920
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClient.ts"() {
7921
7921
  "use strict";
7922
7922
  init_src();
7923
7923
  init_Emitter();
@@ -7928,7 +7928,7 @@ var init_WebsocketClient = __esm({
7928
7928
  }
7929
7929
  });
7930
7930
 
7931
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts
7931
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts
7932
7932
  function isEventLike(value) {
7933
7933
  return typeof value === "object" && value !== null && "type" in value && typeof value.type === "string";
7934
7934
  }
@@ -7937,7 +7937,7 @@ function isCloseEvent(value) {
7937
7937
  }
7938
7938
  var logger3, WebsocketClientV2;
7939
7939
  var init_WebsocketClientV2 = __esm({
7940
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts"() {
7940
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts"() {
7941
7941
  "use strict";
7942
7942
  init_src();
7943
7943
  init_AsyncStream();
@@ -8184,10 +8184,10 @@ var init_WebsocketClientV2 = __esm({
8184
8184
  }
8185
8185
  });
8186
8186
 
8187
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/H3Client.ts
8187
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/H3Client.ts
8188
8188
  var logger4;
8189
8189
  var init_H3Client = __esm({
8190
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/H3Client.ts"() {
8190
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/H3Client.ts"() {
8191
8191
  "use strict";
8192
8192
  init_Emitter();
8193
8193
  init_Logger();
@@ -8197,9 +8197,9 @@ var init_H3Client = __esm({
8197
8197
  }
8198
8198
  });
8199
8199
 
8200
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/index.ts
8200
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/index.ts
8201
8201
  var init_websocket = __esm({
8202
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/index.ts"() {
8202
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/websocket/index.ts"() {
8203
8203
  "use strict";
8204
8204
  init_WebsocketClient();
8205
8205
  init_WebsocketClientV2();
@@ -8207,9 +8207,9 @@ var init_websocket = __esm({
8207
8207
  }
8208
8208
  });
8209
8209
 
8210
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/index.ts
8210
+ // node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/index.ts
8211
8211
  var init_src3 = __esm({
8212
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/index.ts"() {
8212
+ "node_modules/.pnpm/@pmate+utils@1.1.4/node_modules/@pmate/utils/src/index.ts"() {
8213
8213
  "use strict";
8214
8214
  init_base64();
8215
8215
  init_batchResolve();
@@ -8249,23 +8249,23 @@ var init_src3 = __esm({
8249
8249
  }
8250
8250
  });
8251
8251
 
8252
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/AgentClient.js
8252
+ // node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/AgentClient.js
8253
8253
  var init_AgentClient = __esm({
8254
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/AgentClient.js"() {
8254
+ "node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/AgentClient.js"() {
8255
8255
  "use strict";
8256
8256
  init_src();
8257
8257
  init_src3();
8258
8258
  }
8259
8259
  });
8260
8260
 
8261
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/FunctionService.js
8261
+ // node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/FunctionService.js
8262
8262
  var init_FunctionService = __esm({
8263
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/FunctionService.js"() {
8263
+ "node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/FunctionService.js"() {
8264
8264
  "use strict";
8265
8265
  }
8266
8266
  });
8267
8267
 
8268
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/HubClient.js
8268
+ // node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/HubClient.js
8269
8269
  function createCallId(functionId) {
8270
8270
  return uniqHash(`${functionId}-${Date.now()}-${Math.random()}`, "task-v1" /* Task */);
8271
8271
  }
@@ -8326,7 +8326,7 @@ function withTimeout(promise, timeoutMs, message) {
8326
8326
  }
8327
8327
  var DEFAULT_TIMEOUT_MS, DEFAULT_STREAM_TIMEOUT_MS, HubClient, AsyncCallQueue;
8328
8328
  var init_HubClient = __esm({
8329
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/HubClient.js"() {
8329
+ "node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/HubClient.js"() {
8330
8330
  "use strict";
8331
8331
  init_src();
8332
8332
  init_src3();
@@ -8746,9 +8746,9 @@ var init_HubClient = __esm({
8746
8746
  }
8747
8747
  });
8748
8748
 
8749
- // ../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/index.js
8749
+ // node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/index.js
8750
8750
  var init_dist2 = __esm({
8751
- "../../pmate/pmate-cli/node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/index.js"() {
8751
+ "node_modules/.pnpm/@pmate+hub-sdk@0.4.1/node_modules/@pmate/hub-sdk/dist/index.js"() {
8752
8752
  "use strict";
8753
8753
  init_AgentClient();
8754
8754
  init_FunctionService();
@@ -10191,6 +10191,33 @@ var AliyunService = class {
10191
10191
  ui.success(`Uploaded ${objectKey}`);
10192
10192
  }
10193
10193
  /** List objects in a bucket (optionally under a prefix). */
10194
+ static async readJsonObject(bucket, objectKey) {
10195
+ const cfg = loadPmateConfig();
10196
+ const region = cfg.oss?.public?.region?.trim();
10197
+ const accessKeyId = cfg.aliyun?.ak?.trim();
10198
+ const accessKeySecret = cfg.aliyun?.sk?.trim();
10199
+ if (!region || !accessKeyId || !accessKeySecret) throw new Error("Missing OSS credentials.");
10200
+ const client = new import_ali_oss.default({ region, accessKeyId, accessKeySecret, bucket });
10201
+ try {
10202
+ const result = await client.get(objectKey);
10203
+ return JSON.parse(result.content.toString());
10204
+ } catch (error) {
10205
+ if (error.code === "NoSuchKey") return null;
10206
+ throw error;
10207
+ }
10208
+ }
10209
+ static async uploadJsonObject(bucket, objectKey, value) {
10210
+ const cfg = loadPmateConfig();
10211
+ const region = cfg.oss?.public?.region?.trim();
10212
+ const accessKeyId = cfg.aliyun?.ak?.trim();
10213
+ const accessKeySecret = cfg.aliyun?.sk?.trim();
10214
+ if (!region || !accessKeyId || !accessKeySecret) throw new Error("Missing OSS credentials.");
10215
+ const client = new import_ali_oss.default({ region, accessKeyId, accessKeySecret, bucket });
10216
+ await client.put(objectKey, Buffer.from(JSON.stringify(value)), {
10217
+ headers: { "Content-Type": "application/json", "Cache-Control": "no-cache, no-store, must-revalidate" }
10218
+ });
10219
+ }
10220
+ /** List objects in a bucket (optionally under a prefix). */
10194
10221
  static async listObjects(bucket, prefix) {
10195
10222
  const cfg = loadPmateConfig();
10196
10223
  const region = cfg.oss?.public?.region?.trim();
@@ -18349,6 +18376,52 @@ var import_node_os11 = __toESM(require("os"));
18349
18376
  var import_node_path26 = __toESM(require("path"));
18350
18377
  var ANDROID_APK_BUCKET = "parrot-static";
18351
18378
  var ANDROID_APK_PUBLIC_BASE_URL = "https://parrot-static.pmate.chat";
18379
+ var ANDROID_SIGNING_ENV_KEYS = ["ANDROID_KEYSTORE_BASE64", "ANDROID_KEYSTORE_PASSWORD", "ANDROID_KEY_ALIAS", "ANDROID_KEY_PASSWORD", "ANDROID_SIGNING_CERT_SHA256"];
18380
+ function parseAndroidSigningEnv(values) {
18381
+ for (const key of ANDROID_SIGNING_ENV_KEYS) if (!values[key]) throw new Error(`Missing service signing environment variable: ${key}`);
18382
+ const encoded = values.ANDROID_KEYSTORE_BASE64.replace(/\s/g, "");
18383
+ const keystore = Buffer.from(encoded, "base64");
18384
+ if (!keystore.length || keystore.length > 2 * 1024 * 1024 || keystore.toString("base64") !== encoded) throw new Error("Invalid ANDROID_KEYSTORE_BASE64");
18385
+ const certificateSha256 = values.ANDROID_SIGNING_CERT_SHA256.replace(/:/g, "").trim().toUpperCase();
18386
+ if (!/^[0-9A-F]{64}$/.test(certificateSha256)) throw new Error("Invalid ANDROID_SIGNING_CERT_SHA256");
18387
+ return { keystore, storePassword: values.ANDROID_KEYSTORE_PASSWORD, alias: values.ANDROID_KEY_ALIAS, keyPassword: values.ANDROID_KEY_PASSWORD, certificateSha256 };
18388
+ }
18389
+ function verifyAndroidSigningCertificate(output, expected) {
18390
+ const digests = [...output.matchAll(/^(?:Signer #\d+|V\d+(?:\.\d+)? Signer):? certificate SHA-256 digest:\s*([0-9a-f:]+)/gmi)].map((match) => match[1].replace(/:/g, "").toUpperCase());
18391
+ if (!digests.length || digests.some((digest) => digest !== expected)) throw new Error("APK signing certificate does not match ANDROID_SIGNING_CERT_SHA256; upload stopped");
18392
+ }
18393
+ async function signAndroidApk(apkPath, signing) {
18394
+ const tool = findAndroidSdkTool("apksigner");
18395
+ if (!tool) throw new Error("Android SDK tool not found: apksigner");
18396
+ const tempDir = (0, import_node_fs21.mkdtempSync)(import_node_path26.default.join(import_node_os11.default.tmpdir(), "pmate-apk-signing-"));
18397
+ const keystorePath = import_node_path26.default.join(tempDir, "signing.keystore");
18398
+ const cleanup = () => (0, import_node_fs21.rmSync)(tempDir, { recursive: true, force: true });
18399
+ const interrupted = () => {
18400
+ cleanup();
18401
+ process.exit(130);
18402
+ };
18403
+ process.once("SIGINT", interrupted);
18404
+ process.once("SIGTERM", interrupted);
18405
+ try {
18406
+ (0, import_node_fs21.writeFileSync)(keystorePath, signing.keystore, { mode: 384 });
18407
+ await new Promise((resolve, reject) => {
18408
+ const child = (0, import_node_child_process10.spawn)(tool, ["sign", "--ks", keystorePath, "--ks-key-alias", signing.alias, "--ks-pass", "env:PMATE_APK_STORE_PASSWORD", "--key-pass", "env:PMATE_APK_KEY_PASSWORD", apkPath], {
18409
+ env: { ...process.env, PMATE_APK_STORE_PASSWORD: signing.storePassword, PMATE_APK_KEY_PASSWORD: signing.keyPassword },
18410
+ stdio: "ignore"
18411
+ });
18412
+ child.on("error", () => reject(new Error("Cannot start APK signing tool")));
18413
+ child.on("close", (code) => code === 0 ? resolve() : reject(new Error("APK signing failed; verify the service keystore, alias and passwords")));
18414
+ });
18415
+ const output = await runCommandCapture(tool, ["verify", "--print-certs", apkPath]);
18416
+ verifyAndroidSigningCertificate(output, signing.certificateSha256);
18417
+ ui.success("APK signature verified", { certificateSha256: signing.certificateSha256 });
18418
+ return apkPath;
18419
+ } finally {
18420
+ cleanup();
18421
+ process.removeListener("SIGINT", interrupted);
18422
+ process.removeListener("SIGTERM", interrupted);
18423
+ }
18424
+ }
18352
18425
  var AndroidApkReleaseService = class {
18353
18426
  constructor(registry) {
18354
18427
  this.registry = registry;
@@ -18357,13 +18430,15 @@ var AndroidApkReleaseService = class {
18357
18430
  this.assertAndroidService(service);
18358
18431
  const repoRoot = this.resolveRepoRoot(service, options.cwd);
18359
18432
  const appDir = this.resolveAppDir(service, repoRoot);
18433
+ const signing = options.variant.toLowerCase() === "release" ? await this.loadSigning(service.id, options.env) : void 0;
18360
18434
  const bump = bumpAndroidProjectVersion(appDir, options.bump);
18361
18435
  ui.info("Bumped Android version", {
18362
18436
  file: bump.filePath,
18363
18437
  from: `${bump.previousVersionName} (${bump.previousVersionCode})`,
18364
18438
  to: `${bump.versionName} (${bump.versionCode})`
18365
18439
  });
18366
- const apkPath = await this.runGradleAssembleAndFindApk(repoRoot, appDir, options.variant);
18440
+ const builtApkPath = await this.runGradleAssembleAndFindApk(repoRoot, appDir, options.variant);
18441
+ const apkPath = signing ? await signAndroidApk(builtApkPath, signing) : builtApkPath;
18367
18442
  const metadata = await this.readApkMetadata(apkPath);
18368
18443
  if (metadata.versionName !== bump.versionName || metadata.versionCode !== bump.versionCode) {
18369
18444
  throw new Error(
@@ -18378,7 +18453,6 @@ var AndroidApkReleaseService = class {
18378
18453
  if (existing && options.force) {
18379
18454
  ui.warn("Overwriting existing APK object", { objectKey, etag: existing.etag, size: existing.size });
18380
18455
  }
18381
- await AliyunService.uploadFile(apkPath, ANDROID_APK_BUCKET, objectKey);
18382
18456
  const sha256 = await sha256File(apkPath);
18383
18457
  const size = (0, import_node_fs21.statSync)(apkPath).size;
18384
18458
  const artifact = {
@@ -18395,6 +18469,9 @@ var AndroidApkReleaseService = class {
18395
18469
  size,
18396
18470
  gitCommit: await this.readGitCommit(repoRoot)
18397
18471
  };
18472
+ const catalogKey = service.namespace === "pmate" && service.name === "factory-android" && options.env === "preview" ? "apks/pmate/factory-android/releases.json" : null;
18473
+ const nextCatalog = catalogKey ? mergeFactoryApkCatalog(await AliyunService.readJsonObject(ANDROID_APK_BUCKET, catalogKey), artifact) : null;
18474
+ await AliyunService.uploadFile(apkPath, ANDROID_APK_BUCKET, objectKey);
18398
18475
  if (this.registry) {
18399
18476
  try {
18400
18477
  await this.registry.createApkArtifact(service.id, artifact);
@@ -18402,12 +18479,25 @@ var AndroidApkReleaseService = class {
18402
18479
  ui.warn("APK uploaded but registry artifact record failed", error instanceof Error ? error.message : String(error));
18403
18480
  }
18404
18481
  }
18482
+ if (catalogKey && nextCatalog) {
18483
+ await AliyunService.uploadJsonObject(ANDROID_APK_BUCKET, catalogKey, nextCatalog);
18484
+ ui.info("Updated Factory APK version catalog", `${ANDROID_APK_PUBLIC_BASE_URL}/${catalogKey}`);
18485
+ }
18405
18486
  if (options.env === "prod" && options.variant.toLowerCase() === "release") {
18406
18487
  await this.publishLatestManifest(service, artifact, options);
18407
18488
  }
18408
18489
  ui.success(`Released APK ${artifact.downloadUrl}`);
18409
18490
  return artifact;
18410
18491
  }
18492
+ async loadSigning(serviceId, env) {
18493
+ if (!this.registry) throw new Error("Release signing requires the service environment registry");
18494
+ if (!["dev", "preview", "prod"].includes(env)) throw new Error("Release signing requires env dev, preview or prod");
18495
+ const { values } = await this.registry.resolveEnv(serviceId, { stage: env, includeSecretValue: true, includeHost: false });
18496
+ const signing = parseAndroidSigningEnv(values);
18497
+ if (!findAndroidSdkTool("apksigner")) throw new Error("Android SDK tool not found: apksigner");
18498
+ ui.info("Loaded Android signing configuration from service environment", { serviceId, env, certificateSha256: signing.certificateSha256 });
18499
+ return signing;
18500
+ }
18411
18501
  async publishLatestManifest(service, artifact, options) {
18412
18502
  const manifest = buildAndroidLatestManifest(artifact, {
18413
18503
  releaseNotes: options.releaseNotes,
@@ -18557,6 +18647,32 @@ function bumpVersionName(versionName, bump) {
18557
18647
  function buildAndroidApkObjectKey(namespace, serviceName, versionName) {
18558
18648
  return `apks/${encodePathSegment(namespace)}/${encodePathSegment(serviceName)}/${encodePathSegment(versionName)}.apk`;
18559
18649
  }
18650
+ function mergeFactoryApkCatalog(previous, artifact) {
18651
+ if (artifact.applicationId !== "factory.pmate.app") throw new Error("Factory APK has the wrong applicationId.");
18652
+ const release = {
18653
+ versionName: artifact.versionName,
18654
+ versionCode: artifact.versionCode,
18655
+ downloadUrl: artifact.downloadUrl,
18656
+ sha256: artifact.sha256.toLowerCase()
18657
+ };
18658
+ const old = previous;
18659
+ if (old && (old.applicationId !== artifact.applicationId || !Array.isArray(old.releases)))
18660
+ throw new Error("Existing Factory APK catalog is invalid; refusing to replace it.");
18661
+ const items = [...old?.releases ?? [], release];
18662
+ for (const item of items) {
18663
+ const url = new URL(item.downloadUrl);
18664
+ if (!Number.isSafeInteger(item.versionCode) || item.versionCode <= 0 || !item.versionName || !/^[a-fA-F0-9]{64}$/.test(item.sha256) || url.protocol !== "https:" || url.hostname !== "parrot-static.pmate.chat" || url.port && url.port !== "443" || url.username || url.password || url.search || url.hash || !/^\/apks\/pmate\/factory-android\/[A-Za-z0-9._-]+\.apk$/.test(url.pathname))
18665
+ throw new Error("Factory APK catalog contains an invalid release.");
18666
+ }
18667
+ const byCode = /* @__PURE__ */ new Map();
18668
+ for (const item of items) {
18669
+ const duplicate = byCode.get(item.versionCode);
18670
+ if (duplicate && (duplicate.downloadUrl !== item.downloadUrl || duplicate.sha256 !== item.sha256))
18671
+ throw new Error(`Factory APK versionCode ${item.versionCode} conflicts with an existing release.`);
18672
+ byCode.set(item.versionCode, item);
18673
+ }
18674
+ return { applicationId: artifact.applicationId, releases: [...byCode.values()].sort((a, b) => b.versionCode - a.versionCode) };
18675
+ }
18560
18676
  function buildAndroidLatestManifestObjectKey(namespace, serviceName) {
18561
18677
  return `apks/${namespace}/${serviceName}/latest.json`;
18562
18678
  }
@@ -18709,7 +18825,7 @@ async function runAndroidSdkToolCapture(toolName, args) {
18709
18825
  function findAndroidSdkTool(toolName) {
18710
18826
  const sdkRoots = [process.env.ANDROID_HOME, process.env.ANDROID_SDK_ROOT].filter((item) => Boolean(item)).map((item) => import_node_path26.default.resolve(item));
18711
18827
  for (const sdkRoot of sdkRoots) {
18712
- const candidates = toolName === "aapt" ? listVersionedToolCandidates(import_node_path26.default.join(sdkRoot, "build-tools"), toolName) : [
18828
+ const candidates = toolName === "aapt" || toolName === "apksigner" ? listVersionedToolCandidates(import_node_path26.default.join(sdkRoot, "build-tools"), toolName) : [
18713
18829
  import_node_path26.default.join(sdkRoot, "cmdline-tools", "latest", "bin", toolName),
18714
18830
  ...listVersionedToolCandidates(import_node_path26.default.join(sdkRoot, "cmdline-tools"), import_node_path26.default.join("bin", toolName)),
18715
18831
  import_node_path26.default.join(sdkRoot, "tools", "bin", toolName)