toolcraft 0.0.106 → 0.0.107

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
@@ -53,7 +53,7 @@
53
53
  },
54
54
  {
55
55
  "name": "toolcraft",
56
- "version": "0.0.106",
56
+ "version": "0.0.107",
57
57
  "license": "MIT"
58
58
  },
59
59
  {
@@ -63,7 +63,7 @@
63
63
  },
64
64
  {
65
65
  "name": "toolcraft-schema",
66
- "version": "0.0.106",
66
+ "version": "0.0.107",
67
67
  "license": "MIT"
68
68
  }
69
69
  ]
@@ -53,7 +53,7 @@
53
53
  },
54
54
  {
55
55
  "name": "toolcraft",
56
- "version": "0.0.106",
56
+ "version": "0.0.107",
57
57
  "license": "MIT"
58
58
  },
59
59
  {
@@ -63,7 +63,7 @@
63
63
  },
64
64
  {
65
65
  "name": "toolcraft-schema",
66
- "version": "0.0.106",
66
+ "version": "0.0.107",
67
67
  "license": "MIT"
68
68
  }
69
69
  ]
package/dist/index.d.ts CHANGED
@@ -223,7 +223,7 @@ export declare function defineGroup<TServices extends object = EmptyServices, TN
223
223
  }): Group<TServices> & TypedGroupMetadata<TServices, TName, TChildren, TOwnScope, ResolveOwnHumanInLoopMode<TOwnHumanInLoop>>;
224
224
  export declare function getCommandSourcePath(command: Command<any, any, any, any>): string | undefined;
225
225
  export declare function hasMcpProxyConfig(group: Group<any>): boolean;
226
- export { S, toJsonSchema } from "toolcraft-schema";
226
+ export { S, toJsonSchema } from "./schema.js";
227
227
  export { AuthenticationError, BadRequestError, ClientError, ConflictError, HttpError, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, ServerError, ServiceUnavailableError, UnprocessableEntityError, createHttpError } from "./http-errors.js";
228
228
  export type { HttpErrorRequest, HttpErrorResponse } from "./http-errors.js";
229
229
  export { ApprovalDeclinedError, ToolcraftBugError, UserError };
@@ -233,5 +233,5 @@ export type { PackageMetadata } from "./package-metadata.js";
233
233
  export type { FileChangeRendererOptions, FileChangeResult } from "./file-change-renderer.js";
234
234
  export type { FileChange, FileChangeDisplayMode, FileChangeKind } from "toolcraft-design";
235
235
  export type { DiagnosticLogEvent, LogLevel, RuntimeLogger, RuntimeLoggerInput } from "./runtime-logging.js";
236
- export type { AnySchema, ArraySchema, BooleanSchema, EnumSchema, JsonSchema, NumberSchema, ObjectSchema, OptionalSchema, Static, StringSchema } from "toolcraft-schema";
236
+ export type { AnySchema, ArraySchema, BooleanSchema, CliMissingParameterChoice, CliMissingParameterContext, CliMissingParameterResolution, CliOutputMode, CliSchemaOptions, EnumSchema, JsonSchema, JsonSchemaDocument, JsonSchemaDocumentOptions, JsonValue, JsonValueSchema, NumberSchema, ObjectSchema, OneOfSchema, OptionalSchema, RecordSchema, SchemaBase, Static, StringSchema, UnionSchema, ValidationIssue, ValidationResult } from "./schema.js";
237
237
  export type { HumanInLoopConfig, HumanInLoopPending, HumanInLoopRuntimeOptions };
package/dist/index.js CHANGED
@@ -498,7 +498,7 @@ export function hasMcpProxyConfig(group) {
498
498
  const children = config?.children ?? group.children;
499
499
  return children.some((child) => child.kind === "group" && hasMcpProxyConfig(child));
500
500
  }
501
- export { S, toJsonSchema } from "toolcraft-schema";
501
+ export { S, toJsonSchema } from "./schema.js";
502
502
  export { AuthenticationError, BadRequestError, ClientError, ConflictError, HttpError, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, ServerError, ServiceUnavailableError, UnprocessableEntityError, createHttpError } from "./http-errors.js";
503
503
  export { ApprovalDeclinedError, ToolcraftBugError, UserError };
504
504
  export { createRuntimeLogger, isLogLevel, shouldEmitDiagnostic } from "./runtime-logging.js";
@@ -0,0 +1,2 @@
1
+ export { Json, OneOf, Record, S, Union, toJsonSchema, toJsonSchemaDocument, validate } from "toolcraft-schema";
2
+ export type { AnySchema, ArraySchema, BooleanSchema, CliMissingParameterChoice, CliMissingParameterContext, CliMissingParameterResolution, CliOutputMode, CliSchemaOptions, EnumSchema, JsonSchema, JsonSchemaDocument, JsonSchemaDocumentOptions, JsonValue, JsonValueSchema, NumberSchema, ObjectSchema, OneOfSchema, OptionalSchema, RecordSchema, SchemaBase, Static, StringSchema, UnionSchema, ValidationIssue, ValidationResult } from "toolcraft-schema";
package/dist/schema.js ADDED
@@ -0,0 +1 @@
1
+ export { Json, OneOf, Record, S, Union, toJsonSchema, toJsonSchemaDocument, validate } from "toolcraft-schema";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft-schema",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
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.106",
3
+ "version": "0.0.107",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -62,6 +62,10 @@
62
62
  "types": "./dist/sdk.d.ts",
63
63
  "import": "./dist/sdk.js"
64
64
  },
65
+ "./schema": {
66
+ "types": "./dist/schema.d.ts",
67
+ "import": "./dist/schema.js"
68
+ },
65
69
  "./human-in-loop": {
66
70
  "types": "./dist/human-in-loop/index.d.ts",
67
71
  "import": "./dist/human-in-loop/index.js"
@@ -146,7 +150,7 @@
146
150
  "auth-store"
147
151
  ],
148
152
  "optionalDependencies": {
149
- "toolcraft-schema": "0.0.106",
153
+ "toolcraft-schema": "0.0.107",
150
154
  "toolcraft-design": "^0.0.2",
151
155
  "@poe-code/frontmatter": "*",
152
156
  "@poe-code/agent-mcp-config": "*",