@stacksjs/defaults 0.75.420 → 0.75.422
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.
|
@@ -304,7 +304,7 @@ export default {
|
|
|
304
304
|
macos: {
|
|
305
305
|
appName: 'Browser',
|
|
306
306
|
bundleId: 'com.example.browser',
|
|
307
|
-
agent: true, // or { port, entry, appRoutes, staticDir }
|
|
307
|
+
agent: true, // or { port, entry, appRoutes, staticDir, resources }
|
|
308
308
|
nativeScreens: ['Main'],
|
|
309
309
|
webkit: true, // link WebKit into the host, for <WebView>
|
|
310
310
|
defaultBrowser: true, // http/https URL types, HTML/XHTML/webarchive/PDF document types
|
|
@@ -327,6 +327,11 @@ export default {
|
|
|
327
327
|
beside it as `craft-runtime` and `desktop-agent.json` in Resources. A compiled binary cannot import route files off
|
|
328
328
|
disk (the router refuses), so the build imports the registry's route files, the agent module and every
|
|
329
329
|
`'Actions/...'` they name statically (`provideActions`); what they import travels inside the app.
|
|
330
|
+
- A compiled agent has no `node_modules`, so a package that reads data files beside its own modules (rule lists, a
|
|
331
|
+
word list) finds nothing. Name them in `agent.resources`, `{ lists: 'node_modules/some-lib/data' }`: the build copies
|
|
332
|
+
each into `Contents/Resources/<name>`, and a route finds it with `desktopResource('lists')` from
|
|
333
|
+
`@stacksjs/desktop-build`, which under `buddy dev:desktop` is the path in the project. A route can pass that to the
|
|
334
|
+
package (`{ dir: desktopResource('lists') }`). Names are plain file names, not `web` or the files the build writes.
|
|
330
335
|
- The launcher (`src/agent-launcher.ts`) holds a single-instance lock (`agent.pid`), logs to
|
|
331
336
|
`~/Library/Logs/<App>.log` when launched without a terminal, and quits with the window.
|
|
332
337
|
- Entitlements: the Bun executable gets `allow-jit`, `allow-unsigned-executable-memory` and
|
|
@@ -88,7 +88,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
88
88
|
| `@stacksjs/socials` | [`stacks-socials`](../stacks-socials/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/socials/src/index.ts) | 17 |
|
|
89
89
|
| `@stacksjs/storage` | [`stacks-storage`](../stacks-storage/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/index.ts) | 47 |
|
|
90
90
|
| `@stacksjs/strings` | [`stacks-strings`](../stacks-strings/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/strings/src/index.ts) | 7 |
|
|
91
|
-
| `@stacksjs/testing` | [`stacks-testing`](../stacks-testing/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/index.ts) |
|
|
91
|
+
| `@stacksjs/testing` | [`stacks-testing`](../stacks-testing/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/index.ts) | 22 |
|
|
92
92
|
| `@stacksjs/tinker` | [`stacks-repl`](../stacks-repl/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/tinker/src/index.ts) | 1 |
|
|
93
93
|
| `@stacksjs/tunnel` | [`stacks-tunnel`](../stacks-tunnel/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/tunnel/src/index.ts) | 1 |
|
|
94
94
|
| `@stacksjs/types` | [`stacks-types`](../stacks-types/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/types/src/index.ts) | 2 |
|
|
@@ -853,7 +853,7 @@ Read the entrypoint and package export map for re-exported or type-only surfaces
|
|
|
853
853
|
|
|
854
854
|
Local source modules: [src/console.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/console.ts), [src/disposable-database.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/disposable-database.ts), [src/events.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/events.ts), [src/feature.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/feature.ts), [src/isolated.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/isolated.ts), [src/mail.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/mail.ts), [src/schema.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/schema.ts), [src/service.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/service.ts), [src/time.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/src/time.ts).
|
|
855
855
|
|
|
856
|
-
Evidence directory: [
|
|
856
|
+
Evidence directory: [22 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/testing/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
857
857
|
|
|
858
858
|
### @stacksjs/tinker
|
|
859
859
|
|
|
@@ -278,7 +278,11 @@ expect(pageAuditClean(report)).toBe(true) // no duplicate /api/ requests, failed
|
|
|
278
278
|
pattern holds with no listener stays held (a hanging request on purpose).
|
|
279
279
|
`matchesUrlPattern(pattern, url)` and `pausedRequestMatches(pattern, paused)` are Chrome's
|
|
280
280
|
matching rules (`*`, `?`, `\` escape; stage and resource type).
|
|
281
|
-
- `settle(cdp, { quietMs, timeoutMs })` resolves false (not throws) when a page never goes quiet.
|
|
281
|
+
- `settle(cdp, { quietMs, timeoutMs, includeSpeculative? })` resolves false (not throws) when a page never goes quiet.
|
|
282
|
+
By default all finite requests count. `includeSpeculative: false` uses `cdp.foregroundInFlight`,
|
|
283
|
+
excluding only Chrome `Prefetch` requests and explicit `Purpose` / `Sec-Purpose: prefetch`
|
|
284
|
+
declarations. The raw `inFlight` map and all HTTP, duplicate API, console and runtime audit
|
|
285
|
+
failures remain observable. `navigate` and `auditPage` accept the same option.
|
|
282
286
|
- `click(cdp, selector | { selector, text }, { timeoutMs? })` scrolls the unique target into view,
|
|
283
287
|
waits for layout, enabled state and an unobscured hit test, then uses Chrome's real mouse input.
|
|
284
288
|
Use it for journey controls instead of local coordinate-click helpers or DOM-dispatched clicks.
|
package/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.422",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.422",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@iconify-json/f7": "^1.2.2",
|
|
47
47
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
48
|
-
"@stacksjs/mobile": "0.75.
|
|
49
|
-
"@stacksjs/sanitizer": "0.2.
|
|
50
|
-
"@stacksjs/stx": "0.2.
|
|
48
|
+
"@stacksjs/mobile": "0.75.422",
|
|
49
|
+
"@stacksjs/sanitizer": "0.2.784",
|
|
50
|
+
"@stacksjs/stx": "0.2.784",
|
|
51
51
|
"@xterm/addon-fit": "^0.11.0",
|
|
52
52
|
"@xterm/xterm": "^6.0.0",
|
|
53
53
|
"ts-qr-codes": "^0.1.8"
|