@aexhq/tool-write 0.0.0 → 6.1.4

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,9 @@
1
+ import { z } from "zod";
2
+ export declare const inputSchema: z.ZodObject<{
3
+ path: z.ZodString;
4
+ content: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export declare const outputSchema: z.ZodObject<{
7
+ path: z.ZodString;
8
+ bytes: z.ZodNumber;
9
+ }, z.core.$strip>;
package/dist/schema.js ADDED
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export const inputSchema = z.object({ path: z.string().min(1), content: z.string() });
3
+ export const outputSchema = z.object({ path: z.string(), bytes: z.number().int().nonnegative() });
package/package.json CHANGED
@@ -1,19 +1,45 @@
1
1
  {
2
2
  "name": "@aexhq/tool-write",
3
- "version": "0.0.0",
4
- "description": "Reserved package name; no stable release is available.",
5
- "license": "Apache-2.0",
3
+ "version": "6.1.4",
4
+ "description": "Write UTF-8 text to a file in the Environment workspace, creating parent directories.",
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-write"
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.25.1",
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-write has no stable release; install @aexhq/tool-write@next or an exact version");