clavarium 0.2.236-next.1 → 0.2.237-beta.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.
- package/config/launch/claude-code.sh +40 -19
- package/config/launch/codex.sh +37 -0
- package/config/launch/json-set.mjs +5 -2
- package/config/launch/mcp-relay.mjs +98 -0
- package/config/launch/mcp-sock.sh +31 -0
- package/config/launch/screen-watch.mjs +173 -0
- package/config/launch/toml-block.mjs +26 -0
- package/config/launch/tools-host.mjs +93 -0
- package/config/launch/vibe.sh +40 -0
- package/config/machine/clavarium-beat +44 -0
- package/config/machine/clavarium-beat-one +40 -0
- package/config/machine/clavarium-enter +60 -0
- package/config/tools.json +170 -12
- package/deploy/clavarium-host +385 -31
- package/deploy/clavarium-tunnel +14 -3
- package/deploy/clavarium.mjs +4 -0
- package/deploy/git-read +57 -5
- package/deploy/install.sh +11 -5
- package/deploy/maintenance.html +5 -2
- package/deploy/online.mjs +251 -8
- package/deploy/relay.sh +53 -27
- package/deploy/tunnel.mjs +7 -5
- package/deploy/updater.mjs +168 -25
- package/npm-shrinkwrap.json +245 -19
- package/package.json +9 -6
- package/server/agenda.mjs +140 -0
- package/server/api.mjs +392 -28
- package/server/apikeys.mjs +1372 -0
- package/server/beat.mjs +189 -0
- package/server/binders.mjs +42 -0
- package/server/boxcollect.mjs +276 -0
- package/server/boxes.mjs +348 -29
- package/server/bridge.mjs +13 -4
- package/server/browsers.mjs +364 -0
- package/server/capacity.mjs +37 -10
- package/server/carry.mjs +143 -0
- package/server/catalog.mjs +48 -0
- package/server/contactview.mjs +122 -0
- package/server/conversations.mjs +1122 -46
- package/server/copywork.mjs +34 -0
- package/server/demandes.mjs +251 -0
- package/server/desktop.mjs +102 -0
- package/server/devices.mjs +1 -0
- package/server/dictation-engines.mjs +91 -0
- package/server/dockets.mjs +49 -6
- package/server/door.mjs +19 -5
- package/server/events.mjs +3 -0
- package/server/features.mjs +366 -0
- package/server/files.mjs +43 -1
- package/server/gitaccess.mjs +12 -3
- package/server/gitchecks.mjs +17 -3
- package/server/gitkeeper.mjs +45 -10
- package/server/gitpush.mjs +286 -71
- package/server/gitrunner.mjs +144 -10
- package/server/grants.mjs +47 -11
- package/server/guide.mjs +31 -10
- package/server/health.mjs +138 -12
- package/server/jobs.mjs +138 -0
- package/server/linkguard.mjs +191 -0
- package/server/machinelist.mjs +58 -0
- package/server/mailref.mjs +90 -0
- package/server/mailview.mjs +204 -0
- package/server/main.mjs +425 -47
- package/server/mcpoauth.mjs +338 -0
- package/server/mcpx.mjs +175 -0
- package/server/network.mjs +125 -13
- package/server/profile.mjs +129 -0
- package/server/relayjoin.mjs +67 -0
- package/server/resources.mjs +6 -0
- package/server/revive.mjs +70 -0
- package/server/rooms.mjs +462 -0
- package/server/secrets.mjs +25 -12
- package/server/serverlogs.mjs +30 -4
- package/server/settingswords.mjs +375 -0
- package/server/signinhelp.mjs +239 -0
- package/server/speech.mjs +40 -4
- package/server/spoken.mjs +60 -0
- package/server/sshconsole.mjs +99 -0
- package/server/sshmachine.mjs +76 -0
- package/server/store.mjs +15 -1
- package/server/suggest.mjs +66 -0
- package/server/talk.mjs +228 -55
- package/server/tethers.mjs +223 -13
- package/server/toolbox.mjs +30 -7
- package/server/tools.mjs +38 -6
- package/server/updates.mjs +7 -2
- package/server/vm.mjs +215 -46
- package/server/vmwatch.mjs +82 -23
- package/server/voice.mjs +183 -51
- package/server/wakelearn.mjs +214 -0
- package/server/wakeups.mjs +42 -2
- package/server/watchdog.mjs +102 -0
- package/web/app.js +5590 -1237
- package/web/desk.js +531 -0
- package/web/device.html +15 -2
- package/web/features.js +480 -0
- package/web/index.html +874 -490
- package/web/kit.js +1142 -0
- package/web/links.js +2 -2
- package/web/mail-view.js +386 -0
- package/web/manifest.webmanifest +4 -0
- package/web/style.css +1592 -268
- package/web/voice-core.js +48 -0
- package/web/voice.js +13 -5
package/web/index.html
CHANGED
|
@@ -14,10 +14,12 @@
|
|
|
14
14
|
<link rel="stylesheet" href="/vendor/diff2html.css">
|
|
15
15
|
<div id="app" data-place="conversations">
|
|
16
16
|
<aside id="list" hidden>
|
|
17
|
-
<div class="top"><b id="list-title" title="Conversations">Clavarium</b><span class="top-acts"><button type="button" id="list-pin" class="icon-btn" aria-pressed="false" aria-label="Keep the list open" title="Keep the list open: it no longer folds when a conversation is opened"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 17v5"/><path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg></button><button type="button" id="search-open" class="icon-btn" aria-label="Search conversations" title="Search (/ or Ctrl+K)" aria-expanded="false" aria-controls="search"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg></button><button type="button" id="new" class="icon-btn new-btn" aria-label="New conversation" title="New conversation"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14"/><path d="M5 12h14"/></svg></button></span></div>
|
|
17
|
+
<div class="top"><b id="list-title" title="Conversations">Clavarium</b><!-- WHAT IT IS DOING (jobs.mjs, 14-11): shown only while something runs, or failed unseen. --><button type="button" id="jobs-open" class="jobs-badge" hidden aria-expanded="false" aria-controls="jobs"></button><span class="top-acts"><button type="button" id="list-pin" class="icon-btn" aria-pressed="false" aria-label="Keep the list open" title="Keep the list open: it no longer folds when a conversation is opened"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 17v5"/><path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg></button><button type="button" id="install-top" class="icon-btn" hidden aria-label="Install as an app" title="Install as an app: its own icon, full screen, no browser bar"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v12"/><path d="m7 10 5 5 5-5"/><path d="M5 21h14"/></svg></button><button type="button" id="search-open" class="icon-btn" aria-label="Search conversations" title="Search (/ or Ctrl+K)" aria-expanded="false" aria-controls="search"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg></button><button type="button" id="new" class="icon-btn new-btn" aria-label="New conversation" title="New conversation"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14"/><path d="M5 12h14"/></svg></button></span></div>
|
|
18
18
|
<!-- SEARCH, discreet: opened by the magnifier, "/" or Ctrl+K; filters as it is typed. -->
|
|
19
19
|
<div id="search" role="search" hidden><input id="search-field" type="search" placeholder="Search" aria-label="Search conversations: name, folder, identifier, tool" autocomplete="off" spellcheck="false" maxlength="60" aria-controls="items"></div>
|
|
20
20
|
<!-- Needs you and Recent: copies of rows of the list below, by when they were last used (app.js, paint). -->
|
|
21
|
+
<!-- A FILTER of the list (once there is a room): everything, or the rooms only; kept on this device. -->
|
|
22
|
+
<div id="list-show" class="levels list-show" role="group" aria-label="Show" hidden><button type="button" data-show="all" aria-pressed="true">All</button><button type="button" data-show="rooms" aria-pressed="false">Rooms only</button></div>
|
|
21
23
|
<div id="recent"></div>
|
|
22
24
|
<div id="items"></div>
|
|
23
25
|
<p id="search-none" class="hint" hidden>Nothing found.</p>
|
|
@@ -34,9 +36,10 @@
|
|
|
34
36
|
<div id="list-resize" role="separator" aria-orientation="vertical" aria-label="Width of the list" title="Drag to widen or narrow the list; double click for its usual width" tabindex="0" hidden></div>
|
|
35
37
|
<nav id="nav" aria-label="Places" hidden>
|
|
36
38
|
<button type="button" id="nav-conversations" data-place="conversations" aria-current="page"><svg class="nav-ic" viewBox="0 0 24 24" aria-hidden="true" data-icon="message-square"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414 .586l-2.202 2.202A.71 .71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"/></svg><span>Conversations</span></button>
|
|
39
|
+
<button type="button" id="nav-home" data-place="deck"><svg class="nav-ic" viewBox="0 0 24 24" aria-hidden="true" data-icon="house"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/><path d="M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg><span data-said="set-nav-home">Home</span></button>
|
|
37
40
|
<button type="button" id="nav-assets" data-place="assets"><svg class="nav-ic" viewBox="0 0 24 24" aria-hidden="true" data-icon="layers"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"/><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"/><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"/></svg><span>Assets</span></button>
|
|
38
|
-
<button type="button" id="nav-access" data-place="access"><svg class="nav-ic" viewBox="0 0 24 24" aria-hidden="true" data-icon="waypoints"><path d="m10.586 5.414-5.172 5.172"/><path d="m18.586 13.414-5.172 5.172"/><path d="M6 12h12"/><circle cx="12" cy="20" r="2"/><circle cx="12" cy="4" r="2"/><circle cx="20" cy="12" r="2"/><circle cx="4" cy="12" r="2"/></svg><span>Access</span></button>
|
|
39
|
-
<button type="button" id="nav-settings" data-place="settings"><svg class="nav-ic" viewBox="0 0 24 24" aria-hidden="true" data-icon="settings"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3"/></svg><span>Settings</span></button>
|
|
41
|
+
<button type="button" id="nav-access" data-place="access"><svg class="nav-ic" viewBox="0 0 24 24" aria-hidden="true" data-icon="waypoints"><path d="m10.586 5.414-5.172 5.172"/><path d="m18.586 13.414-5.172 5.172"/><path d="M6 12h12"/><circle cx="12" cy="20" r="2"/><circle cx="12" cy="4" r="2"/><circle cx="20" cy="12" r="2"/><circle cx="4" cy="12" r="2"/></svg><span data-said="set-nav-access">Access</span></button>
|
|
42
|
+
<button type="button" id="nav-settings" data-place="settings"><svg class="nav-ic" viewBox="0 0 24 24" aria-hidden="true" data-icon="settings"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3"/></svg><span data-said="set-nav-settings">Settings</span></button>
|
|
40
43
|
</nav>
|
|
41
44
|
<section id="room">
|
|
42
45
|
<header>
|
|
@@ -44,13 +47,14 @@
|
|
|
44
47
|
<button type="button" id="fold" aria-label="Hide the list of conversations" aria-pressed="false" title="Hide or show the list of conversations">«</button>
|
|
45
48
|
<span id="state" data-state="connecting" role="status">connecting</span>
|
|
46
49
|
<b id="name"></b>
|
|
50
|
+
<button type="button" id="jobs-room" class="jobs-badge jobs-room" hidden aria-expanded="false" aria-controls="jobs"></button>
|
|
47
51
|
<!-- THE BAR: its chat, its terminal, what it was given, its binders (once it has one), its settings (G). -->
|
|
48
52
|
<div id="views" class="views" role="group" aria-label="What to see">
|
|
49
53
|
<button type="button" id="view-chat" aria-pressed="false" title="Its chat"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414 .586l-2.202 2.202A.71 .71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"/></svg><span>Chat</span></button>
|
|
50
54
|
<button type="button" id="view-terminal" aria-pressed="false" title="Its terminal"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m7 11 2-2-2-2"/><path d="M11 13h4"/><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/></svg><span>Terminal</span></button>
|
|
51
55
|
<button type="button" id="view-assets" aria-pressed="false" title="What it was given"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"/><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"/><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"/></svg><span>Assets</span><b id="assets-count" class="count"></b></button>
|
|
52
56
|
<button type="button" id="view-lists" aria-pressed="false" title="Its binders" hidden><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="m3 17 2 2 4-4"/><path d="m3 7 2 2 4-4"/><path d="M13 6h8"/><path d="M13 12h8"/><path d="M13 18h8"/></svg><span id="view-lists-word">Binders</span><b id="lists-count" class="count" title="Waiting for your approval"></b></button>
|
|
53
|
-
<button type="button" id="folders" aria-pressed="false" aria-label="Settings" title="Settings of this conversation" hidden><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3"/></svg><span class="sr">Settings</span></button>
|
|
57
|
+
<button type="button" id="folders" aria-pressed="false" aria-label="Settings" title="Settings of this conversation" hidden><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3"/></svg><span class="sr" data-said="set-nav-settings">Settings</span></button>
|
|
54
58
|
</div>
|
|
55
59
|
</header>
|
|
56
60
|
<div id="health-strip" role="status" hidden>
|
|
@@ -102,8 +106,10 @@
|
|
|
102
106
|
<!-- WHAT THIS CONVERSATION WAS GIVEN (G): the same list, its own, with
|
|
103
107
|
each opened on the right (a folder: its files). -->
|
|
104
108
|
<div id="cassets" class="sheet as-room" hidden>
|
|
109
|
+
<p id="cassets-error" class="error" role="alert" hidden></p>
|
|
110
|
+
<p id="cassets-note" class="hint" role="status" hidden></p>
|
|
105
111
|
<div class="as" id="cassets-as">
|
|
106
|
-
<div class="as-list"><div id="cassets-rows"></div></div>
|
|
112
|
+
<div class="as-list"><div class="as-tools"><input type="search" id="cassets-search" placeholder="Search" aria-label="Search its assets" spellcheck="false" autocomplete="off"><button type="button" id="cassets-attach" class="as-new"><span aria-hidden="true">+ </span><span data-said="set-as-give">Give…</span></button></div><div id="cassets-rows"></div></div>
|
|
107
113
|
<div class="as-detail" id="cassets-detail"></div>
|
|
108
114
|
</div>
|
|
109
115
|
</div>
|
|
@@ -111,15 +117,54 @@
|
|
|
111
117
|
<div id="clists" class="sheet as-room" hidden><div id="clists-binder" class="binder-holder"></div></div>
|
|
112
118
|
<div id="panel" class="sheet" hidden>
|
|
113
119
|
<div class="panel-top"><b id="panel-title">This conversation</b></div>
|
|
114
|
-
<!-- The gestures done often on the machine, without opening the Machine chapter (app.js, paintMachine). -->
|
|
115
|
-
<div class="row panel-actions" id="panel-actions" hidden>
|
|
116
|
-
<button type="button" id="quick-wake" class="primary" hidden>Wake it</button>
|
|
117
|
-
<button type="button" id="quick-restart" hidden>Restart…</button>
|
|
118
|
-
<button type="button" id="quick-sleep" hidden title="Freezes the tool as it is; it wakes when you open the conversation">Sleep</button>
|
|
119
|
-
</div>
|
|
120
120
|
<p id="panel-error" class="error" role="alert" hidden></p>
|
|
121
|
+
<!-- AT HAND: its machine's memory, disk and CPU, the three switches that change how it behaves, and
|
|
122
|
+
the gestures done most (app.js, paintConvHand) -- never folded, above the tabs. -->
|
|
123
|
+
<section class="at-hand" id="panel-hand" aria-label="At hand">
|
|
124
|
+
<div class="hand-tiles" id="panel-tiles" hidden></div>
|
|
125
|
+
<div class="hand-switches">
|
|
126
|
+
<div class="set-row"><div class="set-what"><b data-said="set-chat">Chat</b><small id="talk-about" class="tip" hidden>A chat screen instead of its terminal. What the tool posts there is read by this server</small></div><div class="set-control"><div class="levels" id="talk-on" role="group" aria-label="Talk through the app"><button type="button" data-on="true" data-said="set-on">On</button><button type="button" data-on="false" data-said="set-off">Off</button></div><button type="button" id="talk-invite" hidden>Ask the tool to use it</button></div></div>
|
|
127
|
+
<p class="hint" id="talk-declare" hidden></p>
|
|
128
|
+
<!-- FULL RIGHTS IN ITS OWN MACHINE: the default, said plainly where it is changed. -->
|
|
129
|
+
<div id="rights-box" hidden>
|
|
130
|
+
<div class="set-row"><div class="set-what"><b data-said="set-ask-first">Ask before acting</b><small id="rights-hint" class="tip" hidden>Off: <b>the tool acts without asking you</b>, inside its own machine. At its next start</small></div><div class="set-control"><div class="levels" id="ask-first" role="group" aria-label="Ask before acting"><button type="button" data-on="false" data-said="set-off">Off</button><button type="button" data-on="true" data-said="set-on">On</button></div></div></div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="set-row" id="network-row"><div class="set-what"><b data-said="set-online">Online</b><small class="tip" hidden>Offline: its machine reaches nothing outside. The tool cannot undo it.</small></div><div class="set-control"><div class="levels" id="network" role="group" aria-label="Network of this conversation"><button type="button" data-online="true" data-said="set-online">Online</button><button type="button" data-online="false" data-said="set-offline-btn">Offline</button></div></div></div>
|
|
133
|
+
</div>
|
|
134
|
+
<div class="hand-acts" id="panel-actions">
|
|
135
|
+
<button type="button" id="quick-wake" class="primary" hidden>Wake it</button>
|
|
136
|
+
<!-- ITS MACHINE (09-11): always the same five, never hidden; what does not apply is greyed, with why
|
|
137
|
+
(app.js, paintMachineActs). One action at a time; Force stop takes the place of any other. -->
|
|
138
|
+
<button type="button" id="m-start" data-said="set-m-start">Start</button>
|
|
139
|
+
<button type="button" id="m-stop" data-said="set-m-stop">Stop</button>
|
|
140
|
+
<button type="button" id="restart" data-said="set-restart-dots">Restart…</button>
|
|
141
|
+
<button type="button" id="sleep" title="Freezes the tool as it is; it wakes when you open the conversation" data-said="set-sleep">Sleep</button>
|
|
142
|
+
<button type="button" id="hand-terminal" data-said="set-terminal">Terminal</button>
|
|
143
|
+
</div>
|
|
144
|
+
<!-- Asked in the page, in one line: what is lost. -->
|
|
145
|
+
<div id="m-confirm" class="m-confirm" role="alertdialog" aria-labelledby="m-confirm-text" hidden><span id="m-confirm-text"></span><button type="button" id="m-confirm-yes" class="primary"></button><button type="button" id="m-confirm-no" data-said="set-mconf-no">Cancel</button></div>
|
|
146
|
+
<!-- The action under way, step by step (the escalation, in one line), then its report. -->
|
|
147
|
+
<div id="m-live" class="m-live" hidden></div>
|
|
148
|
+
<p id="m-report" class="hint m-report" role="status" hidden></p>
|
|
149
|
+
<!-- THE DANGEROUS ONE, APART (10-11): away from the buttons of every day, said what it does, confirmed here. -->
|
|
150
|
+
<div id="m-danger" class="m-danger" hidden>
|
|
151
|
+
<span class="m-danger-title" data-said="set-mdanger-title">If the machine is stuck</span>
|
|
152
|
+
<div class="m-danger-row"><button type="button" id="m-force" class="danger" data-said="set-m-force">Force stop</button><span class="hint" data-said="set-mwhat-force">Cuts it off, like a power cut</span></div>
|
|
153
|
+
</div>
|
|
154
|
+
</section>
|
|
155
|
+
<nav id="panel-tabs" class="settings-tabs" role="tablist" aria-label="Categories of its settings">
|
|
156
|
+
<button type="button" role="tab" data-group="general" data-said="set-tab-general">General</button>
|
|
157
|
+
<button type="button" role="tab" data-group="resources" data-said="set-tab-resources">Resources</button>
|
|
158
|
+
<button type="button" role="tab" data-group="access" data-said="set-tab-access">Access</button>
|
|
159
|
+
<button type="button" role="tab" data-group="chat" data-said="set-tab-chat">Chat & voice</button>
|
|
160
|
+
<button type="button" role="tab" data-group="automatic" data-said="set-tab-automatic">Automatic</button>
|
|
161
|
+
<button type="button" role="tab" data-group="diagnostics" data-said="set-tab-diagnostics">Diagnostics</button>
|
|
162
|
+
<button type="button" role="tab" data-group="advanced" data-said="set-tab-advanced">Advanced</button>
|
|
163
|
+
</nav>
|
|
164
|
+
<div class="settings-groups">
|
|
165
|
+
<section class="settings-group" id="panel-group-general" data-group="general" role="tabpanel" aria-label="General">
|
|
121
166
|
<details class="chapter" id="chapter-general" data-chapter="general">
|
|
122
|
-
<summary><span class="chapter-title">General</span><span class="chapter-about">Name, group, chat.</span></summary>
|
|
167
|
+
<summary><span class="chapter-title" data-said="set-ch-general">General</span><span class="chapter-about">Name, group, chat.</span></summary>
|
|
123
168
|
<div class="chapter-body">
|
|
124
169
|
<dl id="general-facts" class="facts"></dl>
|
|
125
170
|
<div id="title-box" hidden>
|
|
@@ -128,10 +173,10 @@
|
|
|
128
173
|
<div id="group-box" hidden>
|
|
129
174
|
<form id="group-form" class="set-row" autocomplete="off"><div class="set-what"><label for="group-name">Group</label><small>A folder of the list. Empty: none</small></div><div class="set-control"><input id="group-name" maxlength="40" list="group-names" placeholder="None" spellcheck="false"><button type="submit">Save</button></div></form>
|
|
130
175
|
<form id="group-rename-form" class="set-row" autocomplete="off" hidden><div class="set-what"><label for="group-rename">Rename its group</label></div><div class="set-control"><input id="group-rename" maxlength="40" spellcheck="false"><button type="submit">Rename for all</button></div></form>
|
|
131
|
-
<div class="set-row" id="order-row"><div class="set-what"><span>Its place</span><small id="order-hint">Also: drag it in the list, or Alt and an arrow</small></div><div class="set-control"><button type="button" id="move-up">Move up</button><button type="button" id="move-down">Move down</button><button type="button" id="group-up" hidden>Group up</button><button type="button" id="group-down" hidden>Group down</button></div></div>
|
|
176
|
+
<div class="set-row" id="order-row"><div class="set-what"><span>Its place</span><small id="order-hint" class="tip" hidden>Also: drag it in the list, or Alt and an arrow</small></div><div class="set-control"><button type="button" id="move-up">Move up</button><button type="button" id="move-down">Move down</button><button type="button" id="group-up" hidden>Group up</button><button type="button" id="group-down" hidden>Group down</button></div></div>
|
|
132
177
|
</div>
|
|
133
178
|
<div id="hide-box" hidden>
|
|
134
|
-
<div class="set-row"><div class="set-what"><span>In the list</span><small>Hidden
|
|
179
|
+
<div class="set-row"><div class="set-what"><span>In the list</span><small>Hidden still runs</small></div><div class="set-control"><div class="levels" id="hide-on" role="group" aria-label="Hidden from the list"><button type="button" data-on="false">Shown</button><button type="button" data-on="true">Hidden</button></div></div></div>
|
|
135
180
|
</div>
|
|
136
181
|
<!-- WHAT ITS TOOL IS TOLD ABOUT WHERE IT IS: the exact text, made by the
|
|
137
182
|
server from these settings; the owner's own lines; told again on a click. -->
|
|
@@ -148,46 +193,30 @@
|
|
|
148
193
|
<pre id="guide-text" tabindex="0" aria-label="What its tool is told"></pre>
|
|
149
194
|
</div>
|
|
150
195
|
</div>
|
|
151
|
-
<div id="talk-box">
|
|
152
|
-
<div class="set-row"><div class="set-what"><b>Chat</b><small id="talk-about">A chat screen instead of its terminal. What the tool posts there is read by this server</small></div><div class="set-control"><div class="levels" id="talk-on" role="group" aria-label="Talk through the app"><button type="button" data-on="true">On</button><button type="button" data-on="false">Off</button></div><button type="button" id="talk-invite" hidden>Ask the tool to use it</button></div></div>
|
|
153
|
-
<p class="hint" id="talk-declare" hidden></p>
|
|
154
|
-
<form id="chat-name-form" class="set-row" autocomplete="off"><div class="set-what"><label for="chat-name">Its name in the chat</label><small id="chat-name-hint">Empty: "Assistant"</small></div><div class="set-control"><input id="chat-name" maxlength="40" placeholder="Assistant" spellcheck="false"><button type="submit">Save</button></div></form>
|
|
155
|
-
<div class="set-row" id="tasks-binder-row" hidden><div class="set-what"><label for="tasks-binder">Binder beside the chat</label><small>Automatic: its first binder of batches</small></div><div class="set-control"><select id="tasks-binder"></select></div></div>
|
|
156
|
-
</div>
|
|
157
|
-
<!-- DICTATION INTO ITS TERMINAL: marked once per message, so that the tool knows it may hold recognition mistakes. -->
|
|
158
|
-
<div id="voice-mark-box" hidden>
|
|
159
|
-
<div class="set-row"><div class="set-what"><b>Mark what I dictate</b><small>A microphone sign before it: a word may be misheard</small></div><div class="set-control"><div class="levels" id="voice-mark" role="group" aria-label="Mark what I dictate"><button type="button" data-on="true">On</button><button type="button" data-on="false">Off</button></div></div></div>
|
|
160
|
-
</div>
|
|
161
196
|
</div>
|
|
162
197
|
</details>
|
|
198
|
+
</section>
|
|
199
|
+
<section class="settings-group" id="panel-group-resources" data-group="resources" role="tabpanel" aria-label="Resources">
|
|
163
200
|
<details class="chapter" id="chapter-machine" data-chapter="machine">
|
|
164
|
-
<summary><span class="chapter-title">Machine</span><span class="chapter-about">Health, size, restart.</span></summary>
|
|
201
|
+
<summary><span class="chapter-title" data-said="set-ch-machine">Machine</span><span class="chapter-about">Health, size, restart.</span></summary>
|
|
165
202
|
<div class="chapter-body">
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
<div id="tool-exit" class="tool-exit">
|
|
170
|
-
<div class="row"><button type="button" id="tool-exit-look">Why did its tool stop?</button></div>
|
|
171
|
-
<div id="tool-exit-body" hidden></div>
|
|
172
|
-
</div>
|
|
203
|
+
<!-- WHERE IT RUNS (#221, 14-11): its own machine, or a shared one and who else lives there -- its stop or
|
|
204
|
+
restart stops them too; Copy... and Move... open the wizard (#cm, below). -->
|
|
205
|
+
<div class="set-row" id="where-row" hidden><div class="set-what"><b data-said="set-where">Where it runs</b><small id="where-now"></small></div><div class="set-control"><button type="button" id="where-copy" data-said="set-where-copy">Copy…</button><button type="button" id="where-move" data-said="set-where-move">Move…</button></div></div>
|
|
173
206
|
<!-- ITS CURVES: memory, CPU and disk over time (server/history.mjs). -->
|
|
174
207
|
<div class="curves" id="machine-curves" data-of="" hidden>
|
|
175
208
|
<div class="curves-head"><b>Over time</b><div class="levels curves-span" role="group" aria-label="Over"><button type="button" data-span="1h" aria-pressed="true">1 h</button><button type="button" data-span="24h" aria-pressed="false">24 h</button><button type="button" data-span="7d" aria-pressed="false">7 days</button></div></div>
|
|
176
209
|
<div class="curves-row"></div>
|
|
177
210
|
</div>
|
|
178
211
|
<p id="machine-restarted" class="hint" role="status" hidden></p>
|
|
179
|
-
<div class="row" id="machine-actions">
|
|
180
|
-
<button type="button" id="restart" hidden>Restart the machine...</button>
|
|
181
|
-
<button type="button" id="sleep" hidden title="Freezes the tool as it is; it wakes when you open the conversation">Sleep</button>
|
|
182
|
-
</div>
|
|
183
212
|
<div id="resume-box" hidden>
|
|
184
|
-
<div class="set-row"><div class="set-what"><b>When its tool starts</b><small id="resume-hint">After a wake or
|
|
185
|
-
</div>
|
|
186
|
-
<!-- FULL RIGHTS IN ITS OWN MACHINE: the default, said plainly where it is changed. -->
|
|
187
|
-
<div id="rights-box" hidden>
|
|
188
|
-
<div class="set-row"><div class="set-what"><b>Ask before acting</b><small id="rights-hint">Off: <b>the tool acts without asking you</b>, inside its own machine. At its next start</small></div><div class="set-control"><div class="levels" id="ask-first" role="group" aria-label="Ask before acting"><button type="button" data-on="false">Off</button><button type="button" data-on="true">On</button></div></div></div>
|
|
213
|
+
<div class="set-row"><div class="set-what"><b>When its tool starts</b><small id="resume-hint">After a wake or restart</small></div><div class="set-control"><div class="levels" id="resume-on" role="group" aria-label="When its tool starts"><button type="button" data-on="true">Resume its last session</button><button type="button" data-on="false">Start fresh</button></div></div></div>
|
|
189
214
|
</div>
|
|
190
|
-
|
|
215
|
+
<!-- A STOP THAT HANGS: forced by itself (the default), or asked first (conversations.mjs, stopEscalate). -->
|
|
216
|
+
<div class="set-row"><div class="set-what"><b data-said="set-mesc">If a stop hangs</b></div><div class="set-control"><div class="levels" id="m-escalate" role="group" aria-label="If a stop hangs"><button type="button" data-on="true" data-said="set-mesc-auto">Force it</button><button type="button" data-on="false" data-said="set-mesc-ask">Ask me</button></div></div></div>
|
|
217
|
+
<!-- ITS WATCHDOG (server/watchdog.mjs): mute or full that long, forced off then started, once. -->
|
|
218
|
+
<div class="set-row" id="m-dog-row"><div class="set-what"><b data-said="set-mdog">Watchdog</b><small data-said="set-mdog-what">Restarts it if stuck</small></div><div class="set-control"><div class="levels" id="m-dog" role="group" aria-label="Watchdog"><button type="button" data-min="0" data-said="set-mdog-off">Off</button><button type="button" data-min="30">30 min</button><button type="button" data-min="60">1 h</button><button type="button" data-min="120">2 h</button><button type="button" data-min="custom" data-said="set-mdog-custom">Custom</button></div><label class="m-dog-min" id="m-dog-custom" hidden><input type="number" id="m-dog-min" min="10" max="1440" step="5" inputmode="numeric" aria-label="Minutes"> min</label></div></div>
|
|
219
|
+
<div class="panel-top"><b id="machine-size-title">Memory, cores and disk</b></div>
|
|
191
220
|
<form id="machine-size" autocomplete="off">
|
|
192
221
|
<label for="machine-memory">Memory</label>
|
|
193
222
|
<select id="machine-memory"></select>
|
|
@@ -196,17 +225,32 @@
|
|
|
196
225
|
<label for="machine-disk">Disk</label>
|
|
197
226
|
<select id="machine-disk"></select>
|
|
198
227
|
<p class="hint" id="machine-size-wait" role="status" hidden></p>
|
|
199
|
-
<p class="hint" id="machine-size-hint">Restarts
|
|
228
|
+
<p class="hint" id="machine-size-hint">Restarts it · a disk only grows</p>
|
|
200
229
|
<!-- CHOSEN WHILE IT SLEEPS: kept, and applied when it wakes (server/conversations.mjs, #wakeResized). -->
|
|
201
230
|
<p class="hint" id="machine-later" role="status" hidden><span id="machine-later-text"></span> · <button type="button" id="machine-later-cancel" class="inline">cancel</button></p>
|
|
202
231
|
<div class="row"><button type="submit" id="machine-size-apply">Apply...</button></div>
|
|
203
232
|
</form>
|
|
233
|
+
<!-- ITS SHARED MACHINE'S OWN MEMORY (#221): the whole machine restarted, every conversation in it. -->
|
|
234
|
+
<form id="shared-size" autocomplete="off" hidden>
|
|
235
|
+
<label for="shared-memory">Shared machine memory</label>
|
|
236
|
+
<select id="shared-memory"></select>
|
|
237
|
+
<p class="hint" id="shared-size-hint">Restarts every conversation in it</p>
|
|
238
|
+
<div class="row"><button type="submit" id="shared-size-apply">Change...</button></div>
|
|
239
|
+
</form>
|
|
204
240
|
<div id="work-box">
|
|
205
241
|
<div class="panel-top"><b>Where the tool works</b></div>
|
|
206
|
-
<p id="work-now" class="hint"></p>
|
|
242
|
+
<p id="work-now" class="hint"><span><span id="work-now-text"></span></span><span id="work-now-why" class="tip" hidden></span></p>
|
|
207
243
|
<p id="work-moved" class="hint" hidden></p>
|
|
208
244
|
<button type="button" id="work-move"></button>
|
|
209
245
|
</div>
|
|
246
|
+
<!-- CARRIED ELSEWHERE (#351): its tool's state (memory, sessions, settings), or everything of it (its home, its work, its accesses), as one file; put back here. -->
|
|
247
|
+
<div id="carry-box">
|
|
248
|
+
<div class="panel-top"><b data-said="set-carry">Export / Import</b></div>
|
|
249
|
+
<p class="hint" data-said="set-carry-hint">Its AI's memory, or everything: to take elsewhere.</p>
|
|
250
|
+
<div class="row"><a id="carry-export" class="button" download data-said="set-carry-export">Its AI's memory</a><a id="carry-export-all" class="button" download data-said="set-carry-all">Everything (home, work, accesses)</a><button type="button" id="carry-import" data-said="set-carry-import">Import...</button><input type="file" id="carry-file" accept=".gz,application/gzip" hidden></div>
|
|
251
|
+
<label class="cm-tick"><input type="checkbox" id="carry-reminders"> <span data-said="set-carry-reminders">Import its reminders and wake-ups too</span></label>
|
|
252
|
+
<p id="carry-said" class="hint" role="status" hidden></p>
|
|
253
|
+
</div>
|
|
210
254
|
<!-- WHEN ITS MACHINE IS SHORT (server/healthreact.mjs): you are told either way. -->
|
|
211
255
|
<form id="react-box" autocomplete="off">
|
|
212
256
|
<div class="panel-top"><b>When its machine is short of room or memory</b></div>
|
|
@@ -218,32 +262,18 @@
|
|
|
218
262
|
</form>
|
|
219
263
|
</div>
|
|
220
264
|
</details>
|
|
265
|
+
</section>
|
|
266
|
+
<section class="settings-group" id="panel-group-access" data-group="access" role="tabpanel" aria-label="Access">
|
|
221
267
|
<details class="chapter" id="chapter-access" data-chapter="access">
|
|
222
|
-
<summary><span class="chapter-title">Access</span><span class="chapter-about">
|
|
268
|
+
<summary><span class="chapter-title" data-said="set-ch-access">Access</span><span class="chapter-about">Its assets, its sign-in mailbox.</span></summary>
|
|
223
269
|
<div class="chapter-body">
|
|
224
|
-
|
|
225
|
-
<div class="
|
|
226
|
-
|
|
227
|
-
<
|
|
228
|
-
<div class="row to-access"><button type="button" id="access-assets-here">Attach an asset</button><span class="hint">Every asset, in Access.</span></div>
|
|
229
|
-
<div class="panel-top"><b>Secrets handed to its tool</b></div>
|
|
230
|
-
<div id="access-secrets"></div>
|
|
231
|
-
<p id="access-secrets-empty" class="hint" hidden>No secret is handed to it.</p>
|
|
232
|
-
<p id="secret-note" class="hint" role="status"></p>
|
|
233
|
-
<div id="attach-picker" hidden>
|
|
234
|
-
<div class="panel-top"><b id="attach-title">Attach</b><button type="button" id="attach-close">Done</button></div>
|
|
235
|
-
<div id="attach-rows"></div>
|
|
236
|
-
<p id="attach-empty" class="hint" hidden>Everything there is is attached already.</p>
|
|
237
|
-
<button type="button" id="attach-manage">Manage all assets</button>
|
|
238
|
-
</div>
|
|
239
|
-
<div class="panel-top"><b>Network</b></div>
|
|
240
|
-
<p class="hint">Offline: its machine reaches nothing outside. The tool cannot undo it.</p>
|
|
241
|
-
<div class="levels" id="network" role="group" aria-label="Network of this conversation">
|
|
242
|
-
<button type="button" data-online="true">Online</button><button type="button" data-online="false">Offline</button>
|
|
243
|
-
</div>
|
|
270
|
+
<!-- ITS ASSETS (07-11, assets step 4): one line; what it was given lives in its Assets tab (Give…, its rights). -->
|
|
271
|
+
<div class="row access-assets"><button type="button" id="access-assets" class="as-link"></button></div>
|
|
272
|
+
<!-- ITS SIGN-IN COMPANION (15-11, #362): the conversation that signs its tool in, if not the general one. -->
|
|
273
|
+
<div class="set-row" id="companion-here-row"><div class="set-what"><label for="companion-here">Sign-in companion</label><small id="companion-here-hint">Signs its tool in with its browser</small></div><div class="set-control"><select id="companion-here"></select></div></div>
|
|
244
274
|
<div id="signin-setup" hidden>
|
|
245
275
|
<div class="panel-top"><b>Sign-in mailbox</b></div>
|
|
246
|
-
<p class="hint">A mailbox for this tool's account
|
|
276
|
+
<p class="hint">Its sign-in links, beside the terminal</p><p class="hint tip" hidden>A mailbox for this tool's account, read only; its password never enters the machine.</p>
|
|
247
277
|
<p id="signin-state" class="hint"></p>
|
|
248
278
|
<form id="signin-form" autocomplete="off">
|
|
249
279
|
<div class="row"><input id="signin-host" placeholder="imap.example.com" aria-label="Mail server" spellcheck="false" autocapitalize="none">
|
|
@@ -254,12 +284,41 @@
|
|
|
254
284
|
</div>
|
|
255
285
|
</div>
|
|
256
286
|
</details>
|
|
287
|
+
<details class="chapter" id="chapter-sharing" data-chapter="sharing">
|
|
288
|
+
<summary><span class="chapter-title" data-said="set-ch-sharing">Sharing</span><span class="chapter-about">On another device.</span></summary>
|
|
289
|
+
<div class="chapter-body">
|
|
290
|
+
<p class="hint">Its terminal, its chat, or both, on a phone or a tablet.</p>
|
|
291
|
+
<div id="share-here"></div>
|
|
292
|
+
<p id="share-here-none" class="hint" hidden>No device has it.</p>
|
|
293
|
+
<div class="row"><button type="button" id="share" hidden>Pair a new device...</button></div>
|
|
294
|
+
<div class="row to-access"><button type="button" id="access-devices-here">Share with a device</button><span class="hint">Every device, in Access.</span></div>
|
|
295
|
+
</div>
|
|
296
|
+
</details>
|
|
297
|
+
</section>
|
|
298
|
+
<section class="settings-group" id="panel-group-chat" data-group="chat" role="tabpanel" aria-label="Chat & voice">
|
|
299
|
+
<details class="chapter" id="chapter-chat" data-chapter="chat">
|
|
300
|
+
<summary><span class="chapter-title" data-said="set-ch-chat">Chat</span><span class="chapter-about">Its name, its binder.</span></summary>
|
|
301
|
+
<div class="chapter-body">
|
|
302
|
+
<div id="talk-box">
|
|
303
|
+
<form id="chat-name-form" class="set-row" autocomplete="off"><div class="set-what"><label for="chat-name">Its name in the chat</label><small id="chat-name-hint">Empty: "Assistant"</small></div><div class="set-control"><input id="chat-name" maxlength="40" placeholder="Assistant" spellcheck="false"><button type="submit">Save</button></div></form>
|
|
304
|
+
<!-- WHEN ITS THREAD IS ARCHIVED (Parley's split): older messages go into volumes, none deleted, still read and searched. -->
|
|
305
|
+
<div class="set-row" id="chat-split-row" hidden><div class="set-what"><label for="chat-split" data-said="set-chat-split">Archive its thread</label></div><div class="set-control"><select id="chat-split"></select></div></div>
|
|
306
|
+
<div class="set-row" id="tasks-binder-row" hidden><div class="set-what"><label for="tasks-binder">Binder beside the chat</label><small class="tip" hidden>Automatic: its first binder of batches</small></div><div class="set-control"><select id="tasks-binder"></select></div></div>
|
|
307
|
+
</div>
|
|
308
|
+
<!-- DICTATION INTO ITS TERMINAL: marked once per message, so that the tool knows it may hold recognition mistakes. -->
|
|
309
|
+
<div id="voice-mark-box" hidden>
|
|
310
|
+
<div class="set-row"><div class="set-what"><b>Mark what I dictate</b><small>A microphone sign before it</small><small class="tip" hidden>A word may be misheard</small></div><div class="set-control"><div class="levels" id="voice-mark" role="group" aria-label="Mark what I dictate"><button type="button" data-on="true">On</button><button type="button" data-on="false">Off</button></div></div></div>
|
|
311
|
+
</div>
|
|
312
|
+
</div>
|
|
313
|
+
</details>
|
|
314
|
+
</section>
|
|
315
|
+
<section class="settings-group" id="panel-group-automatic" data-group="automatic" role="tabpanel" aria-label="Automatic">
|
|
257
316
|
<details class="chapter" id="chapter-wakeups" data-chapter="wakeups">
|
|
258
|
-
<summary><span class="chapter-title">Wake-ups</span><span class="chapter-about">When something arrives, or by the clock.</span></summary>
|
|
317
|
+
<summary><span class="chapter-title" data-said="set-ch-wakeups">Wake-ups</span><span class="chapter-about">When something arrives, or by the clock.</span></summary>
|
|
259
318
|
<div class="chapter-body">
|
|
260
319
|
<div id="wakeups-box">
|
|
261
320
|
<div class="panel-top"><b>Wake it by itself</b></div>
|
|
262
|
-
<p class="hint">A line you wrote, given to the tool when something arrives or by the clock. Never wakes a sleeping machine.</p>
|
|
321
|
+
<p class="hint tip" hidden>A line you wrote, given to the tool when something arrives or by the clock. Never wakes a sleeping machine.</p>
|
|
263
322
|
<div id="wakeups-rows"></div>
|
|
264
323
|
<div id="wakeup-address-box" class="notice-box" hidden>
|
|
265
324
|
<b>Its address, shown this once</b>
|
|
@@ -315,7 +374,7 @@
|
|
|
315
374
|
</div>
|
|
316
375
|
</details>
|
|
317
376
|
<details class="chapter" id="chapter-answerer" data-chapter="answerer">
|
|
318
|
-
<summary><span class="chapter-title">Answerer</span><span class="chapter-about">Simple questions answered while you are away.</span></summary>
|
|
377
|
+
<summary><span class="chapter-title" data-said="set-ch-answerer">Answerer</span><span class="chapter-about">Simple questions answered while you are away.</span></summary>
|
|
319
378
|
<div class="chapter-body">
|
|
320
379
|
<div id="answerer-box">
|
|
321
380
|
<div class="panel-top"><b>Answers in your place</b></div>
|
|
@@ -340,29 +399,211 @@
|
|
|
340
399
|
</div>
|
|
341
400
|
</div>
|
|
342
401
|
</details>
|
|
343
|
-
|
|
344
|
-
|
|
402
|
+
</section>
|
|
403
|
+
<section class="settings-group" id="panel-group-diagnostics" data-group="diagnostics" role="tabpanel" aria-label="Diagnostics">
|
|
404
|
+
<details class="chapter" id="chapter-health" data-chapter="health">
|
|
405
|
+
<summary><span class="chapter-title" data-said="set-ch-health">Health</span><span class="chapter-about">Not looked at yet.</span></summary>
|
|
345
406
|
<div class="chapter-body">
|
|
346
|
-
<
|
|
347
|
-
<
|
|
348
|
-
<
|
|
349
|
-
<
|
|
350
|
-
|
|
407
|
+
<div class="panel-top"><b>Health</b><button type="button" id="health-check">Look now</button></div>
|
|
408
|
+
<ul id="machine-health" class="health-lines" aria-live="polite"></ul>
|
|
409
|
+
<div class="row"><button type="button" id="folders-check" data-said="set-check-folders">Check shared folders</button></div>
|
|
410
|
+
<ul id="folders-lines" class="health-lines" aria-live="polite" hidden></ul>
|
|
411
|
+
<!-- WHY ITS TOOL STOPPED: kept when the tool ends, read again on demand (no server access needed). -->
|
|
412
|
+
<div id="tool-exit" class="tool-exit">
|
|
413
|
+
<div class="row"><button type="button" id="tool-exit-look">Why did its tool stop?</button></div>
|
|
414
|
+
<div id="tool-exit-body" hidden></div>
|
|
415
|
+
</div>
|
|
351
416
|
</div>
|
|
352
417
|
</details>
|
|
418
|
+
</section>
|
|
419
|
+
<section class="settings-group" id="panel-group-advanced" data-group="advanced" role="tabpanel" aria-label="Advanced">
|
|
353
420
|
<details class="chapter" id="chapter-advanced" data-chapter="advanced">
|
|
354
|
-
<summary><span class="chapter-title">Advanced</span><span class="chapter-about">Archive, reset or delete it.</span></summary>
|
|
421
|
+
<summary><span class="chapter-title" data-said="set-ch-advanced">Advanced</span><span class="chapter-about">Archive, reset or delete it.</span></summary>
|
|
355
422
|
<div class="chapter-body">
|
|
356
|
-
<p class="hint">Archive:
|
|
423
|
+
<p class="hint">Archive: files kept aside · Reset: a new empty machine · Delete: nothing kept</p>
|
|
357
424
|
<div class="row" id="conversation-actions"><button type="button" id="archive" hidden>Archive...</button><button type="button" id="reset-machine" class="danger" hidden>Reset...</button><button type="button" id="erase-conversation" class="danger" hidden>Delete for good...</button></div>
|
|
358
425
|
<form id="sure-form" class="row sure" autocomplete="off" hidden><label for="sure-name" id="sure-what"></label><input id="sure-name" spellcheck="false" autocomplete="off"><button type="submit" id="sure-go" class="danger" disabled></button><button type="button" id="sure-cancel">Cancel</button></form>
|
|
359
426
|
</div>
|
|
360
427
|
</details>
|
|
428
|
+
</section>
|
|
429
|
+
</div>
|
|
361
430
|
</div>
|
|
362
431
|
<!-- ACCESS: who gets what, in one page with three tabs. The map (and
|
|
363
432
|
its flows), the devices and what each was given, the assets kept
|
|
364
433
|
here. Export and Import stay in its header, whatever the tab. A
|
|
365
434
|
conversation opens it filtered on itself: a badge takes that away. -->
|
|
435
|
+
<!-- SETTINGS: the platform, and this device. -->
|
|
436
|
+
<!-- ASSETS (H): everything kept on this server, by kind; one opened on the
|
|
437
|
+
right: who uses it, its state, its settings. The forms that make
|
|
438
|
+
one, and a repository's remote, wait in #assets-forms and are moved
|
|
439
|
+
into the detail when asked for. -->
|
|
440
|
+
<div id="copy" class="sheet" hidden>
|
|
441
|
+
<div class="panel-top"><b>Copy from the screen</b><button type="button" id="copy-close" aria-label="Close" title="Close">×</button></div>
|
|
442
|
+
<p class="hint">The terminal draws its text itself, so it cannot be selected by touch. Here is the same text as ordinary text: select what you need, or copy it all.</p>
|
|
443
|
+
<div class="row"><button type="button" id="copy-all" class="primary">Copy everything</button><span id="copy-status" class="hint" role="status"></span></div>
|
|
444
|
+
<textarea id="copy-text" readonly spellcheck="false" aria-label="Text of the screen"></textarea>
|
|
445
|
+
<b>Paste into the terminal</b>
|
|
446
|
+
<div class="row"><button type="button" id="paste-now" class="primary">Paste what I copied</button><span id="paste-status" class="hint" role="status"></span></div>
|
|
447
|
+
<p class="hint">Or put it here first (a long press offers "Paste"), then send it:</p>
|
|
448
|
+
<textarea id="paste-text" spellcheck="false" aria-label="Text to send to the terminal" placeholder="Paste here"></textarea>
|
|
449
|
+
<div class="row"><button type="button" id="paste-send">Send to the terminal</button></div>
|
|
450
|
+
</div>
|
|
451
|
+
<div id="files" class="sheet" hidden>
|
|
452
|
+
<div class="panel-top"><b data-said="set-as-files">Files</b><button type="button" id="files-close" aria-label="Close" title="Close">×</button></div>
|
|
453
|
+
<div id="files-tabs" class="choices" role="tablist" aria-label="Attached folders"></div>
|
|
454
|
+
<p id="files-none" class="hint" hidden>This conversation works on the disk of its machine, and no folder is attached to it. Attach one with "Folders".</p>
|
|
455
|
+
<div class="files-bar">
|
|
456
|
+
<div id="files-path" class="path"></div>
|
|
457
|
+
<div id="files-views" class="levels" role="group" aria-label="Show as">
|
|
458
|
+
<button type="button" data-view="list" aria-pressed="true" title="Show as a list" data-said="set-files-list">List</button><button type="button" data-view="icons" aria-pressed="false" title="Show as icons, with pictures" data-said="set-files-icons">Icons</button>
|
|
459
|
+
</div>
|
|
460
|
+
</div>
|
|
461
|
+
<div class="row" id="files-actions" hidden>
|
|
462
|
+
<button type="button" id="files-import" class="primary"><span class="long">Upload files</span><span class="short">Upload</span></button>
|
|
463
|
+
<button type="button" id="files-import-folder" hidden><span class="long">Upload a folder</span><span class="short">Folder</span></button>
|
|
464
|
+
<button type="button" id="files-new-file"><span class="long">New file</span><span class="short">+ File</span></button>
|
|
465
|
+
<button type="button" id="files-new-folder"><span class="long">New folder</span><span class="short">+ Folder</span></button>
|
|
466
|
+
<span id="files-drop-hint" class="hint" hidden>or drop files and folders here</span>
|
|
467
|
+
<input type="file" id="files-pick" multiple hidden>
|
|
468
|
+
<input type="file" id="files-pick-folder" multiple hidden>
|
|
469
|
+
<span id="files-status" class="hint" role="status"></span>
|
|
470
|
+
</div>
|
|
471
|
+
<p id="files-readonly" class="hint" hidden>Attached read-only: nothing can be imported here.</p>
|
|
472
|
+
<p id="files-error" class="error" role="alert" hidden></p>
|
|
473
|
+
<div id="files-progress" class="files-card" hidden>
|
|
474
|
+
<div class="row"><b id="files-progress-text">Uploading...</b><span class="sp"></span><button type="button" id="files-progress-stop">Stop</button></div>
|
|
475
|
+
<div class="bar" role="progressbar" aria-labelledby="files-progress-text" aria-valuemin="0" aria-valuemax="100" id="files-progress-bar"><span></span></div>
|
|
476
|
+
<small id="files-progress-bytes" class="hint"></small>
|
|
477
|
+
</div>
|
|
478
|
+
<div id="files-ask" class="files-card callout confirm" role="alertdialog" aria-labelledby="files-ask-text" hidden>
|
|
479
|
+
<b id="files-ask-text"></b>
|
|
480
|
+
<div class="action-row"><button type="button" id="files-ask-skip">Skip</button><button type="button" id="files-ask-replace">Replace</button><button type="button" id="files-ask-keep" class="primary">Keep both</button></div>
|
|
481
|
+
<label class="check" id="files-ask-all-line"><input type="checkbox" id="files-ask-all"> <span id="files-ask-all-text">Do the same for the others</span></label>
|
|
482
|
+
</div>
|
|
483
|
+
<form id="files-name" class="files-card" autocomplete="off" hidden>
|
|
484
|
+
<label for="files-name-input" id="files-name-label">Name</label>
|
|
485
|
+
<input id="files-name-input" maxlength="120" spellcheck="false" autocapitalize="none" required>
|
|
486
|
+
<p id="files-name-error" class="error" role="alert" hidden></p>
|
|
487
|
+
<div class="row"><button type="submit" class="primary" id="files-name-go">Create</button><button type="button" id="files-name-cancel">Cancel</button></div>
|
|
488
|
+
</form>
|
|
489
|
+
<div id="files-rows" data-view="list"></div>
|
|
490
|
+
<p id="files-empty" class="hint" hidden data-said="set-files-empty">This folder is empty.</p>
|
|
491
|
+
<div id="files-drop" hidden><p id="files-drop-text">Drop to upload here</p></div>
|
|
492
|
+
</div>
|
|
493
|
+
<!-- THE REVIEW (E): one page for what a repository would send, or for one
|
|
494
|
+
commit. The diff is drawn by diff2html from the text of the diff:
|
|
495
|
+
every line is escaped there, nothing the agent wrote is markup. -->
|
|
496
|
+
<div id="gitview" class="review" hidden>
|
|
497
|
+
<div class="rv-head">
|
|
498
|
+
<button type="button" id="gitview-close" class="as-link">‹ <span id="gitview-back">Back</span></button>
|
|
499
|
+
<b id="gitview-name">Repository</b>
|
|
500
|
+
<span class="rv-branches"><span id="gitview-branch-row" hidden><label for="gitview-branch" class="sr">The agent's branch</label><select id="gitview-branch" class="pill agent"></select></span><span id="gitview-from" class="pill agent"></span><span id="gitview-arrow" aria-hidden="true">→</span><span id="gitview-target-row" hidden><label for="gitview-target" class="sr">Send to the branch</label><select id="gitview-target" class="pill target"></select><input id="gitview-newbranch" spellcheck="false" autocapitalize="off" autocomplete="off" maxlength="200" placeholder="new-branch-name" aria-label="Name of the new branch" hidden><button type="button" id="gitview-newbranch-go" hidden>Look</button></span></span>
|
|
501
|
+
<span class="rv-acts"><button type="button" id="gitview-again" title="Look again">↻</button><button type="button" id="gitview-check" hidden>Run the checks again</button><button type="button" id="gitview-push" class="primary" hidden>Send</button></span>
|
|
502
|
+
</div>
|
|
503
|
+
<p id="gitview-numbers" class="rv-numbers"></p>
|
|
504
|
+
<p id="gitview-state" role="status"></p>
|
|
505
|
+
<p id="gitview-error" class="error" role="alert" hidden></p>
|
|
506
|
+
<div class="row" id="gitview-offer-row" hidden><button type="button" id="gitview-offer"></button><span class="hint">Only for checks about old dates, modes and author lines, which old tools got wrong. Never for what protects a checkout.</span></div>
|
|
507
|
+
<p id="gitview-remote-go" class="hint" hidden><button type="button" id="gitview-set-remote" class="as-link">Set where it is sent, in Assets</button></p>
|
|
508
|
+
<p id="gitview-read" class="hint" role="status" hidden></p>
|
|
509
|
+
<p id="gitview-dropped" class="hint" hidden></p>
|
|
510
|
+
<div id="gitview-guards" class="rv-good" hidden><b>Good to know</b><ul id="gitview-guards-list"></ul></div>
|
|
511
|
+
<div id="gitview-tabs" class="rv-tabs" role="tablist" aria-label="Review">
|
|
512
|
+
<button type="button" role="tab" data-tab="changes" aria-selected="true">Changes <span class="count" id="gitview-n-files"></span></button>
|
|
513
|
+
<button type="button" role="tab" data-tab="commits" aria-selected="false">Commits <span class="count" id="gitview-n-commits"></span></button>
|
|
514
|
+
<button type="button" role="tab" data-tab="checks" aria-selected="false">Checks <span id="gitview-n-checks"></span></button>
|
|
515
|
+
<span class="rv-layout levels" id="gitview-layout" role="group" aria-label="Layout"><button type="button" data-layout="side-by-side" aria-pressed="true">Side by side</button><button type="button" data-layout="line-by-line" aria-pressed="false">Unified</button></span>
|
|
516
|
+
</div>
|
|
517
|
+
<div id="gitview-pane-changes" class="rv-pane">
|
|
518
|
+
<div class="rv-picker" id="gitview-picker" hidden><button type="button" data-step="-1" aria-label="Previous file">‹</button><span id="gitview-picker-at"></span><button type="button" data-step="1" aria-label="Next file">›</button></div>
|
|
519
|
+
<div class="rv-body"><nav id="gitview-tree" class="rv-tree" aria-label="Files changed"></nav><div id="gitview-diff" class="rv-diff"></div></div>
|
|
520
|
+
<pre id="gitview-stat" hidden></pre>
|
|
521
|
+
</div>
|
|
522
|
+
<div id="gitview-pane-commits" class="rv-pane" hidden><div id="gitview-commits"></div></div>
|
|
523
|
+
<div id="gitview-pane-checks" class="rv-pane" hidden>
|
|
524
|
+
<div id="gitview-checks" hidden>
|
|
525
|
+
<p class="hint">Checks run in the agent's machine (its pre-push hook, your check command): a safeguard, not a proof. The tool could make them pass.</p>
|
|
526
|
+
<p id="gitview-checks-state" role="status"></p>
|
|
527
|
+
<pre id="gitview-checks-output"></pre>
|
|
528
|
+
</div>
|
|
529
|
+
<div id="gitview-origin" hidden>
|
|
530
|
+
<p class="hint" id="gitview-origin-where"></p>
|
|
531
|
+
<div class="row"><code id="gitview-origin-fetch"></code></div>
|
|
532
|
+
<div class="row"><button type="button" id="gitview-refresh">Refresh now</button><span class="hint" id="gitview-origin-state" role="status"></span></div>
|
|
533
|
+
</div>
|
|
534
|
+
<details id="gitview-keep-box">
|
|
535
|
+
<summary>Checks, origin, automatic sending</summary>
|
|
536
|
+
<form id="gitview-keep" class="set-rows" autocomplete="off">
|
|
537
|
+
<div class="set-row"><div class="set-what"><label for="gitview-runhook">Pre-push hook</label><small>The project's own, if it has one</small></div><div class="set-control"><input type="checkbox" id="gitview-runhook"></div></div>
|
|
538
|
+
<div class="set-row"><div class="set-what"><label for="gitview-checkcommand">Check command</label><small>Run in the agent's machine, optional</small></div><div class="set-control"><input id="gitview-checkcommand" spellcheck="false" autocapitalize="off" maxlength="500" placeholder="npm test"></div></div>
|
|
539
|
+
<div class="set-row"><div class="set-what"><label for="gitview-checkseconds">Time limit</label><small>Of the checks, in seconds</small></div><div class="set-control"><input id="gitview-checkseconds" type="number" min="10" max="3600" step="1" inputmode="numeric"></div></div>
|
|
540
|
+
<div class="set-row"><div class="set-what"><label for="gitview-require">Checks required</label><small>Send only after they passed</small></div><div class="set-control"><input type="checkbox" id="gitview-require"></div></div>
|
|
541
|
+
<div class="set-row"><div class="set-what"><label for="gitview-refreshminutes">Origin refresh</label><small>Every N minutes · 0: by hand only</small></div><div class="set-control"><input id="gitview-refreshminutes" type="number" min="0" max="1440" step="1" inputmode="numeric"></div></div>
|
|
542
|
+
<div class="set-row"><div class="set-what"><label for="gitview-alert">Phone alerts</label><small>On automatic sendings</small></div><div class="set-control"><input type="checkbox" id="gitview-alert"></div></div>
|
|
543
|
+
<div class="set-row"><div class="set-what"><label for="gitview-tellmoves">Branch moves</label><small>Told to the agent · origin/* is fetched anyway</small></div><div class="set-control"><input type="checkbox" id="gitview-tellmoves"></div></div>
|
|
544
|
+
<p class="hint">Refresh and automatic sending: only while a running machine has it attached. "Refresh now": any time.</p>
|
|
545
|
+
<p class="hint" id="gitview-auto-where">Automatic sending: set for each conversation, in its Access (Write).</p>
|
|
546
|
+
<div class="action-row"><span class="hint" id="gitview-keep-said" role="status"></span><button type="submit" class="primary">Save</button></div>
|
|
547
|
+
</form>
|
|
548
|
+
<b>What was sent by itself, and what went wrong</b>
|
|
549
|
+
<p id="gitview-log-empty" class="hint">Nothing yet.</p>
|
|
550
|
+
<div id="gitview-log"></div>
|
|
551
|
+
</details>
|
|
552
|
+
</div>
|
|
553
|
+
</div>
|
|
554
|
+
<!-- A file, shown over whatever is on the screen; closing it leaves you where you were. -->
|
|
555
|
+
<div id="viewer" role="dialog" aria-modal="true" aria-labelledby="preview-name" hidden>
|
|
556
|
+
<div id="viewer-card">
|
|
557
|
+
<div class="row"><b id="preview-name"></b><span class="sp"></span><button type="button" id="preview-where" class="ico" hidden title="Show in Assets" aria-label="Show in Assets"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 2 2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5M2 12l10 5 10-5"/></svg></button><button type="button" id="preview-attach" class="ico" hidden title="Attach to a card" aria-label="Attach to a card"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"/></svg></button><button type="button" id="preview-edit" class="ico" hidden title="Edit" aria-label="Edit"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"/></svg></button><button type="button" id="preview-copy" class="ico" hidden title="Copy" aria-label="Copy"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg></button><button type="button" id="preview-full" class="ico" title="Full screen" aria-label="Full screen" aria-pressed="false"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></svg></button><a id="preview-download" class="button ico primary" title="Download" aria-label="Download"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3v12M7 11l5 5 5-5"/><path d="M5 21h14"/></svg></a><button type="button" id="preview-close" aria-label="Close" title="Close">×</button></div>
|
|
558
|
+
<p id="preview-note" class="hint" hidden></p>
|
|
559
|
+
<div id="preview-body"></div>
|
|
560
|
+
</div>
|
|
561
|
+
</div>
|
|
562
|
+
<div id="notice" hidden>
|
|
563
|
+
<span id="notice-spin" class="spin" aria-hidden="true" hidden></span>
|
|
564
|
+
<!-- A start told step by step: what it is, which step of how many, and the time so far. -->
|
|
565
|
+
<div id="notice-head" hidden><p id="notice-title"></p><p id="notice-count"></p></div>
|
|
566
|
+
<ol id="notice-steps" aria-live="polite" hidden></ol>
|
|
567
|
+
<!-- Its machine's action under way (a restart, a stop, a force stop): the same steps as in its settings. -->
|
|
568
|
+
<div id="notice-mlive" class="m-live" hidden></div>
|
|
569
|
+
<p id="notice-text"></p>
|
|
570
|
+
<ul id="notice-health" class="health-lines" hidden></ul>
|
|
571
|
+
<div class="row"><button id="notice-action" type="button" class="primary"></button><button id="notice-restart" type="button" hidden>Restart the machine...</button><button id="notice-cancel" type="button" hidden>Cancel</button></div>
|
|
572
|
+
</div>
|
|
573
|
+
</main>
|
|
574
|
+
<p id="voice-line" role="status" hidden></p>
|
|
575
|
+
<!-- Saved texts, sent with one click. -->
|
|
576
|
+
<div id="shortcuts" hidden>
|
|
577
|
+
<div id="shortcut-row" class="chips-row"></div>
|
|
578
|
+
<form id="shortcut-new" hidden autocomplete="off">
|
|
579
|
+
<input id="shortcut-label" maxlength="40" placeholder="Label on the button" required aria-label="Label on the button">
|
|
580
|
+
<input id="shortcut-text" maxlength="2000" placeholder="Text typed into the terminal" required aria-label="Text typed into the terminal">
|
|
581
|
+
<label class="check"><input type="checkbox" id="shortcut-enter" checked> press Enter after it</label>
|
|
582
|
+
<div class="row"><button type="submit" class="primary">Save</button><button type="button" id="shortcut-cancel">Cancel</button>
|
|
583
|
+
<span id="shortcut-error" class="error" role="alert" hidden></span></div>
|
|
584
|
+
</form>
|
|
585
|
+
</div>
|
|
586
|
+
<!-- The keys a phone keyboard does not have. -->
|
|
587
|
+
<footer id="keys" data-more="false" title="To select text with the mouse, hold Shift while dragging: what is selected is copied. With a finger, press and hold.">
|
|
588
|
+
<button type="button" data-keys="esc">Esc</button>
|
|
589
|
+
<button type="button" data-keys="tab" class="extra">Tab</button>
|
|
590
|
+
<button type="button" data-keys="left" aria-label="Left">←</button>
|
|
591
|
+
<button type="button" data-keys="down" aria-label="Down">↓</button>
|
|
592
|
+
<button type="button" data-keys="up" aria-label="Up">↑</button>
|
|
593
|
+
<button type="button" data-keys="right" aria-label="Right">→</button>
|
|
594
|
+
<button type="button" data-keys="backspace" class="extra" aria-label="Backspace">⌫</button>
|
|
595
|
+
<button type="button" data-keys="enter" class="wide">Enter</button>
|
|
596
|
+
<button type="button" data-keys="stop" class="careful extra" title="Ctrl+C: interrupts what is running">Ctrl+C</button>
|
|
597
|
+
<button type="button" id="copy-open" class="extra" hidden title="Copy text of the screen, or paste">Copy / paste</button>
|
|
598
|
+
<button type="button" id="kbd" aria-pressed="false" data-short="Kbd" hidden title="Show or hide the on-screen keyboard">Keyboard</button>
|
|
599
|
+
<button type="button" id="mic" aria-pressed="false" data-short="Mic" hidden>Dictate</button>
|
|
600
|
+
<button type="button" id="auto" class="extra" aria-pressed="false" hidden title="Press Enter when I stop talking">auto</button>
|
|
601
|
+
<button type="button" id="keys-more" aria-expanded="false" title="More keys, and the ready-made answers">More</button>
|
|
602
|
+
</footer>
|
|
603
|
+
</section>
|
|
604
|
+
<!-- The places of the whole (settings, access, assets, the deck, rooms, a new conversation): not a conversation's,
|
|
605
|
+
so not under its bar -- over it, on their own (03-11). -->
|
|
606
|
+
<section id="places" hidden>
|
|
366
607
|
<div id="access" class="sheet" hidden>
|
|
367
608
|
<div class="panel-top access-top">
|
|
368
609
|
<b>Access</b>
|
|
@@ -457,44 +698,114 @@
|
|
|
457
698
|
<!-- Voice boxes: a speaker in a room, bound to one conversation (boxes.mjs). -->
|
|
458
699
|
<section id="boxes" aria-label="Voice boxes">
|
|
459
700
|
<div class="row"><b>Voice boxes</b><span class="sp"></span><button type="button" id="box-new" class="primary">+ Voice box</button></div>
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
701
|
+
<!-- "+ Voice box": the New asset box (kit.js NewAsset), its kind a voice box. -->
|
|
702
|
+
<div id="box-newasset" class="card" hidden></div>
|
|
703
|
+
<!-- THE VOICE BOX'S FORM, a kind of New asset (05-11, step 4): where it speaks, plug it, pair it. Moved
|
|
704
|
+
into the box that asks for it (Assets, a conversation's Attach, here, a room); waits in #assets-forms. -->
|
|
705
|
+
<div id="box-add" class="as-form box-flow" hidden>
|
|
706
|
+
<div class="box-step" data-step="where">
|
|
707
|
+
<label>Speaks in <select id="box-conversation"></select></label>
|
|
463
708
|
<label>Room <input id="box-room" maxlength="40" placeholder="Living room"></label>
|
|
464
|
-
<button type="button" id="box-code" class="primary">Get a code</button>
|
|
465
709
|
</div>
|
|
466
|
-
<div
|
|
467
|
-
<p class="hint"
|
|
468
|
-
<
|
|
469
|
-
<div
|
|
470
|
-
<p class="hint">Pairing code alone: <b id="box-code-shown"></b></p>
|
|
710
|
+
<div class="box-step" data-step="plug" hidden>
|
|
711
|
+
<p class="hint" data-said="set-na-box-plug">Plug it into power.</p>
|
|
712
|
+
<p class="hint" data-said="set-na-box-flash">Not flashed yet: its conversation flashes it (Tether).</p>
|
|
713
|
+
<div id="box-jobs"></div>
|
|
471
714
|
</div>
|
|
715
|
+
<div class="box-step" data-step="pair" hidden>
|
|
716
|
+
<div class="row"><button type="button" id="box-code" class="primary">Get a code</button></div>
|
|
717
|
+
<div id="box-ready" hidden>
|
|
718
|
+
<p class="hint">Phone on the box's Wi-Fi « Gambeli-… »: open this link, or scan the code. Its page opens filled in; choose your Wi-Fi. <span id="box-code-minutes"></span></p>
|
|
719
|
+
<div class="row box-setup"><div id="box-qr" class="box-qr"></div><a id="box-link" class="primary button-link" href="#">Open the box's page</a></div>
|
|
720
|
+
<div class="row"><code id="box-key" class="box-key"></code><button type="button" id="box-key-copy">Copy the key</button></div>
|
|
721
|
+
<p class="hint">Pairing code alone: <b id="box-code-shown"></b></p>
|
|
722
|
+
<p id="box-waiting" class="hint" role="status"></p>
|
|
723
|
+
</div>
|
|
724
|
+
</div>
|
|
725
|
+
<p id="box-error" class="error" role="alert" hidden></p>
|
|
726
|
+
<div class="row box-flow-acts"><button type="button" id="box-back" data-said="set-na-back">Back</button><button type="button" id="box-next" class="primary" data-said="set-na-next">Next</button></div>
|
|
472
727
|
</div>
|
|
473
728
|
<div id="box-list"></div>
|
|
474
729
|
</section>
|
|
475
730
|
</div>
|
|
476
731
|
</div>
|
|
477
732
|
</div>
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
<div
|
|
485
|
-
<p id="
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
</div>
|
|
490
|
-
<div id="
|
|
491
|
-
|
|
492
|
-
<
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
733
|
+
<div id="deck" class="sheet as-place" hidden>
|
|
734
|
+
<div class="panel-top"><b id="deck-title">Conversations</b><button type="button" id="deck-close" class="as-link place-back">‹ Back</button></div>
|
|
735
|
+
<!-- FEATURES (features.js): the next step over the cards; the welcome in place of "No conversation yet". -->
|
|
736
|
+
<div id="deck-features" hidden></div>
|
|
737
|
+
<div id="deck-welcome" hidden></div>
|
|
738
|
+
<!-- THE DESK (desk.js): the home page, a grid of icons kept per person, the same on every screen. -->
|
|
739
|
+
<div id="deck-cards" class="desk-host"></div>
|
|
740
|
+
<div id="deck-empty" class="deck-empty" hidden><p>No conversation yet.</p><div class="deck-empty-acts"><button type="button" id="deck-empty-new" class="primary">+ Create a conversation</button><button type="button" id="deck-empty-import">Import a configuration</button></div></div>
|
|
741
|
+
</div>
|
|
742
|
+
<!-- A room (#268): one thread for several AIs, the person and voice boxes. -->
|
|
743
|
+
<div id="salon" class="sheet as-place" hidden>
|
|
744
|
+
<div class="panel-top"><b id="salon-title">Room</b><button type="button" id="salon-close" class="as-link place-back">‹ Back</button></div>
|
|
745
|
+
<div class="salon-bar"><button type="button" id="salon-who" class="salon-who" aria-expanded="false"></button><button type="button" id="salon-settings" class="icon-btn" aria-label="Room settings" title="Room settings"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"/></svg></button></div>
|
|
746
|
+
<div id="salon-members" class="salon-members" hidden></div>
|
|
747
|
+
<div id="salon-thread" class="salon-thread"></div>
|
|
748
|
+
<p id="salon-thinking" class="salon-thinking" hidden></p>
|
|
749
|
+
</div>
|
|
750
|
+
<!-- A ROOM'S SETTINGS (07-11, charte-reglages): the chapters of every settings page, folding; a row = its name and
|
|
751
|
+
a short line on the left, one control on the right; each change saved at once (a new room: « Create » at the end). -->
|
|
752
|
+
<div id="salon-new" class="sheet as-place" hidden>
|
|
753
|
+
<div class="panel-top"><b id="salon-new-title">New room</b><span class="hint salon-saved" id="salon-new-status" role="status"></span><button type="button" id="salon-new-close" class="as-link place-back">‹ Back</button></div>
|
|
754
|
+
<div class="nc-body">
|
|
755
|
+
<span id="salon-new-error" class="err" role="alert" hidden></span>
|
|
756
|
+
<details class="chapter" id="salon-ch-general" data-chapter="room-general">
|
|
757
|
+
<summary><span class="chapter-title" data-said="set-tab-general">General</span><span class="chapter-about" id="salon-sum-general"></span></summary>
|
|
758
|
+
<div class="chapter-body">
|
|
759
|
+
<div class="set-row"><div class="set-what"><label for="salon-new-name" data-said="set-room-name">Name</label></div><div class="set-control"><input id="salon-new-name" maxlength="60" placeholder="Home" spellcheck="false" autocomplete="off" enterkeyhint="done"></div></div>
|
|
760
|
+
</div>
|
|
761
|
+
</details>
|
|
762
|
+
<details class="chapter" id="salon-ch-ais" data-chapter="room-ais">
|
|
763
|
+
<summary><span class="chapter-title" data-said="set-room-ais">Its AIs</span><span class="chapter-about" id="salon-new-count"></span></summary>
|
|
764
|
+
<div class="chapter-body">
|
|
765
|
+
<div class="set-row salon-members-tools"><div class="set-what"><small data-said="set-room-host-how">Tap another AI of the room to move it</small></div><div class="set-control"><input id="salon-new-search" type="search" placeholder="Find a conversation" data-said-placeholder="set-room-find" aria-label="Find a conversation" autocomplete="off"></div></div>
|
|
766
|
+
<div id="salon-new-ais" class="salon-member-list" role="list" aria-label="AIs"></div>
|
|
767
|
+
</div>
|
|
768
|
+
</details>
|
|
769
|
+
<!-- Each AI's assets (06-11): its own, as its conversation has them; no room asset. -->
|
|
770
|
+
<details class="chapter" id="salon-assets-card" data-chapter="room-assets" hidden>
|
|
771
|
+
<summary><span class="chapter-title" data-said="set-room-assets">Their assets</span><span class="chapter-about" id="salon-sum-assets"></span><button type="button" id="salon-assets-all" class="chapter-add" data-said="set-room-give-all">Give to all its AIs…</button></summary>
|
|
772
|
+
<div class="chapter-body">
|
|
773
|
+
<div id="salon-assets-give" class="salon-give" hidden></div>
|
|
774
|
+
<div id="salon-assets" class="salon-member-list salon-assets-list" role="list" aria-label="Their assets"></div>
|
|
775
|
+
</div>
|
|
776
|
+
</details>
|
|
777
|
+
<details class="chapter" id="salon-new-boxes-card" data-chapter="room-voice">
|
|
778
|
+
<summary><span class="chapter-title" data-said="set-tab-chat">Chat & voice</span><span class="chapter-about" id="salon-sum-voice"></span><button type="button" id="salon-new-box-add" class="chapter-add" data-said="set-na-plus-box">+ Voice box</button></summary>
|
|
779
|
+
<div class="chapter-body">
|
|
780
|
+
<div id="salon-box-newasset" hidden></div>
|
|
781
|
+
<div id="salon-new-boxes" class="salon-member-list" role="list" aria-label="Voice boxes"></div>
|
|
782
|
+
</div>
|
|
783
|
+
</details>
|
|
784
|
+
<details class="chapter" id="salon-new-remove-card" data-chapter="room-advanced" hidden>
|
|
785
|
+
<summary><span class="chapter-title" data-said="set-tab-advanced">Advanced</span><span class="chapter-about"></span></summary>
|
|
786
|
+
<div class="chapter-body">
|
|
787
|
+
<div class="set-row"><div class="set-what"><span data-said="set-room-remove">Remove the room</span><small data-said="set-room-remove-what">The thread goes · AIs and boxes stay</small></div><div class="set-control"><button type="button" id="salon-new-remove" class="danger" data-said="set-room-remove-dots">Remove…</button></div></div>
|
|
788
|
+
</div>
|
|
789
|
+
</details>
|
|
790
|
+
</div>
|
|
791
|
+
<!-- A new room only: nothing is saved before it exists. -->
|
|
792
|
+
<div class="action-row" id="salon-new-actions"><button type="button" id="salon-new-create" class="primary" data-said="set-room-create">Create</button></div>
|
|
793
|
+
</div>
|
|
794
|
+
<div id="assets" class="sheet as-place" hidden>
|
|
795
|
+
<div class="panel-top"><b>Assets</b></div>
|
|
796
|
+
<p id="assets-error" class="error" role="alert" hidden></p>
|
|
797
|
+
<div class="as" id="assets-as">
|
|
798
|
+
<div class="as-list"><div class="as-tools"><input type="search" id="assets-search" placeholder="Search assets" aria-label="Search assets" spellcheck="false" autocomplete="off"><button type="button" id="assets-new" class="as-new primary"><span aria-hidden="true">+ </span><span data-said="set-as-new">New</span></button></div><div class="as-view" id="assets-view"></div><div id="assets-rows"></div></div>
|
|
799
|
+
<div class="as-detail" id="assets-detail"></div>
|
|
800
|
+
</div>
|
|
801
|
+
<div id="assets-forms" hidden>
|
|
802
|
+
<div id="folder-box" class="as-form" data-kind="folder"><h3>New folder</h3>
|
|
803
|
+
<form id="folder-new" autocomplete="off">
|
|
804
|
+
<label for="folder-name">New folder</label>
|
|
805
|
+
<div class="row"><input id="folder-name" maxlength="32" pattern="[a-z]([a-z0-9-]{0,30}[a-z0-9])?" title="Lower-case letters, digits and hyphens; starts with a letter, does not end with a hyphen" placeholder="reports" spellcheck="false" autocapitalize="none" required>
|
|
806
|
+
<button type="submit" class="primary">Create</button></div>
|
|
807
|
+
</form>
|
|
808
|
+
</div>
|
|
498
809
|
<div id="git-box" class="as-form" data-kind="git"><h3>New repository</h3>
|
|
499
810
|
<div class="hint">Empty, or cloned from a remote. <details class="more"><summary>Private remotes</summary><span>Public, or private over SSH or HTTPS. It is attached and shared like a folder, to read or to write. What opens a private remote is kept on this server, sealed, and used here only (to clone, to look, to send): the tool's machine never receives it.</span></details></div>
|
|
500
811
|
<form id="git-new" autocomplete="off">
|
|
@@ -511,8 +822,8 @@
|
|
|
511
822
|
</fieldset>
|
|
512
823
|
<div id="git-via-ssh-key" class="git-via-part">
|
|
513
824
|
<label for="git-key">Key</label>
|
|
514
|
-
|
|
515
|
-
<div id="git-key-
|
|
825
|
+
<!-- A SecretPicker (kit.js): #git-key, "+ New key…" (#git-key-new), made in place (#git-key-make). -->
|
|
826
|
+
<div id="git-key-pick"></div>
|
|
516
827
|
<div id="git-key-shown" hidden>
|
|
517
828
|
<label for="git-key-public">Public key: add it to the repository on the hosting service, then press Add</label>
|
|
518
829
|
<div class="row"><textarea id="git-key-public" class="public-key" readonly rows="3" spellcheck="false"></textarea><button type="button" id="git-key-copy">Copy</button></div>
|
|
@@ -532,13 +843,13 @@
|
|
|
532
843
|
<label for="git-pass">Password (kept sealed here)</label>
|
|
533
844
|
<input id="git-pass" type="password" autocomplete="new-password">
|
|
534
845
|
</div>
|
|
535
|
-
<div class="row"><button type="submit" class="primary">
|
|
846
|
+
<div class="row"><button type="submit" class="primary">Create</button></div>
|
|
536
847
|
<p id="git-said" class="hint" role="status" hidden></p>
|
|
537
848
|
<p id="git-error" class="error" role="alert" hidden></p>
|
|
538
849
|
</form>
|
|
539
850
|
<div class="panel-top"><b id="git-keys-title">SSH keys made here</b><small class="hint">the private half never leaves this server</small></div>
|
|
540
851
|
<div id="git-keys"></div>
|
|
541
|
-
<p id="git-keys-empty" class="hint">No key yet: "New key" in
|
|
852
|
+
<p id="git-keys-empty" class="hint">No key yet: "+ New key…" in New repository makes one.</p>
|
|
542
853
|
</div>
|
|
543
854
|
<div id="mailbox-box" class="as-form" data-kind="mailbox"><h3>New mailbox</h3>
|
|
544
855
|
<div id="mailbox-provider" class="choices" role="group" aria-label="Kind of mailbox">
|
|
@@ -556,7 +867,7 @@
|
|
|
556
867
|
<input id="mailbox-smtp" class="mailbox-live" placeholder="smtp.example.com — empty: no sending" spellcheck="false" autocapitalize="off">
|
|
557
868
|
<label for="mailbox-password">Password</label>
|
|
558
869
|
<div class="row"><input id="mailbox-password" type="password" autocomplete="new-password">
|
|
559
|
-
<button type="submit" class="primary">
|
|
870
|
+
<button type="submit" class="primary">Create</button></div>
|
|
560
871
|
<p id="mailbox-error" class="error" role="alert" hidden></p>
|
|
561
872
|
</form>
|
|
562
873
|
</div>
|
|
@@ -587,17 +898,86 @@
|
|
|
587
898
|
<label for="connexion-carddav" id="connexion-carddav-label">Contacts address (CardDAV)</label>
|
|
588
899
|
<input id="connexion-carddav" spellcheck="false" autocapitalize="off" placeholder="https://dav.example.com">
|
|
589
900
|
<p class="hint">Filled from the email address when known; your host's help pages give them otherwise. The password stays on the server and never enters a machine.</p>
|
|
590
|
-
<div class="row"><button type="button" id="connexion-classic-connect" class="primary">
|
|
901
|
+
<div class="row"><button type="button" id="connexion-classic-connect" class="primary">Create</button></div>
|
|
591
902
|
</div>
|
|
592
903
|
<p class="hint" id="connexion-notice"></p>
|
|
593
904
|
<div class="row" id="connexion-open-row"><button type="button" id="connexion-open" class="primary">Open the sign-in page</button></div>
|
|
594
905
|
<div id="connexion-paste" hidden>
|
|
595
906
|
<label for="connexion-code">After you allow, the page will not load — copy its full address and paste it here</label>
|
|
596
|
-
<div class="row"><input id="connexion-code" spellcheck="false" autocapitalize="off" placeholder="Paste the whole address from the bar"><button type="button" id="connexion-connect" class="primary">
|
|
907
|
+
<div class="row"><input id="connexion-code" spellcheck="false" autocapitalize="off" placeholder="Paste the whole address from the bar"><button type="button" id="connexion-connect" class="primary">Create</button></div>
|
|
597
908
|
</div>
|
|
598
909
|
<p id="connexion-error" class="error" role="alert" hidden></p>
|
|
599
910
|
</form>
|
|
600
911
|
</div>
|
|
912
|
+
<div id="mcp-box" class="as-form" data-kind="mcp"><h3 data-said="set-mcp-head">Add an MCP server</h3>
|
|
913
|
+
<p class="hint" data-said="set-mcp-hint">Its tools, given to the AIs you choose. The key stays on the server.</p>
|
|
914
|
+
<form id="mcp-new" autocomplete="off" novalidate>
|
|
915
|
+
<div id="mcp-drop" class="mcp-drop">
|
|
916
|
+
<textarea id="mcp-config" rows="4" spellcheck="false" autocapitalize="off" autocomplete="off" aria-label="Configuration"></textarea>
|
|
917
|
+
<div class="mcp-drop-ph" aria-hidden="true"><b data-said="set-mcp-drop">Paste the service's configuration here</b><span data-said="set-mcp-drop-hint">the { "mcpServers": … } block from its help page</span></div>
|
|
918
|
+
</div>
|
|
919
|
+
<div id="mcp-pick" class="mcp-pick" role="group" hidden></div>
|
|
920
|
+
<ul id="mcp-found" class="mcp-found" hidden>
|
|
921
|
+
<li><span class="mcp-found-k" data-said="set-mcp-name">Name</span><span class="mcp-found-v" id="mcp-found-name"></span><span class="mcp-found-t" aria-hidden="true">✓</span></li>
|
|
922
|
+
<li><span class="mcp-found-k" data-said="set-mcp-url">Address</span><span class="mcp-found-v" id="mcp-found-url"></span><span class="mcp-found-t" aria-hidden="true">✓</span></li>
|
|
923
|
+
<li id="mcp-found-keyline"><span class="mcp-found-k" data-said="set-mcp-key">Key</span><span class="mcp-found-v" id="mcp-found-key"></span><span class="mcp-found-t" aria-hidden="true">✓</span></li>
|
|
924
|
+
</ul>
|
|
925
|
+
<p id="mcp-error" class="error" role="alert" hidden></p>
|
|
926
|
+
<div class="row"><button type="submit" id="mcp-add" class="primary" data-said="set-mcp-add">Add</button></div>
|
|
927
|
+
<details class="more" id="mcp-hand"><summary data-said="set-mcp-hand">Fill in by hand</summary>
|
|
928
|
+
<label for="mcp-name" data-said="set-mcp-name">Name</label>
|
|
929
|
+
<input id="mcp-name" maxlength="120" spellcheck="false" placeholder="CRM">
|
|
930
|
+
<label for="mcp-url" data-said="set-mcp-url">Address</label>
|
|
931
|
+
<input id="mcp-url" type="url" spellcheck="false" autocapitalize="off" placeholder="https://mcp.example.com/mcp">
|
|
932
|
+
<label for="mcp-key" data-said="set-mcp-key">Key</label>
|
|
933
|
+
<input id="mcp-key" type="password" autocomplete="new-password" placeholder="optional, never shown again">
|
|
934
|
+
</details>
|
|
935
|
+
</form>
|
|
936
|
+
</div>
|
|
937
|
+
<div id="machine-box" class="as-form" data-kind="machine"><h3 data-said="set-mc-head">Add a machine (SSH)</h3>
|
|
938
|
+
<p class="hint" data-said="set-mc-hint">Its console, its files; the key stays here.</p>
|
|
939
|
+
<form id="machine-new" autocomplete="off" novalidate>
|
|
940
|
+
<label for="machine-title" data-said="set-mc-title">Name</label>
|
|
941
|
+
<input id="machine-title" maxlength="80" spellcheck="false" placeholder="Home server">
|
|
942
|
+
<label for="machine-host" data-said="set-mc-host">Address</label>
|
|
943
|
+
<div class="row"><input id="machine-host" maxlength="253" spellcheck="false" autocapitalize="off" inputmode="url" placeholder="server.example.com"><input id="machine-port" class="mc-port" inputmode="numeric" maxlength="5" placeholder="22" aria-label="Port"></div>
|
|
944
|
+
<label for="machine-user" data-said="set-mc-user">User</label>
|
|
945
|
+
<input id="machine-user" maxlength="64" spellcheck="false" autocapitalize="off" placeholder="admin">
|
|
946
|
+
<label for="machine-key" data-said="set-mc-key">Key</label>
|
|
947
|
+
<div id="machine-key-pick"></div>
|
|
948
|
+
<div id="machine-key-shown" hidden>
|
|
949
|
+
<label for="machine-key-line" data-said="set-mc-key-line">Add to ~/.ssh/authorized_keys</label>
|
|
950
|
+
<div class="row"><textarea id="machine-key-line" class="public-key" readonly rows="3" spellcheck="false"></textarea><button type="button" id="machine-key-copy">Copy</button></div>
|
|
951
|
+
</div>
|
|
952
|
+
<details class="more"><summary data-said="set-mc-more">Server fingerprint (optional)</summary>
|
|
953
|
+
<p class="hint" data-said="set-mc-pin-hint">Read and kept on first contact.</p>
|
|
954
|
+
<input id="machine-pin" maxlength="200" spellcheck="false" autocapitalize="off" placeholder="SHA256:…" aria-label="Fingerprint">
|
|
955
|
+
</details>
|
|
956
|
+
<p id="machine-error" class="error" role="alert" hidden></p>
|
|
957
|
+
<div class="row"><button type="submit" id="machine-add" class="primary" data-said="set-mc-add">Add</button></div>
|
|
958
|
+
</form>
|
|
959
|
+
</div>
|
|
960
|
+
<div id="browser-box" class="as-form" data-kind="browser"><h3 data-said="set-br-head">Pair a browser</h3>
|
|
961
|
+
<ol class="hint br-steps"><li data-said="set-br-step-install">Install the Tether extension.</li><li data-said="set-br-step-make">Make the configuration below, then copy it.</li><li data-said="set-br-step-paste">Paste it in the extension's popup.</li></ol>
|
|
962
|
+
<form id="browser-new" autocomplete="off">
|
|
963
|
+
<label for="browser-name" data-said="set-br-name">Name</label>
|
|
964
|
+
<input id="browser-name" maxlength="80" spellcheck="false" placeholder="Laptop · Firefox">
|
|
965
|
+
<div class="row"><button type="submit" id="browser-make" class="primary" data-said="set-br-make">Make the configuration</button></div>
|
|
966
|
+
<div id="browser-made" hidden>
|
|
967
|
+
<label for="browser-config" data-said="set-br-config">Configuration (once, 10 minutes)</label>
|
|
968
|
+
<div class="row"><input id="browser-config" readonly spellcheck="false"><button type="button" id="browser-copy" data-said="set-br-copy">Copy</button></div>
|
|
969
|
+
<p class="hint" id="browser-wait" data-said="set-br-wait">Waiting for the extension…</p>
|
|
970
|
+
</div>
|
|
971
|
+
<p id="browser-error" class="error" role="alert" hidden></p>
|
|
972
|
+
<details class="more"><summary data-said="set-br-by-code">Or with the code it shows</summary>
|
|
973
|
+
<label for="browser-address" data-said="set-br-address">Address for the extension</label>
|
|
974
|
+
<input id="browser-address" readonly spellcheck="false">
|
|
975
|
+
<label for="browser-code" data-said="set-br-code">Code</label>
|
|
976
|
+
<input id="browser-code" inputmode="numeric" autocomplete="off" maxlength="32" placeholder="123456">
|
|
977
|
+
<div class="row"><button type="button" id="browser-pair" data-said="set-br-pair">Pair</button></div>
|
|
978
|
+
</details>
|
|
979
|
+
</form>
|
|
980
|
+
</div>
|
|
601
981
|
<div id="list-box" class="as-form" data-kind="list"><h3 id="listnew-head">New binder</h3>
|
|
602
982
|
<form id="list-new" autocomplete="off">
|
|
603
983
|
<label for="listnew-template">Template</label>
|
|
@@ -611,7 +991,7 @@
|
|
|
611
991
|
<label for="secret-name">New secret, or a new value for an existing one</label>
|
|
612
992
|
<div class="row"><input id="secret-name" maxlength="40" pattern="[A-Z][A-Z0-9_]*" title="Capitals, digits and underscores, starting with a letter. Example: MODEL_KEY" placeholder="MODEL_KEY" spellcheck="false" autocapitalize="characters" required>
|
|
613
993
|
<input id="secret-value" type="password" placeholder="value (never shown again)" autocomplete="new-password" required>
|
|
614
|
-
<button type="submit" class="primary">
|
|
994
|
+
<button type="submit" class="primary">Create</button></div>
|
|
615
995
|
<div class="row secret-expiry"><label for="secret-expires">Expires</label><input id="secret-expires" type="date"><small class="hint">Optional</small></div>
|
|
616
996
|
<!-- A key or a certificate is several lines: pasted into the line above, they come here by themselves. -->
|
|
617
997
|
<textarea id="secret-lines" class="secret-lines" rows="7" spellcheck="false" autocomplete="off" autocapitalize="off" placeholder="-----BEGIN ...----- ... -----END ...-----" aria-label="Value, several lines (never shown again)" hidden></textarea>
|
|
@@ -631,127 +1011,182 @@
|
|
|
631
1011
|
</div>
|
|
632
1012
|
</div>
|
|
633
1013
|
<div id="settings" class="sheet" hidden>
|
|
634
|
-
<div class="panel-top"><b>Settings</b><button type="button" id="settings-close" class="as-link place-back">‹ Conversations</button></div>
|
|
1014
|
+
<div class="panel-top"><b data-said="set-nav-settings">Settings</b><button type="button" id="settings-close" class="as-link place-back">‹ Conversations</button></div>
|
|
635
1015
|
<!-- THE CATEGORIES: a list beside them on a wide screen, headings one under the other on a phone. -->
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
<
|
|
640
|
-
<
|
|
641
|
-
<button type="button" data-
|
|
1016
|
+
<!-- AT HAND (settings redesign, step 1): what is looked at most -- memory, disk, CPU -- with its state
|
|
1017
|
+
and the gestures done most, above the tabs; never folded (app.js, paintSettingsHand). -->
|
|
1018
|
+
<section class="at-hand" id="settings-hand" aria-label="At hand" hidden>
|
|
1019
|
+
<div class="hand-tiles" id="settings-tiles"></div>
|
|
1020
|
+
<div class="hand-facts" id="settings-facts"></div>
|
|
1021
|
+
<div class="hand-acts"><button type="button" id="hand-check" data-said="set-check-updates">Check for updates</button><button type="button" id="hand-activity" data-said="set-activity">Activity</button><button type="button" id="hand-restart" data-said="set-restart-dots">Restart…</button></div>
|
|
1022
|
+
</section>
|
|
1023
|
+
<!-- THE TABS: the same names, in the same order, on every settings page; one group shown at a time,
|
|
1024
|
+
the search looks in all of them (app.js, settingsTabs). -->
|
|
1025
|
+
<nav id="settings-nav" class="settings-tabs" role="tablist" aria-label="Categories of Settings">
|
|
1026
|
+
<button type="button" role="tab" data-group="general" data-said="set-tab-general">General</button>
|
|
1027
|
+
<button type="button" role="tab" data-group="device" data-said="set-tab-device">This device</button>
|
|
1028
|
+
<button type="button" role="tab" data-group="resources" data-said="set-tab-resources">Resources</button>
|
|
1029
|
+
<button type="button" role="tab" data-group="access" data-said="set-tab-access">Access</button>
|
|
1030
|
+
<button type="button" role="tab" data-group="chat" data-said="set-tab-chat">Chat & voice</button>
|
|
1031
|
+
<button type="button" role="tab" data-group="automatic" data-said="set-tab-automatic">Automatic</button>
|
|
1032
|
+
<button type="button" role="tab" data-group="diagnostics" data-said="set-tab-diagnostics">Diagnostics</button>
|
|
1033
|
+
<button type="button" role="tab" data-group="advanced" data-said="set-tab-advanced">Advanced</button>
|
|
642
1034
|
</nav>
|
|
643
1035
|
<div id="settings-groups" class="settings-groups">
|
|
644
|
-
<section class="settings-group" id="settings-group-
|
|
645
|
-
|
|
1036
|
+
<section class="settings-group" id="settings-group-general" data-group="general" role="tabpanel" aria-label="General">
|
|
1037
|
+
<!-- FEATURES (features.js): what this Clavarium can do, and its next step. -->
|
|
1038
|
+
<details class="chapter" id="settings-ch-features" data-chapter="s-features">
|
|
1039
|
+
<summary><span class="chapter-title" id="features-title">Features</span><span class="chapter-about" id="features-about"></span></summary>
|
|
1040
|
+
<div class="chapter-body" id="settings-features"></div>
|
|
1041
|
+
</details>
|
|
1042
|
+
<details class="chapter" id="settings-ch-general" data-chapter="s-general">
|
|
1043
|
+
<summary><span class="chapter-title" data-said="set-ch-s-general">General</span><span class="chapter-about">Server name.</span></summary>
|
|
1044
|
+
<div class="chapter-body">
|
|
1045
|
+
<form id="instance-form" class="set-row" autocomplete="off"><div class="set-what"><label for="instance-name">Name</label><small id="instance-hint">In tabs, alerts, the app icon</small><small class="tip" hidden>Empty: taken from the address</small></div><div class="set-control"><input id="instance-name" maxlength="30" spellcheck="false"><button type="submit">Save</button></div></form>
|
|
1046
|
+
<p class="error" id="instance-error" role="alert" hidden></p>
|
|
1047
|
+
<!-- SIGN-IN COMPANION (15-11, #362): the conversation whose browser signs the others' tools in. -->
|
|
1048
|
+
<div class="set-row"><div class="set-what"><label for="companion-general">Sign-in companion</label><small id="companion-general-hint">Signs the tools in with its browser</small></div><div class="set-control"><select id="companion-general"></select></div></div>
|
|
1049
|
+
<div class="set-row"><div class="set-what"><label for="companion-clicks">It clicks Authorize itself</label><small>You have nothing to do</small></div><div class="set-control"><input type="checkbox" id="companion-clicks"></div></div>
|
|
1050
|
+
<p class="error" id="companion-general-error" role="alert" hidden></p>
|
|
1051
|
+
</div>
|
|
1052
|
+
</details>
|
|
1053
|
+
<details class="chapter" id="settings-ch-about" data-chapter="s-about">
|
|
1054
|
+
<summary><span class="chapter-title" data-said="set-ch-s-about">About</span><span class="chapter-about">Version, administrators, address.</span></summary>
|
|
1055
|
+
<div class="chapter-body">
|
|
1056
|
+
<!-- Facts only, one line each: a chapter with nothing to act on is not a chapter. -->
|
|
1057
|
+
<p id="settings-about" class="hint"></p>
|
|
1058
|
+
<p id="settings-people" class="hint"></p>
|
|
1059
|
+
<p id="settings-address" class="hint"></p>
|
|
1060
|
+
</div>
|
|
1061
|
+
</details>
|
|
1062
|
+
</section>
|
|
1063
|
+
<section class="settings-group" id="settings-group-device" data-group="device" role="tabpanel" aria-label="This device">
|
|
646
1064
|
<details class="chapter" id="settings-ch-screen" data-chapter="s-screen">
|
|
647
|
-
<summary><span class="chapter-title">Screen</span><span class="chapter-about">Theme, text size, the app.</span></summary>
|
|
1065
|
+
<summary><span class="chapter-title" data-said="set-ch-s-screen">Screen</span><span class="chapter-about">Theme, text size, the app.</span></summary>
|
|
648
1066
|
<div class="chapter-body">
|
|
649
1067
|
<div class="set-row"><div class="set-what"><span>Theme</span><small>This device only</small></div><div class="set-control"><div class="levels" id="theme" role="group" aria-label="Theme"><button type="button" data-theme="light">Light</button><button type="button" data-theme="dark">Dark</button><button type="button" data-theme="system">System</button></div></div></div>
|
|
650
|
-
<div class="set-row"><div class="set-what"><span>Text size</span><small>Also:
|
|
1068
|
+
<div class="set-row"><div class="set-what"><span>Text size</span><small class="tip" hidden>Also: pinch, or Ctrl + / Ctrl −</small></div><div class="set-control"><span class="text-size" id="settings-text" role="group" aria-label="Text size"><button type="button" data-text="smaller" aria-label="Smaller text">A−</button><button type="button" data-text="normal" aria-label="Normal text size" class="text-now">100%</button><button type="button" data-text="larger" aria-label="Larger text">A+</button></span></div></div>
|
|
651
1069
|
<div class="set-row" id="install-row" hidden><div class="set-what"><span>App</span><small>Installed on this device's home screen</small></div><div class="set-control"><button type="button" id="install" class="primary" hidden>Install the app</button></div></div>
|
|
652
1070
|
<form id="install-name-form" class="set-row" autocomplete="off" hidden><div class="set-what"><label for="install-name">Name on this device</label></div><div class="set-control"><input id="install-name" maxlength="30" spellcheck="false"><button type="submit" class="primary">Install</button><button type="button" id="install-name-cancel">Cancel</button></div></form>
|
|
653
1071
|
</div>
|
|
654
1072
|
</details>
|
|
655
1073
|
<details class="chapter" id="settings-ch-alerts" data-chapter="s-alerts">
|
|
656
|
-
<summary><span class="chapter-title">Alerts</span><span class="chapter-about">When a tool needs you.</span></summary>
|
|
1074
|
+
<summary><span class="chapter-title" data-said="set-ch-s-alerts">Alerts</span><span class="chapter-about">When a tool needs you.</span></summary>
|
|
657
1075
|
<div class="chapter-body">
|
|
658
1076
|
<div class="set-row"><div class="set-what"><span>On this device</span><small id="alerts-state">Off</small></div><div class="set-control"><button type="button" id="alerts-on" class="primary">Turn on</button><button type="button" id="alerts-off" hidden>Turn off</button><button type="button" id="alerts-test" hidden>Send a test</button></div></div>
|
|
659
1077
|
</div>
|
|
660
1078
|
</details>
|
|
661
1079
|
</section>
|
|
662
|
-
<section class="settings-group" id="settings-group-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
<
|
|
667
|
-
<div class="set-row"><div class="set-what"><label for="words-lang">Language</label><small>Of the chat screen, every device</small></div><div class="set-control"><select id="words-lang"><option value="device">The language of each device</option></select></div></div>
|
|
668
|
-
<!-- THE END OF THE THREAD, the rest on demand: never cut (server/talk.mjs WINDOWS). -->
|
|
669
|
-
<div class="set-row"><div class="set-what"><label for="chat-window">Shown at first</label><small>On this device; the rest on demand</small></div><div class="set-control"><select id="chat-window"></select></div></div>
|
|
670
|
-
<div class="set-row"><div class="set-what"><label for="chat-window-ai">Read after a restart</label><small>By its tool; older on demand</small></div><div class="set-control"><select id="chat-window-ai"></select></div></div>
|
|
671
|
-
<details id="words-box">
|
|
672
|
-
<summary>Your own words</summary>
|
|
673
|
-
<p class="hint">Any word of the chat, replaced for every device: <code>{"send": "Go"}</code>.</p>
|
|
674
|
-
<textarea id="words-own" rows="6" spellcheck="false" aria-label="Your own words, as JSON"></textarea>
|
|
675
|
-
<div class="row"><button type="button" id="words-save" class="primary">Save</button><button type="button" id="words-show">Show all the words</button><span class="hint" id="words-saved" role="status"></span></div>
|
|
676
|
-
<pre id="words-all" class="hint" hidden></pre>
|
|
677
|
-
<p id="words-error" class="error" role="alert" hidden></p>
|
|
678
|
-
</details>
|
|
679
|
-
<!-- WHAT THE THREAD SHOWS of what this server says there: each kind of
|
|
680
|
-
event at a level (server/talk.mjs EVENT_LEVELS); the owner may move one. -->
|
|
681
|
-
</div>
|
|
682
|
-
</details>
|
|
683
|
-
<details class="chapter" id="settings-ch-thread" data-chapter="s-thread">
|
|
684
|
-
<summary><span class="chapter-title">Chat events</span><span class="chapter-about">Machines and repositories, in the chat.</span></summary>
|
|
1080
|
+
<section class="settings-group" id="settings-group-resources" data-group="resources" role="tabpanel" aria-label="Resources">
|
|
1081
|
+
<!-- THIS SERVER: its disk and memory, what takes them, and the reserve
|
|
1082
|
+
no machine may eat into (server/capacity.mjs). Nothing here wakes a machine. -->
|
|
1083
|
+
<details class="chapter" id="settings-server-top" data-chapter="s-resources">
|
|
1084
|
+
<summary><span class="chapter-title" data-said="set-ch-s-resources">Resources</span><span class="chapter-about">Disk, memory and the reserve.</span></summary>
|
|
685
1085
|
<div class="chapter-body">
|
|
686
|
-
<
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
1086
|
+
<div id="settings-server" tabindex="-1">
|
|
1087
|
+
<p id="server-unknown" class="hint" hidden>Disk and memory cannot be read just now.</p>
|
|
1088
|
+
<div class="curves" id="server-curves" data-of="server" hidden>
|
|
1089
|
+
<div class="curves-head"><b>Over time</b><div class="levels curves-span" role="group" aria-label="Over"><button type="button" data-span="1h" aria-pressed="true">1 h</button><button type="button" data-span="24h" aria-pressed="false">24 h</button><button type="button" data-span="7d" aria-pressed="false">7 days</button></div></div>
|
|
1090
|
+
<div class="curves-row"></div>
|
|
690
1091
|
</div>
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
<
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
1092
|
+
<div id="server-disks"></div>
|
|
1093
|
+
<!-- ALL THE MACHINES TO ANOTHER DISK (server/machinesmove.mjs). -->
|
|
1094
|
+
<details id="move-machines-box">
|
|
1095
|
+
<summary>Disks, and moving the machines to another one</summary>
|
|
1096
|
+
<p class="hint">All machines are copied to the chosen disk. <b>This server stops meanwhile</b>; the old copy is kept.</p>
|
|
1097
|
+
<div id="move-machines-rows"></div>
|
|
1098
|
+
<p class="hint" id="move-machines-said" role="status"></p>
|
|
1099
|
+
</details>
|
|
1100
|
+
<div class="server-block" id="server-memory" hidden>
|
|
1101
|
+
<div class="server-head"><b>Memory</b><span id="server-memory-state" class="server-state"></span><span id="server-memory-figures" class="server-figures"></span></div>
|
|
1102
|
+
<div class="server-meter" id="server-memory-meter" role="meter" aria-label="Memory taken" aria-valuemin="0" aria-valuemax="100"><span class="fill"></span><span class="zone"></span><span class="mark"></span></div>
|
|
1103
|
+
<p id="server-memory-note" class="server-note"></p>
|
|
1104
|
+
<div class="share-row"><div id="server-memory-share"></div><dl id="server-memory-parts" class="server-parts"></dl></div>
|
|
697
1105
|
</div>
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
1106
|
+
<div class="server-block">
|
|
1107
|
+
<div class="server-head"><b>Reserve</b><span class="server-figures">always kept free</span></div>
|
|
1108
|
+
<div class="reserve-row">
|
|
1109
|
+
<span class="reserve-what">Disk</span>
|
|
1110
|
+
<label><input type="number" id="reserve-disk" min="0" max="1024" step="0.5" inputmode="decimal" aria-label="Disk reserve, in GB"> GB</label>
|
|
1111
|
+
<span aria-hidden="true">or</span>
|
|
1112
|
+
<label><input type="number" id="reserve-disk-percent" min="0" max="100" step="1" inputmode="numeric" aria-label="Disk reserve, in percent of the disk"> %</label>
|
|
1113
|
+
</div>
|
|
1114
|
+
<div class="reserve-row">
|
|
1115
|
+
<span class="reserve-what">Memory</span>
|
|
1116
|
+
<label><input type="number" id="reserve-memory" min="0" max="256" step="0.25" inputmode="decimal" aria-label="Memory reserve, in GB"> GB</label>
|
|
1117
|
+
<span aria-hidden="true">or</span>
|
|
1118
|
+
<label><input type="number" id="reserve-memory-percent" min="0" max="100" step="1" inputmode="numeric" aria-label="Memory reserve, in percent of the memory"> %</label>
|
|
1119
|
+
</div>
|
|
1120
|
+
<div class="reserve-row">
|
|
1121
|
+
<button type="button" id="reserve-save" class="primary">Save</button>
|
|
1122
|
+
<span class="hint" id="reserve-saved" role="status"></span>
|
|
1123
|
+
</div>
|
|
1124
|
+
<p class="server-note" id="reserve-now"></p>
|
|
1125
|
+
<p class="hint"><span>The larger of the two</span><span class="tip" hidden>No machine is created, started or enlarged into it. Below it you are alerted, and the largest running machine is forced off (Machines). Waking is always allowed, to clean up.</span></p>
|
|
1126
|
+
<p class="server-note promised" id="promised-disk" hidden></p>
|
|
1127
|
+
<p class="server-note promised" id="promised-memory" hidden></p>
|
|
1128
|
+
<p id="reserve-error" class="error" role="alert" hidden></p>
|
|
714
1129
|
</div>
|
|
715
|
-
</
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
<h3 class="chapter-group">Server & access</h3>
|
|
719
|
-
<details class="chapter" id="settings-ch-general" data-chapter="s-general">
|
|
720
|
-
<summary><span class="chapter-title">General</span><span class="chapter-about">Server name.</span></summary>
|
|
721
|
-
<div class="chapter-body">
|
|
722
|
-
<form id="instance-form" class="set-row" autocomplete="off"><div class="set-what"><label for="instance-name">Name</label><small id="instance-hint">In tabs, alerts and the app icon. Empty: from the address</small></div><div class="set-control"><input id="instance-name" maxlength="30" spellcheck="false"><button type="submit">Save</button></div></form>
|
|
723
|
-
<p class="error" id="instance-error" role="alert" hidden></p>
|
|
1130
|
+
</div>
|
|
1131
|
+
<!-- UPDATES: what runs, what is out, how this server updates itself
|
|
1132
|
+
(server/updates.mjs; the updater, as root: deploy/updater.mjs). -->
|
|
724
1133
|
</div>
|
|
725
1134
|
</details>
|
|
726
|
-
<!--
|
|
727
|
-
|
|
728
|
-
|
|
1135
|
+
<!-- MACHINES (server/machinelist.mjs): each one, its state, the memory its qemu holds, since when, and
|
|
1136
|
+
Force stop; the machine manager, restarted when confirmed; what is done when it hangs, when memory is short. -->
|
|
1137
|
+
<details class="chapter" id="settings-ch-machines" data-chapter="s-machines">
|
|
1138
|
+
<summary><span class="chapter-title" data-said="set-ch-s-machines">Machines</span><span class="chapter-about" data-said="set-ml-about">State and memory.</span></summary>
|
|
729
1139
|
<div class="chapter-body">
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
1140
|
+
<div id="machines-rows"></div>
|
|
1141
|
+
<p id="machines-none" class="hint" data-said="set-ml-none" hidden>No machine yet</p>
|
|
1142
|
+
<div id="machines-confirm" class="callout confirm" role="alertdialog" aria-labelledby="machines-confirm-text" hidden>
|
|
1143
|
+
<b id="machines-confirm-text"></b>
|
|
1144
|
+
<div class="action-row"><button type="button" id="machines-confirm-no" data-said="set-mconf-no">Cancel</button><button type="button" id="machines-confirm-yes" class="danger"></button></div>
|
|
1145
|
+
</div>
|
|
1146
|
+
<div class="set-row" id="manager-row"><div class="set-what"><b data-said="set-ml-manager">Machine manager</b><p class="status-line" id="manager-line" role="status"></p></div><div class="set-control"><button type="button" id="manager-restart" data-said="set-ml-revive">Restart the manager</button></div></div>
|
|
1147
|
+
<div class="set-row"><div class="set-what"><b data-said="set-ml-hang">If it hangs</b><small data-said="set-ml-hang-what">Night: 0 to 7 h</small></div><div class="set-control"><div class="levels" id="manager-mode" role="group" aria-label="If it hangs"><button type="button" data-mode="night" data-said="set-ml-night">At night</button><button type="button" data-mode="always" data-said="set-ml-always">Always</button><button type="button" data-mode="ask" data-said="set-ml-ask">Ask me</button></div></div></div>
|
|
1148
|
+
<div class="set-row"><div class="set-what"><b data-said="set-ml-short">Memory short</b><small data-said="set-ml-short-what">The largest machine</small></div><div class="set-control"><div class="levels" id="pressure-way" role="group" aria-label="Memory short"><button type="button" data-way="force" data-said="set-ml-force">Force stop</button><button type="button" data-way="sleep" data-said="set-ml-sleep">Sleep</button><button type="button" data-way="alert" data-said="set-ml-alert">Alert only</button></div></div></div>
|
|
1149
|
+
<p id="machines-error" class="error" role="alert" hidden></p>
|
|
738
1150
|
</div>
|
|
739
1151
|
</details>
|
|
1152
|
+
</section>
|
|
1153
|
+
<section class="settings-group" id="settings-group-access" data-group="access" role="tabpanel" aria-label="Access">
|
|
740
1154
|
<!-- WHO MAY SIGN IN (server/operators.mjs): hidden on this machine alone. -->
|
|
741
1155
|
<details class="chapter" id="settings-ch-operators" data-chapter="s-operators" hidden>
|
|
742
|
-
<summary><span class="chapter-title">Administrators</span><span class="chapter-about">Who may sign in.</span></summary>
|
|
1156
|
+
<summary><span class="chapter-title" data-said="set-ch-s-operators">Administrators</span><span class="chapter-about">Who may sign in.</span></summary>
|
|
743
1157
|
<div class="chapter-body">
|
|
744
1158
|
<div id="operators-rows"></div>
|
|
745
|
-
<form id="operators-new" class="set-row" autocomplete="off"><div class="set-what"><label for="operators-email">Add an administrator</label><small>Email address</small></div><div class="set-control"><input id="operators-email" type="email" placeholder="someone@example.com" spellcheck="false" autocapitalize="off" required><button type="submit">Add</button></div></form>
|
|
1159
|
+
<form id="operators-new" class="set-row" autocomplete="off"><div class="set-what"><label for="operators-email">Add an administrator</label><small>Email address</small><small class="tip" hidden>Locked 15 min after 5 failures. The last administrator is never locked or removed.</small></div><div class="set-control"><input id="operators-email" type="email" placeholder="someone@example.com" spellcheck="false" autocapitalize="off" required><button type="submit">Add</button></div></form>
|
|
746
1160
|
<div id="operators-password" class="as-form" hidden><p><b id="operators-password-for"></b>: its password, shown <b>this once</b>. Give it to them yourself.</p><div class="row"><input id="operators-password-value" readonly spellcheck="false"><button type="button" id="operators-password-copy">Copy</button><button type="button" id="operators-password-done">Done</button></div></div>
|
|
747
|
-
<p class="hint">5 failed sign-ins lock an address for 15 min. The last administrator is never locked or removed.</p>
|
|
748
1161
|
<p class="error" id="operators-error" role="alert" hidden></p>
|
|
749
1162
|
</div>
|
|
750
1163
|
</details>
|
|
1164
|
+
<!-- API KEYS (server/apikeys.mjs): what a program or an AI elsewhere may read, by a key; its secret
|
|
1165
|
+
shown once. Administrators only: never on a device (app.js, paintApiKeys). -->
|
|
1166
|
+
<details class="chapter" id="settings-ch-apikeys" data-chapter="s-apikeys" hidden>
|
|
1167
|
+
<summary><span class="chapter-title" data-said="set-ch-s-apikeys">API keys</span><span class="chapter-about" id="apikeys-about">For a program or an AI.</span></summary>
|
|
1168
|
+
<div class="chapter-body">
|
|
1169
|
+
<div id="apikeys-once" class="callout apikeys-once" role="status" hidden><p><b data-said="set-apikeys-once">Copy it now: it won't be shown again.</b></p><div class="row"><input id="apikeys-secret" readonly spellcheck="false" aria-label="API key"><button type="button" id="apikeys-copy" class="primary" data-said="set-apikeys-copy">Copy</button><button type="button" id="apikeys-done" data-said="set-apikeys-done">Done</button></div><p class="hint" data-said="set-apikeys-config-hint">Or paste this into your AI tool (MCP):</p><pre id="apikeys-config" class="apikeys-config"></pre><div class="row"><button type="button" id="apikeys-config-copy" data-said="set-apikeys-config-copy">Copy the configuration</button></div><p class="hint apikeys-curl"><code id="apikeys-curl"></code></p></div>
|
|
1170
|
+
<div id="apikeys-rows"></div>
|
|
1171
|
+
<p class="hint" id="apikeys-empty" data-said="set-apikeys-none" hidden>No key yet.</p>
|
|
1172
|
+
<form id="apikeys-form" class="set-rows" autocomplete="off" hidden>
|
|
1173
|
+
<div class="set-row"><div class="set-what"><label for="apikeys-label" data-said="set-apikeys-name">Name</label><small data-said="set-apikeys-name-hint">What it is for</small></div><div class="set-control"><input id="apikeys-label" maxlength="40" spellcheck="false" required></div></div>
|
|
1174
|
+
<div class="set-row"><div class="set-what"><span data-said="set-apikeys-scopes">Server</span><small data-said="set-apikeys-scopes-hint">What the key sees of it</small></div><div class="set-control" id="apikeys-scopes"></div></div>
|
|
1175
|
+
<div class="set-row"><div class="set-what"><span data-said="set-apikeys-convs">Conversations</span><small data-said="set-apikeys-convs-hint">One by one: read, talk or act</small></div><div class="set-control" id="apikeys-convs"></div></div>
|
|
1176
|
+
<div class="set-row"><div class="set-what"><span data-said="set-apikeys-rooms">Rooms</span><small data-said="set-apikeys-rooms-hint">One by one: read, talk or manage</small></div><div class="set-control" id="apikeys-rooms"></div></div>
|
|
1177
|
+
<div class="set-row"><div class="set-what"><span data-said="set-apikeys-boxes">Voice boxes</span><small data-said="set-apikeys-boxes-hint">One by one: state, or speak aloud</small></div><div class="set-control" id="apikeys-boxes"></div></div>
|
|
1178
|
+
<div class="set-row" id="apikeys-binders-row" hidden><div class="set-what"><span data-said="set-apikeys-binders">Binders</span><small data-said="set-apikeys-binders-hint">One by one: read or write</small></div><div class="set-control" id="apikeys-binders"></div></div>
|
|
1179
|
+
<div class="set-row"><div class="set-what"><label for="apikeys-days" data-said="set-apikeys-expires">Expires</label></div><div class="set-control"><select id="apikeys-days"><option value="30" data-said="set-apikeys-30">In 30 days</option><option value="90" data-said="set-apikeys-90" selected>In 90 days</option><option value="365" data-said="set-apikeys-365">In a year</option><option value="never" data-said="set-apikeys-never">Never</option></select></div></div>
|
|
1180
|
+
<div class="action-row"><span class="error" id="apikeys-error" role="alert" hidden></span><button type="button" id="apikeys-cancel" data-said="set-apikeys-cancel">Cancel</button><button type="submit" class="primary" data-said="set-apikeys-create">Create</button></div>
|
|
1181
|
+
</form>
|
|
1182
|
+
<div class="action-row" id="apikeys-new-row"><span class="hint" id="apikeys-where"></span><button type="button" id="apikeys-new" class="primary" data-said="set-apikeys-new">New key</button></div>
|
|
1183
|
+
<p class="hint" data-said="set-apikeys-never-by-key">Never by key: secrets, keys, accounts, rights</p>
|
|
1184
|
+
</div>
|
|
1185
|
+
</details>
|
|
751
1186
|
<!-- NETWORK: this server's Wi-Fi (server/wifi.mjs; done as root by the host program,
|
|
752
1187
|
through NetworkManager). A switch goes back by itself when the new network does not work. -->
|
|
753
1188
|
<details class="chapter" id="settings-wifi-top" data-chapter="s-network">
|
|
754
|
-
<summary><span class="chapter-title">Network</span><span class="chapter-about">Cable and Wi-Fi.</span></summary>
|
|
1189
|
+
<summary><span class="chapter-title" data-said="set-ch-s-network">Network</span><span class="chapter-about">Cable and Wi-Fi.</span></summary>
|
|
755
1190
|
<div class="chapter-body">
|
|
756
1191
|
<div id="wifi" tabindex="-1">
|
|
757
1192
|
<p id="wifi-now" role="status"></p>
|
|
@@ -787,29 +1222,103 @@
|
|
|
787
1222
|
<!-- REMOTE SCREEN: a self-hosted MeshCentral (server/meshcentral.mjs), OFF by default. Installed,
|
|
788
1223
|
run isolated under a hardened unit, and reached only through the front (Caddy) by the host program. -->
|
|
789
1224
|
<details class="chapter" id="settings-mesh-top" data-chapter="s-remote-screen">
|
|
790
|
-
<summary><span class="chapter-title">Remote screen</span><span class="chapter-about">See a screen remotely.</span></summary>
|
|
1225
|
+
<summary><span class="chapter-title" data-said="set-ch-s-remote-screen">Remote screen</span><span class="chapter-about">See a screen remotely.</span></summary>
|
|
791
1226
|
<div class="chapter-body">
|
|
792
1227
|
<div id="mesh" tabindex="-1">
|
|
793
1228
|
<div class="set-row mesh-head"><div class="status-line" id="mesh-line" role="status"><span id="mesh-state"></span></div><div class="set-control"><button type="button" class="primary" id="mesh-toggle"></button></div></div>
|
|
794
|
-
<div class="set-row"><div class="set-what"><span>MeshCentral</span><small>A screen reached through this server, off unless on</small></div></div>
|
|
1229
|
+
<div class="set-row"><div class="set-what"><span>MeshCentral</span><small class="tip" hidden>A screen reached through this server, off unless on</small></div></div>
|
|
795
1230
|
<p id="mesh-url" class="hint" hidden></p>
|
|
796
1231
|
<p id="mesh-progress" class="hint" role="status" hidden></p>
|
|
797
1232
|
<p id="mesh-error" class="error" role="alert" hidden></p>
|
|
798
1233
|
</div>
|
|
799
1234
|
</div>
|
|
800
1235
|
</details>
|
|
1236
|
+
</section>
|
|
1237
|
+
<section class="settings-group" id="settings-group-chat" data-group="chat" role="tabpanel" aria-label="Chat & voice">
|
|
1238
|
+
<details class="chapter" id="settings-ch-words" data-chapter="s-words">
|
|
1239
|
+
<summary><span class="chapter-title" data-said="set-ch-s-words">Chat screen</span><span class="chapter-about">Language, wording, history.</span></summary>
|
|
1240
|
+
<div class="chapter-body">
|
|
1241
|
+
<div class="set-row"><div class="set-what"><label for="words-lang">Language</label><small>Of the chat screen, every device</small></div><div class="set-control"><select id="words-lang"><option value="device">The language of each device</option></select></div></div>
|
|
1242
|
+
<!-- THE END OF THE THREAD, the rest on demand: never cut (server/talk.mjs WINDOWS). -->
|
|
1243
|
+
<div class="set-row"><div class="set-what"><label for="chat-window">Shown at first</label><small>On this device; the rest on demand</small></div><div class="set-control"><select id="chat-window"></select></div></div>
|
|
1244
|
+
<div class="set-row"><div class="set-what"><label for="chat-window-ai">Read after a restart</label><small>By its tool; older on demand</small></div><div class="set-control"><select id="chat-window-ai"></select></div></div>
|
|
1245
|
+
<details id="words-box">
|
|
1246
|
+
<summary>Your own words</summary>
|
|
1247
|
+
<p class="hint">Any word of the chat, replaced for every device: <code>{"send": "Go"}</code>.</p>
|
|
1248
|
+
<textarea id="words-own" rows="6" spellcheck="false" aria-label="Your own words, as JSON"></textarea>
|
|
1249
|
+
<div class="row"><button type="button" id="words-save" class="primary">Save</button><button type="button" id="words-show">Show all the words</button><span class="hint" id="words-saved" role="status"></span></div>
|
|
1250
|
+
<pre id="words-all" class="hint" hidden></pre>
|
|
1251
|
+
<p id="words-error" class="error" role="alert" hidden></p>
|
|
1252
|
+
</details>
|
|
1253
|
+
<!-- WHAT THE THREAD SHOWS of what this server says there: each kind of
|
|
1254
|
+
event at a level (server/talk.mjs EVENT_LEVELS); the owner may move one. -->
|
|
1255
|
+
</div>
|
|
1256
|
+
</details>
|
|
1257
|
+
<details class="chapter" id="settings-ch-dictation" data-chapter="s-dictation">
|
|
1258
|
+
<summary><span class="chapter-title" data-said="set-ch-s-dictation">Dictation</span><span class="chapter-about">Speech to text.</span></summary>
|
|
1259
|
+
<div class="chapter-body">
|
|
1260
|
+
<p id="settings-dictation" class="status-line"></p>
|
|
1261
|
+
<form id="dictation-form" class="dict-form" autocomplete="off">
|
|
1262
|
+
<div class="set-rows set-card dict-engine" id="dictation-card" data-slot="main">
|
|
1263
|
+
<div class="dict-head"><span class="dict-dot" id="dictation-dot"></span><b>Main</b><small>used first</small></div>
|
|
1264
|
+
<div class="set-row"><div class="set-what"><label for="dictation-provider">Provider</label></div><div class="set-control"><select id="dictation-provider"></select></div></div>
|
|
1265
|
+
<div class="set-row" id="dictation-url-row" hidden><div class="set-what"><label for="dictation-url">Address</label><small>Its transcription endpoint</small></div><div class="set-control"><input id="dictation-url" type="url" spellcheck="false" placeholder="https://.../v1/audio/transcriptions"></div></div>
|
|
1266
|
+
<div class="set-row" id="dictation-model-row"><div class="set-what"><label for="dictation-model-pick">Model</label></div><div class="set-control"><select id="dictation-model-pick"></select><input id="dictation-model" spellcheck="false" maxlength="100" aria-label="Model" hidden></div></div>
|
|
1267
|
+
<div class="set-row" id="dictation-secret-row"><div class="set-what"><label for="dictation-secret">Key</label><small>One of your secrets. Never shown</small></div><div class="set-control"><select id="dictation-secret"><option value="">No key</option></select></div></div>
|
|
1268
|
+
<div class="set-row" id="dictation-newkey" hidden><div class="set-what"><label for="dictation-newkey-value">New key</label><small id="dictation-newkey-name"></small></div><div class="set-control"><input id="dictation-newkey-value" type="password" autocomplete="off" spellcheck="false" placeholder="Paste the key"><button type="button" class="primary" id="dictation-newkey-keep">Keep in secrets</button></div></div>
|
|
1269
|
+
<p class="hint" id="dictation-other-hint" hidden>Same interface as OpenAI (<code>/v1/audio/transcriptions</code>)</p>
|
|
1270
|
+
<div class="action-row"><span class="voice-level" id="dictation-level" aria-hidden="true" hidden><i></i><i></i><i></i><i></i><i></i></span><span class="hint" id="dictation-heard" role="status" hidden></span><button type="button" id="dictation-try" data-slot="main">Try it</button></div>
|
|
1271
|
+
</div>
|
|
1272
|
+
<div class="set-rows set-card dict-engine" id="dictation-backup-card" data-slot="backup">
|
|
1273
|
+
<div class="dict-head"><span class="dict-dot" id="dictation-backup-dot"></span><b>Backup</b><small>if the main one is down</small></div>
|
|
1274
|
+
<div class="set-row"><div class="set-what"><label for="dictation-backup-provider">Provider</label></div><div class="set-control"><select id="dictation-backup-provider"></select></div></div>
|
|
1275
|
+
<div class="set-row" id="dictation-backup-url-row" hidden><div class="set-what"><label for="dictation-backup-url">Address</label><small>Its transcription endpoint</small></div><div class="set-control"><input id="dictation-backup-url" type="url" spellcheck="false" placeholder="https://.../v1/audio/transcriptions"></div></div>
|
|
1276
|
+
<div class="set-row" id="dictation-backup-model-row"><div class="set-what"><label for="dictation-backup-model-pick">Model</label></div><div class="set-control"><select id="dictation-backup-model-pick"></select><input id="dictation-backup-model" spellcheck="false" maxlength="100" aria-label="Model" hidden></div></div>
|
|
1277
|
+
<div class="set-row" id="dictation-backup-secret-row"><div class="set-what"><label for="dictation-backup-secret">Key</label><small>One of your secrets. Never shown</small></div><div class="set-control"><select id="dictation-backup-secret"><option value="">No key</option></select></div></div>
|
|
1278
|
+
<div class="set-row" id="dictation-backup-newkey" hidden><div class="set-what"><label for="dictation-backup-newkey-value">New key</label><small id="dictation-backup-newkey-name"></small></div><div class="set-control"><input id="dictation-backup-newkey-value" type="password" autocomplete="off" spellcheck="false" placeholder="Paste the key"><button type="button" class="primary" id="dictation-backup-newkey-keep">Keep in secrets</button></div></div>
|
|
1279
|
+
<p class="hint" id="dictation-backup-other-hint" hidden>Same interface as OpenAI (<code>/v1/audio/transcriptions</code>)</p>
|
|
1280
|
+
<div class="action-row"><span class="voice-level" id="dictation-backup-level" aria-hidden="true" hidden><i></i><i></i><i></i><i></i><i></i></span><span class="hint" id="dictation-backup-heard" role="status" hidden></span><button type="button" id="dictation-backup-try" data-slot="backup">Try it</button></div>
|
|
1281
|
+
</div>
|
|
1282
|
+
<div class="set-rows set-card">
|
|
1283
|
+
<div class="set-row"><div class="set-what"><label for="dictation-language">Language</label></div><div class="set-control"><select id="dictation-language"><option value="">Each device's</option><option value="auto">Automatic</option><option value="en">English (en)</option><option value="fr">French (fr)</option><option value="de">German (de)</option><option value="es">Spanish (es)</option><option value="it">Italian (it)</option><option value="nl">Dutch (nl)</option><option value="pt">Portuguese (pt)</option><option value="other">Another code...</option></select><input id="dictation-language-code" maxlength="8" spellcheck="false" placeholder="code, such as pl" aria-label="Language code" hidden></div></div>
|
|
1284
|
+
<div class="action-row"><span class="hint" id="dictation-saved" role="status"></span><button type="button" id="dictation-off">Turn off</button><button type="submit" class="primary" id="dictation-save">Save</button></div>
|
|
1285
|
+
</div>
|
|
1286
|
+
<p class="error" id="dictation-error" role="alert" hidden></p>
|
|
1287
|
+
</form>
|
|
1288
|
+
</div>
|
|
1289
|
+
</details>
|
|
1290
|
+
<details class="chapter" id="settings-ch-shortcuts" data-chapter="s-shortcuts">
|
|
1291
|
+
<summary><span class="chapter-title" data-said="set-ch-s-shortcuts">Shortcuts</span><span class="chapter-about">Ready answers under the terminal.</span></summary>
|
|
1292
|
+
<div class="chapter-body">
|
|
1293
|
+
<p class="hint" id="settings-shortcuts-hint"></p>
|
|
1294
|
+
<div id="settings-shortcuts"></div>
|
|
1295
|
+
</div>
|
|
1296
|
+
</details>
|
|
1297
|
+
<details class="chapter" id="settings-ch-thread" data-chapter="s-thread">
|
|
1298
|
+
<summary><span class="chapter-title" data-said="set-ch-s-thread">Chat events</span><span class="chapter-about">Machines and repositories, in the chat.</span></summary>
|
|
1299
|
+
<div class="chapter-body">
|
|
1300
|
+
<p class="hint tip" hidden><b>Needs you</b>: both views. <b>News</b>: one short line. <b>Trace</b>: detailed view only.</p>
|
|
1301
|
+
<div id="thread-levels" class="thread-levels"></div>
|
|
1302
|
+
<p class="hint" id="thread-saved" role="status"></p>
|
|
1303
|
+
<p id="thread-error" class="error" role="alert" hidden></p>
|
|
1304
|
+
</div>
|
|
1305
|
+
</details>
|
|
1306
|
+
</section>
|
|
1307
|
+
<section class="settings-group" id="settings-group-automatic" data-group="automatic" role="tabpanel" aria-label="Automatic">
|
|
801
1308
|
<details class="chapter" id="settings-updates-top" data-chapter="s-updates">
|
|
802
|
-
<summary><span class="chapter-title">Updates</span><span class="chapter-about">Version and updates.</span></summary>
|
|
1309
|
+
<summary><span class="chapter-title" data-said="set-ch-s-updates">Updates</span><span class="chapter-about">Version and updates.</span></summary>
|
|
803
1310
|
<div class="chapter-body">
|
|
804
1311
|
<div id="updates" tabindex="-1">
|
|
805
|
-
<div class="set-row updates-head"><div class="status-line" id="updates-line"><b id="updates-version"
|
|
1312
|
+
<div class="set-row updates-head"><div class="status-line" id="updates-line"><b id="updates-version">…</b><span id="updates-state" class="hint" role="status"></span></div><div class="set-control"><button type="button" id="updates-check">Check now</button></div></div>
|
|
806
1313
|
<p id="updates-news" class="updates-news callout" hidden></p>
|
|
807
1314
|
<div id="updates-relay" class="hint" hidden></div>
|
|
1315
|
+
<!-- Whether sudo keeps the host program's calls out of the system log (deploy/updater.mjs ensureQuietSudo). -->
|
|
1316
|
+
<p id="updates-sudo" class="hint" hidden></p>
|
|
808
1317
|
<div class="action-row" id="updates-offer" hidden><span class="hint" id="updates-retry-note" hidden></span><button type="button" id="updates-retry-no" hidden>Cancel</button><button type="button" id="updates-retry-yes" class="primary" hidden>Try again</button><button type="button" id="updates-apply" class="primary"></button></div>
|
|
809
1318
|
<div id="updates-settings" class="set-rows">
|
|
810
1319
|
<div class="set-row"><div class="set-what"><label for="updates-mode">Mode</label><small>When updates are installed</small></div><div class="set-control"><select id="updates-mode"><option value="auto">Automatic, in a window</option><option value="asap">As soon as out</option><option value="ask">Ask me</option><option value="off">Off</option></select></div></div>
|
|
811
1320
|
<div class="set-row" id="updates-window-row"><div class="set-what"><label for="updates-from" id="updates-window-label">Window</label><small>Hours when it may restart</small></div><div class="set-control"><span id="updates-window" class="updates-window"><input type="time" id="updates-from" aria-label="From"><span aria-hidden="true">to</span><input type="time" id="updates-to" aria-label="To"></span></div></div>
|
|
812
|
-
<div class="set-row"><div class="set-what"><label for="updates-channel">Channel</label><small>Which builds to follow
|
|
1321
|
+
<div class="set-row"><div class="set-what"><label for="updates-channel">Channel</label><small>Which builds to follow</small><small class="tip" hidden>You update only to a version newer than this one</small></div><div class="set-control"><select id="updates-channel"><option value="next">Next (earliest tests)</option><option value="beta">Beta (nearly ready)</option><option value="latest">Stable</option></select></div></div>
|
|
813
1322
|
<!-- What the front serves to a browser (server/certificate.mjs). -->
|
|
814
1323
|
<div class="set-row" id="updates-certificate-row" hidden><div class="set-what"><span>Certificate</span><small id="updates-certificate" role="status"></small></div></div>
|
|
815
1324
|
</div>
|
|
@@ -822,69 +1331,96 @@
|
|
|
822
1331
|
</div>
|
|
823
1332
|
</div>
|
|
824
1333
|
</details>
|
|
825
|
-
|
|
826
|
-
<
|
|
827
|
-
|
|
828
|
-
<!-- THIS SERVER: its disk and memory, what takes them, and the reserve
|
|
829
|
-
no machine may eat into (server/capacity.mjs). Nothing here wakes a machine. -->
|
|
830
|
-
<details class="chapter" id="settings-server-top" data-chapter="s-resources">
|
|
831
|
-
<summary><span class="chapter-title">Resources</span><span class="chapter-about">Disk, memory and the reserve.</span></summary>
|
|
1334
|
+
<!-- BINDERS (clavarium-binder's own settings, asked of it): what agents may do with binders. -->
|
|
1335
|
+
<details class="chapter" id="settings-ch-binders" data-chapter="s-binders">
|
|
1336
|
+
<summary><span class="chapter-title" data-said="set-ch-s-binders">Binders</span><span class="chapter-about">What agents may do with them.</span></summary>
|
|
832
1337
|
<div class="chapter-body">
|
|
833
|
-
<div
|
|
834
|
-
<
|
|
835
|
-
<div class="
|
|
836
|
-
|
|
837
|
-
<div class="curves-row"></div>
|
|
838
|
-
</div>
|
|
839
|
-
<div id="server-disks"></div>
|
|
840
|
-
<!-- ALL THE MACHINES TO ANOTHER DISK (server/machinesmove.mjs). -->
|
|
841
|
-
<details id="move-machines-box">
|
|
842
|
-
<summary>Disks, and moving the machines to another one</summary>
|
|
843
|
-
<p class="hint">All machines are copied to the chosen disk. <b>This server stops meanwhile</b>; the old copy is kept.</p>
|
|
844
|
-
<div id="move-machines-rows"></div>
|
|
845
|
-
<p class="hint" id="move-machines-said" role="status"></p>
|
|
846
|
-
</details>
|
|
847
|
-
<div class="server-block" id="server-memory" hidden>
|
|
848
|
-
<div class="server-head"><b>Memory</b><span id="server-memory-state" class="server-state"></span><span id="server-memory-figures" class="server-figures"></span></div>
|
|
849
|
-
<div class="server-meter" id="server-memory-meter" role="meter" aria-label="Memory taken" aria-valuemin="0" aria-valuemax="100"><span class="fill"></span><span class="zone"></span><span class="mark"></span></div>
|
|
850
|
-
<p id="server-memory-note" class="server-note"></p>
|
|
851
|
-
<dl id="server-memory-parts" class="server-parts"></dl>
|
|
852
|
-
</div>
|
|
853
|
-
<div class="server-block">
|
|
854
|
-
<div class="server-head"><b>Reserve</b><span class="server-figures">always left free, the larger of the two</span></div>
|
|
855
|
-
<div class="reserve-row">
|
|
856
|
-
<span class="reserve-what">Disk</span>
|
|
857
|
-
<label><input type="number" id="reserve-disk" min="0" max="1024" step="0.5" inputmode="decimal" aria-label="Disk reserve, in GB"> GB</label>
|
|
858
|
-
<span aria-hidden="true">or</span>
|
|
859
|
-
<label><input type="number" id="reserve-disk-percent" min="0" max="100" step="1" inputmode="numeric" aria-label="Disk reserve, in percent of the disk"> %</label>
|
|
860
|
-
</div>
|
|
861
|
-
<div class="reserve-row">
|
|
862
|
-
<span class="reserve-what">Memory</span>
|
|
863
|
-
<label><input type="number" id="reserve-memory" min="0" max="256" step="0.25" inputmode="decimal" aria-label="Memory reserve, in GB"> GB</label>
|
|
864
|
-
<span aria-hidden="true">or</span>
|
|
865
|
-
<label><input type="number" id="reserve-memory-percent" min="0" max="100" step="1" inputmode="numeric" aria-label="Memory reserve, in percent of the memory"> %</label>
|
|
866
|
-
</div>
|
|
867
|
-
<div class="reserve-row">
|
|
868
|
-
<button type="button" id="reserve-save" class="primary">Save</button>
|
|
869
|
-
<span class="hint" id="reserve-saved" role="status"></span>
|
|
870
|
-
</div>
|
|
871
|
-
<p class="server-note" id="reserve-now"></p>
|
|
872
|
-
<details class="more"><summary>How the reserve works</summary><span>No machine is created, started or enlarged into it. Below it you are alerted and the largest running machine is put to sleep. Waking is always allowed, to clean up.</span></details>
|
|
873
|
-
<p class="server-note promised" id="promised-disk" hidden></p>
|
|
874
|
-
<p class="server-note promised" id="promised-memory" hidden></p>
|
|
875
|
-
<p id="reserve-error" class="error" role="alert" hidden></p>
|
|
876
|
-
</div>
|
|
1338
|
+
<div class="set-rows">
|
|
1339
|
+
<div class="set-row"><div class="set-what"><label for="binders-agent-lists">Binders an agent may make</label><small>0: none</small><small class="tip" hidden>Archived ones not counted</small></div><div class="set-control"><input id="binders-agent-lists" type="number" min="0" max="50" step="1" inputmode="numeric"></div></div>
|
|
1340
|
+
<div class="set-row"><div class="set-what"><b>Agents add or rename columns</b><small class="tip" hidden>Never remove one, never move the gate</small></div><div class="set-control"><div class="levels" id="binders-agent-columns" role="group" aria-label="Agents add or rename columns"><button type="button" data-on="false">Off</button><button type="button" data-on="true">On</button></div></div></div>
|
|
1341
|
+
<div class="set-row"><div class="set-what"><b>Agents add fields or change the type</b><small class="tip" hidden>Never remove a field</small></div><div class="set-control"><div class="levels" id="binders-agent-fields" role="group" aria-label="Agents add fields or change the type"><button type="button" data-on="false">Off</button><button type="button" data-on="true">On</button></div></div></div>
|
|
877
1342
|
</div>
|
|
878
|
-
|
|
879
|
-
|
|
1343
|
+
<p class="hint" id="binders-saved" role="status"></p>
|
|
1344
|
+
<p class="error" id="binders-error" role="alert" hidden></p>
|
|
880
1345
|
</div>
|
|
881
1346
|
</details>
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
1347
|
+
</section>
|
|
1348
|
+
<section class="settings-group" id="settings-group-diagnostics" data-group="diagnostics" role="tabpanel" aria-label="Diagnostics">
|
|
1349
|
+
<!-- WHAT HAPPENED: the owner's actions and what the server did by itself, dated (server/events.mjs). -->
|
|
1350
|
+
<details class="chapter" id="settings-events-top" data-chapter="s-events">
|
|
1351
|
+
<summary><span class="chapter-title" data-said="set-ch-s-events">Activity</span><span class="chapter-about">What happened, dated.</span></summary>
|
|
886
1352
|
<div class="chapter-body">
|
|
887
|
-
|
|
1353
|
+
<div class="row events-pick">
|
|
1354
|
+
<label>Show <select id="events-kind" class="pill">
|
|
1355
|
+
<option value="">everything</option><option value="conversation">conversations</option><option value="machine">machines</option><option value="access">access and devices</option><option value="asset">folders, repositories, secrets</option><option value="update">updates</option><option value="server">this server</option><option value="sign-in">sign-ins and administrators</option>
|
|
1356
|
+
</select></label>
|
|
1357
|
+
<input type="search" id="events-q" placeholder="Search" aria-label="Search what happened" maxlength="60" autocomplete="off">
|
|
1358
|
+
<button type="button" id="events-copy">Copy all</button>
|
|
1359
|
+
</div>
|
|
1360
|
+
<ol id="events-list" class="events-list" aria-live="polite"></ol>
|
|
1361
|
+
<p class="hint" id="events-said" role="status"></p>
|
|
1362
|
+
<button type="button" id="events-more" hidden>Show older</button>
|
|
1363
|
+
</div>
|
|
1364
|
+
</details>
|
|
1365
|
+
<!-- WHAT IT DID TODAY: the day's jobs (server/jobs.mjs), under way first; each opens to its log. -->
|
|
1366
|
+
<details class="chapter" id="settings-jobs-top" data-chapter="s-jobs">
|
|
1367
|
+
<summary><span class="chapter-title" data-said="set-ch-s-jobs">Jobs</span><span class="chapter-about">Builds, copies, moves, step by step.</span></summary>
|
|
1368
|
+
<div class="chapter-body">
|
|
1369
|
+
<div id="jobs-list" class="jobs-list" aria-live="polite"></div>
|
|
1370
|
+
<p class="hint" id="jobs-said" role="status"></p>
|
|
1371
|
+
</div>
|
|
1372
|
+
</details>
|
|
1373
|
+
<!-- LOAD: what this server asked of the host, by 5-minute window, and its own event loop (server/vm.mjs
|
|
1374
|
+
HostTally; GET /api/server/load) -- readable when the journal is too big to read. -->
|
|
1375
|
+
<details class="chapter" id="settings-load-top" data-chapter="s-load">
|
|
1376
|
+
<summary><span class="chapter-title" data-said="set-ch-s-load">Load</span><span class="chapter-about" data-said="set-load-about">Host commands, by 5 minutes.</span></summary>
|
|
1377
|
+
<div class="chapter-body">
|
|
1378
|
+
<div id="load-list" class="load-list" aria-live="polite"></div>
|
|
1379
|
+
<p class="hint" id="load-said" role="status"></p>
|
|
1380
|
+
<div class="row"><button type="button" id="load-copy" data-said="set-load-copy" hidden>Copy</button>
|
|
1381
|
+
<button type="button" id="load-profile" data-said="set-load-profile">Measure 10 s</button></div>
|
|
1382
|
+
<!-- What holds this server, from its own profiler (server/profile.mjs; POST /api/server/profile). -->
|
|
1383
|
+
<pre id="load-profile-out" class="load-profile" hidden></pre>
|
|
1384
|
+
<!-- The measures it took by itself when its loop was slow (server/profile.mjs AutoProfile). -->
|
|
1385
|
+
<div id="load-auto" class="load-list" hidden></div>
|
|
1386
|
+
</div>
|
|
1387
|
+
</details>
|
|
1388
|
+
<!-- WHAT THE SERVER'S PROGRAMS SAID, to read, copy whole or keep (server/serverlogs.mjs);
|
|
1389
|
+
and this server started again. -->
|
|
1390
|
+
<details class="chapter" id="settings-logs-top" data-chapter="s-logs">
|
|
1391
|
+
<summary><span class="chapter-title" data-said="set-ch-s-logs">Logs</span><span class="chapter-about">Server logs; restart.</span></summary>
|
|
1392
|
+
<div class="chapter-body">
|
|
1393
|
+
<div class="row logs-pick">
|
|
1394
|
+
<label>Source <select id="logs-source" class="pill">
|
|
1395
|
+
<option value="clavarium">Clavarium</option>
|
|
1396
|
+
<option value="machines">The VM manager (machines)</option>
|
|
1397
|
+
<option value="system">The system (kernel: memory, disks)</option>
|
|
1398
|
+
<option value="updates">Updates and certificate</option>
|
|
1399
|
+
<option value="web">Web front and its door</option>
|
|
1400
|
+
<option value="signin">Sign-in</option>
|
|
1401
|
+
<option value="tunnel">Tunnel</option>
|
|
1402
|
+
</select></label>
|
|
1403
|
+
<label>Over <select id="logs-span" class="pill">
|
|
1404
|
+
<option value="10m" selected>the last 10 minutes</option>
|
|
1405
|
+
<option value="1">the last hour</option>
|
|
1406
|
+
<option value="6">the last 6 hours</option>
|
|
1407
|
+
<option value="24">the last 24 hours</option>
|
|
1408
|
+
<option value="168">the last 7 days</option>
|
|
1409
|
+
<option value="boot">since the server started</option>
|
|
1410
|
+
</select></label>
|
|
1411
|
+
<button type="button" id="logs-show">Show</button>
|
|
1412
|
+
</div>
|
|
1413
|
+
<p class="hint" id="logs-said" role="status"></p>
|
|
1414
|
+
<div class="row" id="logs-acts" hidden><button type="button" id="logs-copy">Copy all</button><button type="button" id="logs-save">Download</button></div>
|
|
1415
|
+
<pre id="logs-text" class="logs-text" tabindex="0" hidden></pre>
|
|
1416
|
+
</div>
|
|
1417
|
+
</details>
|
|
1418
|
+
<!-- USAGE: who takes the memory, the CPU and the disk -- each machine and this server itself,
|
|
1419
|
+
now and over time, in GB and cores (server/history.mjs together(); GET /api/history/all). -->
|
|
1420
|
+
<details class="chapter" id="settings-usage-top" data-chapter="s-usage" hidden>
|
|
1421
|
+
<summary><span class="chapter-title" data-said="set-ch-s-usage">Usage</span><span class="chapter-about">Who takes the memory, the CPU and the disk.</span></summary>
|
|
1422
|
+
<div class="chapter-body">
|
|
1423
|
+
<div id="usage" class="usage">
|
|
888
1424
|
<p id="usage-none" class="hint" hidden>Nothing measured yet.</p>
|
|
889
1425
|
<div class="u-tiles" id="usage-tiles" role="group" aria-label="Measure"></div>
|
|
890
1426
|
<div class="u-legend" id="usage-legend" role="group" aria-label="Conversations"></div>
|
|
@@ -910,89 +1446,35 @@
|
|
|
910
1446
|
</div>
|
|
911
1447
|
</div>
|
|
912
1448
|
</details>
|
|
1449
|
+
</section>
|
|
1450
|
+
<section class="settings-group" id="settings-group-advanced" data-group="advanced" role="tabpanel" aria-label="Advanced">
|
|
913
1451
|
<details class="chapter" id="settings-ch-backup" data-chapter="s-backup">
|
|
914
|
-
<summary><span class="chapter-title">Backup</span><span class="chapter-about">Export, import, full backup.</span></summary>
|
|
1452
|
+
<summary><span class="chapter-title" data-said="set-ch-s-backup">Backup</span><span class="chapter-about">Export, import, full backup.</span></summary>
|
|
915
1453
|
<div class="chapter-body">
|
|
916
1454
|
<div class="set-row"><div class="set-what"><span>Export or import a setup</span><small id="export-note">Conversations, assets, devices, links. Secrets: names only</small></div><div class="set-control"><label class="check" title="The files of the folders too, in a .tar.gz: to move a flow to another Clavarium with what it holds"><input type="checkbox" id="flows-with-files"> With the folders' files</label></div></div>
|
|
917
1455
|
<div class="action-row"><span id="flows-said" class="hint" role="status"></span><span class="row access-files"><button type="button" id="flows-import" title="A setup from a file: shown whole before anything is made">Import...</button><button type="button" id="flows-export" title="Everything here, to a file: conversations, assets, devices, links; never a secret's value">Export</button><input type="file" id="flows-file" accept=".json,application/json,.gz,.tgz,application/gzip" hidden></span></div>
|
|
918
|
-
<div class="set-row"><div class="set-what"><span>Full backup</span><small>
|
|
1456
|
+
<div class="set-row"><div class="set-what"><span>Full backup</span><small>By a command, on the server</small><small class="tip" hidden><code>sudo deploy/backup.sh --to /a/folder</code> (the archive, and the vault's key apart)</small></div></div>
|
|
919
1457
|
</div>
|
|
920
1458
|
</details>
|
|
921
1459
|
<details class="chapter" id="settings-ch-advanced" data-chapter="s-advanced">
|
|
922
|
-
<summary><span class="chapter-title">Advanced</span><span class="chapter-about">Ready-made machine, git server keys.</span></summary>
|
|
1460
|
+
<summary><span class="chapter-title" data-said="set-ch-s-advanced">Advanced</span><span class="chapter-about">Ready-made machine, git server keys.</span></summary>
|
|
923
1461
|
<div class="chapter-body" id="settings-advanced">
|
|
924
1462
|
<div id="shelf">
|
|
925
|
-
<div class="set-row"><div class="set-what"><b>Ready-made machine</b><small>New conversations start from it
|
|
1463
|
+
<div class="set-row"><div class="set-what"><b>Ready-made machine</b><small>New conversations start from it</small><small class="tip" hidden>Rebuilt monthly</small></div><div class="set-control"><button type="button" id="shelf-rebuild">Rebuild it now</button></div></div>
|
|
926
1464
|
<p id="shelf-state" class="hint" role="status"></p>
|
|
927
1465
|
<p id="shelf-error" class="error" role="alert" hidden></p>
|
|
928
1466
|
</div>
|
|
929
1467
|
<div>
|
|
930
1468
|
<div class="set-what"><b>Git server keys</b><small>Recorded at first contact; a changed key is refused</small></div>
|
|
931
|
-
<
|
|
1469
|
+
<small class="tip" hidden>Forget one only if its host says its key changed: the next contact trusts the key it shows.</small>
|
|
932
1470
|
<p id="git-hosts-empty" class="hint">None yet.</p>
|
|
933
1471
|
<div id="git-hosts"></div>
|
|
934
1472
|
<p id="git-hosts-error" class="error" role="alert" hidden></p>
|
|
935
1473
|
</div>
|
|
1474
|
+
<div id="server-restarts">
|
|
1475
|
+
<div class="set-row"><div class="set-what"><span>Restart Clavarium</span><small id="server-restart-said" role="status">A few seconds · machines keep running</small></div><div class="set-control"><button type="button" class="danger" id="server-restart">Restart Clavarium...</button></div></div>
|
|
1476
|
+
<div class="set-row"><div class="set-what"><span>Restart the server</span><small id="server-reboot-said" role="status">A few minutes · every machine restarts</small></div><div class="set-control"><button type="button" class="danger" id="server-reboot">Restart the server...</button></div></div>
|
|
936
1477
|
</div>
|
|
937
|
-
</details>
|
|
938
|
-
</section>
|
|
939
|
-
<section class="settings-group" id="settings-group-diagnostics" data-group="diagnostics">
|
|
940
|
-
<h3 class="chapter-group">Diagnostics</h3>
|
|
941
|
-
<!-- WHAT HAPPENED: the owner's actions and what the server did by itself, dated (server/events.mjs). -->
|
|
942
|
-
<details class="chapter" id="settings-events-top" data-chapter="s-events">
|
|
943
|
-
<summary><span class="chapter-title">Activity</span><span class="chapter-about">What happened, dated.</span></summary>
|
|
944
|
-
<div class="chapter-body">
|
|
945
|
-
<div class="row events-pick">
|
|
946
|
-
<label>Show <select id="events-kind" class="pill">
|
|
947
|
-
<option value="">everything</option><option value="conversation">conversations</option><option value="machine">machines</option><option value="access">access and devices</option><option value="asset">folders, repositories, secrets</option><option value="update">updates</option><option value="server">this server</option><option value="sign-in">sign-ins and administrators</option>
|
|
948
|
-
</select></label>
|
|
949
|
-
<input type="search" id="events-q" placeholder="Search" aria-label="Search what happened" maxlength="60" autocomplete="off">
|
|
950
|
-
<button type="button" id="events-copy">Copy all</button>
|
|
951
|
-
</div>
|
|
952
|
-
<ol id="events-list" class="events-list" aria-live="polite"></ol>
|
|
953
|
-
<p class="hint" id="events-said" role="status"></p>
|
|
954
|
-
<button type="button" id="events-more" hidden>Show older</button>
|
|
955
|
-
</div>
|
|
956
|
-
</details>
|
|
957
|
-
<!-- WHAT THE SERVER'S PROGRAMS SAID, to read, copy whole or keep (server/serverlogs.mjs);
|
|
958
|
-
and this server started again. -->
|
|
959
|
-
<details class="chapter" id="settings-logs-top" data-chapter="s-logs">
|
|
960
|
-
<summary><span class="chapter-title">Logs and restart</span><span class="chapter-about">Server logs; restart.</span></summary>
|
|
961
|
-
<div class="chapter-body">
|
|
962
|
-
<div class="row logs-pick">
|
|
963
|
-
<label>Source <select id="logs-source" class="pill">
|
|
964
|
-
<option value="clavarium">Clavarium</option>
|
|
965
|
-
<option value="machines">The VM manager (machines)</option>
|
|
966
|
-
<option value="system">The system (kernel: memory, disks)</option>
|
|
967
|
-
<option value="updates">Updates and certificate</option>
|
|
968
|
-
<option value="web">Web front and its door</option>
|
|
969
|
-
<option value="signin">Sign-in</option>
|
|
970
|
-
<option value="tunnel">Tunnel</option>
|
|
971
|
-
</select></label>
|
|
972
|
-
<label>Over <select id="logs-span" class="pill">
|
|
973
|
-
<option value="10m" selected>the last 10 minutes</option>
|
|
974
|
-
<option value="1">the last hour</option>
|
|
975
|
-
<option value="6">the last 6 hours</option>
|
|
976
|
-
<option value="24">the last 24 hours</option>
|
|
977
|
-
<option value="168">the last 7 days</option>
|
|
978
|
-
<option value="boot">since the server started</option>
|
|
979
|
-
</select></label>
|
|
980
|
-
<button type="button" id="logs-show">Show</button>
|
|
981
|
-
</div>
|
|
982
|
-
<p class="hint" id="logs-said" role="status"></p>
|
|
983
|
-
<div class="row" id="logs-acts" hidden><button type="button" id="logs-copy">Copy all</button><button type="button" id="logs-save">Download</button></div>
|
|
984
|
-
<pre id="logs-text" class="logs-text" tabindex="0" hidden></pre>
|
|
985
|
-
<p class="hint">Secrets are masked. Newest at the bottom.</p>
|
|
986
|
-
<div class="set-row"><div class="set-what"><span>Restart this server</span><small id="server-restart-said" role="status">Machines keep running; the page comes back</small></div><div class="set-control"><button type="button" class="danger" id="server-restart">Restart this server...</button></div></div>
|
|
987
|
-
</div>
|
|
988
|
-
</details>
|
|
989
|
-
<details class="chapter" id="settings-ch-about" data-chapter="s-about">
|
|
990
|
-
<summary><span class="chapter-title">About</span><span class="chapter-about">Version, administrators, address.</span></summary>
|
|
991
|
-
<div class="chapter-body">
|
|
992
|
-
<!-- Facts only, one line each: a chapter with nothing to act on is not a chapter. -->
|
|
993
|
-
<p id="settings-about" class="hint"></p>
|
|
994
|
-
<p id="settings-people" class="hint"></p>
|
|
995
|
-
<p id="settings-address" class="hint"></p>
|
|
996
1478
|
</div>
|
|
997
1479
|
</details>
|
|
998
1480
|
</section>
|
|
@@ -1010,7 +1492,27 @@
|
|
|
1010
1492
|
<span class="sub-head">Tool</span>
|
|
1011
1493
|
<div id="newconv-tools" class="pick" role="radiogroup" aria-label="Tool"></div>
|
|
1012
1494
|
</div>
|
|
1013
|
-
<div class="nc-card">
|
|
1495
|
+
<div class="nc-card" id="newconv-oc" hidden>
|
|
1496
|
+
<div class="seg" id="newconv-oc-mode" role="radiogroup" aria-label="OpenCode"><button type="button" role="radio" aria-checked="true" data-m="set">Install and set up</button><button type="button" role="radio" aria-checked="false" data-m="raw">Install only</button></div>
|
|
1497
|
+
<div id="newconv-oc-set" class="oc-set">
|
|
1498
|
+
<label>Provider<select id="newconv-oc-provider"></select></label>
|
|
1499
|
+
<label>Model<select id="newconv-oc-model"></select></label>
|
|
1500
|
+
<label>API key<select id="newconv-oc-key"></select></label>
|
|
1501
|
+
<div id="newconv-oc-new" class="oc-new" hidden><input id="newconv-oc-value" type="password" autocomplete="off" placeholder="Paste the key"><small class="hint">Kept in your secrets, given to this conversation only.</small></div>
|
|
1502
|
+
</div>
|
|
1503
|
+
<small id="newconv-oc-raw" class="hint" hidden>Set it up yourself in its terminal.</small>
|
|
1504
|
+
</div>
|
|
1505
|
+
<!-- WHERE IT LIVES (#221): a machine of its own, or a shared one (lighter, for assistants). -->
|
|
1506
|
+
<div class="nc-card" id="newconv-where-card">
|
|
1507
|
+
<span class="sub-head">Where it lives</span>
|
|
1508
|
+
<div id="newconv-where" class="pick two" role="radiogroup" aria-label="Where it lives">
|
|
1509
|
+
<button type="button" role="radio" data-where="own" aria-checked="true"><b>Its own machine</b><small>All to itself</small></button>
|
|
1510
|
+
<button type="button" role="radio" data-where="shared" aria-checked="false"><b>A shared machine</b><small>Trial · lighter, for assistants</small></button>
|
|
1511
|
+
</div>
|
|
1512
|
+
<div class="set-row" id="newconv-machine-row" hidden><div class="set-what"><label for="newconv-machine">Machine</label><small>An existing one, or a new name</small><span id="newconv-machine-error" class="err" role="alert" hidden></span></div><div class="set-control"><input id="newconv-machine" maxlength="32" list="machine-names" placeholder="assistants" spellcheck="false" autocapitalize="off" autocomplete="off"><datalist id="machine-names"></datalist></div></div>
|
|
1513
|
+
<div class="set-row" id="newconv-machine-mb-row" hidden><div class="set-what"><label for="newconv-machine-mb">Its memory</label><small>Shared by the conversations in it</small></div><div class="set-control"><select id="newconv-machine-mb"><option value="2048">2 GB</option><option value="4096" selected>4 GB</option><option value="6144">6 GB</option><option value="8192">8 GB</option><option value="12288">12 GB</option><option value="16384">16 GB</option></select></div></div>
|
|
1514
|
+
</div>
|
|
1515
|
+
<div class="nc-card" id="newconv-files-card">
|
|
1014
1516
|
<span class="sub-head">Its files</span>
|
|
1015
1517
|
<div id="newconv-work" class="pick two" role="radiogroup" aria-label="Its files">
|
|
1016
1518
|
<button type="button" role="radio" data-work="kept" aria-checked="true"><b>Kept here</b><small>Seen in Files. Outlives the machine</small></button>
|
|
@@ -1019,178 +1521,18 @@
|
|
|
1019
1521
|
<details class="more"><summary>Which one?</summary>A code project that installs packages: its disk. Can be changed later.</details>
|
|
1020
1522
|
</div>
|
|
1021
1523
|
<details class="chapter" id="newconv-more">
|
|
1022
|
-
<summary><span class="chapter-title">More</span><span class="chapter-about">Identifier, memory, cores, disk.</span></summary>
|
|
1524
|
+
<summary><span class="chapter-title">More</span><span class="chapter-about">Identifier, memory, cores, disk, chat.</span></summary>
|
|
1023
1525
|
<div class="chapter-body">
|
|
1024
1526
|
<div class="set-row"><div class="set-what"><label for="newconv-id">Identifier</label><small>Its machine and address. Never changes</small><span id="newconv-id-error" class="err" role="alert" hidden></span></div><div class="set-control"><input id="newconv-id" maxlength="32" pattern="[a-z]([a-z0-9\-]{0,30}[a-z0-9])?" placeholder="website-redesign" spellcheck="false" autocapitalize="none"></div></div>
|
|
1025
1527
|
<div class="set-row"><div class="set-what"><label for="newconv-memory">Memory</label><small id="newconv-memory-least"></small><span id="newconv-memory-error" class="err" role="alert" hidden></span></div><div class="set-control"><select id="newconv-memory"></select></div></div>
|
|
1026
1528
|
<div class="set-row"><div class="set-what"><label for="newconv-cpus">Cores</label><small>Shared with the server's machines</small></div><div class="set-control"><select id="newconv-cpus"></select></div></div>
|
|
1027
1529
|
<div class="set-row"><div class="set-what"><label for="newconv-disk">Disk</label><small>For code kept on the machine; a disk only grows</small></div><div class="set-control"><select id="newconv-disk"></select></div></div>
|
|
1530
|
+
<div class="set-row"><div class="set-what"><label for="newconv-chat">Chat</label><small>Talk with its tool in a chat. Off: its terminal only</small></div><div class="set-control"><input type="checkbox" id="newconv-chat" checked></div></div>
|
|
1028
1531
|
</div>
|
|
1029
1532
|
</details>
|
|
1030
1533
|
</div>
|
|
1031
1534
|
<div class="action-row"><span id="newconv-status" class="hint" role="status">Ready in a few minutes</span><button type="button" id="newconv-cancel">Cancel</button><button type="submit" id="newconv-create" class="primary">Create</button></div>
|
|
1032
1535
|
</form>
|
|
1033
|
-
<div id="copy" class="sheet" hidden>
|
|
1034
|
-
<div class="panel-top"><b>Copy from the screen</b><button type="button" id="copy-close" aria-label="Close" title="Close">×</button></div>
|
|
1035
|
-
<p class="hint">The terminal draws its text itself, so it cannot be selected by touch. Here is the same text as ordinary text: select what you need, or copy it all.</p>
|
|
1036
|
-
<div class="row"><button type="button" id="copy-all" class="primary">Copy everything</button><span id="copy-status" class="hint" role="status"></span></div>
|
|
1037
|
-
<textarea id="copy-text" readonly spellcheck="false" aria-label="Text of the screen"></textarea>
|
|
1038
|
-
<b>Paste into the terminal</b>
|
|
1039
|
-
<div class="row"><button type="button" id="paste-now" class="primary">Paste what I copied</button><span id="paste-status" class="hint" role="status"></span></div>
|
|
1040
|
-
<p class="hint">Or put it here first (a long press offers "Paste"), then send it:</p>
|
|
1041
|
-
<textarea id="paste-text" spellcheck="false" aria-label="Text to send to the terminal" placeholder="Paste here"></textarea>
|
|
1042
|
-
<div class="row"><button type="button" id="paste-send">Send to the terminal</button></div>
|
|
1043
|
-
</div>
|
|
1044
|
-
<div id="files" class="sheet" hidden>
|
|
1045
|
-
<div class="panel-top"><b>Files</b><button type="button" id="files-close" aria-label="Close" title="Close">×</button></div>
|
|
1046
|
-
<div id="files-tabs" class="choices" role="tablist" aria-label="Attached folders"></div>
|
|
1047
|
-
<p id="files-none" class="hint" hidden>This conversation works on the disk of its machine, and no folder is attached to it. Attach one with "Folders".</p>
|
|
1048
|
-
<div class="files-bar">
|
|
1049
|
-
<div id="files-path" class="path"></div>
|
|
1050
|
-
<div id="files-views" class="levels" role="group" aria-label="Show as">
|
|
1051
|
-
<button type="button" data-view="list" aria-pressed="true" title="Show as a list">List</button><button type="button" data-view="icons" aria-pressed="false" title="Show as icons, with pictures">Icons</button>
|
|
1052
|
-
</div>
|
|
1053
|
-
</div>
|
|
1054
|
-
<div class="row" id="files-actions" hidden>
|
|
1055
|
-
<button type="button" id="files-import" class="primary"><span class="long">Upload files</span><span class="short">Upload</span></button>
|
|
1056
|
-
<button type="button" id="files-import-folder" hidden><span class="long">Upload a folder</span><span class="short">Folder</span></button>
|
|
1057
|
-
<button type="button" id="files-new-file"><span class="long">New file</span><span class="short">+ File</span></button>
|
|
1058
|
-
<button type="button" id="files-new-folder"><span class="long">New folder</span><span class="short">+ Folder</span></button>
|
|
1059
|
-
<span id="files-drop-hint" class="hint" hidden>or drop files and folders here</span>
|
|
1060
|
-
<input type="file" id="files-pick" multiple hidden>
|
|
1061
|
-
<input type="file" id="files-pick-folder" multiple hidden>
|
|
1062
|
-
<span id="files-status" class="hint" role="status"></span>
|
|
1063
|
-
</div>
|
|
1064
|
-
<p id="files-readonly" class="hint" hidden>Attached read-only: nothing can be imported here.</p>
|
|
1065
|
-
<p id="files-error" class="error" role="alert" hidden></p>
|
|
1066
|
-
<div id="files-progress" class="files-card" hidden>
|
|
1067
|
-
<div class="row"><b id="files-progress-text">Uploading...</b><span class="sp"></span><button type="button" id="files-progress-stop">Stop</button></div>
|
|
1068
|
-
<div class="bar" role="progressbar" aria-labelledby="files-progress-text" aria-valuemin="0" aria-valuemax="100" id="files-progress-bar"><span></span></div>
|
|
1069
|
-
<small id="files-progress-bytes" class="hint"></small>
|
|
1070
|
-
</div>
|
|
1071
|
-
<div id="files-ask" class="files-card callout confirm" role="alertdialog" aria-labelledby="files-ask-text" hidden>
|
|
1072
|
-
<b id="files-ask-text"></b>
|
|
1073
|
-
<div class="action-row"><button type="button" id="files-ask-skip">Skip</button><button type="button" id="files-ask-replace">Replace</button><button type="button" id="files-ask-keep" class="primary">Keep both</button></div>
|
|
1074
|
-
<label class="check" id="files-ask-all-line"><input type="checkbox" id="files-ask-all"> <span id="files-ask-all-text">Do the same for the others</span></label>
|
|
1075
|
-
</div>
|
|
1076
|
-
<form id="files-name" class="files-card" autocomplete="off" hidden>
|
|
1077
|
-
<label for="files-name-input" id="files-name-label">Name</label>
|
|
1078
|
-
<input id="files-name-input" maxlength="120" spellcheck="false" autocapitalize="none" required>
|
|
1079
|
-
<p id="files-name-error" class="error" role="alert" hidden></p>
|
|
1080
|
-
<div class="row"><button type="submit" class="primary" id="files-name-go">Create</button><button type="button" id="files-name-cancel">Cancel</button></div>
|
|
1081
|
-
</form>
|
|
1082
|
-
<div id="files-rows" data-view="list"></div>
|
|
1083
|
-
<p id="files-empty" class="hint" hidden>This folder is empty.</p>
|
|
1084
|
-
<div id="files-drop" hidden><p id="files-drop-text">Drop to upload here</p></div>
|
|
1085
|
-
</div>
|
|
1086
|
-
<!-- THE REVIEW (E): one page for what a repository would send, or for one
|
|
1087
|
-
commit. The diff is drawn by diff2html from the text of the diff:
|
|
1088
|
-
every line is escaped there, nothing the agent wrote is markup. -->
|
|
1089
|
-
<div id="gitview" class="review" hidden>
|
|
1090
|
-
<div class="rv-head">
|
|
1091
|
-
<button type="button" id="gitview-close" class="as-link">‹ <span id="gitview-back">Back</span></button>
|
|
1092
|
-
<b id="gitview-name">Repository</b>
|
|
1093
|
-
<span class="rv-branches"><span id="gitview-branch-row" hidden><label for="gitview-branch" class="sr">The agent's branch</label><select id="gitview-branch" class="pill agent"></select></span><span id="gitview-from" class="pill agent"></span><span id="gitview-arrow" aria-hidden="true">→</span><span id="gitview-target-row" hidden><label for="gitview-target" class="sr">Send to the branch</label><select id="gitview-target" class="pill target"></select><input id="gitview-newbranch" spellcheck="false" autocapitalize="off" autocomplete="off" maxlength="200" placeholder="new-branch-name" aria-label="Name of the new branch" hidden><button type="button" id="gitview-newbranch-go" hidden>Look</button></span></span>
|
|
1094
|
-
<span class="rv-acts"><button type="button" id="gitview-again" title="Look again">↻</button><button type="button" id="gitview-check" hidden>Run the checks again</button><button type="button" id="gitview-push" class="primary" hidden>Send</button></span>
|
|
1095
|
-
</div>
|
|
1096
|
-
<p id="gitview-numbers" class="rv-numbers"></p>
|
|
1097
|
-
<p id="gitview-state" role="status"></p>
|
|
1098
|
-
<p id="gitview-error" class="error" role="alert" hidden></p>
|
|
1099
|
-
<div class="row" id="gitview-offer-row" hidden><button type="button" id="gitview-offer"></button><span class="hint">Only for checks about old dates, modes and author lines, which old tools got wrong. Never for what protects a checkout.</span></div>
|
|
1100
|
-
<p id="gitview-remote-go" class="hint" hidden><button type="button" id="gitview-set-remote" class="as-link">Set where it is sent, in Assets</button></p>
|
|
1101
|
-
<p id="gitview-read" class="hint" role="status" hidden></p>
|
|
1102
|
-
<p id="gitview-dropped" class="hint" hidden></p>
|
|
1103
|
-
<div id="gitview-guards" class="rv-good" hidden><b>Good to know</b><ul id="gitview-guards-list"></ul></div>
|
|
1104
|
-
<div id="gitview-tabs" class="rv-tabs" role="tablist" aria-label="Review">
|
|
1105
|
-
<button type="button" role="tab" data-tab="changes" aria-selected="true">Changes <span class="count" id="gitview-n-files"></span></button>
|
|
1106
|
-
<button type="button" role="tab" data-tab="commits" aria-selected="false">Commits <span class="count" id="gitview-n-commits"></span></button>
|
|
1107
|
-
<button type="button" role="tab" data-tab="checks" aria-selected="false">Checks <span id="gitview-n-checks"></span></button>
|
|
1108
|
-
<span class="rv-layout levels" id="gitview-layout" role="group" aria-label="Layout"><button type="button" data-layout="side-by-side" aria-pressed="true">Side by side</button><button type="button" data-layout="line-by-line" aria-pressed="false">Unified</button></span>
|
|
1109
|
-
</div>
|
|
1110
|
-
<div id="gitview-pane-changes" class="rv-pane">
|
|
1111
|
-
<div class="rv-picker" id="gitview-picker" hidden><button type="button" data-step="-1" aria-label="Previous file">‹</button><span id="gitview-picker-at"></span><button type="button" data-step="1" aria-label="Next file">›</button></div>
|
|
1112
|
-
<div class="rv-body"><nav id="gitview-tree" class="rv-tree" aria-label="Files changed"></nav><div id="gitview-diff" class="rv-diff"></div></div>
|
|
1113
|
-
<pre id="gitview-stat" hidden></pre>
|
|
1114
|
-
</div>
|
|
1115
|
-
<div id="gitview-pane-commits" class="rv-pane" hidden><div id="gitview-commits"></div></div>
|
|
1116
|
-
<div id="gitview-pane-checks" class="rv-pane" hidden>
|
|
1117
|
-
<div id="gitview-checks" hidden>
|
|
1118
|
-
<p class="hint">Checks run in the agent's machine (its pre-push hook, your check command): a safeguard, not a proof. The tool could make them pass.</p>
|
|
1119
|
-
<p id="gitview-checks-state" role="status"></p>
|
|
1120
|
-
<pre id="gitview-checks-output"></pre>
|
|
1121
|
-
</div>
|
|
1122
|
-
<div id="gitview-origin" hidden>
|
|
1123
|
-
<p class="hint" id="gitview-origin-where"></p>
|
|
1124
|
-
<div class="row"><code id="gitview-origin-fetch"></code></div>
|
|
1125
|
-
<div class="row"><button type="button" id="gitview-refresh">Refresh now</button><span class="hint" id="gitview-origin-state" role="status"></span></div>
|
|
1126
|
-
</div>
|
|
1127
|
-
<details id="gitview-keep-box">
|
|
1128
|
-
<summary>Checks, origin, automatic sending</summary>
|
|
1129
|
-
<form id="gitview-keep" class="set-rows" autocomplete="off">
|
|
1130
|
-
<div class="set-row"><div class="set-what"><label for="gitview-runhook">Pre-push hook</label><small>The project's own, if it has one</small></div><div class="set-control"><input type="checkbox" id="gitview-runhook"></div></div>
|
|
1131
|
-
<div class="set-row"><div class="set-what"><label for="gitview-checkcommand">Check command</label><small>Run in the agent's machine, optional</small></div><div class="set-control"><input id="gitview-checkcommand" spellcheck="false" autocapitalize="off" maxlength="500" placeholder="npm test"></div></div>
|
|
1132
|
-
<div class="set-row"><div class="set-what"><label for="gitview-checkseconds">Time limit</label><small>Of the checks, in seconds</small></div><div class="set-control"><input id="gitview-checkseconds" type="number" min="10" max="3600" step="1" inputmode="numeric"></div></div>
|
|
1133
|
-
<div class="set-row"><div class="set-what"><label for="gitview-require">Checks required</label><small>Send only after they passed</small></div><div class="set-control"><input type="checkbox" id="gitview-require"></div></div>
|
|
1134
|
-
<div class="set-row"><div class="set-what"><label for="gitview-refreshminutes">Origin refresh</label><small>Every N minutes · 0: by hand only</small></div><div class="set-control"><input id="gitview-refreshminutes" type="number" min="0" max="1440" step="1" inputmode="numeric"></div></div>
|
|
1135
|
-
<div class="set-row"><div class="set-what"><label for="gitview-alert">Phone alerts</label><small>On automatic sendings</small></div><div class="set-control"><input type="checkbox" id="gitview-alert"></div></div>
|
|
1136
|
-
<div class="set-row"><div class="set-what"><label for="gitview-tellmoves">Branch moves</label><small>Told to the agent · origin/* is fetched anyway</small></div><div class="set-control"><input type="checkbox" id="gitview-tellmoves"></div></div>
|
|
1137
|
-
<p class="hint">Refresh and automatic sending: only while a running machine has it attached. "Refresh now": any time.</p>
|
|
1138
|
-
<p class="hint" id="gitview-auto-where">Automatic sending: set for each conversation, in its Access (Write).</p>
|
|
1139
|
-
<div class="action-row"><span class="hint" id="gitview-keep-said" role="status"></span><button type="submit" class="primary">Save</button></div>
|
|
1140
|
-
</form>
|
|
1141
|
-
<b>What was sent by itself, and what went wrong</b>
|
|
1142
|
-
<p id="gitview-log-empty" class="hint">Nothing yet.</p>
|
|
1143
|
-
<div id="gitview-log"></div>
|
|
1144
|
-
</details>
|
|
1145
|
-
</div>
|
|
1146
|
-
</div>
|
|
1147
|
-
<!-- A file, shown over whatever is on the screen; closing it leaves you where you were. -->
|
|
1148
|
-
<div id="viewer" role="dialog" aria-modal="true" aria-labelledby="preview-name" hidden>
|
|
1149
|
-
<div id="viewer-card">
|
|
1150
|
-
<div class="row"><b id="preview-name"></b><span class="sp"></span><button type="button" id="preview-where" class="ico" hidden title="Show in Assets" aria-label="Show in Assets"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 2 2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5M2 12l10 5 10-5"/></svg></button><button type="button" id="preview-attach" class="ico" hidden title="Attach to a card" aria-label="Attach to a card"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"/></svg></button><button type="button" id="preview-edit" class="ico" hidden title="Edit" aria-label="Edit"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"/></svg></button><button type="button" id="preview-copy" class="ico" hidden title="Copy" aria-label="Copy"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg></button><button type="button" id="preview-full" class="ico" title="Full screen" aria-label="Full screen" aria-pressed="false"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></svg></button><a id="preview-download" class="button ico primary" title="Download" aria-label="Download"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3v12M7 11l5 5 5-5"/><path d="M5 21h14"/></svg></a><button type="button" id="preview-close" aria-label="Close" title="Close">×</button></div>
|
|
1151
|
-
<p id="preview-note" class="hint" hidden></p>
|
|
1152
|
-
<div id="preview-body"></div>
|
|
1153
|
-
</div>
|
|
1154
|
-
</div>
|
|
1155
|
-
<div id="notice" hidden>
|
|
1156
|
-
<span id="notice-spin" class="spin" aria-hidden="true" hidden></span>
|
|
1157
|
-
<!-- A start told step by step: what it is, which step of how many, and the time so far. -->
|
|
1158
|
-
<div id="notice-head" hidden><p id="notice-title"></p><p id="notice-count"></p></div>
|
|
1159
|
-
<ol id="notice-steps" aria-live="polite" hidden></ol>
|
|
1160
|
-
<p id="notice-text"></p>
|
|
1161
|
-
<ul id="notice-health" class="health-lines" hidden></ul>
|
|
1162
|
-
<div class="row"><button id="notice-action" type="button" class="primary"></button><button id="notice-restart" type="button" hidden>Restart the machine...</button><button id="notice-cancel" type="button" hidden>Cancel</button></div>
|
|
1163
|
-
</div>
|
|
1164
|
-
</main>
|
|
1165
|
-
<p id="voice-line" role="status" hidden></p>
|
|
1166
|
-
<!-- Saved texts, sent with one click. -->
|
|
1167
|
-
<div id="shortcuts" hidden>
|
|
1168
|
-
<div id="shortcut-row" class="chips-row"></div>
|
|
1169
|
-
<form id="shortcut-new" hidden autocomplete="off">
|
|
1170
|
-
<input id="shortcut-label" maxlength="40" placeholder="Label on the button" required aria-label="Label on the button">
|
|
1171
|
-
<input id="shortcut-text" maxlength="2000" placeholder="Text typed into the terminal" required aria-label="Text typed into the terminal">
|
|
1172
|
-
<label class="check"><input type="checkbox" id="shortcut-enter" checked> press Enter after it</label>
|
|
1173
|
-
<div class="row"><button type="submit" class="primary">Save</button><button type="button" id="shortcut-cancel">Cancel</button>
|
|
1174
|
-
<span id="shortcut-error" class="error" role="alert" hidden></span></div>
|
|
1175
|
-
</form>
|
|
1176
|
-
</div>
|
|
1177
|
-
<!-- The keys a phone keyboard does not have. -->
|
|
1178
|
-
<footer id="keys" data-more="false" title="To select text with the mouse, hold Shift while dragging: what is selected is copied. With a finger, press and hold.">
|
|
1179
|
-
<button type="button" data-keys="esc">Esc</button>
|
|
1180
|
-
<button type="button" data-keys="tab" class="extra">Tab</button>
|
|
1181
|
-
<button type="button" data-keys="left" aria-label="Left">←</button>
|
|
1182
|
-
<button type="button" data-keys="down" aria-label="Down">↓</button>
|
|
1183
|
-
<button type="button" data-keys="up" aria-label="Up">↑</button>
|
|
1184
|
-
<button type="button" data-keys="right" aria-label="Right">→</button>
|
|
1185
|
-
<button type="button" data-keys="backspace" class="extra" aria-label="Backspace">⌫</button>
|
|
1186
|
-
<button type="button" data-keys="enter" class="wide">Enter</button>
|
|
1187
|
-
<button type="button" data-keys="stop" class="careful extra" title="Ctrl+C: interrupts what is running">Ctrl+C</button>
|
|
1188
|
-
<button type="button" id="copy-open" class="extra" hidden title="Copy text of the screen, or paste">Copy / paste</button>
|
|
1189
|
-
<button type="button" id="kbd" aria-pressed="false" data-short="Kbd" hidden title="Show or hide the on-screen keyboard">Keyboard</button>
|
|
1190
|
-
<button type="button" id="mic" aria-pressed="false" data-short="Mic" hidden>Dictate</button>
|
|
1191
|
-
<button type="button" id="auto" class="extra" aria-pressed="false" hidden title="Press Enter when I stop talking">auto</button>
|
|
1192
|
-
<button type="button" id="keys-more" aria-expanded="false" title="More keys, and the ready-made answers">More</button>
|
|
1193
|
-
</footer>
|
|
1194
1536
|
</section>
|
|
1195
1537
|
</div>
|
|
1196
1538
|
<script src="/vendor/xterm.js"></script>
|
|
@@ -1198,6 +1540,48 @@
|
|
|
1198
1540
|
<script src="/vendor/diff2html.js"></script>
|
|
1199
1541
|
<script src="/gitgraph.js"></script>
|
|
1200
1542
|
<script src="/links.js"></script>
|
|
1543
|
+
<div id="jobs" class="jobs-pop" role="dialog" aria-label="Under way" hidden></div>
|
|
1544
|
+
<!-- COPY OR MOVE (#221, 14-11): a two-screen wizard over the page -- what and where, then what it does. Confirmed,
|
|
1545
|
+
it closes at once and the job goes on in « under way »; its end said by the toast below. -->
|
|
1546
|
+
<dialog id="cm" aria-labelledby="cm-title">
|
|
1547
|
+
<div class="cm-head"><div class="mascot cm-sheep" id="cm-sheep" aria-hidden="true"></div><h2 id="cm-title"></h2></div>
|
|
1548
|
+
<div id="cm-choose">
|
|
1549
|
+
<div class="cm-kinds" role="radiogroup" aria-label="Copy or move">
|
|
1550
|
+
<button type="button" class="cm-card" data-kind="copy" role="radio" aria-checked="true"><b data-said="set-cm-copy">Copy</b><small data-said="set-cm-copy-what">This one stays as it is</small></button>
|
|
1551
|
+
<button type="button" class="cm-card" data-kind="move" role="radio" aria-checked="false"><b data-said="set-cm-move">Move</b><small data-said="set-cm-move-what">The same conversation, another machine</small></button>
|
|
1552
|
+
</div>
|
|
1553
|
+
<p class="cm-label" data-said="set-where">Where it runs</p>
|
|
1554
|
+
<div id="cm-places" class="cm-places" role="radiogroup" aria-label="Where it runs"></div>
|
|
1555
|
+
<div id="cm-new" class="cm-new" hidden>
|
|
1556
|
+
<input id="cm-new-name" maxlength="32" list="machine-names" placeholder="assistants" spellcheck="false" autocapitalize="off" autocomplete="off" aria-label="Its name">
|
|
1557
|
+
<select id="cm-new-mb" aria-label="Its memory"><option value="2048">2 GB</option><option value="4096" selected>4 GB</option><option value="6144">6 GB</option><option value="8192">8 GB</option><option value="12288">12 GB</option><option value="16384">16 GB</option></select>
|
|
1558
|
+
</div>
|
|
1559
|
+
<p class="cm-why" id="cm-why" role="alert" hidden></p>
|
|
1560
|
+
<div class="cm-acts"><button type="button" id="cm-cancel" data-said="set-cm-cancel">Cancel</button><button type="button" class="primary" id="cm-next" data-said="set-cm-next">Next</button></div>
|
|
1561
|
+
</div>
|
|
1562
|
+
<div id="cm-check" hidden>
|
|
1563
|
+
<div id="cm-copy-part">
|
|
1564
|
+
<label class="cm-label" for="cm-copy-title" data-said="set-cm-copy-name">Name of the copy</label>
|
|
1565
|
+
<input id="cm-copy-title" maxlength="60">
|
|
1566
|
+
<ul class="cm-goes"><li data-said="set-cm-goes-work">Its work folder</li><li data-said="set-cm-goes-memory">Its AI's memory</li><li data-said="set-cm-goes-access">Its accesses</li></ul>
|
|
1567
|
+
<label class="cm-tick"><input type="checkbox" id="cm-reminders"> <span data-said="set-cm-reminders">Its reminders and wake-ups too</span></label>
|
|
1568
|
+
<p class="cm-not" data-said="set-cm-not-devices">Not its devices</p>
|
|
1569
|
+
<p class="cm-box" data-said="set-cm-untouched">This one: untouched (woken or started to read it, then put back as it was)</p>
|
|
1570
|
+
<p class="cm-box" data-said="set-cm-stay">You stay here · « Open it » when it is ready</p>
|
|
1571
|
+
</div>
|
|
1572
|
+
<div id="cm-move-part">
|
|
1573
|
+
<p class="cm-box" id="cm-stops" data-said="set-cm-stops">Its tool stops for about a minute</p>
|
|
1574
|
+
<p class="cm-box cm-danger" id="cm-deleted" data-said="set-cm-deleted">Its own machine is deleted</p>
|
|
1575
|
+
</div>
|
|
1576
|
+
<div class="cm-acts"><button type="button" id="cm-back" data-said="set-cm-back">Back</button><button type="button" class="primary" id="cm-go"></button></div>
|
|
1577
|
+
</div>
|
|
1578
|
+
</dialog>
|
|
1579
|
+
<!-- A COPY'S END (14-11): one line under the top bar, « Open it » or « See why ». -->
|
|
1580
|
+
<div id="cm-toast" class="cm-toast" role="status" hidden><span id="cm-toast-text"></span><button type="button" id="cm-toast-go" class="primary"></button><button type="button" id="cm-toast-close" class="quiet" aria-label="Close">×</button></div>
|
|
1581
|
+
<script src="/features.js"></script>
|
|
1582
|
+
<script src="/kit.js"></script>
|
|
1583
|
+
<script src="/desk.js"></script>
|
|
1584
|
+
<script src="/mail-view.js"></script>
|
|
1201
1585
|
<script src="/app.js"></script>
|
|
1202
1586
|
<script type="module" src="/voice.js"></script>
|
|
1203
1587
|
<script type="module" src="/icons.js"></script>
|