@pithy-sh/core 0.12.0 → 0.14.0

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 (362) hide show
  1. package/README.md +54 -0
  2. package/dist/audit/auditEvent.js +1 -1
  3. package/dist/audit/chain.d.ts +289 -0
  4. package/dist/audit/chain.d.ts.map +1 -0
  5. package/dist/audit/chain.js +400 -0
  6. package/dist/audit/citations.d.ts +52 -0
  7. package/dist/audit/citations.d.ts.map +1 -0
  8. package/dist/audit/citations.js +13 -0
  9. package/dist/audit/composed.d.ts +18 -0
  10. package/dist/audit/composed.d.ts.map +1 -0
  11. package/dist/audit/composed.js +28 -0
  12. package/dist/capability/bindings.d.ts +22 -0
  13. package/dist/capability/bindings.d.ts.map +1 -1
  14. package/dist/capability/bindings.js +32 -2
  15. package/dist/capability/capability.d.ts +133 -15
  16. package/dist/capability/capability.d.ts.map +1 -1
  17. package/dist/capability/capability.js +17 -2
  18. package/dist/capability/erasure.d.ts +75 -0
  19. package/dist/capability/erasure.d.ts.map +1 -0
  20. package/dist/capability/erasure.js +2 -0
  21. package/dist/capability/manifest.d.ts +5 -0
  22. package/dist/capability/manifest.d.ts.map +1 -1
  23. package/dist/capability/personColumns.d.ts +28 -0
  24. package/dist/capability/personColumns.d.ts.map +1 -0
  25. package/dist/capability/personColumns.js +66 -0
  26. package/dist/capability/personRows.d.ts +62 -0
  27. package/dist/capability/personRows.d.ts.map +1 -0
  28. package/dist/capability/personRows.js +59 -0
  29. package/dist/capability/purge.d.ts +113 -4
  30. package/dist/capability/purge.d.ts.map +1 -1
  31. package/dist/capability/purge.js +138 -5
  32. package/dist/capability/settings.d.ts +10 -0
  33. package/dist/capability/settings.d.ts.map +1 -1
  34. package/dist/capability/vectorIndex.d.ts +36 -0
  35. package/dist/capability/vectorIndex.d.ts.map +1 -0
  36. package/dist/capability/vectorIndex.js +25 -0
  37. package/dist/cli/commandCatalog.generated.d.ts +434 -4
  38. package/dist/cli/commandCatalog.generated.d.ts.map +1 -1
  39. package/dist/cli/commandCatalog.generated.js +455 -2
  40. package/dist/cli/commandFacts.d.ts +8 -5
  41. package/dist/cli/commandFacts.d.ts.map +1 -1
  42. package/dist/cli/commandFacts.js +12 -3
  43. package/dist/consent/purpose.d.ts +70 -0
  44. package/dist/consent/purpose.d.ts.map +1 -0
  45. package/dist/consent/purpose.js +97 -0
  46. package/dist/consent/reader.d.ts +99 -0
  47. package/dist/consent/reader.d.ts.map +1 -0
  48. package/dist/consent/reader.js +33 -0
  49. package/dist/controlPlane/audit/actions.d.ts +15 -4
  50. package/dist/controlPlane/audit/actions.d.ts.map +1 -1
  51. package/dist/controlPlane/audit/actions.js +16 -5
  52. package/dist/controlPlane/capability.d.ts +10 -0
  53. package/dist/controlPlane/capability.d.ts.map +1 -1
  54. package/dist/controlPlane/capability.js +56 -8
  55. package/dist/controlPlane/context.d.ts +4 -0
  56. package/dist/controlPlane/context.d.ts.map +1 -1
  57. package/dist/controlPlane/context.js +3 -2
  58. package/dist/controlPlane/data/connection.d.ts +21 -2
  59. package/dist/controlPlane/data/connection.d.ts.map +1 -1
  60. package/dist/controlPlane/data/connection.js +13 -4
  61. package/dist/controlPlane/data/connections.d.ts +94 -0
  62. package/dist/controlPlane/data/connections.d.ts.map +1 -0
  63. package/dist/controlPlane/data/connections.js +151 -0
  64. package/dist/controlPlane/data/hold.d.ts +46 -0
  65. package/dist/controlPlane/data/hold.d.ts.map +1 -0
  66. package/dist/controlPlane/data/hold.js +36 -0
  67. package/dist/controlPlane/data/oidcTrust.d.ts +122 -0
  68. package/dist/controlPlane/data/oidcTrust.d.ts.map +1 -0
  69. package/dist/controlPlane/data/oidcTrust.js +173 -0
  70. package/dist/controlPlane/data/tables.d.ts +4 -0
  71. package/dist/controlPlane/data/tables.d.ts.map +1 -1
  72. package/dist/controlPlane/data/tables.js +9 -4
  73. package/dist/controlPlane/data/trustFirstCall.d.ts +16 -0
  74. package/dist/controlPlane/data/trustFirstCall.d.ts.map +1 -0
  75. package/dist/controlPlane/data/trustFirstCall.js +25 -0
  76. package/dist/controlPlane/discovery/adminRoute.d.ts +165 -2
  77. package/dist/controlPlane/discovery/adminRoute.d.ts.map +1 -1
  78. package/dist/controlPlane/discovery/adminRoute.js +32 -8
  79. package/dist/controlPlane/discovery/routeInput.d.ts +23 -0
  80. package/dist/controlPlane/discovery/routeInput.d.ts.map +1 -0
  81. package/dist/controlPlane/discovery/routeInput.js +80 -0
  82. package/dist/controlPlane/discovery/toolName.d.ts +21 -0
  83. package/dist/controlPlane/discovery/toolName.d.ts.map +1 -0
  84. package/dist/controlPlane/discovery/toolName.js +25 -0
  85. package/dist/controlPlane/erasure/attest.d.ts +78 -0
  86. package/dist/controlPlane/erasure/attest.d.ts.map +1 -0
  87. package/dist/controlPlane/erasure/attest.js +164 -0
  88. package/dist/controlPlane/erasure/read.d.ts +39 -0
  89. package/dist/controlPlane/erasure/read.d.ts.map +1 -0
  90. package/dist/controlPlane/erasure/read.js +140 -0
  91. package/dist/controlPlane/error/errors.d.ts +61 -2
  92. package/dist/controlPlane/error/errors.d.ts.map +1 -1
  93. package/dist/controlPlane/error/errors.js +13 -0
  94. package/dist/controlPlane/evidence/derive.d.ts +124 -0
  95. package/dist/controlPlane/evidence/derive.d.ts.map +1 -0
  96. package/dist/controlPlane/evidence/derive.js +343 -0
  97. package/dist/controlPlane/evidence/mapping.d.ts +85 -0
  98. package/dist/controlPlane/evidence/mapping.d.ts.map +1 -0
  99. package/dist/controlPlane/evidence/mapping.js +114 -0
  100. package/dist/controlPlane/evidence/pack.d.ts +46 -0
  101. package/dist/controlPlane/evidence/pack.d.ts.map +1 -0
  102. package/dist/controlPlane/evidence/pack.js +124 -0
  103. package/dist/controlPlane/http/connections.d.ts +96 -0
  104. package/dist/controlPlane/http/connections.d.ts.map +1 -0
  105. package/dist/controlPlane/http/connections.js +109 -0
  106. package/dist/controlPlane/http/guard.d.ts +23 -2
  107. package/dist/controlPlane/http/guard.d.ts.map +1 -1
  108. package/dist/controlPlane/http/guard.js +103 -7
  109. package/dist/controlPlane/http/handlers.d.ts +212 -10
  110. package/dist/controlPlane/http/handlers.d.ts.map +1 -1
  111. package/dist/controlPlane/http/handlers.js +117 -26
  112. package/dist/controlPlane/http/holds.d.ts +57 -0
  113. package/dist/controlPlane/http/holds.d.ts.map +1 -0
  114. package/dist/controlPlane/http/holds.js +98 -0
  115. package/dist/controlPlane/http/presence.d.ts +27 -0
  116. package/dist/controlPlane/http/presence.d.ts.map +1 -0
  117. package/dist/controlPlane/http/presence.js +67 -0
  118. package/dist/controlPlane/http/processing.d.ts +73 -0
  119. package/dist/controlPlane/http/processing.d.ts.map +1 -0
  120. package/dist/controlPlane/http/processing.js +17 -0
  121. package/dist/controlPlane/http/responses.d.ts +927 -3
  122. package/dist/controlPlane/http/responses.d.ts.map +1 -1
  123. package/dist/controlPlane/http/responses.js +283 -7
  124. package/dist/controlPlane/http/routes.d.ts +12 -2
  125. package/dist/controlPlane/http/routes.d.ts.map +1 -1
  126. package/dist/controlPlane/http/routes.js +182 -5
  127. package/dist/controlPlane/http/schemas.d.ts +63 -0
  128. package/dist/controlPlane/http/schemas.d.ts.map +1 -1
  129. package/dist/controlPlane/http/schemas.js +39 -1
  130. package/dist/controlPlane/http/verify.d.ts.map +1 -1
  131. package/dist/controlPlane/http/verify.js +13 -1
  132. package/dist/controlPlane/http/verifyTrust.d.ts +76 -0
  133. package/dist/controlPlane/http/verifyTrust.d.ts.map +1 -0
  134. package/dist/controlPlane/http/verifyTrust.js +75 -0
  135. package/dist/controlPlane/migrations/0004_connection_trusts.d.ts +15 -0
  136. package/dist/controlPlane/migrations/0004_connection_trusts.d.ts.map +1 -0
  137. package/dist/controlPlane/migrations/0004_connection_trusts.js +23 -0
  138. package/dist/controlPlane/migrations/0005_holds.d.ts +12 -0
  139. package/dist/controlPlane/migrations/0005_holds.d.ts.map +1 -0
  140. package/dist/controlPlane/migrations/0005_holds.js +26 -0
  141. package/dist/controlPlane/processing/derive.d.ts +77 -0
  142. package/dist/controlPlane/processing/derive.d.ts.map +1 -0
  143. package/dist/controlPlane/processing/derive.js +206 -0
  144. package/dist/controlPlane/processing/read.d.ts +10 -0
  145. package/dist/controlPlane/processing/read.d.ts.map +1 -0
  146. package/dist/controlPlane/processing/read.js +89 -0
  147. package/dist/controlPlane/scope/kind.d.ts +46 -0
  148. package/dist/controlPlane/scope/kind.d.ts.map +1 -0
  149. package/dist/controlPlane/scope/kind.js +52 -0
  150. package/dist/controlPlane/scope/scope.d.ts +58 -3
  151. package/dist/controlPlane/scope/scope.d.ts.map +1 -1
  152. package/dist/controlPlane/scope/scope.js +59 -4
  153. package/dist/controlPlane/token/jws.js +1 -1
  154. package/dist/controlPlane/token/mint.js +1 -1
  155. package/dist/controlPlane/wire.d.ts +23 -0
  156. package/dist/controlPlane/wire.d.ts.map +1 -1
  157. package/dist/controlPlane/wire.js +24 -1
  158. package/dist/createBackend.d.ts +13 -0
  159. package/dist/createBackend.d.ts.map +1 -1
  160. package/dist/createBackend.js +11 -3
  161. package/dist/createEntrypoint.d.ts +14 -1
  162. package/dist/createEntrypoint.d.ts.map +1 -1
  163. package/dist/createEntrypoint.js +19 -5
  164. package/dist/error/http.d.ts +216 -0
  165. package/dist/error/http.d.ts.map +1 -1
  166. package/dist/error/payload.d.ts +432 -0
  167. package/dist/error/payload.d.ts.map +1 -1
  168. package/dist/error/payload.js +144 -0
  169. package/dist/error/pithyError.d.ts +22 -0
  170. package/dist/error/pithyError.d.ts.map +1 -1
  171. package/dist/error/pithyError.js +31 -1
  172. package/dist/http/routeSpec.d.ts +46 -1
  173. package/dist/http/routeSpec.d.ts.map +1 -1
  174. package/dist/http/routeSpec.js +39 -5
  175. package/dist/http/validation.d.ts +11 -2
  176. package/dist/http/validation.d.ts.map +1 -1
  177. package/dist/http/validation.js +20 -3
  178. package/dist/http/verification.d.ts.map +1 -1
  179. package/dist/http/verification.js +1 -1
  180. package/dist/i18n/translator.d.ts +2 -1
  181. package/dist/i18n/translator.d.ts.map +1 -1
  182. package/dist/index.d.ts +1 -1
  183. package/dist/index.d.ts.map +1 -1
  184. package/dist/index.js +3 -3
  185. package/dist/logger/record.d.ts +126 -0
  186. package/dist/logger/record.d.ts.map +1 -1
  187. package/dist/mcp/annotations.d.ts +20 -0
  188. package/dist/mcp/annotations.d.ts.map +1 -0
  189. package/dist/mcp/annotations.js +23 -0
  190. package/dist/mcp/tools.d.ts +75 -0
  191. package/dist/mcp/tools.d.ts.map +1 -0
  192. package/dist/mcp/tools.js +118 -0
  193. package/dist/openapi/document.d.ts.map +1 -1
  194. package/dist/openapi/document.js +8 -26
  195. package/dist/openapi/operations.d.ts +35 -0
  196. package/dist/openapi/operations.d.ts.map +1 -0
  197. package/dist/openapi/operations.js +37 -0
  198. package/dist/presence/channel.d.ts +11 -0
  199. package/dist/presence/channel.d.ts.map +1 -0
  200. package/dist/presence/channel.js +65 -0
  201. package/dist/presence/declaration.d.ts +154 -0
  202. package/dist/presence/declaration.d.ts.map +1 -0
  203. package/dist/presence/declaration.js +164 -0
  204. package/dist/presence/durableObject.d.ts +61 -0
  205. package/dist/presence/durableObject.d.ts.map +1 -0
  206. package/dist/presence/durableObject.js +257 -0
  207. package/dist/presence/frames.d.ts +166 -0
  208. package/dist/presence/frames.d.ts.map +1 -0
  209. package/dist/presence/frames.js +90 -0
  210. package/dist/presence/http/guard.d.ts +11 -0
  211. package/dist/presence/http/guard.d.ts.map +1 -0
  212. package/dist/presence/http/guard.js +20 -0
  213. package/dist/presence/http/responses.d.ts +31 -0
  214. package/dist/presence/http/responses.d.ts.map +1 -0
  215. package/dist/presence/http/responses.js +34 -0
  216. package/dist/presence/http/routes.d.ts +24 -0
  217. package/dist/presence/http/routes.d.ts.map +1 -0
  218. package/dist/presence/http/routes.js +127 -0
  219. package/dist/presence/http/schemas.d.ts +29 -0
  220. package/dist/presence/http/schemas.d.ts.map +1 -0
  221. package/dist/presence/http/schemas.js +28 -0
  222. package/dist/presence/names.d.ts +23 -0
  223. package/dist/presence/names.d.ts.map +1 -0
  224. package/dist/presence/names.js +22 -0
  225. package/dist/presence/room.d.ts +95 -0
  226. package/dist/presence/room.d.ts.map +1 -0
  227. package/dist/presence/room.js +105 -0
  228. package/dist/presence/ticket.d.ts +55 -0
  229. package/dist/presence/ticket.d.ts.map +1 -0
  230. package/dist/presence/ticket.js +109 -0
  231. package/dist/privacy/classify.js +1 -1
  232. package/dist/privacy/encrypted.js +1 -1
  233. package/dist/processing/activity.d.ts +134 -0
  234. package/dist/processing/activity.d.ts.map +1 -0
  235. package/dist/processing/activity.js +161 -0
  236. package/dist/processing/composed.d.ts +18 -0
  237. package/dist/processing/composed.d.ts.map +1 -0
  238. package/dist/processing/composed.js +28 -0
  239. package/dist/processing/vocabulary.d.ts +26 -0
  240. package/dist/processing/vocabulary.d.ts.map +1 -0
  241. package/dist/processing/vocabulary.js +35 -0
  242. package/dist/queue/consumer.d.ts +59 -0
  243. package/dist/queue/consumer.d.ts.map +1 -0
  244. package/dist/queue/consumer.js +46 -0
  245. package/dist/retention/composed.d.ts +37 -0
  246. package/dist/retention/composed.d.ts.map +1 -0
  247. package/dist/retention/composed.js +66 -0
  248. package/dist/retention/holds.d.ts +61 -0
  249. package/dist/retention/holds.d.ts.map +1 -0
  250. package/dist/retention/holds.js +107 -0
  251. package/dist/retention/holdsPurge.d.ts +22 -0
  252. package/dist/retention/holdsPurge.d.ts.map +1 -0
  253. package/dist/retention/holdsPurge.js +50 -0
  254. package/dist/retention/policy.d.ts +132 -0
  255. package/dist/retention/policy.d.ts.map +1 -0
  256. package/dist/retention/policy.js +197 -0
  257. package/dist/session/rotated.d.ts +34 -0
  258. package/dist/session/rotated.d.ts.map +1 -0
  259. package/dist/session/rotated.js +25 -0
  260. package/dist/test-utils/connectionFixtures.d.ts +13 -0
  261. package/dist/test-utils/connectionFixtures.d.ts.map +1 -0
  262. package/dist/test-utils/connectionFixtures.js +58 -0
  263. package/dist/test-utils/interleave.d.ts +12 -0
  264. package/dist/test-utils/interleave.d.ts.map +1 -0
  265. package/dist/test-utils/interleave.js +26 -0
  266. package/dist/testWorker.d.ts +8 -0
  267. package/dist/testWorker.d.ts.map +1 -0
  268. package/dist/testWorker.js +9 -0
  269. package/dist/version.generated.d.ts +1 -1
  270. package/dist/version.generated.js +1 -1
  271. package/dist/workflow/dispatchRoute.js +1 -1
  272. package/package.json +1 -1
  273. package/src/audit/auditEvent.ts +1 -1
  274. package/src/audit/chain.ts +551 -0
  275. package/src/audit/citations.ts +63 -0
  276. package/src/audit/composed.ts +30 -0
  277. package/src/capability/bindings.ts +61 -0
  278. package/src/capability/capability.ts +166 -18
  279. package/src/capability/erasure.ts +82 -0
  280. package/src/capability/personColumns.ts +83 -0
  281. package/src/capability/personRows.ts +125 -0
  282. package/src/capability/purge.ts +208 -8
  283. package/src/capability/settings.ts +7 -0
  284. package/src/capability/vectorIndex.ts +60 -0
  285. package/src/cli/commandCatalog.generated.ts +488 -2
  286. package/src/cli/commandFacts.ts +12 -3
  287. package/src/cloudflare-test.d.ts +3 -1
  288. package/src/consent/purpose.ts +160 -0
  289. package/src/consent/reader.ts +134 -0
  290. package/src/controlPlane/audit/actions.ts +15 -4
  291. package/src/controlPlane/capability.ts +99 -20
  292. package/src/controlPlane/context.ts +10 -2
  293. package/src/controlPlane/data/connection.ts +16 -2
  294. package/src/controlPlane/data/connections.ts +231 -0
  295. package/src/controlPlane/data/hold.ts +52 -0
  296. package/src/controlPlane/data/oidcTrust.ts +249 -0
  297. package/src/controlPlane/data/tables.ts +7 -0
  298. package/src/controlPlane/data/trustFirstCall.ts +37 -0
  299. package/src/controlPlane/discovery/adminRoute.ts +71 -9
  300. package/src/controlPlane/discovery/routeInput.ts +86 -0
  301. package/src/controlPlane/discovery/toolName.ts +23 -0
  302. package/src/controlPlane/erasure/attest.ts +205 -0
  303. package/src/controlPlane/erasure/read.ts +169 -0
  304. package/src/controlPlane/error/errors.ts +69 -2
  305. package/src/controlPlane/evidence/derive.ts +426 -0
  306. package/src/controlPlane/evidence/mapping.ts +118 -0
  307. package/src/controlPlane/evidence/pack.ts +190 -0
  308. package/src/controlPlane/http/connections.ts +129 -0
  309. package/src/controlPlane/http/guard.ts +178 -10
  310. package/src/controlPlane/http/handlers.ts +172 -40
  311. package/src/controlPlane/http/holds.ts +108 -0
  312. package/src/controlPlane/http/presence.ts +71 -0
  313. package/src/controlPlane/http/processing.ts +19 -0
  314. package/src/controlPlane/http/responses.ts +590 -7
  315. package/src/controlPlane/http/routes.ts +302 -3
  316. package/src/controlPlane/http/schemas.ts +126 -0
  317. package/src/controlPlane/http/verify.ts +19 -2
  318. package/src/controlPlane/http/verifyTrust.ts +176 -0
  319. package/src/controlPlane/migrations/0004_connection_trusts.ts +30 -0
  320. package/src/controlPlane/migrations/0005_holds.ts +40 -0
  321. package/src/controlPlane/processing/derive.ts +359 -0
  322. package/src/controlPlane/processing/read.ts +102 -0
  323. package/src/controlPlane/scope/kind.ts +63 -0
  324. package/src/controlPlane/scope/scope.ts +65 -3
  325. package/src/controlPlane/wire.ts +26 -0
  326. package/src/createBackend.ts +31 -6
  327. package/src/createEntrypoint.ts +34 -2
  328. package/src/error/payload.ts +302 -0
  329. package/src/error/pithyError.ts +42 -0
  330. package/src/http/routeSpec.ts +75 -5
  331. package/src/http/validation.ts +35 -3
  332. package/src/http/verification.ts +3 -1
  333. package/src/i18n/translator.ts +2 -1
  334. package/src/index.ts +2 -0
  335. package/src/mcp/annotations.ts +38 -0
  336. package/src/mcp/tools.ts +220 -0
  337. package/src/openapi/document.ts +8 -28
  338. package/src/openapi/operations.ts +62 -0
  339. package/src/presence/channel.ts +46 -0
  340. package/src/presence/declaration.ts +283 -0
  341. package/src/presence/durableObject.ts +287 -0
  342. package/src/presence/frames.ts +153 -0
  343. package/src/presence/http/guard.ts +23 -0
  344. package/src/presence/http/responses.ts +63 -0
  345. package/src/presence/http/routes.ts +165 -0
  346. package/src/presence/http/schemas.ts +39 -0
  347. package/src/presence/names.ts +45 -0
  348. package/src/presence/room.ts +145 -0
  349. package/src/presence/ticket.ts +145 -0
  350. package/src/processing/activity.ts +289 -0
  351. package/src/processing/composed.ts +33 -0
  352. package/src/processing/vocabulary.ts +43 -0
  353. package/src/queue/consumer.ts +104 -0
  354. package/src/retention/composed.ts +75 -0
  355. package/src/retention/holds.ts +175 -0
  356. package/src/retention/holdsPurge.ts +50 -0
  357. package/src/retention/policy.ts +305 -0
  358. package/src/session/rotated.ts +53 -0
  359. package/src/test-utils/connectionFixtures.ts +58 -0
  360. package/src/test-utils/interleave.ts +31 -0
  361. package/src/testWorker.ts +13 -0
  362. package/src/version.generated.ts +1 -1
