@noldova/desktop.runtime 0.0.1 → 0.0.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/api/index.d.ts +217 -27
- package/api/testing.d.ts +28 -2
- package/interfaces/i-port-blocker.js +9 -0
- package/interfaces/i-port-blocker.js.map +1 -0
- package/models/module-declaration.js +7 -2
- package/models/module-declaration.js.map +1 -1
- package/models/peer-process.js +5 -1
- package/models/peer-process.js.map +1 -1
- package/models/stamped-file.js +23 -0
- package/models/stamped-file.js.map +1 -0
- package/native/darwin-arm64/posix-process.node +0 -0
- package/native/darwin-x64/posix-process.node +0 -0
- package/native/win32-arm64/windows-process.node +0 -0
- package/native/win32-x64/windows-process.node +0 -0
- package/package.json +10 -4
- package/resources.js +80 -0
- package/resources.js.map +1 -1
- package/services/diagnostics/log-batch.js +26 -0
- package/services/diagnostics/log-batch.js.map +1 -0
- package/services/diagnostics/log-file.js +148 -4
- package/services/diagnostics/log-file.js.map +1 -1
- package/services/diagnostics/log-write.js +16 -0
- package/services/diagnostics/log-write.js.map +1 -0
- package/services/discovery/folder-protector-factory.js +4 -1
- package/services/discovery/folder-protector-factory.js.map +1 -1
- package/services/discovery/mac-folder-protector.js +13 -1
- package/services/discovery/mac-folder-protector.js.map +1 -1
- package/services/endpoint/file-digest.js +31 -0
- package/services/endpoint/file-digest.js.map +1 -0
- package/services/endpoint/linux-mounts.js +38 -0
- package/services/endpoint/linux-mounts.js.map +1 -0
- package/services/endpoint/linux-program-identity.js +172 -0
- package/services/endpoint/linux-program-identity.js.map +1 -0
- package/services/endpoint/main-process-check.js +29 -5
- package/services/endpoint/main-process-check.js.map +1 -1
- package/services/endpoint/runtime-server.js +3 -2
- package/services/endpoint/runtime-server.js.map +1 -1
- package/services/files/folder-watch.js +19 -2
- package/services/files/folder-watch.js.map +1 -1
- package/services/lifetime/runtime-host.js +12 -2
- package/services/lifetime/runtime-host.js.map +1 -1
- package/services/lifetime/runtime-log.js +30 -14
- package/services/lifetime/runtime-log.js.map +1 -1
- package/services/lifetime/update-preparation.js +7 -2
- package/services/lifetime/update-preparation.js.map +1 -1
- package/services/modules/module-context.js +1 -1
- package/services/modules/module-context.js.map +1 -1
- package/services/process/linux-process-start.js +23 -0
- package/services/process/linux-process-start.js.map +1 -0
- package/services/process/posix-peer-process-api.js +9 -1
- package/services/process/posix-peer-process-api.js.map +1 -1
- package/services/process/windows-peer-process-api.js +3 -0
- package/services/process/windows-peer-process-api.js.map +1 -1
- package/services/settings/key-binding-moves.js +31 -0
- package/services/settings/key-binding-moves.js.map +1 -0
- package/services/tools/image-size.reader.js +10 -11
- package/services/tools/image-size.reader.js.map +1 -1
- package/services/tools/module-tools.js +4 -2
- package/services/tools/module-tools.js.map +1 -1
- package/services/tools/tool-endpoint.js +16 -4
- package/services/tools/tool-endpoint.js.map +1 -1
- package/services/tools/tool-schema.validator.js +62 -63
- package/services/tools/tool-schema.validator.js.map +1 -1
- package/services/web-views/module-web-views.js +3 -0
- package/services/web-views/module-web-views.js.map +1 -1
- package/services/web-views/read-web-view-blocked-ports-method.js +17 -0
- package/services/web-views/read-web-view-blocked-ports-method.js.map +1 -0
- package/services/web-views/web-view-center.js +58 -5
- package/services/web-views/web-view-center.js.map +1 -1
- package/services/web-views/web-view-ports-blocked-method.js +19 -0
- package/services/web-views/web-view-ports-blocked-method.js.map +1 -0
- package/testing/models/fake-runtime-web-views.js +1 -0
- package/testing/models/fake-runtime-web-views.js.map +1 -1
- package/testing/models/fake-web-view-relay.js +7 -1
- package/testing/models/fake-web-view-relay.js.map +1 -1
- package/services/tools/image-size.resources.js +0 -24
- package/services/tools/image-size.resources.js.map +0 -1
- package/services/tools/tool-schema.resources.js +0 -45
- package/services/tools/tool-schema.resources.js.map +0 -1
package/api/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
/// <reference types="node" />
|
|
10
|
+
|
|
9
11
|
import type { ChildProcessWithoutNullStreams } from "node:child_process";
|
|
10
12
|
import type { EventEmitter } from "node:events";
|
|
11
13
|
import type { BigIntStats, RmOptions } from "node:fs";
|
|
@@ -20,7 +22,7 @@ import type { JsonObject, JsonValue } from "@noldova/context.json";
|
|
|
20
22
|
import type {
|
|
21
23
|
AppShortcut, AppShortcutList, AppWindow, AppWindowList, BuildIdentity, CommandInfo, CommandList, Event, Failure, FailureCode, FileGrant, KeyChord, MainWindow, ModuleStatus, ModuleStatusList, Notification, NotificationList, NotificationPost, PreShellData, ProgramStatus, ProgramStatusList, QualifiedName, Response,
|
|
22
24
|
RunningWork, RuntimeHandover, SettingChange, SettingDefinition, SettingEntry, SettingKey, SettingScope, SettingValue, SettingsSnapshot, StopPolicy, UpdateProcess, WebViewAction,
|
|
23
|
-
WebViewAnswered, WebViewDeclaration, WebViewEvent, WebViewEvents, WebViewFailure, WebViewInfo, WebViewNavigation, WorkReport
|
|
25
|
+
WebViewAnswered, WebViewBlockedPorts, WebViewDeclaration, WebViewEvent, WebViewEvents, WebViewFailure, WebViewInfo, WebViewNavigation, WorkReport
|
|
24
26
|
} from "@noldova/desktop.protocol";
|
|
25
27
|
|
|
26
28
|
/**
|
|
@@ -1801,7 +1803,8 @@ export declare class DiagnosticRedactor {
|
|
|
1801
1803
|
|
|
1802
1804
|
/**
|
|
1803
1805
|
* A log file whose size is bounded. Each record is stamped with its time and redacted, and the file becomes the
|
|
1804
|
-
* previous file, replacing it, when a record would take it over its size limit.
|
|
1806
|
+
* previous file, replacing it, when a record would take it over its size limit. Lines are written in the order they
|
|
1807
|
+
* were appended, whether they wait for the disk or are written at once.
|
|
1805
1808
|
*/
|
|
1806
1809
|
export declare class LogFile {
|
|
1807
1810
|
/**
|
|
@@ -1812,6 +1815,7 @@ export declare class LogFile {
|
|
|
1812
1815
|
* @param redactor Redacts every record.
|
|
1813
1816
|
* @param now Returns the time to stamp a record with; the current time by default.
|
|
1814
1817
|
* @param limit The most bytes the file holds, 1 MiB by default. A record is cut to a quarter of it.
|
|
1818
|
+
* @param writeWait The most milliseconds a line written at once waits for a write already under way to land, so that it lands after it; 2 seconds by default.
|
|
1815
1819
|
* @example
|
|
1816
1820
|
* ```ts
|
|
1817
1821
|
* import { homedir } from "node:os";
|
|
@@ -1821,7 +1825,7 @@ export declare class LogFile {
|
|
|
1821
1825
|
* export const log: LogFile = new LogFile("/data/logs/app.log", "/data/logs/app.previous.log", new DiagnosticRedactor(homedir()));
|
|
1822
1826
|
* ```
|
|
1823
1827
|
*/
|
|
1824
|
-
public constructor(file: string, previousFile: string, redactor: DiagnosticRedactor, now?: () => Date, limit?: number);
|
|
1828
|
+
public constructor(file: string, previousFile: string, redactor: DiagnosticRedactor, now?: () => Date, limit?: number, writeWait?: number);
|
|
1825
1829
|
|
|
1826
1830
|
/**
|
|
1827
1831
|
* Stamps and redacts a record.
|
|
@@ -1855,7 +1859,8 @@ export declare class LogFile {
|
|
|
1855
1859
|
public open(): void;
|
|
1856
1860
|
|
|
1857
1861
|
/**
|
|
1858
|
-
* Appends a line
|
|
1862
|
+
* Appends a line at once, as when the process is about to end: first the lines still waiting, as {@link LogFile.flush}
|
|
1863
|
+
* writes them, then this one. When it would take the file over its size limit, the file first becomes the previous file.
|
|
1859
1864
|
*
|
|
1860
1865
|
* @param line The line from {@link LogFile.format}.
|
|
1861
1866
|
* @throws {Error} Thrown when the file cannot become the previous file, in which case it keeps what it holds, or cannot be written.
|
|
@@ -1869,6 +1874,57 @@ export declare class LogFile {
|
|
|
1869
1874
|
* ```
|
|
1870
1875
|
*/
|
|
1871
1876
|
public append(line: string): void;
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* Appends a line without waiting for the disk: the line is written after the lines appended before it, with the
|
|
1880
|
+
* lines that wait meanwhile written together. When it would take the file over its size limit, the file first becomes
|
|
1881
|
+
* the previous file, so no line is lost when the file fills.
|
|
1882
|
+
*
|
|
1883
|
+
* @param line The line from {@link LogFile.format}.
|
|
1884
|
+
* @returns A promise that settles once the line is written; the caller handles its rejection.
|
|
1885
|
+
* @throws {Error} Rejected when the file cannot become the previous file, in which case it keeps what it holds, or cannot be written; later lines are still tried.
|
|
1886
|
+
* @example
|
|
1887
|
+
* ```ts
|
|
1888
|
+
* import type { LogFile } from "@noldova/desktop.runtime";
|
|
1889
|
+
*
|
|
1890
|
+
* export function note(log: LogFile): void {
|
|
1891
|
+
* log.appendAsync(log.format("The runtime started.")).catch((failure: unknown) => console.error(failure));
|
|
1892
|
+
* }
|
|
1893
|
+
* ```
|
|
1894
|
+
*/
|
|
1895
|
+
public appendAsync(line: string): Promise<void>;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* Writes the lines still waiting at once, in order, as when the process is about to end. A write already under way
|
|
1899
|
+
* is given up to the write wait, 2 seconds by default, to land first, so the lines keep their order; it has landed once
|
|
1900
|
+
* its text is in the file past what this log had written before it, whatever another process appended meanwhile, or once the file can't be read. Each
|
|
1901
|
+
* waiting line's promise settles as it is written or fails.
|
|
1902
|
+
*
|
|
1903
|
+
* @example
|
|
1904
|
+
* ```ts
|
|
1905
|
+
* import type { LogFile } from "@noldova/desktop.runtime";
|
|
1906
|
+
*
|
|
1907
|
+
* export function finish(log: LogFile): void {
|
|
1908
|
+
* log.flush();
|
|
1909
|
+
* }
|
|
1910
|
+
* ```
|
|
1911
|
+
*/
|
|
1912
|
+
public flush(): void;
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* Waits until every line appended so far is written or has failed.
|
|
1916
|
+
*
|
|
1917
|
+
* @returns A promise that resolves once no line is waiting; it never rejects.
|
|
1918
|
+
* @example
|
|
1919
|
+
* ```ts
|
|
1920
|
+
* import type { LogFile } from "@noldova/desktop.runtime";
|
|
1921
|
+
*
|
|
1922
|
+
* export async function finishAsync(log: LogFile): Promise<void> {
|
|
1923
|
+
* await log.flushAsync();
|
|
1924
|
+
* }
|
|
1925
|
+
* ```
|
|
1926
|
+
*/
|
|
1927
|
+
public flushAsync(): Promise<void>;
|
|
1872
1928
|
}
|
|
1873
1929
|
|
|
1874
1930
|
/**
|
|
@@ -2391,7 +2447,8 @@ export declare class FolderProtectorFactory {
|
|
|
2391
2447
|
* @param command Runs Windows' system tools, or `ls` on macOS.
|
|
2392
2448
|
* @param environment Supplies `SystemRoot` on Windows.
|
|
2393
2449
|
* @returns A {@link WindowsFolderProtector} for `win32`, a
|
|
2394
|
-
* {@link MacFolderProtector} for `darwin
|
|
2450
|
+
* {@link MacFolderProtector} for `darwin` that reads the folder's volume
|
|
2451
|
+
* through the runtime's POSIX addon, otherwise a
|
|
2395
2452
|
* {@link PosixFolderProtector}.
|
|
2396
2453
|
* @example
|
|
2397
2454
|
* ```ts
|
|
@@ -2404,39 +2461,51 @@ export declare class FolderProtectorFactory {
|
|
|
2404
2461
|
}
|
|
2405
2462
|
|
|
2406
2463
|
/**
|
|
2407
|
-
* Restricts a folder to the current user on macOS: it
|
|
2408
|
-
*
|
|
2409
|
-
*
|
|
2410
|
-
*
|
|
2464
|
+
* Restricts a folder to the current user on macOS: it refuses a folder on a
|
|
2465
|
+
* volume mounted with ownership ignored, where every account acts as the
|
|
2466
|
+
* owner, then sets POSIX permissions (`0700`) and reads the folder's access
|
|
2467
|
+
* back, refusing a folder that an access control entry, such as one inherited
|
|
2468
|
+
* from its parent, still opens to anyone else. It never removes such an entry
|
|
2469
|
+
* and never changes how a volume is mounted; whoever did decides.
|
|
2411
2470
|
*/
|
|
2412
2471
|
export declare class MacFolderProtector implements IFolderProtector {
|
|
2413
2472
|
/**
|
|
2414
2473
|
* Creates the protector.
|
|
2415
2474
|
*
|
|
2416
2475
|
* @param command Runs `/bin/ls`.
|
|
2476
|
+
* @param addon The runtime's POSIX addon, which reads the folder's volume
|
|
2477
|
+
* with `readVolume`.
|
|
2417
2478
|
* @param user The current user's short name; the process's user by
|
|
2418
2479
|
* default.
|
|
2419
2480
|
* @example
|
|
2420
2481
|
* ```ts
|
|
2421
|
-
* import { MacFolderProtector, SystemCommand } from "@noldova/desktop.runtime";
|
|
2482
|
+
* import { MacFolderProtector, NativeAddon, SystemCommand, type IPosixProcessAddon } from "@noldova/desktop.runtime";
|
|
2422
2483
|
*
|
|
2423
|
-
* export const protector: MacFolderProtector = new MacFolderProtector(new SystemCommand()
|
|
2484
|
+
* export const protector: MacFolderProtector = new MacFolderProtector(new SystemCommand(),
|
|
2485
|
+
* new NativeAddon<IPosixProcessAddon>(NativeAddon.locate("posix-process.node"), ["readVolume"]));
|
|
2424
2486
|
* ```
|
|
2425
2487
|
*/
|
|
2426
|
-
public constructor(command: SystemCommand, user?: string);
|
|
2488
|
+
public constructor(command: SystemCommand, addon: NativeAddon<IPosixProcessAddon>, user?: string);
|
|
2427
2489
|
|
|
2428
2490
|
/**
|
|
2429
|
-
*
|
|
2430
|
-
* `ls -led`.
|
|
2431
|
-
*
|
|
2432
|
-
*
|
|
2433
|
-
*
|
|
2491
|
+
* Reads the folder's volume, then sets the folder's mode to `0700` and reads
|
|
2492
|
+
* its access back with `ls -led`. A volume mounted with ownership ignored
|
|
2493
|
+
* refuses the folder before anything changes. The folder passes when its
|
|
2494
|
+
* mode is `drwx------` and every line after the folder's own is an access
|
|
2495
|
+
* control entry that denies something or allows only the current user. A
|
|
2496
|
+
* line in another form, or a mode marked `+` with no entry, refuses the
|
|
2497
|
+
* folder.
|
|
2434
2498
|
*
|
|
2435
2499
|
* @param folder The absolute path of an existing folder.
|
|
2436
2500
|
* @returns A promise that resolves once only the current user has access.
|
|
2437
2501
|
* @throws {SystemCommandException} The promise rejects when `ls` fails, or
|
|
2438
2502
|
* the folder is still open to anyone else, for example through an inherited
|
|
2439
|
-
* entry
|
|
2503
|
+
* entry, when the message holds the listing, or on a volume mounted with
|
|
2504
|
+
* ownership ignored, when the message names the volume.
|
|
2505
|
+
* @throws {AddonLoadException} The promise rejects when the addon is missing,
|
|
2506
|
+
* fails to load, lacks `readVolume` or returns something other than a volume.
|
|
2507
|
+
* @throws {Error} The promise rejects with the addon's error when the system
|
|
2508
|
+
* cannot read the folder's volume.
|
|
2440
2509
|
* @example
|
|
2441
2510
|
* ```ts
|
|
2442
2511
|
* import type { MacFolderProtector } from "@noldova/desktop.runtime";
|
|
@@ -3740,8 +3809,9 @@ export declare class MethodFailureException extends RuntimeException {
|
|
|
3740
3809
|
*/
|
|
3741
3810
|
export declare class WebViewFailureException extends RuntimeException {
|
|
3742
3811
|
/**
|
|
3743
|
-
* The failure: its kind,
|
|
3744
|
-
*
|
|
3812
|
+
* The failure: its kind, the engine's code and message for a `Protocol`
|
|
3813
|
+
* failure, and the host's message naming the rule for a refusal that has
|
|
3814
|
+
* one.
|
|
3745
3815
|
*/
|
|
3746
3816
|
public readonly failure: WebViewFailure;
|
|
3747
3817
|
|
|
@@ -5757,6 +5827,24 @@ export interface IPosixProcessAddon {
|
|
|
5757
5827
|
* ```
|
|
5758
5828
|
*/
|
|
5759
5829
|
readEnvironment?(processId: number): unknown;
|
|
5830
|
+
|
|
5831
|
+
/**
|
|
5832
|
+
* Reads the volume that holds a folder with `statfs`; macOS builds only.
|
|
5833
|
+
*
|
|
5834
|
+
* @param folder The folder.
|
|
5835
|
+
* @returns The volume's mount point and whether it is mounted with
|
|
5836
|
+
* ownership ignored, as `[mountPoint, isOwnershipIgnored]`.
|
|
5837
|
+
* @throws {Error} When `statfs` fails, with its `errno` and `syscall`.
|
|
5838
|
+
* @example
|
|
5839
|
+
* ```ts
|
|
5840
|
+
* import type { IPosixProcessAddon } from "@noldova/desktop.runtime";
|
|
5841
|
+
*
|
|
5842
|
+
* export function readVolume(addon: IPosixProcessAddon): unknown {
|
|
5843
|
+
* return addon.readVolume?.("/Users/person");
|
|
5844
|
+
* }
|
|
5845
|
+
* ```
|
|
5846
|
+
*/
|
|
5847
|
+
readVolume?(folder: string): unknown;
|
|
5760
5848
|
}
|
|
5761
5849
|
|
|
5762
5850
|
/**
|
|
@@ -8947,6 +9035,13 @@ export declare class ModuleDeclaration {
|
|
|
8947
9035
|
*/
|
|
8948
9036
|
public readonly noldovaDesktop: string | null;
|
|
8949
9037
|
|
|
9038
|
+
/**
|
|
9039
|
+
* The names its commands and documents had before, by their names now; the
|
|
9040
|
+
* runtime moves the person's key binding for a former command name to the
|
|
9041
|
+
* command.
|
|
9042
|
+
*/
|
|
9043
|
+
public readonly formerNames: ReadonlyMap<string, readonly string[]>;
|
|
9044
|
+
|
|
8950
9045
|
/**
|
|
8951
9046
|
* Creates the declaration.
|
|
8952
9047
|
*
|
|
@@ -8980,6 +9075,8 @@ export declare class ModuleDeclaration {
|
|
|
8980
9075
|
* version> <first version refused>` with the lowest below the first refused,
|
|
8981
9076
|
* such as `>=0.0.70 <0.1.0`; or `null`, the default, for a module that names
|
|
8982
9077
|
* none.
|
|
9078
|
+
* @param formerNames The names its commands and documents had before, by
|
|
9079
|
+
* their names now; left out, none.
|
|
8983
9080
|
* @throws {ArgumentException} When the id, the version, the display name,
|
|
8984
9081
|
* the description or a dependency's or optional dependency's version is not valid, a setting
|
|
8985
9082
|
* belongs to another owner, is of
|
|
@@ -9011,7 +9108,8 @@ export declare class ModuleDeclaration {
|
|
|
9011
9108
|
optionalDependencies?: ReadonlyMap<string, string>,
|
|
9012
9109
|
switchSetting?: string | null,
|
|
9013
9110
|
platforms?: readonly string[] | null,
|
|
9014
|
-
noldovaDesktop?: string | null
|
|
9111
|
+
noldovaDesktop?: string | null,
|
|
9112
|
+
formerNames?: ReadonlyMap<string, readonly string[]>);
|
|
9015
9113
|
|
|
9016
9114
|
/**
|
|
9017
9115
|
* Reads a declaration from its form in `declarations.json`.
|
|
@@ -10363,7 +10461,7 @@ export declare class ChildProcessStarter implements IProcessStarter {
|
|
|
10363
10461
|
*/
|
|
10364
10462
|
export declare class RuntimeLog {
|
|
10365
10463
|
/**
|
|
10366
|
-
* The stream the runtime writes its diagnostics to; each write is one record, stamped and redacted like a line, without its trailing line ending. It writes to the log until the log closes.
|
|
10464
|
+
* The stream the runtime writes its diagnostics to; each write is one record, stamped and redacted like a line, without its trailing line ending. It writes to the log until the log closes, without waiting for the disk.
|
|
10367
10465
|
*/
|
|
10368
10466
|
public readonly diagnostics: Writable;
|
|
10369
10467
|
|
|
@@ -10377,6 +10475,7 @@ export declare class RuntimeLog {
|
|
|
10377
10475
|
* @param now Returns the time to stamp a line with; the current time by default.
|
|
10378
10476
|
* @param error Receives the report when the log can no longer be written; standard error by default.
|
|
10379
10477
|
* @param homeFolder The home folder the log redacts, with its user name; the current user's by default.
|
|
10478
|
+
* @param writeWait The most milliseconds a line written at once waits for a diagnostic already being written to land; 2 seconds by default.
|
|
10380
10479
|
* @returns A promise of the open log.
|
|
10381
10480
|
* @throws {OwnershipReleasedException} Rejected when the ownership was released.
|
|
10382
10481
|
* @example
|
|
@@ -10390,10 +10489,10 @@ export declare class RuntimeLog {
|
|
|
10390
10489
|
* }
|
|
10391
10490
|
* ```
|
|
10392
10491
|
*/
|
|
10393
|
-
public static openAsync(lock: OwnershipLock, ownStartLogName: string | null, now?: () => Date, error?: Writable, homeFolder?: string): Promise<RuntimeLog>;
|
|
10492
|
+
public static openAsync(lock: OwnershipLock, ownStartLogName: string | null, now?: () => Date, error?: Writable, homeFolder?: string, writeWait?: number): Promise<RuntimeLog>;
|
|
10394
10493
|
|
|
10395
10494
|
/**
|
|
10396
|
-
* Writes one line at once, as when the process is about to end; nothing is written after the log closes. When a line cannot be written, the failure is reported once on the error stream and nothing more is written to the log.
|
|
10495
|
+
* Writes one line at once, as when the process is about to end, after the diagnostics still waiting; nothing is written after the log closes. When a line cannot be written, the failure is reported once on the error stream and nothing more is written to the log.
|
|
10397
10496
|
*
|
|
10398
10497
|
* @param text The line, without its line ending.
|
|
10399
10498
|
* @example
|
|
@@ -10408,9 +10507,10 @@ export declare class RuntimeLog {
|
|
|
10408
10507
|
public writeLine(text: string): void;
|
|
10409
10508
|
|
|
10410
10509
|
/**
|
|
10411
|
-
* Finishes the diagnostics stream and closes the log; closing again does nothing.
|
|
10510
|
+
* Finishes the diagnostics stream, waits until every diagnostic is written, and closes the log; closing again does nothing.
|
|
10412
10511
|
*
|
|
10413
10512
|
* @returns A promise that settles once the log is closed.
|
|
10513
|
+
* @throws {Error} Rejected with the failure of the error stream, other than a closed or full stream's, when it could not take the report that a diagnostic could not be written.
|
|
10414
10514
|
* @example
|
|
10415
10515
|
* ```ts
|
|
10416
10516
|
* import type { RuntimeLog } from "@noldova/desktop.runtime";
|
|
@@ -10811,6 +10911,28 @@ export interface IEventSink {
|
|
|
10811
10911
|
* Tells whether a connection comes from the app's main process, for the {@link RuntimeServer}'s handshake of a client named `ShellClients.mainProcess`.
|
|
10812
10912
|
*/
|
|
10813
10913
|
export interface IMainProcessCheck {
|
|
10914
|
+
/**
|
|
10915
|
+
* Reads, when the server accepts a connection and before any of its messages, what the later check compares against; on Linux, the start
|
|
10916
|
+
* time of the connecting process, so that a process that later gets the same process id doesn't pass. A failure is kept and rejects the check.
|
|
10917
|
+
*
|
|
10918
|
+
* @param socket The connection, just accepted.
|
|
10919
|
+
* @example
|
|
10920
|
+
* ```ts
|
|
10921
|
+
* import type { Socket } from "node:net";
|
|
10922
|
+
*
|
|
10923
|
+
* import type { IMainProcessCheck } from "@noldova/desktop.runtime";
|
|
10924
|
+
*
|
|
10925
|
+
* const accepted = new WeakSet<Socket>();
|
|
10926
|
+
*
|
|
10927
|
+
* export const acceptedOnly: IMainProcessCheck = {
|
|
10928
|
+
* accept: socket => accepted.add(socket),
|
|
10929
|
+
* isMainProcessAsync: socket => Promise.resolve(accepted.has(socket)),
|
|
10930
|
+
* isSameSender: socket => accepted.has(socket)
|
|
10931
|
+
* };
|
|
10932
|
+
* ```
|
|
10933
|
+
*/
|
|
10934
|
+
accept?(socket: Socket): void;
|
|
10935
|
+
|
|
10814
10936
|
/**
|
|
10815
10937
|
* Checks the process at the other end of a connection.
|
|
10816
10938
|
*
|
|
@@ -15318,6 +15440,21 @@ export interface IRuntimeWebViews {
|
|
|
15318
15440
|
*/
|
|
15319
15441
|
setAllowedOriginsAsync(id: string, origins: readonly string[]): Promise<void>;
|
|
15320
15442
|
|
|
15443
|
+
/**
|
|
15444
|
+
* Marks whether an agent controls a view. While it does, the window keeps the view painted even while it is hidden, so a
|
|
15445
|
+
* page it loads there draws and takes the relay's clicks and keys, behind the shown content and out of the person's reach;
|
|
15446
|
+
* when control ends, a hidden view hides again. The main process keeps the mark for the view until the view closes, which
|
|
15447
|
+
* ends it. The runtime part marks the whole span, from the agent's first call or its opening the view until it closes the
|
|
15448
|
+
* view, the person takes over or stops it, or the session ends.
|
|
15449
|
+
*
|
|
15450
|
+
* @param id The view's id.
|
|
15451
|
+
* @param isControlled Whether an agent controls the view.
|
|
15452
|
+
* @returns A promise that settles once the main process applied it.
|
|
15453
|
+
* @throws {WebViewFailureException} The promise rejects when the main
|
|
15454
|
+
* process refuses or fails the call, or can't be reached.
|
|
15455
|
+
*/
|
|
15456
|
+
setControlledAsync(id: string, isControlled: boolean): Promise<void>;
|
|
15457
|
+
|
|
15321
15458
|
/**
|
|
15322
15459
|
* Clears a profile's cookies, storage and cache, and ends the pending calls
|
|
15323
15460
|
* of its views.
|
|
@@ -16317,17 +16454,20 @@ export declare class WebViewCenter {
|
|
|
16317
16454
|
* the main process can't give.
|
|
16318
16455
|
* @param channel The `desktop.webViewCommand` event the calls go out on; with
|
|
16319
16456
|
* none, no main process is ever reached.
|
|
16457
|
+
* @param portsChannel The `desktop.webViewBlockedPorts` event each change of
|
|
16458
|
+
* the blocked loopback ports goes out on; with none, a block waits for no
|
|
16459
|
+
* acknowledgement.
|
|
16320
16460
|
* @example
|
|
16321
16461
|
* ```ts
|
|
16322
16462
|
* import { ShellEvents } from "@noldova/desktop.protocol";
|
|
16323
16463
|
* import { type EventRegistry, WebViewCenter } from "@noldova/desktop.runtime";
|
|
16324
16464
|
*
|
|
16325
16465
|
* export function createCenter(events: EventRegistry): WebViewCenter {
|
|
16326
|
-
* return new WebViewCenter(process.stderr, events.declare(ShellEvents.webViewCommand));
|
|
16466
|
+
* return new WebViewCenter(process.stderr, events.declare(ShellEvents.webViewCommand), events.declare(ShellEvents.webViewBlockedPorts));
|
|
16327
16467
|
* }
|
|
16328
16468
|
* ```
|
|
16329
16469
|
*/
|
|
16330
|
-
public constructor(diagnostics: Writable, channel?: EventChannel | null);
|
|
16470
|
+
public constructor(diagnostics: Writable, channel?: EventChannel | null, portsChannel?: EventChannel | null);
|
|
16331
16471
|
|
|
16332
16472
|
/**
|
|
16333
16473
|
* Starts a module's mirror, listing its open views when a main process is
|
|
@@ -16380,6 +16520,56 @@ export declare class WebViewCenter {
|
|
|
16380
16520
|
*/
|
|
16381
16521
|
public answer(connection: number, answered: WebViewAnswered): void;
|
|
16382
16522
|
|
|
16523
|
+
/**
|
|
16524
|
+
* Adds a loopback port that no web view may reach, such as the runtime's own
|
|
16525
|
+
* endpoint or a tool endpoint's, and sends the new list to the connected main
|
|
16526
|
+
* process.
|
|
16527
|
+
*
|
|
16528
|
+
* @param port The port.
|
|
16529
|
+
* @returns The new list's serial, which {@link WebViewCenter.waitForPortsAsync}
|
|
16530
|
+
* takes.
|
|
16531
|
+
*/
|
|
16532
|
+
public blockPort(port: number): number;
|
|
16533
|
+
|
|
16534
|
+
/**
|
|
16535
|
+
* Waits until the connected main process acknowledges a list at least as new
|
|
16536
|
+
* as a serial, so that its web views refuse the ports in it; it settles at once
|
|
16537
|
+
* when no main process is connected, since no web view is open then, and when
|
|
16538
|
+
* the main process goes.
|
|
16539
|
+
*
|
|
16540
|
+
* @param serial The serial {@link WebViewCenter.blockPort} returned.
|
|
16541
|
+
* @param signal Stops the wait.
|
|
16542
|
+
* @returns A promise that settles once the list is acknowledged.
|
|
16543
|
+
* @throws {Error} The promise rejects with the signal's reason when the signal
|
|
16544
|
+
* aborts.
|
|
16545
|
+
*/
|
|
16546
|
+
public waitForPortsAsync(serial: number, signal: AbortSignal): Promise<void>;
|
|
16547
|
+
|
|
16548
|
+
/**
|
|
16549
|
+
* Removes a loopback port once its endpoint has closed, and sends the new list
|
|
16550
|
+
* to the connected main process; a port it doesn't hold changes nothing.
|
|
16551
|
+
*
|
|
16552
|
+
* @param port The port.
|
|
16553
|
+
*/
|
|
16554
|
+
public unblockPort(port: number): void;
|
|
16555
|
+
|
|
16556
|
+
/**
|
|
16557
|
+
* Reads the blocked loopback ports for the connected main process.
|
|
16558
|
+
*
|
|
16559
|
+
* @param connection The connection that asks.
|
|
16560
|
+
* @returns The list, or `null` for any connection but the main process's.
|
|
16561
|
+
*/
|
|
16562
|
+
public readPorts(connection: number): WebViewBlockedPorts | null;
|
|
16563
|
+
|
|
16564
|
+
/**
|
|
16565
|
+
* Settles every wait the main process's acknowledgement covers, when it came
|
|
16566
|
+
* on the main process's connection; any other is ignored.
|
|
16567
|
+
*
|
|
16568
|
+
* @param connection The connection the acknowledgement came on.
|
|
16569
|
+
* @param blocked The list the main process acknowledges.
|
|
16570
|
+
*/
|
|
16571
|
+
public answerPorts(connection: number, blocked: WebViewBlockedPorts): void;
|
|
16572
|
+
|
|
16383
16573
|
/**
|
|
16384
16574
|
* Passes a batch of events on to their modules, when it came from the
|
|
16385
16575
|
* connected main process.
|
package/api/testing.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type { SettingChange, WebViewEvent } from "@noldova/desktop.protocol";
|
|
|
11
11
|
import { Fake, type UnansweredCallException } from "@noldova/desktop.protocol/testing";
|
|
12
12
|
import type { ClientClosure, IAppShortcuts, IAppWindows, IModuleDatabase, IModuleLog, IModuleSecrets, IModuleSettings, IPermissionsContext, IRuntimeFiles,
|
|
13
13
|
IRuntimePartContext, IRuntimeWebViews, IToolsContext, IWebViewRelay, PermissionRevocation, Registration, RegistrationException,
|
|
14
|
-
WebViewProtocolEvent } from "@noldova/desktop.runtime";
|
|
14
|
+
WebViewFailureException, WebViewProtocolEvent } from "@noldova/desktop.runtime";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* A fake of the {@link IRuntimePartContext} that the runtime hands a module's
|
|
@@ -1650,6 +1650,28 @@ export declare class FakeRuntimeWebViews extends Fake<IRuntimeWebViews> implemen
|
|
|
1650
1650
|
*/
|
|
1651
1651
|
public readonly setAllowedOriginsAsync: IRuntimeWebViews["setAllowedOriginsAsync"];
|
|
1652
1652
|
|
|
1653
|
+
/**
|
|
1654
|
+
* Stands in for {@link IRuntimeWebViews.setControlledAsync}. Records each
|
|
1655
|
+
* call, which {@link Fake.callsOf} reads, and returns what the answer that
|
|
1656
|
+
* {@link Fake.answer} gives returns; while unanswered, the promise it returns
|
|
1657
|
+
* rejects rather than the call throwing.
|
|
1658
|
+
*
|
|
1659
|
+
* @throws {UnansweredCallException} As the rejection of the promise it
|
|
1660
|
+
* returns, naming the member, while the test has given it no answer, as the
|
|
1661
|
+
* real member fails.
|
|
1662
|
+
*
|
|
1663
|
+
* @example
|
|
1664
|
+
* ```ts
|
|
1665
|
+
* import type { IRuntimeWebViews } from "@noldova/desktop.runtime";
|
|
1666
|
+
* import type { FakeRuntimeWebViews } from "@noldova/desktop.runtime/testing";
|
|
1667
|
+
*
|
|
1668
|
+
* export function answerSetControlledAsync(fake: FakeRuntimeWebViews, value: Awaited<ReturnType<IRuntimeWebViews["setControlledAsync"]>>): void {
|
|
1669
|
+
* fake.answer("setControlledAsync", () => Promise.resolve(value));
|
|
1670
|
+
* }
|
|
1671
|
+
* ```
|
|
1672
|
+
*/
|
|
1673
|
+
public readonly setControlledAsync: IRuntimeWebViews["setControlledAsync"];
|
|
1674
|
+
|
|
1653
1675
|
/**
|
|
1654
1676
|
* Stands in for {@link IRuntimeWebViews.clearProfileAsync}. Records each
|
|
1655
1677
|
* call, which {@link Fake.callsOf} reads, and returns what the answer that
|
|
@@ -1774,11 +1796,15 @@ export declare class FakeWebViewRelay extends Fake<IWebViewRelay> implements IWe
|
|
|
1774
1796
|
* Stands in for {@link IWebViewRelay.sendAsync}. Records each call, which
|
|
1775
1797
|
* {@link Fake.callsOf} reads, and returns what the answer that
|
|
1776
1798
|
* {@link Fake.answer} gives returns; while unanswered, the promise it returns
|
|
1777
|
-
* rejects rather than the call throwing.
|
|
1799
|
+
* rejects rather than the call throwing. It refuses
|
|
1800
|
+
* `Emulation.setFocusEmulationEnabled` whatever the answer, as the host does,
|
|
1801
|
+
* since the host owns focus emulation.
|
|
1778
1802
|
*
|
|
1779
1803
|
* @throws {UnansweredCallException} As the rejection of the promise it
|
|
1780
1804
|
* returns, naming the member, while the test has given it no answer, as the
|
|
1781
1805
|
* real member fails.
|
|
1806
|
+
* @throws {WebViewFailureException} As the rejection of the promise it
|
|
1807
|
+
* returns, of kind `NotAllowed`, for `Emulation.setFocusEmulationEnabled`.
|
|
1782
1808
|
*
|
|
1783
1809
|
* @example
|
|
1784
1810
|
* ```ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-port-blocker.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.runtime/src/interfaces/i-port-blocker.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -34,8 +34,9 @@ export class ModuleDeclaration {
|
|
|
34
34
|
switchSetting;
|
|
35
35
|
platforms;
|
|
36
36
|
noldovaDesktop;
|
|
37
|
+
formerNames;
|
|
37
38
|
noldovaDesktopBounds;
|
|
38
|
-
constructor(id, version, displayName, description, dependencies, runtimePackage, contributions, settings = [], cliPackage = null, cliCommands = [], webViews = null, usesPseudoTerminals = false, optionalDependencies = new Map(), switchSetting = null, platforms = null, noldovaDesktop = null) {
|
|
39
|
+
constructor(id, version, displayName, description, dependencies, runtimePackage, contributions, settings = [], cliPackage = null, cliCommands = [], webViews = null, usesPseudoTerminals = false, optionalDependencies = new Map(), switchSetting = null, platforms = null, noldovaDesktop = null, formerNames = new Map()) {
|
|
39
40
|
if (!Resources.moduleIdPattern.test(id) || id === Resources.reservedModuleId)
|
|
40
41
|
throw new ArgumentException(Resources.moduleIdInvalid, Resources.idParameterName);
|
|
41
42
|
if (WindowsDeviceNames.includes(id))
|
|
@@ -87,6 +88,7 @@ export class ModuleDeclaration {
|
|
|
87
88
|
this.switchSetting = switchSetting;
|
|
88
89
|
this.platforms = Object.isNull(platforms) ? null : [...platforms];
|
|
89
90
|
this.noldovaDesktop = noldovaDesktop;
|
|
91
|
+
this.formerNames = new Map([...formerNames].map(([name, formers]) => [name, [...formers]]));
|
|
90
92
|
this.noldovaDesktopBounds = Object.isNull(range) ? null : [String(range[1]), String(range[2])];
|
|
91
93
|
}
|
|
92
94
|
static fromJson(value) {
|
|
@@ -103,7 +105,7 @@ export class ModuleDeclaration {
|
|
|
103
105
|
const displayName = ModuleDeclaration.read(Resources.displayNameParameterName, t => fields.readNonBlankString(t));
|
|
104
106
|
const description = ModuleDeclaration.read(Resources.descriptionParameterName, t => fields.readNonBlankString(t));
|
|
105
107
|
const dependencies = ModuleDeclaration.read(Resources.dependenciesParameterName, t => ModuleDeclaration.readVersions(fields.readObject(t), t));
|
|
106
|
-
return new ModuleDeclaration(id, version, displayName, description, dependencies, ModuleDeclaration.read(Resources.runtimePackageParameterName, t => ModuleDeclaration.readNullableText(fields, t)), ModuleDeclaration.read(Resources.contributesParameterName, t => new Map(Object.keys(contributes.toJson()).map(u => [u, ModuleDeclaration.readNames(contributes, u, t)]))), ModuleDeclaration.readSettings(fields.hasField(Resources.settingsField) ? fields.readValue(Resources.settingsField) : []), ModuleDeclaration.read(Resources.cliPackageField, t => fields.hasField(t) ? ModuleDeclaration.readNullableText(fields, t) : null), ModuleDeclaration.read(Resources.cliCommandsField, t => fields.hasField(t) ? ModuleDeclaration.readValues(fields.readValue(t), t) : []), ModuleDeclaration.readWebViews(fields.hasField(Resources.webViewsField) ? fields.readValue(Resources.webViewsField) : null), ModuleDeclaration.read(Resources.pseudoTerminalsField, t => fields.hasField(t) && fields.readBoolean(t)), ModuleDeclaration.read(Resources.optionalDependenciesField, t => fields.hasField(t) ? ModuleDeclaration.readVersions(fields.readObject(t), t) : new Map()), ModuleDeclaration.read(Resources.switchSettingField, t => fields.hasField(t) ? fields.readNonBlankString(t) : null), ModuleDeclaration.read(Resources.platformsField, t => fields.hasField(t) ? ModuleDeclaration.readNames(fields, t, t) : null), ModuleDeclaration.read(Resources.noldovaDesktopField, t => fields.hasField(t) ? fields.readNonBlankString(t) : null));
|
|
108
|
+
return new ModuleDeclaration(id, version, displayName, description, dependencies, ModuleDeclaration.read(Resources.runtimePackageParameterName, t => ModuleDeclaration.readNullableText(fields, t)), ModuleDeclaration.read(Resources.contributesParameterName, t => new Map(Object.keys(contributes.toJson()).map(u => [u, ModuleDeclaration.readNames(contributes, u, t)]))), ModuleDeclaration.readSettings(fields.hasField(Resources.settingsField) ? fields.readValue(Resources.settingsField) : []), ModuleDeclaration.read(Resources.cliPackageField, t => fields.hasField(t) ? ModuleDeclaration.readNullableText(fields, t) : null), ModuleDeclaration.read(Resources.cliCommandsField, t => fields.hasField(t) ? ModuleDeclaration.readValues(fields.readValue(t), t) : []), ModuleDeclaration.readWebViews(fields.hasField(Resources.webViewsField) ? fields.readValue(Resources.webViewsField) : null), ModuleDeclaration.read(Resources.pseudoTerminalsField, t => fields.hasField(t) && fields.readBoolean(t)), ModuleDeclaration.read(Resources.optionalDependenciesField, t => fields.hasField(t) ? ModuleDeclaration.readVersions(fields.readObject(t), t) : new Map()), ModuleDeclaration.read(Resources.switchSettingField, t => fields.hasField(t) ? fields.readNonBlankString(t) : null), ModuleDeclaration.read(Resources.platformsField, t => fields.hasField(t) ? ModuleDeclaration.readNames(fields, t, t) : null), ModuleDeclaration.read(Resources.noldovaDesktopField, t => fields.hasField(t) ? fields.readNonBlankString(t) : null), ModuleDeclaration.read(Resources.formerNamesField, t => fields.hasField(t) ? ModuleDeclaration.readFormerNames(fields.readObject(t), t) : new Map()));
|
|
107
109
|
}
|
|
108
110
|
accepts(dependency, version) {
|
|
109
111
|
if (!Resources.moduleVersionPattern.test(version))
|
|
@@ -193,6 +195,9 @@ export class ModuleDeclaration {
|
|
|
193
195
|
}
|
|
194
196
|
return versions;
|
|
195
197
|
}
|
|
198
|
+
static readFormerNames(fields, name) {
|
|
199
|
+
return new Map(Object.keys(fields.toJson()).map(t => [t, ModuleDeclaration.readNames(fields, t, name)]));
|
|
200
|
+
}
|
|
196
201
|
static readNames(fields, field, name) {
|
|
197
202
|
const names = fields.readStringArray(field);
|
|
198
203
|
if (names.some(t => String.isNullOrWhitespace(t)))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-declaration.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.runtime/src/models/module-declaration.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEhH,OAAO,EAAE,gCAAgC,EAAE,MAAM,sDAAsD,CAAC;AACxG,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,OAAO,iBAAiB;IACpB,MAAM,CAAU,gBAAgB,GAA2B,CAAC,WAAW,CAAC,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEpG,EAAE,CAAS;IACX,OAAO,CAAS;IAChB,WAAW,CAAS;IACpB,WAAW,CAAS;IACpB,YAAY,CAAoB;IAChC,kBAAkB,CAA8B;IAChD,cAAc,CAAgB;IAC9B,aAAa,CAAyC;IACtD,QAAQ,CAA+B;IACvC,UAAU,CAAgB;IAC1B,WAAW,CAAuB;IAClC,QAAQ,CAA4B;IACpC,mBAAmB,CAAU;IAC7B,oBAAoB,CAA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AAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,CAAC;IAEO,MAAM,CAAC,YAAY,CAAC,MAAkB,EAAE,IAAY;QAC1D,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;QAC3C,KAAK,MAAM,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC;YAC9C,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;YACnC,IAAI,MAAM,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC7E,MAAM,IAAI,gCAAgC,CAAC,IAAI,CAAC,CAAC;YACnD,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QACzB,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEO,MAAM,CAAC,SAAS,CAAC,MAAkB,EAAE,KAAa,EAAE,IAAY;QACtE,MAAM,KAAK,GAAG,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;QAC5C,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;YAC/C,MAAM,IAAI,gCAAgC,CAAC,IAAI,CAAC,CAAC;QACnD,OAAO,KAAK,CAAC;IACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"module-declaration.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.runtime/src/models/module-declaration.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE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@ -9,10 +9,14 @@ export class PeerProcess {
|
|
|
9
9
|
program;
|
|
10
10
|
environment;
|
|
11
11
|
sender;
|
|
12
|
-
|
|
12
|
+
processId;
|
|
13
|
+
startTime;
|
|
14
|
+
constructor(program, environment, sender = null, processId = null, startTime = null) {
|
|
13
15
|
this.program = program;
|
|
14
16
|
this.environment = environment;
|
|
15
17
|
this.sender = sender;
|
|
18
|
+
this.processId = processId;
|
|
19
|
+
this.startTime = startTime;
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
22
|
//# sourceMappingURL=peer-process.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"peer-process.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.runtime/src/models/peer-process.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,WAAW;IACN,OAAO,CAAS;IAChB,WAAW,CAAoB;IAC/B,MAAM,CAAgB;
|
|
1
|
+
{"version":3,"file":"peer-process.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.runtime/src/models/peer-process.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,WAAW;IACN,OAAO,CAAS;IAChB,WAAW,CAAoB;IAC/B,MAAM,CAAgB;IACtB,SAAS,CAAgB;IACzB,SAAS,CAAgB;IAEzC,YAAmB,OAAe,EAAE,WAA8B,EAAE,SAAwB,IAAI,EAAE,YAA2B,IAAI,EAAE,YAA2B,IAAI;QAChK,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export class StampedFile {
|
|
9
|
+
path;
|
|
10
|
+
device;
|
|
11
|
+
inode;
|
|
12
|
+
size;
|
|
13
|
+
constructor(path, device, inode, size) {
|
|
14
|
+
this.path = path;
|
|
15
|
+
this.device = device;
|
|
16
|
+
this.inode = inode;
|
|
17
|
+
this.size = size;
|
|
18
|
+
}
|
|
19
|
+
isSameFile(device, inode) {
|
|
20
|
+
return this.device === device && this.inode === inode;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=stamped-file.js.map
|