@velarscript/desktop 0.11.1 → 0.12.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/README.md +56 -214
- package/dist/build.d.ts +4 -12
- package/dist/build.d.ts.map +1 -1
- package/dist/build.js +11 -59
- package/dist/build.js.map +1 -1
- package/dist/compiler.d.ts.map +1 -1
- package/dist/compiler.js +4 -702
- package/dist/compiler.js.map +1 -1
- package/dist/config.d.ts +0 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +5 -7
- package/dist/config.js.map +1 -1
- package/dist/host.js +1 -1
- package/dist/host.js.map +1 -1
- package/dist/package-host.d.ts.map +1 -1
- package/dist/package-host.js +2 -2
- package/dist/package-host.js.map +1 -1
- package/dist/test-runtime.d.ts.map +1 -1
- package/dist/test-runtime.js +0 -130
- package/dist/test-runtime.js.map +1 -1
- package/dist/worker.js +3 -545
- package/native/macos/VelarDesktopHost.swift +0 -16
- package/native/node/worker.js +19 -929
- package/package.json +4 -4
- package/native/macos/VelarTerminalHost.swift +0 -203
- package/native/node/project-transactions.js +0 -157
package/README.md
CHANGED
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
# @velarscript/desktop
|
|
2
2
|
|
|
3
3
|
The optional single-project VelarScript Desktop framework. Application authors
|
|
4
|
-
write one ordinary VelarScript source graph
|
|
5
|
-
|
|
6
|
-
`@velarscript/web`. There is no user-facing renderer project, main project,
|
|
7
|
-
local server, port, or IPC layer.
|
|
4
|
+
write one ordinary Web-shaped VelarScript source graph; there is no public
|
|
5
|
+
renderer/main split, local server, port, Electron main process, or IPC API.
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
by the framework. That separation is an implementation and security boundary,
|
|
13
|
-
not a second application programming model.
|
|
7
|
+
Desktop composes `@velarscript/web` with a least-privilege Node capability
|
|
8
|
+
worker and a thin system-WebView shell. It owns only the application host and
|
|
9
|
+
permission-scoped implementations of existing language capabilities:
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
the
|
|
11
|
+
- `velar/desktop`: platform, packaging state, application directories, and the
|
|
12
|
+
native project-directory picker.
|
|
13
|
+
- `velar/fs`, `velar/path`, `velar/process`, `velar/http`, and `velar/env`: the
|
|
14
|
+
same checked contracts as Node, restricted by the Desktop manifest.
|
|
15
|
+
- `velar/desktop-test`: deterministic platform selection and bounded fixture
|
|
16
|
+
filesystem helpers for official browser tests.
|
|
17
|
+
|
|
18
|
+
Language servers, project transactions, product task runners, terminals,
|
|
19
|
+
editors, and other Workbench features are not Desktop language capabilities.
|
|
20
|
+
Products or independently versioned integrations own those features and may
|
|
21
|
+
compose the public filesystem/process/network contracts where appropriate.
|
|
26
22
|
|
|
27
23
|
```json
|
|
28
24
|
{
|
|
@@ -37,211 +33,57 @@ the previous test.
|
|
|
37
33
|
"permissions": {
|
|
38
34
|
"files": ["project"],
|
|
39
35
|
"processes": ["git"],
|
|
40
|
-
"
|
|
41
|
-
"
|
|
36
|
+
"network": ["https://api.example.com"],
|
|
37
|
+
"environment": [],
|
|
38
|
+
"secrets": []
|
|
42
39
|
}
|
|
43
40
|
}
|
|
44
41
|
}
|
|
45
42
|
```
|
|
46
43
|
|
|
47
|
-
The
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
project setting rather than replacing this package default implicitly.
|
|
53
|
-
The host resolves an explicit absolute `VELAR_DESKTOP_NODE`, absolute entries from
|
|
54
|
-
the launch environment's `PATH`, and trusted system package-manager locations
|
|
55
|
-
without a shell, then verifies the runtime version. Build-machine executable
|
|
56
|
-
paths and versions are not embedded in the application.
|
|
57
|
-
A future standalone profile must report its runtime bytes separately instead
|
|
58
|
-
of hiding them from the application size budget.
|
|
59
|
-
`velar package` asks the CLI package host to build the exact official language
|
|
60
|
-
server, the bounded project-task launcher, the platform build engine, and the
|
|
61
|
-
native PTY helper. They
|
|
62
|
-
are stored under `Contents/Resources/host` and counted separately as language,
|
|
63
|
-
task, build-engine, terminal-host, and capability-Worker bytes. The generated tools contain the official
|
|
64
|
-
Core/Web/Desktop compiler extensions and source-backed standard assets, so the
|
|
65
|
-
installed application neither searches `PATH` for `velar`, resolves project npm
|
|
66
|
-
packages, nor depends on the build workspace. The default Desktop size budget
|
|
67
|
-
is currently 32 MiB. It is an accounting threshold rather than an architecture
|
|
68
|
-
ceiling: a project may set `desktop.build.sizeBudgetBytes` to a larger measured
|
|
69
|
-
value when the bundle composition explains the growth. The package command
|
|
70
|
-
still reports every component and the application tree hash; size pressure must
|
|
71
|
-
not split a privileged owner across the renderer boundary.
|
|
44
|
+
The permission manifest is the authority. File access is limited to the
|
|
45
|
+
`app-data` and `project` scopes. Process grants are exact executable names and
|
|
46
|
+
do not imply shell parsing or an operating-system sandbox. Network grants are
|
|
47
|
+
exact HTTPS origins (or loopback HTTP origins). Readable environment values
|
|
48
|
+
and opaque HTTP secrets are separate allowlists.
|
|
72
49
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Desktop. Only one pull may be pending, at most four servers may be live, and
|
|
80
|
-
document-generation retirement, project-grant replacement, Worker failure, or
|
|
81
|
-
host shutdown reaps the corresponding process group. This exact official tool
|
|
82
|
-
does not require a general process permission and cannot launch an arbitrary
|
|
83
|
-
command.
|
|
84
|
-
Applications with the `project` file grant may also call
|
|
85
|
-
`projectChanges() -> Promise<ProjectChanges>`. Desktop binds the returned owner
|
|
86
|
-
to the same durable `@velaros-ai/project` kernel that prepares and validates
|
|
87
|
-
transactions. The public surface is intentionally finite: `list(limit)`,
|
|
88
|
-
`get(transactionId)`, pull-based `subscribe()`, `apply(transactionId)`,
|
|
89
|
-
`rollback(transactionId)`, and idempotent `close()`. It exposes reviewable
|
|
90
|
-
intent, patch, diff, risk, revision, lifecycle, and timestamp projections, but
|
|
91
|
-
never the project root, persistence paths, policies, providers, old/new full
|
|
92
|
-
file contents, arbitrary metadata, or a caller-selected file operation.
|
|
93
|
-
Transactions and their latest projections are committed under the app-data
|
|
94
|
-
root before project mutation; a restarted Worker restores an interrupted
|
|
95
|
-
apply/rollback to its prior durable state and fails closed if an external edit
|
|
96
|
-
conflicts with that recovery. The JSONL change feed is fsynced before
|
|
97
|
-
subscribers observe a row. Subscriptions coalesce the latest record per
|
|
98
|
-
transaction and request a full `list()` rescan on bounded queue overflow.
|
|
99
|
-
Changing the project grant retires existing handles; an already-running
|
|
100
|
-
apply/rollback finishes against the original durable owner before that owner is
|
|
101
|
-
closed. The complete owner is bundled into the existing Node capability Worker
|
|
102
|
-
and adds about 4.39 MiB; there is still no Electron-style user main process,
|
|
103
|
-
second source graph, local server, port, or renderer-accessible IPC design.
|
|
50
|
+
`selectProjectDirectory()` opens the native directory chooser. A successful
|
|
51
|
+
selection atomically replaces the project grant used by subsequent relative
|
|
52
|
+
filesystem, path, and default process-working-directory operations;
|
|
53
|
+
`selectedProjectDirectory()` returns only an explicitly selected or restored
|
|
54
|
+
grant. The current effective root remains available through
|
|
55
|
+
`projectDirectory()`.
|
|
104
56
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
binaries remain an explicit external Playwright cache and a missing engine
|
|
113
|
-
fails the task instead of silently reducing coverage.
|
|
114
|
-
The returned `ProjectTask` exposes its package-owned PID plus pull-based
|
|
115
|
-
`next()`, terminal `wait()`, and bounded `stop()` operations. Desktop fixes the
|
|
116
|
-
working directory to the current canonical project grant, injects only its
|
|
117
|
-
counted build-engine path, and for `package` only, the Worker-validated current
|
|
118
|
-
application Resources template. The package host rebuilds the target renderer
|
|
119
|
-
and copies the same versioned official tools and native system-WebView assets;
|
|
120
|
-
it does not resolve project `node_modules`, a source checkout, or `PATH`.
|
|
121
|
-
Desktop exposes no executable, shell, working-directory, environment,
|
|
122
|
-
package-manager, or caller-controlled browser-test option. Output is incrementally
|
|
123
|
-
decoded and tagged by `ProjectTaskOutputChannel`, only one pull may be active,
|
|
124
|
-
at most four tasks may live, output and timeout are bounded, and callers must
|
|
125
|
-
consume output before waiting. Explicit stop, timeout, document retirement,
|
|
126
|
-
project replacement, Worker failure, and host shutdown reuse the same
|
|
127
|
-
process-group termination and confirmed-reaping owner as `velar/process`.
|
|
128
|
-
Applications with the `project` file grant and an explicit
|
|
129
|
-
`desktop.permissions.terminal: true` grant may call
|
|
130
|
-
`openTerminal({columns, rows}) -> Promise<TerminalSession>`. Desktop fixes the
|
|
131
|
-
working directory to the current canonical project, launches only the user's
|
|
132
|
-
trusted login shell, and exposes no executable, shell path, cwd, environment,
|
|
133
|
-
or command-string option. The returned owner publishes the shell PID and
|
|
134
|
-
bounded `write(text)`, `resize(columns, rows)`, pull-based `next()`, terminal
|
|
135
|
-
`wait()`, and idempotent `close()` operations. Input chunks are capped at 1 MiB,
|
|
136
|
-
the decoded output queue applies PTY backpressure at 2 MiB and fails closed
|
|
137
|
-
above 4 MiB, one pull may be active, and at most four sessions may live. The
|
|
138
|
-
output stream must be consumed through its final `null` before `wait()`; an
|
|
139
|
-
explicit `close()` discards that requirement while still confirming cleanup. The
|
|
140
|
-
package-owned native helper and the shell occupy separate process groups;
|
|
141
|
-
Desktop publishes both to its native crash owner before returning the session.
|
|
142
|
-
Explicit close, document retirement, project replacement, Worker failure, and
|
|
143
|
-
host shutdown terminate and confirm reaping of both groups. Terminal output is
|
|
144
|
-
the PTY's UTF-8 text, including control sequences emitted by interactive
|
|
145
|
-
programs; presentation and session/tab orchestration remain application UX.
|
|
146
|
-
Applications with the `project` file grant may call
|
|
147
|
-
`selectProjectDirectory()` to open the native directory chooser. A successful
|
|
148
|
-
choice atomically replaces the single project grant for subsequent relative
|
|
149
|
-
`velar/fs`, `velar/path`, and default process-working-directory operations;
|
|
150
|
-
cancel returns `null`. `selectedProjectDirectory()` reports only a user-picked
|
|
151
|
-
or restored grant, while `projectDirectory()` continues to report the current
|
|
152
|
-
effective root, including the private app-data fallback before any selection.
|
|
153
|
-
The macOS host persists the user's explicit choice as a bounded bookmark and
|
|
154
|
-
restores it before renderer startup. Project selection has no arbitrary timeout
|
|
155
|
-
while the native chooser is open. Replacing the grant cancels unpublished
|
|
156
|
-
capability work and releases project-owned processes; filesystem effects that
|
|
157
|
-
already reached the operating system may still settle, with their retired
|
|
158
|
-
results discarded. The capability Worker revalidates the replacement directory
|
|
159
|
-
and keeps the independent `app-data` grant unchanged. This is one dynamic
|
|
160
|
-
single-project authority, not a renderer-owned allowlist and not a second file
|
|
161
|
-
API.
|
|
162
|
-
`velar/fs.createText` preserves Node's exclusive no-clobber contract inside the
|
|
163
|
-
capability Worker; authorization and creation remain one bounded native effect
|
|
164
|
-
rather than a renderer-side check followed by an overwriting write.
|
|
165
|
-
`replaceTextIfMatches` carries the same optimistic edit contract: file
|
|
166
|
-
mutations for one canonical target are coordinated inside the capability
|
|
167
|
-
Worker and a matching replacement commits by same-directory rename. External
|
|
168
|
-
processes outside the bridge are not silently described as participants in
|
|
169
|
-
that lock.
|
|
170
|
-
`watchFiles` also preserves Node's public pull contract and bounds: one active
|
|
171
|
-
`next()`, at most 128 live watchers, a 4,096-path/2 MiB coalescing queue, and
|
|
172
|
-
`rescan=true` when a native event cannot identify a safe path. Watcher handles
|
|
173
|
-
belong to the current document generation and granted roots. Explicit
|
|
174
|
-
`close()`, owner retirement, input shutdown, fatal drain, and a successful
|
|
175
|
-
project-root replacement all close them; a pending pull cannot publish an
|
|
176
|
-
event from the old project after authority changes.
|
|
177
|
-
Desktop preserves the shared HTTP failure model across its native bridge:
|
|
178
|
-
non-2xx, cancellation/timeout, and request/response transport failures remain
|
|
179
|
-
distinct typed errors instead of collapsing Worker failures into one string.
|
|
180
|
-
`process.start` is async on Node and Desktop. Process-only applications may
|
|
181
|
-
omit file grants and use the launch directory as the default working directory;
|
|
182
|
-
an explicit working directory must be inside a granted file root. Exact
|
|
183
|
-
executable grants prevent shell parsing but do not claim to OS-sandbox the
|
|
184
|
-
native program's own effects—product approval and tool policy remain outside
|
|
185
|
-
the language package. Process stdout/stderr crosses the worker bridge as
|
|
186
|
-
enum-tagged pull chunks consumed by `async for`; incremental UTF-8 decoding,
|
|
187
|
-
single-reader ownership, output bounds, and the consume-before-`wait` lifecycle
|
|
188
|
-
match the Node target. The renderer reuses Node's internal process host ABI for
|
|
189
|
-
value validation, Map snapshots, Promise operations, and result assembly, and
|
|
190
|
-
composes the compiler-owned UTF-8 budget runtime. Desktop does not maintain a
|
|
191
|
-
second semantic implementation and adds only its capability bridge and isolated
|
|
192
|
-
worker. HTTP response bodies cross the
|
|
193
|
-
bridge as bounded pull-based chunks, so timeout and cancellation remain active
|
|
194
|
-
through body consumption. Redirects continue only while every exact origin is
|
|
195
|
-
granted. `desktop.permissions.secrets` is disjoint from readable environment
|
|
196
|
-
permissions; `velar/http.secretHeader` lets the worker inject those values
|
|
197
|
-
without exposing them to the renderer, and cross-origin redirects strip every
|
|
198
|
-
secret-derived header. Large filesystem, process-input, and HTTP-request values use a bounded
|
|
199
|
-
bidirectional chunk transport instead of inheriting WebView message-size
|
|
200
|
-
accidents.
|
|
57
|
+
Each loaded document owns one private bridge generation. The renderer captures
|
|
58
|
+
the bridge and host operations at module initialization. Native code translates
|
|
59
|
+
page-local request IDs to host-global IDs, retires old generations on
|
|
60
|
+
navigation, bounds pending request and response memory, and reaps owned process
|
|
61
|
+
groups on retirement or failure. Filesystem work already issued to the
|
|
62
|
+
operating system may settle, but a retired response cannot reach a replacement
|
|
63
|
+
document.
|
|
201
64
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
requires the private generation as well, so application JavaScript cannot
|
|
209
|
-
resolve a pending bridge request by invoking the transport hook with only a
|
|
210
|
-
guessed numeric ID. Filesystem work that has already reached the OS may finish;
|
|
211
|
-
its retired response is never routed into the replacement document.
|
|
212
|
-
Pending serialized requests and assembled response chunks each share a 128 MiB
|
|
213
|
-
aggregate bridge budget, so the 1,024-request count cannot multiply every
|
|
214
|
-
per-request limit into unbounded transport memory. A finite bridge timeout
|
|
215
|
-
sends a private generation-qualified cancellation before rejecting. Native
|
|
216
|
-
code discards the later response without treating it as an unknown protocol
|
|
217
|
-
message, and the Worker aborts an active HTTP request or stops a process that
|
|
218
|
-
has not safely transferred its public handle. Filesystem effects remain
|
|
219
|
-
non-cancellable and retain their bounded request reservation until they settle.
|
|
65
|
+
The capability worker preserves the public Node contracts: exclusive
|
|
66
|
+
`createText`, optimistic `replaceTextIfMatches`, bounded pull-based file
|
|
67
|
+
watching, incremental process output with consume-before-wait ownership, and
|
|
68
|
+
streamed HTTP bodies with distinct status, abort, and transport failures.
|
|
69
|
+
Large request and response values use the bounded chunk transport rather than
|
|
70
|
+
depending on WebView message limits.
|
|
220
71
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
Desktop path composition rejects sparse/accessor-backed Lists and checks the
|
|
227
|
-
combined result, not just each input. Native home, app-data, and project paths
|
|
228
|
-
must remain absolute and bounded. Readable environment values are snapshotted
|
|
229
|
-
from data descriptors under the same 64-variable, 64 KiB item, and 1 MiB total
|
|
230
|
-
budgets enforced by the native host.
|
|
72
|
+
The macOS package uses WKWebView and keeps Node external (Node.js 24 or newer).
|
|
73
|
+
`velar package` contains only the native host, the capability worker, renderer,
|
|
74
|
+
icon, and metadata. The manifest reports each component and the complete tree
|
|
75
|
+
hash under one size budget; it does not bundle the CLI, compiler, browser
|
|
76
|
+
automation, language server, build engine, project kernel, or PTY helper.
|
|
231
77
|
|
|
232
78
|
```sh
|
|
233
|
-
velar
|
|
79
|
+
velar check .
|
|
80
|
+
velar test .
|
|
234
81
|
velar test . --browser=all
|
|
82
|
+
velar build .
|
|
83
|
+
velar package .
|
|
235
84
|
```
|
|
236
85
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
filesystem, process, network, and durable transaction enforcement. Test
|
|
242
|
-
modules may import the restricted `velar/desktop-test` helpers to inspect
|
|
243
|
-
app-data/project text, create a bounded test directory, and call
|
|
244
|
-
`seedProjectChange(transactionId, lifecycle, diff)` through the page's actual
|
|
245
|
-
capability bridge;
|
|
246
|
-
ordinary `velar/fs` remains application-side and is not faked in the test
|
|
247
|
-
controller process.
|
|
86
|
+
Browser tests may use `velar/desktop-test` to select the simulated platform and
|
|
87
|
+
prepare bounded app-data/project files through the actual page bridge. Native
|
|
88
|
+
filesystem, process, network, ownership, and crash-reaping behavior has a
|
|
89
|
+
separate worker integration suite.
|
package/dist/build.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VelarDesktopConfig } from "./config.ts";
|
|
2
2
|
export interface DesktopBuildManifest {
|
|
3
|
-
readonly formatVersion:
|
|
3
|
+
readonly formatVersion: 3;
|
|
4
4
|
readonly kind: "velar-desktop-build";
|
|
5
5
|
readonly productName: string;
|
|
6
6
|
readonly identifier: string;
|
|
@@ -20,11 +20,6 @@ export interface DesktopBuildManifest {
|
|
|
20
20
|
readonly hostBytes: number;
|
|
21
21
|
readonly rendererBytes: number;
|
|
22
22
|
readonly capabilityHostBytes: number;
|
|
23
|
-
readonly languageServerBytes: number;
|
|
24
|
-
readonly projectTaskBytes: number;
|
|
25
|
-
readonly buildEngineBytes: number;
|
|
26
|
-
readonly terminalHostBytes: number;
|
|
27
|
-
readonly toolchainBytes: number;
|
|
28
23
|
readonly metadataBytes: number;
|
|
29
24
|
readonly totalBytes: number;
|
|
30
25
|
};
|
|
@@ -40,14 +35,11 @@ export type DesktopBuildSizes = DesktopBuildManifest["sizes"];
|
|
|
40
35
|
/**
|
|
41
36
|
* MIG-3: a budget failure that reports only the total forces upstream
|
|
42
37
|
* archaeology before anyone can judge whether raising the budget is safe. The
|
|
43
|
-
* composition — every component, its share, and the mandatory
|
|
44
|
-
*
|
|
38
|
+
* composition — every component, its share, and the mandatory capability
|
|
39
|
+
* infrastructure floor no project can shrink — makes that judgment possible in one
|
|
45
40
|
* pass, so this is the one message the failure prints.
|
|
46
41
|
*/
|
|
47
42
|
export declare function desktopSizeBudgetFailure(sizes: DesktopBuildSizes, sizeBudgetBytes: number): string | null;
|
|
48
43
|
export declare function formatDesktopBytes(value: number): string;
|
|
49
|
-
export declare function buildDesktopApplication(projectRoot: string, config: VelarDesktopConfig, buildRenderer: (outputDirectory: string) => Promise<void
|
|
50
|
-
readonly id: string;
|
|
51
|
-
readonly outputFile: string;
|
|
52
|
-
}) => Promise<void>): Promise<DesktopBuildResult>;
|
|
44
|
+
export declare function buildDesktopApplication(projectRoot: string, config: VelarDesktopConfig, buildRenderer: (outputDirectory: string) => Promise<void>): Promise<DesktopBuildResult>;
|
|
53
45
|
//# sourceMappingURL=build.d.ts.map
|
package/dist/build.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,CAAC,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;QAC/B,QA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,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE;QACd,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;QAC/B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;QACrC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;QAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;CACzC;AAED,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;AA4D9D;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAoBzG;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIxD;AAED,wBAAsB,uBAAuB,CAC3C,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,kBAAkB,EAC1B,aAAa,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GACxD,OAAO,CAAC,kBAAkB,CAAC,CA0F7B"}
|
package/dist/build.js
CHANGED
|
@@ -5,11 +5,11 @@ import { basename, dirname, isAbsolute, join, relative, resolve } from "node:pat
|
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
const desktopPackageTemplateEnvironment = "VELAR_DESKTOP_PACKAGE_TEMPLATE_ROOT";
|
|
7
7
|
/**
|
|
8
|
-
* A packaged Desktop
|
|
8
|
+
* A packaged Desktop build has no TypeScript checkout or Swift sources. The
|
|
9
9
|
* native host already running it is the exact signed-architecture template it
|
|
10
|
-
* may reuse; renderer
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* may reuse; the renderer is still rebuilt from the checked target project.
|
|
11
|
+
* The Worker supplies this path from its validated bundle config, never from
|
|
12
|
+
* renderer input.
|
|
13
13
|
*/
|
|
14
14
|
async function desktopNativeTemplate() {
|
|
15
15
|
const value = process.env[desktopPackageTemplateEnvironment];
|
|
@@ -23,7 +23,6 @@ async function desktopNativeTemplate() {
|
|
|
23
23
|
const template = {
|
|
24
24
|
host: join(contents, "MacOS", "VelarDesktopHost"),
|
|
25
25
|
worker: join(resources, "host", "worker.js"),
|
|
26
|
-
terminalHost: join(resources, "host", "terminal-host"),
|
|
27
26
|
icon: join(resources, "VelarScript.icns"),
|
|
28
27
|
};
|
|
29
28
|
for (const candidate of Object.values(template)) {
|
|
@@ -38,10 +37,6 @@ function bundledCapabilityWorker() {
|
|
|
38
37
|
}
|
|
39
38
|
function desktopSizeComponents(sizes) {
|
|
40
39
|
return [
|
|
41
|
-
{ label: "build engine (velar-build-engine)", bytes: sizes.buildEngineBytes, mandatory: true },
|
|
42
|
-
{ label: "language server (velar-language-server)", bytes: sizes.languageServerBytes, mandatory: true },
|
|
43
|
-
{ label: "project task host (velar-project-task)", bytes: sizes.projectTaskBytes, mandatory: true },
|
|
44
|
-
{ label: "terminal host (VelarTerminalHost)", bytes: sizes.terminalHostBytes, mandatory: true },
|
|
45
40
|
{ label: "capability host (worker.js)", bytes: sizes.capabilityHostBytes, mandatory: true },
|
|
46
41
|
{ label: "native host (VelarDesktopHost)", bytes: sizes.hostBytes, mandatory: false },
|
|
47
42
|
{ label: "renderer (application code and assets)", bytes: sizes.rendererBytes, mandatory: false },
|
|
@@ -51,8 +46,8 @@ function desktopSizeComponents(sizes) {
|
|
|
51
46
|
/**
|
|
52
47
|
* MIG-3: a budget failure that reports only the total forces upstream
|
|
53
48
|
* archaeology before anyone can judge whether raising the budget is safe. The
|
|
54
|
-
* composition — every component, its share, and the mandatory
|
|
55
|
-
*
|
|
49
|
+
* composition — every component, its share, and the mandatory capability
|
|
50
|
+
* infrastructure floor no project can shrink — makes that judgment possible in one
|
|
56
51
|
* pass, so this is the one message the failure prints.
|
|
57
52
|
*/
|
|
58
53
|
export function desktopSizeBudgetFailure(sizes, sizeBudgetBytes) {
|
|
@@ -70,8 +65,8 @@ export function desktopSizeBudgetFailure(sizes, sizeBudgetBytes) {
|
|
|
70
65
|
+ `${formatDesktopBytes(sizes.totalBytes - sizeBudgetBytes)} (${sizes.totalBytes - sizeBudgetBytes} bytes)`,
|
|
71
66
|
"Composition:",
|
|
72
67
|
...components.map((component) => ` ${component.bytes.toString().padStart(11)} bytes ${share(component.bytes).padStart(6)} `
|
|
73
|
-
+ `${component.label}${component.mandatory ? " [mandatory
|
|
74
|
-
`Mandatory
|
|
68
|
+
+ `${component.label}${component.mandatory ? " [mandatory capability infrastructure]" : ""}`),
|
|
69
|
+
`Mandatory capability infrastructure: ${formatDesktopBytes(mandatoryBytes)} (${mandatoryBytes} bytes, ${share(mandatoryBytes)} of the bundle) `
|
|
75
70
|
+ "ships in every Desktop application and no project change removes it, so any budget below that floor can never pass",
|
|
76
71
|
`Largest contributor: ${largest ? `${largest.label} at ${formatDesktopBytes(largest.bytes)} (${share(largest.bytes)})` : "none"}`,
|
|
77
72
|
`Raise desktop.build.sizeBudgetBytes to at least ${sizes.totalBytes} to accept this bundle, or remove bytes from the non-mandatory components above`,
|
|
@@ -84,7 +79,7 @@ export function formatDesktopBytes(value) {
|
|
|
84
79
|
return `${(value / 1024).toFixed(1)} KiB`;
|
|
85
80
|
return `${(value / 1024 / 1024).toFixed(2)} MiB`;
|
|
86
81
|
}
|
|
87
|
-
export async function buildDesktopApplication(projectRoot, config, buildRenderer
|
|
82
|
+
export async function buildDesktopApplication(projectRoot, config, buildRenderer) {
|
|
88
83
|
if (process.platform !== "darwin")
|
|
89
84
|
throw new Error("@velarscript/desktop 0.10 currently builds only the macOS system-WebView host");
|
|
90
85
|
projectRoot = resolve(projectRoot);
|
|
@@ -109,22 +104,6 @@ export async function buildDesktopApplication(projectRoot, config, buildRenderer
|
|
|
109
104
|
await mkdir(hostResources);
|
|
110
105
|
const workerPath = join(hostResources, "worker.js");
|
|
111
106
|
await cp(nativeTemplate?.worker ?? bundledCapabilityWorker(), workerPath);
|
|
112
|
-
const languageServerPath = join(hostResources, "language-server.js");
|
|
113
|
-
const projectTaskPath = join(hostResources, "project-task.js");
|
|
114
|
-
const buildEnginePath = join(hostResources, "build-engine");
|
|
115
|
-
const terminalHostPath = join(hostResources, "terminal-host");
|
|
116
|
-
await Promise.all([
|
|
117
|
-
buildTool({ id: "velar-language-server", outputFile: languageServerPath }),
|
|
118
|
-
buildTool({ id: "velar-project-task", outputFile: projectTaskPath }),
|
|
119
|
-
buildTool({ id: "velar-build-engine", outputFile: buildEnginePath }),
|
|
120
|
-
]);
|
|
121
|
-
if (nativeTemplate) {
|
|
122
|
-
await cp(nativeTemplate.terminalHost, terminalHostPath);
|
|
123
|
-
await chmod(terminalHostPath, 0o755);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
await compileMacTerminalHost(terminalHostPath);
|
|
127
|
-
}
|
|
128
107
|
await cp(nativeTemplate?.icon ?? fileURLToPath(new URL("../native/macos/VelarScript.icns", import.meta.url)), join(resources, "VelarScript.icns"));
|
|
129
108
|
const hostPath = join(executableDirectory, "VelarDesktopHost");
|
|
130
109
|
if (nativeTemplate) {
|
|
@@ -143,38 +122,23 @@ export async function buildDesktopApplication(projectRoot, config, buildRenderer
|
|
|
143
122
|
nodeMinimumMajor: 24,
|
|
144
123
|
window: config.window,
|
|
145
124
|
permissions: config.permissions,
|
|
146
|
-
languageServer: { path: "host/language-server.js" },
|
|
147
|
-
projectTask: { path: "host/project-task.js", buildEnginePath: "host/build-engine" },
|
|
148
|
-
terminalHost: { path: "host/terminal-host" },
|
|
149
125
|
}, null, 2)}\n`, "utf8");
|
|
150
126
|
const hostBytes = (await stat(hostPath)).size;
|
|
151
127
|
const rendererBytes = await treeSize(renderer);
|
|
152
128
|
const capabilityHostBytes = (await stat(workerPath)).size;
|
|
153
|
-
const languageServerBytes = (await stat(languageServerPath)).size;
|
|
154
|
-
const projectTaskBytes = (await stat(projectTaskPath)).size
|
|
155
|
-
+ (await stat(join(hostResources, "playwright-core", "package.json"))).size
|
|
156
|
-
+ (await stat(join(hostResources, "playwright-core", "browsers.json"))).size;
|
|
157
|
-
const buildEngineBytes = (await stat(buildEnginePath)).size;
|
|
158
|
-
const terminalHostBytes = (await stat(terminalHostPath)).size;
|
|
159
|
-
const toolchainBytes = languageServerBytes + projectTaskBytes + buildEngineBytes + terminalHostBytes;
|
|
160
129
|
const totalBytes = await treeSize(applicationBundle);
|
|
161
|
-
const metadataBytes = totalBytes - hostBytes - rendererBytes - capabilityHostBytes
|
|
130
|
+
const metadataBytes = totalBytes - hostBytes - rendererBytes - capabilityHostBytes;
|
|
162
131
|
const budgetFailure = desktopSizeBudgetFailure({
|
|
163
132
|
hostBytes,
|
|
164
133
|
rendererBytes,
|
|
165
134
|
capabilityHostBytes,
|
|
166
|
-
languageServerBytes,
|
|
167
|
-
projectTaskBytes,
|
|
168
|
-
buildEngineBytes,
|
|
169
|
-
terminalHostBytes,
|
|
170
|
-
toolchainBytes,
|
|
171
135
|
metadataBytes,
|
|
172
136
|
totalBytes,
|
|
173
137
|
}, config.build.sizeBudgetBytes);
|
|
174
138
|
if (budgetFailure)
|
|
175
139
|
throw new Error(budgetFailure);
|
|
176
140
|
const manifest = Object.freeze({
|
|
177
|
-
formatVersion:
|
|
141
|
+
formatVersion: 3,
|
|
178
142
|
kind: "velar-desktop-build",
|
|
179
143
|
productName: config.productName,
|
|
180
144
|
identifier: config.identifier,
|
|
@@ -189,11 +153,6 @@ export async function buildDesktopApplication(projectRoot, config, buildRenderer
|
|
|
189
153
|
hostBytes,
|
|
190
154
|
rendererBytes,
|
|
191
155
|
capabilityHostBytes,
|
|
192
|
-
languageServerBytes,
|
|
193
|
-
projectTaskBytes,
|
|
194
|
-
buildEngineBytes,
|
|
195
|
-
terminalHostBytes,
|
|
196
|
-
toolchainBytes,
|
|
197
156
|
metadataBytes,
|
|
198
157
|
totalBytes,
|
|
199
158
|
}),
|
|
@@ -222,13 +181,6 @@ async function compileMacHost(output) {
|
|
|
222
181
|
], dirname(output));
|
|
223
182
|
await chmod(output, 0o755);
|
|
224
183
|
}
|
|
225
|
-
async function compileMacTerminalHost(output) {
|
|
226
|
-
const source = fileURLToPath(new URL("../native/macos/VelarTerminalHost.swift", import.meta.url));
|
|
227
|
-
await runProcess("/usr/bin/swiftc", [
|
|
228
|
-
"-Osize", "-whole-module-optimization", "-swift-version", "5", source, "-o", output,
|
|
229
|
-
], dirname(output));
|
|
230
|
-
await chmod(output, 0o755);
|
|
231
|
-
}
|
|
232
184
|
async function runProcess(command, arguments_, cwd) {
|
|
233
185
|
const child = spawn(command, arguments_, { cwd, stdio: ["ignore", "pipe", "pipe"] });
|
|
234
186
|
let stdout = "";
|
package/dist/build.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA6DzC,MAAM,iCAAiC,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AC,CAAC;YACxD,IAAI,KAAK,CAAC,WAAW,EAAE;gBAAE,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;iBACtC,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;gBACxB,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,CAAC;gBAClC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAC3F,CAAC;;gBAAM,MAAM,IAAI,KAAK,CAAC,8CAA8C,IAAI,GAAG,CAAC,CAAC;QAChF,CAAC;IACH,CAAC,CAAC;IACF,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;IAClB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED,SAAS,GAAG,CAAC,KAAa;IACxB,OAAO,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClH,CAAC"}
|
package/dist/compiler.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../src/compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,iBAAiB,EAAuD,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../src/compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,iBAAiB,EAAuD,MAAM,uBAAuB,CAAC;AAstChI,eAAO,MAAM,sBAAsB,EAAE,iBA2CnC,CAAC;AAEH,OAAO,EAAE,qBAAqB,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC"}
|