@openape/apes 1.27.0 → 1.28.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.js
CHANGED
|
@@ -6690,7 +6690,7 @@ var mcpCommand = defineCommand52({
|
|
|
6690
6690
|
if (transport !== "stdio" && transport !== "sse") {
|
|
6691
6691
|
throw new Error('Transport must be "stdio" or "sse"');
|
|
6692
6692
|
}
|
|
6693
|
-
const { startMcpServer } = await import("./server-
|
|
6693
|
+
const { startMcpServer } = await import("./server-UKHYMZ7X.js");
|
|
6694
6694
|
await startMcpServer(transport, port);
|
|
6695
6695
|
}
|
|
6696
6696
|
});
|
|
@@ -7328,7 +7328,7 @@ async function bestEffortGrantCount(idp) {
|
|
|
7328
7328
|
}
|
|
7329
7329
|
}
|
|
7330
7330
|
async function runHealth(args) {
|
|
7331
|
-
const version = true ? "1.
|
|
7331
|
+
const version = true ? "1.28.0" : "0.0.0";
|
|
7332
7332
|
const auth = loadAuth();
|
|
7333
7333
|
if (!auth) {
|
|
7334
7334
|
throw new CliError("Not logged in. Run `apes login` first.", 1);
|
|
@@ -7601,10 +7601,10 @@ if (shellRewrite) {
|
|
|
7601
7601
|
if (shellRewrite.action === "rewrite") {
|
|
7602
7602
|
process.argv = shellRewrite.argv;
|
|
7603
7603
|
} else if (shellRewrite.action === "version") {
|
|
7604
|
-
console.log(`ape-shell ${"1.
|
|
7604
|
+
console.log(`ape-shell ${"1.28.0"} (OpenApe DDISA shell wrapper)`);
|
|
7605
7605
|
process.exit(0);
|
|
7606
7606
|
} else if (shellRewrite.action === "help") {
|
|
7607
|
-
console.log(`ape-shell ${"1.
|
|
7607
|
+
console.log(`ape-shell ${"1.28.0"} \u2014 OpenApe DDISA shell wrapper`);
|
|
7608
7608
|
console.log("");
|
|
7609
7609
|
console.log("Usage:");
|
|
7610
7610
|
console.log(" ape-shell Start interactive grant-mediated REPL");
|
|
@@ -7662,7 +7662,7 @@ var configCommand = defineCommand64({
|
|
|
7662
7662
|
var main = defineCommand64({
|
|
7663
7663
|
meta: {
|
|
7664
7664
|
name: "apes",
|
|
7665
|
-
version: "1.
|
|
7665
|
+
version: "1.28.0",
|
|
7666
7666
|
description: "Unified CLI for OpenApe"
|
|
7667
7667
|
},
|
|
7668
7668
|
subCommands: {
|
|
@@ -7720,7 +7720,7 @@ async function maybeRefreshAuth() {
|
|
|
7720
7720
|
}
|
|
7721
7721
|
}
|
|
7722
7722
|
await maybeRefreshAuth();
|
|
7723
|
-
await maybeWarnStaleVersion("1.
|
|
7723
|
+
await maybeWarnStaleVersion("1.28.0").catch(() => {
|
|
7724
7724
|
});
|
|
7725
7725
|
runMain(main).catch((err) => {
|
|
7726
7726
|
if (err instanceof CliExit) {
|
package/dist/index.d.ts
CHANGED
|
@@ -436,4 +436,14 @@ declare class RpcSessionMap {
|
|
|
436
436
|
size(): number;
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
|
|
439
|
+
interface ApeShellResult {
|
|
440
|
+
stdout: string;
|
|
441
|
+
stderr: string;
|
|
442
|
+
exit_code: number;
|
|
443
|
+
timed_out?: boolean;
|
|
444
|
+
error?: string;
|
|
445
|
+
hint?: string;
|
|
446
|
+
}
|
|
447
|
+
declare function runApeShell(cmd: string, timeoutMs?: number): Promise<ApeShellResult>;
|
|
448
|
+
|
|
449
|
+
export { type AdapterMeta, type ApeShellResult, type ApesConfig, ApiError, type AuthData, type BuiltGrantRequest, type ChatMessage, CliError, CliExit, type GrantRequestOptions, type LoadedAdapter, type RegistryEntry, type RegistryIndex, type ResolvedCapability, type ResolvedCommand, RpcSessionMap, type RunOptions, type RunResult, type RunStreamHandlers, type RuntimeConfig, type ShapesAdapter, type ShapesOperation, TOOLS, type ToolDefinition, type TraceEntry, apiFetch, appendAuditLog, buildExactCommandGrantRequest, buildStructuredCliGrantRequest, clearAuth, createShapesGrant, discoverEndpoints, extractOption, extractShellCommandString, extractWrappedCommand, fetchGrantToken, fetchRegistry, findAdapter, findConflictingAdapters, findExistingGrant, getAuthToken, getIdpUrl, getInstalledDigest, getRequesterIdentity, installAdapter, isInstalled, loadAdapter, loadAuth, loadConfig, loadOrInstallAdapter, parseDuration, parseShellCommand, removeAdapter, resolveAdapterPath, resolveCapabilityRequest, resolveCommand, runApeShell, runLoop, saveAuth, saveConfig, searchAdapters, taskTools, tryLoadAdapter, verifyAndExecute, waitForGrantStatus };
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
RpcSessionMap,
|
|
6
6
|
TOOLS,
|
|
7
7
|
parseDuration,
|
|
8
|
+
runApeShell,
|
|
8
9
|
runLoop,
|
|
9
10
|
taskTools
|
|
10
11
|
} from "./chunk-AFTJZVOQ.js";
|
|
@@ -88,6 +89,7 @@ export {
|
|
|
88
89
|
resolveAdapterPath,
|
|
89
90
|
resolveCapabilityRequest,
|
|
90
91
|
resolveCommand,
|
|
92
|
+
runApeShell,
|
|
91
93
|
runLoop,
|
|
92
94
|
saveAuth,
|
|
93
95
|
saveConfig,
|
|
@@ -303,7 +303,7 @@ function registerAdapterTools(server) {
|
|
|
303
303
|
async function startMcpServer(transport, port) {
|
|
304
304
|
const server = new McpServer({
|
|
305
305
|
name: "apes",
|
|
306
|
-
version: true ? "1.
|
|
306
|
+
version: true ? "1.28.0" : "0.1.0"
|
|
307
307
|
});
|
|
308
308
|
registerStaticTools(server);
|
|
309
309
|
registerAdapterTools(server);
|
|
@@ -331,4 +331,4 @@ async function startMcpServer(transport, port) {
|
|
|
331
331
|
export {
|
|
332
332
|
startMcpServer
|
|
333
333
|
};
|
|
334
|
-
//# sourceMappingURL=server-
|
|
334
|
+
//# sourceMappingURL=server-UKHYMZ7X.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openape/apes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"turbo": {
|
|
5
5
|
"tags": [
|
|
6
6
|
"publishable"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"zod": "^4.3.6",
|
|
34
34
|
"@openape/cli-auth": "0.4.1",
|
|
35
35
|
"@openape/core": "0.17.0",
|
|
36
|
-
"@openape/
|
|
37
|
-
"@openape/
|
|
36
|
+
"@openape/proxy": "0.4.4",
|
|
37
|
+
"@openape/grants": "0.11.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^25.3.5",
|
|
File without changes
|