@musnows/scriverse 0.5.0 → 0.5.2

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.
@@ -8,6 +8,7 @@
8
8
  --accent: #8b3d2c;
9
9
  --accent-dark: #6e2e21;
10
10
  --green: #5e765c;
11
+ --task-running: #356f94;
11
12
  --shadow: 0 18px 50px rgba(49, 42, 32, 0.12);
12
13
  --surface: #fffefa;
13
14
  --surface-soft: rgba(255,255,255,.48);
@@ -234,6 +235,7 @@
234
235
  --accent: #bd6550;
235
236
  --accent-dark: #e08a72;
236
237
  --green: #89a985;
238
+ --task-running: #7fb8d8;
237
239
  --shadow: 0 18px 50px rgba(0,0,0,.38);
238
240
  --surface: #24221e;
239
241
  --surface-soft: rgba(48,45,39,.74);
@@ -1147,18 +1149,21 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
1147
1149
  .platform-system-prompt-section { margin-bottom: 36px; }
1148
1150
  .task-auto-run-panel {
1149
1151
  display: grid;
1152
+ grid-template-columns: minmax(0, 1fr) 148px;
1150
1153
  gap: 12px;
1154
+ column-gap: 24px;
1151
1155
  margin-bottom: 22px;
1152
1156
  padding: 14px;
1153
1157
  border: 1px solid var(--line);
1154
1158
  border-radius: 5px;
1155
1159
  background: var(--surface-soft);
1156
1160
  }
1157
- .task-auto-run-copy { display: grid; gap: 4px; }
1161
+ .task-auto-run-copy { display: grid; grid-column: 1; gap: 4px; }
1158
1162
  .task-auto-run-copy strong { font-size: 13px; }
1159
1163
  .task-auto-run-copy small { color: var(--muted); font-size: 10px; line-height: 1.5; }
1160
1164
  .task-auto-run-controls {
1161
1165
  display: flex;
1166
+ grid-column: 1;
1162
1167
  flex-wrap: wrap;
1163
1168
  align-items: end;
1164
1169
  gap: 10px 12px;
@@ -1179,8 +1184,26 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
1179
1184
  align-self: center;
1180
1185
  margin: 0;
1181
1186
  }
