@openape/apes 1.26.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/{chunk-VHZEVW2N.js → chunk-AFTJZVOQ.js} +8 -1
- package/dist/cli.js +946 -486
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +3 -1
- package/dist/{server-64H5O3CG.js → server-UKHYMZ7X.js} +2 -2
- package/package.json +3 -3
- /package/dist/{chunk-VHZEVW2N.js.map → chunk-AFTJZVOQ.js.map} +0 -0
- /package/dist/{server-64H5O3CG.js.map → server-UKHYMZ7X.js.map} +0 -0
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,9 +5,10 @@ import {
|
|
|
5
5
|
RpcSessionMap,
|
|
6
6
|
TOOLS,
|
|
7
7
|
parseDuration,
|
|
8
|
+
runApeShell,
|
|
8
9
|
runLoop,
|
|
9
10
|
taskTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AFTJZVOQ.js";
|
|
11
12
|
import {
|
|
12
13
|
appendAuditLog,
|
|
13
14
|
buildExactCommandGrantRequest,
|
|
@@ -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
|
|
File without changes
|