@intentius/chant 0.124.100 → 0.124.102

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 (270) hide show
  1. package/dist/action-pins.d.ts +2 -0
  2. package/dist/action-pins.js +3 -0
  3. package/dist/ci-detect.d.ts +13 -0
  4. package/dist/ci-detect.js +12 -0
  5. package/dist/ci-evidence-claims.d.ts +12 -0
  6. package/dist/ci-evidence-claims.js +12 -0
  7. package/dist/ci-system.d.ts +66 -0
  8. package/dist/ci-system.js +61 -0
  9. package/dist/cli/handlers/build.js +27 -0
  10. package/dist/cli/handlers/release-doctor.d.ts +12 -0
  11. package/dist/cli/handlers/release-doctor.js +118 -0
  12. package/dist/cli/handlers/release-init.d.ts +10 -0
  13. package/dist/cli/handlers/release-init.js +374 -0
  14. package/dist/cli/handlers/release.d.ts +43 -2
  15. package/dist/cli/handlers/release.js +667 -39
  16. package/dist/cli/handlers/run-generate.js +11 -0
  17. package/dist/cli/main.d.ts +2 -0
  18. package/dist/cli/main.js +44 -101
  19. package/dist/cli/parse-args.js +48 -0
  20. package/dist/cli/registry.d.ts +16 -0
  21. package/dist/cli/release-commands/artifacts.d.ts +3 -0
  22. package/dist/cli/release-commands/artifacts.js +14 -0
  23. package/dist/cli/release-commands/candidates.d.ts +3 -0
  24. package/dist/cli/release-commands/candidates.js +16 -0
  25. package/dist/cli/release-commands/changed.d.ts +3 -0
  26. package/dist/cli/release-commands/changed.js +14 -0
  27. package/dist/cli/release-commands/compose.d.ts +3 -0
  28. package/dist/cli/release-commands/compose.js +16 -0
  29. package/dist/cli/release-commands/cut.d.ts +3 -0
  30. package/dist/cli/release-commands/cut.js +50 -0
  31. package/dist/cli/release-commands/doctor.d.ts +3 -0
  32. package/dist/cli/release-commands/doctor.js +14 -0
  33. package/dist/cli/release-commands/export.d.ts +3 -0
  34. package/dist/cli/release-commands/export.js +12 -0
  35. package/dist/cli/release-commands/images.d.ts +3 -0
  36. package/dist/cli/release-commands/images.js +13 -0
  37. package/dist/cli/release-commands/index.d.ts +8 -0
  38. package/dist/cli/release-commands/index.js +52 -0
  39. package/dist/cli/release-commands/init.d.ts +3 -0
  40. package/dist/cli/release-commands/init.js +19 -0
  41. package/dist/cli/release-commands/list.d.ts +3 -0
  42. package/dist/cli/release-commands/list.js +10 -0
  43. package/dist/cli/release-commands/next.d.ts +3 -0
  44. package/dist/cli/release-commands/next.js +13 -0
  45. package/dist/cli/release-commands/publish.d.ts +3 -0
  46. package/dist/cli/release-commands/publish.js +22 -0
  47. package/dist/cli/release-commands/stamp.d.ts +3 -0
  48. package/dist/cli/release-commands/stamp.js +15 -0
  49. package/dist/cli/release-commands/status.d.ts +3 -0
  50. package/dist/cli/release-commands/status.js +17 -0
  51. package/dist/cli/release-commands/tag.d.ts +3 -0
  52. package/dist/cli/release-commands/tag.js +12 -0
  53. package/dist/cli/release-commands/types.d.ts +20 -0
  54. package/dist/cli/release-commands/types.js +1 -0
  55. package/dist/cli/release-commands/verify.d.ts +3 -0
  56. package/dist/cli/release-commands/verify.js +15 -0
  57. package/dist/cli/release-commands/workflow.d.ts +3 -0
  58. package/dist/cli/release-commands/workflow.js +15 -0
  59. package/dist/cloud-lister/index.d.ts +4 -1
  60. package/dist/cloud-lister/index.js +2 -1
  61. package/dist/cloud-lister/kubernetes-components.d.ts +56 -0
  62. package/dist/cloud-lister/kubernetes-components.js +642 -0
  63. package/dist/cloud-lister/kubernetes.d.ts +18 -0
  64. package/dist/cloud-lister/kubernetes.js +26 -1
  65. package/dist/cloud-lister/mask.d.ts +5 -1
  66. package/dist/cloud-lister/mask.js +14 -5
  67. package/dist/components/cli-support.d.ts +1 -1
  68. package/dist/components/cli-support.js +1 -1
  69. package/dist/config-environments.d.ts +8 -1
  70. package/dist/config-environments.js +2 -0
  71. package/dist/config-import.d.ts +1 -1
  72. package/dist/config-import.js +6 -2
  73. package/dist/config-sandbox.d.ts +1 -1
  74. package/dist/config-sandbox.js +3 -3
  75. package/dist/config.d.ts +369 -10
  76. package/dist/config.js +127 -7
  77. package/dist/deep-observation.js +9 -3
  78. package/dist/floor-table.data.js +21 -1
  79. package/dist/forge-remote.d.ts +13 -0
  80. package/dist/forge-remote.js +15 -0
  81. package/dist/lexicon.d.ts +45 -4
  82. package/dist/lifecycle/__fixtures__/package-files.d.ts +32 -0
  83. package/dist/lifecycle/__fixtures__/package-files.js +72 -0
  84. package/dist/lifecycle/__fixtures__/publish-fakes.d.ts +62 -0
  85. package/dist/lifecycle/__fixtures__/publish-fakes.js +275 -3
  86. package/dist/lifecycle/publish-attachments.d.ts +2 -1
  87. package/dist/lifecycle/publish-attachments.js +19 -2
  88. package/dist/lifecycle/publish-cargo.d.ts +99 -0
  89. package/dist/lifecycle/publish-cargo.js +412 -0
  90. package/dist/lifecycle/publish-credentials.d.ts +1 -1
  91. package/dist/lifecycle/publish-credentials.js +13 -0
  92. package/dist/lifecycle/publish-declaration.d.ts +322 -4
  93. package/dist/lifecycle/publish-declaration.js +340 -9
  94. package/dist/lifecycle/publish-forge.d.ts +45 -2
  95. package/dist/lifecycle/publish-forge.js +434 -34
  96. package/dist/lifecycle/publish-git-ssh.d.ts +15 -0
  97. package/dist/lifecycle/publish-git-ssh.js +30 -4
  98. package/dist/lifecycle/publish-github.d.ts +40 -2
  99. package/dist/lifecycle/publish-github.js +100 -3
  100. package/dist/lifecycle/publish-helm.d.ts +83 -0
  101. package/dist/lifecycle/publish-helm.js +452 -0
  102. package/dist/lifecycle/publish-homebrew.d.ts +7 -9
  103. package/dist/lifecycle/publish-homebrew.js +34 -197
  104. package/dist/lifecycle/publish-index.d.ts +141 -0
  105. package/dist/lifecycle/publish-index.js +719 -0
  106. package/dist/lifecycle/publish-marketplace.js +77 -0
  107. package/dist/lifecycle/publish-maven.d.ts +79 -0
  108. package/dist/lifecycle/publish-maven.js +364 -0
  109. package/dist/lifecycle/publish-mcp-registry.d.ts +66 -0
  110. package/dist/lifecycle/publish-mcp-registry.js +305 -0
  111. package/dist/lifecycle/publish-npm.d.ts +27 -1
  112. package/dist/lifecycle/publish-npm.js +216 -3
  113. package/dist/lifecycle/publish-nuget.d.ts +93 -0
  114. package/dist/lifecycle/publish-nuget.js +377 -0
  115. package/dist/lifecycle/publish-oci.d.ts +91 -2
  116. package/dist/lifecycle/publish-oci.js +247 -8
  117. package/dist/lifecycle/publish-package-files.d.ts +16 -0
  118. package/dist/lifecycle/publish-package-files.js +39 -0
  119. package/dist/lifecycle/publish-pypi.d.ts +138 -0
  120. package/dist/lifecycle/publish-pypi.js +657 -0
  121. package/dist/lifecycle/publish-record.d.ts +6 -3
  122. package/dist/lifecycle/publish-record.js +6 -3
  123. package/dist/lifecycle/publish-rubygems.d.ts +84 -0
  124. package/dist/lifecycle/publish-rubygems.js +366 -0
  125. package/dist/lifecycle/publish-signing.d.ts +147 -0
  126. package/dist/lifecycle/publish-signing.js +257 -0
  127. package/dist/lifecycle/publish-targets.d.ts +37 -1
  128. package/dist/lifecycle/publish-targets.js +102 -0
  129. package/dist/lifecycle/publish-tauri.js +43 -0
  130. package/dist/lifecycle/publish-train-names.d.ts +57 -0
  131. package/dist/lifecycle/publish-train-names.js +123 -0
  132. package/dist/lifecycle/publish-verify.d.ts +121 -0
  133. package/dist/lifecycle/publish-verify.js +130 -0
  134. package/dist/lifecycle/query.js +8 -0
  135. package/dist/lifecycle/release-artifacts.d.ts +290 -0
  136. package/dist/lifecycle/release-artifacts.js +808 -0
  137. package/dist/lifecycle/release-changelog.d.ts +13 -1
  138. package/dist/lifecycle/release-changelog.js +35 -2
  139. package/dist/lifecycle/release-cut.d.ts +64 -4
  140. package/dist/lifecycle/release-cut.js +147 -34
  141. package/dist/lifecycle/release-doctor.d.ts +113 -0
  142. package/dist/lifecycle/release-doctor.js +1198 -0
  143. package/dist/lifecycle/release-green.d.ts +86 -0
  144. package/dist/lifecycle/release-green.js +286 -0
  145. package/dist/lifecycle/release-init-registries.d.ts +48 -0
  146. package/dist/lifecycle/release-init-registries.js +97 -0
  147. package/dist/lifecycle/release-init.d.ts +275 -0
  148. package/dist/lifecycle/release-init.js +984 -0
  149. package/dist/lifecycle/release-intents.d.ts +73 -0
  150. package/dist/lifecycle/release-intents.js +128 -0
  151. package/dist/lifecycle/release-next.d.ts +111 -0
  152. package/dist/lifecycle/release-next.js +251 -0
  153. package/dist/lifecycle/release-prerelease.d.ts +19 -0
  154. package/dist/lifecycle/release-prerelease.js +30 -0
  155. package/dist/lifecycle/release-publish.d.ts +256 -10
  156. package/dist/lifecycle/release-publish.js +247 -35
  157. package/dist/lifecycle/release-status-change.d.ts +226 -0
  158. package/dist/lifecycle/release-status-change.js +478 -0
  159. package/dist/lifecycle/release-status.d.ts +11 -0
  160. package/dist/lifecycle/release-status.js +1 -1
  161. package/dist/lifecycle/release-store.d.ts +73 -2
  162. package/dist/lifecycle/release-store.js +32 -1
  163. package/dist/lifecycle/release-tag.d.ts +142 -0
  164. package/dist/lifecycle/release-tag.js +322 -0
  165. package/dist/lifecycle/release-verify.d.ts +73 -1
  166. package/dist/lifecycle/release-verify.js +117 -2
  167. package/dist/lifecycle/release-version-formats.d.ts +73 -0
  168. package/dist/lifecycle/release-version-formats.js +570 -0
  169. package/dist/lifecycle/release-version.d.ts +58 -10
  170. package/dist/lifecycle/release-version.js +164 -36
  171. package/dist/lifecycle/release-workstation.d.ts +3 -2
  172. package/dist/lifecycle/release-workstation.js +3 -2
  173. package/dist/op/generate-pipeline.js +1 -1
  174. package/dist/op/local-executor.d.ts +1 -1
  175. package/dist/op/local-executor.js +2 -2
  176. package/dist/op/op-waves-evidence.js +9 -2
  177. package/dist/pr-forge-base.js +4 -2
  178. package/dist/pr-forge.d.ts +20 -2
  179. package/dist/pr-forge.js +46 -10
  180. package/dist/release-floors.d.ts +8 -1
  181. package/dist/release-floors.js +9 -2
  182. package/dist/sensitive-key.d.ts +12 -0
  183. package/dist/sensitive-key.js +52 -0
  184. package/dist/tool-pins.d.ts +40 -0
  185. package/dist/tool-pins.js +66 -0
  186. package/dist/ts-loader.d.ts +8 -0
  187. package/dist/ts-loader.js +19 -0
  188. package/dist/wave-runtime.mjs +345 -342
  189. package/dist/workspace/ci-forge.d.ts +17 -0
  190. package/dist/workspace/ci-forge.js +17 -0
  191. package/dist/workspace/ci-init.js +1 -1
  192. package/dist/workspace/composites.schema.json +1 -0
  193. package/dist/workspace/declaration.d.ts +8 -0
  194. package/dist/workspace/declaration.js +12 -0
  195. package/dist/workspace/declaration.schema.json +8 -0
  196. package/dist/workspace/environments.d.ts +2 -0
  197. package/dist/workspace/environments.js +1 -1
  198. package/dist/workspace/identity-gate-rule.d.ts +61 -5
  199. package/dist/workspace/identity-gate-rule.js +81 -12
  200. package/dist/workspace/lexicon-outputs.d.ts +1 -1
  201. package/dist/workspace/lexicon-outputs.js +1 -1
  202. package/dist/workspace/member-pipeline.d.ts +2 -1
  203. package/dist/workspace/member-pipeline.js +5 -2
  204. package/dist/workspace/reason-codes.d.ts +2 -0
  205. package/dist/workspace/reason-codes.js +3 -1
  206. package/dist/workspace/release-changed.d.ts +75 -4
  207. package/dist/workspace/release-changed.js +205 -34
  208. package/dist/workspace/release-changed.schema.json +20 -2
  209. package/dist/workspace/release-steps/artifacts.d.ts +7 -0
  210. package/dist/workspace/release-steps/artifacts.js +45 -0
  211. package/dist/workspace/release-steps/builds.d.ts +12 -0
  212. package/dist/workspace/release-steps/builds.js +38 -0
  213. package/dist/workspace/release-steps/doctor.d.ts +8 -0
  214. package/dist/workspace/release-steps/doctor.js +14 -0
  215. package/dist/workspace/release-steps/goreleaser.d.ts +16 -0
  216. package/dist/workspace/release-steps/goreleaser.js +36 -0
  217. package/dist/workspace/release-steps/green.d.ts +3 -0
  218. package/dist/workspace/release-steps/green.js +6 -0
  219. package/dist/workspace/release-steps/images.d.ts +22 -0
  220. package/dist/workspace/release-steps/images.js +59 -0
  221. package/dist/workspace/release-steps/index.d.ts +9 -0
  222. package/dist/workspace/release-steps/index.js +50 -0
  223. package/dist/workspace/release-steps/nfpm.d.ts +13 -0
  224. package/dist/workspace/release-steps/nfpm.js +29 -0
  225. package/dist/workspace/release-steps/nuget.d.ts +14 -0
  226. package/dist/workspace/release-steps/nuget.js +16 -0
  227. package/dist/workspace/release-steps/pypi.d.ts +15 -0
  228. package/dist/workspace/release-steps/pypi.js +21 -0
  229. package/dist/workspace/release-steps/qemu.d.ts +21 -0
  230. package/dist/workspace/release-steps/qemu.js +35 -0
  231. package/dist/workspace/release-steps/signing.d.ts +18 -0
  232. package/dist/workspace/release-steps/signing.js +30 -0
  233. package/dist/workspace/release-steps/stamp.d.ts +3 -0
  234. package/dist/workspace/release-steps/stamp.js +4 -0
  235. package/dist/workspace/release-steps/targets.d.ts +31 -0
  236. package/dist/workspace/release-steps/targets.js +40 -0
  237. package/dist/workspace/release-steps/types.d.ts +104 -0
  238. package/dist/workspace/release-steps/types.js +2 -0
  239. package/dist/workspace/release-steps/verify.d.ts +3 -0
  240. package/dist/workspace/release-steps/verify.js +4 -0
  241. package/dist/workspace/release-toolchains.d.ts +59 -0
  242. package/dist/workspace/release-toolchains.js +133 -0
  243. package/dist/workspace/release-train-workflow.d.ts +36 -0
  244. package/dist/workspace/release-train-workflow.js +121 -0
  245. package/dist/workspace/release-train.d.ts +3 -1
  246. package/dist/workspace/release-train.js +20 -3
  247. package/dist/workspace/release-workflow.d.ts +183 -59
  248. package/dist/workspace/release-workflow.js +570 -201
  249. package/dist/workspace/releases.schema.json +70 -1
  250. package/dist/workspace/search-contract.d.ts +1 -1
  251. package/dist/workspace/security.js +9 -2
  252. package/dist/workspace/train-cut.d.ts +182 -0
  253. package/dist/workspace/train-cut.js +504 -0
  254. package/dist/workspace/train-prepare.d.ts +64 -0
  255. package/dist/workspace/train-prepare.js +313 -0
  256. package/dist/workspace/train-publish.d.ts +177 -0
  257. package/dist/workspace/train-publish.js +574 -0
  258. package/dist/workspace/train-range-labels.d.ts +33 -0
  259. package/dist/workspace/train-range-labels.js +109 -0
  260. package/dist/workspace/train-shell.d.ts +5 -0
  261. package/dist/workspace/train-shell.js +17 -0
  262. package/dist/workspace/trust/check-evidence-report.d.ts +3 -7
  263. package/dist/workspace/trust/check-evidence-report.js +3 -7
  264. package/dist/workspace/trust/seal.d.ts +13 -3
  265. package/dist/workspace/trust/seal.js +14 -4
  266. package/dist/workspace/work-cli.d.ts +3 -2
  267. package/dist/workspace/work-cli.js +3 -2
  268. package/dist/workspace/workspace-ledger.d.ts +14 -1
  269. package/dist/workspace/workspace-ledger.js +33 -7
  270. package/package.json +1 -1
