sealnet-mcp 0.2.4 → 0.3.0

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/dist/cli.d.cts CHANGED
@@ -4,12 +4,13 @@ import { Command } from 'commander';
4
4
  * `sealnet-mcp` CLI entry — `commander`-based.
5
5
  *
6
6
  * Subcommands (one of these per invocation):
7
- * - `sealnet-mcp serve` (DEFAULT — bare `sealnet-mcp` runs this; without
8
- * state it sets itself up, see `setUpWithoutPrompt`)
9
- * - `sealnet-mcp init` Optional setup with a passphrase the user chooses
10
- * - `sealnet-mcp pubkey` Print the X25519 public key (for senders)
11
- * - `sealnet-mcp doctor` Diagnose keychain / state / backend
12
- * - `sealnet-mcp reset --force` Wipe state + keychain (after passphrase loss)
7
+ * - `sealnet-mcp serve` (DEFAULT — bare `sealnet-mcp` runs this; the first
8
+ * start makes the agent's key and state itself)
9
+ * - `sealnet-mcp init` The same setup, without starting the server
10
+ * - `sealnet-mcp pubkey` Print the agent's address (X25519 public key)
11
+ * - `sealnet-mcp seed --force` Print the agent's key, to set SEAL_SEED elsewhere
12
+ * - `sealnet-mcp doctor` Diagnose key / keychain / state / backend
13
+ * - `sealnet-mcp reset --force` Wipe state and key (the address is lost)
13
14
  *
14
15
  * The state directory, the keychain service and the handoff directory keep
15
16
  * the name `seal-mcp`: they are where existing state lives, not the package.
@@ -23,8 +24,10 @@ import { Command } from 'commander';
23
24
  *
24
25
  * # Environment variables
25
26
  *
27
+ * - SEAL_SEED The agent's key (`seed.ts`): the same address in a container or a cloud session
28
+ * - SEAL_MCP_EPHEMERAL=1 As `serve --ephemeral`
26
29
  * - SEAL_MCP_CONFIG_DIR Override state directory (mirrors Rust's `SEAL_CONFIG_DIR`)
27
- * - SEAL_MCP_PASSPHRASE Passphrase for non-interactive use (CI / headless)
30
+ * - SEAL_MCP_PASSPHRASE Read once, to move a state of version 0.2
28
31
  * - SEAL_MCP_BACKEND_URL SEAL backend base URL (default `https://api.seal.net`, see `config.ts`)
29
32
  * - SEAL_MCP_PUBLIC_HOST Public origin for minted share URLs (default `https://seal.net`, see `config.ts`)
30
33
  * - SEAL_MCP_DEBUG=1 Include stack traces in fatal-error output
package/dist/cli.d.ts CHANGED
@@ -4,12 +4,13 @@ import { Command } from 'commander';
4
4
  * `sealnet-mcp` CLI entry — `commander`-based.
5
5
  *
6
6
  * Subcommands (one of these per invocation):
7
- * - `sealnet-mcp serve` (DEFAULT — bare `sealnet-mcp` runs this; without
8
- * state it sets itself up, see `setUpWithoutPrompt`)
9
- * - `sealnet-mcp init` Optional setup with a passphrase the user chooses
10
- * - `sealnet-mcp pubkey` Print the X25519 public key (for senders)
11
- * - `sealnet-mcp doctor` Diagnose keychain / state / backend
12
- * - `sealnet-mcp reset --force` Wipe state + keychain (after passphrase loss)
7
+ * - `sealnet-mcp serve` (DEFAULT — bare `sealnet-mcp` runs this; the first
8
+ * start makes the agent's key and state itself)
9
+ * - `sealnet-mcp init` The same setup, without starting the server
10
+ * - `sealnet-mcp pubkey` Print the agent's address (X25519 public key)
11
+ * - `sealnet-mcp seed --force` Print the agent's key, to set SEAL_SEED elsewhere
12
+ * - `sealnet-mcp doctor` Diagnose key / keychain / state / backend
13
+ * - `sealnet-mcp reset --force` Wipe state and key (the address is lost)
13
14
  *
14
15
  * The state directory, the keychain service and the handoff directory keep
15
16
  * the name `seal-mcp`: they are where existing state lives, not the package.
@@ -23,8 +24,10 @@ import { Command } from 'commander';
23
24
  *
24
25
  * # Environment variables
25
26
  *
27
+ * - SEAL_SEED The agent's key (`seed.ts`): the same address in a container or a cloud session
28
+ * - SEAL_MCP_EPHEMERAL=1 As `serve --ephemeral`
26
29
  * - SEAL_MCP_CONFIG_DIR Override state directory (mirrors Rust's `SEAL_CONFIG_DIR`)
27
- * - SEAL_MCP_PASSPHRASE Passphrase for non-interactive use (CI / headless)
30
+ * - SEAL_MCP_PASSPHRASE Read once, to move a state of version 0.2
28
31
  * - SEAL_MCP_BACKEND_URL SEAL backend base URL (default `https://api.seal.net`, see `config.ts`)
29
32
  * - SEAL_MCP_PUBLIC_HOST Public origin for minted share URLs (default `https://seal.net`, see `config.ts`)
30
33
  * - SEAL_MCP_DEBUG=1 Include stack traces in fatal-error output