@wirecat/cli-base 0.45.1 → 0.46.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 (330) hide show
  1. package/CHANGELOG.md +1155 -0
  2. package/README.md +17 -2
  3. package/dist/batch.d.ts +0 -1
  4. package/dist/batch.js +0 -1
  5. package/dist/codegen/index.d.ts +0 -1
  6. package/dist/codegen/index.js +0 -1
  7. package/dist/codegen/manifest.d.ts +0 -1
  8. package/dist/codegen/manifest.js +0 -1
  9. package/dist/codegen/model.d.ts +0 -1
  10. package/dist/codegen/model.js +0 -1
  11. package/dist/codegen/names.d.ts +0 -1
  12. package/dist/codegen/names.js +0 -1
  13. package/dist/codegen/pipeline.d.ts +0 -1
  14. package/dist/codegen/pipeline.js +0 -1
  15. package/dist/codegen/runtime.d.ts +0 -1
  16. package/dist/codegen/runtime.js +0 -1
  17. package/dist/codegen/tree.d.ts +0 -1
  18. package/dist/codegen/tree.js +0 -1
  19. package/dist/codegen/typescript.d.ts +0 -1
  20. package/dist/codegen/typescript.js +0 -1
  21. package/dist/codegen/valibot.d.ts +0 -1
  22. package/dist/codegen/valibot.js +0 -1
  23. package/dist/commands/document.d.ts +0 -1
  24. package/dist/commands/document.js +0 -1
  25. package/dist/commands/index.d.ts +0 -1
  26. package/dist/commands/index.js +0 -1
  27. package/dist/commands/page.d.ts +3 -2
  28. package/dist/commands/page.js +3 -2
  29. package/dist/commands/registry.d.ts +0 -1
  30. package/dist/commands/registry.js +0 -1
  31. package/dist/completion/index.d.ts +0 -1
  32. package/dist/completion/index.js +0 -1
  33. package/dist/config.d.ts +0 -1
  34. package/dist/config.js +0 -1
  35. package/dist/credentials.d.ts +0 -1
  36. package/dist/credentials.js +0 -1
  37. package/dist/deadline.d.ts +0 -1
  38. package/dist/deadline.js +0 -1
  39. package/dist/dev/audit.d.ts +0 -1
  40. package/dist/dev/audit.js +0 -1
  41. package/dist/dev/bin.d.ts +0 -1
  42. package/dist/dev/bin.js +0 -1
  43. package/dist/dev/land.d.ts +0 -1
  44. package/dist/dev/land.js +0 -1
  45. package/dist/dev/lint.d.ts +0 -1
  46. package/dist/dev/lint.js +0 -1
  47. package/dist/dev/main.d.ts +0 -1
  48. package/dist/dev/main.js +0 -1
  49. package/dist/dev/next-version.d.ts +0 -1
  50. package/dist/dev/next-version.js +0 -1
  51. package/dist/dev/slow-tests.d.ts +0 -1
  52. package/dist/dev/slow-tests.js +0 -1
  53. package/dist/dev/test-matrix.d.ts +0 -1
  54. package/dist/dev/test-matrix.js +0 -1
  55. package/dist/drain.d.ts +0 -1
  56. package/dist/drain.js +0 -1
  57. package/dist/errors.d.ts +0 -1
  58. package/dist/errors.js +0 -1
  59. package/dist/executable.d.ts +0 -1
  60. package/dist/executable.js +0 -1
  61. package/dist/exit-codes.d.ts +0 -1
  62. package/dist/exit-codes.js +0 -1
  63. package/dist/failure.d.ts +0 -1
  64. package/dist/failure.js +0 -1
  65. package/dist/http/body.d.ts +0 -1
  66. package/dist/http/body.js +0 -1
  67. package/dist/http/index.d.ts +0 -1
  68. package/dist/http/index.js +0 -1
  69. package/dist/index.d.ts +0 -1
  70. package/dist/index.js +0 -1
  71. package/dist/keyring.d.ts +0 -1
  72. package/dist/keyring.js +0 -1
  73. package/dist/logger.d.ts +0 -1
  74. package/dist/logger.js +0 -1
  75. package/dist/logging.d.ts +0 -1
  76. package/dist/logging.js +0 -1
  77. package/dist/mcp/index.d.ts +0 -1
  78. package/dist/mcp/index.js +0 -1
  79. package/dist/output-buffer.d.ts +0 -1
  80. package/dist/output-buffer.js +0 -1
  81. package/dist/paths.d.ts +0 -1
  82. package/dist/paths.js +0 -1
  83. package/dist/pretty.d.ts +0 -1
  84. package/dist/pretty.js +0 -1
  85. package/dist/query/dates.d.ts +0 -1
  86. package/dist/query/dates.js +0 -1
  87. package/dist/query/evaluate.d.ts +0 -1
  88. package/dist/query/evaluate.js +0 -1
  89. package/dist/query/fields.d.ts +0 -1
  90. package/dist/query/fields.js +0 -1
  91. package/dist/query/help.d.ts +0 -1
  92. package/dist/query/help.js +0 -1
  93. package/dist/query/index.d.ts +0 -1
  94. package/dist/query/index.js +0 -1
  95. package/dist/query/parser.d.ts +0 -1
  96. package/dist/query/parser.js +0 -1
  97. package/dist/query/registry.d.ts +0 -1
  98. package/dist/query/registry.js +0 -1
  99. package/dist/query/types.d.ts +0 -1
  100. package/dist/query/types.js +0 -1
  101. package/dist/query/validate.d.ts +0 -1
  102. package/dist/query/validate.js +0 -1
  103. package/dist/release/fold.d.ts +0 -1
  104. package/dist/release/fold.js +0 -1
  105. package/dist/release/index.d.ts +0 -1
  106. package/dist/release/index.js +0 -1
  107. package/dist/release/markdown.d.ts +0 -1
  108. package/dist/release/markdown.js +0 -1
  109. package/dist/release/structure.d.ts +0 -1
  110. package/dist/release/structure.js +0 -1
  111. package/dist/renderer.d.ts +0 -1
  112. package/dist/renderer.js +0 -1
  113. package/dist/result-fields.d.ts +0 -1
  114. package/dist/result-fields.js +0 -1
  115. package/dist/retry.d.ts +0 -1
  116. package/dist/retry.js +0 -1
  117. package/dist/sanitize.d.ts +0 -1
  118. package/dist/sanitize.js +0 -1
  119. package/dist/skill/index.d.ts +0 -1
  120. package/dist/skill/index.js +0 -1
  121. package/dist/standards/audit.d.ts +0 -1
  122. package/dist/standards/audit.js +0 -1
  123. package/dist/standards/effects.d.ts +0 -1
  124. package/dist/standards/effects.js +0 -1
  125. package/dist/standards/errors.d.ts +0 -1
  126. package/dist/standards/errors.js +0 -1
  127. package/dist/standards/fields.d.ts +0 -1
  128. package/dist/standards/fields.js +0 -1
  129. package/dist/standards/flags-how.d.ts +0 -1
  130. package/dist/standards/flags-how.js +0 -1
  131. package/dist/standards/flags-what.d.ts +0 -1
  132. package/dist/standards/flags-what.js +0 -1
  133. package/dist/standards/identifiers.d.ts +0 -1
  134. package/dist/standards/identifiers.js +0 -1
  135. package/dist/standards/index.d.ts +0 -1
  136. package/dist/standards/index.js +0 -1
  137. package/dist/standards/lint.d.ts +0 -1
  138. package/dist/standards/lint.js +0 -1
  139. package/dist/standards/log.d.ts +0 -1
  140. package/dist/standards/log.js +0 -1
  141. package/dist/standards/output.d.ts +0 -1
  142. package/dist/standards/output.js +0 -1
  143. package/dist/standards/registry.d.ts +0 -1
  144. package/dist/standards/registry.js +0 -1
  145. package/dist/standards/steps.d.ts +0 -1
  146. package/dist/standards/steps.js +0 -1
  147. package/dist/standards/tables.d.ts +0 -1
  148. package/dist/standards/tables.js +0 -1
  149. package/dist/standards/vocabulary.d.ts +0 -1
  150. package/dist/standards/vocabulary.js +1 -1
  151. package/dist/streams.d.ts +0 -1
  152. package/dist/streams.js +0 -1
  153. package/dist/testing/index.d.ts +0 -1
  154. package/dist/testing/index.js +0 -1
  155. package/dist/testing/network.d.ts +0 -1
  156. package/dist/testing/network.js +0 -1
  157. package/dist/testing/sandbox.d.ts +0 -1
  158. package/dist/testing/sandbox.js +0 -1
  159. package/dist/testing/setup.d.ts +0 -1
  160. package/dist/testing/setup.js +0 -1
  161. package/dist/time.d.ts +0 -1
  162. package/dist/time.js +0 -1
  163. package/dist/update/index.d.ts +0 -1
  164. package/dist/update/index.js +0 -1
  165. package/docs/standards/ci.md +7 -5
  166. package/docs/standards/layout.md +2 -1
  167. package/docs/standards/permissions.md +10 -7
  168. package/package.json +6 -1
  169. package/dist/batch.d.ts.map +0 -1
  170. package/dist/batch.js.map +0 -1
  171. package/dist/codegen/index.d.ts.map +0 -1
  172. package/dist/codegen/index.js.map +0 -1
  173. package/dist/codegen/manifest.d.ts.map +0 -1
  174. package/dist/codegen/manifest.js.map +0 -1
  175. package/dist/codegen/model.d.ts.map +0 -1
  176. package/dist/codegen/model.js.map +0 -1
  177. package/dist/codegen/names.d.ts.map +0 -1
  178. package/dist/codegen/names.js.map +0 -1
  179. package/dist/codegen/pipeline.d.ts.map +0 -1
  180. package/dist/codegen/pipeline.js.map +0 -1
  181. package/dist/codegen/runtime.d.ts.map +0 -1
  182. package/dist/codegen/runtime.js.map +0 -1
  183. package/dist/codegen/tree.d.ts.map +0 -1
  184. package/dist/codegen/tree.js.map +0 -1
  185. package/dist/codegen/typescript.d.ts.map +0 -1
  186. package/dist/codegen/typescript.js.map +0 -1
  187. package/dist/codegen/valibot.d.ts.map +0 -1
  188. package/dist/codegen/valibot.js.map +0 -1
  189. package/dist/commands/document.d.ts.map +0 -1
  190. package/dist/commands/document.js.map +0 -1
  191. package/dist/commands/index.d.ts.map +0 -1
  192. package/dist/commands/index.js.map +0 -1
  193. package/dist/commands/page.d.ts.map +0 -1
  194. package/dist/commands/page.js.map +0 -1
  195. package/dist/commands/registry.d.ts.map +0 -1
  196. package/dist/commands/registry.js.map +0 -1
  197. package/dist/completion/index.d.ts.map +0 -1
  198. package/dist/completion/index.js.map +0 -1
  199. package/dist/config.d.ts.map +0 -1
  200. package/dist/config.js.map +0 -1
  201. package/dist/credentials.d.ts.map +0 -1
  202. package/dist/credentials.js.map +0 -1
  203. package/dist/deadline.d.ts.map +0 -1
  204. package/dist/deadline.js.map +0 -1
  205. package/dist/dev/audit.d.ts.map +0 -1
  206. package/dist/dev/audit.js.map +0 -1
  207. package/dist/dev/bin.d.ts.map +0 -1
  208. package/dist/dev/bin.js.map +0 -1
  209. package/dist/dev/land.d.ts.map +0 -1
  210. package/dist/dev/land.js.map +0 -1
  211. package/dist/dev/lint.d.ts.map +0 -1
  212. package/dist/dev/lint.js.map +0 -1
  213. package/dist/dev/main.d.ts.map +0 -1
  214. package/dist/dev/main.js.map +0 -1
  215. package/dist/dev/next-version.d.ts.map +0 -1
  216. package/dist/dev/next-version.js.map +0 -1
  217. package/dist/dev/slow-tests.d.ts.map +0 -1
  218. package/dist/dev/slow-tests.js.map +0 -1
  219. package/dist/dev/test-matrix.d.ts.map +0 -1
  220. package/dist/dev/test-matrix.js.map +0 -1
  221. package/dist/drain.d.ts.map +0 -1
  222. package/dist/drain.js.map +0 -1
  223. package/dist/errors.d.ts.map +0 -1
  224. package/dist/errors.js.map +0 -1
  225. package/dist/executable.d.ts.map +0 -1
  226. package/dist/executable.js.map +0 -1
  227. package/dist/exit-codes.d.ts.map +0 -1
  228. package/dist/exit-codes.js.map +0 -1
  229. package/dist/failure.d.ts.map +0 -1
  230. package/dist/failure.js.map +0 -1
  231. package/dist/http/body.d.ts.map +0 -1
  232. package/dist/http/body.js.map +0 -1
  233. package/dist/http/index.d.ts.map +0 -1
  234. package/dist/http/index.js.map +0 -1
  235. package/dist/index.d.ts.map +0 -1
  236. package/dist/index.js.map +0 -1
  237. package/dist/keyring.d.ts.map +0 -1
  238. package/dist/keyring.js.map +0 -1
  239. package/dist/logger.d.ts.map +0 -1
  240. package/dist/logger.js.map +0 -1
  241. package/dist/logging.d.ts.map +0 -1
  242. package/dist/logging.js.map +0 -1
  243. package/dist/mcp/index.d.ts.map +0 -1
  244. package/dist/mcp/index.js.map +0 -1
  245. package/dist/output-buffer.d.ts.map +0 -1
  246. package/dist/output-buffer.js.map +0 -1
  247. package/dist/paths.d.ts.map +0 -1
  248. package/dist/paths.js.map +0 -1
  249. package/dist/pretty.d.ts.map +0 -1
  250. package/dist/pretty.js.map +0 -1
  251. package/dist/query/dates.d.ts.map +0 -1
  252. package/dist/query/dates.js.map +0 -1
  253. package/dist/query/evaluate.d.ts.map +0 -1
  254. package/dist/query/evaluate.js.map +0 -1
  255. package/dist/query/fields.d.ts.map +0 -1
  256. package/dist/query/fields.js.map +0 -1
  257. package/dist/query/help.d.ts.map +0 -1
  258. package/dist/query/help.js.map +0 -1
  259. package/dist/query/index.d.ts.map +0 -1
  260. package/dist/query/index.js.map +0 -1
  261. package/dist/query/parser.d.ts.map +0 -1
  262. package/dist/query/parser.js.map +0 -1
  263. package/dist/query/registry.d.ts.map +0 -1
  264. package/dist/query/registry.js.map +0 -1
  265. package/dist/query/types.d.ts.map +0 -1
  266. package/dist/query/types.js.map +0 -1
  267. package/dist/query/validate.d.ts.map +0 -1
  268. package/dist/query/validate.js.map +0 -1
  269. package/dist/release/fold.d.ts.map +0 -1
  270. package/dist/release/fold.js.map +0 -1
  271. package/dist/release/index.d.ts.map +0 -1
  272. package/dist/release/index.js.map +0 -1
  273. package/dist/release/markdown.d.ts.map +0 -1
  274. package/dist/release/markdown.js.map +0 -1
  275. package/dist/release/structure.d.ts.map +0 -1
  276. package/dist/release/structure.js.map +0 -1
  277. package/dist/renderer.d.ts.map +0 -1
  278. package/dist/renderer.js.map +0 -1
  279. package/dist/result-fields.d.ts.map +0 -1
  280. package/dist/result-fields.js.map +0 -1
  281. package/dist/retry.d.ts.map +0 -1
  282. package/dist/retry.js.map +0 -1
  283. package/dist/sanitize.d.ts.map +0 -1
  284. package/dist/sanitize.js.map +0 -1
  285. package/dist/skill/index.d.ts.map +0 -1
  286. package/dist/skill/index.js.map +0 -1
  287. package/dist/standards/audit.d.ts.map +0 -1
  288. package/dist/standards/audit.js.map +0 -1
  289. package/dist/standards/effects.d.ts.map +0 -1
  290. package/dist/standards/effects.js.map +0 -1
  291. package/dist/standards/errors.d.ts.map +0 -1
  292. package/dist/standards/errors.js.map +0 -1
  293. package/dist/standards/fields.d.ts.map +0 -1
  294. package/dist/standards/fields.js.map +0 -1
  295. package/dist/standards/flags-how.d.ts.map +0 -1
  296. package/dist/standards/flags-how.js.map +0 -1
  297. package/dist/standards/flags-what.d.ts.map +0 -1
  298. package/dist/standards/flags-what.js.map +0 -1
  299. package/dist/standards/identifiers.d.ts.map +0 -1
  300. package/dist/standards/identifiers.js.map +0 -1
  301. package/dist/standards/index.d.ts.map +0 -1
  302. package/dist/standards/index.js.map +0 -1
  303. package/dist/standards/lint.d.ts.map +0 -1
  304. package/dist/standards/lint.js.map +0 -1
  305. package/dist/standards/log.d.ts.map +0 -1
  306. package/dist/standards/log.js.map +0 -1
  307. package/dist/standards/output.d.ts.map +0 -1
  308. package/dist/standards/output.js.map +0 -1
  309. package/dist/standards/registry.d.ts.map +0 -1
  310. package/dist/standards/registry.js.map +0 -1
  311. package/dist/standards/steps.d.ts.map +0 -1
  312. package/dist/standards/steps.js.map +0 -1
  313. package/dist/standards/tables.d.ts.map +0 -1
  314. package/dist/standards/tables.js.map +0 -1
  315. package/dist/standards/vocabulary.d.ts.map +0 -1
  316. package/dist/standards/vocabulary.js.map +0 -1
  317. package/dist/streams.d.ts.map +0 -1
  318. package/dist/streams.js.map +0 -1
  319. package/dist/testing/index.d.ts.map +0 -1
  320. package/dist/testing/index.js.map +0 -1
  321. package/dist/testing/network.d.ts.map +0 -1
  322. package/dist/testing/network.js.map +0 -1
  323. package/dist/testing/sandbox.d.ts.map +0 -1
  324. package/dist/testing/sandbox.js.map +0 -1
  325. package/dist/testing/setup.d.ts.map +0 -1
  326. package/dist/testing/setup.js.map +0 -1
  327. package/dist/time.d.ts.map +0 -1
  328. package/dist/time.js.map +0 -1
  329. package/dist/update/index.d.ts.map +0 -1
  330. package/dist/update/index.js.map +0 -1
