pi-studio 0.9.26 → 0.9.28
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/CHANGELOG.md +27 -0
- package/README.md +1 -1
- package/client/studio-client.js +338 -16
- package/client/studio.css +97 -2
- package/index.ts +328 -41
- package/package.json +1 -1
package/client/studio.css
CHANGED
|
@@ -883,6 +883,12 @@
|
|
|
883
883
|
font-weight: 650;
|
|
884
884
|
}
|
|
885
885
|
|
|
886
|
+
.completion-suggestion-meta {
|
|
887
|
+
color: var(--studio-info-text, var(--muted));
|
|
888
|
+
font-size: 11px;
|
|
889
|
+
font-weight: 500;
|
|
890
|
+
}
|
|
891
|
+
|
|
886
892
|
.completion-suggestion-text {
|
|
887
893
|
margin: 0;
|
|
888
894
|
max-height: 180px;
|
|
@@ -4235,6 +4241,82 @@
|
|
|
4235
4241
|
max-width: 34ch;
|
|
4236
4242
|
}
|
|
4237
4243
|
|
|
4244
|
+
.footer-model-btn {
|
|
4245
|
+
border: 1px solid transparent;
|
|
4246
|
+
border-radius: 7px;
|
|
4247
|
+
background: transparent;
|
|
4248
|
+
color: inherit;
|
|
4249
|
+
font: inherit;
|
|
4250
|
+
text-align: left;
|
|
4251
|
+
padding: 2px 4px;
|
|
4252
|
+
cursor: pointer;
|
|
4253
|
+
}
|
|
4254
|
+
|
|
4255
|
+
.footer-model-btn:hover,
|
|
4256
|
+
.footer-model-btn:focus-visible,
|
|
4257
|
+
.footer-model-btn.is-open {
|
|
4258
|
+
background: var(--panel-2);
|
|
4259
|
+
border-color: var(--control-border);
|
|
4260
|
+
color: var(--text);
|
|
4261
|
+
outline: none;
|
|
4262
|
+
}
|
|
4263
|
+
|
|
4264
|
+
.footer-model-menu {
|
|
4265
|
+
position: fixed;
|
|
4266
|
+
left: 12px;
|
|
4267
|
+
bottom: 38px;
|
|
4268
|
+
width: min(440px, calc(100vw - 24px));
|
|
4269
|
+
padding: 10px;
|
|
4270
|
+
border: 1px solid var(--panel-border);
|
|
4271
|
+
border-radius: 12px;
|
|
4272
|
+
background: var(--panel);
|
|
4273
|
+
color: var(--text);
|
|
4274
|
+
box-shadow: 0 18px 46px var(--shadow-color);
|
|
4275
|
+
z-index: 110;
|
|
4276
|
+
}
|
|
4277
|
+
|
|
4278
|
+
.footer-model-menu[hidden] {
|
|
4279
|
+
display: none !important;
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
.footer-model-menu-heading {
|
|
4283
|
+
margin: 0 2px 8px;
|
|
4284
|
+
color: var(--muted);
|
|
4285
|
+
font-size: 11px;
|
|
4286
|
+
font-weight: 650;
|
|
4287
|
+
text-transform: uppercase;
|
|
4288
|
+
letter-spacing: 0.06em;
|
|
4289
|
+
}
|
|
4290
|
+
|
|
4291
|
+
.footer-model-menu-field {
|
|
4292
|
+
display: grid;
|
|
4293
|
+
gap: 4px;
|
|
4294
|
+
margin: 8px 0;
|
|
4295
|
+
min-width: 0;
|
|
4296
|
+
}
|
|
4297
|
+
|
|
4298
|
+
.footer-model-menu-field span,
|
|
4299
|
+
.footer-model-menu-note {
|
|
4300
|
+
color: var(--muted);
|
|
4301
|
+
font-size: 12px;
|
|
4302
|
+
line-height: 1.35;
|
|
4303
|
+
}
|
|
4304
|
+
|
|
4305
|
+
.footer-model-menu-field select {
|
|
4306
|
+
width: 100%;
|
|
4307
|
+
min-width: 0;
|
|
4308
|
+
background: var(--panel-2);
|
|
4309
|
+
color: var(--text);
|
|
4310
|
+
border: 1px solid var(--control-border);
|
|
4311
|
+
border-radius: 8px;
|
|
4312
|
+
padding: 5px 7px;
|
|
4313
|
+
font: inherit;
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4316
|
+
.footer-model-menu-note {
|
|
4317
|
+
margin-top: 8px;
|
|
4318
|
+
}
|
|
4319
|
+
|
|
4238
4320
|
.footer-meta-terminal {
|
|
4239
4321
|
flex: 0 4 auto;
|
|
4240
4322
|
max-width: 34ch;
|
|
@@ -5623,14 +5705,27 @@
|
|
|
5623
5705
|
font-weight: 450;
|
|
5624
5706
|
}
|
|
5625
5707
|
|
|
5626
|
-
body.studio-ui-refresh .studio-refresh-menu-item > .source-origin-summary
|
|
5627
|
-
body.studio-ui-refresh .studio-refresh-menu-item > .source-session-summary {
|
|
5708
|
+
body.studio-ui-refresh .studio-refresh-menu-item > .source-origin-summary {
|
|
5628
5709
|
width: 100%;
|
|
5710
|
+
min-width: 0;
|
|
5629
5711
|
border-color: var(--border-subtle);
|
|
5630
5712
|
background: var(--panel-2);
|
|
5631
5713
|
color: var(--studio-info-text, var(--muted));
|
|
5632
5714
|
white-space: normal;
|
|
5715
|
+
overflow-wrap: anywhere;
|
|
5716
|
+
line-height: 1.35;
|
|
5717
|
+
font-weight: 500;
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5720
|
+
body.studio-ui-refresh .studio-refresh-menu-note {
|
|
5721
|
+
width: 100%;
|
|
5722
|
+
min-width: 0;
|
|
5723
|
+
padding: 4px 6px;
|
|
5724
|
+
color: var(--muted);
|
|
5725
|
+
font-size: 12px;
|
|
5633
5726
|
line-height: 1.35;
|
|
5727
|
+
white-space: normal;
|
|
5728
|
+
overflow-wrap: anywhere;
|
|
5634
5729
|
}
|
|
5635
5730
|
|
|
5636
5731
|
body.studio-ui-refresh .studio-refresh-menu #critiqueBtn {
|