@kya-os/cli 1.8.3 → 2.0.2

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.
Files changed (1172) hide show
  1. package/README.md +167 -231
  2. package/bin/__tests__/kya-os-shim.e2e.test.js +160 -0
  3. package/bin/__tests__/resolve-binary.test.js +54 -0
  4. package/bin/dco.js +17 -0
  5. package/bin/kya-os.js +135 -0
  6. package/bin/resolve-binary.js +98 -0
  7. package/bin/run-compile.mjs +29 -0
  8. package/dist/sidecar/sidecar/src/conformance/pins.js +54 -0
  9. package/dist/sidecar/sidecar/src/conformance/pins.js.map +1 -0
  10. package/dist/sidecar/sidecar/src/conformance/reference/adapter-helpers.js +117 -0
  11. package/dist/sidecar/sidecar/src/conformance/reference/adapter-helpers.js.map +1 -0
  12. package/dist/sidecar/sidecar/src/conformance/reference/crypto-kit.js +101 -0
  13. package/dist/sidecar/sidecar/src/conformance/reference/crypto-kit.js.map +1 -0
  14. package/dist/sidecar/sidecar/src/conformance/reference/reference-adapter.js +326 -0
  15. package/dist/sidecar/sidecar/src/conformance/reference/reference-adapter.js.map +1 -0
  16. package/dist/sidecar/sidecar/src/conformance/reference/runner.js +126 -0
  17. package/dist/sidecar/sidecar/src/conformance/reference/runner.js.map +1 -0
  18. package/dist/sidecar/sidecar/src/conformance/reference/types.js +40 -0
  19. package/dist/sidecar/sidecar/src/conformance/reference/types.js.map +1 -0
  20. package/dist/sidecar/sidecar/src/daemon.js +151 -0
  21. package/dist/sidecar/sidecar/src/daemon.js.map +1 -0
  22. package/dist/sidecar/sidecar/src/framing.js +36 -0
  23. package/dist/sidecar/sidecar/src/framing.js.map +1 -0
  24. package/dist/sidecar/sidecar/src/identity-manager.js +73 -0
  25. package/dist/sidecar/sidecar/src/identity-manager.js.map +1 -0
  26. package/dist/sidecar/sidecar/src/index.js +80 -0
  27. package/dist/sidecar/sidecar/src/index.js.map +1 -0
  28. package/dist/sidecar/sidecar/src/ops/convert-to-ssh.js +11 -0
  29. package/dist/sidecar/sidecar/src/ops/convert-to-ssh.js.map +1 -0
  30. package/dist/sidecar/sidecar/src/ops/echo.js +5 -0
  31. package/dist/sidecar/sidecar/src/ops/echo.js.map +1 -0
  32. package/dist/sidecar/sidecar/src/ops/ensure-identity.js +36 -0
  33. package/dist/sidecar/sidecar/src/ops/ensure-identity.js.map +1 -0
  34. package/dist/sidecar/sidecar/src/ops/resolve-identity.js +233 -0
  35. package/dist/sidecar/sidecar/src/ops/resolve-identity.js.map +1 -0
  36. package/dist/sidecar/sidecar/src/ops/rotate-identity.js +37 -0
  37. package/dist/sidecar/sidecar/src/ops/rotate-identity.js.map +1 -0
  38. package/dist/sidecar/sidecar/src/ops/run-conformance.js +78 -0
  39. package/dist/sidecar/sidecar/src/ops/run-conformance.js.map +1 -0
  40. package/dist/sidecar/sidecar/src/ops/sign-with-ed25519-seed.js +12 -0
  41. package/dist/sidecar/sidecar/src/ops/sign-with-ed25519-seed.js.map +1 -0
  42. package/dist/sidecar/sidecar/src/ops/sign.js +24 -0
  43. package/dist/sidecar/sidecar/src/ops/sign.js.map +1 -0
  44. package/dist/sidecar/sidecar/src/ops/verify-audit-bundle.js +139 -0
  45. package/dist/sidecar/sidecar/src/ops/verify-audit-bundle.js.map +1 -0
  46. package/dist/sidecar/sidecar/src/ssh-key.js.map +1 -0
  47. package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.d.ts +62 -0
  48. package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.js +92 -0
  49. package/node_modules/@kya-os/contracts/dist/agent-deployment.d.ts +723 -0
  50. package/node_modules/@kya-os/contracts/dist/agent-deployment.js +270 -0
  51. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-schemas.d.ts +49 -0
  52. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-schemas.js +30 -0
  53. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-types.d.ts +37 -0
  54. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-types.js +10 -0
  55. package/node_modules/@kya-os/contracts/dist/agentshield-api/endpoints.d.ts +53 -0
  56. package/node_modules/@kya-os/contracts/dist/agentshield-api/endpoints.js +49 -0
  57. package/node_modules/@kya-os/contracts/dist/agentshield-api/index.d.ts +15 -0
  58. package/node_modules/@kya-os/contracts/dist/agentshield-api/index.js +46 -0
  59. package/node_modules/@kya-os/contracts/dist/agentshield-api/schemas.d.ts +6583 -0
  60. package/node_modules/@kya-os/contracts/dist/agentshield-api/schemas.js +340 -0
  61. package/node_modules/@kya-os/contracts/dist/agentshield-api/types.d.ts +344 -0
  62. package/node_modules/@kya-os/contracts/dist/agentshield-api/types.js +26 -0
  63. package/node_modules/@kya-os/contracts/dist/attribution/index.d.ts +80 -0
  64. package/node_modules/@kya-os/contracts/dist/attribution/index.js +74 -0
  65. package/node_modules/@kya-os/contracts/dist/audit/index.d.ts +147 -0
  66. package/node_modules/@kya-os/contracts/dist/audit/index.js +51 -0
  67. package/node_modules/@kya-os/contracts/dist/cli-read/analyze.d.ts +162 -0
  68. package/node_modules/@kya-os/contracts/dist/cli-read/analyze.js +38 -0
  69. package/node_modules/@kya-os/contracts/dist/cli-read/common.d.ts +70 -0
  70. package/node_modules/@kya-os/contracts/dist/cli-read/common.js +55 -0
  71. package/node_modules/@kya-os/contracts/dist/cli-read/index.d.ts +5 -0
  72. package/node_modules/@kya-os/contracts/dist/cli-read/index.js +21 -0
  73. package/node_modules/@kya-os/contracts/dist/cli-read/monitor.d.ts +241 -0
  74. package/node_modules/@kya-os/contracts/dist/cli-read/monitor.js +70 -0
  75. package/node_modules/@kya-os/contracts/dist/cli-read/projects.d.ts +195 -0
  76. package/node_modules/@kya-os/contracts/dist/cli-read/projects.js +48 -0
  77. package/node_modules/@kya-os/contracts/dist/cli-read/settings.d.ts +274 -0
  78. package/node_modules/@kya-os/contracts/dist/cli-read/settings.js +56 -0
  79. package/node_modules/@kya-os/contracts/dist/cli.d.ts +542 -0
  80. package/node_modules/@kya-os/contracts/dist/cli.js +266 -0
  81. package/node_modules/@kya-os/contracts/dist/compute-binding.d.ts +48 -0
  82. package/node_modules/@kya-os/contracts/dist/compute-binding.js +42 -0
  83. package/node_modules/@kya-os/contracts/dist/compute.d.ts +474 -0
  84. package/node_modules/@kya-os/contracts/dist/compute.js +213 -0
  85. package/node_modules/@kya-os/contracts/dist/config/base.d.ts +76 -0
  86. package/node_modules/@kya-os/contracts/dist/config/base.js +11 -0
  87. package/node_modules/@kya-os/contracts/dist/config/builder.d.ts +33 -0
  88. package/node_modules/@kya-os/contracts/dist/config/builder.js +71 -0
  89. package/node_modules/@kya-os/contracts/dist/config/checkpoint-env.d.ts +25 -0
  90. package/node_modules/@kya-os/contracts/dist/config/checkpoint-env.js +38 -0
  91. package/node_modules/@kya-os/contracts/dist/config/client-messages.d.ts +216 -0
  92. package/node_modules/@kya-os/contracts/dist/config/client-messages.js +50 -0
  93. package/node_modules/@kya-os/contracts/dist/config/delegation-denial.d.ts +14 -0
  94. package/node_modules/@kya-os/contracts/dist/config/delegation-denial.js +30 -0
  95. package/node_modules/@kya-os/contracts/dist/config/delegation.d.ts +194 -0
  96. package/node_modules/@kya-os/contracts/dist/config/delegation.js +10 -0
  97. package/node_modules/@kya-os/contracts/dist/config/identity.d.ts +1164 -0
  98. package/node_modules/@kya-os/contracts/dist/config/identity.js +155 -0
  99. package/node_modules/@kya-os/contracts/dist/config/index.d.ts +45 -0
  100. package/node_modules/@kya-os/contracts/dist/config/index.js +41 -0
  101. package/node_modules/@kya-os/contracts/dist/config/proofing.d.ts +120 -0
  102. package/node_modules/@kya-os/contracts/dist/config/proofing.js +10 -0
  103. package/node_modules/@kya-os/contracts/dist/config/tool-context.d.ts +94 -0
  104. package/node_modules/@kya-os/contracts/dist/config/tool-context.js +13 -0
  105. package/node_modules/@kya-os/contracts/dist/config/tool-protection.d.ts +164 -0
  106. package/node_modules/@kya-os/contracts/dist/config/tool-protection.js +10 -0
  107. package/node_modules/@kya-os/contracts/dist/config/tool-refusal.d.ts +54 -0
  108. package/node_modules/@kya-os/contracts/dist/config/tool-refusal.js +82 -0
  109. package/node_modules/@kya-os/contracts/dist/consent/authorization-progress.d.ts +163 -0
  110. package/node_modules/@kya-os/contracts/dist/consent/authorization-progress.js +42 -0
  111. package/node_modules/@kya-os/contracts/dist/consent/index.d.ts +14 -0
  112. package/node_modules/@kya-os/contracts/dist/consent/index.js +94 -0
  113. package/node_modules/@kya-os/contracts/dist/consent/schemas.d.ts +965 -0
  114. package/node_modules/@kya-os/contracts/dist/consent/schemas.js +335 -0
  115. package/node_modules/@kya-os/contracts/dist/consent/types.d.ts +155 -0
  116. package/node_modules/@kya-os/contracts/dist/consent/types.js +10 -0
  117. package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.d.ts +49 -0
  118. package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.js +235 -0
  119. package/node_modules/@kya-os/contracts/dist/dashboard-config/index.d.ts +10 -0
  120. package/node_modules/@kya-os/contracts/dist/dashboard-config/index.js +37 -0
  121. package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.d.ts +13351 -0
  122. package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.js +267 -0
  123. package/node_modules/@kya-os/contracts/dist/dashboard-config/types.d.ts +359 -0
  124. package/node_modules/@kya-os/contracts/dist/dashboard-config/types.js +10 -0
  125. package/node_modules/@kya-os/contracts/dist/delegation/constraints.d.ts +1021 -0
  126. package/node_modules/@kya-os/contracts/dist/delegation/constraints.js +218 -0
  127. package/node_modules/@kya-os/contracts/dist/delegation/index.d.ts +7 -0
  128. package/node_modules/@kya-os/contracts/dist/delegation/index.js +23 -0
  129. package/node_modules/@kya-os/contracts/dist/delegation/schemas.d.ts +9302 -0
  130. package/node_modules/@kya-os/contracts/dist/delegation/schemas.js +585 -0
  131. package/node_modules/@kya-os/contracts/dist/deploy/index.d.ts +27 -0
  132. package/node_modules/@kya-os/contracts/dist/deploy/index.js +62 -0
  133. package/node_modules/@kya-os/contracts/dist/deploy/schemas.d.ts +1001 -0
  134. package/node_modules/@kya-os/contracts/dist/deploy/schemas.js +284 -0
  135. package/node_modules/@kya-os/contracts/dist/deploy/types.d.ts +256 -0
  136. package/node_modules/@kya-os/contracts/dist/deploy/types.js +10 -0
  137. package/node_modules/@kya-os/contracts/dist/did/index.d.ts +8 -0
  138. package/node_modules/@kya-os/contracts/dist/did/index.js +24 -0
  139. package/node_modules/@kya-os/contracts/dist/did/resolve-contract.d.ts +219 -0
  140. package/node_modules/@kya-os/contracts/dist/did/resolve-contract.js +31 -0
  141. package/node_modules/@kya-os/contracts/dist/did/schemas.d.ts +112 -0
  142. package/node_modules/@kya-os/contracts/dist/did/schemas.js +172 -0
  143. package/node_modules/@kya-os/contracts/dist/did/types.d.ts +163 -0
  144. package/node_modules/@kya-os/contracts/dist/did/types.js +70 -0
  145. package/node_modules/@kya-os/contracts/dist/env/constants.d.ts +57 -0
  146. package/node_modules/@kya-os/contracts/dist/env/constants.js +59 -0
  147. package/node_modules/@kya-os/contracts/dist/env/index.d.ts +4 -0
  148. package/node_modules/@kya-os/contracts/dist/env/index.js +20 -0
  149. package/node_modules/@kya-os/contracts/dist/fleet/index.d.ts +17 -0
  150. package/node_modules/@kya-os/contracts/dist/fleet/index.js +69 -0
  151. package/node_modules/@kya-os/contracts/dist/gateway/agents.d.ts +21 -0
  152. package/node_modules/@kya-os/contracts/dist/gateway/agents.js +12 -0
  153. package/node_modules/@kya-os/contracts/dist/gateway/cron.d.ts +33 -0
  154. package/node_modules/@kya-os/contracts/dist/gateway/cron.js +16 -0
  155. package/node_modules/@kya-os/contracts/dist/gateway/index.d.ts +20 -0
  156. package/node_modules/@kya-os/contracts/dist/gateway/index.js +37 -0
  157. package/node_modules/@kya-os/contracts/dist/gateway/sessions.d.ts +30 -0
  158. package/node_modules/@kya-os/contracts/dist/gateway/sessions.js +15 -0
  159. package/node_modules/@kya-os/contracts/dist/gateway/skills.d.ts +445 -0
  160. package/node_modules/@kya-os/contracts/dist/gateway/skills.js +47 -0
  161. package/node_modules/@kya-os/contracts/dist/gateway/usage.d.ts +43 -0
  162. package/node_modules/@kya-os/contracts/dist/gateway/usage.js +18 -0
  163. package/node_modules/@kya-os/contracts/dist/handshake/github-credential-anchor.d.ts +299 -0
  164. package/node_modules/@kya-os/contracts/dist/handshake/github-credential-anchor.js +200 -0
  165. package/node_modules/@kya-os/contracts/dist/handshake/index.d.ts +16 -0
  166. package/node_modules/@kya-os/contracts/dist/handshake/index.js +32 -0
  167. package/node_modules/@kya-os/contracts/dist/handshake/schemas.d.ts +557 -0
  168. package/node_modules/@kya-os/contracts/dist/handshake/schemas.js +282 -0
  169. package/node_modules/@kya-os/contracts/dist/handshake/verify.d.ts +36 -0
  170. package/node_modules/@kya-os/contracts/dist/handshake/verify.js +58 -0
  171. package/node_modules/@kya-os/contracts/dist/handshake.d.ts +12 -0
  172. package/node_modules/@kya-os/contracts/dist/handshake.js +28 -0
  173. package/node_modules/@kya-os/contracts/dist/identity/index.d.ts +10 -0
  174. package/node_modules/@kya-os/contracts/dist/identity/index.js +30 -0
  175. package/node_modules/@kya-os/contracts/dist/identity/schemas.d.ts +250 -0
  176. package/node_modules/@kya-os/contracts/dist/identity/schemas.js +115 -0
  177. package/node_modules/@kya-os/contracts/dist/index.d.ts +28 -0
  178. package/node_modules/@kya-os/contracts/dist/index.js +66 -0
  179. package/node_modules/@kya-os/contracts/dist/molti/admin-ws.d.ts +1871 -0
  180. package/node_modules/@kya-os/contracts/dist/molti/admin-ws.js +177 -0
  181. package/node_modules/@kya-os/contracts/dist/molti/index.d.ts +30 -0
  182. package/node_modules/@kya-os/contracts/dist/molti/index.js +86 -0
  183. package/node_modules/@kya-os/contracts/dist/molti/schemas.d.ts +837 -0
  184. package/node_modules/@kya-os/contracts/dist/molti/schemas.js +267 -0
  185. package/node_modules/@kya-os/contracts/dist/molti/types.d.ts +216 -0
  186. package/node_modules/@kya-os/contracts/dist/molti/types.js +25 -0
  187. package/node_modules/@kya-os/contracts/dist/pairing/index.d.ts +44 -0
  188. package/node_modules/@kya-os/contracts/dist/pairing/index.js +11 -0
  189. package/node_modules/@kya-os/contracts/dist/policy/index.d.ts +8 -0
  190. package/node_modules/@kya-os/contracts/dist/policy/index.js +41 -0
  191. package/node_modules/@kya-os/contracts/dist/policy/schemas.d.ts +3839 -0
  192. package/node_modules/@kya-os/contracts/dist/policy/schemas.js +424 -0
  193. package/node_modules/@kya-os/contracts/dist/proof/detached-proof.d.ts +476 -0
  194. package/node_modules/@kya-os/contracts/dist/proof/detached-proof.js +116 -0
  195. package/node_modules/@kya-os/contracts/dist/proof/index.d.ts +15 -0
  196. package/node_modules/@kya-os/contracts/dist/proof/index.js +32 -0
  197. package/node_modules/@kya-os/contracts/dist/proof/proof-record.d.ts +837 -0
  198. package/node_modules/@kya-os/contracts/dist/proof/proof-record.js +133 -0
  199. package/node_modules/@kya-os/contracts/dist/proof/signing-spec.d.ts +146 -0
  200. package/node_modules/@kya-os/contracts/dist/proof/signing-spec.js +122 -0
  201. package/node_modules/@kya-os/contracts/dist/proof.d.ts +12 -0
  202. package/node_modules/@kya-os/contracts/dist/proof.js +28 -0
  203. package/node_modules/@kya-os/contracts/dist/registry.d.ts +342 -0
  204. package/node_modules/@kya-os/contracts/dist/registry.js +118 -0
  205. package/node_modules/@kya-os/contracts/dist/reputation/api.d.ts +2866 -0
  206. package/node_modules/@kya-os/contracts/dist/reputation/api.js +397 -0
  207. package/node_modules/@kya-os/contracts/dist/reputation/constants.d.ts +242 -0
  208. package/node_modules/@kya-os/contracts/dist/reputation/constants.js +259 -0
  209. package/node_modules/@kya-os/contracts/dist/reputation/credentials.d.ts +1493 -0
  210. package/node_modules/@kya-os/contracts/dist/reputation/credentials.js +302 -0
  211. package/node_modules/@kya-os/contracts/dist/reputation/index.d.ts +21 -0
  212. package/node_modules/@kya-os/contracts/dist/reputation/index.js +42 -0
  213. package/node_modules/@kya-os/contracts/dist/reputation/interactions.d.ts +146 -0
  214. package/node_modules/@kya-os/contracts/dist/reputation/interactions.js +82 -0
  215. package/node_modules/@kya-os/contracts/dist/reputation/schemas.d.ts +1600 -0
  216. package/node_modules/@kya-os/contracts/dist/reputation/schemas.js +499 -0
  217. package/node_modules/@kya-os/contracts/dist/review/canonicalize.d.ts +87 -0
  218. package/node_modules/@kya-os/contracts/dist/review/canonicalize.js +122 -0
  219. package/node_modules/@kya-os/contracts/dist/review/fix-attestation.d.ts +151 -0
  220. package/node_modules/@kya-os/contracts/dist/review/fix-attestation.js +105 -0
  221. package/node_modules/@kya-os/contracts/dist/review/index.d.ts +9 -0
  222. package/node_modules/@kya-os/contracts/dist/review/index.js +25 -0
  223. package/node_modules/@kya-os/contracts/dist/review/registry.d.ts +349 -0
  224. package/node_modules/@kya-os/contracts/dist/review/registry.js +293 -0
  225. package/node_modules/@kya-os/contracts/dist/review/schemas.d.ts +249 -0
  226. package/node_modules/@kya-os/contracts/dist/review/schemas.js +102 -0
  227. package/node_modules/@kya-os/contracts/dist/review/verify.d.ts +72 -0
  228. package/node_modules/@kya-os/contracts/dist/review/verify.js +111 -0
  229. package/node_modules/@kya-os/contracts/dist/runtime/errors.d.ts +347 -0
  230. package/node_modules/@kya-os/contracts/dist/runtime/errors.js +119 -0
  231. package/node_modules/@kya-os/contracts/dist/runtime/headers.d.ts +87 -0
  232. package/node_modules/@kya-os/contracts/dist/runtime/headers.js +85 -0
  233. package/node_modules/@kya-os/contracts/dist/runtime/index.d.ts +5 -0
  234. package/node_modules/@kya-os/contracts/dist/runtime/index.js +21 -0
  235. package/node_modules/@kya-os/contracts/dist/skills/index.d.ts +8 -0
  236. package/node_modules/@kya-os/contracts/dist/skills/index.js +24 -0
  237. package/node_modules/@kya-os/contracts/dist/skills/schemas.d.ts +92 -0
  238. package/node_modules/@kya-os/contracts/dist/skills/schemas.js +82 -0
  239. package/node_modules/@kya-os/contracts/dist/test.d.ts +251 -0
  240. package/node_modules/@kya-os/contracts/dist/test.js +119 -0
  241. package/node_modules/@kya-os/contracts/dist/tlkrc/index.d.ts +4 -0
  242. package/node_modules/@kya-os/contracts/dist/tlkrc/index.js +20 -0
  243. package/node_modules/@kya-os/contracts/dist/tlkrc/rotation.d.ts +245 -0
  244. package/node_modules/@kya-os/contracts/dist/tlkrc/rotation.js +126 -0
  245. package/node_modules/@kya-os/contracts/dist/tool-protection/index.d.ts +1369 -0
  246. package/node_modules/@kya-os/contracts/dist/tool-protection/index.js +499 -0
  247. package/node_modules/@kya-os/contracts/dist/utils/validation.d.ts +30 -0
  248. package/node_modules/@kya-os/contracts/dist/utils/validation.js +69 -0
  249. package/node_modules/@kya-os/contracts/dist/vault/index.d.ts +9 -0
  250. package/node_modules/@kya-os/contracts/dist/vault/index.js +16 -0
  251. package/node_modules/@kya-os/contracts/dist/vault/schemas.d.ts +71 -0
  252. package/node_modules/@kya-os/contracts/dist/vault/schemas.js +52 -0
  253. package/node_modules/@kya-os/contracts/dist/vault/types.d.ts +15 -0
  254. package/node_modules/@kya-os/contracts/dist/vault/types.js +9 -0
  255. package/node_modules/@kya-os/contracts/dist/vc/index.d.ts +7 -0
  256. package/node_modules/@kya-os/contracts/dist/vc/index.js +23 -0
  257. package/node_modules/@kya-os/contracts/dist/vc/schemas.d.ts +2483 -0
  258. package/node_modules/@kya-os/contracts/dist/vc/schemas.js +224 -0
  259. package/node_modules/@kya-os/contracts/dist/vc/statuslist.d.ts +493 -0
  260. package/node_modules/@kya-os/contracts/dist/vc/statuslist.js +132 -0
  261. package/node_modules/@kya-os/contracts/dist/verifier/index.d.ts +8 -0
  262. package/node_modules/@kya-os/contracts/dist/verifier/index.js +24 -0
  263. package/node_modules/@kya-os/contracts/dist/verifier/schemas.d.ts +216 -0
  264. package/node_modules/@kya-os/contracts/dist/verifier/schemas.js +94 -0
  265. package/node_modules/@kya-os/contracts/dist/verifier.d.ts +11 -0
  266. package/node_modules/@kya-os/contracts/dist/verifier.js +27 -0
  267. package/node_modules/@kya-os/contracts/dist/well-known/index.d.ts +1013 -0
  268. package/node_modules/@kya-os/contracts/dist/well-known/index.js +302 -0
  269. package/node_modules/@kya-os/contracts/dist/workbench/a2a.d.ts +267 -0
  270. package/node_modules/@kya-os/contracts/dist/workbench/a2a.js +124 -0
  271. package/node_modules/@kya-os/contracts/dist/workbench/artifact-bindings.d.ts +1448 -0
  272. package/node_modules/@kya-os/contracts/dist/workbench/artifact-bindings.js +233 -0
  273. package/node_modules/@kya-os/contracts/dist/workbench/cache.d.ts +461 -0
  274. package/node_modules/@kya-os/contracts/dist/workbench/cache.js +165 -0
  275. package/node_modules/@kya-os/contracts/dist/workbench/economics.d.ts +1097 -0
  276. package/node_modules/@kya-os/contracts/dist/workbench/economics.js +87 -0
  277. package/node_modules/@kya-os/contracts/dist/workbench/execution.d.ts +594 -0
  278. package/node_modules/@kya-os/contracts/dist/workbench/execution.js +76 -0
  279. package/node_modules/@kya-os/contracts/dist/workbench/governed.d.ts +4323 -0
  280. package/node_modules/@kya-os/contracts/dist/workbench/governed.js +37 -0
  281. package/node_modules/@kya-os/contracts/dist/workbench/graph-interfaces.d.ts +1330 -0
  282. package/node_modules/@kya-os/contracts/dist/workbench/graph-interfaces.js +302 -0
  283. package/node_modules/@kya-os/contracts/dist/workbench/index.d.ts +17 -0
  284. package/node_modules/@kya-os/contracts/dist/workbench/index.js +33 -0
  285. package/node_modules/@kya-os/contracts/dist/workbench/lead-planner.d.ts +7603 -0
  286. package/node_modules/@kya-os/contracts/dist/workbench/lead-planner.js +20 -0
  287. package/node_modules/@kya-os/contracts/dist/workbench/linear-installation.d.ts +797 -0
  288. package/node_modules/@kya-os/contracts/dist/workbench/linear-installation.js +80 -0
  289. package/node_modules/@kya-os/contracts/dist/workbench/mailbox.d.ts +3245 -0
  290. package/node_modules/@kya-os/contracts/dist/workbench/mailbox.js +475 -0
  291. package/node_modules/@kya-os/contracts/dist/workbench/managed-worker.d.ts +199 -0
  292. package/node_modules/@kya-os/contracts/dist/workbench/managed-worker.js +49 -0
  293. package/node_modules/@kya-os/contracts/dist/workbench/review.d.ts +1585 -0
  294. package/node_modules/@kya-os/contracts/dist/workbench/review.js +84 -0
  295. package/node_modules/@kya-os/contracts/dist/workbench/routing.d.ts +1200 -0
  296. package/node_modules/@kya-os/contracts/dist/workbench/routing.js +93 -0
  297. package/node_modules/@kya-os/contracts/dist/workbench/task-status-projection.d.ts +190 -0
  298. package/node_modules/@kya-os/contracts/dist/workbench/task-status-projection.js +49 -0
  299. package/node_modules/@kya-os/contracts/dist/workbench/tracking.d.ts +3364 -0
  300. package/node_modules/@kya-os/contracts/dist/workbench/tracking.js +221 -0
  301. package/node_modules/@kya-os/contracts/dist/workbench/usage.d.ts +62 -0
  302. package/node_modules/@kya-os/contracts/dist/workbench/usage.js +57 -0
  303. package/node_modules/@kya-os/contracts/package.json +185 -0
  304. package/node_modules/@kya-os/contracts/parity-vectors/delegation-conformance.json +265 -0
  305. package/node_modules/@kya-os/contracts/parity-vectors/did-key.json +134 -0
  306. package/node_modules/@kya-os/contracts/parity-vectors/index.ts +253 -0
  307. package/node_modules/@kya-os/contracts/parity-vectors/scope-matching.json +330 -0
  308. package/node_modules/@kya-os/contracts/parity-vectors/vc-jwt.json +210 -0
  309. package/node_modules/@kya-os/contracts/parity-vectors/workbench/artifact-bindings.v1.json +1005 -0
  310. package/node_modules/@kya-os/contracts/parity-vectors/workbench/graph-interfaces.v1.json +1967 -0
  311. package/node_modules/@kya-os/contracts/parity-vectors/workbench/linear-installation.v1.json +75 -0
  312. package/node_modules/@kya-os/contracts/parity-vectors/workbench/task-status-projection.v1.json +591 -0
  313. package/node_modules/@kya-os/contracts/parity-vectors/workbench/tracker-document-upgrade.v1.json +516 -0
  314. package/node_modules/zod/LICENSE +21 -0
  315. package/node_modules/zod/README.md +208 -0
  316. package/node_modules/zod/dist/cjs/index.js +22 -0
  317. package/node_modules/zod/dist/cjs/package.json +3 -0
  318. package/node_modules/zod/dist/cjs/v3/ZodError.js +137 -0
  319. package/node_modules/zod/dist/cjs/v3/benchmarks/datetime.js +54 -0
  320. package/node_modules/zod/dist/cjs/v3/benchmarks/discriminatedUnion.js +79 -0
  321. package/node_modules/zod/dist/cjs/v3/benchmarks/index.js +59 -0
  322. package/node_modules/zod/dist/cjs/v3/benchmarks/ipv4.js +54 -0
  323. package/node_modules/zod/dist/cjs/v3/benchmarks/object.js +70 -0
  324. package/node_modules/zod/dist/cjs/v3/benchmarks/primitives.js +159 -0
  325. package/node_modules/zod/dist/cjs/v3/benchmarks/realworld.js +56 -0
  326. package/node_modules/zod/dist/cjs/v3/benchmarks/string.js +55 -0
  327. package/node_modules/zod/dist/cjs/v3/benchmarks/union.js +79 -0
  328. package/node_modules/zod/dist/cjs/v3/errors.js +17 -0
  329. package/node_modules/zod/dist/cjs/v3/external.js +22 -0
  330. package/node_modules/zod/dist/cjs/v3/helpers/enumUtil.js +2 -0
  331. package/node_modules/zod/dist/cjs/v3/helpers/errorUtil.js +9 -0
  332. package/node_modules/zod/dist/cjs/v3/helpers/parseUtil.js +124 -0
  333. package/node_modules/zod/dist/cjs/v3/helpers/partialUtil.js +2 -0
  334. package/node_modules/zod/dist/cjs/v3/helpers/typeAliases.js +2 -0
  335. package/node_modules/zod/dist/cjs/v3/helpers/util.js +137 -0
  336. package/node_modules/zod/dist/cjs/v3/index.js +33 -0
  337. package/node_modules/zod/dist/cjs/v3/locales/en.js +109 -0
  338. package/node_modules/zod/dist/cjs/v3/standard-schema.js +2 -0
  339. package/node_modules/zod/dist/cjs/v3/tests/Mocker.js +57 -0
  340. package/node_modules/zod/dist/cjs/v3/types.js +3773 -0
  341. package/node_modules/zod/dist/cjs/v4/classic/checks.js +32 -0
  342. package/node_modules/zod/dist/cjs/v4/classic/coerce.js +47 -0
  343. package/node_modules/zod/dist/cjs/v4/classic/compat.js +63 -0
  344. package/node_modules/zod/dist/cjs/v4/classic/errors.js +67 -0
  345. package/node_modules/zod/dist/cjs/v4/classic/external.js +69 -0
  346. package/node_modules/zod/dist/cjs/v4/classic/index.js +33 -0
  347. package/node_modules/zod/dist/cjs/v4/classic/iso.js +60 -0
  348. package/node_modules/zod/dist/cjs/v4/classic/parse.js +32 -0
  349. package/node_modules/zod/dist/cjs/v4/classic/schemas.js +1100 -0
  350. package/node_modules/zod/dist/cjs/v4/core/api.js +1021 -0
  351. package/node_modules/zod/dist/cjs/v4/core/checks.js +580 -0
  352. package/node_modules/zod/dist/cjs/v4/core/config.js +10 -0
  353. package/node_modules/zod/dist/cjs/v4/core/core.js +63 -0
  354. package/node_modules/zod/dist/cjs/v4/core/doc.js +39 -0
  355. package/node_modules/zod/dist/cjs/v4/core/errors.js +222 -0
  356. package/node_modules/zod/dist/cjs/v4/core/function.js +102 -0
  357. package/node_modules/zod/dist/cjs/v4/core/index.js +44 -0
  358. package/node_modules/zod/dist/cjs/v4/core/json-schema.js +2 -0
  359. package/node_modules/zod/dist/cjs/v4/core/parse.js +87 -0
  360. package/node_modules/zod/dist/cjs/v4/core/regexes.js +103 -0
  361. package/node_modules/zod/dist/cjs/v4/core/registries.js +47 -0
  362. package/node_modules/zod/dist/cjs/v4/core/schemas.js +1719 -0
  363. package/node_modules/zod/dist/cjs/v4/core/standard-schema.js +2 -0
  364. package/node_modules/zod/dist/cjs/v4/core/to-json-schema.js +833 -0
  365. package/node_modules/zod/dist/cjs/v4/core/util.js +537 -0
  366. package/node_modules/zod/dist/cjs/v4/core/versions.js +8 -0
  367. package/node_modules/zod/dist/cjs/v4/core/zsf.js +172 -0
  368. package/node_modules/zod/dist/cjs/v4/index.js +22 -0
  369. package/node_modules/zod/dist/cjs/v4/locales/ar.js +142 -0
  370. package/node_modules/zod/dist/cjs/v4/locales/az.js +141 -0
  371. package/node_modules/zod/dist/cjs/v4/locales/be.js +190 -0
  372. package/node_modules/zod/dist/cjs/v4/locales/ca.js +144 -0
  373. package/node_modules/zod/dist/cjs/v4/locales/cs.js +161 -0
  374. package/node_modules/zod/dist/cjs/v4/locales/de.js +142 -0
  375. package/node_modules/zod/dist/cjs/v4/locales/en.js +145 -0
  376. package/node_modules/zod/dist/cjs/v4/locales/es.js +143 -0
  377. package/node_modules/zod/dist/cjs/v4/locales/fa.js +148 -0
  378. package/node_modules/zod/dist/cjs/v4/locales/fi.js +148 -0
  379. package/node_modules/zod/dist/cjs/v4/locales/fr-CA.js +143 -0
  380. package/node_modules/zod/dist/cjs/v4/locales/fr.js +142 -0
  381. package/node_modules/zod/dist/cjs/v4/locales/he.js +143 -0
  382. package/node_modules/zod/dist/cjs/v4/locales/hu.js +143 -0
  383. package/node_modules/zod/dist/cjs/v4/locales/id.js +142 -0
  384. package/node_modules/zod/dist/cjs/v4/locales/index.js +82 -0
  385. package/node_modules/zod/dist/cjs/v4/locales/it.js +143 -0
  386. package/node_modules/zod/dist/cjs/v4/locales/ja.js +141 -0
  387. package/node_modules/zod/dist/cjs/v4/locales/kh.js +143 -0
  388. package/node_modules/zod/dist/cjs/v4/locales/ko.js +147 -0
  389. package/node_modules/zod/dist/cjs/v4/locales/mk.js +144 -0
  390. package/node_modules/zod/dist/cjs/v4/locales/ms.js +142 -0
  391. package/node_modules/zod/dist/cjs/v4/locales/nl.js +143 -0
  392. package/node_modules/zod/dist/cjs/v4/locales/no.js +142 -0
  393. package/node_modules/zod/dist/cjs/v4/locales/ota.js +143 -0
  394. package/node_modules/zod/dist/cjs/v4/locales/pl.js +143 -0
  395. package/node_modules/zod/dist/cjs/v4/locales/ps.js +148 -0
  396. package/node_modules/zod/dist/cjs/v4/locales/pt.js +142 -0
  397. package/node_modules/zod/dist/cjs/v4/locales/ru.js +190 -0
  398. package/node_modules/zod/dist/cjs/v4/locales/sl.js +143 -0
  399. package/node_modules/zod/dist/cjs/v4/locales/sv.js +144 -0
  400. package/node_modules/zod/dist/cjs/v4/locales/ta.js +143 -0
  401. package/node_modules/zod/dist/cjs/v4/locales/th.js +143 -0
  402. package/node_modules/zod/dist/cjs/v4/locales/tr.js +143 -0
  403. package/node_modules/zod/dist/cjs/v4/locales/ua.js +143 -0
  404. package/node_modules/zod/dist/cjs/v4/locales/ur.js +143 -0
  405. package/node_modules/zod/dist/cjs/v4/locales/vi.js +142 -0
  406. package/node_modules/zod/dist/cjs/v4/locales/zh-CN.js +142 -0
  407. package/node_modules/zod/dist/cjs/v4/locales/zh-TW.js +143 -0
  408. package/node_modules/zod/dist/cjs/v4/mini/checks.js +34 -0
  409. package/node_modules/zod/dist/cjs/v4/mini/coerce.js +47 -0
  410. package/node_modules/zod/dist/cjs/v4/mini/external.js +61 -0
  411. package/node_modules/zod/dist/cjs/v4/mini/index.js +32 -0
  412. package/node_modules/zod/dist/cjs/v4/mini/iso.js +60 -0
  413. package/node_modules/zod/dist/cjs/v4/mini/parse.js +8 -0
  414. package/node_modules/zod/dist/cjs/v4/mini/schemas.js +831 -0
  415. package/node_modules/zod/dist/esm/index.js +3 -0
  416. package/node_modules/zod/dist/esm/package.json +3 -0
  417. package/node_modules/zod/dist/esm/v3/ZodError.js +132 -0
  418. package/node_modules/zod/dist/esm/v3/benchmarks/datetime.js +49 -0
  419. package/node_modules/zod/dist/esm/v3/benchmarks/discriminatedUnion.js +74 -0
  420. package/node_modules/zod/dist/esm/v3/benchmarks/index.js +54 -0
  421. package/node_modules/zod/dist/esm/v3/benchmarks/ipv4.js +49 -0
  422. package/node_modules/zod/dist/esm/v3/benchmarks/object.js +65 -0
  423. package/node_modules/zod/dist/esm/v3/benchmarks/primitives.js +154 -0
  424. package/node_modules/zod/dist/esm/v3/benchmarks/realworld.js +51 -0
  425. package/node_modules/zod/dist/esm/v3/benchmarks/string.js +50 -0
  426. package/node_modules/zod/dist/esm/v3/benchmarks/union.js +74 -0
  427. package/node_modules/zod/dist/esm/v3/errors.js +9 -0
  428. package/node_modules/zod/dist/esm/v3/external.js +6 -0
  429. package/node_modules/zod/dist/esm/v3/helpers/enumUtil.js +1 -0
  430. package/node_modules/zod/dist/esm/v3/helpers/errorUtil.js +6 -0
  431. package/node_modules/zod/dist/esm/v3/helpers/parseUtil.js +109 -0
  432. package/node_modules/zod/dist/esm/v3/helpers/partialUtil.js +1 -0
  433. package/node_modules/zod/dist/esm/v3/helpers/typeAliases.js +1 -0
  434. package/node_modules/zod/dist/esm/v3/helpers/util.js +133 -0
  435. package/node_modules/zod/dist/esm/v3/index.js +4 -0
  436. package/node_modules/zod/dist/esm/v3/locales/en.js +107 -0
  437. package/node_modules/zod/dist/esm/v3/standard-schema.js +1 -0
  438. package/node_modules/zod/dist/esm/v3/tests/Mocker.js +53 -0
  439. package/node_modules/zod/dist/esm/v3/types.js +3691 -0
  440. package/node_modules/zod/dist/esm/v4/classic/checks.js +1 -0
  441. package/node_modules/zod/dist/esm/v4/classic/coerce.js +17 -0
  442. package/node_modules/zod/dist/esm/v4/classic/compat.js +33 -0
  443. package/node_modules/zod/dist/esm/v4/classic/errors.js +41 -0
  444. package/node_modules/zod/dist/esm/v4/classic/external.js +18 -0
  445. package/node_modules/zod/dist/esm/v4/classic/index.js +4 -0
  446. package/node_modules/zod/dist/esm/v4/classic/iso.js +30 -0
  447. package/node_modules/zod/dist/esm/v4/classic/parse.js +6 -0
  448. package/node_modules/zod/dist/esm/v4/classic/schemas.js +998 -0
  449. package/node_modules/zod/dist/esm/v4/core/api.js +889 -0
  450. package/node_modules/zod/dist/esm/v4/core/checks.js +554 -0
  451. package/node_modules/zod/dist/esm/v4/core/config.js +6 -0
  452. package/node_modules/zod/dist/esm/v4/core/core.js +57 -0
  453. package/node_modules/zod/dist/esm/v4/core/doc.js +35 -0
  454. package/node_modules/zod/dist/esm/v4/core/errors.js +191 -0
  455. package/node_modules/zod/dist/esm/v4/core/function.js +75 -0
  456. package/node_modules/zod/dist/esm/v4/core/index.js +15 -0
  457. package/node_modules/zod/dist/esm/v4/core/json-schema.js +1 -0
  458. package/node_modules/zod/dist/esm/v4/core/parse.js +57 -0
  459. package/node_modules/zod/dist/esm/v4/core/regexes.js +95 -0
  460. package/node_modules/zod/dist/esm/v4/core/registries.js +42 -0
  461. package/node_modules/zod/dist/esm/v4/core/schemas.js +1688 -0
  462. package/node_modules/zod/dist/esm/v4/core/standard-schema.js +1 -0
  463. package/node_modules/zod/dist/esm/v4/core/to-json-schema.js +828 -0
  464. package/node_modules/zod/dist/esm/v4/core/util.js +491 -0
  465. package/node_modules/zod/dist/esm/v4/core/versions.js +5 -0
  466. package/node_modules/zod/dist/esm/v4/core/zsf.js +171 -0
  467. package/node_modules/zod/dist/esm/v4/index.js +3 -0
  468. package/node_modules/zod/dist/esm/v4/locales/ar.js +116 -0
  469. package/node_modules/zod/dist/esm/v4/locales/az.js +115 -0
  470. package/node_modules/zod/dist/esm/v4/locales/be.js +164 -0
  471. package/node_modules/zod/dist/esm/v4/locales/ca.js +118 -0
  472. package/node_modules/zod/dist/esm/v4/locales/cs.js +135 -0
  473. package/node_modules/zod/dist/esm/v4/locales/de.js +116 -0
  474. package/node_modules/zod/dist/esm/v4/locales/en.js +117 -0
  475. package/node_modules/zod/dist/esm/v4/locales/es.js +117 -0
  476. package/node_modules/zod/dist/esm/v4/locales/fa.js +122 -0
  477. package/node_modules/zod/dist/esm/v4/locales/fi.js +122 -0
  478. package/node_modules/zod/dist/esm/v4/locales/fr-CA.js +117 -0
  479. package/node_modules/zod/dist/esm/v4/locales/fr.js +116 -0
  480. package/node_modules/zod/dist/esm/v4/locales/he.js +117 -0
  481. package/node_modules/zod/dist/esm/v4/locales/hu.js +117 -0
  482. package/node_modules/zod/dist/esm/v4/locales/id.js +116 -0
  483. package/node_modules/zod/dist/esm/v4/locales/index.js +38 -0
  484. package/node_modules/zod/dist/esm/v4/locales/it.js +117 -0
  485. package/node_modules/zod/dist/esm/v4/locales/ja.js +115 -0
  486. package/node_modules/zod/dist/esm/v4/locales/kh.js +117 -0
  487. package/node_modules/zod/dist/esm/v4/locales/ko.js +121 -0
  488. package/node_modules/zod/dist/esm/v4/locales/mk.js +118 -0
  489. package/node_modules/zod/dist/esm/v4/locales/ms.js +116 -0
  490. package/node_modules/zod/dist/esm/v4/locales/nl.js +117 -0
  491. package/node_modules/zod/dist/esm/v4/locales/no.js +116 -0
  492. package/node_modules/zod/dist/esm/v4/locales/ota.js +117 -0
  493. package/node_modules/zod/dist/esm/v4/locales/pl.js +117 -0
  494. package/node_modules/zod/dist/esm/v4/locales/ps.js +122 -0
  495. package/node_modules/zod/dist/esm/v4/locales/pt.js +116 -0
  496. package/node_modules/zod/dist/esm/v4/locales/ru.js +164 -0
  497. package/node_modules/zod/dist/esm/v4/locales/sl.js +117 -0
  498. package/node_modules/zod/dist/esm/v4/locales/sv.js +118 -0
  499. package/node_modules/zod/dist/esm/v4/locales/ta.js +117 -0
  500. package/node_modules/zod/dist/esm/v4/locales/th.js +117 -0
  501. package/node_modules/zod/dist/esm/v4/locales/tr.js +115 -0
  502. package/node_modules/zod/dist/esm/v4/locales/ua.js +117 -0
  503. package/node_modules/zod/dist/esm/v4/locales/ur.js +117 -0
  504. package/node_modules/zod/dist/esm/v4/locales/vi.js +116 -0
  505. package/node_modules/zod/dist/esm/v4/locales/zh-CN.js +116 -0
  506. package/node_modules/zod/dist/esm/v4/locales/zh-TW.js +117 -0
  507. package/node_modules/zod/dist/esm/v4/mini/checks.js +1 -0
  508. package/node_modules/zod/dist/esm/v4/mini/coerce.js +17 -0
  509. package/node_modules/zod/dist/esm/v4/mini/external.js +13 -0
  510. package/node_modules/zod/dist/esm/v4/mini/index.js +3 -0
  511. package/node_modules/zod/dist/esm/v4/mini/iso.js +30 -0
  512. package/node_modules/zod/dist/esm/v4/mini/parse.js +1 -0
  513. package/node_modules/zod/dist/esm/v4/mini/schemas.js +725 -0
  514. package/node_modules/zod/dist/types/index.d.ts +3 -0
  515. package/node_modules/zod/dist/types/package.json +3 -0
  516. package/node_modules/zod/dist/types/v3/ZodError.d.ts +164 -0
  517. package/node_modules/zod/dist/types/v3/benchmarks/datetime.d.ts +5 -0
  518. package/node_modules/zod/dist/types/v3/benchmarks/discriminatedUnion.d.ts +5 -0
  519. package/node_modules/zod/dist/types/v3/benchmarks/index.d.ts +1 -0
  520. package/node_modules/zod/dist/types/v3/benchmarks/ipv4.d.ts +5 -0
  521. package/node_modules/zod/dist/types/v3/benchmarks/object.d.ts +5 -0
  522. package/node_modules/zod/dist/types/v3/benchmarks/primitives.d.ts +5 -0
  523. package/node_modules/zod/dist/types/v3/benchmarks/realworld.d.ts +5 -0
  524. package/node_modules/zod/dist/types/v3/benchmarks/string.d.ts +5 -0
  525. package/node_modules/zod/dist/types/v3/benchmarks/union.d.ts +5 -0
  526. package/node_modules/zod/dist/types/v3/errors.d.ts +5 -0
  527. package/node_modules/zod/dist/types/v3/external.d.ts +6 -0
  528. package/node_modules/zod/dist/types/v3/helpers/enumUtil.d.ts +8 -0
  529. package/node_modules/zod/dist/types/v3/helpers/errorUtil.d.ts +9 -0
  530. package/node_modules/zod/dist/types/v3/helpers/parseUtil.d.ts +78 -0
  531. package/node_modules/zod/dist/types/v3/helpers/partialUtil.d.ts +8 -0
  532. package/node_modules/zod/dist/types/v3/helpers/typeAliases.d.ts +2 -0
  533. package/node_modules/zod/dist/types/v3/helpers/util.d.ts +85 -0
  534. package/node_modules/zod/dist/types/v3/index.d.ts +4 -0
  535. package/node_modules/zod/dist/types/v3/locales/en.d.ts +3 -0
  536. package/node_modules/zod/dist/types/v3/standard-schema.d.ts +102 -0
  537. package/node_modules/zod/dist/types/v3/tests/Mocker.d.ts +17 -0
  538. package/node_modules/zod/dist/types/v3/types.d.ts +1031 -0
  539. package/node_modules/zod/dist/types/v4/classic/checks.d.ts +1 -0
  540. package/node_modules/zod/dist/types/v4/classic/coerce.d.ts +17 -0
  541. package/node_modules/zod/dist/types/v4/classic/compat.d.ts +48 -0
  542. package/node_modules/zod/dist/types/v4/classic/errors.d.ts +30 -0
  543. package/node_modules/zod/dist/types/v4/classic/external.d.ts +13 -0
  544. package/node_modules/zod/dist/types/v4/classic/index.d.ts +4 -0
  545. package/node_modules/zod/dist/types/v4/classic/iso.d.ts +22 -0
  546. package/node_modules/zod/dist/types/v4/classic/parse.d.ts +23 -0
  547. package/node_modules/zod/dist/types/v4/classic/schemas.d.ts +624 -0
  548. package/node_modules/zod/dist/types/v4/core/api.d.ts +281 -0
  549. package/node_modules/zod/dist/types/v4/core/checks.d.ts +277 -0
  550. package/node_modules/zod/dist/types/v4/core/config.d.ts +9 -0
  551. package/node_modules/zod/dist/types/v4/core/core.d.ts +47 -0
  552. package/node_modules/zod/dist/types/v4/core/doc.d.ts +14 -0
  553. package/node_modules/zod/dist/types/v4/core/errors.d.ts +204 -0
  554. package/node_modules/zod/dist/types/v4/core/function.d.ts +52 -0
  555. package/node_modules/zod/dist/types/v4/core/index.d.ts +15 -0
  556. package/node_modules/zod/dist/types/v4/core/json-schema.d.ts +87 -0
  557. package/node_modules/zod/dist/types/v4/core/parse.d.ts +25 -0
  558. package/node_modules/zod/dist/types/v4/core/regexes.d.ts +62 -0
  559. package/node_modules/zod/dist/types/v4/core/registries.d.ts +39 -0
  560. package/node_modules/zod/dist/types/v4/core/schemas.d.ts +1005 -0
  561. package/node_modules/zod/dist/types/v4/core/standard-schema.d.ts +55 -0
  562. package/node_modules/zod/dist/types/v4/core/to-json-schema.d.ts +84 -0
  563. package/node_modules/zod/dist/types/v4/core/util.d.ts +183 -0
  564. package/node_modules/zod/dist/types/v4/core/versions.d.ts +5 -0
  565. package/node_modules/zod/dist/types/v4/core/zsf.d.ts +91 -0
  566. package/node_modules/zod/dist/types/v4/index.d.ts +3 -0
  567. package/node_modules/zod/dist/types/v4/locales/ar.d.ts +4 -0
  568. package/node_modules/zod/dist/types/v4/locales/az.d.ts +4 -0
  569. package/node_modules/zod/dist/types/v4/locales/be.d.ts +4 -0
  570. package/node_modules/zod/dist/types/v4/locales/ca.d.ts +4 -0
  571. package/node_modules/zod/dist/types/v4/locales/cs.d.ts +4 -0
  572. package/node_modules/zod/dist/types/v4/locales/de.d.ts +4 -0
  573. package/node_modules/zod/dist/types/v4/locales/en.d.ts +5 -0
  574. package/node_modules/zod/dist/types/v4/locales/es.d.ts +4 -0
  575. package/node_modules/zod/dist/types/v4/locales/fa.d.ts +4 -0
  576. package/node_modules/zod/dist/types/v4/locales/fi.d.ts +4 -0
  577. package/node_modules/zod/dist/types/v4/locales/fr-CA.d.ts +4 -0
  578. package/node_modules/zod/dist/types/v4/locales/fr.d.ts +4 -0
  579. package/node_modules/zod/dist/types/v4/locales/he.d.ts +4 -0
  580. package/node_modules/zod/dist/types/v4/locales/hu.d.ts +4 -0
  581. package/node_modules/zod/dist/types/v4/locales/id.d.ts +4 -0
  582. package/node_modules/zod/dist/types/v4/locales/index.d.ts +38 -0
  583. package/node_modules/zod/dist/types/v4/locales/it.d.ts +4 -0
  584. package/node_modules/zod/dist/types/v4/locales/ja.d.ts +4 -0
  585. package/node_modules/zod/dist/types/v4/locales/kh.d.ts +4 -0
  586. package/node_modules/zod/dist/types/v4/locales/ko.d.ts +4 -0
  587. package/node_modules/zod/dist/types/v4/locales/mk.d.ts +4 -0
  588. package/node_modules/zod/dist/types/v4/locales/ms.d.ts +4 -0
  589. package/node_modules/zod/dist/types/v4/locales/nl.d.ts +4 -0
  590. package/node_modules/zod/dist/types/v4/locales/no.d.ts +4 -0
  591. package/node_modules/zod/dist/types/v4/locales/ota.d.ts +4 -0
  592. package/node_modules/zod/dist/types/v4/locales/pl.d.ts +4 -0
  593. package/node_modules/zod/dist/types/v4/locales/ps.d.ts +4 -0
  594. package/node_modules/zod/dist/types/v4/locales/pt.d.ts +4 -0
  595. package/node_modules/zod/dist/types/v4/locales/ru.d.ts +4 -0
  596. package/node_modules/zod/dist/types/v4/locales/sl.d.ts +4 -0
  597. package/node_modules/zod/dist/types/v4/locales/sv.d.ts +4 -0
  598. package/node_modules/zod/dist/types/v4/locales/ta.d.ts +4 -0
  599. package/node_modules/zod/dist/types/v4/locales/th.d.ts +4 -0
  600. package/node_modules/zod/dist/types/v4/locales/tr.d.ts +5 -0
  601. package/node_modules/zod/dist/types/v4/locales/ua.d.ts +4 -0
  602. package/node_modules/zod/dist/types/v4/locales/ur.d.ts +4 -0
  603. package/node_modules/zod/dist/types/v4/locales/vi.d.ts +4 -0
  604. package/node_modules/zod/dist/types/v4/locales/zh-CN.d.ts +4 -0
  605. package/node_modules/zod/dist/types/v4/locales/zh-TW.d.ts +4 -0
  606. package/node_modules/zod/dist/types/v4/mini/checks.d.ts +1 -0
  607. package/node_modules/zod/dist/types/v4/mini/coerce.d.ts +7 -0
  608. package/node_modules/zod/dist/types/v4/mini/external.d.ts +11 -0
  609. package/node_modules/zod/dist/types/v4/mini/index.d.ts +3 -0
  610. package/node_modules/zod/dist/types/v4/mini/iso.d.ts +22 -0
  611. package/node_modules/zod/dist/types/v4/mini/parse.d.ts +1 -0
  612. package/node_modules/zod/dist/types/v4/mini/schemas.d.ts +351 -0
  613. package/node_modules/zod/package.json +120 -0
  614. package/node_modules/zod/v3/index.d.ts +3 -0
  615. package/node_modules/zod/v3/index.js +1 -0
  616. package/node_modules/zod/v4/core/index.d.ts +1 -0
  617. package/node_modules/zod/v4/core/index.js +1 -0
  618. package/node_modules/zod/v4/index.d.ts +3 -0
  619. package/node_modules/zod/v4/index.js +1 -0
  620. package/node_modules/zod/v4/locales/en.d.ts +2 -0
  621. package/node_modules/zod/v4/locales/en.js +2 -0
  622. package/node_modules/zod/v4/locales/index.d.ts +1 -0
  623. package/node_modules/zod/v4/locales/index.js +1 -0
  624. package/node_modules/zod/v4-mini/index.d.ts +1 -0
  625. package/node_modules/zod/v4-mini/index.js +1 -0
  626. package/package.json +30 -44
  627. package/skills/fix/INSTRUCTIONS.md +40 -0
  628. package/skills/fix/skill.json +8 -0
  629. package/skills/review/INSTRUCTIONS.md +49 -0
  630. package/skills/review/skill.json +8 -0
  631. package/dist/commands/agent.d.ts +0 -35
  632. package/dist/commands/agent.d.ts.map +0 -1
  633. package/dist/commands/agent.js +0 -321
  634. package/dist/commands/agent.js.map +0 -1
  635. package/dist/commands/build.d.ts +0 -5
  636. package/dist/commands/build.d.ts.map +0 -1
  637. package/dist/commands/build.js +0 -173
  638. package/dist/commands/build.js.map +0 -1
  639. package/dist/commands/check.d.ts +0 -6
  640. package/dist/commands/check.d.ts.map +0 -1
  641. package/dist/commands/check.js +0 -145
  642. package/dist/commands/check.js.map +0 -1
  643. package/dist/commands/checkpoint-init.d.ts +0 -32
  644. package/dist/commands/checkpoint-init.d.ts.map +0 -1
  645. package/dist/commands/checkpoint-init.js +0 -521
  646. package/dist/commands/checkpoint-init.js.map +0 -1
  647. package/dist/commands/claim.d.ts +0 -22
  648. package/dist/commands/claim.d.ts.map +0 -1
  649. package/dist/commands/claim.js +0 -315
  650. package/dist/commands/claim.js.map +0 -1
  651. package/dist/commands/dco.d.ts +0 -77
  652. package/dist/commands/dco.d.ts.map +0 -1
  653. package/dist/commands/dco.js +0 -382
  654. package/dist/commands/dco.js.map +0 -1
  655. package/dist/commands/demo.d.ts +0 -10
  656. package/dist/commands/demo.d.ts.map +0 -1
  657. package/dist/commands/demo.js +0 -584
  658. package/dist/commands/demo.js.map +0 -1
  659. package/dist/commands/dev.d.ts +0 -5
  660. package/dist/commands/dev.d.ts.map +0 -1
  661. package/dist/commands/dev.js +0 -77
  662. package/dist/commands/dev.js.map +0 -1
  663. package/dist/commands/doctor.d.ts +0 -11
  664. package/dist/commands/doctor.d.ts.map +0 -1
  665. package/dist/commands/doctor.js +0 -524
  666. package/dist/commands/doctor.js.map +0 -1
  667. package/dist/commands/env.d.ts +0 -2
  668. package/dist/commands/env.d.ts.map +0 -1
  669. package/dist/commands/env.js +0 -320
  670. package/dist/commands/env.js.map +0 -1
  671. package/dist/commands/identity.d.ts +0 -14
  672. package/dist/commands/identity.d.ts.map +0 -1
  673. package/dist/commands/identity.js +0 -204
  674. package/dist/commands/identity.js.map +0 -1
  675. package/dist/commands/init-stages.d.ts +0 -141
  676. package/dist/commands/init-stages.d.ts.map +0 -1
  677. package/dist/commands/init-stages.js +0 -684
  678. package/dist/commands/init-stages.js.map +0 -1
  679. package/dist/commands/init.d.ts +0 -51
  680. package/dist/commands/init.d.ts.map +0 -1
  681. package/dist/commands/init.js +0 -270
  682. package/dist/commands/init.js.map +0 -1
  683. package/dist/commands/orchestrator.d.ts +0 -18
  684. package/dist/commands/orchestrator.d.ts.map +0 -1
  685. package/dist/commands/orchestrator.js +0 -251
  686. package/dist/commands/orchestrator.js.map +0 -1
  687. package/dist/commands/receipts.d.ts +0 -22
  688. package/dist/commands/receipts.d.ts.map +0 -1
  689. package/dist/commands/receipts.js +0 -189
  690. package/dist/commands/receipts.js.map +0 -1
  691. package/dist/commands/register.d.ts +0 -34
  692. package/dist/commands/register.d.ts.map +0 -1
  693. package/dist/commands/register.js +0 -463
  694. package/dist/commands/register.js.map +0 -1
  695. package/dist/commands/review.d.ts +0 -48
  696. package/dist/commands/review.d.ts.map +0 -1
  697. package/dist/commands/review.js +0 -220
  698. package/dist/commands/review.js.map +0 -1
  699. package/dist/commands/rotate.d.ts +0 -13
  700. package/dist/commands/rotate.d.ts.map +0 -1
  701. package/dist/commands/rotate.js +0 -167
  702. package/dist/commands/rotate.js.map +0 -1
  703. package/dist/commands/score.d.ts +0 -15
  704. package/dist/commands/score.d.ts.map +0 -1
  705. package/dist/commands/score.js +0 -471
  706. package/dist/commands/score.js.map +0 -1
  707. package/dist/commands/start.d.ts +0 -5
  708. package/dist/commands/start.d.ts.map +0 -1
  709. package/dist/commands/start.js +0 -129
  710. package/dist/commands/start.js.map +0 -1
  711. package/dist/commands/status.d.ts +0 -9
  712. package/dist/commands/status.d.ts.map +0 -1
  713. package/dist/commands/status.js +0 -199
  714. package/dist/commands/status.js.map +0 -1
  715. package/dist/commands/verify.d.ts +0 -22
  716. package/dist/commands/verify.d.ts.map +0 -1
  717. package/dist/commands/verify.js +0 -491
  718. package/dist/commands/verify.js.map +0 -1
  719. package/dist/components/agent-avatar.d.ts +0 -87
  720. package/dist/components/agent-avatar.d.ts.map +0 -1
  721. package/dist/components/agent-avatar.js +0 -257
  722. package/dist/components/agent-avatar.js.map +0 -1
  723. package/dist/components/agent-card.d.ts +0 -14
  724. package/dist/components/agent-card.d.ts.map +0 -1
  725. package/dist/components/agent-card.js +0 -167
  726. package/dist/components/agent-card.js.map +0 -1
  727. package/dist/components/agent-table.d.ts +0 -31
  728. package/dist/components/agent-table.d.ts.map +0 -1
  729. package/dist/components/agent-table.js +0 -341
  730. package/dist/components/agent-table.js.map +0 -1
  731. package/dist/components/box.d.ts +0 -14
  732. package/dist/components/box.d.ts.map +0 -1
  733. package/dist/components/box.js +0 -222
  734. package/dist/components/box.js.map +0 -1
  735. package/dist/components/claim-experience.d.ts +0 -21
  736. package/dist/components/claim-experience.d.ts.map +0 -1
  737. package/dist/components/claim-experience.js +0 -138
  738. package/dist/components/claim-experience.js.map +0 -1
  739. package/dist/components/index.d.ts +0 -17
  740. package/dist/components/index.d.ts.map +0 -1
  741. package/dist/components/index.js +0 -18
  742. package/dist/components/index.js.map +0 -1
  743. package/dist/components/messages.d.ts +0 -62
  744. package/dist/components/messages.d.ts.map +0 -1
  745. package/dist/components/messages.js +0 -146
  746. package/dist/components/messages.js.map +0 -1
  747. package/dist/components/types.d.ts +0 -51
  748. package/dist/components/types.d.ts.map +0 -1
  749. package/dist/components/types.js +0 -5
  750. package/dist/components/types.js.map +0 -1
  751. package/dist/components/welcome.d.ts +0 -46
  752. package/dist/components/welcome.d.ts.map +0 -1
  753. package/dist/components/welcome.js +0 -182
  754. package/dist/components/welcome.js.map +0 -1
  755. package/dist/dco.d.ts +0 -4
  756. package/dist/dco.d.ts.map +0 -1
  757. package/dist/dco.js +0 -23
  758. package/dist/dco.js.map +0 -1
  759. package/dist/effects/animation-engine.d.ts +0 -173
  760. package/dist/effects/animation-engine.d.ts.map +0 -1
  761. package/dist/effects/animation-engine.js +0 -254
  762. package/dist/effects/animation-engine.js.map +0 -1
  763. package/dist/effects/cli-integration.d.ts +0 -86
  764. package/dist/effects/cli-integration.d.ts.map +0 -1
  765. package/dist/effects/cli-integration.js +0 -310
  766. package/dist/effects/cli-integration.js.map +0 -1
  767. package/dist/effects/config.d.ts +0 -95
  768. package/dist/effects/config.d.ts.map +0 -1
  769. package/dist/effects/config.js +0 -216
  770. package/dist/effects/config.js.map +0 -1
  771. package/dist/effects/effect-runner.d.ts +0 -69
  772. package/dist/effects/effect-runner.d.ts.map +0 -1
  773. package/dist/effects/effect-runner.js +0 -255
  774. package/dist/effects/effect-runner.js.map +0 -1
  775. package/dist/effects/gradient.d.ts +0 -131
  776. package/dist/effects/gradient.d.ts.map +0 -1
  777. package/dist/effects/gradient.js +0 -236
  778. package/dist/effects/gradient.js.map +0 -1
  779. package/dist/effects/implementations/beams.d.ts +0 -80
  780. package/dist/effects/implementations/beams.d.ts.map +0 -1
  781. package/dist/effects/implementations/beams.js +0 -221
  782. package/dist/effects/implementations/beams.js.map +0 -1
  783. package/dist/effects/implementations/blackhole.d.ts +0 -98
  784. package/dist/effects/implementations/blackhole.d.ts.map +0 -1
  785. package/dist/effects/implementations/blackhole.js +0 -421
  786. package/dist/effects/implementations/blackhole.js.map +0 -1
  787. package/dist/effects/implementations/burn.d.ts +0 -74
  788. package/dist/effects/implementations/burn.d.ts.map +0 -1
  789. package/dist/effects/implementations/burn.js +0 -234
  790. package/dist/effects/implementations/burn.js.map +0 -1
  791. package/dist/effects/implementations/decrypt.d.ts +0 -115
  792. package/dist/effects/implementations/decrypt.d.ts.map +0 -1
  793. package/dist/effects/implementations/decrypt.js +0 -394
  794. package/dist/effects/implementations/decrypt.js.map +0 -1
  795. package/dist/effects/implementations/waves.d.ts +0 -78
  796. package/dist/effects/implementations/waves.d.ts.map +0 -1
  797. package/dist/effects/implementations/waves.js +0 -278
  798. package/dist/effects/implementations/waves.js.map +0 -1
  799. package/dist/effects/index.d.ts +0 -34
  800. package/dist/effects/index.d.ts.map +0 -1
  801. package/dist/effects/index.js +0 -114
  802. package/dist/effects/index.js.map +0 -1
  803. package/dist/effects/motion-engine.d.ts +0 -168
  804. package/dist/effects/motion-engine.d.ts.map +0 -1
  805. package/dist/effects/motion-engine.js +0 -353
  806. package/dist/effects/motion-engine.js.map +0 -1
  807. package/dist/effects/safe-executor.d.ts +0 -55
  808. package/dist/effects/safe-executor.d.ts.map +0 -1
  809. package/dist/effects/safe-executor.js +0 -210
  810. package/dist/effects/safe-executor.js.map +0 -1
  811. package/dist/effects/types.d.ts +0 -199
  812. package/dist/effects/types.d.ts.map +0 -1
  813. package/dist/effects/types.js +0 -80
  814. package/dist/effects/types.js.map +0 -1
  815. package/dist/effects/utils.d.ts +0 -104
  816. package/dist/effects/utils.d.ts.map +0 -1
  817. package/dist/effects/utils.js +0 -280
  818. package/dist/effects/utils.js.map +0 -1
  819. package/dist/index.d.ts +0 -4
  820. package/dist/index.js +0 -261
  821. package/dist/orchestrator/daemon.d.ts +0 -137
  822. package/dist/orchestrator/daemon.d.ts.map +0 -1
  823. package/dist/orchestrator/daemon.js +0 -242
  824. package/dist/orchestrator/daemon.js.map +0 -1
  825. package/dist/orchestrator/db/dispatches.d.ts +0 -108
  826. package/dist/orchestrator/db/dispatches.d.ts.map +0 -1
  827. package/dist/orchestrator/db/dispatches.js +0 -122
  828. package/dist/orchestrator/db/dispatches.js.map +0 -1
  829. package/dist/orchestrator/db/index.d.ts +0 -50
  830. package/dist/orchestrator/db/index.d.ts.map +0 -1
  831. package/dist/orchestrator/db/index.js +0 -116
  832. package/dist/orchestrator/db/index.js.map +0 -1
  833. package/dist/orchestrator/db/journal.d.ts +0 -93
  834. package/dist/orchestrator/db/journal.d.ts.map +0 -1
  835. package/dist/orchestrator/db/journal.js +0 -91
  836. package/dist/orchestrator/db/journal.js.map +0 -1
  837. package/dist/orchestrator/db/liveness.d.ts +0 -97
  838. package/dist/orchestrator/db/liveness.d.ts.map +0 -1
  839. package/dist/orchestrator/db/liveness.js +0 -105
  840. package/dist/orchestrator/db/liveness.js.map +0 -1
  841. package/dist/orchestrator/db/mission.d.ts +0 -78
  842. package/dist/orchestrator/db/mission.d.ts.map +0 -1
  843. package/dist/orchestrator/db/mission.js +0 -99
  844. package/dist/orchestrator/db/mission.js.map +0 -1
  845. package/dist/orchestrator/db/schema.d.ts +0 -14
  846. package/dist/orchestrator/db/schema.d.ts.map +0 -1
  847. package/dist/orchestrator/db/schema.js +0 -169
  848. package/dist/orchestrator/db/schema.js.map +0 -1
  849. package/dist/orchestrator/db/tickets.d.ts +0 -147
  850. package/dist/orchestrator/db/tickets.d.ts.map +0 -1
  851. package/dist/orchestrator/db/tickets.js +0 -238
  852. package/dist/orchestrator/db/tickets.js.map +0 -1
  853. package/dist/orchestrator/db/verdicts.d.ts +0 -187
  854. package/dist/orchestrator/db/verdicts.d.ts.map +0 -1
  855. package/dist/orchestrator/db/verdicts.js +0 -197
  856. package/dist/orchestrator/db/verdicts.js.map +0 -1
  857. package/dist/orchestrator/events.d.ts +0 -69
  858. package/dist/orchestrator/events.d.ts.map +0 -1
  859. package/dist/orchestrator/events.js +0 -20
  860. package/dist/orchestrator/events.js.map +0 -1
  861. package/dist/orchestrator/github-credential-anchor-sender.d.ts +0 -159
  862. package/dist/orchestrator/github-credential-anchor-sender.d.ts.map +0 -1
  863. package/dist/orchestrator/github-credential-anchor-sender.js +0 -313
  864. package/dist/orchestrator/github-credential-anchor-sender.js.map +0 -1
  865. package/dist/orchestrator/hub-dispatch.d.ts +0 -120
  866. package/dist/orchestrator/hub-dispatch.d.ts.map +0 -1
  867. package/dist/orchestrator/hub-dispatch.js +0 -257
  868. package/dist/orchestrator/hub-dispatch.js.map +0 -1
  869. package/dist/orchestrator/hub-observer.d.ts +0 -201
  870. package/dist/orchestrator/hub-observer.d.ts.map +0 -1
  871. package/dist/orchestrator/hub-observer.js +0 -474
  872. package/dist/orchestrator/hub-observer.js.map +0 -1
  873. package/dist/orchestrator/journal-writer.d.ts +0 -80
  874. package/dist/orchestrator/journal-writer.d.ts.map +0 -1
  875. package/dist/orchestrator/journal-writer.js +0 -113
  876. package/dist/orchestrator/journal-writer.js.map +0 -1
  877. package/dist/orchestrator/mcp/server.d.ts +0 -136
  878. package/dist/orchestrator/mcp/server.d.ts.map +0 -1
  879. package/dist/orchestrator/mcp/server.js +0 -582
  880. package/dist/orchestrator/mcp/server.js.map +0 -1
  881. package/dist/orchestrator/mcp/stdio.d.ts +0 -22
  882. package/dist/orchestrator/mcp/stdio.d.ts.map +0 -1
  883. package/dist/orchestrator/mcp/stdio.js +0 -51
  884. package/dist/orchestrator/mcp/stdio.js.map +0 -1
  885. package/dist/orchestrator/review.d.ts +0 -131
  886. package/dist/orchestrator/review.d.ts.map +0 -1
  887. package/dist/orchestrator/review.js +0 -322
  888. package/dist/orchestrator/review.js.map +0 -1
  889. package/dist/tui/app.d.ts +0 -33
  890. package/dist/tui/app.d.ts.map +0 -1
  891. package/dist/tui/app.js +0 -71
  892. package/dist/tui/app.js.map +0 -1
  893. package/dist/tui/components.d.ts +0 -110
  894. package/dist/tui/components.d.ts.map +0 -1
  895. package/dist/tui/components.js +0 -118
  896. package/dist/tui/components.js.map +0 -1
  897. package/dist/tui/index.d.ts +0 -30
  898. package/dist/tui/index.d.ts.map +0 -1
  899. package/dist/tui/index.js +0 -95
  900. package/dist/tui/index.js.map +0 -1
  901. package/dist/tui/keymap.d.ts +0 -33
  902. package/dist/tui/keymap.d.ts.map +0 -1
  903. package/dist/tui/keymap.js +0 -49
  904. package/dist/tui/keymap.js.map +0 -1
  905. package/dist/tui/nav.d.ts +0 -29
  906. package/dist/tui/nav.d.ts.map +0 -1
  907. package/dist/tui/nav.js +0 -39
  908. package/dist/tui/nav.js.map +0 -1
  909. package/dist/tui/sanitize.d.ts +0 -25
  910. package/dist/tui/sanitize.d.ts.map +0 -1
  911. package/dist/tui/sanitize.js +0 -36
  912. package/dist/tui/sanitize.js.map +0 -1
  913. package/dist/tui/theme.d.ts +0 -32
  914. package/dist/tui/theme.d.ts.map +0 -1
  915. package/dist/tui/theme.js +0 -63
  916. package/dist/tui/theme.js.map +0 -1
  917. package/dist/tui/views/agents.d.ts +0 -67
  918. package/dist/tui/views/agents.d.ts.map +0 -1
  919. package/dist/tui/views/agents.js +0 -231
  920. package/dist/tui/views/agents.js.map +0 -1
  921. package/dist/tui/views/index.d.ts +0 -93
  922. package/dist/tui/views/index.d.ts.map +0 -1
  923. package/dist/tui/views/index.js +0 -150
  924. package/dist/tui/views/index.js.map +0 -1
  925. package/dist/tui/views/registry.d.ts +0 -22
  926. package/dist/tui/views/registry.d.ts.map +0 -1
  927. package/dist/tui/views/registry.js +0 -110
  928. package/dist/tui/views/registry.js.map +0 -1
  929. package/dist/utils/agent/backoff.d.ts +0 -31
  930. package/dist/utils/agent/backoff.d.ts.map +0 -1
  931. package/dist/utils/agent/backoff.js +0 -51
  932. package/dist/utils/agent/backoff.js.map +0 -1
  933. package/dist/utils/agent/markers.d.ts +0 -87
  934. package/dist/utils/agent/markers.d.ts.map +0 -1
  935. package/dist/utils/agent/markers.js +0 -147
  936. package/dist/utils/agent/markers.js.map +0 -1
  937. package/dist/utils/agent/review.d.ts +0 -67
  938. package/dist/utils/agent/review.d.ts.map +0 -1
  939. package/dist/utils/agent/review.js +0 -305
  940. package/dist/utils/agent/review.js.map +0 -1
  941. package/dist/utils/agent/spawn-agent.d.ts +0 -117
  942. package/dist/utils/agent/spawn-agent.d.ts.map +0 -1
  943. package/dist/utils/agent/spawn-agent.js +0 -177
  944. package/dist/utils/agent/spawn-agent.js.map +0 -1
  945. package/dist/utils/agent/task.d.ts +0 -101
  946. package/dist/utils/agent/task.d.ts.map +0 -1
  947. package/dist/utils/agent/task.js +0 -357
  948. package/dist/utils/agent/task.js.map +0 -1
  949. package/dist/utils/agent/verify.d.ts +0 -47
  950. package/dist/utils/agent/verify.d.ts.map +0 -1
  951. package/dist/utils/agent/verify.js +0 -144
  952. package/dist/utils/agent/verify.js.map +0 -1
  953. package/dist/utils/agent-detector.d.ts +0 -48
  954. package/dist/utils/agent-detector.d.ts.map +0 -1
  955. package/dist/utils/agent-detector.js +0 -74
  956. package/dist/utils/agent-detector.js.map +0 -1
  957. package/dist/utils/agent-profile-stage.d.ts +0 -70
  958. package/dist/utils/agent-profile-stage.d.ts.map +0 -1
  959. package/dist/utils/agent-profile-stage.js +0 -153
  960. package/dist/utils/agent-profile-stage.js.map +0 -1
  961. package/dist/utils/agent-profiles.d.ts +0 -27
  962. package/dist/utils/agent-profiles.d.ts.map +0 -1
  963. package/dist/utils/agent-profiles.js +0 -61
  964. package/dist/utils/agent-profiles.js.map +0 -1
  965. package/dist/utils/api-response.d.ts +0 -96
  966. package/dist/utils/api-response.d.ts.map +0 -1
  967. package/dist/utils/api-response.js +0 -86
  968. package/dist/utils/api-response.js.map +0 -1
  969. package/dist/utils/checkpoint-api.d.ts +0 -86
  970. package/dist/utils/checkpoint-api.d.ts.map +0 -1
  971. package/dist/utils/checkpoint-api.js +0 -196
  972. package/dist/utils/checkpoint-api.js.map +0 -1
  973. package/dist/utils/checkpoint-env.d.ts +0 -23
  974. package/dist/utils/checkpoint-env.d.ts.map +0 -1
  975. package/dist/utils/checkpoint-env.js +0 -59
  976. package/dist/utils/checkpoint-env.js.map +0 -1
  977. package/dist/utils/checkpoint-scaffold.d.ts +0 -61
  978. package/dist/utils/checkpoint-scaffold.d.ts.map +0 -1
  979. package/dist/utils/checkpoint-scaffold.js +0 -268
  980. package/dist/utils/checkpoint-scaffold.js.map +0 -1
  981. package/dist/utils/cli-kit/browser.d.ts +0 -24
  982. package/dist/utils/cli-kit/browser.d.ts.map +0 -1
  983. package/dist/utils/cli-kit/browser.js +0 -58
  984. package/dist/utils/cli-kit/browser.js.map +0 -1
  985. package/dist/utils/cli-kit/claim-polling.d.ts +0 -18
  986. package/dist/utils/cli-kit/claim-polling.d.ts.map +0 -1
  987. package/dist/utils/cli-kit/claim-polling.js +0 -90
  988. package/dist/utils/cli-kit/claim-polling.js.map +0 -1
  989. package/dist/utils/cli-kit/diagnostics.d.ts +0 -9
  990. package/dist/utils/cli-kit/diagnostics.d.ts.map +0 -1
  991. package/dist/utils/cli-kit/diagnostics.js +0 -11
  992. package/dist/utils/cli-kit/diagnostics.js.map +0 -1
  993. package/dist/utils/cli-kit/fs-safe.d.ts +0 -14
  994. package/dist/utils/cli-kit/fs-safe.d.ts.map +0 -1
  995. package/dist/utils/cli-kit/fs-safe.js +0 -20
  996. package/dist/utils/cli-kit/fs-safe.js.map +0 -1
  997. package/dist/utils/cli-kit/index.d.ts +0 -15
  998. package/dist/utils/cli-kit/index.d.ts.map +0 -1
  999. package/dist/utils/cli-kit/index.js +0 -10
  1000. package/dist/utils/cli-kit/index.js.map +0 -1
  1001. package/dist/utils/cli-kit/json-file.d.ts +0 -21
  1002. package/dist/utils/cli-kit/json-file.d.ts.map +0 -1
  1003. package/dist/utils/cli-kit/json-file.js +0 -51
  1004. package/dist/utils/cli-kit/json-file.js.map +0 -1
  1005. package/dist/utils/cli-kit/marker-block.d.ts +0 -26
  1006. package/dist/utils/cli-kit/marker-block.d.ts.map +0 -1
  1007. package/dist/utils/cli-kit/marker-block.js +0 -61
  1008. package/dist/utils/cli-kit/marker-block.js.map +0 -1
  1009. package/dist/utils/cli-kit/paths.d.ts +0 -15
  1010. package/dist/utils/cli-kit/paths.d.ts.map +0 -1
  1011. package/dist/utils/cli-kit/paths.js +0 -21
  1012. package/dist/utils/cli-kit/paths.js.map +0 -1
  1013. package/dist/utils/cli-kit/secure-storage.d.ts +0 -14
  1014. package/dist/utils/cli-kit/secure-storage.d.ts.map +0 -1
  1015. package/dist/utils/cli-kit/secure-storage.js +0 -20
  1016. package/dist/utils/cli-kit/secure-storage.js.map +0 -1
  1017. package/dist/utils/cli-kit/step-report.d.ts +0 -16
  1018. package/dist/utils/cli-kit/step-report.d.ts.map +0 -1
  1019. package/dist/utils/cli-kit/step-report.js +0 -36
  1020. package/dist/utils/cli-kit/step-report.js.map +0 -1
  1021. package/dist/utils/dco/agent-metadata.d.ts +0 -24
  1022. package/dist/utils/dco/agent-metadata.d.ts.map +0 -1
  1023. package/dist/utils/dco/agent-metadata.js +0 -46
  1024. package/dist/utils/dco/agent-metadata.js.map +0 -1
  1025. package/dist/utils/dco/claude-config.d.ts +0 -55
  1026. package/dist/utils/dco/claude-config.d.ts.map +0 -1
  1027. package/dist/utils/dco/claude-config.js +0 -66
  1028. package/dist/utils/dco/claude-config.js.map +0 -1
  1029. package/dist/utils/dco/dispatch.d.ts +0 -134
  1030. package/dist/utils/dco/dispatch.d.ts.map +0 -1
  1031. package/dist/utils/dco/dispatch.js +0 -399
  1032. package/dist/utils/dco/dispatch.js.map +0 -1
  1033. package/dist/utils/dco/fix.d.ts +0 -122
  1034. package/dist/utils/dco/fix.d.ts.map +0 -1
  1035. package/dist/utils/dco/fix.js +0 -560
  1036. package/dist/utils/dco/fix.js.map +0 -1
  1037. package/dist/utils/dco/git-config.d.ts +0 -47
  1038. package/dist/utils/dco/git-config.d.ts.map +0 -1
  1039. package/dist/utils/dco/git-config.js +0 -161
  1040. package/dist/utils/dco/git-config.js.map +0 -1
  1041. package/dist/utils/dco/github.d.ts +0 -150
  1042. package/dist/utils/dco/github.d.ts.map +0 -1
  1043. package/dist/utils/dco/github.js +0 -287
  1044. package/dist/utils/dco/github.js.map +0 -1
  1045. package/dist/utils/dco/paths.d.ts +0 -9
  1046. package/dist/utils/dco/paths.d.ts.map +0 -1
  1047. package/dist/utils/dco/paths.js +0 -18
  1048. package/dist/utils/dco/paths.js.map +0 -1
  1049. package/dist/utils/dco/render.d.ts +0 -4
  1050. package/dist/utils/dco/render.d.ts.map +0 -1
  1051. package/dist/utils/dco/render.js +0 -35
  1052. package/dist/utils/dco/render.js.map +0 -1
  1053. package/dist/utils/dco/resolve-agent.d.ts +0 -54
  1054. package/dist/utils/dco/resolve-agent.d.ts.map +0 -1
  1055. package/dist/utils/dco/resolve-agent.js +0 -164
  1056. package/dist/utils/dco/resolve-agent.js.map +0 -1
  1057. package/dist/utils/dco/setup.d.ts +0 -50
  1058. package/dist/utils/dco/setup.d.ts.map +0 -1
  1059. package/dist/utils/dco/setup.js +0 -805
  1060. package/dist/utils/dco/setup.js.map +0 -1
  1061. package/dist/utils/dco/signing-key-writer.d.ts +0 -40
  1062. package/dist/utils/dco/signing-key-writer.d.ts.map +0 -1
  1063. package/dist/utils/dco/signing-key-writer.js +0 -76
  1064. package/dist/utils/dco/signing-key-writer.js.map +0 -1
  1065. package/dist/utils/dco/ssh-key.d.ts +0 -93
  1066. package/dist/utils/dco/ssh-key.d.ts.map +0 -1
  1067. package/dist/utils/dco/ssh-key.js.map +0 -1
  1068. package/dist/utils/dco/status.d.ts +0 -12
  1069. package/dist/utils/dco/status.d.ts.map +0 -1
  1070. package/dist/utils/dco/status.js +0 -238
  1071. package/dist/utils/dco/status.js.map +0 -1
  1072. package/dist/utils/dco/verify.d.ts +0 -170
  1073. package/dist/utils/dco/verify.d.ts.map +0 -1
  1074. package/dist/utils/dco/verify.js +0 -550
  1075. package/dist/utils/dco/verify.js.map +0 -1
  1076. package/dist/utils/dependency-installer.d.ts +0 -37
  1077. package/dist/utils/dependency-installer.d.ts.map +0 -1
  1078. package/dist/utils/dependency-installer.js +0 -32
  1079. package/dist/utils/dependency-installer.js.map +0 -1
  1080. package/dist/utils/env-manager.d.ts +0 -122
  1081. package/dist/utils/env-manager.d.ts.map +0 -1
  1082. package/dist/utils/env-manager.js +0 -514
  1083. package/dist/utils/env-manager.js.map +0 -1
  1084. package/dist/utils/github-credential-stage.d.ts +0 -87
  1085. package/dist/utils/github-credential-stage.d.ts.map +0 -1
  1086. package/dist/utils/github-credential-stage.js +0 -168
  1087. package/dist/utils/github-credential-stage.js.map +0 -1
  1088. package/dist/utils/github-credential.d.ts +0 -160
  1089. package/dist/utils/github-credential.d.ts.map +0 -1
  1090. package/dist/utils/github-credential.js +0 -308
  1091. package/dist/utils/github-credential.js.map +0 -1
  1092. package/dist/utils/gitignore.d.ts +0 -17
  1093. package/dist/utils/gitignore.d.ts.map +0 -1
  1094. package/dist/utils/gitignore.js +0 -40
  1095. package/dist/utils/gitignore.js.map +0 -1
  1096. package/dist/utils/hub-config.d.ts +0 -21
  1097. package/dist/utils/hub-config.d.ts.map +0 -1
  1098. package/dist/utils/hub-config.js +0 -28
  1099. package/dist/utils/hub-config.js.map +0 -1
  1100. package/dist/utils/identity-heal.d.ts +0 -16
  1101. package/dist/utils/identity-heal.d.ts.map +0 -1
  1102. package/dist/utils/identity-heal.js +0 -37
  1103. package/dist/utils/identity-heal.js.map +0 -1
  1104. package/dist/utils/identity-manager.d.ts +0 -41
  1105. package/dist/utils/identity-manager.d.ts.map +0 -1
  1106. package/dist/utils/identity-manager.js +0 -159
  1107. package/dist/utils/identity-manager.js.map +0 -1
  1108. package/dist/utils/init/pipeline.d.ts +0 -74
  1109. package/dist/utils/init/pipeline.d.ts.map +0 -1
  1110. package/dist/utils/init/pipeline.js +0 -96
  1111. package/dist/utils/init/pipeline.js.map +0 -1
  1112. package/dist/utils/kta-api.d.ts +0 -103
  1113. package/dist/utils/kta-api.d.ts.map +0 -1
  1114. package/dist/utils/kta-api.js +0 -149
  1115. package/dist/utils/kta-api.js.map +0 -1
  1116. package/dist/utils/platform-detector.d.ts +0 -54
  1117. package/dist/utils/platform-detector.d.ts.map +0 -1
  1118. package/dist/utils/platform-detector.js +0 -197
  1119. package/dist/utils/platform-detector.js.map +0 -1
  1120. package/dist/utils/poll.d.ts +0 -64
  1121. package/dist/utils/poll.d.ts.map +0 -1
  1122. package/dist/utils/poll.js +0 -76
  1123. package/dist/utils/poll.js.map +0 -1
  1124. package/dist/utils/prompts.d.ts +0 -24
  1125. package/dist/utils/prompts.d.ts.map +0 -1
  1126. package/dist/utils/prompts.js +0 -160
  1127. package/dist/utils/prompts.js.map +0 -1
  1128. package/dist/utils/register-agent-identity.d.ts +0 -67
  1129. package/dist/utils/register-agent-identity.d.ts.map +0 -1
  1130. package/dist/utils/register-agent-identity.js +0 -34
  1131. package/dist/utils/register-agent-identity.js.map +0 -1
  1132. package/dist/utils/review/did-web-key.d.ts +0 -34
  1133. package/dist/utils/review/did-web-key.d.ts.map +0 -1
  1134. package/dist/utils/review/did-web-key.js +0 -104
  1135. package/dist/utils/review/did-web-key.js.map +0 -1
  1136. package/dist/utils/review/load-registry.d.ts +0 -33
  1137. package/dist/utils/review/load-registry.d.ts.map +0 -1
  1138. package/dist/utils/review/load-registry.js +0 -62
  1139. package/dist/utils/review/load-registry.js.map +0 -1
  1140. package/dist/utils/review/verdict-verify.d.ts +0 -43
  1141. package/dist/utils/review/verdict-verify.d.ts.map +0 -1
  1142. package/dist/utils/review/verdict-verify.js +0 -53
  1143. package/dist/utils/review/verdict-verify.js.map +0 -1
  1144. package/dist/utils/review-registry-writer.d.ts +0 -52
  1145. package/dist/utils/review-registry-writer.d.ts.map +0 -1
  1146. package/dist/utils/review-registry-writer.js +0 -79
  1147. package/dist/utils/review-registry-writer.js.map +0 -1
  1148. package/dist/utils/screen-manager.d.ts +0 -10
  1149. package/dist/utils/screen-manager.d.ts.map +0 -1
  1150. package/dist/utils/screen-manager.js +0 -54
  1151. package/dist/utils/screen-manager.js.map +0 -1
  1152. package/dist/utils/should-install-dependency.d.ts +0 -17
  1153. package/dist/utils/should-install-dependency.d.ts.map +0 -1
  1154. package/dist/utils/should-install-dependency.js +0 -25
  1155. package/dist/utils/should-install-dependency.js.map +0 -1
  1156. package/dist/utils/time.d.ts +0 -19
  1157. package/dist/utils/time.d.ts.map +0 -1
  1158. package/dist/utils/time.js +0 -30
  1159. package/dist/utils/time.js.map +0 -1
  1160. package/dist/utils/tool-readiness.d.ts +0 -57
  1161. package/dist/utils/tool-readiness.d.ts.map +0 -1
  1162. package/dist/utils/tool-readiness.js +0 -114
  1163. package/dist/utils/tool-readiness.js.map +0 -1
  1164. package/dist/utils/which.d.ts +0 -2
  1165. package/dist/utils/which.d.ts.map +0 -1
  1166. package/dist/utils/which.js +0 -22
  1167. package/dist/utils/which.js.map +0 -1
  1168. package/dist/version.d.ts +0 -15
  1169. package/dist/version.d.ts.map +0 -1
  1170. package/dist/version.js +0 -29
  1171. package/dist/version.js.map +0 -1
  1172. /package/dist/{utils/dco → sidecar/sidecar/src}/ssh-key.js +0 -0
