@pmate/cli 0.29.4 → 0.29.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.d.ts CHANGED
@@ -1043,7 +1043,7 @@ type ServiceCommandArgs = {
1043
1043
  action: "service-env-expose";
1044
1044
  appId: string;
1045
1045
  envName: string;
1046
- exposeType?: "https" | "websocket";
1046
+ exposeType?: "https" | "websocket" | "mixed";
1047
1047
  off: boolean;
1048
1048
  domain?: string;
1049
1049
  baseUrl?: string;
package/dist/index.js CHANGED
@@ -293,181 +293,181 @@ var init_sessionStore = __esm({
293
293
  }
294
294
  });
295
295
 
296
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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,9 +722,9 @@ var init_config = __esm({
722
722
  }
723
723
  });
724
724
 
725
- // node_modules/.pnpm/@pmate+meta@1.3.0/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
- "node_modules/.pnpm/@pmate+meta@1.3.0/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();
@@ -18935,7 +18935,7 @@ var ServiceRuntimeRunner = class {
18935
18935
  ...deploy.subdomain ? { subdomain: deploy.subdomain } : {}
18936
18936
  };
18937
18937
  }
18938
- const exposeType = deploy.serviceType === "ws" ? "websocket" : "rest";
18938
+ const exposeType = deploy.serviceType === "ws" ? "websocket" : deploy.serviceType === "mixed" ? "mixed" : "rest";
18939
18939
  return {
18940
18940
  exposeType,
18941
18941
  repository: String(deploy.repository ?? ""),
@@ -19199,7 +19199,7 @@ var ServiceRuntimeRunner = class {
19199
19199
  `if [ -f ~/.profile ]; then . ~/.profile; fi`,
19200
19200
  `if [ -f ~/.bashrc ]; then . ~/.bashrc; fi`,
19201
19201
  `if [ -n "$(git status --porcelain)" ]; then git reset --hard HEAD; git clean -fd; fi`,
19202
- `git pull`,
19202
+ `git pull --rebase`,
19203
19203
  `pnpm install`,
19204
19204
  ...envSyncCommand ? [envSyncCommand] : [],
19205
19205
  buildIfNeeded,
@@ -19268,7 +19268,7 @@ var ServiceRuntimeRunner = class {
19268
19268
  `if [ -f ~/.profile ]; then . ~/.profile; fi`,
19269
19269
  `if [ -f ~/.bashrc ]; then . ~/.bashrc; fi`,
19270
19270
  `if [ -n "$(git status --porcelain)" ]; then git reset --hard HEAD; git clean -fd; fi`,
19271
- `git pull`,
19271
+ `git pull --rebase`,
19272
19272
  ...envSyncCommand ? [envSyncCommand] : [],
19273
19273
  `"${scriptPath}" restart --env ${shellQuote2(envName)}`
19274
19274
  ].join(" && ");
@@ -19386,12 +19386,12 @@ var ServiceRuntimeRunner = class {
19386
19386
  if (subdomain && !server) {
19387
19387
  throw new Error(`Missing network.server for ${service.id}`);
19388
19388
  }
19389
- if (!["rest", "rpc", "websocket", "internal"].includes(exposeType)) {
19389
+ if (!["rest", "rpc", "websocket", "mixed", "internal"].includes(exposeType)) {
19390
19390
  throw new Error(`Invalid network.exposeType for ${service.id}`);
19391
19391
  }
19392
19392
  if (subdomain) {
19393
19393
  const serverAddress = await resolveServerAddress(server);
19394
- const templateName = exposeType === "websocket" ? "nginx.ws.template" : "nginx.rest.template";
19394
+ const templateName = exposeType === "websocket" ? "nginx.ws.template" : exposeType === "mixed" ? "nginx.mixed.template" : "nginx.rest.template";
19395
19395
  const templatePath = this.resolveTemplatePath(templateName);
19396
19396
  const template = (0, import_node_fs20.readFileSync)(templatePath, "utf8");
19397
19397
  const host = `${subdomain}.${("domain" in network ? network.domain?.trim() : void 0) || "pmate.chat"}`;
@@ -20664,7 +20664,7 @@ var ServiceCommandHandler = class {
20664
20664
  type: service.type === "node-api" ? "node-api" : "node",
20665
20665
  sslCert: service.sslCert,
20666
20666
  network: {
20667
- exposeType: env.network?.type === "websocket" ? "websocket" : env.network ? "rest" : "internal",
20667
+ exposeType: env.network?.type === "websocket" ? "websocket" : env.network?.type === "mixed" ? "mixed" : env.network ? "rest" : "internal",
20668
20668
  repository,
20669
20669
  dir,
20670
20670
  server: requireString(runtime.server, `runtime.server for ${service.id} ${env.name}`),
@@ -20681,7 +20681,7 @@ var ServiceCommandHandler = class {
20681
20681
  type: service.type === "node-job" ? "node-job" : service.type === "rust" ? "rust" : "python",
20682
20682
  sslCert: service.sslCert,
20683
20683
  network: {
20684
- exposeType: env.network?.type === "websocket" ? "websocket" : env.network ? "rest" : "internal",
20684
+ exposeType: env.network?.type === "websocket" ? "websocket" : env.network?.type === "mixed" ? "mixed" : env.network ? "rest" : "internal",
20685
20685
  repository,
20686
20686
  dir: runtime.cwd?.trim() || dir,
20687
20687
  server: requireString(runtime.server, `runtime.server for ${service.id} ${env.name}`),
@@ -21788,6 +21788,30 @@ var AccountCommandHandler = class {
21788
21788
  }
21789
21789
  return;
21790
21790
  }
21791
+ case "bot-rename": {
21792
+ const token = this.readToken();
21793
+ const baseUrl = this.resolveAuthBaseUrl(args.baseUrl);
21794
+ const bot = await this.request(
21795
+ baseUrl,
21796
+ token,
21797
+ "POST",
21798
+ "/accounts/bots/rename",
21799
+ {
21800
+ app: args.app,
21801
+ name: args.name,
21802
+ newName: args.newName
21803
+ }
21804
+ );
21805
+ const migratedKeyPath = this.renameDefaultBotKeyFile(args.app, args.name, args.newName);
21806
+ if (!args.json) {
21807
+ ui.success(`Renamed bot ${args.app}/${args.name} to ${args.newName}`);
21808
+ if (migratedKeyPath) {
21809
+ ui.info(`Bot key copied to ${migratedKeyPath}`);
21810
+ }
21811
+ }
21812
+ this.renderJson(bot, args.json);
21813
+ return;
21814
+ }
21791
21815
  case "bot-login": {
21792
21816
  const baseUrl = this.resolveAuthBaseUrl(args.baseUrl);
21793
21817
  const privateKey = args.privateKey ?? this.readBotKeyFile(args.keyFile, args.app, args.name).privateKey;
@@ -22149,6 +22173,18 @@ var AccountCommandHandler = class {
22149
22173
  createdAt: (/* @__PURE__ */ new Date()).toISOString()
22150
22174
  };
22151
22175
  }
22176
+ renameDefaultBotKeyFile(app, name, newName) {
22177
+ const oldPath = this.resolveDefaultBotKeyPath(app, name);
22178
+ if (!(0, import_node_fs22.existsSync)(oldPath)) {
22179
+ return void 0;
22180
+ }
22181
+ const keyFile = this.readBotKeyFile(oldPath, app, name);
22182
+ const newPath = this.resolveDefaultBotKeyPath(app, newName);
22183
+ (0, import_node_fs22.mkdirSync)(import_node_path27.default.dirname(newPath), { recursive: true, mode: 448 });
22184
+ (0, import_node_fs22.writeFileSync)(newPath, JSON.stringify({ ...keyFile, name: newName }, null, 2));
22185
+ (0, import_node_fs22.chmodSync)(newPath, 384);
22186
+ return newPath;
22187
+ }
22152
22188
  readBotKeyFile(filePath, expectedApp, expectedName) {
22153
22189
  if (!filePath) {
22154
22190
  throw new Error("Missing bot key file");
@@ -23995,7 +24031,7 @@ function parseServiceEnvDefinitionArgs(appId, tokens) {
23995
24031
  if (action === "expose") {
23996
24032
  const envName = rest.shift();
23997
24033
  if (!envName || envName.startsWith("-")) {
23998
- throw new Error("Usage: service <ns:service> env expose <env> [--type https|websocket] [--domain <domain>] [--off]");
24034
+ throw new Error("Usage: service <ns:service> env expose <env> [--type https|websocket|mixed] [--domain <domain>] [--off]");
23999
24035
  }
24000
24036
  let exposeType;
24001
24037
  let domain;
@@ -24005,8 +24041,8 @@ function parseServiceEnvDefinitionArgs(appId, tokens) {
24005
24041
  switch (token) {
24006
24042
  case "--type": {
24007
24043
  const value = requireValue4(rest, token);
24008
- if (value !== "https" && value !== "websocket") {
24009
- throw new Error("--type must be https or websocket");
24044
+ if (value !== "https" && value !== "websocket" && value !== "mixed") {
24045
+ throw new Error("--type must be https, websocket, or mixed");
24010
24046
  }
24011
24047
  exposeType = value;
24012
24048
  break;
@@ -24661,7 +24697,7 @@ function parseAccountArgs(tokens) {
24661
24697
  if (action === "bot") {
24662
24698
  const botAction = rest.shift();
24663
24699
  if (!botAction) {
24664
- throw new Error("Missing account bot action. Use: account bot keygen|create|view|list|login|profile");
24700
+ throw new Error("Missing account bot action. Use: account bot keygen|create|view|list|rename|login|profile");
24665
24701
  }
24666
24702
  const botProfileAction = botAction === "profile" ? rest.shift() : void 0;
24667
24703
  let app;
@@ -24670,6 +24706,7 @@ function parseAccountArgs(tokens) {
24670
24706
  let keyFile;
24671
24707
  let publicKey;
24672
24708
  let privateKey;
24709
+ let newName;
24673
24710
  let nickName;
24674
24711
  let role2;
24675
24712
  let baseUrl2;
@@ -24697,6 +24734,10 @@ function parseAccountArgs(tokens) {
24697
24734
  case "--private-key":
24698
24735
  privateKey = requireValue6(rest, token);
24699
24736
  break;
24737
+ case "--new-name":
24738
+ case "--newName":
24739
+ newName = requireValue6(rest, token);
24740
+ break;
24700
24741
  case "--nickname":
24701
24742
  case "--nickName":
24702
24743
  nickName = requireValue6(rest, token);
@@ -24743,6 +24784,12 @@ function parseAccountArgs(tokens) {
24743
24784
  }
24744
24785
  return { type: "account" /* Account */, action: "bot-list", app, baseUrl: baseUrl2, json: json2 };
24745
24786
  }
24787
+ if (botAction === "rename") {
24788
+ if (!app || !name || !newName) {
24789
+ throw new Error("Usage: account bot rename --app <ns:app> --name <name> --new-name <new-name> [--base-url <url>] [--json]");
24790
+ }
24791
+ return { type: "account" /* Account */, action: "bot-rename", app, name, newName, baseUrl: baseUrl2, json: json2 };
24792
+ }
24746
24793
  if (botAction === "login") {
24747
24794
  if (!app || !name || !keyFile && !privateKey) {
24748
24795
  throw new Error("Usage: account bot login --app <ns:app> --name <name> (--key-file <path> | --private-key <key>) [--base-url <url>] [--json]");
@@ -0,0 +1,34 @@
1
+ server {
2
+ listen 443 ssl http2;
3
+ server_name ${{HOST}};
4
+ ssl_certificate /etc/nginx/ssl/fullchain.crt;
5
+ ssl_certificate_key /etc/nginx/ssl/fullchain.key;
6
+
7
+ ssl_protocols TLSv1.2 TLSv1.3;
8
+ ssl_prefer_server_ciphers on;
9
+ ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384";
10
+ ssl_session_cache shared:SSL:10m;
11
+ ssl_session_tickets off;
12
+
13
+ client_max_body_size 10M;
14
+
15
+ set $pmate_connection "close";
16
+ if ($http_upgrade != "") {
17
+ set $pmate_connection "upgrade";
18
+ }
19
+
20
+ location / {
21
+ proxy_pass http://127.0.0.1:${{PORT}};
22
+ proxy_http_version 1.1;
23
+ proxy_set_header Upgrade $http_upgrade;
24
+ proxy_set_header Connection $pmate_connection;
25
+ proxy_set_header Host $host;
26
+ proxy_cache_bypass $http_upgrade;
27
+ proxy_set_header X-Real-IP $remote_addr;
28
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
29
+ proxy_set_header X-Forwarded-Proto $scheme;
30
+ proxy_read_timeout 3600s;
31
+ proxy_send_timeout 3600s;
32
+ send_timeout 3600s;
33
+ }
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/cli",
3
- "version": "0.29.4",
3
+ "version": "0.29.6",
4
4
  "description": "CLI utilities for the pMate project",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -47,7 +47,7 @@
47
47
  "yaml": "^2.8.2"
48
48
  },
49
49
  "devDependencies": {
50
- "@pmate/meta": "^1.3.0",
50
+ "@pmate/meta": "^1.3.1",
51
51
  "@pmate/utils": "^1.1.4",
52
52
  "@types/node": "^25.0.3",
53
53
  "@types/pngjs": "^6.0.5",