package/README.md CHANGED
@@ -35,7 +35,15 @@ Every WireCat tool is built on it: [tg-cli](https://github.com/WireCatLabs/tg-cl
35
35
  messaging engine — and through it the mail, notes, Zoom and Drive tools.
36
36
 
37
37
  Up to version 0.20.0 (October 2026) this package was `@wirecat/cli-core`. That name now belongs to the shared
38
- messaging engine: in older changelogs, plans and issues, "cli-core" means this package.
38
+ messaging engine: in older changelogs, plans and issues, "cli-core" means this package. Those old
39
+ `@wirecat/cli-core` versions (0.18–0.20) are deprecated on npm.
40
+
41
+ ```sh
42
+ npm install @wirecat/cli-base
43
+ ```
44
+
45
+ It is ESM only, for Node 22 and later: `import` it (`require()` works from Node 22.12). Add `commander` if you use
46
+ `/skill`, and `vitest` if you use `/testing/setup`.
39
47
 
40
48
  **One rule shapes everything here: in a machine mode, stdout carries data and nothing else.** No spinner, no `✓`, no
41
49
  warning, no ANSI. Diagnostics go to stderr, in every mode including the pretty one. That is the contract a script or
@@ -77,7 +85,7 @@ Three lines this package does not cross:
77
85
  renderer; what is written, and where, is the host's call.
78
86
 
79
87
  Five runtime dependencies: valibot and its JSON Schema converter, cli-table3, picocolors and cross-spawn. Commander is
80
- an optional peer, used as a type.
88
+ an optional peer: `/commands` and `/completion` use only its types, and `/skill` needs it installed at run time.
81
89
 
82
90
  ## Features
83
91
 
@@ -133,6 +141,13 @@ Credentials resolve environment → keyring → file, warning once and falling t
133
141
  **No compiler is involved.** Prebuilt binaries cover twelve platform triples, and the Linux one speaks D-Bus itself,
134
142
  so libsecret is not a requirement. Checked against `@napi-rs/keyring` 2.1.0 on 2026-09-19.
135
143
 
144
+ This repository's CI runs the tests on Linux only. macOS runs the path tests when they change, and that run does not
145
+ block a merge (`macos.yml`); nothing runs on Windows here. A CLI built on this library can run its own unit suite
146
+ on macOS and Windows through `node-ci.yml` with `platforms: true`; here, Full validation started by hand with
147
+ `platforms` does the same. On 2026-10-18 that run passed on macOS and failed 14 tests on Windows (file modes,
148
+ spawning `npm` and `tsc`). In every test the keyring is a fake, so no test reaches a real Keychain or Credential
149
+ Manager.
150
+
136
151
  Two traps worth designing for: the keyring is global, so a throwaway config directory overwrites the real secret
137
152
  unless you pass `isolated: true`; and a locked Linux keyring can block on a prompt rather than fail.
138
153
 
package/dist/batch.d.ts CHANGED
@@ -57,4 +57,3 @@ export declare const runBatch: (requests: readonly PreparedBatchRequest[], optio
57
57
  fields?: readonly string[];
58
58
  }) => Promise<BatchReport>;