1182
- .task-auto-run-meta { margin: 0; color: var(--muted); font-size: 10px; }
1183
- .task-auto-run-progress { display: grid; gap: 6px; width: min(100%, 420px); }
1187
+ .task-auto-run-meta { grid-column: 1; margin: 0; color: var(--muted); font-size: 10px; }
1188
+ .task-auto-run-progress {
1189
+ display: grid;
1190
+ grid-column: 2;
1191
+ grid-row: 1 / 4;
1192
+ align-self: center;
1193
+ justify-self: center;
1194
+ width: 132px;
1195
+ }
1196
+ .task-auto-run-progress-ring { position: relative; display: grid; width: 132px; height: 132px; place-items: center; }
1197
+ .task-auto-run-progress-ring svg { display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
1198
+ .task-auto-run-progress-ring-track, .task-auto-run-progress-ring-value { fill: none; stroke-width: 8; }
1199
+ .task-auto-run-progress-ring-track { stroke: color-mix(in srgb, var(--line) 72%, transparent); }
1200
+ .task-auto-run-progress-ring-value { stroke: var(--accent); stroke-linecap: round; transition: stroke-dasharray .25s ease; }
1201
+ .task-auto-run-progress-ring.is-running svg { animation: task-auto-run-active 1.8s ease-in-out infinite; }
1202
+ .task-auto-run-progress-ring.is-running .task-auto-run-progress-ring-value { stroke: var(--task-running); }
1203
+ .task-auto-run-progress-ring-label { position: absolute; inset: 22px; display: grid; align-content: center; justify-items: center; gap: 3px; text-align: center; }
1204
+ .task-auto-run-progress-ring-label strong { color: var(--ink); font-family: var(--font-latin), monospace; font-size: 22px; font-weight: 600; line-height: 1; }
1205
+ .task-auto-run-progress-ring-label span { color: var(--muted); font-size: 9px; line-height: 1.35; }
1206
+ .task-auto-run-progress-bar-layout { display: none; }
1184
1207
  .task-auto-run-progress-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
1185
1208
  .task-auto-run-progress-label strong { color: var(--ink); font-family: var(--font-latin), monospace; font-size: 10px; font-weight: 600; }
1186
1209
  .task-auto-run-progress-bar { width: 100%; height: 6px; overflow: hidden; border: 0; border-radius: 999px; appearance: none; background: color-mix(in srgb, var(--line) 72%, transparent); }
@@ -1188,8 +1211,8 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
1188
1211
  .task-auto-run-progress-bar::-webkit-progress-value { border-radius: inherit; background: var(--accent); transition: width .25s ease; }
1189
1212
  .task-auto-run-progress-bar::-moz-progress-bar { border-radius: inherit; background: var(--accent); transition: width .25s ease; }
1190
1213
  .task-auto-run-progress-bar.is-running { animation: task-auto-run-active 1.8s ease-in-out infinite; }
1191
- .task-auto-run-progress-bar.is-running::-webkit-progress-value { background: var(--green); }
1192
- .task-auto-run-progress-bar.is-running::-moz-progress-bar { background: var(--green); }
1214
+ .task-auto-run-progress-bar.is-running::-webkit-progress-value { background: var(--task-running); }
1215
+ .task-auto-run-progress-bar.is-running::-moz-progress-bar { background: var(--task-running); }
1193
1216
  .task-status-cell { width: 116px; white-space: nowrap; }
1194
1217
  .task-status-badge {
1195
1218
  --task-status-color: var(--muted);
@@ -1225,7 +1248,7 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
1225
1248
  .task-status-badge.is-pending { --task-status-color: color-mix(in srgb, var(--accent) 48%, #b69043); }
1226
1249
  .task-status-badge.is-pending .task-status-indicator { background: transparent; border: 1px solid currentColor; animation: task-status-waiting 1.7s ease-in-out infinite; }
1227
1250
  .task-status-badge.is-running {
1228
- --task-status-color: var(--green);
1251
+ --task-status-color: var(--task-running);
1229
1252
  animation: task-status-running-breathe 1.8s ease-in-out infinite;
1230
1253
  }
1231
1254
  .task-status-badge.is-running .task-status-indicator::after { animation: task-status-running-ripple 1.8s ease-out infinite; }
@@ -1242,7 +1265,8 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
1242
1265
  .task-progress-value { color: var(--ink); font-family: var(--font-latin), monospace; font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 600; }
1243
1266
  .task-progress-track { position: relative; display: block; height: 5px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--line) 72%, transparent); }
1244
1267
  .task-progress-fill { position: relative; display: block; width: var(--task-progress); height: 100%; overflow: hidden; border-radius: inherit; background: var(--muted); transition: width .35s ease; }
1245
- .task-progress.is-running .task-progress-fill, .task-progress.is-review .task-progress-fill, .task-progress.is-completed .task-progress-fill { background: var(--green); }
1268
+ .task-progress.is-running .task-progress-fill { background: var(--task-running); }
1269
+ .task-progress.is-review .task-progress-fill, .task-progress.is-completed .task-progress-fill { background: var(--green); }
1246
1270
  .task-progress.is-partial .task-progress-fill { background: var(--accent); }
1247
1271
  .task-progress.is-running .task-progress-fill::after {
1248
1272
  content: "";
@@ -1287,11 +1311,55 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
1287
1311
  font-size: 10px;
1288
1312
  white-space: pre-wrap;
1289
1313
  }
1314
+ .task-result-readable { display: grid; gap: 10px; margin-top: 7px !important; }
1315
+ .task-result-section { display: grid; gap: 7px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
1316
+ .task-result-section h4 { margin: 0 0 2px; color: var(--ink); font-size: 13px; }
1317
+ .task-result-section code { overflow-wrap: anywhere; }
1318
+ .task-result-summary { white-space: pre-wrap; }
1319
+ .task-result-storage-list { display: grid; gap: 6px; }
1320
+ .task-result-storage-list article { display: grid; gap: 3px; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); }
1321
+ .task-result-storage-list article strong, .task-result-storage-list article span, .task-result-storage-list article small { overflow-wrap: anywhere; }
1322
+ .task-result-storage-list article span { color: var(--muted); }
1323
+ .task-result-storage-list article small { color: var(--muted); }
1324
+ .task-result-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-top: 3px !important; border: 1px solid var(--line); border-radius: 5px; background: var(--line); }
1325
+ .task-result-metrics span { display: flex; gap: 5px; align-items: baseline; padding: 8px 10px; background: var(--surface-soft); color: var(--muted); }
1326
+ .task-result-metrics strong { color: var(--accent-dark); font-family: var(--font-latin), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 15px; }
1327
+ .task-result-item { display: grid; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); }
1328
+ .task-result-item + .task-result-item { margin-top: 3px; }
1329
+ .task-result-item > header { display: grid; gap: 2px; min-width: 0; }
1330
+ .task-result-item > header > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
1331
+ .task-result-item > header strong { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
1332
+ .task-result-item > header small { color: var(--muted); }
1333
+ .task-result-item-description { white-space: pre-wrap; }
1334
+ .task-result-item-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; }
1335
+ .task-result-item-details > div { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px; min-width: 0; padding: 6px 8px; border-radius: 4px; background: var(--surface); }
1336
+ .task-result-item-details dt { color: var(--muted); font-size: 10px; }
1337
+ .task-result-item-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 10px; }
1338
+ .task-result-tags { display: flex; flex-wrap: wrap; gap: 5px; }
1339
+ .task-result-tags span { padding: 2px 7px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 999px; color: var(--accent-dark); font-size: 9px; }
1340
+ .task-result-item details, .task-result-technical { border-top: 1px solid var(--line); padding-top: 7px; }
1341
+ .task-result-item summary, .task-result-technical > summary { width: fit-content; cursor: pointer; color: var(--accent-dark); font-size: 10px; }
1342
+ .task-result-evidence { display: grid; gap: 7px; margin-top: 8px !important; padding-left: 17px !important; }
1343
+ .task-result-evidence li { padding-left: 2px; }
1344
+ .task-result-evidence li strong, .task-result-evidence li q, .task-result-evidence li small { display: block; }
1345
+ .task-result-evidence li strong { font-size: 10px; }
1346
+ .task-result-evidence li q { margin-top: 2px; color: var(--ink); }
1347
+ .task-result-evidence li small, .task-result-muted { color: var(--muted); }
1348
+ .task-result-empty, .task-result-warning { padding: 9px; border-radius: 5px; background: var(--surface-soft); color: var(--muted); }
1349
+ .task-result-warning { border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line)); color: var(--ink); }
1350
+ .task-result-technical { margin-top: 2px; }
1351
+ .task-result-json-loader { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 10px 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
1352
+ .task-result-json-loader > div:first-child { display: grid; gap: 3px; }
1353
+ .task-result-json-loader p { color: var(--muted); }
1354
+ .task-result-json-loader button { align-self: center; }
1355
+ .task-result-json-content { grid-column: 1 / -1; min-width: 0; }
1356
+ .task-result-json-content:empty { display: none; }
1357
+ .task-result-json-content textarea { width: 100%; min-height: 360px; max-height: 52vh; resize: vertical; overflow: auto; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-soft); color: var(--ink); font-family: var(--font-latin), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; line-height: 1.55; tab-size: 2; white-space: pre; }
1290
1358
  .task-trace-section { display: grid; gap: 16px; min-width: 0; margin-top: 6px; }