@@ -0,0 +1,1493 @@
1
+ /**
2
+ * Reputation Credential Schemas
3
+ *
4
+ * W3C Verifiable Credential schemas for reputation attestations.
5
+ * These credentials allow reputation scores to be cryptographically signed
6
+ * and verified as portable, tamper-proof attestations.
7
+ *
8
+ * Credential Types:
9
+ * - ReputationCredential: Attests to an agent's reputation score at a point in time
10
+ * - ReputationAttestation: Lighter-weight attestation for specific contexts
11
+ *
12
+ * Related Spec: MCP-I §3.1 (VC Structure), §5.3 (Reputation Credentials)
13
+ * W3C Reference: Verifiable Credentials Data Model 1.1
14
+ */
15
+ import { z } from "zod";
16
+ import { CredentialStatusSchema } from "../vc/schemas.js";
17
+ import { type ReputationScore } from "./schemas.js";
18
+ /**
19
+ * Reputation Credential JSON-LD Context
20
+ */
21
+ export declare const REPUTATION_CREDENTIAL_CONTEXT: "https://schema.modelcontextprotocol-identity.io/xmcp-i/credentials/reputation.v1.0.0.json";
22
+ /**
23
+ * Reputation Credential Type
24
+ */
25
+ export declare const REPUTATION_CREDENTIAL_TYPE: "ReputationCredential";
26
+ /**
27
+ * Reputation Attestation Type
28
+ */
29
+ export declare const REPUTATION_ATTESTATION_TYPE: "ReputationAttestation";
30
+ /**
31
+ * Reputation Credential Subject Schema
32
+ *
33
+ * The credentialSubject of a ReputationCredential contains:
34
+ * - id: The agent DID being attested
35
+ * - reputation: The complete reputation score at time of issuance
36
+ */
37
+ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
38
+ /** Subject DID (the agent whose reputation is being attested) */
39
+ id: z.ZodEffects<z.ZodString, string, string>;
40
+ /** The reputation score being attested */
41
+ reputation: z.ZodObject<{
42
+ /** Final reputation score (0-100) */
43
+ score: z.ZodNumber;
44
+ /** Confidence in the score (0-1) */
45
+ confidence: z.ZodNumber;
46
+ /** Human-readable confidence level */
47
+ confidenceLevel: z.ZodEnum<["Low", "Medium", "High", "VeryHigh"]>;
48
+ /** Human-readable reputation level */
49
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
50
+ /** Whether this is a provisional score */
51
+ isProvisional: z.ZodBoolean;
52
+ /** Timestamp when the score was calculated (ISO 8601) */
53
+ calculatedAt: z.ZodString;
54
+ /** Optional score components (for transparency) */
55
+ components: z.ZodOptional<z.ZodObject<{
56
+ priorScore: z.ZodNumber;
57
+ empiricalScore: z.ZodNumber;
58
+ confidenceWeight: z.ZodNumber;
59
+ priorWeight: z.ZodNumber;
60
+ }, "strip", z.ZodTypeAny, {
61
+ priorScore: number;
62
+ empiricalScore: number;
63
+ confidenceWeight: number;
64
+ priorWeight: number;
65
+ }, {
66
+ priorScore: number;
67
+ empiricalScore: number;
68
+ confidenceWeight: number;
69
+ priorWeight: number;
70
+ }>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ confidence: number;
73
+ score: number;
74
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
75
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
76
+ isProvisional: boolean;
77
+ calculatedAt: string;
78
+ components?: {
79
+ priorScore: number;
80
+ empiricalScore: number;
81
+ confidenceWeight: number;
82
+ priorWeight: number;
83
+ } | undefined;
84
+ }, {
85
+ confidence: number;
86
+ score: number;
87
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
88
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
89
+ isProvisional: boolean;
90
+ calculatedAt: string;
91
+ components?: {
92
+ priorScore: number;
93
+ empiricalScore: number;
94
+ confidenceWeight: number;
95
+ priorWeight: number;
96
+ } | undefined;
97
+ }>;
98
+ /** Context in which this reputation applies */
99
+ context: z.ZodOptional<z.ZodObject<{
100
+ /** Scope of the reputation (e.g., 'global', 'domain-specific') */
101
+ scope: z.ZodDefault<z.ZodString>;
102
+ /** Domain or category (e.g., 'e-commerce', 'healthcare') */
103
+ domain: z.ZodOptional<z.ZodString>;
104
+ /** Geographic region (if applicable) */
105
+ region: z.ZodOptional<z.ZodString>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ scope: string;
108
+ region?: string | undefined;
109
+ domain?: string | undefined;
110
+ }, {
111
+ region?: string | undefined;
112
+ scope?: string | undefined;
113
+ domain?: string | undefined;
114
+ }>>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ id: string;
117
+ reputation: {
118
+ confidence: number;
119
+ score: number;
120
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
121
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
122
+ isProvisional: boolean;
123
+ calculatedAt: string;
124
+ components?: {
125
+ priorScore: number;
126
+ empiricalScore: number;
127
+ confidenceWeight: number;
128
+ priorWeight: number;
129
+ } | undefined;
130
+ };
131
+ context?: {
132
+ scope: string;
133
+ region?: string | undefined;
134
+ domain?: string | undefined;
135
+ } | undefined;
136
+ }, {
137
+ id: string;
138
+ reputation: {
139
+ confidence: number;
140
+ score: number;
141
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
142
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
143
+ isProvisional: boolean;
144
+ calculatedAt: string;
145
+ components?: {
146
+ priorScore: number;
147
+ empiricalScore: number;
148
+ confidenceWeight: number;
149
+ priorWeight: number;
150
+ } | undefined;
151
+ };
152
+ context?: {
153
+ region?: string | undefined;
154
+ scope?: string | undefined;
155
+ domain?: string | undefined;
156
+ } | undefined;
157
+ }>;
158
+ export type ReputationCredentialSubject = z.infer<typeof ReputationCredentialSubjectSchema>;
159
+ /**
160
+ * Reputation Credential Schema
161
+ *
162
+ * W3C Verifiable Credential for reputation attestation.
163
+ * This is the PRIMARY format for portable reputation scores.
164
+ *
165
+ * Structure:
166
+ * - @context: [...W3C VC contexts, reputation context]
167
+ * - type: ['VerifiableCredential', 'ReputationCredential']
168
+ * - issuer: Reputation authority DID (e.g., KYA platform)
169
+ * - issuanceDate: When the reputation was calculated
170
+ * - expirationDate: When this attestation expires
171
+ * - credentialSubject: Contains agent DID + reputation data
172
+ * - credentialStatus: StatusList2021Entry for revocation
173
+ * - proof: Ed25519Signature2020 or similar
174
+ */
175
+ export declare const ReputationCredentialSchema: z.ZodObject<{
176
+ id: z.ZodOptional<z.ZodString>;
177
+ } & {
178
+ "@context": z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">, (string | Record<string, any>)[], (string | Record<string, any>)[]>;
179
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
180
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
181
+ id: z.ZodString;
182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
183
+ id: z.ZodString;
184
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
185
+ id: z.ZodString;
186
+ }, z.ZodTypeAny, "passthrough">>]>;
187
+ issuanceDate: z.ZodString;
188
+ expirationDate: z.ZodOptional<z.ZodString>;
189
+ credentialSubject: z.ZodObject<{
190
+ /** Subject DID (the agent whose reputation is being attested) */
191
+ id: z.ZodEffects<z.ZodString, string, string>;
192
+ /** The reputation score being attested */
193
+ reputation: z.ZodObject<{
194
+ /** Final reputation score (0-100) */
195
+ score: z.ZodNumber;
196
+ /** Confidence in the score (0-1) */
197
+ confidence: z.ZodNumber;
198
+ /** Human-readable confidence level */
199
+ confidenceLevel: z.ZodEnum<["Low", "Medium", "High", "VeryHigh"]>;
200
+ /** Human-readable reputation level */
201
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
202
+ /** Whether this is a provisional score */
203
+ isProvisional: z.ZodBoolean;
204
+ /** Timestamp when the score was calculated (ISO 8601) */
205
+ calculatedAt: z.ZodString;
206
+ /** Optional score components (for transparency) */
207
+ components: z.ZodOptional<z.ZodObject<{
208
+ priorScore: z.ZodNumber;
209
+ empiricalScore: z.ZodNumber;
210
+ confidenceWeight: z.ZodNumber;
211
+ priorWeight: z.ZodNumber;
212
+ }, "strip", z.ZodTypeAny, {
213
+ priorScore: number;
214
+ empiricalScore: number;
215
+ confidenceWeight: number;
216
+ priorWeight: number;
217
+ }, {
218
+ priorScore: number;
219
+ empiricalScore: number;
220
+ confidenceWeight: number;
221
+ priorWeight: number;
222
+ }>>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ confidence: number;
225
+ score: number;
226
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
227
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
228
+ isProvisional: boolean;
229
+ calculatedAt: string;
230
+ components?: {
231
+ priorScore: number;
232
+ empiricalScore: number;
233
+ confidenceWeight: number;
234
+ priorWeight: number;
235
+ } | undefined;
236
+ }, {
237
+ confidence: number;
238
+ score: number;
239
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
240
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
241
+ isProvisional: boolean;
242
+ calculatedAt: string;
243
+ components?: {
244
+ priorScore: number;
245
+ empiricalScore: number;
246
+ confidenceWeight: number;
247
+ priorWeight: number;
248
+ } | undefined;
249
+ }>;
250
+ /** Context in which this reputation applies */
251
+ context: z.ZodOptional<z.ZodObject<{
252
+ /** Scope of the reputation (e.g., 'global', 'domain-specific') */
253
+ scope: z.ZodDefault<z.ZodString>;
254
+ /** Domain or category (e.g., 'e-commerce', 'healthcare') */
255
+ domain: z.ZodOptional<z.ZodString>;
256
+ /** Geographic region (if applicable) */
257
+ region: z.ZodOptional<z.ZodString>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ scope: string;
260
+ region?: string | undefined;
261
+ domain?: string | undefined;
262
+ }, {
263
+ region?: string | undefined;
264
+ scope?: string | undefined;
265
+ domain?: string | undefined;
266
+ }>>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ id: string;
269
+ reputation: {
270
+ confidence: number;
271
+ score: number;
272
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
273
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
274
+ isProvisional: boolean;
275
+ calculatedAt: string;
276
+ components?: {
277
+ priorScore: number;
278
+ empiricalScore: number;
279
+ confidenceWeight: number;
280
+ priorWeight: number;
281
+ } | undefined;
282
+ };
283
+ context?: {
284
+ scope: string;
285
+ region?: string | undefined;
286
+ domain?: string | undefined;
287
+ } | undefined;
288
+ }, {
289
+ id: string;
290
+ reputation: {
291
+ confidence: number;
292
+ score: number;
293
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
294
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
295
+ isProvisional: boolean;
296
+ calculatedAt: string;
297
+ components?: {
298
+ priorScore: number;
299
+ empiricalScore: number;
300
+ confidenceWeight: number;
301
+ priorWeight: number;
302
+ } | undefined;
303
+ };
304
+ context?: {
305
+ region?: string | undefined;
306
+ scope?: string | undefined;
307
+ domain?: string | undefined;
308
+ } | undefined;
309
+ }>;
310
+ credentialStatus: z.ZodOptional<z.ZodObject<{
311
+ id: z.ZodString;
312
+ type: z.ZodLiteral<"StatusList2021Entry">;
313
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
314
+ statusListIndex: z.ZodString;
315
+ statusListCredential: z.ZodString;
316
+ }, "strip", z.ZodTypeAny, {
317
+ type: "StatusList2021Entry";
318
+ id: string;
319
+ statusPurpose: "revocation" | "suspension";
320
+ statusListIndex: string;
321
+ statusListCredential: string;
322
+ }, {
323
+ type: "StatusList2021Entry";
324
+ id: string;
325
+ statusPurpose: "revocation" | "suspension";
326
+ statusListIndex: string;
327
+ statusListCredential: string;
328
+ }>>;
329
+ proof: z.ZodOptional<z.ZodObject<{
330
+ type: z.ZodString;
331
+ created: z.ZodOptional<z.ZodString>;
332
+ verificationMethod: z.ZodOptional<z.ZodString>;
333
+ proofPurpose: z.ZodOptional<z.ZodString>;
334
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
335
+ type: z.ZodString;
336
+ created: z.ZodOptional<z.ZodString>;
337
+ verificationMethod: z.ZodOptional<z.ZodString>;
338
+ proofPurpose: z.ZodOptional<z.ZodString>;
339
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
340
+ type: z.ZodString;
341
+ created: z.ZodOptional<z.ZodString>;
342
+ verificationMethod: z.ZodOptional<z.ZodString>;
343
+ proofPurpose: z.ZodOptional<z.ZodString>;
344
+ }, z.ZodTypeAny, "passthrough">>>;
345
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
346
+ id: z.ZodOptional<z.ZodString>;
347
+ } & {
348
+ "@context": z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">, (string | Record<string, any>)[], (string | Record<string, any>)[]>;
349
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
350
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
351
+ id: z.ZodString;
352
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
353
+ id: z.ZodString;
354
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
355
+ id: z.ZodString;
356
+ }, z.ZodTypeAny, "passthrough">>]>;
357
+ issuanceDate: z.ZodString;
358
+ expirationDate: z.ZodOptional<z.ZodString>;
359
+ credentialSubject: z.ZodObject<{
360
+ /** Subject DID (the agent whose reputation is being attested) */
361
+ id: z.ZodEffects<z.ZodString, string, string>;
362
+ /** The reputation score being attested */
363
+ reputation: z.ZodObject<{
364
+ /** Final reputation score (0-100) */
365
+ score: z.ZodNumber;
366
+ /** Confidence in the score (0-1) */
367
+ confidence: z.ZodNumber;
368
+ /** Human-readable confidence level */
369
+ confidenceLevel: z.ZodEnum<["Low", "Medium", "High", "VeryHigh"]>;
370
+ /** Human-readable reputation level */
371
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
372
+ /** Whether this is a provisional score */
373
+ isProvisional: z.ZodBoolean;
374
+ /** Timestamp when the score was calculated (ISO 8601) */
375
+ calculatedAt: z.ZodString;
376
+ /** Optional score components (for transparency) */
377
+ components: z.ZodOptional<z.ZodObject<{
378
+ priorScore: z.ZodNumber;
379
+ empiricalScore: z.ZodNumber;
380
+ confidenceWeight: z.ZodNumber;
381
+ priorWeight: z.ZodNumber;
382
+ }, "strip", z.ZodTypeAny, {
383
+ priorScore: number;
384
+ empiricalScore: number;
385
+ confidenceWeight: number;
386
+ priorWeight: number;
387
+ }, {
388
+ priorScore: number;
389
+ empiricalScore: number;
390
+ confidenceWeight: number;
391
+ priorWeight: number;
392
+ }>>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ confidence: number;
395
+ score: number;
396
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
397
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
398
+ isProvisional: boolean;
399
+ calculatedAt: string;
400
+ components?: {
401
+ priorScore: number;
402
+ empiricalScore: number;
403
+ confidenceWeight: number;
404
+ priorWeight: number;
405
+ } | undefined;
406
+ }, {
407
+ confidence: number;
408
+ score: number;
409
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
410
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
411
+ isProvisional: boolean;
412
+ calculatedAt: string;
413
+ components?: {
414
+ priorScore: number;
415
+ empiricalScore: number;
416
+ confidenceWeight: number;
417
+ priorWeight: number;
418
+ } | undefined;
419
+ }>;
420
+ /** Context in which this reputation applies */
421
+ context: z.ZodOptional<z.ZodObject<{
422
+ /** Scope of the reputation (e.g., 'global', 'domain-specific') */
423
+ scope: z.ZodDefault<z.ZodString>;
424
+ /** Domain or category (e.g., 'e-commerce', 'healthcare') */
425
+ domain: z.ZodOptional<z.ZodString>;
426
+ /** Geographic region (if applicable) */
427
+ region: z.ZodOptional<z.ZodString>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ scope: string;
430
+ region?: string | undefined;
431
+ domain?: string | undefined;
432
+ }, {
433
+ region?: string | undefined;
434
+ scope?: string | undefined;
435
+ domain?: string | undefined;
436
+ }>>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ id: string;
439
+ reputation: {
440
+ confidence: number;
441
+ score: number;
442
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
443
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
444
+ isProvisional: boolean;
445
+ calculatedAt: string;
446
+ components?: {
447
+ priorScore: number;
448
+ empiricalScore: number;
449
+ confidenceWeight: number;
450
+ priorWeight: number;
451
+ } | undefined;
452
+ };
453
+ context?: {
454
+ scope: string;
455
+ region?: string | undefined;
456
+ domain?: string | undefined;
457
+ } | undefined;
458
+ }, {
459
+ id: string;
460
+ reputation: {
461
+ confidence: number;
462
+ score: number;
463
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
464
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
465
+ isProvisional: boolean;
466
+ calculatedAt: string;
467
+ components?: {
468
+ priorScore: number;
469
+ empiricalScore: number;
470
+ confidenceWeight: number;
471
+ priorWeight: number;
472
+ } | undefined;
473
+ };
474
+ context?: {
475
+ region?: string | undefined;
476
+ scope?: string | undefined;
477
+ domain?: string | undefined;
478
+ } | undefined;
479
+ }>;
480
+ credentialStatus: z.ZodOptional<z.ZodObject<{
481
+ id: z.ZodString;
482
+ type: z.ZodLiteral<"StatusList2021Entry">;
483
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
484
+ statusListIndex: z.ZodString;
485
+ statusListCredential: z.ZodString;
486
+ }, "strip", z.ZodTypeAny, {
487
+ type: "StatusList2021Entry";
488
+ id: string;
489
+ statusPurpose: "revocation" | "suspension";
490
+ statusListIndex: string;
491
+ statusListCredential: string;
492
+ }, {
493
+ type: "StatusList2021Entry";
494
+ id: string;
495
+ statusPurpose: "revocation" | "suspension";
496
+ statusListIndex: string;
497
+ statusListCredential: string;
498
+ }>>;
499
+ proof: z.ZodOptional<z.ZodObject<{
500
+ type: z.ZodString;
501
+ created: z.ZodOptional<z.ZodString>;
502
+ verificationMethod: z.ZodOptional<z.ZodString>;
503
+ proofPurpose: z.ZodOptional<z.ZodString>;
504
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
505
+ type: z.ZodString;
506
+ created: z.ZodOptional<z.ZodString>;
507
+ verificationMethod: z.ZodOptional<z.ZodString>;
508
+ proofPurpose: z.ZodOptional<z.ZodString>;
509
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
510
+ type: z.ZodString;
511
+ created: z.ZodOptional<z.ZodString>;
512
+ verificationMethod: z.ZodOptional<z.ZodString>;
513
+ proofPurpose: z.ZodOptional<z.ZodString>;
514
+ }, z.ZodTypeAny, "passthrough">>>;
515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
516
+ id: z.ZodOptional<z.ZodString>;
517
+ } & {
518
+ "@context": z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">, (string | Record<string, any>)[], (string | Record<string, any>)[]>;
519
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
520
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
521
+ id: z.ZodString;
522
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
523
+ id: z.ZodString;
524
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
525
+ id: z.ZodString;
526
+ }, z.ZodTypeAny, "passthrough">>]>;
527
+ issuanceDate: z.ZodString;
528
+ expirationDate: z.ZodOptional<z.ZodString>;
529
+ credentialSubject: z.ZodObject<{
530
+ /** Subject DID (the agent whose reputation is being attested) */
531
+ id: z.ZodEffects<z.ZodString, string, string>;
532
+ /** The reputation score being attested */
533
+ reputation: z.ZodObject<{
534
+ /** Final reputation score (0-100) */
535
+ score: z.ZodNumber;
536
+ /** Confidence in the score (0-1) */
537
+ confidence: z.ZodNumber;
538
+ /** Human-readable confidence level */
539
+ confidenceLevel: z.ZodEnum<["Low", "Medium", "High", "VeryHigh"]>;
540
+ /** Human-readable reputation level */
541
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
542
+ /** Whether this is a provisional score */
543
+ isProvisional: z.ZodBoolean;
544
+ /** Timestamp when the score was calculated (ISO 8601) */
545
+ calculatedAt: z.ZodString;
546
+ /** Optional score components (for transparency) */
547
+ components: z.ZodOptional<z.ZodObject<{
548
+ priorScore: z.ZodNumber;
549
+ empiricalScore: z.ZodNumber;
550
+ confidenceWeight: z.ZodNumber;
551
+ priorWeight: z.ZodNumber;
552
+ }, "strip", z.ZodTypeAny, {
553
+ priorScore: number;
554
+ empiricalScore: number;
555
+ confidenceWeight: number;
556
+ priorWeight: number;
557
+ }, {
558
+ priorScore: number;
559
+ empiricalScore: number;
560
+ confidenceWeight: number;
561
+ priorWeight: number;
562
+ }>>;
563
+ }, "strip", z.ZodTypeAny, {
564
+ confidence: number;
565
+ score: number;
566
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
567
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
568
+ isProvisional: boolean;
569
+ calculatedAt: string;
570
+ components?: {
571
+ priorScore: number;
572
+ empiricalScore: number;
573
+ confidenceWeight: number;
574
+ priorWeight: number;
575
+ } | undefined;
576
+ }, {
577
+ confidence: number;
578
+ score: number;
579
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
580
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
581
+ isProvisional: boolean;
582
+ calculatedAt: string;
583
+ components?: {
584
+ priorScore: number;
585
+ empiricalScore: number;
586
+ confidenceWeight: number;
587
+ priorWeight: number;
588
+ } | undefined;
589
+ }>;
590
+ /** Context in which this reputation applies */
591
+ context: z.ZodOptional<z.ZodObject<{
592
+ /** Scope of the reputation (e.g., 'global', 'domain-specific') */
593
+ scope: z.ZodDefault<z.ZodString>;
594
+ /** Domain or category (e.g., 'e-commerce', 'healthcare') */
595
+ domain: z.ZodOptional<z.ZodString>;
596
+ /** Geographic region (if applicable) */
597
+ region: z.ZodOptional<z.ZodString>;
598
+ }, "strip", z.ZodTypeAny, {
599
+ scope: string;
600
+ region?: string | undefined;
601
+ domain?: string | undefined;
602
+ }, {
603
+ region?: string | undefined;
604
+ scope?: string | undefined;
605
+ domain?: string | undefined;
606
+ }>>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ id: string;
609
+ reputation: {
610
+ confidence: number;
611
+ score: number;
612
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
613
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
614
+ isProvisional: boolean;
615
+ calculatedAt: string;
616
+ components?: {
617
+ priorScore: number;
618
+ empiricalScore: number;
619
+ confidenceWeight: number;
620
+ priorWeight: number;
621
+ } | undefined;
622
+ };
623
+ context?: {
624
+ scope: string;
625
+ region?: string | undefined;
626
+ domain?: string | undefined;
627
+ } | undefined;
628
+ }, {
629
+ id: string;
630
+ reputation: {
631
+ confidence: number;
632
+ score: number;
633
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
634
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
635
+ isProvisional: boolean;
636
+ calculatedAt: string;
637
+ components?: {
638
+ priorScore: number;
639
+ empiricalScore: number;
640
+ confidenceWeight: number;
641
+ priorWeight: number;
642
+ } | undefined;
643
+ };
644
+ context?: {
645
+ region?: string | undefined;
646
+ scope?: string | undefined;
647
+ domain?: string | undefined;
648
+ } | undefined;
649
+ }>;
650
+ credentialStatus: z.ZodOptional<z.ZodObject<{
651
+ id: z.ZodString;
652
+ type: z.ZodLiteral<"StatusList2021Entry">;
653
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
654
+ statusListIndex: z.ZodString;
655
+ statusListCredential: z.ZodString;
656
+ }, "strip", z.ZodTypeAny, {
657
+ type: "StatusList2021Entry";
658
+ id: string;
659
+ statusPurpose: "revocation" | "suspension";
660
+ statusListIndex: string;
661
+ statusListCredential: string;
662
+ }, {
663
+ type: "StatusList2021Entry";
664
+ id: string;
665
+ statusPurpose: "revocation" | "suspension";
666
+ statusListIndex: string;
667
+ statusListCredential: string;
668
+ }>>;
669
+ proof: z.ZodOptional<z.ZodObject<{
670
+ type: z.ZodString;
671
+ created: z.ZodOptional<z.ZodString>;
672
+ verificationMethod: z.ZodOptional<z.ZodString>;
673
+ proofPurpose: z.ZodOptional<z.ZodString>;
674
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
675
+ type: z.ZodString;
676
+ created: z.ZodOptional<z.ZodString>;
677
+ verificationMethod: z.ZodOptional<z.ZodString>;
678
+ proofPurpose: z.ZodOptional<z.ZodString>;
679
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
680
+ type: z.ZodString;
681
+ created: z.ZodOptional<z.ZodString>;
682
+ verificationMethod: z.ZodOptional<z.ZodString>;
683
+ proofPurpose: z.ZodOptional<z.ZodString>;
684
+ }, z.ZodTypeAny, "passthrough">>>;
685
+ }, z.ZodTypeAny, "passthrough">>;
686
+ export type ReputationCredential = z.infer<typeof ReputationCredentialSchema>;
687
+ /**
688
+ * Reputation Attestation Subject Schema
689
+ *
690
+ * Lighter-weight attestation for specific use cases.
691
+ * Contains only essential reputation information.
692
+ */
693
+ export declare const ReputationAttestationSubjectSchema: z.ZodObject<{
694
+ /** Subject DID */
695
+ id: z.ZodString;
696
+ /** Reputation level (human-readable) */
697
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
698
+ /** Numeric score (0-100) */
699
+ score: z.ZodNumber;
700
+ /** Whether the attestation issuer has high confidence */
701
+ highConfidence: z.ZodBoolean;
702
+ /** Specific capability or context being attested */
703
+ capability: z.ZodOptional<z.ZodString>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ id: string;
706
+ score: number;
707
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
708
+ highConfidence: boolean;
709
+ capability?: string | undefined;
710
+ }, {
711
+ id: string;
712
+ score: number;
713
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
714
+ highConfidence: boolean;
715
+ capability?: string | undefined;
716
+ }>;
717
+ export type ReputationAttestationSubject = z.infer<typeof ReputationAttestationSubjectSchema>;
718
+ /**
719
+ * Reputation Attestation Schema
720
+ *
721
+ * Lightweight attestation for embedding in other contexts.
722
+ */
723
+ export declare const ReputationAttestationSchema: z.ZodObject<{
724
+ '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
725
+ id: z.ZodOptional<z.ZodString>;
726
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
727
+ id: z.ZodString;
728
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
729
+ id: z.ZodString;
730
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
731
+ id: z.ZodString;
732
+ }, z.ZodTypeAny, "passthrough">>]>;
733
+ issuanceDate: z.ZodString;
734
+ expirationDate: z.ZodOptional<z.ZodString>;
735
+ credentialStatus: z.ZodOptional<z.ZodObject<{
736
+ id: z.ZodString;
737
+ type: z.ZodLiteral<"StatusList2021Entry">;
738
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
739
+ statusListIndex: z.ZodString;
740
+ statusListCredential: z.ZodString;
741
+ }, "strip", z.ZodTypeAny, {
742
+ type: "StatusList2021Entry";
743
+ id: string;
744
+ statusPurpose: "revocation" | "suspension";
745
+ statusListIndex: string;
746
+ statusListCredential: string;
747
+ }, {
748
+ type: "StatusList2021Entry";
749
+ id: string;
750
+ statusPurpose: "revocation" | "suspension";
751
+ statusListIndex: string;
752
+ statusListCredential: string;
753
+ }>>;
754
+ proof: z.ZodOptional<z.ZodObject<{
755
+ type: z.ZodString;
756
+ created: z.ZodOptional<z.ZodString>;
757
+ verificationMethod: z.ZodOptional<z.ZodString>;
758
+ proofPurpose: z.ZodOptional<z.ZodString>;
759
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
760
+ type: z.ZodString;
761
+ created: z.ZodOptional<z.ZodString>;
762
+ verificationMethod: z.ZodOptional<z.ZodString>;
763
+ proofPurpose: z.ZodOptional<z.ZodString>;
764
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
765
+ type: z.ZodString;
766
+ created: z.ZodOptional<z.ZodString>;
767
+ verificationMethod: z.ZodOptional<z.ZodString>;
768
+ proofPurpose: z.ZodOptional<z.ZodString>;
769
+ }, z.ZodTypeAny, "passthrough">>>;
770
+ } & {
771
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
772
+ credentialSubject: z.ZodObject<{
773
+ /** Subject DID */
774
+ id: z.ZodString;
775
+ /** Reputation level (human-readable) */
776
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
777
+ /** Numeric score (0-100) */
778
+ score: z.ZodNumber;
779
+ /** Whether the attestation issuer has high confidence */
780
+ highConfidence: z.ZodBoolean;
781
+ /** Specific capability or context being attested */
782
+ capability: z.ZodOptional<z.ZodString>;
783
+ }, "strip", z.ZodTypeAny, {
784
+ id: string;
785
+ score: number;
786
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
787
+ highConfidence: boolean;
788
+ capability?: string | undefined;
789
+ }, {
790
+ id: string;
791
+ score: number;
792
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
793
+ highConfidence: boolean;
794
+ capability?: string | undefined;
795
+ }>;
796
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
797
+ '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
798
+ id: z.ZodOptional<z.ZodString>;
799
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
800
+ id: z.ZodString;
801
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
802
+ id: z.ZodString;
803
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
804
+ id: z.ZodString;
805
+ }, z.ZodTypeAny, "passthrough">>]>;
806
+ issuanceDate: z.ZodString;
807
+ expirationDate: z.ZodOptional<z.ZodString>;
808
+ credentialStatus: z.ZodOptional<z.ZodObject<{
809
+ id: z.ZodString;
810
+ type: z.ZodLiteral<"StatusList2021Entry">;
811
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
812
+ statusListIndex: z.ZodString;
813
+ statusListCredential: z.ZodString;
814
+ }, "strip", z.ZodTypeAny, {
815
+ type: "StatusList2021Entry";
816
+ id: string;
817
+ statusPurpose: "revocation" | "suspension";
818
+ statusListIndex: string;
819
+ statusListCredential: string;
820
+ }, {
821
+ type: "StatusList2021Entry";
822
+ id: string;
823
+ statusPurpose: "revocation" | "suspension";
824
+ statusListIndex: string;
825
+ statusListCredential: string;
826
+ }>>;
827
+ proof: z.ZodOptional<z.ZodObject<{
828
+ type: z.ZodString;
829
+ created: z.ZodOptional<z.ZodString>;
830
+ verificationMethod: z.ZodOptional<z.ZodString>;
831
+ proofPurpose: z.ZodOptional<z.ZodString>;
832
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
833
+ type: z.ZodString;
834
+ created: z.ZodOptional<z.ZodString>;
835
+ verificationMethod: z.ZodOptional<z.ZodString>;
836
+ proofPurpose: z.ZodOptional<z.ZodString>;
837
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
838
+ type: z.ZodString;
839
+ created: z.ZodOptional<z.ZodString>;
840
+ verificationMethod: z.ZodOptional<z.ZodString>;
841
+ proofPurpose: z.ZodOptional<z.ZodString>;
842
+ }, z.ZodTypeAny, "passthrough">>>;
843
+ } & {
844
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
845
+ credentialSubject: z.ZodObject<{
846
+ /** Subject DID */
847
+ id: z.ZodString;
848
+ /** Reputation level (human-readable) */
849
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
850
+ /** Numeric score (0-100) */
851
+ score: z.ZodNumber;
852
+ /** Whether the attestation issuer has high confidence */
853
+ highConfidence: z.ZodBoolean;
854
+ /** Specific capability or context being attested */
855
+ capability: z.ZodOptional<z.ZodString>;
856
+ }, "strip", z.ZodTypeAny, {
857
+ id: string;
858
+ score: number;
859
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
860
+ highConfidence: boolean;
861
+ capability?: string | undefined;
862
+ }, {
863
+ id: string;
864
+ score: number;
865
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
866
+ highConfidence: boolean;
867
+ capability?: string | undefined;
868
+ }>;
869
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
870
+ '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
871
+ id: z.ZodOptional<z.ZodString>;
872
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
873
+ id: z.ZodString;
874
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
875
+ id: z.ZodString;
876
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
877
+ id: z.ZodString;
878
+ }, z.ZodTypeAny, "passthrough">>]>;
879
+ issuanceDate: z.ZodString;
880
+ expirationDate: z.ZodOptional<z.ZodString>;
881
+ credentialStatus: z.ZodOptional<z.ZodObject<{
882
+ id: z.ZodString;
883
+ type: z.ZodLiteral<"StatusList2021Entry">;
884
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
885
+ statusListIndex: z.ZodString;
886
+ statusListCredential: z.ZodString;
887
+ }, "strip", z.ZodTypeAny, {
888
+ type: "StatusList2021Entry";
889
+ id: string;
890
+ statusPurpose: "revocation" | "suspension";
891
+ statusListIndex: string;
892
+ statusListCredential: string;
893
+ }, {
894
+ type: "StatusList2021Entry";
895
+ id: string;
896
+ statusPurpose: "revocation" | "suspension";
897
+ statusListIndex: string;
898
+ statusListCredential: string;
899
+ }>>;
900
+ proof: z.ZodOptional<z.ZodObject<{
901
+ type: z.ZodString;
902
+ created: z.ZodOptional<z.ZodString>;
903
+ verificationMethod: z.ZodOptional<z.ZodString>;
904
+ proofPurpose: z.ZodOptional<z.ZodString>;
905
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
906
+ type: z.ZodString;
907
+ created: z.ZodOptional<z.ZodString>;
908
+ verificationMethod: z.ZodOptional<z.ZodString>;
909
+ proofPurpose: z.ZodOptional<z.ZodString>;
910
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
911
+ type: z.ZodString;
912
+ created: z.ZodOptional<z.ZodString>;
913
+ verificationMethod: z.ZodOptional<z.ZodString>;
914
+ proofPurpose: z.ZodOptional<z.ZodString>;
915
+ }, z.ZodTypeAny, "passthrough">>>;
916
+ } & {
917
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
918
+ credentialSubject: z.ZodObject<{
919
+ /** Subject DID */
920
+ id: z.ZodString;
921
+ /** Reputation level (human-readable) */
922
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
923
+ /** Numeric score (0-100) */
924
+ score: z.ZodNumber;
925
+ /** Whether the attestation issuer has high confidence */
926
+ highConfidence: z.ZodBoolean;
927
+ /** Specific capability or context being attested */
928
+ capability: z.ZodOptional<z.ZodString>;
929
+ }, "strip", z.ZodTypeAny, {
930
+ id: string;
931
+ score: number;
932
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
933
+ highConfidence: boolean;
934
+ capability?: string | undefined;
935
+ }, {
936
+ id: string;
937
+ score: number;
938
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
939
+ highConfidence: boolean;
940
+ capability?: string | undefined;
941
+ }>;
942
+ }, z.ZodTypeAny, "passthrough">>;
943
+ export type ReputationAttestation = z.infer<typeof ReputationAttestationSchema>;
944
+ /**
945
+ * Validate a reputation credential
946
+ *
947
+ * @param credential - The credential to validate
948
+ * @returns Validation result
949
+ */
950
+ export declare function validateReputationCredential(credential: unknown): z.SafeParseReturnType<z.objectInputType<{
951
+ id: z.ZodOptional<z.ZodString>;
952
+ } & {
953
+ "@context": z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">, (string | Record<string, any>)[], (string | Record<string, any>)[]>;
954
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
955
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
956
+ id: z.ZodString;
957
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
958
+ id: z.ZodString;
959
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
960
+ id: z.ZodString;
961
+ }, z.ZodTypeAny, "passthrough">>]>;
962
+ issuanceDate: z.ZodString;
963
+ expirationDate: z.ZodOptional<z.ZodString>;
964
+ credentialSubject: z.ZodObject<{
965
+ /** Subject DID (the agent whose reputation is being attested) */
966
+ id: z.ZodEffects<z.ZodString, string, string>;
967
+ /** The reputation score being attested */
968
+ reputation: z.ZodObject<{
969
+ /** Final reputation score (0-100) */
970
+ score: z.ZodNumber;
971
+ /** Confidence in the score (0-1) */
972
+ confidence: z.ZodNumber;
973
+ /** Human-readable confidence level */
974
+ confidenceLevel: z.ZodEnum<["Low", "Medium", "High", "VeryHigh"]>;
975
+ /** Human-readable reputation level */
976
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
977
+ /** Whether this is a provisional score */
978
+ isProvisional: z.ZodBoolean;
979
+ /** Timestamp when the score was calculated (ISO 8601) */
980
+ calculatedAt: z.ZodString;
981
+ /** Optional score components (for transparency) */
982
+ components: z.ZodOptional<z.ZodObject<{
983
+ priorScore: z.ZodNumber;
984
+ empiricalScore: z.ZodNumber;
985
+ confidenceWeight: z.ZodNumber;
986
+ priorWeight: z.ZodNumber;
987
+ }, "strip", z.ZodTypeAny, {
988
+ priorScore: number;
989
+ empiricalScore: number;
990
+ confidenceWeight: number;
991
+ priorWeight: number;
992
+ }, {
993
+ priorScore: number;
994
+ empiricalScore: number;
995
+ confidenceWeight: number;
996
+ priorWeight: number;
997
+ }>>;
998
+ }, "strip", z.ZodTypeAny, {
999
+ confidence: number;
1000
+ score: number;
1001
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1002
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1003
+ isProvisional: boolean;
1004
+ calculatedAt: string;
1005
+ components?: {
1006
+ priorScore: number;
1007
+ empiricalScore: number;
1008
+ confidenceWeight: number;
1009
+ priorWeight: number;
1010
+ } | undefined;
1011
+ }, {
1012
+ confidence: number;
1013
+ score: number;
1014
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1015
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1016
+ isProvisional: boolean;
1017
+ calculatedAt: string;
1018
+ components?: {
1019
+ priorScore: number;
1020
+ empiricalScore: number;
1021
+ confidenceWeight: number;
1022
+ priorWeight: number;
1023
+ } | undefined;
1024
+ }>;
1025
+ /** Context in which this reputation applies */
1026
+ context: z.ZodOptional<z.ZodObject<{
1027
+ /** Scope of the reputation (e.g., 'global', 'domain-specific') */
1028
+ scope: z.ZodDefault<z.ZodString>;
1029
+ /** Domain or category (e.g., 'e-commerce', 'healthcare') */
1030
+ domain: z.ZodOptional<z.ZodString>;
1031
+ /** Geographic region (if applicable) */
1032
+ region: z.ZodOptional<z.ZodString>;
1033
+ }, "strip", z.ZodTypeAny, {
1034
+ scope: string;
1035
+ region?: string | undefined;
1036
+ domain?: string | undefined;
1037
+ }, {
1038
+ region?: string | undefined;
1039
+ scope?: string | undefined;
1040
+ domain?: string | undefined;
1041
+ }>>;
1042
+ }, "strip", z.ZodTypeAny, {
1043
+ id: string;
1044
+ reputation: {
1045
+ confidence: number;
1046
+ score: number;
1047
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1048
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1049
+ isProvisional: boolean;
1050
+ calculatedAt: string;
1051
+ components?: {
1052
+ priorScore: number;
1053
+ empiricalScore: number;
1054
+ confidenceWeight: number;
1055
+ priorWeight: number;
1056
+ } | undefined;
1057
+ };
1058
+ context?: {
1059
+ scope: string;
1060
+ region?: string | undefined;
1061
+ domain?: string | undefined;
1062
+ } | undefined;
1063
+ }, {
1064
+ id: string;
1065
+ reputation: {
1066
+ confidence: number;
1067
+ score: number;
1068
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1069
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1070
+ isProvisional: boolean;
1071
+ calculatedAt: string;
1072
+ components?: {
1073
+ priorScore: number;
1074
+ empiricalScore: number;
1075
+ confidenceWeight: number;
1076
+ priorWeight: number;
1077
+ } | undefined;
1078
+ };
1079
+ context?: {
1080
+ region?: string | undefined;
1081
+ scope?: string | undefined;
1082
+ domain?: string | undefined;
1083
+ } | undefined;
1084
+ }>;
1085
+ credentialStatus: z.ZodOptional<z.ZodObject<{
1086
+ id: z.ZodString;
1087
+ type: z.ZodLiteral<"StatusList2021Entry">;
1088
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1089
+ statusListIndex: z.ZodString;
1090
+ statusListCredential: z.ZodString;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ type: "StatusList2021Entry";
1093
+ id: string;
1094
+ statusPurpose: "revocation" | "suspension";
1095
+ statusListIndex: string;
1096
+ statusListCredential: string;
1097
+ }, {
1098
+ type: "StatusList2021Entry";
1099
+ id: string;
1100
+ statusPurpose: "revocation" | "suspension";
1101
+ statusListIndex: string;
1102
+ statusListCredential: string;
1103
+ }>>;
1104
+ proof: z.ZodOptional<z.ZodObject<{
1105
+ type: z.ZodString;
1106
+ created: z.ZodOptional<z.ZodString>;
1107
+ verificationMethod: z.ZodOptional<z.ZodString>;
1108
+ proofPurpose: z.ZodOptional<z.ZodString>;
1109
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1110
+ type: z.ZodString;
1111
+ created: z.ZodOptional<z.ZodString>;
1112
+ verificationMethod: z.ZodOptional<z.ZodString>;
1113
+ proofPurpose: z.ZodOptional<z.ZodString>;
1114
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1115
+ type: z.ZodString;
1116
+ created: z.ZodOptional<z.ZodString>;
1117
+ verificationMethod: z.ZodOptional<z.ZodString>;
1118
+ proofPurpose: z.ZodOptional<z.ZodString>;
1119
+ }, z.ZodTypeAny, "passthrough">>>;
1120
+ }, z.ZodTypeAny, "passthrough">, z.objectOutputType<{
1121
+ id: z.ZodOptional<z.ZodString>;
1122
+ } & {
1123
+ "@context": z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">, (string | Record<string, any>)[], (string | Record<string, any>)[]>;
1124
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1125
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1126
+ id: z.ZodString;
1127
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1128
+ id: z.ZodString;
1129
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1130
+ id: z.ZodString;
1131
+ }, z.ZodTypeAny, "passthrough">>]>;
1132
+ issuanceDate: z.ZodString;
1133
+ expirationDate: z.ZodOptional<z.ZodString>;
1134
+ credentialSubject: z.ZodObject<{
1135
+ /** Subject DID (the agent whose reputation is being attested) */
1136
+ id: z.ZodEffects<z.ZodString, string, string>;
1137
+ /** The reputation score being attested */
1138
+ reputation: z.ZodObject<{
1139
+ /** Final reputation score (0-100) */
1140
+ score: z.ZodNumber;
1141
+ /** Confidence in the score (0-1) */
1142
+ confidence: z.ZodNumber;
1143
+ /** Human-readable confidence level */
1144
+ confidenceLevel: z.ZodEnum<["Low", "Medium", "High", "VeryHigh"]>;
1145
+ /** Human-readable reputation level */
1146
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
1147
+ /** Whether this is a provisional score */
1148
+ isProvisional: z.ZodBoolean;
1149
+ /** Timestamp when the score was calculated (ISO 8601) */
1150
+ calculatedAt: z.ZodString;
1151
+ /** Optional score components (for transparency) */
1152
+ components: z.ZodOptional<z.ZodObject<{
1153
+ priorScore: z.ZodNumber;
1154
+ empiricalScore: z.ZodNumber;
1155
+ confidenceWeight: z.ZodNumber;
1156
+ priorWeight: z.ZodNumber;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ priorScore: number;
1159
+ empiricalScore: number;
1160
+ confidenceWeight: number;
1161
+ priorWeight: number;
1162
+ }, {
1163
+ priorScore: number;
1164
+ empiricalScore: number;
1165
+ confidenceWeight: number;
1166
+ priorWeight: number;
1167
+ }>>;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ confidence: number;
1170
+ score: number;
1171
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1172
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1173
+ isProvisional: boolean;
1174
+ calculatedAt: string;
1175
+ components?: {
1176
+ priorScore: number;
1177
+ empiricalScore: number;
1178
+ confidenceWeight: number;
1179
+ priorWeight: number;
1180
+ } | undefined;
1181
+ }, {
1182
+ confidence: number;
1183
+ score: number;
1184
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1185
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1186
+ isProvisional: boolean;
1187
+ calculatedAt: string;
1188
+ components?: {
1189
+ priorScore: number;
1190
+ empiricalScore: number;
1191
+ confidenceWeight: number;
1192
+ priorWeight: number;
1193
+ } | undefined;
1194
+ }>;
1195
+ /** Context in which this reputation applies */
1196
+ context: z.ZodOptional<z.ZodObject<{
1197
+ /** Scope of the reputation (e.g., 'global', 'domain-specific') */
1198
+ scope: z.ZodDefault<z.ZodString>;
1199
+ /** Domain or category (e.g., 'e-commerce', 'healthcare') */
1200
+ domain: z.ZodOptional<z.ZodString>;
1201
+ /** Geographic region (if applicable) */
1202
+ region: z.ZodOptional<z.ZodString>;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ scope: string;
1205
+ region?: string | undefined;
1206
+ domain?: string | undefined;
1207
+ }, {
1208
+ region?: string | undefined;
1209
+ scope?: string | undefined;
1210
+ domain?: string | undefined;
1211
+ }>>;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ id: string;
1214
+ reputation: {
1215
+ confidence: number;
1216
+ score: number;
1217
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1218
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1219
+ isProvisional: boolean;
1220
+ calculatedAt: string;
1221
+ components?: {
1222
+ priorScore: number;
1223
+ empiricalScore: number;
1224
+ confidenceWeight: number;
1225
+ priorWeight: number;
1226
+ } | undefined;
1227
+ };
1228
+ context?: {
1229
+ scope: string;
1230
+ region?: string | undefined;
1231
+ domain?: string | undefined;
1232
+ } | undefined;
1233
+ }, {
1234
+ id: string;
1235
+ reputation: {
1236
+ confidence: number;
1237
+ score: number;
1238
+ confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1239
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1240
+ isProvisional: boolean;
1241
+ calculatedAt: string;
1242
+ components?: {
1243
+ priorScore: number;
1244
+ empiricalScore: number;
1245
+ confidenceWeight: number;
1246
+ priorWeight: number;
1247
+ } | undefined;
1248
+ };
1249
+ context?: {
1250
+ region?: string | undefined;
1251
+ scope?: string | undefined;
1252
+ domain?: string | undefined;
1253
+ } | undefined;
1254
+ }>;
1255
+ credentialStatus: z.ZodOptional<z.ZodObject<{
1256
+ id: z.ZodString;
1257
+ type: z.ZodLiteral<"StatusList2021Entry">;
1258
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1259
+ statusListIndex: z.ZodString;
1260
+ statusListCredential: z.ZodString;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ type: "StatusList2021Entry";
1263
+ id: string;
1264
+ statusPurpose: "revocation" | "suspension";
1265
+ statusListIndex: string;
1266
+ statusListCredential: string;
1267
+ }, {
1268
+ type: "StatusList2021Entry";
1269
+ id: string;
1270
+ statusPurpose: "revocation" | "suspension";
1271
+ statusListIndex: string;
1272
+ statusListCredential: string;
1273
+ }>>;
1274
+ proof: z.ZodOptional<z.ZodObject<{
1275
+ type: z.ZodString;
1276
+ created: z.ZodOptional<z.ZodString>;
1277
+ verificationMethod: z.ZodOptional<z.ZodString>;
1278
+ proofPurpose: z.ZodOptional<z.ZodString>;
1279
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1280
+ type: z.ZodString;
1281
+ created: z.ZodOptional<z.ZodString>;
1282
+ verificationMethod: z.ZodOptional<z.ZodString>;
1283
+ proofPurpose: z.ZodOptional<z.ZodString>;
1284
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1285
+ type: z.ZodString;
1286
+ created: z.ZodOptional<z.ZodString>;
1287
+ verificationMethod: z.ZodOptional<z.ZodString>;
1288
+ proofPurpose: z.ZodOptional<z.ZodString>;
1289
+ }, z.ZodTypeAny, "passthrough">>>;
1290
+ }, z.ZodTypeAny, "passthrough">>;
1291
+ /**
1292
+ * Validate a reputation attestation
1293
+ *
1294
+ * @param attestation - The attestation to validate
1295
+ * @returns Validation result
1296
+ */
1297
+ export declare function validateReputationAttestation(attestation: unknown): z.SafeParseReturnType<z.objectInputType<{
1298
+ '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1299
+ id: z.ZodOptional<z.ZodString>;
1300
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1301
+ id: z.ZodString;
1302
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1303
+ id: z.ZodString;
1304
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1305
+ id: z.ZodString;
1306
+ }, z.ZodTypeAny, "passthrough">>]>;
1307
+ issuanceDate: z.ZodString;
1308
+ expirationDate: z.ZodOptional<z.ZodString>;
1309
+ credentialStatus: z.ZodOptional<z.ZodObject<{
1310
+ id: z.ZodString;
1311
+ type: z.ZodLiteral<"StatusList2021Entry">;
1312
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1313
+ statusListIndex: z.ZodString;
1314
+ statusListCredential: z.ZodString;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ type: "StatusList2021Entry";
1317
+ id: string;
1318
+ statusPurpose: "revocation" | "suspension";
1319
+ statusListIndex: string;
1320
+ statusListCredential: string;
1321
+ }, {
1322
+ type: "StatusList2021Entry";
1323
+ id: string;
1324
+ statusPurpose: "revocation" | "suspension";
1325
+ statusListIndex: string;
1326
+ statusListCredential: string;
1327
+ }>>;
1328
+ proof: z.ZodOptional<z.ZodObject<{
1329
+ type: z.ZodString;
1330
+ created: z.ZodOptional<z.ZodString>;
1331
+ verificationMethod: z.ZodOptional<z.ZodString>;
1332
+ proofPurpose: z.ZodOptional<z.ZodString>;
1333
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1334
+ type: z.ZodString;
1335
+ created: z.ZodOptional<z.ZodString>;
1336
+ verificationMethod: z.ZodOptional<z.ZodString>;
1337
+ proofPurpose: z.ZodOptional<z.ZodString>;
1338
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1339
+ type: z.ZodString;
1340
+ created: z.ZodOptional<z.ZodString>;
1341
+ verificationMethod: z.ZodOptional<z.ZodString>;
1342
+ proofPurpose: z.ZodOptional<z.ZodString>;
1343
+ }, z.ZodTypeAny, "passthrough">>>;
1344
+ } & {
1345
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1346
+ credentialSubject: z.ZodObject<{
1347
+ /** Subject DID */
1348
+ id: z.ZodString;
1349
+ /** Reputation level (human-readable) */
1350
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
1351
+ /** Numeric score (0-100) */
1352
+ score: z.ZodNumber;
1353
+ /** Whether the attestation issuer has high confidence */
1354
+ highConfidence: z.ZodBoolean;
1355
+ /** Specific capability or context being attested */
1356
+ capability: z.ZodOptional<z.ZodString>;
1357
+ }, "strip", z.ZodTypeAny, {
1358
+ id: string;
1359
+ score: number;
1360
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1361
+ highConfidence: boolean;
1362
+ capability?: string | undefined;
1363
+ }, {
1364
+ id: string;
1365
+ score: number;
1366
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1367
+ highConfidence: boolean;
1368
+ capability?: string | undefined;
1369
+ }>;
1370
+ }, z.ZodTypeAny, "passthrough">, z.objectOutputType<{
1371
+ '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1372
+ id: z.ZodOptional<z.ZodString>;
1373
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1374
+ id: z.ZodString;
1375
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1376
+ id: z.ZodString;
1377
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1378
+ id: z.ZodString;
1379
+ }, z.ZodTypeAny, "passthrough">>]>;
1380
+ issuanceDate: z.ZodString;
1381
+ expirationDate: z.ZodOptional<z.ZodString>;
1382
+ credentialStatus: z.ZodOptional<z.ZodObject<{
1383
+ id: z.ZodString;
1384
+ type: z.ZodLiteral<"StatusList2021Entry">;
1385
+ statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1386
+ statusListIndex: z.ZodString;
1387
+ statusListCredential: z.ZodString;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ type: "StatusList2021Entry";
1390
+ id: string;
1391
+ statusPurpose: "revocation" | "suspension";
1392
+ statusListIndex: string;
1393
+ statusListCredential: string;
1394
+ }, {
1395
+ type: "StatusList2021Entry";
1396
+ id: string;
1397
+ statusPurpose: "revocation" | "suspension";
1398
+ statusListIndex: string;
1399
+ statusListCredential: string;
1400
+ }>>;
1401
+ proof: z.ZodOptional<z.ZodObject<{
1402
+ type: z.ZodString;
1403
+ created: z.ZodOptional<z.ZodString>;
1404
+ verificationMethod: z.ZodOptional<z.ZodString>;
1405
+ proofPurpose: z.ZodOptional<z.ZodString>;
1406
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1407
+ type: z.ZodString;
1408
+ created: z.ZodOptional<z.ZodString>;
1409
+ verificationMethod: z.ZodOptional<z.ZodString>;
1410
+ proofPurpose: z.ZodOptional<z.ZodString>;
1411
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1412
+ type: z.ZodString;
1413
+ created: z.ZodOptional<z.ZodString>;
1414
+ verificationMethod: z.ZodOptional<z.ZodString>;
1415
+ proofPurpose: z.ZodOptional<z.ZodString>;
1416
+ }, z.ZodTypeAny, "passthrough">>>;
1417
+ } & {
1418
+ type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1419
+ credentialSubject: z.ZodObject<{
1420
+ /** Subject DID */
1421
+ id: z.ZodString;
1422
+ /** Reputation level (human-readable) */
1423
+ level: z.ZodEnum<["Unknown", "Poor", "BelowAverage", "Average", "Good", "Excellent", "Outstanding"]>;
1424
+ /** Numeric score (0-100) */
1425
+ score: z.ZodNumber;
1426
+ /** Whether the attestation issuer has high confidence */
1427
+ highConfidence: z.ZodBoolean;
1428
+ /** Specific capability or context being attested */
1429
+ capability: z.ZodOptional<z.ZodString>;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ id: string;
1432
+ score: number;
1433
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1434
+ highConfidence: boolean;
1435
+ capability?: string | undefined;
1436
+ }, {
1437
+ id: string;
1438
+ score: number;
1439
+ level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1440
+ highConfidence: boolean;
1441
+ capability?: string | undefined;
1442
+ }>;
1443
+ }, z.ZodTypeAny, "passthrough">>;
1444
+ /**
1445
+ * Create an unsigned reputation credential (requires signing)
1446
+ *
1447
+ * @param agentDid - DID of the agent
1448
+ * @param score - Reputation score
1449
+ * @param issuerDid - DID of the issuing authority
1450
+ * @param options - Optional credential options
1451
+ * @returns Unsigned ReputationCredential
1452
+ */
1453
+ export declare function createUnsignedReputationCredential(agentDid: string, score: ReputationScore, issuerDid: string, options?: {
1454
+ id?: string;
1455
+ expirationDate?: string;
1456
+ credentialStatus?: z.infer<typeof CredentialStatusSchema>;
1457
+ context?: {
1458
+ scope?: string;
1459
+ domain?: string;
1460
+ region?: string;
1461
+ };
1462
+ }): Omit<ReputationCredential, "proof">;
1463
+ /**
1464
+ * Extract reputation score from a reputation credential
1465
+ *
1466
+ * @param credential - The reputation credential
1467
+ * @returns Reputation score data
1468
+ */
1469
+ export declare function extractReputationFromCredential(credential: ReputationCredential): ReputationScore;
1470
+ /**
1471
+ * Check if a reputation credential has expired
1472
+ *
1473
+ * @param credential - The credential to check
1474
+ * @returns true if expired
1475
+ */
1476
+ export declare function isReputationCredentialExpired(credential: ReputationCredential): boolean;
1477
+ /**
1478
+ * Check if the reputation score in a credential is stale
1479
+ * (calculated too long ago to be reliable)
1480
+ *
1481
+ * @param credential - The credential to check
1482
+ * @param maxAgeMs - Maximum age in milliseconds (default: 24 hours)
1483
+ * @returns true if stale
1484
+ */
1485
+ export declare function isReputationCredentialStale(credential: ReputationCredential, maxAgeMs?: number): boolean;
1486
+ /**
1487
+ * Default reputation credential validity period (7 days)
1488
+ */
1489
+ export declare const DEFAULT_REPUTATION_CREDENTIAL_VALIDITY_MS: number;
1490
+ /**
1491
+ * Recommended maximum age for reputation scores (24 hours)
1492
+ */
1493
+ export declare const RECOMMENDED_REPUTATION_FRESHNESS_MS: number;