elit 3.6.6 → 3.6.7
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/Cargo.lock +1 -1
- package/Cargo.toml +1 -1
- package/dist/build.cjs +421 -331
- package/dist/build.d.ts +1 -19
- package/dist/build.js +420 -330
- package/dist/build.mjs +420 -330
- package/dist/chokidar.cjs +219 -182
- package/dist/chokidar.d.ts +25 -10
- package/dist/chokidar.js +217 -182
- package/dist/chokidar.mjs +218 -183
- package/dist/cli.cjs +22439 -21563
- package/dist/cli.d.ts +19 -37
- package/dist/cli.mjs +24113 -23252
- package/dist/config.cjs +357 -350
- package/dist/config.d.ts +17 -245
- package/dist/config.js +520 -515
- package/dist/config.mjs +346 -341
- package/dist/contracts-BeW9k0yZ.d.ts +54 -0
- package/dist/contracts-D7KIS-TK.d.ts +36 -0
- package/dist/coverage.cjs +448 -485
- package/dist/coverage.d.ts +13 -62
- package/dist/coverage.js +447 -484
- package/dist/coverage.mjs +447 -484
- package/dist/database.cjs +819 -828
- package/dist/database.d.ts +8 -24
- package/dist/database.js +818 -829
- package/dist/database.mjs +818 -829
- package/dist/desktop-auto-render.cjs +1700 -1523
- package/dist/desktop-auto-render.d.ts +4 -12
- package/dist/desktop-auto-render.js +1695 -1518
- package/dist/desktop-auto-render.mjs +1696 -1519
- package/dist/desktop.cjs +3 -1
- package/dist/desktop.d.ts +4 -1
- package/dist/desktop.js +1 -1
- package/dist/desktop.mjs +1 -1
- package/dist/dev-build.cjs +830 -0
- package/dist/dev-build.d.ts +53 -0
- package/dist/dev-build.js +3318 -0
- package/dist/dev-build.mjs +797 -0
- package/dist/dom.cjs +717 -591
- package/dist/dom.d.ts +2 -17
- package/dist/dom.js +714 -588
- package/dist/dom.mjs +716 -590
- package/dist/el.cjs +62 -52
- package/dist/el.d.ts +5 -12
- package/dist/el.js +60 -52
- package/dist/el.mjs +60 -52
- package/dist/fs.cjs +72 -63
- package/dist/fs.d.ts +22 -19
- package/dist/fs.js +71 -62
- package/dist/fs.mjs +71 -62
- package/dist/hmr.cjs +40 -14
- package/dist/hmr.d.ts +11 -23
- package/dist/hmr.js +38 -14
- package/dist/hmr.mjs +38 -14
- package/dist/http.cjs +251 -99
- package/dist/http.d.ts +38 -104
- package/dist/http.js +249 -99
- package/dist/http.mjs +249 -99
- package/dist/https.cjs +524 -228
- package/dist/https.d.ts +44 -36
- package/dist/https.js +520 -226
- package/dist/https.mjs +522 -228
- package/dist/index.cjs +7502 -7691
- package/dist/index.d.ts +6 -3
- package/dist/index.js +7486 -7677
- package/dist/index.mjs +7497 -7687
- package/dist/mime-types.cjs +10 -4
- package/dist/mime-types.d.ts +8 -11
- package/dist/mime-types.js +9 -3
- package/dist/mime-types.mjs +9 -3
- package/dist/native.cjs +8616 -8870
- package/dist/native.d.ts +7 -10
- package/dist/native.js +8682 -8936
- package/dist/native.mjs +8615 -8869
- package/dist/path.cjs +83 -77
- package/dist/path.d.ts +29 -29
- package/dist/path.js +82 -76
- package/dist/path.mjs +82 -76
- package/dist/pm.cjs +3300 -0
- package/dist/pm.d.ts +256 -0
- package/dist/pm.js +5638 -0
- package/dist/pm.mjs +3196 -0
- package/dist/preview-build.cjs +712 -0
- package/dist/preview-build.d.ts +59 -0
- package/dist/preview-build.js +3194 -0
- package/dist/preview-build.mjs +676 -0
- package/dist/render-context.cjs +13 -2
- package/dist/render-context.d.ts +9 -34
- package/dist/render-context.js +11 -2
- package/dist/render-context.mjs +11 -2
- package/dist/router.cjs +787 -646
- package/dist/router.d.ts +8 -14
- package/dist/router.js +786 -645
- package/dist/router.mjs +786 -645
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.mjs +1 -1
- package/dist/server.cjs +3254 -2684
- package/dist/server.d.ts +47 -5
- package/dist/server.js +3427 -2859
- package/dist/server.mjs +3397 -2829
- package/dist/smtp-server.cjs +16 -3
- package/dist/smtp-server.d.ts +12 -26
- package/dist/smtp-server.js +18 -5
- package/dist/smtp-server.mjs +16 -3
- package/dist/state-DvEkDehk.d.ts +195 -0
- package/dist/state.cjs +768 -659
- package/dist/state.d.ts +11 -71
- package/dist/state.js +760 -651
- package/dist/state.mjs +767 -658
- package/dist/style.cjs +1011 -968
- package/dist/style.d.ts +13 -127
- package/dist/style.js +1009 -970
- package/dist/style.mjs +1011 -971
- package/dist/test-reporter.cjs +332 -316
- package/dist/test-reporter.d.ts +28 -33
- package/dist/test-reporter.js +328 -312
- package/dist/test-reporter.mjs +328 -312
- package/dist/test-runtime.cjs +927 -968
- package/dist/test-runtime.d.ts +24 -99
- package/dist/test-runtime.js +922 -965
- package/dist/test-runtime.mjs +922 -965
- package/dist/test.cjs +4428 -4273
- package/dist/test.d.ts +2 -8
- package/dist/test.js +4307 -4154
- package/dist/test.mjs +4419 -4267
- package/dist/types-BONVzPtp.d.ts +59 -0
- package/dist/types-BR4wMiVx.d.ts +32 -0
- package/dist/types-C4gKykuG.d.ts +23 -0
- package/dist/types-CIhpN1-K.d.ts +64 -0
- package/dist/types-Ckj8md_j.d.ts +84 -0
- package/dist/types-CpjQTAkX.d.ts +24 -0
- package/dist/types-D0LjrYjS.d.ts +14 -0
- package/dist/types-DAisuVr5.d.ts +75 -0
- package/dist/types-tJn88E1N.d.ts +242 -0
- package/dist/types.d.ts +50 -237
- package/dist/universal.cjs +1 -1
- package/dist/universal.d.ts +1 -7
- package/dist/universal.js +1 -1
- package/dist/universal.mjs +1 -1
- package/dist/websocket-XfyK23zD.d.ts +119 -0
- package/dist/ws.cjs +129 -108
- package/dist/ws.d.ts +21 -131
- package/dist/ws.js +128 -109
- package/dist/ws.mjs +128 -109
- package/dist/wss.cjs +757 -479
- package/dist/wss.d.ts +31 -28
- package/dist/wss.js +755 -479
- package/dist/wss.mjs +758 -482
- package/package.json +8 -1
- package/vendor/epaint-0.31.1/src/image.rs +418 -0
- package/dist/server-uMQvZAll.d.ts +0 -458
package/dist/pm.d.ts
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { l as PmRuntimeName, p as WapkRunConfig, k as PmRestartPolicy, m as WapkGoogleDriveConfig, i as PmConfig, P as PmAppConfig, E as ElitConfig } from './types-tJn88E1N.js';
|
|
2
|
+
import './state-DvEkDehk.js';
|
|
3
|
+
import './types-DAisuVr5.js';
|
|
4
|
+
import 'node:events';
|
|
5
|
+
import './websocket-XfyK23zD.js';
|
|
6
|
+
import 'events';
|
|
7
|
+
import 'http';
|
|
8
|
+
import 'ws';
|
|
9
|
+
import './types-BR4wMiVx.js';
|
|
10
|
+
import './types-C4gKykuG.js';
|
|
11
|
+
import 'net';
|
|
12
|
+
import 'smtp-server';
|
|
13
|
+
import './contracts-D7KIS-TK.js';
|
|
14
|
+
import './contracts-BeW9k0yZ.js';
|
|
15
|
+
|
|
16
|
+
declare const DEFAULT_PM_DATA_DIR: string;
|
|
17
|
+
declare const DEFAULT_PM_DUMP_FILE = "dump.json";
|
|
18
|
+
declare const DEFAULT_RESTART_DELAY = 1000;
|
|
19
|
+
declare const DEFAULT_MAX_RESTARTS = 10;
|
|
20
|
+
declare const DEFAULT_WATCH_DEBOUNCE = 250;
|
|
21
|
+
declare const DEFAULT_MIN_UPTIME = 0;
|
|
22
|
+
declare const DEFAULT_HEALTHCHECK_GRACE_PERIOD = 5000;
|
|
23
|
+
declare const DEFAULT_HEALTHCHECK_INTERVAL = 10000;
|
|
24
|
+
declare const DEFAULT_HEALTHCHECK_TIMEOUT = 3000;
|
|
25
|
+
declare const DEFAULT_HEALTHCHECK_MAX_FAILURES = 3;
|
|
26
|
+
declare const DEFAULT_LOG_LINES = 40;
|
|
27
|
+
declare const DEFAULT_PM_STOP_POLL_MS = 100;
|
|
28
|
+
declare const DEFAULT_PM_STOP_GRACE_PERIOD_MS = 5000;
|
|
29
|
+
declare const PM_WAPK_ONLINE_STDIN_SHUTDOWN_ENV = "ELIT_PM_WAPK_ONLINE_STDIN_SHUTDOWN";
|
|
30
|
+
declare const PM_WAPK_ONLINE_SHUTDOWN_COMMAND = "__ELIT_PM_WAPK_ONLINE_SHUTDOWN__";
|
|
31
|
+
declare const PM_WAPK_ONLINE_SHUTDOWN_TIMEOUT_MS = 8000;
|
|
32
|
+
declare const PM_RECORD_EXTENSION = ".json";
|
|
33
|
+
declare const SUPPORTED_FILE_EXTENSIONS: Set<string>;
|
|
34
|
+
declare const DEFAULT_WATCH_IGNORE: string[];
|
|
35
|
+
declare const SIMPLE_PREVIEW_SEGMENT: RegExp;
|
|
36
|
+
type PmTargetType = 'script' | 'file' | 'wapk';
|
|
37
|
+
type PmStatus = 'starting' | 'online' | 'restarting' | 'stopping' | 'stopped' | 'exited' | 'errored';
|
|
38
|
+
interface PmResolvedHealthCheck {
|
|
39
|
+
url: string;
|
|
40
|
+
gracePeriod: number;
|
|
41
|
+
interval: number;
|
|
42
|
+
timeout: number;
|
|
43
|
+
maxFailures: number;
|
|
44
|
+
}
|
|
45
|
+
interface PmDumpFile {
|
|
46
|
+
version: 1;
|
|
47
|
+
savedAt: string;
|
|
48
|
+
apps: PmSavedAppDefinition[];
|
|
49
|
+
}
|
|
50
|
+
interface PmSavedAppDefinition {
|
|
51
|
+
name: string;
|
|
52
|
+
type: PmTargetType;
|
|
53
|
+
cwd: string;
|
|
54
|
+
runtime?: PmRuntimeName;
|
|
55
|
+
env: Record<string, string>;
|
|
56
|
+
script?: string;
|
|
57
|
+
file?: string;
|
|
58
|
+
wapk?: string;
|
|
59
|
+
password?: string;
|
|
60
|
+
wapkRun?: WapkRunConfig;
|
|
61
|
+
restartPolicy: PmRestartPolicy;
|
|
62
|
+
autorestart: boolean;
|
|
63
|
+
restartDelay: number;
|
|
64
|
+
maxRestarts: number;
|
|
65
|
+
minUptime: number;
|
|
66
|
+
watch: boolean;
|
|
67
|
+
watchPaths: string[];
|
|
68
|
+
watchIgnore: string[];
|
|
69
|
+
watchDebounce: number;
|
|
70
|
+
healthCheck?: PmResolvedHealthCheck;
|
|
71
|
+
}
|
|
72
|
+
interface ParsedPmStartArgs {
|
|
73
|
+
targetToken?: string;
|
|
74
|
+
name?: string;
|
|
75
|
+
script?: string;
|
|
76
|
+
file?: string;
|
|
77
|
+
wapk?: string;
|
|
78
|
+
wapkRun?: WapkRunConfig;
|
|
79
|
+
runtime?: PmRuntimeName;
|
|
80
|
+
cwd?: string;
|
|
81
|
+
env: Record<string, string>;
|
|
82
|
+
autorestart?: boolean;
|
|
83
|
+
restartDelay?: number;
|
|
84
|
+
maxRestarts?: number;
|
|
85
|
+
password?: string;
|
|
86
|
+
restartPolicy?: PmRestartPolicy;
|
|
87
|
+
minUptime?: number;
|
|
88
|
+
watch?: boolean;
|
|
89
|
+
watchPaths: string[];
|
|
90
|
+
watchIgnore: string[];
|
|
91
|
+
watchDebounce?: number;
|
|
92
|
+
healthCheckUrl?: string;
|
|
93
|
+
healthCheckGracePeriod?: number;
|
|
94
|
+
healthCheckInterval?: number;
|
|
95
|
+
healthCheckTimeout?: number;
|
|
96
|
+
healthCheckMaxFailures?: number;
|
|
97
|
+
}
|
|
98
|
+
interface ResolvedPmAppDefinition {
|
|
99
|
+
name: string;
|
|
100
|
+
type: PmTargetType;
|
|
101
|
+
source: 'cli' | 'config';
|
|
102
|
+
cwd: string;
|
|
103
|
+
runtime?: PmRuntimeName;
|
|
104
|
+
env: Record<string, string>;
|
|
105
|
+
script?: string;
|
|
106
|
+
file?: string;
|
|
107
|
+
wapk?: string;
|
|
108
|
+
wapkRun?: WapkRunConfig;
|
|
109
|
+
autorestart: boolean;
|
|
110
|
+
restartDelay: number;
|
|
111
|
+
maxRestarts: number;
|
|
112
|
+
password?: string;
|
|
113
|
+
restartPolicy: PmRestartPolicy;
|
|
114
|
+
minUptime: number;
|
|
115
|
+
watch: boolean;
|
|
116
|
+
watchPaths: string[];
|
|
117
|
+
watchIgnore: string[];
|
|
118
|
+
watchDebounce: number;
|
|
119
|
+
healthCheck?: PmResolvedHealthCheck;
|
|
120
|
+
}
|
|
121
|
+
interface PmRecord {
|
|
122
|
+
id: string;
|
|
123
|
+
name: string;
|
|
124
|
+
type: PmTargetType;
|
|
125
|
+
source: 'cli' | 'config';
|
|
126
|
+
cwd: string;
|
|
127
|
+
runtime?: PmRuntimeName;
|
|
128
|
+
env: Record<string, string>;
|
|
129
|
+
script?: string;
|
|
130
|
+
file?: string;
|
|
131
|
+
wapk?: string;
|
|
132
|
+
wapkRun?: WapkRunConfig;
|
|
133
|
+
autorestart: boolean;
|
|
134
|
+
restartDelay: number;
|
|
135
|
+
maxRestarts: number;
|
|
136
|
+
password?: string;
|
|
137
|
+
restartPolicy: PmRestartPolicy;
|
|
138
|
+
minUptime: number;
|
|
139
|
+
watch: boolean;
|
|
140
|
+
watchPaths: string[];
|
|
141
|
+
watchIgnore: string[];
|
|
142
|
+
watchDebounce: number;
|
|
143
|
+
healthCheck?: PmResolvedHealthCheck;
|
|
144
|
+
desiredState: 'running' | 'stopped';
|
|
145
|
+
status: PmStatus;
|
|
146
|
+
commandPreview: string;
|
|
147
|
+
createdAt: string;
|
|
148
|
+
updatedAt: string;
|
|
149
|
+
startedAt?: string;
|
|
150
|
+
stoppedAt?: string;
|
|
151
|
+
runnerPid?: number;
|
|
152
|
+
childPid?: number;
|
|
153
|
+
restartCount: number;
|
|
154
|
+
lastExitCode?: number;
|
|
155
|
+
error?: string;
|
|
156
|
+
logFiles: {
|
|
157
|
+
out: string;
|
|
158
|
+
err: string;
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
interface PmPaths {
|
|
162
|
+
dataDir: string;
|
|
163
|
+
appsDir: string;
|
|
164
|
+
logsDir: string;
|
|
165
|
+
dumpFile: string;
|
|
166
|
+
}
|
|
167
|
+
interface BuiltPmCommand {
|
|
168
|
+
command: string;
|
|
169
|
+
args: string[];
|
|
170
|
+
env?: Record<string, string>;
|
|
171
|
+
shell?: boolean;
|
|
172
|
+
runtime?: PmRuntimeName;
|
|
173
|
+
preview: string;
|
|
174
|
+
}
|
|
175
|
+
interface PmRecordMatch {
|
|
176
|
+
filePath: string;
|
|
177
|
+
record: PmRecord;
|
|
178
|
+
}
|
|
179
|
+
interface ParsedPmRunnerArgs {
|
|
180
|
+
dataDir: string;
|
|
181
|
+
id: string;
|
|
182
|
+
}
|
|
183
|
+
interface PmRestartRequest {
|
|
184
|
+
kind: 'watch' | 'health';
|
|
185
|
+
detail: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
declare function normalizePmRuntime(value: unknown, optionName?: string): PmRuntimeName | undefined;
|
|
189
|
+
declare function normalizePmRestartPolicy(value: unknown, optionName?: string): PmRestartPolicy | undefined;
|
|
190
|
+
declare function normalizeIntegerOption(value: string, optionName: string, min?: number): number;
|
|
191
|
+
declare function normalizeNonEmptyString(value: unknown): string | undefined;
|
|
192
|
+
declare function hasPmGoogleDriveConfig(config: WapkGoogleDriveConfig | undefined): boolean;
|
|
193
|
+
declare function isPmWapkOnlineRunConfig(config: WapkRunConfig | undefined): boolean;
|
|
194
|
+
declare function hasPmWapkRunConfig(config: WapkRunConfig | undefined): boolean;
|
|
195
|
+
declare function mergePmWapkRunConfig(base: WapkRunConfig | undefined, override: WapkRunConfig | undefined): WapkRunConfig | undefined;
|
|
196
|
+
declare function stripPmWapkSourceFromRunConfig(config: WapkRunConfig | undefined): WapkRunConfig | undefined;
|
|
197
|
+
declare function isRemoteWapkArchiveSpecifier(value: string): boolean;
|
|
198
|
+
declare function isWapkArchiveSpecifier(value: string): boolean;
|
|
199
|
+
declare function buildGoogleDriveWapkSpecifier(fileId: string): string;
|
|
200
|
+
declare function resolvePmWapkSource(value: string | undefined, cwd: string): string | undefined;
|
|
201
|
+
declare function resolvePmWapkSourceToken(wapk: string | undefined, wapkRun: WapkRunConfig | undefined): string | undefined;
|
|
202
|
+
declare function countDefinedPmWapkSources(wapk: string | undefined, wapkRun: WapkRunConfig | undefined): number;
|
|
203
|
+
declare function appendPmWapkRunArgs(args: string[], previewParts: string[], wapkRun: WapkRunConfig | undefined): void;
|
|
204
|
+
declare function quoteCommandSegment(value: string): string;
|
|
205
|
+
declare function buildPmWapkPreview(wapk: string, runtime?: PmRuntimeName, password?: string, wapkRun?: WapkRunConfig): string;
|
|
206
|
+
declare function sanitizePmProcessName(name: string): string;
|
|
207
|
+
declare function isTypescriptFile(filePath: string): boolean;
|
|
208
|
+
declare function normalizeStringArray(value: unknown): string[];
|
|
209
|
+
declare function toWatchGlob(candidatePath: string): string;
|
|
210
|
+
declare function normalizeWatchPatterns(paths: string[], cwd: string): string[];
|
|
211
|
+
declare function normalizeWatchIgnorePatterns(paths: string[], cwd: string): string[];
|
|
212
|
+
declare function matchesGlobPattern(filePath: string, pattern: string): boolean;
|
|
213
|
+
declare function isIgnoredWatchPath(filePath: string, patterns: string[]): boolean;
|
|
214
|
+
declare function normalizeHealthCheckConfig(value: unknown): PmResolvedHealthCheck | undefined;
|
|
215
|
+
declare function looksLikeManagedFile(value: string, cwd: string): boolean;
|
|
216
|
+
declare function normalizeEnvMap(value: unknown): Record<string, string>;
|
|
217
|
+
declare function parsePmEnvEntry(input: string): [string, string];
|
|
218
|
+
declare function readRequiredValue(args: string[], index: number, optionName: string): string;
|
|
219
|
+
|
|
220
|
+
declare function resolvePmPaths(config: PmConfig | undefined, workspaceRoot: string): PmPaths;
|
|
221
|
+
declare function ensurePmDirectories(paths: PmPaths): void;
|
|
222
|
+
declare function getPmRecordPath(paths: PmPaths, id: string): string;
|
|
223
|
+
declare function readPmRecord(filePath: string): PmRecord;
|
|
224
|
+
declare function writePmRecord(filePath: string, record: PmRecord): void;
|
|
225
|
+
declare function toSavedAppDefinition(record: PmRecord): PmSavedAppDefinition;
|
|
226
|
+
declare function writePmDumpFile(filePath: string, apps: PmSavedAppDefinition[]): void;
|
|
227
|
+
declare function readPmDumpFile(filePath: string): PmDumpFile;
|
|
228
|
+
declare function deriveDefaultWatchPaths(type: PmTargetType, cwd: string, file?: string, wapk?: string): string[];
|
|
229
|
+
declare function normalizeResolvedWatchPaths(paths: string[], cwd: string, type: PmTargetType, file?: string, wapk?: string): string[];
|
|
230
|
+
declare function normalizeResolvedWatchIgnorePaths(paths: string[], cwd: string): string[];
|
|
231
|
+
declare function listPmRecordMatches(paths: PmPaths): PmRecordMatch[];
|
|
232
|
+
declare function findPmRecordMatch(paths: PmPaths, nameOrId: string): PmRecordMatch | undefined;
|
|
233
|
+
declare function isProcessAlive(pid: number | undefined): boolean;
|
|
234
|
+
declare function syncPmRecordLiveness(match: PmRecordMatch): PmRecordMatch;
|
|
235
|
+
declare function readLatestPmRecord(filePath: string, fallback: PmRecord): PmRecord;
|
|
236
|
+
declare function toPmAppConfig(record: PmRecord): PmAppConfig;
|
|
237
|
+
declare function toSavedPmAppConfig(app: PmSavedAppDefinition): PmAppConfig;
|
|
238
|
+
|
|
239
|
+
declare function resolvePmAppDefinition(base: PmAppConfig | undefined, parsed: ParsedPmStartArgs, workspaceRoot: string, source: 'cli' | 'config'): ResolvedPmAppDefinition;
|
|
240
|
+
declare function resolvePmStartDefinitions(parsed: ParsedPmStartArgs, config: ElitConfig | null, workspaceRoot: string): ResolvedPmAppDefinition[];
|
|
241
|
+
declare function parsePmStartArgs(args: string[]): ParsedPmStartArgs;
|
|
242
|
+
declare function printPmHelp(): void;
|
|
243
|
+
|
|
244
|
+
declare function isPmOnlineWapkRecord(record: Pick<PmRecord, 'type' | 'wapkRun'>): boolean;
|
|
245
|
+
declare function buildPmCommand(record: PmRecord): BuiltPmCommand;
|
|
246
|
+
declare function terminateProcessTree(pid: number): void;
|
|
247
|
+
declare function startManagedProcess(definition: ResolvedPmAppDefinition, paths: PmPaths): Promise<PmRecord>;
|
|
248
|
+
|
|
249
|
+
declare function waitForProcessTermination(pid: number | undefined, timeoutMs: number): Promise<boolean>;
|
|
250
|
+
declare function runManagedProcessLoop(filePath: string, initialRecord: PmRecord): Promise<void>;
|
|
251
|
+
declare function runPmRunner(args: string[]): Promise<void>;
|
|
252
|
+
declare function stopPmMatches(matches: PmRecordMatch[]): Promise<number>;
|
|
253
|
+
|
|
254
|
+
declare function runPmCommand(args: string[]): Promise<void>;
|
|
255
|
+
|
|
256
|
+
export { type BuiltPmCommand, DEFAULT_HEALTHCHECK_GRACE_PERIOD, DEFAULT_HEALTHCHECK_INTERVAL, DEFAULT_HEALTHCHECK_MAX_FAILURES, DEFAULT_HEALTHCHECK_TIMEOUT, DEFAULT_LOG_LINES, DEFAULT_MAX_RESTARTS, DEFAULT_MIN_UPTIME, DEFAULT_PM_DATA_DIR, DEFAULT_PM_DUMP_FILE, DEFAULT_PM_STOP_GRACE_PERIOD_MS, DEFAULT_PM_STOP_POLL_MS, DEFAULT_RESTART_DELAY, DEFAULT_WATCH_DEBOUNCE, DEFAULT_WATCH_IGNORE, PM_RECORD_EXTENSION, PM_WAPK_ONLINE_SHUTDOWN_COMMAND, PM_WAPK_ONLINE_SHUTDOWN_TIMEOUT_MS, PM_WAPK_ONLINE_STDIN_SHUTDOWN_ENV, type ParsedPmRunnerArgs, type ParsedPmStartArgs, type PmDumpFile, type PmPaths, type PmRecord, type PmRecordMatch, type PmResolvedHealthCheck, type PmRestartRequest, type PmSavedAppDefinition, type PmStatus, type PmTargetType, type ResolvedPmAppDefinition, SIMPLE_PREVIEW_SEGMENT, SUPPORTED_FILE_EXTENSIONS, appendPmWapkRunArgs, buildGoogleDriveWapkSpecifier, buildPmCommand, buildPmWapkPreview, countDefinedPmWapkSources, deriveDefaultWatchPaths, ensurePmDirectories, findPmRecordMatch, getPmRecordPath, hasPmGoogleDriveConfig, hasPmWapkRunConfig, isIgnoredWatchPath, isPmOnlineWapkRecord, isPmWapkOnlineRunConfig, isProcessAlive, isRemoteWapkArchiveSpecifier, isTypescriptFile, isWapkArchiveSpecifier, listPmRecordMatches, looksLikeManagedFile, matchesGlobPattern, mergePmWapkRunConfig, normalizeEnvMap, normalizeHealthCheckConfig, normalizeIntegerOption, normalizeNonEmptyString, normalizePmRestartPolicy, normalizePmRuntime, normalizeResolvedWatchIgnorePaths, normalizeResolvedWatchPaths, normalizeStringArray, normalizeWatchIgnorePatterns, normalizeWatchPatterns, parsePmEnvEntry, parsePmStartArgs, printPmHelp, quoteCommandSegment, readLatestPmRecord, readPmDumpFile, readPmRecord, readRequiredValue, resolvePmAppDefinition, resolvePmPaths, resolvePmStartDefinitions, resolvePmWapkSource, resolvePmWapkSourceToken, runManagedProcessLoop, runPmCommand, runPmRunner, sanitizePmProcessName, startManagedProcess, stopPmMatches, stripPmWapkSourceFromRunConfig, syncPmRecordLiveness, terminateProcessTree, toPmAppConfig, toSavedAppDefinition, toSavedPmAppConfig, toWatchGlob, waitForProcessTermination, writePmDumpFile, writePmRecord };
|