@@ -24,6 +24,11 @@ export declare const COMMANDS: {
24
24
  readonly required: false;
25
25
  readonly repeatable: true;
26
26
  };
27
+ readonly "--floor": {
28
+ readonly type: "string";
29
+ readonly required: false;
30
+ readonly repeatable: false;
31
+ };
27
32
  readonly "--eject": {
28
33
  readonly type: "boolean";
29
34
  readonly required: false;
@@ -76,6 +81,69 @@ export declare const COMMANDS: {
76
81
  readonly flags: readonly ["--remove", "--status"];
77
82
  }];
78
83
  };
84
+ readonly "audit lock": {
85
+ readonly positionals: readonly [];
86
+ readonly flags: {
87
+ readonly "--env": {
88
+ readonly type: "string";
89
+ readonly required: false;
90
+ readonly repeatable: false;
91
+ };
92
+ readonly "--json": {
93
+ readonly type: "boolean";
94
+ readonly required: false;
95
+ readonly repeatable: false;
96
+ };
97
+ };
98
+ readonly groups: readonly [];
99
+ };
100
+ readonly "audit verify": {
101
+ readonly positionals: readonly [{
102
+ readonly name: "file";
103
+ readonly required: true;
104
+ readonly variadic: false;
105
+ }];
106
+ readonly flags: {
107
+ readonly "--json": {
108
+ readonly type: "boolean";
109
+ readonly required: false;
110
+ readonly repeatable: false;
111
+ };
112
+ };
113
+ readonly groups: readonly [];
114
+ };
115
+ readonly backup: {
116
+ readonly positionals: readonly [];
117
+ readonly flags: {
118
+ readonly "--env": {
119
+ readonly type: "string";
120
+ readonly required: false;
121
+ readonly repeatable: false;
122
+ readonly default: "dev";
123
+ };
124
+ readonly "--worker": {
125
+ readonly type: "string";
126
+ readonly required: false;
127
+ readonly repeatable: false;
128
+ };
129
+ readonly "--binding": {
130
+ readonly type: "string";
131
+ readonly required: false;
132
+ readonly repeatable: false;
133
+ };
134
+ readonly "--output": {
135
+ readonly type: "string";
136
+ readonly required: false;
137
+ readonly repeatable: false;
138
+ };
139
+ readonly "--json": {
140
+ readonly type: "boolean";
141
+ readonly required: false;
142
+ readonly repeatable: false;
143
+ };
144
+ };
145
+ readonly groups: readonly [];
146
+ };
79
147
  readonly "cloudflare connect": {
80
148
  readonly positionals: readonly [];
81
149
  readonly flags: {
@@ -276,8 +344,39 @@ export declare const COMMANDS: {
276
344
  readonly required: false;
277
345
  readonly repeatable: false;
278
346
  };
347
+ readonly "--oidc-issuer": {
348
+ readonly type: "string";
349
+ readonly required: false;
350
+ readonly repeatable: false;
351
+ };
352
+ readonly "--oidc-claim": {
353
+ readonly type: "string";
354
+ readonly required: false;
355
+ readonly repeatable: true;
356
+ };
357
+ readonly "--oidc-audience": {
358
+ readonly type: "string";
359
+ readonly required: false;
360
+ readonly repeatable: false;
361
+ };
279
362
  };
280
363
  readonly groups: readonly [{
364
+ readonly kind: "requires";
365
+ readonly flag: "--oidc-claim";
366
+ readonly needs: readonly ["--oidc-issuer"];
367
+ readonly any: false;
368
+ }, {
369
+ readonly kind: "requires";
370
+ readonly flag: "--oidc-audience";
371
+ readonly needs: readonly ["--oidc-issuer"];
372
+ readonly any: false;
373
+ }, {
374
+ readonly kind: "atMostOne";
375
+ readonly flags: readonly ["--oidc-issuer", "--public-key"];
376
+ }, {
377
+ readonly kind: "atMostOne";
378
+ readonly flags: readonly ["--oidc-issuer", "--update"];
379
+ }, {
281
380
  readonly kind: "requires";
282
381
  readonly flag: "--public-key";
283
382
  readonly needs: readonly ["--issuer"];
@@ -295,8 +394,8 @@ export declare const COMMANDS: {
295
394
  }, {
296
395
  readonly kind: "requires";
297
396
  readonly flag: "--kind";
298
- readonly needs: readonly ["--public-key"];
299
- readonly any: false;
397
+ readonly needs: readonly ["--public-key", "--oidc-issuer"];
398
+ readonly any: true;
300
399
  }, {
301
400
  readonly kind: "requires";
302
401
  readonly flag: "--update";
@@ -304,6 +403,47 @@ export declare const COMMANDS: {
304
403
  readonly any: true;
305
404
  }];
306
405
  };
406
+ readonly "dashboard connections": {
407
+ readonly positionals: readonly [];
408
+ readonly flags: {
409
+ readonly "--principal": {
410
+ readonly type: "string";
411
+ readonly required: true;
412
+ readonly repeatable: false;
413
+ };
414
+ readonly "--env": {
415
+ readonly type: "string";
416
+ readonly required: false;
417
+ readonly repeatable: false;
418
+ };
419
+ readonly "--worker": {
420
+ readonly type: "string";
421
+ readonly required: false;
422
+ readonly repeatable: false;
423
+ };
424
+ readonly "--revoke": {
425
+ readonly type: "boolean";
426
+ readonly required: false;
427
+ readonly repeatable: false;
428
+ };
429
+ readonly "--reason": {
430
+ readonly type: "string";
431
+ readonly required: false;
432
+ readonly repeatable: false;
433
+ };
434
+ readonly "--yes": {
435
+ readonly type: "boolean";
436
+ readonly required: false;
437
+ readonly repeatable: false;
438
+ };
439
+ readonly "--json": {
440
+ readonly type: "boolean";
441
+ readonly required: false;
442
+ readonly repeatable: false;
443
+ };
444
+ };
445
+ readonly groups: readonly [];
446
+ };
307
447
  readonly "dashboard disconnect": {
308
448
  readonly positionals: readonly [];
309
449
  readonly flags: {
@@ -388,6 +528,48 @@ export declare const COMMANDS: {
388
528
  };
389
529
  readonly groups: readonly [];
390
530
  };
531
+ readonly "dashboard revoke-trust": {
532
+ readonly positionals: readonly [];
533
+ readonly flags: {
534
+ readonly "--env": {
535
+ readonly type: "string";
536
+ readonly required: false;
537
+ readonly repeatable: false;
538
+ readonly default: "dev";
539
+ };
540
+ readonly "--worker": {
541
+ readonly type: "string";
542
+ readonly required: false;
543
+ readonly repeatable: false;
544
+ };
545
+ readonly "--origin": {
546
+ readonly type: "string";
547
+ readonly required: false;
548
+ readonly repeatable: false;
549
+ };
550
+ readonly "--json": {
551
+ readonly type: "boolean";
552
+ readonly required: false;
553
+ readonly repeatable: false;
554
+ };
555
+ readonly "--open": {
556
+ readonly type: "boolean";
557
+ readonly required: false;
558
+ readonly repeatable: false;
559
+ };
560
+ readonly "--trust-id": {
561
+ readonly type: "string";
562
+ readonly required: true;
563
+ readonly repeatable: false;
564
+ };
565
+ readonly "--yes": {
566
+ readonly type: "boolean";
567
+ readonly required: false;
568
+ readonly repeatable: false;
569
+ };
570
+ };
571
+ readonly groups: readonly [];
572
+ };
391
573
  readonly "dashboard rotate": {
392
574
  readonly positionals: readonly [];
393
575
  readonly flags: {
@@ -783,7 +965,7 @@ export declare const COMMANDS: {
783
965
  readonly required: false;
784
966
  readonly repeatable: false;
785
967
  readonly default: "welcome";
786
- readonly enum: readonly ["magicLink", "supportReply", "otp", "welcome", "securityAlert", "invite", "testerNudge", "passwordChanged", "accountSuspended", "accountReinstated", "deletionScheduled", "deletionComplete", "operationalNotice", "newsletter", "leadCapture", "marketingCampaign"];
968
+ readonly enum: readonly ["magicLink", "supportReply", "otp", "welcome", "securityAlert", "invite", "testerNudge", "passwordChanged", "accountSuspended", "accountReinstated", "deletionScheduled", "deletionComplete", "organizationMemberAdded", "organizationMemberRemoved", "organizationOwnershipTransferred", "organizationSuspended", "organizationReinstated", "organizationDeletionScheduled", "operationalNotice", "newsletter", "leadCapture", "marketingCampaign"];
787
969
  };
788
970
  readonly "--from": {
789
971
  readonly type: "string";
@@ -919,6 +1101,31 @@ export declare const COMMANDS: {
919
1101
  readonly required: false;
920
1102
  readonly repeatable: false;
921
1103
  };
1104
+ readonly "--react-native": {
1105
+ readonly type: "boolean";
1106
+ readonly required: false;
1107
+ readonly repeatable: false;
1108
+ };
1109
+ readonly "--app": {
1110
+ readonly type: "string";
1111
+ readonly required: false;
1112
+ readonly repeatable: false;
1113
+ };
1114
+ readonly "--ios-rail": {
1115
+ readonly type: "string";
1116
+ readonly required: false;
1117
+ readonly repeatable: false;
1118
+ };
1119
+ readonly "--android-rail": {
1120
+ readonly type: "string";
1121
+ readonly required: false;
1122
+ readonly repeatable: false;
1123
+ };
1124
+ readonly "--web-rail": {
1125
+ readonly type: "string";
1126
+ readonly required: false;
1127
+ readonly repeatable: false;
1128
+ };
922
1129
  readonly "--dir": {
923
1130
  readonly type: "string";
924
1131
  readonly required: false;
@@ -933,6 +1140,143 @@ export declare const COMMANDS: {
933
1140
  };
934
1141
  readonly groups: readonly [];
935
1142
  };
1143
+ readonly "mcp connect": {
1144
+ readonly positionals: readonly [];
1145
+ readonly flags: {
1146
+ readonly "--env": {
1147
+ readonly type: "string";
1148
+ readonly required: false;
1149
+ readonly repeatable: false;
1150
+ readonly default: "dev";
1151
+ };
1152
+ readonly "--worker": {
1153
+ readonly type: "string";
1154
+ readonly required: false;
1155
+ readonly repeatable: false;
1156
+ };
1157
+ readonly "--worker-url": {
1158
+ readonly type: "string";
1159
+ readonly required: false;
1160
+ readonly repeatable: false;
1161
+ };
1162
+ readonly "--purpose": {
1163
+ readonly type: "string";
1164
+ readonly required: false;
1165
+ readonly repeatable: false;
1166
+ };
1167
+ readonly "--scope": {
1168
+ readonly type: "string";
1169
+ readonly required: false;
1170
+ readonly repeatable: true;
1171
+ };
1172
+ readonly "--update": {
1173
+ readonly type: "boolean";
1174
+ readonly required: false;
1175
+ readonly repeatable: false;
1176
+ };
1177
+ readonly "--oidc-issuer": {
1178
+ readonly type: "string";
1179
+ readonly required: false;
1180
+ readonly repeatable: false;
1181
+ };
1182
+ readonly "--oidc-claim": {
1183
+ readonly type: "string";
1184
+ readonly required: false;
1185
+ readonly repeatable: true;
1186
+ };
1187
+ readonly "--oidc-audience": {
1188
+ readonly type: "string";
1189
+ readonly required: false;
1190
+ readonly repeatable: false;
1191
+ };
1192
+ readonly "--oidc-token": {
1193
+ readonly type: "string";
1194
+ readonly required: false;
1195
+ readonly repeatable: false;
1196
+ };
1197
+ readonly "--client": {
1198
+ readonly type: "string";
1199
+ readonly required: false;
1200
+ readonly repeatable: false;
1201
+ readonly enum: readonly ["claude-code", "cursor", "vscode", "gemini", "claude-desktop", "cline", "zed", "codex", "goose", "continue"];
1202
+ };
1203
+ readonly "--all": {
1204
+ readonly type: "boolean";
1205
+ readonly required: false;
1206
+ readonly repeatable: false;
1207
+ };
1208
+ readonly "--json": {
1209
+ readonly type: "boolean";
1210
+ readonly required: false;
1211
+ readonly repeatable: false;
1212
+ };
1213
+ };
1214
+ readonly groups: readonly [{
1215
+ readonly kind: "atMostOne";
1216
+ readonly flags: readonly ["--client", "--all"];
1217
+ }, {
1218
+ readonly kind: "atMostOne";
1219
+ readonly flags: readonly ["--oidc-issuer", "--update"];
1220
+ }, {
1221
+ readonly kind: "requires";
1222
+ readonly flag: "--oidc-claim";
1223
+ readonly needs: readonly ["--oidc-issuer"];
1224
+ readonly any: false;
1225
+ }, {
1226
+ readonly kind: "requires";
1227
+ readonly flag: "--oidc-audience";
1228
+ readonly needs: readonly ["--oidc-issuer"];
1229
+ readonly any: false;
1230
+ }, {
1231
+ readonly kind: "requires";
1232
+ readonly flag: "--oidc-token";
1233
+ readonly needs: readonly ["--oidc-issuer"];
1234
+ readonly any: false;
1235
+ }];
1236
+ };
1237
+ readonly "mcp disconnect": {
1238
+ readonly positionals: readonly [];
1239
+ readonly flags: {
1240
+ readonly "--connection": {
1241
+ readonly type: "string";
1242
+ readonly required: true;
1243
+ readonly repeatable: false;
1244
+ };
1245
+ readonly "--worker": {
1246
+ readonly type: "string";
1247
+ readonly required: false;
1248
+ readonly repeatable: false;
1249
+ };
1250
+ readonly "--json": {
1251
+ readonly type: "boolean";
1252
+ readonly required: false;
1253
+ readonly repeatable: false;
1254
+ };
1255
+ };
1256
+ readonly groups: readonly [];
1257
+ };
1258
+ readonly "mcp serve": {
1259
+ readonly positionals: readonly [];
1260
+ readonly flags: {
1261
+ readonly "--connection": {
1262
+ readonly type: "string";
1263
+ readonly required: true;
1264
+ readonly repeatable: false;
1265
+ };
1266
+ };
1267
+ readonly groups: readonly [];
1268
+ };
1269
+ readonly "mcp status": {
1270
+ readonly positionals: readonly [];
1271
+ readonly flags: {
1272
+ readonly "--json": {
1273
+ readonly type: "boolean";
1274
+ readonly required: false;
1275
+ readonly repeatable: false;
1276
+ };
1277
+ };
1278
+ readonly groups: readonly [];
1279
+ };
936
1280
  readonly "media deprovision": {
937
1281
  readonly positionals: readonly [];
938
1282
  readonly flags: {
@@ -1213,6 +1557,47 @@ export declare const COMMANDS: {
1213
1557
  };
1214
1558
  readonly groups: readonly [];
1215
1559
  };
1560
+ readonly restore: {
1561
+ readonly positionals: readonly [{
1562
+ readonly name: "dir";
1563
+ readonly required: true;
1564
+ readonly variadic: false;
1565
+ }];
1566
+ readonly flags: {
1567
+ readonly "--env": {
1568
+ readonly type: "string";
1569
+ readonly required: false;
1570
+ readonly repeatable: false;
1571
+ readonly default: "dev";
1572
+ };
1573
+ readonly "--worker": {
1574
+ readonly type: "string";
1575
+ readonly required: false;
1576
+ readonly repeatable: false;
1577
+ };
1578
+ readonly "--binding": {
1579
+ readonly type: "string";
1580
+ readonly required: false;
1581
+ readonly repeatable: false;
1582
+ };
1583
+ readonly "--database": {
1584
+ readonly type: "string";
1585
+ readonly required: false;
1586
+ readonly repeatable: false;
1587
+ };
1588
+ readonly "--group": {
1589
+ readonly type: "string";
1590
+ readonly required: false;
1591
+ readonly repeatable: false;
1592
+ };
1593
+ readonly "--json": {
1594
+ readonly type: "boolean";
1595
+ readonly required: false;
1596
+ readonly repeatable: false;
1597
+ };
1598
+ };
1599
+ readonly groups: readonly [];
1600
+ };
1216
1601
  readonly schema: {
1217
1602
  readonly positionals: readonly [{
1218
1603
  readonly name: "command";
@@ -2124,6 +2509,26 @@ export declare const COMMANDS: {
2124
2509
  readonly required: false;
2125
2510
  readonly repeatable: false;
2126
2511
  };
2512
+ readonly "--app": {
2513
+ readonly type: "string";
2514
+ readonly required: false;
2515
+ readonly repeatable: false;
2516
+ };
2517
+ readonly "--ios-rail": {
2518
+ readonly type: "string";
2519
+ readonly required: false;
2520
+ readonly repeatable: false;
2521
+ };
2522
+ readonly "--android-rail": {
2523
+ readonly type: "string";
2524
+ readonly required: false;
2525
+ readonly repeatable: false;
2526
+ };
2527
+ readonly "--web-rail": {
2528
+ readonly type: "string";
2529
+ readonly required: false;
2530
+ readonly repeatable: false;
2531
+ };
2127
2532
  readonly "--auth": {
2128
2533
  readonly type: "boolean";
2129
2534
  readonly required: false;
@@ -2139,6 +2544,11 @@ export declare const COMMANDS: {
2139
2544
  readonly required: false;
2140
2545
  readonly repeatable: false;
2141
2546
  };
2547
+ readonly "--consent": {
2548
+ readonly type: "boolean";
2549
+ readonly required: false;
2550
+ readonly repeatable: false;
2551
+ };
2142
2552
  readonly "--dry-run": {
2143
2553
  readonly type: "boolean";
2144
2554
  readonly required: false;
@@ -2171,6 +2581,26 @@ export declare const COMMANDS: {
2171
2581
  readonly required: false;
2172
2582
  readonly repeatable: false;
2173
2583
  };
2584
+ readonly "--app": {
2585
+ readonly type: "string";
2586
+ readonly required: false;
2587
+ readonly repeatable: false;
2588
+ };
2589
+ readonly "--ios-rail": {
2590
+ readonly type: "string";
2591
+ readonly required: false;
2592
+ readonly repeatable: false;
2593
+ };
2594
+ readonly "--android-rail": {
2595
+ readonly type: "string";
2596
+ readonly required: false;
2597
+ readonly repeatable: false;
2598
+ };
2599
+ readonly "--web-rail": {
2600
+ readonly type: "string";
2601
+ readonly required: false;
2602
+ readonly repeatable: false;
2603
+ };
2174
2604
  readonly "--check": {
2175
2605
  readonly type: "boolean";
2176
2606
  readonly required: false;
@@ -2485,5 +2915,5 @@ export declare const COMMANDS: {
2485
2915
  /** The flags every command takes, answered before any command runs. */
2486
2916
  export declare const GLOBAL_FLAGS: readonly ["--help", "--no-input", "--no-pretty", "--pithier", "--pithiest", "--pretty", "--version", "-h", "-v"];
2487
2917
  /** The groups, which only list their subcommands: a sentence may name one, and nobody runs one. */
2488
- export declare const GROUPS: readonly ["cloudflare", "dashboard", "docs", "email", "feature", "media", "payments", "privacy", "secrets", "storage", "support", "testers", "token", "turnstile", "ui", "vector", "worker"];
2918
+ export declare const GROUPS: readonly ["audit", "cloudflare", "dashboard", "docs", "email", "feature", "mcp", "media", "payments", "privacy", "secrets", "storage", "support", "testers", "token", "turnstile", "ui", "vector", "worker"];
2489
2919
  //# sourceMappingURL=commandCatalog.generated.d.ts.map