@aui.io/apollo 0.1.87 → 0.1.90

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 (236) hide show
  1. package/README.md +3 -0
  2. package/node_modules/@aui.io/apollo-cli/dist/src/commands/auth.js +36 -1
  3. package/node_modules/@aui.io/apollo-cli/dist/src/commands/auth.js.map +1 -1
  4. package/node_modules/@aui.io/apollo-cli/dist/src/commands/bundles.d.ts +4 -0
  5. package/node_modules/@aui.io/apollo-cli/dist/src/commands/bundles.js +290 -32
  6. package/node_modules/@aui.io/apollo-cli/dist/src/commands/bundles.js.map +1 -1
  7. package/node_modules/@aui.io/apollo-cli/dist/src/commands/confirm.d.ts +25 -0
  8. package/node_modules/@aui.io/apollo-cli/dist/src/commands/confirm.js +36 -0
  9. package/node_modules/@aui.io/apollo-cli/dist/src/commands/confirm.js.map +1 -0
  10. package/node_modules/@aui.io/apollo-cli/dist/src/commands/hierarchy.js +54 -49
  11. package/node_modules/@aui.io/apollo-cli/dist/src/commands/hierarchy.js.map +1 -1
  12. package/node_modules/@aui.io/apollo-cli/dist/src/commands/kb.js +3 -2
  13. package/node_modules/@aui.io/apollo-cli/dist/src/commands/kb.js.map +1 -1
  14. package/node_modules/@aui.io/apollo-cli/dist/src/commands/mockdb.js +7 -6
  15. package/node_modules/@aui.io/apollo-cli/dist/src/commands/mockdb.js.map +1 -1
  16. package/node_modules/@aui.io/apollo-cli/dist/src/commands/open.d.ts +3 -0
  17. package/node_modules/@aui.io/apollo-cli/dist/src/commands/open.js +33 -0
  18. package/node_modules/@aui.io/apollo-cli/dist/src/commands/open.js.map +1 -0
  19. package/node_modules/@aui.io/apollo-cli/dist/src/commands/prompts.d.ts +2 -0
  20. package/node_modules/@aui.io/apollo-cli/dist/src/commands/prompts.js +7 -0
  21. package/node_modules/@aui.io/apollo-cli/dist/src/commands/prompts.js.map +1 -1
  22. package/node_modules/@aui.io/apollo-cli/dist/src/commands/vault.js +5 -7
  23. package/node_modules/@aui.io/apollo-cli/dist/src/commands/vault.js.map +1 -1
  24. package/node_modules/@aui.io/apollo-cli/dist/src/index.js +2 -0
  25. package/node_modules/@aui.io/apollo-cli/dist/src/index.js.map +1 -1
  26. package/node_modules/@aui.io/apollo-cli/package.json +3 -3
  27. package/node_modules/@aui.io/apollo-core/dist/src/api/agent-settings.d.ts +2 -0
  28. package/node_modules/@aui.io/apollo-core/dist/src/api/agent-settings.js +3 -0
  29. package/node_modules/@aui.io/apollo-core/dist/src/api/agent-settings.js.map +1 -1
  30. package/node_modules/@aui.io/apollo-core/dist/src/api/builder-api.js +8 -1
  31. package/node_modules/@aui.io/apollo-core/dist/src/api/builder-api.js.map +1 -1
  32. package/node_modules/@aui.io/apollo-core/dist/src/api/identity.d.ts +8 -0
  33. package/node_modules/@aui.io/apollo-core/dist/src/api/identity.js +7 -5
  34. package/node_modules/@aui.io/apollo-core/dist/src/api/identity.js.map +1 -1
  35. package/node_modules/@aui.io/apollo-core/dist/src/api/management.d.ts +18 -2
  36. package/node_modules/@aui.io/apollo-core/dist/src/api/management.js +45 -24
  37. package/node_modules/@aui.io/apollo-core/dist/src/api/management.js.map +1 -1
  38. package/node_modules/@aui.io/apollo-core/dist/src/api/runtime-api.d.ts +3 -2
  39. package/node_modules/@aui.io/apollo-core/dist/src/api/runtime-api.js +4 -2
  40. package/node_modules/@aui.io/apollo-core/dist/src/api/runtime-api.js.map +1 -1
  41. package/node_modules/@aui.io/apollo-core/dist/src/api/timeouts.d.ts +26 -0
  42. package/node_modules/@aui.io/apollo-core/dist/src/api/timeouts.js +27 -0
  43. package/node_modules/@aui.io/apollo-core/dist/src/api/timeouts.js.map +1 -0
  44. package/node_modules/@aui.io/apollo-core/dist/src/api/transport.js +19 -9
  45. package/node_modules/@aui.io/apollo-core/dist/src/api/transport.js.map +1 -1
  46. package/node_modules/@aui.io/apollo-core/dist/src/browser.d.ts +12 -0
  47. package/node_modules/@aui.io/apollo-core/dist/src/browser.js +41 -0
  48. package/node_modules/@aui.io/apollo-core/dist/src/browser.js.map +1 -0
  49. package/node_modules/@aui.io/apollo-core/dist/src/bundle/baseline.d.ts +35 -0
  50. package/node_modules/@aui.io/apollo-core/dist/src/bundle/baseline.js +81 -2
  51. package/node_modules/@aui.io/apollo-core/dist/src/bundle/baseline.js.map +1 -1
  52. package/node_modules/@aui.io/apollo-core/dist/src/bundle/materialize.d.ts +2 -0
  53. package/node_modules/@aui.io/apollo-core/dist/src/bundle/materialize.js +2 -1
  54. package/node_modules/@aui.io/apollo-core/dist/src/bundle/materialize.js.map +1 -1
  55. package/node_modules/@aui.io/apollo-core/dist/src/bundle/patch.d.ts +25 -0
  56. package/node_modules/@aui.io/apollo-core/dist/src/bundle/patch.js +41 -0
  57. package/node_modules/@aui.io/apollo-core/dist/src/bundle/patch.js.map +1 -0
  58. package/node_modules/@aui.io/apollo-core/dist/src/config/index.js +3 -1
  59. package/node_modules/@aui.io/apollo-core/dist/src/config/index.js.map +1 -1
  60. package/node_modules/@aui.io/apollo-core/dist/src/config/types.d.ts +7 -0
  61. package/node_modules/@aui.io/apollo-core/dist/src/errors/index.d.ts +22 -0
  62. package/node_modules/@aui.io/apollo-core/dist/src/errors/index.js +39 -0
  63. package/node_modules/@aui.io/apollo-core/dist/src/errors/index.js.map +1 -1
  64. package/node_modules/@aui.io/apollo-core/dist/src/index.d.ts +3 -1
  65. package/node_modules/@aui.io/apollo-core/dist/src/index.js +3 -1
  66. package/node_modules/@aui.io/apollo-core/dist/src/index.js.map +1 -1
  67. package/node_modules/@aui.io/apollo-core/dist/src/runtime-version/index.d.ts +6 -0
  68. package/node_modules/@aui.io/apollo-core/dist/src/runtime-version/index.js +17 -1
  69. package/node_modules/@aui.io/apollo-core/dist/src/runtime-version/index.js.map +1 -1
  70. package/node_modules/@aui.io/apollo-core/dist/src/services/auth.d.ts +28 -0
  71. package/node_modules/@aui.io/apollo-core/dist/src/services/auth.js +42 -1
  72. package/node_modules/@aui.io/apollo-core/dist/src/services/auth.js.map +1 -1
  73. package/node_modules/@aui.io/apollo-core/dist/src/services/bundles.d.ts +59 -2
  74. package/node_modules/@aui.io/apollo-core/dist/src/services/bundles.js +197 -14
  75. package/node_modules/@aui.io/apollo-core/dist/src/services/bundles.js.map +1 -1
  76. package/node_modules/@aui.io/apollo-core/dist/src/services/clients.js +6 -0
  77. package/node_modules/@aui.io/apollo-core/dist/src/services/clients.js.map +1 -1
  78. package/node_modules/@aui.io/apollo-core/dist/src/services/clone.js +9 -2
  79. package/node_modules/@aui.io/apollo-core/dist/src/services/clone.js.map +1 -1
  80. package/node_modules/@aui.io/apollo-core/dist/src/services/content.d.ts +111 -0
  81. package/node_modules/@aui.io/apollo-core/dist/src/services/content.js +220 -0
  82. package/node_modules/@aui.io/apollo-core/dist/src/services/content.js.map +1 -0
  83. package/node_modules/@aui.io/apollo-core/dist/src/services/doctor.js +9 -6
  84. package/node_modules/@aui.io/apollo-core/dist/src/services/doctor.js.map +1 -1
  85. package/node_modules/@aui.io/apollo-core/dist/src/services/hierarchy.d.ts +65 -8
  86. package/node_modules/@aui.io/apollo-core/dist/src/services/hierarchy.js +127 -11
  87. package/node_modules/@aui.io/apollo-core/dist/src/services/hierarchy.js.map +1 -1
  88. package/node_modules/@aui.io/apollo-core/dist/src/services/playground.d.ts +17 -0
  89. package/node_modules/@aui.io/apollo-core/dist/src/services/playground.js +23 -0
  90. package/node_modules/@aui.io/apollo-core/dist/src/services/playground.js.map +1 -0
  91. package/node_modules/@aui.io/apollo-core/dist/src/services/versions.d.ts +25 -5
  92. package/node_modules/@aui.io/apollo-core/dist/src/services/versions.js +125 -43
  93. package/node_modules/@aui.io/apollo-core/dist/src/services/versions.js.map +1 -1
  94. package/node_modules/@aui.io/apollo-core/node_modules/diff/CONTRIBUTING.md +28 -0
  95. package/node_modules/@aui.io/apollo-core/node_modules/diff/LICENSE +29 -0
  96. package/node_modules/@aui.io/apollo-core/node_modules/diff/README.md +378 -0
  97. package/node_modules/@aui.io/apollo-core/node_modules/diff/dist/diff.js +1674 -0
  98. package/node_modules/@aui.io/apollo-core/node_modules/diff/dist/diff.min.js +1 -0
  99. package/node_modules/@aui.io/apollo-core/node_modules/diff/eslint.config.mjs +182 -0
  100. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/dmp.d.ts +8 -0
  101. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/dmp.d.ts.map +1 -0
  102. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/dmp.js +24 -0
  103. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/xml.d.ts +6 -0
  104. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/xml.d.ts.map +1 -0
  105. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/xml.js +34 -0
  106. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/array.d.ts +19 -0
  107. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/array.d.ts.map +1 -0
  108. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/array.js +40 -0
  109. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/base.d.ts +20 -0
  110. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/base.d.ts.map +1 -0
  111. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/base.js +265 -0
  112. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/character.d.ts +19 -0
  113. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/character.d.ts.map +1 -0
  114. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/character.js +31 -0
  115. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/css.d.ts +18 -0
  116. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/css.d.ts.map +1 -0
  117. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/css.js +34 -0
  118. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/json.d.ts +24 -0
  119. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/json.d.ts.map +1 -0
  120. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/json.js +105 -0
  121. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/line.d.ts +24 -0
  122. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/line.d.ts.map +1 -0
  123. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/line.js +89 -0
  124. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/sentence.d.ts +21 -0
  125. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/sentence.d.ts.map +1 -0
  126. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/sentence.js +67 -0
  127. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/word.d.ts +35 -0
  128. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/word.d.ts.map +1 -0
  129. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/word.js +307 -0
  130. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/index.d.ts +20 -0
  131. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/index.d.ts.map +1 -0
  132. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/index.js +61 -0
  133. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/package.json +1 -0
  134. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/apply.d.ts +62 -0
  135. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/apply.d.ts.map +1 -0
  136. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/apply.js +267 -0
  137. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/create.d.ts +100 -0
  138. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/create.d.ts.map +1 -0
  139. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/create.js +223 -0
  140. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/line-endings.d.ts +17 -0
  141. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/line-endings.d.ts.map +1 -0
  142. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/line-endings.js +61 -0
  143. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/parse.d.ts +8 -0
  144. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/parse.d.ts.map +1 -0
  145. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/parse.js +133 -0
  146. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/reverse.d.ts +9 -0
  147. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/reverse.d.ts.map +1 -0
  148. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/reverse.js +37 -0
  149. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/types.d.ts +213 -0
  150. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/types.d.ts.map +1 -0
  151. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/types.js +2 -0
  152. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/array.d.ts +3 -0
  153. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/array.d.ts.map +1 -0
  154. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/array.js +21 -0
  155. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/distance-iterator.d.ts +2 -0
  156. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/distance-iterator.d.ts.map +1 -0
  157. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/distance-iterator.js +40 -0
  158. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/params.d.ts +4 -0
  159. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/params.d.ts.map +1 -0
  160. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/params.js +17 -0
  161. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/string.d.ts +18 -0
  162. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/string.d.ts.map +1 -0
  163. package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/string.js +141 -0
  164. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/dmp.d.ts +8 -0
  165. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/dmp.d.ts.map +1 -0
  166. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/dmp.js +21 -0
  167. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/xml.d.ts +6 -0
  168. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/xml.d.ts.map +1 -0
  169. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/xml.js +31 -0
  170. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/array.d.ts +19 -0
  171. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/array.d.ts.map +1 -0
  172. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/array.js +16 -0
  173. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/base.d.ts +20 -0
  174. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/base.d.ts.map +1 -0
  175. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/base.js +253 -0
  176. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/character.d.ts +19 -0
  177. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/character.d.ts.map +1 -0
  178. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/character.js +7 -0
  179. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/css.d.ts +18 -0
  180. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/css.d.ts.map +1 -0
  181. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/css.js +10 -0
  182. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/json.d.ts +24 -0
  183. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/json.d.ts.map +1 -0
  184. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/json.js +78 -0
  185. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/line.d.ts +24 -0
  186. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/line.d.ts.map +1 -0
  187. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/line.js +65 -0
  188. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/sentence.d.ts +21 -0
  189. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/sentence.d.ts.map +1 -0
  190. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/sentence.js +43 -0
  191. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/word.d.ts +35 -0
  192. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/word.d.ts.map +1 -0
  193. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/word.js +276 -0
  194. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/index.d.ts +20 -0
  195. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/index.d.ts.map +1 -0
  196. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/index.js +30 -0
  197. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/package.json +1 -0
  198. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/apply.d.ts +62 -0
  199. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/apply.d.ts.map +1 -0
  200. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/apply.js +257 -0
  201. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/create.d.ts +100 -0
  202. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/create.d.ts.map +1 -0
  203. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/create.js +201 -0
  204. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/line-endings.d.ts +17 -0
  205. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/line-endings.d.ts.map +1 -0
  206. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/line-endings.js +44 -0
  207. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/parse.d.ts +8 -0
  208. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/parse.d.ts.map +1 -0
  209. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/parse.js +130 -0
  210. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/reverse.d.ts +9 -0
  211. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/reverse.d.ts.map +1 -0
  212. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/reverse.js +23 -0
  213. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/types.d.ts +213 -0
  214. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/types.d.ts.map +1 -0
  215. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/types.js +1 -0
  216. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/array.d.ts +3 -0
  217. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/array.d.ts.map +1 -0
  218. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/array.js +17 -0
  219. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/distance-iterator.d.ts +2 -0
  220. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/distance-iterator.d.ts.map +1 -0
  221. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/distance-iterator.js +37 -0
  222. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/params.d.ts +4 -0
  223. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/params.d.ts.map +1 -0
  224. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/params.js +14 -0
  225. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/string.d.ts +18 -0
  226. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/string.d.ts.map +1 -0
  227. package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/string.js +128 -0
  228. package/node_modules/@aui.io/apollo-core/node_modules/diff/package.json +131 -0
  229. package/node_modules/@aui.io/apollo-core/node_modules/diff/release-notes.md +397 -0
  230. package/node_modules/@aui.io/apollo-core/package.json +2 -1
  231. package/node_modules/@aui.io/apollo-tui/dist/src/author/data.js +2 -2
  232. package/node_modules/@aui.io/apollo-tui/dist/src/author/data.js.map +1 -1
  233. package/node_modules/@aui.io/apollo-tui/dist/src/lib/actions.js +19 -30
  234. package/node_modules/@aui.io/apollo-tui/dist/src/lib/actions.js.map +1 -1
  235. package/node_modules/@aui.io/apollo-tui/package.json +2 -2
  236. package/package.json +5 -5
