viveworker 0.5.2 → 0.5.5
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/README.md +2 -2
- package/package.json +1 -1
- package/scripts/a2a-cli.mjs +1 -1
- package/scripts/moltbook-api.mjs +56 -16
- package/scripts/moltbook-watcher.mjs +30 -11
- package/scripts/viveworker-bridge.mjs +585 -72
- package/web/app.css +175 -1
- package/web/app.js +408 -17
- package/web/i18n.js +88 -2
package/web/app.css
CHANGED
|
@@ -610,14 +610,27 @@ code {
|
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
.settings-compose-badge {
|
|
613
|
-
display: inline-
|
|
613
|
+
display: inline-flex;
|
|
614
|
+
align-items: center;
|
|
614
615
|
align-self: flex-start;
|
|
616
|
+
flex: 0 0 auto;
|
|
615
617
|
padding: 0.12rem 0.42rem;
|
|
616
618
|
border-radius: 6px;
|
|
617
619
|
font-size: 0.7rem;
|
|
618
620
|
font-weight: 600;
|
|
619
621
|
letter-spacing: 0.03em;
|
|
620
622
|
line-height: 1.3;
|
|
623
|
+
white-space: nowrap;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.settings-compose-badge svg {
|
|
627
|
+
width: 0.85rem;
|
|
628
|
+
height: 0.85rem;
|
|
629
|
+
display: block;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.settings-compose-badge:has(> svg) {
|
|
633
|
+
padding: 0.18rem 0.3rem;
|
|
621
634
|
}
|
|
622
635
|
|
|
623
636
|
.settings-compose-badge--post {
|
|
@@ -637,6 +650,78 @@ code {
|
|
|
637
650
|
padding: 0.72rem 1rem;
|
|
638
651
|
}
|
|
639
652
|
|
|
653
|
+
.settings-icon-entry,
|
|
654
|
+
.settings-share-file-entry {
|
|
655
|
+
display: grid;
|
|
656
|
+
grid-template-columns: 1.65rem minmax(0, 1fr);
|
|
657
|
+
align-items: flex-start;
|
|
658
|
+
gap: 0.62rem;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.settings-icon-entry__icon,
|
|
662
|
+
.settings-share-file-entry__icon {
|
|
663
|
+
display: inline-flex;
|
|
664
|
+
align-items: center;
|
|
665
|
+
justify-content: center;
|
|
666
|
+
width: 1.65rem;
|
|
667
|
+
height: 1.65rem;
|
|
668
|
+
border-radius: 10px;
|
|
669
|
+
color: rgba(121, 196, 255, 0.9);
|
|
670
|
+
background: rgba(121, 196, 255, 0.11);
|
|
671
|
+
box-shadow: inset 0 0 0 1px rgba(121, 196, 255, 0.14);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.settings-icon-entry__icon--post {
|
|
675
|
+
color: rgba(121, 196, 255, 0.9);
|
|
676
|
+
background: rgba(121, 196, 255, 0.11);
|
|
677
|
+
box-shadow: inset 0 0 0 1px rgba(121, 196, 255, 0.14);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.settings-icon-entry__icon--reply {
|
|
681
|
+
color: rgba(190, 160, 255, 0.92);
|
|
682
|
+
background: rgba(160, 120, 255, 0.13);
|
|
683
|
+
box-shadow: inset 0 0 0 1px rgba(160, 120, 255, 0.16);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.settings-icon-entry__icon--file {
|
|
687
|
+
color: rgba(121, 196, 255, 0.9);
|
|
688
|
+
background: rgba(121, 196, 255, 0.11);
|
|
689
|
+
box-shadow: inset 0 0 0 1px rgba(121, 196, 255, 0.14);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.settings-icon-entry__icon svg,
|
|
693
|
+
.settings-share-file-entry__icon svg {
|
|
694
|
+
width: 0.95rem;
|
|
695
|
+
height: 0.95rem;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.settings-icon-entry__body,
|
|
699
|
+
.settings-share-file-entry__body {
|
|
700
|
+
min-width: 0;
|
|
701
|
+
display: grid;
|
|
702
|
+
gap: 0.22rem;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.settings-icon-entry__title-row,
|
|
706
|
+
.settings-share-file-entry__title-row {
|
|
707
|
+
display: flex;
|
|
708
|
+
align-items: center;
|
|
709
|
+
gap: 0.38rem;
|
|
710
|
+
min-width: 0;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.settings-icon-entry__title-row .settings-compose-entry__title,
|
|
714
|
+
.settings-share-file-entry__title-row .settings-compose-entry__title {
|
|
715
|
+
flex: 1 1 auto;
|
|
716
|
+
min-width: 0;
|
|
717
|
+
overflow-wrap: anywhere;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.settings-icon-entry__title-row .settings-compose-badge,
|
|
721
|
+
.settings-share-file-entry__title-row .settings-compose-badge {
|
|
722
|
+
margin-left: auto;
|
|
723
|
+
}
|
|
724
|
+
|
|
640
725
|
.settings-compose-entry + .settings-compose-entry {
|
|
641
726
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
642
727
|
}
|
|
@@ -2108,6 +2193,95 @@ code {
|
|
|
2108
2193
|
padding-inline: 0.1rem;
|
|
2109
2194
|
}
|
|
2110
2195
|
|
|
2196
|
+
.ambient-suggestions {
|
|
2197
|
+
display: grid;
|
|
2198
|
+
gap: 0.95rem;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
.ambient-suggestions__intro > :first-child {
|
|
2202
|
+
margin-top: 0;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
.ambient-suggestions__intro > :last-child {
|
|
2206
|
+
margin-bottom: 0;
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
.ambient-suggestions__list {
|
|
2210
|
+
display: grid;
|
|
2211
|
+
gap: 0.8rem;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
.ambient-suggestion-card {
|
|
2215
|
+
display: grid;
|
|
2216
|
+
gap: 0.72rem;
|
|
2217
|
+
padding: 0.95rem 1rem;
|
|
2218
|
+
border-radius: 18px;
|
|
2219
|
+
background: rgba(10, 17, 22, 0.54);
|
|
2220
|
+
border: 1px solid rgba(156, 181, 197, 0.12);
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
.ambient-suggestion-card__header {
|
|
2224
|
+
display: grid;
|
|
2225
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2226
|
+
gap: 0.7rem;
|
|
2227
|
+
align-items: start;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
.ambient-suggestion-card__title,
|
|
2231
|
+
.ambient-suggestion-card__description,
|
|
2232
|
+
.ambient-suggestion-card__prompt-label,
|
|
2233
|
+
.ambient-suggestion-card__prompt {
|
|
2234
|
+
margin: 0;
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
.ambient-suggestion-card__title {
|
|
2238
|
+
font-size: 1rem;
|
|
2239
|
+
line-height: 1.4;
|
|
2240
|
+
color: var(--text);
|
|
2241
|
+
overflow-wrap: anywhere;
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
.ambient-suggestion-card__description {
|
|
2245
|
+
color: var(--muted);
|
|
2246
|
+
line-height: 1.55;
|
|
2247
|
+
overflow-wrap: anywhere;
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
.ambient-suggestion-card__copy-button {
|
|
2251
|
+
min-height: 2.35rem;
|
|
2252
|
+
padding: 0.65rem 0.9rem;
|
|
2253
|
+
border-radius: 14px;
|
|
2254
|
+
font-size: 0.84rem;
|
|
2255
|
+
white-space: nowrap;
|
|
2256
|
+
flex: 0 0 auto;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
.ambient-suggestion-card__prompt-wrap {
|
|
2260
|
+
display: grid;
|
|
2261
|
+
gap: 0.42rem;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
.ambient-suggestion-card__prompt-label {
|
|
2265
|
+
color: var(--muted);
|
|
2266
|
+
font-size: 0.78rem;
|
|
2267
|
+
font-weight: 700;
|
|
2268
|
+
letter-spacing: 0.01em;
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
.ambient-suggestion-card__prompt {
|
|
2272
|
+
padding: 0.88rem 0.92rem;
|
|
2273
|
+
border-radius: 15px;
|
|
2274
|
+
background: rgba(255, 255, 255, 0.04);
|
|
2275
|
+
border: 1px solid rgba(156, 181, 197, 0.12);
|
|
2276
|
+
color: #eef8ff;
|
|
2277
|
+
font-size: 0.9rem;
|
|
2278
|
+
line-height: 1.55;
|
|
2279
|
+
white-space: pre-wrap;
|
|
2280
|
+
word-break: break-word;
|
|
2281
|
+
overflow-wrap: anywhere;
|
|
2282
|
+
font-family: "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2111
2285
|
.detail-diff-thread__header {
|
|
2112
2286
|
width: 100%;
|
|
2113
2287
|
display: grid;
|