Variable: HarnessSchemas
Makaio Framework / contracts/harness / HarnessSchemas
Variable: HarnessSchemas
Section titled “Variable: HarnessSchemas”
constHarnessSchemas:object
Defined in: ../../../packages/contracts/src/harness/namespace.ts:41
Type Declaration
Section titled “Type Declaration”created
Section titled “created”created:
ZodObject<{adapterName:ZodOptional<ZodString>;approvalPolicy:ZodDefault<ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>;capabilityOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;clientId:ZodOptional<ZodString>;createdAt:ZodNumber;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodDefault<ZodBoolean>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;isDefault:ZodDefault<ZodBoolean>;name:ZodString;nativeTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;registryTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;skills:ZodOptional<ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>>;toolApprovalOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;toolCapabilityMap:ZodOptional<ZodRecord<ZodString,ZodReadonly<ZodArray<ZodEnum<{file.delete:"file.delete";file.read:"file.read";file.write:"file.write";network.request:"network.request";process.manage:"process.manage";search.content:"search.content";search.files:"search.files";search.web:"search.web";shell.execute:"shell.execute"; }>>>>>;updatedAt:ZodNumber; },$strip> =HarnessDefinitionSchema
Emitted after a new harness definition is inserted.
delete
Section titled “delete”delete:
object
delete.request
Section titled “delete.request”request:
ZodObject<{id:ZodString; },$strip>
delete.response
Section titled “delete.response”response:
ZodObject<{success:ZodBoolean; },$strip>
deleted
Section titled “deleted”deleted:
ZodObject<{id:ZodString; },$strip>
Emitted after a harness definition is deleted.
get:
object
get.request
Section titled “get.request”request:
ZodObject<{adapterName:ZodOptional<ZodString>;id:ZodOptional<ZodString>;name:ZodOptional<ZodString>; },$strip>
get.response
Section titled “get.response”response:
ZodObject<{adapterName:ZodOptional<ZodString>;approvalPolicy:ZodDefault<ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>;capabilityOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;clientId:ZodOptional<ZodString>;createdAt:ZodNumber;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodDefault<ZodBoolean>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;isDefault:ZodDefault<ZodBoolean>;name:ZodString;nativeTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;registryTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;skills:ZodOptional<ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>>;toolApprovalOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;toolCapabilityMap:ZodOptional<ZodRecord<ZodString,ZodReadonly<ZodArray<ZodEnum<{file.delete:"file.delete";file.read:"file.read";file.write:"file.write";network.request:"network.request";process.manage:"process.manage";search.content:"search.content";search.files:"search.files";search.web:"search.web";shell.execute:"shell.execute"; }>>>>>;updatedAt:ZodNumber; },$strip> =HarnessDefinitionSchema
getDefault
Section titled “getDefault”getDefault:
object
getDefault.request
Section titled “getDefault.request”request:
ZodObject<{adapterName:ZodOptional<ZodString>;clientId:ZodOptional<ZodString>; },$strip>
getDefault.response
Section titled “getDefault.response”response:
ZodObject<{adapterName:ZodOptional<ZodString>;approvalPolicy:ZodDefault<ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>;capabilityOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;clientId:ZodOptional<ZodString>;createdAt:ZodNumber;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodDefault<ZodBoolean>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;isDefault:ZodDefault<ZodBoolean>;name:ZodString;nativeTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;registryTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;skills:ZodOptional<ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>>;toolApprovalOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;toolCapabilityMap:ZodOptional<ZodRecord<ZodString,ZodReadonly<ZodArray<ZodEnum<{file.delete:"file.delete";file.read:"file.read";file.write:"file.write";network.request:"network.request";process.manage:"process.manage";search.content:"search.content";search.files:"search.files";search.web:"search.web";shell.execute:"shell.execute"; }>>>>>;updatedAt:ZodNumber; },$strip> =HarnessDefinitionSchema
getSchema
Section titled “getSchema”getSchema:
object
getSchema.request
Section titled “getSchema.request”request:
ZodObject<{ },$strip>
getSchema.response
Section titled “getSchema.response”response:
ZodObject<{schema:ZodRecord<ZodString,ZodUnknown>;uiConfig:ZodObject<{editMode:ZodDefault<ZodEnum<{fullPage:"fullPage";inline:"inline";slidePanel:"slidePanel"; }>>;fieldOverrides:ZodOptional<ZodRecord<ZodString,ZodObject<{delimiter:ZodOptional<…>;helpText:ZodOptional<…>;max:ZodOptional<…>;min:ZodOptional<…>;options:ZodOptional<…>;placeholder:ZodOptional<…>;step:ZodOptional<…>;widget:ZodOptional<…>; },$strip>>>;hiddenFields:ZodOptional<ZodArray<ZodString>>;readOnlyInEditMode:ZodOptional<ZodArray<ZodString>>;sections:ZodOptional<ZodArray<ZodObject<{description:ZodOptional<…>;fields:ZodArray<…>;id:ZodString;title:ZodString; },$strip>>>; },$strip>; },$strip>
list:
object
list.request
Section titled “list.request”request:
ZodObject<{adapterName:ZodOptional<ZodString>;clientId:ZodOptional<ZodString>;name:ZodOptional<ZodString>; },$strip>
list.response
Section titled “list.response”response:
ZodObject<{harnesses:ZodArray<ZodObject<{adapterName:ZodOptional<ZodString>;approvalPolicy:ZodDefault<ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>;capabilityOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask: …;full-access: …;reject: …; }>>>;clientId:ZodOptional<ZodString>;createdAt:ZodNumber;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodDefault<ZodBoolean>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;isDefault:ZodDefault<ZodBoolean>;name:ZodString;nativeTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;registryTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;skills:ZodOptional<ZodObject<{disabled:ZodArray<…>;enabled:ZodArray<…>; },$strip>>;toolApprovalOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask: …;full-access: …;reject: …; }>>>;toolCapabilityMap:ZodOptional<ZodRecord<ZodString,ZodReadonly<ZodArray<…>>>>;updatedAt:ZodNumber; },$strip>>; },$strip>
resolve
Section titled “resolve”resolve:
object
resolve.request
Section titled “resolve.request”request:
ZodObject<{adapterName:ZodOptional<ZodString>;clientId:ZodOptional<ZodString>;personaHarnessId:ZodOptional<ZodString>;profileHarnessId:ZodOptional<ZodString>; },$strip>
resolve.response
Section titled “resolve.response”response:
ZodObject<{adapterName:ZodOptional<ZodString>;approvalPolicy:ZodDefault<ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>;capabilityOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;clientId:ZodOptional<ZodString>;createdAt:ZodNumber;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodDefault<ZodBoolean>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;isDefault:ZodDefault<ZodBoolean>;name:ZodString;nativeTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;registryTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;skills:ZodOptional<ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>>;toolApprovalOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;toolCapabilityMap:ZodOptional<ZodRecord<ZodString,ZodReadonly<ZodArray<ZodEnum<{file.delete:"file.delete";file.read:"file.read";file.write:"file.write";network.request:"network.request";process.manage:"process.manage";search.content:"search.content";search.files:"search.files";search.web:"search.web";shell.execute:"shell.execute"; }>>>>>;updatedAt:ZodNumber; },$strip> =HarnessDefinitionSchema
set:
object
set.request
Section titled “set.request”request:
ZodObject<{adapterName:ZodOptional<ZodString>;approvalPolicy:ZodOptional<ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>;capabilityOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;clientId:ZodOptional<ZodString>;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodOptional<ZodBoolean>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;isDefault:ZodOptional<ZodBoolean>;name:ZodString;nativeTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;registryTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;skills:ZodOptional<ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>>;toolApprovalOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;toolCapabilityMap:ZodOptional<ZodRecord<ZodString,ZodReadonly<ZodArray<ZodEnum<{file.delete:"file.delete";file.read:"file.read";file.write:"file.write";network.request:"network.request";process.manage:"process.manage";search.content:"search.content";search.files:"search.files";search.web:"search.web";shell.execute:"shell.execute"; }>>>>>; },$strip> =HarnessDefinitionCreateSchema
set.response
Section titled “set.response”response:
ZodObject<{id:ZodString; },$strip>
updated
Section titled “updated”updated:
ZodObject<{adapterName:ZodOptional<ZodString>;approvalPolicy:ZodDefault<ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>;capabilityOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;clientId:ZodOptional<ZodString>;createdAt:ZodNumber;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodDefault<ZodBoolean>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;isDefault:ZodDefault<ZodBoolean>;name:ZodString;nativeTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;registryTools:ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>;skills:ZodOptional<ZodObject<{disabled:ZodArray<ZodString>;enabled:ZodArray<ZodString>; },$strip>>;toolApprovalOverrides:ZodOptional<ZodRecord<ZodString,ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>>>;toolCapabilityMap:ZodOptional<ZodRecord<ZodString,ZodReadonly<ZodArray<ZodEnum<{file.delete:"file.delete";file.read:"file.read";file.write:"file.write";network.request:"network.request";process.manage:"process.manage";search.content:"search.content";search.files:"search.files";search.web:"search.web";shell.execute:"shell.execute"; }>>>>>;updatedAt:ZodNumber; },$strip> =HarnessDefinitionSchema
Emitted after an existing harness definition is updated.