@@ -11,14 +11,17 @@
11
11
  * the registry's lineage), writing the merged results — a disputed region
12
12
  * keeps the author's own text — with the decision spelled out.
13
13
  */
14
- import { mkdir, rm, writeFile } from "node:fs/promises";
14
+ import { mkdir, readFile, rm, writeFile } from "node:fs/promises";
15
15
  import { homedir } from "node:os";
16
16
  import path from "node:path";
17
- import { diffHashes, readBaseline, writeBaseline } from "../bundle/baseline.js";
17
+ import { captureBaseline, readBaseline, restoreBaseline, writeBaseline, } from "../bundle/baseline.js";
18
18
  import { hashFiles, readProgramFiles } from "../bundle/files.js";
19
19
  import { commonBase, tagParts } from "../bundle/lineage.js";
20
- import { bundleFiles, writeBundleFiles } from "../bundle/materialize.js";
20
+ import { resolveInside, writeBundleFiles } from "../bundle/materialize.js";
21
+ import { contentDiff } from "../bundle/patch.js";
22
+ import { ConfigError } from "../errors/index.js";
21
23
  import { agentRoot, baselineCheckout, bundleSourceRoot, requireAgent, updateTag } from "./bundles.js";
24
+ import { readCommit } from "./content.js";
22
25
  /** `<checkout>/bundle/tmp/versions` — fetched copies live here, one
23
26
  * directory per tag. `bundle/tmp` is scratch: no push carries it. */
