@pmate/cli 0.24.5 → 0.24.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +306 -670
- package/package.json +14 -14
package/dist/index.js
CHANGED
|
@@ -283,150 +283,160 @@ var init_sessionStore = __esm({
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
|
|
286
|
-
// node_modules/@pmate/meta/src/types/account.types.ts
|
|
286
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/account.types.ts
|
|
287
287
|
var init_account_types = __esm({
|
|
288
|
-
"node_modules/@pmate/meta/src/types/account.types.ts"() {
|
|
288
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/account.types.ts"() {
|
|
289
289
|
"use strict";
|
|
290
290
|
}
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
// node_modules/@pmate/meta/src/types/achievements.types.ts
|
|
293
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/achievements.types.ts
|
|
294
294
|
var init_achievements_types = __esm({
|
|
295
|
-
"node_modules/@pmate/meta/src/types/achievements.types.ts"() {
|
|
295
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/achievements.types.ts"() {
|
|
296
296
|
"use strict";
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
299
|
|
|
300
|
-
// node_modules/@pmate/meta/src/types/aigen.types.ts
|
|
300
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/aigen.types.ts
|
|
301
301
|
var init_aigen_types = __esm({
|
|
302
|
-
"node_modules/@pmate/meta/src/types/aigen.types.ts"() {
|
|
302
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/aigen.types.ts"() {
|
|
303
303
|
"use strict";
|
|
304
304
|
}
|
|
305
305
|
});
|
|
306
306
|
|
|
307
|
-
// node_modules/@pmate/meta/src/types/agent.types.ts
|
|
307
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/agent.types.ts
|
|
308
308
|
var init_agent_types = __esm({
|
|
309
|
-
"node_modules/@pmate/meta/src/types/agent.types.ts"() {
|
|
309
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/agent.types.ts"() {
|
|
310
310
|
"use strict";
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
|
|
314
|
-
// node_modules/@pmate/meta/src/types/agent-registry.types.ts
|
|
314
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/agent-registry.types.ts
|
|
315
315
|
var init_agent_registry_types = __esm({
|
|
316
|
-
"node_modules/@pmate/meta/src/types/agent-registry.types.ts"() {
|
|
316
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/agent-registry.types.ts"() {
|
|
317
317
|
"use strict";
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
320
|
|
|
321
|
-
// node_modules/@pmate/meta/src/types/
|
|
321
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/runner-registry.types.ts
|
|
322
|
+
var init_runner_registry_types = __esm({
|
|
323
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/runner-registry.types.ts"() {
|
|
324
|
+
"use strict";
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
|
|
328
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/blockchain.types.ts
|
|
322
329
|
var init_blockchain_types = __esm({
|
|
323
|
-
"node_modules/@pmate/meta/src/types/blockchain.types.ts"() {
|
|
330
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/blockchain.types.ts"() {
|
|
324
331
|
"use strict";
|
|
325
332
|
}
|
|
326
333
|
});
|
|
327
334
|
|
|
328
|
-
// node_modules/@pmate/meta/src/types/breakdown.types.ts
|
|
335
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/breakdown.types.ts
|
|
329
336
|
var init_breakdown_types = __esm({
|
|
330
|
-
"node_modules/@pmate/meta/src/types/breakdown.types.ts"() {
|
|
337
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/breakdown.types.ts"() {
|
|
331
338
|
"use strict";
|
|
332
339
|
}
|
|
333
340
|
});
|
|
334
341
|
|
|
335
|
-
// node_modules/@pmate/meta/src/types/chat.types.ts
|
|
342
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/chat.types.ts
|
|
336
343
|
var init_chat_types = __esm({
|
|
337
|
-
"node_modules/@pmate/meta/src/types/chat.types.ts"() {
|
|
344
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/chat.types.ts"() {
|
|
338
345
|
"use strict";
|
|
339
346
|
}
|
|
340
347
|
});
|
|
341
348
|
|
|
342
|
-
// node_modules/@pmate/meta/src/types/companion.types.ts
|
|
349
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/companion.types.ts
|
|
343
350
|
var init_companion_types = __esm({
|
|
344
|
-
"node_modules/@pmate/meta/src/types/companion.types.ts"() {
|
|
351
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/companion.types.ts"() {
|
|
345
352
|
"use strict";
|
|
346
353
|
}
|
|
347
354
|
});
|
|
348
355
|
|
|
349
|
-
// node_modules/@pmate/meta/src/types/enums.ts
|
|
356
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/enums.ts
|
|
350
357
|
var init_enums = __esm({
|
|
351
|
-
"node_modules/@pmate/meta/src/types/enums.ts"() {
|
|
358
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/enums.ts"() {
|
|
352
359
|
"use strict";
|
|
353
360
|
}
|
|
354
361
|
});
|
|
355
362
|
|
|
356
|
-
// node_modules/@pmate/meta/src/types/lang.types.ts
|
|
363
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/lang.types.ts
|
|
357
364
|
var init_lang_types = __esm({
|
|
358
|
-
"node_modules/@pmate/meta/src/types/lang.types.ts"() {
|
|
365
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/lang.types.ts"() {
|
|
359
366
|
"use strict";
|
|
360
367
|
}
|
|
361
368
|
});
|
|
362
369
|
|
|
363
|
-
// node_modules/@pmate/meta/src/types/logs.types.ts
|
|
370
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/logs.types.ts
|
|
364
371
|
var init_logs_types = __esm({
|
|
365
|
-
"node_modules/@pmate/meta/src/types/logs.types.ts"() {
|
|
372
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/logs.types.ts"() {
|
|
366
373
|
"use strict";
|
|
367
374
|
}
|
|
368
375
|
});
|
|
369
376
|
|
|
370
|
-
// node_modules/@pmate/meta/src/types/message.types.ts
|
|
377
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/message.types.ts
|
|
378
|
+
var PING, PONG;
|
|
371
379
|
var init_message_types = __esm({
|
|
372
|
-
"node_modules/@pmate/meta/src/types/message.types.ts"() {
|
|
380
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/message.types.ts"() {
|
|
373
381
|
"use strict";
|
|
382
|
+
PING = 1;
|
|
383
|
+
PONG = 2;
|
|
374
384
|
}
|
|
375
385
|
});
|
|
376
386
|
|
|
377
|
-
// node_modules/@pmate/meta/src/types/newLog.types.ts
|
|
387
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/newLog.types.ts
|
|
378
388
|
var init_newLog_types = __esm({
|
|
379
|
-
"node_modules/@pmate/meta/src/types/newLog.types.ts"() {
|
|
389
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/newLog.types.ts"() {
|
|
380
390
|
"use strict";
|
|
381
391
|
}
|
|
382
392
|
});
|
|
383
393
|
|
|
384
|
-
// node_modules/@pmate/meta/src/types/novel.types.ts
|
|
394
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/novel.types.ts
|
|
385
395
|
var init_novel_types = __esm({
|
|
386
|
-
"node_modules/@pmate/meta/src/types/novel.types.ts"() {
|
|
396
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/novel.types.ts"() {
|
|
387
397
|
"use strict";
|
|
388
398
|
}
|
|
389
399
|
});
|
|
390
400
|
|
|
391
|
-
// node_modules/@pmate/meta/src/types/offline.types.ts
|
|
401
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/offline.types.ts
|
|
392
402
|
var init_offline_types = __esm({
|
|
393
|
-
"node_modules/@pmate/meta/src/types/offline.types.ts"() {
|
|
403
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/offline.types.ts"() {
|
|
394
404
|
"use strict";
|
|
395
405
|
}
|
|
396
406
|
});
|
|
397
407
|
|
|
398
|
-
// node_modules/@pmate/meta/src/types/prompt.types.ts
|
|
408
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/prompt.types.ts
|
|
399
409
|
var init_prompt_types = __esm({
|
|
400
|
-
"node_modules/@pmate/meta/src/types/prompt.types.ts"() {
|
|
410
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/prompt.types.ts"() {
|
|
401
411
|
"use strict";
|
|
402
412
|
}
|
|
403
413
|
});
|
|
404
414
|
|
|
405
|
-
// node_modules/@pmate/meta/src/types/reading.types.ts
|
|
415
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/reading.types.ts
|
|
406
416
|
var init_reading_types = __esm({
|
|
407
|
-
"node_modules/@pmate/meta/src/types/reading.types.ts"() {
|
|
417
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/reading.types.ts"() {
|
|
408
418
|
"use strict";
|
|
409
419
|
}
|
|
410
420
|
});
|
|
411
421
|
|
|
412
|
-
// node_modules/@pmate/meta/src/types/settings.types.ts
|
|
422
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/settings.types.ts
|
|
413
423
|
var init_settings_types = __esm({
|
|
414
|
-
"node_modules/@pmate/meta/src/types/settings.types.ts"() {
|
|
424
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/settings.types.ts"() {
|
|
415
425
|
"use strict";
|
|
416
426
|
}
|
|
417
427
|
});
|
|
418
428
|
|
|
419
|
-
// node_modules/@pmate/meta/src/types/subscription.types.ts
|
|
429
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/subscription.types.ts
|
|
420
430
|
var init_subscription_types = __esm({
|
|
421
|
-
"node_modules/@pmate/meta/src/types/subscription.types.ts"() {
|
|
431
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/subscription.types.ts"() {
|
|
422
432
|
"use strict";
|
|
423
433
|
}
|
|
424
434
|
});
|
|
425
435
|
|
|
426
|
-
// node_modules/@pmate/meta/src/types/types.ts
|
|
436
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/types.ts
|
|
427
437
|
var buildVoiceKey, createVoice;
|
|
428
438
|
var init_types = __esm({
|
|
429
|
-
"node_modules/@pmate/meta/src/types/types.ts"() {
|
|
439
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/types.ts"() {
|
|
430
440
|
"use strict";
|
|
431
441
|
buildVoiceKey = (provider, name) => {
|
|
432
442
|
return `${provider}:${name}`;
|
|
@@ -448,50 +458,51 @@ var init_types = __esm({
|
|
|
448
458
|
}
|
|
449
459
|
});
|
|
450
460
|
|
|
451
|
-
// node_modules/@pmate/meta/src/types/wordv5.def.ts
|
|
461
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/wordv5.def.ts
|
|
452
462
|
var init_wordv5_def = __esm({
|
|
453
|
-
"node_modules/@pmate/meta/src/types/wordv5.def.ts"() {
|
|
463
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/wordv5.def.ts"() {
|
|
454
464
|
"use strict";
|
|
455
465
|
}
|
|
456
466
|
});
|
|
457
467
|
|
|
458
|
-
// node_modules/@pmate/meta/src/types/auth.types.ts
|
|
468
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/auth.types.ts
|
|
459
469
|
var init_auth_types = __esm({
|
|
460
|
-
"node_modules/@pmate/meta/src/types/auth.types.ts"() {
|
|
470
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/auth.types.ts"() {
|
|
461
471
|
"use strict";
|
|
462
472
|
}
|
|
463
473
|
});
|
|
464
474
|
|
|
465
|
-
// node_modules/@pmate/meta/src/types/apps.types.ts
|
|
475
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/apps.types.ts
|
|
466
476
|
var init_apps_types = __esm({
|
|
467
|
-
"node_modules/@pmate/meta/src/types/apps.types.ts"() {
|
|
477
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/apps.types.ts"() {
|
|
468
478
|
"use strict";
|
|
469
479
|
}
|
|
470
480
|
});
|
|
471
481
|
|
|
472
|
-
// node_modules/@pmate/meta/src/types/response.types.ts
|
|
482
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/response.types.ts
|
|
473
483
|
var init_response_types = __esm({
|
|
474
|
-
"node_modules/@pmate/meta/src/types/response.types.ts"() {
|
|
484
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/response.types.ts"() {
|
|
475
485
|
"use strict";
|
|
476
486
|
}
|
|
477
487
|
});
|
|
478
488
|
|
|
479
|
-
// node_modules/@pmate/meta/src/types/role.types.ts
|
|
489
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/role.types.ts
|
|
480
490
|
var init_role_types = __esm({
|
|
481
|
-
"node_modules/@pmate/meta/src/types/role.types.ts"() {
|
|
491
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/role.types.ts"() {
|
|
482
492
|
"use strict";
|
|
483
493
|
}
|
|
484
494
|
});
|
|
485
495
|
|
|
486
|
-
// node_modules/@pmate/meta/src/types/index.ts
|
|
496
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/index.ts
|
|
487
497
|
var init_types2 = __esm({
|
|
488
|
-
"node_modules/@pmate/meta/src/types/index.ts"() {
|
|
498
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/types/index.ts"() {
|
|
489
499
|
"use strict";
|
|
490
500
|
init_account_types();
|
|
491
501
|
init_achievements_types();
|
|
492
502
|
init_aigen_types();
|
|
493
503
|
init_agent_types();
|
|
494
504
|
init_agent_registry_types();
|
|
505
|
+
init_runner_registry_types();
|
|
495
506
|
init_blockchain_types();
|
|
496
507
|
init_breakdown_types();
|
|
497
508
|
init_chat_types();
|
|
@@ -516,24 +527,24 @@ var init_types2 = __esm({
|
|
|
516
527
|
}
|
|
517
528
|
});
|
|
518
529
|
|
|
519
|
-
// node_modules/@pmate/meta/src/config/BizErrorCode.ts
|
|
530
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/BizErrorCode.ts
|
|
520
531
|
var init_BizErrorCode = __esm({
|
|
521
|
-
"node_modules/@pmate/meta/src/config/BizErrorCode.ts"() {
|
|
532
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/BizErrorCode.ts"() {
|
|
522
533
|
"use strict";
|
|
523
534
|
}
|
|
524
535
|
});
|
|
525
536
|
|
|
526
|
-
// node_modules/@pmate/meta/src/config/consts.ts
|
|
537
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/consts.ts
|
|
527
538
|
var init_consts = __esm({
|
|
528
|
-
"node_modules/@pmate/meta/src/config/consts.ts"() {
|
|
539
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/consts.ts"() {
|
|
529
540
|
"use strict";
|
|
530
541
|
}
|
|
531
542
|
});
|
|
532
543
|
|
|
533
|
-
// node_modules/@pmate/meta/src/config/TopicNames.ts
|
|
544
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/TopicNames.ts
|
|
534
545
|
var TopicNames, topicKindMatchers;
|
|
535
546
|
var init_TopicNames = __esm({
|
|
536
|
-
"node_modules/@pmate/meta/src/config/TopicNames.ts"() {
|
|
547
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/TopicNames.ts"() {
|
|
537
548
|
"use strict";
|
|
538
549
|
init_types2();
|
|
539
550
|
TopicNames = class _TopicNames {
|
|
@@ -619,18 +630,18 @@ var init_TopicNames = __esm({
|
|
|
619
630
|
}
|
|
620
631
|
});
|
|
621
632
|
|
|
622
|
-
// node_modules/@pmate/meta/src/config/OSSKeys.ts
|
|
633
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/OSSKeys.ts
|
|
623
634
|
var init_OSSKeys = __esm({
|
|
624
|
-
"node_modules/@pmate/meta/src/config/OSSKeys.ts"() {
|
|
635
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/OSSKeys.ts"() {
|
|
625
636
|
"use strict";
|
|
626
637
|
init_consts();
|
|
627
638
|
}
|
|
628
639
|
});
|
|
629
640
|
|
|
630
|
-
// node_modules/@pmate/meta/src/config/CompanionProfiles.ts
|
|
641
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/CompanionProfiles.ts
|
|
631
642
|
var openAICoral, openAIAsh, openAIBallad, openAINova, openAIVerse;
|
|
632
643
|
var init_CompanionProfiles = __esm({
|
|
633
|
-
"node_modules/@pmate/meta/src/config/CompanionProfiles.ts"() {
|
|
644
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/CompanionProfiles.ts"() {
|
|
634
645
|
"use strict";
|
|
635
646
|
init_types2();
|
|
636
647
|
openAICoral = createVoice({
|
|
@@ -665,9 +676,9 @@ var init_CompanionProfiles = __esm({
|
|
|
665
676
|
}
|
|
666
677
|
});
|
|
667
678
|
|
|
668
|
-
// node_modules/@pmate/meta/src/config/index.ts
|
|
679
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/index.ts
|
|
669
680
|
var init_config = __esm({
|
|
670
|
-
"node_modules/@pmate/meta/src/config/index.ts"() {
|
|
681
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/config/index.ts"() {
|
|
671
682
|
"use strict";
|
|
672
683
|
init_BizErrorCode();
|
|
673
684
|
init_consts();
|
|
@@ -677,83 +688,83 @@ var init_config = __esm({
|
|
|
677
688
|
}
|
|
678
689
|
});
|
|
679
690
|
|
|
680
|
-
// node_modules/@pmate/meta/src/index.ts
|
|
691
|
+
// node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/index.ts
|
|
681
692
|
var init_src = __esm({
|
|
682
|
-
"node_modules/@pmate/meta/src/index.ts"() {
|
|
693
|
+
"node_modules/.pnpm/@pmate+meta@1.1.13/node_modules/@pmate/meta/src/index.ts"() {
|
|
683
694
|
"use strict";
|
|
684
695
|
init_types2();
|
|
685
696
|
init_config();
|
|
686
697
|
}
|
|
687
698
|
});
|
|
688
699
|
|
|
689
|
-
// node_modules/@pmate/utils/src/base64.ts
|
|
700
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/base64.ts
|
|
690
701
|
var init_base64 = __esm({
|
|
691
|
-
"node_modules/@pmate/utils/src/base64.ts"() {
|
|
702
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/base64.ts"() {
|
|
692
703
|
"use strict";
|
|
693
704
|
}
|
|
694
705
|
});
|
|
695
706
|
|
|
696
|
-
// node_modules/@pmate/utils/src/Cache.ts
|
|
707
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Cache.ts
|
|
697
708
|
var init_Cache = __esm({
|
|
698
|
-
"node_modules/@pmate/utils/src/Cache.ts"() {
|
|
709
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Cache.ts"() {
|
|
699
710
|
"use strict";
|
|
700
711
|
}
|
|
701
712
|
});
|
|
702
713
|
|
|
703
|
-
// node_modules/@pmate/utils/src/batchResolve.ts
|
|
714
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/batchResolve.ts
|
|
704
715
|
var init_batchResolve = __esm({
|
|
705
|
-
"node_modules/@pmate/utils/src/batchResolve.ts"() {
|
|
716
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/batchResolve.ts"() {
|
|
706
717
|
"use strict";
|
|
707
718
|
init_Cache();
|
|
708
719
|
}
|
|
709
720
|
});
|
|
710
721
|
|
|
711
|
-
// node_modules/@pmate/lang/src/cn/sentenceSpliter.ts
|
|
722
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceSpliter.ts
|
|
712
723
|
var init_sentenceSpliter = __esm({
|
|
713
|
-
"node_modules/@pmate/lang/src/cn/sentenceSpliter.ts"() {
|
|
724
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceSpliter.ts"() {
|
|
714
725
|
"use strict";
|
|
715
726
|
}
|
|
716
727
|
});
|
|
717
728
|
|
|
718
|
-
// node_modules/@pmate/lang/src/cn/sentenceTrim.ts
|
|
729
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceTrim.ts
|
|
719
730
|
var init_sentenceTrim = __esm({
|
|
720
|
-
"node_modules/@pmate/lang/src/cn/sentenceTrim.ts"() {
|
|
731
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/sentenceTrim.ts"() {
|
|
721
732
|
"use strict";
|
|
722
733
|
}
|
|
723
734
|
});
|
|
724
735
|
|
|
725
|
-
// node_modules/@pmate/lang/src/cn/wordSpliter.ts
|
|
736
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/wordSpliter.ts
|
|
726
737
|
var init_wordSpliter = __esm({
|
|
727
|
-
"node_modules/@pmate/lang/src/cn/wordSpliter.ts"() {
|
|
738
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/cn/wordSpliter.ts"() {
|
|
728
739
|
"use strict";
|
|
729
740
|
}
|
|
730
741
|
});
|
|
731
742
|
|
|
732
|
-
// node_modules/@pmate/lang/src/en/regex.ts
|
|
743
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/regex.ts
|
|
733
744
|
var init_regex = __esm({
|
|
734
|
-
"node_modules/@pmate/lang/src/en/regex.ts"() {
|
|
745
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/regex.ts"() {
|
|
735
746
|
"use strict";
|
|
736
747
|
}
|
|
737
748
|
});
|
|
738
749
|
|
|
739
|
-
// node_modules/@pmate/lang/src/en/sentenceSpliter.ts
|
|
750
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceSpliter.ts
|
|
740
751
|
var init_sentenceSpliter2 = __esm({
|
|
741
|
-
"node_modules/@pmate/lang/src/en/sentenceSpliter.ts"() {
|
|
752
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceSpliter.ts"() {
|
|
742
753
|
"use strict";
|
|
743
754
|
}
|
|
744
755
|
});
|
|
745
756
|
|
|
746
|
-
// node_modules/@pmate/lang/src/en/sentenceTrim.ts
|
|
757
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceTrim.ts
|
|
747
758
|
var init_sentenceTrim2 = __esm({
|
|
748
|
-
"node_modules/@pmate/lang/src/en/sentenceTrim.ts"() {
|
|
759
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/sentenceTrim.ts"() {
|
|
749
760
|
"use strict";
|
|
750
761
|
}
|
|
751
762
|
});
|
|
752
763
|
|
|
753
|
-
// node_modules/@pmate/lang/src/en/wordSpliter.ts
|
|
764
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/wordSpliter.ts
|
|
754
765
|
var regex;
|
|
755
766
|
var init_wordSpliter2 = __esm({
|
|
756
|
-
"node_modules/@pmate/lang/src/en/wordSpliter.ts"() {
|
|
767
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/en/wordSpliter.ts"() {
|
|
757
768
|
"use strict";
|
|
758
769
|
regex = new RegExp(
|
|
759
770
|
[
|
|
@@ -789,23 +800,23 @@ var init_wordSpliter2 = __esm({
|
|
|
789
800
|
}
|
|
790
801
|
});
|
|
791
802
|
|
|
792
|
-
// node_modules/@pmate/lang/src/kr/sentenceSpliter.ts
|
|
803
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/sentenceSpliter.ts
|
|
793
804
|
var init_sentenceSpliter3 = __esm({
|
|
794
|
-
"node_modules/@pmate/lang/src/kr/sentenceSpliter.ts"() {
|
|
805
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/sentenceSpliter.ts"() {
|
|
795
806
|
"use strict";
|
|
796
807
|
}
|
|
797
808
|
});
|
|
798
809
|
|
|
799
|
-
// node_modules/@pmate/lang/src/kr/wordSpliter.ts
|
|
810
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/wordSpliter.ts
|
|
800
811
|
var init_wordSpliter3 = __esm({
|
|
801
|
-
"node_modules/@pmate/lang/src/kr/wordSpliter.ts"() {
|
|
812
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/kr/wordSpliter.ts"() {
|
|
802
813
|
"use strict";
|
|
803
814
|
}
|
|
804
815
|
});
|
|
805
816
|
|
|
806
|
-
// node_modules/@pmate/lang/src/readingSettings.ts
|
|
817
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/readingSettings.ts
|
|
807
818
|
var init_readingSettings = __esm({
|
|
808
|
-
"node_modules/@pmate/lang/src/readingSettings.ts"() {
|
|
819
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/readingSettings.ts"() {
|
|
809
820
|
"use strict";
|
|
810
821
|
init_sentenceSpliter();
|
|
811
822
|
init_wordSpliter();
|
|
@@ -816,17 +827,17 @@ var init_readingSettings = __esm({
|
|
|
816
827
|
}
|
|
817
828
|
});
|
|
818
829
|
|
|
819
|
-
// node_modules/@pmate/lang/src/utils.ts
|
|
830
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/utils.ts
|
|
820
831
|
var init_utils = __esm({
|
|
821
|
-
"node_modules/@pmate/lang/src/utils.ts"() {
|
|
832
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/utils.ts"() {
|
|
822
833
|
"use strict";
|
|
823
834
|
init_src();
|
|
824
835
|
}
|
|
825
836
|
});
|
|
826
837
|
|
|
827
|
-
// node_modules/@pmate/lang/src/index.ts
|
|
838
|
+
// node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/index.ts
|
|
828
839
|
var init_src2 = __esm({
|
|
829
|
-
"node_modules/@pmate/lang/src/index.ts"() {
|
|
840
|
+
"node_modules/.pnpm/@pmate+lang@1.0.4/node_modules/@pmate/lang/src/index.ts"() {
|
|
830
841
|
"use strict";
|
|
831
842
|
init_sentenceSpliter();
|
|
832
843
|
init_sentenceTrim();
|
|
@@ -842,32 +853,32 @@ var init_src2 = __esm({
|
|
|
842
853
|
}
|
|
843
854
|
});
|
|
844
855
|
|
|
845
|
-
// node_modules/@pmate/utils/src/bookStats.ts
|
|
856
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/bookStats.ts
|
|
846
857
|
var init_bookStats = __esm({
|
|
847
|
-
"node_modules/@pmate/utils/src/bookStats.ts"() {
|
|
858
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/bookStats.ts"() {
|
|
848
859
|
"use strict";
|
|
849
860
|
init_src2();
|
|
850
861
|
}
|
|
851
862
|
});
|
|
852
863
|
|
|
853
|
-
// node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts
|
|
864
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts
|
|
854
865
|
var init_BoundedConcurrentQueue = __esm({
|
|
855
|
-
"node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts"() {
|
|
866
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/BoundedConcurrentQueue.ts"() {
|
|
856
867
|
"use strict";
|
|
857
868
|
}
|
|
858
869
|
});
|
|
859
870
|
|
|
860
|
-
// node_modules/@pmate/utils/src/lru.ts
|
|
871
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/lru.ts
|
|
861
872
|
var init_lru = __esm({
|
|
862
|
-
"node_modules/@pmate/utils/src/lru.ts"() {
|
|
873
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/lru.ts"() {
|
|
863
874
|
"use strict";
|
|
864
875
|
init_Cache();
|
|
865
876
|
}
|
|
866
877
|
});
|
|
867
878
|
|
|
868
|
-
// node_modules/js-sha3/src/sha3.js
|
|
879
|
+
// node_modules/.pnpm/js-sha3@0.9.3/node_modules/js-sha3/src/sha3.js
|
|
869
880
|
var require_sha3 = __commonJS({
|
|
870
|
-
"node_modules/js-sha3/src/sha3.js"(exports2, module2) {
|
|
881
|
+
"node_modules/.pnpm/js-sha3@0.9.3/node_modules/js-sha3/src/sha3.js"(exports2, module2) {
|
|
871
882
|
"use strict";
|
|
872
883
|
(function() {
|
|
873
884
|
"use strict";
|
|
@@ -1512,24 +1523,24 @@ var require_sha3 = __commonJS({
|
|
|
1512
1523
|
}
|
|
1513
1524
|
});
|
|
1514
1525
|
|
|
1515
|
-
// node_modules/@pmate/utils/src/Maybe.ts
|
|
1526
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Maybe.ts
|
|
1516
1527
|
var init_Maybe = __esm({
|
|
1517
|
-
"node_modules/@pmate/utils/src/Maybe.ts"() {
|
|
1528
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Maybe.ts"() {
|
|
1518
1529
|
"use strict";
|
|
1519
1530
|
}
|
|
1520
1531
|
});
|
|
1521
1532
|
|
|
1522
|
-
// node_modules/@pmate/utils/src/cacheMethodInMem.ts
|
|
1533
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/cacheMethodInMem.ts
|
|
1523
1534
|
var import_js_sha3;
|
|
1524
1535
|
var init_cacheMethodInMem = __esm({
|
|
1525
|
-
"node_modules/@pmate/utils/src/cacheMethodInMem.ts"() {
|
|
1536
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/cacheMethodInMem.ts"() {
|
|
1526
1537
|
"use strict";
|
|
1527
1538
|
import_js_sha3 = __toESM(require_sha3(), 1);
|
|
1528
1539
|
init_Maybe();
|
|
1529
1540
|
}
|
|
1530
1541
|
});
|
|
1531
1542
|
|
|
1532
|
-
// node_modules/pako/dist/pako.esm.mjs
|
|
1543
|
+
// node_modules/.pnpm/pako@2.1.0/node_modules/pako/dist/pako.esm.mjs
|
|
1533
1544
|
function zero$1(buf) {
|
|
1534
1545
|
let len = buf.length;
|
|
1535
1546
|
while (--len >= 0) {
|
|
@@ -1817,7 +1828,7 @@ function inflateRaw$1(input, options) {
|
|
|
1817
1828
|
}
|
|
1818
1829
|
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;
|
|
1819
1830
|
var init_pako_esm = __esm({
|
|
1820
|
-
"node_modules/pako/dist/pako.esm.mjs"() {
|
|
1831
|
+
"node_modules/.pnpm/pako@2.1.0/node_modules/pako/dist/pako.esm.mjs"() {
|
|
1821
1832
|
"use strict";
|
|
1822
1833
|
Z_FIXED$1 = 4;
|
|
1823
1834
|
Z_BINARY = 0;
|
|
@@ -5698,7 +5709,7 @@ var init_pako_esm = __esm({
|
|
|
5698
5709
|
}
|
|
5699
5710
|
});
|
|
5700
5711
|
|
|
5701
|
-
// node_modules/@pmate/utils/src/compress.ts
|
|
5712
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/compress.ts
|
|
5702
5713
|
async function gzipEncodeBlob(input) {
|
|
5703
5714
|
const array = await toUint8Array(input);
|
|
5704
5715
|
return gzip_1(array);
|
|
@@ -5724,16 +5735,16 @@ async function toUint8Array(input) {
|
|
|
5724
5735
|
throw new TypeError("Unsupported input type for gzipEncodeBlob");
|
|
5725
5736
|
}
|
|
5726
5737
|
var init_compress = __esm({
|
|
5727
|
-
"node_modules/@pmate/utils/src/compress.ts"() {
|
|
5738
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/compress.ts"() {
|
|
5728
5739
|
"use strict";
|
|
5729
5740
|
init_pako_esm();
|
|
5730
5741
|
}
|
|
5731
5742
|
});
|
|
5732
5743
|
|
|
5733
|
-
// node_modules/@pmate/utils/src/AsyncStream.ts
|
|
5744
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/AsyncStream.ts
|
|
5734
5745
|
var AsyncStream;
|
|
5735
5746
|
var init_AsyncStream = __esm({
|
|
5736
|
-
"node_modules/@pmate/utils/src/AsyncStream.ts"() {
|
|
5747
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/AsyncStream.ts"() {
|
|
5737
5748
|
"use strict";
|
|
5738
5749
|
AsyncStream = class _AsyncStream {
|
|
5739
5750
|
constructor() {
|
|
@@ -5921,418 +5932,12 @@ var init_AsyncStream = __esm({
|
|
|
5921
5932
|
}
|
|
5922
5933
|
});
|
|
5923
5934
|
|
|
5924
|
-
// node_modules/@pmate
|
|
5925
|
-
var init_account_types2 = __esm({
|
|
5926
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/account.types.ts"() {
|
|
5927
|
-
"use strict";
|
|
5928
|
-
}
|
|
5929
|
-
});
|
|
5930
|
-
|
|
5931
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/achievements.types.ts
|
|
5932
|
-
var init_achievements_types2 = __esm({
|
|
5933
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/achievements.types.ts"() {
|
|
5934
|
-
"use strict";
|
|
5935
|
-
}
|
|
5936
|
-
});
|
|
5937
|
-
|
|
5938
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/aigen.types.ts
|
|
5939
|
-
var init_aigen_types2 = __esm({
|
|
5940
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/aigen.types.ts"() {
|
|
5941
|
-
"use strict";
|
|
5942
|
-
}
|
|
5943
|
-
});
|
|
5944
|
-
|
|
5945
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/agent.types.ts
|
|
5946
|
-
var init_agent_types2 = __esm({
|
|
5947
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/agent.types.ts"() {
|
|
5948
|
-
"use strict";
|
|
5949
|
-
}
|
|
5950
|
-
});
|
|
5951
|
-
|
|
5952
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/agent-registry.types.ts
|
|
5953
|
-
var init_agent_registry_types2 = __esm({
|
|
5954
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/agent-registry.types.ts"() {
|
|
5955
|
-
"use strict";
|
|
5956
|
-
}
|
|
5957
|
-
});
|
|
5958
|
-
|
|
5959
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/blockchain.types.ts
|
|
5960
|
-
var init_blockchain_types2 = __esm({
|
|
5961
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/blockchain.types.ts"() {
|
|
5962
|
-
"use strict";
|
|
5963
|
-
}
|
|
5964
|
-
});
|
|
5965
|
-
|
|
5966
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/breakdown.types.ts
|
|
5967
|
-
var init_breakdown_types2 = __esm({
|
|
5968
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/breakdown.types.ts"() {
|
|
5969
|
-
"use strict";
|
|
5970
|
-
}
|
|
5971
|
-
});
|
|
5972
|
-
|
|
5973
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/chat.types.ts
|
|
5974
|
-
var init_chat_types2 = __esm({
|
|
5975
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/chat.types.ts"() {
|
|
5976
|
-
"use strict";
|
|
5977
|
-
}
|
|
5978
|
-
});
|
|
5979
|
-
|
|
5980
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/companion.types.ts
|
|
5981
|
-
var init_companion_types2 = __esm({
|
|
5982
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/companion.types.ts"() {
|
|
5983
|
-
"use strict";
|
|
5984
|
-
}
|
|
5985
|
-
});
|
|
5986
|
-
|
|
5987
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/enums.ts
|
|
5988
|
-
var init_enums2 = __esm({
|
|
5989
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/enums.ts"() {
|
|
5990
|
-
"use strict";
|
|
5991
|
-
}
|
|
5992
|
-
});
|
|
5993
|
-
|
|
5994
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/lang.types.ts
|
|
5995
|
-
var init_lang_types2 = __esm({
|
|
5996
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/lang.types.ts"() {
|
|
5997
|
-
"use strict";
|
|
5998
|
-
}
|
|
5999
|
-
});
|
|
6000
|
-
|
|
6001
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/logs.types.ts
|
|
6002
|
-
var init_logs_types2 = __esm({
|
|
6003
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/logs.types.ts"() {
|
|
6004
|
-
"use strict";
|
|
6005
|
-
}
|
|
6006
|
-
});
|
|
6007
|
-
|
|
6008
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/message.types.ts
|
|
6009
|
-
var PING, PONG;
|
|
6010
|
-
var init_message_types2 = __esm({
|
|
6011
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/message.types.ts"() {
|
|
6012
|
-
"use strict";
|
|
6013
|
-
PING = 1;
|
|
6014
|
-
PONG = 2;
|
|
6015
|
-
}
|
|
6016
|
-
});
|
|
6017
|
-
|
|
6018
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/newLog.types.ts
|
|
6019
|
-
var init_newLog_types2 = __esm({
|
|
6020
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/newLog.types.ts"() {
|
|
6021
|
-
"use strict";
|
|
6022
|
-
}
|
|
6023
|
-
});
|
|
6024
|
-
|
|
6025
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/novel.types.ts
|
|
6026
|
-
var init_novel_types2 = __esm({
|
|
6027
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/novel.types.ts"() {
|
|
6028
|
-
"use strict";
|
|
6029
|
-
}
|
|
6030
|
-
});
|
|
6031
|
-
|
|
6032
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/offline.types.ts
|
|
6033
|
-
var init_offline_types2 = __esm({
|
|
6034
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/offline.types.ts"() {
|
|
6035
|
-
"use strict";
|
|
6036
|
-
}
|
|
6037
|
-
});
|
|
6038
|
-
|
|
6039
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/prompt.types.ts
|
|
6040
|
-
var init_prompt_types2 = __esm({
|
|
6041
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/prompt.types.ts"() {
|
|
6042
|
-
"use strict";
|
|
6043
|
-
}
|
|
6044
|
-
});
|
|
6045
|
-
|
|
6046
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/reading.types.ts
|
|
6047
|
-
var init_reading_types2 = __esm({
|
|
6048
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/reading.types.ts"() {
|
|
6049
|
-
"use strict";
|
|
6050
|
-
}
|
|
6051
|
-
});
|
|
6052
|
-
|
|
6053
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/settings.types.ts
|
|
6054
|
-
var init_settings_types2 = __esm({
|
|
6055
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/settings.types.ts"() {
|
|
6056
|
-
"use strict";
|
|
6057
|
-
}
|
|
6058
|
-
});
|
|
6059
|
-
|
|
6060
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/subscription.types.ts
|
|
6061
|
-
var init_subscription_types2 = __esm({
|
|
6062
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/subscription.types.ts"() {
|
|
6063
|
-
"use strict";
|
|
6064
|
-
}
|
|
6065
|
-
});
|
|
6066
|
-
|
|
6067
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/types.ts
|
|
6068
|
-
var buildVoiceKey2, createVoice2;
|
|
6069
|
-
var init_types3 = __esm({
|
|
6070
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/types.ts"() {
|
|
6071
|
-
"use strict";
|
|
6072
|
-
buildVoiceKey2 = (provider, name) => {
|
|
6073
|
-
return `${provider}:${name}`;
|
|
6074
|
-
};
|
|
6075
|
-
createVoice2 = ({
|
|
6076
|
-
name,
|
|
6077
|
-
provider,
|
|
6078
|
-
gender,
|
|
6079
|
-
instructions
|
|
6080
|
-
}) => {
|
|
6081
|
-
return {
|
|
6082
|
-
name,
|
|
6083
|
-
provider,
|
|
6084
|
-
gender,
|
|
6085
|
-
instructions,
|
|
6086
|
-
key: buildVoiceKey2(provider, name)
|
|
6087
|
-
};
|
|
6088
|
-
};
|
|
6089
|
-
}
|
|
6090
|
-
});
|
|
6091
|
-
|
|
6092
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/wordv5.def.ts
|
|
6093
|
-
var init_wordv5_def2 = __esm({
|
|
6094
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/wordv5.def.ts"() {
|
|
6095
|
-
"use strict";
|
|
6096
|
-
}
|
|
6097
|
-
});
|
|
6098
|
-
|
|
6099
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/auth.types.ts
|
|
6100
|
-
var init_auth_types2 = __esm({
|
|
6101
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/auth.types.ts"() {
|
|
6102
|
-
"use strict";
|
|
6103
|
-
}
|
|
6104
|
-
});
|
|
6105
|
-
|
|
6106
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/apps.types.ts
|
|
6107
|
-
var init_apps_types2 = __esm({
|
|
6108
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/apps.types.ts"() {
|
|
6109
|
-
"use strict";
|
|
6110
|
-
}
|
|
6111
|
-
});
|
|
6112
|
-
|
|
6113
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/response.types.ts
|
|
6114
|
-
var init_response_types2 = __esm({
|
|
6115
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/response.types.ts"() {
|
|
6116
|
-
"use strict";
|
|
6117
|
-
}
|
|
6118
|
-
});
|
|
6119
|
-
|
|
6120
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/role.types.ts
|
|
6121
|
-
var init_role_types2 = __esm({
|
|
6122
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/role.types.ts"() {
|
|
6123
|
-
"use strict";
|
|
6124
|
-
}
|
|
6125
|
-
});
|
|
6126
|
-
|
|
6127
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/index.ts
|
|
6128
|
-
var init_types4 = __esm({
|
|
6129
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/types/index.ts"() {
|
|
6130
|
-
"use strict";
|
|
6131
|
-
init_account_types2();
|
|
6132
|
-
init_achievements_types2();
|
|
6133
|
-
init_aigen_types2();
|
|
6134
|
-
init_agent_types2();
|
|
6135
|
-
init_agent_registry_types2();
|
|
6136
|
-
init_blockchain_types2();
|
|
6137
|
-
init_breakdown_types2();
|
|
6138
|
-
init_chat_types2();
|
|
6139
|
-
init_companion_types2();
|
|
6140
|
-
init_enums2();
|
|
6141
|
-
init_lang_types2();
|
|
6142
|
-
init_logs_types2();
|
|
6143
|
-
init_message_types2();
|
|
6144
|
-
init_newLog_types2();
|
|
6145
|
-
init_novel_types2();
|
|
6146
|
-
init_offline_types2();
|
|
6147
|
-
init_prompt_types2();
|
|
6148
|
-
init_reading_types2();
|
|
6149
|
-
init_settings_types2();
|
|
6150
|
-
init_subscription_types2();
|
|
6151
|
-
init_types3();
|
|
6152
|
-
init_wordv5_def2();
|
|
6153
|
-
init_auth_types2();
|
|
6154
|
-
init_apps_types2();
|
|
6155
|
-
init_response_types2();
|
|
6156
|
-
init_role_types2();
|
|
6157
|
-
}
|
|
6158
|
-
});
|
|
6159
|
-
|
|
6160
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/BizErrorCode.ts
|
|
6161
|
-
var init_BizErrorCode2 = __esm({
|
|
6162
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/BizErrorCode.ts"() {
|
|
6163
|
-
"use strict";
|
|
6164
|
-
}
|
|
6165
|
-
});
|
|
6166
|
-
|
|
6167
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/consts.ts
|
|
6168
|
-
var init_consts2 = __esm({
|
|
6169
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/consts.ts"() {
|
|
6170
|
-
"use strict";
|
|
6171
|
-
}
|
|
6172
|
-
});
|
|
6173
|
-
|
|
6174
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/TopicNames.ts
|
|
6175
|
-
var TopicNames2, topicKindMatchers2;
|
|
6176
|
-
var init_TopicNames2 = __esm({
|
|
6177
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/TopicNames.ts"() {
|
|
6178
|
-
"use strict";
|
|
6179
|
-
init_types4();
|
|
6180
|
-
TopicNames2 = class _TopicNames {
|
|
6181
|
-
static rooms() {
|
|
6182
|
-
return "@pmate/rooms";
|
|
6183
|
-
}
|
|
6184
|
-
static userThreads(user) {
|
|
6185
|
-
return `@pmate/user_threads:${user}`;
|
|
6186
|
-
}
|
|
6187
|
-
static userLogs(user) {
|
|
6188
|
-
return `@pmate/user_logs:${user}`;
|
|
6189
|
-
}
|
|
6190
|
-
static legacyUserLogs(user) {
|
|
6191
|
-
return _TopicNames.userLogs(user);
|
|
6192
|
-
}
|
|
6193
|
-
static userContacts(profileId) {
|
|
6194
|
-
return `@pmate/user_contacts:${profileId}`;
|
|
6195
|
-
}
|
|
6196
|
-
static usersMessage(userId) {
|
|
6197
|
-
return `@pmate/user_messages:${userId}`;
|
|
6198
|
-
}
|
|
6199
|
-
static userMapping() {
|
|
6200
|
-
return "@pmate/username_mapping";
|
|
6201
|
-
}
|
|
6202
|
-
static userMobileMapping() {
|
|
6203
|
-
return "@pmate/mobile_account";
|
|
6204
|
-
}
|
|
6205
|
-
static mapping() {
|
|
6206
|
-
return "@pmate/mapping";
|
|
6207
|
-
}
|
|
6208
|
-
static profiles() {
|
|
6209
|
-
return "@pmate/profiles";
|
|
6210
|
-
}
|
|
6211
|
-
static groups() {
|
|
6212
|
-
return "@pmate/groups";
|
|
6213
|
-
}
|
|
6214
|
-
static relationships() {
|
|
6215
|
-
return "@pmate/relationships";
|
|
6216
|
-
}
|
|
6217
|
-
};
|
|
6218
|
-
topicKindMatchers2 = [
|
|
6219
|
-
{
|
|
6220
|
-
kind: 1e3 /* UserLogs */,
|
|
6221
|
-
match: (topic) => topic.startsWith("@pmate/user_logs:")
|
|
6222
|
-
},
|
|
6223
|
-
{
|
|
6224
|
-
kind: 2e3 /* UserMessages */,
|
|
6225
|
-
match: (topic) => topic.startsWith("@pmate/user_messages:")
|
|
6226
|
-
},
|
|
6227
|
-
{
|
|
6228
|
-
kind: 3e3 /* Relationships */,
|
|
6229
|
-
match: (topic) => topic === TopicNames2.relationships()
|
|
6230
|
-
},
|
|
6231
|
-
{
|
|
6232
|
-
kind: 4e3 /* Rooms */,
|
|
6233
|
-
match: (topic) => topic === TopicNames2.rooms()
|
|
6234
|
-
},
|
|
6235
|
-
{
|
|
6236
|
-
kind: 5e3 /* UserContacts */,
|
|
6237
|
-
match: (topic) => topic.startsWith("@pmate/user_contacts:")
|
|
6238
|
-
},
|
|
6239
|
-
{
|
|
6240
|
-
kind: 8002 /* Entity_GROUP */,
|
|
6241
|
-
match: (topic) => topic === TopicNames2.groups()
|
|
6242
|
-
},
|
|
6243
|
-
{
|
|
6244
|
-
kind: 6e3 /* UserMapping */,
|
|
6245
|
-
match: (topic) => topic === TopicNames2.userMapping()
|
|
6246
|
-
},
|
|
6247
|
-
{
|
|
6248
|
-
kind: 7e3 /* UserMobileMapping */,
|
|
6249
|
-
match: (topic) => topic === TopicNames2.userMobileMapping()
|
|
6250
|
-
},
|
|
6251
|
-
{
|
|
6252
|
-
kind: 6003 /* Mapping */,
|
|
6253
|
-
match: (topic) => topic === TopicNames2.mapping()
|
|
6254
|
-
},
|
|
6255
|
-
{
|
|
6256
|
-
kind: 9e3 /* UserThreads */,
|
|
6257
|
-
match: (topic) => topic.startsWith("@pmate/user_threads:")
|
|
6258
|
-
}
|
|
6259
|
-
];
|
|
6260
|
-
}
|
|
6261
|
-
});
|
|
6262
|
-
|
|
6263
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/OSSKeys.ts
|
|
6264
|
-
var init_OSSKeys2 = __esm({
|
|
6265
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/OSSKeys.ts"() {
|
|
6266
|
-
"use strict";
|
|
6267
|
-
init_consts2();
|
|
6268
|
-
}
|
|
6269
|
-
});
|
|
6270
|
-
|
|
6271
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/CompanionProfiles.ts
|
|
6272
|
-
var openAICoral2, openAIAsh2, openAIBallad2, openAINova2, openAIVerse2;
|
|
6273
|
-
var init_CompanionProfiles2 = __esm({
|
|
6274
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/CompanionProfiles.ts"() {
|
|
6275
|
-
"use strict";
|
|
6276
|
-
init_types4();
|
|
6277
|
-
openAICoral2 = createVoice2({
|
|
6278
|
-
name: "coral",
|
|
6279
|
-
provider: "openai",
|
|
6280
|
-
gender: "F",
|
|
6281
|
-
instructions: "sweet, cute,naive voice"
|
|
6282
|
-
});
|
|
6283
|
-
openAIAsh2 = createVoice2({
|
|
6284
|
-
name: "ash",
|
|
6285
|
-
provider: "openai",
|
|
6286
|
-
gender: "M"
|
|
6287
|
-
});
|
|
6288
|
-
openAIBallad2 = createVoice2({
|
|
6289
|
-
name: "ballad",
|
|
6290
|
-
provider: "openai",
|
|
6291
|
-
gender: "M",
|
|
6292
|
-
instructions: "bright, young man voice"
|
|
6293
|
-
});
|
|
6294
|
-
openAINova2 = createVoice2({
|
|
6295
|
-
name: "nova",
|
|
6296
|
-
provider: "openai",
|
|
6297
|
-
gender: "F",
|
|
6298
|
-
instructions: "mature, smooth, elegant, warm voice"
|
|
6299
|
-
});
|
|
6300
|
-
openAIVerse2 = createVoice2({
|
|
6301
|
-
name: "verse",
|
|
6302
|
-
provider: "openai",
|
|
6303
|
-
gender: "M",
|
|
6304
|
-
instructions: "elderly,mysterious wizzard voice"
|
|
6305
|
-
});
|
|
6306
|
-
}
|
|
6307
|
-
});
|
|
6308
|
-
|
|
6309
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/index.ts
|
|
6310
|
-
var init_config2 = __esm({
|
|
6311
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/config/index.ts"() {
|
|
6312
|
-
"use strict";
|
|
6313
|
-
init_BizErrorCode2();
|
|
6314
|
-
init_consts2();
|
|
6315
|
-
init_TopicNames2();
|
|
6316
|
-
init_OSSKeys2();
|
|
6317
|
-
init_CompanionProfiles2();
|
|
6318
|
-
}
|
|
6319
|
-
});
|
|
6320
|
-
|
|
6321
|
-
// node_modules/@pmate/utils/node_modules/@pmate/meta/src/index.ts
|
|
6322
|
-
var init_src3 = __esm({
|
|
6323
|
-
"node_modules/@pmate/utils/node_modules/@pmate/meta/src/index.ts"() {
|
|
6324
|
-
"use strict";
|
|
6325
|
-
init_types4();
|
|
6326
|
-
init_config2();
|
|
6327
|
-
}
|
|
6328
|
-
});
|
|
6329
|
-
|
|
6330
|
-
// node_modules/@pmate/utils/src/uniqHash.ts
|
|
5935
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/uniqHash.ts
|
|
6331
5936
|
var import_js_sha32, sortKeys, uniqHash;
|
|
6332
5937
|
var init_uniqHash = __esm({
|
|
6333
|
-
"node_modules/@pmate/utils/src/uniqHash.ts"() {
|
|
5938
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/uniqHash.ts"() {
|
|
6334
5939
|
"use strict";
|
|
6335
|
-
|
|
5940
|
+
init_src();
|
|
6336
5941
|
import_js_sha32 = __toESM(require_sha3(), 1);
|
|
6337
5942
|
sortKeys = (obj) => {
|
|
6338
5943
|
if (Array.isArray(obj)) {
|
|
@@ -6360,33 +5965,33 @@ var init_uniqHash = __esm({
|
|
|
6360
5965
|
}
|
|
6361
5966
|
});
|
|
6362
5967
|
|
|
6363
|
-
// node_modules/@pmate/utils/src/createMsg.ts
|
|
5968
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/createMsg.ts
|
|
6364
5969
|
var init_createMsg = __esm({
|
|
6365
|
-
"node_modules/@pmate/utils/src/createMsg.ts"() {
|
|
5970
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/createMsg.ts"() {
|
|
6366
5971
|
"use strict";
|
|
6367
|
-
|
|
5972
|
+
init_src();
|
|
6368
5973
|
init_uniqHash();
|
|
6369
5974
|
}
|
|
6370
5975
|
});
|
|
6371
5976
|
|
|
6372
|
-
// node_modules/@pmate/utils/src/detectText.ts
|
|
5977
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/detectText.ts
|
|
6373
5978
|
var init_detectText = __esm({
|
|
6374
|
-
"node_modules/@pmate/utils/src/detectText.ts"() {
|
|
5979
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/detectText.ts"() {
|
|
6375
5980
|
"use strict";
|
|
6376
5981
|
}
|
|
6377
5982
|
});
|
|
6378
5983
|
|
|
6379
|
-
// node_modules/@pmate/utils/src/Emitter.ts
|
|
5984
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Emitter.ts
|
|
6380
5985
|
var init_Emitter = __esm({
|
|
6381
|
-
"node_modules/@pmate/utils/src/Emitter.ts"() {
|
|
5986
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Emitter.ts"() {
|
|
6382
5987
|
"use strict";
|
|
6383
5988
|
}
|
|
6384
5989
|
});
|
|
6385
5990
|
|
|
6386
|
-
// node_modules/@pmate/utils/src/EmitterV2.ts
|
|
5991
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/EmitterV2.ts
|
|
6387
5992
|
var EmitterV2;
|
|
6388
5993
|
var init_EmitterV2 = __esm({
|
|
6389
|
-
"node_modules/@pmate/utils/src/EmitterV2.ts"() {
|
|
5994
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/EmitterV2.ts"() {
|
|
6390
5995
|
"use strict";
|
|
6391
5996
|
EmitterV2 = class {
|
|
6392
5997
|
constructor() {
|
|
@@ -6442,39 +6047,39 @@ var init_EmitterV2 = __esm({
|
|
|
6442
6047
|
}
|
|
6443
6048
|
});
|
|
6444
6049
|
|
|
6445
|
-
// node_modules/@pmate/utils/src/format/formatTime.ts
|
|
6050
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/format/formatTime.ts
|
|
6446
6051
|
var init_formatTime = __esm({
|
|
6447
|
-
"node_modules/@pmate/utils/src/format/formatTime.ts"() {
|
|
6052
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/format/formatTime.ts"() {
|
|
6448
6053
|
"use strict";
|
|
6449
6054
|
}
|
|
6450
6055
|
});
|
|
6451
6056
|
|
|
6452
|
-
// node_modules/@pmate/utils/src/format/index.ts
|
|
6057
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/format/index.ts
|
|
6453
6058
|
var init_format = __esm({
|
|
6454
|
-
"node_modules/@pmate/utils/src/format/index.ts"() {
|
|
6059
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/format/index.ts"() {
|
|
6455
6060
|
"use strict";
|
|
6456
6061
|
init_formatTime();
|
|
6457
6062
|
}
|
|
6458
6063
|
});
|
|
6459
6064
|
|
|
6460
|
-
// node_modules/@pmate/utils/src/isVolcabulary.ts
|
|
6065
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/isVolcabulary.ts
|
|
6461
6066
|
var init_isVolcabulary = __esm({
|
|
6462
|
-
"node_modules/@pmate/utils/src/isVolcabulary.ts"() {
|
|
6067
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/isVolcabulary.ts"() {
|
|
6463
6068
|
"use strict";
|
|
6464
6069
|
}
|
|
6465
6070
|
});
|
|
6466
6071
|
|
|
6467
|
-
// node_modules/@pmate/utils/src/Loadable.ts
|
|
6072
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Loadable.ts
|
|
6468
6073
|
var init_Loadable = __esm({
|
|
6469
|
-
"node_modules/@pmate/utils/src/Loadable.ts"() {
|
|
6074
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Loadable.ts"() {
|
|
6470
6075
|
"use strict";
|
|
6471
6076
|
}
|
|
6472
6077
|
});
|
|
6473
6078
|
|
|
6474
|
-
// node_modules/@pmate/utils/src/Logger.ts
|
|
6079
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Logger.ts
|
|
6475
6080
|
var Logger;
|
|
6476
6081
|
var init_Logger = __esm({
|
|
6477
|
-
"node_modules/@pmate/utils/src/Logger.ts"() {
|
|
6082
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Logger.ts"() {
|
|
6478
6083
|
"use strict";
|
|
6479
6084
|
Logger = class _Logger {
|
|
6480
6085
|
constructor(name) {
|
|
@@ -6499,21 +6104,21 @@ var init_Logger = __esm({
|
|
|
6499
6104
|
}
|
|
6500
6105
|
});
|
|
6501
6106
|
|
|
6502
|
-
// node_modules/@pmate/utils/src/mapToReadingBook.ts
|
|
6107
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/mapToReadingBook.ts
|
|
6503
6108
|
var init_mapToReadingBook = __esm({
|
|
6504
|
-
"node_modules/@pmate/utils/src/mapToReadingBook.ts"() {
|
|
6109
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/mapToReadingBook.ts"() {
|
|
6505
6110
|
"use strict";
|
|
6506
6111
|
}
|
|
6507
6112
|
});
|
|
6508
6113
|
|
|
6509
|
-
// node_modules/@pmate/utils/src/memoize.ts
|
|
6114
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/memoize.ts
|
|
6510
6115
|
var init_memoize = __esm({
|
|
6511
|
-
"node_modules/@pmate/utils/src/memoize.ts"() {
|
|
6116
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/memoize.ts"() {
|
|
6512
6117
|
"use strict";
|
|
6513
6118
|
}
|
|
6514
6119
|
});
|
|
6515
6120
|
|
|
6516
|
-
// node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs
|
|
6121
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs
|
|
6517
6122
|
function utf8Count(str) {
|
|
6518
6123
|
const strLength = str.length;
|
|
6519
6124
|
let byteLength = 0;
|
|
@@ -6640,7 +6245,7 @@ function utf8Decode(bytes, inputOffset, byteLength) {
|
|
|
6640
6245
|
}
|
|
6641
6246
|
var sharedTextEncoder, TEXT_ENCODER_THRESHOLD, CHUNK_SIZE, sharedTextDecoder, TEXT_DECODER_THRESHOLD;
|
|
6642
6247
|
var init_utf8 = __esm({
|
|
6643
|
-
"node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs"() {
|
|
6248
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs"() {
|
|
6644
6249
|
"use strict";
|
|
6645
6250
|
sharedTextEncoder = new TextEncoder();
|
|
6646
6251
|
TEXT_ENCODER_THRESHOLD = 50;
|
|
@@ -6650,10 +6255,10 @@ var init_utf8 = __esm({
|
|
|
6650
6255
|
}
|
|
6651
6256
|
});
|
|
6652
6257
|
|
|
6653
|
-
// node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs
|
|
6258
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs
|
|
6654
6259
|
var ExtData;
|
|
6655
6260
|
var init_ExtData = __esm({
|
|
6656
|
-
"node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs"() {
|
|
6261
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs"() {
|
|
6657
6262
|
"use strict";
|
|
6658
6263
|
ExtData = class {
|
|
6659
6264
|
type;
|
|
@@ -6666,10 +6271,10 @@ var init_ExtData = __esm({
|
|
|
6666
6271
|
}
|
|
6667
6272
|
});
|
|
6668
6273
|
|
|
6669
|
-
// node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs
|
|
6274
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs
|
|
6670
6275
|
var DecodeError;
|
|
6671
6276
|
var init_DecodeError = __esm({
|
|
6672
|
-
"node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs"() {
|
|
6277
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs"() {
|
|
6673
6278
|
"use strict";
|
|
6674
6279
|
DecodeError = class _DecodeError extends Error {
|
|
6675
6280
|
constructor(message) {
|
|
@@ -6686,7 +6291,7 @@ var init_DecodeError = __esm({
|
|
|
6686
6291
|
}
|
|
6687
6292
|
});
|
|
6688
6293
|
|
|
6689
|
-
// node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs
|
|
6294
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs
|
|
6690
6295
|
function setUint64(view, offset, value) {
|
|
6691
6296
|
const high = value / 4294967296;
|
|
6692
6297
|
const low = value;
|
|
@@ -6711,13 +6316,13 @@ function getUint64(view, offset) {
|
|
|
6711
6316
|
}
|
|
6712
6317
|
var UINT32_MAX;
|
|
6713
6318
|
var init_int = __esm({
|
|
6714
|
-
"node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs"() {
|
|
6319
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs"() {
|
|
6715
6320
|
"use strict";
|
|
6716
6321
|
UINT32_MAX = 4294967295;
|
|
6717
6322
|
}
|
|
6718
6323
|
});
|
|
6719
6324
|
|
|
6720
|
-
// node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs
|
|
6325
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs
|
|
6721
6326
|
function encodeTimeSpecToTimestamp({ sec, nsec }) {
|
|
6722
6327
|
if (sec >= 0 && nsec >= 0 && sec <= TIMESTAMP64_MAX_SEC) {
|
|
6723
6328
|
if (nsec === 0 && sec <= TIMESTAMP32_MAX_SEC) {
|
|
@@ -6790,7 +6395,7 @@ function decodeTimestampExtension(data) {
|
|
|
6790
6395
|
}
|
|
6791
6396
|
var EXT_TIMESTAMP, TIMESTAMP32_MAX_SEC, TIMESTAMP64_MAX_SEC, timestampExtension;
|
|
6792
6397
|
var init_timestamp = __esm({
|
|
6793
|
-
"node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs"() {
|
|
6398
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/timestamp.mjs"() {
|
|
6794
6399
|
"use strict";
|
|
6795
6400
|
init_DecodeError();
|
|
6796
6401
|
init_int();
|
|
@@ -6805,10 +6410,10 @@ var init_timestamp = __esm({
|
|
|
6805
6410
|
}
|
|
6806
6411
|
});
|
|
6807
6412
|
|
|
6808
|
-
// node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs
|
|
6413
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs
|
|
6809
6414
|
var ExtensionCodec;
|
|
6810
6415
|
var init_ExtensionCodec = __esm({
|
|
6811
|
-
"node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs"() {
|
|
6416
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs"() {
|
|
6812
6417
|
"use strict";
|
|
6813
6418
|
init_ExtData();
|
|
6814
6419
|
init_timestamp();
|
|
@@ -6875,7 +6480,7 @@ var init_ExtensionCodec = __esm({
|
|
|
6875
6480
|
}
|
|
6876
6481
|
});
|
|
6877
6482
|
|
|
6878
|
-
// node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs
|
|
6483
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs
|
|
6879
6484
|
function isArrayBufferLike(buffer) {
|
|
6880
6485
|
return buffer instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && buffer instanceof SharedArrayBuffer;
|
|
6881
6486
|
}
|
|
@@ -6891,15 +6496,15 @@ function ensureUint8Array(buffer) {
|
|
|
6891
6496
|
}
|
|
6892
6497
|
}
|
|
6893
6498
|
var init_typedArrays = __esm({
|
|
6894
|
-
"node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs"() {
|
|
6499
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs"() {
|
|
6895
6500
|
"use strict";
|
|
6896
6501
|
}
|
|
6897
6502
|
});
|
|
6898
6503
|
|
|
6899
|
-
// node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs
|
|
6504
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs
|
|
6900
6505
|
var DEFAULT_MAX_DEPTH, DEFAULT_INITIAL_BUFFER_SIZE, Encoder;
|
|
6901
6506
|
var init_Encoder = __esm({
|
|
6902
|
-
"node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs"() {
|
|
6507
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Encoder.mjs"() {
|
|
6903
6508
|
"use strict";
|
|
6904
6509
|
init_utf8();
|
|
6905
6510
|
init_ExtensionCodec();
|
|
@@ -7309,32 +6914,32 @@ var init_Encoder = __esm({
|
|
|
7309
6914
|
}
|
|
7310
6915
|
});
|
|
7311
6916
|
|
|
7312
|
-
// node_modules/@msgpack/msgpack/dist.esm/encode.mjs
|
|
6917
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/encode.mjs
|
|
7313
6918
|
function encode(value, options) {
|
|
7314
6919
|
const encoder2 = new Encoder(options);
|
|
7315
6920
|
return encoder2.encodeSharedRef(value);
|
|
7316
6921
|
}
|
|
7317
6922
|
var init_encode = __esm({
|
|
7318
|
-
"node_modules/@msgpack/msgpack/dist.esm/encode.mjs"() {
|
|
6923
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/encode.mjs"() {
|
|
7319
6924
|
"use strict";
|
|
7320
6925
|
init_Encoder();
|
|
7321
6926
|
}
|
|
7322
6927
|
});
|
|
7323
6928
|
|
|
7324
|
-
// node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs
|
|
6929
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs
|
|
7325
6930
|
function prettyByte(byte) {
|
|
7326
6931
|
return `${byte < 0 ? "-" : ""}0x${Math.abs(byte).toString(16).padStart(2, "0")}`;
|
|
7327
6932
|
}
|
|
7328
6933
|
var init_prettyByte = __esm({
|
|
7329
|
-
"node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs"() {
|
|
6934
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/utils/prettyByte.mjs"() {
|
|
7330
6935
|
"use strict";
|
|
7331
6936
|
}
|
|
7332
6937
|
});
|
|
7333
6938
|
|
|
7334
|
-
// node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs
|
|
6939
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs
|
|
7335
6940
|
var DEFAULT_MAX_KEY_LENGTH, DEFAULT_MAX_LENGTH_PER_KEY, CachedKeyDecoder;
|
|
7336
6941
|
var init_CachedKeyDecoder = __esm({
|
|
7337
|
-
"node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs"() {
|
|
6942
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/CachedKeyDecoder.mjs"() {
|
|
7338
6943
|
"use strict";
|
|
7339
6944
|
init_utf8();
|
|
7340
6945
|
DEFAULT_MAX_KEY_LENGTH = 16;
|
|
@@ -7394,10 +6999,10 @@ var init_CachedKeyDecoder = __esm({
|
|
|
7394
6999
|
}
|
|
7395
7000
|
});
|
|
7396
7001
|
|
|
7397
|
-
// node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs
|
|
7002
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs
|
|
7398
7003
|
var STATE_ARRAY, STATE_MAP_KEY, STATE_MAP_VALUE, mapKeyConverter, StackPool, HEAD_BYTE_REQUIRED, EMPTY_VIEW, EMPTY_BYTES, MORE_DATA, sharedCachedKeyDecoder, Decoder;
|
|
7399
7004
|
var init_Decoder = __esm({
|
|
7400
|
-
"node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs"() {
|
|
7005
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/Decoder.mjs"() {
|
|
7401
7006
|
"use strict";
|
|
7402
7007
|
init_prettyByte();
|
|
7403
7008
|
init_ExtensionCodec();
|
|
@@ -8035,34 +7640,34 @@ var init_Decoder = __esm({
|
|
|
8035
7640
|
}
|
|
8036
7641
|
});
|
|
8037
7642
|
|
|
8038
|
-
// node_modules/@msgpack/msgpack/dist.esm/decode.mjs
|
|
7643
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/decode.mjs
|
|
8039
7644
|
function decode(buffer, options) {
|
|
8040
7645
|
const decoder = new Decoder(options);
|
|
8041
7646
|
return decoder.decode(buffer);
|
|
8042
7647
|
}
|
|
8043
7648
|
var init_decode = __esm({
|
|
8044
|
-
"node_modules/@msgpack/msgpack/dist.esm/decode.mjs"() {
|
|
7649
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/decode.mjs"() {
|
|
8045
7650
|
"use strict";
|
|
8046
7651
|
init_Decoder();
|
|
8047
7652
|
}
|
|
8048
7653
|
});
|
|
8049
7654
|
|
|
8050
|
-
// node_modules/@msgpack/msgpack/dist.esm/index.mjs
|
|
7655
|
+
// node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/index.mjs
|
|
8051
7656
|
var init_dist = __esm({
|
|
8052
|
-
"node_modules/@msgpack/msgpack/dist.esm/index.mjs"() {
|
|
7657
|
+
"node_modules/.pnpm/@msgpack+msgpack@3.1.3/node_modules/@msgpack/msgpack/dist.esm/index.mjs"() {
|
|
8053
7658
|
"use strict";
|
|
8054
7659
|
init_encode();
|
|
8055
7660
|
init_decode();
|
|
8056
7661
|
}
|
|
8057
7662
|
});
|
|
8058
7663
|
|
|
8059
|
-
// node_modules/@pmate/utils/src/Msg.ts
|
|
7664
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Msg.ts
|
|
8060
7665
|
var encoder, Msg;
|
|
8061
7666
|
var init_Msg = __esm({
|
|
8062
|
-
"node_modules/@pmate/utils/src/Msg.ts"() {
|
|
7667
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/Msg.ts"() {
|
|
8063
7668
|
"use strict";
|
|
8064
7669
|
init_dist();
|
|
8065
|
-
|
|
7670
|
+
init_src();
|
|
8066
7671
|
init_compress();
|
|
8067
7672
|
init_uniqHash();
|
|
8068
7673
|
encoder = new TextEncoder();
|
|
@@ -8136,17 +7741,21 @@ var init_Msg = __esm({
|
|
|
8136
7741
|
if (!body || typeof body !== "object") {
|
|
8137
7742
|
return msg;
|
|
8138
7743
|
}
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
7744
|
+
const normalizedBody = await _Msg.normalizePayloadBody(body);
|
|
7745
|
+
if (normalizedBody !== body) {
|
|
7746
|
+
return {
|
|
7747
|
+
...msg,
|
|
7748
|
+
body: normalizedBody
|
|
7749
|
+
};
|
|
7750
|
+
}
|
|
7751
|
+
if ((body.kind === "request" || body.kind === "response") && body.payload && typeof body.payload === "object") {
|
|
7752
|
+
const normalizedPayload = await _Msg.normalizePayloadBody(body.payload);
|
|
7753
|
+
if (normalizedPayload !== body.payload) {
|
|
8144
7754
|
return {
|
|
8145
7755
|
...msg,
|
|
8146
7756
|
body: {
|
|
8147
7757
|
...body,
|
|
8148
|
-
payload:
|
|
8149
|
-
contentEncoding: "gzip"
|
|
7758
|
+
payload: normalizedPayload
|
|
8150
7759
|
}
|
|
8151
7760
|
};
|
|
8152
7761
|
}
|
|
@@ -8163,112 +7772,128 @@ var init_Msg = __esm({
|
|
|
8163
7772
|
}
|
|
8164
7773
|
return msg;
|
|
8165
7774
|
}
|
|
7775
|
+
static async normalizePayloadBody(body) {
|
|
7776
|
+
if (!("payload" in body) || !("type" in body)) {
|
|
7777
|
+
return body;
|
|
7778
|
+
}
|
|
7779
|
+
const payload = body.payload;
|
|
7780
|
+
const isBinaryPayload = typeof Blob !== "undefined" && (payload instanceof Blob || payload instanceof ArrayBuffer || payload instanceof Uint8Array);
|
|
7781
|
+
if (!isBinaryPayload) {
|
|
7782
|
+
return body;
|
|
7783
|
+
}
|
|
7784
|
+
const gz = await gzipEncodeBlob(payload);
|
|
7785
|
+
return {
|
|
7786
|
+
...body,
|
|
7787
|
+
payload: gz,
|
|
7788
|
+
contentEncoding: "gzip"
|
|
7789
|
+
};
|
|
7790
|
+
}
|
|
8166
7791
|
};
|
|
8167
7792
|
}
|
|
8168
7793
|
});
|
|
8169
7794
|
|
|
8170
|
-
// node_modules/@pmate/utils/src/normalize.ts
|
|
7795
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/normalize.ts
|
|
8171
7796
|
var init_normalize = __esm({
|
|
8172
|
-
"node_modules/@pmate/utils/src/normalize.ts"() {
|
|
7797
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/normalize.ts"() {
|
|
8173
7798
|
"use strict";
|
|
8174
7799
|
}
|
|
8175
7800
|
});
|
|
8176
7801
|
|
|
8177
|
-
// node_modules/@pmate/utils/src/pageURL.ts
|
|
7802
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/pageURL.ts
|
|
8178
7803
|
var init_pageURL = __esm({
|
|
8179
|
-
"node_modules/@pmate/utils/src/pageURL.ts"() {
|
|
7804
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/pageURL.ts"() {
|
|
8180
7805
|
"use strict";
|
|
8181
7806
|
}
|
|
8182
7807
|
});
|
|
8183
7808
|
|
|
8184
|
-
// node_modules/@pmate/utils/src/PromiseQueue.ts
|
|
7809
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/PromiseQueue.ts
|
|
8185
7810
|
var init_PromiseQueue = __esm({
|
|
8186
|
-
"node_modules/@pmate/utils/src/PromiseQueue.ts"() {
|
|
7811
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/PromiseQueue.ts"() {
|
|
8187
7812
|
"use strict";
|
|
8188
7813
|
}
|
|
8189
7814
|
});
|
|
8190
7815
|
|
|
8191
|
-
// node_modules/@pmate/utils/src/resourceKey.ts
|
|
7816
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/resourceKey.ts
|
|
8192
7817
|
var import_js_sha33;
|
|
8193
7818
|
var init_resourceKey = __esm({
|
|
8194
|
-
"node_modules/@pmate/utils/src/resourceKey.ts"() {
|
|
7819
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/resourceKey.ts"() {
|
|
8195
7820
|
"use strict";
|
|
8196
7821
|
import_js_sha33 = __toESM(require_sha3(), 1);
|
|
8197
7822
|
}
|
|
8198
7823
|
});
|
|
8199
7824
|
|
|
8200
|
-
// node_modules/@pmate/utils/src/SelectionHelper.ts
|
|
7825
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/SelectionHelper.ts
|
|
8201
7826
|
var init_SelectionHelper = __esm({
|
|
8202
|
-
"node_modules/@pmate/utils/src/SelectionHelper.ts"() {
|
|
7827
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/SelectionHelper.ts"() {
|
|
8203
7828
|
"use strict";
|
|
8204
7829
|
}
|
|
8205
7830
|
});
|
|
8206
7831
|
|
|
8207
|
-
// node_modules/@pmate/utils/src/setMinus.ts
|
|
7832
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/setMinus.ts
|
|
8208
7833
|
var init_setMinus = __esm({
|
|
8209
|
-
"node_modules/@pmate/utils/src/setMinus.ts"() {
|
|
7834
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/setMinus.ts"() {
|
|
8210
7835
|
"use strict";
|
|
8211
7836
|
}
|
|
8212
7837
|
});
|
|
8213
7838
|
|
|
8214
|
-
// node_modules/@pmate/utils/src/sha1Hash.ts
|
|
7839
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/sha1Hash.ts
|
|
8215
7840
|
var init_sha1Hash = __esm({
|
|
8216
|
-
"node_modules/@pmate/utils/src/sha1Hash.ts"() {
|
|
7841
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/sha1Hash.ts"() {
|
|
8217
7842
|
"use strict";
|
|
8218
7843
|
}
|
|
8219
7844
|
});
|
|
8220
7845
|
|
|
8221
|
-
// node_modules/@pmate/utils/src/TaskWaiter.ts
|
|
7846
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/TaskWaiter.ts
|
|
8222
7847
|
var init_TaskWaiter = __esm({
|
|
8223
|
-
"node_modules/@pmate/utils/src/TaskWaiter.ts"() {
|
|
7848
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/TaskWaiter.ts"() {
|
|
8224
7849
|
"use strict";
|
|
8225
|
-
|
|
7850
|
+
init_src3();
|
|
8226
7851
|
}
|
|
8227
7852
|
});
|
|
8228
7853
|
|
|
8229
|
-
// node_modules/@pmate/utils/src/toSentenceAnalyze.ts
|
|
7854
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/toSentenceAnalyze.ts
|
|
8230
7855
|
var init_toSentenceAnalyze = __esm({
|
|
8231
|
-
"node_modules/@pmate/utils/src/toSentenceAnalyze.ts"() {
|
|
7856
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/toSentenceAnalyze.ts"() {
|
|
8232
7857
|
"use strict";
|
|
8233
7858
|
}
|
|
8234
7859
|
});
|
|
8235
7860
|
|
|
8236
|
-
// node_modules/@pmate/utils/src/txtBookToJson.ts
|
|
7861
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/txtBookToJson.ts
|
|
8237
7862
|
var init_txtBookToJson = __esm({
|
|
8238
|
-
"node_modules/@pmate/utils/src/txtBookToJson.ts"() {
|
|
7863
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/txtBookToJson.ts"() {
|
|
8239
7864
|
"use strict";
|
|
8240
7865
|
init_src2();
|
|
8241
7866
|
}
|
|
8242
7867
|
});
|
|
8243
7868
|
|
|
8244
|
-
// node_modules/@pmate/utils/src/VocabularyMap.ts
|
|
7869
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/VocabularyMap.ts
|
|
8245
7870
|
var init_VocabularyMap = __esm({
|
|
8246
|
-
"node_modules/@pmate/utils/src/VocabularyMap.ts"() {
|
|
7871
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/VocabularyMap.ts"() {
|
|
8247
7872
|
"use strict";
|
|
8248
7873
|
init_Emitter();
|
|
8249
7874
|
}
|
|
8250
7875
|
});
|
|
8251
7876
|
|
|
8252
|
-
// node_modules/@pmate/utils/src/wait.ts
|
|
7877
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/wait.ts
|
|
8253
7878
|
var init_wait = __esm({
|
|
8254
|
-
"node_modules/@pmate/utils/src/wait.ts"() {
|
|
7879
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/wait.ts"() {
|
|
8255
7880
|
"use strict";
|
|
8256
7881
|
}
|
|
8257
7882
|
});
|
|
8258
7883
|
|
|
8259
|
-
// node_modules/@pmate/utils/src/wordCount.ts
|
|
7884
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/wordCount.ts
|
|
8260
7885
|
var init_wordCount = __esm({
|
|
8261
|
-
"node_modules/@pmate/utils/src/wordCount.ts"() {
|
|
7886
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/wordCount.ts"() {
|
|
8262
7887
|
"use strict";
|
|
8263
7888
|
}
|
|
8264
7889
|
});
|
|
8265
7890
|
|
|
8266
|
-
// node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts
|
|
7891
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts
|
|
8267
7892
|
var logger, WebsocketHeartbeat;
|
|
8268
7893
|
var init_WebsocketHeartbeat = __esm({
|
|
8269
|
-
"node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts"() {
|
|
7894
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/WebsocketHeartbeat.ts"() {
|
|
8270
7895
|
"use strict";
|
|
8271
|
-
|
|
7896
|
+
init_src();
|
|
8272
7897
|
init_Logger();
|
|
8273
7898
|
logger = Logger.getDebugger("heartbeat");
|
|
8274
7899
|
WebsocketHeartbeat = class {
|
|
@@ -8308,12 +7933,12 @@ var init_WebsocketHeartbeat = __esm({
|
|
|
8308
7933
|
}
|
|
8309
7934
|
});
|
|
8310
7935
|
|
|
8311
|
-
// node_modules/@pmate/utils/src/websocket/WebsocketClient.ts
|
|
7936
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/WebsocketClient.ts
|
|
8312
7937
|
var logger2;
|
|
8313
7938
|
var init_WebsocketClient = __esm({
|
|
8314
|
-
"node_modules/@pmate/utils/src/websocket/WebsocketClient.ts"() {
|
|
7939
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/WebsocketClient.ts"() {
|
|
8315
7940
|
"use strict";
|
|
8316
|
-
|
|
7941
|
+
init_src();
|
|
8317
7942
|
init_Emitter();
|
|
8318
7943
|
init_Logger();
|
|
8319
7944
|
init_Msg();
|
|
@@ -8322,7 +7947,7 @@ var init_WebsocketClient = __esm({
|
|
|
8322
7947
|
}
|
|
8323
7948
|
});
|
|
8324
7949
|
|
|
8325
|
-
// node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts
|
|
7950
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts
|
|
8326
7951
|
function isEventLike(value) {
|
|
8327
7952
|
return typeof value === "object" && value !== null && "type" in value && typeof value.type === "string";
|
|
8328
7953
|
}
|
|
@@ -8331,9 +7956,9 @@ function isCloseEvent(value) {
|
|
|
8331
7956
|
}
|
|
8332
7957
|
var logger3, WebsocketClientV2;
|
|
8333
7958
|
var init_WebsocketClientV2 = __esm({
|
|
8334
|
-
"node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts"() {
|
|
7959
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/WebsocketClientV2.ts"() {
|
|
8335
7960
|
"use strict";
|
|
8336
|
-
|
|
7961
|
+
init_src();
|
|
8337
7962
|
init_AsyncStream();
|
|
8338
7963
|
init_Logger();
|
|
8339
7964
|
init_Msg();
|
|
@@ -8578,10 +8203,10 @@ var init_WebsocketClientV2 = __esm({
|
|
|
8578
8203
|
}
|
|
8579
8204
|
});
|
|
8580
8205
|
|
|
8581
|
-
// node_modules/@pmate/utils/src/websocket/H3Client.ts
|
|
8206
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/H3Client.ts
|
|
8582
8207
|
var logger4;
|
|
8583
8208
|
var init_H3Client = __esm({
|
|
8584
|
-
"node_modules/@pmate/utils/src/websocket/H3Client.ts"() {
|
|
8209
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/H3Client.ts"() {
|
|
8585
8210
|
"use strict";
|
|
8586
8211
|
init_Emitter();
|
|
8587
8212
|
init_Logger();
|
|
@@ -8591,9 +8216,9 @@ var init_H3Client = __esm({
|
|
|
8591
8216
|
}
|
|
8592
8217
|
});
|
|
8593
8218
|
|
|
8594
|
-
// node_modules/@pmate/utils/src/websocket/index.ts
|
|
8219
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/index.ts
|
|
8595
8220
|
var init_websocket = __esm({
|
|
8596
|
-
"node_modules/@pmate/utils/src/websocket/index.ts"() {
|
|
8221
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/websocket/index.ts"() {
|
|
8597
8222
|
"use strict";
|
|
8598
8223
|
init_WebsocketClient();
|
|
8599
8224
|
init_WebsocketClientV2();
|
|
@@ -8601,9 +8226,9 @@ var init_websocket = __esm({
|
|
|
8601
8226
|
}
|
|
8602
8227
|
});
|
|
8603
8228
|
|
|
8604
|
-
// node_modules/@pmate/utils/src/index.ts
|
|
8605
|
-
var
|
|
8606
|
-
"node_modules/@pmate/utils/src/index.ts"() {
|
|
8229
|
+
// node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/index.ts
|
|
8230
|
+
var init_src3 = __esm({
|
|
8231
|
+
"node_modules/.pnpm/@pmate+utils@1.1.2/node_modules/@pmate/utils/src/index.ts"() {
|
|
8607
8232
|
"use strict";
|
|
8608
8233
|
init_base64();
|
|
8609
8234
|
init_batchResolve();
|
|
@@ -8643,7 +8268,7 @@ var init_src4 = __esm({
|
|
|
8643
8268
|
}
|
|
8644
8269
|
});
|
|
8645
8270
|
|
|
8646
|
-
// node_modules/@pmate/agent-sdk/dist/debug.js
|
|
8271
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/debug.js
|
|
8647
8272
|
function isDebugEnabled() {
|
|
8648
8273
|
return process.env.DEBUG === "1";
|
|
8649
8274
|
}
|
|
@@ -8658,17 +8283,17 @@ function debugLog(message, data) {
|
|
|
8658
8283
|
console.log(message, data);
|
|
8659
8284
|
}
|
|
8660
8285
|
var init_debug = __esm({
|
|
8661
|
-
"node_modules/@pmate/agent-sdk/dist/debug.js"() {
|
|
8286
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/debug.js"() {
|
|
8662
8287
|
"use strict";
|
|
8663
8288
|
}
|
|
8664
8289
|
});
|
|
8665
8290
|
|
|
8666
|
-
// node_modules/@pmate/agent-sdk/dist/AgentTaskManager.js
|
|
8291
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentTaskManager.js
|
|
8667
8292
|
var AgentTaskManager;
|
|
8668
8293
|
var init_AgentTaskManager = __esm({
|
|
8669
|
-
"node_modules/@pmate/agent-sdk/dist/AgentTaskManager.js"() {
|
|
8294
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentTaskManager.js"() {
|
|
8670
8295
|
"use strict";
|
|
8671
|
-
|
|
8296
|
+
init_src3();
|
|
8672
8297
|
init_debug();
|
|
8673
8298
|
AgentTaskManager = class {
|
|
8674
8299
|
constructor() {
|
|
@@ -8835,13 +8460,19 @@ var init_AgentTaskManager = __esm({
|
|
|
8835
8460
|
}
|
|
8836
8461
|
});
|
|
8837
8462
|
|
|
8838
|
-
// node_modules/@pmate/agent-sdk/dist/AgentClient.js
|
|
8463
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentClient.js
|
|
8464
|
+
function createAgentRequestBody(payload) {
|
|
8465
|
+
return {
|
|
8466
|
+
kind: "request",
|
|
8467
|
+
payload
|
|
8468
|
+
};
|
|
8469
|
+
}
|
|
8839
8470
|
var logger5, DEFAULT_TIMEOUT_MS, DEFAULT_STREAM_TIMEOUT_MS, DEFAULT_MIN_CHUNK_SIZE_BYTES, AgentClient;
|
|
8840
8471
|
var init_AgentClient = __esm({
|
|
8841
|
-
"node_modules/@pmate/agent-sdk/dist/AgentClient.js"() {
|
|
8472
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentClient.js"() {
|
|
8842
8473
|
"use strict";
|
|
8843
8474
|
init_src();
|
|
8844
|
-
|
|
8475
|
+
init_src3();
|
|
8845
8476
|
init_AgentTaskManager();
|
|
8846
8477
|
init_debug();
|
|
8847
8478
|
logger5 = Logger.getDebugger("AgentClient");
|
|
@@ -8921,7 +8552,7 @@ var init_AgentClient = __esm({
|
|
|
8921
8552
|
type: this.defaultRequestType,
|
|
8922
8553
|
...request.payload ? { payload: request.payload } : {}
|
|
8923
8554
|
};
|
|
8924
|
-
const msg = Msg.create(this.from, hubTo,
|
|
8555
|
+
const msg = Msg.create(this.from, hubTo, 2 /* AGENT */, createAgentRequestBody(startPayload), 0 /* PIPELINE */);
|
|
8925
8556
|
await this.ws.sendMsg(msg);
|
|
8926
8557
|
return await waiter;
|
|
8927
8558
|
}
|
|
@@ -8972,13 +8603,13 @@ var init_AgentClient = __esm({
|
|
|
8972
8603
|
const startDataStream = async () => {
|
|
8973
8604
|
const agent = await this.agentService.getAgentById(request.agentId);
|
|
8974
8605
|
const hubTo = `@hub/${agent.type}`;
|
|
8975
|
-
const startMsg = Msg.create(from, hubTo,
|
|
8606
|
+
const startMsg = Msg.create(from, hubTo, 2 /* AGENT */, createAgentRequestBody({
|
|
8976
8607
|
taskId,
|
|
8977
8608
|
agentId: request.agentId,
|
|
8978
8609
|
op: 0 /* Start */,
|
|
8979
8610
|
type: this.defaultRequestType,
|
|
8980
8611
|
...request.params ? { payload: request.params } : {}
|
|
8981
|
-
}, 0 /* PIPELINE */);
|
|
8612
|
+
}), 0 /* PIPELINE */);
|
|
8982
8613
|
await ws.sendMsg(startMsg);
|
|
8983
8614
|
for await (const payload of inputStream) {
|
|
8984
8615
|
const dataType = payload instanceof Blob ? payload.type || this.defaultBinaryType : payload instanceof Uint8Array || payload instanceof ArrayBuffer ? this.defaultBinaryType : typeof payload === "string" ? "text" : this.defaultRequestType;
|
|
@@ -8989,15 +8620,15 @@ var init_AgentClient = __esm({
|
|
|
8989
8620
|
type: dataType,
|
|
8990
8621
|
payload
|
|
8991
8622
|
};
|
|
8992
|
-
const msg = Msg.create(from, hubTo,
|
|
8623
|
+
const msg = Msg.create(from, hubTo, 2 /* AGENT */, createAgentRequestBody(body), 0 /* PIPELINE */);
|
|
8993
8624
|
await ws.sendMsg(msg);
|
|
8994
8625
|
}
|
|
8995
|
-
const endMsg = Msg.create(from, hubTo,
|
|
8626
|
+
const endMsg = Msg.create(from, hubTo, 2 /* AGENT */, createAgentRequestBody({
|
|
8996
8627
|
taskId,
|
|
8997
8628
|
agentId: request.agentId,
|
|
8998
8629
|
op: 2 /* End */,
|
|
8999
8630
|
type: this.defaultRequestType
|
|
9000
|
-
}, 0 /* PIPELINE */);
|
|
8631
|
+
}), 0 /* PIPELINE */);
|
|
9001
8632
|
await ws.sendMsg(endMsg);
|
|
9002
8633
|
};
|
|
9003
8634
|
void startDataStream();
|
|
@@ -9102,14 +8733,19 @@ var init_AgentClient = __esm({
|
|
|
9102
8733
|
if (!message || typeof message !== "object") {
|
|
9103
8734
|
return;
|
|
9104
8735
|
}
|
|
9105
|
-
if (message.opcode ===
|
|
9106
|
-
const
|
|
8736
|
+
if (message.opcode === 3 /* ACK */) {
|
|
8737
|
+
const ack = message.body;
|
|
8738
|
+
const success = ack?.status === "ok";
|
|
9107
8739
|
this.resolveAuth(success);
|
|
9108
8740
|
return;
|
|
9109
8741
|
}
|
|
9110
|
-
if (message.opcode ===
|
|
9111
|
-
const
|
|
9112
|
-
|
|
8742
|
+
if (message.opcode === 2 /* AGENT */) {
|
|
8743
|
+
const agentBody = message.body;
|
|
8744
|
+
if (agentBody?.kind !== "response") {
|
|
8745
|
+
return;
|
|
8746
|
+
}
|
|
8747
|
+
const body = agentBody.payload;
|
|
8748
|
+
debugLog("[agent-client] incoming AgentBody.response", {
|
|
9113
8749
|
taskId: body?.taskId,
|
|
9114
8750
|
isFinal: body?.isFinal,
|
|
9115
8751
|
success: body?.success,
|
|
@@ -9117,7 +8753,7 @@ var init_AgentClient = __esm({
|
|
|
9117
8753
|
contentEncoding: body?.contentEncoding,
|
|
9118
8754
|
payloadKind: body?.payload == null ? "null" : body.payload instanceof Uint8Array ? `uint8array:${body.payload.length}` : Array.isArray(body.payload) ? `array:${body.payload.length}` : typeof body.payload
|
|
9119
8755
|
});
|
|
9120
|
-
this.tasks.handleResponse(
|
|
8756
|
+
this.tasks.handleResponse(body);
|
|
9121
8757
|
}
|
|
9122
8758
|
}
|
|
9123
8759
|
ensureProtocol(value, protocol) {
|
|
@@ -9163,7 +8799,7 @@ var init_AgentClient = __esm({
|
|
|
9163
8799
|
if (!this.ws || !this.from) {
|
|
9164
8800
|
throw new Error("AgentClient not initialized");
|
|
9165
8801
|
}
|
|
9166
|
-
const msg = Msg.create(this.from, "@hub",
|
|
8802
|
+
const msg = Msg.create(this.from, "@hub", 4 /* AUTH */, { token, as: "user" });
|
|
9167
8803
|
const waiter = this.waitForAuthAck(timeoutMs);
|
|
9168
8804
|
await this.ws.sendMsg(msg);
|
|
9169
8805
|
const success = await waiter;
|
|
@@ -9206,62 +8842,62 @@ var init_AgentClient = __esm({
|
|
|
9206
8842
|
}
|
|
9207
8843
|
});
|
|
9208
8844
|
|
|
9209
|
-
// node_modules/@pmate/agent-sdk/dist/AgentRuntime.js
|
|
8845
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentRuntime.js
|
|
9210
8846
|
var init_AgentRuntime = __esm({
|
|
9211
|
-
"node_modules/@pmate/agent-sdk/dist/AgentRuntime.js"() {
|
|
8847
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentRuntime.js"() {
|
|
9212
8848
|
"use strict";
|
|
9213
8849
|
init_src();
|
|
9214
|
-
|
|
8850
|
+
init_src3();
|
|
9215
8851
|
}
|
|
9216
8852
|
});
|
|
9217
8853
|
|
|
9218
|
-
// node_modules/@pmate/agent-sdk/dist/PromptTaskContext.js
|
|
8854
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/PromptTaskContext.js
|
|
9219
8855
|
var init_PromptTaskContext = __esm({
|
|
9220
|
-
"node_modules/@pmate/agent-sdk/dist/PromptTaskContext.js"() {
|
|
8856
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/PromptTaskContext.js"() {
|
|
9221
8857
|
"use strict";
|
|
9222
8858
|
}
|
|
9223
8859
|
});
|
|
9224
8860
|
|
|
9225
|
-
// node_modules/@pmate/agent-sdk/dist/PromptAgent.js
|
|
8861
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/PromptAgent.js
|
|
9226
8862
|
var init_PromptAgent = __esm({
|
|
9227
|
-
"node_modules/@pmate/agent-sdk/dist/PromptAgent.js"() {
|
|
8863
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/PromptAgent.js"() {
|
|
9228
8864
|
"use strict";
|
|
9229
8865
|
init_src();
|
|
9230
|
-
|
|
8866
|
+
init_src3();
|
|
9231
8867
|
init_debug();
|
|
9232
8868
|
init_AgentRuntime();
|
|
9233
8869
|
init_PromptTaskContext();
|
|
9234
8870
|
}
|
|
9235
8871
|
});
|
|
9236
8872
|
|
|
9237
|
-
// node_modules/@pmate/agent-sdk/dist/StreamTaskContext.js
|
|
8873
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/StreamTaskContext.js
|
|
9238
8874
|
var init_StreamTaskContext = __esm({
|
|
9239
|
-
"node_modules/@pmate/agent-sdk/dist/StreamTaskContext.js"() {
|
|
8875
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/StreamTaskContext.js"() {
|
|
9240
8876
|
"use strict";
|
|
9241
8877
|
}
|
|
9242
8878
|
});
|
|
9243
8879
|
|
|
9244
|
-
// node_modules/@pmate/agent-sdk/dist/StreamAgent.js
|
|
8880
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/StreamAgent.js
|
|
9245
8881
|
var init_StreamAgent = __esm({
|
|
9246
|
-
"node_modules/@pmate/agent-sdk/dist/StreamAgent.js"() {
|
|
8882
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/StreamAgent.js"() {
|
|
9247
8883
|
"use strict";
|
|
9248
8884
|
init_src();
|
|
9249
|
-
|
|
8885
|
+
init_src3();
|
|
9250
8886
|
init_AgentRuntime();
|
|
9251
8887
|
init_StreamTaskContext();
|
|
9252
8888
|
}
|
|
9253
8889
|
});
|
|
9254
8890
|
|
|
9255
|
-
// node_modules/@pmate/agent-sdk/dist/AgentFactory.js
|
|
8891
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentFactory.js
|
|
9256
8892
|
var init_AgentFactory = __esm({
|
|
9257
|
-
"node_modules/@pmate/agent-sdk/dist/AgentFactory.js"() {
|
|
8893
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentFactory.js"() {
|
|
9258
8894
|
"use strict";
|
|
9259
8895
|
init_PromptAgent();
|
|
9260
8896
|
init_StreamAgent();
|
|
9261
8897
|
}
|
|
9262
8898
|
});
|
|
9263
8899
|
|
|
9264
|
-
// node_modules/@pmate/agent-sdk/dist/AgentService.js
|
|
8900
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentService.js
|
|
9265
8901
|
function parseAgentId(agentId) {
|
|
9266
8902
|
const separatorIndex = agentId.indexOf(":");
|
|
9267
8903
|
if (separatorIndex <= 0 || separatorIndex === agentId.length - 1) {
|
|
@@ -9291,7 +8927,7 @@ function trimTrailingSlash(value) {
|
|
|
9291
8927
|
}
|
|
9292
8928
|
var AgentService;
|
|
9293
8929
|
var init_AgentService = __esm({
|
|
9294
|
-
"node_modules/@pmate/agent-sdk/dist/AgentService.js"() {
|
|
8930
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/AgentService.js"() {
|
|
9295
8931
|
"use strict";
|
|
9296
8932
|
AgentService = class {
|
|
9297
8933
|
constructor(options) {
|
|
@@ -9332,9 +8968,9 @@ var init_AgentService = __esm({
|
|
|
9332
8968
|
}
|
|
9333
8969
|
});
|
|
9334
8970
|
|
|
9335
|
-
// node_modules/@pmate/agent-sdk/dist/index.js
|
|
8971
|
+
// node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/index.js
|
|
9336
8972
|
var init_dist2 = __esm({
|
|
9337
|
-
"node_modules/@pmate/agent-sdk/dist/index.js"() {
|
|
8973
|
+
"node_modules/.pnpm/@pmate+agent-sdk@1.1.4/node_modules/@pmate/agent-sdk/dist/index.js"() {
|
|
9338
8974
|
"use strict";
|
|
9339
8975
|
init_AgentClient();
|
|
9340
8976
|
init_AgentFactory();
|
|
@@ -9344,7 +8980,7 @@ var init_dist2 = __esm({
|
|
|
9344
8980
|
init_AgentTaskManager();
|
|
9345
8981
|
init_AgentService();
|
|
9346
8982
|
init_debug();
|
|
9347
|
-
|
|
8983
|
+
init_src3();
|
|
9348
8984
|
}
|
|
9349
8985
|
});
|
|
9350
8986
|
|