59
59
  export declare const projectBatchAnswers: (report: BatchReport, fields: readonly string[]) => BatchReport;
60
- //# sourceMappingURL=batch.d.ts.map
package/dist/batch.js CHANGED
@@ -168,4 +168,3 @@ export const projectBatchAnswers = (report, fields) => ({
168
168
  ...report,
169
169
  items: report.items.map((result) => result.status === "ok" ? { ...result, answer: projectFields(result.answer, fields) } : result),
170
170
  });
171
- //# sourceMappingURL=batch.js.map
@@ -9,4 +9,3 @@ export { identifier, kebab } from "./names.js";
9
9
  export { applyOverrides, CodegenError, type GenerateOptions, generate, validateModel, type WriteOptions, writeArtifacts, } from "./pipeline.js";
10
10
  export { typesGenerator } from "./typescript.js";
11
11
  export { type ValibotOptions, valibotGenerator } from "./valibot.js";
12
- //# sourceMappingURL=index.d.ts.map
@@ -8,4 +8,3 @@ export { identifier, kebab } from "./names.js";
8
8
  export { applyOverrides, CodegenError, generate, validateModel, writeArtifacts, } from "./pipeline.js";
9
9
  export { typesGenerator } from "./typescript.js";
10
10
  export { valibotGenerator } from "./valibot.js";
