@clawos-dev/clawd 0.2.271 → 0.2.273
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/dist/cli.cjs +4 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -7756,7 +7756,7 @@ function isMethodName(name) {
|
|
|
7756
7756
|
function methodArgsSchema(method) {
|
|
7757
7757
|
const doc = METHOD_DOCS[method];
|
|
7758
7758
|
if (!doc.args) return null;
|
|
7759
|
-
const base =
|
|
7759
|
+
const base = zodToJsonSchemaMono(doc.args, { $refStrategy: "none" });
|
|
7760
7760
|
return doc.argsConstraints ? { ...base, ...doc.argsConstraints } : base;
|
|
7761
7761
|
}
|
|
7762
7762
|
function methodArgFields(method) {
|
|
@@ -7766,7 +7766,7 @@ function methodArgFields(method) {
|
|
|
7766
7766
|
const required = new Set(schema.required ?? []);
|
|
7767
7767
|
return Object.keys(props).map((name) => ({ name, required: required.has(name) }));
|
|
7768
7768
|
}
|
|
7769
|
-
var NO_ARGS, MetaMethodsArgs, METHOD_DOCS, METHOD_NAMES, RPC_METHOD_STATUSES, RpcMethodStatusSchema, RpcMethodInfoSchema, MetaMethodsResultSchema;
|
|
7769
|
+
var NO_ARGS, MetaMethodsArgs, METHOD_DOCS, METHOD_NAMES, RPC_METHOD_STATUSES, RpcMethodStatusSchema, RpcMethodInfoSchema, MetaMethodsResultSchema, zodToJsonSchemaMono;
|
|
7770
7770
|
var init_methods = __esm({
|
|
7771
7771
|
"../protocol/src/methods.ts"() {
|
|
7772
7772
|
"use strict";
|
|
@@ -8249,6 +8249,7 @@ var init_methods = __esm({
|
|
|
8249
8249
|
/** METHOD_NAMES 全集,顺序与之一致 */
|
|
8250
8250
|
methods: external_exports.array(RpcMethodInfoSchema)
|
|
8251
8251
|
});
|
|
8252
|
+
zodToJsonSchemaMono = zodToJsonSchema;
|
|
8252
8253
|
}
|
|
8253
8254
|
});
|
|
8254
8255
|
|
|
@@ -57913,7 +57914,7 @@ function computeMethodAccess(args) {
|
|
|
57913
57914
|
}
|
|
57914
57915
|
|
|
57915
57916
|
// src/version.ts
|
|
57916
|
-
var version = "0.2.
|
|
57917
|
+
var version = "0.2.273".length > 0 ? "0.2.273" : "dev";
|
|
57917
57918
|
|
|
57918
57919
|
// src/cli-probe/probe.ts
|
|
57919
57920
|
var fs54 = __toESM(require("fs"), 1);
|