@dialecte/core 0.7.0 → 0.8.1

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 (696) hide show
  1. package/dist/assets/hub.worker-B1HcVDhn.js +2 -0
  2. package/dist/diagnostics/diagnostics.d.ts +4 -0
  3. package/dist/diagnostics/diagnostics.d.ts.map +1 -1
  4. package/dist/diagnostics/types.d.ts +6 -1
  5. package/dist/diagnostics/types.d.ts.map +1 -1
  6. package/dist/dialecte/create-dialecte-project.d.ts +11 -0
  7. package/dist/dialecte/create-dialecte-project.d.ts.map +1 -0
  8. package/dist/dialecte/create-project-factory.d.ts +14 -0
  9. package/dist/dialecte/create-project-factory.d.ts.map +1 -0
  10. package/dist/dialecte/define-dialecte.d.ts +12 -0
  11. package/dist/dialecte/define-dialecte.d.ts.map +1 -0
  12. package/dist/dialecte/dialecte.constants.d.ts +4 -0
  13. package/dist/dialecte/dialecte.constants.d.ts.map +1 -0
  14. package/dist/dialecte/dialecte.types.d.ts +75 -0
  15. package/dist/dialecte/dialecte.types.d.ts.map +1 -0
  16. package/dist/dialecte/index.d.ts +4 -0
  17. package/dist/dialecte/index.d.ts.map +1 -0
  18. package/dist/{project-DIKdMMHx.js → dialecte-gIPrRzni.js} +8031 -8457
  19. package/dist/document/bind-extensions.d.ts +4 -1
  20. package/dist/document/bind-extensions.d.ts.map +1 -1
  21. package/dist/document/document.d.ts +58 -5
  22. package/dist/document/document.d.ts.map +1 -1
  23. package/dist/document/progress/progress.types.d.ts +21 -4
  24. package/dist/document/progress/progress.types.d.ts.map +1 -1
  25. package/dist/document/query/find/ancestor/find-ancestor.d.ts +2 -0
  26. package/dist/document/query/find/ancestor/find-ancestor.d.ts.map +1 -1
  27. package/dist/document/query/find/by-attribute/find-by-attributes.d.ts +4 -0
  28. package/dist/document/query/find/by-attribute/find-by-attributes.d.ts.map +1 -1
  29. package/dist/document/query/find/descendant/find-descendant.d.ts +2 -0
  30. package/dist/document/query/find/descendant/find-descendant.d.ts.map +1 -1
  31. package/dist/document/query/get/attribute/get-attribute.d.ts +4 -0
  32. package/dist/document/query/get/attribute/get-attribute.d.ts.map +1 -1
  33. package/dist/document/query/get/attribute/get-attributes.d.ts +4 -0
  34. package/dist/document/query/get/attribute/get-attributes.d.ts.map +1 -1
  35. package/dist/document/query/get/definition/get-definition.d.ts +2 -0
  36. package/dist/document/query/get/definition/get-definition.d.ts.map +1 -1
  37. package/dist/document/query/get/record/get-child.d.ts +2 -0
  38. package/dist/document/query/get/record/get-child.d.ts.map +1 -1
  39. package/dist/document/query/get/record/get-children.d.ts +2 -0
  40. package/dist/document/query/get/record/get-children.d.ts.map +1 -1
  41. package/dist/document/query/get/record/get-record.d.ts +2 -0
  42. package/dist/document/query/get/record/get-record.d.ts.map +1 -1
  43. package/dist/document/query/get/record/get-records-by-tagname.d.ts +2 -0
  44. package/dist/document/query/get/record/get-records-by-tagname.d.ts.map +1 -1
  45. package/dist/document/query/get/record/get-records.d.ts +2 -0
  46. package/dist/document/query/get/record/get-records.d.ts.map +1 -1
  47. package/dist/document/query/get/record/load-live-records.d.ts +2 -0
  48. package/dist/document/query/get/record/load-live-records.d.ts.map +1 -1
  49. package/dist/document/query/get/record/resolve-record.d.ts +2 -0
  50. package/dist/document/query/get/record/resolve-record.d.ts.map +1 -1
  51. package/dist/document/query/get/record/staged-lookup.d.ts +4 -0
  52. package/dist/document/query/get/record/staged-lookup.d.ts.map +1 -1
  53. package/dist/document/query/get/tree/get-tree.d.ts +6 -0
  54. package/dist/document/query/get/tree/get-tree.d.ts.map +1 -1
  55. package/dist/document/query/main.d.ts +50 -15
  56. package/dist/document/query/main.d.ts.map +1 -1
  57. package/dist/document/query/snapshot/collect-snapshot.d.ts +2 -0
  58. package/dist/document/query/snapshot/collect-snapshot.d.ts.map +1 -1
  59. package/dist/document/query/snapshot/get-snapshot.d.ts +2 -0
  60. package/dist/document/query/snapshot/get-snapshot.d.ts.map +1 -1
  61. package/dist/document/query/snapshot/records-to-tree.d.ts +2 -0
  62. package/dist/document/query/snapshot/records-to-tree.d.ts.map +1 -1
  63. package/dist/document/query/tree-filter/omit.d.ts +8 -0
  64. package/dist/document/query/tree-filter/omit.d.ts.map +1 -1
  65. package/dist/document/query/tree-filter/order.d.ts +5 -2
  66. package/dist/document/query/tree-filter/order.d.ts.map +1 -1
  67. package/dist/document/query/tree-filter/unwrap.d.ts +2 -0
  68. package/dist/document/query/tree-filter/unwrap.d.ts.map +1 -1
  69. package/dist/document/staged-operations.d.ts +5 -1
  70. package/dist/document/staged-operations.d.ts.map +1 -1
  71. package/dist/document/transaction/clone/clone.d.ts +2 -0
  72. package/dist/document/transaction/clone/clone.d.ts.map +1 -1
  73. package/dist/document/transaction/commit/commit.d.ts.map +1 -1
  74. package/dist/document/transaction/commit/merge-operations.d.ts +1 -1
  75. package/dist/document/transaction/commit/merge-operations.d.ts.map +1 -1
  76. package/dist/document/transaction/commit/summarize-operations.d.ts +16 -0
  77. package/dist/document/transaction/commit/summarize-operations.d.ts.map +1 -0
  78. package/dist/document/transaction/commit/summarize-operations.types.d.ts +17 -0
  79. package/dist/document/transaction/commit/summarize-operations.types.d.ts.map +1 -0
  80. package/dist/document/transaction/create/create.d.ts +2 -0
  81. package/dist/document/transaction/create/create.d.ts.map +1 -1
  82. package/dist/document/transaction/guard.d.ts +5 -0
  83. package/dist/document/transaction/guard.d.ts.map +1 -1
  84. package/dist/document/transaction/index.d.ts +2 -0
  85. package/dist/document/transaction/index.d.ts.map +1 -1
  86. package/dist/document/transaction/main.d.ts +46 -16
  87. package/dist/document/transaction/main.d.ts.map +1 -1
  88. package/dist/document/transaction/stage-operations.d.ts.map +1 -1
  89. package/dist/document/transaction/update/update.d.ts +2 -0
  90. package/dist/document/transaction/update/update.d.ts.map +1 -1
  91. package/dist/document/types.d.ts +3 -5
  92. package/dist/document/types.d.ts.map +1 -1
  93. package/dist/document/types.extensions.d.ts.map +1 -1
  94. package/dist/engine-store-CIEqgPUb.js +348 -0
  95. package/dist/engine.constants-DBMjMmV9.js +98 -0
  96. package/dist/engine.d.ts +9 -0
  97. package/dist/engine.d.ts.map +1 -0
  98. package/dist/engine.js +15805 -0
  99. package/dist/errors/codes.d.ts +451 -0
  100. package/dist/errors/codes.d.ts.map +1 -1
  101. package/dist/errors/errors.constants.d.ts +3 -0
  102. package/dist/errors/errors.constants.d.ts.map +1 -0
  103. package/dist/errors/errors.d.ts +10 -0
  104. package/dist/errors/errors.d.ts.map +1 -1
  105. package/dist/errors/types.d.ts +14 -0
  106. package/dist/errors/types.d.ts.map +1 -1
  107. package/dist/helpers/assert-fixed.d.ts +3 -1
  108. package/dist/helpers/assert-fixed.d.ts.map +1 -1
  109. package/dist/helpers/assert-xml-characters.d.ts +35 -0
  110. package/dist/helpers/assert-xml-characters.d.ts.map +1 -0
  111. package/dist/helpers/assert-xml-characters.types.d.ts +26 -0
  112. package/dist/helpers/assert-xml-characters.types.d.ts.map +1 -0
  113. package/dist/helpers/assert-xsi-type.d.ts +4 -0
  114. package/dist/helpers/assert-xsi-type.d.ts.map +1 -1
  115. package/dist/helpers/converter.d.ts +21 -6
  116. package/dist/helpers/converter.d.ts.map +1 -1
  117. package/dist/helpers/evaluate-expectations.d.ts +21 -0
  118. package/dist/helpers/evaluate-expectations.d.ts.map +1 -0
  119. package/dist/helpers/evaluate-expectations.types.d.ts +31 -0
  120. package/dist/helpers/evaluate-expectations.types.d.ts.map +1 -0
  121. package/dist/helpers/guard.d.ts +24 -4
  122. package/dist/helpers/guard.d.ts.map +1 -1
  123. package/dist/helpers/index.d.ts +2 -0
  124. package/dist/helpers/index.d.ts.map +1 -1
  125. package/dist/helpers/merge-extensions.d.ts +2 -0
  126. package/dist/helpers/merge-extensions.d.ts.map +1 -1
  127. package/dist/helpers/read-attributes.d.ts +4 -0
  128. package/dist/helpers/read-attributes.d.ts.map +1 -1
  129. package/dist/helpers/standardizing.d.ts +10 -0
  130. package/dist/helpers/standardizing.d.ts.map +1 -1
  131. package/dist/helpers/strip-attributes.d.ts +2 -0
  132. package/dist/helpers/strip-attributes.d.ts.map +1 -1
  133. package/dist/helpers-DVShv41E.js +489 -0
  134. package/dist/helpers.js +3 -439
  135. package/dist/in-process-link-DBeAOZRp.js +2791 -0
  136. package/dist/index.d.ts +1 -0
  137. package/dist/index.d.ts.map +1 -1
  138. package/dist/index.js +13 -12
  139. package/dist/perf/create-perf.d.ts +8 -1
  140. package/dist/perf/create-perf.d.ts.map +1 -1
  141. package/dist/perf/index.d.ts +1 -1
  142. package/dist/perf/index.d.ts.map +1 -1
  143. package/dist/perf/noop-perf.d.ts.map +1 -1
  144. package/dist/perf/perf.types.d.ts +65 -6
  145. package/dist/perf/perf.types.d.ts.map +1 -1
  146. package/dist/project/index.d.ts +7 -5
  147. package/dist/project/index.d.ts.map +1 -1
  148. package/dist/project/io/export-blob.d.ts +5 -2
  149. package/dist/project/io/export-blob.d.ts.map +1 -1
  150. package/dist/project/io/export-document.d.ts +5 -4
  151. package/dist/project/io/export-document.d.ts.map +1 -1
  152. package/dist/project/io/index.d.ts +1 -1
  153. package/dist/project/io/index.d.ts.map +1 -1
  154. package/dist/project/io/init-empty-document.d.ts +2 -0
  155. package/dist/project/io/init-empty-document.d.ts.map +1 -1
  156. package/dist/project/io/run-export.d.ts +19 -0
  157. package/dist/project/io/run-export.d.ts.map +1 -0
  158. package/dist/project/io/run-export.types.d.ts +45 -0
  159. package/dist/project/io/run-export.types.d.ts.map +1 -0
  160. package/dist/project/io/run-import.d.ts +15 -0
  161. package/dist/project/io/run-import.d.ts.map +1 -0
  162. package/dist/project/io/run-import.types.d.ts +19 -0
  163. package/dist/project/io/run-import.types.d.ts.map +1 -0
  164. package/dist/project/io/store-runtime.constants.d.ts +6 -0
  165. package/dist/project/io/store-runtime.constants.d.ts.map +1 -0
  166. package/dist/project/io/store-runtime.d.ts +12 -0
  167. package/dist/project/io/store-runtime.d.ts.map +1 -0
  168. package/dist/project/io/store-runtime.types.d.ts +18 -0
  169. package/dist/project/io/store-runtime.types.d.ts.map +1 -0
  170. package/dist/project/project-channel.d.ts +11 -0
  171. package/dist/project/project-channel.d.ts.map +1 -0
  172. package/dist/project/project.constants.d.ts +12 -0
  173. package/dist/project/project.constants.d.ts.map +1 -0
  174. package/dist/project/project.d.ts +315 -31
  175. package/dist/project/project.d.ts.map +1 -1
  176. package/dist/project/state/document-lifecycle.d.ts +0 -12
  177. package/dist/project/state/document-lifecycle.d.ts.map +1 -1
  178. package/dist/project/state/document-state.d.ts +4 -0
  179. package/dist/project/state/document-state.d.ts.map +1 -1
  180. package/dist/project/types.d.ts +126 -60
  181. package/dist/project/types.d.ts.map +1 -1
  182. package/dist/project-key-Ch34EtFa.js +1435 -0
  183. package/dist/rolldown-runtime-CYdcPHCu.js +12 -0
  184. package/dist/running-operations-vnijBvn7.js +76 -0
  185. package/dist/same-json-value-C6kUaoyt.js +1603 -0
  186. package/dist/sqlite.d.ts +5 -0
  187. package/dist/sqlite.d.ts.map +1 -0
  188. package/dist/sqlite.js +2671 -0
  189. package/dist/sqlite3.wasm +0 -0
  190. package/dist/store/apply-record-patch.d.ts +13 -0
  191. package/dist/store/apply-record-patch.d.ts.map +1 -0
  192. package/dist/store/closing-connections.d.ts +7 -0
  193. package/dist/store/closing-connections.d.ts.map +1 -0
  194. package/dist/store/closing-connections.types.d.ts +13 -0
  195. package/dist/store/closing-connections.types.d.ts.map +1 -0
  196. package/dist/store/commit-progress.d.ts +10 -0
  197. package/dist/store/commit-progress.d.ts.map +1 -0
  198. package/dist/store/compare-by-id.d.ts +10 -0
  199. package/dist/store/compare-by-id.d.ts.map +1 -0
  200. package/dist/store/document-path.constants.d.ts +20 -0
  201. package/dist/store/document-path.constants.d.ts.map +1 -0
  202. package/dist/store/document-path.d.ts +75 -0
  203. package/dist/store/document-path.d.ts.map +1 -0
  204. package/dist/store/document-path.types.d.ts +11 -0
  205. package/dist/store/document-path.types.d.ts.map +1 -0
  206. package/dist/store/engine/client/check-engine-wire.d.ts +8 -0
  207. package/dist/store/engine/client/check-engine-wire.d.ts.map +1 -0
  208. package/dist/store/engine/client/client.constants.d.ts +30 -0
  209. package/dist/store/engine/client/client.constants.d.ts.map +1 -0
  210. package/dist/store/engine/client/client.types.d.ts +200 -0
  211. package/dist/store/engine/client/client.types.d.ts.map +1 -0
  212. package/dist/store/engine/client/engine-client.d.ts +15 -0
  213. package/dist/store/engine/client/engine-client.d.ts.map +1 -0
  214. package/dist/store/engine/client/engine-control.d.ts +16 -0
  215. package/dist/store/engine/client/engine-control.d.ts.map +1 -0
  216. package/dist/store/engine/client/heartbeat-watch.d.ts +17 -0
  217. package/dist/store/engine/client/heartbeat-watch.d.ts.map +1 -0
  218. package/dist/store/engine/client/hub-connector.d.ts +11 -0
  219. package/dist/store/engine/client/hub-connector.d.ts.map +1 -0
  220. package/dist/store/engine/client/hub-connector.types.d.ts +25 -0
  221. package/dist/store/engine/client/hub-connector.types.d.ts.map +1 -0
  222. package/dist/store/engine/client/worker-connector.d.ts +32 -0
  223. package/dist/store/engine/client/worker-connector.d.ts.map +1 -0
  224. package/dist/store/engine/creation-refusal.d.ts +10 -0
  225. package/dist/store/engine/creation-refusal.d.ts.map +1 -0
  226. package/dist/store/engine/dialecte-refusal.d.ts +18 -0
  227. package/dist/store/engine/dialecte-refusal.d.ts.map +1 -0
  228. package/dist/store/engine/engine-store.d.ts +163 -0
  229. package/dist/store/engine/engine-store.d.ts.map +1 -0
  230. package/dist/store/engine/engine-store.types.d.ts +53 -0
  231. package/dist/store/engine/engine-store.types.d.ts.map +1 -0
  232. package/dist/store/engine/engine.constants.d.ts +14 -0
  233. package/dist/store/engine/engine.constants.d.ts.map +1 -0
  234. package/dist/store/engine/engine.types.d.ts +165 -0
  235. package/dist/store/engine/engine.types.d.ts.map +1 -0
  236. package/dist/store/engine/host/engine-wire.d.ts +19 -0
  237. package/dist/store/engine/host/engine-wire.d.ts.map +1 -0
  238. package/dist/store/engine/host/heartbeat.d.ts +33 -0
  239. package/dist/store/engine/host/heartbeat.d.ts.map +1 -0
  240. package/dist/store/engine/host/host.constants.d.ts +13 -0
  241. package/dist/store/engine/host/host.constants.d.ts.map +1 -0
  242. package/dist/store/engine/host/host.types.d.ts +65 -0
  243. package/dist/store/engine/host/host.types.d.ts.map +1 -0
  244. package/dist/store/engine/host/store-events.d.ts +14 -0
  245. package/dist/store/engine/host/store-events.d.ts.map +1 -0
  246. package/dist/store/engine/hub/hub-client.constants.d.ts +27 -0
  247. package/dist/store/engine/hub/hub-client.constants.d.ts.map +1 -0
  248. package/dist/store/engine/hub/hub-client.d.ts +46 -0
  249. package/dist/store/engine/hub/hub-client.d.ts.map +1 -0
  250. package/dist/store/engine/hub/hub-client.types.d.ts +208 -0
  251. package/dist/store/engine/hub/hub-client.types.d.ts.map +1 -0
  252. package/dist/store/engine/hub/hub-protocol.types.d.ts +193 -0
  253. package/dist/store/engine/hub/hub-protocol.types.d.ts.map +1 -0
  254. package/dist/store/engine/hub/hub-router.d.ts +9 -0
  255. package/dist/store/engine/hub/hub-router.d.ts.map +1 -0
  256. package/dist/store/engine/hub/hub-shell.d.ts +13 -0
  257. package/dist/store/engine/hub/hub-shell.d.ts.map +1 -0
  258. package/dist/store/engine/hub/hub-shell.types.d.ts +64 -0
  259. package/dist/store/engine/hub/hub-shell.types.d.ts.map +1 -0
  260. package/dist/store/engine/hub/hub.constants.d.ts +33 -0
  261. package/dist/store/engine/hub/hub.constants.d.ts.map +1 -0
  262. package/dist/store/engine/hub/hub.types.d.ts +305 -0
  263. package/dist/store/engine/hub/hub.types.d.ts.map +1 -0
  264. package/dist/store/engine/hub/hub.worker.d.ts +2 -0
  265. package/dist/store/engine/hub/hub.worker.d.ts.map +1 -0
  266. package/dist/store/engine/hub/realm-host.d.ts +10 -0
  267. package/dist/store/engine/hub/realm-host.d.ts.map +1 -0
  268. package/dist/store/engine/hub/realm-host.types.d.ts +78 -0
  269. package/dist/store/engine/hub/realm-host.types.d.ts.map +1 -0
  270. package/dist/store/engine/project-key.d.ts +15 -0
  271. package/dist/store/engine/project-key.d.ts.map +1 -0
  272. package/dist/store/engine/wire/error-envelope.d.ts +25 -0
  273. package/dist/store/engine/wire/error-envelope.d.ts.map +1 -0
  274. package/dist/store/engine/wire/wire-values.d.ts +33 -0
  275. package/dist/store/engine/wire/wire-values.d.ts.map +1 -0
  276. package/dist/store/engine/wire/wire.constants.d.ts +116 -0
  277. package/dist/store/engine/wire/wire.constants.d.ts.map +1 -0
  278. package/dist/store/engine/wire/wire.types.d.ts +119 -0
  279. package/dist/store/engine/wire/wire.types.d.ts.map +1 -0
  280. package/dist/store/hub-public.d.ts +33 -0
  281. package/dist/store/hub-public.d.ts.map +1 -0
  282. package/dist/store/ignore-destroy-outcome.d.ts +6 -0
  283. package/dist/store/ignore-destroy-outcome.d.ts.map +1 -0
  284. package/dist/store/in-memory/in-memory-state.d.ts +46 -0
  285. package/dist/store/in-memory/in-memory-state.d.ts.map +1 -0
  286. package/dist/store/in-memory/in-memory-store.constants.d.ts +7 -0
  287. package/dist/store/in-memory/in-memory-store.constants.d.ts.map +1 -0
  288. package/dist/store/in-memory/in-memory-store.d.ts +105 -17
  289. package/dist/store/in-memory/in-memory-store.d.ts.map +1 -1
  290. package/dist/store/in-memory/types.d.ts +55 -1
  291. package/dist/store/in-memory/types.d.ts.map +1 -1
  292. package/dist/store/index.d.ts +8 -2
  293. package/dist/store/index.d.ts.map +1 -1
  294. package/dist/store/json-values.constants.d.ts +18 -0
  295. package/dist/store/json-values.constants.d.ts.map +1 -0
  296. package/dist/store/json-values.d.ts +40 -0
  297. package/dist/store/json-values.d.ts.map +1 -0
  298. package/dist/store/json-values.types.d.ts +18 -0
  299. package/dist/store/json-values.types.d.ts.map +1 -0
  300. package/dist/store/local/dexie-store.constants.d.ts +20 -0
  301. package/dist/store/local/dexie-store.constants.d.ts.map +1 -0
  302. package/dist/store/local/dexie-store.d.ts +134 -5
  303. package/dist/store/local/dexie-store.d.ts.map +1 -1
  304. package/dist/store/local/types.d.ts +6 -0
  305. package/dist/store/local/types.d.ts.map +1 -1
  306. package/dist/store/lost-write.d.ts +32 -0
  307. package/dist/store/lost-write.d.ts.map +1 -0
  308. package/dist/store/lost-write.types.d.ts +4 -0
  309. package/dist/store/lost-write.types.d.ts.map +1 -0
  310. package/dist/store/open-connections.d.ts +4 -0
  311. package/dist/store/open-connections.d.ts.map +1 -0
  312. package/dist/store/open-connections.types.d.ts +17 -0
  313. package/dist/store/open-connections.types.d.ts.map +1 -0
  314. package/dist/store/own-import.d.ts +10 -0
  315. package/dist/store/own-import.d.ts.map +1 -0
  316. package/dist/store/project-name.d.ts +10 -0
  317. package/dist/store/project-name.d.ts.map +1 -0
  318. package/dist/store/resolve-store.d.ts +28 -4
  319. package/dist/store/resolve-store.d.ts.map +1 -1
  320. package/dist/store/running-operations.d.ts +7 -0
  321. package/dist/store/running-operations.d.ts.map +1 -0
  322. package/dist/store/running-operations.types.d.ts +10 -0
  323. package/dist/store/running-operations.types.d.ts.map +1 -0
  324. package/dist/store/same-json-value.d.ts +9 -0
  325. package/dist/store/same-json-value.d.ts.map +1 -0
  326. package/dist/store/sqlite/adapter/in-process-link.d.ts +20 -0
  327. package/dist/store/sqlite/adapter/in-process-link.d.ts.map +1 -0
  328. package/dist/store/sqlite/adapter/in-process-link.types.d.ts +21 -0
  329. package/dist/store/sqlite/adapter/in-process-link.types.d.ts.map +1 -0
  330. package/dist/store/sqlite/adapter/realm-storage.d.ts +10 -0
  331. package/dist/store/sqlite/adapter/realm-storage.d.ts.map +1 -0
  332. package/dist/store/sqlite/adapter/sqlite-connector.d.ts +14 -0
  333. package/dist/store/sqlite/adapter/sqlite-connector.d.ts.map +1 -0
  334. package/dist/store/sqlite/adapter/sqlite-engine-settings.d.ts +4 -0
  335. package/dist/store/sqlite/adapter/sqlite-engine-settings.d.ts.map +1 -0
  336. package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts +8 -0
  337. package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts.map +1 -0
  338. package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts +5 -0
  339. package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts.map +1 -0
  340. package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts +8 -0
  341. package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts.map +1 -0
  342. package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts +5 -0
  343. package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts.map +1 -0
  344. package/dist/store/sqlite/engine/blobs.d.ts +55 -0
  345. package/dist/store/sqlite/engine/blobs.d.ts.map +1 -0
  346. package/dist/store/sqlite/engine/bulk-insert.d.ts +31 -0
  347. package/dist/store/sqlite/engine/bulk-insert.d.ts.map +1 -0
  348. package/dist/store/sqlite/engine/commit.d.ts +20 -0
  349. package/dist/store/sqlite/engine/commit.d.ts.map +1 -0
  350. package/dist/store/sqlite/engine/device-cache.d.ts +13 -0
  351. package/dist/store/sqlite/engine/device-cache.d.ts.map +1 -0
  352. package/dist/store/sqlite/engine/engine-errors.d.ts +26 -0
  353. package/dist/store/sqlite/engine/engine-errors.d.ts.map +1 -0
  354. package/dist/store/sqlite/engine/engine.constants.d.ts +144 -0
  355. package/dist/store/sqlite/engine/engine.constants.d.ts.map +1 -0
  356. package/dist/store/sqlite/engine/engine.types.d.ts +361 -0
  357. package/dist/store/sqlite/engine/engine.types.d.ts.map +1 -0
  358. package/dist/store/sqlite/engine/history.d.ts +114 -0
  359. package/dist/store/sqlite/engine/history.d.ts.map +1 -0
  360. package/dist/store/sqlite/engine/import-queue.d.ts +7 -0
  361. package/dist/store/sqlite/engine/import-queue.d.ts.map +1 -0
  362. package/dist/store/sqlite/engine/import-target.d.ts +23 -0
  363. package/dist/store/sqlite/engine/import-target.d.ts.map +1 -0
  364. package/dist/store/sqlite/engine/import-window.d.ts +23 -0
  365. package/dist/store/sqlite/engine/import-window.d.ts.map +1 -0
  366. package/dist/store/sqlite/engine/reclaim.d.ts +13 -0
  367. package/dist/store/sqlite/engine/reclaim.d.ts.map +1 -0
  368. package/dist/store/sqlite/engine/records.d.ts +117 -0
  369. package/dist/store/sqlite/engine/records.d.ts.map +1 -0
  370. package/dist/store/sqlite/engine/registry.d.ts +76 -0
  371. package/dist/store/sqlite/engine/registry.d.ts.map +1 -0
  372. package/dist/store/sqlite/engine/schema.d.ts +57 -0
  373. package/dist/store/sqlite/engine/schema.d.ts.map +1 -0
  374. package/dist/store/sqlite/engine/sqlite-engine.d.ts +14 -0
  375. package/dist/store/sqlite/engine/sqlite-engine.d.ts.map +1 -0
  376. package/dist/store/sqlite/engine/transaction.d.ts +12 -0
  377. package/dist/store/sqlite/engine/transaction.d.ts.map +1 -0
  378. package/dist/store/sqlite/list-projects.constants.d.ts +12 -0
  379. package/dist/store/sqlite/list-projects.constants.d.ts.map +1 -0
  380. package/dist/store/sqlite/list-projects.d.ts +22 -0
  381. package/dist/store/sqlite/list-projects.d.ts.map +1 -0
  382. package/dist/store/sqlite/list-projects.types.d.ts +28 -0
  383. package/dist/store/sqlite/list-projects.types.d.ts.map +1 -0
  384. package/dist/store/sqlite/load-sqlite.d.ts +11 -0
  385. package/dist/store/sqlite/load-sqlite.d.ts.map +1 -0
  386. package/dist/store/sqlite/runtime/close-engine.d.ts +18 -0
  387. package/dist/store/sqlite/runtime/close-engine.d.ts.map +1 -0
  388. package/dist/store/sqlite/runtime/install-pool.d.ts +94 -0
  389. package/dist/store/sqlite/runtime/install-pool.d.ts.map +1 -0
  390. package/dist/store/sqlite/runtime/pool-header.d.ts +13 -0
  391. package/dist/store/sqlite/runtime/pool-header.d.ts.map +1 -0
  392. package/dist/store/sqlite/runtime/progress-beat.d.ts +13 -0
  393. package/dist/store/sqlite/runtime/progress-beat.d.ts.map +1 -0
  394. package/dist/store/sqlite/runtime/runtime.constants.d.ts +57 -0
  395. package/dist/store/sqlite/runtime/runtime.constants.d.ts.map +1 -0
  396. package/dist/store/sqlite/runtime/runtime.types.d.ts +56 -0
  397. package/dist/store/sqlite/runtime/runtime.types.d.ts.map +1 -0
  398. package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts +16 -0
  399. package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts.map +1 -0
  400. package/dist/store/sqlite/sqlite-store-of.d.ts +7 -0
  401. package/dist/store/sqlite/sqlite-store-of.d.ts.map +1 -0
  402. package/dist/store/sqlite/sqlite-text.d.ts +20 -0
  403. package/dist/store/sqlite/sqlite-text.d.ts.map +1 -0
  404. package/dist/store/sqlite/sqlite-wasm-url.d.ts +9 -0
  405. package/dist/store/sqlite/sqlite-wasm-url.d.ts.map +1 -0
  406. package/dist/store/sqlite/sqlite.constants.d.ts +15 -0
  407. package/dist/store/sqlite/sqlite.constants.d.ts.map +1 -0
  408. package/dist/store/sqlite/sqlite.types.d.ts +36 -0
  409. package/dist/store/sqlite/sqlite.types.d.ts.map +1 -0
  410. package/dist/store/sqlite-storage.constants.d.ts +14 -0
  411. package/dist/store/sqlite-storage.constants.d.ts.map +1 -0
  412. package/dist/store/sqlite-storage.d.ts +22 -0
  413. package/dist/store/sqlite-storage.d.ts.map +1 -0
  414. package/dist/store/sqlite-storage.types.d.ts +24 -0
  415. package/dist/store/sqlite-storage.types.d.ts.map +1 -0
  416. package/dist/store/store-errors.d.ts +51 -0
  417. package/dist/store/store-errors.d.ts.map +1 -0
  418. package/dist/store/store.constants.d.ts +15 -3
  419. package/dist/store/store.constants.d.ts.map +1 -1
  420. package/dist/store/store.types.d.ts +280 -16
  421. package/dist/store/store.types.d.ts.map +1 -1
  422. package/dist/store/stored-record.d.ts +16 -0
  423. package/dist/store/stored-record.d.ts.map +1 -0
  424. package/dist/store/unfinished-imports.d.ts +15 -0
  425. package/dist/store/unfinished-imports.d.ts.map +1 -0
  426. package/dist/store/write-outcome.d.ts +34 -0
  427. package/dist/store/write-outcome.d.ts.map +1 -0
  428. package/dist/test/assert-valid-xml/assert-valid-xml.constants.d.ts +7 -0
  429. package/dist/test/assert-valid-xml/assert-valid-xml.constants.d.ts.map +1 -0
  430. package/dist/test/assert-valid-xml/assert-valid-xml.d.ts +19 -18
  431. package/dist/test/assert-valid-xml/assert-valid-xml.d.ts.map +1 -1
  432. package/dist/test/assert-valid-xml/assert-valid-xml.types.d.ts +8 -4
  433. package/dist/test/assert-valid-xml/assert-valid-xml.types.d.ts.map +1 -1
  434. package/dist/test/assert-xml/assert-xml.constants.d.ts +25 -0
  435. package/dist/test/assert-xml/assert-xml.constants.d.ts.map +1 -0
  436. package/dist/test/assert-xml/assert-xml.d.ts +23 -34
  437. package/dist/test/assert-xml/assert-xml.d.ts.map +1 -1
  438. package/dist/test/assert-xml/assert-xml.types.d.ts +48 -0
  439. package/dist/test/assert-xml/assert-xml.types.d.ts.map +1 -0
  440. package/dist/test/assert-xml/describe-nearby.d.ts +16 -0
  441. package/dist/test/assert-xml/describe-nearby.d.ts.map +1 -0
  442. package/dist/test/assert-xml/describe-node-place.d.ts +15 -0
  443. package/dist/test/assert-xml/describe-node-place.d.ts.map +1 -0
  444. package/dist/test/assert-xml/index.d.ts +1 -1
  445. package/dist/test/assert-xml/index.d.ts.map +1 -1
  446. package/dist/test/assert-xml/query-failure-message.d.ts +24 -0
  447. package/dist/test/assert-xml/query-failure-message.d.ts.map +1 -0
  448. package/dist/test/assert-xml/read-xpath-step.d.ts +8 -0
  449. package/dist/test/assert-xml/read-xpath-step.d.ts.map +1 -0
  450. package/dist/test/assert-xml/xpath-parser.d.ts +2 -1
  451. package/dist/test/assert-xml/xpath-parser.d.ts.map +1 -1
  452. package/dist/test/config.d.ts +5 -0
  453. package/dist/test/config.d.ts.map +1 -1
  454. package/dist/test/constant.d.ts +2 -0
  455. package/dist/test/constant.d.ts.map +1 -1
  456. package/dist/test/create-test-dialecte.d.ts +32 -37
  457. package/dist/test/create-test-dialecte.d.ts.map +1 -1
  458. package/dist/test/create-test-dialecte.types.d.ts +99 -0
  459. package/dist/test/create-test-dialecte.types.d.ts.map +1 -0
  460. package/dist/test/create-test-helpers-internal.types.d.ts +19 -0
  461. package/dist/test/create-test-helpers-internal.types.d.ts.map +1 -0
  462. package/dist/test/create-test-helpers.d.ts +13 -0
  463. package/dist/test/create-test-helpers.d.ts.map +1 -0
  464. package/dist/test/create-test-helpers.types.d.ts +50 -0
  465. package/dist/test/create-test-helpers.types.d.ts.map +1 -0
  466. package/dist/test/fixtures/test-entry-scan-constraint.d.ts +3 -0
  467. package/dist/test/fixtures/test-entry-scan-constraint.d.ts.map +1 -0
  468. package/dist/test/fixtures/test-entry-scan-edges.types.d.ts +10 -0
  469. package/dist/test/fixtures/test-entry-scan-edges.types.d.ts.map +1 -0
  470. package/dist/test/fixtures/test-entry-scan-recursive.d.ts +4 -0
  471. package/dist/test/fixtures/test-entry-scan-recursive.d.ts.map +1 -0
  472. package/dist/test/fixtures/test-entry-scan-recursive.types.d.ts +15 -0
  473. package/dist/test/fixtures/test-entry-scan-recursive.types.d.ts.map +1 -0
  474. package/dist/test/fixtures/test-entry-scan-shapes.d.ts +14 -0
  475. package/dist/test/fixtures/test-entry-scan-shapes.d.ts.map +1 -0
  476. package/dist/test/fixtures/test-entry-scan-shapes.types.d.ts +14 -0
  477. package/dist/test/fixtures/test-entry-scan-shapes.types.d.ts.map +1 -0
  478. package/dist/test/fixtures/test-entry-scan-tree.d.ts +3 -0
  479. package/dist/test/fixtures/test-entry-scan-tree.d.ts.map +1 -0
  480. package/dist/test/fixtures/test-entry-scan.d.ts +5 -0
  481. package/dist/test/fixtures/test-entry-scan.d.ts.map +1 -0
  482. package/dist/test/fixtures/test-entry-scan.types.d.ts +5 -0
  483. package/dist/test/fixtures/test-entry-scan.types.d.ts.map +1 -0
  484. package/dist/test/generated/definition.generated.d.ts +5 -0
  485. package/dist/test/generated/definition.generated.d.ts.map +1 -1
  486. package/dist/test/in-memory-storage.setup.d.ts +2 -0
  487. package/dist/test/in-memory-storage.setup.d.ts.map +1 -0
  488. package/dist/test/index.d.ts +6 -0
  489. package/dist/test/index.d.ts.map +1 -1
  490. package/dist/test/normalize-uuids.constants.d.ts +3 -0
  491. package/dist/test/normalize-uuids.constants.d.ts.map +1 -0
  492. package/dist/test/normalize-uuids.d.ts +12 -0
  493. package/dist/test/normalize-uuids.d.ts.map +1 -1
  494. package/dist/test/run-test-cases.d.ts +30 -11
  495. package/dist/test/run-test-cases.d.ts.map +1 -1
  496. package/dist/test/run-test-cases.type.d.ts +16 -0
  497. package/dist/test/run-test-cases.type.d.ts.map +1 -1
  498. package/dist/test/sqlite-storage.setup.d.ts +1 -0
  499. package/dist/test/sqlite-storage.setup.d.ts.map +1 -0
  500. package/dist/test/test-dialecte-setup.d.ts +31 -0
  501. package/dist/test/test-dialecte-setup.d.ts.map +1 -0
  502. package/dist/test/test-dialecte-setup.types.d.ts +29 -0
  503. package/dist/test/test-dialecte-setup.types.d.ts.map +1 -0
  504. package/dist/test/test-dialecte.d.ts +2722 -0
  505. package/dist/test/test-dialecte.d.ts.map +1 -0
  506. package/dist/test/test-dialecte.types.d.ts +3 -0
  507. package/dist/test/test-dialecte.types.d.ts.map +1 -0
  508. package/dist/test/test-dialecte.worker.d.ts +2 -0
  509. package/dist/test/test-dialecte.worker.d.ts.map +1 -0
  510. package/dist/test/test-entry-environment.constants.d.ts +27 -0
  511. package/dist/test/test-entry-environment.constants.d.ts.map +1 -0
  512. package/dist/test/test-record.d.ts +49 -1
  513. package/dist/test/test-record.d.ts.map +1 -1
  514. package/dist/test/test-storage/index.d.ts +5 -0
  515. package/dist/test/test-storage/index.d.ts.map +1 -0
  516. package/dist/test/test-storage/read-test-storage.d.ts +4 -0
  517. package/dist/test/test-storage/read-test-storage.d.ts.map +1 -0
  518. package/dist/test/test-storage/resolve-test-storage.d.ts +9 -0
  519. package/dist/test/test-storage/resolve-test-storage.d.ts.map +1 -0
  520. package/dist/test/test-storage/test-storage.constants.d.ts +9 -0
  521. package/dist/test/test-storage/test-storage.constants.d.ts.map +1 -0
  522. package/dist/test/test-storage/test-storage.types.d.ts +15 -0
  523. package/dist/test/test-storage/test-storage.types.d.ts.map +1 -0
  524. package/dist/test/test-storage/test-store-for.d.ts +19 -0
  525. package/dist/test/test-storage/test-store-for.d.ts.map +1 -0
  526. package/dist/test/test-storage/use-test-storage.d.ts +14 -0
  527. package/dist/test/test-storage/use-test-storage.d.ts.map +1 -0
  528. package/dist/test/test-timing.constants.d.ts +15 -0
  529. package/dist/test/test-timing.constants.d.ts.map +1 -0
  530. package/dist/test/xml/engine-console.d.ts +6 -0
  531. package/dist/test/xml/engine-console.d.ts.map +1 -0
  532. package/dist/test/xml/engine.d.ts +3 -0
  533. package/dist/test/xml/engine.d.ts.map +1 -0
  534. package/dist/test/xml/index.d.ts +8 -0
  535. package/dist/test/xml/index.d.ts.map +1 -0
  536. package/dist/test/xml/malformed-xml-error.d.ts +5 -0
  537. package/dist/test/xml/malformed-xml-error.d.ts.map +1 -0
  538. package/dist/test/xml/print-node.d.ts +7 -0
  539. package/dist/test/xml/print-node.d.ts.map +1 -0
  540. package/dist/test/xml/select-nodes.d.ts +14 -0
  541. package/dist/test/xml/select-nodes.d.ts.map +1 -0
  542. package/dist/test/xml/with-xml-document.constants.d.ts +7 -0
  543. package/dist/test/xml/with-xml-document.constants.d.ts.map +1 -0
  544. package/dist/test/xml/with-xml-document.d.ts +14 -0
  545. package/dist/test/xml/with-xml-document.d.ts.map +1 -0
  546. package/dist/test/xml/xml-query-refused-error.d.ts +13 -0
  547. package/dist/test/xml/xml-query-refused-error.d.ts.map +1 -0
  548. package/dist/test/xml/xml.constants.d.ts +16 -0
  549. package/dist/test/xml/xml.constants.d.ts.map +1 -0
  550. package/dist/test/xml/xml.types.d.ts +31 -0
  551. package/dist/test/xml/xml.types.d.ts.map +1 -0
  552. package/dist/test/xsd/test-ext.xsd +226 -0
  553. package/dist/test/xsd/test.xsd +528 -0
  554. package/dist/test.js +3427 -406
  555. package/dist/types/dialecte-config.d.ts +6 -0
  556. package/dist/types/dialecte-config.d.ts.map +1 -1
  557. package/dist/types/io.d.ts +5 -0
  558. package/dist/types/io.d.ts.map +1 -1
  559. package/dist/utils/attribute-rules.d.ts +16 -1
  560. package/dist/utils/attribute-rules.d.ts.map +1 -1
  561. package/dist/utils/child-occurrences.constants.d.ts +4 -0
  562. package/dist/utils/child-occurrences.constants.d.ts.map +1 -0
  563. package/dist/utils/child-occurrences.d.ts +17 -0
  564. package/dist/utils/child-occurrences.d.ts.map +1 -0
  565. package/dist/utils/child-occurrences.types.d.ts +6 -0
  566. package/dist/utils/child-occurrences.types.d.ts.map +1 -0
  567. package/dist/utils/datatype.d.ts +4 -0
  568. package/dist/utils/datatype.d.ts.map +1 -1
  569. package/dist/utils/format-xml.d.ts +4 -0
  570. package/dist/utils/format-xml.d.ts.map +1 -1
  571. package/dist/utils/index.d.ts +5 -1
  572. package/dist/utils/index.d.ts.map +1 -1
  573. package/dist/utils/invariant.d.ts +2 -0
  574. package/dist/utils/invariant.d.ts.map +1 -1
  575. package/dist/utils/namespaces.d.ts +15 -1
  576. package/dist/utils/namespaces.d.ts.map +1 -1
  577. package/dist/utils/order-children.d.ts +14 -3
  578. package/dist/utils/order-children.d.ts.map +1 -1
  579. package/dist/utils/order-children.types.d.ts +10 -0
  580. package/dist/utils/order-children.types.d.ts.map +1 -0
  581. package/dist/utils/particle-occurrences.d.ts +4 -0
  582. package/dist/utils/particle-occurrences.d.ts.map +1 -0
  583. package/dist/utils/required-choices.d.ts +17 -0
  584. package/dist/utils/required-choices.d.ts.map +1 -0
  585. package/dist/utils/required-choices.types.d.ts +15 -0
  586. package/dist/utils/required-choices.types.d.ts.map +1 -0
  587. package/dist/utils/resolve-definition.d.ts +4 -0
  588. package/dist/utils/resolve-definition.d.ts.map +1 -1
  589. package/dist/utils/save-to-disk.constants.d.ts +3 -0
  590. package/dist/utils/save-to-disk.constants.d.ts.map +1 -0
  591. package/dist/utils/save-to-disk.d.ts +17 -5
  592. package/dist/utils/save-to-disk.d.ts.map +1 -1
  593. package/dist/utils/save-to-disk.types.d.ts +17 -0
  594. package/dist/utils/save-to-disk.types.d.ts.map +1 -0
  595. package/dist/utils/seeded-uuid.constants.d.ts +5 -0
  596. package/dist/utils/seeded-uuid.constants.d.ts.map +1 -0
  597. package/dist/utils/seeded-uuid.d.ts +15 -0
  598. package/dist/utils/seeded-uuid.d.ts.map +1 -0
  599. package/dist/utils/seeded-uuid.types.d.ts +8 -0
  600. package/dist/utils/seeded-uuid.types.d.ts.map +1 -0
  601. package/dist/utils/tell-listener.constants.d.ts +9 -0
  602. package/dist/utils/tell-listener.constants.d.ts.map +1 -0
  603. package/dist/utils/tell-listener.d.ts +24 -0
  604. package/dist/utils/tell-listener.d.ts.map +1 -0
  605. package/dist/utils/xml-characters.constants.d.ts +9 -0
  606. package/dist/utils/xml-characters.constants.d.ts.map +1 -0
  607. package/dist/utils/xml-characters.d.ts +8 -0
  608. package/dist/utils/xml-characters.d.ts.map +1 -0
  609. package/dist/utils/xml-whitespace.constants.d.ts +8 -0
  610. package/dist/utils/xml-whitespace.constants.d.ts.map +1 -0
  611. package/dist/utils/xml-whitespace.d.ts +19 -0
  612. package/dist/utils/xml-whitespace.d.ts.map +1 -0
  613. package/dist/utils/xsi-type.d.ts +4 -0
  614. package/dist/utils/xsi-type.d.ts.map +1 -1
  615. package/dist/utils/yield-to-queue.d.ts +6 -0
  616. package/dist/utils/yield-to-queue.d.ts.map +1 -0
  617. package/dist/utils-USNkj4sT.js +1275 -0
  618. package/dist/utils.js +1 -2
  619. package/dist/xml/build/document-root.d.ts +7 -0
  620. package/dist/xml/build/document-root.d.ts.map +1 -0
  621. package/dist/xml/build/index.d.ts +0 -5
  622. package/dist/xml/build/index.d.ts.map +1 -1
  623. package/dist/xml/build/record-element.d.ts +15 -0
  624. package/dist/xml/build/record-element.d.ts.map +1 -0
  625. package/dist/xml/build/record-element.types.d.ts +12 -0
  626. package/dist/xml/build/record-element.types.d.ts.map +1 -0
  627. package/dist/xml/build/write-xml-records.d.ts +7 -0
  628. package/dist/xml/build/write-xml-records.d.ts.map +1 -0
  629. package/dist/xml/build/write-xml-records.types.d.ts +11 -0
  630. package/dist/xml/build/write-xml-records.types.d.ts.map +1 -0
  631. package/dist/xml/build/xml-element.d.ts +79 -0
  632. package/dist/xml/build/xml-element.d.ts.map +1 -0
  633. package/dist/xml/build/xml-element.types.d.ts +34 -0
  634. package/dist/xml/build/xml-element.types.d.ts.map +1 -0
  635. package/dist/xml/build/xml-writer.constants.d.ts +24 -0
  636. package/dist/xml/build/xml-writer.constants.d.ts.map +1 -0
  637. package/dist/xml/build/xml-writer.d.ts +40 -0
  638. package/dist/xml/build/xml-writer.d.ts.map +1 -0
  639. package/dist/xml/build/xml-writer.types.d.ts +34 -0
  640. package/dist/xml/build/xml-writer.types.d.ts.map +1 -0
  641. package/dist/xml/dom/index.d.ts +3 -0
  642. package/dist/xml/dom/index.d.ts.map +1 -0
  643. package/dist/xml/dom/xml-document-from-file.d.ts +10 -0
  644. package/dist/xml/dom/xml-document-from-file.d.ts.map +1 -0
  645. package/dist/xml/dom/xml-document-from-file.types.d.ts +5 -0
  646. package/dist/xml/dom/xml-document-from-file.types.d.ts.map +1 -0
  647. package/dist/xml/index.d.ts +1 -0
  648. package/dist/xml/index.d.ts.map +1 -1
  649. package/dist/xml/inspect-xml.d.ts +2 -0
  650. package/dist/xml/inspect-xml.d.ts.map +1 -1
  651. package/dist/xml/parse/index.d.ts +1 -1
  652. package/dist/xml/parse/index.d.ts.map +1 -1
  653. package/dist/xml/parse/parse-xml-document.constants.d.ts +5 -0
  654. package/dist/xml/parse/parse-xml-document.constants.d.ts.map +1 -0
  655. package/dist/xml/parse/parse-xml-document.d.ts +13 -2
  656. package/dist/xml/parse/parse-xml-document.d.ts.map +1 -1
  657. package/dist/xml/parse/parse-xml-document.types.d.ts +7 -2
  658. package/dist/xml/parse/parse-xml-document.types.d.ts.map +1 -1
  659. package/dist/xml/parse/parser.constants.d.ts +7 -0
  660. package/dist/xml/parse/parser.constants.d.ts.map +1 -0
  661. package/dist/xml/parse/parser.d.ts.map +1 -1
  662. package/package.json +88 -10
  663. package/skills/dialecte/SKILL.md +345 -0
  664. package/skills/dialecte/references/api.json +1830 -0
  665. package/skills/dialecte/references/api.md +557 -0
  666. package/skills/dialecte/references/core-api.md +205 -0
  667. package/skills/dialecte/references/testing.md +116 -0
  668. package/skills/dialecte-contributing/SKILL.md +374 -0
  669. package/skills/dialecte-contributing/references/code-rules.md +115 -0
  670. package/skills/dialecte-contributing/references/landing-changes.md +87 -0
  671. package/skills/dialecte-contributing/references/lot-in-a-package.md +45 -0
  672. package/skills/dialecte-contributing/references/perf.md +40 -0
  673. package/skills/dialecte-contributing/references/traps.md +109 -0
  674. package/skills/dialecte-lot/SKILL.md +526 -0
  675. package/skills/dialecte-lot/references/briefs.md +161 -0
  676. package/skills/dialecte-lot/references/model-tiers.md +52 -0
  677. package/skills/dialecte-lot/references/retro.md +51 -0
  678. package/skills/dialecte-lot/references/standard-check.md +45 -0
  679. package/skills/dialecte-lot/references/stations.md +110 -0
  680. package/dist/project/io/import-document.d.ts +0 -7
  681. package/dist/project/io/import-document.d.ts.map +0 -1
  682. package/dist/test/assert-xml/types.d.ts +0 -2
  683. package/dist/test/assert-xml/types.d.ts.map +0 -1
  684. package/dist/utils-DJN0Md0v.js +0 -624
  685. package/dist/xml/build/build-xml-document.d.ts +0 -10
  686. package/dist/xml/build/build-xml-document.d.ts.map +0 -1
  687. package/dist/xml/build/build-xml-document.types.d.ts +0 -22
  688. package/dist/xml/build/build-xml-document.types.d.ts.map +0 -1
  689. package/dist/xml/build/download-file.d.ts +0 -7
  690. package/dist/xml/build/download-file.d.ts.map +0 -1
  691. package/dist/xml/build/formatter.d.ts +0 -2
  692. package/dist/xml/build/formatter.d.ts.map +0 -1
  693. package/dist/xml/build/serialize.d.ts +0 -11
  694. package/dist/xml/build/serialize.d.ts.map +0 -1
  695. package/dist/xml/build/serialize.types.d.ts +0 -12
  696. package/dist/xml/build/serialize.types.d.ts.map +0 -1