11
- //# sourceMappingURL=index.js.map
@@ -44,4 +44,3 @@ export interface CoverageOptions {
44
44
  }
45
45
  /** Every operation the source has, and how it is reached — the page a reviewer diffs after a sync. */
46
46
  export declare const coverageGenerator: (options: CoverageOptions) => CodeGenerator;
47
- //# sourceMappingURL=manifest.d.ts.map
@@ -70,4 +70,3 @@ export const coverageGenerator = (options) => (model) => {
70
70
  ].join("\n");
71
71
  return [{ path: options.path, content }];
72
72
  };
73
- //# sourceMappingURL=manifest.js.map
@@ -143,4 +143,3 @@ export interface GeneratedArtifact {
143
143
  }
144
144
  export type CodeGenerator = (model: ApiModel) => GeneratedArtifact[];
145
145
  export {};
146
- //# sourceMappingURL=model.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * parses a file format.
5
5
  */
6
6
  export {};
7
- //# sourceMappingURL=model.js.map
@@ -1,4 +1,3 @@
1
1
  export declare const identifier: (id: string) => string;
2
2
  /** `getMyInfo` → `get-my-info`. */
3
3
  export declare const kebab: (id: string) => string;
4
- //# sourceMappingURL=names.d.ts.map
@@ -43,4 +43,3 @@ export const kebab = (id) => id
43
43
  .replace(/[^A-Za-z0-9]+/g, "-")
44
44
  .replace(/^-|-$/g, "")
45
45
  .toLowerCase();
46
- //# sourceMappingURL=names.js.map
@@ -21,4 +21,3 @@ export interface WriteOptions {
21
21
  }
22
22
  /** Paths whose committed content differs from what was generated — written, or with `check`, only reported. */
23
23
  export declare const writeArtifacts: (artifacts: readonly GeneratedArtifact[], options: WriteOptions) => string[];
24
- //# sourceMappingURL=pipeline.d.ts.map
@@ -190,4 +190,3 @@ export const writeArtifacts = (artifacts, options) => {
190
190
  }
191
191
  return stale;
192
192
  };
