@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.
- package/README.md +18 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/runtime/bash.mjs +14552 -0
- package/dist/runtime/registry.json +51 -0
- package/dist/schema.d.ts +9 -0
- package/dist/schema.js +3 -0
- package/package.json +37 -11
- package/index.js +0 -1
|
@@ -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
|
+
}
|
package/dist/schema.d.ts
ADDED
package/dist/schema.js
ADDED
package/package.json
CHANGED
|
@@ -1,19 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aexhq/tool-bash",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"license": "
|
|
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
|
-
"
|
|
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
|
-
"
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md"
|
|
10
31
|
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
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
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
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");
|