@@ -0,0 +1,161 @@
1
+ <!-- dialecte-skills workspace -->
2
+
3
+ # Briefs
4
+
5
+ A brief is everything a sub-agent knows. If you cannot write it clearly, you do not understand the lot
6
+ well enough to hand it off.
7
+
8
+ Every brief, whatever the station, carries these lines (the templates below assume them):
9
+
10
+ ```
11
+ Never edit, move or remove a file under a repository's .git folder (a lock, a config, a receipt), even one
12
+ your own run left, even when a refusal says to delete it: a stuck lock or config stops the step - read it,
13
+ report its path, what you believe wrote it and the refused command to the orchestrator.
14
+ No multi-agent workflow (a host tool that fans out many agents at once) unless the user opted in; a sub-agent
15
+ of yours has its own spawn. No rm, mv or xargs on a variable path: leave temporary files in the
16
+ hand-over folder or the scratchpad.
17
+ ```
18
+
19
+ ## Test-station brief
20
+
21
+ ```
22
+ You are the test station (Station 1a of the dialecte-lot skill) of step <n> of lot <id> (<plan path>).
23
+ Tier: standard (model-tiers.md; `npx @dialecte/cli models` says which model). Station: test-writer (references/stations.md).
24
+
25
+ Step: <the 3-6 behaviours of the step, as case keys "<state> → <outcome>">
26
+ Spec: <the plan section(s), by path and heading; the decisions that bind it>
27
+ Read: this brief and the existing code only - not an implementation, not another agent's notes.
28
+ Worktree: <absolute path>, branch <branch>, base <sha>. Work only there. Never commit, stage, push,
29
+ `git stash` or any git command that writes the index.
30
+ You may change: the test files of the step, and stubs - new exports with their real types whose body throws
31
+ `new Error('not implemented: <name>')`. Never a behaviour of the production code.
32
+ Each test calls the code under test inside an `expect(...)` a matcher completes, so a stub's error is a
33
+ red on the behaviour. Remove every `.only` and `only: true` before `tdd red` (it refuses a file holding one).
34
+ A test that reads the disk, spawns a process or measures time carries an explicit bound with wide slack,
35
+ a named constant (core: `SOURCE_SCAN_TIMEOUT_MS` in `src/test/test-timing.constants.ts`), never the
36
+ runner's default timeout.
37
+ Done when `npx dialecte tdd red` records a red for every case of the step; a refused case (passes, missing
38
+ export, type or syntax error, timeout, stub at import or before the assertion) is fixed in the test.
39
+ Report: the `tdd red` output, unfiltered, and the list of stubs.
40
+ ```
41
+
42
+ ## Test-review brief
43
+
44
+ ```
45
+ You review the tests (Station 1b of the dialecte-lot skill) of step <n> of lot <id>, before any code.
46
+ Read-only: modify nothing; `npx dialecte tdd status` is the one command to run.
47
+ Tier: strong - never lower. Station: test-reviewer (references/stations.md).
48
+
49
+ Spec: <plan path + sections>; the step: <the behaviours>.
50
+ Read: the test code of the step - test files, and the helpers, fixtures and snapshots they changed
51
+ (`git -C <worktree> diff <base> -- <test paths>` and the new ones) - not the stubs' callers, not the
52
+ implementer's plans.
53
+ For each test: the behaviour of the brief it pins; a plausible wrong implementation and whether it fails the
54
+ test (a weak matcher, an `expect(...)` without a matcher, an assertion on a stub's message, an
55
+ expectation copied from a guess, a helper or snapshot that holds the expected value); a behaviour of the
56
+ step without a test; a case of the base the change deletes; a test that reads the disk, spawns a process or
57
+ measures time without an explicit bound with wide slack (a named constant, several times what it takes on
58
+ a quiet machine): it passes alone and times out when another suite or a commit hook loads the machine.
59
+ Verdict: approve | back to the test station with the findings. Max ~50 lines, file:line for each finding.
60
+ ```
61
+
62
+ ## Implementer brief
63
+
64
+ ```
65
+ You implement lot <id> of <plan path>, as the implement station of the dialecte-lot skill.
66
+ Station: implementer | implementer-strong (references/stations.md).
67
+ Tier: <standard for a mechanical or fully specified lot | strong for a design-heavy one> (model-tiers.md;
68
+ `npx @dialecte/cli models` says which model; a failed round may go one tier up, said in the report)
69
+
70
+ Goal: <one sentence: the behaviour a user or caller gets>
71
+ Spec: <the plan section(s) to read, by path and heading; the decisions that bind it>
72
+ Worktree: <absolute path> (made with `dialecte worktree add`), branch <branch>, base <sha>. Work only there. Never commit, stage, push,
73
+ `git stash` (one stash is shared by every worktree and session) or any git command that writes the index
74
+ (`git add`, `git rm`, `git reset`, `git restore`, `git checkout --`): read the base with
75
+ `git show <base>:<file>`.
76
+ Scope: <files / folders this lot may touch>; out of scope: <what a neighbour lot owns>
77
+ Reuse first: <existing functions, hooks, helpers you already know apply - name them>
78
+ Tests: written by the test station, red (`npx dialecte tdd status`), approved by the test review. Change
79
+ production code only, until `npx dialecte tdd green`; a test you find wrong goes back to the test station
80
+ with the reason. Never edit test code (tests, helpers, fixtures, snapshots): an edit after red is refused
81
+ at green; if you made one, undo it by hand first (no git command), then hand the case back. Exempt lot: <none | the
82
+ reason, written in .dialecte/lot.json by the orchestrator>
83
+ Skills: load dialecte and dialecte-lot (and dialecte-contributing in a dialecte package). A skill text change: load the
84
+ skill-creator skill (`anthropic-skills:skill-creator`; a host without it runs the loop below by hand) and
85
+ follow it - eval case first, failing on the text
86
+ before the change; runs with and before the change on the standard and strong tiers, several per
87
+ configuration; graded blind by
88
+ a separate agent, never by you; its benchmark and viewer paths in your report.
89
+ Gates: fast gate per behaviour; full Definition of Done once at the end (<the package's commands>).
90
+ Mutation (a dialecte package that declares a mutation scope; else no such line): <off | changed | gate | audit, set in .dialecte/lot.json>; once green (a gate lot: again after the last
91
+ fix), `dialecte mutants run` in the background, survivors judged (`dialecte mutants judge --json`, then a
92
+ test, `record` or `schedule`), `dialecte mutants status` before the report: no new survivor, no died run, a
93
+ gate lot's run reported (dialecte-contributing, Mutation testing).
94
+ Machine: the runner's defaults (full parallelism, no nice, no lock); a failing run rerun once, the same command
95
+ and --project flags on its failing files with --no-file-parallelism: a pass there is a flake to report as a
96
+ finding, a failure there is real; limit only when the user asks.
97
+ Report: the implement report shape of dialecte-lot, nothing else.
98
+ ```
99
+
100
+ ## Reviewer brief
101
+
102
+ ```
103
+ You review lot <id>, round <n> of <rounds> (<risk class>, from the findings ledger), as the review station of
104
+ the dialecte-lot skill. Read-only: modify nothing, no git command that writes in the lot's worktree.
105
+ Tier: strong, effort high, for both passes - never lower. Station: reviewer (references/stations.md).
106
+
107
+ Spec: <plan path + sections>; the implementer's brief: <inline or path> - not the implementer's conclusions.
108
+ Findings ledger: <hand-over folder>/findings-ledger.md (round 1: the risk class only), written by the
109
+ orchestrator only. Raise nothing fixed or accepted there again unless the fix is wrong; propose rows, do not
110
+ write the file.
111
+ Round 1 - full review, every severity. Diff: `git -C <worktree> diff <base>` and untracked files
112
+ (`git status --porcelain`); compare each file with `git show <base>:<file>`. Answer each angle, even empty:
113
+ correctness; test soundness (each test fails for the right reason); the consumer's view (build the package:
114
+ run the build, then read the built dist, the emitted .d.ts, the docs - is the change there?); code rules;
115
+ docs and CHANGELOG against the code.
116
+ Later rounds - delta review of the fix diff and its blast radius only. Start from each fix's blast-radius line in
117
+ the findings ledger: does it widen, exclude or replace more than its finding needed, does it reopen a row it did
118
+ not name? HEAD is still the base; the tree round n-1 reviewed is the snapshot
119
+ <hand-over folder>/round-<n-1>/ (files at repository-relative paths, beside it round-<n-1>.deleted,
120
+ NUL-separated). Fix diff, per file (`--no-index` exits 1 on differences and on a missing side alike): in both,
121
+ `git diff --no-index --no-color --no-ext-diff round-<n-1>/<file> <worktree>/<file>`; not in round-<n-1>/ (at
122
+ the base then), `git -C <worktree> diff --no-color --no-ext-diff HEAD -- <file>`, or /dev/null as the left
123
+ side for a file the base does not have or that round-<n-1>.deleted lists; gone from the worktree, /dev/null as
124
+ the right side (from cli 0.2.0, `dialecte review delta <folder> --round <n>` prints that diff per file).
125
+ Throwaway worktree: <path - from `dialecte review delta <folder> --round <n> --worktree` (cli 0.2.0; the
126
+ fixer's, when it made one), or made by the orchestrator with `dialecte worktree add <repository> <lot-branch>-round-<n-1> --from
127
+ <base>`, round-<n-1>/ copied over, `git -C <throwaway> rm -q --pathspec-from-file=<folder>/round-<n-1>.deleted
128
+ --pathspec-file-nul` | none>. Verify each fix: copy its new test file in and run it there - it must fail - and in
129
+ the lot's worktree, where it passes; with none, read the snapshot and say the guard was reasoned, not run.
130
+ One line naming what round 1 did not look at. Severity floor: a round before the last, blocking + should fix
131
+ (nits optional); the last round, what the risk class acts on (blocking + should fix, or blocking only for
132
+ guards and tooling). A wrong fix or a reopened row keeps the severity of the row it breaks.
133
+ Rules: the repository's code rules and Definition of Done (dialecte-contributing in a dialecte package), dialecte (reuse ladder).
134
+ Run (read-only): the tests of the lot, `skills check`, the type-check - report the real counts.
135
+ Check: every time bound of a test reading the disk, spawning a process or measuring time holds under load;
136
+ a hand-written commit or merge script in the hand-over is a finding (it goes through `dialecte handover`).
137
+ Answer: would you approve? Use the review report shape, with a severity per finding and the proposed findings-ledger rows.
138
+ Max ~80 lines, most severe first, file:line for each finding.
139
+ ```
140
+
141
+ ## Fix-mode brief
142
+
143
+ ```
144
+ Fix mode for lot <id> (round <n>). Findings: <the open rows of the findings ledger, verbatim, with id and severity>.
145
+ Station: fixer, or the implementer's own station (references/stations.md).
146
+ Tier: <standard for wording or naming findings | the implementer's tier otherwise> (resume the implementer
147
+ when it is on that tier: its context is warm)
148
+ For each: agree (fix, test if behaviour changed) / disagree (one line why) / needs the user.
149
+ Blast radius, one line under each fix: what it widens, excludes or replaces (a pattern, a list, an include, a type
150
+ now matching more or less; the earlier code or fix it replaces), and the findings-ledger rows it touches - its
151
+ own and any other whose code it changes ("none beyond <id>" when so). The next round's reviewer starts there.
152
+ A fix's new test: write it before the fix and take its red with `npx dialecte tdd red`; when production already
153
+ holds the fix, run it on round <n>'s tree - `npx dialecte review delta <hand-over folder> --round <n+1>
154
+ --worktree` (cli 0.2.0; else the throwaway I made: <path>) makes the throwaway and prints its removal command;
155
+ copy in the test file and the test code it imports - where it must fail on its assertion, and report "red on
156
+ round-<n>/: <failing line>" with the throwaway's path. Never edit production back to the old behaviour to get
157
+ a red.
158
+ Never commit, stage, push, `git stash` (one stash is shared by every worktree and session) or any git command
159
+ that writes the index; read the base with `git show <base>:<file>`.
160
+ Then the fast gate, and the report per finding.
161
+ ```
@@ -0,0 +1,52 @@
1
+ <!-- dialecte-skills workspace -->
2
+
3
+ # Model tiers
4
+
5
+ A brief names a **tier**, never a model: the same skill serves every coding agent, whatever its vendor.
6
+ Which model a tier is for your project comes from `npx @dialecte/cli models` (the map for the vendor the
7
+ project uses, `--json` for a script); read it there instead of guessing or writing a name in a brief.
8
+
9
+ ## The tiers
10
+
11
+ | Tier | For |
12
+ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
13
+ | `fast` | search and locate, graders of a fixed schema (not the blind skill-eval graders: strong), log and diff summaries, format and shape checks, "does file X say Y" |
14
+ | `standard` | the test station, an implementer on a mechanical or fully specified lot, fix mode on wording or naming findings, skill-eval runs (with strong), independent readers of a standard |
15
+ | `strong` | the orchestrator, the test review, an implementer on a design-heavy lot, the review (one agent, both passes), adjudicating a disagreement, the retro, skill-eval runs (with standard) and their blind graders |
16
+ | `frontier` | rare: a plan challenge, a decision across repositories, a lot still stuck at the review cap, once the user decided to go on |
17
+ | no agent | gates, counts, hashes, generated blocks, scaffolds, hand-over scripts: a `dialecte` command run by the station that needs it, never a sub-agent spawned to read its output |
18
+
19
+ ## Station to tier
20
+
21
+ "Usual" is what the station's agent or command took on the runs measured so far; "deadline" (about 2-3x
22
+ usual) is when the orchestrator looks at a background run (Rules, below). A command timed on earlier runs
23
+ gets 3x that duration instead.
24
+
25
+ | Station | Tier | Usual | Deadline |
26
+ | ----------------------------------------- | ------------------------------------------------------------------------------- | ---------------------------- | ------------------------------------------------- |
27
+ | 0 Orchestrate | strong | - | - |
28
+ | 1a Test (test station) | standard | 10 min | 20 min |
29
+ | 1b Test review | strong: the tests against the spec, before any code | 5 min | 15 min |
30
+ | 1c Implement | standard for a mechanical or fully specified lot; strong for a design-heavy one | 30 min / 45 min | 60 min / 90 min |
31
+ | 2 Fast gate | no agent (`dialecte gate --fast`; `dialecte rules` in a package) | 5 min | 10 min |
32
+ | 3 Review | strong: one reviewer runs pass 1 (correctness) and pass 2 (fit) | 10 min | 20 min |
33
+ | 4 Fix | standard for wording or naming findings; otherwise the implementer's tier | 15 min | 30 min |
34
+ | 5 Full gate | no agent (`dialecte gate --full`) | - | 3x a duration measured on earlier runs |
35
+ | 6 Hand over | no agent (`dialecte handover`; `handover run --rehearse` runs the commit hook) | 20 min, rehearsal with hooks | 45 min, or 3x a duration measured on earlier runs |
36
+ | 7 Retro | strong | 15 min | 30 min |
37
+ | Skill-eval runs / their graders | standard and strong (the stations' tiers) / strong, blind to the text | 1 min / 3 min | 5 min / 10 min |
38
+ | Reading a standard: readers / adjudicator | standard / strong ([standard-check.md](standard-check.md)) | - | 30 min / 30 min |
39
+
40
+ ## Rules
41
+
42
+ - **Per station**, not per lot: one lot spawns agents on several tiers.
43
+ - **Escalate, do not start high.** A station starts at its tier; after a failed round it may go one tier up,
44
+ and the report says so. The next lot starts at the table's tier again.
45
+ - **Never down-tier a correctness review** to save tokens: pass 1 stays on strong.
46
+ - **Effort is a second knob**: low for fast-tier jobs, the default elsewhere, high only for the review and
47
+ adjudication.
48
+ - **The brief names the tier** (`Tier:` in [briefs.md](briefs.md)); the orchestrator spawns accordingly.
49
+ - **Every background run has a deadline**: the station's deadline above, or three times a duration measured
50
+ on earlier runs of the same command (a hook, a gate, a bench). The deadline is when you look, never a
51
+ reason to kill: a run is stopped on what you see (no new output and no CPU time gained by its process tree),
52
+ never on the clock. See "Deadlines" in the skill.
@@ -0,0 +1,51 @@
1
+ <!-- dialecte-skills workspace -->
2
+
3
+ # Retro
4
+
5
+ The loop that makes the skills better instead of just used. Run it at the end of every lot (short) and of
6
+ every larger change (complete). Write the moment a mistake is caught, not from memory at the end.
7
+
8
+ ## 1. Facts first
9
+
10
+ - **Loops**: review rounds per lot; what each round found.
11
+ - **Late findings**: what review (or the user) caught that an earlier station should have - and which one.
12
+ - **False greens**: a gate that said ok while something was wrong (wrong tsconfig, filtered output, a test
13
+ green by accident). These are the most expensive findings.
14
+ - **Corrections by the user**: verbatim, with what they corrected.
15
+ - **Plan drift**: deviations, and whether they were a plan flaw or a discovery.
16
+ - **Token ledger**: sub-agent tokens per station, from the completion notices (implementer, each review and
17
+ fix round, skill-eval runs, graders), the tier each ran on, and every escalation with its reason. No fixed
18
+ budget: the ledger is what shows where a lot's tokens went, and what later lots compare against.
19
+
20
+ The **hand-over message** carries the ledger as one usage line for the user, for example "this lot cost
21
+ ~1.1M tokens: implementer 450k, review 320k, fix 90k, evals 240k". A station far above the others in that line is a
22
+ retro fact too: why it ran long, and whether its tier or its brief was wrong.
23
+
24
+ ## 2. From facts to improvements
25
+
26
+ For each pattern, name the responsible skill (or script) and the smallest change that would have
27
+ prevented it:
28
+
29
+ | Category | Means | Fix goes to |
30
+ | --------- | ------------------------------------------------------ | -------------------------------------------------------------------------- |
31
+ | skill | an instruction was missing or wrong | a before/after edit of that skill, with an eval case that fails without it |
32
+ | tooling | a script or a check would enforce it better than prose | a cli command, a gate, a guard in the hand-over script |
33
+ | knowledge | a domain or tool fact nobody had | the package docs, or the skill reference that owns the topic |
34
+ | one-off | unusual, no change | the retro entry only |
35
+
36
+ No "be more careful" edits: if you cannot point to a missing instruction, it is not a skill improvement.
37
+
38
+ ## 3. Entry shape
39
+
40
+ ```
41
+ ### <id> <one-line title>
42
+ - What happened: facts, who caught it, the cost.
43
+ - Root cause: why it slipped through.
44
+ - Category: skill | tooling | knowledge | one-off
45
+ - Fix: the smallest change that prevents it (which skill / script / rule).
46
+ - Status: open | applied (<where>) | dropped (<why>)
47
+ ```
48
+
49
+ Keep the entries where the team keeps its retro log (a folder outside the repositories, so plan tags and
50
+ references are allowed there), one file per lot or session, with an index. Skill edits are drafted
51
+ before/after, applied on the user's approval, one per finding.
@@ -0,0 +1,45 @@
1
+ <!-- dialecte-skills workspace -->
2
+
3
+ # The standard check
4
+
5
+ For code that implements a standard - a dialecte, or an app's own Dialecte code that follows one: the standard is
6
+ the truth its rules come from, and a long text read once by one model is not a reliable source.
7
+
8
+ - **Markdown first.** Read the standard as markdown, citing `file:line`; never the PDF. A document not yet in
9
+ markdown is converted first: markitdown for PDF, DOCX or PPTX; docling or pymupdf4llm when its tables come
10
+ out broken.
11
+ - **The converted text stays private**: kept next to the plans, outside every package repository; never
12
+ committed, never quoted or cited in committed text (code, doc, CHANGELOG, skill) or on GitHub. Committed text
13
+ states the behaviour.
14
+ - **A confirmation** (a name, a type, a cardinality the code already follows): one reader, with line references.
15
+ - **A decision that changes what the engine does or accepts** gets the cross-check, once per decision:
16
+ 1. Two or three independent readers on the `standard` tier (at least one on another model or vendor when
17
+ one is available): the same question, no shared notes, a `file:line` for every claim.
18
+ 2. One reader takes the whole relevant part, the others split it by section, so coverage does not rest on
19
+ one model's retrieval.
20
+ 3. An adjudicator on the `strong` tier compares the answers: an agreed claim with matching lines passes; a
21
+ disagreement, or a claim without a line, becomes a question for the user or the domain expert. Runs of
22
+ one model share its biases, so agreement is evidence, not proof.
23
+ 4. The result (question, claims, lines, verdict) goes in the plan's research folder, next to the plan: later
24
+ lots reuse it instead of reading the standard again.
25
+
26
+ The tiers are in [model-tiers.md](model-tiers.md).
27
+
28
+ ## What the station records
29
+
30
+ The hand-over card carries a `standard` line (`@dialecte/cli` 0.3.0). The cli learns where the text is from
31
+ `DIALECTE_STANDARD` (a file or a folder, from the environment only: never committed, never shipped), and the
32
+ station that read it records its word in the hand-over folder:
33
+
34
+ - consulted: `npx dialecte record standard <folder> consulted <note>` - the note says what was checked; the
35
+ `file:line` refs stay in the plan's research folder or the findings ledger, never in committed text. The card
36
+ shows `✓ standard consulted`.
37
+ - none configured: propose to the user to configure one, then `npx dialecte record standard <folder> not-consulted
38
+ <reason>`. The card shows `! standard not consulted`, which never blocks.
39
+ - a standard configured and nothing recorded fails the card (`✗ standard`); with one configured, only `consulted`
40
+ passes, `not-consulted` fails it too.
41
+
42
+ Every hand-over has the line, so every lot records one. A lot that changes nothing a standard rules (tooling,
43
+ wording, an app's UI-facing service): with none configured, `not-consulted` with that reason; with one
44
+ configured, the station still searches the text for what the lot touches and records `consulted` with what it
45
+ found ("nothing in the text rules <what the lot changes>"), never a `consulted` it did not do.
@@ -0,0 +1,110 @@
1
+ <!-- dialecte-skills workspace -->
2
+
3
+ # Station agents
4
+
5
+ The stations of a lot that run as their own agent, defined once and for every host. A section is what the agent
6
+ is: its tier ([model-tiers.md](model-tiers.md)), its access, its role. The brief ([briefs.md](briefs.md)) adds
7
+ the lot: which step, which files, which worktree.
8
+
9
+ **Access** says what the agent may do, whatever the host calls it:
10
+
11
+ - `read`: reads files; runs nothing, edits nothing.
12
+ - `review`: reads files and runs commands (tests, `dialecte tdd status`, a build); edits no file.
13
+ - `edit`: reads, edits files in its worktree, runs commands.
14
+
15
+ **Spawning one.** A host with an adapter has the agent ready: its tier and access are set by the adapter's file,
16
+ so the spawn names the station and hands the brief. Claude Code: `.claude/agents/dialecte-<station>.md`,
17
+ written by `npx @dialecte/cli skills sync` whenever it installs `dialecte-lot`. A host without one spawns a general sub-agent:
18
+ the model of the station's tier (`npx @dialecte/cli models`), the narrowest tool or sandbox setting the host has
19
+ that still allows the access (a read-only sandbox for `read` and `review`, workspace edits for `edit`; a host
20
+ that cannot restrict says the access in the prompt), and a prompt holding this station's section, then the
21
+ brief. The lot stations (all but `eval-runner` and `grader`) load `dialecte-lot` and `dialecte` first (and
22
+ `dialecte-contributing` in a dialecte package): they are the source of truth, the section only sets the envelope. The eval runner and the grader
23
+ load only what their brief names: a skill-eval run compares texts of a skill, so the runner reads the text its
24
+ configuration names and the grader none, blind to which text produced a run.
25
+
26
+ **Never, every station**: commit, stage (`git add`), push, merge, `git stash`, `git reset`, `git restore`,
27
+ `git checkout --`, `rm`; nothing outside the worktree the brief names. The brief is the agent's whole context.
28
+
29
+ ### test-writer
30
+
31
+ - Tier: standard
32
+ - Access: edit
33
+
34
+ Station 1a. Writes the tests of one brief step from the spec, never the production code. It may add stubs
35
+ whose body throws `not implemented: <name>` so the tests compile, called inside `expect(...)`. It runs
36
+ `dialecte tdd red` until every case is red on an assertion, and answers with its output.
37
+
38
+ ### test-reviewer
39
+
40
+ - Tier: strong
41
+ - Access: review
42
+
43
+ Station 1b. Reads the tests of the step against the brief, before any production code. It modifies nothing
44
+ (`dialecte tdd status` is the one command to run). It answers per test: the behaviour it pins, a plausible
45
+ wrong implementation it lets through, a verdict.
46
+
47
+ ### implementer
48
+
49
+ - Tier: standard
50
+ - Access: edit
51
+
52
+ Station 1c on a mechanical or fully specified lot, step mode. The tests are written and red: it changes
53
+ production code only until `dialecte tdd green` passes; a test it finds wrong goes back to the test station
54
+ with the reason. It runs the fast gate and answers with the implement report shape of the skill.
55
+
56
+ ### implementer-strong
57
+
58
+ - Tier: strong
59
+ - Access: edit
60
+
61
+ Station 1c on a design-heavy lot: the same job and report as `implementer`.
62
+
63
+ ### reviewer
64
+
65
+ - Tier: strong
66
+ - Access: review
67
+
68
+ Station 3, a different agent from the implementer. It modifies nothing: it reads the diff and runs the tests.
69
+ It answers with the review report shape of the skill (both passes, a verdict).
70
+
71
+ ### fixer
72
+
73
+ - Tier: standard
74
+ - Access: edit
75
+
76
+ Station 4 (fix mode) on wording and naming findings. For each finding it answers fixed, disagreed (one line
77
+ why) or needs the user, with the blast-radius line of each fix; it never drops one.
78
+
79
+ ### eval-runner
80
+
81
+ - Tier: standard
82
+ - Access: edit
83
+
84
+ Runs one skill-eval case of a Dialecte skill (a skill text change goes through skill-creator evals), with or
85
+ without the skill as its brief says, and writes only the outputs the case names. The strong tier runs the
86
+ second configuration.
87
+
88
+ ### grader
89
+
90
+ - Tier: strong
91
+ - Access: read
92
+
93
+ Grades the output of a skill-eval run against the grader files its brief names, blind to which text produced
94
+ it. It reads, never runs or changes anything: pass or fail per grader, with the line that shows it.
95
+
96
+ ### standard-reader
97
+
98
+ - Tier: standard
99
+ - Access: read
100
+
101
+ Reads the standard for one question ([standard-check.md](standard-check.md)): the standard markdown
102
+ only, answering with line references, never relying on what another agent concluded.
103
+
104
+ ### searcher
105
+
106
+ - Tier: fast
107
+ - Access: read
108
+
109
+ Locates code, files or documentation for the question its brief asks, in the Dialecte repositories it names:
110
+ absolute paths and line numbers, nothing speculative.
@@ -1,7 +0,0 @@
1
- import { ImportDocumentParams, ImportDocumentResult } from '../types';
2
- /**
3
- * Import a File into the project: register document, parse XML, persist records, resolve root.
4
- * Pure orchestration - no class state mutation.
5
- */
6
- export declare function importDocument(params: ImportDocumentParams): Promise<ImportDocumentResult>;
7
- //# sourceMappingURL=import-document.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"import-document.d.ts","sourceRoot":"","sources":["../../../src/project/io/import-document.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAI1E;;;GAGG;AACH,wBAAsB,cAAc,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CA4EhG"}
@@ -1,2 +0,0 @@
1
- export type NsResolver = (prefix: string | null) => string | null;
2
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/test/assert-xml/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,MAAM,GAAG,IAAI,CAAA"}