viveworker 0.4.7 → 0.4.9
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/package.json +1 -1
- package/scripts/a2a-executor.mjs +267 -41
- package/scripts/a2a-handler.mjs +6 -1
- package/scripts/a2a-relay-client.mjs +13 -0
- package/scripts/moltbook-api.mjs +214 -5
- package/scripts/moltbook-cli.mjs +12 -397
- package/scripts/viveworker-bridge.mjs +471 -47
- package/web/app.css +249 -1
- package/web/app.js +307 -55
- package/web/i18n.js +69 -5
package/web/app.css
CHANGED
|
@@ -524,7 +524,9 @@ code {
|
|
|
524
524
|
|
|
525
525
|
.settings-nav-row + .settings-nav-row,
|
|
526
526
|
.settings-info-row + .settings-info-row,
|
|
527
|
-
.settings-choice-row + .settings-choice-row
|
|
527
|
+
.settings-choice-row + .settings-choice-row,
|
|
528
|
+
.settings-radio-row + .settings-radio-row,
|
|
529
|
+
.settings-info-row + .settings-radio-row {
|
|
528
530
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
529
531
|
}
|
|
530
532
|
|
|
@@ -533,6 +535,145 @@ code {
|
|
|
533
535
|
background: rgba(255, 255, 255, 0.035);
|
|
534
536
|
}
|
|
535
537
|
|
|
538
|
+
.settings-group__description {
|
|
539
|
+
margin: 0;
|
|
540
|
+
padding: 0.72rem 1rem;
|
|
541
|
+
font-size: 0.83rem;
|
|
542
|
+
line-height: 1.45;
|
|
543
|
+
color: var(--muted);
|
|
544
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.settings-radio-row {
|
|
548
|
+
display: flex;
|
|
549
|
+
align-items: center;
|
|
550
|
+
gap: 0.78rem;
|
|
551
|
+
padding: 0.82rem 1rem;
|
|
552
|
+
cursor: pointer;
|
|
553
|
+
-webkit-tap-highlight-color: transparent;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.settings-radio-row:active {
|
|
557
|
+
background: rgba(255, 255, 255, 0.035);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.settings-radio-row input[type="radio"] {
|
|
561
|
+
appearance: none;
|
|
562
|
+
-webkit-appearance: none;
|
|
563
|
+
width: 1.25rem;
|
|
564
|
+
height: 1.25rem;
|
|
565
|
+
border: 2px solid rgba(156, 181, 197, 0.32);
|
|
566
|
+
border-radius: 50%;
|
|
567
|
+
background: transparent;
|
|
568
|
+
flex-shrink: 0;
|
|
569
|
+
position: relative;
|
|
570
|
+
cursor: pointer;
|
|
571
|
+
transition: border-color 160ms ease;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.settings-radio-row input[type="radio"]:checked {
|
|
575
|
+
border-color: rgba(121, 196, 255, 0.92);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.settings-radio-row input[type="radio"]:checked::after {
|
|
579
|
+
content: "";
|
|
580
|
+
position: absolute;
|
|
581
|
+
top: 50%;
|
|
582
|
+
left: 50%;
|
|
583
|
+
transform: translate(-50%, -50%);
|
|
584
|
+
width: 0.52rem;
|
|
585
|
+
height: 0.52rem;
|
|
586
|
+
border-radius: 50%;
|
|
587
|
+
background: rgba(121, 196, 255, 0.92);
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.settings-radio-row input[type="radio"]:disabled {
|
|
591
|
+
opacity: 0.35;
|
|
592
|
+
cursor: not-allowed;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.settings-radio-row__label {
|
|
596
|
+
font-size: 0.94rem;
|
|
597
|
+
line-height: 1.25;
|
|
598
|
+
color: var(--text);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.settings-radio-row__label.muted {
|
|
602
|
+
color: var(--muted);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.settings-radio-row__badge {
|
|
606
|
+
margin-left: auto;
|
|
607
|
+
font-size: 0.74rem;
|
|
608
|
+
letter-spacing: 0.02em;
|
|
609
|
+
color: rgba(121, 196, 255, 0.82);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.settings-compose-badge {
|
|
613
|
+
display: inline-block;
|
|
614
|
+
align-self: flex-start;
|
|
615
|
+
padding: 0.12rem 0.42rem;
|
|
616
|
+
border-radius: 6px;
|
|
617
|
+
font-size: 0.7rem;
|
|
618
|
+
font-weight: 600;
|
|
619
|
+
letter-spacing: 0.03em;
|
|
620
|
+
line-height: 1.3;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.settings-compose-badge--post {
|
|
624
|
+
background: rgba(67, 160, 255, 0.18);
|
|
625
|
+
color: rgba(121, 196, 255, 0.92);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.settings-compose-badge--reply {
|
|
629
|
+
background: rgba(160, 120, 255, 0.18);
|
|
630
|
+
color: rgba(190, 160, 255, 0.92);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.settings-compose-entry {
|
|
634
|
+
display: flex;
|
|
635
|
+
flex-direction: column;
|
|
636
|
+
gap: 0.32rem;
|
|
637
|
+
padding: 0.72rem 1rem;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.settings-compose-entry + .settings-compose-entry {
|
|
641
|
+
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.settings-compose-entry__title {
|
|
645
|
+
font-size: 0.88rem;
|
|
646
|
+
line-height: 1.4;
|
|
647
|
+
color: var(--text);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.settings-compose-entry__title a {
|
|
651
|
+
color: var(--accent, #00d4aa);
|
|
652
|
+
text-decoration: none;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.settings-compose-entry__title a:hover {
|
|
656
|
+
text-decoration: underline;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.settings-compose-more {
|
|
660
|
+
display: block;
|
|
661
|
+
width: 100%;
|
|
662
|
+
padding: 0.68rem 1rem;
|
|
663
|
+
background: transparent;
|
|
664
|
+
border: 0;
|
|
665
|
+
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
666
|
+
color: rgba(121, 196, 255, 0.82);
|
|
667
|
+
font-size: 0.83rem;
|
|
668
|
+
text-align: center;
|
|
669
|
+
cursor: pointer;
|
|
670
|
+
-webkit-tap-highlight-color: transparent;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.settings-compose-more:active {
|
|
674
|
+
background: rgba(255, 255, 255, 0.035);
|
|
675
|
+
}
|
|
676
|
+
|
|
536
677
|
.settings-row__icon {
|
|
537
678
|
width: 1.95rem;
|
|
538
679
|
height: 1.95rem;
|
|
@@ -2354,6 +2495,24 @@ code {
|
|
|
2354
2495
|
border-color: var(--accent, #6ea8ff);
|
|
2355
2496
|
}
|
|
2356
2497
|
|
|
2498
|
+
.a2a-task-response {
|
|
2499
|
+
width: 100%;
|
|
2500
|
+
padding: 0.85rem 0.95rem;
|
|
2501
|
+
border-radius: 14px;
|
|
2502
|
+
border: 1px solid var(--line);
|
|
2503
|
+
background: var(--surface, #1a1a2e);
|
|
2504
|
+
color: var(--fg);
|
|
2505
|
+
font-family: "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
2506
|
+
font-size: 0.85rem;
|
|
2507
|
+
line-height: 1.55;
|
|
2508
|
+
white-space: pre-wrap;
|
|
2509
|
+
word-break: break-word;
|
|
2510
|
+
overflow-x: auto;
|
|
2511
|
+
max-height: 24rem;
|
|
2512
|
+
overflow-y: auto;
|
|
2513
|
+
margin: 0;
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2357
2516
|
.compose-greeting {
|
|
2358
2517
|
display: flex;
|
|
2359
2518
|
align-items: center;
|
|
@@ -2655,6 +2814,34 @@ code {
|
|
|
2655
2814
|
line-height: 1.45;
|
|
2656
2815
|
}
|
|
2657
2816
|
|
|
2817
|
+
.reply-mode-switch--settings {
|
|
2818
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2819
|
+
align-items: start;
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
.reply-mode-switch--settings__toggle {
|
|
2823
|
+
grid-column: 2;
|
|
2824
|
+
grid-row: 1;
|
|
2825
|
+
display: flex;
|
|
2826
|
+
flex-direction: column;
|
|
2827
|
+
align-items: center;
|
|
2828
|
+
gap: 0.32rem;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
.reply-mode-switch--settings .reply-mode-switch__hint {
|
|
2832
|
+
grid-column: 1;
|
|
2833
|
+
grid-row: 1;
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
.reply-mode-switch__input:checked ~ .reply-mode-switch--settings__toggle .reply-mode-switch__track {
|
|
2837
|
+
background: rgba(67, 160, 255, 0.28);
|
|
2838
|
+
border-color: rgba(121, 196, 255, 0.34);
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
.reply-mode-switch__input:checked ~ .reply-mode-switch--settings__toggle .reply-mode-switch__thumb {
|
|
2842
|
+
transform: translateX(1.06rem);
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2658
2845
|
@keyframes detail-loading-pulse {
|
|
2659
2846
|
0% {
|
|
2660
2847
|
background-position: 100% 0;
|
|
@@ -3128,6 +3315,67 @@ button:disabled {
|
|
|
3128
3315
|
font-size: 0.88rem;
|
|
3129
3316
|
}
|
|
3130
3317
|
|
|
3318
|
+
.a2a-executor-picker {
|
|
3319
|
+
display: flex;
|
|
3320
|
+
gap: 0.5rem;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
.a2a-executor-picker__option {
|
|
3324
|
+
flex: 1;
|
|
3325
|
+
display: flex;
|
|
3326
|
+
align-items: center;
|
|
3327
|
+
justify-content: center;
|
|
3328
|
+
gap: 0.5rem;
|
|
3329
|
+
padding: 0.62rem 0.8rem;
|
|
3330
|
+
border: 1px solid rgba(156, 181, 197, 0.16);
|
|
3331
|
+
border-radius: 12px;
|
|
3332
|
+
background: rgba(255, 255, 255, 0.035);
|
|
3333
|
+
cursor: pointer;
|
|
3334
|
+
font-size: 0.9rem;
|
|
3335
|
+
color: var(--text);
|
|
3336
|
+
transition: border-color 160ms ease, background 160ms ease;
|
|
3337
|
+
-webkit-tap-highlight-color: transparent;
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
.a2a-executor-picker__option:has(input:checked) {
|
|
3341
|
+
border-color: rgba(121, 196, 255, 0.5);
|
|
3342
|
+
background: rgba(67, 160, 255, 0.12);
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
.a2a-executor-picker__option:active {
|
|
3346
|
+
background: rgba(255, 255, 255, 0.06);
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
.a2a-executor-picker__option input[type="radio"] {
|
|
3350
|
+
appearance: none;
|
|
3351
|
+
-webkit-appearance: none;
|
|
3352
|
+
width: 1.1rem;
|
|
3353
|
+
height: 1.1rem;
|
|
3354
|
+
border: 2px solid rgba(156, 181, 197, 0.32);
|
|
3355
|
+
border-radius: 50%;
|
|
3356
|
+
background: transparent;
|
|
3357
|
+
flex-shrink: 0;
|
|
3358
|
+
position: relative;
|
|
3359
|
+
cursor: pointer;
|
|
3360
|
+
transition: border-color 160ms ease;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
.a2a-executor-picker__option input[type="radio"]:checked {
|
|
3364
|
+
border-color: rgba(121, 196, 255, 0.92);
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
.a2a-executor-picker__option input[type="radio"]:checked::after {
|
|
3368
|
+
content: "";
|
|
3369
|
+
position: absolute;
|
|
3370
|
+
top: 50%;
|
|
3371
|
+
left: 50%;
|
|
3372
|
+
transform: translate(-50%, -50%);
|
|
3373
|
+
width: 0.46rem;
|
|
3374
|
+
height: 0.46rem;
|
|
3375
|
+
border-radius: 50%;
|
|
3376
|
+
background: rgba(121, 196, 255, 0.92);
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3131
3379
|
.field input {
|
|
3132
3380
|
width: 100%;
|
|
3133
3381
|
min-height: 3.25rem;
|