193
- //# sourceMappingURL=pipeline.js.map
@@ -21,4 +21,3 @@ export declare const integer: (range?: Range) => v.SchemaWithPipe<readonly [v.Cu
21
21
  export declare const number: (range?: Range) => v.SchemaWithPipe<readonly [v.CustomSchema<number | LosslessLike, v.ErrorMessage<v.CustomIssue> | undefined>, v.TransformAction<number | LosslessLike, number>, v.CheckAction<number, "number out of range">]>;
22
22
  export declare const unique: (items: readonly unknown[]) => boolean;
23
23
  export {};
24
- //# sourceMappingURL=runtime.d.ts.map
@@ -35,4 +35,3 @@ export const integer = (range = {}) => v.pipe(v.custom((input) => {
35
35
  }, "expected an integer within ±2^53"), v.transform((input) => Number(digitsOf(input))), v.check((value) => inRange(value, range), "integer out of range"));
36
36
  export const number = (range = {}) => v.pipe(v.custom((input) => (isLossless(input) ? Number.isFinite(Number(input.value)) : Number.isFinite(input)), "expected a number"), v.transform((input) => (isLossless(input) ? Number(input.value) : input)), v.check((value) => inRange(value, range), "number out of range"));
37
37
  export const unique = (items) => new Set(items.map((item) => JSON.stringify(item))).size === items.length;
38
- //# sourceMappingURL=runtime.js.map
@@ -26,4 +26,3 @@ export declare class SchemaTree {
26
26
  flatten(node: SchemaNode, where: string): ObjectNode;
27
27
  }
28
28
  export {};
29
- //# sourceMappingURL=tree.d.ts.map
@@ -84,4 +84,3 @@ export class SchemaTree {
84
84
  return { type: "object", description: node.description, nullable: node.nullable, ...merged };
85
85
  }
86
86
  }
87
- //# sourceMappingURL=tree.js.map
@@ -3,4 +3,3 @@ import type { CodeGenerator } from "./model.js";
3
3
  export declare const typesGenerator: (options: {
4
4
  path: string;
5
5
  }) => CodeGenerator;
6
- //# sourceMappingURL=typescript.d.ts.map
@@ -75,4 +75,3 @@ export const typesGenerator = (options) => (model) => {
75
75
  });
76
76
  return [{ path: options.path, content: declarations.join("\n") }];
77
77
  };
78
- //# sourceMappingURL=typescript.js.map
@@ -7,4 +7,3 @@ export interface ValibotOptions {
7
7
  }
8
8
  /** Valibot schemas that keep the source's constraints at run time, which plain generated types lose. */
9
9
  export declare const valibotGenerator: (options: ValibotOptions) => CodeGenerator;
10
- //# sourceMappingURL=valibot.d.ts.map
@@ -129,4 +129,3 @@ export const valibotGenerator = (options) => (model) => {
129
129
  const registry = `export const schemas = {\n${tree.named.map(({ name }) => ` ${name},`).join("\n")}\n} as const\n`;
130
130
  return [{ path: options.path, content: `${header.join("\n")}\n${declarations.join("\n")}\n${registry}` }];
131
131
  };
132
- //# sourceMappingURL=valibot.js.map
@@ -71,4 +71,3 @@ export interface CommandsDocumentAbout {
71
71
  }
72
72
  /** The whole tree; a CLI that answers `commands <path>` adds `scope` and `inherited_options` itself. */
73
73
  export declare const commandsDocument: (root: Command, about: CommandsDocumentAbout) => CommandsDocument;
74
- //# sourceMappingURL=document.d.ts.map
@@ -94,4 +94,3 @@ export const commandsDocument = (root, about) => ({
94
94
  commands: describeProgram(root),
95
95
  exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES },
96
96
  });
97
- //# sourceMappingURL=document.js.map
@@ -19,4 +19,3 @@ export * from "./registry.js";
19
19
  * help, so the words are checked before parsing. Pass the words after a leading profile, if any.
20
20
  */
21
21
  export declare const refuseJoinedPath: (root: Command, args: readonly string[]) => void;
22
- //# sourceMappingURL=index.d.ts.map
@@ -23,4 +23,3 @@ export const refuseJoinedPath = (root, args) => {
23
23
  command = next;
24
24
  }
25
25
  };
26
- //# sourceMappingURL=index.js.map
@@ -78,11 +78,12 @@ export type CommandsPage = {
78
78
  options: readonly OptionInfo[];
79
79
  labels: CommandsPageLabels;
80
80
  text: CommandsPageText;
81
+ /** Markdown paragraphs closing a command's section — cli-core's Returns, Next usually and Example. */
82
+ details?: (command: CommandInfo) => readonly string[];
81
83
  };
82
84
  /**
83
85
  * The whole `docs/commands.md`: every command at any depth, every option and argument, the exit
84
86
  * codes. Descriptions are quoted as `--help` prints them, untranslated — a translation here would
85
87
  * give the sentence a second home, and the one on screen is the one that gets corrected.
86
88
  */
