memshell-party-cli 0.3.1 → 0.3.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/README.en.md +425 -371
- package/README.md +64 -13
- package/dist/cli.js +1379 -199
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/index.js +859 -107
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/skills/memshell-party/SKILL.md +38 -9
package/dist/index.d.ts
CHANGED
|
@@ -263,7 +263,7 @@ declare const JDK_VERSIONS: Record<string, number>;
|
|
|
263
263
|
*/
|
|
264
264
|
declare function resolveJreVersion(input: string | number | undefined): number | undefined;
|
|
265
265
|
|
|
266
|
-
type OpCategory = "gen" | "probe" | "connect" | "exec" | "
|
|
266
|
+
type OpCategory = "gen" | "probe" | "connect" | "exec" | "download" | "upload" | "save" | "note" | "remove";
|
|
267
267
|
interface OpLogEntry {
|
|
268
268
|
/** ISO timestamp. */
|
|
269
269
|
ts: string;
|
|
@@ -419,6 +419,12 @@ interface ResolvedConnection {
|
|
|
419
419
|
/** Canonical `project/shell` reference, when resolved from the store. */
|
|
420
420
|
targetName?: string;
|
|
421
421
|
}
|
|
422
|
+
/**
|
|
423
|
+
* Auto-save a verified connection under a derived `<host>/<tool>` name and
|
|
424
|
+
* return the canonical reference. A slot already pointing at the same URL is
|
|
425
|
+
* overwritten; a name taken by a different URL gets a numeric/port suffix.
|
|
426
|
+
*/
|
|
427
|
+
declare function autoSaveShell(conn: ResolvedConnection): string;
|
|
422
428
|
/**
|
|
423
429
|
* Merge an optional saved shell reference (`<project>/<shell>` or a bare
|
|
424
430
|
* project holding exactly one shell) with explicit flags.
|
|
@@ -452,9 +458,6 @@ interface GodzillaExecOptions extends CommonConnectOptions {
|
|
|
452
458
|
}
|
|
453
459
|
/**
|
|
454
460
|
* Godzilla command execution — invokes the payload's `execCommand` method.
|
|
455
|
-
*
|
|
456
|
-
* Same transport as the connect test (payload upload + cookie relay), then:
|
|
457
|
-
* methodName=execCommand, argsCount=N, arg-0..arg-(N-1) = argv
|
|
458
461
|
* The payload runs `Runtime.exec(argv)` (no shell of its own), so the
|
|
459
462
|
* command line is wrapped in `cmd.exe /c` or `/bin/sh -c` here.
|
|
460
463
|
*/
|
|
@@ -480,4 +483,4 @@ declare function testSuo5(url: string, options?: Suo5ConnectOptions): Promise<Co
|
|
|
480
483
|
|
|
481
484
|
declare const CLI_VERSION: string;
|
|
482
485
|
|
|
483
|
-
export { ApiError, type ApiErrorResponse, type BehinderConnectOptions, CLI_VERSION, type CommandConfigVO, type CommonConnectOptions, type ConnectTestResult, type ConnectTool, type ConnectionFlags, DEFAULT_API_URL, ENV_VAR, type ExecResult, type FetchLike, type GodzillaExecOptions, type InjectorConfig, JDK_VERSIONS, type MainConfig, MemPartyClient, type MemPartyClientOptions, type MemShellGenerateRequest, type MemShellGenerateResponse, type MemShellOptions, type MemShellResult, OUTPUT_LIMIT, type OpCategory, type OpFilter, type OpLogEntry, type OutputOptions, type OutputResult, type PackerOption, type PackerTree, type ProbeConfig, type ProbeContent, type ProbeContentConfig, type ProbeMethod, type ProbeOptions, type ProbeShellGenerateRequest, type ProbeShellGenerateResponse, type ProbeShellResult, type ResolvedConnection, type ServerConfig, type ShellConfig, type ShellInput, type ShellToolConfig, type StoredProject, type StoredShell, type Suo5ConnectOptions, type Suo5Mode, type VersionInfo, buildMemShellRequest, buildProbeRequest, createMcpServer, emitPayload, execBehinder, execGodzilla, formatOp, getProject, listProjects, logOp, marshalFrameBase64, marshalSuo5Map, opLogPath, readOps, removeProject, removeShell, resolveApiUrl, resolveConnection, resolveJreVersion, saveProjectMeta, saveShell, saveShellMeta, shouldDecode, startMcpStdio, targetStorePath, testBehinder, testGodzilla, testSuo5, truncateOutput, unmarshalFrameBase64, unmarshalSuo5Map };
|
|
486
|
+
export { ApiError, type ApiErrorResponse, type BehinderConnectOptions, CLI_VERSION, type CommandConfigVO, type CommonConnectOptions, type ConnectTestResult, type ConnectTool, type ConnectionFlags, DEFAULT_API_URL, ENV_VAR, type ExecResult, type FetchLike, type GodzillaExecOptions, type InjectorConfig, JDK_VERSIONS, type MainConfig, MemPartyClient, type MemPartyClientOptions, type MemShellGenerateRequest, type MemShellGenerateResponse, type MemShellOptions, type MemShellResult, OUTPUT_LIMIT, type OpCategory, type OpFilter, type OpLogEntry, type OutputOptions, type OutputResult, type PackerOption, type PackerTree, type ProbeConfig, type ProbeContent, type ProbeContentConfig, type ProbeMethod, type ProbeOptions, type ProbeShellGenerateRequest, type ProbeShellGenerateResponse, type ProbeShellResult, type ResolvedConnection, type ServerConfig, type ShellConfig, type ShellInput, type ShellToolConfig, type StoredProject, type StoredShell, type Suo5ConnectOptions, type Suo5Mode, type VersionInfo, autoSaveShell, buildMemShellRequest, buildProbeRequest, createMcpServer, emitPayload, execBehinder, execGodzilla, formatOp, getProject, listProjects, logOp, marshalFrameBase64, marshalSuo5Map, opLogPath, readOps, removeProject, removeShell, resolveApiUrl, resolveConnection, resolveJreVersion, saveProjectMeta, saveShell, saveShellMeta, shouldDecode, startMcpStdio, targetStorePath, testBehinder, testGodzilla, testSuo5, truncateOutput, unmarshalFrameBase64, unmarshalSuo5Map };
|