gennady 0.8.3 → 0.8.4-draft.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2907) hide show
  1. package/README.md +212 -3
  2. package/ai/directives/agent-inbox/arch-interrogation.directive.xml +387 -0
  3. package/ai/directives/agent-inbox/change-interrogation.directive.xml +107 -0
  4. package/ai/directives/agent-inbox/code-interrogation.directive.xml +54 -0
  5. package/ai/directives/agent-inbox/contract-interrogation.directive.xml +93 -0
  6. package/ai/directives/agent-inbox/golden-chat-output.example.md +176 -0
  7. package/ai/directives/agent-inbox/inbox-flow.directive.xml +588 -0
  8. package/ai/directives/agent-inbox/posting-rules.directive.xml +260 -0
  9. package/ai/directives/agent-inbox/security-interrogation.directive.xml +108 -0
  10. package/ai/directives/agent-inbox/update-review.directive.xml +136 -0
  11. package/ai/directives/agent-inbox/visual-vocabulary.directive.xml +188 -0
  12. package/ai/directives/coding/result-conventions.xml +4 -4
  13. package/ai/directives/coding/svelte5-runes.xml +30 -30
  14. package/ai/directives/coding/sveltekit-rules.xml +27 -27
  15. package/ai/directives/coding/typescript-rules.xml +50 -50
  16. package/ai/directives/coding/uikit-component-storybook.xml +32 -32
  17. package/ai/directives/coding/uikit-component-svelte.xml +35 -35
  18. package/ai/directives/coding/uikit-spec-drafting.xml +22 -22
  19. package/ai/directives/infra/eslint-setup.xml +29 -29
  20. package/ai/directives/infra/git-setup.xml +25 -25
  21. package/ai/directives/infra/nodejs-npm-setup.xml +36 -36
  22. package/ai/directives/infra/storybook-setup.xml +22 -22
  23. package/ai/directives/knowledge.xml +0 -46
  24. package/ai/directives/sdd-v2/agent-inbox/code-lens.directive.xml +108 -0
  25. package/ai/directives/sdd-v2/agent-inbox/enrich.directive.xml +222 -0
  26. package/ai/directives/sdd-v2/agent-inbox/security-lens.directive.xml +161 -0
  27. package/ai/directives/sdd-v2/agent-inbox/synthesize.directive.xml +113 -0
  28. package/ai/directives/sdd-v2/agent-inbox/track-review.directive.xml +439 -0
  29. package/ai/directives/sdd-v2/amplify-nfr.directive.xml +93 -0
  30. package/ai/directives/sdd-v2/amplify-observability.directive.xml +98 -0
  31. package/ai/directives/sdd-v2/amplify-security.directive.xml +104 -0
  32. package/ai/directives/sdd-v2/amplify-storage.directive.xml +95 -0
  33. package/ai/directives/sdd-v2/audit.directive.xml +473 -0
  34. package/ai/directives/sdd-v2/code-review.directive.xml +260 -0
  35. package/ai/directives/sdd-v2/compression.directive.xml +214 -0
  36. package/ai/directives/sdd-v2/critic-protocol.directive.xml +210 -0
  37. package/ai/directives/sdd-v2/critic.directive.xml +210 -0
  38. package/ai/directives/sdd-v2/discover-from-code.directive.xml +173 -0
  39. package/ai/directives/sdd-v2/execute.directive.xml +337 -0
  40. package/ai/directives/sdd-v2/formats/audit-round.xml +37 -0
  41. package/ai/directives/sdd-v2/formats/change-manifest.xml +30 -0
  42. package/ai/directives/sdd-v2/formats/dbc-contracts.xml +59 -0
  43. package/ai/directives/sdd-v2/formats/diagram-vocabulary.xml +181 -0
  44. package/ai/directives/sdd-v2/formats/entity-inventory-format.xml +17 -0
  45. package/ai/directives/sdd-v2/formats/entity-surface-format.xml +24 -0
  46. package/ai/directives/sdd-v2/formats/infra-base-minimal-spec.xml +22 -0
  47. package/ai/directives/sdd-v2/formats/infrastructure-spec-structure.xml +121 -0
  48. package/ai/directives/sdd-v2/formats/interface-spec-structure.xml +91 -0
  49. package/ai/directives/sdd-v2/formats/library-spec-structure.xml +100 -0
  50. package/ai/directives/sdd-v2/formats/module-map-update.xml +33 -0
  51. package/ai/directives/sdd-v2/formats/module-spec-structure.xml +150 -0
  52. package/ai/directives/sdd-v2/formats/module-tasks-index.xml +30 -0
  53. package/ai/directives/sdd-v2/formats/nfr-budgets-format.xml +21 -0
  54. package/ai/directives/sdd-v2/formats/pivot-formats.xml +27 -0
  55. package/ai/directives/sdd-v2/formats/portal-structure.xml +29 -0
  56. package/ai/directives/sdd-v2/formats/product-spec-structure.xml +109 -0
  57. package/ai/directives/sdd-v2/formats/project-tasks-index.xml +36 -0
  58. package/ai/directives/sdd-v2/formats/scope-tasks-index.xml +35 -0
  59. package/ai/directives/sdd-v2/formats/security-section-format.xml +26 -0
  60. package/ai/directives/sdd-v2/formats/task-ticket-structure.xml +125 -0
  61. package/ai/directives/sdd-v2/guides/project-setup.md +41 -0
  62. package/ai/directives/sdd-v2/guides/v1-to-v2-migration.md +104 -0
  63. package/ai/directives/sdd-v2/infra.directive.xml +331 -0
  64. package/ai/directives/sdd-v2/interface.directive.xml +277 -0
  65. package/ai/directives/sdd-v2/interview-protocol.directive.xml +284 -0
  66. package/ai/directives/sdd-v2/migration-v1-v2.directive.xml +472 -0
  67. package/ai/directives/sdd-v2/module.directive.xml +462 -0
  68. package/ai/directives/sdd-v2/phase-execution-protocol.directive.xml +460 -0
  69. package/ai/directives/sdd-v2/readiness.directive.xml +303 -0
  70. package/ai/directives/sdd-v2/reconcile.directive.xml +405 -0
  71. package/ai/directives/sdd-v2/recover-from-code.directive.xml +174 -0
  72. package/ai/directives/sdd-v2/review-lifecycle.directive.xml +108 -0
  73. package/ai/directives/sdd-v2/root.directive.xml +217 -0
  74. package/ai/directives/sdd-v2/router.directive.xml +384 -0
  75. package/ai/directives/sdd-v2/scaffold.directive.xml +513 -0
  76. package/ai/directives/sdd-v2/scope.directive.xml +421 -0
  77. package/ai/directives/testing/common.xml +42 -7
  78. package/ai/directives/testing/node-test.xml +33 -23
  79. package/ai/directives/testing/playwright-cli.xml +29 -29
  80. package/ai/directives/testing/playwright-e2e.xml +29 -29
  81. package/ai/directives/testing/storybook-usage.xml +27 -27
  82. package/ai/directives/testing/svelte-testing.xml +27 -27
  83. package/ai/directives/testing/vitest-rules.xml +25 -25
  84. package/ai/flow-sim/PROTOCOL.md +159 -0
  85. package/ai/flow-sim/README.md +39 -0
  86. package/ai/flow-sim/scenarios/S1-route-new-scope.md +107 -0
  87. package/ai/flow-sim/scenarios/S10-multi-scope-route.md +213 -0
  88. package/ai/flow-sim/scenarios/S11-migration-full.md +501 -0
  89. package/ai/flow-sim/scenarios/S2-preflight-migration.md +129 -0
  90. package/ai/flow-sim/scenarios/S3-preflight-carveout.md +141 -0
  91. package/ai/flow-sim/scenarios/S4-discover.md +112 -0
  92. package/ai/flow-sim/scenarios/S5-recover.md +154 -0
  93. package/ai/flow-sim/scenarios/S6-scaffold-ticket.md +283 -0
  94. package/ai/flow-sim/scenarios/S7-execute-lifecycle.md +750 -0
  95. package/ai/flow-sim/scenarios/S8-reconcile-trivial.md +696 -0
  96. package/ai/flow-sim/scenarios/S9-reconcile-from-code.md +669 -0
  97. package/ai/inspector/README.md +40 -0
  98. package/ai/inspector/core/__tests__/parse-directive.test.ts +155 -0
  99. package/ai/inspector/core/__tests__/parse-skill.test.ts +80 -0
  100. package/ai/inspector/core/model.ts +37 -0
  101. package/ai/inspector/core/parse-directive.ts +181 -0
  102. package/ai/inspector/core/parse-skill.ts +89 -0
  103. package/ai/inspector/core/resolve.ts +53 -0
  104. package/ai/inspector/core/scan.ts +109 -0
  105. package/ai/inspector/e2e/inspector.spec.ts +117 -0
  106. package/ai/inspector/generate.ts +154 -0
  107. package/ai/inspector/playwright.config.ts +20 -0
  108. package/ai/inspector/serve.ts +30 -0
  109. package/ai/inspector/web/__tests__/debug.test.ts +173 -0
  110. package/ai/inspector/web/__tests__/markdown.test.ts +185 -0
  111. package/ai/inspector/web/app.js +324 -0
  112. package/ai/inspector/web/debug.js +202 -0
  113. package/ai/inspector/web/index.html +38 -0
  114. package/ai/inspector/web/markdown.js +85 -0
  115. package/ai/inspector/web/styles.css +569 -0
  116. package/ai/kit/AUTHORING.md +121 -0
  117. package/ai/kit/__tests__/deps.test.ts +61 -0
  118. package/ai/kit/__tests__/lint-axioms.test.ts +192 -0
  119. package/ai/kit/__tests__/render.test.ts +192 -0
  120. package/ai/kit/__tests__/skeleton-parity.test.ts +50 -0
  121. package/ai/kit/anti-pattern/coding/AP_FALSE_PRIVATE_AND_ENUM.xml +27 -0
  122. package/ai/kit/anti-pattern/coding/AP_OVEREDIT.xml +2 -0
  123. package/ai/kit/anti-pattern/coding/ap-builtin-without-prefix.xml +6 -0
  124. package/ai/kit/anti-pattern/coding/ap-false-private-and-enum.xml +27 -0
  125. package/ai/kit/anti-pattern/coding/ap-mixed-module-system.xml +6 -0
  126. package/ai/kit/anti-pattern/coding/ap-overedit.xml +2 -0
  127. package/ai/kit/anti-pattern/coding/ap-redundant-jsdoc-duplication.xml +19 -0
  128. package/ai/kit/anti-pattern/critic/AP_CERTAINTY.xml +2 -0
  129. package/ai/kit/anti-pattern/critic/AP_CREEP.xml +2 -0
  130. package/ai/kit/anti-pattern/critic/AP_DISMISS_CONFUSION.xml +2 -0
  131. package/ai/kit/anti-pattern/critic/AP_EDIT.xml +2 -0
  132. package/ai/kit/anti-pattern/critic/AP_FORMAT_BIAS.xml +2 -0
  133. package/ai/kit/anti-pattern/critic/AP_INTERNAL_PARANOIA.xml +2 -0
  134. package/ai/kit/anti-pattern/critic/AP_NITPICK.xml +2 -0
  135. package/ai/kit/anti-pattern/critic/AP_REUSE_BLIND.xml +2 -0
  136. package/ai/kit/anti-pattern/critic/AP_SELF_CRITIQUE.xml +2 -0
  137. package/ai/kit/anti-pattern/critic/AP_SURFACE.xml +2 -0
  138. package/ai/kit/anti-pattern/critic/ap-certainty.xml +2 -0
  139. package/ai/kit/anti-pattern/critic/ap-creep.xml +2 -0
  140. package/ai/kit/anti-pattern/critic/ap-dismiss-confusion.xml +2 -0
  141. package/ai/kit/anti-pattern/critic/ap-edit.xml +2 -0
  142. package/ai/kit/anti-pattern/critic/ap-format-bias.xml +2 -0
  143. package/ai/kit/anti-pattern/critic/ap-internal-paranoia.xml +2 -0
  144. package/ai/kit/anti-pattern/critic/ap-nitpick.xml +2 -0
  145. package/ai/kit/anti-pattern/critic/ap-reuse-blind.xml +2 -0
  146. package/ai/kit/anti-pattern/critic/ap-self-critique.xml +2 -0
  147. package/ai/kit/anti-pattern/critic/ap-surface.xml +2 -0
  148. package/ai/kit/anti-pattern/e2e/AP_CLI_AUTO_UPDATE_SNAPSHOTS.xml +6 -0
  149. package/ai/kit/anti-pattern/e2e/AP_CLI_CSS_XPATH_FROM_CODEGEN.xml +6 -0
  150. package/ai/kit/anti-pattern/e2e/AP_CLI_HEADED_FOR_AGENT.xml +6 -0
  151. package/ai/kit/anti-pattern/e2e/AP_CLI_SKIP_TRACE_ON_FAILURE.xml +6 -0
  152. package/ai/kit/anti-pattern/e2e/AP_CLI_WRITE_TEST_WITHOUT_AX_TREE.xml +6 -0
  153. package/ai/kit/anti-pattern/e2e/AP_E2E_CSS_LOCATOR.xml +6 -0
  154. package/ai/kit/anti-pattern/e2e/AP_E2E_FULL_PAGE_SNAPSHOT.xml +6 -0
  155. package/ai/kit/anti-pattern/e2e/AP_E2E_INLINE_LOGIN.xml +6 -0
  156. package/ai/kit/anti-pattern/e2e/AP_E2E_STANDALONE_POM.xml +6 -0
  157. package/ai/kit/anti-pattern/e2e/AP_E2E_UNMOCKED_NETWORK.xml +6 -0
  158. package/ai/kit/anti-pattern/e2e/ap-cli-auto-update-snapshots.xml +6 -0
  159. package/ai/kit/anti-pattern/e2e/ap-cli-css-xpath-from-codegen.xml +6 -0
  160. package/ai/kit/anti-pattern/e2e/ap-cli-headed-for-agent.xml +6 -0
  161. package/ai/kit/anti-pattern/e2e/ap-cli-skip-trace-on-failure.xml +6 -0
  162. package/ai/kit/anti-pattern/e2e/ap-cli-write-test-without-ax-tree.xml +6 -0
  163. package/ai/kit/anti-pattern/e2e/ap-e2e-css-locator.xml +6 -0
  164. package/ai/kit/anti-pattern/e2e/ap-e2e-full-page-snapshot.xml +6 -0
  165. package/ai/kit/anti-pattern/e2e/ap-e2e-inline-login.xml +6 -0
  166. package/ai/kit/anti-pattern/e2e/ap-e2e-standalone-pom.xml +6 -0
  167. package/ai/kit/anti-pattern/e2e/ap-e2e-unmocked-network.xml +6 -0
  168. package/ai/kit/anti-pattern/infra/AP_AGENT_DISABLE_COMMENT.xml +6 -0
  169. package/ai/kit/anti-pattern/infra/AP_FORCE_PUSH_TO_MAIN.xml +6 -0
  170. package/ai/kit/anti-pattern/infra/AP_FORMATTING_DUPLICATION.xml +6 -0
  171. package/ai/kit/anti-pattern/infra/AP_LIGHTWEIGHT_TAG.xml +6 -0
  172. package/ai/kit/anti-pattern/infra/AP_MULTIPLE_LOCK_FILES.xml +6 -0
  173. package/ai/kit/anti-pattern/infra/AP_NODE_MODULES_COMMITTED.xml +6 -0
  174. package/ai/kit/anti-pattern/infra/AP_NO_VERIFY_AS_HABIT.xml +6 -0
  175. package/ai/kit/anti-pattern/infra/AP_NVMRC_ENGINES_MISMATCH.xml +6 -0
  176. package/ai/kit/anti-pattern/infra/AP_NVMRC_RANGE.xml +6 -0
  177. package/ai/kit/anti-pattern/infra/AP_SECRET_IN_HISTORY.xml +6 -0
  178. package/ai/kit/anti-pattern/infra/AP_TYPE_AWARE_DUPLICATION.xml +6 -0
  179. package/ai/kit/anti-pattern/infra/AP_UNMOTIVATED_NON_AUTOFIX_RULE.xml +6 -0
  180. package/ai/kit/anti-pattern/infra/AP_WARN_LEVEL_USAGE.xml +6 -0
  181. package/ai/kit/anti-pattern/infra/ap-agent-disable-comment.xml +6 -0
  182. package/ai/kit/anti-pattern/infra/ap-force-push-to-main.xml +6 -0
  183. package/ai/kit/anti-pattern/infra/ap-formatting-duplication.xml +6 -0
  184. package/ai/kit/anti-pattern/infra/ap-lightweight-tag.xml +6 -0
  185. package/ai/kit/anti-pattern/infra/ap-multiple-lock-files.xml +6 -0
  186. package/ai/kit/anti-pattern/infra/ap-no-verify-as-habit.xml +6 -0
  187. package/ai/kit/anti-pattern/infra/ap-node-modules-committed.xml +6 -0
  188. package/ai/kit/anti-pattern/infra/ap-npmrc-absent.xml +6 -0
  189. package/ai/kit/anti-pattern/infra/ap-nvmrc-engines-mismatch.xml +6 -0
  190. package/ai/kit/anti-pattern/infra/ap-nvmrc-range.xml +6 -0
  191. package/ai/kit/anti-pattern/infra/ap-secret-in-history.xml +6 -0
  192. package/ai/kit/anti-pattern/infra/ap-tool-range-pin.xml +6 -0
  193. package/ai/kit/anti-pattern/infra/ap-type-aware-duplication.xml +6 -0
  194. package/ai/kit/anti-pattern/infra/ap-unmotivated-non-autofix-rule.xml +6 -0
  195. package/ai/kit/anti-pattern/infra/ap-warn-level-usage.xml +6 -0
  196. package/ai/kit/anti-pattern/logging/AP_BARE_CONSOLE_AND_LOST_CAUSE.xml +32 -0
  197. package/ai/kit/anti-pattern/logging/ap-bare-console-and-lost-cause.xml +32 -0
  198. package/ai/kit/anti-pattern/process/AP_NO_RE_DISPATCH.xml +2 -0
  199. package/ai/kit/anti-pattern/process/AP_SPIN.xml +2 -0
  200. package/ai/kit/anti-pattern/process/AP_VAGUE_REJECT.xml +2 -0
  201. package/ai/kit/anti-pattern/process/ap-no-re-dispatch.xml +2 -0
  202. package/ai/kit/anti-pattern/process/ap-spin.xml +2 -0
  203. package/ai/kit/anti-pattern/process/ap-vague-reject.xml +2 -0
  204. package/ai/kit/anti-pattern/spec/AP_ENTITY_SPRAWL.xml +2 -0
  205. package/ai/kit/anti-pattern/spec/ap-entity-sprawl.xml +2 -0
  206. package/ai/kit/anti-pattern/storybook/AP_ADHOC_HIERARCHY.xml +6 -0
  207. package/ai/kit/anti-pattern/storybook/AP_MISSING_PLAY.xml +6 -0
  208. package/ai/kit/anti-pattern/storybook/AP_MULTIPLE_CONCEPTS_ONE_STORY.xml +6 -0
  209. package/ai/kit/anti-pattern/storybook/AP_RESTATED_ARGS.xml +6 -0
  210. package/ai/kit/anti-pattern/storybook/AP_SB_AGENTS_MD_SKIPPED.xml +6 -0
  211. package/ai/kit/anti-pattern/storybook/AP_SB_HALLUCINATED_PROPS.xml +6 -0
  212. package/ai/kit/anti-pattern/storybook/AP_SB_MANUAL_SCAFFOLD_BEFORE_INIT.xml +6 -0
  213. package/ai/kit/anti-pattern/storybook/AP_SB_MISSING_AI_TAG.xml +6 -0
  214. package/ai/kit/anti-pattern/storybook/AP_SB_MISSING_PLAY_ON_INTERACTION.xml +6 -0
  215. package/ai/kit/anti-pattern/storybook/AP_SB_NO_MCP_INTEGRATION.xml +6 -0
  216. package/ai/kit/anti-pattern/storybook/AP_SB_REWRITE_INSTEAD_OF_COMPOSE.xml +6 -0
  217. package/ai/kit/anti-pattern/storybook/AP_SB_SKIP_SELF_VERIFY.xml +6 -0
  218. package/ai/kit/anti-pattern/storybook/AP_SB_VERIFY_SKIPPED.xml +6 -0
  219. package/ai/kit/anti-pattern/storybook/ap-adhoc-hierarchy.xml +6 -0
  220. package/ai/kit/anti-pattern/storybook/ap-missing-play.xml +6 -0
  221. package/ai/kit/anti-pattern/storybook/ap-multiple-concepts-one-story.xml +6 -0
  222. package/ai/kit/anti-pattern/storybook/ap-restated-args.xml +6 -0
  223. package/ai/kit/anti-pattern/storybook/ap-sb-agents-md-skipped.xml +6 -0
  224. package/ai/kit/anti-pattern/storybook/ap-sb-hallucinated-props.xml +6 -0
  225. package/ai/kit/anti-pattern/storybook/ap-sb-manual-scaffold-before-init.xml +6 -0
  226. package/ai/kit/anti-pattern/storybook/ap-sb-missing-ai-tag.xml +6 -0
  227. package/ai/kit/anti-pattern/storybook/ap-sb-missing-play-on-interaction.xml +6 -0
  228. package/ai/kit/anti-pattern/storybook/ap-sb-no-mcp-integration.xml +6 -0
  229. package/ai/kit/anti-pattern/storybook/ap-sb-rewrite-instead-of-compose.xml +6 -0
  230. package/ai/kit/anti-pattern/storybook/ap-sb-skip-self-verify.xml +6 -0
  231. package/ai/kit/anti-pattern/storybook/ap-sb-verify-skipped.xml +6 -0
  232. package/ai/kit/anti-pattern/svelte/AP_DERIVED_WITH_SIDE_EFFECT.xml +6 -0
  233. package/ai/kit/anti-pattern/svelte/AP_EFFECT_WITHOUT_TEARDOWN.xml +6 -0
  234. package/ai/kit/anti-pattern/svelte/AP_EXPORT_LET_LEGACY.xml +6 -0
  235. package/ai/kit/anti-pattern/svelte/AP_ON_EVENT_DIRECTIVE.xml +6 -0
  236. package/ai/kit/anti-pattern/svelte/AP_REACTIVE_DOLLAR_COLON.xml +6 -0
  237. package/ai/kit/anti-pattern/svelte/AP_RUNES_IN_PLAIN_TS.xml +6 -0
  238. package/ai/kit/anti-pattern/svelte/AP_SK_COMPONENT_FETCH_FOR_INITIAL_DATA.xml +6 -0
  239. package/ai/kit/anti-pattern/svelte/AP_SK_GLOBAL_FETCH_IN_LOAD.xml +6 -0
  240. package/ai/kit/anti-pattern/svelte/AP_SK_PAGE_OPTIONS_GLOBALIZED.xml +6 -0
  241. package/ai/kit/anti-pattern/svelte/AP_SK_PRIVATE_ENV_IN_CLIENT.xml +6 -0
  242. package/ai/kit/anti-pattern/svelte/AP_SK_THROW_INSTEAD_OF_FAIL.xml +6 -0
  243. package/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_DIRECT_QUERYSELECTOR.xml +6 -0
  244. package/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_NO_CLEANUP.xml +6 -0
  245. package/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_NO_EFFECT_ROOT.xml +6 -0
  246. package/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_NO_FLUSH.xml +6 -0
  247. package/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_PLAIN_TS_EXTENSION.xml +6 -0
  248. package/ai/kit/anti-pattern/svelte/ap-derived-with-side-effect.xml +6 -0
  249. package/ai/kit/anti-pattern/svelte/ap-effect-without-teardown.xml +6 -0
  250. package/ai/kit/anti-pattern/svelte/ap-export-let-legacy.xml +6 -0
  251. package/ai/kit/anti-pattern/svelte/ap-on-event-directive.xml +6 -0
  252. package/ai/kit/anti-pattern/svelte/ap-reactive-dollar-colon.xml +6 -0
  253. package/ai/kit/anti-pattern/svelte/ap-runes-in-plain-ts.xml +6 -0
  254. package/ai/kit/anti-pattern/svelte/ap-sk-component-fetch-for-initial-data.xml +6 -0
  255. package/ai/kit/anti-pattern/svelte/ap-sk-global-fetch-in-load.xml +6 -0
  256. package/ai/kit/anti-pattern/svelte/ap-sk-page-options-globalized.xml +6 -0
  257. package/ai/kit/anti-pattern/svelte/ap-sk-private-env-in-client.xml +6 -0
  258. package/ai/kit/anti-pattern/svelte/ap-sk-throw-instead-of-fail.xml +6 -0
  259. package/ai/kit/anti-pattern/svelte/ap-svelte-test-direct-queryselector.xml +6 -0
  260. package/ai/kit/anti-pattern/svelte/ap-svelte-test-no-cleanup.xml +6 -0
  261. package/ai/kit/anti-pattern/svelte/ap-svelte-test-no-effect-root.xml +6 -0
  262. package/ai/kit/anti-pattern/svelte/ap-svelte-test-no-flush.xml +6 -0
  263. package/ai/kit/anti-pattern/svelte/ap-svelte-test-plain-ts-extension.xml +6 -0
  264. package/ai/kit/anti-pattern/testing/AP_ATOMIC_NOISE_ANCHORS.xml +20 -0
  265. package/ai/kit/anti-pattern/testing/AP_BEFORE_EACH_LET_PILEUP.xml +6 -0
  266. package/ai/kit/anti-pattern/testing/AP_CONTAINS_ON_ERROR_AND_PRIVATE_INSPECTION.xml +6 -0
  267. package/ai/kit/anti-pattern/testing/AP_DUPLICATE_BDD_GROUP.xml +6 -0
  268. package/ai/kit/anti-pattern/testing/AP_LEAKED_LIFECYCLE_AND_GLOBAL_RELIANCE.xml +6 -0
  269. package/ai/kit/anti-pattern/testing/AP_PARALLEL_FACTORIES.xml +6 -0
  270. package/ai/kit/anti-pattern/testing/AP_PRIVATE_INSPECTION.xml +6 -0
  271. package/ai/kit/anti-pattern/testing/AP_SHARED_MUTABLE_STATE_AND_NON_ENGLISH_NARRATION.xml +6 -0
  272. package/ai/kit/anti-pattern/testing/AP_SKIP_INSTEAD_OF_FIX.xml +6 -0
  273. package/ai/kit/anti-pattern/testing/AP_SNAPSHOT_FOR_SCALAR.xml +6 -0
  274. package/ai/kit/anti-pattern/testing/AP_TRY_CATCH_FLAG_ANTIPATTERN.xml +6 -0
  275. package/ai/kit/anti-pattern/testing/AP_UNJUSTIFIED_VI_MOCK.xml +6 -0
  276. package/ai/kit/anti-pattern/testing/ap-atomic-noise-anchors.xml +20 -0
  277. package/ai/kit/anti-pattern/testing/ap-before-each-let-pileup.xml +6 -0
  278. package/ai/kit/anti-pattern/testing/ap-contains-on-error-and-private-inspection.xml +6 -0
  279. package/ai/kit/anti-pattern/testing/ap-duplicate-bdd-group.xml +6 -0
  280. package/ai/kit/anti-pattern/testing/ap-leaked-lifecycle-and-global-reliance.xml +6 -0
  281. package/ai/kit/anti-pattern/testing/ap-parallel-factories.xml +6 -0
  282. package/ai/kit/anti-pattern/testing/ap-private-inspection.xml +6 -0
  283. package/ai/kit/anti-pattern/testing/ap-shared-mutable-state-and-non-english-narration.xml +6 -0
  284. package/ai/kit/anti-pattern/testing/ap-skip-instead-of-fix.xml +6 -0
  285. package/ai/kit/anti-pattern/testing/ap-snapshot-for-scalar.xml +6 -0
  286. package/ai/kit/anti-pattern/testing/ap-try-catch-flag-antipattern.xml +6 -0
  287. package/ai/kit/anti-pattern/testing/ap-unjustified-vi-mock.xml +6 -0
  288. package/ai/kit/anti-pattern/uikit/AP_DROPPED_VARIANTS.xml +6 -0
  289. package/ai/kit/anti-pattern/uikit/AP_FABRICATED_MEASUREMENTS.xml +6 -0
  290. package/ai/kit/anti-pattern/uikit/AP_HARDCODED_PIXELS.xml +6 -0
  291. package/ai/kit/anti-pattern/uikit/AP_HOST_SELECTOR.xml +6 -0
  292. package/ai/kit/anti-pattern/uikit/AP_IMG_TAG_ICON.xml +6 -0
  293. package/ai/kit/anti-pattern/uikit/AP_MISSING_A11Y_AUDIT.xml +6 -0
  294. package/ai/kit/anti-pattern/uikit/AP_MISSING_ARIA.xml +6 -0
  295. package/ai/kit/anti-pattern/uikit/AP_MISSING_DATA_STATE.xml +6 -0
  296. package/ai/kit/anti-pattern/uikit/AP_OVERRIDE_WITHOUT_COMMENT.xml +6 -0
  297. package/ai/kit/anti-pattern/uikit/AP_PASCAL_CASE_FILENAME.xml +6 -0
  298. package/ai/kit/anti-pattern/uikit/AP_SILENT_MISSING_TOKEN.xml +6 -0
  299. package/ai/kit/anti-pattern/uikit/ap-dropped-variants.xml +6 -0
  300. package/ai/kit/anti-pattern/uikit/ap-fabricated-measurements.xml +6 -0
  301. package/ai/kit/anti-pattern/uikit/ap-hardcoded-pixels.xml +6 -0
  302. package/ai/kit/anti-pattern/uikit/ap-host-selector.xml +6 -0
  303. package/ai/kit/anti-pattern/uikit/ap-img-tag-icon.xml +6 -0
  304. package/ai/kit/anti-pattern/uikit/ap-missing-a11y-audit.xml +6 -0
  305. package/ai/kit/anti-pattern/uikit/ap-missing-aria.xml +6 -0
  306. package/ai/kit/anti-pattern/uikit/ap-missing-data-state.xml +6 -0
  307. package/ai/kit/anti-pattern/uikit/ap-override-without-comment.xml +6 -0
  308. package/ai/kit/anti-pattern/uikit/ap-pascal-case-filename.xml +6 -0
  309. package/ai/kit/anti-pattern/uikit/ap-silent-missing-token.xml +6 -0
  310. package/ai/kit/axiom/agent-inbox/ax-complexity-budget.xml +9 -0
  311. package/ai/kit/axiom/agent-inbox/ax-minimal-change-suspicion.xml +9 -0
  312. package/ai/kit/axiom/agent-inbox/ax-review-purpose.xml +10 -0
  313. package/ai/kit/axiom/agent-inbox/ax-simpler-alternative.xml +9 -0
  314. package/ai/kit/axiom/audit/ax-audit-modes.xml +6 -0
  315. package/ai/kit/axiom/audit/ax-audit-reads-code.xml +11 -0
  316. package/ai/kit/axiom/audit/ax-bdd-coverage-verification.xml +8 -0
  317. package/ai/kit/axiom/audit/ax-closed-world-primary-check.xml +4 -0
  318. package/ai/kit/axiom/audit/ax-completeness-check.xml +6 -0
  319. package/ai/kit/axiom/audit/ax-drift-taxonomy.xml +21 -0
  320. package/ai/kit/axiom/audit/ax-ephemeral-output.xml +8 -0
  321. package/ai/kit/axiom/audit/ax-execution-log-verification.xml +6 -0
  322. package/ai/kit/axiom/audit/ax-finding-routing.xml +22 -0
  323. package/ai/kit/axiom/audit/ax-findings-as-proposals.xml +7 -0
  324. package/ai/kit/axiom/audit/ax-git-diff-scan.xml +11 -0
  325. package/ai/kit/axiom/audit/ax-insight-backflow-capture.xml +10 -0
  326. package/ai/kit/axiom/audit/ax-learning-context.xml +2 -0
  327. package/ai/kit/axiom/audit/ax-mechanical-via-sdd-check.xml +9 -0
  328. package/ai/kit/axiom/audit/ax-neutral-findings.xml +4 -0
  329. package/ai/kit/axiom/audit/ax-no-auto-fix.xml +4 -0
  330. package/ai/kit/axiom/audit/ax-provenance-is-a-product.xml +2 -0
  331. package/ai/kit/axiom/audit/ax-reopen-rounds-in-ticket.xml +10 -0
  332. package/ai/kit/axiom/audit/ax-rules-cascade-verification.xml +17 -0
  333. package/ai/kit/axiom/audit/ax-rules-compliance-against-activated-rules.xml +22 -0
  334. package/ai/kit/axiom/audit/ax-runtime-backing-verification.xml +8 -0
  335. package/ai/kit/axiom/audit/ax-severity-tagging.xml +13 -0
  336. package/ai/kit/axiom/audit/ax-severity.xml +7 -0
  337. package/ai/kit/axiom/audit/ax-stale-after-pivot-verification.xml +12 -0
  338. package/ai/kit/axiom/audit/ax-task-id-integrity.xml +13 -0
  339. package/ai/kit/axiom/boundary/ax-bootstrap-narrow-read.xml +6 -0
  340. package/ai/kit/axiom/boundary/ax-closed-world-inventory.xml +4 -0
  341. package/ai/kit/axiom/boundary/ax-cross-scope-dependencies.xml +4 -0
  342. package/ai/kit/axiom/boundary/ax-entity-surface-completeness.xml +4 -0
  343. package/ai/kit/axiom/boundary/ax-guarded-result-boundary.xml +5 -0
  344. package/ai/kit/axiom/boundary/ax-isolation-signal.xml +2 -0
  345. package/ai/kit/axiom/boundary/ax-isolation-through-public-boundary.xml +4 -0
  346. package/ai/kit/axiom/boundary/ax-portal-read-only-with-placeholder-exception.xml +4 -0
  347. package/ai/kit/axiom/boundary/ax-reference-over-copy.xml +2 -0
  348. package/ai/kit/axiom/boundary/ax-result-public-boundary.xml +11 -0
  349. package/ai/kit/axiom/boundary/ax-scope-type-gate.xml +6 -0
  350. package/ai/kit/axiom/boundary/ax-semantic-location-over-lines.xml +2 -0
  351. package/ai/kit/axiom/boundary/ax-semantic-safety.xml +2 -0
  352. package/ai/kit/axiom/boundary/ax-spec-never-edited.xml +4 -0
  353. package/ai/kit/axiom/boundary/ax-ssot-traceability.xml +4 -0
  354. package/ai/kit/axiom/boundary/ax-ticket-write-scope.xml +9 -0
  355. package/ai/kit/axiom/coding/ax-ai-readability.xml +2 -0
  356. package/ai/kit/axiom/coding/ax-anchor-format.xml +6 -0
  357. package/ai/kit/axiom/coding/ax-comment-density.xml +4 -0
  358. package/ai/kit/axiom/coding/ax-comment-placement.xml +4 -0
  359. package/ai/kit/axiom/coding/ax-comment-vocabulary.xml +6 -0
  360. package/ai/kit/axiom/coding/ax-comments-add-nonsyntactic-intent.xml +4 -0
  361. package/ai/kit/axiom/coding/ax-configurable-names.xml +5 -0
  362. package/ai/kit/axiom/coding/ax-consumer-driven.xml +8 -0
  363. package/ai/kit/axiom/coding/ax-contractual-naming.xml +4 -0
  364. package/ai/kit/axiom/coding/ax-domain-prefix-for-external.xml +4 -0
  365. package/ai/kit/axiom/coding/ax-early-exit.xml +2 -0
  366. package/ai/kit/axiom/coding/ax-explicit-class-fields.xml +4 -0
  367. package/ai/kit/axiom/coding/ax-file-header-append-only.xml +10 -0
  368. package/ai/kit/axiom/coding/ax-file-header-task-traceability.xml +16 -0
  369. package/ai/kit/axiom/coding/ax-file-level-context.xml +13 -0
  370. package/ai/kit/axiom/coding/ax-import-canonical-form.xml +15 -0
  371. package/ai/kit/axiom/coding/ax-introduced-discipline.xml +4 -0
  372. package/ai/kit/axiom/coding/ax-modern-ts-density.xml +4 -0
  373. package/ai/kit/axiom/coding/ax-modularity-limits.xml +4 -0
  374. package/ai/kit/axiom/coding/ax-namespace-naming.xml +4 -0
  375. package/ai/kit/axiom/coding/ax-no-code-generation.xml +2 -0
  376. package/ai/kit/axiom/coding/ax-no-premature-abstractions.xml +4 -0
  377. package/ai/kit/axiom/coding/ax-no-silent-escape-hatch.xml +4 -0
  378. package/ai/kit/axiom/coding/ax-node-builtins-prefix.xml +10 -0
  379. package/ai/kit/axiom/coding/ax-principled-decomposition.xml +4 -0
  380. package/ai/kit/axiom/coding/ax-teleological-naming.xml +4 -0
  381. package/ai/kit/axiom/coding/ax-tools-as-hands.xml +12 -0
  382. package/ai/kit/axiom/coding/ax-verb-precision.xml +4 -0
  383. package/ai/kit/axiom/coding/ax-yagni-overengineering-guard.xml +4 -0
  384. package/ai/kit/axiom/critic/ax-comprehension-first.xml +2 -0
  385. package/ai/kit/axiom/critic/ax-confusion-bug.xml +2 -0
  386. package/ai/kit/axiom/critic/ax-critic-model-tier.xml +10 -0
  387. package/ai/kit/axiom/critic/ax-default-accept.xml +2 -0
  388. package/ai/kit/axiom/critic/ax-finding-addressee.xml +6 -0
  389. package/ai/kit/axiom/critic/ax-goal-owner-gate.xml +7 -0
  390. package/ai/kit/axiom/critic/ax-isolation.xml +2 -0
  391. package/ai/kit/axiom/critic/ax-polish-mode.xml +7 -0
  392. package/ai/kit/axiom/critic/ax-product-architect-lens.xml +13 -0
  393. package/ai/kit/axiom/critic/ax-read-only.xml +2 -0
  394. package/ai/kit/axiom/critic/ax-uncertainty-is-signal.xml +2 -0
  395. package/ai/kit/axiom/critic/ax-uncomfortable-questions.xml +12 -0
  396. package/ai/kit/axiom/e2e/ax-cli-ax-tree-as-primary-vision.xml +6 -0
  397. package/ai/kit/axiom/e2e/ax-cli-codegen-is-recorder-not-author.xml +4 -0
  398. package/ai/kit/axiom/e2e/ax-cli-dev-server-precondition.xml +4 -0
  399. package/ai/kit/axiom/e2e/ax-cli-explore-before-author.xml +6 -0
  400. package/ai/kit/axiom/e2e/ax-cli-explore-loop-has-four-steps.xml +10 -0
  401. package/ai/kit/axiom/e2e/ax-cli-headless-for-agent.xml +4 -0
  402. package/ai/kit/axiom/e2e/ax-cli-role-locators-from-ax-tree.xml +4 -0
  403. package/ai/kit/axiom/e2e/ax-cli-snapshot-update-gate.xml +6 -0
  404. package/ai/kit/axiom/e2e/ax-cli-trace-for-failure-diagnosis.xml +6 -0
  405. package/ai/kit/axiom/e2e/ax-cli-transition-to-authoring.xml +4 -0
  406. package/ai/kit/axiom/e2e/ax-e2e-auth-via-storage-state.xml +4 -0
  407. package/ai/kit/axiom/e2e/ax-e2e-ax-tree-as-contract.xml +4 -0
  408. package/ai/kit/axiom/e2e/ax-e2e-browser-coverage-pragmatic.xml +4 -0
  409. package/ai/kit/axiom/e2e/ax-e2e-file-layout.xml +4 -0
  410. package/ai/kit/axiom/e2e/ax-e2e-file-size-budget.xml +4 -0
  411. package/ai/kit/axiom/e2e/ax-e2e-fixture-based-pom.xml +6 -0
  412. package/ai/kit/axiom/e2e/ax-e2e-headless-always.xml +4 -0
  413. package/ai/kit/axiom/e2e/ax-e2e-network-mock-at-route.xml +6 -0
  414. package/ai/kit/axiom/e2e/ax-e2e-role-locators-only.xml +4 -0
  415. package/ai/kit/axiom/e2e/ax-e2e-self-verification-loop.xml +4 -0
  416. package/ai/kit/axiom/e2e/ax-e2e-snapshot-partial-by-default.xml +4 -0
  417. package/ai/kit/axiom/e2e/ax-e2e-structure-ax-first.xml +10 -0
  418. package/ai/kit/axiom/e2e/ax-e2e-visual-regression-gated.xml +4 -0
  419. package/ai/kit/axiom/error/ax-catch-log-recover.xml +10 -0
  420. package/ai/kit/axiom/error/ax-error-chaining-cause.xml +4 -0
  421. package/ai/kit/axiom/error/ax-error-via-class.xml +4 -0
  422. package/ai/kit/axiom/error/ax-fail-fast-validation.xml +4 -0
  423. package/ai/kit/axiom/error/ax-focused-error-assertions.xml +4 -0
  424. package/ai/kit/axiom/error/ax-mandatory-try-catch-in-business-logic.xml +4 -0
  425. package/ai/kit/axiom/error/ax-markup-safety.xml +2 -0
  426. package/ai/kit/axiom/error/ax-minimal-error-surface.xml +4 -0
  427. package/ai/kit/axiom/error/ax-must-extractor.xml +4 -0
  428. package/ai/kit/axiom/error/ax-no-bare-throw-unknown.xml +6 -0
  429. package/ai/kit/axiom/error/ax-no-result-iserr-short-circuit.xml +5 -0
  430. package/ai/kit/axiom/error/ax-no-result-object-literal.xml +6 -0
  431. package/ai/kit/axiom/error/ax-no-result-ok-short-circuit.xml +6 -0
  432. package/ai/kit/axiom/error/ax-no-result-second-generic.xml +6 -0
  433. package/ai/kit/axiom/error/ax-result-unwrap-on-success-paths.xml +4 -0
  434. package/ai/kit/axiom/error/ax-trace-prefixed-errors.xml +4 -0
  435. package/ai/kit/axiom/infra/ax-ai-first-scripts-one-shot.xml +27 -0
  436. package/ai/kit/axiom/infra/ax-autofix-preferred.xml +12 -0
  437. package/ai/kit/axiom/infra/ax-binary-severity.xml +10 -0
  438. package/ai/kit/axiom/infra/ax-branch-strategy.xml +16 -0
  439. package/ai/kit/axiom/infra/ax-commit-convention.xml +18 -0
  440. package/ai/kit/axiom/infra/ax-config-auditable-by-agent.xml +10 -0
  441. package/ai/kit/axiom/infra/ax-custom-plugins-obey-meta-policy.xml +9 -0
  442. package/ai/kit/axiom/infra/ax-dependency-addition-checklist.xml +9 -0
  443. package/ai/kit/axiom/infra/ax-exact-pinning-for-tooling.xml +10 -0
  444. package/ai/kit/axiom/infra/ax-flat-config.xml +6 -0
  445. package/ai/kit/axiom/infra/ax-gitignore-baseline.xml +22 -0
  446. package/ai/kit/axiom/infra/ax-history-policy.xml +16 -0
  447. package/ai/kit/axiom/infra/ax-hooks-integration.xml +4 -0
  448. package/ai/kit/axiom/infra/ax-infra-base-bootstrap.xml +6 -0
  449. package/ai/kit/axiom/infra/ax-infrastructure-flow.xml +16 -0
  450. package/ai/kit/axiom/infra/ax-lfs-submodules.xml +8 -0
  451. package/ai/kit/axiom/infra/ax-lint-run-is-mechanical.xml +8 -0
  452. package/ai/kit/axiom/infra/ax-lock-file-discipline.xml +10 -0
  453. package/ai/kit/axiom/infra/ax-module-system-explicit.xml +4 -0
  454. package/ai/kit/axiom/infra/ax-no-disable-comments-by-agent.xml +16 -0
  455. package/ai/kit/axiom/infra/ax-non-autofix-prefer-delegation.xml +17 -0
  456. package/ai/kit/axiom/infra/ax-npm-agent-sandbox-registry.xml +28 -0
  457. package/ai/kit/axiom/infra/ax-presets-passed-through-the-gate.xml +8 -0
  458. package/ai/kit/axiom/infra/ax-prettier-owns-formatting.xml +12 -0
  459. package/ai/kit/axiom/infra/ax-project-layout.xml +11 -0
  460. package/ai/kit/axiom/infra/ax-rule-change-requires-operator-confirm.xml +13 -0
  461. package/ai/kit/axiom/infra/ax-secrets-discipline.xml +17 -0
  462. package/ai/kit/axiom/infra/ax-single-package-manager.xml +6 -0
  463. package/ai/kit/axiom/infra/ax-tag-release.xml +17 -0
  464. package/ai/kit/axiom/infra/ax-third-party-tool-current-api.xml +8 -0
  465. package/ai/kit/axiom/infra/ax-type-aware-prefer-ts.xml +10 -0
  466. package/ai/kit/axiom/interview/ax-amplification-opt-in.xml +8 -0
  467. package/ai/kit/axiom/interview/ax-coverage-map-closure.xml +9 -0
  468. package/ai/kit/axiom/interview/ax-defaults-first.xml +9 -0
  469. package/ai/kit/axiom/logging/ax-alerts-on-symptoms.xml +7 -0
  470. package/ai/kit/axiom/logging/ax-log-density.xml +4 -0
  471. package/ai/kit/axiom/logging/ax-log-message-format.xml +6 -0
  472. package/ai/kit/axiom/logging/ax-log-message-purity.xml +4 -0
  473. package/ai/kit/axiom/logging/ax-log-performance-metrics.xml +4 -0
  474. package/ai/kit/axiom/logging/ax-stdout-first-transport.xml +2 -0
  475. package/ai/kit/axiom/logging/ax-structured-logging.xml +6 -0
  476. package/ai/kit/axiom/perf/ax-allocation-is-enemy.xml +2 -0
  477. package/ai/kit/axiom/perf/ax-backpressure-is-law.xml +2 -0
  478. package/ai/kit/axiom/perf/ax-big-o-matters.xml +2 -0
  479. package/ai/kit/axiom/perf/ax-budgets-are-numbers.xml +8 -0
  480. package/ai/kit/axiom/perf/ax-concurrency-limits.xml +2 -0
  481. package/ai/kit/axiom/perf/ax-engine-optimizations.xml +2 -0
  482. package/ai/kit/axiom/perf/ax-gc-pressure.xml +2 -0
  483. package/ai/kit/axiom/perf/ax-hoisting-safety.xml +2 -0
  484. package/ai/kit/axiom/perf/ax-latency-stacking.xml +2 -0
  485. package/ai/kit/axiom/perf/ax-one-time-cost.xml +2 -0
  486. package/ai/kit/axiom/perf/ax-retained-memory.xml +2 -0
  487. package/ai/kit/axiom/perf/ax-target-hardware.xml +2 -0
  488. package/ai/kit/axiom/process/ax-amplify-defaults-first.xml +11 -0
  489. package/ai/kit/axiom/process/ax-artifact-style-self-check.xml +9 -0
  490. package/ai/kit/axiom/process/ax-audit-hook.xml +3 -0
  491. package/ai/kit/axiom/process/ax-blocker-escalation.xml +12 -0
  492. package/ai/kit/axiom/process/ax-blocker-resolution-trail.xml +9 -0
  493. package/ai/kit/axiom/process/ax-cap-5.xml +1 -0
  494. package/ai/kit/axiom/process/ax-close-with-integrity-check.xml +4 -0
  495. package/ai/kit/axiom/process/ax-coverage-report-blocker-explicit.xml +4 -0
  496. package/ai/kit/axiom/process/ax-cross-scope-change.xml +10 -0
  497. package/ai/kit/axiom/process/ax-dialogue-discipline.xml +12 -0
  498. package/ai/kit/axiom/process/ax-dispatch-via-batch.xml +8 -0
  499. package/ai/kit/axiom/process/ax-diverge-before-recommend.xml +18 -0
  500. package/ai/kit/axiom/process/ax-env-fix-channel.xml +23 -0
  501. package/ai/kit/axiom/process/ax-execution-log-plan-vs-fact.xml +18 -0
  502. package/ai/kit/axiom/process/ax-execution-order.xml +5 -0
  503. package/ai/kit/axiom/process/ax-fix-classification.xml +7 -0
  504. package/ai/kit/axiom/process/ax-grouping-reduces-noise.xml +2 -0
  505. package/ai/kit/axiom/process/ax-halt-vs-fail-distinction.xml +10 -0
  506. package/ai/kit/axiom/process/ax-handoff-typed.xml +3 -0
  507. package/ai/kit/axiom/process/ax-live-log.xml +3 -0
  508. package/ai/kit/axiom/process/ax-narrow-recon.xml +9 -0
  509. package/ai/kit/axiom/process/ax-no-focused-or-skipped-tests-on-merge.xml +4 -0
  510. package/ai/kit/axiom/process/ax-no-process-narration.xml +7 -0
  511. package/ai/kit/axiom/process/ax-operator-agreement.xml +6 -0
  512. package/ai/kit/axiom/process/ax-operator-dialogue-style.xml +42 -0
  513. package/ai/kit/axiom/process/ax-operator-language.xml +15 -0
  514. package/ai/kit/axiom/process/ax-operator-output-live-text.xml +7 -0
  515. package/ai/kit/axiom/process/ax-operator-safeguard.xml +10 -0
  516. package/ai/kit/axiom/process/ax-owner.xml +1 -0
  517. package/ai/kit/axiom/process/ax-permitted-bash-commands.xml +31 -0
  518. package/ai/kit/axiom/process/ax-phase-scope-lock.xml +3 -0
  519. package/ai/kit/axiom/process/ax-preflight-blast-radius-scoped.xml +10 -0
  520. package/ai/kit/axiom/process/ax-problem-probes-spec.xml +14 -0
  521. package/ai/kit/axiom/process/ax-progressive-disclosure.xml +8 -0
  522. package/ai/kit/axiom/process/ax-q-ids.xml +3 -0
  523. package/ai/kit/axiom/process/ax-re-dispatch.xml +1 -0
  524. package/ai/kit/axiom/process/ax-read-per-manifest.xml +11 -0
  525. package/ai/kit/axiom/process/ax-rejection-reason.xml +1 -0
  526. package/ai/kit/axiom/process/ax-reopen-format.xml +15 -0
  527. package/ai/kit/axiom/process/ax-scale-proportional-depth.xml +8 -0
  528. package/ai/kit/axiom/process/ax-scratch-log.xml +1 -0
  529. package/ai/kit/axiom/process/ax-step-by-step-approval.xml +13 -0
  530. package/ai/kit/axiom/process/ax-stop-no-edits.xml +1 -0
  531. package/ai/kit/axiom/process/ax-surgical.xml +1 -0
  532. package/ai/kit/axiom/process/ax-task-id-uniqueness.xml +11 -0
  533. package/ai/kit/axiom/process/ax-task-parallel.xml +1 -0
  534. package/ai/kit/axiom/process/ax-task-resolution.xml +10 -0
  535. package/ai/kit/axiom/process/ax-ticket-section-names-normative.xml +3 -0
  536. package/ai/kit/axiom/process/ax-tool-invocation.xml +12 -0
  537. package/ai/kit/axiom/process/ax-verification-before-handoff.xml +19 -0
  538. package/ai/kit/axiom/process/ax-verify-and-finalize.xml +4 -0
  539. package/ai/kit/axiom/process/ax-verify-at-end.xml +4 -0
  540. package/ai/kit/axiom/scaffold/ax-append-only-module-add.xml +9 -0
  541. package/ai/kit/axiom/scaffold/ax-bootstrap-ticket-derivation.xml +9 -0
  542. package/ai/kit/axiom/scaffold/ax-cross-scope-task-placement.xml +4 -0
  543. package/ai/kit/axiom/scaffold/ax-dag-and-ticket-boundaries.xml +16 -0
  544. package/ai/kit/axiom/scaffold/ax-directive-mode.xml +6 -0
  545. package/ai/kit/axiom/scaffold/ax-extend-dag-preserves-existing-ids.xml +11 -0
  546. package/ai/kit/axiom/scaffold/ax-handoff-to-task-scaffolding.xml +6 -0
  547. package/ai/kit/axiom/scaffold/ax-idempotent-modes.xml +8 -0
  548. package/ai/kit/axiom/scaffold/ax-mode-auto-detect-or-halt.xml +6 -0
  549. package/ai/kit/axiom/scaffold/ax-phases-declared-in-header.xml +20 -0
  550. package/ai/kit/axiom/scaffold/ax-rule-activation-plan.xml +7 -0
  551. package/ai/kit/axiom/scaffold/ax-rule-activation.xml +8 -0
  552. package/ai/kit/axiom/scaffold/ax-rules-cascade-resolution.xml +15 -0
  553. package/ai/kit/axiom/scaffold/ax-rules-load-from-phase-block.xml +16 -0
  554. package/ai/kit/axiom/scaffold/ax-rules-resolution-hard-fail.xml +4 -0
  555. package/ai/kit/axiom/scaffold/ax-scope-rules-declaration.xml +15 -0
  556. package/ai/kit/axiom/scaffold/ax-stack-based-flow.xml +6 -0
  557. package/ai/kit/axiom/scaffold/ax-task-dimensions.xml +10 -0
  558. package/ai/kit/axiom/scaffold/ax-ticket-deduplication.xml +4 -0
  559. package/ai/kit/axiom/scaffold/ax-ticket-has-bdd-and-tests.xml +12 -0
  560. package/ai/kit/axiom/spec/ax-access-patterns-drive-schema.xml +7 -0
  561. package/ai/kit/axiom/spec/ax-context-to-contract.xml +4 -0
  562. package/ai/kit/axiom/spec/ax-contracts-textual-agnostic.xml +11 -0
  563. package/ai/kit/axiom/spec/ax-data-lifecycle-explicit.xml +7 -0
  564. package/ai/kit/axiom/spec/ax-decision-log-required.xml +7 -0
  565. package/ai/kit/axiom/spec/ax-draft-ready-for-review.xml +8 -0
  566. package/ai/kit/axiom/spec/ax-dx-first.xml +12 -0
  567. package/ai/kit/axiom/spec/ax-exact-scope.xml +4 -0
  568. package/ai/kit/axiom/spec/ax-external-input-untrusted.xml +7 -0
  569. package/ai/kit/axiom/spec/ax-handoff-to-module-decomposition.xml +4 -0
  570. package/ai/kit/axiom/spec/ax-hierarchical-specs.xml +8 -0
  571. package/ai/kit/axiom/spec/ax-interface-flow.xml +7 -0
  572. package/ai/kit/axiom/spec/ax-living-spec.xml +6 -0
  573. package/ai/kit/axiom/spec/ax-module-boundary-by-operator.xml +4 -0
  574. package/ai/kit/axiom/spec/ax-no-data-loss.xml +10 -0
  575. package/ai/kit/axiom/spec/ax-no-silent-option-drop.xml +4 -0
  576. package/ai/kit/axiom/spec/ax-pivot-requires-supersession.xml +6 -0
  577. package/ai/kit/axiom/spec/ax-portal-primary-owner.xml +10 -0
  578. package/ai/kit/axiom/spec/ax-ports-and-abstractions-discipline.xml +7 -0
  579. package/ai/kit/axiom/spec/ax-product-library-flow.xml +15 -0
  580. package/ai/kit/axiom/spec/ax-refine-module-preserves-contracts.xml +12 -0
  581. package/ai/kit/axiom/spec/ax-runtime-backing-explicit.xml +9 -0
  582. package/ai/kit/axiom/spec/ax-runtime-backing-in-contracts.xml +9 -0
  583. package/ai/kit/axiom/spec/ax-scope-graph-detection.xml +19 -0
  584. package/ai/kit/axiom/spec/ax-scope-graph-discipline.xml +8 -0
  585. package/ai/kit/axiom/spec/ax-scope-spec-module-map-ownership.xml +17 -0
  586. package/ai/kit/axiom/spec/ax-scope-stays-thin.xml +14 -0
  587. package/ai/kit/axiom/spec/ax-scope-table-format.xml +7 -0
  588. package/ai/kit/axiom/spec/ax-scope-type-branch.xml +13 -0
  589. package/ai/kit/axiom/spec/ax-spec-dimensions.xml +14 -0
  590. package/ai/kit/axiom/spec/ax-spec-lifecycle.xml +10 -0
  591. package/ai/kit/axiom/spec/ax-spec-structure.xml +13 -0
  592. package/ai/kit/axiom/spec/ax-stateless-artifact.xml +6 -0
  593. package/ai/kit/axiom/spec/ax-vision-only-for-application.xml +4 -0
  594. package/ai/kit/axiom/storybook/ax-ai-generated-tag.xml +13 -0
  595. package/ai/kit/axiom/storybook/ax-compose-from-base-story.xml +13 -0
  596. package/ai/kit/axiom/storybook/ax-hierarchy-mirrors-spec.xml +25 -0
  597. package/ai/kit/axiom/storybook/ax-one-story-per-variant.xml +18 -0
  598. package/ai/kit/axiom/storybook/ax-play-function-required.xml +27 -0
  599. package/ai/kit/axiom/storybook/ax-sb-agents-md-updated-as-part-of-setup.xml +4 -0
  600. package/ai/kit/axiom/storybook/ax-sb-browser-prereq-handled.xml +4 -0
  601. package/ai/kit/axiom/storybook/ax-sb-follow-generated-guide.xml +4 -0
  602. package/ai/kit/axiom/storybook/ax-sb-init-via-official-installer.xml +6 -0
  603. package/ai/kit/axiom/storybook/ax-sb-mcp-is-mandatory.xml +6 -0
  604. package/ai/kit/axiom/storybook/ax-sb-no-parallel-test-harnesses.xml +4 -0
  605. package/ai/kit/axiom/storybook/ax-sb-use-ai-generated-tag.xml +4 -0
  606. package/ai/kit/axiom/storybook/ax-sb-use-component-change-triggers-story-run.xml +4 -0
  607. package/ai/kit/axiom/storybook/ax-sb-use-compose-existing-first.xml +4 -0
  608. package/ai/kit/axiom/storybook/ax-sb-use-mcp-first.xml +4 -0
  609. package/ai/kit/axiom/storybook/ax-sb-use-never-hallucinate-props.xml +4 -0
  610. package/ai/kit/axiom/storybook/ax-sb-use-no-parallel-render-harness.xml +4 -0
  611. package/ai/kit/axiom/storybook/ax-sb-use-one-story-one-concept.xml +4 -0
  612. package/ai/kit/axiom/storybook/ax-sb-use-play-for-interaction.xml +4 -0
  613. package/ai/kit/axiom/storybook/ax-sb-use-self-verify-before-handoff.xml +6 -0
  614. package/ai/kit/axiom/storybook/ax-sb-verify-before-handoff.xml +9 -0
  615. package/ai/kit/axiom/storybook/ax-storybook-title-from-spec.xml +10 -0
  616. package/ai/kit/axiom/svelte/ax-bindable-for-two-way.xml +4 -0
  617. package/ai/kit/axiom/svelte/ax-component-structure-fixed.xml +4 -0
  618. package/ai/kit/axiom/svelte/ax-derived-is-pure.xml +4 -0
  619. package/ai/kit/axiom/svelte/ax-effect-ownership-and-cleanup.xml +6 -0
  620. package/ai/kit/axiom/svelte/ax-event-handlers-as-attributes.xml +6 -0
  621. package/ai/kit/axiom/svelte/ax-inspect-is-dev-only.xml +4 -0
  622. package/ai/kit/axiom/svelte/ax-legacy-patterns-forbidden.xml +4 -0
  623. package/ai/kit/axiom/svelte/ax-local-runes-over-stores-for-local-state.xml +6 -0
  624. package/ai/kit/axiom/svelte/ax-props-via-destructuring.xml +6 -0
  625. package/ai/kit/axiom/svelte/ax-runes-are-compiler-keywords.xml +6 -0
  626. package/ai/kit/axiom/svelte/ax-runes-location-restriction.xml +6 -0
  627. package/ai/kit/axiom/svelte/ax-sk-adapter-chosen-not-defaulted.xml +4 -0
  628. package/ai/kit/axiom/svelte/ax-sk-data-via-load.xml +6 -0
  629. package/ai/kit/axiom/svelte/ax-sk-fetch-from-load-uses-sdk-fetch.xml +4 -0
  630. package/ai/kit/axiom/svelte/ax-sk-hooks-own-cross-cutting.xml +6 -0
  631. package/ai/kit/axiom/svelte/ax-sk-mutations-via-actions.xml +6 -0
  632. package/ai/kit/axiom/svelte/ax-sk-page-options-per-route.xml +6 -0
  633. package/ai/kit/axiom/svelte/ax-sk-project-layout.xml +4 -0
  634. package/ai/kit/axiom/svelte/ax-sk-routing-is-file-based.xml +6 -0
  635. package/ai/kit/axiom/svelte/ax-sk-server-client-boundary.xml +8 -0
  636. package/ai/kit/axiom/svelte/ax-sk-types-from-generated.xml +4 -0
  637. package/ai/kit/axiom/svelte/ax-sk-validation-at-action-boundary.xml +4 -0
  638. package/ai/kit/axiom/svelte/ax-snippets-replace-slots.xml +4 -0
  639. package/ai/kit/axiom/svelte/ax-svelte-conventions.xml +10 -0
  640. package/ai/kit/axiom/svelte/ax-svelte-test-effect-root-outside-component.xml +6 -0
  641. package/ai/kit/axiom/svelte/ax-svelte-test-file-extension.xml +4 -0
  642. package/ai/kit/axiom/svelte/ax-svelte-test-flush-before-assert.xml +6 -0
  643. package/ai/kit/axiom/svelte/ax-svelte-test-inherited-vitest-rules.xml +4 -0
  644. package/ai/kit/axiom/svelte/ax-svelte-test-jsdom-environment.xml +4 -0
  645. package/ai/kit/axiom/svelte/ax-svelte-test-library-for-rendering.xml +6 -0
  646. package/ai/kit/axiom/svelte/ax-svelte-test-mount-and-cleanup.xml +8 -0
  647. package/ai/kit/axiom/svelte/ax-svelte-test-no-direct-dom-query.xml +4 -0
  648. package/ai/kit/axiom/svelte/ax-svelte-test-prefer-story-tests-when-available.xml +4 -0
  649. package/ai/kit/axiom/svelte/ax-svelte-test-role-queries-preferred.xml +4 -0
  650. package/ai/kit/axiom/testing/ax-anchor-coverage-nontrivial.xml +4 -0
  651. package/ai/kit/axiom/testing/ax-anchor-intentful-names.xml +4 -0
  652. package/ai/kit/axiom/testing/ax-anchor-trivial-exception.xml +4 -0
  653. package/ai/kit/axiom/testing/ax-assert-api-choice.xml +13 -0
  654. package/ai/kit/axiom/testing/ax-bdd-generation.xml +19 -0
  655. package/ai/kit/axiom/testing/ax-bdd-name-discipline.xml +4 -0
  656. package/ai/kit/axiom/testing/ax-case-flow.xml +6 -0
  657. package/ai/kit/axiom/testing/ax-contract-over-implementation.xml +10 -0
  658. package/ai/kit/axiom/testing/ax-coverage-by-contract-not-by-line.xml +9 -0
  659. package/ai/kit/axiom/testing/ax-default-direct-assertion-protocol.xml +6 -0
  660. package/ai/kit/axiom/testing/ax-explicit-vitest-imports.xml +4 -0
  661. package/ai/kit/axiom/testing/ax-file-name-and-default-shape.xml +4 -0
  662. package/ai/kit/axiom/testing/ax-fixture-io-policy.xml +4 -0
  663. package/ai/kit/axiom/testing/ax-hooks-only-for-lifecycle.xml +6 -0
  664. package/ai/kit/axiom/testing/ax-http-boundary-injection.xml +6 -0
  665. package/ai/kit/axiom/testing/ax-http-mock-agent-pattern.xml +9 -0
  666. package/ai/kit/axiom/testing/ax-it-opening-brief.xml +8 -0
  667. package/ai/kit/axiom/testing/ax-mock-as-last-resort.xml +11 -0
  668. package/ai/kit/axiom/testing/ax-mock-hygiene.xml +12 -0
  669. package/ai/kit/axiom/testing/ax-mock-requires-operator-confirm.xml +9 -0
  670. package/ai/kit/axiom/testing/ax-no-describe-let-pileup.xml +4 -0
  671. package/ai/kit/axiom/testing/ax-no-falsification-via-mocks.xml +4 -0
  672. package/ai/kit/axiom/testing/ax-one-test-one-scenario.xml +4 -0
  673. package/ai/kit/axiom/testing/ax-one-unified-context-per-file.xml +10 -0
  674. package/ai/kit/axiom/testing/ax-partial-string-via-match.xml +4 -0
  675. package/ai/kit/axiom/testing/ax-phase-anchors.xml +16 -0
  676. package/ai/kit/axiom/testing/ax-prefer-factory-over-hooks.xml +6 -0
  677. package/ai/kit/axiom/testing/ax-prefer-native-mock-fn.xml +9 -0
  678. package/ai/kit/axiom/testing/ax-prefer-vi-fn-for-interaction.xml +4 -0
  679. package/ai/kit/axiom/testing/ax-snapshot-file-location.xml +4 -0
  680. package/ai/kit/axiom/testing/ax-snapshot-usage-gate.xml +4 -0
  681. package/ai/kit/axiom/testing/ax-test-anchor-naming.xml +4 -0
  682. package/ai/kit/axiom/testing/ax-test-file-size-budget.xml +6 -0
  683. package/ai/kit/axiom/testing/ax-test-mandate.xml +10 -0
  684. package/ai/kit/axiom/testing/ax-tests-no-human-narration.xml +4 -0
  685. package/ai/kit/axiom/testing/ax-time-env-global-lifecycle.xml +9 -0
  686. package/ai/kit/axiom/testing/ax-vitest-assert-api-choice.xml +12 -0
  687. package/ai/kit/axiom/testing/ax-vitest-isolation-default.xml +4 -0
  688. package/ai/kit/axiom/testing/ax-vitest-run-not-watch.xml +16 -0
  689. package/ai/kit/axiom/truth/ax-autonomous-research.xml +2 -0
  690. package/ai/kit/axiom/truth/ax-evidence-hygiene.xml +9 -0
  691. package/ai/kit/axiom/truth/ax-freshness-guard.xml +2 -0
  692. package/ai/kit/axiom/truth/ax-live-source-only.xml +2 -0
  693. package/ai/kit/axiom/truth/ax-no-unverified-findings.xml +2 -0
  694. package/ai/kit/axiom/truth/ax-production-realism.xml +4 -0
  695. package/ai/kit/axiom/truth/ax-real-run-over-ping.xml +2 -0
  696. package/ai/kit/axiom/truth/ax-reuse-first.xml +2 -0
  697. package/ai/kit/axiom/truth/ax-spec-is-sole-source.xml +6 -0
  698. package/ai/kit/axiom/truth/ax-stale-must-be-rejected.xml +2 -0
  699. package/ai/kit/axiom/typescript/ax-base-contract-shape.xml +25 -0
  700. package/ai/kit/axiom/typescript/ax-consumers-tag-semantics.xml +4 -0
  701. package/ai/kit/axiom/typescript/ax-direct-implementation-protocol.xml +9 -0
  702. package/ai/kit/axiom/typescript/ax-english-only-names-and-comments.xml +4 -0
  703. package/ai/kit/axiom/typescript/ax-entity-specific-minimums.xml +11 -0
  704. package/ai/kit/axiom/typescript/ax-flat-jsdoc-for-properties.xml +6 -0
  705. package/ai/kit/axiom/typescript/ax-implementation-hiding-in-public.xml +4 -0
  706. package/ai/kit/axiom/typescript/ax-no-transpile-only-constructs.xml +6 -0
  707. package/ai/kit/axiom/typescript/ax-tag-usage-matrix.xml +15 -0
  708. package/ai/kit/axiom/typescript/ax-truthful-encapsulation.xml +6 -0
  709. package/ai/kit/axiom/typescript/ax-type-vs-interface-choice.xml +4 -0
  710. package/ai/kit/axiom/uikit/ax-a11y-audit-parameters.xml +14 -0
  711. package/ai/kit/axiom/uikit/ax-a11y-defaults.xml +12 -0
  712. package/ai/kit/axiom/uikit/ax-a11y-requirements.xml +18 -0
  713. package/ai/kit/axiom/uikit/ax-component-props-contract.xml +20 -0
  714. package/ai/kit/axiom/uikit/ax-css-module-selector-conventions.xml +10 -0
  715. package/ai/kit/axiom/uikit/ax-css-tokens-via-root.xml +12 -0
  716. package/ai/kit/axiom/uikit/ax-data-attrs-not-host.xml +16 -0
  717. package/ai/kit/axiom/uikit/ax-data-state-for-testability.xml +8 -0
  718. package/ai/kit/axiom/uikit/ax-element-structure-from-extraction.xml +13 -0
  719. package/ai/kit/axiom/uikit/ax-existing-components-check.xml +9 -0
  720. package/ai/kit/axiom/uikit/ax-extraction-input.xml +15 -0
  721. package/ai/kit/axiom/uikit/ax-file-structure-kebab-case.xml +13 -0
  722. package/ai/kit/axiom/uikit/ax-icon-svg-tight-viewbox.xml +6 -0
  723. package/ai/kit/axiom/uikit/ax-token-discipline.xml +9 -0
  724. package/ai/kit/axiom/uikit/ax-token-override-comment.xml +11 -0
  725. package/ai/kit/axiom/uikit/ax-token-section-generation.xml +13 -0
  726. package/ai/kit/axiom/uikit/ax-variant-grouping.xml +10 -0
  727. package/ai/kit/build-directives.ts +39 -0
  728. package/ai/kit/contract/audit/audit-session-summary-format.xml +38 -0
  729. package/ai/kit/contract/audit/finding-format.xml +20 -0
  730. package/ai/kit/contract/audit/ticket-audit-round-format.xml +38 -0
  731. package/ai/kit/contract/critic/oc-structured.xml +2 -0
  732. package/ai/kit/contract/interview/coverage-map-format.xml +12 -0
  733. package/ai/kit/contract/process/blocker-format.xml +9 -0
  734. package/ai/kit/contract/process/breadcrumb-format.xml +8 -0
  735. package/ai/kit/contract/process/execute-summary-format.xml +11 -0
  736. package/ai/kit/contract/process/fix-summary-format.xml +23 -0
  737. package/ai/kit/contract/process/flow-diagram-when.xml +12 -0
  738. package/ai/kit/contract/process/halt-format.xml +6 -0
  739. package/ai/kit/contract/process/handoff-format.xml +13 -0
  740. package/ai/kit/contract/process/message-layout.xml +16 -0
  741. package/ai/kit/contract/process/orchestrator-progress-format.xml +10 -0
  742. package/ai/kit/contract/process/phase-block-format.xml +22 -0
  743. package/ai/kit/contract/process/phase-progress-format.xml +13 -0
  744. package/ai/kit/contract/process/plan-table-format.xml +7 -0
  745. package/ai/kit/contract/process/question-format.xml +27 -0
  746. package/ai/kit/contract/process/return-summary-format.xml +17 -0
  747. package/ai/kit/contract/process/round-close-format.xml +8 -0
  748. package/ai/kit/contract/process/session-file-format.xml +25 -0
  749. package/ai/kit/contract/process/side-dive-format.xml +7 -0
  750. package/ai/kit/contract/process/trace-header-format.xml +11 -0
  751. package/ai/kit/contract/process/understanding-block-format.xml +12 -0
  752. package/ai/kit/contract/scaffold/module-tasks-index.xml +9 -0
  753. package/ai/kit/contract/scaffold/project-tasks-index.xml +10 -0
  754. package/ai/kit/contract/scaffold/scope-tasks-index.xml +11 -0
  755. package/ai/kit/contract/scaffold/task-ticket-structure.xml +19 -0
  756. package/ai/kit/contract/spec/change-manifest-format.xml +31 -0
  757. package/ai/kit/contract/spec/dbc-adapter-format.xml +22 -0
  758. package/ai/kit/contract/spec/dbc-port-format.xml +38 -0
  759. package/ai/kit/contract/spec/decision-log-entry-format.xml +12 -0
  760. package/ai/kit/contract/spec/entity-inventory-format.xml +18 -0
  761. package/ai/kit/contract/spec/entity-surface-format.xml +25 -0
  762. package/ai/kit/contract/spec/infra-base-minimal-spec.xml +23 -0
  763. package/ai/kit/contract/spec/infrastructure-spec-structure.xml +8 -0
  764. package/ai/kit/contract/spec/interface-spec-structure.xml +6 -0
  765. package/ai/kit/contract/spec/library-spec-structure.xml +6 -0
  766. package/ai/kit/contract/spec/module-spec-markdown-structure.xml +10 -0
  767. package/ai/kit/contract/spec/nfr-budgets-format.xml +22 -0
  768. package/ai/kit/contract/spec/pivot-invalidation-list-format.xml +9 -0
  769. package/ai/kit/contract/spec/portal-structure-contract.xml +6 -0
  770. package/ai/kit/contract/spec/product-spec-structure.xml +6 -0
  771. package/ai/kit/contract/spec/rework-decision-log-entry-format.xml +19 -0
  772. package/ai/kit/contract/spec/scope-spec-module-map-update.xml +34 -0
  773. package/ai/kit/contract/spec/security-section-format.xml +27 -0
  774. package/ai/kit/contract/uikit/spec-structure.xml +67 -0
  775. package/ai/kit/definition/e2e/def-cli-ax-snapshot.xml +4 -0
  776. package/ai/kit/definition/e2e/def-cli-trace.xml +4 -0
  777. package/ai/kit/definition/e2e/def-e2e-ax-contract.xml +4 -0
  778. package/ai/kit/definition/e2e/def-e2e-fixture-pom.xml +4 -0
  779. package/ai/kit/definition/infra/def-autofixable-rule.xml +4 -0
  780. package/ai/kit/definition/infra/def-cjs.xml +2 -0
  781. package/ai/kit/definition/infra/def-esm.xml +2 -0
  782. package/ai/kit/definition/infra/def-exact-pin.xml +2 -0
  783. package/ai/kit/definition/infra/def-lint-pipeline.xml +4 -0
  784. package/ai/kit/definition/infra/def-motivated-non-autofix-rule.xml +4 -0
  785. package/ai/kit/definition/infra/def-operator-disable.xml +4 -0
  786. package/ai/kit/definition/infra/def-reproducibility-triad.xml +2 -0
  787. package/ai/kit/definition/process/def-logic-switch.xml +12 -0
  788. package/ai/kit/definition/process/def-read-and-use-directive.xml +12 -0
  789. package/ai/kit/definition/storybook/def-play-contract.xml +4 -0
  790. package/ai/kit/definition/storybook/def-sb-mcp-server.xml +4 -0
  791. package/ai/kit/definition/storybook/def-sb-mcp-tools.xml +4 -0
  792. package/ai/kit/definition/storybook/def-sb-story-canonical-form.xml +4 -0
  793. package/ai/kit/definition/storybook/def-sb-test-addon.xml +4 -0
  794. package/ai/kit/definition/storybook/def-spec-mirror-hierarchy.xml +4 -0
  795. package/ai/kit/definition/svelte/def-flush-boundary.xml +4 -0
  796. package/ai/kit/definition/svelte/def-form-action.xml +4 -0
  797. package/ai/kit/definition/svelte/def-runes-file.xml +4 -0
  798. package/ai/kit/definition/svelte/def-server-load.xml +4 -0
  799. package/ai/kit/definition/svelte/def-svelte-rune.xml +4 -0
  800. package/ai/kit/definition/svelte/def-svelte-test-file.xml +4 -0
  801. package/ai/kit/definition/svelte/def-universal-load.xml +4 -0
  802. package/ai/kit/definition/testing/def-injection-seam.xml +4 -0
  803. package/ai/kit/definition/testing/def-non-trivial-case.xml +4 -0
  804. package/ai/kit/definition/testing/def-phase-anchor-format.xml +4 -0
  805. package/ai/kit/definition/testing/def-test-payload-vocab.xml +4 -0
  806. package/ai/kit/definition/testing/def-unified-context.xml +4 -0
  807. package/ai/kit/definition/typescript/def-allowed-comment-payload.xml +4 -0
  808. package/ai/kit/definition/typescript/def-complexity-trigger.xml +4 -0
  809. package/ai/kit/definition/typescript/def-trace-prefix.xml +2 -0
  810. package/ai/kit/definition/uikit/def-component-artefact.xml +4 -0
  811. package/ai/kit/definition/uikit/def-data-attribute-selector.xml +4 -0
  812. package/ai/kit/definition/uikit/def-token-override.xml +4 -0
  813. package/ai/kit/demo/indent-check.ts +56 -0
  814. package/ai/kit/demo/render-demo.ts +26 -0
  815. package/ai/kit/demo/sdd-mini.hbs +11 -0
  816. package/ai/kit/hook/coding/hook-module-system-declared.xml +6 -0
  817. package/ai/kit/hook/e2e/HOOK_CLI_DEV_SERVER_REACHABLE.xml +6 -0
  818. package/ai/kit/hook/e2e/HOOK_CLI_NO_AUTO_UPDATE_SNAPSHOTS.xml +6 -0
  819. package/ai/kit/hook/e2e/HOOK_CLI_NO_HEADED_IN_AGENT_SCRIPTS.xml +6 -0
  820. package/ai/kit/hook/e2e/HOOK_CLI_PLAYWRIGHT_INSTALLED.xml +6 -0
  821. package/ai/kit/hook/e2e/HOOK_E2E_FILE_SIZE_BUDGET.xml +6 -0
  822. package/ai/kit/hook/e2e/HOOK_E2E_NO_CSS_LOCATORS.xml +6 -0
  823. package/ai/kit/hook/e2e/HOOK_E2E_NO_HEADED.xml +6 -0
  824. package/ai/kit/hook/e2e/HOOK_E2E_NO_ONLY_OR_SKIP.xml +6 -0
  825. package/ai/kit/hook/e2e/HOOK_E2E_RUN_CHROMIUM.xml +6 -0
  826. package/ai/kit/hook/e2e/hook-cli-dev-server-reachable.xml +6 -0
  827. package/ai/kit/hook/e2e/hook-cli-no-auto-update-snapshots.xml +6 -0
  828. package/ai/kit/hook/e2e/hook-cli-no-headed-in-agent-scripts.xml +6 -0
  829. package/ai/kit/hook/e2e/hook-cli-playwright-installed.xml +6 -0
  830. package/ai/kit/hook/e2e/hook-e2e-file-size-budget.xml +6 -0
  831. package/ai/kit/hook/e2e/hook-e2e-no-css-locators.xml +6 -0
  832. package/ai/kit/hook/e2e/hook-e2e-no-headed.xml +6 -0
  833. package/ai/kit/hook/e2e/hook-e2e-no-only-or-skip.xml +6 -0
  834. package/ai/kit/hook/e2e/hook-e2e-run-chromium.xml +6 -0
  835. package/ai/kit/hook/infra/HOOK_AUDIT_NEW_RULE.xml +6 -0
  836. package/ai/kit/hook/infra/HOOK_DEFAULT_BRANCH_MAIN.xml +6 -0
  837. package/ai/kit/hook/infra/HOOK_GITIGNORE_PRESENT.xml +6 -0
  838. package/ai/kit/hook/infra/HOOK_LINT_FIX_GREEN.xml +6 -0
  839. package/ai/kit/hook/infra/HOOK_LINT_NO_DRIFT.xml +6 -0
  840. package/ai/kit/hook/infra/HOOK_NON_AUTOFIX_HAS_COMMENT.xml +6 -0
  841. package/ai/kit/hook/infra/HOOK_NO_AGENT_DISABLE_COMMENTS.xml +6 -0
  842. package/ai/kit/hook/infra/HOOK_NO_ENV_TRACKED.xml +6 -0
  843. package/ai/kit/hook/infra/HOOK_NO_FORMATTING_DUPLICATION.xml +6 -0
  844. package/ai/kit/hook/infra/HOOK_NO_NODE_MODULES_TRACKED.xml +6 -0
  845. package/ai/kit/hook/infra/HOOK_NO_WARN_LEVEL_IN_CONFIG.xml +6 -0
  846. package/ai/kit/hook/infra/HOOK_PROJECT_LINT.xml +6 -0
  847. package/ai/kit/hook/infra/HOOK_TAG_ANNOTATED.xml +6 -0
  848. package/ai/kit/hook/infra/HOOK_TYPECHECK.xml +6 -0
  849. package/ai/kit/hook/infra/hook-audit-new-rule.xml +6 -0
  850. package/ai/kit/hook/infra/hook-default-branch-main.xml +6 -0
  851. package/ai/kit/hook/infra/hook-engines-present.xml +6 -0
  852. package/ai/kit/hook/infra/hook-gitignore-present.xml +6 -0
  853. package/ai/kit/hook/infra/hook-lint-fix-green.xml +6 -0
  854. package/ai/kit/hook/infra/hook-lint-no-drift.xml +6 -0
  855. package/ai/kit/hook/infra/hook-lock-file-exists.xml +6 -0
  856. package/ai/kit/hook/infra/hook-no-agent-disable-comments.xml +6 -0
  857. package/ai/kit/hook/infra/hook-no-env-tracked.xml +6 -0
  858. package/ai/kit/hook/infra/hook-no-foreign-lock-files.xml +6 -0
  859. package/ai/kit/hook/infra/hook-no-formatting-duplication.xml +6 -0
  860. package/ai/kit/hook/infra/hook-no-node-modules-tracked.xml +6 -0
  861. package/ai/kit/hook/infra/hook-no-warn-level-in-config.xml +6 -0
  862. package/ai/kit/hook/infra/hook-non-autofix-has-comment.xml +6 -0
  863. package/ai/kit/hook/infra/hook-npmrc-registry.xml +6 -0
  864. package/ai/kit/hook/infra/hook-nvmrc-exact.xml +6 -0
  865. package/ai/kit/hook/infra/hook-project-lint.xml +6 -0
  866. package/ai/kit/hook/infra/hook-tag-annotated.xml +6 -0
  867. package/ai/kit/hook/storybook/HOOK_SB_ADDON_PRESENT.xml +6 -0
  868. package/ai/kit/hook/storybook/HOOK_SB_AGENTS_MD_MENTIONS_STORYBOOK.xml +6 -0
  869. package/ai/kit/hook/storybook/HOOK_SB_AI_TAG_PRESENT.xml +6 -0
  870. package/ai/kit/hook/storybook/HOOK_SB_PLAYWRIGHT_BROWSER_PRESENT.xml +6 -0
  871. package/ai/kit/hook/storybook/HOOK_SB_PLAY_PRESENT.xml +6 -0
  872. package/ai/kit/hook/storybook/HOOK_SB_PREVIEW_BOOTS.xml +6 -0
  873. package/ai/kit/hook/storybook/HOOK_SB_RUN_STORY_TESTS.xml +6 -0
  874. package/ai/kit/hook/storybook/hook-sb-addon-present.xml +6 -0
  875. package/ai/kit/hook/storybook/hook-sb-agents-md-mentions-storybook.xml +6 -0
  876. package/ai/kit/hook/storybook/hook-sb-ai-tag-present.xml +6 -0
  877. package/ai/kit/hook/storybook/hook-sb-interactive-stories-have-play.xml +6 -0
  878. package/ai/kit/hook/storybook/hook-sb-play-present.xml +6 -0
  879. package/ai/kit/hook/storybook/hook-sb-playwright-browser-present.xml +6 -0
  880. package/ai/kit/hook/storybook/hook-sb-preview-boots.xml +6 -0
  881. package/ai/kit/hook/storybook/hook-sb-run-story-tests.xml +6 -0
  882. package/ai/kit/hook/svelte/HOOK_NO_CREATE_EVENT_DISPATCHER.xml +6 -0
  883. package/ai/kit/hook/svelte/HOOK_NO_LEGACY_PROP_SYNTAX.xml +6 -0
  884. package/ai/kit/hook/svelte/HOOK_NO_LEGACY_REACTIVE.xml +6 -0
  885. package/ai/kit/hook/svelte/HOOK_NO_RUNES_IN_PLAIN_TS.xml +6 -0
  886. package/ai/kit/hook/svelte/HOOK_SK_BUILD.xml +6 -0
  887. package/ai/kit/hook/svelte/HOOK_SK_NO_CLIENT_FETCH_IN_COMPONENT.xml +6 -0
  888. package/ai/kit/hook/svelte/HOOK_SK_NO_GLOBAL_FETCH_IN_LOAD.xml +6 -0
  889. package/ai/kit/hook/svelte/HOOK_SK_NO_PRIVATE_ENV_IN_CLIENT.xml +6 -0
  890. package/ai/kit/hook/svelte/HOOK_SK_TYPECHECK.xml +6 -0
  891. package/ai/kit/hook/svelte/HOOK_SVELTE_CHECK.xml +6 -0
  892. package/ai/kit/hook/svelte/HOOK_SVELTE_TEST_EXTENSION_DISCIPLINE.xml +6 -0
  893. package/ai/kit/hook/svelte/HOOK_SVELTE_TEST_HAS_CLEANUP.xml +6 -0
  894. package/ai/kit/hook/svelte/HOOK_SVELTE_TEST_HAS_FLUSH_AFTER_USEREVENT.xml +6 -0
  895. package/ai/kit/hook/svelte/HOOK_SVELTE_TEST_NO_DIRECT_DOM_QUERIES.xml +6 -0
  896. package/ai/kit/hook/svelte/HOOK_SVELTE_TEST_RUN.xml +6 -0
  897. package/ai/kit/hook/svelte/hook-no-create-event-dispatcher.xml +6 -0
  898. package/ai/kit/hook/svelte/hook-no-legacy-prop-syntax.xml +6 -0
  899. package/ai/kit/hook/svelte/hook-no-legacy-reactive.xml +6 -0
  900. package/ai/kit/hook/svelte/hook-no-runes-in-plain-ts.xml +6 -0
  901. package/ai/kit/hook/svelte/hook-sk-build.xml +6 -0
  902. package/ai/kit/hook/svelte/hook-sk-no-client-fetch-in-component.xml +6 -0
  903. package/ai/kit/hook/svelte/hook-sk-no-global-fetch-in-load.xml +6 -0
  904. package/ai/kit/hook/svelte/hook-sk-no-private-env-in-client.xml +6 -0
  905. package/ai/kit/hook/svelte/hook-sk-typecheck.xml +6 -0
  906. package/ai/kit/hook/svelte/hook-svelte-check.xml +6 -0
  907. package/ai/kit/hook/svelte/hook-svelte-test-extension-discipline.xml +6 -0
  908. package/ai/kit/hook/svelte/hook-svelte-test-has-cleanup.xml +6 -0
  909. package/ai/kit/hook/svelte/hook-svelte-test-has-flush-after-userevent.xml +6 -0
  910. package/ai/kit/hook/svelte/hook-svelte-test-no-direct-dom-queries.xml +6 -0
  911. package/ai/kit/hook/svelte/hook-svelte-test-run.xml +6 -0
  912. package/ai/kit/hook/testing/HOOK_ANCHOR_PAIRING.xml +6 -0
  913. package/ai/kit/hook/testing/HOOK_COVERAGE.xml +5 -0
  914. package/ai/kit/hook/testing/HOOK_NO_FORBIDDEN_TEST_PATTERNS.xml +6 -0
  915. package/ai/kit/hook/testing/HOOK_RUN_SINGLE_FILE.xml +5 -0
  916. package/ai/kit/hook/testing/HOOK_RUN_TESTS.xml +5 -0
  917. package/ai/kit/hook/testing/HOOK_TYPECHECK_BEFORE_TEST.xml +5 -0
  918. package/ai/kit/hook/testing/hook-anchor-pairing.xml +6 -0
  919. package/ai/kit/hook/testing/hook-coverage-node.xml +5 -0
  920. package/ai/kit/hook/testing/hook-coverage-vitest.xml +5 -0
  921. package/ai/kit/hook/testing/hook-file-size-budget.xml +6 -0
  922. package/ai/kit/hook/testing/hook-no-auto-snapshot-update.xml +6 -0
  923. package/ai/kit/hook/testing/hook-no-forbidden-test-patterns-node.xml +6 -0
  924. package/ai/kit/hook/testing/hook-no-forbidden-test-patterns-vitest.xml +5 -0
  925. package/ai/kit/hook/testing/hook-no-unjustified-vi-mock.xml +6 -0
  926. package/ai/kit/hook/testing/hook-parallel-factories-guard.xml +5 -0
  927. package/ai/kit/hook/testing/hook-run-single-file-node.xml +5 -0
  928. package/ai/kit/hook/testing/hook-run-single-file-vitest.xml +5 -0
  929. package/ai/kit/hook/testing/hook-run-tests-node.xml +5 -0
  930. package/ai/kit/hook/testing/hook-run-tests-vitest.xml +5 -0
  931. package/ai/kit/hook/testing/hook-typecheck-before-test.xml +5 -0
  932. package/ai/kit/hook/typescript/HOOK_NO_FORBIDDEN_CONSTRUCTS.xml +6 -0
  933. package/ai/kit/hook/typescript/HOOK_TYPECHECK.xml +6 -0
  934. package/ai/kit/hook/typescript/hook-no-forbidden-constructs.xml +6 -0
  935. package/ai/kit/hook/typescript/hook-typecheck.xml +6 -0
  936. package/ai/kit/hook/uikit/HOOK_ARIA_ATTRIBUTES_PRESENT.xml +6 -0
  937. package/ai/kit/hook/uikit/HOOK_DATA_STATE_PRESENT.xml +6 -0
  938. package/ai/kit/hook/uikit/HOOK_KEBAB_CASE_FILES.xml +6 -0
  939. package/ai/kit/hook/uikit/HOOK_NO_HOST_SELECTOR.xml +6 -0
  940. package/ai/kit/hook/uikit/HOOK_OVERRIDE_COMMENTS_PRESENT.xml +6 -0
  941. package/ai/kit/hook/uikit/HOOK_SB_A11Y_AUDIT_CONFIG.xml +6 -0
  942. package/ai/kit/hook/uikit/hook-aria-attributes-present.xml +6 -0
  943. package/ai/kit/hook/uikit/hook-data-state-present.xml +6 -0
  944. package/ai/kit/hook/uikit/hook-kebab-case-files.xml +6 -0
  945. package/ai/kit/hook/uikit/hook-no-host-selector.xml +6 -0
  946. package/ai/kit/hook/uikit/hook-override-comments-present.xml +6 -0
  947. package/ai/kit/hook/uikit/hook-sb-a11y-audit-config.xml +6 -0
  948. package/ai/kit/lint-axioms.ts +102 -0
  949. package/ai/kit/pattern/e2e/pt-cli-explore-loop.xml +29 -0
  950. package/ai/kit/pattern/e2e/pt-e2e-auth-setup-project.xml +20 -0
  951. package/ai/kit/pattern/e2e/pt-e2e-ax-snapshot-baseline.xml +21 -0
  952. package/ai/kit/pattern/e2e/pt-e2e-fixture-pom.xml +31 -0
  953. package/ai/kit/pattern/e2e/pt-e2e-interaction-delta.xml +19 -0
  954. package/ai/kit/pattern/e2e/pt-e2e-network-mock.xml +21 -0
  955. package/ai/kit/pattern/infra/pt-dependency-addition.xml +21 -0
  956. package/ai/kit/pattern/infra/pt-esm-builtins.xml +14 -0
  957. package/ai/kit/pattern/infra/pt-lint-config-shape.xml +104 -0
  958. package/ai/kit/pattern/infra/pt-minimal-package-json.xml +21 -0
  959. package/ai/kit/pattern/infra/pt-npm-script-shape.xml +18 -0
  960. package/ai/kit/pattern/infra/pt-npmrc.xml +10 -0
  961. package/ai/kit/pattern/infra/pt-nvmrc.xml +6 -0
  962. package/ai/kit/pattern/infra/pt-rule-audit-protocol.xml +40 -0
  963. package/ai/kit/pattern/spec/example-contracts.xml +20 -0
  964. package/ai/kit/pattern/spec/example-infrastructure.xml +28 -0
  965. package/ai/kit/pattern/spec/example-library.xml +21 -0
  966. package/ai/kit/pattern/spec/example-product.xml +19 -0
  967. package/ai/kit/pattern/storybook/pt-canonical-stories-file.xml +74 -0
  968. package/ai/kit/pattern/storybook/pt-sb-composed-story-with-play.xml +37 -0
  969. package/ai/kit/pattern/storybook/pt-story-with-visual-contract.xml +20 -0
  970. package/ai/kit/pattern/svelte/pt-basic-component-with-runes.xml +27 -0
  971. package/ai/kit/pattern/svelte/pt-bindable-prop.xml +14 -0
  972. package/ai/kit/pattern/svelte/pt-component-svelte-template.xml +54 -0
  973. package/ai/kit/pattern/svelte/pt-effect-with-teardown.xml +17 -0
  974. package/ai/kit/pattern/svelte/pt-form-action-with-fail.xml +24 -0
  975. package/ai/kit/pattern/svelte/pt-page-consuming-load.xml +17 -0
  976. package/ai/kit/pattern/svelte/pt-server-hook-auth.xml +18 -0
  977. package/ai/kit/pattern/svelte/pt-server-load.xml +21 -0
  978. package/ai/kit/pattern/svelte/pt-snippet-and-render.xml +17 -0
  979. package/ai/kit/pattern/svelte/pt-svelte-test-effect-root-for-runes.xml +30 -0
  980. package/ai/kit/pattern/svelte/pt-svelte-test-render-and-assert.xml +22 -0
  981. package/ai/kit/pattern/svelte/pt-svelte-test-user-interaction-with-flush.xml +28 -0
  982. package/ai/kit/pattern/testing/pt-async-retry-with-brief.xml +48 -0
  983. package/ai/kit/pattern/testing/pt-di-over-mock.xml +53 -0
  984. package/ai/kit/pattern/testing/pt-direct-scalar-case.xml +20 -0
  985. package/ai/kit/pattern/testing/pt-error-path-with-assert-rejects.xml +35 -0
  986. package/ai/kit/pattern/testing/pt-fixture-and-observe-aggregation.xml +43 -0
  987. package/ai/kit/pattern/testing/pt-lifecycle-context-with-cleanup.xml +48 -0
  988. package/ai/kit/pattern/testing/pt-mock-fn-interaction-contract.xml +40 -0
  989. package/ai/kit/pattern/testing/pt-unified-factory-context.xml +58 -0
  990. package/ai/kit/pattern/typescript/pt-async-operation-with-timing.xml +40 -0
  991. package/ai/kit/pattern/typescript/pt-direct-implementation-with-log-and-error.xml +48 -0
  992. package/ai/kit/pattern/typescript/pt-expressive-terseness.xml +11 -0
  993. package/ai/kit/pattern/typescript/pt-module-and-data-type.xml +20 -0
  994. package/ai/kit/pattern/typescript/pt-service-contract-interface.xml +28 -0
  995. package/ai/kit/pattern/typescript/pt-type-narrowing-and-modern-operators.xml +36 -0
  996. package/ai/kit/pattern/uikit/pt-module-css-template.xml +26 -0
  997. package/ai/kit/pattern/uikit/pt-tokens-css-template.xml +17 -0
  998. package/ai/kit/render.ts +87 -0
  999. package/ai/kit/templates/coding/result-conventions.hbs +37 -0
  1000. package/ai/kit/templates/coding/result-conventions.xml +37 -0
  1001. package/ai/kit/templates/sdd-v2/agent-inbox/code-lens.directive.hbs +109 -0
  1002. package/ai/kit/templates/sdd-v2/agent-inbox/enrich.directive.hbs +203 -0
  1003. package/ai/kit/templates/sdd-v2/agent-inbox/security-lens.directive.hbs +161 -0
  1004. package/ai/kit/templates/sdd-v2/agent-inbox/synthesize.directive.hbs +114 -0
  1005. package/ai/kit/templates/sdd-v2/agent-inbox/track-review.directive.hbs +442 -0
  1006. package/ai/kit/templates/sdd-v2/amplify-nfr.directive.hbs +73 -0
  1007. package/ai/kit/templates/sdd-v2/amplify-observability.directive.hbs +73 -0
  1008. package/ai/kit/templates/sdd-v2/amplify-security.directive.hbs +70 -0
  1009. package/ai/kit/templates/sdd-v2/amplify-storage.directive.hbs +71 -0
  1010. package/ai/kit/templates/sdd-v2/audit.directive.hbs +241 -0
  1011. package/ai/kit/templates/sdd-v2/code-review.directive.hbs +90 -0
  1012. package/ai/kit/templates/sdd-v2/compression.directive.hbs +113 -0
  1013. package/ai/kit/templates/sdd-v2/critic-protocol.directive.hbs +93 -0
  1014. package/ai/kit/templates/sdd-v2/critic.directive.hbs +103 -0
  1015. package/ai/kit/templates/sdd-v2/discover-from-code.directive.hbs +115 -0
  1016. package/ai/kit/templates/sdd-v2/execute.directive.hbs +186 -0
  1017. package/ai/kit/templates/sdd-v2/formats/audit-round.hbs +1 -0
  1018. package/ai/kit/templates/sdd-v2/formats/change-manifest.hbs +1 -0
  1019. package/ai/kit/templates/sdd-v2/formats/dbc-contracts.hbs +3 -0
  1020. package/ai/kit/templates/sdd-v2/formats/diagram-vocabulary.hbs +181 -0
  1021. package/ai/kit/templates/sdd-v2/formats/entity-inventory-format.hbs +1 -0
  1022. package/ai/kit/templates/sdd-v2/formats/entity-surface-format.hbs +1 -0
  1023. package/ai/kit/templates/sdd-v2/formats/infra-base-minimal-spec.hbs +1 -0
  1024. package/ai/kit/templates/sdd-v2/formats/infrastructure-spec-structure.hbs +1 -0
  1025. package/ai/kit/templates/sdd-v2/formats/interface-spec-structure.hbs +1 -0
  1026. package/ai/kit/templates/sdd-v2/formats/library-spec-structure.hbs +1 -0
  1027. package/ai/kit/templates/sdd-v2/formats/module-map-update.hbs +1 -0
  1028. package/ai/kit/templates/sdd-v2/formats/module-spec-structure.hbs +1 -0
  1029. package/ai/kit/templates/sdd-v2/formats/module-tasks-index.hbs +1 -0
  1030. package/ai/kit/templates/sdd-v2/formats/nfr-budgets-format.hbs +1 -0
  1031. package/ai/kit/templates/sdd-v2/formats/pivot-formats.hbs +3 -0
  1032. package/ai/kit/templates/sdd-v2/formats/portal-structure.hbs +1 -0
  1033. package/ai/kit/templates/sdd-v2/formats/product-spec-structure.hbs +1 -0
  1034. package/ai/kit/templates/sdd-v2/formats/project-tasks-index.hbs +1 -0
  1035. package/ai/kit/templates/sdd-v2/formats/scope-tasks-index.hbs +1 -0
  1036. package/ai/kit/templates/sdd-v2/formats/security-section-format.hbs +1 -0
  1037. package/ai/kit/templates/sdd-v2/formats/task-ticket-structure.hbs +1 -0
  1038. package/ai/kit/templates/sdd-v2/infra.directive.hbs +180 -0
  1039. package/ai/kit/templates/sdd-v2/interface.directive.hbs +154 -0
  1040. package/ai/kit/templates/sdd-v2/interview-protocol.directive.hbs +254 -0
  1041. package/ai/kit/templates/sdd-v2/migration-v1-v2.directive.hbs +301 -0
  1042. package/ai/kit/templates/sdd-v2/module.directive.hbs +247 -0
  1043. package/ai/kit/templates/sdd-v2/phase-execution-protocol.directive.hbs +202 -0
  1044. package/ai/kit/templates/sdd-v2/readiness.directive.hbs +143 -0
  1045. package/ai/kit/templates/sdd-v2/reconcile.directive.hbs +183 -0
  1046. package/ai/kit/templates/sdd-v2/recover-from-code.directive.hbs +153 -0
  1047. package/ai/kit/templates/sdd-v2/review-lifecycle.directive.hbs +70 -0
  1048. package/ai/kit/templates/sdd-v2/root.directive.hbs +133 -0
  1049. package/ai/kit/templates/sdd-v2/router.directive.hbs +179 -0
  1050. package/ai/kit/templates/sdd-v2/scaffold.directive.hbs +227 -0
  1051. package/ai/kit/templates/sdd-v2/scope.directive.hbs +236 -0
  1052. package/ai/skills/README.md +133 -0
  1053. package/ai/skills/agent-inbox/SKILL.md +48 -0
  1054. package/ai/skills/opencode-get-session/SKILL.md +149 -0
  1055. package/ai/skills/prd-interview/PRD_TEMPLATE.md +84 -0
  1056. package/ai/skills/prd-interview/SKILL.md +133 -0
  1057. package/ai/skills/sdd/SKILL.md +30 -0
  1058. package/ai/skills/sdd-audit/SKILL.md +2 -2
  1059. package/ai/skills/sdd-check/SKILL.md +21 -134
  1060. package/ai/skills/sdd-code-review/SKILL.md +27 -0
  1061. package/ai/skills/sdd-critic/SKILL.md +26 -5
  1062. package/ai/skills/sdd-execute/SKILL.md +29 -200
  1063. package/ai/skills/sdd-reconcile/SKILL.md +32 -0
  1064. package/ai/skills/sdd-scaffold/SKILL.md +34 -6
  1065. package/ai/skills/workspace-permission-setup/SKILL.md +194 -0
  1066. package/cli/cmd/README.md +234 -0
  1067. package/dist/ai/directives/agent-inbox/arch-interrogation.directive.xml +387 -0
  1068. package/dist/ai/directives/agent-inbox/change-interrogation.directive.xml +107 -0
  1069. package/dist/ai/directives/agent-inbox/code-interrogation.directive.xml +54 -0
  1070. package/dist/ai/directives/agent-inbox/contract-interrogation.directive.xml +93 -0
  1071. package/dist/ai/directives/agent-inbox/golden-chat-output.example.md +176 -0
  1072. package/dist/ai/directives/agent-inbox/inbox-flow.directive.xml +588 -0
  1073. package/dist/ai/directives/agent-inbox/posting-rules.directive.xml +260 -0
  1074. package/dist/ai/directives/agent-inbox/security-interrogation.directive.xml +108 -0
  1075. package/dist/ai/directives/agent-inbox/update-review.directive.xml +136 -0
  1076. package/dist/ai/directives/agent-inbox/visual-vocabulary.directive.xml +188 -0
  1077. package/dist/ai/directives/coding/result-conventions.xml +4 -4
  1078. package/dist/ai/directives/coding/svelte5-runes.xml +30 -30
  1079. package/dist/ai/directives/coding/sveltekit-rules.xml +27 -27
  1080. package/dist/ai/directives/coding/typescript-rules.xml +50 -50
  1081. package/dist/ai/directives/coding/uikit-component-storybook.xml +32 -32
  1082. package/dist/ai/directives/coding/uikit-component-svelte.xml +35 -35
  1083. package/dist/ai/directives/coding/uikit-spec-drafting.xml +22 -22
  1084. package/dist/ai/directives/infra/eslint-setup.xml +29 -29
  1085. package/dist/ai/directives/infra/git-setup.xml +25 -25
  1086. package/dist/ai/directives/infra/nodejs-npm-setup.xml +36 -36
  1087. package/dist/ai/directives/infra/storybook-setup.xml +22 -22
  1088. package/dist/ai/directives/knowledge.xml +0 -46
  1089. package/dist/ai/directives/sdd-v2/agent-inbox/code-lens.directive.xml +108 -0
  1090. package/dist/ai/directives/sdd-v2/agent-inbox/enrich.directive.xml +222 -0
  1091. package/dist/ai/directives/sdd-v2/agent-inbox/security-lens.directive.xml +161 -0
  1092. package/dist/ai/directives/sdd-v2/agent-inbox/synthesize.directive.xml +113 -0
  1093. package/dist/ai/directives/sdd-v2/agent-inbox/track-review.directive.xml +439 -0
  1094. package/dist/ai/directives/sdd-v2/amplify-nfr.directive.xml +93 -0
  1095. package/dist/ai/directives/sdd-v2/amplify-observability.directive.xml +98 -0
  1096. package/dist/ai/directives/sdd-v2/amplify-security.directive.xml +104 -0
  1097. package/dist/ai/directives/sdd-v2/amplify-storage.directive.xml +95 -0
  1098. package/dist/ai/directives/sdd-v2/audit.directive.xml +473 -0
  1099. package/dist/ai/directives/sdd-v2/code-review.directive.xml +260 -0
  1100. package/dist/ai/directives/sdd-v2/compression.directive.xml +214 -0
  1101. package/dist/ai/directives/sdd-v2/critic-protocol.directive.xml +210 -0
  1102. package/dist/ai/directives/sdd-v2/critic.directive.xml +210 -0
  1103. package/dist/ai/directives/sdd-v2/discover-from-code.directive.xml +173 -0
  1104. package/dist/ai/directives/sdd-v2/execute.directive.xml +337 -0
  1105. package/dist/ai/directives/sdd-v2/formats/audit-round.xml +37 -0
  1106. package/dist/ai/directives/sdd-v2/formats/change-manifest.xml +30 -0
  1107. package/dist/ai/directives/sdd-v2/formats/dbc-contracts.xml +59 -0
  1108. package/dist/ai/directives/sdd-v2/formats/diagram-vocabulary.xml +181 -0
  1109. package/dist/ai/directives/sdd-v2/formats/entity-inventory-format.xml +17 -0
  1110. package/dist/ai/directives/sdd-v2/formats/entity-surface-format.xml +24 -0
  1111. package/dist/ai/directives/sdd-v2/formats/infra-base-minimal-spec.xml +22 -0
  1112. package/dist/ai/directives/sdd-v2/formats/infrastructure-spec-structure.xml +121 -0
  1113. package/dist/ai/directives/sdd-v2/formats/interface-spec-structure.xml +91 -0
  1114. package/dist/ai/directives/sdd-v2/formats/library-spec-structure.xml +100 -0
  1115. package/dist/ai/directives/sdd-v2/formats/module-map-update.xml +33 -0
  1116. package/dist/ai/directives/sdd-v2/formats/module-spec-structure.xml +150 -0
  1117. package/dist/ai/directives/sdd-v2/formats/module-tasks-index.xml +30 -0
  1118. package/dist/ai/directives/sdd-v2/formats/nfr-budgets-format.xml +21 -0
  1119. package/dist/ai/directives/sdd-v2/formats/pivot-formats.xml +27 -0
  1120. package/dist/ai/directives/sdd-v2/formats/portal-structure.xml +29 -0
  1121. package/dist/ai/directives/sdd-v2/formats/product-spec-structure.xml +109 -0
  1122. package/dist/ai/directives/sdd-v2/formats/project-tasks-index.xml +36 -0
  1123. package/dist/ai/directives/sdd-v2/formats/scope-tasks-index.xml +35 -0
  1124. package/dist/ai/directives/sdd-v2/formats/security-section-format.xml +26 -0
  1125. package/dist/ai/directives/sdd-v2/formats/task-ticket-structure.xml +125 -0
  1126. package/dist/ai/directives/sdd-v2/guides/project-setup.md +41 -0
  1127. package/dist/ai/directives/sdd-v2/guides/v1-to-v2-migration.md +104 -0
  1128. package/dist/ai/directives/sdd-v2/infra.directive.xml +331 -0
  1129. package/dist/ai/directives/sdd-v2/interface.directive.xml +277 -0
  1130. package/dist/ai/directives/sdd-v2/interview-protocol.directive.xml +284 -0
  1131. package/dist/ai/directives/sdd-v2/migration-v1-v2.directive.xml +472 -0
  1132. package/dist/ai/directives/sdd-v2/module.directive.xml +462 -0
  1133. package/dist/ai/directives/sdd-v2/phase-execution-protocol.directive.xml +460 -0
  1134. package/dist/ai/directives/sdd-v2/readiness.directive.xml +303 -0
  1135. package/dist/ai/directives/sdd-v2/reconcile.directive.xml +405 -0
  1136. package/dist/ai/directives/sdd-v2/recover-from-code.directive.xml +174 -0
  1137. package/dist/ai/directives/sdd-v2/review-lifecycle.directive.xml +108 -0
  1138. package/dist/ai/directives/sdd-v2/root.directive.xml +217 -0
  1139. package/dist/ai/directives/sdd-v2/router.directive.xml +384 -0
  1140. package/dist/ai/directives/sdd-v2/scaffold.directive.xml +513 -0
  1141. package/dist/ai/directives/sdd-v2/scope.directive.xml +421 -0
  1142. package/dist/ai/directives/testing/common.xml +42 -7
  1143. package/dist/ai/directives/testing/node-test.xml +33 -23
  1144. package/dist/ai/directives/testing/playwright-cli.xml +29 -29
  1145. package/dist/ai/directives/testing/playwright-e2e.xml +29 -29
  1146. package/dist/ai/directives/testing/storybook-usage.xml +27 -27
  1147. package/dist/ai/directives/testing/svelte-testing.xml +27 -27
  1148. package/dist/ai/directives/testing/vitest-rules.xml +25 -25
  1149. package/dist/ai/flow-sim/PROTOCOL.md +159 -0
  1150. package/dist/ai/flow-sim/README.md +39 -0
  1151. package/dist/ai/flow-sim/scenarios/S1-route-new-scope.md +107 -0
  1152. package/dist/ai/flow-sim/scenarios/S10-multi-scope-route.md +213 -0
  1153. package/dist/ai/flow-sim/scenarios/S11-migration-full.md +501 -0
  1154. package/dist/ai/flow-sim/scenarios/S2-preflight-migration.md +129 -0
  1155. package/dist/ai/flow-sim/scenarios/S3-preflight-carveout.md +141 -0
  1156. package/dist/ai/flow-sim/scenarios/S4-discover.md +112 -0
  1157. package/dist/ai/flow-sim/scenarios/S5-recover.md +154 -0
  1158. package/dist/ai/flow-sim/scenarios/S6-scaffold-ticket.md +283 -0
  1159. package/dist/ai/flow-sim/scenarios/S7-execute-lifecycle.md +750 -0
  1160. package/dist/ai/flow-sim/scenarios/S8-reconcile-trivial.md +696 -0
  1161. package/dist/ai/flow-sim/scenarios/S9-reconcile-from-code.md +669 -0
  1162. package/dist/ai/inspector/README.md +40 -0
  1163. package/dist/ai/inspector/core/__tests__/parse-directive.test.ts +155 -0
  1164. package/dist/ai/inspector/core/__tests__/parse-skill.test.ts +80 -0
  1165. package/dist/ai/inspector/core/model.ts +37 -0
  1166. package/dist/ai/inspector/core/parse-directive.ts +181 -0
  1167. package/dist/ai/inspector/core/parse-skill.ts +89 -0
  1168. package/dist/ai/inspector/core/resolve.ts +53 -0
  1169. package/dist/ai/inspector/core/scan.ts +109 -0
  1170. package/dist/ai/inspector/e2e/inspector.spec.ts +117 -0
  1171. package/dist/ai/inspector/generate.ts +154 -0
  1172. package/dist/ai/inspector/playwright.config.ts +20 -0
  1173. package/dist/ai/inspector/serve.ts +30 -0
  1174. package/dist/ai/inspector/web/__tests__/debug.test.ts +173 -0
  1175. package/dist/ai/inspector/web/__tests__/markdown.test.ts +185 -0
  1176. package/dist/ai/inspector/web/app.js +324 -0
  1177. package/dist/ai/inspector/web/debug.js +202 -0
  1178. package/dist/ai/inspector/web/index.html +38 -0
  1179. package/dist/ai/inspector/web/markdown.js +85 -0
  1180. package/dist/ai/inspector/web/styles.css +569 -0
  1181. package/dist/ai/kit/AUTHORING.md +121 -0
  1182. package/dist/ai/kit/__tests__/deps.test.ts +61 -0
  1183. package/dist/ai/kit/__tests__/lint-axioms.test.ts +192 -0
  1184. package/dist/ai/kit/__tests__/render.test.ts +192 -0
  1185. package/dist/ai/kit/__tests__/skeleton-parity.test.ts +50 -0
  1186. package/dist/ai/kit/anti-pattern/coding/AP_FALSE_PRIVATE_AND_ENUM.xml +27 -0
  1187. package/dist/ai/kit/anti-pattern/coding/AP_OVEREDIT.xml +2 -0
  1188. package/dist/ai/kit/anti-pattern/coding/ap-builtin-without-prefix.xml +6 -0
  1189. package/dist/ai/kit/anti-pattern/coding/ap-false-private-and-enum.xml +27 -0
  1190. package/dist/ai/kit/anti-pattern/coding/ap-mixed-module-system.xml +6 -0
  1191. package/dist/ai/kit/anti-pattern/coding/ap-overedit.xml +2 -0
  1192. package/dist/ai/kit/anti-pattern/coding/ap-redundant-jsdoc-duplication.xml +19 -0
  1193. package/dist/ai/kit/anti-pattern/critic/AP_CERTAINTY.xml +2 -0
  1194. package/dist/ai/kit/anti-pattern/critic/AP_CREEP.xml +2 -0
  1195. package/dist/ai/kit/anti-pattern/critic/AP_DISMISS_CONFUSION.xml +2 -0
  1196. package/dist/ai/kit/anti-pattern/critic/AP_EDIT.xml +2 -0
  1197. package/dist/ai/kit/anti-pattern/critic/AP_FORMAT_BIAS.xml +2 -0
  1198. package/dist/ai/kit/anti-pattern/critic/AP_INTERNAL_PARANOIA.xml +2 -0
  1199. package/dist/ai/kit/anti-pattern/critic/AP_NITPICK.xml +2 -0
  1200. package/dist/ai/kit/anti-pattern/critic/AP_REUSE_BLIND.xml +2 -0
  1201. package/dist/ai/kit/anti-pattern/critic/AP_SELF_CRITIQUE.xml +2 -0
  1202. package/dist/ai/kit/anti-pattern/critic/AP_SURFACE.xml +2 -0
  1203. package/dist/ai/kit/anti-pattern/critic/ap-certainty.xml +2 -0
  1204. package/dist/ai/kit/anti-pattern/critic/ap-creep.xml +2 -0
  1205. package/dist/ai/kit/anti-pattern/critic/ap-dismiss-confusion.xml +2 -0
  1206. package/dist/ai/kit/anti-pattern/critic/ap-edit.xml +2 -0
  1207. package/dist/ai/kit/anti-pattern/critic/ap-format-bias.xml +2 -0
  1208. package/dist/ai/kit/anti-pattern/critic/ap-internal-paranoia.xml +2 -0
  1209. package/dist/ai/kit/anti-pattern/critic/ap-nitpick.xml +2 -0
  1210. package/dist/ai/kit/anti-pattern/critic/ap-reuse-blind.xml +2 -0
  1211. package/dist/ai/kit/anti-pattern/critic/ap-self-critique.xml +2 -0
  1212. package/dist/ai/kit/anti-pattern/critic/ap-surface.xml +2 -0
  1213. package/dist/ai/kit/anti-pattern/e2e/AP_CLI_AUTO_UPDATE_SNAPSHOTS.xml +6 -0
  1214. package/dist/ai/kit/anti-pattern/e2e/AP_CLI_CSS_XPATH_FROM_CODEGEN.xml +6 -0
  1215. package/dist/ai/kit/anti-pattern/e2e/AP_CLI_HEADED_FOR_AGENT.xml +6 -0
  1216. package/dist/ai/kit/anti-pattern/e2e/AP_CLI_SKIP_TRACE_ON_FAILURE.xml +6 -0
  1217. package/dist/ai/kit/anti-pattern/e2e/AP_CLI_WRITE_TEST_WITHOUT_AX_TREE.xml +6 -0
  1218. package/dist/ai/kit/anti-pattern/e2e/AP_E2E_CSS_LOCATOR.xml +6 -0
  1219. package/dist/ai/kit/anti-pattern/e2e/AP_E2E_FULL_PAGE_SNAPSHOT.xml +6 -0
  1220. package/dist/ai/kit/anti-pattern/e2e/AP_E2E_INLINE_LOGIN.xml +6 -0
  1221. package/dist/ai/kit/anti-pattern/e2e/AP_E2E_STANDALONE_POM.xml +6 -0
  1222. package/dist/ai/kit/anti-pattern/e2e/AP_E2E_UNMOCKED_NETWORK.xml +6 -0
  1223. package/dist/ai/kit/anti-pattern/e2e/ap-cli-auto-update-snapshots.xml +6 -0
  1224. package/dist/ai/kit/anti-pattern/e2e/ap-cli-css-xpath-from-codegen.xml +6 -0
  1225. package/dist/ai/kit/anti-pattern/e2e/ap-cli-headed-for-agent.xml +6 -0
  1226. package/dist/ai/kit/anti-pattern/e2e/ap-cli-skip-trace-on-failure.xml +6 -0
  1227. package/dist/ai/kit/anti-pattern/e2e/ap-cli-write-test-without-ax-tree.xml +6 -0
  1228. package/dist/ai/kit/anti-pattern/e2e/ap-e2e-css-locator.xml +6 -0
  1229. package/dist/ai/kit/anti-pattern/e2e/ap-e2e-full-page-snapshot.xml +6 -0
  1230. package/dist/ai/kit/anti-pattern/e2e/ap-e2e-inline-login.xml +6 -0
  1231. package/dist/ai/kit/anti-pattern/e2e/ap-e2e-standalone-pom.xml +6 -0
  1232. package/dist/ai/kit/anti-pattern/e2e/ap-e2e-unmocked-network.xml +6 -0
  1233. package/dist/ai/kit/anti-pattern/infra/AP_AGENT_DISABLE_COMMENT.xml +6 -0
  1234. package/dist/ai/kit/anti-pattern/infra/AP_FORCE_PUSH_TO_MAIN.xml +6 -0
  1235. package/dist/ai/kit/anti-pattern/infra/AP_FORMATTING_DUPLICATION.xml +6 -0
  1236. package/dist/ai/kit/anti-pattern/infra/AP_LIGHTWEIGHT_TAG.xml +6 -0
  1237. package/dist/ai/kit/anti-pattern/infra/AP_MULTIPLE_LOCK_FILES.xml +6 -0
  1238. package/dist/ai/kit/anti-pattern/infra/AP_NODE_MODULES_COMMITTED.xml +6 -0
  1239. package/dist/ai/kit/anti-pattern/infra/AP_NO_VERIFY_AS_HABIT.xml +6 -0
  1240. package/dist/ai/kit/anti-pattern/infra/AP_NVMRC_ENGINES_MISMATCH.xml +6 -0
  1241. package/dist/ai/kit/anti-pattern/infra/AP_NVMRC_RANGE.xml +6 -0
  1242. package/dist/ai/kit/anti-pattern/infra/AP_SECRET_IN_HISTORY.xml +6 -0
  1243. package/dist/ai/kit/anti-pattern/infra/AP_TYPE_AWARE_DUPLICATION.xml +6 -0
  1244. package/dist/ai/kit/anti-pattern/infra/AP_UNMOTIVATED_NON_AUTOFIX_RULE.xml +6 -0
  1245. package/dist/ai/kit/anti-pattern/infra/AP_WARN_LEVEL_USAGE.xml +6 -0
  1246. package/dist/ai/kit/anti-pattern/infra/ap-agent-disable-comment.xml +6 -0
  1247. package/dist/ai/kit/anti-pattern/infra/ap-force-push-to-main.xml +6 -0
  1248. package/dist/ai/kit/anti-pattern/infra/ap-formatting-duplication.xml +6 -0
  1249. package/dist/ai/kit/anti-pattern/infra/ap-lightweight-tag.xml +6 -0
  1250. package/dist/ai/kit/anti-pattern/infra/ap-multiple-lock-files.xml +6 -0
  1251. package/dist/ai/kit/anti-pattern/infra/ap-no-verify-as-habit.xml +6 -0
  1252. package/dist/ai/kit/anti-pattern/infra/ap-node-modules-committed.xml +6 -0
  1253. package/dist/ai/kit/anti-pattern/infra/ap-npmrc-absent.xml +6 -0
  1254. package/dist/ai/kit/anti-pattern/infra/ap-nvmrc-engines-mismatch.xml +6 -0
  1255. package/dist/ai/kit/anti-pattern/infra/ap-nvmrc-range.xml +6 -0
  1256. package/dist/ai/kit/anti-pattern/infra/ap-secret-in-history.xml +6 -0
  1257. package/dist/ai/kit/anti-pattern/infra/ap-tool-range-pin.xml +6 -0
  1258. package/dist/ai/kit/anti-pattern/infra/ap-type-aware-duplication.xml +6 -0
  1259. package/dist/ai/kit/anti-pattern/infra/ap-unmotivated-non-autofix-rule.xml +6 -0
  1260. package/dist/ai/kit/anti-pattern/infra/ap-warn-level-usage.xml +6 -0
  1261. package/dist/ai/kit/anti-pattern/logging/AP_BARE_CONSOLE_AND_LOST_CAUSE.xml +32 -0
  1262. package/dist/ai/kit/anti-pattern/logging/ap-bare-console-and-lost-cause.xml +32 -0
  1263. package/dist/ai/kit/anti-pattern/process/AP_NO_RE_DISPATCH.xml +2 -0
  1264. package/dist/ai/kit/anti-pattern/process/AP_SPIN.xml +2 -0
  1265. package/dist/ai/kit/anti-pattern/process/AP_VAGUE_REJECT.xml +2 -0
  1266. package/dist/ai/kit/anti-pattern/process/ap-no-re-dispatch.xml +2 -0
  1267. package/dist/ai/kit/anti-pattern/process/ap-spin.xml +2 -0
  1268. package/dist/ai/kit/anti-pattern/process/ap-vague-reject.xml +2 -0
  1269. package/dist/ai/kit/anti-pattern/spec/AP_ENTITY_SPRAWL.xml +2 -0
  1270. package/dist/ai/kit/anti-pattern/spec/ap-entity-sprawl.xml +2 -0
  1271. package/dist/ai/kit/anti-pattern/storybook/AP_ADHOC_HIERARCHY.xml +6 -0
  1272. package/dist/ai/kit/anti-pattern/storybook/AP_MISSING_PLAY.xml +6 -0
  1273. package/dist/ai/kit/anti-pattern/storybook/AP_MULTIPLE_CONCEPTS_ONE_STORY.xml +6 -0
  1274. package/dist/ai/kit/anti-pattern/storybook/AP_RESTATED_ARGS.xml +6 -0
  1275. package/dist/ai/kit/anti-pattern/storybook/AP_SB_AGENTS_MD_SKIPPED.xml +6 -0
  1276. package/dist/ai/kit/anti-pattern/storybook/AP_SB_HALLUCINATED_PROPS.xml +6 -0
  1277. package/dist/ai/kit/anti-pattern/storybook/AP_SB_MANUAL_SCAFFOLD_BEFORE_INIT.xml +6 -0
  1278. package/dist/ai/kit/anti-pattern/storybook/AP_SB_MISSING_AI_TAG.xml +6 -0
  1279. package/dist/ai/kit/anti-pattern/storybook/AP_SB_MISSING_PLAY_ON_INTERACTION.xml +6 -0
  1280. package/dist/ai/kit/anti-pattern/storybook/AP_SB_NO_MCP_INTEGRATION.xml +6 -0
  1281. package/dist/ai/kit/anti-pattern/storybook/AP_SB_REWRITE_INSTEAD_OF_COMPOSE.xml +6 -0
  1282. package/dist/ai/kit/anti-pattern/storybook/AP_SB_SKIP_SELF_VERIFY.xml +6 -0
  1283. package/dist/ai/kit/anti-pattern/storybook/AP_SB_VERIFY_SKIPPED.xml +6 -0
  1284. package/dist/ai/kit/anti-pattern/storybook/ap-adhoc-hierarchy.xml +6 -0
  1285. package/dist/ai/kit/anti-pattern/storybook/ap-missing-play.xml +6 -0
  1286. package/dist/ai/kit/anti-pattern/storybook/ap-multiple-concepts-one-story.xml +6 -0
  1287. package/dist/ai/kit/anti-pattern/storybook/ap-restated-args.xml +6 -0
  1288. package/dist/ai/kit/anti-pattern/storybook/ap-sb-agents-md-skipped.xml +6 -0
  1289. package/dist/ai/kit/anti-pattern/storybook/ap-sb-hallucinated-props.xml +6 -0
  1290. package/dist/ai/kit/anti-pattern/storybook/ap-sb-manual-scaffold-before-init.xml +6 -0
  1291. package/dist/ai/kit/anti-pattern/storybook/ap-sb-missing-ai-tag.xml +6 -0
  1292. package/dist/ai/kit/anti-pattern/storybook/ap-sb-missing-play-on-interaction.xml +6 -0
  1293. package/dist/ai/kit/anti-pattern/storybook/ap-sb-no-mcp-integration.xml +6 -0
  1294. package/dist/ai/kit/anti-pattern/storybook/ap-sb-rewrite-instead-of-compose.xml +6 -0
  1295. package/dist/ai/kit/anti-pattern/storybook/ap-sb-skip-self-verify.xml +6 -0
  1296. package/dist/ai/kit/anti-pattern/storybook/ap-sb-verify-skipped.xml +6 -0
  1297. package/dist/ai/kit/anti-pattern/svelte/AP_DERIVED_WITH_SIDE_EFFECT.xml +6 -0
  1298. package/dist/ai/kit/anti-pattern/svelte/AP_EFFECT_WITHOUT_TEARDOWN.xml +6 -0
  1299. package/dist/ai/kit/anti-pattern/svelte/AP_EXPORT_LET_LEGACY.xml +6 -0
  1300. package/dist/ai/kit/anti-pattern/svelte/AP_ON_EVENT_DIRECTIVE.xml +6 -0
  1301. package/dist/ai/kit/anti-pattern/svelte/AP_REACTIVE_DOLLAR_COLON.xml +6 -0
  1302. package/dist/ai/kit/anti-pattern/svelte/AP_RUNES_IN_PLAIN_TS.xml +6 -0
  1303. package/dist/ai/kit/anti-pattern/svelte/AP_SK_COMPONENT_FETCH_FOR_INITIAL_DATA.xml +6 -0
  1304. package/dist/ai/kit/anti-pattern/svelte/AP_SK_GLOBAL_FETCH_IN_LOAD.xml +6 -0
  1305. package/dist/ai/kit/anti-pattern/svelte/AP_SK_PAGE_OPTIONS_GLOBALIZED.xml +6 -0
  1306. package/dist/ai/kit/anti-pattern/svelte/AP_SK_PRIVATE_ENV_IN_CLIENT.xml +6 -0
  1307. package/dist/ai/kit/anti-pattern/svelte/AP_SK_THROW_INSTEAD_OF_FAIL.xml +6 -0
  1308. package/dist/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_DIRECT_QUERYSELECTOR.xml +6 -0
  1309. package/dist/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_NO_CLEANUP.xml +6 -0
  1310. package/dist/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_NO_EFFECT_ROOT.xml +6 -0
  1311. package/dist/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_NO_FLUSH.xml +6 -0
  1312. package/dist/ai/kit/anti-pattern/svelte/AP_SVELTE_TEST_PLAIN_TS_EXTENSION.xml +6 -0
  1313. package/dist/ai/kit/anti-pattern/svelte/ap-derived-with-side-effect.xml +6 -0
  1314. package/dist/ai/kit/anti-pattern/svelte/ap-effect-without-teardown.xml +6 -0
  1315. package/dist/ai/kit/anti-pattern/svelte/ap-export-let-legacy.xml +6 -0
  1316. package/dist/ai/kit/anti-pattern/svelte/ap-on-event-directive.xml +6 -0
  1317. package/dist/ai/kit/anti-pattern/svelte/ap-reactive-dollar-colon.xml +6 -0
  1318. package/dist/ai/kit/anti-pattern/svelte/ap-runes-in-plain-ts.xml +6 -0
  1319. package/dist/ai/kit/anti-pattern/svelte/ap-sk-component-fetch-for-initial-data.xml +6 -0
  1320. package/dist/ai/kit/anti-pattern/svelte/ap-sk-global-fetch-in-load.xml +6 -0
  1321. package/dist/ai/kit/anti-pattern/svelte/ap-sk-page-options-globalized.xml +6 -0
  1322. package/dist/ai/kit/anti-pattern/svelte/ap-sk-private-env-in-client.xml +6 -0
  1323. package/dist/ai/kit/anti-pattern/svelte/ap-sk-throw-instead-of-fail.xml +6 -0
  1324. package/dist/ai/kit/anti-pattern/svelte/ap-svelte-test-direct-queryselector.xml +6 -0
  1325. package/dist/ai/kit/anti-pattern/svelte/ap-svelte-test-no-cleanup.xml +6 -0
  1326. package/dist/ai/kit/anti-pattern/svelte/ap-svelte-test-no-effect-root.xml +6 -0
  1327. package/dist/ai/kit/anti-pattern/svelte/ap-svelte-test-no-flush.xml +6 -0
  1328. package/dist/ai/kit/anti-pattern/svelte/ap-svelte-test-plain-ts-extension.xml +6 -0
  1329. package/dist/ai/kit/anti-pattern/testing/AP_ATOMIC_NOISE_ANCHORS.xml +20 -0
  1330. package/dist/ai/kit/anti-pattern/testing/AP_BEFORE_EACH_LET_PILEUP.xml +6 -0
  1331. package/dist/ai/kit/anti-pattern/testing/AP_CONTAINS_ON_ERROR_AND_PRIVATE_INSPECTION.xml +6 -0
  1332. package/dist/ai/kit/anti-pattern/testing/AP_DUPLICATE_BDD_GROUP.xml +6 -0
  1333. package/dist/ai/kit/anti-pattern/testing/AP_LEAKED_LIFECYCLE_AND_GLOBAL_RELIANCE.xml +6 -0
  1334. package/dist/ai/kit/anti-pattern/testing/AP_PARALLEL_FACTORIES.xml +6 -0
  1335. package/dist/ai/kit/anti-pattern/testing/AP_PRIVATE_INSPECTION.xml +6 -0
  1336. package/dist/ai/kit/anti-pattern/testing/AP_SHARED_MUTABLE_STATE_AND_NON_ENGLISH_NARRATION.xml +6 -0
  1337. package/dist/ai/kit/anti-pattern/testing/AP_SKIP_INSTEAD_OF_FIX.xml +6 -0
  1338. package/dist/ai/kit/anti-pattern/testing/AP_SNAPSHOT_FOR_SCALAR.xml +6 -0
  1339. package/dist/ai/kit/anti-pattern/testing/AP_TRY_CATCH_FLAG_ANTIPATTERN.xml +6 -0
  1340. package/dist/ai/kit/anti-pattern/testing/AP_UNJUSTIFIED_VI_MOCK.xml +6 -0
  1341. package/dist/ai/kit/anti-pattern/testing/ap-atomic-noise-anchors.xml +20 -0
  1342. package/dist/ai/kit/anti-pattern/testing/ap-before-each-let-pileup.xml +6 -0
  1343. package/dist/ai/kit/anti-pattern/testing/ap-contains-on-error-and-private-inspection.xml +6 -0
  1344. package/dist/ai/kit/anti-pattern/testing/ap-duplicate-bdd-group.xml +6 -0
  1345. package/dist/ai/kit/anti-pattern/testing/ap-leaked-lifecycle-and-global-reliance.xml +6 -0
  1346. package/dist/ai/kit/anti-pattern/testing/ap-parallel-factories.xml +6 -0
  1347. package/dist/ai/kit/anti-pattern/testing/ap-private-inspection.xml +6 -0
  1348. package/dist/ai/kit/anti-pattern/testing/ap-shared-mutable-state-and-non-english-narration.xml +6 -0
  1349. package/dist/ai/kit/anti-pattern/testing/ap-skip-instead-of-fix.xml +6 -0
  1350. package/dist/ai/kit/anti-pattern/testing/ap-snapshot-for-scalar.xml +6 -0
  1351. package/dist/ai/kit/anti-pattern/testing/ap-try-catch-flag-antipattern.xml +6 -0
  1352. package/dist/ai/kit/anti-pattern/testing/ap-unjustified-vi-mock.xml +6 -0
  1353. package/dist/ai/kit/anti-pattern/uikit/AP_DROPPED_VARIANTS.xml +6 -0
  1354. package/dist/ai/kit/anti-pattern/uikit/AP_FABRICATED_MEASUREMENTS.xml +6 -0
  1355. package/dist/ai/kit/anti-pattern/uikit/AP_HARDCODED_PIXELS.xml +6 -0
  1356. package/dist/ai/kit/anti-pattern/uikit/AP_HOST_SELECTOR.xml +6 -0
  1357. package/dist/ai/kit/anti-pattern/uikit/AP_IMG_TAG_ICON.xml +6 -0
  1358. package/dist/ai/kit/anti-pattern/uikit/AP_MISSING_A11Y_AUDIT.xml +6 -0
  1359. package/dist/ai/kit/anti-pattern/uikit/AP_MISSING_ARIA.xml +6 -0
  1360. package/dist/ai/kit/anti-pattern/uikit/AP_MISSING_DATA_STATE.xml +6 -0
  1361. package/dist/ai/kit/anti-pattern/uikit/AP_OVERRIDE_WITHOUT_COMMENT.xml +6 -0
  1362. package/dist/ai/kit/anti-pattern/uikit/AP_PASCAL_CASE_FILENAME.xml +6 -0
  1363. package/dist/ai/kit/anti-pattern/uikit/AP_SILENT_MISSING_TOKEN.xml +6 -0
  1364. package/dist/ai/kit/anti-pattern/uikit/ap-dropped-variants.xml +6 -0
  1365. package/dist/ai/kit/anti-pattern/uikit/ap-fabricated-measurements.xml +6 -0
  1366. package/dist/ai/kit/anti-pattern/uikit/ap-hardcoded-pixels.xml +6 -0
  1367. package/dist/ai/kit/anti-pattern/uikit/ap-host-selector.xml +6 -0
  1368. package/dist/ai/kit/anti-pattern/uikit/ap-img-tag-icon.xml +6 -0
  1369. package/dist/ai/kit/anti-pattern/uikit/ap-missing-a11y-audit.xml +6 -0
  1370. package/dist/ai/kit/anti-pattern/uikit/ap-missing-aria.xml +6 -0
  1371. package/dist/ai/kit/anti-pattern/uikit/ap-missing-data-state.xml +6 -0
  1372. package/dist/ai/kit/anti-pattern/uikit/ap-override-without-comment.xml +6 -0
  1373. package/dist/ai/kit/anti-pattern/uikit/ap-pascal-case-filename.xml +6 -0
  1374. package/dist/ai/kit/anti-pattern/uikit/ap-silent-missing-token.xml +6 -0
  1375. package/dist/ai/kit/axiom/agent-inbox/ax-complexity-budget.xml +9 -0
  1376. package/dist/ai/kit/axiom/agent-inbox/ax-minimal-change-suspicion.xml +9 -0
  1377. package/dist/ai/kit/axiom/agent-inbox/ax-review-purpose.xml +10 -0
  1378. package/dist/ai/kit/axiom/agent-inbox/ax-simpler-alternative.xml +9 -0
  1379. package/dist/ai/kit/axiom/audit/ax-audit-modes.xml +6 -0
  1380. package/dist/ai/kit/axiom/audit/ax-audit-reads-code.xml +11 -0
  1381. package/dist/ai/kit/axiom/audit/ax-bdd-coverage-verification.xml +8 -0
  1382. package/dist/ai/kit/axiom/audit/ax-closed-world-primary-check.xml +4 -0
  1383. package/dist/ai/kit/axiom/audit/ax-completeness-check.xml +6 -0
  1384. package/dist/ai/kit/axiom/audit/ax-drift-taxonomy.xml +21 -0
  1385. package/dist/ai/kit/axiom/audit/ax-ephemeral-output.xml +8 -0
  1386. package/dist/ai/kit/axiom/audit/ax-execution-log-verification.xml +6 -0
  1387. package/dist/ai/kit/axiom/audit/ax-finding-routing.xml +22 -0
  1388. package/dist/ai/kit/axiom/audit/ax-findings-as-proposals.xml +7 -0
  1389. package/dist/ai/kit/axiom/audit/ax-git-diff-scan.xml +11 -0
  1390. package/dist/ai/kit/axiom/audit/ax-insight-backflow-capture.xml +10 -0
  1391. package/dist/ai/kit/axiom/audit/ax-learning-context.xml +2 -0
  1392. package/dist/ai/kit/axiom/audit/ax-mechanical-via-sdd-check.xml +9 -0
  1393. package/dist/ai/kit/axiom/audit/ax-neutral-findings.xml +4 -0
  1394. package/dist/ai/kit/axiom/audit/ax-no-auto-fix.xml +4 -0
  1395. package/dist/ai/kit/axiom/audit/ax-provenance-is-a-product.xml +2 -0
  1396. package/dist/ai/kit/axiom/audit/ax-reopen-rounds-in-ticket.xml +10 -0
  1397. package/dist/ai/kit/axiom/audit/ax-rules-cascade-verification.xml +17 -0
  1398. package/dist/ai/kit/axiom/audit/ax-rules-compliance-against-activated-rules.xml +22 -0
  1399. package/dist/ai/kit/axiom/audit/ax-runtime-backing-verification.xml +8 -0
  1400. package/dist/ai/kit/axiom/audit/ax-severity-tagging.xml +13 -0
  1401. package/dist/ai/kit/axiom/audit/ax-severity.xml +7 -0
  1402. package/dist/ai/kit/axiom/audit/ax-stale-after-pivot-verification.xml +12 -0
  1403. package/dist/ai/kit/axiom/audit/ax-task-id-integrity.xml +13 -0
  1404. package/dist/ai/kit/axiom/boundary/ax-bootstrap-narrow-read.xml +6 -0
  1405. package/dist/ai/kit/axiom/boundary/ax-closed-world-inventory.xml +4 -0
  1406. package/dist/ai/kit/axiom/boundary/ax-cross-scope-dependencies.xml +4 -0
  1407. package/dist/ai/kit/axiom/boundary/ax-entity-surface-completeness.xml +4 -0
  1408. package/dist/ai/kit/axiom/boundary/ax-guarded-result-boundary.xml +5 -0
  1409. package/dist/ai/kit/axiom/boundary/ax-isolation-signal.xml +2 -0
  1410. package/dist/ai/kit/axiom/boundary/ax-isolation-through-public-boundary.xml +4 -0
  1411. package/dist/ai/kit/axiom/boundary/ax-portal-read-only-with-placeholder-exception.xml +4 -0
  1412. package/dist/ai/kit/axiom/boundary/ax-reference-over-copy.xml +2 -0
  1413. package/dist/ai/kit/axiom/boundary/ax-result-public-boundary.xml +11 -0
  1414. package/dist/ai/kit/axiom/boundary/ax-scope-type-gate.xml +6 -0
  1415. package/dist/ai/kit/axiom/boundary/ax-semantic-location-over-lines.xml +2 -0
  1416. package/dist/ai/kit/axiom/boundary/ax-semantic-safety.xml +2 -0
  1417. package/dist/ai/kit/axiom/boundary/ax-spec-never-edited.xml +4 -0
  1418. package/dist/ai/kit/axiom/boundary/ax-ssot-traceability.xml +4 -0
  1419. package/dist/ai/kit/axiom/boundary/ax-ticket-write-scope.xml +9 -0
  1420. package/dist/ai/kit/axiom/coding/ax-ai-readability.xml +2 -0
  1421. package/dist/ai/kit/axiom/coding/ax-anchor-format.xml +6 -0
  1422. package/dist/ai/kit/axiom/coding/ax-comment-density.xml +4 -0
  1423. package/dist/ai/kit/axiom/coding/ax-comment-placement.xml +4 -0
  1424. package/dist/ai/kit/axiom/coding/ax-comment-vocabulary.xml +6 -0
  1425. package/dist/ai/kit/axiom/coding/ax-comments-add-nonsyntactic-intent.xml +4 -0
  1426. package/dist/ai/kit/axiom/coding/ax-configurable-names.xml +5 -0
  1427. package/dist/ai/kit/axiom/coding/ax-consumer-driven.xml +8 -0
  1428. package/dist/ai/kit/axiom/coding/ax-contractual-naming.xml +4 -0
  1429. package/dist/ai/kit/axiom/coding/ax-domain-prefix-for-external.xml +4 -0
  1430. package/dist/ai/kit/axiom/coding/ax-early-exit.xml +2 -0
  1431. package/dist/ai/kit/axiom/coding/ax-explicit-class-fields.xml +4 -0
  1432. package/dist/ai/kit/axiom/coding/ax-file-header-append-only.xml +10 -0
  1433. package/dist/ai/kit/axiom/coding/ax-file-header-task-traceability.xml +16 -0
  1434. package/dist/ai/kit/axiom/coding/ax-file-level-context.xml +13 -0
  1435. package/dist/ai/kit/axiom/coding/ax-import-canonical-form.xml +15 -0
  1436. package/dist/ai/kit/axiom/coding/ax-introduced-discipline.xml +4 -0
  1437. package/dist/ai/kit/axiom/coding/ax-modern-ts-density.xml +4 -0
  1438. package/dist/ai/kit/axiom/coding/ax-modularity-limits.xml +4 -0
  1439. package/dist/ai/kit/axiom/coding/ax-namespace-naming.xml +4 -0
  1440. package/dist/ai/kit/axiom/coding/ax-no-code-generation.xml +2 -0
  1441. package/dist/ai/kit/axiom/coding/ax-no-premature-abstractions.xml +4 -0
  1442. package/dist/ai/kit/axiom/coding/ax-no-silent-escape-hatch.xml +4 -0
  1443. package/dist/ai/kit/axiom/coding/ax-node-builtins-prefix.xml +10 -0
  1444. package/dist/ai/kit/axiom/coding/ax-principled-decomposition.xml +4 -0
  1445. package/dist/ai/kit/axiom/coding/ax-teleological-naming.xml +4 -0
  1446. package/dist/ai/kit/axiom/coding/ax-tools-as-hands.xml +12 -0
  1447. package/dist/ai/kit/axiom/coding/ax-verb-precision.xml +4 -0
  1448. package/dist/ai/kit/axiom/coding/ax-yagni-overengineering-guard.xml +4 -0
  1449. package/dist/ai/kit/axiom/critic/ax-comprehension-first.xml +2 -0
  1450. package/dist/ai/kit/axiom/critic/ax-confusion-bug.xml +2 -0
  1451. package/dist/ai/kit/axiom/critic/ax-critic-model-tier.xml +10 -0
  1452. package/dist/ai/kit/axiom/critic/ax-default-accept.xml +2 -0
  1453. package/dist/ai/kit/axiom/critic/ax-finding-addressee.xml +6 -0
  1454. package/dist/ai/kit/axiom/critic/ax-goal-owner-gate.xml +7 -0
  1455. package/dist/ai/kit/axiom/critic/ax-isolation.xml +2 -0
  1456. package/dist/ai/kit/axiom/critic/ax-polish-mode.xml +7 -0
  1457. package/dist/ai/kit/axiom/critic/ax-product-architect-lens.xml +13 -0
  1458. package/dist/ai/kit/axiom/critic/ax-read-only.xml +2 -0
  1459. package/dist/ai/kit/axiom/critic/ax-uncertainty-is-signal.xml +2 -0
  1460. package/dist/ai/kit/axiom/critic/ax-uncomfortable-questions.xml +12 -0
  1461. package/dist/ai/kit/axiom/e2e/ax-cli-ax-tree-as-primary-vision.xml +6 -0
  1462. package/dist/ai/kit/axiom/e2e/ax-cli-codegen-is-recorder-not-author.xml +4 -0
  1463. package/dist/ai/kit/axiom/e2e/ax-cli-dev-server-precondition.xml +4 -0
  1464. package/dist/ai/kit/axiom/e2e/ax-cli-explore-before-author.xml +6 -0
  1465. package/dist/ai/kit/axiom/e2e/ax-cli-explore-loop-has-four-steps.xml +10 -0
  1466. package/dist/ai/kit/axiom/e2e/ax-cli-headless-for-agent.xml +4 -0
  1467. package/dist/ai/kit/axiom/e2e/ax-cli-role-locators-from-ax-tree.xml +4 -0
  1468. package/dist/ai/kit/axiom/e2e/ax-cli-snapshot-update-gate.xml +6 -0
  1469. package/dist/ai/kit/axiom/e2e/ax-cli-trace-for-failure-diagnosis.xml +6 -0
  1470. package/dist/ai/kit/axiom/e2e/ax-cli-transition-to-authoring.xml +4 -0
  1471. package/dist/ai/kit/axiom/e2e/ax-e2e-auth-via-storage-state.xml +4 -0
  1472. package/dist/ai/kit/axiom/e2e/ax-e2e-ax-tree-as-contract.xml +4 -0
  1473. package/dist/ai/kit/axiom/e2e/ax-e2e-browser-coverage-pragmatic.xml +4 -0
  1474. package/dist/ai/kit/axiom/e2e/ax-e2e-file-layout.xml +4 -0
  1475. package/dist/ai/kit/axiom/e2e/ax-e2e-file-size-budget.xml +4 -0
  1476. package/dist/ai/kit/axiom/e2e/ax-e2e-fixture-based-pom.xml +6 -0
  1477. package/dist/ai/kit/axiom/e2e/ax-e2e-headless-always.xml +4 -0
  1478. package/dist/ai/kit/axiom/e2e/ax-e2e-network-mock-at-route.xml +6 -0
  1479. package/dist/ai/kit/axiom/e2e/ax-e2e-role-locators-only.xml +4 -0
  1480. package/dist/ai/kit/axiom/e2e/ax-e2e-self-verification-loop.xml +4 -0
  1481. package/dist/ai/kit/axiom/e2e/ax-e2e-snapshot-partial-by-default.xml +4 -0
  1482. package/dist/ai/kit/axiom/e2e/ax-e2e-structure-ax-first.xml +10 -0
  1483. package/dist/ai/kit/axiom/e2e/ax-e2e-visual-regression-gated.xml +4 -0
  1484. package/dist/ai/kit/axiom/error/ax-catch-log-recover.xml +10 -0
  1485. package/dist/ai/kit/axiom/error/ax-error-chaining-cause.xml +4 -0
  1486. package/dist/ai/kit/axiom/error/ax-error-via-class.xml +4 -0
  1487. package/dist/ai/kit/axiom/error/ax-fail-fast-validation.xml +4 -0
  1488. package/dist/ai/kit/axiom/error/ax-focused-error-assertions.xml +4 -0
  1489. package/dist/ai/kit/axiom/error/ax-mandatory-try-catch-in-business-logic.xml +4 -0
  1490. package/dist/ai/kit/axiom/error/ax-markup-safety.xml +2 -0
  1491. package/dist/ai/kit/axiom/error/ax-minimal-error-surface.xml +4 -0
  1492. package/dist/ai/kit/axiom/error/ax-must-extractor.xml +4 -0
  1493. package/dist/ai/kit/axiom/error/ax-no-bare-throw-unknown.xml +6 -0
  1494. package/dist/ai/kit/axiom/error/ax-no-result-iserr-short-circuit.xml +5 -0
  1495. package/dist/ai/kit/axiom/error/ax-no-result-object-literal.xml +6 -0
  1496. package/dist/ai/kit/axiom/error/ax-no-result-ok-short-circuit.xml +6 -0
  1497. package/dist/ai/kit/axiom/error/ax-no-result-second-generic.xml +6 -0
  1498. package/dist/ai/kit/axiom/error/ax-result-unwrap-on-success-paths.xml +4 -0
  1499. package/dist/ai/kit/axiom/error/ax-trace-prefixed-errors.xml +4 -0
  1500. package/dist/ai/kit/axiom/infra/ax-ai-first-scripts-one-shot.xml +27 -0
  1501. package/dist/ai/kit/axiom/infra/ax-autofix-preferred.xml +12 -0
  1502. package/dist/ai/kit/axiom/infra/ax-binary-severity.xml +10 -0
  1503. package/dist/ai/kit/axiom/infra/ax-branch-strategy.xml +16 -0
  1504. package/dist/ai/kit/axiom/infra/ax-commit-convention.xml +18 -0
  1505. package/dist/ai/kit/axiom/infra/ax-config-auditable-by-agent.xml +10 -0
  1506. package/dist/ai/kit/axiom/infra/ax-custom-plugins-obey-meta-policy.xml +9 -0
  1507. package/dist/ai/kit/axiom/infra/ax-dependency-addition-checklist.xml +9 -0
  1508. package/dist/ai/kit/axiom/infra/ax-exact-pinning-for-tooling.xml +10 -0
  1509. package/dist/ai/kit/axiom/infra/ax-flat-config.xml +6 -0
  1510. package/dist/ai/kit/axiom/infra/ax-gitignore-baseline.xml +22 -0
  1511. package/dist/ai/kit/axiom/infra/ax-history-policy.xml +16 -0
  1512. package/dist/ai/kit/axiom/infra/ax-hooks-integration.xml +4 -0
  1513. package/dist/ai/kit/axiom/infra/ax-infra-base-bootstrap.xml +6 -0
  1514. package/dist/ai/kit/axiom/infra/ax-infrastructure-flow.xml +16 -0
  1515. package/dist/ai/kit/axiom/infra/ax-lfs-submodules.xml +8 -0
  1516. package/dist/ai/kit/axiom/infra/ax-lint-run-is-mechanical.xml +8 -0
  1517. package/dist/ai/kit/axiom/infra/ax-lock-file-discipline.xml +10 -0
  1518. package/dist/ai/kit/axiom/infra/ax-module-system-explicit.xml +4 -0
  1519. package/dist/ai/kit/axiom/infra/ax-no-disable-comments-by-agent.xml +16 -0
  1520. package/dist/ai/kit/axiom/infra/ax-non-autofix-prefer-delegation.xml +17 -0
  1521. package/dist/ai/kit/axiom/infra/ax-npm-agent-sandbox-registry.xml +28 -0
  1522. package/dist/ai/kit/axiom/infra/ax-presets-passed-through-the-gate.xml +8 -0
  1523. package/dist/ai/kit/axiom/infra/ax-prettier-owns-formatting.xml +12 -0
  1524. package/dist/ai/kit/axiom/infra/ax-project-layout.xml +11 -0
  1525. package/dist/ai/kit/axiom/infra/ax-rule-change-requires-operator-confirm.xml +13 -0
  1526. package/dist/ai/kit/axiom/infra/ax-secrets-discipline.xml +17 -0
  1527. package/dist/ai/kit/axiom/infra/ax-single-package-manager.xml +6 -0
  1528. package/dist/ai/kit/axiom/infra/ax-tag-release.xml +17 -0
  1529. package/dist/ai/kit/axiom/infra/ax-third-party-tool-current-api.xml +8 -0
  1530. package/dist/ai/kit/axiom/infra/ax-type-aware-prefer-ts.xml +10 -0
  1531. package/dist/ai/kit/axiom/interview/ax-amplification-opt-in.xml +8 -0
  1532. package/dist/ai/kit/axiom/interview/ax-coverage-map-closure.xml +9 -0
  1533. package/dist/ai/kit/axiom/interview/ax-defaults-first.xml +9 -0
  1534. package/dist/ai/kit/axiom/logging/ax-alerts-on-symptoms.xml +7 -0
  1535. package/dist/ai/kit/axiom/logging/ax-log-density.xml +4 -0
  1536. package/dist/ai/kit/axiom/logging/ax-log-message-format.xml +6 -0
  1537. package/dist/ai/kit/axiom/logging/ax-log-message-purity.xml +4 -0
  1538. package/dist/ai/kit/axiom/logging/ax-log-performance-metrics.xml +4 -0
  1539. package/dist/ai/kit/axiom/logging/ax-stdout-first-transport.xml +2 -0
  1540. package/dist/ai/kit/axiom/logging/ax-structured-logging.xml +6 -0
  1541. package/dist/ai/kit/axiom/perf/ax-allocation-is-enemy.xml +2 -0
  1542. package/dist/ai/kit/axiom/perf/ax-backpressure-is-law.xml +2 -0
  1543. package/dist/ai/kit/axiom/perf/ax-big-o-matters.xml +2 -0
  1544. package/dist/ai/kit/axiom/perf/ax-budgets-are-numbers.xml +8 -0
  1545. package/dist/ai/kit/axiom/perf/ax-concurrency-limits.xml +2 -0
  1546. package/dist/ai/kit/axiom/perf/ax-engine-optimizations.xml +2 -0
  1547. package/dist/ai/kit/axiom/perf/ax-gc-pressure.xml +2 -0
  1548. package/dist/ai/kit/axiom/perf/ax-hoisting-safety.xml +2 -0
  1549. package/dist/ai/kit/axiom/perf/ax-latency-stacking.xml +2 -0
  1550. package/dist/ai/kit/axiom/perf/ax-one-time-cost.xml +2 -0
  1551. package/dist/ai/kit/axiom/perf/ax-retained-memory.xml +2 -0
  1552. package/dist/ai/kit/axiom/perf/ax-target-hardware.xml +2 -0
  1553. package/dist/ai/kit/axiom/process/ax-amplify-defaults-first.xml +11 -0
  1554. package/dist/ai/kit/axiom/process/ax-artifact-style-self-check.xml +9 -0
  1555. package/dist/ai/kit/axiom/process/ax-audit-hook.xml +3 -0
  1556. package/dist/ai/kit/axiom/process/ax-blocker-escalation.xml +12 -0
  1557. package/dist/ai/kit/axiom/process/ax-blocker-resolution-trail.xml +9 -0
  1558. package/dist/ai/kit/axiom/process/ax-cap-5.xml +1 -0
  1559. package/dist/ai/kit/axiom/process/ax-close-with-integrity-check.xml +4 -0
  1560. package/dist/ai/kit/axiom/process/ax-coverage-report-blocker-explicit.xml +4 -0
  1561. package/dist/ai/kit/axiom/process/ax-cross-scope-change.xml +10 -0
  1562. package/dist/ai/kit/axiom/process/ax-dialogue-discipline.xml +12 -0
  1563. package/dist/ai/kit/axiom/process/ax-dispatch-via-batch.xml +8 -0
  1564. package/dist/ai/kit/axiom/process/ax-diverge-before-recommend.xml +18 -0
  1565. package/dist/ai/kit/axiom/process/ax-env-fix-channel.xml +23 -0
  1566. package/dist/ai/kit/axiom/process/ax-execution-log-plan-vs-fact.xml +18 -0
  1567. package/dist/ai/kit/axiom/process/ax-execution-order.xml +5 -0
  1568. package/dist/ai/kit/axiom/process/ax-fix-classification.xml +7 -0
  1569. package/dist/ai/kit/axiom/process/ax-grouping-reduces-noise.xml +2 -0
  1570. package/dist/ai/kit/axiom/process/ax-halt-vs-fail-distinction.xml +10 -0
  1571. package/dist/ai/kit/axiom/process/ax-handoff-typed.xml +3 -0
  1572. package/dist/ai/kit/axiom/process/ax-live-log.xml +3 -0
  1573. package/dist/ai/kit/axiom/process/ax-narrow-recon.xml +9 -0
  1574. package/dist/ai/kit/axiom/process/ax-no-focused-or-skipped-tests-on-merge.xml +4 -0
  1575. package/dist/ai/kit/axiom/process/ax-no-process-narration.xml +7 -0
  1576. package/dist/ai/kit/axiom/process/ax-operator-agreement.xml +6 -0
  1577. package/dist/ai/kit/axiom/process/ax-operator-dialogue-style.xml +42 -0
  1578. package/dist/ai/kit/axiom/process/ax-operator-language.xml +15 -0
  1579. package/dist/ai/kit/axiom/process/ax-operator-output-live-text.xml +7 -0
  1580. package/dist/ai/kit/axiom/process/ax-operator-safeguard.xml +10 -0
  1581. package/dist/ai/kit/axiom/process/ax-owner.xml +1 -0
  1582. package/dist/ai/kit/axiom/process/ax-permitted-bash-commands.xml +31 -0
  1583. package/dist/ai/kit/axiom/process/ax-phase-scope-lock.xml +3 -0
  1584. package/dist/ai/kit/axiom/process/ax-preflight-blast-radius-scoped.xml +10 -0
  1585. package/dist/ai/kit/axiom/process/ax-problem-probes-spec.xml +14 -0
  1586. package/dist/ai/kit/axiom/process/ax-progressive-disclosure.xml +8 -0
  1587. package/dist/ai/kit/axiom/process/ax-q-ids.xml +3 -0
  1588. package/dist/ai/kit/axiom/process/ax-re-dispatch.xml +1 -0
  1589. package/dist/ai/kit/axiom/process/ax-read-per-manifest.xml +11 -0
  1590. package/dist/ai/kit/axiom/process/ax-rejection-reason.xml +1 -0
  1591. package/dist/ai/kit/axiom/process/ax-reopen-format.xml +15 -0
  1592. package/dist/ai/kit/axiom/process/ax-scale-proportional-depth.xml +8 -0
  1593. package/dist/ai/kit/axiom/process/ax-scratch-log.xml +1 -0
  1594. package/dist/ai/kit/axiom/process/ax-step-by-step-approval.xml +13 -0
  1595. package/dist/ai/kit/axiom/process/ax-stop-no-edits.xml +1 -0
  1596. package/dist/ai/kit/axiom/process/ax-surgical.xml +1 -0
  1597. package/dist/ai/kit/axiom/process/ax-task-id-uniqueness.xml +11 -0
  1598. package/dist/ai/kit/axiom/process/ax-task-parallel.xml +1 -0
  1599. package/dist/ai/kit/axiom/process/ax-task-resolution.xml +10 -0
  1600. package/dist/ai/kit/axiom/process/ax-ticket-section-names-normative.xml +3 -0
  1601. package/dist/ai/kit/axiom/process/ax-tool-invocation.xml +12 -0
  1602. package/dist/ai/kit/axiom/process/ax-verification-before-handoff.xml +19 -0
  1603. package/dist/ai/kit/axiom/process/ax-verify-and-finalize.xml +4 -0
  1604. package/dist/ai/kit/axiom/process/ax-verify-at-end.xml +4 -0
  1605. package/dist/ai/kit/axiom/scaffold/ax-append-only-module-add.xml +9 -0
  1606. package/dist/ai/kit/axiom/scaffold/ax-bootstrap-ticket-derivation.xml +9 -0
  1607. package/dist/ai/kit/axiom/scaffold/ax-cross-scope-task-placement.xml +4 -0
  1608. package/dist/ai/kit/axiom/scaffold/ax-dag-and-ticket-boundaries.xml +16 -0
  1609. package/dist/ai/kit/axiom/scaffold/ax-directive-mode.xml +6 -0
  1610. package/dist/ai/kit/axiom/scaffold/ax-extend-dag-preserves-existing-ids.xml +11 -0
  1611. package/dist/ai/kit/axiom/scaffold/ax-handoff-to-task-scaffolding.xml +6 -0
  1612. package/dist/ai/kit/axiom/scaffold/ax-idempotent-modes.xml +8 -0
  1613. package/dist/ai/kit/axiom/scaffold/ax-mode-auto-detect-or-halt.xml +6 -0
  1614. package/dist/ai/kit/axiom/scaffold/ax-phases-declared-in-header.xml +20 -0
  1615. package/dist/ai/kit/axiom/scaffold/ax-rule-activation-plan.xml +7 -0
  1616. package/dist/ai/kit/axiom/scaffold/ax-rule-activation.xml +8 -0
  1617. package/dist/ai/kit/axiom/scaffold/ax-rules-cascade-resolution.xml +15 -0
  1618. package/dist/ai/kit/axiom/scaffold/ax-rules-load-from-phase-block.xml +16 -0
  1619. package/dist/ai/kit/axiom/scaffold/ax-rules-resolution-hard-fail.xml +4 -0
  1620. package/dist/ai/kit/axiom/scaffold/ax-scope-rules-declaration.xml +15 -0
  1621. package/dist/ai/kit/axiom/scaffold/ax-stack-based-flow.xml +6 -0
  1622. package/dist/ai/kit/axiom/scaffold/ax-task-dimensions.xml +10 -0
  1623. package/dist/ai/kit/axiom/scaffold/ax-ticket-deduplication.xml +4 -0
  1624. package/dist/ai/kit/axiom/scaffold/ax-ticket-has-bdd-and-tests.xml +12 -0
  1625. package/dist/ai/kit/axiom/spec/ax-access-patterns-drive-schema.xml +7 -0
  1626. package/dist/ai/kit/axiom/spec/ax-context-to-contract.xml +4 -0
  1627. package/dist/ai/kit/axiom/spec/ax-contracts-textual-agnostic.xml +11 -0
  1628. package/dist/ai/kit/axiom/spec/ax-data-lifecycle-explicit.xml +7 -0
  1629. package/dist/ai/kit/axiom/spec/ax-decision-log-required.xml +7 -0
  1630. package/dist/ai/kit/axiom/spec/ax-draft-ready-for-review.xml +8 -0
  1631. package/dist/ai/kit/axiom/spec/ax-dx-first.xml +12 -0
  1632. package/dist/ai/kit/axiom/spec/ax-exact-scope.xml +4 -0
  1633. package/dist/ai/kit/axiom/spec/ax-external-input-untrusted.xml +7 -0
  1634. package/dist/ai/kit/axiom/spec/ax-handoff-to-module-decomposition.xml +4 -0
  1635. package/dist/ai/kit/axiom/spec/ax-hierarchical-specs.xml +8 -0
  1636. package/dist/ai/kit/axiom/spec/ax-interface-flow.xml +7 -0
  1637. package/dist/ai/kit/axiom/spec/ax-living-spec.xml +6 -0
  1638. package/dist/ai/kit/axiom/spec/ax-module-boundary-by-operator.xml +4 -0
  1639. package/dist/ai/kit/axiom/spec/ax-no-data-loss.xml +10 -0
  1640. package/dist/ai/kit/axiom/spec/ax-no-silent-option-drop.xml +4 -0
  1641. package/dist/ai/kit/axiom/spec/ax-pivot-requires-supersession.xml +6 -0
  1642. package/dist/ai/kit/axiom/spec/ax-portal-primary-owner.xml +10 -0
  1643. package/dist/ai/kit/axiom/spec/ax-ports-and-abstractions-discipline.xml +7 -0
  1644. package/dist/ai/kit/axiom/spec/ax-product-library-flow.xml +15 -0
  1645. package/dist/ai/kit/axiom/spec/ax-refine-module-preserves-contracts.xml +12 -0
  1646. package/dist/ai/kit/axiom/spec/ax-runtime-backing-explicit.xml +9 -0
  1647. package/dist/ai/kit/axiom/spec/ax-runtime-backing-in-contracts.xml +9 -0
  1648. package/dist/ai/kit/axiom/spec/ax-scope-graph-detection.xml +19 -0
  1649. package/dist/ai/kit/axiom/spec/ax-scope-graph-discipline.xml +8 -0
  1650. package/dist/ai/kit/axiom/spec/ax-scope-spec-module-map-ownership.xml +17 -0
  1651. package/dist/ai/kit/axiom/spec/ax-scope-stays-thin.xml +14 -0
  1652. package/dist/ai/kit/axiom/spec/ax-scope-table-format.xml +7 -0
  1653. package/dist/ai/kit/axiom/spec/ax-scope-type-branch.xml +13 -0
  1654. package/dist/ai/kit/axiom/spec/ax-spec-dimensions.xml +14 -0
  1655. package/dist/ai/kit/axiom/spec/ax-spec-lifecycle.xml +10 -0
  1656. package/dist/ai/kit/axiom/spec/ax-spec-structure.xml +13 -0
  1657. package/dist/ai/kit/axiom/spec/ax-stateless-artifact.xml +6 -0
  1658. package/dist/ai/kit/axiom/spec/ax-vision-only-for-application.xml +4 -0
  1659. package/dist/ai/kit/axiom/storybook/ax-ai-generated-tag.xml +13 -0
  1660. package/dist/ai/kit/axiom/storybook/ax-compose-from-base-story.xml +13 -0
  1661. package/dist/ai/kit/axiom/storybook/ax-hierarchy-mirrors-spec.xml +25 -0
  1662. package/dist/ai/kit/axiom/storybook/ax-one-story-per-variant.xml +18 -0
  1663. package/dist/ai/kit/axiom/storybook/ax-play-function-required.xml +27 -0
  1664. package/dist/ai/kit/axiom/storybook/ax-sb-agents-md-updated-as-part-of-setup.xml +4 -0
  1665. package/dist/ai/kit/axiom/storybook/ax-sb-browser-prereq-handled.xml +4 -0
  1666. package/dist/ai/kit/axiom/storybook/ax-sb-follow-generated-guide.xml +4 -0
  1667. package/dist/ai/kit/axiom/storybook/ax-sb-init-via-official-installer.xml +6 -0
  1668. package/dist/ai/kit/axiom/storybook/ax-sb-mcp-is-mandatory.xml +6 -0
  1669. package/dist/ai/kit/axiom/storybook/ax-sb-no-parallel-test-harnesses.xml +4 -0
  1670. package/dist/ai/kit/axiom/storybook/ax-sb-use-ai-generated-tag.xml +4 -0
  1671. package/dist/ai/kit/axiom/storybook/ax-sb-use-component-change-triggers-story-run.xml +4 -0
  1672. package/dist/ai/kit/axiom/storybook/ax-sb-use-compose-existing-first.xml +4 -0
  1673. package/dist/ai/kit/axiom/storybook/ax-sb-use-mcp-first.xml +4 -0
  1674. package/dist/ai/kit/axiom/storybook/ax-sb-use-never-hallucinate-props.xml +4 -0
  1675. package/dist/ai/kit/axiom/storybook/ax-sb-use-no-parallel-render-harness.xml +4 -0
  1676. package/dist/ai/kit/axiom/storybook/ax-sb-use-one-story-one-concept.xml +4 -0
  1677. package/dist/ai/kit/axiom/storybook/ax-sb-use-play-for-interaction.xml +4 -0
  1678. package/dist/ai/kit/axiom/storybook/ax-sb-use-self-verify-before-handoff.xml +6 -0
  1679. package/dist/ai/kit/axiom/storybook/ax-sb-verify-before-handoff.xml +9 -0
  1680. package/dist/ai/kit/axiom/storybook/ax-storybook-title-from-spec.xml +10 -0
  1681. package/dist/ai/kit/axiom/svelte/ax-bindable-for-two-way.xml +4 -0
  1682. package/dist/ai/kit/axiom/svelte/ax-component-structure-fixed.xml +4 -0
  1683. package/dist/ai/kit/axiom/svelte/ax-derived-is-pure.xml +4 -0
  1684. package/dist/ai/kit/axiom/svelte/ax-effect-ownership-and-cleanup.xml +6 -0
  1685. package/dist/ai/kit/axiom/svelte/ax-event-handlers-as-attributes.xml +6 -0
  1686. package/dist/ai/kit/axiom/svelte/ax-inspect-is-dev-only.xml +4 -0
  1687. package/dist/ai/kit/axiom/svelte/ax-legacy-patterns-forbidden.xml +4 -0
  1688. package/dist/ai/kit/axiom/svelte/ax-local-runes-over-stores-for-local-state.xml +6 -0
  1689. package/dist/ai/kit/axiom/svelte/ax-props-via-destructuring.xml +6 -0
  1690. package/dist/ai/kit/axiom/svelte/ax-runes-are-compiler-keywords.xml +6 -0
  1691. package/dist/ai/kit/axiom/svelte/ax-runes-location-restriction.xml +6 -0
  1692. package/dist/ai/kit/axiom/svelte/ax-sk-adapter-chosen-not-defaulted.xml +4 -0
  1693. package/dist/ai/kit/axiom/svelte/ax-sk-data-via-load.xml +6 -0
  1694. package/dist/ai/kit/axiom/svelte/ax-sk-fetch-from-load-uses-sdk-fetch.xml +4 -0
  1695. package/dist/ai/kit/axiom/svelte/ax-sk-hooks-own-cross-cutting.xml +6 -0
  1696. package/dist/ai/kit/axiom/svelte/ax-sk-mutations-via-actions.xml +6 -0
  1697. package/dist/ai/kit/axiom/svelte/ax-sk-page-options-per-route.xml +6 -0
  1698. package/dist/ai/kit/axiom/svelte/ax-sk-project-layout.xml +4 -0
  1699. package/dist/ai/kit/axiom/svelte/ax-sk-routing-is-file-based.xml +6 -0
  1700. package/dist/ai/kit/axiom/svelte/ax-sk-server-client-boundary.xml +8 -0
  1701. package/dist/ai/kit/axiom/svelte/ax-sk-types-from-generated.xml +4 -0
  1702. package/dist/ai/kit/axiom/svelte/ax-sk-validation-at-action-boundary.xml +4 -0
  1703. package/dist/ai/kit/axiom/svelte/ax-snippets-replace-slots.xml +4 -0
  1704. package/dist/ai/kit/axiom/svelte/ax-svelte-conventions.xml +10 -0
  1705. package/dist/ai/kit/axiom/svelte/ax-svelte-test-effect-root-outside-component.xml +6 -0
  1706. package/dist/ai/kit/axiom/svelte/ax-svelte-test-file-extension.xml +4 -0
  1707. package/dist/ai/kit/axiom/svelte/ax-svelte-test-flush-before-assert.xml +6 -0
  1708. package/dist/ai/kit/axiom/svelte/ax-svelte-test-inherited-vitest-rules.xml +4 -0
  1709. package/dist/ai/kit/axiom/svelte/ax-svelte-test-jsdom-environment.xml +4 -0
  1710. package/dist/ai/kit/axiom/svelte/ax-svelte-test-library-for-rendering.xml +6 -0
  1711. package/dist/ai/kit/axiom/svelte/ax-svelte-test-mount-and-cleanup.xml +8 -0
  1712. package/dist/ai/kit/axiom/svelte/ax-svelte-test-no-direct-dom-query.xml +4 -0
  1713. package/dist/ai/kit/axiom/svelte/ax-svelte-test-prefer-story-tests-when-available.xml +4 -0
  1714. package/dist/ai/kit/axiom/svelte/ax-svelte-test-role-queries-preferred.xml +4 -0
  1715. package/dist/ai/kit/axiom/testing/ax-anchor-coverage-nontrivial.xml +4 -0
  1716. package/dist/ai/kit/axiom/testing/ax-anchor-intentful-names.xml +4 -0
  1717. package/dist/ai/kit/axiom/testing/ax-anchor-trivial-exception.xml +4 -0
  1718. package/dist/ai/kit/axiom/testing/ax-assert-api-choice.xml +13 -0
  1719. package/dist/ai/kit/axiom/testing/ax-bdd-generation.xml +19 -0
  1720. package/dist/ai/kit/axiom/testing/ax-bdd-name-discipline.xml +4 -0
  1721. package/dist/ai/kit/axiom/testing/ax-case-flow.xml +6 -0
  1722. package/dist/ai/kit/axiom/testing/ax-contract-over-implementation.xml +10 -0
  1723. package/dist/ai/kit/axiom/testing/ax-coverage-by-contract-not-by-line.xml +9 -0
  1724. package/dist/ai/kit/axiom/testing/ax-default-direct-assertion-protocol.xml +6 -0
  1725. package/dist/ai/kit/axiom/testing/ax-explicit-vitest-imports.xml +4 -0
  1726. package/dist/ai/kit/axiom/testing/ax-file-name-and-default-shape.xml +4 -0
  1727. package/dist/ai/kit/axiom/testing/ax-fixture-io-policy.xml +4 -0
  1728. package/dist/ai/kit/axiom/testing/ax-hooks-only-for-lifecycle.xml +6 -0
  1729. package/dist/ai/kit/axiom/testing/ax-http-boundary-injection.xml +6 -0
  1730. package/dist/ai/kit/axiom/testing/ax-http-mock-agent-pattern.xml +9 -0
  1731. package/dist/ai/kit/axiom/testing/ax-it-opening-brief.xml +8 -0
  1732. package/dist/ai/kit/axiom/testing/ax-mock-as-last-resort.xml +11 -0
  1733. package/dist/ai/kit/axiom/testing/ax-mock-hygiene.xml +12 -0
  1734. package/dist/ai/kit/axiom/testing/ax-mock-requires-operator-confirm.xml +9 -0
  1735. package/dist/ai/kit/axiom/testing/ax-no-describe-let-pileup.xml +4 -0
  1736. package/dist/ai/kit/axiom/testing/ax-no-falsification-via-mocks.xml +4 -0
  1737. package/dist/ai/kit/axiom/testing/ax-one-test-one-scenario.xml +4 -0
  1738. package/dist/ai/kit/axiom/testing/ax-one-unified-context-per-file.xml +10 -0
  1739. package/dist/ai/kit/axiom/testing/ax-partial-string-via-match.xml +4 -0
  1740. package/dist/ai/kit/axiom/testing/ax-phase-anchors.xml +16 -0
  1741. package/dist/ai/kit/axiom/testing/ax-prefer-factory-over-hooks.xml +6 -0
  1742. package/dist/ai/kit/axiom/testing/ax-prefer-native-mock-fn.xml +9 -0
  1743. package/dist/ai/kit/axiom/testing/ax-prefer-vi-fn-for-interaction.xml +4 -0
  1744. package/dist/ai/kit/axiom/testing/ax-snapshot-file-location.xml +4 -0
  1745. package/dist/ai/kit/axiom/testing/ax-snapshot-usage-gate.xml +4 -0
  1746. package/dist/ai/kit/axiom/testing/ax-test-anchor-naming.xml +4 -0
  1747. package/dist/ai/kit/axiom/testing/ax-test-file-size-budget.xml +6 -0
  1748. package/dist/ai/kit/axiom/testing/ax-test-mandate.xml +10 -0
  1749. package/dist/ai/kit/axiom/testing/ax-tests-no-human-narration.xml +4 -0
  1750. package/dist/ai/kit/axiom/testing/ax-time-env-global-lifecycle.xml +9 -0
  1751. package/dist/ai/kit/axiom/testing/ax-vitest-assert-api-choice.xml +12 -0
  1752. package/dist/ai/kit/axiom/testing/ax-vitest-isolation-default.xml +4 -0
  1753. package/dist/ai/kit/axiom/testing/ax-vitest-run-not-watch.xml +16 -0
  1754. package/dist/ai/kit/axiom/truth/ax-autonomous-research.xml +2 -0
  1755. package/dist/ai/kit/axiom/truth/ax-evidence-hygiene.xml +9 -0
  1756. package/dist/ai/kit/axiom/truth/ax-freshness-guard.xml +2 -0
  1757. package/dist/ai/kit/axiom/truth/ax-live-source-only.xml +2 -0
  1758. package/dist/ai/kit/axiom/truth/ax-no-unverified-findings.xml +2 -0
  1759. package/dist/ai/kit/axiom/truth/ax-production-realism.xml +4 -0
  1760. package/dist/ai/kit/axiom/truth/ax-real-run-over-ping.xml +2 -0
  1761. package/dist/ai/kit/axiom/truth/ax-reuse-first.xml +2 -0
  1762. package/dist/ai/kit/axiom/truth/ax-spec-is-sole-source.xml +6 -0
  1763. package/dist/ai/kit/axiom/truth/ax-stale-must-be-rejected.xml +2 -0
  1764. package/dist/ai/kit/axiom/typescript/ax-base-contract-shape.xml +25 -0
  1765. package/dist/ai/kit/axiom/typescript/ax-consumers-tag-semantics.xml +4 -0
  1766. package/dist/ai/kit/axiom/typescript/ax-direct-implementation-protocol.xml +9 -0
  1767. package/dist/ai/kit/axiom/typescript/ax-english-only-names-and-comments.xml +4 -0
  1768. package/dist/ai/kit/axiom/typescript/ax-entity-specific-minimums.xml +11 -0
  1769. package/dist/ai/kit/axiom/typescript/ax-flat-jsdoc-for-properties.xml +6 -0
  1770. package/dist/ai/kit/axiom/typescript/ax-implementation-hiding-in-public.xml +4 -0
  1771. package/dist/ai/kit/axiom/typescript/ax-no-transpile-only-constructs.xml +6 -0
  1772. package/dist/ai/kit/axiom/typescript/ax-tag-usage-matrix.xml +15 -0
  1773. package/dist/ai/kit/axiom/typescript/ax-truthful-encapsulation.xml +6 -0
  1774. package/dist/ai/kit/axiom/typescript/ax-type-vs-interface-choice.xml +4 -0
  1775. package/dist/ai/kit/axiom/uikit/ax-a11y-audit-parameters.xml +14 -0
  1776. package/dist/ai/kit/axiom/uikit/ax-a11y-defaults.xml +12 -0
  1777. package/dist/ai/kit/axiom/uikit/ax-a11y-requirements.xml +18 -0
  1778. package/dist/ai/kit/axiom/uikit/ax-component-props-contract.xml +20 -0
  1779. package/dist/ai/kit/axiom/uikit/ax-css-module-selector-conventions.xml +10 -0
  1780. package/dist/ai/kit/axiom/uikit/ax-css-tokens-via-root.xml +12 -0
  1781. package/dist/ai/kit/axiom/uikit/ax-data-attrs-not-host.xml +16 -0
  1782. package/dist/ai/kit/axiom/uikit/ax-data-state-for-testability.xml +8 -0
  1783. package/dist/ai/kit/axiom/uikit/ax-element-structure-from-extraction.xml +13 -0
  1784. package/dist/ai/kit/axiom/uikit/ax-existing-components-check.xml +9 -0
  1785. package/dist/ai/kit/axiom/uikit/ax-extraction-input.xml +15 -0
  1786. package/dist/ai/kit/axiom/uikit/ax-file-structure-kebab-case.xml +13 -0
  1787. package/dist/ai/kit/axiom/uikit/ax-icon-svg-tight-viewbox.xml +6 -0
  1788. package/dist/ai/kit/axiom/uikit/ax-token-discipline.xml +9 -0
  1789. package/dist/ai/kit/axiom/uikit/ax-token-override-comment.xml +11 -0
  1790. package/dist/ai/kit/axiom/uikit/ax-token-section-generation.xml +13 -0
  1791. package/dist/ai/kit/axiom/uikit/ax-variant-grouping.xml +10 -0
  1792. package/dist/ai/kit/build-directives.ts +39 -0
  1793. package/dist/ai/kit/contract/audit/audit-session-summary-format.xml +38 -0
  1794. package/dist/ai/kit/contract/audit/finding-format.xml +20 -0
  1795. package/dist/ai/kit/contract/audit/ticket-audit-round-format.xml +38 -0
  1796. package/dist/ai/kit/contract/critic/oc-structured.xml +2 -0
  1797. package/dist/ai/kit/contract/interview/coverage-map-format.xml +12 -0
  1798. package/dist/ai/kit/contract/process/blocker-format.xml +9 -0
  1799. package/dist/ai/kit/contract/process/breadcrumb-format.xml +8 -0
  1800. package/dist/ai/kit/contract/process/execute-summary-format.xml +11 -0
  1801. package/dist/ai/kit/contract/process/fix-summary-format.xml +23 -0
  1802. package/dist/ai/kit/contract/process/flow-diagram-when.xml +12 -0
  1803. package/dist/ai/kit/contract/process/halt-format.xml +6 -0
  1804. package/dist/ai/kit/contract/process/handoff-format.xml +13 -0
  1805. package/dist/ai/kit/contract/process/message-layout.xml +16 -0
  1806. package/dist/ai/kit/contract/process/orchestrator-progress-format.xml +10 -0
  1807. package/dist/ai/kit/contract/process/phase-block-format.xml +22 -0
  1808. package/dist/ai/kit/contract/process/phase-progress-format.xml +13 -0
  1809. package/dist/ai/kit/contract/process/plan-table-format.xml +7 -0
  1810. package/dist/ai/kit/contract/process/question-format.xml +27 -0
  1811. package/dist/ai/kit/contract/process/return-summary-format.xml +17 -0
  1812. package/dist/ai/kit/contract/process/round-close-format.xml +8 -0
  1813. package/dist/ai/kit/contract/process/session-file-format.xml +25 -0
  1814. package/dist/ai/kit/contract/process/side-dive-format.xml +7 -0
  1815. package/dist/ai/kit/contract/process/trace-header-format.xml +11 -0
  1816. package/dist/ai/kit/contract/process/understanding-block-format.xml +12 -0
  1817. package/dist/ai/kit/contract/scaffold/module-tasks-index.xml +9 -0
  1818. package/dist/ai/kit/contract/scaffold/project-tasks-index.xml +10 -0
  1819. package/dist/ai/kit/contract/scaffold/scope-tasks-index.xml +11 -0
  1820. package/dist/ai/kit/contract/scaffold/task-ticket-structure.xml +19 -0
  1821. package/dist/ai/kit/contract/spec/change-manifest-format.xml +31 -0
  1822. package/dist/ai/kit/contract/spec/dbc-adapter-format.xml +22 -0
  1823. package/dist/ai/kit/contract/spec/dbc-port-format.xml +38 -0
  1824. package/dist/ai/kit/contract/spec/decision-log-entry-format.xml +12 -0
  1825. package/dist/ai/kit/contract/spec/entity-inventory-format.xml +18 -0
  1826. package/dist/ai/kit/contract/spec/entity-surface-format.xml +25 -0
  1827. package/dist/ai/kit/contract/spec/infra-base-minimal-spec.xml +23 -0
  1828. package/dist/ai/kit/contract/spec/infrastructure-spec-structure.xml +8 -0
  1829. package/dist/ai/kit/contract/spec/interface-spec-structure.xml +6 -0
  1830. package/dist/ai/kit/contract/spec/library-spec-structure.xml +6 -0
  1831. package/dist/ai/kit/contract/spec/module-spec-markdown-structure.xml +10 -0
  1832. package/dist/ai/kit/contract/spec/nfr-budgets-format.xml +22 -0
  1833. package/dist/ai/kit/contract/spec/pivot-invalidation-list-format.xml +9 -0
  1834. package/dist/ai/kit/contract/spec/portal-structure-contract.xml +6 -0
  1835. package/dist/ai/kit/contract/spec/product-spec-structure.xml +6 -0
  1836. package/dist/ai/kit/contract/spec/rework-decision-log-entry-format.xml +19 -0
  1837. package/dist/ai/kit/contract/spec/scope-spec-module-map-update.xml +34 -0
  1838. package/dist/ai/kit/contract/spec/security-section-format.xml +27 -0
  1839. package/dist/ai/kit/contract/uikit/spec-structure.xml +67 -0
  1840. package/dist/ai/kit/definition/e2e/def-cli-ax-snapshot.xml +4 -0
  1841. package/dist/ai/kit/definition/e2e/def-cli-trace.xml +4 -0
  1842. package/dist/ai/kit/definition/e2e/def-e2e-ax-contract.xml +4 -0
  1843. package/dist/ai/kit/definition/e2e/def-e2e-fixture-pom.xml +4 -0
  1844. package/dist/ai/kit/definition/infra/def-autofixable-rule.xml +4 -0
  1845. package/dist/ai/kit/definition/infra/def-cjs.xml +2 -0
  1846. package/dist/ai/kit/definition/infra/def-esm.xml +2 -0
  1847. package/dist/ai/kit/definition/infra/def-exact-pin.xml +2 -0
  1848. package/dist/ai/kit/definition/infra/def-lint-pipeline.xml +4 -0
  1849. package/dist/ai/kit/definition/infra/def-motivated-non-autofix-rule.xml +4 -0
  1850. package/dist/ai/kit/definition/infra/def-operator-disable.xml +4 -0
  1851. package/dist/ai/kit/definition/infra/def-reproducibility-triad.xml +2 -0
  1852. package/dist/ai/kit/definition/process/def-logic-switch.xml +12 -0
  1853. package/dist/ai/kit/definition/process/def-read-and-use-directive.xml +12 -0
  1854. package/dist/ai/kit/definition/storybook/def-play-contract.xml +4 -0
  1855. package/dist/ai/kit/definition/storybook/def-sb-mcp-server.xml +4 -0
  1856. package/dist/ai/kit/definition/storybook/def-sb-mcp-tools.xml +4 -0
  1857. package/dist/ai/kit/definition/storybook/def-sb-story-canonical-form.xml +4 -0
  1858. package/dist/ai/kit/definition/storybook/def-sb-test-addon.xml +4 -0
  1859. package/dist/ai/kit/definition/storybook/def-spec-mirror-hierarchy.xml +4 -0
  1860. package/dist/ai/kit/definition/svelte/def-flush-boundary.xml +4 -0
  1861. package/dist/ai/kit/definition/svelte/def-form-action.xml +4 -0
  1862. package/dist/ai/kit/definition/svelte/def-runes-file.xml +4 -0
  1863. package/dist/ai/kit/definition/svelte/def-server-load.xml +4 -0
  1864. package/dist/ai/kit/definition/svelte/def-svelte-rune.xml +4 -0
  1865. package/dist/ai/kit/definition/svelte/def-svelte-test-file.xml +4 -0
  1866. package/dist/ai/kit/definition/svelte/def-universal-load.xml +4 -0
  1867. package/dist/ai/kit/definition/testing/def-injection-seam.xml +4 -0
  1868. package/dist/ai/kit/definition/testing/def-non-trivial-case.xml +4 -0
  1869. package/dist/ai/kit/definition/testing/def-phase-anchor-format.xml +4 -0
  1870. package/dist/ai/kit/definition/testing/def-test-payload-vocab.xml +4 -0
  1871. package/dist/ai/kit/definition/testing/def-unified-context.xml +4 -0
  1872. package/dist/ai/kit/definition/typescript/def-allowed-comment-payload.xml +4 -0
  1873. package/dist/ai/kit/definition/typescript/def-complexity-trigger.xml +4 -0
  1874. package/dist/ai/kit/definition/typescript/def-trace-prefix.xml +2 -0
  1875. package/dist/ai/kit/definition/uikit/def-component-artefact.xml +4 -0
  1876. package/dist/ai/kit/definition/uikit/def-data-attribute-selector.xml +4 -0
  1877. package/dist/ai/kit/definition/uikit/def-token-override.xml +4 -0
  1878. package/dist/ai/kit/demo/indent-check.ts +56 -0
  1879. package/dist/ai/kit/demo/render-demo.ts +26 -0
  1880. package/dist/ai/kit/demo/sdd-mini.hbs +11 -0
  1881. package/dist/ai/kit/hook/coding/hook-module-system-declared.xml +6 -0
  1882. package/dist/ai/kit/hook/e2e/HOOK_CLI_DEV_SERVER_REACHABLE.xml +6 -0
  1883. package/dist/ai/kit/hook/e2e/HOOK_CLI_NO_AUTO_UPDATE_SNAPSHOTS.xml +6 -0
  1884. package/dist/ai/kit/hook/e2e/HOOK_CLI_NO_HEADED_IN_AGENT_SCRIPTS.xml +6 -0
  1885. package/dist/ai/kit/hook/e2e/HOOK_CLI_PLAYWRIGHT_INSTALLED.xml +6 -0
  1886. package/dist/ai/kit/hook/e2e/HOOK_E2E_FILE_SIZE_BUDGET.xml +6 -0
  1887. package/dist/ai/kit/hook/e2e/HOOK_E2E_NO_CSS_LOCATORS.xml +6 -0
  1888. package/dist/ai/kit/hook/e2e/HOOK_E2E_NO_HEADED.xml +6 -0
  1889. package/dist/ai/kit/hook/e2e/HOOK_E2E_NO_ONLY_OR_SKIP.xml +6 -0
  1890. package/dist/ai/kit/hook/e2e/HOOK_E2E_RUN_CHROMIUM.xml +6 -0
  1891. package/dist/ai/kit/hook/e2e/hook-cli-dev-server-reachable.xml +6 -0
  1892. package/dist/ai/kit/hook/e2e/hook-cli-no-auto-update-snapshots.xml +6 -0
  1893. package/dist/ai/kit/hook/e2e/hook-cli-no-headed-in-agent-scripts.xml +6 -0
  1894. package/dist/ai/kit/hook/e2e/hook-cli-playwright-installed.xml +6 -0
  1895. package/dist/ai/kit/hook/e2e/hook-e2e-file-size-budget.xml +6 -0
  1896. package/dist/ai/kit/hook/e2e/hook-e2e-no-css-locators.xml +6 -0
  1897. package/dist/ai/kit/hook/e2e/hook-e2e-no-headed.xml +6 -0
  1898. package/dist/ai/kit/hook/e2e/hook-e2e-no-only-or-skip.xml +6 -0
  1899. package/dist/ai/kit/hook/e2e/hook-e2e-run-chromium.xml +6 -0
  1900. package/dist/ai/kit/hook/infra/HOOK_AUDIT_NEW_RULE.xml +6 -0
  1901. package/dist/ai/kit/hook/infra/HOOK_DEFAULT_BRANCH_MAIN.xml +6 -0
  1902. package/dist/ai/kit/hook/infra/HOOK_GITIGNORE_PRESENT.xml +6 -0
  1903. package/dist/ai/kit/hook/infra/HOOK_LINT_FIX_GREEN.xml +6 -0
  1904. package/dist/ai/kit/hook/infra/HOOK_LINT_NO_DRIFT.xml +6 -0
  1905. package/dist/ai/kit/hook/infra/HOOK_NON_AUTOFIX_HAS_COMMENT.xml +6 -0
  1906. package/dist/ai/kit/hook/infra/HOOK_NO_AGENT_DISABLE_COMMENTS.xml +6 -0
  1907. package/dist/ai/kit/hook/infra/HOOK_NO_ENV_TRACKED.xml +6 -0
  1908. package/dist/ai/kit/hook/infra/HOOK_NO_FORMATTING_DUPLICATION.xml +6 -0
  1909. package/dist/ai/kit/hook/infra/HOOK_NO_NODE_MODULES_TRACKED.xml +6 -0
  1910. package/dist/ai/kit/hook/infra/HOOK_NO_WARN_LEVEL_IN_CONFIG.xml +6 -0
  1911. package/dist/ai/kit/hook/infra/HOOK_PROJECT_LINT.xml +6 -0
  1912. package/dist/ai/kit/hook/infra/HOOK_TAG_ANNOTATED.xml +6 -0
  1913. package/dist/ai/kit/hook/infra/HOOK_TYPECHECK.xml +6 -0
  1914. package/dist/ai/kit/hook/infra/hook-audit-new-rule.xml +6 -0
  1915. package/dist/ai/kit/hook/infra/hook-default-branch-main.xml +6 -0
  1916. package/dist/ai/kit/hook/infra/hook-engines-present.xml +6 -0
  1917. package/dist/ai/kit/hook/infra/hook-gitignore-present.xml +6 -0
  1918. package/dist/ai/kit/hook/infra/hook-lint-fix-green.xml +6 -0
  1919. package/dist/ai/kit/hook/infra/hook-lint-no-drift.xml +6 -0
  1920. package/dist/ai/kit/hook/infra/hook-lock-file-exists.xml +6 -0
  1921. package/dist/ai/kit/hook/infra/hook-no-agent-disable-comments.xml +6 -0
  1922. package/dist/ai/kit/hook/infra/hook-no-env-tracked.xml +6 -0
  1923. package/dist/ai/kit/hook/infra/hook-no-foreign-lock-files.xml +6 -0
  1924. package/dist/ai/kit/hook/infra/hook-no-formatting-duplication.xml +6 -0
  1925. package/dist/ai/kit/hook/infra/hook-no-node-modules-tracked.xml +6 -0
  1926. package/dist/ai/kit/hook/infra/hook-no-warn-level-in-config.xml +6 -0
  1927. package/dist/ai/kit/hook/infra/hook-non-autofix-has-comment.xml +6 -0
  1928. package/dist/ai/kit/hook/infra/hook-npmrc-registry.xml +6 -0
  1929. package/dist/ai/kit/hook/infra/hook-nvmrc-exact.xml +6 -0
  1930. package/dist/ai/kit/hook/infra/hook-project-lint.xml +6 -0
  1931. package/dist/ai/kit/hook/infra/hook-tag-annotated.xml +6 -0
  1932. package/dist/ai/kit/hook/storybook/HOOK_SB_ADDON_PRESENT.xml +6 -0
  1933. package/dist/ai/kit/hook/storybook/HOOK_SB_AGENTS_MD_MENTIONS_STORYBOOK.xml +6 -0
  1934. package/dist/ai/kit/hook/storybook/HOOK_SB_AI_TAG_PRESENT.xml +6 -0
  1935. package/dist/ai/kit/hook/storybook/HOOK_SB_PLAYWRIGHT_BROWSER_PRESENT.xml +6 -0
  1936. package/dist/ai/kit/hook/storybook/HOOK_SB_PLAY_PRESENT.xml +6 -0
  1937. package/dist/ai/kit/hook/storybook/HOOK_SB_PREVIEW_BOOTS.xml +6 -0
  1938. package/dist/ai/kit/hook/storybook/HOOK_SB_RUN_STORY_TESTS.xml +6 -0
  1939. package/dist/ai/kit/hook/storybook/hook-sb-addon-present.xml +6 -0
  1940. package/dist/ai/kit/hook/storybook/hook-sb-agents-md-mentions-storybook.xml +6 -0
  1941. package/dist/ai/kit/hook/storybook/hook-sb-ai-tag-present.xml +6 -0
  1942. package/dist/ai/kit/hook/storybook/hook-sb-interactive-stories-have-play.xml +6 -0
  1943. package/dist/ai/kit/hook/storybook/hook-sb-play-present.xml +6 -0
  1944. package/dist/ai/kit/hook/storybook/hook-sb-playwright-browser-present.xml +6 -0
  1945. package/dist/ai/kit/hook/storybook/hook-sb-preview-boots.xml +6 -0
  1946. package/dist/ai/kit/hook/storybook/hook-sb-run-story-tests.xml +6 -0
  1947. package/dist/ai/kit/hook/svelte/HOOK_NO_CREATE_EVENT_DISPATCHER.xml +6 -0
  1948. package/dist/ai/kit/hook/svelte/HOOK_NO_LEGACY_PROP_SYNTAX.xml +6 -0
  1949. package/dist/ai/kit/hook/svelte/HOOK_NO_LEGACY_REACTIVE.xml +6 -0
  1950. package/dist/ai/kit/hook/svelte/HOOK_NO_RUNES_IN_PLAIN_TS.xml +6 -0
  1951. package/dist/ai/kit/hook/svelte/HOOK_SK_BUILD.xml +6 -0
  1952. package/dist/ai/kit/hook/svelte/HOOK_SK_NO_CLIENT_FETCH_IN_COMPONENT.xml +6 -0
  1953. package/dist/ai/kit/hook/svelte/HOOK_SK_NO_GLOBAL_FETCH_IN_LOAD.xml +6 -0
  1954. package/dist/ai/kit/hook/svelte/HOOK_SK_NO_PRIVATE_ENV_IN_CLIENT.xml +6 -0
  1955. package/dist/ai/kit/hook/svelte/HOOK_SK_TYPECHECK.xml +6 -0
  1956. package/dist/ai/kit/hook/svelte/HOOK_SVELTE_CHECK.xml +6 -0
  1957. package/dist/ai/kit/hook/svelte/HOOK_SVELTE_TEST_EXTENSION_DISCIPLINE.xml +6 -0
  1958. package/dist/ai/kit/hook/svelte/HOOK_SVELTE_TEST_HAS_CLEANUP.xml +6 -0
  1959. package/dist/ai/kit/hook/svelte/HOOK_SVELTE_TEST_HAS_FLUSH_AFTER_USEREVENT.xml +6 -0
  1960. package/dist/ai/kit/hook/svelte/HOOK_SVELTE_TEST_NO_DIRECT_DOM_QUERIES.xml +6 -0
  1961. package/dist/ai/kit/hook/svelte/HOOK_SVELTE_TEST_RUN.xml +6 -0
  1962. package/dist/ai/kit/hook/svelte/hook-no-create-event-dispatcher.xml +6 -0
  1963. package/dist/ai/kit/hook/svelte/hook-no-legacy-prop-syntax.xml +6 -0
  1964. package/dist/ai/kit/hook/svelte/hook-no-legacy-reactive.xml +6 -0
  1965. package/dist/ai/kit/hook/svelte/hook-no-runes-in-plain-ts.xml +6 -0
  1966. package/dist/ai/kit/hook/svelte/hook-sk-build.xml +6 -0
  1967. package/dist/ai/kit/hook/svelte/hook-sk-no-client-fetch-in-component.xml +6 -0
  1968. package/dist/ai/kit/hook/svelte/hook-sk-no-global-fetch-in-load.xml +6 -0
  1969. package/dist/ai/kit/hook/svelte/hook-sk-no-private-env-in-client.xml +6 -0
  1970. package/dist/ai/kit/hook/svelte/hook-sk-typecheck.xml +6 -0
  1971. package/dist/ai/kit/hook/svelte/hook-svelte-check.xml +6 -0
  1972. package/dist/ai/kit/hook/svelte/hook-svelte-test-extension-discipline.xml +6 -0
  1973. package/dist/ai/kit/hook/svelte/hook-svelte-test-has-cleanup.xml +6 -0
  1974. package/dist/ai/kit/hook/svelte/hook-svelte-test-has-flush-after-userevent.xml +6 -0
  1975. package/dist/ai/kit/hook/svelte/hook-svelte-test-no-direct-dom-queries.xml +6 -0
  1976. package/dist/ai/kit/hook/svelte/hook-svelte-test-run.xml +6 -0
  1977. package/dist/ai/kit/hook/testing/HOOK_ANCHOR_PAIRING.xml +6 -0
  1978. package/dist/ai/kit/hook/testing/HOOK_COVERAGE.xml +5 -0
  1979. package/dist/ai/kit/hook/testing/HOOK_NO_FORBIDDEN_TEST_PATTERNS.xml +6 -0
  1980. package/dist/ai/kit/hook/testing/HOOK_RUN_SINGLE_FILE.xml +5 -0
  1981. package/dist/ai/kit/hook/testing/HOOK_RUN_TESTS.xml +5 -0
  1982. package/dist/ai/kit/hook/testing/HOOK_TYPECHECK_BEFORE_TEST.xml +5 -0
  1983. package/dist/ai/kit/hook/testing/hook-anchor-pairing.xml +6 -0
  1984. package/dist/ai/kit/hook/testing/hook-coverage-node.xml +5 -0
  1985. package/dist/ai/kit/hook/testing/hook-coverage-vitest.xml +5 -0
  1986. package/dist/ai/kit/hook/testing/hook-file-size-budget.xml +6 -0
  1987. package/dist/ai/kit/hook/testing/hook-no-auto-snapshot-update.xml +6 -0
  1988. package/dist/ai/kit/hook/testing/hook-no-forbidden-test-patterns-node.xml +6 -0
  1989. package/dist/ai/kit/hook/testing/hook-no-forbidden-test-patterns-vitest.xml +5 -0
  1990. package/dist/ai/kit/hook/testing/hook-no-unjustified-vi-mock.xml +6 -0
  1991. package/dist/ai/kit/hook/testing/hook-parallel-factories-guard.xml +5 -0
  1992. package/dist/ai/kit/hook/testing/hook-run-single-file-node.xml +5 -0
  1993. package/dist/ai/kit/hook/testing/hook-run-single-file-vitest.xml +5 -0
  1994. package/dist/ai/kit/hook/testing/hook-run-tests-node.xml +5 -0
  1995. package/dist/ai/kit/hook/testing/hook-run-tests-vitest.xml +5 -0
  1996. package/dist/ai/kit/hook/testing/hook-typecheck-before-test.xml +5 -0
  1997. package/dist/ai/kit/hook/typescript/HOOK_NO_FORBIDDEN_CONSTRUCTS.xml +6 -0
  1998. package/dist/ai/kit/hook/typescript/HOOK_TYPECHECK.xml +6 -0
  1999. package/dist/ai/kit/hook/typescript/hook-no-forbidden-constructs.xml +6 -0
  2000. package/dist/ai/kit/hook/typescript/hook-typecheck.xml +6 -0
  2001. package/dist/ai/kit/hook/uikit/HOOK_ARIA_ATTRIBUTES_PRESENT.xml +6 -0
  2002. package/dist/ai/kit/hook/uikit/HOOK_DATA_STATE_PRESENT.xml +6 -0
  2003. package/dist/ai/kit/hook/uikit/HOOK_KEBAB_CASE_FILES.xml +6 -0
  2004. package/dist/ai/kit/hook/uikit/HOOK_NO_HOST_SELECTOR.xml +6 -0
  2005. package/dist/ai/kit/hook/uikit/HOOK_OVERRIDE_COMMENTS_PRESENT.xml +6 -0
  2006. package/dist/ai/kit/hook/uikit/HOOK_SB_A11Y_AUDIT_CONFIG.xml +6 -0
  2007. package/dist/ai/kit/hook/uikit/hook-aria-attributes-present.xml +6 -0
  2008. package/dist/ai/kit/hook/uikit/hook-data-state-present.xml +6 -0
  2009. package/dist/ai/kit/hook/uikit/hook-kebab-case-files.xml +6 -0
  2010. package/dist/ai/kit/hook/uikit/hook-no-host-selector.xml +6 -0
  2011. package/dist/ai/kit/hook/uikit/hook-override-comments-present.xml +6 -0
  2012. package/dist/ai/kit/hook/uikit/hook-sb-a11y-audit-config.xml +6 -0
  2013. package/dist/ai/kit/lint-axioms.ts +102 -0
  2014. package/dist/ai/kit/pattern/e2e/pt-cli-explore-loop.xml +29 -0
  2015. package/dist/ai/kit/pattern/e2e/pt-e2e-auth-setup-project.xml +20 -0
  2016. package/dist/ai/kit/pattern/e2e/pt-e2e-ax-snapshot-baseline.xml +21 -0
  2017. package/dist/ai/kit/pattern/e2e/pt-e2e-fixture-pom.xml +31 -0
  2018. package/dist/ai/kit/pattern/e2e/pt-e2e-interaction-delta.xml +19 -0
  2019. package/dist/ai/kit/pattern/e2e/pt-e2e-network-mock.xml +21 -0
  2020. package/dist/ai/kit/pattern/infra/pt-dependency-addition.xml +21 -0
  2021. package/dist/ai/kit/pattern/infra/pt-esm-builtins.xml +14 -0
  2022. package/dist/ai/kit/pattern/infra/pt-lint-config-shape.xml +104 -0
  2023. package/dist/ai/kit/pattern/infra/pt-minimal-package-json.xml +21 -0
  2024. package/dist/ai/kit/pattern/infra/pt-npm-script-shape.xml +18 -0
  2025. package/dist/ai/kit/pattern/infra/pt-npmrc.xml +10 -0
  2026. package/dist/ai/kit/pattern/infra/pt-nvmrc.xml +6 -0
  2027. package/dist/ai/kit/pattern/infra/pt-rule-audit-protocol.xml +40 -0
  2028. package/dist/ai/kit/pattern/spec/example-contracts.xml +20 -0
  2029. package/dist/ai/kit/pattern/spec/example-infrastructure.xml +28 -0
  2030. package/dist/ai/kit/pattern/spec/example-library.xml +21 -0
  2031. package/dist/ai/kit/pattern/spec/example-product.xml +19 -0
  2032. package/dist/ai/kit/pattern/storybook/pt-canonical-stories-file.xml +74 -0
  2033. package/dist/ai/kit/pattern/storybook/pt-sb-composed-story-with-play.xml +37 -0
  2034. package/dist/ai/kit/pattern/storybook/pt-story-with-visual-contract.xml +20 -0
  2035. package/dist/ai/kit/pattern/svelte/pt-basic-component-with-runes.xml +27 -0
  2036. package/dist/ai/kit/pattern/svelte/pt-bindable-prop.xml +14 -0
  2037. package/dist/ai/kit/pattern/svelte/pt-component-svelte-template.xml +54 -0
  2038. package/dist/ai/kit/pattern/svelte/pt-effect-with-teardown.xml +17 -0
  2039. package/dist/ai/kit/pattern/svelte/pt-form-action-with-fail.xml +24 -0
  2040. package/dist/ai/kit/pattern/svelte/pt-page-consuming-load.xml +17 -0
  2041. package/dist/ai/kit/pattern/svelte/pt-server-hook-auth.xml +18 -0
  2042. package/dist/ai/kit/pattern/svelte/pt-server-load.xml +21 -0
  2043. package/dist/ai/kit/pattern/svelte/pt-snippet-and-render.xml +17 -0
  2044. package/dist/ai/kit/pattern/svelte/pt-svelte-test-effect-root-for-runes.xml +30 -0
  2045. package/dist/ai/kit/pattern/svelte/pt-svelte-test-render-and-assert.xml +22 -0
  2046. package/dist/ai/kit/pattern/svelte/pt-svelte-test-user-interaction-with-flush.xml +28 -0
  2047. package/dist/ai/kit/pattern/testing/pt-async-retry-with-brief.xml +48 -0
  2048. package/dist/ai/kit/pattern/testing/pt-di-over-mock.xml +53 -0
  2049. package/dist/ai/kit/pattern/testing/pt-direct-scalar-case.xml +20 -0
  2050. package/dist/ai/kit/pattern/testing/pt-error-path-with-assert-rejects.xml +35 -0
  2051. package/dist/ai/kit/pattern/testing/pt-fixture-and-observe-aggregation.xml +43 -0
  2052. package/dist/ai/kit/pattern/testing/pt-lifecycle-context-with-cleanup.xml +48 -0
  2053. package/dist/ai/kit/pattern/testing/pt-mock-fn-interaction-contract.xml +40 -0
  2054. package/dist/ai/kit/pattern/testing/pt-unified-factory-context.xml +58 -0
  2055. package/dist/ai/kit/pattern/typescript/pt-async-operation-with-timing.xml +40 -0
  2056. package/dist/ai/kit/pattern/typescript/pt-direct-implementation-with-log-and-error.xml +48 -0
  2057. package/dist/ai/kit/pattern/typescript/pt-expressive-terseness.xml +11 -0
  2058. package/dist/ai/kit/pattern/typescript/pt-module-and-data-type.xml +20 -0
  2059. package/dist/ai/kit/pattern/typescript/pt-service-contract-interface.xml +28 -0
  2060. package/dist/ai/kit/pattern/typescript/pt-type-narrowing-and-modern-operators.xml +36 -0
  2061. package/dist/ai/kit/pattern/uikit/pt-module-css-template.xml +26 -0
  2062. package/dist/ai/kit/pattern/uikit/pt-tokens-css-template.xml +17 -0
  2063. package/dist/ai/kit/render.d.ts +36 -0
  2064. package/dist/ai/kit/render.ts +87 -0
  2065. package/dist/ai/kit/templates/coding/result-conventions.hbs +37 -0
  2066. package/dist/ai/kit/templates/coding/result-conventions.xml +37 -0
  2067. package/dist/ai/kit/templates/sdd-v2/agent-inbox/code-lens.directive.hbs +109 -0
  2068. package/dist/ai/kit/templates/sdd-v2/agent-inbox/enrich.directive.hbs +203 -0
  2069. package/dist/ai/kit/templates/sdd-v2/agent-inbox/security-lens.directive.hbs +161 -0
  2070. package/dist/ai/kit/templates/sdd-v2/agent-inbox/synthesize.directive.hbs +114 -0
  2071. package/dist/ai/kit/templates/sdd-v2/agent-inbox/track-review.directive.hbs +442 -0
  2072. package/dist/ai/kit/templates/sdd-v2/amplify-nfr.directive.hbs +73 -0
  2073. package/dist/ai/kit/templates/sdd-v2/amplify-observability.directive.hbs +73 -0
  2074. package/dist/ai/kit/templates/sdd-v2/amplify-security.directive.hbs +70 -0
  2075. package/dist/ai/kit/templates/sdd-v2/amplify-storage.directive.hbs +71 -0
  2076. package/dist/ai/kit/templates/sdd-v2/audit.directive.hbs +241 -0
  2077. package/dist/ai/kit/templates/sdd-v2/code-review.directive.hbs +90 -0
  2078. package/dist/ai/kit/templates/sdd-v2/compression.directive.hbs +113 -0
  2079. package/dist/ai/kit/templates/sdd-v2/critic-protocol.directive.hbs +93 -0
  2080. package/dist/ai/kit/templates/sdd-v2/critic.directive.hbs +103 -0
  2081. package/dist/ai/kit/templates/sdd-v2/discover-from-code.directive.hbs +115 -0
  2082. package/dist/ai/kit/templates/sdd-v2/execute.directive.hbs +186 -0
  2083. package/dist/ai/kit/templates/sdd-v2/formats/audit-round.hbs +1 -0
  2084. package/dist/ai/kit/templates/sdd-v2/formats/change-manifest.hbs +1 -0
  2085. package/dist/ai/kit/templates/sdd-v2/formats/dbc-contracts.hbs +3 -0
  2086. package/dist/ai/kit/templates/sdd-v2/formats/diagram-vocabulary.hbs +181 -0
  2087. package/dist/ai/kit/templates/sdd-v2/formats/entity-inventory-format.hbs +1 -0
  2088. package/dist/ai/kit/templates/sdd-v2/formats/entity-surface-format.hbs +1 -0
  2089. package/dist/ai/kit/templates/sdd-v2/formats/infra-base-minimal-spec.hbs +1 -0
  2090. package/dist/ai/kit/templates/sdd-v2/formats/infrastructure-spec-structure.hbs +1 -0
  2091. package/dist/ai/kit/templates/sdd-v2/formats/interface-spec-structure.hbs +1 -0
  2092. package/dist/ai/kit/templates/sdd-v2/formats/library-spec-structure.hbs +1 -0
  2093. package/dist/ai/kit/templates/sdd-v2/formats/module-map-update.hbs +1 -0
  2094. package/dist/ai/kit/templates/sdd-v2/formats/module-spec-structure.hbs +1 -0
  2095. package/dist/ai/kit/templates/sdd-v2/formats/module-tasks-index.hbs +1 -0
  2096. package/dist/ai/kit/templates/sdd-v2/formats/nfr-budgets-format.hbs +1 -0
  2097. package/dist/ai/kit/templates/sdd-v2/formats/pivot-formats.hbs +3 -0
  2098. package/dist/ai/kit/templates/sdd-v2/formats/portal-structure.hbs +1 -0
  2099. package/dist/ai/kit/templates/sdd-v2/formats/product-spec-structure.hbs +1 -0
  2100. package/dist/ai/kit/templates/sdd-v2/formats/project-tasks-index.hbs +1 -0
  2101. package/dist/ai/kit/templates/sdd-v2/formats/scope-tasks-index.hbs +1 -0
  2102. package/dist/ai/kit/templates/sdd-v2/formats/security-section-format.hbs +1 -0
  2103. package/dist/ai/kit/templates/sdd-v2/formats/task-ticket-structure.hbs +1 -0
  2104. package/dist/ai/kit/templates/sdd-v2/infra.directive.hbs +180 -0
  2105. package/dist/ai/kit/templates/sdd-v2/interface.directive.hbs +154 -0
  2106. package/dist/ai/kit/templates/sdd-v2/interview-protocol.directive.hbs +254 -0
  2107. package/dist/ai/kit/templates/sdd-v2/migration-v1-v2.directive.hbs +301 -0
  2108. package/dist/ai/kit/templates/sdd-v2/module.directive.hbs +247 -0
  2109. package/dist/ai/kit/templates/sdd-v2/phase-execution-protocol.directive.hbs +202 -0
  2110. package/dist/ai/kit/templates/sdd-v2/readiness.directive.hbs +143 -0
  2111. package/dist/ai/kit/templates/sdd-v2/reconcile.directive.hbs +183 -0
  2112. package/dist/ai/kit/templates/sdd-v2/recover-from-code.directive.hbs +153 -0
  2113. package/dist/ai/kit/templates/sdd-v2/review-lifecycle.directive.hbs +70 -0
  2114. package/dist/ai/kit/templates/sdd-v2/root.directive.hbs +133 -0
  2115. package/dist/ai/kit/templates/sdd-v2/router.directive.hbs +179 -0
  2116. package/dist/ai/kit/templates/sdd-v2/scaffold.directive.hbs +227 -0
  2117. package/dist/ai/kit/templates/sdd-v2/scope.directive.hbs +236 -0
  2118. package/dist/ai/skills/README.md +133 -0
  2119. package/dist/ai/skills/agent-inbox/SKILL.md +48 -0
  2120. package/dist/ai/skills/opencode-get-session/SKILL.md +149 -0
  2121. package/dist/ai/skills/prd-interview/PRD_TEMPLATE.md +84 -0
  2122. package/dist/ai/skills/prd-interview/SKILL.md +133 -0
  2123. package/dist/ai/skills/sdd/SKILL.md +30 -0
  2124. package/dist/ai/skills/sdd-audit/SKILL.md +2 -2
  2125. package/dist/ai/skills/sdd-check/SKILL.md +21 -134
  2126. package/dist/ai/skills/sdd-code-review/SKILL.md +27 -0
  2127. package/dist/ai/skills/sdd-critic/SKILL.md +26 -5
  2128. package/dist/ai/skills/sdd-execute/SKILL.md +29 -200
  2129. package/dist/ai/skills/sdd-reconcile/SKILL.md +32 -0
  2130. package/dist/ai/skills/sdd-scaffold/SKILL.md +34 -6
  2131. package/dist/ai/skills/workspace-permission-setup/SKILL.md +194 -0
  2132. package/dist/chunks/classify-mr-stage.logic-BiCHTmPp.js +53 -0
  2133. package/dist/chunks/classify-mr-stage.logic-ClmhzQPQ.js +53 -0
  2134. package/dist/chunks/config-help-Ws1ngThF.js +6 -0
  2135. package/dist/chunks/config-index-9VHWSDQD.js +104 -0
  2136. package/dist/chunks/config-index-RFeqlDWs.js +104 -0
  2137. package/dist/chunks/devtools-b0DwO1x_.js +79 -0
  2138. package/dist/chunks/devtools-p8tmPuLn.js +79 -0
  2139. package/dist/chunks/eval.cmd-CwNPaNJd.js +34 -0
  2140. package/dist/chunks/eval.cmd-ewU5lcUY.js +34 -0
  2141. package/dist/chunks/help-1HebbN64.js +8 -0
  2142. package/dist/chunks/help-B6e1u35w.js +10 -0
  2143. package/dist/chunks/help-BD8-LEeF.js +6 -0
  2144. package/dist/chunks/help-BOdcV1vC.js +8 -0
  2145. package/dist/chunks/help-BPpFjSZ8.js +24 -0
  2146. package/dist/chunks/help-BSbJO97m.js +20 -0
  2147. package/dist/chunks/help-BZy6KWe9.js +8 -0
  2148. package/dist/chunks/help-Bb-4xa8Y.js +18 -0
  2149. package/dist/chunks/help-BiBPW0kL.js +8 -0
  2150. package/dist/chunks/help-BsFBbl5r.js +18 -0
  2151. package/dist/chunks/help-BtKSJyz4.js +10 -0
  2152. package/dist/chunks/help-BvuhpOU_.js +12 -0
  2153. package/dist/chunks/help-C0GfohvW.js +16 -0
  2154. package/dist/chunks/help-C1rYrToJ.js +18 -0
  2155. package/dist/chunks/help-C3Ykc-Nc.js +12 -0
  2156. package/dist/chunks/help-C60JqpOe.js +28 -0
  2157. package/dist/chunks/help-CT3nxECq.js +20 -0
  2158. package/dist/chunks/help-CXLu7Or0.js +8 -0
  2159. package/dist/chunks/help-Cfd8vzFC.js +12 -0
  2160. package/dist/chunks/help-CplOgbQt.js +6 -0
  2161. package/dist/chunks/help-D-EH655m.js +10 -0
  2162. package/dist/chunks/help-D5cXtdMI.js +7 -0
  2163. package/dist/chunks/help-DGVzsKCv.js +12 -0
  2164. package/dist/chunks/help-Db0rU0KC.js +18 -0
  2165. package/dist/chunks/help-Db1OZhxV.js +12 -0
  2166. package/dist/chunks/help-DraLofyl.js +14 -0
  2167. package/dist/chunks/help-Dwrtbr7t.js +12 -0
  2168. package/dist/chunks/help-DzGnMNi2.js +7 -0
  2169. package/dist/chunks/help-_U6NUUQV.js +10 -0
  2170. package/dist/chunks/help-krcRU3UT.js +14 -0
  2171. package/dist/chunks/help-n8XrJTZI.js +14 -0
  2172. package/dist/chunks/help-xpLrOCjw.js +12 -0
  2173. package/dist/chunks/help.cmd-B3JddBhg.js +52 -0
  2174. package/dist/chunks/index--AXFi0ty.js +89 -0
  2175. package/dist/chunks/index-2BOEcJIa.js +125 -0
  2176. package/dist/chunks/index-3k7mPX1e.js +658 -0
  2177. package/dist/chunks/index-43GiH--T.js +20 -0
  2178. package/dist/chunks/index-64TSesTc.js +186 -0
  2179. package/dist/chunks/index-9Gv5trS_.js +125 -0
  2180. package/dist/chunks/index-B1DQIryA.js +2 -0
  2181. package/dist/chunks/index-B1PiBeQ3.js +2 -0
  2182. package/dist/chunks/index-B4rzuhkt.js +183 -0
  2183. package/dist/chunks/index-B97HJjkg.js +159 -0
  2184. package/dist/chunks/index-BAEIZVx0.js +443 -0
  2185. package/dist/chunks/index-BF6qypm0.js +131 -0
  2186. package/dist/chunks/index-BFUkVkSo.js +108 -0
  2187. package/dist/chunks/index-BIPebtDl.js +16979 -0
  2188. package/dist/chunks/index-BK84ZQsh.js +128 -0
  2189. package/dist/chunks/index-BOKv0b01.js +186 -0
  2190. package/dist/chunks/index-BOQl7F_Z.js +96 -0
  2191. package/dist/chunks/index-BRVIirjj.js +141 -0
  2192. package/dist/chunks/index-BVnJEutp.js +56 -0
  2193. package/dist/chunks/index-BXnryCGW.js +96 -0
  2194. package/dist/chunks/index-BYIzl-Ut.js +346 -0
  2195. package/dist/chunks/index-BaZm7Otb.js +2 -0
  2196. package/dist/chunks/index-BdkFKsMm.js +340 -0
  2197. package/dist/chunks/index-Bhk746A2.js +129 -0
  2198. package/dist/chunks/index-Bi-eY_dY.js +164 -0
  2199. package/dist/chunks/index-BjumU69g.js +2 -0
  2200. package/dist/chunks/index-BkWXcpXU.js +16979 -0
  2201. package/dist/chunks/index-BlY4jQIA.js +168 -0
  2202. package/dist/chunks/index-BmFT1Kx2.js +141 -0
  2203. package/dist/chunks/index-BwN5llCR.js +164 -0
  2204. package/dist/chunks/index-BzmR4Es2.js +377 -0
  2205. package/dist/chunks/index-C0iy7GxD.js +140 -0
  2206. package/dist/chunks/index-CCBTXczb.js +56 -0
  2207. package/dist/chunks/index-CDAfkSrr.js +2 -0
  2208. package/dist/chunks/index-CDHymWzC.js +102 -0
  2209. package/dist/chunks/index-CDxV4b81.js +69 -0
  2210. package/dist/chunks/index-CMCn9ErF.js +90 -0
  2211. package/dist/chunks/index-CNfXJAao.js +2 -0
  2212. package/dist/chunks/index-CQsae1nq.js +207 -0
  2213. package/dist/chunks/index-CS0VbiLD.js +52 -0
  2214. package/dist/chunks/index-CUkeTGqM.js +129 -0
  2215. package/dist/chunks/index-CVmd0prf.js +2 -0
  2216. package/dist/chunks/index-CXpkT25O.js +183 -0
  2217. package/dist/chunks/index-CZuTNeNm.js +2 -0
  2218. package/dist/chunks/index-CasNhhrL.js +96 -0
  2219. package/dist/chunks/index-Ce7GWENF.js +377 -0
  2220. package/dist/chunks/index-Cf-02TAg.js +265 -0
  2221. package/dist/chunks/index-CfjQWSrh.js +52 -0
  2222. package/dist/chunks/index-Chr7gBBz.js +443 -0
  2223. package/dist/chunks/index-Ci875Zlg.js +346 -0
  2224. package/dist/chunks/index-Ck8v_Gv7.js +46 -0
  2225. package/dist/chunks/index-ClJLPEUB.js +7 -0
  2226. package/dist/chunks/index-Cm7U1-fU.js +89 -0
  2227. package/dist/chunks/index-CmQO-RmM.js +168 -0
  2228. package/dist/chunks/index-Cn029KTN.js +3793 -0
  2229. package/dist/chunks/index-CrizvxOJ.js +96 -0
  2230. package/dist/chunks/index-Ctcr_Qeu.js +136 -0
  2231. package/dist/chunks/index-CwA6RzIB.js +3793 -0
  2232. package/dist/chunks/index-D1dI63ej.js +46 -0
  2233. package/dist/chunks/index-DCS32A2i.js +663 -0
  2234. package/dist/chunks/index-DIPrBH-4.js +159 -0
  2235. package/dist/chunks/index-DOFoNxvb.js +131 -0
  2236. package/dist/chunks/index-DS4MhAw-.js +207 -0
  2237. package/dist/chunks/index-DVkCEuws.js +136 -0
  2238. package/dist/chunks/index-DVmqMmgb.js +1054 -0
  2239. package/dist/chunks/index-Db13NlHh.js +128 -0
  2240. package/dist/chunks/index-DiMFxS0z.js +265 -0
  2241. package/dist/chunks/index-DjSafAkN.js +102 -0
  2242. package/dist/chunks/index-Dja2O-hV.js +663 -0
  2243. package/dist/chunks/index-DkadaaXq.js +658 -0
  2244. package/dist/chunks/index-Dn11CLtk.js +7 -0
  2245. package/dist/chunks/index-Do3spFJT.js +340 -0
  2246. package/dist/chunks/index-DrFRZ0Yg.js +2 -0
  2247. package/dist/chunks/index-Drh-J9O7.js +227 -0
  2248. package/dist/chunks/index-DvEQhXi2.js +1054 -0
  2249. package/dist/chunks/index-Dx5_CB2E.js +143 -0
  2250. package/dist/chunks/index-GiS0x6jg.js +90 -0
  2251. package/dist/chunks/index-J2NvjjDV.js +26969 -0
  2252. package/dist/chunks/index-NacvqeQ5.js +69 -0
  2253. package/dist/chunks/index-RNJhFzdr.js +227 -0
  2254. package/dist/chunks/index-RR5OUxje.js +140 -0
  2255. package/dist/chunks/index-R_vUB6CL.js +2 -0
  2256. package/dist/chunks/index-RzkvIfJQ.js +279 -0
  2257. package/dist/chunks/index-TQft1s5H.js +20 -0
  2258. package/dist/chunks/index-ZmQRP38W.js +26969 -0
  2259. package/dist/chunks/index-jdOZ4AkD.js +143 -0
  2260. package/dist/chunks/index-kNa21kUI.js +279 -0
  2261. package/dist/chunks/index-v4AV9kAc.js +108 -0
  2262. package/dist/chunks/readonly.config.json +14 -0
  2263. package/dist/chunks/run-review-command.logic-CA2Rjymb.js +331 -0
  2264. package/dist/chunks/run-review-command.logic-CU1Slmc_.js +331 -0
  2265. package/dist/chunks/serve.cmd-RxYS6WoN.js +162 -0
  2266. package/dist/chunks/serve.cmd-dWu_k_G_.js +162 -0
  2267. package/dist/chunks/services-Csd556Tv.js +46832 -0
  2268. package/dist/chunks/services-CwvXl2MB.js +46832 -0
  2269. package/dist/chunks/shared-B5CTGvpG.js +4509 -0
  2270. package/dist/chunks/shared-DSZTUx5b.js +4509 -0
  2271. package/dist/chunks/stats-help-BnLpk6Ns.js +6 -0
  2272. package/dist/chunks/stats-index-BLztvK69.js +66 -0
  2273. package/dist/chunks/stats-index-H6ALcjxy.js +66 -0
  2274. package/dist/cli/cmd/_shared/create-vcs-client.d.ts +8 -0
  2275. package/dist/cli/cmd/_shared/log-filter.d.ts +6 -0
  2276. package/dist/cli/cmd/_shared/vcs-context-resolver.d.ts +65 -0
  2277. package/dist/cli/cmd/alt-opinion/alt-opinion-parser.d.ts +1 -6
  2278. package/dist/cli/cmd/alt-opinion/alt-opinion-runner.d.ts +1 -5
  2279. package/dist/cli/cmd/alt-opinion/alt-opinion.cmd.d.ts +1 -5
  2280. package/dist/cli/cmd/inbox/_core/logic/build-inbox-context.logic.d.ts +12 -0
  2281. package/dist/cli/cmd/inbox/_core/logic/build-inbox-view.logic.d.ts +92 -0
  2282. package/dist/cli/cmd/inbox/_core/logic/classify-inbox.logic.d.ts +20 -0
  2283. package/dist/cli/cmd/inbox/_core/logic/classify-mr-stage.logic.d.ts +72 -0
  2284. package/dist/cli/cmd/inbox/_core/logic/inbox-config.logic.d.ts +41 -0
  2285. package/dist/cli/cmd/inbox/_core/logic/inbox-registry.logic.d.ts +77 -0
  2286. package/dist/cli/cmd/inbox/_core/logic/parse-mr-activity.logic.d.ts +17 -0
  2287. package/dist/cli/cmd/inbox/_core/logic/render-inbox-view.logic.d.ts +31 -0
  2288. package/dist/cli/cmd/inbox/_core/logic/repos-map.logic.d.ts +19 -0
  2289. package/dist/cli/cmd/inbox/_core/logic/state-paths.logic.d.ts +53 -0
  2290. package/dist/cli/cmd/inbox/config-help.d.ts +2 -0
  2291. package/dist/cli/cmd/inbox/config-index.d.ts +1 -0
  2292. package/dist/cli/cmd/inbox/config.cmd.d.ts +1 -0
  2293. package/dist/cli/cmd/inbox/eval.cmd.d.ts +8 -0
  2294. package/dist/cli/cmd/inbox/help.d.ts +4 -0
  2295. package/dist/cli/cmd/inbox/inbox.cmd.d.ts +2 -0
  2296. package/dist/cli/cmd/inbox/index.d.ts +1 -0
  2297. package/dist/cli/cmd/inbox/serve/help.d.ts +4 -0
  2298. package/dist/cli/cmd/inbox/serve.cmd.d.ts +2 -0
  2299. package/dist/cli/cmd/inbox/stats-help.d.ts +2 -0
  2300. package/dist/cli/cmd/inbox/stats-index.d.ts +1 -0
  2301. package/dist/cli/cmd/inbox/stats.cmd.d.ts +2 -0
  2302. package/dist/cli/cmd/inbox-context/help.d.ts +4 -0
  2303. package/dist/cli/cmd/inbox-context/inbox-context.cmd.d.ts +2 -0
  2304. package/dist/cli/cmd/inbox-context/index.d.ts +2 -0
  2305. package/dist/cli/cmd/inbox-eval/inbox-eval.cmd.d.ts +20 -0
  2306. package/dist/cli/cmd/inbox-review-plan/inbox-review-plan.cmd.d.ts +109 -0
  2307. package/dist/cli/cmd/inbox-review-plan/index.d.ts +1 -0
  2308. package/dist/cli/cmd/lint/checks/anchor-class-body.check.d.ts +1 -4
  2309. package/dist/cli/cmd/lint/checks/anchor-thin.check.d.ts +10 -0
  2310. package/dist/cli/cmd/lint/checks/cast-safety.check.d.ts +9 -0
  2311. package/dist/cli/cmd/lint/checks/inventory-sync.check.d.ts +27 -0
  2312. package/dist/cli/cmd/lint/checks/region-comment.check.d.ts +14 -0
  2313. package/dist/cli/cmd/lint/checks/word-count.check.d.ts +13 -0
  2314. package/dist/cli/cmd/lint/lint.cmd.d.ts +1 -1
  2315. package/dist/cli/cmd/lint/lint.types.d.ts +26 -3
  2316. package/dist/cli/cmd/lint/utils/resolve-references.fn.d.ts +1 -2
  2317. package/dist/cli/cmd/mr-stats/help.d.ts +4 -0
  2318. package/dist/cli/cmd/mr-stats/index.d.ts +1 -0
  2319. package/dist/cli/cmd/mr-stats/mr-stats.cmd.d.ts +7 -0
  2320. package/dist/cli/cmd/review/_core/logic/load-review-context-mr.logic.d.ts +3 -2
  2321. package/dist/cli/cmd/review/_core/types/review-command-args.type.d.ts +6 -0
  2322. package/dist/cli/cmd/review/_core/types/review-command-options.type.d.ts +3 -0
  2323. package/dist/cli/cmd/review/_core/types/review-context-mr.type.d.ts +2 -0
  2324. package/dist/cli/cmd/review/_core/xml/build-review-artifact.xml.d.ts +4 -2
  2325. package/dist/cli/cmd/run/help.d.ts +4 -0
  2326. package/dist/cli/cmd/run/index.d.ts +1 -0
  2327. package/dist/cli/cmd/run/run.cmd.d.ts +12 -0
  2328. package/dist/cli/cmd/sdd-check/help.d.ts +4 -0
  2329. package/dist/cli/cmd/sdd-check/index.d.ts +1 -0
  2330. package/dist/cli/cmd/sdd-check/sdd-check.cmd.d.ts +7 -0
  2331. package/dist/cli/cmd/sdd-check/sdd-check.types.d.ts +31 -0
  2332. package/dist/cli/cmd/sdd-extract/help.d.ts +4 -0
  2333. package/dist/cli/cmd/sdd-extract/index.d.ts +1 -0
  2334. package/dist/cli/cmd/sdd-extract/sdd-extract.cmd.d.ts +7 -0
  2335. package/dist/cli/cmd/sdd-extract/sdd-extract.types.d.ts +61 -0
  2336. package/dist/cli/cmd/sdd-log/help.d.ts +4 -0
  2337. package/dist/cli/cmd/sdd-log/index.d.ts +1 -0
  2338. package/dist/cli/cmd/sdd-log/sdd-log.cmd.d.ts +9 -0
  2339. package/dist/cli/cmd/sdd-log/sdd-log.types.d.ts +110 -0
  2340. package/dist/cli/cmd/sdd-migrate/help.d.ts +4 -0
  2341. package/dist/cli/cmd/sdd-migrate/index.d.ts +1 -0
  2342. package/dist/cli/cmd/sdd-migrate/sdd-migrate.cmd.d.ts +9 -0
  2343. package/dist/cli/cmd/sdd-migrate/sdd-migrate.types.d.ts +23 -0
  2344. package/dist/cli/cmd/sdd-new/help.d.ts +4 -0
  2345. package/dist/cli/cmd/sdd-new/index.d.ts +1 -0
  2346. package/dist/cli/cmd/sdd-new/sdd-new.cmd.d.ts +33 -0
  2347. package/dist/cli/cmd/sdd-new/sdd-new.types.d.ts +71 -0
  2348. package/dist/cli/cmd/sdd-state/help.d.ts +4 -0
  2349. package/dist/cli/cmd/sdd-state/index.d.ts +1 -0
  2350. package/dist/cli/cmd/sdd-state/sdd-state.cmd.d.ts +7 -0
  2351. package/dist/cli/cmd/sdd-state/sdd-state.types.d.ts +62 -0
  2352. package/dist/cli/cmd/sdd-sync/help.d.ts +4 -0
  2353. package/dist/cli/cmd/sdd-sync/index.d.ts +1 -0
  2354. package/dist/cli/cmd/sdd-sync/sdd-sync.cmd.d.ts +7 -0
  2355. package/dist/cli/cmd/sdd-sync/sdd-sync.types.d.ts +39 -0
  2356. package/dist/cli/cmd/sdd-task/help.d.ts +4 -0
  2357. package/dist/cli/cmd/sdd-task/index.d.ts +1 -0
  2358. package/dist/cli/cmd/sdd-task/sdd-task.cmd.d.ts +7 -0
  2359. package/dist/cli/cmd/sdd-task/sdd-task.types.d.ts +53 -0
  2360. package/dist/cli/cmd/sdd-verify/help.d.ts +4 -0
  2361. package/dist/cli/cmd/sdd-verify/index.d.ts +1 -0
  2362. package/dist/cli/cmd/sdd-verify/sdd-verify.cmd.d.ts +15 -0
  2363. package/dist/cli/cmd/sdd-verify/sdd-verify.types.d.ts +73 -0
  2364. package/dist/cli/cmd/sync/sync-core.d.ts +1 -1
  2365. package/dist/cli/cmd/sync/sync.cmd.d.ts +1 -4
  2366. package/dist/cli/cmd/sync-skills/sync-skills.cmd.d.ts +1 -4
  2367. package/dist/cli/cmd/testcov/coverage-threshold.d.ts +33 -0
  2368. package/dist/cli/cmd/testcov/help.d.ts +4 -0
  2369. package/dist/cli/cmd/testcov/index.d.ts +1 -0
  2370. package/dist/cli/cmd/testcov/testcov.cmd.d.ts +1 -0
  2371. package/dist/cli/cmd/vcs-approve/help.d.ts +5 -0
  2372. package/dist/cli/cmd/vcs-approve/index.d.ts +1 -0
  2373. package/dist/cli/cmd/vcs-approve/vcs-approve.cmd.d.ts +28 -0
  2374. package/dist/cli/cmd/vcs-diff/help.d.ts +5 -0
  2375. package/dist/cli/cmd/vcs-diff/index.d.ts +2 -0
  2376. package/dist/cli/cmd/vcs-diff/vcs-diff.cmd.d.ts +29 -0
  2377. package/dist/cli/cmd/vcs-discussions/help.d.ts +5 -0
  2378. package/dist/cli/cmd/vcs-discussions/index.d.ts +1 -0
  2379. package/dist/cli/cmd/vcs-discussions/vcs-discussions.cmd.d.ts +18 -0
  2380. package/dist/cli/cmd/vcs-draft-note/help.d.ts +5 -0
  2381. package/dist/cli/cmd/vcs-draft-note/index.d.ts +1 -0
  2382. package/dist/cli/cmd/vcs-draft-note/vcs-draft-note.cmd.d.ts +30 -0
  2383. package/dist/cli/cmd/vcs-job/help.d.ts +5 -0
  2384. package/dist/cli/cmd/vcs-job/index.d.ts +2 -0
  2385. package/dist/cli/cmd/vcs-job/vcs-job.cmd.d.ts +31 -0
  2386. package/dist/cli/cmd/vcs-job-log/help.d.ts +5 -0
  2387. package/dist/cli/cmd/vcs-job-log/index.d.ts +2 -0
  2388. package/dist/cli/cmd/vcs-job-log/vcs-job-log.cmd.d.ts +28 -0
  2389. package/dist/cli/cmd/vcs-mr-create/help.d.ts +5 -0
  2390. package/dist/cli/cmd/vcs-mr-create/index.d.ts +1 -0
  2391. package/dist/cli/cmd/vcs-mr-create/vcs-mr-create.cmd.d.ts +19 -0
  2392. package/dist/cli/cmd/vcs-mr-edit/help.d.ts +5 -0
  2393. package/dist/cli/cmd/vcs-mr-edit/index.d.ts +1 -0
  2394. package/dist/cli/cmd/vcs-mr-edit/vcs-mr-edit.cmd.d.ts +18 -0
  2395. package/dist/cli/cmd/vcs-pipeline/help.d.ts +5 -0
  2396. package/dist/cli/cmd/vcs-pipeline/index.d.ts +2 -0
  2397. package/dist/cli/cmd/vcs-pipeline/vcs-pipeline.cmd.d.ts +29 -0
  2398. package/dist/cli/cmd/vcs-react/help.d.ts +5 -0
  2399. package/dist/cli/cmd/vcs-react/index.d.ts +1 -0
  2400. package/dist/cli/cmd/vcs-react/vcs-react.cmd.d.ts +16 -0
  2401. package/dist/cli/cmd/vcs-reply/vcs-reply.cmd.d.ts +49 -8
  2402. package/dist/cli/cmd/vcs-todo/help.d.ts +4 -0
  2403. package/dist/cli/cmd/vcs-todo/index.d.ts +1 -0
  2404. package/dist/cli/cmd/vcs-todo/vcs-todo.cmd.d.ts +35 -0
  2405. package/dist/cli/cmd/vcs-worktree/_core/logic/locate-clone.logic.d.ts +38 -0
  2406. package/dist/cli/cmd/vcs-worktree/_core/logic/worktree-links.logic.d.ts +47 -0
  2407. package/dist/cli/cmd/vcs-worktree/_core/logic/worktree-ops.logic.d.ts +80 -0
  2408. package/dist/cli/cmd/vcs-worktree/help.d.ts +4 -0
  2409. package/dist/cli/cmd/vcs-worktree/index.d.ts +1 -0
  2410. package/dist/cli/cmd/vcs-worktree/vcs-worktree.cmd.d.ts +2 -0
  2411. package/dist/cli/cmd/yagni/help.d.ts +4 -0
  2412. package/dist/cli/cmd/yagni/index.d.ts +1 -0
  2413. package/dist/cli/cmd/yagni/yagni.cmd.d.ts +8 -0
  2414. package/dist/cli/cmd/yagni/yagni.types.d.ts +16 -0
  2415. package/dist/gennady.js +209 -21
  2416. package/dist/index.js +4 -4
  2417. package/dist/services/agent-inbox/modules/inbox-api/board-provider.mock.d.ts +157 -0
  2418. package/dist/services/agent-inbox/modules/inbox-api/board-provider.port.d.ts +79 -0
  2419. package/dist/services/agent-inbox/modules/inbox-api/board-provider.real.d.ts +139 -0
  2420. package/dist/services/agent-inbox/modules/inbox-api/dto/feed-widget.type.d.ts +87 -0
  2421. package/dist/services/agent-inbox/modules/inbox-api/dto/mr-card.type.d.ts +48 -0
  2422. package/dist/services/agent-inbox/modules/inbox-api/errors.d.ts +41 -0
  2423. package/dist/services/agent-inbox/modules/inbox-api/http-helpers.d.ts +46 -0
  2424. package/dist/services/agent-inbox/modules/inbox-api/http-server.d.ts +204 -0
  2425. package/dist/services/agent-inbox/modules/inbox-api/index.d.ts +7 -0
  2426. package/dist/services/agent-inbox/modules/inbox-api/projections/board-projection.d.ts +106 -0
  2427. package/dist/services/agent-inbox/modules/inbox-api/projections/feed-projection.d.ts +96 -0
  2428. package/dist/services/agent-inbox/modules/inbox-api/routers/artifact.router.d.ts +55 -0
  2429. package/dist/services/agent-inbox/modules/inbox-api/routers/audit.router.d.ts +27 -0
  2430. package/dist/services/agent-inbox/modules/inbox-api/routers/board.router.d.ts +40 -0
  2431. package/dist/services/agent-inbox/modules/inbox-api/routers/boot.router.d.ts +70 -0
  2432. package/dist/services/agent-inbox/modules/inbox-api/routers/chat.router.d.ts +133 -0
  2433. package/dist/services/agent-inbox/modules/inbox-api/routers/decision.router.d.ts +38 -0
  2434. package/dist/services/agent-inbox/modules/inbox-api/routers/diagnostics.router.d.ts +18 -0
  2435. package/dist/services/agent-inbox/modules/inbox-api/routers/feed.router.d.ts +27 -0
  2436. package/dist/services/agent-inbox/modules/inbox-api/routers/mr.router.d.ts +64 -0
  2437. package/dist/services/agent-inbox/modules/inbox-api/routers/mutate.router.d.ts +60 -0
  2438. package/dist/services/agent-inbox/modules/inbox-api/routers/role.router.d.ts +28 -0
  2439. package/dist/services/agent-inbox/modules/inbox-api/routers/state.router.d.ts +68 -0
  2440. package/dist/services/agent-inbox/modules/inbox-api/routers/stream.router.d.ts +33 -0
  2441. package/dist/services/agent-inbox/modules/inbox-api/routers/task.router.d.ts +28 -0
  2442. package/dist/services/agent-inbox/modules/inbox-api/sse-hub.d.ts +88 -0
  2443. package/dist/services/agent-inbox/modules/inbox-api/static-files.d.ts +34 -0
  2444. package/dist/services/agent-inbox/modules/inbox-api/types.d.ts +110 -0
  2445. package/dist/services/agent-inbox/modules/inbox-chat/anchor.d.ts +40 -0
  2446. package/dist/services/agent-inbox/modules/inbox-chat/chat-gc.d.ts +29 -0
  2447. package/dist/services/agent-inbox/modules/inbox-chat/chat-session.d.ts +119 -0
  2448. package/dist/services/agent-inbox/modules/inbox-chat/chat-transcript.d.ts +44 -0
  2449. package/dist/services/agent-inbox/modules/inbox-chat/context-assembler.d.ts +77 -0
  2450. package/dist/services/agent-inbox/modules/inbox-chat/errors.d.ts +19 -0
  2451. package/dist/services/agent-inbox/modules/inbox-chat/mutation-applier.d.ts +125 -0
  2452. package/dist/services/agent-inbox/modules/inbox-chat/mutation-flow.d.ts +94 -0
  2453. package/dist/services/agent-inbox/modules/inbox-chat/mutation-runtime.d.ts +91 -0
  2454. package/dist/services/agent-inbox/modules/inbox-chat/operator-session.d.ts +102 -0
  2455. package/dist/services/agent-inbox/modules/inbox-chat/origin.d.ts +20 -0
  2456. package/dist/services/agent-inbox/modules/inbox-chat/types.d.ts +76 -0
  2457. package/dist/services/agent-inbox/modules/inbox-core/adapters/controlled-clock.d.ts +45 -0
  2458. package/dist/services/agent-inbox/modules/inbox-core/adapters/in-memory-artifact-store.d.ts +27 -0
  2459. package/dist/services/agent-inbox/modules/inbox-core/adapters/in-memory-journal.d.ts +29 -0
  2460. package/dist/services/agent-inbox/modules/inbox-core/adapters/local-artifact-store.d.ts +36 -0
  2461. package/dist/services/agent-inbox/modules/inbox-core/adapters/system-clock.d.ts +22 -0
  2462. package/dist/services/agent-inbox/modules/inbox-core/audit-log.d.ts +64 -0
  2463. package/dist/services/agent-inbox/modules/inbox-core/boot-readiness.d.ts +106 -0
  2464. package/dist/services/agent-inbox/modules/inbox-core/capability-modes.d.ts +33 -0
  2465. package/dist/services/agent-inbox/modules/inbox-core/context-builder.d.ts +66 -0
  2466. package/dist/services/agent-inbox/modules/inbox-core/decision-journal.d.ts +121 -0
  2467. package/dist/services/agent-inbox/modules/inbox-core/dry-run.d.ts +49 -0
  2468. package/dist/services/agent-inbox/modules/inbox-core/errors.d.ts +19 -0
  2469. package/dist/services/agent-inbox/modules/inbox-core/event-journal.d.ts +144 -0
  2470. package/dist/services/agent-inbox/modules/inbox-core/finding-signature.d.ts +34 -0
  2471. package/dist/services/agent-inbox/modules/inbox-core/inbox-config.d.ts +68 -0
  2472. package/dist/services/agent-inbox/modules/inbox-core/inbox-registry.d.ts +135 -0
  2473. package/dist/services/agent-inbox/modules/inbox-core/ports/artifact-store.port.d.ts +44 -0
  2474. package/dist/services/agent-inbox/modules/inbox-core/ports/clock.port.d.ts +31 -0
  2475. package/dist/services/agent-inbox/modules/inbox-core/review-config.d.ts +63 -0
  2476. package/dist/services/agent-inbox/modules/inbox-core/runtime-profile.d.ts +57 -0
  2477. package/dist/services/agent-inbox/modules/inbox-core/runtime-profile.port.d.ts +71 -0
  2478. package/dist/services/agent-inbox/modules/inbox-core/state/review-change-batch.d.ts +101 -0
  2479. package/dist/services/agent-inbox/modules/inbox-core/state/review-lifecycle.d.ts +58 -0
  2480. package/dist/services/agent-inbox/modules/inbox-core/state/review-participation.d.ts +56 -0
  2481. package/dist/services/agent-inbox/modules/inbox-core/state/review-state.d.ts +79 -0
  2482. package/dist/services/agent-inbox/modules/inbox-core/state-store.d.ts +153 -0
  2483. package/dist/services/agent-inbox/modules/inbox-core/test-support/test-tmp.d.ts +14 -0
  2484. package/dist/services/agent-inbox/modules/inbox-core/types/review-event.type.d.ts +71 -0
  2485. package/dist/services/agent-inbox/modules/inbox-core/types/review-runtime-binding.type.d.ts +10 -0
  2486. package/dist/services/agent-inbox/modules/inbox-core/types/review-runtime-profile-spec.type.d.ts +15 -0
  2487. package/dist/services/agent-inbox/modules/inbox-core/types/review-runtime-roots.type.d.ts +9 -0
  2488. package/dist/services/agent-inbox/modules/inbox-core/vcs-inbox.mock.d.ts +61 -0
  2489. package/dist/services/agent-inbox/modules/inbox-core/vcs-inbox.port.d.ts +110 -0
  2490. package/dist/services/agent-inbox/modules/inbox-core/vcs-inbox.real.d.ts +146 -0
  2491. package/dist/services/agent-inbox/modules/inbox-core/vcs-validators.d.ts +7 -0
  2492. package/dist/services/agent-inbox/modules/inbox-dashboard/App.d.ts +4 -0
  2493. package/dist/services/agent-inbox/modules/inbox-dashboard/components/ActionPanel.d.ts +13 -0
  2494. package/dist/services/agent-inbox/modules/inbox-dashboard/components/ArtifactBrowser.d.ts +14 -0
  2495. package/dist/services/agent-inbox/modules/inbox-dashboard/components/ArtifactView.d.ts +10 -0
  2496. package/dist/services/agent-inbox/modules/inbox-dashboard/components/AwaitingQueue.d.ts +8 -0
  2497. package/dist/services/agent-inbox/modules/inbox-dashboard/components/BoardPage.d.ts +5 -0
  2498. package/dist/services/agent-inbox/modules/inbox-dashboard/components/BoardSkeleton.d.ts +5 -0
  2499. package/dist/services/agent-inbox/modules/inbox-dashboard/components/ChatComposer.d.ts +24 -0
  2500. package/dist/services/agent-inbox/modules/inbox-dashboard/components/ChatPanel.d.ts +21 -0
  2501. package/dist/services/agent-inbox/modules/inbox-dashboard/components/ChatThread.d.ts +19 -0
  2502. package/dist/services/agent-inbox/modules/inbox-dashboard/components/DebugLogButton.d.ts +5 -0
  2503. package/dist/services/agent-inbox/modules/inbox-dashboard/components/Header.d.ts +4 -0
  2504. package/dist/services/agent-inbox/modules/inbox-dashboard/components/KanbanLane.d.ts +16 -0
  2505. package/dist/services/agent-inbox/modules/inbox-dashboard/components/MrCard.d.ts +9 -0
  2506. package/dist/services/agent-inbox/modules/inbox-dashboard/components/MrDetailPage.d.ts +8 -0
  2507. package/dist/services/agent-inbox/modules/inbox-dashboard/components/MutationProposalCard.d.ts +19 -0
  2508. package/dist/services/agent-inbox/modules/inbox-dashboard/components/RoleBlock.d.ts +8 -0
  2509. package/dist/services/agent-inbox/modules/inbox-dashboard/components/SelectionPill.d.ts +18 -0
  2510. package/dist/services/agent-inbox/modules/inbox-dashboard/components/UnassignedBlock.d.ts +8 -0
  2511. package/dist/services/agent-inbox/modules/inbox-dashboard/components/ViewSwitch.d.ts +11 -0
  2512. package/dist/services/agent-inbox/modules/inbox-dashboard/dashboard-entry.d.ts +3 -0
  2513. package/dist/services/agent-inbox/modules/inbox-dashboard/dashboard-v2-api.d.ts +24 -0
  2514. package/dist/services/agent-inbox/modules/inbox-dashboard/dashboard-v2-ui.d.ts +93 -0
  2515. package/dist/services/agent-inbox/modules/inbox-dashboard/lib/utils.d.ts +19 -0
  2516. package/dist/services/agent-inbox/modules/inbox-dashboard/services/api-client.d.ts +73 -0
  2517. package/dist/services/agent-inbox/modules/inbox-dashboard/services/board-store.d.ts +39 -0
  2518. package/dist/services/agent-inbox/modules/inbox-dashboard/services/chat-api-client.d.ts +111 -0
  2519. package/dist/services/agent-inbox/modules/inbox-dashboard/services/debug-log.d.ts +44 -0
  2520. package/dist/services/agent-inbox/modules/inbox-dashboard/v2-types.d.ts +134 -0
  2521. package/dist/services/agent-inbox/modules/inbox-dashboard/vite.config.d.ts +5 -0
  2522. package/dist/services/agent-inbox/modules/inbox-eval/diff-hunk.d.ts +37 -0
  2523. package/dist/services/agent-inbox/modules/inbox-eval/eval-driver.d.ts +51 -0
  2524. package/dist/services/agent-inbox/modules/inbox-eval/eval-report.d.ts +48 -0
  2525. package/dist/services/agent-inbox/modules/inbox-eval/gates.d.ts +120 -0
  2526. package/dist/services/agent-inbox/modules/inbox-eval/harness.d.ts +44 -0
  2527. package/dist/services/agent-inbox/modules/inbox-eval/metrics.d.ts +56 -0
  2528. package/dist/services/agent-inbox/modules/inbox-eval/runs/autonomy.run.d.ts +9 -0
  2529. package/dist/services/agent-inbox/modules/inbox-eval/runs/boot.run.d.ts +7 -0
  2530. package/dist/services/agent-inbox/modules/inbox-eval/runs/chat.run.d.ts +7 -0
  2531. package/dist/services/agent-inbox/modules/inbox-eval/runs/context.d.ts +33 -0
  2532. package/dist/services/agent-inbox/modules/inbox-eval/runs/coverage-gate.run.d.ts +7 -0
  2533. package/dist/services/agent-inbox/modules/inbox-eval/runs/crash-recovery.run.d.ts +7 -0
  2534. package/dist/services/agent-inbox/modules/inbox-eval/runs/effects.run.d.ts +7 -0
  2535. package/dist/services/agent-inbox/modules/inbox-eval/runs/events.run.d.ts +7 -0
  2536. package/dist/services/agent-inbox/modules/inbox-eval/runs/index.d.ts +11 -0
  2537. package/dist/services/agent-inbox/modules/inbox-eval/runs/parallel.run.d.ts +7 -0
  2538. package/dist/services/agent-inbox/modules/inbox-eval/runs/pipeline.run.d.ts +7 -0
  2539. package/dist/services/agent-inbox/modules/inbox-eval/runs/role-pickup.run.d.ts +7 -0
  2540. package/dist/services/agent-inbox/modules/inbox-mocks/board.mock.d.ts +38 -0
  2541. package/dist/services/agent-inbox/modules/inbox-mocks/index.d.ts +6 -0
  2542. package/dist/services/agent-inbox/modules/inbox-mocks/mr.mock.d.ts +139 -0
  2543. package/dist/services/agent-inbox/modules/inbox-mocks/opencode.mock.d.ts +32 -0
  2544. package/dist/services/agent-inbox/modules/inbox-opencode/agent-coverage-trace.d.ts +25 -0
  2545. package/dist/services/agent-inbox/modules/inbox-opencode/agent-outcome-classifier.d.ts +61 -0
  2546. package/dist/services/agent-inbox/modules/inbox-opencode/errors.d.ts +51 -0
  2547. package/dist/services/agent-inbox/modules/inbox-opencode/opencode.mock.d.ts +201 -0
  2548. package/dist/services/agent-inbox/modules/inbox-opencode/opencode.port.d.ts +272 -0
  2549. package/dist/services/agent-inbox/modules/inbox-opencode/opencode.real.d.ts +220 -0
  2550. package/dist/services/agent-inbox/modules/inbox-opencode/prompt-compile.d.ts +88 -0
  2551. package/dist/services/agent-inbox/modules/inbox-opencode/schema-registry.d.ts +57 -0
  2552. package/dist/services/agent-inbox/modules/inbox-opencode/session-lifecycle.d.ts +122 -0
  2553. package/dist/services/agent-inbox/modules/inbox-opencode/session-pool.d.ts +218 -0
  2554. package/dist/services/agent-inbox/modules/inbox-opencode/session-registry.d.ts +85 -0
  2555. package/dist/services/agent-inbox/modules/inbox-pipeline/adapters/local-review-runtime-receipt-store.adapter.d.ts +52 -0
  2556. package/dist/services/agent-inbox/modules/inbox-pipeline/adapters/memory-review-runtime-receipt-store.adapter.d.ts +58 -0
  2557. package/dist/services/agent-inbox/modules/inbox-pipeline/coverage-gate.d.ts +74 -0
  2558. package/dist/services/agent-inbox/modules/inbox-pipeline/findings-journal.d.ts +93 -0
  2559. package/dist/services/agent-inbox/modules/inbox-pipeline/gate-verdict.d.ts +68 -0
  2560. package/dist/services/agent-inbox/modules/inbox-pipeline/lens-registry.d.ts +66 -0
  2561. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-artifact.d.ts +20 -0
  2562. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-contract.d.ts +28 -0
  2563. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-finding.d.ts +11 -0
  2564. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-input-manifest.d.ts +43 -0
  2565. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-plan.d.ts +33 -0
  2566. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-receipt-consumption.d.ts +14 -0
  2567. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-repair-task.d.ts +13 -0
  2568. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-slot-schema-catalog.d.ts +36 -0
  2569. package/dist/services/agent-inbox/modules/inbox-pipeline/model/review-synthesis.d.ts +30 -0
  2570. package/dist/services/agent-inbox/modules/inbox-pipeline/pipeline-runtime.d.ts +230 -0
  2571. package/dist/services/agent-inbox/modules/inbox-pipeline/plan-template.d.ts +62 -0
  2572. package/dist/services/agent-inbox/modules/inbox-pipeline/planning/review-contract-compiler.d.ts +52 -0
  2573. package/dist/services/agent-inbox/modules/inbox-pipeline/planning/review-input-manifest-builder.d.ts +36 -0
  2574. package/dist/services/agent-inbox/modules/inbox-pipeline/ports/review-runtime-receipt-store.port.d.ts +63 -0
  2575. package/dist/services/agent-inbox/modules/inbox-pipeline/receipts/review-runtime-receipt-recorder.d.ts +55 -0
  2576. package/dist/services/agent-inbox/modules/inbox-pipeline/review/review-cross-reviewer.d.ts +41 -0
  2577. package/dist/services/agent-inbox/modules/inbox-pipeline/review/review-orchestrator.d.ts +37 -0
  2578. package/dist/services/agent-inbox/modules/inbox-pipeline/synthesize.d.ts +60 -0
  2579. package/dist/services/agent-inbox/modules/inbox-pipeline/tails/author-tail.d.ts +44 -0
  2580. package/dist/services/agent-inbox/modules/inbox-pipeline/tails/reviewer-tail.d.ts +50 -0
  2581. package/dist/services/agent-inbox/modules/inbox-pipeline/trigger-registry.d.ts +46 -0
  2582. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-completeness-verdict.type.d.ts +42 -0
  2583. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-contract-input-mapping.type.d.ts +46 -0
  2584. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-contract-slot.type.d.ts +40 -0
  2585. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-coverage.type.d.ts +25 -0
  2586. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-evidence.type.d.ts +37 -0
  2587. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-input-classification.type.d.ts +15 -0
  2588. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-intent.type.d.ts +41 -0
  2589. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-publication-handoff.type.d.ts +32 -0
  2590. package/dist/services/agent-inbox/modules/inbox-pipeline/types/review-runtime-receipt.type.d.ts +46 -0
  2591. package/dist/services/agent-inbox/modules/inbox-pipeline/verification/review-delta-verifier.d.ts +39 -0
  2592. package/dist/services/agent-inbox/modules/inbox-pipeline/verification/review-freshness-gate.d.ts +77 -0
  2593. package/dist/services/agent-inbox/modules/inbox-queue/adapters/local-task-executor.adapter.d.ts +74 -0
  2594. package/dist/services/agent-inbox/modules/inbox-queue/automation/review-automation-policy.d.ts +95 -0
  2595. package/dist/services/agent-inbox/modules/inbox-queue/effects/review-effect-coordinator.d.ts +118 -0
  2596. package/dist/services/agent-inbox/modules/inbox-queue/executor.d.ts +127 -0
  2597. package/dist/services/agent-inbox/modules/inbox-queue/model/review-action-package.d.ts +73 -0
  2598. package/dist/services/agent-inbox/modules/inbox-queue/model/review-decision.d.ts +54 -0
  2599. package/dist/services/agent-inbox/modules/inbox-queue/model/review-effect-queue.d.ts +79 -0
  2600. package/dist/services/agent-inbox/modules/inbox-queue/model/review-outcome.d.ts +60 -0
  2601. package/dist/services/agent-inbox/modules/inbox-queue/model/review-proposal.d.ts +77 -0
  2602. package/dist/services/agent-inbox/modules/inbox-queue/model/review-task.d.ts +60 -0
  2603. package/dist/services/agent-inbox/modules/inbox-queue/ports/task-executor.port.d.ts +89 -0
  2604. package/dist/services/agent-inbox/modules/inbox-queue/registry/review-action-catalog.d.ts +95 -0
  2605. package/dist/services/agent-inbox/modules/inbox-queue/registry/review-task-registry.d.ts +81 -0
  2606. package/dist/services/agent-inbox/modules/inbox-queue/session-router.d.ts +80 -0
  2607. package/dist/services/agent-inbox/modules/inbox-queue/task-queue.d.ts +129 -0
  2608. package/dist/services/agent-inbox/modules/inbox-queue/task-registry.d.ts +208 -0
  2609. package/dist/services/agent-inbox/modules/inbox-queue/types/review-effect.type.d.ts +106 -0
  2610. package/dist/services/agent-inbox/modules/inbox-queue/types/review-guarded-intent.type.d.ts +38 -0
  2611. package/dist/services/agent-inbox/modules/inbox-roles/artifact-recovery.d.ts +149 -0
  2612. package/dist/services/agent-inbox/modules/inbox-roles/artifact-validator.d.ts +129 -0
  2613. package/dist/services/agent-inbox/modules/inbox-roles/author.role.d.ts +8 -0
  2614. package/dist/services/agent-inbox/modules/inbox-roles/context-builder.d.ts +50 -0
  2615. package/dist/services/agent-inbox/modules/inbox-roles/disk-artifact.d.ts +21 -0
  2616. package/dist/services/agent-inbox/modules/inbox-roles/effect-executor.d.ts +194 -0
  2617. package/dist/services/agent-inbox/modules/inbox-roles/errors.d.ts +31 -0
  2618. package/dist/services/agent-inbox/modules/inbox-roles/mr-watch.d.ts +73 -0
  2619. package/dist/services/agent-inbox/modules/inbox-roles/outcome-classifier.d.ts +12 -0
  2620. package/dist/services/agent-inbox/modules/inbox-roles/phase-telemetry.d.ts +201 -0
  2621. package/dist/services/agent-inbox/modules/inbox-roles/review-progress.d.ts +38 -0
  2622. package/dist/services/agent-inbox/modules/inbox-roles/reviewer.role.d.ts +7 -0
  2623. package/dist/services/agent-inbox/modules/inbox-roles/rights-escalator.d.ts +92 -0
  2624. package/dist/services/agent-inbox/modules/inbox-roles/role-engine.d.ts +82 -0
  2625. package/dist/services/agent-inbox/modules/inbox-roles/role-instance.d.ts +419 -0
  2626. package/dist/services/agent-inbox/modules/inbox-roles/role-node.d.ts +377 -0
  2627. package/dist/services/agent-inbox/modules/inbox-roles/role-scheduler.d.ts +278 -0
  2628. package/dist/services/agent-inbox/modules/inbox-roles/thread-signal-classifier.d.ts +73 -0
  2629. package/dist/services/agent-inbox/modules/inbox-serve/dev-seed.d.ts +7 -0
  2630. package/dist/services/agent-inbox/modules/inbox-serve/inbox-serve.d.ts +1 -0
  2631. package/dist/services/agent-inbox/modules/inbox-vcs/attention.d.ts +54 -0
  2632. package/dist/services/agent-inbox/modules/inbox-vcs/background-verify.d.ts +89 -0
  2633. package/dist/services/agent-inbox/modules/inbox-vcs/effects.d.ts +176 -0
  2634. package/dist/services/agent-inbox/modules/inbox-vcs/event-normalizer.d.ts +78 -0
  2635. package/dist/services/agent-inbox/modules/inbox-vcs/permission-policy.d.ts +45 -0
  2636. package/dist/services/agent-inbox/modules/inbox-vcs/readonly-effect.guard.d.ts +36 -0
  2637. package/dist/services/agent-inbox/modules/inbox-vcs/reconciler.d.ts +52 -0
  2638. package/dist/services/agent-inbox/modules/inbox-vcs/sync-coordinator.d.ts +87 -0
  2639. package/dist/services/agent-inbox/modules/inbox-vcs/sync.d.ts +213 -0
  2640. package/dist/services/agent-inbox/modules/inbox-vcs/vcs-gitlab.port.d.ts +146 -0
  2641. package/dist/services/agent-inbox/modules/inbox-vcs/vcs-port.d.ts +475 -0
  2642. package/dist/services/agent-inbox/modules/inbox-vcs/vcs-runtime.d.ts +17 -0
  2643. package/dist/services/agent-inbox/serve/bootstrap.d.ts +104 -0
  2644. package/dist/services/agent-inbox/serve/pid-utils.d.ts +21 -0
  2645. package/dist/services/agent-inbox/serve/run-mode.d.ts +78 -0
  2646. package/dist/services/agent-inbox/serve/shutdown.d.ts +34 -0
  2647. package/dist/services/agent-inbox/serve/state-seed.d.ts +44 -0
  2648. package/dist/services/agent-inbox/test/cassettes.d.ts +60 -0
  2649. package/dist/services/agent-inbox/test/dto-factories.d.ts +17 -0
  2650. package/dist/services/agent-inbox/test/port-contract.suite.d.ts +28 -0
  2651. package/dist/services/agent-inbox/test/seed.d.ts +44 -0
  2652. package/dist/services/agent-mon/providers/claude/claude-provider.d.ts +0 -2
  2653. package/dist/services/agent-mon/providers/opencode/db.d.ts +1 -1
  2654. package/dist/services/agent-mon/providers/opencode/opencode-provider.d.ts +0 -2
  2655. package/dist/services/agent-run/core/agent-run-error.d.ts +22 -0
  2656. package/dist/services/agent-run/core/ports/agent-engine.port.d.ts +34 -0
  2657. package/dist/services/agent-run/core/registry.d.ts +35 -0
  2658. package/dist/services/agent-run/core/run-options.type.d.ts +39 -0
  2659. package/dist/services/agent-run/core/run.d.ts +27 -0
  2660. package/dist/services/agent-run/engines/opencode/opencode-engine.d.ts +41 -0
  2661. package/dist/services/agent-run/engines/opencode/opencode-error-map.d.ts +31 -0
  2662. package/dist/services/agent-run/index.d.ts +4 -0
  2663. package/dist/services/ai-kit/compile.d.ts +27 -0
  2664. package/dist/services/ai-kit/node-map.d.ts +8 -0
  2665. package/dist/services/ai-kit/selector.d.ts +38 -0
  2666. package/dist/services/dbc/linter/dbc-ast-adapter.types.d.ts +2 -2
  2667. package/dist/services/dbc/linter/dbc-linter.types.d.ts +7 -0
  2668. package/dist/services/dbc/linter/implementations/ts/dbc-ts-ast-adapter.d.ts +19 -11
  2669. package/dist/services/dbc/linter/implementations/ts/dbc-ts-linter.d.ts +28 -23
  2670. package/dist/services/dbc/parser/implementations/jsdoc/dbc-jsdoc-parser.d.ts +0 -2
  2671. package/dist/services/logger/logger.d.ts +8 -1
  2672. package/dist/services/mr-stats/classifier.d.ts +16 -0
  2673. package/dist/services/mr-stats/duplicate-detector.d.ts +16 -0
  2674. package/dist/services/mr-stats/entity-counter.d.ts +11 -0
  2675. package/dist/services/mr-stats/line-counter.d.ts +38 -0
  2676. package/dist/services/mr-stats/mr-resolver.d.ts +66 -0
  2677. package/dist/services/mr-stats/mr-stats.types.d.ts +118 -0
  2678. package/dist/services/mr-stats/reporter.d.ts +32 -0
  2679. package/dist/services/symbol-index/implementations/grep/grep-symbol-index-adapter.d.ts +12 -0
  2680. package/dist/services/symbol-index/implementations/tree-sitter/ts-symbol-index-adapter.d.ts +43 -0
  2681. package/dist/services/symbol-index/select-symbol-index.d.ts +11 -0
  2682. package/dist/services/symbol-index/symbol-index.types.d.ts +38 -0
  2683. package/dist/services/vcs-client/abstract/vcs-client-inbox.d.ts +28 -0
  2684. package/dist/services/vcs-client/abstract/vcs-client-merge-discussions.d.ts +170 -0
  2685. package/dist/services/vcs-client/abstract/vcs-client-merge-requests.d.ts +60 -0
  2686. package/dist/services/vcs-client/abstract/vcs-client-pipeline.d.ts +37 -0
  2687. package/dist/services/vcs-client/abstract/vcs-client-reactions.d.ts +19 -0
  2688. package/dist/services/vcs-client/abstract/vcs-client.d.ts +9 -0
  2689. package/dist/services/vcs-client/entities/mr-activity-event.type.d.ts +19 -0
  2690. package/dist/services/vcs-client/entities/vcs-actionable-mr.type.d.ts +79 -0
  2691. package/dist/services/vcs-client/entities/vcs-delete-discussion-query.type.d.ts +9 -0
  2692. package/dist/services/vcs-client/entities/vcs-delete-note-query.type.d.ts +11 -0
  2693. package/dist/services/vcs-client/entities/vcs-draft-note.type.d.ts +9 -0
  2694. package/dist/services/vcs-client/entities/vcs-job-query.type.d.ts +7 -0
  2695. package/dist/services/vcs-client/entities/vcs-job.type.d.ts +15 -0
  2696. package/dist/services/vcs-client/entities/vcs-merge-request-approve-query.type.d.ts +7 -0
  2697. package/dist/services/vcs-client/entities/vcs-merge-request-create-query.type.d.ts +26 -0
  2698. package/dist/services/vcs-client/entities/vcs-merge-request-update-query.type.d.ts +30 -0
  2699. package/dist/services/vcs-client/entities/vcs-pipeline-status.type.d.ts +14 -0
  2700. package/dist/services/vcs-client/entities/vcs-reaction-query.type.d.ts +14 -0
  2701. package/dist/services/vcs-client/entities/vcs-resolve-discussion-query.type.d.ts +11 -0
  2702. package/dist/services/vcs-client/entities/vcs-update-note-query.type.d.ts +11 -0
  2703. package/dist/services/vcs-client/github/vcs-github-client.d.ts +9 -1
  2704. package/dist/services/vcs-client/github/vcs-github-merge-discussions.d.ts +109 -0
  2705. package/dist/services/vcs-client/github/vcs-github-merge-requests.d.ts +52 -10
  2706. package/dist/services/vcs-client/github/vcs-github-reactions.d.ts +31 -0
  2707. package/dist/services/vcs-client/gitlab/vcs-gitlab-client.d.ts +80 -0
  2708. package/dist/services/vcs-client/gitlab/vcs-gitlab-inbox.d.ts +37 -0
  2709. package/dist/services/vcs-client/gitlab/vcs-gitlab-merge-discussions.d.ts +91 -1
  2710. package/dist/services/vcs-client/gitlab/vcs-gitlab-merge-requests.d.ts +64 -3
  2711. package/dist/services/vcs-client/gitlab/vcs-gitlab-pipeline.d.ts +51 -0
  2712. package/dist/services/vcs-client/gitlab/vcs-gitlab-reactions.d.ts +31 -0
  2713. package/dist/shared/common/changed-files.d.ts +14 -0
  2714. package/dist/shared/common/exec.d.ts +7 -2
  2715. package/dist/shared/common/parse-args.d.ts +8 -1
  2716. package/dist/shared/common/sync/sync-core.shared.d.ts +1 -1
  2717. package/dist/shared/mermaid/mermaid.d.ts +19 -0
  2718. package/dist/shared/prompt-lint/stop-words.d.ts +34 -0
  2719. package/dist/shared/sdd/anchor-inject.d.ts +32 -0
  2720. package/dist/shared/sdd/bdd-coverage.d.ts +72 -0
  2721. package/dist/shared/sdd/check.d.ts +225 -0
  2722. package/dist/shared/sdd/consumers-resolvable.d.ts +41 -0
  2723. package/dist/shared/sdd/flow.d.ts +21 -0
  2724. package/dist/shared/sdd/id-replace.d.ts +68 -0
  2725. package/dist/shared/sdd/inventory.d.ts +6 -0
  2726. package/dist/shared/sdd/mermaid-check.d.ts +10 -0
  2727. package/dist/shared/sdd/migration-move.d.ts +88 -0
  2728. package/dist/shared/sdd/migration-plan.d.ts +126 -0
  2729. package/dist/shared/sdd/portal.d.ts +40 -0
  2730. package/dist/shared/sdd/probe.d.ts +23 -0
  2731. package/dist/shared/sdd/readiness.d.ts +49 -0
  2732. package/dist/shared/sdd/rules-cascade.d.ts +31 -0
  2733. package/dist/shared/sdd/scripts.d.ts +19 -0
  2734. package/dist/shared/sdd/section.d.ts +52 -0
  2735. package/dist/shared/sdd/tasks-append-only.d.ts +17 -0
  2736. package/dist/shared/sdd/templates.d.ts +61 -0
  2737. package/dist/shared/sdd/ticket.d.ts +81 -0
  2738. package/dist/shared/sdd/tracker.d.ts +70 -0
  2739. package/dist/shared/sdd/yagni.d.ts +71 -0
  2740. package/dist/utils/test/mock-http.d.ts +51 -0
  2741. package/package.json +42 -5
  2742. package/ai/directives/dbc-audit.directive.xml +0 -131
  2743. package/ai/directives/dev-review.directive.xml +0 -148
  2744. package/ai/directives/perf-auditor/perf-auditor.directive.xml +0 -75
  2745. package/ai/directives/perf-auditor/rules/async-latency.xml +0 -101
  2746. package/ai/directives/perf-auditor/rules/data-structures.xml +0 -103
  2747. package/ai/directives/perf-auditor/rules/iteration-fusion.xml +0 -96
  2748. package/ai/directives/perf-auditor/rules/memory-gc.xml +0 -102
  2749. package/ai/directives/sdd/README.md +0 -49
  2750. package/ai/directives/sdd/audit.directive.xml +0 -543
  2751. package/ai/directives/sdd/critic-protocol.xml +0 -78
  2752. package/ai/directives/sdd/critic.directive.xml +0 -158
  2753. package/ai/directives/sdd/discovery.directive.xml +0 -824
  2754. package/ai/directives/sdd/fix.directive.xml +0 -249
  2755. package/ai/directives/sdd/module-decomposition.directive.xml +0 -666
  2756. package/ai/directives/sdd/phase-execution-protocol.xml +0 -341
  2757. package/ai/directives/sdd/scaffold.directive.xml +0 -717
  2758. package/ai/directives/sdd/setup.directive.xml +0 -213
  2759. package/ai/directives/sdd/svelte-ui-discovery.directive.xml +0 -263
  2760. package/ai/directives/semantic-change-extractor.directive.xml +0 -99
  2761. package/ai/docs/README.md +0 -17
  2762. package/ai/docs/ai-icl.md +0 -538
  2763. package/ai/docs/ai-priming.md +0 -548
  2764. package/ai/docs/ai-prompt-formats.md +0 -406
  2765. package/ai/docs/ai-promting.md +0 -572
  2766. package/ai/drafts/DRAFT.md +0 -120
  2767. package/ai/drafts/agent-devgen-class-from-description.rules.xml +0 -123
  2768. package/ai/drafts/agent-typescript-devgen.v1.xml +0 -303
  2769. package/ai/drafts/d.md +0 -65
  2770. package/ai/drafts/music-posts.md +0 -105
  2771. package/ai/fw/v1/architecture/blueprint-factory.xml +0 -77
  2772. package/ai/fw/v1/core/mental-model.xml +0 -50
  2773. package/ai/fw/v1/discovery/intent-reactor.xml +0 -92
  2774. package/ai/fw/v1/production/swarm-protocol.xml +0 -122
  2775. package/ai/fw/v1/review/quality-pipeline.xml +0 -102
  2776. package/ai/fw/v2/arch-universal.xml +0 -73
  2777. package/ai/fw-draft/README.md +0 -79
  2778. package/ai/fw-draft/bin/discovery.sh +0 -116
  2779. package/ai/fw-draft/gennady.xml +0 -58
  2780. package/ai/fw-draft/provider/claude.xml +0 -16
  2781. package/ai/fw-draft/provider/cursor.xml +0 -23
  2782. package/ai/fw-draft/provider/default.xml +0 -12
  2783. package/ai/fw-draft/roles/developer.xml +0 -18
  2784. package/ai/fw-draft/router.xml +0 -39
  2785. package/ai/fw-draft/routes/development.xml +0 -32
  2786. package/ai/fw-draft/routes/universal.xml +0 -58
  2787. package/ai/fw-draft/rules/dev/base/file-structure-rules.xml +0 -89
  2788. package/ai/fw-draft/rules/dev/typescript/contacts.xml +0 -194
  2789. package/ai/skills/alt-opinion/SKILL.md +0 -79
  2790. package/ai/skills/alt-opinion/opinion.prompt.md +0 -11
  2791. package/ai/skills/alt-opinion/synth.prompt.md +0 -8
  2792. package/ai/skills/sdd-continue/SKILL.md +0 -13
  2793. package/ai/skills/sdd-discover/SKILL.md +0 -13
  2794. package/ai/skills/sdd-execute/scripts/README.md +0 -84
  2795. package/ai/skills/sdd-execute/scripts/check-blockers.sh +0 -158
  2796. package/ai/skills/sdd-execute/scripts/classify-scripts.js +0 -111
  2797. package/ai/skills/sdd-execute/scripts/classify-scripts.ts +0 -133
  2798. package/ai/skills/sdd-execute/scripts/extract-section.sh +0 -219
  2799. package/ai/skills/sdd-execute/scripts/lint-artifacts.sh +0 -143
  2800. package/ai/skills/sdd-execute/scripts/scan.sh +0 -385
  2801. package/ai/skills/sdd-execute/scripts/sdd +0 -114
  2802. package/ai/skills/sdd-execute/scripts/verify.sh +0 -139
  2803. package/ai/skills/sdd-execute-batch/SKILL.md +0 -213
  2804. package/ai/skills/sdd-fix/SKILL.md +0 -13
  2805. package/ai/skills/sdd-infra/SKILL.md +0 -13
  2806. package/ai/skills/sdd-module-decomposition/SKILL.md +0 -13
  2807. package/ai/skills/sdd-setup/SKILL.md +0 -13
  2808. package/dist/ai/directives/dbc-audit.directive.xml +0 -131
  2809. package/dist/ai/directives/dev-review.directive.xml +0 -148
  2810. package/dist/ai/directives/perf-auditor/perf-auditor.directive.xml +0 -75
  2811. package/dist/ai/directives/perf-auditor/rules/async-latency.xml +0 -101
  2812. package/dist/ai/directives/perf-auditor/rules/data-structures.xml +0 -103
  2813. package/dist/ai/directives/perf-auditor/rules/iteration-fusion.xml +0 -96
  2814. package/dist/ai/directives/perf-auditor/rules/memory-gc.xml +0 -102
  2815. package/dist/ai/directives/sdd/README.md +0 -49
  2816. package/dist/ai/directives/sdd/audit.directive.xml +0 -543
  2817. package/dist/ai/directives/sdd/critic-protocol.xml +0 -78
  2818. package/dist/ai/directives/sdd/critic.directive.xml +0 -158
  2819. package/dist/ai/directives/sdd/discovery.directive.xml +0 -824
  2820. package/dist/ai/directives/sdd/fix.directive.xml +0 -249
  2821. package/dist/ai/directives/sdd/module-decomposition.directive.xml +0 -666
  2822. package/dist/ai/directives/sdd/phase-execution-protocol.xml +0 -341
  2823. package/dist/ai/directives/sdd/scaffold.directive.xml +0 -717
  2824. package/dist/ai/directives/sdd/setup.directive.xml +0 -213
  2825. package/dist/ai/directives/sdd/svelte-ui-discovery.directive.xml +0 -263
  2826. package/dist/ai/directives/semantic-change-extractor.directive.xml +0 -99
  2827. package/dist/ai/docs/README.md +0 -17
  2828. package/dist/ai/docs/ai-icl.md +0 -538
  2829. package/dist/ai/docs/ai-priming.md +0 -548
  2830. package/dist/ai/docs/ai-prompt-formats.md +0 -406
  2831. package/dist/ai/docs/ai-promting.md +0 -572
  2832. package/dist/ai/drafts/DRAFT.md +0 -120
  2833. package/dist/ai/drafts/agent-devgen-class-from-description.rules.xml +0 -123
  2834. package/dist/ai/drafts/agent-typescript-devgen.v1.xml +0 -303
  2835. package/dist/ai/drafts/d.md +0 -65
  2836. package/dist/ai/drafts/music-posts.md +0 -105
  2837. package/dist/ai/fw/v1/architecture/blueprint-factory.xml +0 -77
  2838. package/dist/ai/fw/v1/core/mental-model.xml +0 -50
  2839. package/dist/ai/fw/v1/discovery/intent-reactor.xml +0 -92
  2840. package/dist/ai/fw/v1/production/swarm-protocol.xml +0 -122
  2841. package/dist/ai/fw/v1/review/quality-pipeline.xml +0 -102
  2842. package/dist/ai/fw/v2/arch-universal.xml +0 -73
  2843. package/dist/ai/fw-draft/README.md +0 -79
  2844. package/dist/ai/fw-draft/bin/discovery.sh +0 -116
  2845. package/dist/ai/fw-draft/gennady.xml +0 -58
  2846. package/dist/ai/fw-draft/provider/claude.xml +0 -16
  2847. package/dist/ai/fw-draft/provider/cursor.xml +0 -23
  2848. package/dist/ai/fw-draft/provider/default.xml +0 -12
  2849. package/dist/ai/fw-draft/roles/developer.xml +0 -18
  2850. package/dist/ai/fw-draft/router.xml +0 -39
  2851. package/dist/ai/fw-draft/routes/development.xml +0 -32
  2852. package/dist/ai/fw-draft/routes/universal.xml +0 -58
  2853. package/dist/ai/fw-draft/rules/dev/base/file-structure-rules.xml +0 -89
  2854. package/dist/ai/fw-draft/rules/dev/typescript/contacts.xml +0 -194
  2855. package/dist/ai/skills/alt-opinion/SKILL.md +0 -79
  2856. package/dist/ai/skills/alt-opinion/opinion.prompt.md +0 -11
  2857. package/dist/ai/skills/alt-opinion/synth.prompt.md +0 -8
  2858. package/dist/ai/skills/sdd-continue/SKILL.md +0 -13
  2859. package/dist/ai/skills/sdd-discover/SKILL.md +0 -13
  2860. package/dist/ai/skills/sdd-execute/scripts/README.md +0 -84
  2861. package/dist/ai/skills/sdd-execute/scripts/check-blockers.sh +0 -158
  2862. package/dist/ai/skills/sdd-execute/scripts/classify-scripts.js +0 -111
  2863. package/dist/ai/skills/sdd-execute/scripts/classify-scripts.ts +0 -133
  2864. package/dist/ai/skills/sdd-execute/scripts/extract-section.sh +0 -219
  2865. package/dist/ai/skills/sdd-execute/scripts/lint-artifacts.sh +0 -143
  2866. package/dist/ai/skills/sdd-execute/scripts/scan.sh +0 -385
  2867. package/dist/ai/skills/sdd-execute/scripts/sdd +0 -114
  2868. package/dist/ai/skills/sdd-execute/scripts/verify.sh +0 -139
  2869. package/dist/ai/skills/sdd-execute-batch/SKILL.md +0 -213
  2870. package/dist/ai/skills/sdd-fix/SKILL.md +0 -13
  2871. package/dist/ai/skills/sdd-infra/SKILL.md +0 -13
  2872. package/dist/ai/skills/sdd-module-decomposition/SKILL.md +0 -13
  2873. package/dist/ai/skills/sdd-setup/SKILL.md +0 -13
  2874. package/dist/assistant/music/music-filter.d.ts +0 -7
  2875. package/dist/chunks/_commonjsHelpers-DaMA6jEr.js +0 -8
  2876. package/dist/chunks/devtools-CPZ0IUNM.js +0 -79
  2877. package/dist/chunks/help-CSPhOoI9.js +0 -8
  2878. package/dist/chunks/help-DL_QBMwy.js +0 -8
  2879. package/dist/chunks/help-_Y_TN4DZ.js +0 -6
  2880. package/dist/chunks/help.cmd-BDO4k0_z.js +0 -41
  2881. package/dist/chunks/index-4fUNp3za.js +0 -156
  2882. package/dist/chunks/index-9JlEjsvH.js +0 -443
  2883. package/dist/chunks/index-9e72uZq7.js +0 -97
  2884. package/dist/chunks/index-B4ODZbtC.js +0 -143
  2885. package/dist/chunks/index-BXWDYM_9.js +0 -16979
  2886. package/dist/chunks/index-BgKyH0dB.js +0 -658
  2887. package/dist/chunks/index-BmABG4HA.js +0 -183
  2888. package/dist/chunks/index-C9UEDrqg.js +0 -754
  2889. package/dist/chunks/index-DICatQqS.js +0 -3793
  2890. package/dist/chunks/index-DQpmjvCj.js +0 -125
  2891. package/dist/chunks/index-DS_1ZX6G.js +0 -7
  2892. package/dist/chunks/index-DoaxOhQ8.js +0 -26971
  2893. package/dist/chunks/index-ZpU_VoI0.js +0 -265
  2894. package/dist/chunks/index-jOIhIHdS.js +0 -369
  2895. package/dist/chunks/index-mkUNzixA.js +0 -7
  2896. package/dist/chunks/run-review-command.logic-CHVCVJWO.js +0 -267
  2897. package/dist/chunks/services-IgZptnTi.js +0 -2732
  2898. package/dist/chunks/shared-9J_oXE74.js +0 -763
  2899. package/dist/services/ai-client/providers/ai-model.type.d.ts +0 -47
  2900. package/dist/services/ai-client/providers/open-router/open-router-model.type.d.ts +0 -26
  2901. package/dist/services/ai-client/providers/open-router/open-router-provider.d.ts +0 -26
  2902. package/dist/services/ai-client/providers/openai-like-provider.d.ts +0 -3
  2903. package/dist/services/data-ore/telegram/telegram-data-ore.d.ts +0 -28
  2904. package/dist/services/data-ore/telegram/telegram-data-ore.types.d.ts +0 -9
  2905. package/dist/services/data-ore/telegram/telegram-demo-music-helper.d.ts +0 -10
  2906. package/dist/services/data-ore/telegram/telegram-demo.d.ts +0 -3
  2907. /package/dist/{services/ai-client/ai-client.d.ts → cli/cmd/inbox-eval/index.d.ts} +0 -0
@@ -0,0 +1,3793 @@
1
+ import yt from "node:fs";
2
+ import St from "node:path";
3
+ import { at as Mn, an as Dn, l as xe, au as In, a as Nn, V as qn } from "./services-Csd556Tv.js";
4
+ import Kt from "os";
5
+ import Se from "path";
6
+ import Pn from "util";
7
+ import dt from "stream";
8
+ import Fn from "events";
9
+ import Qt from "fs";
10
+ import { p as Bn, s as ne } from "./shared-B5CTGvpG.js";
11
+ var se = {}, ie = {}, Oe = {}, nr;
12
+ function jn() {
13
+ if (nr) return Oe;
14
+ nr = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.splitWhen = Oe.flatten = void 0;
15
+ function o(l) {
16
+ return l.reduce((u, r) => [].concat(u, r), []);
17
+ }
18
+ Oe.flatten = o;
19
+ function a(l, u) {
20
+ const r = [[]];
21
+ let t = 0;
22
+ for (const n of l)
23
+ u(n) ? (t++, r[t] = []) : r[t].push(n);
24
+ return r;
25
+ }
26
+ return Oe.splitWhen = a, Oe;
27
+ }
28
+ var ke = {}, sr;
29
+ function Gn() {
30
+ if (sr) return ke;
31
+ sr = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.isEnoentCodeError = void 0;
32
+ function o(a) {
33
+ return a.code === "ENOENT";
34
+ }
35
+ return ke.isEnoentCodeError = o, ke;
36
+ }
37
+ var He = {}, ir;
38
+ function Un() {
39
+ if (ir) return He;
40
+ ir = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.createDirentFromStats = void 0;
41
+ class o {
42
+ constructor(u, r) {
43
+ this.name = u, this.isBlockDevice = r.isBlockDevice.bind(r), this.isCharacterDevice = r.isCharacterDevice.bind(r), this.isDirectory = r.isDirectory.bind(r), this.isFIFO = r.isFIFO.bind(r), this.isFile = r.isFile.bind(r), this.isSocket = r.isSocket.bind(r), this.isSymbolicLink = r.isSymbolicLink.bind(r);
44
+ }
45
+ }
46
+ function a(l, u) {
47
+ return new o(l, u);
48
+ }
49
+ return He.createDirentFromStats = a, He;
50
+ }
51
+ var ee = {}, ar;
52
+ function Wn() {
53
+ if (ar) return ee;
54
+ ar = 1, Object.defineProperty(ee, "__esModule", { value: !0 }), ee.convertPosixPathToPattern = ee.convertWindowsPathToPattern = ee.convertPathToPattern = ee.escapePosixPath = ee.escapeWindowsPath = ee.escape = ee.removeLeadingDotSegment = ee.makeAbsolute = ee.unixify = void 0;
55
+ const o = Kt, a = Se, l = o.platform() === "win32", u = 2, r = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g, t = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g, n = /^\\\\([.?])/, e = /\\(?![!()+@[\]{}])/g;
56
+ function i(C) {
57
+ return C.replace(/\\/g, "/");
58
+ }
59
+ ee.unixify = i;
60
+ function s(C, m) {
61
+ return a.resolve(C, m);
62
+ }
63
+ ee.makeAbsolute = s;
64
+ function p(C) {
65
+ if (C.charAt(0) === ".") {
66
+ const m = C.charAt(1);
67
+ if (m === "/" || m === "\\")
68
+ return C.slice(u);
69
+ }
70
+ return C;
71
+ }
72
+ ee.removeLeadingDotSegment = p, ee.escape = l ? h : d;
73
+ function h(C) {
74
+ return C.replace(t, "\\$2");
75
+ }
76
+ ee.escapeWindowsPath = h;
77
+ function d(C) {
78
+ return C.replace(r, "\\$2");
79
+ }
80
+ ee.escapePosixPath = d, ee.convertPathToPattern = l ? y : T;
81
+ function y(C) {
82
+ return h(C).replace(n, "//$1").replace(e, "/");
83
+ }
84
+ ee.convertWindowsPathToPattern = y;
85
+ function T(C) {
86
+ return d(C);
87
+ }
88
+ return ee.convertPosixPathToPattern = T, ee;
89
+ }
90
+ var I = {};
91
+ /*!
92
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
93
+ *
94
+ * Copyright (c) 2014-2016, Jon Schlinkert.
95
+ * Licensed under the MIT License.
96
+ */
97
+ var mt, or;
98
+ function Vn() {
99
+ return or || (or = 1, mt = function(a) {
100
+ if (typeof a != "string" || a === "")
101
+ return !1;
102
+ for (var l; l = /(\\).|([@?!+*]\(.*\))/g.exec(a); ) {
103
+ if (l[2]) return !0;
104
+ a = a.slice(l.index + l[0].length);
105
+ }
106
+ return !1;
107
+ }), mt;
108
+ }
109
+ /*!
110
+ * is-glob <https://github.com/jonschlinkert/is-glob>
111
+ *
112
+ * Copyright (c) 2014-2017, Jon Schlinkert.
113
+ * Released under the MIT License.
114
+ */
115
+ var vt, ur;
116
+ function Kn() {
117
+ if (ur) return vt;
118
+ ur = 1;
119
+ var o = Vn(), a = { "{": "}", "(": ")", "[": "]" }, l = function(r) {
120
+ if (r[0] === "!")
121
+ return !0;
122
+ for (var t = 0, n = -2, e = -2, i = -2, s = -2, p = -2; t < r.length; ) {
123
+ if (r[t] === "*" || r[t + 1] === "?" && /[\].+)]/.test(r[t]) || e !== -1 && r[t] === "[" && r[t + 1] !== "]" && (e < t && (e = r.indexOf("]", t)), e > t && (p === -1 || p > e || (p = r.indexOf("\\", t), p === -1 || p > e))) || i !== -1 && r[t] === "{" && r[t + 1] !== "}" && (i = r.indexOf("}", t), i > t && (p = r.indexOf("\\", t), p === -1 || p > i)) || s !== -1 && r[t] === "(" && r[t + 1] === "?" && /[:!=]/.test(r[t + 2]) && r[t + 3] !== ")" && (s = r.indexOf(")", t), s > t && (p = r.indexOf("\\", t), p === -1 || p > s)) || n !== -1 && r[t] === "(" && r[t + 1] !== "|" && (n < t && (n = r.indexOf("|", t)), n !== -1 && r[n + 1] !== ")" && (s = r.indexOf(")", n), s > n && (p = r.indexOf("\\", n), p === -1 || p > s))))
124
+ return !0;
125
+ if (r[t] === "\\") {
126
+ var h = r[t + 1];
127
+ t += 2;
128
+ var d = a[h];
129
+ if (d) {
130
+ var y = r.indexOf(d, t);
131
+ y !== -1 && (t = y + 1);
132
+ }
133
+ if (r[t] === "!")
134
+ return !0;
135
+ } else
136
+ t++;
137
+ }
138
+ return !1;
139
+ }, u = function(r) {
140
+ if (r[0] === "!")
141
+ return !0;
142
+ for (var t = 0; t < r.length; ) {
143
+ if (/[*?{}()[\]]/.test(r[t]))
144
+ return !0;
145
+ if (r[t] === "\\") {
146
+ var n = r[t + 1];
147
+ t += 2;
148
+ var e = a[n];
149
+ if (e) {
150
+ var i = r.indexOf(e, t);
151
+ i !== -1 && (t = i + 1);
152
+ }
153
+ if (r[t] === "!")
154
+ return !0;
155
+ } else
156
+ t++;
157
+ }
158
+ return !1;
159
+ };
160
+ return vt = function(t, n) {
161
+ if (typeof t != "string" || t === "")
162
+ return !1;
163
+ if (o(t))
164
+ return !0;
165
+ var e = l;
166
+ return n && n.strict === !1 && (e = u), e(t);
167
+ }, vt;
168
+ }
169
+ var Rt, cr;
170
+ function Qn() {
171
+ if (cr) return Rt;
172
+ cr = 1;
173
+ var o = Kn(), a = Se.posix.dirname, l = Kt.platform() === "win32", u = "/", r = /\\/g, t = /[\{\[].*[\}\]]$/, n = /(^|[^\\])([\{\[]|\([^\)]+$)/, e = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
174
+ return Rt = function(s, p) {
175
+ var h = Object.assign({ flipBackslashes: !0 }, p);
176
+ h.flipBackslashes && l && s.indexOf(u) < 0 && (s = s.replace(r, u)), t.test(s) && (s += u), s += "a";
177
+ do
178
+ s = a(s);
179
+ while (o(s) || n.test(s));
180
+ return s.replace(e, "$1");
181
+ }, Rt;
182
+ }
183
+ var Et = {}, lr;
184
+ function Xt() {
185
+ return lr || (lr = 1, (function(o) {
186
+ o.isInteger = (a) => typeof a == "number" ? Number.isInteger(a) : typeof a == "string" && a.trim() !== "" ? Number.isInteger(Number(a)) : !1, o.find = (a, l) => a.nodes.find((u) => u.type === l), o.exceedsLimit = (a, l, u = 1, r) => r === !1 || !o.isInteger(a) || !o.isInteger(l) ? !1 : (Number(l) - Number(a)) / Number(u) >= r, o.escapeNode = (a, l = 0, u) => {
187
+ const r = a.nodes[l];
188
+ r && (u && r.type === u || r.type === "open" || r.type === "close") && r.escaped !== !0 && (r.value = "\\" + r.value, r.escaped = !0);
189
+ }, o.encloseBrace = (a) => a.type !== "brace" ? !1 : a.commas >> 0 + a.ranges >> 0 === 0 ? (a.invalid = !0, !0) : !1, o.isInvalidBrace = (a) => a.type !== "brace" ? !1 : a.invalid === !0 || a.dollar ? !0 : a.commas >> 0 + a.ranges >> 0 === 0 || a.open !== !0 || a.close !== !0 ? (a.invalid = !0, !0) : !1, o.isOpenOrClose = (a) => a.type === "open" || a.type === "close" ? !0 : a.open === !0 || a.close === !0, o.reduce = (a) => a.reduce((l, u) => (u.type === "text" && l.push(u.value), u.type === "range" && (u.type = "text"), l), []), o.flatten = (...a) => {
190
+ const l = [], u = (r) => {
191
+ for (let t = 0; t < r.length; t++) {
192
+ const n = r[t];
193
+ if (Array.isArray(n)) {
194
+ u(n);
195
+ continue;
196
+ }
197
+ n !== void 0 && l.push(n);
198
+ }
199
+ return l;
200
+ };
201
+ return u(a), l;
202
+ };
203
+ })(Et)), Et;
204
+ }
205
+ var At, fr;
206
+ function Yt() {
207
+ if (fr) return At;
208
+ fr = 1;
209
+ const o = Xt();
210
+ return At = (a, l = {}) => {
211
+ const u = (r, t = {}) => {
212
+ const n = l.escapeInvalid && o.isInvalidBrace(t), e = r.invalid === !0 && l.escapeInvalid === !0;
213
+ let i = "";
214
+ if (r.value)
215
+ return (n || e) && o.isOpenOrClose(r) ? "\\" + r.value : r.value;
216
+ if (r.value)
217
+ return r.value;
218
+ if (r.nodes)
219
+ for (const s of r.nodes)
220
+ i += u(s);
221
+ return i;
222
+ };
223
+ return u(a);
224
+ }, At;
225
+ }
226
+ /*!
227
+ * is-number <https://github.com/jonschlinkert/is-number>
228
+ *
229
+ * Copyright (c) 2014-present, Jon Schlinkert.
230
+ * Released under the MIT License.
231
+ */
232
+ var bt, hr;
233
+ function Xn() {
234
+ return hr || (hr = 1, bt = function(o) {
235
+ return typeof o == "number" ? o - o === 0 : typeof o == "string" && o.trim() !== "" ? Number.isFinite ? Number.isFinite(+o) : isFinite(+o) : !1;
236
+ }), bt;
237
+ }
238
+ /*!
239
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
240
+ *
241
+ * Copyright (c) 2015-present, Jon Schlinkert.
242
+ * Released under the MIT License.
243
+ */
244
+ var Pt, pr;
245
+ function Yn() {
246
+ if (pr) return Pt;
247
+ pr = 1;
248
+ const o = Xn(), a = (m, S, _) => {
249
+ if (o(m) === !1)
250
+ throw new TypeError("toRegexRange: expected the first argument to be a number");
251
+ if (S === void 0 || m === S)
252
+ return String(m);
253
+ if (o(S) === !1)
254
+ throw new TypeError("toRegexRange: expected the second argument to be a number.");
255
+ let c = { relaxZeros: !0, ..._ };
256
+ typeof c.strictZeros == "boolean" && (c.relaxZeros = c.strictZeros === !1);
257
+ let f = String(c.relaxZeros), g = String(c.shorthand), R = String(c.capture), v = String(c.wrap), P = m + ":" + S + "=" + f + g + R + v;
258
+ if (a.cache.hasOwnProperty(P))
259
+ return a.cache[P].result;
260
+ let O = Math.min(m, S), D = Math.max(m, S);
261
+ if (Math.abs(O - D) === 1) {
262
+ let N = m + "|" + S;
263
+ return c.capture ? `(${N})` : c.wrap === !1 ? N : `(?:${N})`;
264
+ }
265
+ let k = T(m) || T(S), H = { min: m, max: S, a: O, b: D }, x = [], U = [];
266
+ if (k && (H.isPadded = k, H.maxLen = String(H.max).length), O < 0) {
267
+ let N = D < 0 ? Math.abs(D) : 1;
268
+ U = t(N, Math.abs(O), H, c), O = H.a = 0;
269
+ }
270
+ return D >= 0 && (x = t(O, D, H, c)), H.negatives = U, H.positives = x, H.result = l(U, x), c.capture === !0 ? H.result = `(${H.result})` : c.wrap !== !1 && x.length + U.length > 1 && (H.result = `(?:${H.result})`), a.cache[P] = H, H.result;
271
+ };
272
+ function l(m, S, _) {
273
+ let c = n(m, S, "-", !1) || [], f = n(S, m, "", !1) || [], g = n(m, S, "-?", !0) || [];
274
+ return c.concat(g).concat(f).join("|");
275
+ }
276
+ function u(m, S) {
277
+ let _ = 1, c = 1, f = p(m, _), g = /* @__PURE__ */ new Set([S]);
278
+ for (; m <= f && f <= S; )
279
+ g.add(f), _ += 1, f = p(m, _);
280
+ for (f = h(S + 1, c) - 1; m < f && f <= S; )
281
+ g.add(f), c += 1, f = h(S + 1, c) - 1;
282
+ return g = [...g], g.sort(i), g;
283
+ }
284
+ function r(m, S, _) {
285
+ if (m === S)
286
+ return { pattern: m, count: [], digits: 0 };
287
+ let c = e(m, S), f = c.length, g = "", R = 0;
288
+ for (let v = 0; v < f; v++) {
289
+ let [P, O] = c[v];
290
+ P === O ? g += P : P !== "0" || O !== "9" ? g += y(P, O) : R++;
291
+ }
292
+ return R && (g += _.shorthand === !0 ? "\\d" : "[0-9]"), { pattern: g, count: [R], digits: f };
293
+ }
294
+ function t(m, S, _, c) {
295
+ let f = u(m, S), g = [], R = m, v;
296
+ for (let P = 0; P < f.length; P++) {
297
+ let O = f[P], D = r(String(R), String(O), c), k = "";
298
+ if (!_.isPadded && v && v.pattern === D.pattern) {
299
+ v.count.length > 1 && v.count.pop(), v.count.push(D.count[0]), v.string = v.pattern + d(v.count), R = O + 1;
300
+ continue;
301
+ }
302
+ _.isPadded && (k = C(O, _, c)), D.string = k + D.pattern + d(D.count), g.push(D), R = O + 1, v = D;
303
+ }
304
+ return g;
305
+ }
306
+ function n(m, S, _, c, f) {
307
+ let g = [];
308
+ for (let R of m) {
309
+ let { string: v } = R;
310
+ !c && !s(S, "string", v) && g.push(_ + v), c && s(S, "string", v) && g.push(_ + v);
311
+ }
312
+ return g;
313
+ }
314
+ function e(m, S) {
315
+ let _ = [];
316
+ for (let c = 0; c < m.length; c++) _.push([m[c], S[c]]);
317
+ return _;
318
+ }
319
+ function i(m, S) {
320
+ return m > S ? 1 : S > m ? -1 : 0;
321
+ }
322
+ function s(m, S, _) {
323
+ return m.some((c) => c[S] === _);
324
+ }
325
+ function p(m, S) {
326
+ return Number(String(m).slice(0, -S) + "9".repeat(S));
327
+ }
328
+ function h(m, S) {
329
+ return m - m % Math.pow(10, S);
330
+ }
331
+ function d(m) {
332
+ let [S = 0, _ = ""] = m;
333
+ return _ || S > 1 ? `{${S + (_ ? "," + _ : "")}}` : "";
334
+ }
335
+ function y(m, S, _) {
336
+ return `[${m}${S - m === 1 ? "" : "-"}${S}]`;
337
+ }
338
+ function T(m) {
339
+ return /^-?(0+)\d/.test(m);
340
+ }
341
+ function C(m, S, _) {
342
+ if (!S.isPadded)
343
+ return m;
344
+ let c = Math.abs(S.maxLen - String(m).length), f = _.relaxZeros !== !1;
345
+ switch (c) {
346
+ case 0:
347
+ return "";
348
+ case 1:
349
+ return f ? "0?" : "0";
350
+ case 2:
351
+ return f ? "0{0,2}" : "00";
352
+ default:
353
+ return f ? `0{0,${c}}` : `0{${c}}`;
354
+ }
355
+ }
356
+ return a.cache = {}, a.clearCache = () => a.cache = {}, Pt = a, Pt;
357
+ }
358
+ /*!
359
+ * fill-range <https://github.com/jonschlinkert/fill-range>
360
+ *
361
+ * Copyright (c) 2014-present, Jon Schlinkert.
362
+ * Licensed under the MIT License.
363
+ */
364
+ var xt, dr;
365
+ function xn() {
366
+ if (dr) return xt;
367
+ dr = 1;
368
+ const o = Pn, a = Yn(), l = (c) => c !== null && typeof c == "object" && !Array.isArray(c), u = (c) => (f) => c === !0 ? Number(f) : String(f), r = (c) => typeof c == "number" || typeof c == "string" && c !== "", t = (c) => Number.isInteger(+c), n = (c) => {
369
+ let f = `${c}`, g = -1;
370
+ if (f[0] === "-" && (f = f.slice(1)), f === "0") return !1;
371
+ for (; f[++g] === "0"; ) ;
372
+ return g > 0;
373
+ }, e = (c, f, g) => typeof c == "string" || typeof f == "string" ? !0 : g.stringify === !0, i = (c, f, g) => {
374
+ if (f > 0) {
375
+ let R = c[0] === "-" ? "-" : "";
376
+ R && (c = c.slice(1)), c = R + c.padStart(R ? f - 1 : f, "0");
377
+ }
378
+ return g === !1 ? String(c) : c;
379
+ }, s = (c, f) => {
380
+ let g = c[0] === "-" ? "-" : "";
381
+ for (g && (c = c.slice(1), f--); c.length < f; ) c = "0" + c;
382
+ return g ? "-" + c : c;
383
+ }, p = (c, f, g) => {
384
+ c.negatives.sort((D, k) => D < k ? -1 : D > k ? 1 : 0), c.positives.sort((D, k) => D < k ? -1 : D > k ? 1 : 0);
385
+ let R = f.capture ? "" : "?:", v = "", P = "", O;
386
+ return c.positives.length && (v = c.positives.map((D) => s(String(D), g)).join("|")), c.negatives.length && (P = `-(${R}${c.negatives.map((D) => s(String(D), g)).join("|")})`), v && P ? O = `${v}|${P}` : O = v || P, f.wrap ? `(${R}${O})` : O;
387
+ }, h = (c, f, g, R) => {
388
+ if (g)
389
+ return a(c, f, { wrap: !1, ...R });
390
+ let v = String.fromCharCode(c);
391
+ if (c === f) return v;
392
+ let P = String.fromCharCode(f);
393
+ return `[${v}-${P}]`;
394
+ }, d = (c, f, g) => {
395
+ if (Array.isArray(c)) {
396
+ let R = g.wrap === !0, v = g.capture ? "" : "?:";
397
+ return R ? `(${v}${c.join("|")})` : c.join("|");
398
+ }
399
+ return a(c, f, g);
400
+ }, y = (...c) => new RangeError("Invalid range arguments: " + o.inspect(...c)), T = (c, f, g) => {
401
+ if (g.strictRanges === !0) throw y([c, f]);
402
+ return [];
403
+ }, C = (c, f) => {
404
+ if (f.strictRanges === !0)
405
+ throw new TypeError(`Expected step "${c}" to be a number`);
406
+ return [];
407
+ }, m = (c, f, g = 1, R = {}) => {
408
+ let v = Number(c), P = Number(f);
409
+ if (!Number.isInteger(v) || !Number.isInteger(P)) {
410
+ if (R.strictRanges === !0) throw y([c, f]);
411
+ return [];
412
+ }
413
+ v === 0 && (v = 0), P === 0 && (P = 0);
414
+ let O = v > P, D = String(c), k = String(f), H = String(g);
415
+ g = Math.max(Math.abs(g), 1);
416
+ let x = n(D) || n(k) || n(H), U = x ? Math.max(D.length, k.length, H.length) : 0, N = x === !1 && e(c, f, R) === !1, q = R.transform || u(N);
417
+ if (R.toRegex && g === 1)
418
+ return h(s(c, U), s(f, U), !0, R);
419
+ let F = { negatives: [], positives: [] }, z = (M) => F[M < 0 ? "negatives" : "positives"].push(Math.abs(M)), ce = [], $ = 0;
420
+ for (; O ? v >= P : v <= P; )
421
+ R.toRegex === !0 && g > 1 ? z(v) : ce.push(i(q(v, $), U, N)), v = O ? v - g : v + g, $++;
422
+ return R.toRegex === !0 ? g > 1 ? p(F, R, U) : d(ce, null, { wrap: !1, ...R }) : ce;
423
+ }, S = (c, f, g = 1, R = {}) => {
424
+ if (!t(c) && c.length > 1 || !t(f) && f.length > 1)
425
+ return T(c, f, R);
426
+ let v = R.transform || ((N) => String.fromCharCode(N)), P = `${c}`.charCodeAt(0), O = `${f}`.charCodeAt(0), D = P > O, k = Math.min(P, O), H = Math.max(P, O);
427
+ if (R.toRegex && g === 1)
428
+ return h(k, H, !1, R);
429
+ let x = [], U = 0;
430
+ for (; D ? P >= O : P <= O; )
431
+ x.push(v(P, U)), P = D ? P - g : P + g, U++;
432
+ return R.toRegex === !0 ? d(x, null, { wrap: !1, options: R }) : x;
433
+ }, _ = (c, f, g, R = {}) => {
434
+ if (f == null && r(c))
435
+ return [c];
436
+ if (!r(c) || !r(f))
437
+ return T(c, f, R);
438
+ if (typeof g == "function")
439
+ return _(c, f, 1, { transform: g });
440
+ if (l(g))
441
+ return _(c, f, 0, g);
442
+ let v = { ...R };
443
+ return v.capture === !0 && (v.wrap = !0), g = g || v.step || 1, t(g) ? t(c) && t(f) ? m(c, f, g, v) : S(c, f, Math.max(Math.abs(g), 1), v) : g != null && !l(g) ? C(g, v) : _(c, f, 1, g);
444
+ };
445
+ return xt = _, xt;
446
+ }
447
+ var Ct, _r;
448
+ function Zn() {
449
+ if (_r) return Ct;
450
+ _r = 1;
451
+ const o = xn(), a = Xt();
452
+ return Ct = (u, r = {}) => {
453
+ const t = (n, e = {}) => {
454
+ const i = a.isInvalidBrace(e), s = n.invalid === !0 && r.escapeInvalid === !0, p = i === !0 || s === !0, h = r.escapeInvalid === !0 ? "\\" : "";
455
+ let d = "";
456
+ if (n.isOpen === !0)
457
+ return h + n.value;
458
+ if (n.isClose === !0)
459
+ return console.log("node.isClose", h, n.value), h + n.value;
460
+ if (n.type === "open")
461
+ return p ? h + n.value : "(";
462
+ if (n.type === "close")
463
+ return p ? h + n.value : ")";
464
+ if (n.type === "comma")
465
+ return n.prev.type === "comma" ? "" : p ? n.value : "|";
466
+ if (n.value)
467
+ return n.value;
468
+ if (n.nodes && n.ranges > 0) {
469
+ const y = a.reduce(n.nodes), T = o(...y, { ...r, wrap: !1, toRegex: !0, strictZeros: !0 });
470
+ if (T.length !== 0)
471
+ return y.length > 1 && T.length > 1 ? `(${T})` : T;
472
+ }
473
+ if (n.nodes)
474
+ for (const y of n.nodes)
475
+ d += t(y, n);
476
+ return d;
477
+ };
478
+ return t(u);
479
+ }, Ct;
480
+ }
481
+ var Tt, gr;
482
+ function zn() {
483
+ if (gr) return Tt;
484
+ gr = 1;
485
+ const o = xn(), a = Yt(), l = Xt(), u = (t = "", n = "", e = !1) => {
486
+ const i = [];
487
+ if (t = [].concat(t), n = [].concat(n), !n.length) return t;
488
+ if (!t.length)
489
+ return e ? l.flatten(n).map((s) => `{${s}}`) : n;
490
+ for (const s of t)
491
+ if (Array.isArray(s))
492
+ for (const p of s)
493
+ i.push(u(p, n, e));
494
+ else
495
+ for (let p of n)
496
+ e === !0 && typeof p == "string" && (p = `{${p}}`), i.push(Array.isArray(p) ? u(s, p, e) : s + p);
497
+ return l.flatten(i);
498
+ };
499
+ return Tt = (t, n = {}) => {
500
+ const e = n.rangeLimit === void 0 ? 1e3 : n.rangeLimit, i = (s, p = {}) => {
501
+ s.queue = [];
502
+ let h = p, d = p.queue;
503
+ for (; h.type !== "brace" && h.type !== "root" && h.parent; )
504
+ h = h.parent, d = h.queue;
505
+ if (s.invalid || s.dollar) {
506
+ d.push(u(d.pop(), a(s, n)));
507
+ return;
508
+ }
509
+ if (s.type === "brace" && s.invalid !== !0 && s.nodes.length === 2) {
510
+ d.push(u(d.pop(), ["{}"]));
511
+ return;
512
+ }
513
+ if (s.nodes && s.ranges > 0) {
514
+ const m = l.reduce(s.nodes);
515
+ if (l.exceedsLimit(...m, n.step, e))
516
+ throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
517
+ let S = o(...m, n);
518
+ S.length === 0 && (S = a(s, n)), d.push(u(d.pop(), S)), s.nodes = [];
519
+ return;
520
+ }
521
+ const y = l.encloseBrace(s);
522
+ let T = s.queue, C = s;
523
+ for (; C.type !== "brace" && C.type !== "root" && C.parent; )
524
+ C = C.parent, T = C.queue;
525
+ for (let m = 0; m < s.nodes.length; m++) {
526
+ const S = s.nodes[m];
527
+ if (S.type === "comma" && s.type === "brace") {
528
+ m === 1 && T.push(""), T.push("");
529
+ continue;
530
+ }
531
+ if (S.type === "close") {
532
+ d.push(u(d.pop(), T, y));
533
+ continue;
534
+ }
535
+ if (S.value && S.type !== "open") {
536
+ T.push(u(T.pop(), S.value));
537
+ continue;
538
+ }
539
+ S.nodes && i(S, s);
540
+ }
541
+ return T;
542
+ };
543
+ return l.flatten(i(t));
544
+ }, Tt;
545
+ }
546
+ var Ot, yr;
547
+ function Jn() {
548
+ return yr || (yr = 1, Ot = {
549
+ MAX_LENGTH: 1e4,
550
+ // Digits
551
+ CHAR_0: "0",
552
+ /* 0 */
553
+ CHAR_9: "9",
554
+ /* 9 */
555
+ // Alphabet chars.
556
+ CHAR_UPPERCASE_A: "A",
557
+ /* A */
558
+ CHAR_LOWERCASE_A: "a",
559
+ /* a */
560
+ CHAR_UPPERCASE_Z: "Z",
561
+ /* Z */
562
+ CHAR_LOWERCASE_Z: "z",
563
+ /* z */
564
+ CHAR_LEFT_PARENTHESES: "(",
565
+ /* ( */
566
+ CHAR_RIGHT_PARENTHESES: ")",
567
+ /* ) */
568
+ CHAR_ASTERISK: "*",
569
+ /* * */
570
+ // Non-alphabetic chars.
571
+ CHAR_AMPERSAND: "&",
572
+ /* & */
573
+ CHAR_AT: "@",
574
+ /* @ */
575
+ CHAR_BACKSLASH: "\\",
576
+ /* \ */
577
+ CHAR_BACKTICK: "`",
578
+ /* ` */
579
+ CHAR_CARRIAGE_RETURN: "\r",
580
+ /* \r */
581
+ CHAR_CIRCUMFLEX_ACCENT: "^",
582
+ /* ^ */
583
+ CHAR_COLON: ":",
584
+ /* : */
585
+ CHAR_COMMA: ",",
586
+ /* , */
587
+ CHAR_DOLLAR: "$",
588
+ /* . */
589
+ CHAR_DOT: ".",
590
+ /* . */
591
+ CHAR_DOUBLE_QUOTE: '"',
592
+ /* " */
593
+ CHAR_EQUAL: "=",
594
+ /* = */
595
+ CHAR_EXCLAMATION_MARK: "!",
596
+ /* ! */
597
+ CHAR_FORM_FEED: "\f",
598
+ /* \f */
599
+ CHAR_FORWARD_SLASH: "/",
600
+ /* / */
601
+ CHAR_HASH: "#",
602
+ /* # */
603
+ CHAR_HYPHEN_MINUS: "-",
604
+ /* - */
605
+ CHAR_LEFT_ANGLE_BRACKET: "<",
606
+ /* < */
607
+ CHAR_LEFT_CURLY_BRACE: "{",
608
+ /* { */
609
+ CHAR_LEFT_SQUARE_BRACKET: "[",
610
+ /* [ */
611
+ CHAR_LINE_FEED: `
612
+ `,
613
+ /* \n */
614
+ CHAR_NO_BREAK_SPACE: " ",
615
+ /* \u00A0 */
616
+ CHAR_PERCENT: "%",
617
+ /* % */
618
+ CHAR_PLUS: "+",
619
+ /* + */
620
+ CHAR_QUESTION_MARK: "?",
621
+ /* ? */
622
+ CHAR_RIGHT_ANGLE_BRACKET: ">",
623
+ /* > */
624
+ CHAR_RIGHT_CURLY_BRACE: "}",
625
+ /* } */
626
+ CHAR_RIGHT_SQUARE_BRACKET: "]",
627
+ /* ] */
628
+ CHAR_SEMICOLON: ";",
629
+ /* ; */
630
+ CHAR_SINGLE_QUOTE: "'",
631
+ /* ' */
632
+ CHAR_SPACE: " ",
633
+ /* */
634
+ CHAR_TAB: " ",
635
+ /* \t */
636
+ CHAR_UNDERSCORE: "_",
637
+ /* _ */
638
+ CHAR_VERTICAL_LINE: "|",
639
+ /* | */
640
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF"
641
+ /* \uFEFF */
642
+ }), Ot;
643
+ }
644
+ var wt, Sr;
645
+ function es() {
646
+ if (Sr) return wt;
647
+ Sr = 1;
648
+ const o = Yt(), {
649
+ MAX_LENGTH: a,
650
+ CHAR_BACKSLASH: l,
651
+ /* \ */
652
+ CHAR_BACKTICK: u,
653
+ /* ` */
654
+ CHAR_COMMA: r,
655
+ /* , */
656
+ CHAR_DOT: t,
657
+ /* . */
658
+ CHAR_LEFT_PARENTHESES: n,
659
+ /* ( */
660
+ CHAR_RIGHT_PARENTHESES: e,
661
+ /* ) */
662
+ CHAR_LEFT_CURLY_BRACE: i,
663
+ /* { */
664
+ CHAR_RIGHT_CURLY_BRACE: s,
665
+ /* } */
666
+ CHAR_LEFT_SQUARE_BRACKET: p,
667
+ /* [ */
668
+ CHAR_RIGHT_SQUARE_BRACKET: h,
669
+ /* ] */
670
+ CHAR_DOUBLE_QUOTE: d,
671
+ /* " */
672
+ CHAR_SINGLE_QUOTE: y,
673
+ /* ' */
674
+ CHAR_NO_BREAK_SPACE: T,
675
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: C
676
+ } = Jn();
677
+ return wt = (S, _ = {}) => {
678
+ if (typeof S != "string")
679
+ throw new TypeError("Expected a string");
680
+ const c = _ || {}, f = typeof c.maxLength == "number" ? Math.min(a, c.maxLength) : a;
681
+ if (S.length > f)
682
+ throw new SyntaxError(`Input length (${S.length}), exceeds max characters (${f})`);
683
+ const g = { type: "root", input: S, nodes: [] }, R = [g];
684
+ let v = g, P = g, O = 0;
685
+ const D = S.length;
686
+ let k = 0, H = 0, x;
687
+ const U = () => S[k++], N = (q) => {
688
+ if (q.type === "text" && P.type === "dot" && (P.type = "text"), P && P.type === "text" && q.type === "text") {
689
+ P.value += q.value;
690
+ return;
691
+ }
692
+ return v.nodes.push(q), q.parent = v, q.prev = P, P = q, q;
693
+ };
694
+ for (N({ type: "bos" }); k < D; )
695
+ if (v = R[R.length - 1], x = U(), !(x === C || x === T)) {
696
+ if (x === l) {
697
+ N({ type: "text", value: (_.keepEscaping ? x : "") + U() });
698
+ continue;
699
+ }
700
+ if (x === h) {
701
+ N({ type: "text", value: "\\" + x });
702
+ continue;
703
+ }
704
+ if (x === p) {
705
+ O++;
706
+ let q;
707
+ for (; k < D && (q = U()); ) {
708
+ if (x += q, q === p) {
709
+ O++;
710
+ continue;
711
+ }
712
+ if (q === l) {
713
+ x += U();
714
+ continue;
715
+ }
716
+ if (q === h && (O--, O === 0))
717
+ break;
718
+ }
719
+ N({ type: "text", value: x });
720
+ continue;
721
+ }
722
+ if (x === n) {
723
+ v = N({ type: "paren", nodes: [] }), R.push(v), N({ type: "text", value: x });
724
+ continue;
725
+ }
726
+ if (x === e) {
727
+ if (v.type !== "paren") {
728
+ N({ type: "text", value: x });
729
+ continue;
730
+ }
731
+ v = R.pop(), N({ type: "text", value: x }), v = R[R.length - 1];
732
+ continue;
733
+ }
734
+ if (x === d || x === y || x === u) {
735
+ const q = x;
736
+ let F;
737
+ for (_.keepQuotes !== !0 && (x = ""); k < D && (F = U()); ) {
738
+ if (F === l) {
739
+ x += F + U();
740
+ continue;
741
+ }
742
+ if (F === q) {
743
+ _.keepQuotes === !0 && (x += F);
744
+ break;
745
+ }
746
+ x += F;
747
+ }
748
+ N({ type: "text", value: x });
749
+ continue;
750
+ }
751
+ if (x === i) {
752
+ H++;
753
+ const F = {
754
+ type: "brace",
755
+ open: !0,
756
+ close: !1,
757
+ dollar: P.value && P.value.slice(-1) === "$" || v.dollar === !0,
758
+ depth: H,
759
+ commas: 0,
760
+ ranges: 0,
761
+ nodes: []
762
+ };
763
+ v = N(F), R.push(v), N({ type: "open", value: x });
764
+ continue;
765
+ }
766
+ if (x === s) {
767
+ if (v.type !== "brace") {
768
+ N({ type: "text", value: x });
769
+ continue;
770
+ }
771
+ const q = "close";
772
+ v = R.pop(), v.close = !0, N({ type: q, value: x }), H--, v = R[R.length - 1];
773
+ continue;
774
+ }
775
+ if (x === r && H > 0) {
776
+ if (v.ranges > 0) {
777
+ v.ranges = 0;
778
+ const q = v.nodes.shift();
779
+ v.nodes = [q, { type: "text", value: o(v) }];
780
+ }
781
+ N({ type: "comma", value: x }), v.commas++;
782
+ continue;
783
+ }
784
+ if (x === t && H > 0 && v.commas === 0) {
785
+ const q = v.nodes;
786
+ if (H === 0 || q.length === 0) {
787
+ N({ type: "text", value: x });
788
+ continue;
789
+ }
790
+ if (P.type === "dot") {
791
+ if (v.range = [], P.value += x, P.type = "range", v.nodes.length !== 3 && v.nodes.length !== 5) {
792
+ v.invalid = !0, v.ranges = 0, P.type = "text";
793
+ continue;
794
+ }
795
+ v.ranges++, v.args = [];
796
+ continue;
797
+ }
798
+ if (P.type === "range") {
799
+ q.pop();
800
+ const F = q[q.length - 1];
801
+ F.value += P.value + x, P = F, v.ranges--;
802
+ continue;
803
+ }
804
+ N({ type: "dot", value: x });
805
+ continue;
806
+ }
807
+ N({ type: "text", value: x });
808
+ }
809
+ do
810
+ if (v = R.pop(), v.type !== "root") {
811
+ v.nodes.forEach((z) => {
812
+ z.nodes || (z.type === "open" && (z.isOpen = !0), z.type === "close" && (z.isClose = !0), z.nodes || (z.type = "text"), z.invalid = !0);
813
+ });
814
+ const q = R[R.length - 1], F = q.nodes.indexOf(v);
815
+ q.nodes.splice(F, 1, ...v.nodes);
816
+ }
817
+ while (R.length > 0);
818
+ return N({ type: "eos" }), g;
819
+ }, wt;
820
+ }
821
+ var $t, mr;
822
+ function ts() {
823
+ if (mr) return $t;
824
+ mr = 1;
825
+ const o = Yt(), a = Zn(), l = zn(), u = es(), r = (t, n = {}) => {
826
+ let e = [];
827
+ if (Array.isArray(t))
828
+ for (const i of t) {
829
+ const s = r.create(i, n);
830
+ Array.isArray(s) ? e.push(...s) : e.push(s);
831
+ }
832
+ else
833
+ e = [].concat(r.create(t, n));
834
+ return n && n.expand === !0 && n.nodupes === !0 && (e = [...new Set(e)]), e;
835
+ };
836
+ return r.parse = (t, n = {}) => u(t, n), r.stringify = (t, n = {}) => o(typeof t == "string" ? r.parse(t, n) : t, n), r.compile = (t, n = {}) => (typeof t == "string" && (t = r.parse(t, n)), a(t, n)), r.expand = (t, n = {}) => {
837
+ typeof t == "string" && (t = r.parse(t, n));
838
+ let e = l(t, n);
839
+ return n.noempty === !0 && (e = e.filter(Boolean)), n.nodupes === !0 && (e = [...new Set(e)]), e;
840
+ }, r.create = (t, n = {}) => t === "" || t.length < 3 ? [t] : n.expand !== !0 ? r.compile(t, n) : r.expand(t, n), $t = r, $t;
841
+ }
842
+ var Lt = {}, kt, vr;
843
+ function _t() {
844
+ if (vr) return kt;
845
+ vr = 1;
846
+ const o = Se, a = "\\\\/", l = `[^${a}]`, u = 0, r = "\\.", t = "\\+", n = "\\?", e = "\\/", i = "(?=.)", s = "[^/]", p = `(?:${e}|$)`, h = `(?:^|${e})`, d = `${r}{1,2}${p}`, y = `(?!${r})`, T = `(?!${h}${d})`, C = `(?!${r}{0,1}${p})`, m = `(?!${d})`, S = `[^.${e}]`, _ = `${s}*?`, c = {
847
+ DOT_LITERAL: r,
848
+ PLUS_LITERAL: t,
849
+ QMARK_LITERAL: n,
850
+ SLASH_LITERAL: e,
851
+ ONE_CHAR: i,
852
+ QMARK: s,
853
+ END_ANCHOR: p,
854
+ DOTS_SLASH: d,
855
+ NO_DOT: y,
856
+ NO_DOTS: T,
857
+ NO_DOT_SLASH: C,
858
+ NO_DOTS_SLASH: m,
859
+ QMARK_NO_DOT: S,
860
+ STAR: _,
861
+ START_ANCHOR: h
862
+ }, f = {
863
+ ...c,
864
+ SLASH_LITERAL: `[${a}]`,
865
+ QMARK: l,
866
+ STAR: `${l}*?`,
867
+ DOTS_SLASH: `${r}{1,2}(?:[${a}]|$)`,
868
+ NO_DOT: `(?!${r})`,
869
+ NO_DOTS: `(?!(?:^|[${a}])${r}{1,2}(?:[${a}]|$))`,
870
+ NO_DOT_SLASH: `(?!${r}{0,1}(?:[${a}]|$))`,
871
+ NO_DOTS_SLASH: `(?!${r}{1,2}(?:[${a}]|$))`,
872
+ QMARK_NO_DOT: `[^.${a}]`,
873
+ START_ANCHOR: `(?:^|[${a}])`,
874
+ END_ANCHOR: `(?:[${a}]|$)`
875
+ }, g = {
876
+ __proto__: null,
877
+ alnum: "a-zA-Z0-9",
878
+ alpha: "a-zA-Z",
879
+ ascii: "\\x00-\\x7F",
880
+ blank: " \\t",
881
+ cntrl: "\\x00-\\x1F\\x7F",
882
+ digit: "0-9",
883
+ graph: "\\x21-\\x7E",
884
+ lower: "a-z",
885
+ print: "\\x20-\\x7E ",
886
+ punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
887
+ space: " \\t\\r\\n\\v\\f",
888
+ upper: "A-Z",
889
+ word: "A-Za-z0-9_",
890
+ xdigit: "A-Fa-f0-9"
891
+ };
892
+ return kt = {
893
+ DEFAULT_MAX_EXTGLOB_RECURSION: u,
894
+ MAX_LENGTH: 1024 * 64,
895
+ POSIX_REGEX_SOURCE: g,
896
+ // regular expressions
897
+ REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
898
+ REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
899
+ REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
900
+ REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
901
+ REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
902
+ REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
903
+ // Replace globs with equivalent patterns to reduce parsing time.
904
+ REPLACEMENTS: {
905
+ __proto__: null,
906
+ "***": "*",
907
+ "**/**": "**",
908
+ "**/**/**": "**"
909
+ },
910
+ // Digits
911
+ CHAR_0: 48,
912
+ /* 0 */
913
+ CHAR_9: 57,
914
+ /* 9 */
915
+ // Alphabet chars.
916
+ CHAR_UPPERCASE_A: 65,
917
+ /* A */
918
+ CHAR_LOWERCASE_A: 97,
919
+ /* a */
920
+ CHAR_UPPERCASE_Z: 90,
921
+ /* Z */
922
+ CHAR_LOWERCASE_Z: 122,
923
+ /* z */
924
+ CHAR_LEFT_PARENTHESES: 40,
925
+ /* ( */
926
+ CHAR_RIGHT_PARENTHESES: 41,
927
+ /* ) */
928
+ CHAR_ASTERISK: 42,
929
+ /* * */
930
+ // Non-alphabetic chars.
931
+ CHAR_AMPERSAND: 38,
932
+ /* & */
933
+ CHAR_AT: 64,
934
+ /* @ */
935
+ CHAR_BACKWARD_SLASH: 92,
936
+ /* \ */
937
+ CHAR_CARRIAGE_RETURN: 13,
938
+ /* \r */
939
+ CHAR_CIRCUMFLEX_ACCENT: 94,
940
+ /* ^ */
941
+ CHAR_COLON: 58,
942
+ /* : */
943
+ CHAR_COMMA: 44,
944
+ /* , */
945
+ CHAR_DOT: 46,
946
+ /* . */
947
+ CHAR_DOUBLE_QUOTE: 34,
948
+ /* " */
949
+ CHAR_EQUAL: 61,
950
+ /* = */
951
+ CHAR_EXCLAMATION_MARK: 33,
952
+ /* ! */
953
+ CHAR_FORM_FEED: 12,
954
+ /* \f */
955
+ CHAR_FORWARD_SLASH: 47,
956
+ /* / */
957
+ CHAR_GRAVE_ACCENT: 96,
958
+ /* ` */
959
+ CHAR_HASH: 35,
960
+ /* # */
961
+ CHAR_HYPHEN_MINUS: 45,
962
+ /* - */
963
+ CHAR_LEFT_ANGLE_BRACKET: 60,
964
+ /* < */
965
+ CHAR_LEFT_CURLY_BRACE: 123,
966
+ /* { */
967
+ CHAR_LEFT_SQUARE_BRACKET: 91,
968
+ /* [ */
969
+ CHAR_LINE_FEED: 10,
970
+ /* \n */
971
+ CHAR_NO_BREAK_SPACE: 160,
972
+ /* \u00A0 */
973
+ CHAR_PERCENT: 37,
974
+ /* % */
975
+ CHAR_PLUS: 43,
976
+ /* + */
977
+ CHAR_QUESTION_MARK: 63,
978
+ /* ? */
979
+ CHAR_RIGHT_ANGLE_BRACKET: 62,
980
+ /* > */
981
+ CHAR_RIGHT_CURLY_BRACE: 125,
982
+ /* } */
983
+ CHAR_RIGHT_SQUARE_BRACKET: 93,
984
+ /* ] */
985
+ CHAR_SEMICOLON: 59,
986
+ /* ; */
987
+ CHAR_SINGLE_QUOTE: 39,
988
+ /* ' */
989
+ CHAR_SPACE: 32,
990
+ /* */
991
+ CHAR_TAB: 9,
992
+ /* \t */
993
+ CHAR_UNDERSCORE: 95,
994
+ /* _ */
995
+ CHAR_VERTICAL_LINE: 124,
996
+ /* | */
997
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
998
+ /* \uFEFF */
999
+ SEP: o.sep,
1000
+ /**
1001
+ * Create EXTGLOB_CHARS
1002
+ */
1003
+ extglobChars(R) {
1004
+ return {
1005
+ "!": { type: "negate", open: "(?:(?!(?:", close: `))${R.STAR})` },
1006
+ "?": { type: "qmark", open: "(?:", close: ")?" },
1007
+ "+": { type: "plus", open: "(?:", close: ")+" },
1008
+ "*": { type: "star", open: "(?:", close: ")*" },
1009
+ "@": { type: "at", open: "(?:", close: ")" }
1010
+ };
1011
+ },
1012
+ /**
1013
+ * Create GLOB_CHARS
1014
+ */
1015
+ globChars(R) {
1016
+ return R === !0 ? f : c;
1017
+ }
1018
+ }, kt;
1019
+ }
1020
+ var Rr;
1021
+ function gt() {
1022
+ return Rr || (Rr = 1, (function(o) {
1023
+ const a = Se, l = process.platform === "win32", {
1024
+ REGEX_BACKSLASH: u,
1025
+ REGEX_REMOVE_BACKSLASH: r,
1026
+ REGEX_SPECIAL_CHARS: t,
1027
+ REGEX_SPECIAL_CHARS_GLOBAL: n
1028
+ } = _t();
1029
+ o.isObject = (e) => e !== null && typeof e == "object" && !Array.isArray(e), o.hasRegexChars = (e) => t.test(e), o.isRegexChar = (e) => e.length === 1 && o.hasRegexChars(e), o.escapeRegex = (e) => e.replace(n, "\\$1"), o.toPosixSlashes = (e) => e.replace(u, "/"), o.removeBackslashes = (e) => e.replace(r, (i) => i === "\\" ? "" : i), o.supportsLookbehinds = () => {
1030
+ const e = process.version.slice(1).split(".").map(Number);
1031
+ return e.length === 3 && e[0] >= 9 || e[0] === 8 && e[1] >= 10;
1032
+ }, o.isWindows = (e) => e && typeof e.windows == "boolean" ? e.windows : l === !0 || a.sep === "\\", o.escapeLast = (e, i, s) => {
1033
+ const p = e.lastIndexOf(i, s);
1034
+ return p === -1 ? e : e[p - 1] === "\\" ? o.escapeLast(e, i, p - 1) : `${e.slice(0, p)}\\${e.slice(p)}`;
1035
+ }, o.removePrefix = (e, i = {}) => {
1036
+ let s = e;
1037
+ return s.startsWith("./") && (s = s.slice(2), i.prefix = "./"), s;
1038
+ }, o.wrapOutput = (e, i = {}, s = {}) => {
1039
+ const p = s.contains ? "" : "^", h = s.contains ? "" : "$";
1040
+ let d = `${p}(?:${e})${h}`;
1041
+ return i.negated === !0 && (d = `(?:^(?!${d}).*$)`), d;
1042
+ };
1043
+ })(Lt)), Lt;
1044
+ }
1045
+ var Ht, Er;
1046
+ function rs() {
1047
+ if (Er) return Ht;
1048
+ Er = 1;
1049
+ const o = gt(), {
1050
+ CHAR_ASTERISK: a,
1051
+ /* * */
1052
+ CHAR_AT: l,
1053
+ /* @ */
1054
+ CHAR_BACKWARD_SLASH: u,
1055
+ /* \ */
1056
+ CHAR_COMMA: r,
1057
+ /* , */
1058
+ CHAR_DOT: t,
1059
+ /* . */
1060
+ CHAR_EXCLAMATION_MARK: n,
1061
+ /* ! */
1062
+ CHAR_FORWARD_SLASH: e,
1063
+ /* / */
1064
+ CHAR_LEFT_CURLY_BRACE: i,
1065
+ /* { */
1066
+ CHAR_LEFT_PARENTHESES: s,
1067
+ /* ( */
1068
+ CHAR_LEFT_SQUARE_BRACKET: p,
1069
+ /* [ */
1070
+ CHAR_PLUS: h,
1071
+ /* + */
1072
+ CHAR_QUESTION_MARK: d,
1073
+ /* ? */
1074
+ CHAR_RIGHT_CURLY_BRACE: y,
1075
+ /* } */
1076
+ CHAR_RIGHT_PARENTHESES: T,
1077
+ /* ) */
1078
+ CHAR_RIGHT_SQUARE_BRACKET: C
1079
+ /* ] */
1080
+ } = _t(), m = (c) => c === e || c === u, S = (c) => {
1081
+ c.isPrefix !== !0 && (c.depth = c.isGlobstar ? 1 / 0 : 1);
1082
+ };
1083
+ return Ht = (c, f) => {
1084
+ const g = f || {}, R = c.length - 1, v = g.parts === !0 || g.scanToEnd === !0, P = [], O = [], D = [];
1085
+ let k = c, H = -1, x = 0, U = 0, N = !1, q = !1, F = !1, z = !1, ce = !1, $ = !1, M = !1, V = !1, oe = !1, ue = !1, ae = 0, fe, B, W = { value: "", depth: 0, isGlob: !1 };
1086
+ const A = () => H >= R, le = () => k.charCodeAt(H + 1), te = () => (fe = B, k.charCodeAt(++H));
1087
+ for (; H < R; ) {
1088
+ B = te();
1089
+ let K;
1090
+ if (B === u) {
1091
+ M = W.backslashes = !0, B = te(), B === i && ($ = !0);
1092
+ continue;
1093
+ }
1094
+ if ($ === !0 || B === i) {
1095
+ for (ae++; A() !== !0 && (B = te()); ) {
1096
+ if (B === u) {
1097
+ M = W.backslashes = !0, te();
1098
+ continue;
1099
+ }
1100
+ if (B === i) {
1101
+ ae++;
1102
+ continue;
1103
+ }
1104
+ if ($ !== !0 && B === t && (B = te()) === t) {
1105
+ if (N = W.isBrace = !0, F = W.isGlob = !0, ue = !0, v === !0)
1106
+ continue;
1107
+ break;
1108
+ }
1109
+ if ($ !== !0 && B === r) {
1110
+ if (N = W.isBrace = !0, F = W.isGlob = !0, ue = !0, v === !0)
1111
+ continue;
1112
+ break;
1113
+ }
1114
+ if (B === y && (ae--, ae === 0)) {
1115
+ $ = !1, N = W.isBrace = !0, ue = !0;
1116
+ break;
1117
+ }
1118
+ }
1119
+ if (v === !0)
1120
+ continue;
1121
+ break;
1122
+ }
1123
+ if (B === e) {
1124
+ if (P.push(H), O.push(W), W = { value: "", depth: 0, isGlob: !1 }, ue === !0) continue;
1125
+ if (fe === t && H === x + 1) {
1126
+ x += 2;
1127
+ continue;
1128
+ }
1129
+ U = H + 1;
1130
+ continue;
1131
+ }
1132
+ if (g.noext !== !0 && (B === h || B === l || B === a || B === d || B === n) === !0 && le() === s) {
1133
+ if (F = W.isGlob = !0, z = W.isExtglob = !0, ue = !0, B === n && H === x && (oe = !0), v === !0) {
1134
+ for (; A() !== !0 && (B = te()); ) {
1135
+ if (B === u) {
1136
+ M = W.backslashes = !0, B = te();
1137
+ continue;
1138
+ }
1139
+ if (B === T) {
1140
+ F = W.isGlob = !0, ue = !0;
1141
+ break;
1142
+ }
1143
+ }
1144
+ continue;
1145
+ }
1146
+ break;
1147
+ }
1148
+ if (B === a) {
1149
+ if (fe === a && (ce = W.isGlobstar = !0), F = W.isGlob = !0, ue = !0, v === !0)
1150
+ continue;
1151
+ break;
1152
+ }
1153
+ if (B === d) {
1154
+ if (F = W.isGlob = !0, ue = !0, v === !0)
1155
+ continue;
1156
+ break;
1157
+ }
1158
+ if (B === p) {
1159
+ for (; A() !== !0 && (K = te()); ) {
1160
+ if (K === u) {
1161
+ M = W.backslashes = !0, te();
1162
+ continue;
1163
+ }
1164
+ if (K === C) {
1165
+ q = W.isBracket = !0, F = W.isGlob = !0, ue = !0;
1166
+ break;
1167
+ }
1168
+ }
1169
+ if (v === !0)
1170
+ continue;
1171
+ break;
1172
+ }
1173
+ if (g.nonegate !== !0 && B === n && H === x) {
1174
+ V = W.negated = !0, x++;
1175
+ continue;
1176
+ }
1177
+ if (g.noparen !== !0 && B === s) {
1178
+ if (F = W.isGlob = !0, v === !0) {
1179
+ for (; A() !== !0 && (B = te()); ) {
1180
+ if (B === s) {
1181
+ M = W.backslashes = !0, B = te();
1182
+ continue;
1183
+ }
1184
+ if (B === T) {
1185
+ ue = !0;
1186
+ break;
1187
+ }
1188
+ }
1189
+ continue;
1190
+ }
1191
+ break;
1192
+ }
1193
+ if (F === !0) {
1194
+ if (ue = !0, v === !0)
1195
+ continue;
1196
+ break;
1197
+ }
1198
+ }
1199
+ g.noext === !0 && (z = !1, F = !1);
1200
+ let J = k, b = "", E = "";
1201
+ x > 0 && (b = k.slice(0, x), k = k.slice(x), U -= x), J && F === !0 && U > 0 ? (J = k.slice(0, U), E = k.slice(U)) : F === !0 ? (J = "", E = k) : J = k, J && J !== "" && J !== "/" && J !== k && m(J.charCodeAt(J.length - 1)) && (J = J.slice(0, -1)), g.unescape === !0 && (E && (E = o.removeBackslashes(E)), J && M === !0 && (J = o.removeBackslashes(J)));
1202
+ const he = {
1203
+ prefix: b,
1204
+ input: c,
1205
+ start: x,
1206
+ base: J,
1207
+ glob: E,
1208
+ isBrace: N,
1209
+ isBracket: q,
1210
+ isGlob: F,
1211
+ isExtglob: z,
1212
+ isGlobstar: ce,
1213
+ negated: V,
1214
+ negatedExtglob: oe
1215
+ };
1216
+ if (g.tokens === !0 && (he.maxDepth = 0, m(B) || O.push(W), he.tokens = O), g.parts === !0 || g.tokens === !0) {
1217
+ let K;
1218
+ for (let Z = 0; Z < P.length; Z++) {
1219
+ const me = K ? K + 1 : x, pe = P[Z], be = c.slice(me, pe);
1220
+ g.tokens && (Z === 0 && x !== 0 ? (O[Z].isPrefix = !0, O[Z].value = b) : O[Z].value = be, S(O[Z]), he.maxDepth += O[Z].depth), (Z !== 0 || be !== "") && D.push(be), K = pe;
1221
+ }
1222
+ if (K && K + 1 < c.length) {
1223
+ const Z = c.slice(K + 1);
1224
+ D.push(Z), g.tokens && (O[O.length - 1].value = Z, S(O[O.length - 1]), he.maxDepth += O[O.length - 1].depth);
1225
+ }
1226
+ he.slashes = P, he.parts = D;
1227
+ }
1228
+ return he;
1229
+ }, Ht;
1230
+ }
1231
+ var Mt, Ar;
1232
+ function ns() {
1233
+ if (Ar) return Mt;
1234
+ Ar = 1;
1235
+ const o = _t(), a = gt(), {
1236
+ MAX_LENGTH: l,
1237
+ POSIX_REGEX_SOURCE: u,
1238
+ REGEX_NON_SPECIAL_CHARS: r,
1239
+ REGEX_SPECIAL_CHARS_BACKREF: t,
1240
+ REPLACEMENTS: n
1241
+ } = o, e = (_, c) => {
1242
+ if (typeof c.expandRange == "function")
1243
+ return c.expandRange(..._, c);
1244
+ _.sort();
1245
+ const f = `[${_.join("-")}]`;
1246
+ try {
1247
+ new RegExp(f);
1248
+ } catch {
1249
+ return _.map((R) => a.escapeRegex(R)).join("..");
1250
+ }
1251
+ return f;
1252
+ }, i = (_, c) => `Missing ${_}: "${c}" - use "\\\\${c}" to match literal characters`, s = (_) => {
1253
+ const c = [];
1254
+ let f = 0, g = 0, R = 0, v = "", P = !1;
1255
+ for (const O of _) {
1256
+ if (P === !0) {
1257
+ v += O, P = !1;
1258
+ continue;
1259
+ }
1260
+ if (O === "\\") {
1261
+ v += O, P = !0;
1262
+ continue;
1263
+ }
1264
+ if (O === '"') {
1265
+ R = R === 1 ? 0 : 1, v += O;
1266
+ continue;
1267
+ }
1268
+ if (R === 0) {
1269
+ if (O === "[")
1270
+ f++;
1271
+ else if (O === "]" && f > 0)
1272
+ f--;
1273
+ else if (f === 0) {
1274
+ if (O === "(")
1275
+ g++;
1276
+ else if (O === ")" && g > 0)
1277
+ g--;
1278
+ else if (O === "|" && g === 0) {
1279
+ c.push(v), v = "";
1280
+ continue;
1281
+ }
1282
+ }
1283
+ }
1284
+ v += O;
1285
+ }
1286
+ return c.push(v), c;
1287
+ }, p = (_) => {
1288
+ let c = !1;
1289
+ for (const f of _) {
1290
+ if (c === !0) {
1291
+ c = !1;
1292
+ continue;
1293
+ }
1294
+ if (f === "\\") {
1295
+ c = !0;
1296
+ continue;
1297
+ }
1298
+ if (/[?*+@!()[\]{}]/.test(f))
1299
+ return !1;
1300
+ }
1301
+ return !0;
1302
+ }, h = (_) => {
1303
+ let c = _.trim(), f = !0;
1304
+ for (; f === !0; )
1305
+ f = !1, /^@\([^\\()[\]{}|]+\)$/.test(c) && (c = c.slice(2, -1), f = !0);
1306
+ if (p(c))
1307
+ return c.replace(/\\(.)/g, "$1");
1308
+ }, d = (_) => {
1309
+ const c = _.map(h).filter(Boolean);
1310
+ for (let f = 0; f < c.length; f++)
1311
+ for (let g = f + 1; g < c.length; g++) {
1312
+ const R = c[f], v = c[g], P = R[0];
1313
+ if (!(!P || R !== P.repeat(R.length) || v !== P.repeat(v.length)) && (R === v || R.startsWith(v) || v.startsWith(R)))
1314
+ return !0;
1315
+ }
1316
+ return !1;
1317
+ }, y = (_, c = !0) => {
1318
+ if (_[0] !== "+" && _[0] !== "*" || _[1] !== "(")
1319
+ return;
1320
+ let f = 0, g = 0, R = 0, v = !1;
1321
+ for (let P = 1; P < _.length; P++) {
1322
+ const O = _[P];
1323
+ if (v === !0) {
1324
+ v = !1;
1325
+ continue;
1326
+ }
1327
+ if (O === "\\") {
1328
+ v = !0;
1329
+ continue;
1330
+ }
1331
+ if (O === '"') {
1332
+ R = R === 1 ? 0 : 1;
1333
+ continue;
1334
+ }
1335
+ if (R !== 1) {
1336
+ if (O === "[") {
1337
+ f++;
1338
+ continue;
1339
+ }
1340
+ if (O === "]" && f > 0) {
1341
+ f--;
1342
+ continue;
1343
+ }
1344
+ if (!(f > 0)) {
1345
+ if (O === "(") {
1346
+ g++;
1347
+ continue;
1348
+ }
1349
+ if (O === ")" && (g--, g === 0))
1350
+ return c === !0 && P !== _.length - 1 ? void 0 : {
1351
+ type: _[0],
1352
+ body: _.slice(2, P),
1353
+ end: P
1354
+ };
1355
+ }
1356
+ }
1357
+ }
1358
+ }, T = (_) => {
1359
+ let c = 0;
1360
+ const f = [];
1361
+ for (; c < _.length; ) {
1362
+ const R = y(_.slice(c), !1);
1363
+ if (!R || R.type !== "*")
1364
+ return;
1365
+ const v = s(R.body).map((O) => O.trim());
1366
+ if (v.length !== 1)
1367
+ return;
1368
+ const P = h(v[0]);
1369
+ if (!P || P.length !== 1)
1370
+ return;
1371
+ f.push(P), c += R.end + 1;
1372
+ }
1373
+ return f.length < 1 ? void 0 : `${f.length === 1 ? a.escapeRegex(f[0]) : `[${f.map((R) => a.escapeRegex(R)).join("")}]`}*`;
1374
+ }, C = (_) => {
1375
+ let c = 0, f = _.trim(), g = y(f);
1376
+ for (; g; )
1377
+ c++, f = g.body.trim(), g = y(f);
1378
+ return c;
1379
+ }, m = (_, c) => {
1380
+ if (c.maxExtglobRecursion === !1)
1381
+ return { risky: !1 };
1382
+ const f = typeof c.maxExtglobRecursion == "number" ? c.maxExtglobRecursion : o.DEFAULT_MAX_EXTGLOB_RECURSION, g = s(_).map((R) => R.trim());
1383
+ if (g.length > 1 && (g.some((R) => R === "") || g.some((R) => /^[*?]+$/.test(R)) || d(g)))
1384
+ return { risky: !0 };
1385
+ for (const R of g) {
1386
+ const v = T(R);
1387
+ if (v)
1388
+ return { risky: !0, safeOutput: v };
1389
+ if (C(R) > f)
1390
+ return { risky: !0 };
1391
+ }
1392
+ return { risky: !1 };
1393
+ }, S = (_, c) => {
1394
+ if (typeof _ != "string")
1395
+ throw new TypeError("Expected a string");
1396
+ _ = n[_] || _;
1397
+ const f = { ...c }, g = typeof f.maxLength == "number" ? Math.min(l, f.maxLength) : l;
1398
+ let R = _.length;
1399
+ if (R > g)
1400
+ throw new SyntaxError(`Input length: ${R}, exceeds maximum allowed length: ${g}`);
1401
+ const v = { type: "bos", value: "", output: f.prepend || "" }, P = [v], O = f.capture ? "" : "?:", D = a.isWindows(c), k = o.globChars(D), H = o.extglobChars(k), {
1402
+ DOT_LITERAL: x,
1403
+ PLUS_LITERAL: U,
1404
+ SLASH_LITERAL: N,
1405
+ ONE_CHAR: q,
1406
+ DOTS_SLASH: F,
1407
+ NO_DOT: z,
1408
+ NO_DOT_SLASH: ce,
1409
+ NO_DOTS_SLASH: $,
1410
+ QMARK: M,
1411
+ QMARK_NO_DOT: V,
1412
+ STAR: oe,
1413
+ START_ANCHOR: ue
1414
+ } = k, ae = (L) => `(${O}(?:(?!${ue}${L.dot ? F : x}).)*?)`, fe = f.dot ? "" : z, B = f.dot ? M : V;
1415
+ let W = f.bash === !0 ? ae(f) : oe;
1416
+ f.capture && (W = `(${W})`), typeof f.noext == "boolean" && (f.noextglob = f.noext);
1417
+ const A = {
1418
+ input: _,
1419
+ index: -1,
1420
+ start: 0,
1421
+ dot: f.dot === !0,
1422
+ consumed: "",
1423
+ output: "",
1424
+ prefix: "",
1425
+ backtrack: !1,
1426
+ negated: !1,
1427
+ brackets: 0,
1428
+ braces: 0,
1429
+ parens: 0,
1430
+ quotes: 0,
1431
+ globstar: !1,
1432
+ tokens: P
1433
+ };
1434
+ _ = a.removePrefix(_, A), R = _.length;
1435
+ const le = [], te = [], J = [];
1436
+ let b = v, E;
1437
+ const he = () => A.index === R - 1, K = A.peek = (L = 1) => _[A.index + L], Z = A.advance = () => _[++A.index] || "", me = () => _.slice(A.index + 1), pe = (L = "", Y = 0) => {
1438
+ A.consumed += L, A.index += Y;
1439
+ }, be = (L) => {
1440
+ A.output += L.output != null ? L.output : L.value, pe(L.value);
1441
+ }, kn = () => {
1442
+ let L = 1;
1443
+ for (; K() === "!" && (K(2) !== "(" || K(3) === "?"); )
1444
+ Z(), A.start++, L++;
1445
+ return L % 2 === 0 ? !1 : (A.negated = !0, A.start++, !0);
1446
+ }, je = (L) => {
1447
+ A[L]++, J.push(L);
1448
+ }, Pe = (L) => {
1449
+ A[L]--, J.pop();
1450
+ }, G = (L) => {
1451
+ if (b.type === "globstar") {
1452
+ const Y = A.braces > 0 && (L.type === "comma" || L.type === "brace"), w = L.extglob === !0 || le.length && (L.type === "pipe" || L.type === "paren");
1453
+ L.type !== "slash" && L.type !== "paren" && !Y && !w && (A.output = A.output.slice(0, -b.output.length), b.type = "star", b.value = "*", b.output = W, A.output += b.output);
1454
+ }
1455
+ if (le.length && L.type !== "paren" && (le[le.length - 1].inner += L.value), (L.value || L.output) && be(L), b && b.type === "text" && L.type === "text") {
1456
+ b.value += L.value, b.output = (b.output || "") + L.value;
1457
+ return;
1458
+ }
1459
+ L.prev = b, P.push(L), b = L;
1460
+ }, Ge = (L, Y) => {
1461
+ const w = { ...H[Y], conditions: 1, inner: "" };
1462
+ w.prev = b, w.parens = A.parens, w.output = A.output, w.startIndex = A.index, w.tokensIndex = P.length;
1463
+ const j = (f.capture ? "(" : "") + w.open;
1464
+ je("parens"), G({ type: L, value: Y, output: A.output ? "" : q }), G({ type: "paren", extglob: !0, value: Z(), output: j }), le.push(w);
1465
+ }, Hn = (L) => {
1466
+ const Y = _.slice(L.startIndex, A.index + 1), w = _.slice(L.startIndex + 2, A.index), j = m(w, f);
1467
+ if ((L.type === "plus" || L.type === "star") && j.risky) {
1468
+ const Q = j.safeOutput ? (L.output ? "" : q) + (f.capture ? `(${j.safeOutput})` : j.safeOutput) : void 0, ge = P[L.tokensIndex];
1469
+ ge.type = "text", ge.value = Y, ge.output = Q || a.escapeRegex(Y);
1470
+ for (let ye = L.tokensIndex + 1; ye < P.length; ye++)
1471
+ P[ye].value = "", P[ye].output = "", delete P[ye].suffix;
1472
+ A.output = L.output + ge.output, A.backtrack = !0, G({ type: "paren", extglob: !0, value: E, output: "" }), Pe("parens");
1473
+ return;
1474
+ }
1475
+ let X = L.close + (f.capture ? ")" : ""), re;
1476
+ if (L.type === "negate") {
1477
+ let Q = W;
1478
+ if (L.inner && L.inner.length > 1 && L.inner.includes("/") && (Q = ae(f)), (Q !== W || he() || /^\)+$/.test(me())) && (X = L.close = `)$))${Q}`), L.inner.includes("*") && (re = me()) && /^\.[^\\/.]+$/.test(re)) {
1479
+ const ge = S(re, { ...c, fastpaths: !1 }).output;
1480
+ X = L.close = `)${ge})${Q})`;
1481
+ }
1482
+ L.prev.type === "bos" && (A.negatedExtglob = !0);
1483
+ }
1484
+ G({ type: "paren", extglob: !0, value: E, output: X }), Pe("parens");
1485
+ };
1486
+ if (f.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(_)) {
1487
+ let L = !1, Y = _.replace(t, (w, j, X, re, Q, ge) => re === "\\" ? (L = !0, w) : re === "?" ? j ? j + re + (Q ? M.repeat(Q.length) : "") : ge === 0 ? B + (Q ? M.repeat(Q.length) : "") : M.repeat(X.length) : re === "." ? x.repeat(X.length) : re === "*" ? j ? j + re + (Q ? W : "") : W : j ? w : `\\${w}`);
1488
+ return L === !0 && (f.unescape === !0 ? Y = Y.replace(/\\/g, "") : Y = Y.replace(/\\+/g, (w) => w.length % 2 === 0 ? "\\\\" : w ? "\\" : "")), Y === _ && f.contains === !0 ? (A.output = _, A) : (A.output = a.wrapOutput(Y, A, c), A);
1489
+ }
1490
+ for (; !he(); ) {
1491
+ if (E = Z(), E === "\0")
1492
+ continue;
1493
+ if (E === "\\") {
1494
+ const w = K();
1495
+ if (w === "/" && f.bash !== !0 || w === "." || w === ";")
1496
+ continue;
1497
+ if (!w) {
1498
+ E += "\\", G({ type: "text", value: E });
1499
+ continue;
1500
+ }
1501
+ const j = /^\\+/.exec(me());
1502
+ let X = 0;
1503
+ if (j && j[0].length > 2 && (X = j[0].length, A.index += X, X % 2 !== 0 && (E += "\\")), f.unescape === !0 ? E = Z() : E += Z(), A.brackets === 0) {
1504
+ G({ type: "text", value: E });
1505
+ continue;
1506
+ }
1507
+ }
1508
+ if (A.brackets > 0 && (E !== "]" || b.value === "[" || b.value === "[^")) {
1509
+ if (f.posix !== !1 && E === ":") {
1510
+ const w = b.value.slice(1);
1511
+ if (w.includes("[") && (b.posix = !0, w.includes(":"))) {
1512
+ const j = b.value.lastIndexOf("["), X = b.value.slice(0, j), re = b.value.slice(j + 2), Q = u[re];
1513
+ if (Q) {
1514
+ b.value = X + Q, A.backtrack = !0, Z(), !v.output && P.indexOf(b) === 1 && (v.output = q);
1515
+ continue;
1516
+ }
1517
+ }
1518
+ }
1519
+ (E === "[" && K() !== ":" || E === "-" && K() === "]") && (E = `\\${E}`), E === "]" && (b.value === "[" || b.value === "[^") && (E = `\\${E}`), f.posix === !0 && E === "!" && b.value === "[" && (E = "^"), b.value += E, be({ value: E });
1520
+ continue;
1521
+ }
1522
+ if (A.quotes === 1 && E !== '"') {
1523
+ E = a.escapeRegex(E), b.value += E, be({ value: E });
1524
+ continue;
1525
+ }
1526
+ if (E === '"') {
1527
+ A.quotes = A.quotes === 1 ? 0 : 1, f.keepQuotes === !0 && G({ type: "text", value: E });
1528
+ continue;
1529
+ }
1530
+ if (E === "(") {
1531
+ je("parens"), G({ type: "paren", value: E });
1532
+ continue;
1533
+ }
1534
+ if (E === ")") {
1535
+ if (A.parens === 0 && f.strictBrackets === !0)
1536
+ throw new SyntaxError(i("opening", "("));
1537
+ const w = le[le.length - 1];
1538
+ if (w && A.parens === w.parens + 1) {
1539
+ Hn(le.pop());
1540
+ continue;
1541
+ }
1542
+ G({ type: "paren", value: E, output: A.parens ? ")" : "\\)" }), Pe("parens");
1543
+ continue;
1544
+ }
1545
+ if (E === "[") {
1546
+ if (f.nobracket === !0 || !me().includes("]")) {
1547
+ if (f.nobracket !== !0 && f.strictBrackets === !0)
1548
+ throw new SyntaxError(i("closing", "]"));
1549
+ E = `\\${E}`;
1550
+ } else
1551
+ je("brackets");
1552
+ G({ type: "bracket", value: E });
1553
+ continue;
1554
+ }
1555
+ if (E === "]") {
1556
+ if (f.nobracket === !0 || b && b.type === "bracket" && b.value.length === 1) {
1557
+ G({ type: "text", value: E, output: `\\${E}` });
1558
+ continue;
1559
+ }
1560
+ if (A.brackets === 0) {
1561
+ if (f.strictBrackets === !0)
1562
+ throw new SyntaxError(i("opening", "["));
1563
+ G({ type: "text", value: E, output: `\\${E}` });
1564
+ continue;
1565
+ }
1566
+ Pe("brackets");
1567
+ const w = b.value.slice(1);
1568
+ if (b.posix !== !0 && w[0] === "^" && !w.includes("/") && (E = `/${E}`), b.value += E, be({ value: E }), f.literalBrackets === !1 || a.hasRegexChars(w))
1569
+ continue;
1570
+ const j = a.escapeRegex(b.value);
1571
+ if (A.output = A.output.slice(0, -b.value.length), f.literalBrackets === !0) {
1572
+ A.output += j, b.value = j;
1573
+ continue;
1574
+ }
1575
+ b.value = `(${O}${j}|${b.value})`, A.output += b.value;
1576
+ continue;
1577
+ }
1578
+ if (E === "{" && f.nobrace !== !0) {
1579
+ je("braces");
1580
+ const w = {
1581
+ type: "brace",
1582
+ value: E,
1583
+ output: "(",
1584
+ outputIndex: A.output.length,
1585
+ tokensIndex: A.tokens.length
1586
+ };
1587
+ te.push(w), G(w);
1588
+ continue;
1589
+ }
1590
+ if (E === "}") {
1591
+ const w = te[te.length - 1];
1592
+ if (f.nobrace === !0 || !w) {
1593
+ G({ type: "text", value: E, output: E });
1594
+ continue;
1595
+ }
1596
+ let j = ")";
1597
+ if (w.dots === !0) {
1598
+ const X = P.slice(), re = [];
1599
+ for (let Q = X.length - 1; Q >= 0 && (P.pop(), X[Q].type !== "brace"); Q--)
1600
+ X[Q].type !== "dots" && re.unshift(X[Q].value);
1601
+ j = e(re, f), A.backtrack = !0;
1602
+ }
1603
+ if (w.comma !== !0 && w.dots !== !0) {
1604
+ const X = A.output.slice(0, w.outputIndex), re = A.tokens.slice(w.tokensIndex);
1605
+ w.value = w.output = "\\{", E = j = "\\}", A.output = X;
1606
+ for (const Q of re)
1607
+ A.output += Q.output || Q.value;
1608
+ }
1609
+ G({ type: "brace", value: E, output: j }), Pe("braces"), te.pop();
1610
+ continue;
1611
+ }
1612
+ if (E === "|") {
1613
+ le.length > 0 && le[le.length - 1].conditions++, G({ type: "text", value: E });
1614
+ continue;
1615
+ }
1616
+ if (E === ",") {
1617
+ let w = E;
1618
+ const j = te[te.length - 1];
1619
+ j && J[J.length - 1] === "braces" && (j.comma = !0, w = "|"), G({ type: "comma", value: E, output: w });
1620
+ continue;
1621
+ }
1622
+ if (E === "/") {
1623
+ if (b.type === "dot" && A.index === A.start + 1) {
1624
+ A.start = A.index + 1, A.consumed = "", A.output = "", P.pop(), b = v;
1625
+ continue;
1626
+ }
1627
+ G({ type: "slash", value: E, output: N });
1628
+ continue;
1629
+ }
1630
+ if (E === ".") {
1631
+ if (A.braces > 0 && b.type === "dot") {
1632
+ b.value === "." && (b.output = x);
1633
+ const w = te[te.length - 1];
1634
+ b.type = "dots", b.output += E, b.value += E, w.dots = !0;
1635
+ continue;
1636
+ }
1637
+ if (A.braces + A.parens === 0 && b.type !== "bos" && b.type !== "slash") {
1638
+ G({ type: "text", value: E, output: x });
1639
+ continue;
1640
+ }
1641
+ G({ type: "dot", value: E, output: x });
1642
+ continue;
1643
+ }
1644
+ if (E === "?") {
1645
+ if (!(b && b.value === "(") && f.noextglob !== !0 && K() === "(" && K(2) !== "?") {
1646
+ Ge("qmark", E);
1647
+ continue;
1648
+ }
1649
+ if (b && b.type === "paren") {
1650
+ const j = K();
1651
+ let X = E;
1652
+ if (j === "<" && !a.supportsLookbehinds())
1653
+ throw new Error("Node.js v10 or higher is required for regex lookbehinds");
1654
+ (b.value === "(" && !/[!=<:]/.test(j) || j === "<" && !/<([!=]|\w+>)/.test(me())) && (X = `\\${E}`), G({ type: "text", value: E, output: X });
1655
+ continue;
1656
+ }
1657
+ if (f.dot !== !0 && (b.type === "slash" || b.type === "bos")) {
1658
+ G({ type: "qmark", value: E, output: V });
1659
+ continue;
1660
+ }
1661
+ G({ type: "qmark", value: E, output: M });
1662
+ continue;
1663
+ }
1664
+ if (E === "!") {
1665
+ if (f.noextglob !== !0 && K() === "(" && (K(2) !== "?" || !/[!=<:]/.test(K(3)))) {
1666
+ Ge("negate", E);
1667
+ continue;
1668
+ }
1669
+ if (f.nonegate !== !0 && A.index === 0) {
1670
+ kn();
1671
+ continue;
1672
+ }
1673
+ }
1674
+ if (E === "+") {
1675
+ if (f.noextglob !== !0 && K() === "(" && K(2) !== "?") {
1676
+ Ge("plus", E);
1677
+ continue;
1678
+ }
1679
+ if (b && b.value === "(" || f.regex === !1) {
1680
+ G({ type: "plus", value: E, output: U });
1681
+ continue;
1682
+ }
1683
+ if (b && (b.type === "bracket" || b.type === "paren" || b.type === "brace") || A.parens > 0) {
1684
+ G({ type: "plus", value: E });
1685
+ continue;
1686
+ }
1687
+ G({ type: "plus", value: U });
1688
+ continue;
1689
+ }
1690
+ if (E === "@") {
1691
+ if (f.noextglob !== !0 && K() === "(" && K(2) !== "?") {
1692
+ G({ type: "at", extglob: !0, value: E, output: "" });
1693
+ continue;
1694
+ }
1695
+ G({ type: "text", value: E });
1696
+ continue;
1697
+ }
1698
+ if (E !== "*") {
1699
+ (E === "$" || E === "^") && (E = `\\${E}`);
1700
+ const w = r.exec(me());
1701
+ w && (E += w[0], A.index += w[0].length), G({ type: "text", value: E });
1702
+ continue;
1703
+ }
1704
+ if (b && (b.type === "globstar" || b.star === !0)) {
1705
+ b.type = "star", b.star = !0, b.value += E, b.output = W, A.backtrack = !0, A.globstar = !0, pe(E);
1706
+ continue;
1707
+ }
1708
+ let L = me();
1709
+ if (f.noextglob !== !0 && /^\([^?]/.test(L)) {
1710
+ Ge("star", E);
1711
+ continue;
1712
+ }
1713
+ if (b.type === "star") {
1714
+ if (f.noglobstar === !0) {
1715
+ pe(E);
1716
+ continue;
1717
+ }
1718
+ const w = b.prev, j = w.prev, X = w.type === "slash" || w.type === "bos", re = j && (j.type === "star" || j.type === "globstar");
1719
+ if (f.bash === !0 && (!X || L[0] && L[0] !== "/")) {
1720
+ G({ type: "star", value: E, output: "" });
1721
+ continue;
1722
+ }
1723
+ const Q = A.braces > 0 && (w.type === "comma" || w.type === "brace"), ge = le.length && (w.type === "pipe" || w.type === "paren");
1724
+ if (!X && w.type !== "paren" && !Q && !ge) {
1725
+ G({ type: "star", value: E, output: "" });
1726
+ continue;
1727
+ }
1728
+ for (; L.slice(0, 3) === "/**"; ) {
1729
+ const ye = _[A.index + 4];
1730
+ if (ye && ye !== "/")
1731
+ break;
1732
+ L = L.slice(3), pe("/**", 3);
1733
+ }
1734
+ if (w.type === "bos" && he()) {
1735
+ b.type = "globstar", b.value += E, b.output = ae(f), A.output = b.output, A.globstar = !0, pe(E);
1736
+ continue;
1737
+ }
1738
+ if (w.type === "slash" && w.prev.type !== "bos" && !re && he()) {
1739
+ A.output = A.output.slice(0, -(w.output + b.output).length), w.output = `(?:${w.output}`, b.type = "globstar", b.output = ae(f) + (f.strictSlashes ? ")" : "|$)"), b.value += E, A.globstar = !0, A.output += w.output + b.output, pe(E);
1740
+ continue;
1741
+ }
1742
+ if (w.type === "slash" && w.prev.type !== "bos" && L[0] === "/") {
1743
+ const ye = L[1] !== void 0 ? "|$" : "";
1744
+ A.output = A.output.slice(0, -(w.output + b.output).length), w.output = `(?:${w.output}`, b.type = "globstar", b.output = `${ae(f)}${N}|${N}${ye})`, b.value += E, A.output += w.output + b.output, A.globstar = !0, pe(E + Z()), G({ type: "slash", value: "/", output: "" });
1745
+ continue;
1746
+ }
1747
+ if (w.type === "bos" && L[0] === "/") {
1748
+ b.type = "globstar", b.value += E, b.output = `(?:^|${N}|${ae(f)}${N})`, A.output = b.output, A.globstar = !0, pe(E + Z()), G({ type: "slash", value: "/", output: "" });
1749
+ continue;
1750
+ }
1751
+ A.output = A.output.slice(0, -b.output.length), b.type = "globstar", b.output = ae(f), b.value += E, A.output += b.output, A.globstar = !0, pe(E);
1752
+ continue;
1753
+ }
1754
+ const Y = { type: "star", value: E, output: W };
1755
+ if (f.bash === !0) {
1756
+ Y.output = ".*?", (b.type === "bos" || b.type === "slash") && (Y.output = fe + Y.output), G(Y);
1757
+ continue;
1758
+ }
1759
+ if (b && (b.type === "bracket" || b.type === "paren") && f.regex === !0) {
1760
+ Y.output = E, G(Y);
1761
+ continue;
1762
+ }
1763
+ (A.index === A.start || b.type === "slash" || b.type === "dot") && (b.type === "dot" ? (A.output += ce, b.output += ce) : f.dot === !0 ? (A.output += $, b.output += $) : (A.output += fe, b.output += fe), K() !== "*" && (A.output += q, b.output += q)), G(Y);
1764
+ }
1765
+ for (; A.brackets > 0; ) {
1766
+ if (f.strictBrackets === !0) throw new SyntaxError(i("closing", "]"));
1767
+ A.output = a.escapeLast(A.output, "["), Pe("brackets");
1768
+ }
1769
+ for (; A.parens > 0; ) {
1770
+ if (f.strictBrackets === !0) throw new SyntaxError(i("closing", ")"));
1771
+ A.output = a.escapeLast(A.output, "("), Pe("parens");
1772
+ }
1773
+ for (; A.braces > 0; ) {
1774
+ if (f.strictBrackets === !0) throw new SyntaxError(i("closing", "}"));
1775
+ A.output = a.escapeLast(A.output, "{"), Pe("braces");
1776
+ }
1777
+ if (f.strictSlashes !== !0 && (b.type === "star" || b.type === "bracket") && G({ type: "maybe_slash", value: "", output: `${N}?` }), A.backtrack === !0) {
1778
+ A.output = "";
1779
+ for (const L of A.tokens)
1780
+ A.output += L.output != null ? L.output : L.value, L.suffix && (A.output += L.suffix);
1781
+ }
1782
+ return A;
1783
+ };
1784
+ return S.fastpaths = (_, c) => {
1785
+ const f = { ...c }, g = typeof f.maxLength == "number" ? Math.min(l, f.maxLength) : l, R = _.length;
1786
+ if (R > g)
1787
+ throw new SyntaxError(`Input length: ${R}, exceeds maximum allowed length: ${g}`);
1788
+ _ = n[_] || _;
1789
+ const v = a.isWindows(c), {
1790
+ DOT_LITERAL: P,
1791
+ SLASH_LITERAL: O,
1792
+ ONE_CHAR: D,
1793
+ DOTS_SLASH: k,
1794
+ NO_DOT: H,
1795
+ NO_DOTS: x,
1796
+ NO_DOTS_SLASH: U,
1797
+ STAR: N,
1798
+ START_ANCHOR: q
1799
+ } = o.globChars(v), F = f.dot ? x : H, z = f.dot ? U : H, ce = f.capture ? "" : "?:", $ = { negated: !1, prefix: "" };
1800
+ let M = f.bash === !0 ? ".*?" : N;
1801
+ f.capture && (M = `(${M})`);
1802
+ const V = (fe) => fe.noglobstar === !0 ? M : `(${ce}(?:(?!${q}${fe.dot ? k : P}).)*?)`, oe = (fe) => {
1803
+ switch (fe) {
1804
+ case "*":
1805
+ return `${F}${D}${M}`;
1806
+ case ".*":
1807
+ return `${P}${D}${M}`;
1808
+ case "*.*":
1809
+ return `${F}${M}${P}${D}${M}`;
1810
+ case "*/*":
1811
+ return `${F}${M}${O}${D}${z}${M}`;
1812
+ case "**":
1813
+ return F + V(f);
1814
+ case "**/*":
1815
+ return `(?:${F}${V(f)}${O})?${z}${D}${M}`;
1816
+ case "**/*.*":
1817
+ return `(?:${F}${V(f)}${O})?${z}${M}${P}${D}${M}`;
1818
+ case "**/.*":
1819
+ return `(?:${F}${V(f)}${O})?${P}${D}${M}`;
1820
+ default: {
1821
+ const B = /^(.*?)\.(\w+)$/.exec(fe);
1822
+ if (!B) return;
1823
+ const W = oe(B[1]);
1824
+ return W ? W + P + B[2] : void 0;
1825
+ }
1826
+ }
1827
+ }, ue = a.removePrefix(_, $);
1828
+ let ae = oe(ue);
1829
+ return ae && f.strictSlashes !== !0 && (ae += `${O}?`), ae;
1830
+ }, Mt = S, Mt;
1831
+ }
1832
+ var Dt, br;
1833
+ function ss() {
1834
+ if (br) return Dt;
1835
+ br = 1;
1836
+ const o = Se, a = rs(), l = ns(), u = gt(), r = _t(), t = (e) => e && typeof e == "object" && !Array.isArray(e), n = (e, i, s = !1) => {
1837
+ if (Array.isArray(e)) {
1838
+ const S = e.map((c) => n(c, i, s));
1839
+ return (c) => {
1840
+ for (const f of S) {
1841
+ const g = f(c);
1842
+ if (g) return g;
1843
+ }
1844
+ return !1;
1845
+ };
1846
+ }
1847
+ const p = t(e) && e.tokens && e.input;
1848
+ if (e === "" || typeof e != "string" && !p)
1849
+ throw new TypeError("Expected pattern to be a non-empty string");
1850
+ const h = i || {}, d = u.isWindows(i), y = p ? n.compileRe(e, i) : n.makeRe(e, i, !1, !0), T = y.state;
1851
+ delete y.state;
1852
+ let C = () => !1;
1853
+ if (h.ignore) {
1854
+ const S = { ...i, ignore: null, onMatch: null, onResult: null };
1855
+ C = n(h.ignore, S, s);
1856
+ }
1857
+ const m = (S, _ = !1) => {
1858
+ const { isMatch: c, match: f, output: g } = n.test(S, y, i, { glob: e, posix: d }), R = { glob: e, state: T, regex: y, posix: d, input: S, output: g, match: f, isMatch: c };
1859
+ return typeof h.onResult == "function" && h.onResult(R), c === !1 ? (R.isMatch = !1, _ ? R : !1) : C(S) ? (typeof h.onIgnore == "function" && h.onIgnore(R), R.isMatch = !1, _ ? R : !1) : (typeof h.onMatch == "function" && h.onMatch(R), _ ? R : !0);
1860
+ };
1861
+ return s && (m.state = T), m;
1862
+ };
1863
+ return n.test = (e, i, s, { glob: p, posix: h } = {}) => {
1864
+ if (typeof e != "string")
1865
+ throw new TypeError("Expected input to be a string");
1866
+ if (e === "")
1867
+ return { isMatch: !1, output: "" };
1868
+ const d = s || {}, y = d.format || (h ? u.toPosixSlashes : null);
1869
+ let T = e === p, C = T && y ? y(e) : e;
1870
+ return T === !1 && (C = y ? y(e) : e, T = C === p), (T === !1 || d.capture === !0) && (d.matchBase === !0 || d.basename === !0 ? T = n.matchBase(e, i, s, h) : T = i.exec(C)), { isMatch: !!T, match: T, output: C };
1871
+ }, n.matchBase = (e, i, s, p = u.isWindows(s)) => (i instanceof RegExp ? i : n.makeRe(i, s)).test(o.basename(e)), n.isMatch = (e, i, s) => n(i, s)(e), n.parse = (e, i) => Array.isArray(e) ? e.map((s) => n.parse(s, i)) : l(e, { ...i, fastpaths: !1 }), n.scan = (e, i) => a(e, i), n.compileRe = (e, i, s = !1, p = !1) => {
1872
+ if (s === !0)
1873
+ return e.output;
1874
+ const h = i || {}, d = h.contains ? "" : "^", y = h.contains ? "" : "$";
1875
+ let T = `${d}(?:${e.output})${y}`;
1876
+ e && e.negated === !0 && (T = `^(?!${T}).*$`);
1877
+ const C = n.toRegex(T, i);
1878
+ return p === !0 && (C.state = e), C;
1879
+ }, n.makeRe = (e, i = {}, s = !1, p = !1) => {
1880
+ if (!e || typeof e != "string")
1881
+ throw new TypeError("Expected a non-empty string");
1882
+ let h = { negated: !1, fastpaths: !0 };
1883
+ return i.fastpaths !== !1 && (e[0] === "." || e[0] === "*") && (h.output = l.fastpaths(e, i)), h.output || (h = l(e, i)), n.compileRe(h, i, s, p);
1884
+ }, n.toRegex = (e, i) => {
1885
+ try {
1886
+ const s = i || {};
1887
+ return new RegExp(e, s.flags || (s.nocase ? "i" : ""));
1888
+ } catch (s) {
1889
+ if (i && i.debug === !0) throw s;
1890
+ return /$^/;
1891
+ }
1892
+ }, n.constants = r, Dt = n, Dt;
1893
+ }
1894
+ var It, Pr;
1895
+ function is() {
1896
+ return Pr || (Pr = 1, It = ss()), It;
1897
+ }
1898
+ var Nt, xr;
1899
+ function as() {
1900
+ if (xr) return Nt;
1901
+ xr = 1;
1902
+ const o = Pn, a = ts(), l = is(), u = gt(), r = (e) => e === "" || e === "./", t = (e) => {
1903
+ const i = e.indexOf("{");
1904
+ return i > -1 && e.indexOf("}", i) > -1;
1905
+ }, n = (e, i, s) => {
1906
+ i = [].concat(i), e = [].concat(e);
1907
+ let p = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set(), y = 0, T = (S) => {
1908
+ d.add(S.output), s && s.onResult && s.onResult(S);
1909
+ };
1910
+ for (let S = 0; S < i.length; S++) {
1911
+ let _ = l(String(i[S]), { ...s, onResult: T }, !0), c = _.state.negated || _.state.negatedExtglob;
1912
+ c && y++;
1913
+ for (let f of e) {
1914
+ let g = _(f, !0);
1915
+ (c ? !g.isMatch : g.isMatch) && (c ? p.add(g.output) : (p.delete(g.output), h.add(g.output)));
1916
+ }
1917
+ }
1918
+ let m = (y === i.length ? [...d] : [...h]).filter((S) => !p.has(S));
1919
+ if (s && m.length === 0) {
1920
+ if (s.failglob === !0)
1921
+ throw new Error(`No matches found for "${i.join(", ")}"`);
1922
+ if (s.nonull === !0 || s.nullglob === !0)
1923
+ return s.unescape ? i.map((S) => S.replace(/\\/g, "")) : i;
1924
+ }
1925
+ return m;
1926
+ };
1927
+ return n.match = n, n.matcher = (e, i) => l(e, i), n.isMatch = (e, i, s) => l(i, s)(e), n.any = n.isMatch, n.not = (e, i, s = {}) => {
1928
+ i = [].concat(i).map(String);
1929
+ let p = /* @__PURE__ */ new Set(), h = [], d = (T) => {
1930
+ s.onResult && s.onResult(T), h.push(T.output);
1931
+ }, y = new Set(n(e, i, { ...s, onResult: d }));
1932
+ for (let T of h)
1933
+ y.has(T) || p.add(T);
1934
+ return [...p];
1935
+ }, n.contains = (e, i, s) => {
1936
+ if (typeof e != "string")
1937
+ throw new TypeError(`Expected a string: "${o.inspect(e)}"`);
1938
+ if (Array.isArray(i))
1939
+ return i.some((p) => n.contains(e, p, s));
1940
+ if (typeof i == "string") {
1941
+ if (r(e) || r(i))
1942
+ return !1;
1943
+ if (e.includes(i) || e.startsWith("./") && e.slice(2).includes(i))
1944
+ return !0;
1945
+ }
1946
+ return n.isMatch(e, i, { ...s, contains: !0 });
1947
+ }, n.matchKeys = (e, i, s) => {
1948
+ if (!u.isObject(e))
1949
+ throw new TypeError("Expected the first argument to be an object");
1950
+ let p = n(Object.keys(e), i, s), h = {};
1951
+ for (let d of p) h[d] = e[d];
1952
+ return h;
1953
+ }, n.some = (e, i, s) => {
1954
+ let p = [].concat(e);
1955
+ for (let h of [].concat(i)) {
1956
+ let d = l(String(h), s);
1957
+ if (p.some((y) => d(y)))
1958
+ return !0;
1959
+ }
1960
+ return !1;
1961
+ }, n.every = (e, i, s) => {
1962
+ let p = [].concat(e);
1963
+ for (let h of [].concat(i)) {
1964
+ let d = l(String(h), s);
1965
+ if (!p.every((y) => d(y)))
1966
+ return !1;
1967
+ }
1968
+ return !0;
1969
+ }, n.all = (e, i, s) => {
1970
+ if (typeof e != "string")
1971
+ throw new TypeError(`Expected a string: "${o.inspect(e)}"`);
1972
+ return [].concat(i).every((p) => l(p, s)(e));
1973
+ }, n.capture = (e, i, s) => {
1974
+ let p = u.isWindows(s), d = l.makeRe(String(e), { ...s, capture: !0 }).exec(p ? u.toPosixSlashes(i) : i);
1975
+ if (d)
1976
+ return d.slice(1).map((y) => y === void 0 ? "" : y);
1977
+ }, n.makeRe = (...e) => l.makeRe(...e), n.scan = (...e) => l.scan(...e), n.parse = (e, i) => {
1978
+ let s = [];
1979
+ for (let p of [].concat(e || []))
1980
+ for (let h of a(String(p), i))
1981
+ s.push(l.parse(h, i));
1982
+ return s;
1983
+ }, n.braces = (e, i) => {
1984
+ if (typeof e != "string") throw new TypeError("Expected a string");
1985
+ return i && i.nobrace === !0 || !t(e) ? [e] : a(e, i);
1986
+ }, n.braceExpand = (e, i) => {
1987
+ if (typeof e != "string") throw new TypeError("Expected a string");
1988
+ return n.braces(e, { ...i, expand: !0 });
1989
+ }, n.hasBraces = t, Nt = n, Nt;
1990
+ }
1991
+ var Cr;
1992
+ function os() {
1993
+ if (Cr) return I;
1994
+ Cr = 1, Object.defineProperty(I, "__esModule", { value: !0 }), I.isAbsolute = I.partitionAbsoluteAndRelative = I.removeDuplicateSlashes = I.matchAny = I.convertPatternsToRe = I.makeRe = I.getPatternParts = I.expandBraceExpansion = I.expandPatternsWithBraceExpansion = I.isAffectDepthOfReadingPattern = I.endsWithSlashGlobStar = I.hasGlobStar = I.getBaseDirectory = I.isPatternRelatedToParentDirectory = I.getPatternsOutsideCurrentDirectory = I.getPatternsInsideCurrentDirectory = I.getPositivePatterns = I.getNegativePatterns = I.isPositivePattern = I.isNegativePattern = I.convertToNegativePattern = I.convertToPositivePattern = I.isDynamicPattern = I.isStaticPattern = void 0;
1995
+ const o = Se, a = Qn(), l = as(), u = "**", r = "\\", t = /[*?]|^!/, n = /\[[^[]*]/, e = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/, i = /[!*+?@]\([^(]*\)/, s = /,|\.\./, p = /(?!^)\/{2,}/g;
1996
+ function h($, M = {}) {
1997
+ return !d($, M);
1998
+ }
1999
+ I.isStaticPattern = h;
2000
+ function d($, M = {}) {
2001
+ return $ === "" ? !1 : !!(M.caseSensitiveMatch === !1 || $.includes(r) || t.test($) || n.test($) || e.test($) || M.extglob !== !1 && i.test($) || M.braceExpansion !== !1 && y($));
2002
+ }
2003
+ I.isDynamicPattern = d;
2004
+ function y($) {
2005
+ const M = $.indexOf("{");
2006
+ if (M === -1)
2007
+ return !1;
2008
+ const V = $.indexOf("}", M + 1);
2009
+ if (V === -1)
2010
+ return !1;
2011
+ const oe = $.slice(M, V);
2012
+ return s.test(oe);
2013
+ }
2014
+ function T($) {
2015
+ return m($) ? $.slice(1) : $;
2016
+ }
2017
+ I.convertToPositivePattern = T;
2018
+ function C($) {
2019
+ return "!" + $;
2020
+ }
2021
+ I.convertToNegativePattern = C;
2022
+ function m($) {
2023
+ return $.startsWith("!") && $[1] !== "(";
2024
+ }
2025
+ I.isNegativePattern = m;
2026
+ function S($) {
2027
+ return !m($);
2028
+ }
2029
+ I.isPositivePattern = S;
2030
+ function _($) {
2031
+ return $.filter(m);
2032
+ }
2033
+ I.getNegativePatterns = _;
2034
+ function c($) {
2035
+ return $.filter(S);
2036
+ }
2037
+ I.getPositivePatterns = c;
2038
+ function f($) {
2039
+ return $.filter((M) => !R(M));
2040
+ }
2041
+ I.getPatternsInsideCurrentDirectory = f;
2042
+ function g($) {
2043
+ return $.filter(R);
2044
+ }
2045
+ I.getPatternsOutsideCurrentDirectory = g;
2046
+ function R($) {
2047
+ return $.startsWith("..") || $.startsWith("./..");
2048
+ }
2049
+ I.isPatternRelatedToParentDirectory = R;
2050
+ function v($) {
2051
+ return a($, { flipBackslashes: !1 });
2052
+ }
2053
+ I.getBaseDirectory = v;
2054
+ function P($) {
2055
+ return $.includes(u);
2056
+ }
2057
+ I.hasGlobStar = P;
2058
+ function O($) {
2059
+ return $.endsWith("/" + u);
2060
+ }
2061
+ I.endsWithSlashGlobStar = O;
2062
+ function D($) {
2063
+ const M = o.basename($);
2064
+ return O($) || h(M);
2065
+ }
2066
+ I.isAffectDepthOfReadingPattern = D;
2067
+ function k($) {
2068
+ return $.reduce((M, V) => M.concat(H(V)), []);
2069
+ }
2070
+ I.expandPatternsWithBraceExpansion = k;
2071
+ function H($) {
2072
+ const M = l.braces($, { expand: !0, nodupes: !0, keepEscaping: !0 });
2073
+ return M.sort((V, oe) => V.length - oe.length), M.filter((V) => V !== "");
2074
+ }
2075
+ I.expandBraceExpansion = H;
2076
+ function x($, M) {
2077
+ let { parts: V } = l.scan($, Object.assign(Object.assign({}, M), { parts: !0 }));
2078
+ return V.length === 0 && (V = [$]), V[0].startsWith("/") && (V[0] = V[0].slice(1), V.unshift("")), V;
2079
+ }
2080
+ I.getPatternParts = x;
2081
+ function U($, M) {
2082
+ return l.makeRe($, M);
2083
+ }
2084
+ I.makeRe = U;
2085
+ function N($, M) {
2086
+ return $.map((V) => U(V, M));
2087
+ }
2088
+ I.convertPatternsToRe = N;
2089
+ function q($, M) {
2090
+ return M.some((V) => V.test($));
2091
+ }
2092
+ I.matchAny = q;
2093
+ function F($) {
2094
+ return $.replace(p, "/");
2095
+ }
2096
+ I.removeDuplicateSlashes = F;
2097
+ function z($) {
2098
+ const M = [], V = [];
2099
+ for (const oe of $)
2100
+ ce(oe) ? M.push(oe) : V.push(oe);
2101
+ return [M, V];
2102
+ }
2103
+ I.partitionAbsoluteAndRelative = z;
2104
+ function ce($) {
2105
+ return o.isAbsolute($);
2106
+ }
2107
+ return I.isAbsolute = ce, I;
2108
+ }
2109
+ var Me = {}, qt, Tr;
2110
+ function us() {
2111
+ if (Tr) return qt;
2112
+ Tr = 1;
2113
+ const a = dt.PassThrough, l = Array.prototype.slice;
2114
+ qt = u;
2115
+ function u() {
2116
+ const t = [], n = l.call(arguments);
2117
+ let e = !1, i = n[n.length - 1];
2118
+ i && !Array.isArray(i) && i.pipe == null ? n.pop() : i = {};
2119
+ const s = i.end !== !1, p = i.pipeError === !0;
2120
+ i.objectMode == null && (i.objectMode = !0), i.highWaterMark == null && (i.highWaterMark = 64 * 1024);
2121
+ const h = a(i);
2122
+ function d() {
2123
+ for (let C = 0, m = arguments.length; C < m; C++)
2124
+ t.push(r(arguments[C], i));
2125
+ return y(), this;
2126
+ }
2127
+ function y() {
2128
+ if (e)
2129
+ return;
2130
+ e = !0;
2131
+ let C = t.shift();
2132
+ if (!C) {
2133
+ process.nextTick(T);
2134
+ return;
2135
+ }
2136
+ Array.isArray(C) || (C = [C]);
2137
+ let m = C.length + 1;
2138
+ function S() {
2139
+ --m > 0 || (e = !1, y());
2140
+ }
2141
+ function _(c) {
2142
+ function f() {
2143
+ c.removeListener("merge2UnpipeEnd", f), c.removeListener("end", f), p && c.removeListener("error", g), S();
2144
+ }
2145
+ function g(R) {
2146
+ h.emit("error", R);
2147
+ }
2148
+ if (c._readableState.endEmitted)
2149
+ return S();
2150
+ c.on("merge2UnpipeEnd", f), c.on("end", f), p && c.on("error", g), c.pipe(h, { end: !1 }), c.resume();
2151
+ }
2152
+ for (let c = 0; c < C.length; c++)
2153
+ _(C[c]);
2154
+ S();
2155
+ }
2156
+ function T() {
2157
+ e = !1, h.emit("queueDrain"), s && h.end();
2158
+ }
2159
+ return h.setMaxListeners(0), h.add = d, h.on("unpipe", function(C) {
2160
+ C.emit("merge2UnpipeEnd");
2161
+ }), n.length && d.apply(null, n), h;
2162
+ }
2163
+ function r(t, n) {
2164
+ if (Array.isArray(t))
2165
+ for (let e = 0, i = t.length; e < i; e++)
2166
+ t[e] = r(t[e], n);
2167
+ else {
2168
+ if (!t._readableState && t.pipe && (t = t.pipe(a(n))), !t._readableState || !t.pause || !t.pipe)
2169
+ throw new Error("Only readable stream can be merged.");
2170
+ t.pause();
2171
+ }
2172
+ return t;
2173
+ }
2174
+ return qt;
2175
+ }
2176
+ var Or;
2177
+ function cs() {
2178
+ if (Or) return Me;
2179
+ Or = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.merge = void 0;
2180
+ const o = us();
2181
+ function a(u) {
2182
+ const r = o(u);
2183
+ return u.forEach((t) => {
2184
+ t.once("error", (n) => r.emit("error", n));
2185
+ }), r.once("close", () => l(u)), r.once("end", () => l(u)), r;
2186
+ }
2187
+ Me.merge = a;
2188
+ function l(u) {
2189
+ u.forEach((r) => r.emit("close"));
2190
+ }
2191
+ return Me;
2192
+ }
2193
+ var we = {}, wr;
2194
+ function ls() {
2195
+ if (wr) return we;
2196
+ wr = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.isEmpty = we.isString = void 0;
2197
+ function o(l) {
2198
+ return typeof l == "string";
2199
+ }
2200
+ we.isString = o;
2201
+ function a(l) {
2202
+ return l === "";
2203
+ }
2204
+ return we.isEmpty = a, we;
2205
+ }
2206
+ var $r;
2207
+ function Te() {
2208
+ if ($r) return ie;
2209
+ $r = 1, Object.defineProperty(ie, "__esModule", { value: !0 }), ie.string = ie.stream = ie.pattern = ie.path = ie.fs = ie.errno = ie.array = void 0;
2210
+ const o = jn();
2211
+ ie.array = o;
2212
+ const a = Gn();
2213
+ ie.errno = a;
2214
+ const l = Un();
2215
+ ie.fs = l;
2216
+ const u = Wn();
2217
+ ie.path = u;
2218
+ const r = os();
2219
+ ie.pattern = r;
2220
+ const t = cs();
2221
+ ie.stream = t;
2222
+ const n = ls();
2223
+ return ie.string = n, ie;
2224
+ }
2225
+ var Lr;
2226
+ function fs() {
2227
+ if (Lr) return se;
2228
+ Lr = 1, Object.defineProperty(se, "__esModule", { value: !0 }), se.convertPatternGroupToTask = se.convertPatternGroupsToTasks = se.groupPatternsByBaseDirectory = se.getNegativePatternsAsPositive = se.getPositivePatterns = se.convertPatternsToTasks = se.generate = void 0;
2229
+ const o = Te();
2230
+ function a(s, p) {
2231
+ const h = l(s, p), d = l(p.ignore, p), y = r(h), T = t(h, d), C = y.filter((c) => o.pattern.isStaticPattern(c, p)), m = y.filter((c) => o.pattern.isDynamicPattern(c, p)), S = u(
2232
+ C,
2233
+ T,
2234
+ /* dynamic */
2235
+ !1
2236
+ ), _ = u(
2237
+ m,
2238
+ T,
2239
+ /* dynamic */
2240
+ !0
2241
+ );
2242
+ return S.concat(_);
2243
+ }
2244
+ se.generate = a;
2245
+ function l(s, p) {
2246
+ let h = s;
2247
+ return p.braceExpansion && (h = o.pattern.expandPatternsWithBraceExpansion(h)), p.baseNameMatch && (h = h.map((d) => d.includes("/") ? d : `**/${d}`)), h.map((d) => o.pattern.removeDuplicateSlashes(d));
2248
+ }
2249
+ function u(s, p, h) {
2250
+ const d = [], y = o.pattern.getPatternsOutsideCurrentDirectory(s), T = o.pattern.getPatternsInsideCurrentDirectory(s), C = n(y), m = n(T);
2251
+ return d.push(...e(C, p, h)), "." in m ? d.push(i(".", T, p, h)) : d.push(...e(m, p, h)), d;
2252
+ }
2253
+ se.convertPatternsToTasks = u;
2254
+ function r(s) {
2255
+ return o.pattern.getPositivePatterns(s);
2256
+ }
2257
+ se.getPositivePatterns = r;
2258
+ function t(s, p) {
2259
+ return o.pattern.getNegativePatterns(s).concat(p).map(o.pattern.convertToPositivePattern);
2260
+ }
2261
+ se.getNegativePatternsAsPositive = t;
2262
+ function n(s) {
2263
+ const p = {};
2264
+ return s.reduce((h, d) => {
2265
+ const y = o.pattern.getBaseDirectory(d);
2266
+ return y in h ? h[y].push(d) : h[y] = [d], h;
2267
+ }, p);
2268
+ }
2269
+ se.groupPatternsByBaseDirectory = n;
2270
+ function e(s, p, h) {
2271
+ return Object.keys(s).map((d) => i(d, s[d], p, h));
2272
+ }
2273
+ se.convertPatternGroupsToTasks = e;
2274
+ function i(s, p, h, d) {
2275
+ return {
2276
+ dynamic: d,
2277
+ positive: p,
2278
+ negative: h,
2279
+ base: s,
2280
+ patterns: [].concat(p, h.map(o.pattern.convertToNegativePattern))
2281
+ };
2282
+ }
2283
+ return se.convertPatternGroupToTask = i, se;
2284
+ }
2285
+ var Ue = {}, We = {}, de = {}, Ve = {}, Ke = {}, ve = {}, Re = {}, Ee = {}, De = {}, kr;
2286
+ function hs() {
2287
+ if (kr) return De;
2288
+ kr = 1, Object.defineProperty(De, "__esModule", { value: !0 }), De.read = void 0;
2289
+ function o(u, r, t) {
2290
+ r.fs.lstat(u, (n, e) => {
2291
+ if (n !== null) {
2292
+ a(t, n);
2293
+ return;
2294
+ }
2295
+ if (!e.isSymbolicLink() || !r.followSymbolicLink) {
2296
+ l(t, e);
2297
+ return;
2298
+ }
2299
+ r.fs.stat(u, (i, s) => {
2300
+ if (i !== null) {
2301
+ if (r.throwErrorOnBrokenSymbolicLink) {
2302
+ a(t, i);
2303
+ return;
2304
+ }
2305
+ l(t, e);
2306
+ return;
2307
+ }
2308
+ r.markSymbolicLink && (s.isSymbolicLink = () => !0), l(t, s);
2309
+ });
2310
+ });
2311
+ }
2312
+ De.read = o;
2313
+ function a(u, r) {
2314
+ u(r);
2315
+ }
2316
+ function l(u, r) {
2317
+ u(null, r);
2318
+ }
2319
+ return De;
2320
+ }
2321
+ var Ie = {}, Hr;
2322
+ function ps() {
2323
+ if (Hr) return Ie;
2324
+ Hr = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.read = void 0;
2325
+ function o(a, l) {
2326
+ const u = l.fs.lstatSync(a);
2327
+ if (!u.isSymbolicLink() || !l.followSymbolicLink)
2328
+ return u;
2329
+ try {
2330
+ const r = l.fs.statSync(a);
2331
+ return l.markSymbolicLink && (r.isSymbolicLink = () => !0), r;
2332
+ } catch (r) {
2333
+ if (!l.throwErrorOnBrokenSymbolicLink)
2334
+ return u;
2335
+ throw r;
2336
+ }
2337
+ }
2338
+ return Ie.read = o, Ie;
2339
+ }
2340
+ var Qe = {}, Ft = {}, Mr;
2341
+ function ds() {
2342
+ return Mr || (Mr = 1, (function(o) {
2343
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.createFileSystemAdapter = o.FILE_SYSTEM_ADAPTER = void 0;
2344
+ const a = Qt;
2345
+ o.FILE_SYSTEM_ADAPTER = {
2346
+ lstat: a.lstat,
2347
+ stat: a.stat,
2348
+ lstatSync: a.lstatSync,
2349
+ statSync: a.statSync
2350
+ };
2351
+ function l(u) {
2352
+ return u === void 0 ? o.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, o.FILE_SYSTEM_ADAPTER), u);
2353
+ }
2354
+ o.createFileSystemAdapter = l;
2355
+ })(Ft)), Ft;
2356
+ }
2357
+ var Dr;
2358
+ function _s() {
2359
+ if (Dr) return Qe;
2360
+ Dr = 1, Object.defineProperty(Qe, "__esModule", { value: !0 });
2361
+ const o = ds();
2362
+ class a {
2363
+ constructor(u = {}) {
2364
+ this._options = u, this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, !0), this.fs = o.createFileSystemAdapter(this._options.fs), this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0);
2365
+ }
2366
+ _getValue(u, r) {
2367
+ return u ?? r;
2368
+ }
2369
+ }
2370
+ return Qe.default = a, Qe;
2371
+ }
2372
+ var Ir;
2373
+ function Le() {
2374
+ if (Ir) return Ee;
2375
+ Ir = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.statSync = Ee.stat = Ee.Settings = void 0;
2376
+ const o = hs(), a = ps(), l = _s();
2377
+ Ee.Settings = l.default;
2378
+ function u(n, e, i) {
2379
+ if (typeof e == "function") {
2380
+ o.read(n, t(), e);
2381
+ return;
2382
+ }
2383
+ o.read(n, t(e), i);
2384
+ }
2385
+ Ee.stat = u;
2386
+ function r(n, e) {
2387
+ const i = t(e);
2388
+ return a.read(n, i);
2389
+ }
2390
+ Ee.statSync = r;
2391
+ function t(n = {}) {
2392
+ return n instanceof l.default ? n : new l.default(n);
2393
+ }
2394
+ return Ee;
2395
+ }
2396
+ /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
2397
+ var Bt, Nr;
2398
+ function gs() {
2399
+ if (Nr) return Bt;
2400
+ Nr = 1;
2401
+ let o;
2402
+ return Bt = typeof queueMicrotask == "function" ? queueMicrotask.bind(typeof window < "u" ? window : Mn) : (a) => (o || (o = Promise.resolve())).then(a).catch((l) => setTimeout(() => {
2403
+ throw l;
2404
+ }, 0)), Bt;
2405
+ }
2406
+ /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
2407
+ var jt, qr;
2408
+ function ys() {
2409
+ if (qr) return jt;
2410
+ qr = 1, jt = a;
2411
+ const o = gs();
2412
+ function a(l, u) {
2413
+ let r, t, n, e = !0;
2414
+ Array.isArray(l) ? (r = [], t = l.length) : (n = Object.keys(l), r = {}, t = n.length);
2415
+ function i(p) {
2416
+ function h() {
2417
+ u && u(p, r), u = null;
2418
+ }
2419
+ e ? o(h) : h();
2420
+ }
2421
+ function s(p, h, d) {
2422
+ r[p] = d, (--t === 0 || h) && i(h);
2423
+ }
2424
+ t ? n ? n.forEach(function(p) {
2425
+ l[p](function(h, d) {
2426
+ s(p, h, d);
2427
+ });
2428
+ }) : l.forEach(function(p, h) {
2429
+ p(function(d, y) {
2430
+ s(h, d, y);
2431
+ });
2432
+ }) : i(null), e = !1;
2433
+ }
2434
+ return jt;
2435
+ }
2436
+ var Ne = {}, Fr;
2437
+ function Cn() {
2438
+ if (Fr) return Ne;
2439
+ Fr = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
2440
+ const o = process.versions.node.split(".");
2441
+ if (o[0] === void 0 || o[1] === void 0)
2442
+ throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
2443
+ const a = Number.parseInt(o[0], 10), l = Number.parseInt(o[1], 10), u = 10, r = 10, t = a > u, n = a === u && l >= r;
2444
+ return Ne.IS_SUPPORT_READDIR_WITH_FILE_TYPES = t || n, Ne;
2445
+ }
2446
+ var qe = {}, Fe = {}, Br;
2447
+ function Ss() {
2448
+ if (Br) return Fe;
2449
+ Br = 1, Object.defineProperty(Fe, "__esModule", { value: !0 }), Fe.createDirentFromStats = void 0;
2450
+ class o {
2451
+ constructor(u, r) {
2452
+ this.name = u, this.isBlockDevice = r.isBlockDevice.bind(r), this.isCharacterDevice = r.isCharacterDevice.bind(r), this.isDirectory = r.isDirectory.bind(r), this.isFIFO = r.isFIFO.bind(r), this.isFile = r.isFile.bind(r), this.isSocket = r.isSocket.bind(r), this.isSymbolicLink = r.isSymbolicLink.bind(r);
2453
+ }
2454
+ }
2455
+ function a(l, u) {
2456
+ return new o(l, u);
2457
+ }
2458
+ return Fe.createDirentFromStats = a, Fe;
2459
+ }
2460
+ var jr;
2461
+ function Tn() {
2462
+ if (jr) return qe;
2463
+ jr = 1, Object.defineProperty(qe, "__esModule", { value: !0 }), qe.fs = void 0;
2464
+ const o = Ss();
2465
+ return qe.fs = o, qe;
2466
+ }
2467
+ var Be = {}, Gr;
2468
+ function On() {
2469
+ if (Gr) return Be;
2470
+ Gr = 1, Object.defineProperty(Be, "__esModule", { value: !0 }), Be.joinPathSegments = void 0;
2471
+ function o(a, l, u) {
2472
+ return a.endsWith(u) ? a + l : a + u + l;
2473
+ }
2474
+ return Be.joinPathSegments = o, Be;
2475
+ }
2476
+ var Ur;
2477
+ function ms() {
2478
+ if (Ur) return Re;
2479
+ Ur = 1, Object.defineProperty(Re, "__esModule", { value: !0 }), Re.readdir = Re.readdirWithFileTypes = Re.read = void 0;
2480
+ const o = Le(), a = ys(), l = Cn(), u = Tn(), r = On();
2481
+ function t(h, d, y) {
2482
+ if (!d.stats && l.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
2483
+ n(h, d, y);
2484
+ return;
2485
+ }
2486
+ i(h, d, y);
2487
+ }
2488
+ Re.read = t;
2489
+ function n(h, d, y) {
2490
+ d.fs.readdir(h, { withFileTypes: !0 }, (T, C) => {
2491
+ if (T !== null) {
2492
+ s(y, T);
2493
+ return;
2494
+ }
2495
+ const m = C.map((_) => ({
2496
+ dirent: _,
2497
+ name: _.name,
2498
+ path: r.joinPathSegments(h, _.name, d.pathSegmentSeparator)
2499
+ }));
2500
+ if (!d.followSymbolicLinks) {
2501
+ p(y, m);
2502
+ return;
2503
+ }
2504
+ const S = m.map((_) => e(_, d));
2505
+ a(S, (_, c) => {
2506
+ if (_ !== null) {
2507
+ s(y, _);
2508
+ return;
2509
+ }
2510
+ p(y, c);
2511
+ });
2512
+ });
2513
+ }
2514
+ Re.readdirWithFileTypes = n;
2515
+ function e(h, d) {
2516
+ return (y) => {
2517
+ if (!h.dirent.isSymbolicLink()) {
2518
+ y(null, h);
2519
+ return;
2520
+ }
2521
+ d.fs.stat(h.path, (T, C) => {
2522
+ if (T !== null) {
2523
+ if (d.throwErrorOnBrokenSymbolicLink) {
2524
+ y(T);
2525
+ return;
2526
+ }
2527
+ y(null, h);
2528
+ return;
2529
+ }
2530
+ h.dirent = u.fs.createDirentFromStats(h.name, C), y(null, h);
2531
+ });
2532
+ };
2533
+ }
2534
+ function i(h, d, y) {
2535
+ d.fs.readdir(h, (T, C) => {
2536
+ if (T !== null) {
2537
+ s(y, T);
2538
+ return;
2539
+ }
2540
+ const m = C.map((S) => {
2541
+ const _ = r.joinPathSegments(h, S, d.pathSegmentSeparator);
2542
+ return (c) => {
2543
+ o.stat(_, d.fsStatSettings, (f, g) => {
2544
+ if (f !== null) {
2545
+ c(f);
2546
+ return;
2547
+ }
2548
+ const R = {
2549
+ name: S,
2550
+ path: _,
2551
+ dirent: u.fs.createDirentFromStats(S, g)
2552
+ };
2553
+ d.stats && (R.stats = g), c(null, R);
2554
+ });
2555
+ };
2556
+ });
2557
+ a(m, (S, _) => {
2558
+ if (S !== null) {
2559
+ s(y, S);
2560
+ return;
2561
+ }
2562
+ p(y, _);
2563
+ });
2564
+ });
2565
+ }
2566
+ Re.readdir = i;
2567
+ function s(h, d) {
2568
+ h(d);
2569
+ }
2570
+ function p(h, d) {
2571
+ h(null, d);
2572
+ }
2573
+ return Re;
2574
+ }
2575
+ var Ae = {}, Wr;
2576
+ function vs() {
2577
+ if (Wr) return Ae;
2578
+ Wr = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.readdir = Ae.readdirWithFileTypes = Ae.read = void 0;
2579
+ const o = Le(), a = Cn(), l = Tn(), u = On();
2580
+ function r(e, i) {
2581
+ return !i.stats && a.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? t(e, i) : n(e, i);
2582
+ }
2583
+ Ae.read = r;
2584
+ function t(e, i) {
2585
+ return i.fs.readdirSync(e, { withFileTypes: !0 }).map((p) => {
2586
+ const h = {
2587
+ dirent: p,
2588
+ name: p.name,
2589
+ path: u.joinPathSegments(e, p.name, i.pathSegmentSeparator)
2590
+ };
2591
+ if (h.dirent.isSymbolicLink() && i.followSymbolicLinks)
2592
+ try {
2593
+ const d = i.fs.statSync(h.path);
2594
+ h.dirent = l.fs.createDirentFromStats(h.name, d);
2595
+ } catch (d) {
2596
+ if (i.throwErrorOnBrokenSymbolicLink)
2597
+ throw d;
2598
+ }
2599
+ return h;
2600
+ });
2601
+ }
2602
+ Ae.readdirWithFileTypes = t;
2603
+ function n(e, i) {
2604
+ return i.fs.readdirSync(e).map((p) => {
2605
+ const h = u.joinPathSegments(e, p, i.pathSegmentSeparator), d = o.statSync(h, i.fsStatSettings), y = {
2606
+ name: p,
2607
+ path: h,
2608
+ dirent: l.fs.createDirentFromStats(p, d)
2609
+ };
2610
+ return i.stats && (y.stats = d), y;
2611
+ });
2612
+ }
2613
+ return Ae.readdir = n, Ae;
2614
+ }
2615
+ var Xe = {}, Gt = {}, Vr;
2616
+ function Rs() {
2617
+ return Vr || (Vr = 1, (function(o) {
2618
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.createFileSystemAdapter = o.FILE_SYSTEM_ADAPTER = void 0;
2619
+ const a = Qt;
2620
+ o.FILE_SYSTEM_ADAPTER = {
2621
+ lstat: a.lstat,
2622
+ stat: a.stat,
2623
+ lstatSync: a.lstatSync,
2624
+ statSync: a.statSync,
2625
+ readdir: a.readdir,
2626
+ readdirSync: a.readdirSync
2627
+ };
2628
+ function l(u) {
2629
+ return u === void 0 ? o.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, o.FILE_SYSTEM_ADAPTER), u);
2630
+ }
2631
+ o.createFileSystemAdapter = l;
2632
+ })(Gt)), Gt;
2633
+ }
2634
+ var Kr;
2635
+ function Es() {
2636
+ if (Kr) return Xe;
2637
+ Kr = 1, Object.defineProperty(Xe, "__esModule", { value: !0 });
2638
+ const o = Se, a = Le(), l = Rs();
2639
+ class u {
2640
+ constructor(t = {}) {
2641
+ this._options = t, this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !1), this.fs = l.createFileSystemAdapter(this._options.fs), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, o.sep), this.stats = this._getValue(this._options.stats, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0), this.fsStatSettings = new a.Settings({
2642
+ followSymbolicLink: this.followSymbolicLinks,
2643
+ fs: this.fs,
2644
+ throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink
2645
+ });
2646
+ }
2647
+ _getValue(t, n) {
2648
+ return t ?? n;
2649
+ }
2650
+ }
2651
+ return Xe.default = u, Xe;
2652
+ }
2653
+ var Qr;
2654
+ function Zt() {
2655
+ if (Qr) return ve;
2656
+ Qr = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.Settings = ve.scandirSync = ve.scandir = void 0;
2657
+ const o = ms(), a = vs(), l = Es();
2658
+ ve.Settings = l.default;
2659
+ function u(n, e, i) {
2660
+ if (typeof e == "function") {
2661
+ o.read(n, t(), e);
2662
+ return;
2663
+ }
2664
+ o.read(n, t(e), i);
2665
+ }
2666
+ ve.scandir = u;
2667
+ function r(n, e) {
2668
+ const i = t(e);
2669
+ return a.read(n, i);
2670
+ }
2671
+ ve.scandirSync = r;
2672
+ function t(n = {}) {
2673
+ return n instanceof l.default ? n : new l.default(n);
2674
+ }
2675
+ return ve;
2676
+ }
2677
+ var Ye = { exports: {} }, Ut, Xr;
2678
+ function As() {
2679
+ if (Xr) return Ut;
2680
+ Xr = 1;
2681
+ function o(a) {
2682
+ var l = new a(), u = l;
2683
+ function r() {
2684
+ var n = l;
2685
+ return n.next ? l = n.next : (l = new a(), u = l), n.next = null, n;
2686
+ }
2687
+ function t(n) {
2688
+ u.next = n, u = n;
2689
+ }
2690
+ return {
2691
+ get: r,
2692
+ release: t
2693
+ };
2694
+ }
2695
+ return Ut = o, Ut;
2696
+ }
2697
+ var Yr;
2698
+ function bs() {
2699
+ if (Yr) return Ye.exports;
2700
+ Yr = 1;
2701
+ var o = As();
2702
+ function a(t, n, e) {
2703
+ if (typeof t == "function" && (e = n, n = t, t = null), !(e >= 1))
2704
+ throw new Error("fastqueue concurrency must be equal to or greater than 1");
2705
+ var i = o(u), s = null, p = null, h = 0, d = null, y = {
2706
+ push: f,
2707
+ drain: l,
2708
+ saturated: l,
2709
+ pause: C,
2710
+ paused: !1,
2711
+ get concurrency() {
2712
+ return e;
2713
+ },
2714
+ set concurrency(k) {
2715
+ if (!(k >= 1))
2716
+ throw new Error("fastqueue concurrency must be equal to or greater than 1");
2717
+ if (e = k, !y.paused)
2718
+ for (; s && h < e; )
2719
+ h++, R();
2720
+ },
2721
+ running: T,
2722
+ resume: _,
2723
+ idle: c,
2724
+ length: m,
2725
+ getQueue: S,
2726
+ unshift: g,
2727
+ empty: l,
2728
+ kill: v,
2729
+ killAndDrain: P,
2730
+ error: D,
2731
+ abort: O
2732
+ };
2733
+ return y;
2734
+ function T() {
2735
+ return h;
2736
+ }
2737
+ function C() {
2738
+ y.paused = !0;
2739
+ }
2740
+ function m() {
2741
+ for (var k = s, H = 0; k; )
2742
+ k = k.next, H++;
2743
+ return H;
2744
+ }
2745
+ function S() {
2746
+ for (var k = s, H = []; k; )
2747
+ H.push(k.value), k = k.next;
2748
+ return H;
2749
+ }
2750
+ function _() {
2751
+ if (y.paused) {
2752
+ if (y.paused = !1, s === null) {
2753
+ h++, R();
2754
+ return;
2755
+ }
2756
+ for (; s && h < e; )
2757
+ h++, R();
2758
+ }
2759
+ }
2760
+ function c() {
2761
+ return h === 0 && y.length() === 0;
2762
+ }
2763
+ function f(k, H) {
2764
+ var x = i.get();
2765
+ x.context = t, x.release = R, x.value = k, x.callback = H || l, x.errorHandler = d, h >= e || y.paused ? p ? (p.next = x, p = x) : (s = x, p = x, y.saturated()) : (h++, n.call(t, x.value, x.worked));
2766
+ }
2767
+ function g(k, H) {
2768
+ var x = i.get();
2769
+ x.context = t, x.release = R, x.value = k, x.callback = H || l, x.errorHandler = d, h >= e || y.paused ? s ? (x.next = s, s = x) : (s = x, p = x, y.saturated()) : (h++, n.call(t, x.value, x.worked));
2770
+ }
2771
+ function R(k) {
2772
+ k && i.release(k);
2773
+ var H = s;
2774
+ H && h <= e ? y.paused ? h-- : (p === s && (p = null), s = H.next, H.next = null, n.call(t, H.value, H.worked), p === null && y.empty()) : --h === 0 && y.drain();
2775
+ }
2776
+ function v() {
2777
+ s = null, p = null, y.drain = l;
2778
+ }
2779
+ function P() {
2780
+ s = null, p = null, y.drain(), y.drain = l;
2781
+ }
2782
+ function O() {
2783
+ var k = s;
2784
+ for (s = null, p = null; k; ) {
2785
+ var H = k.next, x = k.callback, U = k.errorHandler, N = k.value, q = k.context;
2786
+ k.value = null, k.callback = l, k.errorHandler = null, U && U(new Error("abort"), N), x.call(q, new Error("abort")), k.release(k), k = H;
2787
+ }
2788
+ y.drain = l;
2789
+ }
2790
+ function D(k) {
2791
+ d = k;
2792
+ }
2793
+ }
2794
+ function l() {
2795
+ }
2796
+ function u() {
2797
+ this.value = null, this.callback = l, this.next = null, this.release = l, this.context = null, this.errorHandler = null;
2798
+ var t = this;
2799
+ this.worked = function(e, i) {
2800
+ var s = t.callback, p = t.errorHandler, h = t.value;
2801
+ t.value = null, t.callback = l, t.errorHandler && p(e, h), s.call(t.context, e, i), t.release(t);
2802
+ };
2803
+ }
2804
+ function r(t, n, e) {
2805
+ typeof t == "function" && (e = n, n = t, t = null);
2806
+ function i(C, m) {
2807
+ n.call(this, C).then(function(S) {
2808
+ m(null, S);
2809
+ }, m);
2810
+ }
2811
+ var s = a(t, i, e), p = s.push, h = s.unshift;
2812
+ return s.push = d, s.unshift = y, s.drained = T, s;
2813
+ function d(C) {
2814
+ var m = new Promise(function(S, _) {
2815
+ p(C, function(c, f) {
2816
+ if (c) {
2817
+ _(c);
2818
+ return;
2819
+ }
2820
+ S(f);
2821
+ });
2822
+ });
2823
+ return m.catch(l), m;
2824
+ }
2825
+ function y(C) {
2826
+ var m = new Promise(function(S, _) {
2827
+ h(C, function(c, f) {
2828
+ if (c) {
2829
+ _(c);
2830
+ return;
2831
+ }
2832
+ S(f);
2833
+ });
2834
+ });
2835
+ return m.catch(l), m;
2836
+ }
2837
+ function T() {
2838
+ var C = new Promise(function(m) {
2839
+ process.nextTick(function() {
2840
+ if (s.idle())
2841
+ m();
2842
+ else {
2843
+ var S = s.drain;
2844
+ s.drain = function() {
2845
+ typeof S == "function" && S(), m(), s.drain = S;
2846
+ };
2847
+ }
2848
+ });
2849
+ });
2850
+ return C;
2851
+ }
2852
+ }
2853
+ return Ye.exports = a, Ye.exports.promise = r, Ye.exports;
2854
+ }
2855
+ var _e = {}, Zr;
2856
+ function zt() {
2857
+ if (Zr) return _e;
2858
+ Zr = 1, Object.defineProperty(_e, "__esModule", { value: !0 }), _e.joinPathSegments = _e.replacePathSegmentSeparator = _e.isAppliedFilter = _e.isFatalError = void 0;
2859
+ function o(r, t) {
2860
+ return r.errorFilter === null ? !0 : !r.errorFilter(t);
2861
+ }
2862
+ _e.isFatalError = o;
2863
+ function a(r, t) {
2864
+ return r === null || r(t);
2865
+ }
2866
+ _e.isAppliedFilter = a;
2867
+ function l(r, t) {
2868
+ return r.split(/[/\\]/).join(t);
2869
+ }
2870
+ _e.replacePathSegmentSeparator = l;
2871
+ function u(r, t, n) {
2872
+ return r === "" ? t : r.endsWith(n) ? r + t : r + n + t;
2873
+ }
2874
+ return _e.joinPathSegments = u, _e;
2875
+ }
2876
+ var Ze = {}, zr;
2877
+ function wn() {
2878
+ if (zr) return Ze;
2879
+ zr = 1, Object.defineProperty(Ze, "__esModule", { value: !0 });
2880
+ const o = zt();
2881
+ class a {
2882
+ constructor(u, r) {
2883
+ this._root = u, this._settings = r, this._root = o.replacePathSegmentSeparator(u, r.pathSegmentSeparator);
2884
+ }
2885
+ }
2886
+ return Ze.default = a, Ze;
2887
+ }
2888
+ var Jr;
2889
+ function $n() {
2890
+ if (Jr) return Ke;
2891
+ Jr = 1, Object.defineProperty(Ke, "__esModule", { value: !0 });
2892
+ const o = Fn, a = Zt(), l = bs(), u = zt(), r = wn();
2893
+ class t extends r.default {
2894
+ constructor(e, i) {
2895
+ super(e, i), this._settings = i, this._scandir = a.scandir, this._emitter = new o.EventEmitter(), this._queue = l(this._worker.bind(this), this._settings.concurrency), this._isFatalError = !1, this._isDestroyed = !1, this._queue.drain = () => {
2896
+ this._isFatalError || this._emitter.emit("end");
2897
+ };
2898
+ }
2899
+ read() {
2900
+ return this._isFatalError = !1, this._isDestroyed = !1, setImmediate(() => {
2901
+ this._pushToQueue(this._root, this._settings.basePath);
2902
+ }), this._emitter;
2903
+ }
2904
+ get isDestroyed() {
2905
+ return this._isDestroyed;
2906
+ }
2907
+ destroy() {
2908
+ if (this._isDestroyed)
2909
+ throw new Error("The reader is already destroyed");
2910
+ this._isDestroyed = !0, this._queue.killAndDrain();
2911
+ }
2912
+ onEntry(e) {
2913
+ this._emitter.on("entry", e);
2914
+ }
2915
+ onError(e) {
2916
+ this._emitter.once("error", e);
2917
+ }
2918
+ onEnd(e) {
2919
+ this._emitter.once("end", e);
2920
+ }
2921
+ _pushToQueue(e, i) {
2922
+ const s = { directory: e, base: i };
2923
+ this._queue.push(s, (p) => {
2924
+ p !== null && this._handleError(p);
2925
+ });
2926
+ }
2927
+ _worker(e, i) {
2928
+ this._scandir(e.directory, this._settings.fsScandirSettings, (s, p) => {
2929
+ if (s !== null) {
2930
+ i(s, void 0);
2931
+ return;
2932
+ }
2933
+ for (const h of p)
2934
+ this._handleEntry(h, e.base);
2935
+ i(null, void 0);
2936
+ });
2937
+ }
2938
+ _handleError(e) {
2939
+ this._isDestroyed || !u.isFatalError(this._settings, e) || (this._isFatalError = !0, this._isDestroyed = !0, this._emitter.emit("error", e));
2940
+ }
2941
+ _handleEntry(e, i) {
2942
+ if (this._isDestroyed || this._isFatalError)
2943
+ return;
2944
+ const s = e.path;
2945
+ i !== void 0 && (e.path = u.joinPathSegments(i, e.name, this._settings.pathSegmentSeparator)), u.isAppliedFilter(this._settings.entryFilter, e) && this._emitEntry(e), e.dirent.isDirectory() && u.isAppliedFilter(this._settings.deepFilter, e) && this._pushToQueue(s, i === void 0 ? void 0 : e.path);
2946
+ }
2947
+ _emitEntry(e) {
2948
+ this._emitter.emit("entry", e);
2949
+ }
2950
+ }
2951
+ return Ke.default = t, Ke;
2952
+ }
2953
+ var en;
2954
+ function Ps() {
2955
+ if (en) return Ve;
2956
+ en = 1, Object.defineProperty(Ve, "__esModule", { value: !0 });
2957
+ const o = $n();
2958
+ class a {
2959
+ constructor(t, n) {
2960
+ this._root = t, this._settings = n, this._reader = new o.default(this._root, this._settings), this._storage = [];
2961
+ }
2962
+ read(t) {
2963
+ this._reader.onError((n) => {
2964
+ l(t, n);
2965
+ }), this._reader.onEntry((n) => {
2966
+ this._storage.push(n);
2967
+ }), this._reader.onEnd(() => {
2968
+ u(t, this._storage);
2969
+ }), this._reader.read();
2970
+ }
2971
+ }
2972
+ Ve.default = a;
2973
+ function l(r, t) {
2974
+ r(t);
2975
+ }
2976
+ function u(r, t) {
2977
+ r(null, t);
2978
+ }
2979
+ return Ve;
2980
+ }
2981
+ var ze = {}, tn;
2982
+ function xs() {
2983
+ if (tn) return ze;
2984
+ tn = 1, Object.defineProperty(ze, "__esModule", { value: !0 });
2985
+ const o = dt, a = $n();
2986
+ class l {
2987
+ constructor(r, t) {
2988
+ this._root = r, this._settings = t, this._reader = new a.default(this._root, this._settings), this._stream = new o.Readable({
2989
+ objectMode: !0,
2990
+ read: () => {
2991
+ },
2992
+ destroy: () => {
2993
+ this._reader.isDestroyed || this._reader.destroy();
2994
+ }
2995
+ });
2996
+ }
2997
+ read() {
2998
+ return this._reader.onError((r) => {
2999
+ this._stream.emit("error", r);
3000
+ }), this._reader.onEntry((r) => {
3001
+ this._stream.push(r);
3002
+ }), this._reader.onEnd(() => {
3003
+ this._stream.push(null);
3004
+ }), this._reader.read(), this._stream;
3005
+ }
3006
+ }
3007
+ return ze.default = l, ze;
3008
+ }
3009
+ var Je = {}, et = {}, rn;
3010
+ function Cs() {
3011
+ if (rn) return et;
3012
+ rn = 1, Object.defineProperty(et, "__esModule", { value: !0 });
3013
+ const o = Zt(), a = zt(), l = wn();
3014
+ class u extends l.default {
3015
+ constructor() {
3016
+ super(...arguments), this._scandir = o.scandirSync, this._storage = [], this._queue = /* @__PURE__ */ new Set();
3017
+ }
3018
+ read() {
3019
+ return this._pushToQueue(this._root, this._settings.basePath), this._handleQueue(), this._storage;
3020
+ }
3021
+ _pushToQueue(t, n) {
3022
+ this._queue.add({ directory: t, base: n });
3023
+ }
3024
+ _handleQueue() {
3025
+ for (const t of this._queue.values())
3026
+ this._handleDirectory(t.directory, t.base);
3027
+ }
3028
+ _handleDirectory(t, n) {
3029
+ try {
3030
+ const e = this._scandir(t, this._settings.fsScandirSettings);
3031
+ for (const i of e)
3032
+ this._handleEntry(i, n);
3033
+ } catch (e) {
3034
+ this._handleError(e);
3035
+ }
3036
+ }
3037
+ _handleError(t) {
3038
+ if (a.isFatalError(this._settings, t))
3039
+ throw t;
3040
+ }
3041
+ _handleEntry(t, n) {
3042
+ const e = t.path;
3043
+ n !== void 0 && (t.path = a.joinPathSegments(n, t.name, this._settings.pathSegmentSeparator)), a.isAppliedFilter(this._settings.entryFilter, t) && this._pushToStorage(t), t.dirent.isDirectory() && a.isAppliedFilter(this._settings.deepFilter, t) && this._pushToQueue(e, n === void 0 ? void 0 : t.path);
3044
+ }
3045
+ _pushToStorage(t) {
3046
+ this._storage.push(t);
3047
+ }
3048
+ }
3049
+ return et.default = u, et;
3050
+ }
3051
+ var nn;
3052
+ function Ts() {
3053
+ if (nn) return Je;
3054
+ nn = 1, Object.defineProperty(Je, "__esModule", { value: !0 });
3055
+ const o = Cs();
3056
+ class a {
3057
+ constructor(u, r) {
3058
+ this._root = u, this._settings = r, this._reader = new o.default(this._root, this._settings);
3059
+ }
3060
+ read() {
3061
+ return this._reader.read();
3062
+ }
3063
+ }
3064
+ return Je.default = a, Je;
3065
+ }
3066
+ var tt = {}, sn;
3067
+ function Os() {
3068
+ if (sn) return tt;
3069
+ sn = 1, Object.defineProperty(tt, "__esModule", { value: !0 });
3070
+ const o = Se, a = Zt();
3071
+ class l {
3072
+ constructor(r = {}) {
3073
+ this._options = r, this.basePath = this._getValue(this._options.basePath, void 0), this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY), this.deepFilter = this._getValue(this._options.deepFilter, null), this.entryFilter = this._getValue(this._options.entryFilter, null), this.errorFilter = this._getValue(this._options.errorFilter, null), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, o.sep), this.fsScandirSettings = new a.Settings({
3074
+ followSymbolicLinks: this._options.followSymbolicLinks,
3075
+ fs: this._options.fs,
3076
+ pathSegmentSeparator: this._options.pathSegmentSeparator,
3077
+ stats: this._options.stats,
3078
+ throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink
3079
+ });
3080
+ }
3081
+ _getValue(r, t) {
3082
+ return r ?? t;
3083
+ }
3084
+ }
3085
+ return tt.default = l, tt;
3086
+ }
3087
+ var an;
3088
+ function Jt() {
3089
+ if (an) return de;
3090
+ an = 1, Object.defineProperty(de, "__esModule", { value: !0 }), de.Settings = de.walkStream = de.walkSync = de.walk = void 0;
3091
+ const o = Ps(), a = xs(), l = Ts(), u = Os();
3092
+ de.Settings = u.default;
3093
+ function r(i, s, p) {
3094
+ if (typeof s == "function") {
3095
+ new o.default(i, e()).read(s);
3096
+ return;
3097
+ }
3098
+ new o.default(i, e(s)).read(p);
3099
+ }
3100
+ de.walk = r;
3101
+ function t(i, s) {
3102
+ const p = e(s);
3103
+ return new l.default(i, p).read();
3104
+ }
3105
+ de.walkSync = t;
3106
+ function n(i, s) {
3107
+ const p = e(s);
3108
+ return new a.default(i, p).read();
3109
+ }
3110
+ de.walkStream = n;
3111
+ function e(i = {}) {
3112
+ return i instanceof u.default ? i : new u.default(i);
3113
+ }
3114
+ return de;
3115
+ }
3116
+ var rt = {}, on;
3117
+ function er() {
3118
+ if (on) return rt;
3119
+ on = 1, Object.defineProperty(rt, "__esModule", { value: !0 });
3120
+ const o = Se, a = Le(), l = Te();
3121
+ class u {
3122
+ constructor(t) {
3123
+ this._settings = t, this._fsStatSettings = new a.Settings({
3124
+ followSymbolicLink: this._settings.followSymbolicLinks,
3125
+ fs: this._settings.fs,
3126
+ throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks
3127
+ });
3128
+ }
3129
+ _getFullEntryPath(t) {
3130
+ return o.resolve(this._settings.cwd, t);
3131
+ }
3132
+ _makeEntry(t, n) {
3133
+ const e = {
3134
+ name: n,
3135
+ path: n,
3136
+ dirent: l.fs.createDirentFromStats(n, t)
3137
+ };
3138
+ return this._settings.stats && (e.stats = t), e;
3139
+ }
3140
+ _isFatalError(t) {
3141
+ return !l.errno.isEnoentCodeError(t) && !this._settings.suppressErrors;
3142
+ }
3143
+ }
3144
+ return rt.default = u, rt;
3145
+ }
3146
+ var nt = {}, un;
3147
+ function Ln() {
3148
+ if (un) return nt;
3149
+ un = 1, Object.defineProperty(nt, "__esModule", { value: !0 });
3150
+ const o = dt, a = Le(), l = Jt(), u = er();
3151
+ class r extends u.default {
3152
+ constructor() {
3153
+ super(...arguments), this._walkStream = l.walkStream, this._stat = a.stat;
3154
+ }
3155
+ dynamic(n, e) {
3156
+ return this._walkStream(n, e);
3157
+ }
3158
+ static(n, e) {
3159
+ const i = n.map(this._getFullEntryPath, this), s = new o.PassThrough({ objectMode: !0 });
3160
+ s._write = (p, h, d) => this._getEntry(i[p], n[p], e).then((y) => {
3161
+ y !== null && e.entryFilter(y) && s.push(y), p === i.length - 1 && s.end(), d();
3162
+ }).catch(d);
3163
+ for (let p = 0; p < i.length; p++)
3164
+ s.write(p);
3165
+ return s;
3166
+ }
3167
+ _getEntry(n, e, i) {
3168
+ return this._getStat(n).then((s) => this._makeEntry(s, e)).catch((s) => {
3169
+ if (i.errorFilter(s))
3170
+ return null;
3171
+ throw s;
3172
+ });
3173
+ }
3174
+ _getStat(n) {
3175
+ return new Promise((e, i) => {
3176
+ this._stat(n, this._fsStatSettings, (s, p) => s === null ? e(p) : i(s));
3177
+ });
3178
+ }
3179
+ }
3180
+ return nt.default = r, nt;
3181
+ }
3182
+ var cn;
3183
+ function ws() {
3184
+ if (cn) return We;
3185
+ cn = 1, Object.defineProperty(We, "__esModule", { value: !0 });
3186
+ const o = Jt(), a = er(), l = Ln();
3187
+ class u extends a.default {
3188
+ constructor() {
3189
+ super(...arguments), this._walkAsync = o.walk, this._readerStream = new l.default(this._settings);
3190
+ }
3191
+ dynamic(t, n) {
3192
+ return new Promise((e, i) => {
3193
+ this._walkAsync(t, n, (s, p) => {
3194
+ s === null ? e(p) : i(s);
3195
+ });
3196
+ });
3197
+ }
3198
+ async static(t, n) {
3199
+ const e = [], i = this._readerStream.static(t, n);
3200
+ return new Promise((s, p) => {
3201
+ i.once("error", p), i.on("data", (h) => e.push(h)), i.once("end", () => s(e));
3202
+ });
3203
+ }
3204
+ }
3205
+ return We.default = u, We;
3206
+ }
3207
+ var st = {}, it = {}, at = {}, ot = {}, ln;
3208
+ function $s() {
3209
+ if (ln) return ot;
3210
+ ln = 1, Object.defineProperty(ot, "__esModule", { value: !0 });
3211
+ const o = Te();
3212
+ class a {
3213
+ constructor(u, r, t) {
3214
+ this._patterns = u, this._settings = r, this._micromatchOptions = t, this._storage = [], this._fillStorage();
3215
+ }
3216
+ _fillStorage() {
3217
+ for (const u of this._patterns) {
3218
+ const r = this._getPatternSegments(u), t = this._splitSegmentsIntoSections(r);
3219
+ this._storage.push({
3220
+ complete: t.length <= 1,
3221
+ pattern: u,
3222
+ segments: r,
3223
+ sections: t
3224
+ });
3225
+ }
3226
+ }
3227
+ _getPatternSegments(u) {
3228
+ return o.pattern.getPatternParts(u, this._micromatchOptions).map((t) => o.pattern.isDynamicPattern(t, this._settings) ? {
3229
+ dynamic: !0,
3230
+ pattern: t,
3231
+ patternRe: o.pattern.makeRe(t, this._micromatchOptions)
3232
+ } : {
3233
+ dynamic: !1,
3234
+ pattern: t
3235
+ });
3236
+ }
3237
+ _splitSegmentsIntoSections(u) {
3238
+ return o.array.splitWhen(u, (r) => r.dynamic && o.pattern.hasGlobStar(r.pattern));
3239
+ }
3240
+ }
3241
+ return ot.default = a, ot;
3242
+ }
3243
+ var fn;
3244
+ function Ls() {
3245
+ if (fn) return at;
3246
+ fn = 1, Object.defineProperty(at, "__esModule", { value: !0 });
3247
+ const o = $s();
3248
+ class a extends o.default {
3249
+ match(u) {
3250
+ const r = u.split("/"), t = r.length, n = this._storage.filter((e) => !e.complete || e.segments.length > t);
3251
+ for (const e of n) {
3252
+ const i = e.sections[0];
3253
+ if (!e.complete && t > i.length || r.every((p, h) => {
3254
+ const d = e.segments[h];
3255
+ return !!(d.dynamic && d.patternRe.test(p) || !d.dynamic && d.pattern === p);
3256
+ }))
3257
+ return !0;
3258
+ }
3259
+ return !1;
3260
+ }
3261
+ }
3262
+ return at.default = a, at;
3263
+ }
3264
+ var hn;
3265
+ function ks() {
3266
+ if (hn) return it;
3267
+ hn = 1, Object.defineProperty(it, "__esModule", { value: !0 });
3268
+ const o = Te(), a = Ls();
3269
+ class l {
3270
+ constructor(r, t) {
3271
+ this._settings = r, this._micromatchOptions = t;
3272
+ }
3273
+ getFilter(r, t, n) {
3274
+ const e = this._getMatcher(t), i = this._getNegativePatternsRe(n);
3275
+ return (s) => this._filter(r, s, e, i);
3276
+ }
3277
+ _getMatcher(r) {
3278
+ return new a.default(r, this._settings, this._micromatchOptions);
3279
+ }
3280
+ _getNegativePatternsRe(r) {
3281
+ const t = r.filter(o.pattern.isAffectDepthOfReadingPattern);
3282
+ return o.pattern.convertPatternsToRe(t, this._micromatchOptions);
3283
+ }
3284
+ _filter(r, t, n, e) {
3285
+ if (this._isSkippedByDeep(r, t.path) || this._isSkippedSymbolicLink(t))
3286
+ return !1;
3287
+ const i = o.path.removeLeadingDotSegment(t.path);
3288
+ return this._isSkippedByPositivePatterns(i, n) ? !1 : this._isSkippedByNegativePatterns(i, e);
3289
+ }
3290
+ _isSkippedByDeep(r, t) {
3291
+ return this._settings.deep === 1 / 0 ? !1 : this._getEntryLevel(r, t) >= this._settings.deep;
3292
+ }
3293
+ _getEntryLevel(r, t) {
3294
+ const n = t.split("/").length;
3295
+ if (r === "")
3296
+ return n;
3297
+ const e = r.split("/").length;
3298
+ return n - e;
3299
+ }
3300
+ _isSkippedSymbolicLink(r) {
3301
+ return !this._settings.followSymbolicLinks && r.dirent.isSymbolicLink();
3302
+ }
3303
+ _isSkippedByPositivePatterns(r, t) {
3304
+ return !this._settings.baseNameMatch && !t.match(r);
3305
+ }
3306
+ _isSkippedByNegativePatterns(r, t) {
3307
+ return !o.pattern.matchAny(r, t);
3308
+ }
3309
+ }
3310
+ return it.default = l, it;
3311
+ }
3312
+ var ut = {}, pn;
3313
+ function Hs() {
3314
+ if (pn) return ut;
3315
+ pn = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
3316
+ const o = Te();
3317
+ class a {
3318
+ constructor(u, r) {
3319
+ this._settings = u, this._micromatchOptions = r, this.index = /* @__PURE__ */ new Map();
3320
+ }
3321
+ getFilter(u, r) {
3322
+ const [t, n] = o.pattern.partitionAbsoluteAndRelative(r), e = {
3323
+ positive: {
3324
+ all: o.pattern.convertPatternsToRe(u, this._micromatchOptions)
3325
+ },
3326
+ negative: {
3327
+ absolute: o.pattern.convertPatternsToRe(t, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 })),
3328
+ relative: o.pattern.convertPatternsToRe(n, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 }))
3329
+ }
3330
+ };
3331
+ return (i) => this._filter(i, e);
3332
+ }
3333
+ _filter(u, r) {
3334
+ const t = o.path.removeLeadingDotSegment(u.path);
3335
+ if (this._settings.unique && this._isDuplicateEntry(t) || this._onlyFileFilter(u) || this._onlyDirectoryFilter(u))
3336
+ return !1;
3337
+ const n = this._isMatchToPatternsSet(t, r, u.dirent.isDirectory());
3338
+ return this._settings.unique && n && this._createIndexRecord(t), n;
3339
+ }
3340
+ _isDuplicateEntry(u) {
3341
+ return this.index.has(u);
3342
+ }
3343
+ _createIndexRecord(u) {
3344
+ this.index.set(u, void 0);
3345
+ }
3346
+ _onlyFileFilter(u) {
3347
+ return this._settings.onlyFiles && !u.dirent.isFile();
3348
+ }
3349
+ _onlyDirectoryFilter(u) {
3350
+ return this._settings.onlyDirectories && !u.dirent.isDirectory();
3351
+ }
3352
+ _isMatchToPatternsSet(u, r, t) {
3353
+ return !(!this._isMatchToPatterns(u, r.positive.all, t) || this._isMatchToPatterns(u, r.negative.relative, t) || this._isMatchToAbsoluteNegative(u, r.negative.absolute, t));
3354
+ }
3355
+ _isMatchToAbsoluteNegative(u, r, t) {
3356
+ if (r.length === 0)
3357
+ return !1;
3358
+ const n = o.path.makeAbsolute(this._settings.cwd, u);
3359
+ return this._isMatchToPatterns(n, r, t);
3360
+ }
3361
+ _isMatchToPatterns(u, r, t) {
3362
+ if (r.length === 0)
3363
+ return !1;
3364
+ const n = o.pattern.matchAny(u, r);
3365
+ return !n && t ? o.pattern.matchAny(u + "/", r) : n;
3366
+ }
3367
+ }
3368
+ return ut.default = a, ut;
3369
+ }
3370
+ var ct = {}, dn;
3371
+ function Ms() {
3372
+ if (dn) return ct;
3373
+ dn = 1, Object.defineProperty(ct, "__esModule", { value: !0 });
3374
+ const o = Te();
3375
+ class a {
3376
+ constructor(u) {
3377
+ this._settings = u;
3378
+ }
3379
+ getFilter() {
3380
+ return (u) => this._isNonFatalError(u);
3381
+ }
3382
+ _isNonFatalError(u) {
3383
+ return o.errno.isEnoentCodeError(u) || this._settings.suppressErrors;
3384
+ }
3385
+ }
3386
+ return ct.default = a, ct;
3387
+ }
3388
+ var lt = {}, _n;
3389
+ function Ds() {
3390
+ if (_n) return lt;
3391
+ _n = 1, Object.defineProperty(lt, "__esModule", { value: !0 });
3392
+ const o = Te();
3393
+ class a {
3394
+ constructor(u) {
3395
+ this._settings = u;
3396
+ }
3397
+ getTransformer() {
3398
+ return (u) => this._transform(u);
3399
+ }
3400
+ _transform(u) {
3401
+ let r = u.path;
3402
+ return this._settings.absolute && (r = o.path.makeAbsolute(this._settings.cwd, r), r = o.path.unixify(r)), this._settings.markDirectories && u.dirent.isDirectory() && (r += "/"), this._settings.objectMode ? Object.assign(Object.assign({}, u), { path: r }) : r;
3403
+ }
3404
+ }
3405
+ return lt.default = a, lt;
3406
+ }
3407
+ var gn;
3408
+ function tr() {
3409
+ if (gn) return st;
3410
+ gn = 1, Object.defineProperty(st, "__esModule", { value: !0 });
3411
+ const o = Se, a = ks(), l = Hs(), u = Ms(), r = Ds();
3412
+ class t {
3413
+ constructor(e) {
3414
+ this._settings = e, this.errorFilter = new u.default(this._settings), this.entryFilter = new l.default(this._settings, this._getMicromatchOptions()), this.deepFilter = new a.default(this._settings, this._getMicromatchOptions()), this.entryTransformer = new r.default(this._settings);
3415
+ }
3416
+ _getRootDirectory(e) {
3417
+ return o.resolve(this._settings.cwd, e.base);
3418
+ }
3419
+ _getReaderOptions(e) {
3420
+ const i = e.base === "." ? "" : e.base;
3421
+ return {
3422
+ basePath: i,
3423
+ pathSegmentSeparator: "/",
3424
+ concurrency: this._settings.concurrency,
3425
+ deepFilter: this.deepFilter.getFilter(i, e.positive, e.negative),
3426
+ entryFilter: this.entryFilter.getFilter(e.positive, e.negative),
3427
+ errorFilter: this.errorFilter.getFilter(),
3428
+ followSymbolicLinks: this._settings.followSymbolicLinks,
3429
+ fs: this._settings.fs,
3430
+ stats: this._settings.stats,
3431
+ throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink,
3432
+ transform: this.entryTransformer.getTransformer()
3433
+ };
3434
+ }
3435
+ _getMicromatchOptions() {
3436
+ return {
3437
+ dot: this._settings.dot,
3438
+ matchBase: this._settings.baseNameMatch,
3439
+ nobrace: !this._settings.braceExpansion,
3440
+ nocase: !this._settings.caseSensitiveMatch,
3441
+ noext: !this._settings.extglob,
3442
+ noglobstar: !this._settings.globstar,
3443
+ posix: !0,
3444
+ strictSlashes: !1
3445
+ };
3446
+ }
3447
+ }
3448
+ return st.default = t, st;
3449
+ }
3450
+ var yn;
3451
+ function Is() {
3452
+ if (yn) return Ue;
3453
+ yn = 1, Object.defineProperty(Ue, "__esModule", { value: !0 });
3454
+ const o = ws(), a = tr();
3455
+ class l extends a.default {
3456
+ constructor() {
3457
+ super(...arguments), this._reader = new o.default(this._settings);
3458
+ }
3459
+ async read(r) {
3460
+ const t = this._getRootDirectory(r), n = this._getReaderOptions(r);
3461
+ return (await this.api(t, r, n)).map((i) => n.transform(i));
3462
+ }
3463
+ api(r, t, n) {
3464
+ return t.dynamic ? this._reader.dynamic(r, n) : this._reader.static(t.patterns, n);
3465
+ }
3466
+ }
3467
+ return Ue.default = l, Ue;
3468
+ }
3469
+ var ft = {}, Sn;
3470
+ function Ns() {
3471
+ if (Sn) return ft;
3472
+ Sn = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
3473
+ const o = dt, a = Ln(), l = tr();
3474
+ class u extends l.default {
3475
+ constructor() {
3476
+ super(...arguments), this._reader = new a.default(this._settings);
3477
+ }
3478
+ read(t) {
3479
+ const n = this._getRootDirectory(t), e = this._getReaderOptions(t), i = this.api(n, t, e), s = new o.Readable({ objectMode: !0, read: () => {
3480
+ } });
3481
+ return i.once("error", (p) => s.emit("error", p)).on("data", (p) => s.emit("data", e.transform(p))).once("end", () => s.emit("end")), s.once("close", () => i.destroy()), s;
3482
+ }
3483
+ api(t, n, e) {
3484
+ return n.dynamic ? this._reader.dynamic(t, e) : this._reader.static(n.patterns, e);
3485
+ }
3486
+ }
3487
+ return ft.default = u, ft;
3488
+ }
3489
+ var ht = {}, pt = {}, mn;
3490
+ function qs() {
3491
+ if (mn) return pt;
3492
+ mn = 1, Object.defineProperty(pt, "__esModule", { value: !0 });
3493
+ const o = Le(), a = Jt(), l = er();
3494
+ class u extends l.default {
3495
+ constructor() {
3496
+ super(...arguments), this._walkSync = a.walkSync, this._statSync = o.statSync;
3497
+ }
3498
+ dynamic(t, n) {
3499
+ return this._walkSync(t, n);
3500
+ }
3501
+ static(t, n) {
3502
+ const e = [];
3503
+ for (const i of t) {
3504
+ const s = this._getFullEntryPath(i), p = this._getEntry(s, i, n);
3505
+ p === null || !n.entryFilter(p) || e.push(p);
3506
+ }
3507
+ return e;
3508
+ }
3509
+ _getEntry(t, n, e) {
3510
+ try {
3511
+ const i = this._getStat(t);
3512
+ return this._makeEntry(i, n);
3513
+ } catch (i) {
3514
+ if (e.errorFilter(i))
3515
+ return null;
3516
+ throw i;
3517
+ }
3518
+ }
3519
+ _getStat(t) {
3520
+ return this._statSync(t, this._fsStatSettings);
3521
+ }
3522
+ }
3523
+ return pt.default = u, pt;
3524
+ }
3525
+ var vn;
3526
+ function Fs() {
3527
+ if (vn) return ht;
3528
+ vn = 1, Object.defineProperty(ht, "__esModule", { value: !0 });
3529
+ const o = qs(), a = tr();
3530
+ class l extends a.default {
3531
+ constructor() {
3532
+ super(...arguments), this._reader = new o.default(this._settings);
3533
+ }
3534
+ read(r) {
3535
+ const t = this._getRootDirectory(r), n = this._getReaderOptions(r);
3536
+ return this.api(t, r, n).map(n.transform);
3537
+ }
3538
+ api(r, t, n) {
3539
+ return t.dynamic ? this._reader.dynamic(r, n) : this._reader.static(t.patterns, n);
3540
+ }
3541
+ }
3542
+ return ht.default = l, ht;
3543
+ }
3544
+ var Wt = {}, Rn;
3545
+ function Bs() {
3546
+ return Rn || (Rn = 1, (function(o) {
3547
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
3548
+ const a = Qt, u = Math.max(Kt.cpus().length, 1);
3549
+ o.DEFAULT_FILE_SYSTEM_ADAPTER = {
3550
+ lstat: a.lstat,
3551
+ lstatSync: a.lstatSync,
3552
+ stat: a.stat,
3553
+ statSync: a.statSync,
3554
+ readdir: a.readdir,
3555
+ readdirSync: a.readdirSync
3556
+ };
3557
+ class r {
3558
+ constructor(n = {}) {
3559
+ this._options = n, this.absolute = this._getValue(this._options.absolute, !1), this.baseNameMatch = this._getValue(this._options.baseNameMatch, !1), this.braceExpansion = this._getValue(this._options.braceExpansion, !0), this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, !0), this.concurrency = this._getValue(this._options.concurrency, u), this.cwd = this._getValue(this._options.cwd, process.cwd()), this.deep = this._getValue(this._options.deep, 1 / 0), this.dot = this._getValue(this._options.dot, !1), this.extglob = this._getValue(this._options.extglob, !0), this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !0), this.fs = this._getFileSystemMethods(this._options.fs), this.globstar = this._getValue(this._options.globstar, !0), this.ignore = this._getValue(this._options.ignore, []), this.markDirectories = this._getValue(this._options.markDirectories, !1), this.objectMode = this._getValue(this._options.objectMode, !1), this.onlyDirectories = this._getValue(this._options.onlyDirectories, !1), this.onlyFiles = this._getValue(this._options.onlyFiles, !0), this.stats = this._getValue(this._options.stats, !1), this.suppressErrors = this._getValue(this._options.suppressErrors, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !1), this.unique = this._getValue(this._options.unique, !0), this.onlyDirectories && (this.onlyFiles = !1), this.stats && (this.objectMode = !0), this.ignore = [].concat(this.ignore);
3560
+ }
3561
+ _getValue(n, e) {
3562
+ return n === void 0 ? e : n;
3563
+ }
3564
+ _getFileSystemMethods(n = {}) {
3565
+ return Object.assign(Object.assign({}, o.DEFAULT_FILE_SYSTEM_ADAPTER), n);
3566
+ }
3567
+ }
3568
+ o.default = r;
3569
+ })(Wt)), Wt;
3570
+ }
3571
+ var Vt, En;
3572
+ function js() {
3573
+ if (En) return Vt;
3574
+ En = 1;
3575
+ const o = fs(), a = Is(), l = Ns(), u = Fs(), r = Bs(), t = Te();
3576
+ async function n(s, p) {
3577
+ i(s);
3578
+ const h = e(s, a.default, p), d = await Promise.all(h);
3579
+ return t.array.flatten(d);
3580
+ }
3581
+ (function(s) {
3582
+ s.glob = s, s.globSync = p, s.globStream = h, s.async = s;
3583
+ function p(m, S) {
3584
+ i(m);
3585
+ const _ = e(m, u.default, S);
3586
+ return t.array.flatten(_);
3587
+ }
3588
+ s.sync = p;
3589
+ function h(m, S) {
3590
+ i(m);
3591
+ const _ = e(m, l.default, S);
3592
+ return t.stream.merge(_);
3593
+ }
3594
+ s.stream = h;
3595
+ function d(m, S) {
3596
+ i(m);
3597
+ const _ = [].concat(m), c = new r.default(S);
3598
+ return o.generate(_, c);
3599
+ }
3600
+ s.generateTasks = d;
3601
+ function y(m, S) {
3602
+ i(m);
3603
+ const _ = new r.default(S);
3604
+ return t.pattern.isDynamicPattern(m, _);
3605
+ }
3606
+ s.isDynamicPattern = y;
3607
+ function T(m) {
3608
+ return i(m), t.path.escape(m);
3609
+ }
3610
+ s.escapePath = T;
3611
+ function C(m) {
3612
+ return i(m), t.path.convertPathToPattern(m);
3613
+ }
3614
+ s.convertPathToPattern = C, (function(m) {
3615
+ function S(c) {
3616
+ return i(c), t.path.escapePosixPath(c);
3617
+ }
3618
+ m.escapePath = S;
3619
+ function _(c) {
3620
+ return i(c), t.path.convertPosixPathToPattern(c);
3621
+ }
3622
+ m.convertPathToPattern = _;
3623
+ })(s.posix || (s.posix = {})), (function(m) {
3624
+ function S(c) {
3625
+ return i(c), t.path.escapeWindowsPath(c);
3626
+ }
3627
+ m.escapePath = S;
3628
+ function _(c) {
3629
+ return i(c), t.path.convertWindowsPathToPattern(c);
3630
+ }
3631
+ m.convertPathToPattern = _;
3632
+ })(s.win32 || (s.win32 = {}));
3633
+ })(n || (n = {}));
3634
+ function e(s, p, h) {
3635
+ const d = [].concat(s), y = new r.default(h), T = o.generate(d, y), C = new p(y);
3636
+ return T.map(C.read, C);
3637
+ }
3638
+ function i(s) {
3639
+ if (![].concat(s).every((d) => t.string.isString(d) && !t.string.isEmpty(d)))
3640
+ throw new TypeError("Patterns must be a string (non empty) or an array of strings");
3641
+ }
3642
+ return Vt = n, Vt;
3643
+ }
3644
+ var Gs = js();
3645
+ const Us = /* @__PURE__ */ Dn(Gs), Ws = [".md", ".mdc", ".js", ".ts", ".tsx", ".go", ".sh", ".puml", "."], Vs = (o, a = {}) => {
3646
+ const { extensions: l = Ws, exclude: u = [], ignoreDefaultExcludes: r = !1 } = a, n = (Array.isArray(u) ? u : [u]).map((y) => /[*{}!]/.test(y) ? y : `**/*${y}`);
3647
+ r || n.push("**/node_modules/**");
3648
+ const i = (Array.isArray(o) ? o : [o]).map((y) => {
3649
+ try {
3650
+ if (yt.existsSync(y) && yt.statSync(y).isDirectory())
3651
+ return St.join(y, "**/*");
3652
+ } catch (T) {
3653
+ xe.debug(`[catGen] [paths → glob] Treating as glob: ${y}`, { cause: T });
3654
+ }
3655
+ return y;
3656
+ }), s = {
3657
+ ignore: n,
3658
+ onlyFiles: !0,
3659
+ absolute: !0,
3660
+ dot: r,
3661
+ suppressErrors: !0
3662
+ };
3663
+ let p = Us.sync(i, s);
3664
+ const h = new Set(Array.isArray(l) ? l : [l]);
3665
+ return h.has("*") || (p = p.filter((y) => h.has(St.extname(y).toLowerCase()))), p.map((y) => {
3666
+ try {
3667
+ const T = yt.readFileSync(y, "utf8"), C = St.relative(process.cwd(), y);
3668
+ return { absPath: y, relativePath: C, contents: T };
3669
+ } catch (T) {
3670
+ return xe.warn(`[catGen] [reading → skip] ${y}`, { cause: T }), null;
3671
+ }
3672
+ }).filter((y) => y !== null);
3673
+ };
3674
+ async function Ks(o, a = {}) {
3675
+ const l = In(o);
3676
+ if (!l)
3677
+ return {
3678
+ ok: !1,
3679
+ error: `Не удалось распознать URL: ${o}. Ожидается GitLab MR или GitHub PR.`
3680
+ };
3681
+ let u, r;
3682
+ if (l.provider === "gitlab") {
3683
+ if (u = process.env.GITLAB_PERSONAL_TOKEN ?? "", !u) return { ok: !1, error: "GITLAB_PERSONAL_TOKEN не установлен." };
3684
+ r = `https://${l.host}${process.env.GITLAB_API_PATH ?? "/api/v4"}`;
3685
+ } else {
3686
+ if (u = process.env.GITHUB_PERSONAL_TOKEN ?? process.env.GITHUB_TOKEN ?? "", !u)
3687
+ return { ok: !1, error: "GITHUB_PERSONAL_TOKEN или GITHUB_TOKEN не установлен." };
3688
+ r = l.host === "github.com" ? "https://api.github.com" : `https://${l.host}/api/v3`;
3689
+ }
3690
+ xe.info(
3691
+ `[cat --url] provider=${l.provider} repo=${l.repository} iid=${l.iid}`
3692
+ );
3693
+ const t = l.provider === "gitlab" ? new Nn({ baseUrl: r, token: u }) : new qn({ baseUrl: r, token: u });
3694
+ let n;
3695
+ try {
3696
+ n = await t.MergeRequests.getChanges({
3697
+ repository: l.repository,
3698
+ iid: l.iid
3699
+ });
3700
+ } catch (h) {
3701
+ return {
3702
+ ok: !1,
3703
+ error: `Ошибка получения изменений: ${h instanceof Error ? h.message : String(h)}`
3704
+ };
3705
+ }
3706
+ if (n.length === 0)
3707
+ return { ok: !1, error: "MR/PR не содержит изменённых файлов." };
3708
+ let e = n.filter((h) => h.status !== "deleted");
3709
+ if (a.exclude) {
3710
+ const h = Array.isArray(a.exclude) ? a.exclude : [a.exclude];
3711
+ e = e.filter((d) => !h.some((y) => d.path.includes(y.replace(/\*/g, ""))));
3712
+ }
3713
+ if (a.extensions && a.extensions.length > 0) {
3714
+ const h = new Set(a.extensions.map((d) => d.toLowerCase()));
3715
+ e = e.filter((d) => {
3716
+ const y = d.path.includes(".") ? "." + (d.path.split(".").pop() ?? "").toLowerCase() : ".";
3717
+ return h.has(y);
3718
+ });
3719
+ }
3720
+ if (e.length === 0)
3721
+ return { ok: !1, error: "После фильтрации не осталось файлов для вывода." };
3722
+ const i = e.length > 0 ? e[0].ref : "N/A";
3723
+ xe.info(`[cat --url] total=${n.length} filtered=${e.length} ref=${i}`);
3724
+ const s = [];
3725
+ let p = 0;
3726
+ for (const h of e) {
3727
+ let d;
3728
+ try {
3729
+ if (d = await t.RepositoryFiles?.getFileContent({
3730
+ repository: l.repository,
3731
+ path: h.path,
3732
+ ref: h.ref
3733
+ }), !d) {
3734
+ p++, xe.warn(`[cat --url] skip ${h.path}: 404 (ref=${h.ref}, repo=${l.repository})`);
3735
+ continue;
3736
+ }
3737
+ if (d.encoding === "base64") {
3738
+ p++, xe.warn(`[cat --url] skip ${h.path}: binary`);
3739
+ continue;
3740
+ }
3741
+ } catch (y) {
3742
+ p++, xe.warn(`[cat --url] skip ${h.path}: error: ${y.message}`);
3743
+ continue;
3744
+ }
3745
+ s.push({
3746
+ absPath: `vcs://${l.host}/${l.repository}/${h.path}?ref=${h.ref}`,
3747
+ relativePath: h.path,
3748
+ contents: d.content
3749
+ });
3750
+ }
3751
+ return p > 0 && xe.info(`[cat --url] skipped ${p} files`), { ok: !0, files: s };
3752
+ }
3753
+ const Ce = Bn(process.argv, {
3754
+ plain: ["plain"],
3755
+ exclude: ["exclude", "e"],
3756
+ extensions: ["ext"],
3757
+ output: ["o"],
3758
+ url: ["url"]
3759
+ }), An = (o) => {
3760
+ console.log(ne.blue("## CODEBASE:")), o.forEach(({ relativePath: a, contents: l }) => {
3761
+ console.log(ne.blue(`### SOURCE: ${a}`)), console.log(ne.gray("```" + (a.split(".").pop() ?? ""))), console.log(l), console.log(ne.gray("```")), console.log("");
3762
+ });
3763
+ }, bn = (o) => {
3764
+ console.log(ne.blue("<Codebase>")), o.forEach(({ relativePath: a, contents: l }) => {
3765
+ const u = [
3766
+ `${ne.yellow("type")}=${ne.green('"file"')}`,
3767
+ `${ne.yellow("path")}=${ne.green(`"${a}"`)}`
3768
+ ].join(" ");
3769
+ console.log(` ${ne.blue("<Source")} ${u}${ne.blue(">")}`), console.log(l), console.log(` ${ne.blue("</Source>")}`);
3770
+ }), console.log(ne.blue("</Codebase>")), console.log("");
3771
+ }, $e = Ce.url, rr = Ce._.filter((o) => !(o === "cat" || o.endsWith(".ts") || o.endsWith(".js") || o.endsWith(".mjs") || o.startsWith("/") || o.startsWith("./") || o.startsWith("../")));
3772
+ rr.length === 0 && !$e && (console.error(
3773
+ ne.yellow(
3774
+ "Usage: npx gennady cat <path/to/glob> [--plain] [--exclude=<glob>] [--ext=<exts>] [--output=<xml|md>] [--url=<MR/PR URL>]"
3775
+ )
3776
+ ), console.error(ne.yellow(" npx gennady cat --help (see all options)")), process.exit(1));
3777
+ $e && rr.length > 0 && (console.error(ne.red("Error: --url and positional arguments are mutually exclusive.")), process.exit(1));
3778
+ if ($e) {
3779
+ const o = Ce.extensions, a = o ? Array.isArray(o) ? o : o.split(",").map((u) => u.trim()) : void 0, l = await Ks($e, {
3780
+ exclude: Ce.exclude,
3781
+ extensions: a
3782
+ });
3783
+ l.ok || (console.error(ne.red(l.error)), process.exit(1)), Ce.output === "md" ? An(l.files) : bn(l.files);
3784
+ } else {
3785
+ const o = Vs(rr, Ce);
3786
+ Ce.output === "md" ? An(o) : bn(o);
3787
+ }
3788
+ if (!Ce.plain) {
3789
+ console.log(ne.green("^".repeat(40)));
3790
+ const o = $e ? `npx gennady cat --url="${$e}" --plain | pbcopy` : `npx gennady cat ${process.argv.slice(3).join(" ")} --plain | pbcopy`;
3791
+ console.log(ne.italic.gray(`Hint: ${o}`));
3792
+ }
3793
+ console.log("");