@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/index.d.ts CHANGED
@@ -436,4 +436,14 @@ declare class RpcSessionMap {
436
436
  size(): number;
437
437
  }
438
438
 
439
- export { type AdapterMeta, 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, runLoop, saveAuth, saveConfig, searchAdapters, taskTools, tryLoadAdapter, verifyAndExecute, waitForGrantStatus };
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-VHZEVW2N.js";
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.26.0" : "0.1.0"
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-64H5O3CG.js.map
334
+ //# sourceMappingURL=server-UKHYMZ7X.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openape/apes",
3
- "version": "1.26.0",
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/grants": "0.11.6",
37
- "@openape/proxy": "0.4.4"
36
+ "@openape/proxy": "0.4.4",
37
+ "@openape/grants": "0.11.6"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^25.3.5",