bailinghub 0.9.2 → 0.9.4
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/.dockerignore +1 -0
- package/.gitignore +1 -0
- package/.npmignore +1 -0
- package/Dockerfile +1 -0
- package/README.en.md +6 -6
- package/README.md +6 -6
- package/SECURITY.md +3 -3
- package/THIRD_PARTY_NOTICES.md +7 -7
- package/docker-compose.images.yml +2 -2
- package/docs/CHANGELOG.en.md +23 -1
- package/docs/CHANGELOG.md +23 -1
- package/docs/CORE_RELIABILITY.en.md +22 -2
- package/docs/CORE_RELIABILITY.md +22 -2
- package/docs/DOCX_DEPENDENCY.en.md +26 -0
- package/docs/DOCX_DEPENDENCY.md +26 -0
- package/docs/IMPLEMENTATION_STATUS.en.md +23 -15
- package/docs/IMPLEMENTATION_STATUS.md +23 -15
- package/docs/INDEPENDENT_VALIDATION.en.md +4 -4
- package/docs/INDEPENDENT_VALIDATION.md +4 -4
- package/docs/NOTIFICATION_DURABILITY.en.md +47 -0
- package/docs/NOTIFICATION_DURABILITY.md +47 -0
- package/docs/OPERATIONS.en.md +17 -0
- package/docs/OPERATIONS.md +16 -0
- package/docs/README.en.md +7 -1
- package/docs/README.md +7 -1
- package/docs/RELEASE_NOTES_NEXT.en.md +3 -3
- package/docs/RELEASE_NOTES_NEXT.md +3 -3
- package/docs/RELEASE_NOTES_v0.9.3.en.md +51 -0
- package/docs/RELEASE_NOTES_v0.9.3.md +51 -0
- package/docs/RELEASE_NOTES_v0.9.4.en.md +42 -0
- package/docs/RELEASE_NOTES_v0.9.4.md +42 -0
- package/docs/TOOLS_DESIGN.md +1 -0
- package/docs/UPGRADE_v0.9.3.en.md +63 -0
- package/docs/UPGRADE_v0.9.3.md +63 -0
- package/docs/UPGRADE_v0.9.4.en.md +57 -0
- package/docs/UPGRADE_v0.9.4.md +57 -0
- package/node_modules/@xmldom/xmldom/CHANGELOG.md +533 -0
- package/node_modules/@xmldom/xmldom/LICENSE +8 -0
- package/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
- package/node_modules/@xmldom/xmldom/index.d.ts +96 -0
- package/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
- package/node_modules/@xmldom/xmldom/lib/conventions.js +214 -0
- package/node_modules/@xmldom/xmldom/lib/dom-parser.js +322 -0
- package/node_modules/@xmldom/xmldom/lib/dom.js +2266 -0
- package/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
- package/node_modules/@xmldom/xmldom/lib/index.js +4 -0
- package/node_modules/@xmldom/xmldom/lib/sax.js +683 -0
- package/node_modules/@xmldom/xmldom/package.json +75 -0
- package/node_modules/@xmldom/xmldom/readme.md +356 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/bluebird/LICENSE +21 -0
- package/node_modules/bluebird/README.md +51 -0
- package/node_modules/bluebird/changelog.md +1 -0
- package/node_modules/bluebird/js/browser/bluebird.core.js +3739 -0
- package/node_modules/bluebird/js/browser/bluebird.core.min.js +31 -0
- package/node_modules/bluebird/js/browser/bluebird.js +5581 -0
- package/node_modules/bluebird/js/browser/bluebird.min.js +31 -0
- package/node_modules/bluebird/js/release/any.js +21 -0
- package/node_modules/bluebird/js/release/assert.js +55 -0
- package/node_modules/bluebird/js/release/async.js +161 -0
- package/node_modules/bluebird/js/release/bind.js +67 -0
- package/node_modules/bluebird/js/release/bluebird.js +11 -0
- package/node_modules/bluebird/js/release/call_get.js +123 -0
- package/node_modules/bluebird/js/release/cancel.js +129 -0
- package/node_modules/bluebird/js/release/catch_filter.js +42 -0
- package/node_modules/bluebird/js/release/context.js +69 -0
- package/node_modules/bluebird/js/release/debuggability.js +916 -0
- package/node_modules/bluebird/js/release/direct_resolve.js +46 -0
- package/node_modules/bluebird/js/release/each.js +30 -0
- package/node_modules/bluebird/js/release/errors.js +116 -0
- package/node_modules/bluebird/js/release/es5.js +80 -0
- package/node_modules/bluebird/js/release/filter.js +12 -0
- package/node_modules/bluebird/js/release/finally.js +111 -0
- package/node_modules/bluebird/js/release/generators.js +223 -0
- package/node_modules/bluebird/js/release/join.js +168 -0
- package/node_modules/bluebird/js/release/map.js +168 -0
- package/node_modules/bluebird/js/release/method.js +55 -0
- package/node_modules/bluebird/js/release/nodeback.js +51 -0
- package/node_modules/bluebird/js/release/nodeify.js +58 -0
- package/node_modules/bluebird/js/release/promise.js +773 -0
- package/node_modules/bluebird/js/release/promise_array.js +184 -0
- package/node_modules/bluebird/js/release/promisify.js +314 -0
- package/node_modules/bluebird/js/release/props.js +118 -0
- package/node_modules/bluebird/js/release/queue.js +73 -0
- package/node_modules/bluebird/js/release/race.js +49 -0
- package/node_modules/bluebird/js/release/reduce.js +172 -0
- package/node_modules/bluebird/js/release/schedule.js +61 -0
- package/node_modules/bluebird/js/release/settle.js +43 -0
- package/node_modules/bluebird/js/release/some.js +148 -0
- package/node_modules/bluebird/js/release/synchronous_inspection.js +103 -0
- package/node_modules/bluebird/js/release/thenables.js +86 -0
- package/node_modules/bluebird/js/release/timers.js +93 -0
- package/node_modules/bluebird/js/release/using.js +226 -0
- package/node_modules/bluebird/js/release/util.js +379 -0
- package/node_modules/bluebird/package.json +76 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/dingbat-to-unicode/README.md +79 -0
- package/node_modules/dingbat-to-unicode/dist/dingbats.d.ts +8 -0
- package/node_modules/dingbat-to-unicode/dist/dingbats.js +1066 -0
- package/node_modules/dingbat-to-unicode/dist/index.d.ts +7 -0
- package/node_modules/dingbat-to-unicode/dist/index.js +44 -0
- package/node_modules/dingbat-to-unicode/package.json +39 -0
- package/node_modules/duck/LICENSE +22 -0
- package/node_modules/duck/README.md +184 -0
- package/node_modules/duck/index.js +267 -0
- package/node_modules/duck/makefile +4 -0
- package/node_modules/duck/package.json +23 -0
- package/node_modules/duck/test/duck.test.js +160 -0
- package/node_modules/immediate/LICENSE.txt +20 -0
- package/node_modules/immediate/README.md +93 -0
- package/node_modules/immediate/dist/immediate.js +75 -0
- package/node_modules/immediate/dist/immediate.min.js +1 -0
- package/node_modules/immediate/lib/browser.js +69 -0
- package/node_modules/immediate/lib/index.js +73 -0
- package/node_modules/immediate/package.json +42 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jszip/.codeclimate.yml +16 -0
- package/node_modules/jszip/.editorconfig +8 -0
- package/node_modules/jszip/.eslintrc.js +43 -0
- package/node_modules/jszip/.github/workflows/pr.yaml +58 -0
- package/node_modules/jszip/.jekyll-metadata +0 -0
- package/node_modules/jszip/.travis.yml +17 -0
- package/node_modules/jszip/CHANGES.md +204 -0
- package/node_modules/jszip/LICENSE.markdown +651 -0
- package/node_modules/jszip/README.markdown +33 -0
- package/node_modules/jszip/deps.js +37 -0
- package/node_modules/jszip/dist/jszip.js +11577 -0
- package/node_modules/jszip/dist/jszip.min.js +13 -0
- package/node_modules/jszip/graph.svg +601 -0
- package/node_modules/jszip/index.d.ts +330 -0
- package/node_modules/jszip/lib/base64.js +106 -0
- package/node_modules/jszip/lib/compressedObject.js +74 -0
- package/node_modules/jszip/lib/compressions.js +14 -0
- package/node_modules/jszip/lib/crc32.js +77 -0
- package/node_modules/jszip/lib/defaults.js +11 -0
- package/node_modules/jszip/lib/external.js +18 -0
- package/node_modules/jszip/lib/flate.js +85 -0
- package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
- package/node_modules/jszip/lib/generate/index.js +57 -0
- package/node_modules/jszip/lib/index.js +55 -0
- package/node_modules/jszip/lib/license_header.js +11 -0
- package/node_modules/jszip/lib/load.js +88 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/node_modules/jszip/lib/object.js +384 -0
- package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
- package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/node_modules/jszip/lib/signature.js +7 -0
- package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
- package/node_modules/jszip/lib/support.js +38 -0
- package/node_modules/jszip/lib/utf8.js +275 -0
- package/node_modules/jszip/lib/utils.js +501 -0
- package/node_modules/jszip/lib/zipEntries.js +261 -0
- package/node_modules/jszip/lib/zipEntry.js +293 -0
- package/node_modules/jszip/lib/zipObject.js +133 -0
- package/node_modules/jszip/package.json +67 -0
- package/node_modules/jszip/sponsors.md +21 -0
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/node_modules/lie/README.md +62 -0
- package/node_modules/lie/dist/lie.js +350 -0
- package/node_modules/lie/dist/lie.min.js +1 -0
- package/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/node_modules/lie/lib/browser.js +273 -0
- package/node_modules/lie/lib/index.js +298 -0
- package/node_modules/lie/license.md +7 -0
- package/node_modules/lie/lie.d.ts +244 -0
- package/node_modules/lie/package.json +69 -0
- package/node_modules/lie/polyfill.js +4 -0
- package/node_modules/lop/LICENSE +22 -0
- package/node_modules/lop/README.md +248 -0
- package/node_modules/lop/index.js +18 -0
- package/node_modules/lop/lib/StringSource.js +53 -0
- package/node_modules/lop/lib/Token.js +7 -0
- package/node_modules/lop/lib/TokenIterator.js +28 -0
- package/node_modules/lop/lib/bottom-up.js +128 -0
- package/node_modules/lop/lib/errors.js +22 -0
- package/node_modules/lop/lib/lazy-iterators.js +81 -0
- package/node_modules/lop/lib/parser.js +11 -0
- package/node_modules/lop/lib/parsing-results.js +103 -0
- package/node_modules/lop/lib/regex-tokeniser.js +70 -0
- package/node_modules/lop/lib/rules.js +313 -0
- package/node_modules/lop/lib/testing.js +69 -0
- package/node_modules/lop/makefile +4 -0
- package/node_modules/lop/package.json +24 -0
- package/node_modules/lop/test/StringSource.test.js +21 -0
- package/node_modules/lop/test/TokenIterator.test.js +17 -0
- package/node_modules/lop/test/Tokeniser.js +50 -0
- package/node_modules/lop/test/Tokeniser.test.js +38 -0
- package/node_modules/lop/test/bottom-up.test.js +187 -0
- package/node_modules/lop/test/errors.test.js +36 -0
- package/node_modules/lop/test/lazy-iterators.test.js +53 -0
- package/node_modules/lop/test/lop.test.js +27 -0
- package/node_modules/lop/test/regex-tokeniser.test.js +114 -0
- package/node_modules/lop/test/results.test.js +8 -0
- package/node_modules/lop/test/rules.test.js +617 -0
- package/node_modules/mammoth/LICENSE +22 -0
- package/node_modules/mammoth/SOURCE.json +57 -0
- package/node_modules/mammoth/browser/docx/files.js +14 -0
- package/node_modules/mammoth/browser/unzip.js +12 -0
- package/node_modules/mammoth/lib/document-to-html.js +469 -0
- package/node_modules/mammoth/lib/documents.js +254 -0
- package/node_modules/mammoth/lib/docx/body-reader.js +798 -0
- package/node_modules/mammoth/lib/docx/comments-reader.js +31 -0
- package/node_modules/mammoth/lib/docx/content-types-reader.js +58 -0
- package/node_modules/mammoth/lib/docx/document-xml-reader.js +30 -0
- package/node_modules/mammoth/lib/docx/docx-reader.js +226 -0
- package/node_modules/mammoth/lib/docx/files.js +80 -0
- package/node_modules/mammoth/lib/docx/notes-reader.js +28 -0
- package/node_modules/mammoth/lib/docx/numbering-xml.js +111 -0
- package/node_modules/mammoth/lib/docx/office-xml-reader.js +73 -0
- package/node_modules/mammoth/lib/docx/relationships-reader.js +43 -0
- package/node_modules/mammoth/lib/docx/style-map.js +75 -0
- package/node_modules/mammoth/lib/docx/styles-reader.js +90 -0
- package/node_modules/mammoth/lib/docx/uris.js +21 -0
- package/node_modules/mammoth/lib/html/ast.js +51 -0
- package/node_modules/mammoth/lib/html/index.js +41 -0
- package/node_modules/mammoth/lib/html/simplify.js +88 -0
- package/node_modules/mammoth/lib/images.js +31 -0
- package/node_modules/mammoth/lib/index.d.ts +86 -0
- package/node_modules/mammoth/lib/index.js +111 -0
- package/node_modules/mammoth/lib/options-reader.js +107 -0
- package/node_modules/mammoth/lib/promises.js +42 -0
- package/node_modules/mammoth/lib/raw-text.js +14 -0
- package/node_modules/mammoth/lib/results.js +72 -0
- package/node_modules/mammoth/lib/style-reader.js +365 -0
- package/node_modules/mammoth/lib/styles/document-matchers.js +100 -0
- package/node_modules/mammoth/lib/styles/html-paths.js +75 -0
- package/node_modules/mammoth/lib/styles/parser/tokeniser.js +30 -0
- package/node_modules/mammoth/lib/transforms.js +62 -0
- package/node_modules/mammoth/lib/underline.js +11 -0
- package/node_modules/mammoth/lib/unzip.js +20 -0
- package/node_modules/mammoth/lib/writers/html-writer.js +159 -0
- package/node_modules/mammoth/lib/writers/index.js +14 -0
- package/node_modules/mammoth/lib/writers/markdown-writer.js +163 -0
- package/node_modules/mammoth/lib/xml/index.js +8 -0
- package/node_modules/mammoth/lib/xml/nodes.js +70 -0
- package/node_modules/mammoth/lib/xml/reader.js +69 -0
- package/node_modules/mammoth/lib/xml/writer.js +61 -0
- package/node_modules/mammoth/lib/xml/xmldom.js +23 -0
- package/node_modules/mammoth/lib/zipfile.js +72 -0
- package/node_modules/mammoth/package.json +39 -0
- package/node_modules/mammoth/upstream-package.json +64 -0
- package/node_modules/option/.npmignore +1 -0
- package/node_modules/option/LICENSE +22 -0
- package/node_modules/option/README.md +101 -0
- package/node_modules/option/index.js +88 -0
- package/node_modules/option/package.json +23 -0
- package/node_modules/option/test/options.test.js +174 -0
- package/node_modules/pako/CHANGELOG.md +164 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +191 -0
- package/node_modules/pako/dist/pako.js +6818 -0
- package/node_modules/pako/dist/pako.min.js +1 -0
- package/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +423 -0
- package/node_modules/pako/lib/utils/common.js +105 -0
- package/node_modules/pako/lib/utils/strings.js +187 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +44 -0
- package/node_modules/path-is-absolute/index.js +20 -0
- package/node_modules/path-is-absolute/license +21 -0
- package/node_modules/path-is-absolute/package.json +43 -0
- package/node_modules/path-is-absolute/readme.md +59 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +52 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/setimmediate/LICENSE.txt +20 -0
- package/node_modules/setimmediate/package.json +30 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +31 -0
- package/node_modules/underscore/LICENSE +22 -0
- package/node_modules/underscore/README.md +34 -0
- package/node_modules/underscore/amd/_baseCreate.js +21 -0
- package/node_modules/underscore/amd/_baseIteratee.js +15 -0
- package/node_modules/underscore/amd/_cb.js +12 -0
- package/node_modules/underscore/amd/_chainResult.js +10 -0
- package/node_modules/underscore/amd/_collectNonEnumProps.js +42 -0
- package/node_modules/underscore/amd/_createAssigner.js +24 -0
- package/node_modules/underscore/amd/_createEscaper.js +21 -0
- package/node_modules/underscore/amd/_createIndexFinder.js +30 -0
- package/node_modules/underscore/amd/_createPredicateIndexFinder.js +18 -0
- package/node_modules/underscore/amd/_createReduce.js +30 -0
- package/node_modules/underscore/amd/_createSizePropertyCheck.js +13 -0
- package/node_modules/underscore/amd/_deepGet.js +15 -0
- package/node_modules/underscore/amd/_escapeMap.js +15 -0
- package/node_modules/underscore/amd/_executeBound.js +16 -0
- package/node_modules/underscore/amd/_flatten.js +32 -0
- package/node_modules/underscore/amd/_getByteLength.js +8 -0
- package/node_modules/underscore/amd/_getLength.js +8 -0
- package/node_modules/underscore/amd/_group.js +18 -0
- package/node_modules/underscore/amd/_has.js +10 -0
- package/node_modules/underscore/amd/_hasObjectTag.js +7 -0
- package/node_modules/underscore/amd/_isArrayLike.js +11 -0
- package/node_modules/underscore/amd/_isBufferLike.js +9 -0
- package/node_modules/underscore/amd/_keyInObj.js +11 -0
- package/node_modules/underscore/amd/_methodFingerprint.js +44 -0
- package/node_modules/underscore/amd/_optimizeCb.js +27 -0
- package/node_modules/underscore/amd/_setup.js +70 -0
- package/node_modules/underscore/amd/_shallowProperty.js +12 -0
- package/node_modules/underscore/amd/_stringTagBug.js +19 -0
- package/node_modules/underscore/amd/_tagTester.js +13 -0
- package/node_modules/underscore/amd/_toBufferView.js +15 -0
- package/node_modules/underscore/amd/_toPath.js +11 -0
- package/node_modules/underscore/amd/_unescapeMap.js +8 -0
- package/node_modules/underscore/amd/after.js +14 -0
- package/node_modules/underscore/amd/allKeys.js +15 -0
- package/node_modules/underscore/amd/before.js +18 -0
- package/node_modules/underscore/amd/bind.js +15 -0
- package/node_modules/underscore/amd/bindAll.js +19 -0
- package/node_modules/underscore/amd/chain.js +12 -0
- package/node_modules/underscore/amd/chunk.js +17 -0
- package/node_modules/underscore/amd/clone.js +11 -0
- package/node_modules/underscore/amd/compact.js +10 -0
- package/node_modules/underscore/amd/compose.js +18 -0
- package/node_modules/underscore/amd/constant.js +12 -0
- package/node_modules/underscore/amd/contains.js +12 -0
- package/node_modules/underscore/amd/countBy.js +12 -0
- package/node_modules/underscore/amd/create.js +14 -0
- package/node_modules/underscore/amd/debounce.js +43 -0
- package/node_modules/underscore/amd/defaults.js +8 -0
- package/node_modules/underscore/amd/defer.js +9 -0
- package/node_modules/underscore/amd/delay.js +13 -0
- package/node_modules/underscore/amd/difference.js +14 -0
- package/node_modules/underscore/amd/each.js +25 -0
- package/node_modules/underscore/amd/escape.js +8 -0
- package/node_modules/underscore/amd/every.js +17 -0
- package/node_modules/underscore/amd/extend.js +8 -0
- package/node_modules/underscore/amd/extendOwn.js +10 -0
- package/node_modules/underscore/amd/filter.js +15 -0
- package/node_modules/underscore/amd/find.js +12 -0
- package/node_modules/underscore/amd/findIndex.js +8 -0
- package/node_modules/underscore/amd/findKey.js +15 -0
- package/node_modules/underscore/amd/findLastIndex.js +8 -0
- package/node_modules/underscore/amd/findWhere.js +11 -0
- package/node_modules/underscore/amd/first.js +13 -0
- package/node_modules/underscore/amd/flatten.js +11 -0
- package/node_modules/underscore/amd/functions.js +14 -0
- package/node_modules/underscore/amd/get.js +14 -0
- package/node_modules/underscore/amd/groupBy.js +11 -0
- package/node_modules/underscore/amd/has.js +19 -0
- package/node_modules/underscore/amd/identity.js +10 -0
- package/node_modules/underscore/amd/index-default.js +12 -0
- package/node_modules/underscore/amd/index.js +154 -0
- package/node_modules/underscore/amd/indexBy.js +11 -0
- package/node_modules/underscore/amd/indexOf.js +11 -0
- package/node_modules/underscore/amd/initial.js +12 -0
- package/node_modules/underscore/amd/intersection.js +22 -0
- package/node_modules/underscore/amd/invert.js +15 -0
- package/node_modules/underscore/amd/invoke.js +28 -0
- package/node_modules/underscore/amd/isArguments.js +19 -0
- package/node_modules/underscore/amd/isArray.js +9 -0
- package/node_modules/underscore/amd/isArrayBuffer.js +7 -0
- package/node_modules/underscore/amd/isBoolean.js +10 -0
- package/node_modules/underscore/amd/isDataView.js +17 -0
- package/node_modules/underscore/amd/isDate.js +7 -0
- package/node_modules/underscore/amd/isElement.js +10 -0
- package/node_modules/underscore/amd/isEmpty.js +18 -0
- package/node_modules/underscore/amd/isEqual.js +133 -0
- package/node_modules/underscore/amd/isError.js +7 -0
- package/node_modules/underscore/amd/isFinite.js +10 -0
- package/node_modules/underscore/amd/isFunction.js +18 -0
- package/node_modules/underscore/amd/isMap.js +7 -0
- package/node_modules/underscore/amd/isMatch.js +17 -0
- package/node_modules/underscore/amd/isNaN.js +10 -0
- package/node_modules/underscore/amd/isNull.js +10 -0
- package/node_modules/underscore/amd/isNumber.js +7 -0
- package/node_modules/underscore/amd/isObject.js +11 -0
- package/node_modules/underscore/amd/isRegExp.js +7 -0
- package/node_modules/underscore/amd/isSet.js +7 -0
- package/node_modules/underscore/amd/isString.js +7 -0
- package/node_modules/underscore/amd/isSymbol.js +7 -0
- package/node_modules/underscore/amd/isTypedArray.js +16 -0
- package/node_modules/underscore/amd/isUndefined.js +10 -0
- package/node_modules/underscore/amd/isWeakMap.js +7 -0
- package/node_modules/underscore/amd/isWeakSet.js +7 -0
- package/node_modules/underscore/amd/iteratee.js +13 -0
- package/node_modules/underscore/amd/keys.js +17 -0
- package/node_modules/underscore/amd/last.js +13 -0
- package/node_modules/underscore/amd/lastIndexOf.js +9 -0
- package/node_modules/underscore/amd/map.js +18 -0
- package/node_modules/underscore/amd/mapObject.js +19 -0
- package/node_modules/underscore/amd/matcher.js +14 -0
- package/node_modules/underscore/amd/max.js +30 -0
- package/node_modules/underscore/amd/memoize.js +17 -0
- package/node_modules/underscore/amd/min.js +30 -0
- package/node_modules/underscore/amd/mixin.js +18 -0
- package/node_modules/underscore/amd/negate.js +12 -0
- package/node_modules/underscore/amd/noop.js +8 -0
- package/node_modules/underscore/amd/now.js +10 -0
- package/node_modules/underscore/amd/object.js +20 -0
- package/node_modules/underscore/amd/omit.js +20 -0
- package/node_modules/underscore/amd/once.js +9 -0
- package/node_modules/underscore/amd/pairs.js +17 -0
- package/node_modules/underscore/amd/partial.js +25 -0
- package/node_modules/underscore/amd/partition.js +11 -0
- package/node_modules/underscore/amd/pick.js +25 -0
- package/node_modules/underscore/amd/pipe.js +13 -0
- package/node_modules/underscore/amd/pluck.js +10 -0
- package/node_modules/underscore/amd/property.js +14 -0
- package/node_modules/underscore/amd/propertyOf.js +13 -0
- package/node_modules/underscore/amd/random.js +14 -0
- package/node_modules/underscore/amd/range.js +27 -0
- package/node_modules/underscore/amd/reduce.js +9 -0
- package/node_modules/underscore/amd/reduceRight.js +8 -0
- package/node_modules/underscore/amd/reject.js +10 -0
- package/node_modules/underscore/amd/rest.js +12 -0
- package/node_modules/underscore/amd/restArguments.js +33 -0
- package/node_modules/underscore/amd/result.js +25 -0
- package/node_modules/underscore/amd/sample.js +27 -0
- package/node_modules/underscore/amd/shuffle.js +10 -0
- package/node_modules/underscore/amd/size.js +11 -0
- package/node_modules/underscore/amd/some.js +17 -0
- package/node_modules/underscore/amd/sortBy.js +26 -0
- package/node_modules/underscore/amd/sortedIndex.js +18 -0
- package/node_modules/underscore/amd/tap.js +13 -0
- package/node_modules/underscore/amd/template.js +103 -0
- package/node_modules/underscore/amd/templateSettings.js +13 -0
- package/node_modules/underscore/amd/throttle.js +51 -0
- package/node_modules/underscore/amd/times.js +13 -0
- package/node_modules/underscore/amd/toArray.js +18 -0
- package/node_modules/underscore/amd/toPath.js +12 -0
- package/node_modules/underscore/amd/underscore-array-methods.js +30 -0
- package/node_modules/underscore/amd/underscore.js +29 -0
- package/node_modules/underscore/amd/unescape.js +8 -0
- package/node_modules/underscore/amd/union.js +11 -0
- package/node_modules/underscore/amd/uniq.js +37 -0
- package/node_modules/underscore/amd/uniqueId.js +13 -0
- package/node_modules/underscore/amd/unzip.js +17 -0
- package/node_modules/underscore/amd/values.js +16 -0
- package/node_modules/underscore/amd/where.js +11 -0
- package/node_modules/underscore/amd/without.js +10 -0
- package/node_modules/underscore/amd/wrap.js +12 -0
- package/node_modules/underscore/amd/zip.js +9 -0
- package/node_modules/underscore/cjs/_baseCreate.js +20 -0
- package/node_modules/underscore/cjs/_baseIteratee.js +19 -0
- package/node_modules/underscore/cjs/_cb.js +12 -0
- package/node_modules/underscore/cjs/_chainResult.js +8 -0
- package/node_modules/underscore/cjs/_collectNonEnumProps.js +42 -0
- package/node_modules/underscore/cjs/_createAssigner.js +20 -0
- package/node_modules/underscore/cjs/_createEscaper.js +19 -0
- package/node_modules/underscore/cjs/_createIndexFinder.js +30 -0
- package/node_modules/underscore/cjs/_createPredicateIndexFinder.js +17 -0
- package/node_modules/underscore/cjs/_createReduce.js +30 -0
- package/node_modules/underscore/cjs/_createSizePropertyCheck.js +11 -0
- package/node_modules/underscore/cjs/_deepGet.js +11 -0
- package/node_modules/underscore/cjs/_escapeMap.js +11 -0
- package/node_modules/underscore/cjs/_executeBound.js +15 -0
- package/node_modules/underscore/cjs/_flatten.js +33 -0
- package/node_modules/underscore/cjs/_getByteLength.js +6 -0
- package/node_modules/underscore/cjs/_getLength.js +6 -0
- package/node_modules/underscore/cjs/_group.js +17 -0
- package/node_modules/underscore/cjs/_has.js +8 -0
- package/node_modules/underscore/cjs/_hasObjectTag.js +5 -0
- package/node_modules/underscore/cjs/_isArrayLike.js +10 -0
- package/node_modules/underscore/cjs/_isBufferLike.js +8 -0
- package/node_modules/underscore/cjs/_keyInObj.js +7 -0
- package/node_modules/underscore/cjs/_methodFingerprint.js +44 -0
- package/node_modules/underscore/cjs/_optimizeCb.js +23 -0
- package/node_modules/underscore/cjs/_setup.js +66 -0
- package/node_modules/underscore/cjs/_shallowProperty.js +8 -0
- package/node_modules/underscore/cjs/_stringTagBug.js +18 -0
- package/node_modules/underscore/cjs/_tagTester.js +11 -0
- package/node_modules/underscore/cjs/_toBufferView.js +13 -0
- package/node_modules/underscore/cjs/_toPath.js +10 -0
- package/node_modules/underscore/cjs/_unescapeMap.js +7 -0
- package/node_modules/underscore/cjs/after.js +10 -0
- package/node_modules/underscore/cjs/allKeys.js +15 -0
- package/node_modules/underscore/cjs/before.js +14 -0
- package/node_modules/underscore/cjs/bind.js +15 -0
- package/node_modules/underscore/cjs/bindAll.js +19 -0
- package/node_modules/underscore/cjs/chain.js +10 -0
- package/node_modules/underscore/cjs/chunk.js +15 -0
- package/node_modules/underscore/cjs/clone.js +11 -0
- package/node_modules/underscore/cjs/compact.js +8 -0
- package/node_modules/underscore/cjs/compose.js +14 -0
- package/node_modules/underscore/cjs/constant.js +8 -0
- package/node_modules/underscore/cjs/contains.js +12 -0
- package/node_modules/underscore/cjs/countBy.js +11 -0
- package/node_modules/underscore/cjs/create.js +13 -0
- package/node_modules/underscore/cjs/debounce.js +42 -0
- package/node_modules/underscore/cjs/defaults.js +7 -0
- package/node_modules/underscore/cjs/defer.js +9 -0
- package/node_modules/underscore/cjs/delay.js +11 -0
- package/node_modules/underscore/cjs/difference.js +15 -0
- package/node_modules/underscore/cjs/each.js +25 -0
- package/node_modules/underscore/cjs/escape.js +7 -0
- package/node_modules/underscore/cjs/every.js +17 -0
- package/node_modules/underscore/cjs/extend.js +7 -0
- package/node_modules/underscore/cjs/extendOwn.js +9 -0
- package/node_modules/underscore/cjs/filter.js +14 -0
- package/node_modules/underscore/cjs/find.js +12 -0
- package/node_modules/underscore/cjs/findIndex.js +6 -0
- package/node_modules/underscore/cjs/findKey.js +14 -0
- package/node_modules/underscore/cjs/findLastIndex.js +6 -0
- package/node_modules/underscore/cjs/findWhere.js +10 -0
- package/node_modules/underscore/cjs/first.js +11 -0
- package/node_modules/underscore/cjs/flatten.js +9 -0
- package/node_modules/underscore/cjs/functions.js +12 -0
- package/node_modules/underscore/cjs/get.js +14 -0
- package/node_modules/underscore/cjs/groupBy.js +10 -0
- package/node_modules/underscore/cjs/has.js +18 -0
- package/node_modules/underscore/cjs/identity.js +6 -0
- package/node_modules/underscore/cjs/index-default.js +11 -0
- package/node_modules/underscore/cjs/index.js +278 -0
- package/node_modules/underscore/cjs/indexBy.js +9 -0
- package/node_modules/underscore/cjs/indexOf.js +11 -0
- package/node_modules/underscore/cjs/initial.js +10 -0
- package/node_modules/underscore/cjs/intersection.js +21 -0
- package/node_modules/underscore/cjs/invert.js +13 -0
- package/node_modules/underscore/cjs/invoke.js +30 -0
- package/node_modules/underscore/cjs/isArguments.js +18 -0
- package/node_modules/underscore/cjs/isArray.js +8 -0
- package/node_modules/underscore/cjs/isArrayBuffer.js +5 -0
- package/node_modules/underscore/cjs/isBoolean.js +8 -0
- package/node_modules/underscore/cjs/isDataView.js +18 -0
- package/node_modules/underscore/cjs/isDate.js +5 -0
- package/node_modules/underscore/cjs/isElement.js +6 -0
- package/node_modules/underscore/cjs/isEmpty.js +20 -0
- package/node_modules/underscore/cjs/isEqual.js +140 -0
- package/node_modules/underscore/cjs/isError.js +5 -0
- package/node_modules/underscore/cjs/isFinite.js +9 -0
- package/node_modules/underscore/cjs/isFunction.js +17 -0
- package/node_modules/underscore/cjs/isMap.js +7 -0
- package/node_modules/underscore/cjs/isMatch.js +15 -0
- package/node_modules/underscore/cjs/isNaN.js +9 -0
- package/node_modules/underscore/cjs/isNull.js +6 -0
- package/node_modules/underscore/cjs/isNumber.js +5 -0
- package/node_modules/underscore/cjs/isObject.js +7 -0
- package/node_modules/underscore/cjs/isRegExp.js +5 -0
- package/node_modules/underscore/cjs/isSet.js +7 -0
- package/node_modules/underscore/cjs/isString.js +5 -0
- package/node_modules/underscore/cjs/isSymbol.js +5 -0
- package/node_modules/underscore/cjs/isTypedArray.js +17 -0
- package/node_modules/underscore/cjs/isUndefined.js +6 -0
- package/node_modules/underscore/cjs/isWeakMap.js +7 -0
- package/node_modules/underscore/cjs/isWeakSet.js +5 -0
- package/node_modules/underscore/cjs/iteratee.js +12 -0
- package/node_modules/underscore/cjs/keys.js +18 -0
- package/node_modules/underscore/cjs/last.js +11 -0
- package/node_modules/underscore/cjs/lastIndexOf.js +8 -0
- package/node_modules/underscore/cjs/map.js +18 -0
- package/node_modules/underscore/cjs/mapObject.js +18 -0
- package/node_modules/underscore/cjs/matcher.js +13 -0
- package/node_modules/underscore/cjs/max.js +31 -0
- package/node_modules/underscore/cjs/memoize.js +15 -0
- package/node_modules/underscore/cjs/min.js +31 -0
- package/node_modules/underscore/cjs/mixin.js +20 -0
- package/node_modules/underscore/cjs/negate.js +8 -0
- package/node_modules/underscore/cjs/noop.js +4 -0
- package/node_modules/underscore/cjs/now.js +6 -0
- package/node_modules/underscore/cjs/object.js +18 -0
- package/node_modules/underscore/cjs/omit.js +24 -0
- package/node_modules/underscore/cjs/once.js +8 -0
- package/node_modules/underscore/cjs/pairs.js +15 -0
- package/node_modules/underscore/cjs/partial.js +25 -0
- package/node_modules/underscore/cjs/partition.js +9 -0
- package/node_modules/underscore/cjs/pick.js +28 -0
- package/node_modules/underscore/cjs/pipe.js +12 -0
- package/node_modules/underscore/cjs/pluck.js +9 -0
- package/node_modules/underscore/cjs/property.js +13 -0
- package/node_modules/underscore/cjs/propertyOf.js +12 -0
- package/node_modules/underscore/cjs/random.js +10 -0
- package/node_modules/underscore/cjs/range.js +23 -0
- package/node_modules/underscore/cjs/reduce.js +7 -0
- package/node_modules/underscore/cjs/reduceRight.js +6 -0
- package/node_modules/underscore/cjs/reject.js +10 -0
- package/node_modules/underscore/cjs/rest.js +10 -0
- package/node_modules/underscore/cjs/restArguments.js +29 -0
- package/node_modules/underscore/cjs/result.js +24 -0
- package/node_modules/underscore/cjs/sample.js +29 -0
- package/node_modules/underscore/cjs/shuffle.js +8 -0
- package/node_modules/underscore/cjs/size.js +10 -0
- package/node_modules/underscore/cjs/some.js +17 -0
- package/node_modules/underscore/cjs/sortBy.js +26 -0
- package/node_modules/underscore/cjs/sortedIndex.js +17 -0
- package/node_modules/underscore/cjs/tap.js +9 -0
- package/node_modules/underscore/cjs/template.js +103 -0
- package/node_modules/underscore/cjs/templateSettings.js +11 -0
- package/node_modules/underscore/cjs/throttle.js +49 -0
- package/node_modules/underscore/cjs/times.js +11 -0
- package/node_modules/underscore/cjs/toArray.js +22 -0
- package/node_modules/underscore/cjs/toPath.js +11 -0
- package/node_modules/underscore/cjs/underscore-array-methods.js +31 -0
- package/node_modules/underscore/cjs/underscore.js +27 -0
- package/node_modules/underscore/cjs/unescape.js +7 -0
- package/node_modules/underscore/cjs/union.js +11 -0
- package/node_modules/underscore/cjs/uniq.js +38 -0
- package/node_modules/underscore/cjs/uniqueId.js +9 -0
- package/node_modules/underscore/cjs/unzip.js +17 -0
- package/node_modules/underscore/cjs/values.js +14 -0
- package/node_modules/underscore/cjs/where.js +10 -0
- package/node_modules/underscore/cjs/without.js +9 -0
- package/node_modules/underscore/cjs/wrap.js +10 -0
- package/node_modules/underscore/cjs/zip.js +8 -0
- package/node_modules/underscore/modules/.eslintrc +21 -0
- package/node_modules/underscore/modules/_baseCreate.js +18 -0
- package/node_modules/underscore/modules/_baseIteratee.js +17 -0
- package/node_modules/underscore/modules/_cb.js +10 -0
- package/node_modules/underscore/modules/_chainResult.js +6 -0
- package/node_modules/underscore/modules/_collectNonEnumProps.js +40 -0
- package/node_modules/underscore/modules/_createAssigner.js +18 -0
- package/node_modules/underscore/modules/_createEscaper.js +17 -0
- package/node_modules/underscore/modules/_createIndexFinder.js +28 -0
- package/node_modules/underscore/modules/_createPredicateIndexFinder.js +15 -0
- package/node_modules/underscore/modules/_createReduce.js +28 -0
- package/node_modules/underscore/modules/_createSizePropertyCheck.js +9 -0
- package/node_modules/underscore/modules/_deepGet.js +9 -0
- package/node_modules/underscore/modules/_escapeMap.js +9 -0
- package/node_modules/underscore/modules/_executeBound.js +13 -0
- package/node_modules/underscore/modules/_flatten.js +33 -0
- package/node_modules/underscore/modules/_getByteLength.js +4 -0
- package/node_modules/underscore/modules/_getLength.js +4 -0
- package/node_modules/underscore/modules/_group.js +15 -0
- package/node_modules/underscore/modules/_has.js +6 -0
- package/node_modules/underscore/modules/_hasObjectTag.js +3 -0
- package/node_modules/underscore/modules/_isArrayLike.js +8 -0
- package/node_modules/underscore/modules/_isBufferLike.js +6 -0
- package/node_modules/underscore/modules/_keyInObj.js +5 -0
- package/node_modules/underscore/modules/_methodFingerprint.js +37 -0
- package/node_modules/underscore/modules/_optimizeCb.js +21 -0
- package/node_modules/underscore/modules/_setup.js +43 -0
- package/node_modules/underscore/modules/_shallowProperty.js +6 -0
- package/node_modules/underscore/modules/_stringTagBug.js +13 -0
- package/node_modules/underscore/modules/_tagTester.js +9 -0
- package/node_modules/underscore/modules/_toBufferView.js +11 -0
- package/node_modules/underscore/modules/_toPath.js +8 -0
- package/node_modules/underscore/modules/_unescapeMap.js +5 -0
- package/node_modules/underscore/modules/after.js +8 -0
- package/node_modules/underscore/modules/allKeys.js +13 -0
- package/node_modules/underscore/modules/before.js +12 -0
- package/node_modules/underscore/modules/bind.js +13 -0
- package/node_modules/underscore/modules/bindAll.js +17 -0
- package/node_modules/underscore/modules/chain.js +8 -0
- package/node_modules/underscore/modules/chunk.js +13 -0
- package/node_modules/underscore/modules/clone.js +9 -0
- package/node_modules/underscore/modules/compact.js +6 -0
- package/node_modules/underscore/modules/compose.js +12 -0
- package/node_modules/underscore/modules/constant.js +6 -0
- package/node_modules/underscore/modules/contains.js +10 -0
- package/node_modules/underscore/modules/countBy.js +9 -0
- package/node_modules/underscore/modules/create.js +11 -0
- package/node_modules/underscore/modules/debounce.js +40 -0
- package/node_modules/underscore/modules/defaults.js +5 -0
- package/node_modules/underscore/modules/defer.js +7 -0
- package/node_modules/underscore/modules/delay.js +9 -0
- package/node_modules/underscore/modules/difference.js +13 -0
- package/node_modules/underscore/modules/each.js +23 -0
- package/node_modules/underscore/modules/escape.js +5 -0
- package/node_modules/underscore/modules/every.js +15 -0
- package/node_modules/underscore/modules/extend.js +5 -0
- package/node_modules/underscore/modules/extendOwn.js +7 -0
- package/node_modules/underscore/modules/filter.js +12 -0
- package/node_modules/underscore/modules/find.js +10 -0
- package/node_modules/underscore/modules/findIndex.js +4 -0
- package/node_modules/underscore/modules/findKey.js +12 -0
- package/node_modules/underscore/modules/findLastIndex.js +4 -0
- package/node_modules/underscore/modules/findWhere.js +8 -0
- package/node_modules/underscore/modules/first.js +9 -0
- package/node_modules/underscore/modules/flatten.js +7 -0
- package/node_modules/underscore/modules/functions.js +10 -0
- package/node_modules/underscore/modules/get.js +12 -0
- package/node_modules/underscore/modules/groupBy.js +8 -0
- package/node_modules/underscore/modules/has.js +16 -0
- package/node_modules/underscore/modules/identity.js +4 -0
- package/node_modules/underscore/modules/index-all.js +18 -0
- package/node_modules/underscore/modules/index-default.js +27 -0
- package/node_modules/underscore/modules/index.js +200 -0
- package/node_modules/underscore/modules/indexBy.js +7 -0
- package/node_modules/underscore/modules/indexOf.js +9 -0
- package/node_modules/underscore/modules/initial.js +8 -0
- package/node_modules/underscore/modules/intersection.js +19 -0
- package/node_modules/underscore/modules/invert.js +11 -0
- package/node_modules/underscore/modules/invoke.js +28 -0
- package/node_modules/underscore/modules/isArguments.js +16 -0
- package/node_modules/underscore/modules/isArray.js +6 -0
- package/node_modules/underscore/modules/isArrayBuffer.js +3 -0
- package/node_modules/underscore/modules/isBoolean.js +6 -0
- package/node_modules/underscore/modules/isDataView.js +16 -0
- package/node_modules/underscore/modules/isDate.js +3 -0
- package/node_modules/underscore/modules/isElement.js +4 -0
- package/node_modules/underscore/modules/isEmpty.js +18 -0
- package/node_modules/underscore/modules/isEqual.js +153 -0
- package/node_modules/underscore/modules/isError.js +3 -0
- package/node_modules/underscore/modules/isFinite.js +7 -0
- package/node_modules/underscore/modules/isFunction.js +15 -0
- package/node_modules/underscore/modules/isMap.js +5 -0
- package/node_modules/underscore/modules/isMatch.js +13 -0
- package/node_modules/underscore/modules/isNaN.js +7 -0
- package/node_modules/underscore/modules/isNull.js +4 -0
- package/node_modules/underscore/modules/isNumber.js +3 -0
- package/node_modules/underscore/modules/isObject.js +5 -0
- package/node_modules/underscore/modules/isRegExp.js +3 -0
- package/node_modules/underscore/modules/isSet.js +5 -0
- package/node_modules/underscore/modules/isString.js +3 -0
- package/node_modules/underscore/modules/isSymbol.js +3 -0
- package/node_modules/underscore/modules/isTypedArray.js +15 -0
- package/node_modules/underscore/modules/isUndefined.js +4 -0
- package/node_modules/underscore/modules/isWeakMap.js +5 -0
- package/node_modules/underscore/modules/isWeakSet.js +3 -0
- package/node_modules/underscore/modules/iteratee.js +10 -0
- package/node_modules/underscore/modules/keys.js +16 -0
- package/node_modules/underscore/modules/last.js +9 -0
- package/node_modules/underscore/modules/lastIndexOf.js +6 -0
- package/node_modules/underscore/modules/map.js +16 -0
- package/node_modules/underscore/modules/mapObject.js +16 -0
- package/node_modules/underscore/modules/matcher.js +11 -0
- package/node_modules/underscore/modules/max.js +29 -0
- package/node_modules/underscore/modules/memoize.js +13 -0
- package/node_modules/underscore/modules/min.js +29 -0
- package/node_modules/underscore/modules/mixin.js +18 -0
- package/node_modules/underscore/modules/negate.js +6 -0
- package/node_modules/underscore/modules/noop.js +2 -0
- package/node_modules/underscore/modules/now.js +4 -0
- package/node_modules/underscore/modules/object.js +16 -0
- package/node_modules/underscore/modules/omit.js +22 -0
- package/node_modules/underscore/modules/once.js +6 -0
- package/node_modules/underscore/modules/package.json +1 -0
- package/node_modules/underscore/modules/pairs.js +13 -0
- package/node_modules/underscore/modules/partial.js +24 -0
- package/node_modules/underscore/modules/partition.js +7 -0
- package/node_modules/underscore/modules/pick.js +26 -0
- package/node_modules/underscore/modules/pluck.js +7 -0
- package/node_modules/underscore/modules/property.js +11 -0
- package/node_modules/underscore/modules/propertyOf.js +10 -0
- package/node_modules/underscore/modules/random.js +8 -0
- package/node_modules/underscore/modules/range.js +21 -0
- package/node_modules/underscore/modules/reduce.js +5 -0
- package/node_modules/underscore/modules/reduceRight.js +4 -0
- package/node_modules/underscore/modules/reject.js +8 -0
- package/node_modules/underscore/modules/rest.js +8 -0
- package/node_modules/underscore/modules/restArguments.js +27 -0
- package/node_modules/underscore/modules/result.js +22 -0
- package/node_modules/underscore/modules/sample.js +27 -0
- package/node_modules/underscore/modules/shuffle.js +6 -0
- package/node_modules/underscore/modules/size.js +8 -0
- package/node_modules/underscore/modules/some.js +15 -0
- package/node_modules/underscore/modules/sortBy.js +24 -0
- package/node_modules/underscore/modules/sortedIndex.js +15 -0
- package/node_modules/underscore/modules/tap.js +7 -0
- package/node_modules/underscore/modules/template.js +101 -0
- package/node_modules/underscore/modules/templateSettings.js +9 -0
- package/node_modules/underscore/modules/throttle.js +47 -0
- package/node_modules/underscore/modules/times.js +9 -0
- package/node_modules/underscore/modules/toArray.js +20 -0
- package/node_modules/underscore/modules/toPath.js +9 -0
- package/node_modules/underscore/modules/underscore-array-methods.js +31 -0
- package/node_modules/underscore/modules/underscore.js +25 -0
- package/node_modules/underscore/modules/unescape.js +5 -0
- package/node_modules/underscore/modules/union.js +9 -0
- package/node_modules/underscore/modules/uniq.js +36 -0
- package/node_modules/underscore/modules/uniqueId.js +7 -0
- package/node_modules/underscore/modules/unzip.js +15 -0
- package/node_modules/underscore/modules/values.js +12 -0
- package/node_modules/underscore/modules/where.js +8 -0
- package/node_modules/underscore/modules/without.js +7 -0
- package/node_modules/underscore/modules/wrap.js +8 -0
- package/node_modules/underscore/modules/zip.js +6 -0
- package/node_modules/underscore/package.json +124 -0
- package/node_modules/underscore/underscore-esm-min.js +5 -0
- package/node_modules/underscore/underscore-esm-min.js.map +1 -0
- package/node_modules/underscore/underscore-esm.js +2056 -0
- package/node_modules/underscore/underscore-esm.js.map +1 -0
- package/node_modules/underscore/underscore-min.js +6 -0
- package/node_modules/underscore/underscore-min.js.map +1 -0
- package/node_modules/underscore/underscore-node-f.cjs +2180 -0
- package/node_modules/underscore/underscore-node-f.cjs.map +1 -0
- package/node_modules/underscore/underscore-node.cjs +11 -0
- package/node_modules/underscore/underscore-node.cjs.map +1 -0
- package/node_modules/underscore/underscore-node.mjs +7 -0
- package/node_modules/underscore/underscore-node.mjs.map +1 -0
- package/node_modules/underscore/underscore-umd-min.js +6 -0
- package/node_modules/underscore/underscore-umd-min.js.map +1 -0
- package/node_modules/underscore/underscore-umd.js +2064 -0
- package/node_modules/underscore/underscore-umd.js.map +1 -0
- package/node_modules/underscore/underscore.js +2064 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/xmlbuilder/CHANGELOG.md +438 -0
- package/node_modules/xmlbuilder/LICENSE +21 -0
- package/node_modules/xmlbuilder/README.md +86 -0
- package/node_modules/xmlbuilder/appveyor.yml +20 -0
- package/node_modules/xmlbuilder/lib/Utility.js +83 -0
- package/node_modules/xmlbuilder/lib/XMLAttribute.js +41 -0
- package/node_modules/xmlbuilder/lib/XMLCData.js +32 -0
- package/node_modules/xmlbuilder/lib/XMLComment.js +32 -0
- package/node_modules/xmlbuilder/lib/XMLDTDAttList.js +50 -0
- package/node_modules/xmlbuilder/lib/XMLDTDElement.js +35 -0
- package/node_modules/xmlbuilder/lib/XMLDTDEntity.js +56 -0
- package/node_modules/xmlbuilder/lib/XMLDTDNotation.js +37 -0
- package/node_modules/xmlbuilder/lib/XMLDeclaration.js +40 -0
- package/node_modules/xmlbuilder/lib/XMLDocType.js +108 -0
- package/node_modules/xmlbuilder/lib/XMLDocument.js +49 -0
- package/node_modules/xmlbuilder/lib/XMLDocumentCB.js +414 -0
- package/node_modules/xmlbuilder/lib/XMLDummy.js +29 -0
- package/node_modules/xmlbuilder/lib/XMLElement.js +111 -0
- package/node_modules/xmlbuilder/lib/XMLNode.js +467 -0
- package/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +35 -0
- package/node_modules/xmlbuilder/lib/XMLRaw.js +32 -0
- package/node_modules/xmlbuilder/lib/XMLStreamWriter.js +287 -0
- package/node_modules/xmlbuilder/lib/XMLStringWriter.js +341 -0
- package/node_modules/xmlbuilder/lib/XMLStringifier.js +163 -0
- package/node_modules/xmlbuilder/lib/XMLText.js +32 -0
- package/node_modules/xmlbuilder/lib/XMLWriterBase.js +90 -0
- package/node_modules/xmlbuilder/lib/index.js +53 -0
- package/node_modules/xmlbuilder/package.json +37 -0
- package/package.json +13 -5
- package/scripts/check-doc-links.mjs +4 -0
- package/scripts/check-image-tags.sh +1 -1
- package/scripts/check-package-artifact.mjs +19 -0
- package/scripts/check-release-consistency.test.mjs +2 -2
- package/scripts/dependency-audit.mjs +49 -96
- package/scripts/dependency-audit.test.mjs +70 -106
- package/scripts/docx-browser-test.mjs +56 -0
- package/scripts/docx-compatibility.test.mjs +39 -0
- package/scripts/docx-fixtures.mjs +19 -0
- package/scripts/export-oss.mjs +3 -0
- package/scripts/generate-third-party-notices.mjs +6 -2
- package/scripts/install.sh +1 -1
- package/scripts/notification-console-test.mjs +172 -0
- package/scripts/oss-boundary-check.mjs +3 -1
- package/scripts/publish-images.sh +1 -1
- package/scripts/release-audit.mjs +9 -1
- package/scripts/vendor-mammoth.mjs +130 -0
- package/scripts/verify-github-repo.mjs +8 -0
- package/scripts/verify-oss-export.mjs +3 -0
- package/sql/067_delivery_dlq_replay.sql +10 -0
- package/sql/068_notification_outbox.sql +28 -0
- package/sql/README.en.md +14 -0
- package/sql/README.md +14 -0
- package/src/adapters/llm/file.test.ts +59 -0
- package/src/adapters/llm/file.ts +11 -4
- package/src/app/agent-tool-invocations.test.ts +3 -1
- package/src/app/approval-continuations.mysql.test.ts +1 -1
- package/src/app/approval-continuations.test.ts +27 -1
- package/src/app/approval-continuations.ts +44 -3
- package/src/app/channels-attachments.test.ts +63 -0
- package/src/app/channels.ts +7 -4
- package/src/app/delivery-dlq-replay.mysql.test.ts +139 -0
- package/src/app/delivery-dlq-replay.test.ts +75 -0
- package/src/app/delivery-dlq-replay.ts +41 -0
- package/src/app/delivery.ts +118 -3
- package/src/app/engine.ts +5 -4
- package/src/app/kernel-notification-lifecycle.test.ts +49 -0
- package/src/app/kernel-usage-lifecycle.mysql.test.ts +1 -1
- package/src/app/kernel.ts +17 -0
- package/src/app/notification-outbound.test.ts +53 -0
- package/src/app/notification-outbox.test.ts +321 -0
- package/src/app/notification-outbox.ts +123 -0
- package/src/app/operational-metrics.test.ts +52 -1
- package/src/app/operational-metrics.ts +34 -2
- package/src/app/outbound.ts +41 -2
- package/src/app/runtime-evidence-maintenance.test.ts +34 -1
- package/src/app/runtime-lifecycle-default.ts +7 -0
- package/src/app/runtime-lifecycle.test.ts +89 -0
- package/src/app/runtime-lifecycle.ts +28 -18
- package/src/app/tool-approvals.ts +69 -31
- package/src/core/contracts/delivery-replay.ts +42 -0
- package/src/core/contracts/notification-outbox.ts +54 -0
- package/src/core/contracts/tools-idempotency.test.ts +121 -5
- package/src/core/contracts/tools.ts +21 -11
- package/src/core/contracts/types.ts +2 -0
- package/src/core/observability/openmetrics.test.ts +46 -0
- package/src/core/observability/openmetrics.ts +108 -0
- package/src/core/platform/http-body.test.ts +185 -0
- package/src/core/platform/http-body.ts +58 -0
- package/src/core/runtime/finish-runtime.test.ts +22 -0
- package/src/core/runtime/finish-runtime.ts +21 -10
- package/src/core/runtime/inhub-runtime.ts +10 -2
- package/src/core/runtime/notification-background-work.test.ts +50 -0
- package/src/core/runtime/notification-background-work.ts +101 -0
- package/src/core/runtime/notification-outbox-work.ts +15 -0
- package/src/core/state/delivery-replay.ts +19 -0
- package/src/core/state/notification-outbox.ts +66 -0
- package/src/core/state/state-codec.ts +1 -0
- package/src/core/state/state-contracts.ts +7 -0
- package/src/infrastructure/config/config-approval-ledger.ts +23 -1
- package/src/infrastructure/config/config-delivery-dlq-ledger.ts +51 -12
- package/src/infrastructure/config/configstore.ts +8 -3
- package/src/infrastructure/state/notification-outbox-jsonl.ts +80 -0
- package/src/infrastructure/state/notification-outbox-mysql.ts +100 -0
- package/src/infrastructure/state/notification-outbox-storage.test.ts +325 -0
- package/src/infrastructure/state/state-jsonl.ts +80 -14
- package/src/infrastructure/state/state-mysql.ts +63 -5
- package/src/modules/usage/background-work.test.ts +28 -0
- package/src/modules/usage/background-work.ts +43 -7
- package/src/modules/usage/billing-reconciliation.test.ts +16 -2
- package/src/modules/usage/billing-repository.ts +9 -0
- package/src/modules/usage/maintenance.test.ts +18 -2
- package/src/modules/usage/maintenance.ts +8 -0
- package/src/routes/admin-notifications.test.ts +75 -0
- package/src/routes/admin-notifications.ts +77 -0
- package/src/routes/admin-runtime.test.ts +25 -0
- package/src/routes/admin-runtime.ts +29 -0
- package/src/routes/admin.ts +1 -0
- package/src/test-support/notification-outbox-journal-crash-child.ts +20 -0
- package/vendor/bailinghub-mammoth-library-1.12.0-bailinghub.1.tgz +0 -0
- package/vendor/mammoth-library/LICENSE +22 -0
- package/vendor/mammoth-library/SOURCE.json +57 -0
- package/vendor/mammoth-library/browser/docx/files.js +14 -0
- package/vendor/mammoth-library/browser/unzip.js +12 -0
- package/vendor/mammoth-library/lib/document-to-html.js +469 -0
- package/vendor/mammoth-library/lib/documents.js +254 -0
- package/vendor/mammoth-library/lib/docx/body-reader.js +798 -0
- package/vendor/mammoth-library/lib/docx/comments-reader.js +31 -0
- package/vendor/mammoth-library/lib/docx/content-types-reader.js +58 -0
- package/vendor/mammoth-library/lib/docx/document-xml-reader.js +30 -0
- package/vendor/mammoth-library/lib/docx/docx-reader.js +226 -0
- package/vendor/mammoth-library/lib/docx/files.js +80 -0
- package/vendor/mammoth-library/lib/docx/notes-reader.js +28 -0
- package/vendor/mammoth-library/lib/docx/numbering-xml.js +111 -0
- package/vendor/mammoth-library/lib/docx/office-xml-reader.js +73 -0
- package/vendor/mammoth-library/lib/docx/relationships-reader.js +43 -0
- package/vendor/mammoth-library/lib/docx/style-map.js +75 -0
- package/vendor/mammoth-library/lib/docx/styles-reader.js +90 -0
- package/vendor/mammoth-library/lib/docx/uris.js +21 -0
- package/vendor/mammoth-library/lib/html/ast.js +51 -0
- package/vendor/mammoth-library/lib/html/index.js +41 -0
- package/vendor/mammoth-library/lib/html/simplify.js +88 -0
- package/vendor/mammoth-library/lib/images.js +31 -0
- package/vendor/mammoth-library/lib/index.d.ts +86 -0
- package/vendor/mammoth-library/lib/index.js +111 -0
- package/vendor/mammoth-library/lib/options-reader.js +107 -0
- package/vendor/mammoth-library/lib/promises.js +42 -0
- package/vendor/mammoth-library/lib/raw-text.js +14 -0
- package/vendor/mammoth-library/lib/results.js +72 -0
- package/vendor/mammoth-library/lib/style-reader.js +365 -0
- package/vendor/mammoth-library/lib/styles/document-matchers.js +100 -0
- package/vendor/mammoth-library/lib/styles/html-paths.js +75 -0
- package/vendor/mammoth-library/lib/styles/parser/tokeniser.js +30 -0
- package/vendor/mammoth-library/lib/transforms.js +62 -0
- package/vendor/mammoth-library/lib/underline.js +11 -0
- package/vendor/mammoth-library/lib/unzip.js +20 -0
- package/vendor/mammoth-library/lib/writers/html-writer.js +159 -0
- package/vendor/mammoth-library/lib/writers/index.js +14 -0
- package/vendor/mammoth-library/lib/writers/markdown-writer.js +163 -0
- package/vendor/mammoth-library/lib/xml/index.js +8 -0
- package/vendor/mammoth-library/lib/xml/nodes.js +70 -0
- package/vendor/mammoth-library/lib/xml/reader.js +69 -0
- package/vendor/mammoth-library/lib/xml/writer.js +61 -0
- package/vendor/mammoth-library/lib/xml/xmldom.js +23 -0
- package/vendor/mammoth-library/lib/zipfile.js +72 -0
- package/vendor/mammoth-library/package.json +39 -0
- package/vendor/mammoth-library/upstream-package.json +64 -0
- package/vendor/mammoth-library-distribution.json +4 -0
- package/web/console/assets/{Accounts-DKhw_QLr.js → Accounts-Dhj6PjXP.js} +1 -1
- package/web/console/assets/{AgentClients-CM4_5HaA.js → AgentClients-CMy8StAH.js} +1 -1
- package/web/console/assets/{AgentTasks-CkQgZTU5.js → AgentTasks-DA1xZdmP.js} +1 -1
- package/web/console/assets/{Approvals-B9O9TkbO.js → Approvals-DIsd7R8N.js} +1 -1
- package/web/console/assets/{Audit-2vDC1SPu.js → Audit-AUDABLTX.js} +1 -1
- package/web/console/assets/{BrandLockup-BgASiRSE.js → BrandLockup-CffORQse.js} +1 -1
- package/web/console/assets/{Channels-A-GvkNBt.js → Channels-B8rjsM0S.js} +1 -1
- package/web/console/assets/{ChatEntries-BLxymI67.js → ChatEntries-iZjJMEUZ.js} +1 -1
- package/web/console/assets/{Clients-DeNlmvS6.js → Clients-CwgpGCSD.js} +1 -1
- package/web/console/assets/{Cost-CBq_L4Kz.js → Cost-B2tNxu71.js} +1 -1
- package/web/console/assets/{Credentials-DmtbctNj.js → Credentials-BuwFB-fV.js} +1 -1
- package/web/console/assets/{Diagnostics-BbcRDiA-.js → Diagnostics-z5glms11.js} +1 -1
- package/web/console/assets/{Executors-gGgmQrDt.js → Executors-Bc4SvjeH.js} +1 -1
- package/web/console/assets/{Kb-lgY6OXUz.js → Kb-BRbRHxLy.js} +1 -1
- package/web/console/assets/{Login-DA6BASZd.js → Login-CGgLGTE1.js} +1 -1
- package/web/console/assets/{Projects-DEbmB_sT.js → Projects-CPWw3con.js} +1 -1
- package/web/console/assets/{Routes-qS6LLoyS.js → Routes-CMIaE0Bx.js} +1 -1
- package/web/console/assets/Runs-B8HuE700.js +3 -0
- package/web/console/assets/Runs-Bv6CV_Hk.css +1 -0
- package/web/console/assets/{Setup-DEpVF5uw.js → Setup-G8RKzliR.js} +1 -1
- package/web/console/assets/{Shell-DgoPgK1E.js → Shell-DimHgraJ.js} +1 -1
- package/web/console/assets/{StorageBuckets-DJtNN769.js → StorageBuckets-CiVYXIE2.js} +1 -1
- package/web/console/assets/{SystemSettings-0DEUgeTR.js → SystemSettings-DF8sZNen.js} +1 -1
- package/web/console/assets/{SystemStatus-CR1phiPE.js → SystemStatus-BlHywK13.js} +1 -1
- package/web/console/assets/{Targets-D65l-IMB.js → Targets-BXaoPoAJ.js} +1 -1
- package/web/console/assets/{Tools-DqtrINrN.js → Tools-B22lNHXq.js} +1 -1
- package/web/console/assets/{Usage-B5njXNjx.js → Usage-C02EzoI2.js} +1 -1
- package/web/console/assets/{UsageAccess-ChnB4pjb.js → UsageAccess-DOb-cyPE.js} +1 -1
- package/web/console/assets/{UsageHelp-BBKIvbQ5.js → UsageHelp-CzS2gI40.js} +1 -1
- package/web/console/assets/{index-sLKrJd_p.js → index-CK0ZCTZv.js} +2 -2
- package/web/console/assets/{request-BpaimqEb.js → request-DKycpD7z.js} +1 -1
- package/web/console/assets/{schema-D0Z4kFCZ.js → schema-SCiNxBlR.js} +1 -1
- package/web/console/index.html +1 -1
- package/web-admin/package-lock.json +5 -23
- package/web-admin/package.json +1 -1
- package/web-admin/src/components/NotificationOutboxPanel.vue +106 -0
- package/web-admin/src/pages/Runs.vue +8 -2
- package/security/dependency-audit-exceptions.json +0 -192
- package/web/console/assets/Runs-CvGTV8I-.css +0 -1
- package/web/console/assets/Runs-DG-VLRSc.js +0 -3
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
## 版本与阅读口径
|
|
8
8
|
|
|
9
|
-
- 正式发行基线:[v0.9.
|
|
9
|
+
- 正式发行基线:[v0.9.4](https://github.com/bailinghub/bailinghub/releases/tag/v0.9.4),对应 [v0.9.4 源码 Tag](https://github.com/bailinghub/bailinghub/tree/v0.9.4)。下表机制均包含在该版本中,各次修复仍标注首次发行版本;不代表默认安装后已启用所有可选功能。
|
|
10
10
|
- 历史基线:[v0.9.0](https://github.com/bailinghub/bailinghub/releases/tag/v0.9.0),对应提交 [`dae5260ede6565080d21e94ae63d52f3a7d23556`](https://github.com/bailinghub/bailinghub/tree/dae5260ede6565080d21e94ae63d52f3a7d23556)。原 Tag 的异步关闭缺口在后文保留;源码、npm、镜像和具体部署应分别核验,不能从新版文档推导旧制品已修复。
|
|
11
11
|
- 表中的测试链接是**公开测试代码及其检查范围**,不是本页重新执行所得的通过记录。单元测试、模拟供应商响应、MySQL 集成测试和完整 demo 验证分别说明各自覆盖的条件。未执行或跳过的测试不能写成已通过,也不能据此把已有机制写成“计划实现”。
|
|
12
|
-
- 版本发行内容与升级前提以 [v0.9.
|
|
12
|
+
- 版本发行内容与升级前提以 [v0.9.4 说明](RELEASE_NOTES_v0.9.4.md) 和 [升级指南](UPGRADE_v0.9.4.md) 为准。适配客户端、应用迁移、模型凭据、存储和具体业务授权仍需各自配置、验证。
|
|
13
13
|
|
|
14
14
|
## 能力归属与发行状态
|
|
15
15
|
|
|
@@ -17,18 +17,18 @@ Core 默认是一个组织的管理与审计域。不同 Client、route 或工
|
|
|
17
17
|
|
|
18
18
|
| 能力与责任方 | 发行状态 | 公开实现与证据入口 | 范围与限制 |
|
|
19
19
|
|---|---|---|---|
|
|
20
|
-
| 能力声明、工具发现、受控调用:Core 解析和治理,业务系统执行 | Core v0.9.
|
|
21
|
-
| Agent Auth:Core 绑定客户端会话,业务授权页提供可信身份 | Core v0.9.
|
|
22
|
-
| Agent Client Runtime:Core 提供工作区、turn、搜索和工具调用接口 | Core v0.9.
|
|
23
|
-
| 审批、原调用快照和只读回执:Core 治理,业务系统保留执行结果 | Core v0.9.
|
|
24
|
-
| 跨轮任务控制:Core 持久化原成员、写调用预算与并发占用 | Core v0.9.
|
|
25
|
-
| 可见对话审计:客户端显式上传,Core 校验成员和保存事件 | Core v0.9.
|
|
26
|
-
| 当前线程上下文和可选滚动摘要:Core 的路由/线程机制 | Core v0.9.
|
|
27
|
-
| 附件空间:宿主提供获准图片,Core 上传并返回可用 URL | Core v0.9.
|
|
28
|
-
| 可选模型网关与美元额度结算:Core 接入、计量,客户端宿主编排 | Core v0.9.
|
|
29
|
-
| 模型工具目录、文生图和原请求核对:Core 的可选网关扩展 | Core v0.9.
|
|
30
|
-
| Kernel Host API、显式迁移和托管生命周期:Core 提供稳定嵌入入口,Host 管理进程与隔离 | Core v0.9.
|
|
31
|
-
| 安装、体检与可选运维指标:Core 提供入口,部署者配置和验收 | Core v0.9.
|
|
20
|
+
| 能力声明、工具发现、受控调用:Core 解析和治理,业务系统执行 | Core v0.9.4 已包含 | [工具模型](TOOLS_MODEL.md);[工具索引源码](../src/services/tools-index.ts) / [测试](../src/services/tools-index.test.ts);[执行治理测试](../src/core/runtime/execution-runtime.test.ts) | 工具可发现不等于当前调用获准。业务接口还需验签,并重新检查主体、租户、权限和业务状态;声明不能赋予调用方原本没有的权力。 |
|
|
21
|
+
| Agent Auth:Core 绑定客户端会话,业务授权页提供可信身份 | Core v0.9.4 已包含 | [Agent Auth 契约](AGENT_AUTH_API.md);[路由源码](../src/routes/agent-auth.ts);[生命周期 HTTP 测试](../src/routes/agent-auth-lifecycle-http.test.ts) / [竞态测试](../src/infrastructure/config/config-agent-auth-lifecycle-race.test.ts) | PKCE、授权绑定、刷新和撤销有公开实现;不接管业务系统的登录、角色管理或最终授权,也不允许模型从文本指定可信主体。 |
|
|
22
|
+
| Agent Client Runtime:Core 提供工作区、turn、搜索和工具调用接口 | Core v0.9.4 已包含 | [Runtime API](AGENT_CLIENT_RUNTIME_API.md);[运行面源码](../src/app/agent-client-runtime.ts) / [测试](../src/app/agent-client-runtime.test.ts);[调用测试](../src/app/agent-tool-invocations.test.ts) | 本地 Agent 的模型选择、推理循环和工具编排由客户端宿主负责。Core 的原有 `/run` 管线是另一种公开接入路径,不能把两者混为同一客户端执行模式。 |
|
|
23
|
+
| 审批、原调用快照和只读回执:Core 治理,业务系统保留执行结果 | Core v0.9.4 已包含 | [只读回执与恢复](INVOCATION_RECEIPTS.md);[调用源码](../src/app/agent-tool-invocations.ts) / [测试](../src/app/agent-tool-invocations.test.ts);[审批账本测试](../src/infrastructure/config/config-approval-ledger.test.ts) | 原调用回执读取与可能继续业务的 resume 分开。未知结果不构成重发写操作的许可;没有历史参数时不能补造。审批本身不证明业务已成功,也不是分布式业务事务的回滚保证。 |
|
|
24
|
+
| 跨轮任务控制:Core 持久化原成员、写调用预算与并发占用 | Core v0.9.4 已包含(v0.8.0 引入) | [任务控制契约](AGENT_TASK_CONTROL.md);[运行面源码](../src/core/runtime/agent-task-control.ts) / [测试](../src/core/runtime/agent-task-control.test.ts);[MySQL 日志集成测试](../src/infrastructure/config/config-agent-task-control-journal-mysql.test.ts) | 这是受治理业务调用的控制,不是模型轮次套餐。写调用次数不等于退款金额、成功业务数或 Token 数;暂停/取消不能撤回已放行或已完成的业务效果。 |
|
|
25
|
+
| 可见对话审计:客户端显式上传,Core 校验成员和保存事件 | Core v0.9.4 已包含 | [对话审计契约](AGENT_CONVERSATION_AUDIT.md);[运行面测试](../src/core/runtime/agent-conversation-audit.test.ts) | 不采集隐藏推理。确认成员和具备写接口不证明宿主已上传全部历史;审计归档不合并业务授权、会话或运行时记忆。跨绑定仍受同一中枢及各自身份边界约束。 |
|
|
26
|
+
| 当前线程上下文和可选滚动摘要:Core 的路由/线程机制 | Core v0.9.4 已包含 | [记忆配置与渲染](../src/core/runtime/memory.ts);[线程注入源码](../src/core/runtime/memory-runtime.ts) / [测试](../src/core/runtime/memory-runtime.test.ts);[摘要测试](../src/core/runtime/summary-runtime.test.ts) | 摘要默认关闭,启用后仍按原线程读取。它不是完整的用户级跨新会话长期记忆模块;公开的可见对话审计也不会自动变成模型上下文。 |
|
|
27
|
+
| 附件空间:宿主提供获准图片,Core 上传并返回可用 URL | Core v0.9.4 已包含(v0.8.0 引入) | [图片附件契约](GENERATED_ARTIFACTS.md);[附件源码](../src/app/agent-artifacts.ts) / [测试](../src/app/agent-artifacts.test.ts) | 首期 PNG/JPEG/WebP,不接受文档或视频。存储和保留策略需运营者配置;Core 不能读取客户端文件系统。上传图片与使用 URL 改变业务是两个独立动作。 |
|
|
28
|
+
| 可选模型网关与美元额度结算:Core 接入、计量,客户端宿主编排 | Core v0.9.4 已包含 | [模型计费契约](MODEL_BILLING.md);[网关源码](../src/modules/usage/model-gateway.ts);[模型网关 MySQL 测试](../src/modules/usage/model-gateway.mysql.test.ts);[账本单元测试](../src/modules/usage/billing-ledger.test.ts) | 共享 USD 额度、统一倍率、周期售价与额度分离;不恢复按轮次/任务步数收费。参考价格不是供应商实际账单,原始 Token 不是额度分母。未取得权威 usage 的结果不能编造 Token 或费用。 |
|
|
29
|
+
| 模型工具目录、文生图和原请求核对:Core 的可选网关扩展 | Core v0.9.4 已包含 | [工具描述源码](../src/modules/usage/model-tools.ts) / [测试](../src/modules/usage/model-tools.test.ts);[供应商适配测试](../src/modules/usage/model-tool-provider.test.ts);[异步图片 MySQL 测试](../src/modules/usage/model-tool-gateway.mysql.test.ts) | 公开可执行适配器包括阿里云兼容 Images、原生 DashScope 与 OpenRouter Images。视频、语音或自定义服务的目录声明不等于存在可执行适配器;异步完成与关闭边界见下文。 |
|
|
30
|
+
| Kernel Host API、显式迁移和托管生命周期:Core 提供稳定嵌入入口,Host 管理进程与隔离 | Core v0.9.4 已包含 | [Kernel Host API](KERNEL_HOST_API.md);[Kernel 源码](../src/app/kernel.ts) / [测试](../src/app/kernel.test.ts);[制品清单测试](../src/kernel-api/v1/artifact.test.ts);[迁移测试](../src/infrastructure/schema/core-schema-migrator.test.ts) | 独立 MySQL schema 与 runtimeRoot、可信 instanceKey、显式迁移和 Host 的 tick/close 都是前提。此 API 不提供租户注册、平台套餐、集群目录或多副本升级编排;可选 usage 网关也不等于 Host 的平台计费产品。 |
|
|
31
|
+
| 安装、体检与可选运维指标:Core 提供入口,部署者配置和验收 | Core v0.9.4 已包含 | [快速开始](QUICKSTART.md);[安装脚本](../scripts/install.sh);[体检脚本](../scripts/smoke.ts);[OpenMetrics 测试](../src/core/observability/openmetrics.test.ts);[独立复现任务卡](INDEPENDENT_VALIDATION.md) | 健康响应不证明全部业务或供应商可用。指标端点需显式启用并保护访问;有安装/诊断入口不等于已建立持续监控、告警值守或完成特定部署验收。 |
|
|
32
32
|
|
|
33
33
|
## 公开验证能说明什么
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ Core 默认是一个组织的管理与审计域。不同 Client、route 或工
|
|
|
40
40
|
|
|
41
41
|
### 公开 demo 与独立复现任务卡
|
|
42
42
|
|
|
43
|
-
[Docker Demo](DEMO.md) 与 [独立验证任务卡](INDEPENDENT_VALIDATION.md) 提供从 v0.9.
|
|
43
|
+
[Docker Demo](DEMO.md) 与 [独立验证任务卡](INDEPENDENT_VALIDATION.md) 提供从 v0.9.4 安装、基础体检到 `npm run demo:e2e` 的公开路径。其订单、工单、退款和故障工具均为仓库 demo 数据;不需要真实模型 Key、客户接口或生产凭据。
|
|
44
44
|
|
|
45
45
|
任务卡要求记录服务、控制台、匿名预览边界、基础体检和完整业务闭环的具体结果。README 的 demo 图像与动画展示同一公开样例,不能当作客户采用证据。任务卡存在也不意味着已有外部开发者完成验证;报告结果应保留验证者实际版本、环境、检查项和失败范围。
|
|
46
46
|
|
|
@@ -79,3 +79,11 @@ Core v0.9.1 增加了每个 `UsageRepository` 独立拥有的 [后台工作登
|
|
|
79
79
|
## Core v0.9.2 的可靠性修复
|
|
80
80
|
|
|
81
81
|
[安装凭据、结算维护与审批补续](CORE_RELIABILITY.md)记录新安装安全随机源失败关闭、无新流量的结算维护及审批决策的持久补续。配套新增 065/066 增量迁移。公开测试包括[安装器故障回归](../scripts/install-secrets.test.mjs)、[结算 MySQL 回归](../src/modules/usage/billing-reconciliation.mysql.test.ts)、[审批补续回归](../src/app/approval-continuations.test.ts)与[审批 MySQL/进程回归](../src/app/approval-continuations.mysql.test.ts)。这些是Core v0.9.2的实现与检查范围;不扩展历史v0.9.1制品的保证。
|
|
82
|
+
|
|
83
|
+
## Core v0.9.3 的收包与通知修复
|
|
84
|
+
|
|
85
|
+
[HTTP 与通知修复](CORE_RELIABILITY.md#core-v093-的-http-与通知修复)汇聚有限收包、UTF-8 视图预算、正常关闭通知排空、原执行器通知死信防重复入队与 067 迁移的公开源码和合成回归入口;[运维指标](OPERATIONS.md)记录只读维护快照边界。这些修改从 Core v0.9.3 提供,历史 v0.9.2 制品不包含;正常关闭和仓储断点测试不证明全部通知意图的崩溃补投或生产送达。Tag、npm、镜像与具体部署仍需分别核验。
|
|
86
|
+
|
|
87
|
+
## Core v0.9.4 的依赖与通知修复
|
|
88
|
+
|
|
89
|
+
Core v0.9.4 新增 [DOCX 依赖处置](DOCX_DEPENDENCY.md)与[通知持久化](NOTIFICATION_DURABILITY.md),包含自带控制台管理入口和增量迁移 068。公开源码和合成测试覆盖内置持久化与恢复,不证明各部署的真实收件;Webhook 接收方按稳定事件 ID 去重,原生未知送达须人工核对。不改变 v0.9.3 的历史证据,独立消费者仍需各自升级。见[升级指南](UPGRADE_v0.9.4.md)。
|
|
@@ -7,7 +7,7 @@ It is not certification, a benchmark, or evidence of production adoption. Passin
|
|
|
7
7
|
## Scope
|
|
8
8
|
|
|
9
9
|
- Target: the open-source BailingHub Docker demo;
|
|
10
|
-
- Stable baseline: `v0.9.
|
|
10
|
+
- Stable baseline: `v0.9.4`;
|
|
11
11
|
- Data: the bundled demo orders, tickets, refunds, and failure probe;
|
|
12
12
|
- Expected time: about 20 minutes after images and dependencies are available;
|
|
13
13
|
- Not required: a real model key, production API, production credential, or real business data.
|
|
@@ -32,7 +32,7 @@ curl -fsSL https://www.bailinghub.com/install.sh | sh
|
|
|
32
32
|
cd "$HOME/bailinghub"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
The installer pulls the official `v0.9.
|
|
35
|
+
The installer pulls the official `v0.9.4` images by default, generates random tokens and an admin password, starts the services, and runs the smoke test. The initial administrator is created only when the administrator table is empty; restarting, upgrading, recreating containers, or reinstalling against the same persistent database does not overwrite a changed password. The optional `/metrics` endpoint remains disabled and does not affect core validation. Keep the reported version, install mode, elapsed time, and the commands printed under `常用命令`, but never include passwords or tokens in your report. After Docker is installed, the current non-root login usually still needs the printed `sudo docker compose ...` commands; Docker group membership may not take effect until the next login.
|
|
36
36
|
|
|
37
37
|
If the default directory is already in use, choose a new empty directory instead of overwriting an existing deployment:
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@ cd "$HOME/bailinghub-validation"
|
|
|
46
46
|
### Path B: local source reproduction
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
git clone --depth 1 --branch v0.9.
|
|
49
|
+
git clone --depth 1 --branch v0.9.4 https://github.com/bailinghub/bailinghub.git
|
|
50
50
|
cd bailinghub
|
|
51
51
|
git rev-parse HEAD
|
|
52
52
|
export BAILING_TOKEN="$(openssl rand -hex 32)"
|
|
@@ -167,7 +167,7 @@ After the core task passes, you may continue with:
|
|
|
167
167
|
- [Trusted rich rendering and chat reliability](RELEASE_NOTES_v0.1.15.en.md).
|
|
168
168
|
- [Bounded tool runtime and resilient semantic retrieval](RELEASE_NOTES_v0.1.16.en.md).
|
|
169
169
|
- [Composable Core and Kernel Host API v1](RELEASE_NOTES_v0.3.0.en.md).
|
|
170
|
-
- [Current stable release notes](RELEASE_NOTES_v0.9.
|
|
170
|
+
- [Current stable release notes](RELEASE_NOTES_v0.9.4.en.md).
|
|
171
171
|
|
|
172
172
|
Select the relevant track in the same Issue form and disclose whether you received direct maintainer assistance.
|
|
173
173
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
## 验证范围
|
|
8
8
|
|
|
9
9
|
- 验证对象:BailingHub 开源版 Docker demo;
|
|
10
|
-
- 稳定基线:`v0.9.
|
|
10
|
+
- 稳定基线:`v0.9.4`;
|
|
11
11
|
- 数据范围:仓库自带的 demo 订单、工单、退款和故障工具;
|
|
12
12
|
- 预计用时:镜像和依赖下载完成后约 20 分钟;
|
|
13
13
|
- 不需要:真实大模型 Key、生产 API、生产凭据或真实业务数据。
|
|
@@ -32,7 +32,7 @@ curl -fsSL https://www.bailinghub.com/install.sh | sh
|
|
|
32
32
|
cd "$HOME/bailinghub"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
脚本默认拉取 `v0.9.
|
|
35
|
+
脚本默认拉取 `v0.9.4` 官方镜像,生成随机 Token 与后台密码,启动服务并自动运行基础体检。首次管理员只在数据库管理员表为空时创建;对同一持久化数据库进行重启、升级、容器重建或重新安装,不会覆盖已经修改的管理员密码。可选 `/metrics` 端点默认关闭,不影响基础验证。请保留终端输出中的版本、安装模式、耗时和“常用命令”,但不要把密码或 Token 写入反馈。新安装 Docker 后,当前非 root 会话通常仍需使用脚本打印的 `sudo docker compose ...` 命令;重新登录后 Docker 组权限才可能生效。
|
|
36
36
|
|
|
37
37
|
如果默认目录已被占用,请使用一个新的空目录,不要覆盖现有部署:
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@ cd "$HOME/bailinghub-validation"
|
|
|
46
46
|
### 路径 B:本地源码复现
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
git clone --depth 1 --branch v0.9.
|
|
49
|
+
git clone --depth 1 --branch v0.9.4 https://github.com/bailinghub/bailinghub.git
|
|
50
50
|
cd bailinghub
|
|
51
51
|
git rev-parse HEAD
|
|
52
52
|
export BAILING_TOKEN="$(openssl rand -hex 32)"
|
|
@@ -167,7 +167,7 @@ docker compose exec -T bailinghub npm run demo:e2e
|
|
|
167
167
|
- [可信富内容渲染与聊天可靠性](RELEASE_NOTES_v0.1.15.md)。
|
|
168
168
|
- [工具运行时收敛与语义检索韧性](RELEASE_NOTES_v0.1.16.md)。
|
|
169
169
|
- [可组合 Core 与 Kernel Host API v1](RELEASE_NOTES_v0.3.0.md)。
|
|
170
|
-
- [当前稳定版发布说明](RELEASE_NOTES_v0.9.
|
|
170
|
+
- [当前稳定版发布说明](RELEASE_NOTES_v0.9.4.md)。
|
|
171
171
|
|
|
172
172
|
扩展验证请在同一 Issue 模板中选择对应路径,并说明是否获得过维护者的直接帮助。
|
|
173
173
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Durable notifications and recovery
|
|
2
|
+
|
|
3
|
+
[简体中文](NOTIFICATION_DURABILITY.md)
|
|
4
|
+
|
|
5
|
+
Durable notifications are available from Core v0.9.4. Historical Core v0.9.3 artifacts provide graceful drain and migration 067 dead-letter replay only. The scope is Core and its bundled console; ACC and independent consumers are unchanged.
|
|
6
|
+
|
|
7
|
+
## Persistence boundary
|
|
8
|
+
|
|
9
|
+
Built-in MySQL stores commit a terminal Job and its notification intents together. Approval creation and its notification use one transaction in the approval configuration database. These databases may differ; no cross-database transaction is assumed. JSONL stores append the Job and intents in one record, sync the journal, then publish memory state. JSONL supports one writer, not multiple processes sharing the same file.
|
|
10
|
+
|
|
11
|
+
The outbox covers callbacks, configured result delivery, approval prompts and dead-letter recording for failed notification children. New transitions create intents. Startup does not backfill historical terminal Jobs or pending approvals. Another legitimate business run creates another callback event, while explicit delivery routes retain `deliver_<parent>` and approvals retain `approval_<id>`. Native WeCom replies use the terminal event identity so an approved continuation can still notify its actual final result. Notification recovery does not rerun the business parent. General monitoring alerts remain best effort.
|
|
12
|
+
|
|
13
|
+
Events freeze the business snapshot, destination coordinates and display brand. Retries reuse the event ID. Signing secrets are read from existing credential sources rather than copied into the outbox. Payloads can contain business text and destination addresses and require the same protection and backup controls as Job data. Admin summaries and metrics omit them.
|
|
14
|
+
|
|
15
|
+
## Delivery semantics
|
|
16
|
+
|
|
17
|
+
- Startup and existing maintenance recover pending intents with bounded batches and retries. Graceful close stops new scans and drains accepted work; a subsequent owner recovers remaining durable work.
|
|
18
|
+
- Claim, renewal, completion and failure use an unexpired lease token. An old worker cannot acknowledge a replacement worker's claim.
|
|
19
|
+
- HTTP delivery waits for the response. The stable event ID appears in `X-Bailing-Event-Id` and the signed body's `notification_event_id`. Network errors, 429 and 5xx retry with backoff; ordinary 4xx stop. An automatic cycle allows at most six sending attempts. Receivers should persist event IDs for deduplication.
|
|
20
|
+
- A receiver may accept a request before the sender loses its acknowledgement. Webhook redelivery remains possible; leases and event IDs do not provide exactly-once external effects.
|
|
21
|
+
- Partial or unknown native-channel delivery, including an expired in-flight lease, becomes `uncertain` instead of an automatic full resend. An operator must check the receiver before retrying.
|
|
22
|
+
- `completed` can mean durable admission to the notification executor, not human receipt. Failed executor children retain migration 067's replay marker. Native dead letters linked to an outbox event use the outbox retry path exclusively.
|
|
23
|
+
|
|
24
|
+
States are `pending`, `processing`, `completed`, `skipped`, `failed` and `uncertain`. Manual retry preserves the ID and cumulative attempts while resetting the current cycle. Failed records are retained; automatic retention and archival are outside this change.
|
|
25
|
+
|
|
26
|
+
## Operations
|
|
27
|
+
|
|
28
|
+
The bundled console's Runs page adds notification delivery summaries, type/status filters and retry. Readers can inspect; retry requires `runs:write`. Uncertain delivery requires explicit duplicate-risk acknowledgement. No operation reruns the business parent.
|
|
29
|
+
|
|
30
|
+
Admin endpoints are `GET /admin/api/notification-outbox` and `POST /admin/api/notification-outbox/{event_id}/retry`. Retry requires `kind` and the observed `expected_status`; uncertain delivery additionally requires `allow_uncertain: true`. A changed state returns 409. Third-party stores without the optional durable ports retain legacy best-effort behavior and expose capability unavailable instead of claiming durability.
|
|
31
|
+
|
|
32
|
+
[Operational metrics](OPERATIONS.en.md) add availability, status counts, oldest pending age and expired leases with fixed sources `jobs` and `approvals`. Kinds partition these sources even when both stores share one database. No event, tenant, recipient or payload becomes a metric label.
|
|
33
|
+
|
|
34
|
+
## Migration, rollback and verification
|
|
35
|
+
|
|
36
|
+
Only [068_notification_outbox.sql](../sql/068_notification_outbox.sql) is added; historical migrations remain unchanged. Back up code, configuration, actual state/configuration databases and JSONL before upgrade. Migrate every database used by these stores. Migration creates the outbox and a nullable dead-letter association; it does not generate notifications from historical records.
|
|
37
|
+
|
|
38
|
+
Before rollback, stop new work and workers and preserve outbox, dead-letter and recipient evidence. Old code cannot process new outbox records, and database restoration cannot undo external messages. Restore a consistent code/configuration/database set and reconcile sent event IDs. Deleting intents or merely switching code is not a lossless rollback. Source tests are not a production upgrade or restore drill.
|
|
39
|
+
|
|
40
|
+
Public regression entry points:
|
|
41
|
+
|
|
42
|
+
- [Storage](../src/infrastructure/state/notification-outbox-storage.test.ts): JSONL recovery, MySQL atomicity/lost acknowledgements, lease fencing, approvals and retained migration history.
|
|
43
|
+
- [Runtime](../src/app/notification-outbox.test.ts): local receiver, same-ID delivery after SIGKILL, decided approvals, native uncertainty, child identities and stale acknowledgement rejection.
|
|
44
|
+
- [Lifecycle](../src/app/runtime-evidence-maintenance.test.ts): startup, stop and draining accepted work.
|
|
45
|
+
- [Admin API](../src/routes/admin-notifications.test.ts) and [legacy dead-letter routes](../src/routes/admin-runtime.test.ts): permissions, redaction, changed-state handling and one retry entry point.
|
|
46
|
+
|
|
47
|
+
Synthetic/local tests do not establish live-channel availability or production receipt. JSONL sync and MySQL commits depend on underlying storage; they do not cover damaged disks, arbitrary external stores or unverified external side effects.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# 通知持久化与补发
|
|
2
|
+
|
|
3
|
+
[English](NOTIFICATION_DURABILITY.en.md)
|
|
4
|
+
|
|
5
|
+
通知持久化从 Core v0.9.4 提供;历史 Core v0.9.3 制品仍只有正常关闭排空和 067 死信重投。能力属于 Core 及其自带控制台,不修改 ACC 契约或独立消费者。
|
|
6
|
+
|
|
7
|
+
## 保存和恢复的范围
|
|
8
|
+
|
|
9
|
+
内置 MySQL 状态库将任务终态和对应通知意图写入同一个事务;审批创建和审批提示写入审批所在配置库的同一个事务。两种库可以不同,不依赖跨库事务。JSONL 状态库将任务与通知写入同一条日志并同步落盘,随后才更新内存;这是单写者实现,不提供多个进程共享同一 JSONL 文件的协调。
|
|
10
|
+
|
|
11
|
+
覆盖任务 callback、配置的结果送达、审批提示,以及失败通知子任务的死信留存。只有新增的状态转换创建意图,启动时不会扫描历史已完成任务、旧待审批单并批量补发。业务父任务再次合法运行完成会产生新的 callback 事件;显式送达路由的 `deliver_<parent>` 和审批提示的 `approval_<id>` 子任务仍沿用已有身份。原生企微回流按终态事件区分,审批补续后的真实最终结果仍会通知;同一事件补发不会重新创建子任务或重跑父任务。普通监控告警仍是尽力发送。
|
|
12
|
+
|
|
13
|
+
终态与通知事件冻结业务快照、路由目的地和正文使用的品牌名,重试复用原事件 ID。签名密钥仍从原凭据入口读取,不复制到 outbox。快照可能含业务正文和目的地址,应按任务数据的敏感等级备份和保护;管理列表和指标不返回这些内容。
|
|
14
|
+
|
|
15
|
+
## 发送语义
|
|
16
|
+
|
|
17
|
+
- 后台在启动和已有维护周期恢复待处理通知,单轮、并发和重试都有界。正常关闭停止接受新的扫描,并等待已接受的处理;留存的待处理意图由后续实例恢复。
|
|
18
|
+
- 每次领取具有独立租约 token,确认、失败和续租都校验当前 token 与有效期。过期 worker 不能确认后继 worker 的任务。
|
|
19
|
+
- HTTP 发送等待真实响应。稳定事件 ID 同时放入 `X-Bailing-Event-Id` 请求头及签名正文的 `notification_event_id` 字段。网络/429/5xx 可退避重试,普通 4xx 停止;每个自动处理周期最多六次发送尝试。接收方应保存此 ID 去重。
|
|
20
|
+
- 接收端已处理而本地确认丢失时,Webhook 可能再次送达。租约和事件 ID 不等于外部系统“恰好执行一次”。
|
|
21
|
+
- 原生渠道可能已部分送达、回执未知或处理期间租约失效时,保留为 `uncertain`,不会自动完整重发。操作者核对接收端后才可再次处理。
|
|
22
|
+
- `completed` 表示本通知步骤已完成,也可能只是已交给持久通知执行器,不能当作收件人已阅读。失败执行器子任务继续使用 067 原子重投标记;关联原生通知事件的死信统一从 outbox 补发,避免两个入口各发一遍。
|
|
23
|
+
|
|
24
|
+
状态包括 `pending`、`processing`、`completed`、`skipped`、`failed`、`uncertain`。人工重试沿用事件 ID,重置当前周期计数,保留累计处理次数。失败记录不会静默丢弃;本次未添加自动清除或历史归档策略。
|
|
25
|
+
|
|
26
|
+
## 查看和处置
|
|
27
|
+
|
|
28
|
+
控制台「任务 → 通知送达」按通知类型、状态查看摘要。只读角色可查看,具有 `runs:write` 权限的角色可以重新处理失败通知;未知送达必须先确认重复风险。操作不会重跑业务父任务。
|
|
29
|
+
|
|
30
|
+
管理 API 为 `GET /admin/api/notification-outbox` 和 `POST /admin/api/notification-outbox/{event_id}/retry`。重试需要 `kind` 与观察到的 `expected_status`;`uncertain` 还需 `allow_uncertain: true`。状态已改变返回 409,避免旧页面重复操作。缺少持久化端口的第三方仓储保留旧尽力发送兼容路径,API 返回能力不可用,不宣称完整持久化。
|
|
31
|
+
|
|
32
|
+
[运维指标](OPERATIONS.md)新增固定来源 `jobs` / `approvals` 的 outbox 可用性、各状态数量、最老待处理年龄和过期租约数。不同来源按种类分区,配置库和状态库共库时不重复统计。指标不含事件 ID、租户、收件人或正文标签。
|
|
33
|
+
|
|
34
|
+
## 迁移、回退和验证
|
|
35
|
+
|
|
36
|
+
新增 [068_notification_outbox.sql](../sql/068_notification_outbox.sql),不修改 067 及以前的迁移。升级前备份代码、配置、任务/审批数据库和 JSONL;迁移同时覆盖实际使用的状态与配置数据库。迁移只建表和增加可空关联列,不把旧终态或旧审批转换成新通知。
|
|
37
|
+
|
|
38
|
+
回退前先停止新接单和通知 worker,保存 outbox、死信和已有外部回执。旧版本不会处理新 outbox;恢复备份也不能撤销已送出的消息。必须以一致的代码/配置/数据库集合恢复,并核对已发送事件,不能通过删除通知记录或直接切旧代码宣称无损回退。发行和合成验证不代表生产升级或回滚演练,具体步骤见 [v0.9.4 升级指南](UPGRADE_v0.9.4.md)。
|
|
39
|
+
|
|
40
|
+
公开验证入口:
|
|
41
|
+
|
|
42
|
+
- [存储回归](../src/infrastructure/state/notification-outbox-storage.test.ts):JSONL 记录恢复、MySQL 同事务/回执丢失、租约隔离、审批和迁移保留。
|
|
43
|
+
- [通知运行回归](../src/app/notification-outbox.test.ts):本地接收端、强杀后同事件补发、已决审批跳过、原生未知态、子任务身份和旧 worker 确认隔离。
|
|
44
|
+
- [生命周期回归](../src/app/runtime-evidence-maintenance.test.ts):维护启动、停止与未完成工作排空。
|
|
45
|
+
- [管理 API 回归](../src/routes/admin-notifications.test.ts)和[旧死信入口回归](../src/routes/admin-runtime.test.ts):权限、摘要脱敏、并发状态改变和单一补发入口。
|
|
46
|
+
|
|
47
|
+
这些测试使用合成数据和本地接收端,不证明真实渠道可用性或生产收件。JSONL 同步落盘与 MySQL 提交的保障仍依赖底层存储;不覆盖磁盘损坏、任意旧扩展实现或未经验证的外部副作用。
|
package/docs/OPERATIONS.en.md
CHANGED
|
@@ -96,14 +96,24 @@ Primary metrics:
|
|
|
96
96
|
| `bailinghub_approvals_pending` | Tool approvals awaiting a decision |
|
|
97
97
|
| `bailinghub_executors` | Registered executors by online or offline heartbeat state |
|
|
98
98
|
| `bailinghub_audit_write_failures_total` | Audit-write failures observed by this process |
|
|
99
|
+
| `bailinghub_background_work_in_flight` / `bailinghub_background_work_oldest_pending_age_seconds` | Accepted background work and oldest in-flight age by fixed source / kind |
|
|
100
|
+
| `bailinghub_background_work_finished_total` | Continuation completion/failure outcomes observed by this owner, by fixed outcome |
|
|
101
|
+
| `bailinghub_background_work_last_run_timestamp_seconds` / `bailinghub_background_work_last_run_age_seconds` | Latest started / completed / failed time and age; timestamp=0 and no age sample when never observed |
|
|
102
|
+
| `bailinghub_background_draining` / `bailinghub_background_drain_timeouts_total` | Usage/notification tracker drain state and drain calls that exhausted their budget |
|
|
103
|
+
| `bailinghub_maintenance_last_page_records` / `bailinghub_maintenance_last_page_has_more` | Current/latest usage and approval continuation page progress; usage has_more=1 when the bounded page size is reached |
|
|
104
|
+
| `bailinghub_usage_maintenance_consecutive_failures` / `bailinghub_usage_maintenance_retry_after_seconds` | Bounded usage reconciliation failure streak and remaining retry backoff |
|
|
99
105
|
| `bailinghub_metrics_collector_available` | Whether each optional collector is implemented |
|
|
100
106
|
| `bailinghub_metrics_collector_success` | Whether each collector succeeded during this scrape |
|
|
101
107
|
| `bailinghub_metrics_scrape_duration_seconds` | Collection and rendering duration |
|
|
102
108
|
|
|
103
109
|
Labels are fixed and low-cardinality. They never include job IDs, tenants, principals, route arguments, or business payloads. If an optional collector times out or fails, the endpoint still returns the remaining metrics and sets that collector's `bailinghub_metrics_collector_success` to 0. Logs contain only the collector class and failure class, never exception text or business data. The JSONL state backend can expose job metrics; without the MySQL control-plane aggregation, `control_plane` is reported as unavailable.
|
|
104
110
|
|
|
111
|
+
The `maintenance` collector reads owner-local work snapshots and read-only notification outbox aggregates. It does not expose notification bodies, trigger reconciliation or call a model provider. Fixed sources are `usage`, `notification` and `approval`; kinds cover only existing model completion, settlement, response cleanup, usage reconciliation, reference price refresh, callbacks, delivery, approval notifications, alerts, delivery DLQ and approval continuation work. Completion counters describe Promise/continuation outcomes, not recipient delivery acknowledgements. An approval pass can complete with failed individual records; check the last-page `failed` sample as well. Counters reset when the process/owner is recreated. Last-page progress is not the persisted pending/unknown backlog or its oldest age, and has_more is not an exact backlog size. Unavailable optional modules do not emit invented zero samples.
|
|
112
|
+
|
|
105
113
|
At minimum, alert on collector failures, expired leases, sustained oldest-queue age above the service objective, increases in audit-write failures, expected executors becoming offline, and abnormal recent error or rejection ratios.
|
|
106
114
|
|
|
115
|
+
Also watch increases in failed background continuations or drain timeouts, sustained in-flight age beyond the work/shutdown objective, and recent-run age plus last-page failures to confirm maintenance is progressing.
|
|
116
|
+
|
|
107
117
|
Metrics feed external monitoring. They do not replace `/health/ready`, final business authorization, the audit ledger, or console diagnostics.
|
|
108
118
|
|
|
109
119
|
## 4. Concurrency And Database Connections
|
|
@@ -160,6 +170,9 @@ Recovery order:
|
|
|
160
170
|
- Approval intents remain durable in MySQL.
|
|
161
171
|
- Tool and model failures are recorded in job trace; retry behavior depends on route policy and error type.
|
|
162
172
|
- Security-critical tool audit is fail-closed. Best-effort operational audit must still feed metrics and alerts.
|
|
173
|
+
- Graceful close drains accepted callback, delivery, approval-notification, alert and DLQ continuations within the shared Kernel budget before closing database/channel resources. A timeout preserves resources for another close attempt. Background failure logs contain fixed work kinds only.
|
|
174
|
+
- Native delivery DLQs retain channel credentials. Custom `X-notify` DLQs requeue only the original failed notification child; queued acknowledges executor admission, not receipt. A permanent DLQ marker is saved atomically with admission, so repeated calls or lost resolve replies do not admit it again or rerun the business parent. Legacy entries are checked against the original job; binding conflicts return 409 and adapters without replay ports return 503.
|
|
175
|
+
- Historical v0.9.3 drain does not provide a complete SIGKILL-safe notification outbox. Core v0.9.4 adds [durable notifications](NOTIFICATION_DURABILITY.en.md) and migration 068: new terminal transitions and approval creation commit alongside intents, and recovery sends notifications without rerunning business tasks. Ordinary alerts and legacy adapters retain best-effort boundaries. Receivers deduplicate stable event IDs; partial or unknown receipt must not be blindly resent.
|
|
163
176
|
|
|
164
177
|
## 8. Security Baseline
|
|
165
178
|
|
|
@@ -180,3 +193,7 @@ Recovery order:
|
|
|
180
193
|
- A real `/run`, tool call, trace, and result delivery have completed.
|
|
181
194
|
- Backup restoration has been verified.
|
|
182
195
|
- Alerts cover queue backlog, error rate, executor offline state, and delivery dead letters.
|
|
196
|
+
|
|
197
|
+
### Core v0.9.4 durable-notification metrics
|
|
198
|
+
|
|
199
|
+
`bailinghub_notification_outbox_available{source}` reports durable port availability; `bailinghub_notification_outbox_records{source,status}` reports status counts. `bailinghub_notification_outbox_oldest_pending_age_seconds{source}` and `bailinghub_notification_outbox_expired_leases{source}` report oldest pending age and expired claims. Sources are fixed to `jobs` / `approvals`. These are store aggregates rather than owner-local counters. Unsupported stores emit available=0 without invented zero backlogs. Query errors follow collector failure/timeout handling and never trigger delivery. See [durable notifications](NOTIFICATION_DURABILITY.en.md) for migration 068 and recovery/rollback boundaries; historical v0.9.3 graceful drain alone does not provide this recovery.
|
package/docs/OPERATIONS.md
CHANGED
|
@@ -121,18 +121,27 @@ scrape_configs:
|
|
|
121
121
|
| `bailinghub_approvals_pending` | 待决策的工具审批数 |
|
|
122
122
|
| `bailinghub_executors` | 按 online / offline 统计的执行器数 |
|
|
123
123
|
| `bailinghub_audit_write_failures_total` | 当前进程累计审计写入失败数 |
|
|
124
|
+
| `bailinghub_background_work_in_flight` / `bailinghub_background_work_oldest_pending_age_seconds` | 按固定 source / kind 统计已接纳的后台工作及最老在途年龄 |
|
|
125
|
+
| `bailinghub_background_work_finished_total` | 当前 owner 的 continuation 完成/失败数,按固定 outcome 区分 |
|
|
126
|
+
| `bailinghub_background_work_last_run_timestamp_seconds` / `bailinghub_background_work_last_run_age_seconds` | 最近 started / completed / failed 时间及距今秒数;从未观察到时 timestamp=0,age 不输出 |
|
|
127
|
+
| `bailinghub_background_draining` / `bailinghub_background_drain_timeouts_total` | Usage/通知 tracker 的关闭排空状态及耗尽预算的 drain 调用次数 |
|
|
128
|
+
| `bailinghub_maintenance_last_page_records` / `bailinghub_maintenance_last_page_has_more` | 当前/最近一页 usage、审批续执行处理进度;usage 达到固定扫描页大小时 has_more=1 |
|
|
129
|
+
| `bailinghub_usage_maintenance_consecutive_failures` / `bailinghub_usage_maintenance_retry_after_seconds` | Usage 核对的有界连续失败数和退避剩余秒数 |
|
|
124
130
|
| `bailinghub_metrics_collector_available` | 状态库/控制面采集器是否实现 |
|
|
125
131
|
| `bailinghub_metrics_collector_success` | 对应采集器在本次抓取中是否成功 |
|
|
126
132
|
| `bailinghub_metrics_scrape_duration_seconds` | 本次聚合和渲染耗时 |
|
|
127
133
|
|
|
128
134
|
指标标签是固定、低基数集合,不包含 `job_id`、租户、主体、路由参数或业务载荷。单个可选采集器超时或失败时,端点仍返回其余指标,并把对应 `bailinghub_metrics_collector_success` 置为 0;日志只记录采集器类别和失败类型,不记录异常正文或业务数据。JSONL 状态后端可提供任务指标,但没有 MySQL 控制面聚合时,`control_plane` 会标记为不可用。
|
|
129
135
|
|
|
136
|
+
`maintenance` 采集器读取当前 owner 的维护内存快照,并对通知 outbox 读取只读聚合;不返回通知正文、不触发核对或模型请求。固定 source 为 `usage`、`notification`、`approval`;kind 只包含现有模型完成、结算、响应清理、usage 核对、价格刷新、回调、通知送达、审批通知、告警、送达 DLQ 和审批续执行。工作完成数统计 Promise/continuation 的终态,不等于接收方确认送达次数;一轮审批核对可完成但保留失败记录,应同时看 last_page 的 `failed`。进程/owner 重建会重置这些计数。last_page 不是数据库里 pending/unknown 的总数或最老年龄,`has_more=1` 也不是精确积压量;不可用的可选模块不输出伪造零数据。
|
|
137
|
+
|
|
130
138
|
建议至少告警:
|
|
131
139
|
|
|
132
140
|
- 任一已启用采集器的 `bailinghub_metrics_collector_success == 0`。
|
|
133
141
|
- `bailinghub_jobs_expired_leases > 0`。
|
|
134
142
|
- `bailinghub_queue_oldest_queued_age_seconds` 持续超过本业务的最大等待目标。
|
|
135
143
|
- `bailinghub_audit_write_failures_total` 增长。
|
|
144
|
+
- `bailinghub_background_work_finished_total{outcome="failed"}` 或 drain timeout 增长,后台在途年龄持续超出关闭/任务目标;使用最近运行 age 和 last_page 失败数判断维护是否持续推进。
|
|
136
145
|
- 预期在线的执行器进入 `offline`,或近期错误/拒绝终态占比异常升高。
|
|
137
146
|
|
|
138
147
|
指标是外部监控输入,不替代 `/health/ready`、业务系统最终授权、审计账本或控制台诊断。
|
|
@@ -208,6 +217,9 @@ scrape_configs:
|
|
|
208
217
|
- 审批等待:审批意图在数据库中持久化,不依赖实例内存。
|
|
209
218
|
- 外部工具或模型失败:任务记录错误与 trace,是否重试由路由和错误类型决定。
|
|
210
219
|
- 审计写入失败:安全关键工具调用按 fail-closed 处理;非关键运行事件不阻塞业务,但应进入运维告警与指标。
|
|
220
|
+
- 正常关闭:Kernel 按同一关闭预算等待已接受的回调、送达派生、审批通知、告警和 DLQ 插入,再释放数据库/渠道资源;排空超时保留资源,宿主可在工作完成后重试 `close()`。后台失败日志只报告固定工作类别。
|
|
221
|
+
- 送达死信重投:内置渠道继续通过渠道凭证发送;自定义 `X-notify` 死信只重排原失败通知子任务,回复 `queued` 表示已进入执行器队列。永久 DLQ 重投标记与原子入队一起保存,重复请求或 resolve 回包丢失不会重复入队,业务父任务不会重跑。旧死信按原 Job 验证承接器,绑定不符返回 409,旧扩展缺少重投端口返回 503;人工可检查原通知子任务。
|
|
222
|
+
- 历史 v0.9.3 的排空不提供 SIGKILL 后的全量通知 outbox。Core v0.9.4 增加[通知持久化](NOTIFICATION_DURABILITY.md)和 068 迁移:新终态/审批创建与意图同事务,重启仅补通知;普通告警及旧扩展保留尽力发送边界。接收方仍需按事件 ID 去重,部分或未知送达不能盲目重发。
|
|
211
223
|
|
|
212
224
|
## 8. 安全基线
|
|
213
225
|
|
|
@@ -229,3 +241,7 @@ scrape_configs:
|
|
|
229
241
|
- 至少跑通一次真实 `/run`、工具调用、trace 和结果回传。
|
|
230
242
|
- 已验证备份可恢复。
|
|
231
243
|
- 已设置队列积压、错误率、executor 离线和送达死信告警。
|
|
244
|
+
|
|
245
|
+
### Core v0.9.4 的持久通知指标
|
|
246
|
+
|
|
247
|
+
`bailinghub_notification_outbox_available{source}` 表示内置持久端口可用性;`bailinghub_notification_outbox_records{source,status}` 为各状态数量;`bailinghub_notification_outbox_oldest_pending_age_seconds{source}` 和 `bailinghub_notification_outbox_expired_leases{source}` 为最老待处理年龄及过期领取数。source 固定为 `jobs` / `approvals`。这些聚合从持久仓储读取,区别于重启后归零的后台 Promise 计数;旧扩展缺少能力时只输出 available=0,不捏造 backlog=0。查询失败沿用采集失败/超时状态,不触发补发。
|
package/docs/README.en.md
CHANGED
|
@@ -7,9 +7,15 @@ This directory contains public documentation for the open-source BailingHub proj
|
|
|
7
7
|
| Document | Purpose |
|
|
8
8
|
|---|---|
|
|
9
9
|
| [IMPLEMENTATION_STATUS.en.md](IMPLEMENTATION_STATUS.en.md) · [Chinese](IMPLEMENTATION_STATUS.md) | Core ownership, formal releases versus main, public evidence, and uncovered scope. |
|
|
10
|
+
| [RELEASE_NOTES_v0.9.4.en.md](RELEASE_NOTES_v0.9.4.en.md) · [Chinese](RELEASE_NOTES_v0.9.4.md) | v0.9.4: DOCX dependency remediation, durable notifications and console recovery. |
|
|
11
|
+
| [UPGRADE_v0.9.4.en.md](UPGRADE_v0.9.4.en.md) · [Chinese](UPGRADE_v0.9.4.md) | Explicit migration 068, state/configuration databases, event deduplication and rollback limits. |
|
|
12
|
+
| [NOTIFICATION_DURABILITY.en.md](NOTIFICATION_DURABILITY.en.md) · [Chinese](NOTIFICATION_DURABILITY.md) | Notification persistence, recovery, operator actions, persistent metrics and external delivery limits. |
|
|
13
|
+
| [DOCX_DEPENDENCY.en.md](DOCX_DEPENDENCY.en.md) · [Chinese](DOCX_DEPENDENCY.md) | Pinned Mammoth library provenance, CLI-chain removal and strict auditing. |
|
|
14
|
+
| [RELEASE_NOTES_v0.9.3.en.md](RELEASE_NOTES_v0.9.3.en.md) · [Chinese](RELEASE_NOTES_v0.9.3.md) | v0.9.3: bounded bodies, graceful notification close and original-notification DLQ replay, with maintenance metrics. |
|
|
15
|
+
| [UPGRADE_v0.9.3.en.md](UPGRADE_v0.9.3.en.md) · [Chinese](UPGRADE_v0.9.3.md) | Explicit migration 067, matching DLQ/state adapters, rollback manifests and preserved markers. |
|
|
10
16
|
| [RELEASE_NOTES_v0.9.2.en.md](RELEASE_NOTES_v0.9.2.en.md) · [Chinese](RELEASE_NOTES_v0.9.2.md) | v0.9.2: secure installation, automatic settlement and original approval continuation, with deployment diagnostics and process tests. |
|
|
11
17
|
| [UPGRADE_v0.9.2.en.md](UPGRADE_v0.9.2.en.md) · [Chinese](UPGRADE_v0.9.2.md) | Explicit migrations 065/066, matching adapters, original-record checks and rollback limits. |
|
|
12
|
-
| [CORE_RELIABILITY.en.md](CORE_RELIABILITY.en.md) · [Chinese](CORE_RELIABILITY.md) | Installation credentials,
|
|
18
|
+
| [CORE_RELIABILITY.en.md](CORE_RELIABILITY.en.md) · [Chinese](CORE_RELIABILITY.md) | Installation credentials, settlement/approval continuation, bounded bodies, notification close/replay and synthetic acceptance boundaries. |
|
|
13
19
|
| [RELEASE_NOTES_v0.9.1.en.md](RELEASE_NOTES_v0.9.1.en.md) · [Chinese](RELEASE_NOTES_v0.9.1.md) | v0.9.1: asynchronous usage shutdown fix, public capability index, and general security governance. |
|
|
14
20
|
| [UPGRADE_v0.9.1.en.md](UPGRADE_v0.9.1.en.md) · [Chinese](UPGRADE_v0.9.1.md) | 0.9.0 patch upgrade, original requests, artifact manifests, and shutdown acceptance; no new SQL/APIs. |
|
|
15
21
|
| [RELEASE_NOTES_v0.9.0.en.md](RELEASE_NOTES_v0.9.0.en.md) · [Chinese](RELEASE_NOTES_v0.9.0.md) | v0.9.0: optional model billing, shared allowances and image tools. |
|
package/docs/README.md
CHANGED
|
@@ -9,9 +9,15 @@
|
|
|
9
9
|
| 文档 | 用途 |
|
|
10
10
|
|---|---|
|
|
11
11
|
| [IMPLEMENTATION_STATUS.md](IMPLEMENTATION_STATUS.md) · [English](IMPLEMENTATION_STATUS.en.md) | Core 能力归属、正式发行与主分支状态、公开证据和未覆盖范围。 |
|
|
12
|
+
| [RELEASE_NOTES_v0.9.4.md](RELEASE_NOTES_v0.9.4.md) · [English](RELEASE_NOTES_v0.9.4.en.md) | v0.9.4:DOCX 依赖处置、通知持久化与控制台补发。 |
|
|
13
|
+
| [UPGRADE_v0.9.4.md](UPGRADE_v0.9.4.md) · [English](UPGRADE_v0.9.4.en.md) | 068 显式迁移、状态/配置库、事件去重和回退限制。 |
|
|
14
|
+
| [NOTIFICATION_DURABILITY.md](NOTIFICATION_DURABILITY.md) · [English](NOTIFICATION_DURABILITY.en.md) | 通知保存、恢复、人工处置、持久指标和外部送达边界。 |
|
|
15
|
+
| [DOCX_DEPENDENCY.md](DOCX_DEPENDENCY.md) · [English](DOCX_DEPENDENCY.en.md) | 固定 Mammoth 库来源、CLI 链移除和严格审计。 |
|
|
16
|
+
| [RELEASE_NOTES_v0.9.3.md](RELEASE_NOTES_v0.9.3.md) · [English](RELEASE_NOTES_v0.9.3.en.md) | v0.9.3:有限收包、通知关闭与原通知死信重投,含维护指标。 |
|
|
17
|
+
| [UPGRADE_v0.9.3.md](UPGRADE_v0.9.3.md) · [English](UPGRADE_v0.9.3.en.md) | 067 显式迁移、配套 DLQ/state 仓储、回退 manifest 与标记保留。 |
|
|
12
18
|
| [RELEASE_NOTES_v0.9.2.md](RELEASE_NOTES_v0.9.2.md) · [English](RELEASE_NOTES_v0.9.2.en.md) | v0.9.2:安全安装、自动结算与原审批补续,含部署诊断与进程回归。 |
|
|
13
19
|
| [UPGRADE_v0.9.2.md](UPGRADE_v0.9.2.md) · [English](UPGRADE_v0.9.2.en.md) | 065/066显式迁移、配套仓储、原记录核对及回退限制。 |
|
|
14
|
-
| [CORE_RELIABILITY.md](CORE_RELIABILITY.md) · [English](CORE_RELIABILITY.en.md) |
|
|
20
|
+
| [CORE_RELIABILITY.md](CORE_RELIABILITY.md) · [English](CORE_RELIABILITY.en.md) | 安装凭据、结算/审批补续、有限收包、通知关闭/重投与合成验收边界。 |
|
|
15
21
|
| [RELEASE_NOTES_v0.9.1.md](RELEASE_NOTES_v0.9.1.md) · [English](RELEASE_NOTES_v0.9.1.en.md) | v0.9.1:异步 usage 关闭修复、公开能力索引与通用安全治理。 |
|
|
16
22
|
| [UPGRADE_v0.9.1.md](UPGRADE_v0.9.1.md) · [English](UPGRADE_v0.9.1.en.md) | 0.9.0 补丁升级、原请求核对、制品 manifest 与关闭验收;无新增 SQL/API。 |
|
|
17
23
|
| [RELEASE_NOTES_v0.9.0.md](RELEASE_NOTES_v0.9.0.md) · [English](RELEASE_NOTES_v0.9.0.en.md) | v0.9.0:可选模型计费、统一套餐额度与文生图工具。 |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Current release: Core 0.9.
|
|
1
|
+
# Current release: Core 0.9.4
|
|
2
2
|
|
|
3
|
-
Core 0.9.
|
|
3
|
+
Core 0.9.4 removes the unused DOCX CLI dependency chain and adds durable notifications for new terminal transitions and approval prompts, bundled console retry and persistent metrics. Explicitly apply 068; receivers deduplicate event IDs, unknown receipt requires operator verification, and business parents are not rerun. SDK 0.7.0 / DSH 0.7.0 remain unchanged; independent consumers upgrade separately.
|
|
4
4
|
|
|
5
|
-
[Core 0.9.
|
|
5
|
+
[Core 0.9.4 release notes](RELEASE_NOTES_v0.9.4.en.md) · [Upgrade guide](UPGRADE_v0.9.4.en.md) · [Notification contract](NOTIFICATION_DURABILITY.en.md) · [简体中文](RELEASE_NOTES_NEXT.md)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# 当前版本:Core 0.9.
|
|
1
|
+
# 当前版本:Core 0.9.4
|
|
2
2
|
|
|
3
|
-
Core 0.9.
|
|
3
|
+
Core 0.9.4 移除 DOCX 未使用的 CLI 依赖链,增加新任务终态与审批提示的持久通知、自带控制台补发和持久指标。升级须显式应用 068;接收方按事件 ID 去重,未知送达人工核对,不重跑业务父任务。SDK 0.7.0 / DSH 0.7.0 不变,独立消费者另行升级。
|
|
4
4
|
|
|
5
|
-
[Core 0.9.
|
|
5
|
+
[Core 0.9.4 版本说明](RELEASE_NOTES_v0.9.4.md) · [升级指南](UPGRADE_v0.9.4.md) · [通知契约](NOTIFICATION_DURABILITY.md) · [English](RELEASE_NOTES_NEXT.en.md)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# v0.9.3: bounded bodies and reliable notification shutdown
|
|
2
|
+
|
|
3
|
+
[简体中文](RELEASE_NOTES_v0.9.3.md)
|
|
4
|
+
|
|
5
|
+
Version date: 2026-10-14. A patch update from public Core 0.9.2.
|
|
6
|
+
|
|
7
|
+
Core previously buffered a complete oversized tool response or remote attachment before rejecting it. Graceful shutdown could release resources before callbacks, notifications or dead-letter records finished, and executor-notification replay could select a native channel incorrectly. BailingHub 0.9.3 fixes these boundaries and adds read-only visibility into existing maintenance.
|
|
8
|
+
|
|
9
|
+
## Fixes
|
|
10
|
+
|
|
11
|
+
### Enforce HTTP and attachment limits while reading
|
|
12
|
+
|
|
13
|
+
Business-tool HTTP bodies have a separate default **5 MiB** transport budget. Excessive `Content-Length` allows early rejection; absent or understated lengths and compressed responses still undergo chunk-by-chunk checks of actual fetch-decoded bytes. Overflow requests cancellation and discards partial contents. Model views default to **8 KiB** and audit payloads use **64 KiB**, now measured as UTF-8 bytes rather than character counts.
|
|
14
|
+
|
|
15
|
+
Remote files retain configured `max_bytes` (**20 MiB** by default), and channel attachments have a **20 MiB** download budget, both checked during reading. Download bounds do not guarantee archive-expansion or parser resource usage.
|
|
16
|
+
|
|
17
|
+
HTTP 200 headers and partial contents do not establish a completed write. A dispatched write with body loss or overflow retains its original Job / invocation, idempotency identity and unknown outcome without automatic redispatch.
|
|
18
|
+
|
|
19
|
+
### Drain actual notification work during graceful close
|
|
20
|
+
|
|
21
|
+
Each Kernel tracks actual callback, delivery, approval-webhook, alert and DLQ work, draining it before resource closure within the shared close budget. Accepted work can register child continuations. Standalone also waits for already-started maintenance producers after stopping timers. Timeouts retain same-instance work and dependencies for a later `close()` attempt.
|
|
22
|
+
|
|
23
|
+
This covers graceful shutdown; completing a drain does not mean every message was delivered. This release does not provide a durable outbox for all notification intents or promise complete HTTP notification recovery after SIGKILL.
|
|
24
|
+
|
|
25
|
+
### Replay the original executor notification child
|
|
26
|
+
|
|
27
|
+
Native channels retain native delivery. Executor DLQs verify kind, original child, recipient and content before requeueing that notification child, retaining full input and request/job identities without rerunning its business parent.
|
|
28
|
+
|
|
29
|
+
Admission and a permanent marker are saved atomically for the same DLQ. Concurrent retries, a lost admission acknowledgement or failed resolve cannot admit it again. `queued` acknowledges admission, not recipient receipt; a later failed execution creates a new DLQ that may be handled separately. Conflicting bindings fail explicitly. Unsupported custom adapters return unavailable rather than using the wrong channel. JSONL remains single-writer.
|
|
30
|
+
|
|
31
|
+
## Additional maintenance metrics
|
|
32
|
+
|
|
33
|
+
The existing optional `/metrics` endpoint adds in-flight work and oldest age, completed/failed totals, recent-run timestamps, drain state/timeouts, latest settlement/approval page progress and settlement backoff.
|
|
34
|
+
|
|
35
|
+
The maintenance collector reads owner-local memory without querying business details, triggering reconciliation or contacting models. Labels use fixed categories, excluding account, principal, job, payload and credential data. Counters reset with owner recreation. Latest-page progress is not persisted total backlog, and continuation completion is not a receipt acknowledgement. See [operations](OPERATIONS.en.md).
|
|
36
|
+
|
|
37
|
+
## Who should upgrade
|
|
38
|
+
|
|
39
|
+
- **Core operators** using business HTTP tools, remote attachments, notifications or DLQs should upgrade. Preserve configuration, data, queue state and rollback artifacts before explicitly applying 067.
|
|
40
|
+
- **Embedded and custom-adapter developers** retain fair `tick()` calls and `close(drainMs)`. Executor replay requires matching `ensureExecutorReplay`, `RuntimeStateStore.requeueDeliveryJobOnce` and atomic semantics.
|
|
41
|
+
- **Business-backend and client integrators** retain original invocation identities, business idempotency and final authorization, and check response download budgets. MCP / Agent Client SDK 0.7.0 and DSH 0.7.0 remain unchanged. ACC, clients and independent Hosts release and deploy separately, outside this Core patch.
|
|
42
|
+
|
|
43
|
+
## Upgrade, verify and understand limits
|
|
44
|
+
|
|
45
|
+
Since 0.9.2, `067_delivery_dlq_replay.sql` adds DLQ kind, original notification child/replay identity and a separate Job admission marker. Apply 067 through the official explicit migrator before all new Core MySQL DLQ reads/writes, including native-channel record/get; startup does not migrate automatically. Legacy rows are not bulk-classified by guesswork; replay verifies original jobs. See the [upgrade guide](UPGRADE_v0.9.3.en.md).
|
|
46
|
+
|
|
47
|
+
Public regressions cover bounded bodies, Unicode budgets, unknown write outcomes, graceful close, original notification replay and metrics isolation. Dedicated MySQL tests cover upgrading from 0.9.2, concurrent admission, acknowledgement exceptions after real COMMIT, failed resolve and store reopening. Notification tests check storage interruption boundaries, not actual process killing, live-channel receipt or production acceptance. See [reliability and regression entry points](CORE_RELIABILITY.en.md).
|
|
48
|
+
|
|
49
|
+
Dependency versions are unchanged. The existing exact Mammoth library-only audit exception still expires at **2026-11-09 00:00 UTC**, without broadening or renewal; this does not claim an advisory-free dependency audit.
|
|
50
|
+
|
|
51
|
+
[Upgrade guide](UPGRADE_v0.9.3.en.md) · [Full changelog](CHANGELOG.en.md) · [Capability and evidence index](IMPLEMENTATION_STATUS.en.md) · [Previous release](RELEASE_NOTES_v0.9.2.en.md)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# v0.9.3:有限收包与通知可靠收尾
|
|
2
|
+
|
|
3
|
+
[English](RELEASE_NOTES_v0.9.3.en.md)
|
|
4
|
+
|
|
5
|
+
版本日期:2026-10-14。相对公开 Core 0.9.2 的补丁更新。
|
|
6
|
+
|
|
7
|
+
业务工具返回过大正文,或远程附件超过限额时,Core 过去会先收完整包再拒绝。一次正常关闭也可能在回调、通知或死信记录完成前释放资源;执行器通知的死信重投则可能走错原生渠道。百灵中枢(BailingHub)0.9.3 修复这些边界,并让既有后台维护进度可被只读观察。
|
|
8
|
+
|
|
9
|
+
## 修复了什么
|
|
10
|
+
|
|
11
|
+
### 收包时执行 HTTP 与附件限额
|
|
12
|
+
|
|
13
|
+
业务工具 HTTP 正文新增独立的默认 **5 MiB** 传输预算。过大的 `Content-Length` 可以提前拒绝;缺少、低报长度或压缩响应仍按 fetch 解码后的实际字节逐块检查。超限请求取消下载,丢弃部分正文。模型回流默认 **8 KiB** 和审计载荷 **64 KiB** 的预算分别按 UTF-8 字节截断,不再把字符数当字节数。
|
|
14
|
+
|
|
15
|
+
远程文件沿用配置的 `max_bytes`(默认 **20 MiB**),渠道附件下载为 **20 MiB**,均在收包时检查。下载预算不保证压缩包展开或解析器的资源用量。
|
|
16
|
+
|
|
17
|
+
HTTP 200 响应头和部分正文不是已完成写入的证据。已尝试外发的写操作遇到正文超限或丢失时,继续保留原 Job / invocation、幂等标识和结果未知状态,不自动重发。
|
|
18
|
+
|
|
19
|
+
### 正常关闭等待通知的实际收尾
|
|
20
|
+
|
|
21
|
+
每个 Kernel 登记回调、送达派生、审批 webhook、告警和 DLQ 写入的实际工作,在释放资源前按共同关闭预算排空;已接受的工作可以登记后续子工作。standalone 停止定时器后也等待已开始的维护生产者。超时保留同实例工作和依赖,等待后可重试 `close()`。
|
|
22
|
+
|
|
23
|
+
这是正常关闭保证,完成排空不等于每条消息成功送达。本版未建立覆盖全部通知意图的持久 outbox,不能承诺 SIGKILL 后全部 HTTP 通知自动补投。
|
|
24
|
+
|
|
25
|
+
### 执行器死信重投原通知子任务
|
|
26
|
+
|
|
27
|
+
原生渠道仍使用原生送达。执行器通知死信先核对类型、原通知子任务、收件人和内容,再重排原通知子任务;保留其完整输入、request/job 标识,不能重跑业务父任务。
|
|
28
|
+
|
|
29
|
+
同一死信的入队和持久标记原子保存,并发请求、入队成功但确认丢失或 resolve 失败不会再次入队。返回 `queued` 只表示入队,不表示收件方已收到;再次执行失败形成的新死信可另行处理。绑定冲突明确失败,自定义仓储未配套时返回 unavailable,不降级到错误渠道。JSONL 仍只支持单 writer。
|
|
30
|
+
|
|
31
|
+
## 新增后台维护指标
|
|
32
|
+
|
|
33
|
+
既有可选 `/metrics` 端点新增后台在途数、最老在途年龄、完成/失败数、最近运行时间、排空状态与超时数,以及结算/审批最近一页进度和结算退避。
|
|
34
|
+
|
|
35
|
+
维护采集器只读 owner 内存,不查询业务明细、不触发核对或模型请求。标签仅使用固定类别,不包含账号、主体、任务、正文或凭据。计数随 owner 重建重置;最近一页进度不是持久积压总量,工作完成数不是收件方确认数。见[运维指标](OPERATIONS.md)。
|
|
36
|
+
|
|
37
|
+
## 谁需要升级
|
|
38
|
+
|
|
39
|
+
- **Core 管理员**:使用业务 HTTP 工具、远程附件、通知或 DLQ 的部署,建议升级;先保留配置、数据、队列和回滚制品,再显式应用 067。
|
|
40
|
+
- **嵌入式及自定义仓储开发者**:继续公平调用 `tick()` 和使用 `close(drainMs)`;执行器重投需配套 `ensureExecutorReplay`、`RuntimeStateStore.requeueDeliveryJobOnce` 及其原子语义。
|
|
41
|
+
- **业务后端及客户端接入方**:保留原调用标识、业务幂等和最终权限;确认工具正文符合下载预算。MCP / Agent Client SDK 0.7.0、DSH 0.7.0 不变。ACC、客户端和独立 Host 各自发行、部署,不包含在本次 Core 补丁中。
|
|
42
|
+
|
|
43
|
+
## 升级、验证与未覆盖范围
|
|
44
|
+
|
|
45
|
+
相对 0.9.2 新增 `067_delivery_dlq_replay.sql`,为 DLQ 保存类型、原通知子任务与重投标识,为 Job 保存独立入队标记。启动新 Core 的全部 MySQL DLQ 读写前必须使用官方显式迁移器应用 067,包括原生渠道 record/get;启动不自动迁移。旧数据不批量猜测类型,重投时核对原任务。见[升级指南](UPGRADE_v0.9.3.md)。
|
|
46
|
+
|
|
47
|
+
公开回归涵盖有限收包、Unicode 预算、未知写结果、正常关闭、原通知重投和指标隔离;专用 MySQL 专项覆盖从 0.9.2 升级、并发及真实 COMMIT 后的确认异常、resolve 失败和仓储重开。通知专项是仓储断点测试,不是实际杀进程、真实渠道送达或生产验收。见[可靠性契约与回归入口](CORE_RELIABILITY.md)。
|
|
48
|
+
|
|
49
|
+
依赖版本未更新。既有 Mammoth library-only 精确审计例外仍于 **2026-11-09 00:00 UTC** 到期,未扩大或续期;这不是全量依赖审计无告警的声明。
|
|
50
|
+
|
|
51
|
+
[升级指南](UPGRADE_v0.9.3.md) · [完整版本记录](CHANGELOG.md) · [能力与证据索引](IMPLEMENTATION_STATUS.md) · [上一版本](RELEASE_NOTES_v0.9.2.md)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# v0.9.4: DOCX dependency remediation and durable notifications
|
|
2
|
+
|
|
3
|
+
[简体中文](RELEASE_NOTES_v0.9.4.md)
|
|
4
|
+
|
|
5
|
+
Version date: 2026-10-15. A patch from public Core 0.9.3.
|
|
6
|
+
|
|
7
|
+
An after-sales task finishes, but Core is killed before sending its result notification. Rerunning the business task could issue a second refund, while graceful shutdown alone cannot recover this gap. BailingHub 0.9.4 commits terminal state and notification intent together in built-in stores, then resumes the original notification while preserving the business result. It also removes an unused vulnerable CLI dependency chain from DOCX parsing and adds notification operations to its bundled console.
|
|
8
|
+
|
|
9
|
+
## Fixes
|
|
10
|
+
|
|
11
|
+
### Retain the DOCX parser and remove its CLI dependency chain
|
|
12
|
+
|
|
13
|
+
Core file context and console knowledge-base import retain Mammoth 1.12.0's original parsing sources. The explicitly modified `@bailinghub/mammoth-library@1.12.0-bailinghub.1` distribution keeps upstream library sources, types, browser adaptations and the BSD-2-Clause license, while removing the unused CLI and `argparse → sprintf-js` chain.
|
|
14
|
+
|
|
15
|
+
Core, console, source exports and Docker use one pinned archive; the npm artifact bundles the library and its runtime dependencies. The former temporary audit exception is retired. Gates require zero raw findings in both dependency trees and separately query direct advisories under the original `mammoth@1.12.0` identity. Provenance integrity and individual source files are publicly verifiable. This remediates this project's distribution, not upstream sprintf-js, and does not establish that arbitrary DOCX files are safe. See [DOCX dependency verification](DOCX_DEPENDENCY.en.md).
|
|
16
|
+
|
|
17
|
+
### Persist business results and notification intents together
|
|
18
|
+
|
|
19
|
+
The MySQL state store commits terminal Job state and notification intents together. Approval creation and its notification share a transaction in the owning configuration database, which may be separate. JSONL stores both in one synced record and remains a single-writer implementation.
|
|
20
|
+
|
|
21
|
+
Coverage includes callbacks from new terminal transitions, configured result delivery, approval prompts and dead-letter recording for failed notification children. Startup and maintenance recover pending intents with bounded batches, leases, retries and stale-worker fencing. Historical completed tasks or old pending approvals are not bulk-converted into new notifications, and notification recovery never reruns the business parent. Ordinary monitoring alerts and legacy adapters without durable ports remain best effort.
|
|
22
|
+
|
|
23
|
+
Webhooks wait for real HTTP responses and identify the original event through `X-Bailing-Event-Id` and signed-body `notification_event_id`. Lost acknowledgements can cause redelivery; receivers must deduplicate. Exhausted retry cycles retain failed records, so at-least-once semantics do not promise unlimited retries or guaranteed receipt. Native partial/unknown delivery or expired in-flight claims become `uncertain`, requiring receiver verification before manual handling. See [durable notifications](NOTIFICATION_DURABILITY.en.md).
|
|
24
|
+
|
|
25
|
+
## Bundled console and persistent metrics
|
|
26
|
+
|
|
27
|
+
The bundled console's Tasks notification view provides type/status filters, summaries and failed-event retry. Reading requires `runs:read`; retry requires `runs:write`, and unknown receipt requires explicit confirmation of duplicate risk. The admin API compares the observed state before mutation and handles only the notification, never business re-execution.
|
|
28
|
+
|
|
29
|
+
The optional protected `/metrics` endpoint adds outbox availability, status counts, oldest pending age and expired lease counts under fixed `jobs` / `approvals` sources. It reads persistent aggregates without body, recipient, event or tenant labels, and does not invent zero backlogs for unsupported stores. Automatic cleanup and historical archival are not included; operators should monitor growth.
|
|
30
|
+
|
|
31
|
+
## Upgrade and boundaries
|
|
32
|
+
|
|
33
|
+
- **Core operators:** back up original artifacts, configuration, state/configuration databases and JSONL, then explicitly apply `068_notification_outbox.sql`. Both independent state and configuration databases need migration. `npm run db:init` handles only the configured MySQL state database; use the official migration API separately for an independent configuration database.
|
|
34
|
+
- **Embedded and custom-store developers:** use matching built-in stores or implement the optional durable ports' transaction/lease semantics. Continue existing `tick()` and `close(drainMs)` calls. Legacy third-party stores do not gain a durability guarantee through the compatibility path.
|
|
35
|
+
- **Notification receivers:** deduplicate stable event IDs and verify external outcomes. Notification `completed` may mean handoff to a durable executor, not a person reading it. Native-event-linked dead letters recover through the outbox only; 067's original executor-notification replay remains available.
|
|
36
|
+
- **Independent projects:** MCP / Agent Client SDK 0.7.0 and DSH 0.7.0 remain unchanged. ACC, clients, independent Hosts and individual deployments release or upgrade separately.
|
|
37
|
+
|
|
38
|
+
Migration 068 creates the outbox and adds a nullable dead-letter event reference with a unique index. Migration 067 and earlier files are unchanged, and historical notifications are not invented. Old code cannot process the new outbox or undo sent messages; preserve events, dead letters, receipts and migration history, using a consistent backup and reconciliation procedure. See the [upgrade guide](UPGRADE_v0.9.4.en.md).
|
|
39
|
+
|
|
40
|
+
Public regressions cover upstream parsing compatibility, real npm consumers, browser console behavior, actual JSONL SIGKILL, MySQL transactions/lost acknowledgements, lease fencing, approvals, migration 067 to 068 and original-notification replay. They use synthetic data and local receivers, not live-channel receipt, deployment acceptance or production rollback drills. They do not guarantee recovery from disk corruption or unverified external effects.
|
|
41
|
+
|
|
42
|
+
[Upgrade guide](UPGRADE_v0.9.4.en.md) · [Full changelog](CHANGELOG.en.md) · [Capability and evidence index](IMPLEMENTATION_STATUS.en.md) · [Previous release](RELEASE_NOTES_v0.9.3.en.md)
|