toolcraft 0.0.111 → 0.0.112

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/composition.json CHANGED
@@ -78,7 +78,7 @@
78
78
  },
79
79
  {
80
80
  "name": "toolcraft",
81
- "version": "0.0.111",
81
+ "version": "0.0.112",
82
82
  "license": "MIT"
83
83
  },
84
84
  {
@@ -88,7 +88,7 @@
88
88
  },
89
89
  {
90
90
  "name": "toolcraft-schema",
91
- "version": "0.0.111",
91
+ "version": "0.0.112",
92
92
  "license": "MIT"
93
93
  }
94
94
  ]
@@ -78,7 +78,7 @@
78
78
  },
79
79
  {
80
80
  "name": "toolcraft",
81
- "version": "0.0.111",
81
+ "version": "0.0.112",
82
82
  "license": "MIT"
83
83
  },
84
84
  {
@@ -88,7 +88,7 @@
88
88
  },
89
89
  {
90
90
  "name": "toolcraft-schema",
91
- "version": "0.0.111",
91
+ "version": "0.0.112",
92
92
  "license": "MIT"
93
93
  }
94
94
  ]
package/dist/mcp.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import "./node-require-shim.js";
1
2
  import { type SDKTransport, type Server as TinyServer } from "tiny-stdio-mcp-server";
2
3
  import type { Group, HandlerFs, LogLevel, RuntimeLoggerInput } from "./index.js";
3
4
  import { type ErrorReportsOption } from "./error-report.js";
package/dist/mcp.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "./node-require-shim.js";
1
2
  import { createServer, JSON_RPC_ERROR_CODES, ToolError } from "tiny-stdio-mcp-server";
2
3
  import { toJsonSchema } from "toolcraft-schema";
3
4
  import { createHttpErrorEnvelope, isHttpErrorLike } from "./api-error-summary.js";
package/dist/sdk.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import "./node-require-shim.js";
1
2
  import type { ObjectSchema, Static } from "toolcraft-schema";
2
3
  import type { Group, HandlerFs, LogLevel, RuntimeLoggerInput, Scope } from "./index.js";
3
4
  import { type ErrorReportsOption } from "./error-report.js";
package/dist/sdk.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "./node-require-shim.js";
1
2
  import { ToolcraftBugError, UserError, assertCommandRequirements, resolveCommandSecrets } from "./index.js";
2
3
  import { writeErrorReport } from "./error-report.js";
3
4
  import { mergeApprovalsGroup } from "./human-in-loop/approvals-commands.js";
@@ -1,8 +1,7 @@
1
1
  import { readdir, readFile } from "node:fs/promises";
2
- import { createRequire } from "node:module";
3
2
  import path from "node:path";
4
- const require = createRequire(import.meta.url);
5
- const createIgnore = require("ignore");
3
+ import ignoreModule from "ignore";
4
+ const createIgnore = ignoreModule;
6
5
  export async function readDockerBuildContextFiles(buildContext) {
7
6
  const rootEntries = await readdir(buildContext, { withFileTypes: true });
8
7
  const dockerignoreEntry = rootEntries.find((entry) => entry.isFile() && String(entry.name) === ".dockerignore");
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft-schema",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -151,7 +151,7 @@
151
151
  "auth-store"
152
152
  ],
153
153
  "optionalDependencies": {
154
- "toolcraft-schema": "0.0.111",
154
+ "toolcraft-schema": "0.0.112",
155
155
  "toolcraft-design": "^0.0.2",
156
156
  "@poe-code/frontmatter": "*",
157
157
  "@poe-code/agent-mcp-config": "*",