87
- export declare const commandsPage: ({ cli, commands, options, labels, text }: CommandsPage) => string;
88
- //# sourceMappingURL=page.d.ts.map
89
+ export declare const commandsPage: ({ cli, commands, options, labels, text, details }: CommandsPage) => string;
@@ -44,7 +44,7 @@ const sentence = (text) => {
44
44
  * codes. Descriptions are quoted as `--help` prints them, untranslated — a translation here would
45
45
  * give the sentence a second home, and the one on screen is the one that gets corrected.
46
46
  */
47
- export const commandsPage = ({ cli, commands, options, labels, text }) => {
47
+ export const commandsPage = ({ cli, commands, options, labels, text, details }) => {
48
48
  // What a value may be and what it is when left out: Commander keeps both out of the description.
49
49
  const extras = ({ choices, default: fallback }) => [
50
50
  choices ? ` ${labels.oneOf}: ${choices.map((choice) => `\`${choice}\``).join(", ")}.` : "",
@@ -75,6 +75,8 @@ export const commandsPage = ({ cli, commands, options, labels, text }) => {
75
75
  parts.push("", `| ${labels.argument} | | ${labels.isWhat} |`, "|---|---|---|", argumentRows(command.arguments));
76
76
  if (command.options.length > 0)
77
77
  parts.push("", `| ${labels.option} | ${labels.does} |`, "|---|---|", optionRows(command.options));
78
+ for (const paragraph of details?.(command) ?? [])
79
+ parts.push("", paragraph);
78
80
  return parts;
79
81
  };
80
82
  // A group shows its own usage only when it takes options of its own, as `doctor --online` does.
@@ -111,4 +113,3 @@ export const commandsPage = ({ cli, commands, options, labels, text }) => {
111
113
  .join("\n\n")
112
114
  .concat("\n");
113
115
  };
114
- //# sourceMappingURL=page.js.map
@@ -119,4 +119,3 @@ export declare const flatten: (commands: readonly CommandInfo[]) => CommandInfo[
119
119
  * in snake_case. Hand it to `stepOf` and `errorObjectOf` as `targets`.
120
120
  */
121
121
  export declare const stepTargets: (root: Command) => ((command: string) => StepTarget | undefined);
122
- //# sourceMappingURL=registry.d.ts.map
@@ -103,4 +103,3 @@ const describeOption = (option) => {
103
103
  ...(optionMetaOf(option).mcp === false ? { mcp: false } : {}),
104
104
  };
105
105
  };
106
- //# sourceMappingURL=registry.js.map
@@ -34,4 +34,3 @@ export declare const NO_FILE_COMPLETION = 4;
34
34
  export declare const suggest: ({ commands, globalOptions, words, sources }: CompletionRequest) => Suggestion[];
35
35
  /** The answer in the form the shell script reads. */
36
36
  export declare const formatSuggestions: (suggestions: readonly Suggestion[]) => string;
37
- //# sourceMappingURL=index.d.ts.map
@@ -84,4 +84,3 @@ const argumentValues = (args, position, sources) => {
84
84
  ];
85
85
  };
86
86
  const resolve = (values) => (values?.() ?? []).map((value) => (typeof value === "string" ? { value, description: "" } : value));
87
- //# sourceMappingURL=index.js.map
package/dist/config.d.ts CHANGED
@@ -16,4 +16,3 @@ export declare const writeSecurely: (path: string, contents: string | Uint8Array
16
16
  export declare const loadConfigFile: <TSchema extends v.GenericSchema>(path: string, schema: TSchema, fallback: () => v.InferOutput<TSchema>) => v.InferOutput<TSchema>;
17
17
  /** Config is not a secret, so it is `0644`; the credential file next to it is not. */
18
18
  export declare const saveConfigFile: (path: string, config: unknown) => void;
19
- //# sourceMappingURL=config.d.ts.map
package/dist/config.js CHANGED
@@ -59,4 +59,3 @@ export const loadConfigFile = (path, schema, fallback) => {
59
59
  export const saveConfigFile = (path, config) => {
60
60
  writeSecurely(path, `${JSON.stringify(config, null, 2)}\n`, 0o644);
61
61
  };
62
- //# sourceMappingURL=config.js.map
@@ -45,4 +45,3 @@ export declare class Credentials {
45
45
  write(account: string, secret: string): CredentialSource;
46
46
  remove(account: string): CredentialSource[];
47
47
  }
48
- //# sourceMappingURL=credentials.d.ts.map
@@ -117,4 +117,3 @@ export class Credentials {
117
117
  }
118
118
  }
119
119
  }
120
- //# sourceMappingURL=credentials.js.map
@@ -11,4 +11,3 @@ export interface Deadline {
11
11
  dispose(): void;
12
12
  }
13
13
  export declare const createDeadline: ({ timeoutMs, signal, sleep }?: DeadlineOptions) => Deadline;
14
- //# sourceMappingURL=deadline.d.ts.map
package/dist/deadline.js CHANGED
@@ -85,4 +85,3 @@ export const createDeadline = ({ timeoutMs, signal, sleep = realSleep } = {}) =>
85
85
  },
86
86
  };
87
87
  };
88
- //# sourceMappingURL=deadline.js.map
@@ -61,4 +61,3 @@ export declare const clisOf: (target: string) => string[];
61
61
  export declare const auditClis: (inputs: readonly AuditInput[], options: AuditOptions, rules?: readonly AuditRule[]) => AuditResult;
62
62
  /** One line per CLI and rule that found something, then one total per CLI. */
63
63
  export declare const scorecardTable: (rows: readonly ScoreRow[]) => string;
64
- //# sourceMappingURL=audit.d.ts.map
package/dist/dev/audit.js CHANGED
@@ -305,4 +305,3 @@ export const scorecardTable = (rows) => {
305
305
  const widths = header.map((_, index) => Math.max(...lines.map((line) => line[index]?.length ?? 0)));
306
306
  return lines.map((line) => pad(line, widths).trimEnd()).join("\n");
307
307
  };
308
- //# sourceMappingURL=audit.js.map
package/dist/dev/bin.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  #!/usr/bin/env node
2
2
  export {};
3
- //# sourceMappingURL=bin.d.ts.map
package/dist/dev/bin.js CHANGED
@@ -5,4 +5,3 @@ process.exitCode = await main(process.argv.slice(2), {
5
5
  out: (text) => process.stdout.write(`${text}\n`),
6
6
  err: (text) => process.stderr.write(`${text}\n`),
7
7
  });
8
- //# sourceMappingURL=bin.js.map
@@ -27,4 +27,3 @@ export interface LandOptions {
27
27
  * `undefined` when there was nothing to fold. Throws when it cannot land.
28
28
  */
29
29
  export declare const landFold: ({ file, version, unreleased, shell, log }: LandOptions) => string | undefined;
30
- //# sourceMappingURL=land.d.ts.map
package/dist/dev/land.js CHANGED
@@ -97,4 +97,3 @@ export const landFold = ({ file, version, unreleased, shell, log }) => {
97
97
  }
98
98
  throw new Error(`main moved under the fold twice — run bin/release again`);
99
99
  };
100
- //# sourceMappingURL=land.js.map
@@ -47,4 +47,3 @@ export interface Judgement {
47
47
  export declare const judge: (violations: readonly Violation[], baseline: Readonly<Record<string, readonly string[]>>, overrides: readonly Override[], budget: number, rules?: readonly LintRule[]) => Judgement;
48
48
  /** What `--write-baseline` writes: per rule, the targets no override covers. A rule with none gets no file. */
49
49
  export declare const baselineOf: (violations: readonly Violation[], overrides: readonly Override[], rules?: readonly LintRule[]) => Record<string, string[]>;
50
- //# sourceMappingURL=lint.d.ts.map
package/dist/dev/lint.js CHANGED
@@ -434,4 +434,3 @@ export const baselineOf = (violations, overrides, rules = LINT_RULES) => {
434
434
  .sort(),
435
435
  ]));
436
436
  };
437
- //# sourceMappingURL=lint.js.map
@@ -6,4 +6,3 @@ export interface DevIo {
6
6
  err: (text: string) => void;
7
7
  }
8
8
  export declare const main: (argv: readonly string[], io: DevIo) => Promise<number>;
9
- //# sourceMappingURL=main.d.ts.map
package/dist/dev/main.js CHANGED
@@ -487,4 +487,3 @@ export const main = async (argv, io) => {
487
487
  return 2;
488
488
  }
489
489
  };
490
- //# sourceMappingURL=main.js.map
@@ -8,4 +8,3 @@ export declare const nextVersion: (wanted: string, latest: string, versionsJson:
8
8
  } | {
9
9
  error: string;
10
10
  };
11
- //# sourceMappingURL=next-version.d.ts.map
@@ -30,4 +30,3 @@ export const nextVersion = (wanted, latest, versionsJson) => {
30
30
  next = step(next);
31
31
  return { version: next.join(".") };
32
32
  };
33
- //# sourceMappingURL=next-version.js.map
@@ -11,4 +11,3 @@ export interface VitestReport {
11
11
  }[];
12
12
  }
13
13
  export declare const slowTests: (report: VitestReport, cwd: string, count: number) => string;
14
- //# sourceMappingURL=slow-tests.d.ts.map
@@ -14,4 +14,3 @@ export const slowTests = (report, cwd, count) => {
14
14
  ...files.slice(0, 10).map(({ ms, file }) => `${ms.toFixed(0).padStart(6)} ms ${relative(file)}`),
15
15
  ].join("\n");
16
16
  };
17
- //# sourceMappingURL=slow-tests.js.map
@@ -32,4 +32,3 @@ export declare const matrixRows: (program: ProgramNode, seen: Map<string, Set<st
32
32
  };
33
33
  export declare const matrixPage: (rows: readonly Row[], cli: string) => string;
34
34
  export {};
35
- //# sourceMappingURL=test-matrix.d.ts.map
@@ -90,4 +90,3 @@ ${rows
90
90
  .join("\n")}
91
91
  `;
92
92
  };
93
- //# sourceMappingURL=test-matrix.js.map
package/dist/drain.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  import type { Writable } from "node:stream";
2
2
  export declare const waitForDrain: (stream: Writable, signal?: AbortSignal) => Promise<void>;
3
- //# sourceMappingURL=drain.d.ts.map
package/dist/drain.js CHANGED
@@ -24,4 +24,3 @@ export const waitForDrain = (stream, signal) => {
24
24
  signal?.addEventListener("abort", aborted, { once: true });
25
25
  });