@@ -12,7 +12,15 @@
12
12
  * { type: "forge", forge: "github", repo: "acme/api", assets: ["dist/api-linux-amd64.tar.gz"] },
13
13
  * { type: "marketplace", marketplace: "openvsx", vsix: "dist/acme.vsix" },
14
14
  * { type: "tauri-updater", repo: "acme/app", tag: "app-latest", platforms: { "darwin-aarch64": "dist/Acme_aarch64.app.tar.gz" } },
15
+ * { type: "mcp-registry", server: "server.json" },
15
16
  * { type: "homebrew", tap: "acme/homebrew-tap", formula: "Formula/api.rb", template: "packaging/api.rb", assets: ["dist/api-linux-amd64.tar.gz"], url: "https://github.com/acme/api/releases/download/{tag}/{name}" },
17
+ * { type: "pypi", files: ["dist"] },
18
+ * { type: "cargo", crates: ["acme-core", "acme-cli"] },
19
+ * { type: "maven", bundle: "artifact:maven" },
20
+ * { type: "nuget", packages: ["artifact:nuget"] },
21
+ * { type: "rubygems", gems: ["artifact:gem"] },
22
+ * { type: "index", preset: "krew", name: "api", template: "packaging/krew.yaml", assets: ["artifact:api"], url: "https://github.com/acme/api/releases/download/{tag}/{name}" },
23
+ * { type: "helm", charts: ["artifact:chart"], oci: { repository: "ghcr.io/acme/charts" }, index: { repo: "acme/charts" } },
16
24
  * ],