1291
1359
  .task-trace-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 8px; }
1292
1360
  .task-trace-heading h3 { margin: 3px 0 0; font-size: 19px; font-weight: 600; }
1293
1361
  .task-trace-heading p { max-width: 500px; color: var(--muted); text-align: right; }
1294
- .task-trace-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); }
1362
+ .task-trace-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); }
1295
1363
  .task-trace-metrics > div { display: grid; gap: 2px; padding: 13px 15px; border-right: 1px solid var(--line); }
1296
1364
  .task-trace-metrics > div:last-child { border-right: 0; }
1297
1365
  .task-trace-metrics strong { color: var(--accent-dark); font-family: var(--font-latin), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 17px; font-variant-numeric: tabular-nums; }
@@ -1303,12 +1371,18 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
1303
1371
  .task-trace-call > summary:hover, .task-trace-call > summary:focus-visible { background: var(--surface-soft); outline: none; }
1304
1372
  .task-trace-call > summary > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
1305
1373
  .task-trace-call > summary small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
1374
+ .task-trace-call > summary .task-trace-call-sources { overflow: visible; color: var(--ink-soft); line-height: 1.45; text-overflow: clip; white-space: normal; }
1306
1375
  .task-trace-call-index, .task-trace-round-index { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)); border-radius: 50%; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); color: var(--accent-dark); font-family: var(--font-latin), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; font-weight: 700; }
1307
1376
  .task-trace-status { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; }
