Variable: HarnessDefinitionSchema
Makaio Framework / contracts / HarnessDefinitionSchema
Variable: HarnessDefinitionSchema
Section titled “Variable: HarnessDefinitionSchema”
constHarnessDefinitionSchema: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>
Defined in: ../../../packages/contracts/src/harness/schemas.ts:104
Stored harness definition.
A harness selects tool availability and execution policies for one adapter.
Either adapterName (for API-only adapters) or clientId (for client-scoped
harnesses) must be set; both may be present.