@aui.io/apollo 0.1.89 → 0.1.91
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.
- package/README.md +3 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/auth.js +36 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/auth.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/bundles.d.ts +4 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/bundles.js +293 -33
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/bundles.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/confirm.d.ts +25 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/confirm.js +36 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/confirm.js.map +1 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/hierarchy.js +54 -49
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/hierarchy.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/kb.js +3 -2
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/kb.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/mockdb.js +7 -6
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/mockdb.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/open.d.ts +3 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/open.js +33 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/open.js.map +1 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/prompts.d.ts +2 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/prompts.js +7 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/prompts.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/vault.js +5 -7
- package/node_modules/@aui.io/apollo-cli/dist/src/commands/vault.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/dist/src/index.js +2 -0
- package/node_modules/@aui.io/apollo-cli/dist/src/index.js.map +1 -1
- package/node_modules/@aui.io/apollo-cli/package.json +3 -3
- package/node_modules/@aui.io/apollo-core/dist/src/api/agent-settings.d.ts +2 -0
- package/node_modules/@aui.io/apollo-core/dist/src/api/agent-settings.js +3 -0
- package/node_modules/@aui.io/apollo-core/dist/src/api/agent-settings.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/api/builder-api.d.ts +6 -1
- package/node_modules/@aui.io/apollo-core/dist/src/api/builder-api.js +8 -1
- package/node_modules/@aui.io/apollo-core/dist/src/api/builder-api.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/api/identity.d.ts +8 -0
- package/node_modules/@aui.io/apollo-core/dist/src/api/identity.js +7 -5
- package/node_modules/@aui.io/apollo-core/dist/src/api/identity.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/api/management.d.ts +18 -2
- package/node_modules/@aui.io/apollo-core/dist/src/api/management.js +45 -24
- package/node_modules/@aui.io/apollo-core/dist/src/api/management.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/api/runtime-api.d.ts +3 -2
- package/node_modules/@aui.io/apollo-core/dist/src/api/runtime-api.js +4 -2
- package/node_modules/@aui.io/apollo-core/dist/src/api/runtime-api.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/api/timeouts.d.ts +26 -0
- package/node_modules/@aui.io/apollo-core/dist/src/api/timeouts.js +27 -0
- package/node_modules/@aui.io/apollo-core/dist/src/api/timeouts.js.map +1 -0
- package/node_modules/@aui.io/apollo-core/dist/src/api/transport.js +19 -9
- package/node_modules/@aui.io/apollo-core/dist/src/api/transport.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/browser.d.ts +12 -0
- package/node_modules/@aui.io/apollo-core/dist/src/browser.js +41 -0
- package/node_modules/@aui.io/apollo-core/dist/src/browser.js.map +1 -0
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/baseline.d.ts +35 -0
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/baseline.js +81 -2
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/baseline.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/materialize.d.ts +2 -0
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/materialize.js +2 -1
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/materialize.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/patch.d.ts +25 -0
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/patch.js +41 -0
- package/node_modules/@aui.io/apollo-core/dist/src/bundle/patch.js.map +1 -0
- package/node_modules/@aui.io/apollo-core/dist/src/config/index.js +3 -1
- package/node_modules/@aui.io/apollo-core/dist/src/config/index.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/config/types.d.ts +7 -0
- package/node_modules/@aui.io/apollo-core/dist/src/errors/index.d.ts +22 -0
- package/node_modules/@aui.io/apollo-core/dist/src/errors/index.js +39 -0
- package/node_modules/@aui.io/apollo-core/dist/src/errors/index.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/index.d.ts +3 -1
- package/node_modules/@aui.io/apollo-core/dist/src/index.js +3 -1
- package/node_modules/@aui.io/apollo-core/dist/src/index.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/runtime-version/index.d.ts +6 -0
- package/node_modules/@aui.io/apollo-core/dist/src/runtime-version/index.js +14 -0
- package/node_modules/@aui.io/apollo-core/dist/src/runtime-version/index.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/auth.d.ts +28 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/auth.js +42 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/auth.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/bundles.d.ts +59 -2
- package/node_modules/@aui.io/apollo-core/dist/src/services/bundles.js +197 -14
- package/node_modules/@aui.io/apollo-core/dist/src/services/bundles.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/clients.js +6 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/clients.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/clone.js +9 -2
- package/node_modules/@aui.io/apollo-core/dist/src/services/clone.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/content.d.ts +111 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/content.js +220 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/content.js.map +1 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/hierarchy.d.ts +65 -8
- package/node_modules/@aui.io/apollo-core/dist/src/services/hierarchy.js +127 -11
- package/node_modules/@aui.io/apollo-core/dist/src/services/hierarchy.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/playground.d.ts +17 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/playground.js +23 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/playground.js.map +1 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/runs.d.ts +4 -0
- package/node_modules/@aui.io/apollo-core/dist/src/services/runs.js +4 -2
- package/node_modules/@aui.io/apollo-core/dist/src/services/runs.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/dist/src/services/versions.d.ts +25 -5
- package/node_modules/@aui.io/apollo-core/dist/src/services/versions.js +125 -43
- package/node_modules/@aui.io/apollo-core/dist/src/services/versions.js.map +1 -1
- package/node_modules/@aui.io/apollo-core/node_modules/diff/CONTRIBUTING.md +28 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/LICENSE +29 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/README.md +378 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/dist/diff.js +1674 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/dist/diff.min.js +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/eslint.config.mjs +182 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/dmp.d.ts +8 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/dmp.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/dmp.js +24 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/xml.d.ts +6 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/xml.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/convert/xml.js +34 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/array.d.ts +19 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/array.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/array.js +40 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/base.d.ts +20 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/base.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/base.js +265 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/character.d.ts +19 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/character.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/character.js +31 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/css.d.ts +18 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/css.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/css.js +34 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/json.d.ts +24 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/json.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/json.js +105 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/line.d.ts +24 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/line.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/line.js +89 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/sentence.d.ts +21 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/sentence.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/sentence.js +67 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/word.d.ts +35 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/word.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/diff/word.js +307 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/index.d.ts +20 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/index.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/index.js +61 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/package.json +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/apply.d.ts +62 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/apply.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/apply.js +267 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/create.d.ts +100 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/create.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/create.js +223 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/line-endings.d.ts +17 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/line-endings.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/line-endings.js +61 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/parse.d.ts +8 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/parse.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/parse.js +133 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/reverse.d.ts +9 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/reverse.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/patch/reverse.js +37 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/types.d.ts +213 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/types.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/types.js +2 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/array.d.ts +3 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/array.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/array.js +21 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/distance-iterator.d.ts +2 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/distance-iterator.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/distance-iterator.js +40 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/params.d.ts +4 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/params.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/params.js +17 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/string.d.ts +18 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/string.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libcjs/util/string.js +141 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/dmp.d.ts +8 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/dmp.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/dmp.js +21 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/xml.d.ts +6 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/xml.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/convert/xml.js +31 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/array.d.ts +19 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/array.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/array.js +16 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/base.d.ts +20 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/base.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/base.js +253 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/character.d.ts +19 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/character.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/character.js +7 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/css.d.ts +18 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/css.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/css.js +10 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/json.d.ts +24 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/json.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/json.js +78 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/line.d.ts +24 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/line.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/line.js +65 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/sentence.d.ts +21 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/sentence.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/sentence.js +43 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/word.d.ts +35 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/word.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/diff/word.js +276 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/index.d.ts +20 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/index.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/index.js +30 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/package.json +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/apply.d.ts +62 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/apply.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/apply.js +257 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/create.d.ts +100 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/create.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/create.js +201 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/line-endings.d.ts +17 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/line-endings.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/line-endings.js +44 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/parse.d.ts +8 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/parse.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/parse.js +130 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/reverse.d.ts +9 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/reverse.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/patch/reverse.js +23 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/types.d.ts +213 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/types.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/types.js +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/array.d.ts +3 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/array.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/array.js +17 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/distance-iterator.d.ts +2 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/distance-iterator.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/distance-iterator.js +37 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/params.d.ts +4 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/params.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/params.js +14 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/string.d.ts +18 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/string.d.ts.map +1 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/libesm/util/string.js +128 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/package.json +131 -0
- package/node_modules/@aui.io/apollo-core/node_modules/diff/release-notes.md +397 -0
- package/node_modules/@aui.io/apollo-core/package.json +2 -1
- package/node_modules/@aui.io/apollo-tui/dist/src/author/data.js +2 -2
- package/node_modules/@aui.io/apollo-tui/dist/src/author/data.js.map +1 -1
- package/node_modules/@aui.io/apollo-tui/dist/src/lib/actions.js +19 -30
- package/node_modules/@aui.io/apollo-tui/dist/src/lib/actions.js.map +1 -1
- package/node_modules/@aui.io/apollo-tui/package.json +2 -2
- 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 {
|
|
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 {
|
|
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
|
|
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
|
|
71
|
-
*
|
|
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:
|
|
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
|
|
132
|
-
//
|
|
133
|
-
//
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
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
|
-
|
|
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,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtG;sEACsE;AACtE,MAAM,UAAU,eAAe,CAAC,OAAgB,EAAE,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC;IACzE,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;AACtD,CAAC;AAeD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,OAAgB,EAChB,UAA4B,EAC5B,GAAW,EACX,UAA+C,EAAE;IAEjD,MAAM,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IACtC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,MAAM,UAAU,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IACnE,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,WAAW,CA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|
|
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.
|