1308
1377
  .task-trace-call.is-completed .task-trace-status { border-color: color-mix(in srgb, var(--green) 42%, var(--line)); color: var(--green); }
1378
+ .task-trace-call.is-failed .task-trace-status { border-color: color-mix(in srgb, var(--accent) 72%, var(--line)); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-dark); font-weight: 700; }
1309
1379
  .task-trace-call-body { display: grid; gap: 13px; padding: 0 15px 16px 54px; border-top: 1px solid var(--line); }
1310
1380
  .task-trace-call-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 12px; color: var(--muted); font-size: 9px !important; }
1311
1381
  .task-trace-call-meta code { overflow-wrap: anywhere; }
1382
+ .task-trace-load-state { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 6px; background: var(--surface-soft); }
1383
+ .task-trace-load-state.is-loaded { display: grid; align-items: stretch; }
1384
+ .task-trace-load-state > div:first-child { display: grid; gap: 4px; }
1385
+ .task-trace-load-state p { margin: 0; color: var(--muted); font-size: 9px; }
1312
1386
  .task-trace-initial, .task-trace-prompt, .task-trace-response, .task-trace-tools > details, .task-trace-request-meta { border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); }
1313
1387
  .task-trace-initial > summary, .task-trace-prompt > summary, .task-trace-response > summary, .task-trace-tools > details > summary, .task-trace-request-meta > summary { padding: 9px 11px; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 600; }
1314
1388
  .task-trace-initial[open] > summary, .task-trace-prompt[open] > summary, .task-trace-response[open] > summary, .task-trace-tools > details[open] > summary, .task-trace-request-meta[open] > summary { border-bottom: 1px solid var(--line); color: var(--ink); }
@@ -2313,6 +2387,11 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
2313
2387
  @media (max-width: 850px) {
2314
2388
  .top-actions .ghost-button:not(.settings-button) { display: none; }
2315
2389
  .book-shelf { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
2390
+ .task-auto-run-panel { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
2391
+ .task-auto-run-copy, .task-auto-run-controls, .task-auto-run-meta { grid-column: 1; }
2392
+ .task-auto-run-progress { grid-column: 1; grid-row: auto; justify-self: stretch; width: 100%; }
2393
+ .task-auto-run-progress-ring { display: none; }
2394
+ .task-auto-run-progress-bar-layout { display: grid; gap: 6px; width: 100%; }
2316
2395
  .settings-hub-grid { grid-template-columns: 1fr; }
2317
2396
  .settings-layout-toolbar, .module-layout-toolbar { justify-content: stretch; }
2318
2397
  .settings-layout-toggle, .module-layout-toggle { width: 100%; }
@@ -2556,15 +2635,19 @@ select:focus, input:focus, textarea:focus { border-color: #a77768; box-shadow: 0
2556
2635
  .dialog-fields, .appearance-grid, .access-dialog-body, .account-settings-body, .versions-list, .entity-history-list { padding-inline: 16px; }
2557
2636
  .task-detail-overview { grid-template-columns: minmax(0, 1fr); padding: 12px; }
2558
2637
  .task-detail-overview > * { grid-column: 1 !important; }
2638
+ .task-result-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
2639
+ .task-result-item-details, .task-result-json-loader { grid-template-columns: minmax(0, 1fr); }
2640
+ .task-result-json-loader button { justify-self: start; }
2559
2641
  .task-trace-heading { align-items: start; flex-direction: column; gap: 5px; }
2560
2642
  .task-trace-heading p { text-align: left; }
2561
2643
  .task-trace-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
2562
2644
  .task-trace-metrics > div { border-bottom: 1px solid var(--line); }
2563
2645
  .task-trace-metrics > div:nth-child(2n) { border-right: 0; }
2564
- .task-trace-metrics > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
2646
+ .task-trace-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
2565
2647
  .task-trace-call > summary { grid-template-columns: 28px minmax(0, 1fr); }
2566
2648
  .task-trace-call > summary .task-trace-status { grid-column: 2; justify-self: start; }
2567
2649
  .task-trace-call-body { padding: 0 10px 12px; }
2650
+ .task-trace-load-state { align-items: stretch; flex-direction: column; }
2568
2651
  .task-trace-round { padding: 10px; }
2569
2652
  .task-trace-round-header { grid-template-columns: 28px minmax(0, 1fr); }
2570
2653
  .task-trace-round-header time { grid-column: 2; }