26
26
  };
27
- //# sourceMappingURL=drain.js.map
package/dist/errors.d.ts CHANGED
@@ -42,4 +42,3 @@ export declare class CliError extends Error {
42
42
  constructor(code: ErrorCode, message: string, details?: CliErrorDetails);
43
43
  }
44
44
  export declare const isCliError: (value: unknown) => value is CliError;
45
- //# sourceMappingURL=errors.d.ts.map
package/dist/errors.js CHANGED
@@ -37,4 +37,3 @@ export class CliError extends Error {
37
37
  }
38
38
  }
39
39
  export const isCliError = (value) => typeof value === "object" && value !== null && value[BRAND] === true;
40
- //# sourceMappingURL=errors.js.map
@@ -1,3 +1,2 @@
1
1
  export declare const executableOnPath: (command: string, env: NodeJS.ProcessEnv, platform?: NodeJS.Platform, exists?: (path: string) => boolean) => string;
2
2
  export declare const executableEnvironment: (env: NodeJS.ProcessEnv, platform?: NodeJS.Platform) => NodeJS.ProcessEnv;
3
- //# sourceMappingURL=executable.d.ts.map
@@ -38,4 +38,3 @@ export const executableEnvironment = (env, platform = process.platform) => {
38
38
  result.comspec = shell;
39
39
  return result;
40
40
  };
41
- //# sourceMappingURL=executable.js.map
@@ -8,4 +8,3 @@ import type { ErrorCode } from "./errors.js";
8
8
  export declare const EXIT_CODES: Record<ErrorCode, number>;
9
9
  export declare const exitCodeFor: (code: ErrorCode) => number;
10
10
  export declare const GENERIC_FAILURE = 1;
11
- //# sourceMappingURL=exit-codes.d.ts.map
@@ -22,4 +22,3 @@ export const EXIT_CODES = {
22
22
  };
23
23
  export const exitCodeFor = (code) => EXIT_CODES[code];
24
24
  export const GENERIC_FAILURE = 1;
25
- //# sourceMappingURL=exit-codes.js.map
package/dist/failure.d.ts CHANGED
@@ -101,4 +101,3 @@ export interface CatchCrashesOptions extends FailureContext {
101
101
  * Node's stack trace. Call it first thing; it returns the function that removes it.
102
102
  */
103
103
  export declare const catchCrashes: (options: CatchCrashesOptions) => (() => void);
104
- //# sourceMappingURL=failure.d.ts.map
package/dist/failure.js CHANGED
@@ -187,4 +187,3 @@ export const catchCrashes = (options) => {
187
187
  target.off("unhandledRejection", crashed);
188
188
  };
189
189
  };
190
- //# sourceMappingURL=failure.js.map
@@ -3,4 +3,3 @@ export interface JsonResponseOptions {
3
3
  signal?: AbortSignal;
4
4
  }
5
5
  export declare const readJsonResponse: (response: Response, options: JsonResponseOptions) => Promise<unknown>;
6
- //# sourceMappingURL=body.d.ts.map
package/dist/http/body.js CHANGED
@@ -84,4 +84,3 @@ export const readJsonResponse = async (response, options) => {
84
84
  reader.releaseLock();
85
85
  }
86
86
  };
87
- //# sourceMappingURL=body.js.map
@@ -18,4 +18,3 @@ export declare const providerWaitMs: (headers: Headers, now: WallClock) => numbe
18
18
  export declare const retryableStatus: (status: number) => boolean;
19
19
  export declare const statusToCode: (status: number) => ErrorCode;
20
20
  export { type JsonResponseOptions, readJsonResponse } from "./body.js";
21
- //# sourceMappingURL=index.d.ts.map
@@ -44,4 +44,3 @@ export const statusToCode = (status) => {
44
44
  return "provider_error";
45
45
  };
46
46
  export { readJsonResponse } from "./body.js";
47
- //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -18,4 +18,3 @@ export { backoffMs, DEFAULT_RETRY, type RetryConfig } from "./retry.js";
18
18
  export { singleLine, visibleControls } from "./sanitize.js";
19
19
  export { captureStreams, processStreams, type Streams } from "./streams.js";