24
27
  export function tmpVersionsRoot(context, root = agentRoot(context)) {
@@ -31,9 +34,7 @@ export function tmpVersionsRoot(context, root = agentRoot(context)) {
31
34
  */
32
35
  export async function fetchVersion(context, management, ref, options = {}) {
33
36
  const agentId = requireAgent(context);
34
- const { version, tag } = await management.resolveRef(agentId, ref);
35
- const pull = await management.pullVersion(agentId, version.id, tag);
36
- const files = bundleFiles(pull.bundle);
37
+ const { version, tag, files } = await readCommit(context, management, ref);
37
38
  const dir = path.join(tmpVersionsRoot(context, options.root), tag);
38
39
  await writeBundleFiles(dir, files);
39
40
  const placed = await placeVersion(context, management, agentId, version, tag, options.homeDir, options.root);
@@ -67,13 +68,12 @@ async function placeVersion(context, management, agentId, version, tag, homeDir
67
68
  const placed = commonBase({ ...ours, tag: mine }, { number: version.version_number, tag, parentTag: version.parent_version_tag ?? null }, lines);
68
69
  return placed.base === undefined ? { relation: placed.relation } : placed;
69
70
  }
70
- /** `bundle/src/` against a fetched version — added / changed / removed
71
- * paths, the same dialect as `apollo diff`. For the lines, `diff -r
72
- * bundle/src bundle/tmp/versions/<tag>` — the copy is on disk for that. */
71
+ /** A fetched version → `bundle/src/`, by path and by line, the same dialect
72
+ * as `apollo diff`. The copy stays on disk under `bundle/tmp/versions/<tag>`. */
73
73
  export async function diffAgainst(context, management, ref, options = {}) {
74
74
  const fetched = await fetchVersion(context, management, ref, options);
75
75
  const current = await readProgramFiles(bundleSourceRoot(context, options.root));
76
- return { diff: diffHashes(hashFiles(fetched.files), current.files), fetched };
76
+ return { diff: contentDiff(fetched.files, current.files), fetched };
77
77
  }
78
78
  /**
79
79
  * Bring `ref`'s changes into `bundle/src/`. Three-way over the save both
@@ -102,40 +102,62 @@ export async function mergeFrom(context, clients, ref, options = {}) {
102
102
  ...(base === undefined ? {} : { base }),
103
103
  ...(options.only && options.only.length > 0 ? { paths: options.only } : {}),
104
104
  });
105
- const written = [];
106
- if (!options.dryRun) {
107
- for (const relativePath of Object.keys(result.taken).sort()) {
108
- const target = insideRoot(sourceRoot, relativePath);
109
- const content = result.files[relativePath];
110
- if (content === undefined) {
111
- if (!(relativePath in current.files))
112
- continue;
113
- await rm(target, { force: true });
114
- written.push(`D ${relativePath}`);
115
- continue;
116
- }
117
- if (current.files[relativePath] === content)
118
- continue;
119
- await mkdir(path.dirname(target), { recursive: true });
120
- await writeFile(target, content, "utf8");
121
- written.push(`${relativePath in current.files ? "M" : "A"} ${relativePath}`);
122
- }
123
- }
124
105
  const resolved = options.resolved === true;
125
106
  const narrowed = options.only !== undefined && options.only.length > 0;
126
107
  const checkoutRoot = options.root ?? agentRoot(context);
108
+ const checkout = baselineCheckout(context, checkoutRoot);
127
109
  const mine = fetched.relation === "same-line" && !narrowed ? await ownTag(context, agentId, homeDir, checkoutRoot) : undefined;
128
110
  const newerOwnSave = mine ? tagParts(fetched.tag)[1] > tagParts(mine)[1] : false;
129
111
  const decided = result.clean || resolved;
112
+ // A newer save of the checkout's own line, all of it in and decided: the
113
+ // tree now includes it, so the next push is based on it — the baseline and
114
+ // the binding move up.
115
+ const advances = !options.dryRun && newerOwnSave && decided;
116
+ const changes = [];
117
+ for (const relativePath of Object.keys(result.taken).sort()) {
118
+ const content = result.files[relativePath];
119
+ if (content === undefined) {
120
+ if (relativePath in current.files)
121
+ changes.push({ relativePath, content, row: `D ${relativePath}` });
122
+ continue;
123
+ }
124
+ if (current.files[relativePath] === content)
125
+ continue;
126
+ changes.push({ relativePath, content, row: `${relativePath in current.files ? "M" : "A"} ${relativePath}` });
127
+ }
128
+ const written = [];
130
129
  let baselineAdvanced;
131
- if (!options.dryRun && newerOwnSave && decided) {
132
- // A newer save of the checkout's own line, all of it in and decided: the
133
- // tree now includes it, so the next push is based on it — the baseline
134
- // and the binding move up.
135
- const previous = await readBaseline(homeDir, agentId, baselineCheckout(context, checkoutRoot));
136
- await writeBaseline(homeDir, agentId, checkoutRoot, fetched.tag, fetched.files, undefined, previous?.buildHashes ?? {});
137
- await updateTag(context, fetched.tag);
138
- baselineAdvanced = fetched.tag;
130
+ if (!options.dryRun) {
131
+ // The undo is on disk before the first file changes (A2): every file the
132
+ // merge touches as it was, and — when the base moves — the base too.
133
+ const before = await captureBaseline(homeDir, agentId, checkout);
134
+ await writeMergeSnapshot(checkoutRoot, {
135
+ ref: fetched.tag,
136
+ at: new Date().toISOString(),
137
+ base: advances ? fetched.tag : (before?.baseline.versionTag ?? null),
138
+ files: Object.fromEntries(changes.map(({ relativePath, content }) => [
139
+ relativePath,
140
+ { before: current.files[relativePath] ?? null, after: content === undefined ? null : sha256(content) },
141
+ ])),
142
+ ...(advances && before ? { baseline: before } : {}),
143
+ ...(advances && context.versionTag ? { bindingTag: context.versionTag } : {}),
144
+ });
145
+ for (const change of changes) {
146
+ const target = resolveInside(path.resolve(sourceRoot), change.relativePath);
147
+ if (change.content === undefined) {
148
+ await rm(target, { force: true });
149
+ }
150
+ else {
151
+ await mkdir(path.dirname(target), { recursive: true });
152
+ await writeFile(target, change.content, "utf8");
153
+ }
154
+ written.push(change.row);
155
+ }
156
+ if (advances) {
157
+ await writeBaseline(homeDir, agentId, checkoutRoot, fetched.tag, fetched.files, undefined, before?.baseline.buildHashes ?? {});
158
+ await updateTag(context, fetched.tag);
159
+ baselineAdvanced = fetched.tag;
160
+ }
139
161
  }
140
162
  return {
141
163
  fetched,
@@ -147,13 +169,73 @@ export async function mergeFrom(context, clients, ref, options = {}) {
147
169
  ...(baselineAdvanced ? { baselineAdvanced } : {}),
148
170
  };
149
171
  }
150
- function insideRoot(root, relativePath) {
151
- const resolvedRoot = path.resolve(root);
152
- const target = path.resolve(resolvedRoot, relativePath);
153
- if (target !== resolvedRoot && !target.startsWith(`${resolvedRoot}${path.sep}`)) {
154
- throw new Error(`Merged path escapes bundle/src: ${relativePath}`);
172
+ function mergeSnapshotPath(checkoutRoot) {
173
+ return path.join(checkoutRoot, "bundle", "tmp", "merge-backup.json");
174
+ }
175
+ async function writeMergeSnapshot(checkoutRoot, snapshot) {
176
+ const file = mergeSnapshotPath(checkoutRoot);
177
+ await mkdir(path.dirname(file), { recursive: true });
178
+ await writeFile(file, `${JSON.stringify(snapshot)}\n`, { encoding: "utf8", mode: 0o600 });
179
+ }
180
+ function sha256(text) {
181
+ return hashFiles({ text }).text ?? "";
182
+ }
183
+ /**
184
+ * Undo the last `merge-from` (A2): every file it touched goes back to its
185
+ * text before, a file it created is deleted, and a base it moved moves back.
186
+ * Refused when a touched file changed since — unless `force` — and when the
187
+ * checkout was pushed or pulled since, which made the merge part of its base.
188
+ */
189
+ export async function abortMerge(context, options = {}) {
190
+ const agentId = requireAgent(context);
191
+ const homeDir = options.homeDir ?? homedir();
192
+ const checkoutRoot = options.root ?? agentRoot(context);
193
+ const sourceRoot = bundleSourceRoot(context, options.root);
194
+ let snapshot;
195
+ try {
196
+ snapshot = JSON.parse(await readFile(mergeSnapshotPath(checkoutRoot), "utf8"));
197
+ }
198
+ catch (error) {
199
+ if (error.code !== "ENOENT")
200
+ throw error;
201
+ throw new ConfigError("There is no merge to abort.", "`apollo merge-from` keeps an undo for its last merge; `apollo restore <file>` puts single files back.");
155
202
  }
156
- return target;
203
+ const base = (await readBaseline(homeDir, agentId, baselineCheckout(context, checkoutRoot)))?.versionTag ?? null;
204
+ if (base !== snapshot.base) {
205
+ throw new ConfigError(`The checkout moved from ${snapshot.base ?? "no base"} to ${base ?? "no base"} since ${snapshot.ref} was merged (a push or a pull) — the merge is part of it now.`, "`apollo restore <file> --source <commit>` takes single files back instead.");
206
+ }
207
+ const hashes = hashFiles((await readProgramFiles(sourceRoot)).files);
208
+ const edited = Object.entries(snapshot.files)
209
+ .filter(([relativePath, { after }]) => (hashes[relativePath] ?? null) !== after)
210
+ .map(([relativePath]) => relativePath);
211
+ if (edited.length > 0 && options.force !== true) {
212
+ throw new ConfigError(`Changed since the merge of ${snapshot.ref}: ${edited.join(", ")}.`, "`apollo merge-from --abort --force` puts them back anyway, and those edits are lost.");
213
+ }
214
+ const restored = [];
215
+ const removed = [];
216
+ for (const [relativePath, { before }] of Object.entries(snapshot.files).sort(([a], [b]) => a.localeCompare(b))) {
217
+ const target = resolveInside(path.resolve(sourceRoot), relativePath);
218
+ if (before === null) {
219
+ await rm(target, { force: true });
220
+ removed.push(relativePath);
221
+ }
222
+ else {
223
+ await mkdir(path.dirname(target), { recursive: true });
224
+ await writeFile(target, before, "utf8");
225
+ restored.push(relativePath);
226
+ }
227
+ }
228
+ if (snapshot.baseline)
229
+ await restoreBaseline(homeDir, agentId, snapshot.baseline);
230
+ if (snapshot.bindingTag)
231
+ await updateTag(context, snapshot.bindingTag);
232
+ await rm(mergeSnapshotPath(checkoutRoot), { force: true });
233
+ return {
234
+ ref: snapshot.ref,
235
+ restored,
236
+ removed,
237
+ ...(snapshot.baseline ? { baselineRestored: snapshot.baseline.baseline.versionTag } : {}),
238
+ };
157
239
  }
158
240
  /** One neutral report of a merge — what came in, what needs a decision. */
159
241
  export function describeMerge(merged) {
@@ -1 +1 @@
1
- {"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../src/services/versions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAI7B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAiB,MAAM,uBAAuB,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAmC,MAAM,sBAAsB,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B,CAAC,CAAC,CAAC,qBAAqB,KAAK;YACnG,uDAAuD,GAAG,OAAO,CAAC,GAAG,GAAG,MAAM,CACjF,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;QAC5B,KAAK,CAAC,IAAI,CAAC,gCAAgC,MAAM,CAAC,gBAAgB,iCAAiC,CAAC,CAAC;IACvG,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,SAAS,MAAM,CAAC,IAAY;IAC1B,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACrC,OAAO,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;AAC7E,CAAC"}
@@ -0,0 +1,28 @@
1
+ ## Building and testing
2
+
3
+ ```
4
+ yarn
5
+ yarn test
6
+ ```
7
+
8
+ To run tests in a *browser* (for instance to test compatibility with Firefox, with Safari, or with old browser versions), run `yarn karma start`, then open http://localhost:9876/ in the browser you want to test in. Results of the test run will appear in the terminal where `yarn karma start` is running.
9
+
10
+ If you notice any problems, please report them to the GitHub issue tracker at
11
+ [http://github.com/kpdecker/jsdiff/issues](http://github.com/kpdecker/jsdiff/issues).
12
+
13
+ ## Releasing
14
+
15
+ Run a test in Firefox via the procedure above before releasing.
16
+
17
+ A full release may be completed by first updating the `"version"` property in package.json, then running the following:
18
+
19
+ ```
20
+ yarn clean
21
+ yarn build
22
+ yarn publish
23
+ ```
24
+
25
+ After releasing, remember to:
26
+ * commit the `package.json` change and push it to GitHub
27
+ * create a new version tag on GitHub
28
+ * update `diff.js` on the `gh-pages` branch to the latest built version from the `dist/` folder.
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.