clavarium 0.2.256-next.1 → 0.2.258-next.1

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.
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.256-next.1",
3
+ "version": "0.2.258-next.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "clavarium",
9
- "version": "0.2.256-next.1",
9
+ "version": "0.2.258-next.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
13
13
  "@xterm/xterm": "^6.0.0",
14
- "clavarium-binder": "0.1.53-next.1",
14
+ "clavarium-binder": "0.1.54-next.1",
15
15
  "clavarium-docket": "0.1.1",
16
- "clavarium-parley": "0.17.36-next.1",
16
+ "clavarium-parley": "0.17.37-next.1",
17
17
  "clavarium-tether": "0.1.0-next.46",
18
18
  "mammoth": "1.13.0",
19
19
  "mermaid": "11.17.2",
@@ -761,9 +761,9 @@
761
761
  }
762
762
  },
763
763
  "node_modules/clavarium-binder": {
764
- "version": "0.1.53-next.1",
765
- "resolved": "https://registry.npmjs.org/clavarium-binder/-/clavarium-binder-0.1.53-next.1.tgz",
766
- "integrity": "sha512-+8ByJxOR5RE85itbhfhKRD9nmqvZK46y9JHzQCCbRb+LK9jkMJsouTuKXjJ3pY5tsBTUs7ox1/PxqAnMSFlhAw==",
764
+ "version": "0.1.54-next.1",
765
+ "resolved": "https://registry.npmjs.org/clavarium-binder/-/clavarium-binder-0.1.54-next.1.tgz",
766
+ "integrity": "sha512-yLeiiN5wmtg0Ue3RgpLSyPbMpUYL019YdSeDB3ZY565/qBhHLDJyXRJFRHUHUMJ3X/BxEn0U9+VOh3Hsen5Q2Q==",
767
767
  "license": "MIT",
768
768
  "bin": {
769
769
  "binder": "bin/binder.mjs",
@@ -787,9 +787,9 @@
787
787
  }
788
788
  },
