dsh-mnemon-source-memory-spaces 0.5.11 → 0.5.13
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/lib/client.js +306 -305
- package/lib/index.js +25 -7
- package/lib/native-cli.d.ts +7 -1
- package/lib/native-cli.js +38 -1
- package/lib/types/client/pages.d.ts +2 -1
- package/package.json +5 -5
- package/presentation/locales.json +62 -88
- package/presentation/page.module.css +10 -28
- package/presentation/sidebar.module.css +3 -3
|
@@ -232,6 +232,7 @@ button.readSourceCard:hover { background: var(--mn-hover); }
|
|
|
232
232
|
.providerFields details { min-width: 0; }
|
|
233
233
|
.providerFields summary { width: fit-content; color: var(--mn-muted); cursor: pointer; font-size: 12px; line-height: 18px; }
|
|
234
234
|
.providerFields summary:hover { color: var(--mn-text); }
|
|
235
|
+
.providerEnableHint { display: block; margin-top: 8px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
235
236
|
.providerAdvancedGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
|
|
236
237
|
.providerFieldControl .providerSecretClear { display: flex; align-items: center; gap: 6px; color: var(--mn-muted); cursor: pointer; font-size: 12px; font-weight: 400; }
|
|
237
238
|
.providerWriteHint { display: block; margin-top: 4px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
@@ -324,12 +325,8 @@ button.readSourceCard:hover { background: var(--mn-hover); }
|
|
|
324
325
|
|
|
325
326
|
/* Search: a DSH Input-style query field over the controls. */
|
|
326
327
|
.searchBar { margin-bottom: 16px; padding: 14px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
327
|
-
.queryField {
|
|
328
|
-
.
|
|
329
|
-
.queryField > span { color: var(--mn-faint); font-size: 15px; line-height: 1; }
|
|
330
|
-
.queryField input { width: 100%; height: 40px; border: 0; outline: 0; background: transparent; font-size: 14px; }
|
|
331
|
-
.queryField input::placeholder { color: var(--dsw-alias-label-dimmed); }
|
|
332
|
-
.queryField kbd { color: var(--mn-caption); font: 12px var(--mn-sans); }
|
|
328
|
+
.queryField { width: 100%; height: 40px; }
|
|
329
|
+
.searchChoice { min-width: 160px; }
|
|
333
330
|
.searchControls { display: flex; align-items: flex-end; justify-content: flex-end; gap: 12px; padding-top: 12px; }
|
|
334
331
|
.searchActions { display: flex; align-items: center; gap: 8px; }
|
|
335
332
|
.agentAnswer { margin-bottom: 16px; padding: 16px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
@@ -338,18 +335,10 @@ button.readSourceCard:hover { background: var(--mn-hover); }
|
|
|
338
335
|
.agentAnswerHeading h3 { margin: 2px 0 0; font-size: 14px; font-weight: 500; line-height: 22px; }
|
|
339
336
|
.agentAnswerHeading > code { color: var(--mn-faint); font-size: 11px; }
|
|
340
337
|
.agentAnswer > p { margin: 12px 0; white-space: pre-wrap; color: var(--mn-text); font-size: 14px; line-height: 22px; }
|
|
341
|
-
.agentCitations { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: .5px solid var(--mn-line); }
|
|
342
|
-
.agentCitations
|
|
343
|
-
.
|
|
338
|
+
.agentCitations { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: .5px solid var(--mn-line); }
|
|
339
|
+
.agentCitations small { color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
340
|
+
.agentCitations span { max-width: 100%; overflow: hidden; padding: 1px 8px; border-radius: 999px; color: var(--mn-muted); background: var(--mn-fill); font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
|
|
344
341
|
.fieldWide { display: grid; gap: 6px; color: var(--mn-muted); font-size: 12px; font-weight: 500; line-height: 18px; }
|
|
345
|
-
.searchControls select,
|
|
346
|
-
.listToolbar input,
|
|
347
|
-
.listToolbar select,
|
|
348
|
-
.entitySearch input { min-width: 140px; height: 32px; border: .5px solid var(--mn-field-line); border-radius: var(--dsw-radius-md); outline: 0; padding: 0 10px; color: var(--mn-text); background: var(--mn-input); font-size: 13px; font-weight: 400; }
|
|
349
|
-
.searchControls select:focus,
|
|
350
|
-
.listToolbar input:focus,
|
|
351
|
-
.listToolbar select:focus,
|
|
352
|
-
.entitySearch input:focus,
|
|
353
342
|
.supervisedForm textarea:focus { border-color: var(--mn-accent); }
|
|
354
343
|
.singleColumn { max-width: 830px; }
|
|
355
344
|
.resultLayout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 16px; align-items: start; }
|
|
@@ -391,12 +380,8 @@ button.readSourceCard:hover { background: var(--mn-hover); }
|
|
|
391
380
|
.supervisedComposer { border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
392
381
|
.supervisedComposer { overflow: hidden; }
|
|
393
382
|
.supervisedForm { padding: 16px; }
|
|
394
|
-
.
|
|
395
|
-
.
|
|
396
|
-
.sessionReady,
|
|
397
|
-
.sessionMissing { padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; line-height: 17px; }
|
|
398
|
-
.sessionReady { color: var(--mn-success); background: color-mix(in srgb, var(--mn-success) 10%, transparent); }
|
|
399
|
-
.sessionMissing { color: var(--mn-danger); background: color-mix(in srgb, var(--mn-danger) 10%, transparent); }
|
|
383
|
+
.candidateHeading { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
|
|
384
|
+
.candidateHeading > label { color: var(--mn-text); font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
400
385
|
.supervisedForm textarea { width: 100%; resize: vertical; border: .5px solid var(--mn-field-line); border-radius: var(--dsw-radius-md); outline: 0; padding: 10px 12px; color: var(--mn-text); background: var(--mn-input); font-size: 14px; line-height: 22px; }
|
|
401
386
|
.sessionHint { margin: 8px 0 0; color: var(--mn-danger); font-size: 12px; line-height: 18px; }
|
|
402
387
|
.fieldWide { grid-column: 1 / -1; }
|
|
@@ -416,8 +401,7 @@ button.readSourceCard:hover { background: var(--mn-hover); }
|
|
|
416
401
|
.manualActions p { max-width: 520px; margin: 0; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
417
402
|
|
|
418
403
|
.listToolbar { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 8px; padding: 12px; border: .5px solid var(--mn-card-line); border-radius: var(--dsw-radius-lg); }
|
|
419
|
-
.listToolbar
|
|
420
|
-
.listToolbar select { width: 100%; min-width: 0; }
|
|
404
|
+
.listToolbar > * { min-width: 0; }
|
|
421
405
|
.listNotice { margin: 10px 2px 16px; color: var(--mn-faint); font-size: 12px; line-height: 18px; }
|
|
422
406
|
.listNotice span { margin-right: 8px; padding: 1px 8px; border-radius: 999px; color: var(--mn-success); background: color-mix(in srgb, var(--mn-success) 10%, transparent); font-size: 11px; font-weight: 500; line-height: 17px; }
|
|
423
407
|
.memoryList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
|
|
@@ -469,7 +453,6 @@ button.readSourceCard:hover { background: var(--mn-hover); }
|
|
|
469
453
|
.searchControls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
470
454
|
.searchActions { grid-column: 1 / -1; }
|
|
471
455
|
.searchActions > button { flex: 1; }
|
|
472
|
-
.searchControls select { width: 100%; min-width: 0; }
|
|
473
456
|
.listToolbar { grid-template-columns: 1fr; }
|
|
474
457
|
.bodyDirectoryHeader { display: grid; grid-template-columns: minmax(0, 1fr); }
|
|
475
458
|
.bodyDirectoryHeader > div { min-width: 0; }
|
|
@@ -490,8 +473,7 @@ button.readSourceCard:hover { background: var(--mn-hover); }
|
|
|
490
473
|
@media (max-width: 520px) {
|
|
491
474
|
.memoryHeaderActions { width: 100%; }
|
|
492
475
|
.memoryHeaderActions > button { flex: 1; }
|
|
493
|
-
.
|
|
494
|
-
.cardTop { align-items: flex-start; flex-direction: column; }
|
|
476
|
+
.cardTop { align-items: flex-start; flex-direction: column; }
|
|
495
477
|
.cardActions { align-items: stretch; flex-wrap: wrap; }
|
|
496
478
|
.cardActions button { flex: 1; }
|
|
497
479
|
.searchControls { grid-template-columns: 1fr; }
|
|
@@ -160,12 +160,12 @@
|
|
|
160
160
|
.shell .bodyCardHeader > [class*='bodySwitch'] { flex: 0 0 auto; }
|
|
161
161
|
.shell article[class*='bodyCard'] > p {
|
|
162
162
|
display: -webkit-box;
|
|
163
|
-
min-height:
|
|
164
|
-
max-height:
|
|
163
|
+
min-height: 40px;
|
|
164
|
+
max-height: 40px;
|
|
165
165
|
margin: 10px 0;
|
|
166
166
|
overflow: hidden;
|
|
167
167
|
-webkit-box-orient: vertical;
|
|
168
|
-
-webkit-line-clamp:
|
|
168
|
+
-webkit-line-clamp: 2;
|
|
169
169
|
}
|
|
170
170
|
.shell .bodyCardFooter {
|
|
171
171
|
display: grid;
|