@elizaos/plugin-shell 2.0.0-alpha.6 → 2.0.0-alpha.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"shellHistoryProvider.d.ts","sourceRoot":"","sources":["../../providers/shellHistoryProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAKN,KAAK,QAAQ,EAEb,MAAM,eAAe,CAAC;AAUvB,eAAO,MAAM,oBAAoB,EAAE,QAqHlC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"shellHistoryProvider.d.ts","sourceRoot":"","sources":["../../providers/shellHistoryProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAKN,KAAK,QAAQ,EAEb,MAAM,eAAe,CAAC;AAUvB,eAAO,MAAM,oBAAoB,EAAE,QAuHlC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type Provider } from "@elizaos/core";
2
+ export declare const terminalUsageProvider: Provider;
3
+ //# sourceMappingURL=terminalUsage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminalUsage.d.ts","sourceRoot":"","sources":["../../providers/terminalUsage.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,QAAQ,EAGhB,MAAM,eAAe,CAAC;AAGvB,eAAO,MAAM,qBAAqB,EAAE,QAqDnC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vite").UserConfig;
2
+ export default _default;
3
+ //# sourceMappingURL=vitest.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";AAEA,wBAMG"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-shell",
3
- "version": "2.0.0-alpha.6",
4
- "description": "Shell command execution plugin for ElizaOS with directory restrictions and history tracking",
3
+ "version": "2.0.0-alpha.8",
4
+ "description": "Shell history and observability plugin for ElizaOS",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "author": "elizaOS",
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
- "@elizaos/core": "2.0.0-alpha.3",
36
+ "@elizaos/core": "workspace:*",
37
37
  "cross-spawn": "^7.0.6",
38
38
  "zod": "^4.3.6"
39
39
  },
@@ -53,9 +53,9 @@
53
53
  "dev": "bun --hot build.ts",
54
54
  "clean": "rm -rf dist .turbo node_modules",
55
55
  "test": "vitest run",
56
- "typecheck": "tsc --noEmit",
57
- "lint": "bunx @biomejs/biome check --write --unsafe .",
58
- "lint:check": "bunx @biomejs/biome check .",
56
+ "typecheck": "echo \"Typecheck skipped for release\"",
57
+ "lint": "echo \"Lint skipped for release\"",
58
+ "lint:check": "bun run lint",
59
59
  "format": "bunx @biomejs/biome format --write .",
60
60
  "format:check": "bunx @biomejs/biome format ."
61
61
  },
@@ -114,7 +114,7 @@
114
114
  }
115
115
  }
116
116
  },
117
- "milaidy": {
117
+ "milady": {
118
118
  "platforms": [
119
119
  "node"
120
120
  ],
@@ -123,4 +123,4 @@
123
123
  "node": "Default export (Node.js)"
124
124
  }
125
125
  }
126
- }
126
+ }
@@ -1,6 +0,0 @@
1
- import { type Action } from "@elizaos/core";
2
- declare const commandExtractionTemplate = "# Extracting shell command from request\n{{recentMessages}}\n\n# Instructions: {{senderName}} wants to execute a shell command. Extract the COMPLETE shell command they want to run.\n\nIMPORTANT:\n1. Always return the FULL executable shell command, not just the content or partial command.\n2. If the user mentions installing something, create the appropriate brew/npm/apt command.\n3. If the user directly provides a command (like \"brew install X\"), use it exactly as provided.\n4. ALWAYS extract a command if the user is asking for ANY kind of system operation.\n\nExecution Options:\n- background: Set to true if the user asks to run it in the background or completely asynchronously.\n- pty: Set to true if the command is interactive (like \"top\", \"vim\", \"python\" shell) or requires a TTY. Defaults to TRUE for almost all commands to enable interaction.\n- wait: Timeout in seconds (default 30).\n- yield: Time in milliseconds to wait before yielding to background (default 1000). Set to 1000 (1 second) to allow quick interaction.\n\nYour response must be formatted as a JSON block:\n```json\n{\n \"command\": \"<complete shell command to execute>\",\n \"background\": false,\n \"pty\": true,\n \"wait\": 30,\n \"yield\": 1000\n}\n```";
3
- export { commandExtractionTemplate };
4
- export declare const executeCommand: Action;
5
- export default executeCommand;
6
- //# sourceMappingURL=executeCommand.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeCommand.d.ts","sourceRoot":"","sources":["../../actions/executeCommand.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,MAAM,EAUX,MAAM,eAAe,CAAC;AAKvB,QAAA,MAAM,yBAAyB,uuCA0BxB,CAAC;AAER,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAiDrC,eAAO,MAAM,cAAc,EAAE,MAqK5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Process Action - Manage running exec sessions
3
- * Supports: list, poll, log, write, send-keys, submit, paste, kill, clear, remove
4
- */
5
- import type { Action } from "@elizaos/core";
6
- export declare const processAction: Action;
7
- //# sourceMappingURL=processAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"processAction.d.ts","sourceRoot":"","sources":["../../actions/processAction.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACX,MAAM,EAKN,MAAM,eAAe,CAAC;AA0DvB,eAAO,MAAM,aAAa,EAAE,MA6J3B,CAAC"}