@jini-ai/desktop-host 0.7.3-next.1 → 0.7.3-next.3
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/CHANGELOG.md +6 -0
- package/README.md +217 -1
- package/dist/electron/electron-shell.js +5 -7
- package/dist/electron/handoff/index.d.ts +54 -0
- package/dist/electron/handoff/index.js +32 -0
- package/dist/electron/memory-sampler.d.ts +28 -0
- package/dist/electron/memory-sampler.js +41 -0
- package/dist/electron/partitions/cache-maintenance.d.ts +280 -0
- package/dist/electron/partitions/cache-maintenance.js +239 -0
- package/dist/electron/partitions/claim-sources.d.ts +54 -0
- package/dist/electron/partitions/claim-sources.js +36 -0
- package/dist/electron/partitions/holder-registry.d.ts +116 -0
- package/dist/electron/partitions/holder-registry.js +130 -0
- package/dist/electron/partitions/index.d.ts +10 -0
- package/dist/electron/partitions/index.js +10 -0
- package/dist/electron/partitions/maintenance-marker.d.ts +61 -0
- package/dist/electron/partitions/maintenance-marker.js +85 -0
- package/dist/electron/partitions/partition-inventory.d.ts +23 -0
- package/dist/electron/partitions/partition-inventory.js +19 -0
- package/dist/electron/partitions/partition-pass.d.ts +114 -0
- package/dist/electron/partitions/partition-pass.js +414 -0
- package/dist/electron/partitions/partition-root.d.ts +42 -0
- package/dist/electron/partitions/partition-root.js +52 -0
- package/dist/electron/partitions/profile-interlock.d.ts +141 -0
- package/dist/electron/partitions/profile-interlock.js +273 -0
- package/dist/electron/partitions/retirement-ledger.d.ts +116 -0
- package/dist/electron/partitions/retirement-ledger.js +149 -0
- package/dist/electron/preferences/index.d.ts +5 -0
- package/dist/electron/preferences/index.js +5 -0
- package/dist/electron/preferences/ipc.d.ts +35 -0
- package/dist/electron/preferences/ipc.js +21 -0
- package/dist/electron/preferences/menu.d.ts +103 -0
- package/dist/electron/preferences/menu.js +67 -0
- package/dist/electron/preferences/preference-file.d.ts +63 -0
- package/dist/electron/preferences/preference-file.js +51 -0
- package/dist/electron/preferences/values.d.ts +25 -0
- package/dist/electron/preferences/values.js +18 -0
- package/dist/electron/preload/index.d.ts +3 -0
- package/dist/electron/preload/index.js +2 -0
- package/dist/electron/preload/ipc-subscribe.d.ts +34 -0
- package/dist/electron/preload/ipc-subscribe.js +18 -0
- package/dist/electron/selftest/index.d.ts +3 -0
- package/dist/electron/selftest/index.js +3 -0
- package/dist/electron/selftest/selftest-tracker.d.ts +82 -0
- package/dist/electron/selftest/selftest-tracker.js +67 -0
- package/dist/electron/session-bootstrap/exchange.d.ts +50 -0
- package/dist/electron/session-bootstrap/exchange.js +41 -0
- package/dist/electron/session-bootstrap/header-arming.d.ts +18 -0
- package/dist/electron/session-bootstrap/header-arming.js +13 -0
- package/dist/electron/session-bootstrap/index.d.ts +11 -0
- package/dist/electron/session-bootstrap/index.js +10 -0
- package/dist/electron/session-bootstrap/partition.d.ts +17 -0
- package/dist/electron/session-bootstrap/partition.js +24 -0
- package/dist/electron/session-bootstrap/probe.d.ts +40 -0
- package/dist/electron/session-bootstrap/probe.js +29 -0
- package/dist/electron/session-bootstrap/types.d.ts +62 -0
- package/dist/electron/session-bootstrap/types.js +7 -0
- package/dist/electron/updates/desktop-updater.d.ts +90 -0
- package/dist/electron/updates/desktop-updater.js +124 -0
- package/dist/electron/updates/index.d.ts +4 -0
- package/dist/electron/updates/index.js +4 -0
- package/dist/electron/updates/instance-presence-strict.d.ts +27 -0
- package/dist/electron/updates/instance-presence-strict.js +46 -0
- package/dist/electron/updates/native-notices.d.ts +89 -0
- package/dist/electron/updates/native-notices.js +41 -0
- package/dist/electron/updates/update-check-now.d.ts +117 -0
- package/dist/electron/updates/update-check-now.js +88 -0
- package/dist/electron/usability/find-in-page-ipc.d.ts +3 -6
- package/dist/electron/usability/window-bounds-store.js +14 -12
- package/dist/electron/usability/zoom-menu.d.ts +1 -1
- package/dist/electron/webview/index.d.ts +2 -0
- package/dist/electron/webview/index.js +2 -0
- package/dist/electron/webview/webview-types.d.ts +66 -0
- package/dist/electron/webview/webview-types.js +12 -0
- package/dist/electron/windows/app-window.d.ts +83 -0
- package/dist/electron/windows/app-window.js +62 -0
- package/dist/electron/windows/dock-icon.d.ts +34 -0
- package/dist/electron/windows/dock-icon.js +32 -0
- package/dist/electron/windows/index.d.ts +3 -0
- package/dist/electron/windows/index.js +3 -0
- package/dist/logging.js +3 -1
- package/dist/node-toolchain/boot-setup.d.ts +63 -0
- package/dist/node-toolchain/boot-setup.js +59 -0
- package/dist/node-toolchain/index.d.ts +2 -0
- package/dist/node-toolchain/index.js +1 -0
- package/dist/shell/auto-update-controller.d.ts +34 -0
- package/dist/shell/auto-update-controller.js +27 -0
- package/dist/shell/copied-site-databases.d.ts +71 -0
- package/dist/shell/copied-site-databases.js +60 -0
- package/dist/shell/find-in-page-verify.d.ts +33 -0
- package/dist/shell/find-in-page-verify.js +30 -0
- package/dist/shell/find-menu.d.ts +33 -0
- package/dist/shell/find-menu.js +36 -0
- package/dist/shell/guest-navigation.d.ts +47 -0
- package/dist/shell/guest-navigation.js +58 -0
- package/dist/shell/instance-presence.d.ts +20 -0
- package/dist/shell/instance-presence.js +26 -0
- package/dist/shell/js-backslide-guard.d.ts +42 -0
- package/dist/shell/js-backslide-guard.js +44 -0
- package/dist/shell/node-toolchain.d.ts +34 -0
- package/dist/shell/node-toolchain.js +50 -0
- package/dist/shell/pty-helpers.d.ts +25 -0
- package/dist/shell/pty-helpers.js +50 -0
- package/dist/shell/site-presence.d.ts +32 -0
- package/dist/shell/site-presence.js +42 -0
- package/dist/shell/speech/mac-on-device-transcriber.d.ts +24 -0
- package/dist/shell/speech/mac-on-device-transcriber.js +81 -0
- package/dist/shell/speech/speech-ipc.d.ts +52 -0
- package/dist/shell/speech/speech-ipc.js +40 -0
- package/dist/shell/spellcheck-menu.d.ts +84 -0
- package/dist/shell/spellcheck-menu.js +63 -0
- package/dist/shell/supervised-site-url.d.ts +20 -0
- package/dist/shell/supervised-site-url.js +22 -0
- package/dist/speech/macos/mac-on-device-transcriber.d.ts +2 -1
- package/dist/speech/speech-bridge.d.ts +1 -8
- package/dist/speech/transcription-port.d.ts +1 -9
- package/dist/tauri/tauri-shell.js +8 -10
- package/package.json +154 -7
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file The right-click spelling-suggestions menu — Electron shows NO native context menu of its
|
|
3
|
+
* own on any `webContents` (unlike a real browser tab), so without this, right-clicking a
|
|
4
|
+
* misspelled word in an editing surface does nothing at all.
|
|
5
|
+
*
|
|
6
|
+
* Registered against two different `webContents`, both from `main.ts`'s `openSitesHomeWindow`: the
|
|
7
|
+
* sites home window's own top-level page (its few text fields — site names, search), and every
|
|
8
|
+
* project tab's `<webview>` guest (via `did-attach-webview`, which is where the real prose lives —
|
|
9
|
+
* the embedded site admin's `FormEditor` and page content). `spellcheck` itself needs no separate
|
|
10
|
+
* enable step: Electron's own `webPreferences` default (`spellcheck: true`) already covers both,
|
|
11
|
+
* and nothing in `webview-guest-policy.ts` overrides it. This file only builds the menu Chromium's
|
|
12
|
+
* `context-menu` event hands the ingredients for but never shows on its own.
|
|
13
|
+
*
|
|
14
|
+
* `buildSpellCheckMenuTemplate` is the whole decision, kept separate from
|
|
15
|
+
* {@link registerSpellCheckContextMenu} for the same reason `find-menu.ts`'s `sendFindToggle` is
|
|
16
|
+
* split from `findMenu`: a plain function is what `spellcheck-menu.test.ts` can call directly,
|
|
17
|
+
* without a real Electron `Menu` or `webContents` to drive it.
|
|
18
|
+
*
|
|
19
|
+
* ## Wiring
|
|
20
|
+
* The host supplies the menu wording as `labels` (`SpellCheckLabels`) and Electron's `Menu` as
|
|
21
|
+
* `menuBuilder` on each call's required object; this module authors no copy and imports no Electron.
|
|
22
|
+
*
|
|
23
|
+
* No runtime `electron` import at module scope — the real `Menu` is an explicit injected port,
|
|
24
|
+
* so this stays testable under plain `node --test` the same way
|
|
25
|
+
* `find-in-page-ipc.ts` keeps `BrowserWindow` at arm's length.
|
|
26
|
+
*/
|
|
27
|
+
// Spelling-menu rationale: Jini packages/desktop-host/src/electron/usability/spellcheck-menu.ts.
|
|
28
|
+
import { buildSpellCheckMenuTemplate as buildTemplate, registerSpellCheckContextMenu as registerMenu, } from "../electron/usability/index.js";
|
|
29
|
+
/**
|
|
30
|
+
* Build spelling suggestions followed by enabled edit commands with the host-supplied `labels`. Five matches
|
|
31
|
+
* Chrome's cap: further alternatives add noise. An empty result means no popup, not an empty menu.
|
|
32
|
+
* @complexity O(k) in suggestions, capped at five.
|
|
33
|
+
*/
|
|
34
|
+
export function buildSpellCheckMenuTemplate({ labels, params, handlers }) {
|
|
35
|
+
return buildTemplate({ params, labels, handlers: {
|
|
36
|
+
replace: ({ word }) => handlers.replace({ word }),
|
|
37
|
+
addToDictionary: ({ word }) => handlers.addToDictionary({ word }),
|
|
38
|
+
cut: () => handlers.cut(), copy: () => handlers.copy(),
|
|
39
|
+
paste: () => handlers.paste(), selectAll: () => handlers.selectAll(),
|
|
40
|
+
} }, { maxSuggestions: 5 });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Register spelling for one native session; return a matching listener disposer. Menu is required
|
|
44
|
+
* because main already owns Electron's Menu: a module-level default adds no capability and would
|
|
45
|
+
* load a native runtime in plain Node tests. A click with no spelling/edit actions shows no popup.
|
|
46
|
+
* @complexity O(1) to register; each popup is capped at five suggestions.
|
|
47
|
+
*/
|
|
48
|
+
export function registerSpellCheckContextMenu({ labels, webContents, menuBuilder }) {
|
|
49
|
+
let nativeListener;
|
|
50
|
+
return registerMenu({ labels, menuBuilder: { buildFromTemplate: ({ template }) => menuBuilder.buildFromTemplate(template) }, webContents: {
|
|
51
|
+
on: ({ event, listener }) => {
|
|
52
|
+
nativeListener = (_event, params) => listener({ params });
|
|
53
|
+
webContents.on(event, nativeListener);
|
|
54
|
+
},
|
|
55
|
+
removeListener: ({ event }) => { if (nativeListener)
|
|
56
|
+
webContents.removeListener?.(event, nativeListener); },
|
|
57
|
+
replaceMisspelling: ({ text }) => webContents.replaceMisspelling(text),
|
|
58
|
+
session: { addWordToSpellCheckerDictionary: ({ word }) => webContents.session.addWordToSpellCheckerDictionary(word) },
|
|
59
|
+
cut: () => webContents.cut(), copy: () => webContents.copy(),
|
|
60
|
+
paste: () => webContents.paste(), selectAll: () => webContents.selectAll(),
|
|
61
|
+
} }, { maxSuggestions: 5 });
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=spellcheck-menu.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Whether a url belongs to a site this launch supervises — the origin test behind the host's
|
|
3
|
+
* guest navigation policy and speech sender check, extracted so it is verified without Electron.
|
|
4
|
+
* It is the predicate `guest-navigation.ts`'s `isSupervisedGuestUrl` port expects a host to supply.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* `true` when `raw` parses as a URL whose origin is one of `sites`' own server origins. An
|
|
8
|
+
* unparseable url is never supervised.
|
|
9
|
+
*
|
|
10
|
+
* @complexity O(n) in `sites`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isSupervisedSiteUrl({ raw, sites }: {
|
|
13
|
+
raw: string;
|
|
14
|
+
sites: Iterable<{
|
|
15
|
+
readonly server: {
|
|
16
|
+
readonly origin: string;
|
|
17
|
+
};
|
|
18
|
+
}>;
|
|
19
|
+
}, _optional?: {}): boolean;
|
|
20
|
+
//# sourceMappingURL=supervised-site-url.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Whether a url belongs to a site this launch supervises — the origin test behind the host's
|
|
3
|
+
* guest navigation policy and speech sender check, extracted so it is verified without Electron.
|
|
4
|
+
* It is the predicate `guest-navigation.ts`'s `isSupervisedGuestUrl` port expects a host to supply.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* `true` when `raw` parses as a URL whose origin is one of `sites`' own server origins. An
|
|
8
|
+
* unparseable url is never supervised.
|
|
9
|
+
*
|
|
10
|
+
* @complexity O(n) in `sites`.
|
|
11
|
+
*/
|
|
12
|
+
export function isSupervisedSiteUrl({ raw, sites }, _optional = {}) {
|
|
13
|
+
let url;
|
|
14
|
+
try {
|
|
15
|
+
url = new URL(raw);
|
|
16
|
+
}
|
|
17
|
+
catch {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return [...sites].some((entry) => new URL(entry.server.origin).origin === url.origin);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=supervised-site-url.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { TranscriptionAvailability,
|
|
1
|
+
import type { TranscriptionAvailability, TranscriptionResult } from "@jini-ai/core/contracts/speech-transcription";
|
|
2
|
+
import type { TranscriptionPort } from "../transcription-port.js";
|
|
2
3
|
export interface MacTranscriberMessages {
|
|
3
4
|
compilerMissing: string;
|
|
4
5
|
compilerFailed(args: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpeechBridge } from "@jini-ai/core/contracts/speech-transcription";
|
|
2
2
|
export interface SpeechRendererIpcPort {
|
|
3
3
|
invoke(requiredArgs: {
|
|
4
4
|
channel: string;
|
|
@@ -6,13 +6,6 @@ export interface SpeechRendererIpcPort {
|
|
|
6
6
|
args?: unknown[];
|
|
7
7
|
}): Promise<unknown>;
|
|
8
8
|
}
|
|
9
|
-
export interface SpeechBridge {
|
|
10
|
-
isAvailable(): Promise<TranscriptionAvailability>;
|
|
11
|
-
transcribe(args: {
|
|
12
|
-
samples: Float32Array | readonly number[];
|
|
13
|
-
sampleRate: number;
|
|
14
|
-
}): Promise<TranscriptionResult>;
|
|
15
|
-
}
|
|
16
9
|
/** Build a narrow renderer bridge. Bundle into sandboxed preloads before loading. */
|
|
17
10
|
export declare function createSpeechBridge({ ipcRenderer, channelNamespace }: {
|
|
18
11
|
ipcRenderer: SpeechRendererIpcPort;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
/** The recognizer is swappable without coupling IPC handlers or composer UI to a native backend.
|
|
2
2
|
* Platform selection is injected so capability policy can be checked without native I/O. */
|
|
3
|
-
|
|
4
|
-
export interface TranscriptionResult {
|
|
5
|
-
text: string;
|
|
6
|
-
elapsedMs: number;
|
|
7
|
-
}
|
|
8
|
-
export interface TranscriptionAvailability {
|
|
9
|
-
available: boolean;
|
|
10
|
-
reason?: string | undefined;
|
|
11
|
-
}
|
|
3
|
+
import type { TranscriptionAvailability, TranscriptionResult } from "@jini-ai/core/contracts/speech-transcription";
|
|
12
4
|
export interface TranscriptionPort {
|
|
13
5
|
/** Probe capability without capturing audio or prompting for authorization. */
|
|
14
6
|
isAvailable(): Promise<TranscriptionAvailability>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { orFallback } from '@jini-ai/core/errors/idioms';
|
|
1
2
|
import { NotImplementedError } from './not-implemented.js';
|
|
2
3
|
function notImplemented(method) {
|
|
3
4
|
throw new NotImplementedError({ message: `ShellPort.${method} is not implemented by the Tauri adapter — Tauri has no recent-documents API equivalent to Electron's app.getRecentDocuments() (see shell.ts's module doc)` });
|
|
@@ -9,16 +10,13 @@ export function createTauriShellPort(surfaces) {
|
|
|
9
10
|
async dirExists({ path }) {
|
|
10
11
|
// ShellPort.dirExists documents "never throws" — a permission error, or the path vanishing
|
|
11
12
|
// between exists() and stat(), must resolve false, matching the Electron adapter.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
catch {
|
|
20
|
-
return false;
|
|
21
|
-
}
|
|
13
|
+
return orFallback({ work: async () => {
|
|
14
|
+
const exists = await surfaces.fs.exists({ path });
|
|
15
|
+
if (!exists)
|
|
16
|
+
return false;
|
|
17
|
+
const info = await surfaces.fs.stat({ path });
|
|
18
|
+
return info.isDirectory;
|
|
19
|
+
}, fallback: false, step: 'Check Tauri directory' });
|
|
22
20
|
},
|
|
23
21
|
// Tauri's single-instance-style "there is no JS-callable equivalent" pattern already
|
|
24
22
|
// documented in `tauri-surfaces.ts` applies here too, for a different reason: the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/desktop-host",
|
|
3
|
-
"version": "0.7.3-next.
|
|
3
|
+
"version": "0.7.3-next.3",
|
|
4
4
|
"description": "Shell-agnostic desktop-host ports: single-instance lock, window lifecycle, protocol handling, sidecar launch, paths, and config. Electron and Tauri assemblies live behind ./electron and ./tauri.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -22,16 +22,48 @@
|
|
|
22
22
|
"./shutdown": "node",
|
|
23
23
|
"./electron/navigation-policy": "desktop",
|
|
24
24
|
"./electron/updates": "desktop",
|
|
25
|
+
"./electron/preferences": "desktop",
|
|
25
26
|
"./node-toolchain": "node",
|
|
26
27
|
"./electron/usability": "desktop",
|
|
27
28
|
"./speech": "desktop",
|
|
28
29
|
"./speech/macos": "node",
|
|
29
30
|
"./speech/macos/speech-helper.swift": "node",
|
|
30
|
-
"./bridge": "universal"
|
|
31
|
+
"./bridge": "universal",
|
|
32
|
+
"./shell/find-in-page-verify": "universal",
|
|
33
|
+
"./shell/js-backslide-guard": "universal",
|
|
34
|
+
"./shell/pty-helpers": "node",
|
|
35
|
+
"./shell/instance-presence": "node",
|
|
36
|
+
"./shell/auto-update-controller": "node",
|
|
37
|
+
"./shell/spellcheck-menu": "desktop",
|
|
38
|
+
"./electron/selftest": "desktop",
|
|
39
|
+
"./shell/guest-navigation": "desktop",
|
|
40
|
+
"./shell/site-presence": "universal",
|
|
41
|
+
"./shell/supervised-site-url": "universal",
|
|
42
|
+
"./shell/copied-site-databases": "node",
|
|
43
|
+
"./electron/handoff": "desktop",
|
|
44
|
+
"./electron/preload": "desktop",
|
|
45
|
+
"./electron/webview": "desktop",
|
|
46
|
+
"./electron/session-bootstrap": "desktop",
|
|
47
|
+
"./electron/windows": "desktop",
|
|
48
|
+
"./electron/partitions": "desktop",
|
|
49
|
+
"./shell/find-menu": "desktop",
|
|
50
|
+
"./shell/node-toolchain": "node",
|
|
51
|
+
"./shell/speech/mac-on-device-transcriber": "node",
|
|
52
|
+
"./shell/speech/speech-ipc": "node",
|
|
53
|
+
"./electron/memory-sampler": "desktop"
|
|
31
54
|
},
|
|
32
55
|
"isolation": {
|
|
33
56
|
"entries": {
|
|
34
|
-
"./bridge-testing": "bridge"
|
|
57
|
+
"./bridge-testing": "bridge",
|
|
58
|
+
"./shell/instance-presence": "electron",
|
|
59
|
+
"./shell/auto-update-controller": "electron",
|
|
60
|
+
"./shell/spellcheck-menu": "electron",
|
|
61
|
+
"./shell/guest-navigation": "electron",
|
|
62
|
+
"./shell/find-menu": "electron",
|
|
63
|
+
"./shell/node-toolchain": "node-toolchain",
|
|
64
|
+
"./shell/speech/speech-ipc": "speech",
|
|
65
|
+
"./shell/speech/mac-on-device-transcriber": "speech",
|
|
66
|
+
"./electron/memory-sampler": "electron"
|
|
35
67
|
}
|
|
36
68
|
}
|
|
37
69
|
},
|
|
@@ -90,6 +122,11 @@
|
|
|
90
122
|
"import": "./dist/electron/updates/index.js",
|
|
91
123
|
"default": "./dist/electron/updates/index.js"
|
|
92
124
|
},
|
|
125
|
+
"./electron/preferences": {
|
|
126
|
+
"types": "./dist/electron/preferences/index.d.ts",
|
|
127
|
+
"import": "./dist/electron/preferences/index.js",
|
|
128
|
+
"default": "./dist/electron/preferences/index.js"
|
|
129
|
+
},
|
|
93
130
|
"./node-toolchain": {
|
|
94
131
|
"types": "./dist/node-toolchain/index.d.ts",
|
|
95
132
|
"import": "./dist/node-toolchain/index.js",
|
|
@@ -110,7 +147,117 @@
|
|
|
110
147
|
"import": "./dist/speech/macos/index.js",
|
|
111
148
|
"default": "./dist/speech/macos/index.js"
|
|
112
149
|
},
|
|
113
|
-
"./speech/macos/speech-helper.swift": "./dist/speech/macos/speech-helper.swift"
|
|
150
|
+
"./speech/macos/speech-helper.swift": "./dist/speech/macos/speech-helper.swift",
|
|
151
|
+
"./shell/find-in-page-verify": {
|
|
152
|
+
"types": "./dist/shell/find-in-page-verify.d.ts",
|
|
153
|
+
"import": "./dist/shell/find-in-page-verify.js",
|
|
154
|
+
"default": "./dist/shell/find-in-page-verify.js"
|
|
155
|
+
},
|
|
156
|
+
"./shell/js-backslide-guard": {
|
|
157
|
+
"types": "./dist/shell/js-backslide-guard.d.ts",
|
|
158
|
+
"import": "./dist/shell/js-backslide-guard.js",
|
|
159
|
+
"default": "./dist/shell/js-backslide-guard.js"
|
|
160
|
+
},
|
|
161
|
+
"./shell/pty-helpers": {
|
|
162
|
+
"types": "./dist/shell/pty-helpers.d.ts",
|
|
163
|
+
"import": "./dist/shell/pty-helpers.js",
|
|
164
|
+
"default": "./dist/shell/pty-helpers.js"
|
|
165
|
+
},
|
|
166
|
+
"./shell/instance-presence": {
|
|
167
|
+
"types": "./dist/shell/instance-presence.d.ts",
|
|
168
|
+
"import": "./dist/shell/instance-presence.js",
|
|
169
|
+
"default": "./dist/shell/instance-presence.js"
|
|
170
|
+
},
|
|
171
|
+
"./shell/auto-update-controller": {
|
|
172
|
+
"types": "./dist/shell/auto-update-controller.d.ts",
|
|
173
|
+
"import": "./dist/shell/auto-update-controller.js",
|
|
174
|
+
"default": "./dist/shell/auto-update-controller.js"
|
|
175
|
+
},
|
|
176
|
+
"./shell/spellcheck-menu": {
|
|
177
|
+
"types": "./dist/shell/spellcheck-menu.d.ts",
|
|
178
|
+
"import": "./dist/shell/spellcheck-menu.js",
|
|
179
|
+
"default": "./dist/shell/spellcheck-menu.js"
|
|
180
|
+
},
|
|
181
|
+
"./electron/selftest": {
|
|
182
|
+
"types": "./dist/electron/selftest/index.d.ts",
|
|
183
|
+
"import": "./dist/electron/selftest/index.js",
|
|
184
|
+
"default": "./dist/electron/selftest/index.js"
|
|
185
|
+
},
|
|
186
|
+
"./shell/guest-navigation": {
|
|
187
|
+
"types": "./dist/shell/guest-navigation.d.ts",
|
|
188
|
+
"import": "./dist/shell/guest-navigation.js",
|
|
189
|
+
"default": "./dist/shell/guest-navigation.js"
|
|
190
|
+
},
|
|
191
|
+
"./shell/site-presence": {
|
|
192
|
+
"types": "./dist/shell/site-presence.d.ts",
|
|
193
|
+
"import": "./dist/shell/site-presence.js",
|
|
194
|
+
"default": "./dist/shell/site-presence.js"
|
|
195
|
+
},
|
|
196
|
+
"./shell/supervised-site-url": {
|
|
197
|
+
"types": "./dist/shell/supervised-site-url.d.ts",
|
|
198
|
+
"import": "./dist/shell/supervised-site-url.js",
|
|
199
|
+
"default": "./dist/shell/supervised-site-url.js"
|
|
200
|
+
},
|
|
201
|
+
"./shell/copied-site-databases": {
|
|
202
|
+
"types": "./dist/shell/copied-site-databases.d.ts",
|
|
203
|
+
"import": "./dist/shell/copied-site-databases.js",
|
|
204
|
+
"default": "./dist/shell/copied-site-databases.js"
|
|
205
|
+
},
|
|
206
|
+
"./electron/handoff": {
|
|
207
|
+
"types": "./dist/electron/handoff/index.d.ts",
|
|
208
|
+
"import": "./dist/electron/handoff/index.js",
|
|
209
|
+
"default": "./dist/electron/handoff/index.js"
|
|
210
|
+
},
|
|
211
|
+
"./electron/preload": {
|
|
212
|
+
"types": "./dist/electron/preload/index.d.ts",
|
|
213
|
+
"import": "./dist/electron/preload/index.js",
|
|
214
|
+
"default": "./dist/electron/preload/index.js"
|
|
215
|
+
},
|
|
216
|
+
"./electron/webview": {
|
|
217
|
+
"types": "./dist/electron/webview/index.d.ts",
|
|
218
|
+
"import": "./dist/electron/webview/index.js",
|
|
219
|
+
"default": "./dist/electron/webview/index.js"
|
|
220
|
+
},
|
|
221
|
+
"./electron/session-bootstrap": {
|
|
222
|
+
"types": "./dist/electron/session-bootstrap/index.d.ts",
|
|
223
|
+
"import": "./dist/electron/session-bootstrap/index.js",
|
|
224
|
+
"default": "./dist/electron/session-bootstrap/index.js"
|
|
225
|
+
},
|
|
226
|
+
"./electron/windows": {
|
|
227
|
+
"types": "./dist/electron/windows/index.d.ts",
|
|
228
|
+
"import": "./dist/electron/windows/index.js",
|
|
229
|
+
"default": "./dist/electron/windows/index.js"
|
|
230
|
+
},
|
|
231
|
+
"./electron/partitions": {
|
|
232
|
+
"types": "./dist/electron/partitions/index.d.ts",
|
|
233
|
+
"import": "./dist/electron/partitions/index.js",
|
|
234
|
+
"default": "./dist/electron/partitions/index.js"
|
|
235
|
+
},
|
|
236
|
+
"./shell/find-menu": {
|
|
237
|
+
"types": "./dist/shell/find-menu.d.ts",
|
|
238
|
+
"import": "./dist/shell/find-menu.js",
|
|
239
|
+
"default": "./dist/shell/find-menu.js"
|
|
240
|
+
},
|
|
241
|
+
"./shell/node-toolchain": {
|
|
242
|
+
"types": "./dist/shell/node-toolchain.d.ts",
|
|
243
|
+
"import": "./dist/shell/node-toolchain.js",
|
|
244
|
+
"default": "./dist/shell/node-toolchain.js"
|
|
245
|
+
},
|
|
246
|
+
"./shell/speech/mac-on-device-transcriber": {
|
|
247
|
+
"types": "./dist/shell/speech/mac-on-device-transcriber.d.ts",
|
|
248
|
+
"import": "./dist/shell/speech/mac-on-device-transcriber.js",
|
|
249
|
+
"default": "./dist/shell/speech/mac-on-device-transcriber.js"
|
|
250
|
+
},
|
|
251
|
+
"./shell/speech/speech-ipc": {
|
|
252
|
+
"types": "./dist/shell/speech/speech-ipc.d.ts",
|
|
253
|
+
"import": "./dist/shell/speech/speech-ipc.js",
|
|
254
|
+
"default": "./dist/shell/speech/speech-ipc.js"
|
|
255
|
+
},
|
|
256
|
+
"./electron/memory-sampler": {
|
|
257
|
+
"types": "./dist/electron/memory-sampler.d.ts",
|
|
258
|
+
"import": "./dist/electron/memory-sampler.js",
|
|
259
|
+
"default": "./dist/electron/memory-sampler.js"
|
|
260
|
+
}
|
|
114
261
|
},
|
|
115
262
|
"files": [
|
|
116
263
|
"dist",
|
|
@@ -129,11 +276,11 @@
|
|
|
129
276
|
"registry": "https://registry.npmjs.org"
|
|
130
277
|
},
|
|
131
278
|
"devDependencies": {
|
|
132
|
-
"@vitest/coverage-v8": "^2.
|
|
133
|
-
"@jini-ai/core": "^0.7.3-next.
|
|
279
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
280
|
+
"@jini-ai/core": "^0.7.3-next.3"
|
|
134
281
|
},
|
|
135
282
|
"dependencies": {
|
|
136
|
-
"@jini-ai/core": "^0.7.3-next.
|
|
283
|
+
"@jini-ai/core": "^0.7.3-next.3"
|
|
137
284
|
},
|
|
138
285
|
"peerDependencies": {},
|
|
139
286
|
"peerDependenciesMeta": {},
|