789
789
  "node_modules/clavarium-parley": {
790
- "version": "0.17.36-next.1",
791
- "resolved": "https://registry.npmjs.org/clavarium-parley/-/clavarium-parley-0.17.36-next.1.tgz",
792
- "integrity": "sha512-97LpM00r31treOH3rlWBJCTl2C+XgV5hyabP++w3Cu2GveDEcLRCoQXnlii8sZ3Of7ckTjYCDQOAApu6uBVTTg==",
790
+ "version": "0.17.37-next.1",
791
+ "resolved": "https://registry.npmjs.org/clavarium-parley/-/clavarium-parley-0.17.37-next.1.tgz",
792
+ "integrity": "sha512-zyPa9U5Lt9PCywY3FKQTYhdyaWd7tzSr6Nu+fa67PmyM7TrwNYKKFMY7qXx1OevxVabb0ghoR9aIvcU2xISamg==",
793
793
  "license": "MIT",
794
794
  "bin": {
795
795
  "parley": "bin/parley.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.256-next.1",
3
+ "version": "0.2.258-next.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "A conversation is a VM with a terminal in it. Everything else is a folder.",
@@ -44,9 +44,9 @@
44
44
  "dependencies": {
45
45
  "@xterm/addon-fit": "^0.11.0",
46
46
  "@xterm/xterm": "^6.0.0",
47
- "clavarium-binder": "0.1.53-next.1",
47
+ "clavarium-binder": "0.1.54-next.1",
48
48
  "clavarium-docket": "0.1.1",
49
- "clavarium-parley": "0.17.36-next.1",
49
+ "clavarium-parley": "0.17.37-next.1",
50
50
  "clavarium-tether": "0.1.0-next.46",
51
51
  "mammoth": "1.13.0",
52
52
  "mermaid": "11.17.2",
package/server/boxes.mjs CHANGED
@@ -524,15 +524,17 @@ export class Boxes {
524
524
  let made = null;
525
525
  this.#react(text).then((t) => { made = t; }).catch(() => {});
526
526
  link.thinkingA = setTimeout(() => { void say(made || THINKING[Math.floor(Math.random() * THINKING.length)]); }, THINKING_AFTER_MS);
527
- link.thinkingB = setTimeout(() => { void say(long ? 'Ta question est riche, je regarde, un instant.' : 'Ça me demande un peu plus de temps, je regarde.'); }, long ? LONGER_AFTER_MS * 0.6 : LONGER_AFTER_MS);
528
- link.thinkingA.unref?.(); link.thinkingB.unref?.();
527
+ /* One word of waiting, not two (02-11: « je regarde, un instant » again and again). */
528
+ link.thinkingA.unref?.();
529
529
  }
530
530
 
531
531
  async agentSaid(conversation, text, to = null, { doing = false, asked = false } = {}) {
532
532
  /* What it is doing is written for a screen ("Tâche de fond : bêta 0.2.113…"): read aloud, it was words
533
533
  from nowhere (31-10). Aloud, only a short plain one; otherwise a word that it is at work. */
534
534
  const plain = forSpeech(text);
535
- const words = doing && (plain.length > 70 || /[\d:;/()[\]→=_]/.test(plain)) ? 'Je regarde, un instant.' : plain;
535
+ /* 02-11: not even « Je regarde, un instant » in its place -- said each time the agent wrote what it does, it
536
+ came back again and again. A long or technical one is not said at all. */
537
+ const words = doing && (plain.length > 70 || /[\d:;/()[\]→=_]/.test(plain)) ? '' : plain;
536
538
  if (!words) return;
537
539
  let boxes;
538
540
  if (doing) {
package/web/style.css CHANGED
@@ -22,7 +22,9 @@ body { font: .875rem var(--sans); }
22
22
  body { height: 100dvh; padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0); }
23
23
  [hidden] { display: none !important; }
24
24
  button { font: 600 .8125rem var(--sans); color: var(--ink); background: var(--button, #222c38); border: 1px solid var(--line); border-radius: 7px; padding: 7px 11px; cursor: pointer; }
25
- button.primary { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
25
+ /* The main button (02-11): its words and outline in brass, no fill -- quieter, like a suggestion. */
26
+ button.primary { background: transparent; border-color: var(--brass); color: var(--brass); }
27
+ button.primary:hover:not(:disabled) { background: color-mix(in srgb, var(--brass) 12%, transparent); }
26
28
  button:focus-visible, input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
27
29
  /* The list on the left, the three places under it, the conversation beside them. */
28
30
  #app { display: grid; grid-template-columns: var(--list-width, 260px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
@@ -109,7 +111,7 @@ main { position: relative; flex: 1; min-height: 0; }
109
111
  #notice button { padding: 10px 18px; font-size: .9375rem; }
110
112
  footer { display: flex; gap: 6px; padding: 6px 8px; background: var(--bar); border-top: 1px solid var(--line); overflow-x: auto; }
111
113
  footer button { flex: 0 0 auto; min-width: 44px; padding: 9px 12px; }
112
- footer button.wide { flex: 1 0 auto; background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
114
+ footer button.wide { flex: 1 0 auto; background: transparent; border-color: var(--brass); color: var(--brass); }
113
115
  @media (max-width: 700px) {
114
116
  #app { grid-template-columns: minmax(0, 1fr); }
115
117
  #list, #room { grid-column: 1; grid-row: 1; border-right: 0; }
@@ -192,7 +194,7 @@ html[data-door="device"] #room { height: 100%; }
192
194
  .chip[data-access="offline"] { color: var(--warn); border-color: var(--warn); }
193
195
  #signin-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; background: rgba(210, 169, 78, .14); border-bottom: 1px solid var(--brass); font-size: .8125rem; }
194
196
  #signin-text { flex: 1; min-width: 160px; }
195
- a.button { font: 600 .8125rem var(--sans); text-decoration: none; border-radius: 7px; padding: 7px 11px; background: var(--brass); color: var(--on-brass); }
197
+ a.button { font: 600 .8125rem var(--sans); text-decoration: none; border-radius: 7px; padding: 7px 11px; background: transparent; border: 1px solid var(--brass); color: var(--brass); }
196
198
  #signin-form input { flex: 1; min-width: 130px; font: .875rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; }
197
199
  /* On a narrow screen the key row wraps instead of hiding its end, and
198
200
  dictation comes first: by voice is how a phone is used. */
@@ -243,7 +245,7 @@ footer button.careful { border-style: dashed; color: var(--ink2); }
243
245
  #viewer .row { align-items: center; gap: 8px; flex-wrap: wrap; }
244
246
  #viewer .sp { flex: 1; }
245
247
  #viewer #preview-name { overflow-wrap: anywhere; }
246
- #viewer a.button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 8px; background: var(--brass); color: var(--on-brass); font-weight: 600; text-decoration: none; }
248
+ #viewer a.button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 8px; background: transparent; border: 1px solid var(--brass); color: var(--brass); font-weight: 600; text-decoration: none; }
247
249
  #viewer button { min-height: 40px; }
248
250
  #viewer p { margin: 0; }
249
251
  #preview-body { overflow: auto; flex: 1; min-height: 0; }
@@ -2019,7 +2021,7 @@ details.commit > pre { margin: 6px 0 0 1.6em; white-space: pre-wrap; overflow-wr
2019
2021
  Download stands out. Full screen: the file takes the whole screen. */
2020
2022
  #viewer .ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; min-width: 38px; height: 34px; padding: 0; }
2021
2023
  #viewer .ico svg { width: 18px; height: 18px; }
2022
- #viewer .ico.primary { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
2024
+ #viewer .ico.primary { background: transparent; border-color: var(--brass); color: var(--brass); }
2023
2025
  #viewer #preview-copy[data-done="true"] { color: var(--ok); border-color: currentColor; }
2024
2026
  #viewer #preview-full[aria-pressed="true"] { border-color: var(--brass); }
2025
2027
  #viewer.viewer-full { padding: 0; }