17
25
  * },
18
26
  * };
@@ -63,9 +71,14 @@ export declare const ForgePublishSchema: z.ZodObject<{
63
71
  api: z.ZodOptional<z.ZodString>;
64
72
  assets: z.ZodArray<z.ZodString>;
65
73
  notes: z.ZodOptional<z.ZodObject<{
66
- file: z.ZodString;
67
- heading: z.ZodString;
74
+ file: z.ZodOptional<z.ZodString>;
75
+ heading: z.ZodOptional<z.ZodString>;
68
76
  linkBase: z.ZodOptional<z.ZodString>;
77
+ generate: z.ZodOptional<z.ZodEnum<{
78
+ commits: "commits";
79
+ forge: "forge";
80
+ }>>;
81
+ types: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
82
  before: z.ZodOptional<z.ZodString>;
70
83
  after: z.ZodOptional<z.ZodString>;
71
84
  }, z.core.$strict>>;
@@ -132,6 +145,179 @@ export declare const TauriUpdaterPublishSchema: z.ZodObject<{
132
145
  api: z.ZodOptional<z.ZodString>;
133
146
  tokenEnv: z.ZodOptional<z.ZodString>;
134
147
  }, z.core.$strict>;
148
+ /**
149
+ * Python distributions on PyPI, TestPyPI or another index that takes PyPI's
150
+ * upload API (./publish-pypi.ts). The wheels and sdists are uploaded at the
151
+ * reveal, since an index has no draft.
152
+ */
153
+ export declare const PypiPublishSchema: z.ZodObject<{
154
+ type: z.ZodLiteral<"pypi">;
155
+ files: z.ZodArray<z.ZodString>;
156
+ index: z.ZodOptional<z.ZodEnum<{
157
+ pypi: "pypi";
158
+ testpypi: "testpypi";
159
+ }>>;
160
+ uploadUrl: z.ZodOptional<z.ZodString>;
161
+ simpleUrl: z.ZodOptional<z.ZodString>;
162
+ auth: z.ZodOptional<z.ZodEnum<{
163
+ token: "token";
164
+ "trusted-publishing": "trusted-publishing";
165
+ }>>;
166
+ tokenEnv: z.ZodOptional<z.ZodString>;
167
+ usernameEnv: z.ZodOptional<z.ZodString>;
168
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
169
+ attestations: z.ZodOptional<z.ZodBoolean>;
170
+ }, z.core.$strict>;
171
+ /**
172
+ * Rust crates on crates.io or another Cargo registry, published with
173
+ * `cargo publish` one crate at a time in dependency order
174
+ * (./publish-cargo.ts). A crate is visible as soon as it is published, so
175
+ * the reveal publishes.
176
+ */
177
+ export declare const CargoPublishSchema: z.ZodObject<{
178
+ type: z.ZodLiteral<"cargo">;
179
+ manifest: z.ZodOptional<z.ZodString>;
180
+ crates: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
+ registry: z.ZodOptional<z.ZodString>;
182
+ index: z.ZodOptional<z.ZodString>;
183
+ api: z.ZodOptional<z.ZodString>;
184
+ auth: z.ZodOptional<z.ZodEnum<{
185
+ token: "token";
186
+ "trusted-publishing": "trusted-publishing";
187
+ }>>;
188
+ tokenEnv: z.ZodOptional<z.ZodString>;
189
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
190
+ }, z.core.$strict>;
191
+ /**
192
+ * Maven components on Maven Central (#5232): a bundle uploaded to the
193
+ * Central Portal at the stage, validated there, and published at the reveal
194
+ * (./publish-maven.ts).
195
+ */
196
+ export declare const MavenPublishSchema: z.ZodObject<{
197
+ type: z.ZodLiteral<"maven">;
198
+ bundle: z.ZodString;
199
+ api: z.ZodOptional<z.ZodString>;
200
+ repository: z.ZodOptional<z.ZodString>;
201
+ usernameEnv: z.ZodOptional<z.ZodString>;
202
+ passwordEnv: z.ZodOptional<z.ZodString>;
203
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
204
+ }, z.core.$strict>;
205
+ /**
206
+ * NuGet packages on nuget.org or another feed that takes NuGet's push API
207
+ * (#5232), pushed at the reveal (./publish-nuget.ts).
208
+ */
209
+ export declare const NugetPublishSchema: z.ZodObject<{
210
+ type: z.ZodLiteral<"nuget">;
211
+ packages: z.ZodArray<z.ZodString>;
212
+ pushUrl: z.ZodOptional<z.ZodString>;
213
+ flatContainerUrl: z.ZodOptional<z.ZodString>;
214
+ auth: z.ZodOptional<z.ZodEnum<{
215
+ token: "token";
216
+ "trusted-publishing": "trusted-publishing";
217
+ }>>;
218
+ tokenEnv: z.ZodOptional<z.ZodString>;
219
+ userEnv: z.ZodOptional<z.ZodString>;
220
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
221
+ }, z.core.$strict>;
222
+ /**
223
+ * Ruby gems on RubyGems.org or another host that takes its API (#5232),
224
+ * pushed at the reveal (./publish-rubygems.ts).
225
+ */
226
+ export declare const RubygemsPublishSchema: z.ZodObject<{
227
+ type: z.ZodLiteral<"rubygems">;
228
+ gems: z.ZodArray<z.ZodString>;
229
+ host: z.ZodOptional<z.ZodString>;
230
+ auth: z.ZodOptional<z.ZodEnum<{
231
+ token: "token";
232
+ "trusted-publishing": "trusted-publishing";
233
+ }>>;
234
+ tokenEnv: z.ZodOptional<z.ZodString>;
235
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
236
+ }, z.core.$strict>;
237
+ /**
238
+ * A `server.json` on the official MCP Registry (#5162), published after the
239
+ * npm packages or images it names have been revealed
240
+ * (./publish-mcp-registry.ts).
241
+ */
242
+ export declare const McpRegistryPublishSchema: z.ZodObject<{
243
+ type: z.ZodLiteral<"mcp-registry">;
244
+ server: z.ZodOptional<z.ZodString>;
245
+ registry: z.ZodOptional<z.ZodString>;
246
+ auth: z.ZodOptional<z.ZodEnum<{
247
+ "github-oidc": "github-oidc";
248
+ "github-token": "github-token";
249
+ "registry-token": "registry-token";
250
+ }>>;
251
+ tokenEnv: z.ZodOptional<z.ZodString>;
252
+ }, z.core.$strict>;
253
+ /** The index repositories `index` has a preset for (#5158). */
254
+ export declare const INDEX_PRESETS: readonly ["krew", "winget", "scoop", "homebrew-core", "homebrew-tap", "zed", "artifacthub"];
255
+ /**
256
+ * A manifest in an index repository on GitHub (#5158), such as krew-index,
257
+ * winget-pkgs, a Scoop bucket, homebrew-core, a Homebrew tap, Zed's
258
+ * extensions or an Artifact Hub repository, rendered from templates in the
259
+ * member and either committed to a repository the publisher may push to
260
+ * (`mode: "commit"`) or proposed in a pull request from a fork
261
+ * (`mode: "pull-request"`). It reveals after every other target
262
+ * (./publish-index.ts).
263
+ */
264
+ export declare const IndexPublishSchema: z.ZodObject<{
265
+ type: z.ZodLiteral<"index">;
266
+ preset: z.ZodOptional<z.ZodEnum<{
267
+ artifacthub: "artifacthub";
268
+ "homebrew-core": "homebrew-core";
269
+ "homebrew-tap": "homebrew-tap";
270
+ krew: "krew";
271
+ scoop: "scoop";
272
+ winget: "winget";
273
+ zed: "zed";
274
+ }>>;
275
+ repo: z.ZodOptional<z.ZodString>;
276
+ name: z.ZodString;
277
+ mode: z.ZodOptional<z.ZodEnum<{
278
+ commit: "commit";
279
+ "pull-request": "pull-request";
280
+ }>>;
281
+ template: z.ZodOptional<z.ZodString>;
282
+ path: z.ZodOptional<z.ZodString>;
283
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
284
+ assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
+ url: z.ZodOptional<z.ZodString>;
286
+ branch: z.ZodOptional<z.ZodString>;
287
+ fork: z.ZodOptional<z.ZodString>;
288
+ title: z.ZodOptional<z.ZodString>;
289
+ body: z.ZodOptional<z.ZodString>;
290
+ api: z.ZodOptional<z.ZodString>;
291
+ tokenEnv: z.ZodOptional<z.ZodString>;
292
+ sshKeyEnv: z.ZodOptional<z.ZodString>;
293
+ onRefusal: z.ZodOptional<z.ZodEnum<{
294
+ fail: "fail";
295
+ warn: "warn";
296
+ }>>;
297
+ }, z.core.$strict>;
298
+ /**
299
+ * Helm charts (#5233): each chart archive pushed to an OCI registry, where
300
+ * `helm install oci://...` reads it, and listed in a classic chart
301
+ * repository's `index.yaml` on a branch of a GitHub repository, such as the
302
+ * `gh-pages` branch GitHub Pages serves (./publish-helm.ts).
303
+ */
304
+ export declare const HelmPublishSchema: z.ZodObject<{
305
+ type: z.ZodLiteral<"helm">;
306
+ charts: z.ZodArray<z.ZodString>;
307
+ oci: z.ZodOptional<z.ZodObject<{
308
+ repository: z.ZodString;
309
+ usernameEnv: z.ZodOptional<z.ZodString>;
310
+ passwordEnv: z.ZodOptional<z.ZodString>;
311
+ }, z.core.$strict>>;
312
+ index: z.ZodOptional<z.ZodObject<{
313
+ repo: z.ZodString;
314
+ branch: z.ZodOptional<z.ZodString>;
315
+ path: z.ZodOptional<z.ZodString>;
316
+ url: z.ZodOptional<z.ZodString>;
317
+ api: z.ZodOptional<z.ZodString>;
318
+ tokenEnv: z.ZodOptional<z.ZodString>;
319
+ }, z.core.$strict>>;
320
+ }, z.core.$strict>;
135
321
  export declare const PublishDeclarationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
136
322
  type: z.ZodLiteral<"npm">;
137
323
  packages: z.ZodArray<z.ZodString>;
@@ -164,9 +350,14 @@ export declare const PublishDeclarationSchema: z.ZodDiscriminatedUnion<[z.ZodObj
164
350
  api: z.ZodOptional<z.ZodString>;
165
351
  assets: z.ZodArray<z.ZodString>;
166
352
  notes: z.ZodOptional<z.ZodObject<{
167
- file: z.ZodString;
168
- heading: z.ZodString;
353
+ file: z.ZodOptional<z.ZodString>;
354
+ heading: z.ZodOptional<z.ZodString>;
169
355
  linkBase: z.ZodOptional<z.ZodString>;
356
+ generate: z.ZodOptional<z.ZodEnum<{
357
+ commits: "commits";
358
+ forge: "forge";
359
+ }>>;
360
+ types: z.ZodOptional<z.ZodArray<z.ZodString>>;
170
361
  before: z.ZodOptional<z.ZodString>;
171
362
  after: z.ZodOptional<z.ZodString>;
172
363
  }, z.core.$strict>>;
@@ -215,6 +406,125 @@ export declare const PublishDeclarationSchema: z.ZodDiscriminatedUnion<[z.ZodObj
215
406
  latest: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"legacy">]>>;
216
407
  api: z.ZodOptional<z.ZodString>;
217
408
  tokenEnv: z.ZodOptional<z.ZodString>;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ type: z.ZodLiteral<"pypi">;
411
+ files: z.ZodArray<z.ZodString>;
412
+ index: z.ZodOptional<z.ZodEnum<{
413
+ pypi: "pypi";
414
+ testpypi: "testpypi";
415
+ }>>;
416
+ uploadUrl: z.ZodOptional<z.ZodString>;
417
+ simpleUrl: z.ZodOptional<z.ZodString>;
418
+ auth: z.ZodOptional<z.ZodEnum<{
419
+ token: "token";
420
+ "trusted-publishing": "trusted-publishing";
421
+ }>>;
422
+ tokenEnv: z.ZodOptional<z.ZodString>;
423
+ usernameEnv: z.ZodOptional<z.ZodString>;
424
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
425
+ attestations: z.ZodOptional<z.ZodBoolean>;
426
+ }, z.core.$strict>, z.ZodObject<{
427
+ type: z.ZodLiteral<"cargo">;
428
+ manifest: z.ZodOptional<z.ZodString>;
429
+ crates: z.ZodOptional<z.ZodArray<z.ZodString>>;
430
+ registry: z.ZodOptional<z.ZodString>;
431
+ index: z.ZodOptional<z.ZodString>;
432
+ api: z.ZodOptional<z.ZodString>;
433
+ auth: z.ZodOptional<z.ZodEnum<{
434
+ token: "token";
435
+ "trusted-publishing": "trusted-publishing";
436
+ }>>;
437
+ tokenEnv: z.ZodOptional<z.ZodString>;
438
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
439
+ }, z.core.$strict>, z.ZodObject<{
440
+ type: z.ZodLiteral<"mcp-registry">;
441
+ server: z.ZodOptional<z.ZodString>;
442
+ registry: z.ZodOptional<z.ZodString>;
443
+ auth: z.ZodOptional<z.ZodEnum<{
444
+ "github-oidc": "github-oidc";
445
+ "github-token": "github-token";
446
+ "registry-token": "registry-token";
447
+ }>>;
448
+ tokenEnv: z.ZodOptional<z.ZodString>;
449
+ }, z.core.$strict>, z.ZodObject<{
450
+ type: z.ZodLiteral<"index">;
451
+ preset: z.ZodOptional<z.ZodEnum<{
452
+ artifacthub: "artifacthub";
453
+ "homebrew-core": "homebrew-core";
454
+ "homebrew-tap": "homebrew-tap";
455
+ krew: "krew";
456
+ scoop: "scoop";
457
+ winget: "winget";
458
+ zed: "zed";
459
+ }>>;
460
+ repo: z.ZodOptional<z.ZodString>;
461
+ name: z.ZodString;
462
+ mode: z.ZodOptional<z.ZodEnum<{
463
+ commit: "commit";
464
+ "pull-request": "pull-request";
465
+ }>>;
466
+ template: z.ZodOptional<z.ZodString>;
467
+ path: z.ZodOptional<z.ZodString>;
468
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
469
+ assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
470
+ url: z.ZodOptional<z.ZodString>;
471
+ branch: z.ZodOptional<z.ZodString>;
472
+ fork: z.ZodOptional<z.ZodString>;
473
+ title: z.ZodOptional<z.ZodString>;
474
+ body: z.ZodOptional<z.ZodString>;
475
+ api: z.ZodOptional<z.ZodString>;
476
+ tokenEnv: z.ZodOptional<z.ZodString>;
477
+ sshKeyEnv: z.ZodOptional<z.ZodString>;
478
+ onRefusal: z.ZodOptional<z.ZodEnum<{
479
+ fail: "fail";
480
+ warn: "warn";
481
+ }>>;
482
+ }, z.core.$strict>, z.ZodObject<{
483
+ type: z.ZodLiteral<"helm">;
484
+ charts: z.ZodArray<z.ZodString>;
485
+ oci: z.ZodOptional<z.ZodObject<{
486
+ repository: z.ZodString;
487
+ usernameEnv: z.ZodOptional<z.ZodString>;
488
+ passwordEnv: z.ZodOptional<z.ZodString>;
489
+ }, z.core.$strict>>;
490
+ index: z.ZodOptional<z.ZodObject<{
491
+ repo: z.ZodString;
492
+ branch: z.ZodOptional<z.ZodString>;
493
+ path: z.ZodOptional<z.ZodString>;
494
+ url: z.ZodOptional<z.ZodString>;
495
+ api: z.ZodOptional<z.ZodString>;
496
+ tokenEnv: z.ZodOptional<z.ZodString>;
497
+ }, z.core.$strict>>;
498
+ }, z.core.$strict>, z.ZodObject<{
499
+ type: z.ZodLiteral<"maven">;
500
+ bundle: z.ZodString;
501
+ api: z.ZodOptional<z.ZodString>;
502
+ repository: z.ZodOptional<z.ZodString>;
503
+ usernameEnv: z.ZodOptional<z.ZodString>;
504
+ passwordEnv: z.ZodOptional<z.ZodString>;
505
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
506
+ }, z.core.$strict>, z.ZodObject<{
507
+ type: z.ZodLiteral<"nuget">;
508
+ packages: z.ZodArray<z.ZodString>;
509
+ pushUrl: z.ZodOptional<z.ZodString>;
510
+ flatContainerUrl: z.ZodOptional<z.ZodString>;
511
+ auth: z.ZodOptional<z.ZodEnum<{
512
+ token: "token";
513
+ "trusted-publishing": "trusted-publishing";
514
+ }>>;
515
+ tokenEnv: z.ZodOptional<z.ZodString>;
516
+ userEnv: z.ZodOptional<z.ZodString>;
517
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
518
+ }, z.core.$strict>, z.ZodObject<{
519
+ type: z.ZodLiteral<"rubygems">;
520
+ gems: z.ZodArray<z.ZodString>;
521
+ host: z.ZodOptional<z.ZodString>;
522
+ auth: z.ZodOptional<z.ZodEnum<{
523
+ token: "token";
524
+ "trusted-publishing": "trusted-publishing";
525
+ }>>;
526
+ tokenEnv: z.ZodOptional<z.ZodString>;
527
+ sbom: z.ZodOptional<z.ZodLiteral<false>>;
218
528
  }, z.core.$strict>], "type">;
