@openape/apes 0.11.1 → 0.11.2
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/{chunk-M2NBHR2E.js → chunk-2S2J4OSK.js} +6 -2
- package/dist/{chunk-M2NBHR2E.js.map → chunk-2S2J4OSK.js.map} +1 -1
- package/dist/cli.js +7 -7
- package/dist/{orchestrator-OF2YGFMR.js → orchestrator-CWDQIMJN.js} +2 -2
- package/dist/{server-TGIP55VI.js → server-TYXGOFDQ.js} +2 -2
- package/package.json +3 -3
- /package/dist/{orchestrator-OF2YGFMR.js.map → orchestrator-CWDQIMJN.js.map} +0 -0
- /package/dist/{server-TGIP55VI.js.map → server-TYXGOFDQ.js.map} +0 -0
|
@@ -56,7 +56,11 @@ function isApesSelfDispatch(parsed) {
|
|
|
56
56
|
const subCommand = parsed.argv[0];
|
|
57
57
|
if (!subCommand)
|
|
58
58
|
return false;
|
|
59
|
-
|
|
59
|
+
if (!APES_GATED_SUBCOMMANDS.has(subCommand))
|
|
60
|
+
return true;
|
|
61
|
+
if (subCommand === "run" && parsed.argv.includes("--as"))
|
|
62
|
+
return true;
|
|
63
|
+
return false;
|
|
60
64
|
}
|
|
61
65
|
function checkSudoRejection(parsed) {
|
|
62
66
|
if (!parsed || parsed.isCompound) return null;
|
|
@@ -73,4 +77,4 @@ export {
|
|
|
73
77
|
isApesSelfDispatch,
|
|
74
78
|
checkSudoRejection
|
|
75
79
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-2S2J4OSK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/notifications.ts","../src/shell/apes-self-dispatch.ts"],"sourcesContent":["import { spawn } from 'node:child_process'\nimport consola from 'consola'\nimport { quote } from 'shell-quote'\nimport { loadConfig } from './config'\n\nexport interface PendingGrantInfo {\n grantId: string\n approveUrl: string\n command: string\n audience: string\n host: string\n}\n\n/**\n * Resolve the notification command for pending grants. Checks (in order):\n * 1. `APES_NOTIFY_PENDING_COMMAND` env var (highest priority — lets\n * parent programs like openclaw override per invocation)\n * 2. `[notifications] pending_command` in ~/.config/apes/config.toml\n *\n * Returns undefined if no notification command is configured.\n */\nfunction resolvePendingCommand(): string | undefined {\n if (process.env.APES_NOTIFY_PENDING_COMMAND)\n return process.env.APES_NOTIFY_PENDING_COMMAND\n\n const config = loadConfig()\n return config.notifications?.pending_command\n}\n\n/**\n * Escape a value for safe embedding inside a single-quoted shell string.\n * We use `shell-quote` to produce a safe literal, then strip the outer\n * quoting because the template substitution embeds the value inside the\n * user's command template which is itself passed to `sh -c`.\n */\nfunction shellEscape(value: string): string {\n // quote() wraps in single quotes and escapes internal single quotes\n // e.g. \"it's\" → \"'it'\\\\''s'\"\n // We return the raw escaped form so it's safe inside sh -c.\n return quote([value])\n}\n\n/**\n * Substitute template variables in the notification command.\n * All values are shell-escaped to prevent injection.\n */\nfunction renderTemplate(template: string, info: PendingGrantInfo): string {\n return template\n .replace(/\\{grant_id\\}/g, shellEscape(info.grantId))\n .replace(/\\{approve_url\\}/g, shellEscape(info.approveUrl))\n .replace(/\\{command\\}/g, shellEscape(info.command))\n .replace(/\\{audience\\}/g, shellEscape(info.audience))\n .replace(/\\{host\\}/g, shellEscape(info.host))\n}\n\n/**\n * Send a notification that a grant is awaiting human approval.\n *\n * This is **fire-and-forget**: the notification subprocess runs detached\n * and unref'd so it cannot block the grant flow. A 10-second timeout\n * kills it if it hangs (e.g. network issue reaching Telegram API).\n *\n * Only fires when a notification command is configured. Silently returns\n * if not — the grant flow must never depend on notifications.\n *\n * Only call this when the grant **actually requires waiting** (new grant\n * with pending status). Do NOT call when:\n * - An existing timed/always grant was reused (no human action needed)\n * - The grant was instantly approved (no waiting phase)\n */\nexport function notifyGrantPending(info: PendingGrantInfo): void {\n const template = resolvePendingCommand()\n if (!template)\n return\n\n const rendered = renderTemplate(template, info)\n\n try {\n const child = spawn('sh', ['-c', rendered], {\n detached: true,\n stdio: 'ignore',\n env: { ...process.env },\n })\n\n // Don't let the notification process keep the parent alive\n child.unref()\n\n // Kill after 10 seconds if it hasn't exited\n const timeout = setTimeout(() => {\n try {\n child.kill('SIGKILL')\n }\n catch {}\n }, 10_000)\n timeout.unref()\n\n child.on('exit', () => clearTimeout(timeout))\n }\n catch (err) {\n // Never let notification failure break the grant flow\n consola.debug('Notification command failed:', err)\n }\n}\n","import { basename } from 'node:path'\nimport type { ParsedShellCommand } from '../shapes/shell-parser.js'\n\n/**\n * Subset of `apes` subcommands that remain grant-gated even when invoked\n * as self-dispatches from inside an ape-shell context. These are the\n * three categories where the shell-grant layer adds real security value\n * that isn't duplicated by server-side auth gates or local-file-only\n * semantics:\n *\n * - `run` — spawns arbitrary executables, the core of the grant system\n * - `fetch` — forwards the bearer token to a user-specified URL\n * - `mcp` — binds a network port and serves a persistent API\n *\n * Every other `apes <subcmd>` either reads state, mutates the user's own\n * local config, or talks to the IdP through endpoints that are already\n * scoped by the auth token — gating them in the shell is redundant\n * friction, and under 0.9.0's async-default grant flow it actively\n * breaks `apes grants run <id>` via recursion (the polling call itself\n * creates a new grant, cascading indefinitely).\n *\n * This is the single source of truth shared by both dispatch paths:\n * - Interactive REPL: `shell/grant-dispatch.ts` → `requestGrantForShellLine`\n * - One-shot `ape-shell -c`: `commands/run.ts` → `runShellMode` (which\n * receives the bash-c-wrapped command after `rewriteApeShellArgs`\n * rewrites `ape-shell -c \"<cmd>\"` into `apes run --shell -- bash -c <cmd>`)\n *\n * Keep this list in sync with the blocklist snapshot test in\n * `shell-grant-dispatch.test.ts` — the tripwire that forces a review\n * decision whenever a new top-level apes subcommand is added.\n */\nexport const APES_GATED_SUBCOMMANDS = new Set(['run', 'fetch', 'mcp'])\n\n/**\n * Returns true if the parsed shell command is an `apes <subcmd>`\n * invocation that should bypass the grant flow entirely. Non-apes\n * binaries, compound lines (pipes, &&, etc.), and subcommands in\n * `APES_GATED_SUBCOMMANDS` all return false so they stay on the normal\n * grant path.\n *\n * The caller (either `requestGrantForShellLine` for the REPL path or\n * `runShellMode` for the one-shot path) is responsible for parsing the\n * input string and passing the resulting ParsedShellCommand here.\n */\nexport function isApesSelfDispatch(parsed: ParsedShellCommand | null | undefined): boolean {\n if (!parsed || parsed.isCompound)\n return false\n const invokedName = basename(parsed.executable)\n if (invokedName !== 'apes' && invokedName !== 'apes.js')\n return false\n const subCommand = parsed.argv[0]\n if (!subCommand)\n return false\n
|
|
1
|
+
{"version":3,"sources":["../src/notifications.ts","../src/shell/apes-self-dispatch.ts"],"sourcesContent":["import { spawn } from 'node:child_process'\nimport consola from 'consola'\nimport { quote } from 'shell-quote'\nimport { loadConfig } from './config'\n\nexport interface PendingGrantInfo {\n grantId: string\n approveUrl: string\n command: string\n audience: string\n host: string\n}\n\n/**\n * Resolve the notification command for pending grants. Checks (in order):\n * 1. `APES_NOTIFY_PENDING_COMMAND` env var (highest priority — lets\n * parent programs like openclaw override per invocation)\n * 2. `[notifications] pending_command` in ~/.config/apes/config.toml\n *\n * Returns undefined if no notification command is configured.\n */\nfunction resolvePendingCommand(): string | undefined {\n if (process.env.APES_NOTIFY_PENDING_COMMAND)\n return process.env.APES_NOTIFY_PENDING_COMMAND\n\n const config = loadConfig()\n return config.notifications?.pending_command\n}\n\n/**\n * Escape a value for safe embedding inside a single-quoted shell string.\n * We use `shell-quote` to produce a safe literal, then strip the outer\n * quoting because the template substitution embeds the value inside the\n * user's command template which is itself passed to `sh -c`.\n */\nfunction shellEscape(value: string): string {\n // quote() wraps in single quotes and escapes internal single quotes\n // e.g. \"it's\" → \"'it'\\\\''s'\"\n // We return the raw escaped form so it's safe inside sh -c.\n return quote([value])\n}\n\n/**\n * Substitute template variables in the notification command.\n * All values are shell-escaped to prevent injection.\n */\nfunction renderTemplate(template: string, info: PendingGrantInfo): string {\n return template\n .replace(/\\{grant_id\\}/g, shellEscape(info.grantId))\n .replace(/\\{approve_url\\}/g, shellEscape(info.approveUrl))\n .replace(/\\{command\\}/g, shellEscape(info.command))\n .replace(/\\{audience\\}/g, shellEscape(info.audience))\n .replace(/\\{host\\}/g, shellEscape(info.host))\n}\n\n/**\n * Send a notification that a grant is awaiting human approval.\n *\n * This is **fire-and-forget**: the notification subprocess runs detached\n * and unref'd so it cannot block the grant flow. A 10-second timeout\n * kills it if it hangs (e.g. network issue reaching Telegram API).\n *\n * Only fires when a notification command is configured. Silently returns\n * if not — the grant flow must never depend on notifications.\n *\n * Only call this when the grant **actually requires waiting** (new grant\n * with pending status). Do NOT call when:\n * - An existing timed/always grant was reused (no human action needed)\n * - The grant was instantly approved (no waiting phase)\n */\nexport function notifyGrantPending(info: PendingGrantInfo): void {\n const template = resolvePendingCommand()\n if (!template)\n return\n\n const rendered = renderTemplate(template, info)\n\n try {\n const child = spawn('sh', ['-c', rendered], {\n detached: true,\n stdio: 'ignore',\n env: { ...process.env },\n })\n\n // Don't let the notification process keep the parent alive\n child.unref()\n\n // Kill after 10 seconds if it hasn't exited\n const timeout = setTimeout(() => {\n try {\n child.kill('SIGKILL')\n }\n catch {}\n }, 10_000)\n timeout.unref()\n\n child.on('exit', () => clearTimeout(timeout))\n }\n catch (err) {\n // Never let notification failure break the grant flow\n consola.debug('Notification command failed:', err)\n }\n}\n","import { basename } from 'node:path'\nimport type { ParsedShellCommand } from '../shapes/shell-parser.js'\n\n/**\n * Subset of `apes` subcommands that remain grant-gated even when invoked\n * as self-dispatches from inside an ape-shell context. These are the\n * three categories where the shell-grant layer adds real security value\n * that isn't duplicated by server-side auth gates or local-file-only\n * semantics:\n *\n * - `run` — spawns arbitrary executables, the core of the grant system\n * - `fetch` — forwards the bearer token to a user-specified URL\n * - `mcp` — binds a network port and serves a persistent API\n *\n * Every other `apes <subcmd>` either reads state, mutates the user's own\n * local config, or talks to the IdP through endpoints that are already\n * scoped by the auth token — gating them in the shell is redundant\n * friction, and under 0.9.0's async-default grant flow it actively\n * breaks `apes grants run <id>` via recursion (the polling call itself\n * creates a new grant, cascading indefinitely).\n *\n * This is the single source of truth shared by both dispatch paths:\n * - Interactive REPL: `shell/grant-dispatch.ts` → `requestGrantForShellLine`\n * - One-shot `ape-shell -c`: `commands/run.ts` → `runShellMode` (which\n * receives the bash-c-wrapped command after `rewriteApeShellArgs`\n * rewrites `ape-shell -c \"<cmd>\"` into `apes run --shell -- bash -c <cmd>`)\n *\n * Keep this list in sync with the blocklist snapshot test in\n * `shell-grant-dispatch.test.ts` — the tripwire that forces a review\n * decision whenever a new top-level apes subcommand is added.\n */\nexport const APES_GATED_SUBCOMMANDS = new Set(['run', 'fetch', 'mcp'])\n\n/**\n * Returns true if the parsed shell command is an `apes <subcmd>`\n * invocation that should bypass the grant flow entirely. Non-apes\n * binaries, compound lines (pipes, &&, etc.), and subcommands in\n * `APES_GATED_SUBCOMMANDS` all return false so they stay on the normal\n * grant path.\n *\n * The caller (either `requestGrantForShellLine` for the REPL path or\n * `runShellMode` for the one-shot path) is responsible for parsing the\n * input string and passing the resulting ParsedShellCommand here.\n */\nexport function isApesSelfDispatch(parsed: ParsedShellCommand | null | undefined): boolean {\n if (!parsed || parsed.isCompound)\n return false\n const invokedName = basename(parsed.executable)\n if (invokedName !== 'apes' && invokedName !== 'apes.js')\n return false\n const subCommand = parsed.argv[0]\n if (!subCommand)\n return false\n if (!APES_GATED_SUBCOMMANDS.has(subCommand))\n return true\n // `apes run --as <user>` has its own internal escapes-audience grant\n // flow (runAdapterMode delegates to runAudienceMode('escapes', ...)).\n // Double-gating it through the ape-shell session-grant layer would\n // fall through to a generic session grant that never reaches escapes.\n // Let it self-dispatch so the inner apes process handles elevation.\n if (subCommand === 'run' && parsed.argv.includes('--as'))\n return true\n return false\n}\n\n/**\n * Result of checking a parsed shell command for a leading `sudo` token.\n * The `reason` doubles as a ready-to-print error message so the REPL\n * and one-shot paths emit byte-identical text.\n */\nexport interface SudoRejection {\n reason: string\n}\n\n/**\n * Returns a rejection hint if the parsed line is a simple, non-compound\n * command whose leading executable is `sudo`. `sudo` is not available\n * inside ape-shell (the wrapper user is not in /etc/sudoers by design),\n * so agents and humans should use the explicit\n * `apes run --as root -- <cmd>` flow which routes through the escapes\n * setuid binary.\n *\n * Compound lines (pipes, &&, etc.) return null so the downstream\n * session-grant path can still negotiate a grant and bash surfaces the\n * real sudo error. We only short-circuit the leading-sudo case which is\n * the agent footgun.\n *\n * Shared by both dispatch paths:\n * - Interactive REPL: `shell/grant-dispatch.ts` → `requestGrantForShellLine`\n * - One-shot `ape-shell -c`: `commands/run.ts` → `runShellMode`\n */\nexport function checkSudoRejection(parsed: ParsedShellCommand | null | undefined): SudoRejection | null {\n if (!parsed || parsed.isCompound) return null\n if (basename(parsed.executable) !== 'sudo') return null\n const rest = parsed.argv.join(' ').trim()\n const hint = rest.length > 0\n ? `apes run --as root -- ${rest}`\n : 'apes run --as root -- <cmd>'\n return {\n reason: `sudo is not available in ape-shell. Use \\`${hint}\\` for privileged commands.`,\n }\n}\n"],"mappings":";;;;;;AAAA,SAAS,aAAa;AACtB,OAAO,aAAa;AACpB,SAAS,aAAa;AAmBtB,SAAS,wBAA4C;AACnD,MAAI,QAAQ,IAAI;AACd,WAAO,QAAQ,IAAI;AAErB,QAAM,SAAS,WAAW;AAC1B,SAAO,OAAO,eAAe;AAC/B;AAQA,SAAS,YAAY,OAAuB;AAI1C,SAAO,MAAM,CAAC,KAAK,CAAC;AACtB;AAMA,SAAS,eAAe,UAAkB,MAAgC;AACxE,SAAO,SACJ,QAAQ,iBAAiB,YAAY,KAAK,OAAO,CAAC,EAClD,QAAQ,oBAAoB,YAAY,KAAK,UAAU,CAAC,EACxD,QAAQ,gBAAgB,YAAY,KAAK,OAAO,CAAC,EACjD,QAAQ,iBAAiB,YAAY,KAAK,QAAQ,CAAC,EACnD,QAAQ,aAAa,YAAY,KAAK,IAAI,CAAC;AAChD;AAiBO,SAAS,mBAAmB,MAA8B;AAC/D,QAAM,WAAW,sBAAsB;AACvC,MAAI,CAAC;AACH;AAEF,QAAM,WAAW,eAAe,UAAU,IAAI;AAE9C,MAAI;AACF,UAAM,QAAQ,MAAM,MAAM,CAAC,MAAM,QAAQ,GAAG;AAAA,MAC1C,UAAU;AAAA,MACV,OAAO;AAAA,MACP,KAAK,EAAE,GAAG,QAAQ,IAAI;AAAA,IACxB,CAAC;AAGD,UAAM,MAAM;AAGZ,UAAM,UAAU,WAAW,MAAM;AAC/B,UAAI;AACF,cAAM,KAAK,SAAS;AAAA,MACtB,QACM;AAAA,MAAC;AAAA,IACT,GAAG,GAAM;AACT,YAAQ,MAAM;AAEd,UAAM,GAAG,QAAQ,MAAM,aAAa,OAAO,CAAC;AAAA,EAC9C,SACO,KAAK;AAEV,YAAQ,MAAM,gCAAgC,GAAG;AAAA,EACnD;AACF;;;ACtGA,SAAS,gBAAgB;AA+BlB,IAAM,yBAAyB,oBAAI,IAAI,CAAC,OAAO,SAAS,KAAK,CAAC;AAa9D,SAAS,mBAAmB,QAAwD;AACzF,MAAI,CAAC,UAAU,OAAO;AACpB,WAAO;AACT,QAAM,cAAc,SAAS,OAAO,UAAU;AAC9C,MAAI,gBAAgB,UAAU,gBAAgB;AAC5C,WAAO;AACT,QAAM,aAAa,OAAO,KAAK,CAAC;AAChC,MAAI,CAAC;AACH,WAAO;AACT,MAAI,CAAC,uBAAuB,IAAI,UAAU;AACxC,WAAO;AAMT,MAAI,eAAe,SAAS,OAAO,KAAK,SAAS,MAAM;AACrD,WAAO;AACT,SAAO;AACT;AA4BO,SAAS,mBAAmB,QAAqE;AACtG,MAAI,CAAC,UAAU,OAAO,WAAY,QAAO;AACzC,MAAI,SAAS,OAAO,UAAU,MAAM,OAAQ,QAAO;AACnD,QAAM,OAAO,OAAO,KAAK,KAAK,GAAG,EAAE,KAAK;AACxC,QAAM,OAAO,KAAK,SAAS,IACvB,yBAAyB,IAAI,KAC7B;AACJ,SAAO;AAAA,IACL,QAAQ,6CAA6C,IAAI;AAAA,EAC3D;AACF;","names":[]}
|
package/dist/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
checkSudoRejection,
|
|
13
13
|
isApesSelfDispatch,
|
|
14
14
|
notifyGrantPending
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2S2J4OSK.js";
|
|
16
16
|
import {
|
|
17
17
|
ApiError,
|
|
18
18
|
apiFetch,
|
|
@@ -2692,7 +2692,7 @@ var mcpCommand = defineCommand26({
|
|
|
2692
2692
|
if (transport !== "stdio" && transport !== "sse") {
|
|
2693
2693
|
throw new Error('Transport must be "stdio" or "sse"');
|
|
2694
2694
|
}
|
|
2695
|
-
const { startMcpServer } = await import("./server-
|
|
2695
|
+
const { startMcpServer } = await import("./server-TYXGOFDQ.js");
|
|
2696
2696
|
await startMcpServer(transport, port);
|
|
2697
2697
|
}
|
|
2698
2698
|
});
|
|
@@ -3184,7 +3184,7 @@ async function bestEffortGrantCount(idp) {
|
|
|
3184
3184
|
}
|
|
3185
3185
|
}
|
|
3186
3186
|
async function runHealth(args) {
|
|
3187
|
-
const version = true ? "0.11.
|
|
3187
|
+
const version = true ? "0.11.2" : "0.0.0";
|
|
3188
3188
|
const auth = loadAuth();
|
|
3189
3189
|
if (!auth) {
|
|
3190
3190
|
throw new CliError("Not logged in. Run `apes login` first.", 1);
|
|
@@ -3386,10 +3386,10 @@ if (shellRewrite) {
|
|
|
3386
3386
|
if (shellRewrite.action === "rewrite") {
|
|
3387
3387
|
process.argv = shellRewrite.argv;
|
|
3388
3388
|
} else if (shellRewrite.action === "version") {
|
|
3389
|
-
console.log(`ape-shell ${"0.11.
|
|
3389
|
+
console.log(`ape-shell ${"0.11.2"} (OpenApe DDISA shell wrapper)`);
|
|
3390
3390
|
process.exit(0);
|
|
3391
3391
|
} else if (shellRewrite.action === "help") {
|
|
3392
|
-
console.log(`ape-shell ${"0.11.
|
|
3392
|
+
console.log(`ape-shell ${"0.11.2"} \u2014 OpenApe DDISA shell wrapper`);
|
|
3393
3393
|
console.log("");
|
|
3394
3394
|
console.log("Usage:");
|
|
3395
3395
|
console.log(" ape-shell Start interactive grant-mediated REPL");
|
|
@@ -3404,7 +3404,7 @@ if (shellRewrite) {
|
|
|
3404
3404
|
console.log(" --help, -h Show this help message");
|
|
3405
3405
|
process.exit(0);
|
|
3406
3406
|
} else if (shellRewrite.action === "interactive") {
|
|
3407
|
-
const { runInteractiveShell } = await import("./orchestrator-
|
|
3407
|
+
const { runInteractiveShell } = await import("./orchestrator-CWDQIMJN.js");
|
|
3408
3408
|
await runInteractiveShell();
|
|
3409
3409
|
process.exit(0);
|
|
3410
3410
|
} else {
|
|
@@ -3447,7 +3447,7 @@ var configCommand = defineCommand33({
|
|
|
3447
3447
|
var main = defineCommand33({
|
|
3448
3448
|
meta: {
|
|
3449
3449
|
name: "apes",
|
|
3450
|
-
version: "0.11.
|
|
3450
|
+
version: "0.11.2",
|
|
3451
3451
|
description: "Unified CLI for OpenApe"
|
|
3452
3452
|
},
|
|
3453
3453
|
subCommands: {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
checkSudoRejection,
|
|
4
4
|
isApesSelfDispatch,
|
|
5
5
|
notifyGrantPending
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2S2J4OSK.js";
|
|
7
7
|
import {
|
|
8
8
|
apiFetch,
|
|
9
9
|
appendAuditLog,
|
|
@@ -771,4 +771,4 @@ async function runInteractiveShell() {
|
|
|
771
771
|
export {
|
|
772
772
|
runInteractiveShell
|
|
773
773
|
};
|
|
774
|
-
//# sourceMappingURL=orchestrator-
|
|
774
|
+
//# sourceMappingURL=orchestrator-CWDQIMJN.js.map
|
|
@@ -301,7 +301,7 @@ function registerAdapterTools(server) {
|
|
|
301
301
|
async function startMcpServer(transport, port) {
|
|
302
302
|
const server = new McpServer({
|
|
303
303
|
name: "apes",
|
|
304
|
-
version: true ? "0.11.
|
|
304
|
+
version: true ? "0.11.2" : "0.1.0"
|
|
305
305
|
});
|
|
306
306
|
registerStaticTools(server);
|
|
307
307
|
registerAdapterTools(server);
|
|
@@ -329,4 +329,4 @@ async function startMcpServer(transport, port) {
|
|
|
329
329
|
export {
|
|
330
330
|
startMcpServer
|
|
331
331
|
};
|
|
332
|
-
//# sourceMappingURL=server-
|
|
332
|
+
//# sourceMappingURL=server-TYXGOFDQ.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openape/apes",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"turbo": {
|
|
5
5
|
"tags": [
|
|
6
6
|
"publishable"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"node-pty": "^1.1.0",
|
|
32
32
|
"shell-quote": "^1.8.3",
|
|
33
33
|
"zod": "^4.3.6",
|
|
34
|
-
"@openape/
|
|
35
|
-
"@openape/
|
|
34
|
+
"@openape/core": "0.12.0",
|
|
35
|
+
"@openape/grants": "0.8.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^25.3.5",
|
|
File without changes
|
|
File without changes
|