@aexhq/tool-bash 0.0.0 → 6.1.3

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.
@@ -0,0 +1,51 @@
1
+ {
2
+ "bash": {
3
+ "contract_digest": "d68d542a6176118f1e06fa305e3489687051e2b950b5d0e492c1846116774840",
4
+ "filename": "bash.mjs",
5
+ "manifest": {
6
+ "name": "bash",
7
+ "description": "Run a Bash command in the session Environment workspace.",
8
+ "input_schema": {
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
10
+ "type": "object",
11
+ "properties": {
12
+ "command": {
13
+ "type": "string",
14
+ "minLength": 1
15
+ }
16
+ },
17
+ "required": [
18
+ "command"
19
+ ]
20
+ },
21
+ "output_schema": {
22
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
23
+ "type": "object",
24
+ "properties": {
25
+ "exit_code": {
26
+ "type": "integer",
27
+ "minimum": -9007199254740991,
28
+ "maximum": 9007199254740991
29
+ },
30
+ "stdout": {
31
+ "type": "string"
32
+ },
33
+ "stderr": {
34
+ "type": "string"
35
+ }
36
+ },
37
+ "required": [
38
+ "exit_code",
39
+ "stdout",
40
+ "stderr"
41
+ ],
42
+ "additionalProperties": false
43
+ },
44
+ "implementation": {
45
+ "type": "aex_official_tool",
46
+ "version": 1,
47
+ "name": "bash"
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+ export declare const inputSchema: z.ZodObject<{
3
+ command: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export declare const outputSchema: z.ZodObject<{
6
+ exit_code: z.ZodNumber;
7
+ stdout: z.ZodString;
8
+ stderr: z.ZodString;
9
+ }, z.core.$strip>;
package/dist/schema.js ADDED
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export const inputSchema = z.object({ command: z.string().min(1) });
3
+ export const outputSchema = z.object({ exit_code: z.number().int(), stdout: z.string(), stderr: z.string() });
package/package.json CHANGED
@@ -1,19 +1,45 @@
1
1
  {
2
2
  "name": "@aexhq/tool-bash",
3
- "version": "0.0.0",
4
- "description": "Reserved package name; no stable release is available.",
5
- "license": "Apache-2.0",
3
+ "version": "6.1.3",
4
+ "description": "Run a Bash command in the session Environment workspace.",
5
+ "license": "MIT",
6
+ "homepage": "https://aex.dev",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/aexhq/extensions.git",
10
+ "directory": "packages/tool-bash"
11
+ },
6
12
  "type": "module",
7
- "exports": "./index.js",
13
+ "engines": {
14
+ "node": ">=22.0.0"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public",
18
+ "provenance": true,
19
+ "tag": "next"
20
+ },
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.ts",
24
+ "import": "./dist/index.js"
25
+ },
26
+ "./package.json": "./package.json"
27
+ },
8
28
  "files": [
9
- "index.js"
29
+ "dist",
30
+ "README.md"
10
31
  ],
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/aexhq/extensions.git"
32
+ "scripts": {
33
+ "build": "node ../../tools/clean-dist.mjs && tsc -p tsconfig.json && tsc -p tsconfig.runtime.json && node ../../tools/build-tool-runtime.mjs",
34
+ "test": "npm run build && node --test test/*.test.mjs",
35
+ "prepack": "npm run build"
36
+ },
37
+ "dependencies": {
38
+ "@aexhq/brain": "0.24.4",
39
+ "zod": "4.4.3"
14
40
  },
15
- "aexHoldPlaceholder": {
16
- "stagedVersion": "6.1.3",
17
- "source": "8d915063d80e327b857cd66976902c2ad1d3139a"
41
+ "devDependencies": {
42
+ "@types/node": "^24.3.0",
43
+ "typescript": "^5.9.2"
18
44
  }
19
45
  }
package/index.js DELETED
@@ -1 +0,0 @@
1
- throw new Error("@aexhq/tool-bash has no stable release; install @aexhq/tool-bash@next or an exact version");