@evomap/evolver-proxy 2.0.0-beta.4 → 2.0.0-beta.5
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.
|
@@ -39,7 +39,7 @@ interface RollbackPendingStartupOptions {
|
|
|
39
39
|
}
|
|
40
40
|
export declare function rollbackPendingStartup(options: RollbackPendingStartupOptions): Promise<SelfUpdateRecoveryResult>;
|
|
41
41
|
export declare function startupRollbackExitCode(rollback: SelfUpdateRecoveryResult): 78;
|
|
42
|
-
export declare function proxyUsage(): string;
|
|
42
|
+
export declare function proxyUsage(command?: string): string;
|
|
43
43
|
export interface RunProxyCliOptions {
|
|
44
44
|
argv?: readonly string[];
|
|
45
45
|
env?: NodeJS.ProcessEnv;
|
|
@@ -235,9 +235,9 @@ export function startupRollbackExitCode(rollback) {
|
|
|
235
235
|
}
|
|
236
236
|
return 78;
|
|
237
237
|
}
|
|
238
|
-
export function proxyUsage() {
|
|
238
|
+
export function proxyUsage(command = 'evolver-proxy') {
|
|
239
239
|
return [
|
|
240
|
-
|
|
240
|
+
`Usage: ${command} [options]`,
|
|
241
241
|
'',
|
|
242
242
|
'Starts the local Evolver proxy daemon.',
|
|
243
243
|
'',
|
|
@@ -346,7 +346,7 @@ export async function runProxyCli(options = {}) {
|
|
|
346
346
|
try {
|
|
347
347
|
const cliOptions = parseProxyCliPathOptions(argv);
|
|
348
348
|
if (cliOptions.help) {
|
|
349
|
-
process.stdout.write(proxyUsage());
|
|
349
|
+
process.stdout.write(proxyUsage(argv[0] === 'proxy' ? 'evolver proxy' : 'evolver-proxy'));
|
|
350
350
|
return 0;
|
|
351
351
|
}
|
|
352
352
|
const prepared = prepareProxyCliEnvironment(argv, env);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evomap/evolver-proxy",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "系统级 mailbox/hub 同步 daemon (Node)",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-sdk/client-bedrock-runtime": "^3.1053.0",
|
|
29
|
-
"@evomap/evolver-adapter-public": "2.0.0-beta.
|
|
30
|
-
"@evomap/evolver-core": "2.0.0-beta.
|
|
29
|
+
"@evomap/evolver-adapter-public": "2.0.0-beta.5",
|
|
30
|
+
"@evomap/evolver-core": "2.0.0-beta.5"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|