@nervekit/desktop 0.16.1 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +2 -1
- package/dist/main.js.map +1 -1
- package/dist/window/loading-pages.d.ts +1 -0
- package/dist/window/loading-pages.d.ts.map +1 -1
- package/dist/window/loading-pages.js +5 -0
- package/dist/window/loading-pages.js.map +1 -1
- package/node_modules/@nervekit/contracts/package.json +1 -1
- package/node_modules/@nervekit/harness/package.json +2 -2
- package/node_modules/@nervekit/protocol/dist/session.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/session.js +38 -17
- package/node_modules/@nervekit/protocol/dist/session.js.map +1 -1
- package/node_modules/@nervekit/protocol/package.json +2 -2
- package/node_modules/@nervekit/tools/package.json +2 -2
- package/node_modules/@nervekit/workbench-server/dist/web/assets/{dist-BmchP8l8.js → dist-_--zIOwq.js} +1 -1
- package/node_modules/@nervekit/workbench-server/dist/web/assets/{index-BNtPIcmS.js → index-Dboh6jC8.js} +145 -145
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-dBcMgZ94.css +1 -0
- package/node_modules/@nervekit/workbench-server/dist/web/index.html +136 -4
- package/node_modules/@nervekit/workbench-server/dist/web/sw.js +1 -1
- package/node_modules/@nervekit/workbench-server/package.json +5 -5
- package/package.json +6 -6
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-C60syoCv.css +0 -1
|
@@ -17,9 +17,14 @@
|
|
|
17
17
|
const parsedLevel = Number(rawLevel);
|
|
18
18
|
if (!Number.isInteger(parsedLevel)) return;
|
|
19
19
|
const level = Math.min(8, Math.max(-8, parsedLevel));
|
|
20
|
+
const scale = 1.1 ** level;
|
|
20
21
|
document.documentElement.style.setProperty(
|
|
21
22
|
"--nerve-zoom-scale",
|
|
22
|
-
|
|
23
|
+
scale.toFixed(4),
|
|
24
|
+
);
|
|
25
|
+
document.documentElement.style.setProperty(
|
|
26
|
+
"--nerve-inverse-zoom-scale",
|
|
27
|
+
(1 / scale).toFixed(4),
|
|
23
28
|
);
|
|
24
29
|
try {
|
|
25
30
|
window.sessionStorage.setItem(
|
|
@@ -47,11 +52,138 @@
|
|
|
47
52
|
content="black-translucent"
|
|
48
53
|
/>
|
|
49
54
|
<meta name="apple-mobile-web-app-title" content="Nerve" />
|
|
55
|
+
<!-- Pre-stylesheet startup bridge: the Svelte splash replaces this node
|
|
56
|
+
immediately after mount, before critical workspace hydration. -->
|
|
57
|
+
<style>
|
|
58
|
+
:root {
|
|
59
|
+
color-scheme: light dark;
|
|
60
|
+
--startup-background: oklch(0.9818 0.0054 95.0986);
|
|
61
|
+
--startup-foreground: oklch(0.3438 0.0269 95.7226);
|
|
62
|
+
--startup-primary: oklch(0.57 0.1375 39.0427);
|
|
63
|
+
--startup-muted: oklch(0.5341 0.0078 97.4503);
|
|
64
|
+
--startup-border: oklch(0.8847 0.0069 97.3627);
|
|
65
|
+
}
|
|
66
|
+
@media (prefers-color-scheme: dark) {
|
|
67
|
+
:root {
|
|
68
|
+
--startup-background: oklch(0.2679 0.0036 106.6427);
|
|
69
|
+
--startup-foreground: oklch(0.9576 0.0027 106.4494);
|
|
70
|
+
--startup-primary: oklch(0.6724 0.1308 38.7559);
|
|
71
|
+
--startup-muted: oklch(0.7713 0.0169 99.0657);
|
|
72
|
+
--startup-border: oklch(0.3618 0.0101 106.8928);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
html,
|
|
76
|
+
body,
|
|
77
|
+
#app {
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: 100%;
|
|
80
|
+
margin: 0;
|
|
81
|
+
background: var(--startup-background);
|
|
82
|
+
color: var(--startup-foreground);
|
|
83
|
+
}
|
|
84
|
+
#startup-bootstrap,
|
|
85
|
+
#startup-bootstrap * {
|
|
86
|
+
box-sizing: border-box;
|
|
87
|
+
}
|
|
88
|
+
#startup-bootstrap {
|
|
89
|
+
position: fixed;
|
|
90
|
+
inset: 0;
|
|
91
|
+
display: grid;
|
|
92
|
+
place-items: center;
|
|
93
|
+
background: var(--startup-background);
|
|
94
|
+
color: var(--startup-foreground);
|
|
95
|
+
font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
|
|
96
|
+
}
|
|
97
|
+
#startup-bootstrap-content {
|
|
98
|
+
display: grid;
|
|
99
|
+
width: min(12rem, calc(100vw - 3rem));
|
|
100
|
+
justify-items: center;
|
|
101
|
+
padding: 1.5rem;
|
|
102
|
+
text-align: center;
|
|
103
|
+
transform: scale(var(--nerve-inverse-zoom-scale, 1));
|
|
104
|
+
transform-origin: center;
|
|
105
|
+
}
|
|
106
|
+
#startup-bootstrap-badge {
|
|
107
|
+
display: grid;
|
|
108
|
+
width: 3rem;
|
|
109
|
+
height: 3rem;
|
|
110
|
+
place-items: center;
|
|
111
|
+
border-radius: 0.625rem;
|
|
112
|
+
background: var(--startup-foreground);
|
|
113
|
+
color: var(--startup-background);
|
|
114
|
+
animation: startup-bootstrap-breathe 2.4s ease-in-out infinite;
|
|
115
|
+
}
|
|
116
|
+
#startup-bootstrap-badge svg {
|
|
117
|
+
width: 62.5%;
|
|
118
|
+
height: 62.5%;
|
|
119
|
+
}
|
|
120
|
+
#startup-bootstrap-status {
|
|
121
|
+
margin: 1.5rem 0 0.5rem;
|
|
122
|
+
color: var(--startup-muted);
|
|
123
|
+
font-size: 0.875rem;
|
|
124
|
+
line-height: 1.25rem;
|
|
125
|
+
}
|
|
126
|
+
#startup-bootstrap-track {
|
|
127
|
+
width: 100%;
|
|
128
|
+
height: 0.25rem;
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
border-radius: 999px;
|
|
131
|
+
background: var(--startup-border);
|
|
132
|
+
}
|
|
133
|
+
#startup-bootstrap-fill {
|
|
134
|
+
display: block;
|
|
135
|
+
width: 100%;
|
|
136
|
+
height: 100%;
|
|
137
|
+
border-radius: inherit;
|
|
138
|
+
background: var(--startup-primary);
|
|
139
|
+
}
|
|
140
|
+
@keyframes startup-bootstrap-breathe {
|
|
141
|
+
0%,
|
|
142
|
+
100% {
|
|
143
|
+
opacity: 1;
|
|
144
|
+
}
|
|
145
|
+
50% {
|
|
146
|
+
opacity: 0.72;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
@media (prefers-reduced-motion: reduce) {
|
|
150
|
+
#startup-bootstrap-badge {
|
|
151
|
+
animation: none;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
</style>
|
|
50
155
|
<title>nerve</title>
|
|
51
|
-
<script type="module" crossorigin src="/assets/index-
|
|
52
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
156
|
+
<script type="module" crossorigin src="/assets/index-Dboh6jC8.js"></script>
|
|
157
|
+
<link rel="stylesheet" crossorigin href="/assets/index-dBcMgZ94.css">
|
|
53
158
|
<link rel="manifest" href="/manifest.webmanifest"></head>
|
|
54
159
|
<body>
|
|
55
|
-
<div id="app"
|
|
160
|
+
<div id="app">
|
|
161
|
+
<main id="startup-bootstrap" aria-busy="true" aria-label="Starting Nerve">
|
|
162
|
+
<div id="startup-bootstrap-content">
|
|
163
|
+
<span id="startup-bootstrap-badge" aria-hidden="true">
|
|
164
|
+
<svg viewBox="120 120 272 272" fill="none">
|
|
165
|
+
<g
|
|
166
|
+
stroke="currentColor"
|
|
167
|
+
stroke-width="32"
|
|
168
|
+
stroke-linecap="round"
|
|
169
|
+
stroke-linejoin="round"
|
|
170
|
+
>
|
|
171
|
+
<path d="M150 350V162" />
|
|
172
|
+
<path d="M362 350V162" />
|
|
173
|
+
<path d="M150 162L232 235L258 208L284 288L362 350" />
|
|
174
|
+
</g>
|
|
175
|
+
</svg>
|
|
176
|
+
</span>
|
|
177
|
+
<p id="startup-bootstrap-status" role="status">Opening Nerve</p>
|
|
178
|
+
<div
|
|
179
|
+
id="startup-bootstrap-track"
|
|
180
|
+
role="progressbar"
|
|
181
|
+
aria-label="Starting Nerve"
|
|
182
|
+
>
|
|
183
|
+
<span id="startup-bootstrap-fill"></span>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</main>
|
|
187
|
+
</div>
|
|
56
188
|
</body>
|
|
57
189
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()}).then(()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s}));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let o={};const a=s=>i(s,r),u={module:{uri:r},exports:o,require:a};e[r]=Promise.all(l.map(s=>u[s]||a(s))).then(s=>(n(...s),o))}}define(["./workbox-2fbc6a65"],function(s){"use strict";self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"pwa-maskable-512x512.png",revision:"80cdbcbccadae0e2f3730d12bcb5a553"},{url:"pwa-512x512.png",revision:"0bd885031e506881844fe2fbf6817c53"},{url:"pwa-192x192.png",revision:"705a03ca7b57627c3dc293b3ce905863"},{url:"index.html",revision:"
|
|
1
|
+
if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()}).then(()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s}));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let o={};const a=s=>i(s,r),u={module:{uri:r},exports:o,require:a};e[r]=Promise.all(l.map(s=>u[s]||a(s))).then(s=>(n(...s),o))}}define(["./workbox-2fbc6a65"],function(s){"use strict";self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"pwa-maskable-512x512.png",revision:"80cdbcbccadae0e2f3730d12bcb5a553"},{url:"pwa-512x512.png",revision:"0bd885031e506881844fe2fbf6817c53"},{url:"pwa-192x192.png",revision:"705a03ca7b57627c3dc293b3ce905863"},{url:"index.html",revision:"1af742c898e559bad400fc585c250c7b"},{url:"favicon.svg",revision:"4544d6113c9912b2f814e04477fe75c8"},{url:"favicon-32.png",revision:"8f26eea7856f31ec0a73edcd12b07b89"},{url:"favicon-16.png",revision:"d1c738be9660268fcb25f5dfcefbc06d"},{url:"apple-touch-icon.png",revision:"cb3b48a79af7656d891c81940b84925b"},{url:"sounds/success.mp3",revision:"b8464a3933f03ccca82c89aa17d0a9ac"},{url:"sounds/sparkle.mp3",revision:"345ef331fd880e2a1308ac21175984cf"},{url:"sounds/signal.mp3",revision:"a18ccb259e6db1ee0ed44df0ed926e2f"},{url:"sounds/ripple.mp3",revision:"aeca53c2ee35c8659af7c5a6a31b3051"},{url:"sounds/pulse.mp3",revision:"711b3d42f5410834a14683072e95db2a"},{url:"sounds/pop.mp3",revision:"d946fcedf3085e5dab0341bef81a7a82"},{url:"sounds/ping.mp3",revision:"1cb17bfffeb6b2db9526340d2a2d1b6d"},{url:"sounds/knock.mp3",revision:"45664499712bf9ead8653fe403bb72a8"},{url:"sounds/click.mp3",revision:"4692dad0ff5cb8eaec249747bd131742"},{url:"sounds/chime.mp3",revision:"fd058afcbc0bd3a73a1a1215bf302ad0"},{url:"sounds/bell.mp3",revision:"801f143445f7571fa304704c0cbad570"},{url:"sounds/alert.mp3",revision:"c9eaebb0d30f2cef8e0142842bd24d0d"},{url:"assets/yaml-rwi0_p6S.js",revision:null},{url:"assets/xml-DMbpbO54.js",revision:null},{url:"assets/workbox-window.prod.es5-Bd17z0YL.js",revision:null},{url:"assets/typescript-bsJCZSQ-.js",revision:null},{url:"assets/tsx-udAQXfEw.js",revision:null},{url:"assets/svelte-Uaf2W_lJ.js",revision:null},{url:"assets/shellscript-CLZ0U2zV.js",revision:null},{url:"assets/python-gzcpVVnB.js",revision:null},{url:"assets/outfit-latin-ext-700-normal-CI4iH74K.woff2",revision:null},{url:"assets/outfit-latin-ext-600-normal-B85nYjL1.woff2",revision:null},{url:"assets/outfit-latin-ext-500-normal-zeox_O30.woff2",revision:null},{url:"assets/outfit-latin-ext-400-normal-5tcqmc2S.woff2",revision:null},{url:"assets/outfit-latin-700-normal-Cu9v6i1X.woff2",revision:null},{url:"assets/outfit-latin-600-normal-B7SfZ07L.woff2",revision:null},{url:"assets/outfit-latin-500-normal-DKnIMDSk.woff2",revision:null},{url:"assets/outfit-latin-400-normal-BGsTXAXT.woff2",revision:null},{url:"assets/markdown-BYOwaDjH.js",revision:null},{url:"assets/jsx-Bz0zcwM4.js",revision:null},{url:"assets/jsonc-CYpm1nAK.js",revision:null},{url:"assets/json-qhed-kSA.js",revision:null},{url:"assets/javascript-BgS3c2Ky.js",revision:null},{url:"assets/iosevka-latin-500-normal-CQO8XnuS.woff2",revision:null},{url:"assets/iosevka-latin-400-normal-7stTb90X.woff2",revision:null},{url:"assets/index-dBcMgZ94.css",revision:null},{url:"assets/index-Dboh6jC8.js",revision:null},{url:"assets/html-BY76lXLH.js",revision:null},{url:"assets/github-light-EUqPIrTm.js",revision:null},{url:"assets/github-dark-dimmed-Bx1FflLF.js",revision:null},{url:"assets/dist-_--zIOwq.js",revision:null},{url:"assets/dist-FQvzRocB.js",revision:null},{url:"assets/diff-woXpYk--.js",revision:null},{url:"assets/css-BsVw1vtW.js",revision:null},{url:"assets/bash-B7CDPTg5.js",revision:null},{url:"pwa-192x192.png",revision:"705a03ca7b57627c3dc293b3ce905863"},{url:"pwa-512x512.png",revision:"0bd885031e506881844fe2fbf6817c53"},{url:"pwa-maskable-512x512.png",revision:"80cdbcbccadae0e2f3730d12bcb5a553"},{url:"manifest.webmanifest",revision:"aa1d1f7d0b44ae304539beb0b11b3571"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("/index.html"),{denylist:[/^\/api\//,/^\/ws\b/,/^\/mobile-setup\b/,/^\/nerve-local-ca\.pem$/,/[?&]token=/]}))});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nervekit/workbench-server",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"author": "ThilinaTLM",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@earendil-works/pi-ai": "0.83.0",
|
|
19
19
|
"@hono/node-server": "2.0.11",
|
|
20
|
-
"@nervekit/contracts": "0.16.
|
|
21
|
-
"@nervekit/harness": "0.16.
|
|
22
|
-
"@nervekit/protocol": "0.16.
|
|
23
|
-
"@nervekit/tools": "0.16.
|
|
20
|
+
"@nervekit/contracts": "0.16.2",
|
|
21
|
+
"@nervekit/harness": "0.16.2",
|
|
22
|
+
"@nervekit/protocol": "0.16.2",
|
|
23
|
+
"@nervekit/tools": "0.16.2",
|
|
24
24
|
"@peculiar/x509": "^2.0.0",
|
|
25
25
|
"fdir": "6.5.0",
|
|
26
26
|
"hono": "4.12.32",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nervekit/desktop",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "UI-first personal AI coding harness desktop application.",
|
|
5
5
|
"author": "ThilinaTLM",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@earendil-works/pi-ai": "0.83.0",
|
|
33
33
|
"@hono/node-server": "2.0.11",
|
|
34
|
-
"@nervekit/contracts": "0.16.
|
|
35
|
-
"@nervekit/harness": "0.16.
|
|
36
|
-
"@nervekit/protocol": "0.16.
|
|
37
|
-
"@nervekit/tools": "0.16.
|
|
38
|
-
"@nervekit/workbench-server": "0.16.
|
|
34
|
+
"@nervekit/contracts": "0.16.2",
|
|
35
|
+
"@nervekit/harness": "0.16.2",
|
|
36
|
+
"@nervekit/protocol": "0.16.2",
|
|
37
|
+
"@nervekit/tools": "0.16.2",
|
|
38
|
+
"@nervekit/workbench-server": "0.16.2",
|
|
39
39
|
"@peculiar/x509": "^2.0.0",
|
|
40
40
|
"diff": "^8.0.4",
|
|
41
41
|
"electron": "^42.0.0",
|