219
529
  export type NpmPublishDeclaration = z.infer<typeof NpmPublishSchema>;
220
530
  export type OciPublishDeclaration = z.infer<typeof OciPublishSchema>;
@@ -222,4 +532,12 @@ export type ForgePublishDeclaration = z.infer<typeof ForgePublishSchema>;
222
532
  export type HomebrewPublishDeclaration = z.infer<typeof HomebrewPublishSchema>;
223
533
  export type MarketplacePublishDeclaration = z.infer<typeof MarketplacePublishSchema>;
224
534
  export type TauriUpdaterPublishDeclaration = z.infer<typeof TauriUpdaterPublishSchema>;
535
+ export type PypiPublishDeclaration = z.infer<typeof PypiPublishSchema>;
536
+ export type CargoPublishDeclaration = z.infer<typeof CargoPublishSchema>;
537
+ export type McpRegistryPublishDeclaration = z.infer<typeof McpRegistryPublishSchema>;
538
+ export type IndexPublishDeclaration = z.infer<typeof IndexPublishSchema>;
539
+ export type HelmPublishDeclaration = z.infer<typeof HelmPublishSchema>;
540
+ export type MavenPublishDeclaration = z.infer<typeof MavenPublishSchema>;
541
+ export type NugetPublishDeclaration = z.infer<typeof NugetPublishSchema>;
542
+ export type RubygemsPublishDeclaration = z.infer<typeof RubygemsPublishSchema>;
225
543
  export type PublishDeclaration = z.infer<typeof PublishDeclarationSchema>;