mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:40:43 +00:00
fix(config): accept clawhub artifact install metadata
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
50967a8b908ac44d36b9730e1ad9f5b52236fe4df57f8bb59b013b91996e494e config-baseline.json
|
||||
c220d069847ced42ecd9b8bf6224598814d5ea28707d225d15722ba604ec1146 config-baseline.core.json
|
||||
cccb796cde08de35674c9229c65dcd15dae6b428ccceeeb1a466eda6a14f67d7 config-baseline.json
|
||||
7b9543e47b15a1c1090f785704caa6becf866cc3d186987c389127a1f740c66a config-baseline.core.json
|
||||
a2a949a99f5cc5960d4d7ae0159b6b48c4d6b1f813be67cda196457ab2f88034 config-baseline.channel.json
|
||||
fffe0e74eab92a88c3c57952a70bc932438ce3a7f5f9982688437f2cdaee0bcb config-baseline.plugin.json
|
||||
|
||||
@@ -21828,6 +21828,39 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
|
||||
},
|
||||
],
|
||||
},
|
||||
artifactKind: {
|
||||
anyOf: [
|
||||
{
|
||||
type: "string",
|
||||
const: "legacy-zip",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
const: "npm-pack",
|
||||
},
|
||||
],
|
||||
},
|
||||
artifactFormat: {
|
||||
anyOf: [
|
||||
{
|
||||
type: "string",
|
||||
const: "zip",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
const: "tgz",
|
||||
},
|
||||
],
|
||||
},
|
||||
npmIntegrity: {
|
||||
type: "string",
|
||||
},
|
||||
npmShasum: {
|
||||
type: "string",
|
||||
},
|
||||
npmTarballName: {
|
||||
type: "string",
|
||||
},
|
||||
clawpackSha256: {
|
||||
type: "string",
|
||||
},
|
||||
|
||||
@@ -29,6 +29,11 @@ export const InstallRecordShape = {
|
||||
clawhubChannel: z
|
||||
.union([z.literal("official"), z.literal("community"), z.literal("private")])
|
||||
.optional(),
|
||||
artifactKind: z.union([z.literal("legacy-zip"), z.literal("npm-pack")]).optional(),
|
||||
artifactFormat: z.union([z.literal("zip"), z.literal("tgz")]).optional(),
|
||||
npmIntegrity: z.string().optional(),
|
||||
npmShasum: z.string().optional(),
|
||||
npmTarballName: z.string().optional(),
|
||||
clawpackSha256: z.string().optional(),
|
||||
clawpackSpecVersion: z.number().int().nonnegative().optional(),
|
||||
clawpackManifestSha256: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user