pi-studio 0.9.14 → 0.9.16
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 +20 -1
- package/README.md +3 -2
- package/client/studio-client.js +560 -20
- package/client/studio.css +215 -5
- package/index.ts +324 -18
- package/package.json +1 -1
package/client/studio.css
CHANGED
|
@@ -849,6 +849,63 @@
|
|
|
849
849
|
-webkit-text-fill-color: transparent;
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
+
.completion-suggestion-panel {
|
|
853
|
+
border: 1px solid var(--control-border);
|
|
854
|
+
border-radius: 10px;
|
|
855
|
+
background: var(--panel-2);
|
|
856
|
+
box-shadow: var(--panel-shadow);
|
|
857
|
+
overflow: hidden;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
.completion-suggestion-panel[hidden] {
|
|
861
|
+
display: none !important;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.completion-suggestion-header,
|
|
865
|
+
.completion-suggestion-actions {
|
|
866
|
+
display: flex;
|
|
867
|
+
align-items: center;
|
|
868
|
+
justify-content: space-between;
|
|
869
|
+
gap: 8px;
|
|
870
|
+
padding: 8px 10px;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.completion-suggestion-header {
|
|
874
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
875
|
+
color: var(--studio-info-text, var(--muted));
|
|
876
|
+
font-size: 12px;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.completion-suggestion-header strong {
|
|
880
|
+
color: var(--text);
|
|
881
|
+
font-weight: 650;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.completion-suggestion-text {
|
|
885
|
+
margin: 0;
|
|
886
|
+
max-height: 180px;
|
|
887
|
+
overflow: auto;
|
|
888
|
+
padding: 10px;
|
|
889
|
+
white-space: pre-wrap;
|
|
890
|
+
word-break: break-word;
|
|
891
|
+
font-family: var(--font-mono);
|
|
892
|
+
font-size: var(--studio-editor-font-size);
|
|
893
|
+
line-height: 1.45;
|
|
894
|
+
color: var(--text);
|
|
895
|
+
background: var(--editor-bg);
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.completion-suggestion-actions {
|
|
899
|
+
justify-content: flex-end;
|
|
900
|
+
border-top: 1px solid var(--border-subtle);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.completion-suggestion-header button,
|
|
904
|
+
.completion-suggestion-actions button {
|
|
905
|
+
padding: 4px 8px;
|
|
906
|
+
font-size: 12px;
|
|
907
|
+
}
|
|
908
|
+
|
|
852
909
|
.editor-selection-actions {
|
|
853
910
|
position: absolute;
|
|
854
911
|
top: 12px;
|
|
@@ -2666,6 +2723,148 @@
|
|
|
2666
2723
|
flex: 0 0 auto;
|
|
2667
2724
|
}
|
|
2668
2725
|
|
|
2726
|
+
.files-panel {
|
|
2727
|
+
display: flex;
|
|
2728
|
+
flex-direction: column;
|
|
2729
|
+
gap: 10px;
|
|
2730
|
+
color: var(--text);
|
|
2731
|
+
font-family: var(--font-ui);
|
|
2732
|
+
font-size: var(--studio-response-font-size);
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
.files-toolbar {
|
|
2736
|
+
display: flex;
|
|
2737
|
+
align-items: center;
|
|
2738
|
+
justify-content: space-between;
|
|
2739
|
+
gap: 10px;
|
|
2740
|
+
flex-wrap: wrap;
|
|
2741
|
+
padding: 10px;
|
|
2742
|
+
border: 1px solid var(--border-subtle);
|
|
2743
|
+
border-radius: 10px;
|
|
2744
|
+
background: var(--panel-2);
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
.files-path-group {
|
|
2748
|
+
min-width: 0;
|
|
2749
|
+
display: flex;
|
|
2750
|
+
align-items: baseline;
|
|
2751
|
+
gap: 8px;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
.files-label {
|
|
2755
|
+
flex: 0 0 auto;
|
|
2756
|
+
font-size: 11px;
|
|
2757
|
+
font-weight: 700;
|
|
2758
|
+
letter-spacing: 0.04em;
|
|
2759
|
+
text-transform: uppercase;
|
|
2760
|
+
color: var(--studio-info-text, var(--muted));
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
.files-path,
|
|
2764
|
+
.files-subtitle span {
|
|
2765
|
+
min-width: 0;
|
|
2766
|
+
overflow: hidden;
|
|
2767
|
+
text-overflow: ellipsis;
|
|
2768
|
+
white-space: nowrap;
|
|
2769
|
+
font-family: var(--font-mono);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
.files-toolbar-actions,
|
|
2773
|
+
.files-actions {
|
|
2774
|
+
display: inline-flex;
|
|
2775
|
+
align-items: center;
|
|
2776
|
+
gap: 6px;
|
|
2777
|
+
flex-wrap: wrap;
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
.files-toolbar-actions button,
|
|
2781
|
+
.files-actions button {
|
|
2782
|
+
padding: 4px 7px;
|
|
2783
|
+
font-size: 11px;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
.files-subtitle,
|
|
2787
|
+
.files-notice,
|
|
2788
|
+
.files-empty {
|
|
2789
|
+
color: var(--studio-info-text, var(--muted));
|
|
2790
|
+
font-size: 12px;
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
.files-notice-error {
|
|
2794
|
+
color: var(--danger);
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
.files-list {
|
|
2798
|
+
display: grid;
|
|
2799
|
+
gap: 4px;
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
.files-row {
|
|
2803
|
+
display: grid;
|
|
2804
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2805
|
+
align-items: center;
|
|
2806
|
+
gap: 8px;
|
|
2807
|
+
padding: 5px 7px;
|
|
2808
|
+
border: 1px solid var(--border-subtle);
|
|
2809
|
+
border-radius: 9px;
|
|
2810
|
+
background: var(--panel);
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
.files-row:hover {
|
|
2814
|
+
border-color: var(--control-border);
|
|
2815
|
+
background: var(--panel-2);
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
.files-open-btn {
|
|
2819
|
+
display: grid;
|
|
2820
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
2821
|
+
align-items: center;
|
|
2822
|
+
gap: 8px;
|
|
2823
|
+
min-width: 0;
|
|
2824
|
+
padding: 3px 0;
|
|
2825
|
+
border: 0;
|
|
2826
|
+
background: transparent;
|
|
2827
|
+
color: var(--text);
|
|
2828
|
+
text-align: left;
|
|
2829
|
+
cursor: pointer;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
.files-open-btn:hover,
|
|
2833
|
+
.files-open-btn:focus-visible {
|
|
2834
|
+
outline: none;
|
|
2835
|
+
color: var(--accent);
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
.files-icon {
|
|
2839
|
+
width: 1.3em;
|
|
2840
|
+
text-align: center;
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
.files-name {
|
|
2844
|
+
min-width: 0;
|
|
2845
|
+
overflow: hidden;
|
|
2846
|
+
text-overflow: ellipsis;
|
|
2847
|
+
white-space: nowrap;
|
|
2848
|
+
font-weight: 550;
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
.files-meta {
|
|
2852
|
+
color: var(--studio-info-text, var(--muted));
|
|
2853
|
+
font-size: 11px;
|
|
2854
|
+
white-space: nowrap;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
@container (max-width: 620px) {
|
|
2858
|
+
.files-row,
|
|
2859
|
+
.files-open-btn {
|
|
2860
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2861
|
+
}
|
|
2862
|
+
.files-actions,
|
|
2863
|
+
.files-meta {
|
|
2864
|
+
justify-self: start;
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2669
2868
|
.trace-panel {
|
|
2670
2869
|
display: flex;
|
|
2671
2870
|
flex-direction: column;
|
|
@@ -3624,8 +3823,8 @@
|
|
|
3624
3823
|
|
|
3625
3824
|
.shortcuts-group dl > div {
|
|
3626
3825
|
display: grid;
|
|
3627
|
-
grid-template-columns: minmax(
|
|
3628
|
-
gap:
|
|
3826
|
+
grid-template-columns: minmax(260px, 260px) minmax(0, 1fr);
|
|
3827
|
+
gap: 24px;
|
|
3629
3828
|
align-items: baseline;
|
|
3630
3829
|
padding: 6px 10px;
|
|
3631
3830
|
border-top: 1px solid var(--border-subtle);
|
|
@@ -4046,13 +4245,18 @@
|
|
|
4046
4245
|
justify-content: stretch;
|
|
4047
4246
|
}
|
|
4048
4247
|
|
|
4049
|
-
body.studio-ui-refresh .studio-refresh-pane-tools
|
|
4050
|
-
body.studio-ui-refresh .studio-refresh-toolbar-state {
|
|
4248
|
+
body.studio-ui-refresh .studio-refresh-pane-tools {
|
|
4051
4249
|
justify-content: flex-start;
|
|
4052
4250
|
justify-items: start;
|
|
4053
4251
|
min-width: 0;
|
|
4054
4252
|
}
|
|
4055
4253
|
|
|
4254
|
+
body.studio-ui-refresh .studio-refresh-toolbar-state {
|
|
4255
|
+
justify-content: flex-end;
|
|
4256
|
+
justify-items: end;
|
|
4257
|
+
min-width: 0;
|
|
4258
|
+
}
|
|
4259
|
+
|
|
4056
4260
|
body.studio-ui-refresh .studio-refresh-pane-tools,
|
|
4057
4261
|
body.studio-ui-refresh .studio-refresh-title-group,
|
|
4058
4262
|
body.studio-ui-refresh .studio-refresh-utility-left {
|
|
@@ -4060,7 +4264,7 @@
|
|
|
4060
4264
|
}
|
|
4061
4265
|
|
|
4062
4266
|
body.studio-ui-refresh .studio-refresh-toolbar-state .studio-refresh-action-line {
|
|
4063
|
-
justify-content: flex-
|
|
4267
|
+
justify-content: flex-end;
|
|
4064
4268
|
}
|
|
4065
4269
|
}
|
|
4066
4270
|
|
|
@@ -4522,6 +4726,12 @@
|
|
|
4522
4726
|
font-size: 12px;
|
|
4523
4727
|
}
|
|
4524
4728
|
|
|
4729
|
+
body.studio-ui-refresh .studio-refresh-toolbar-actions .studio-refresh-action-line button:not(#sendRunBtn):not(#queueSteerBtn):not(#sendReplBtn):not(.request-stop-active) {
|
|
4730
|
+
min-height: 26px;
|
|
4731
|
+
padding: 5px 8px;
|
|
4732
|
+
line-height: 1.2;
|
|
4733
|
+
}
|
|
4734
|
+
|
|
4525
4735
|
body.studio-ui-refresh .studio-refresh-toolbar button:not(#sendRunBtn):not(#queueSteerBtn):not(#sendReplBtn):not(.request-stop-active),
|
|
4526
4736
|
body.studio-ui-refresh .studio-refresh-toolbar select {
|
|
4527
4737
|
color: color-mix(in srgb, var(--text) 72%, var(--muted));
|