20
20
  export { abortError, type MonotonicClock, monotonic, realSleep, type SleepLike, type SleepReason, type WallClock, wallClock, } from "./time.js";
21
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -16,4 +16,3 @@ export { backoffMs, DEFAULT_RETRY } from "./retry.js";
16
16
  export { singleLine, visibleControls } from "./sanitize.js";
17
17
  export { captureStreams, processStreams } from "./streams.js";
18
18
  export { abortError, monotonic, realSleep, wallClock, } from "./time.js";
19
- //# sourceMappingURL=index.js.map
package/dist/keyring.d.ts CHANGED
@@ -24,4 +24,3 @@ export declare const memoryKeyring: (initial?: Record<string, string>) => Keyrin
24
24
  };
25
25
  /** Refuses every operation, so the fallback path can be tested. */
26
26
  export declare const brokenKeyring: (message?: string) => KeyringStore;
27
- //# sourceMappingURL=keyring.d.ts.map
package/dist/keyring.js CHANGED
@@ -42,4 +42,3 @@ export const brokenKeyring = (message = "no secret service available") => ({
42
42
  throw new Error(message);
43
43
  },
44
44
  });
45
- //# sourceMappingURL=keyring.js.map
package/dist/logger.d.ts CHANGED
@@ -8,4 +8,3 @@ export interface Logger {
8
8
  warn(event: object, message?: string): void;
9
9
  error(event: object, message?: string): void;
10
10
  }
11
- //# sourceMappingURL=logger.d.ts.map
package/dist/logger.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=logger.js.map
package/dist/logging.d.ts CHANGED
@@ -51,4 +51,3 @@ export declare const logRecordOf: ({ severity, event, time, runId, traceId, comm
51
51
  * Appended synchronously: a log exists to explain the exit that would have dropped a buffered tail.
52
52
  */
53
53
  export declare const createRecordLog: ({ to, runId, command, resource, traceId, redact, allow, onError, now, }: RecordLogOptions) => Logger;
54
- //# sourceMappingURL=logging.d.ts.map
package/dist/logging.js CHANGED
@@ -107,4 +107,3 @@ const silent = {
107
107
  warn: () => { },
108
108
  error: () => { },
109
109
  };
110
- //# sourceMappingURL=logging.js.map
@@ -29,4 +29,3 @@ export declare const probeStdio: (entry: StdioEntry, { timeoutMs, start, }?: {
29
29
  timeoutMs?: number;
30
30
  start?: (file: string, args: string[], env: NodeJS.ProcessEnv) => ChildProcessWithoutNullStreams;
31
31
  }) => Promise<ProbeResult>;
32
- //# sourceMappingURL=index.d.ts.map
package/dist/mcp/index.js CHANGED
@@ -110,4 +110,3 @@ export const probeStdio = async (entry, { timeoutMs = 10_000, start = (file, arg
110
110
  child.kill();
111
111
  }
112
112
  };
113
- //# sourceMappingURL=index.js.map
@@ -13,4 +13,3 @@ export interface OutputBuffer {
13
13
  discard(): void;
14
14
  }
15
15
  export declare const createOutputBuffer: ({ maxOutputBytes, fields, format, }?: OutputBufferOptions) => OutputBuffer;
16
- //# sourceMappingURL=output-buffer.d.ts.map
@@ -66,4 +66,3 @@ export const createOutputBuffer = ({ maxOutputBytes = 4 * 1024 * 1024, fields, f
66
66
  },
67
67
  };
68
68
  };
69
- //# sourceMappingURL=output-buffer.js.map
package/dist/paths.d.ts CHANGED
@@ -32,4 +32,3 @@ export declare const resolvePaths: (options: PathsOptions) => Paths;
32
32
  /** Whether any of the three directories came from the environment rather than the OS convention. */
33
33
  export declare const pathsAreOverridden: ({ appName, prefix, env }: PathsOptions) => boolean;
34
34
  export declare const configFilePath: (configDir: string, fileName?: string) => string;
35
- //# sourceMappingURL=paths.d.ts.map
package/dist/paths.js CHANGED
@@ -42,4 +42,3 @@ export const resolvePaths = (options) => {
42
42
  /** Whether any of the three directories came from the environment rather than the OS convention. */
43
43
  export const pathsAreOverridden = ({ appName, prefix, env = process.env }) => PATH_KINDS.some((kind) => env[overrideName(appName, prefix, kind)] !== undefined);
44
44
  export const configFilePath = (configDir, fileName = "config.json") => join(configDir, fileName);
45
- //# sourceMappingURL=paths.js.map
package/dist/pretty.d.ts CHANGED
@@ -9,4 +9,3 @@ export interface PrettyOptions {
9
9
  export declare const renderPretty: (value: unknown, options: PrettyOptions) => string;
10
10
  /** Shifts every line right; an empty line stays empty, so no trailing spaces reach the terminal. */
11
11
  export declare const indent: (text: string, spaces: number) => string;
12
- //# sourceMappingURL=pretty.d.ts.map
package/dist/pretty.js CHANGED
@@ -80,4 +80,3 @@ const BORDERLESS = {
80
80
  "right-mid": "",
81
81
  middle: "",
82
82
  };
83
- //# sourceMappingURL=pretty.js.map
@@ -12,4 +12,3 @@ export declare const dateEndpoint: (value: string, zone: string, side: "lower" |
12
12
  inclusive: boolean;
13
13
  };
14
14
  export declare const dateRange: (lower: string, upper: string, lowerInclusive: boolean, upperInclusive: boolean, zone: string, span: Span, now?: number) => DateRange;
15
- //# sourceMappingURL=dates.d.ts.map
@@ -101,4 +101,3 @@ export const dateRange = (lower, upper, lowerInclusive, upperInclusive, zone, sp
101
101
  upper_inclusive: hi.inclusive,
102
102
  };
103
103
  };
104
- //# sourceMappingURL=dates.js.map
@@ -12,4 +12,3 @@ export interface EvaluateOptions {
12
12
  * matches everything else.
13
13
  */
14
14
  export declare const evaluate: (ast: QueryAst, fields: readonly FieldSpec[], item: Readonly<Record<string, unknown>>, options?: EvaluateOptions) => boolean;
15
- //# sourceMappingURL=evaluate.d.ts.map
@@ -67,4 +67,3 @@ const matches = (node, item, byName, options) => {
67
67
  * matches everything else.
68
68
  */
69
69
  export const evaluate = (ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options);
70
- //# sourceMappingURL=evaluate.js.map