bailinghub 0.9.3 → 0.10.0
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 +8 -8
- package/docker-compose.images.yml +2 -2
- package/docs/AGENT_CLIENT_QUICKSTART.en.md +1 -3
- package/docs/AGENT_CLIENT_QUICKSTART.md +1 -1
- package/docs/AGENT_CLIENT_RUNTIME_API.en.md +87 -2
- package/docs/AGENT_CLIENT_RUNTIME_API.md +36 -2
- package/docs/AGENT_KNOWLEDGE_API.en.md +77 -0
- package/docs/AGENT_KNOWLEDGE_API.md +86 -0
- package/docs/AGENT_TASK_CONTROL.md +4 -4
- package/docs/AGENT_TASK_CONTROL_FOUNDATION.md +1 -1
- package/docs/ARCHITECTURE.md +4 -0
- package/docs/CHANGELOG.en.md +24 -1
- package/docs/CHANGELOG.md +24 -1
- package/docs/COMPATIBILITY.en.md +27 -1
- package/docs/CONTRACT.en.md +1 -1
- package/docs/CONTRACT.md +1 -1
- 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 +6 -4
- package/docs/INDEPENDENT_VALIDATION.md +6 -4
- package/docs/INTEGRATION_WALKTHROUGH.md +65 -0
- package/docs/MODEL_BILLING.en.md +2 -0
- package/docs/MODEL_BILLING.md +6 -2
- package/docs/MODEL_CONTINUATION.en.md +54 -0
- package/docs/MODEL_CONTINUATION.md +54 -0
- package/docs/MODEL_OUTPUT_BUDGET.en.md +69 -0
- package/docs/MODEL_OUTPUT_BUDGET.md +69 -0
- package/docs/NOTIFICATION_DURABILITY.en.md +47 -0
- package/docs/NOTIFICATION_DURABILITY.md +47 -0
- package/docs/OPERATIONS.en.md +22 -6
- package/docs/OPERATIONS.md +22 -6
- package/docs/QUICKSTART.md +1 -1
- package/docs/README.en.md +9 -0
- package/docs/README.md +9 -0
- package/docs/RELEASE_NOTES_NEXT.en.md +3 -3
- package/docs/RELEASE_NOTES_NEXT.md +3 -3
- package/docs/RELEASE_NOTES_v0.10.0.en.md +58 -0
- package/docs/RELEASE_NOTES_v0.10.0.md +58 -0
- package/docs/RELEASE_NOTES_v0.9.4.en.md +42 -0
- package/docs/RELEASE_NOTES_v0.9.4.md +42 -0
- package/docs/UPGRADE_PLAN.en.md +118 -0
- package/docs/UPGRADE_PLAN.md +124 -0
- package/docs/UPGRADE_v0.10.0.en.md +47 -0
- package/docs/UPGRADE_v0.10.0.md +47 -0
- package/docs/UPGRADE_v0.9.4.en.md +57 -0
- package/docs/UPGRADE_v0.9.4.md +57 -0
- package/docs//345/205/274/345/256/271/346/200/247/344/270/216/345/215/207/347/272/247.md +38 -22
- 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 +18 -7
- package/schemas/tool-definition.schema.json +13 -0
- package/scripts/check-doc-links.mjs +6 -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/doctor-upgrade-plan.test.ts +205 -0
- package/scripts/doctor-upgrade-plan.ts +276 -0
- package/scripts/doctor.ts +4 -1
- 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/e2e-console-approval-details.mjs +134 -0
- package/scripts/e2e-console-config-races.mjs +180 -0
- package/scripts/e2e-console-kb-audit.mjs +170 -0
- package/scripts/e2e-console-operations-audit.mjs +152 -0
- package/scripts/e2e-console-runtime-audit.mjs +179 -0
- package/scripts/e2e-console-settings-audit.mjs +125 -0
- package/scripts/e2e-console-troubleshooting-extra.mjs +267 -0
- package/scripts/e2e-console.mjs +476 -7
- 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/068_notification_outbox.sql +28 -0
- package/sql/README.en.md +8 -0
- package/sql/README.md +8 -0
- package/src/app/agent-client-runtime.test.ts +115 -2
- package/src/app/agent-client-runtime.ts +40 -11
- package/src/app/agent-knowledge.test.ts +171 -0
- package/src/app/agent-knowledge.ts +233 -0
- package/src/app/agent-tool-catalog-revision.test.ts +31 -0
- package/src/app/agent-tool-invocations.test.ts +7 -2
- package/src/app/agent-tool-invocations.ts +67 -7
- package/src/app/approval-continuations.mysql.test.ts +1 -1
- package/src/app/approval-continuations.test.ts +49 -1
- package/src/app/delivery-dlq-replay.mysql.test.ts +2 -2
- package/src/app/delivery.ts +115 -1
- package/src/app/engine.ts +5 -4
- package/src/app/http.test.ts +16 -1
- package/src/app/http.ts +3 -3
- package/src/app/kernel-boot-recovery.mysql.test.ts +132 -0
- package/src/app/kernel-boot-recovery.test.ts +157 -0
- package/src/app/kernel-usage-lifecycle.mysql.test.ts +1 -1
- package/src/app/kernel.ts +20 -8
- package/src/app/notification-outbox.test.ts +321 -0
- package/src/app/notification-outbox.ts +123 -0
- package/src/app/operational-metrics.test.ts +15 -0
- package/src/app/operational-metrics.ts +9 -0
- package/src/app/outbound.ts +28 -0
- package/src/app/readiness.mysql.test.ts +120 -0
- package/src/app/readiness.test.ts +111 -26
- package/src/app/readiness.ts +26 -22
- package/src/app/runtime-evidence-maintenance.test.ts +34 -1
- package/src/app/runtime-lifecycle-default.ts +7 -0
- package/src/app/runtime-lifecycle.ts +42 -3
- package/src/app/tool-approvals.test.ts +83 -0
- package/src/app/tool-approvals.ts +89 -34
- package/src/app/tool-proxy-payload.test.ts +81 -0
- package/src/app/tool-proxy.ts +24 -2
- package/src/core/config/console-diagnostic-location.test.ts +36 -0
- package/src/core/config/console-form-guard.test.ts +69 -0
- package/src/core/config/console-task-location.test.ts +64 -0
- package/src/core/contracts/delivery-replay.ts +1 -0
- package/src/core/contracts/notification-outbox.ts +54 -0
- package/src/core/contracts/openapi-tools.ts +16 -5
- package/src/core/contracts/schema-readiness.ts +11 -0
- package/src/core/contracts/tool-definition.ts +26 -0
- package/src/core/contracts/tool-guidance.test.ts +77 -0
- package/src/core/contracts/tool-guidance.ts +31 -0
- package/src/core/contracts/tool-input-limits.ts +15 -0
- package/src/core/contracts/tools-idempotency.test.ts +90 -0
- package/src/core/contracts/tools.ts +52 -9
- package/src/core/observability/openmetrics.test.ts +18 -0
- package/src/core/observability/openmetrics.ts +17 -0
- package/src/core/runtime/agent-execution-memory.test.ts +64 -0
- package/src/core/runtime/agent-execution-memory.ts +63 -0
- package/src/core/runtime/finish-runtime.test.ts +20 -0
- package/src/core/runtime/finish-runtime.ts +13 -5
- package/src/core/runtime/inhub-runtime.ts +10 -2
- package/src/core/runtime/notification-outbox-work.ts +15 -0
- package/src/core/state/notification-outbox.ts +66 -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 +26 -13
- package/src/infrastructure/config/config-observability-ledger.ts +2 -0
- package/src/infrastructure/config/configstore.ts +8 -4
- package/src/infrastructure/schema/schema-readiness.ts +29 -0
- 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 +64 -13
- package/src/infrastructure/state/state-mysql.ts +39 -5
- package/src/modules/usage/contracts.ts +7 -0
- package/src/modules/usage/http.ts +2 -0
- package/src/modules/usage/model-continuation.test.ts +109 -0
- package/src/modules/usage/model-gateway.ts +5 -1
- package/src/modules/usage/output-budget.mysql.test.ts +84 -0
- package/src/modules/usage/output-budget.test.ts +167 -0
- package/src/modules/usage/output-budget.ts +73 -0
- package/src/modules/usage/provider-stream.test.ts +22 -0
- package/src/modules/usage/provider.ts +2 -3
- package/src/modules/usage/repository.ts +6 -0
- package/src/modules/usage/test-harness.ts +4 -2
- package/src/routes/admin-approval-view.test.ts +109 -0
- package/src/routes/admin-approval-view.ts +36 -0
- package/src/routes/admin-notifications.test.ts +75 -0
- package/src/routes/admin-notifications.ts +77 -0
- package/src/routes/admin-readiness.test.ts +52 -0
- package/src/routes/admin-runtime-ux.test.ts +51 -0
- package/src/routes/admin-runtime-ux.ts +25 -0
- package/src/routes/admin-runtime.test.ts +25 -0
- package/src/routes/admin-runtime.ts +51 -8
- package/src/routes/admin.ts +10 -0
- package/src/routes/agent-api.test.ts +80 -1
- package/src/routes/agent-api.ts +63 -4
- package/src/routes/agent-tool-detail.test.ts +140 -0
- package/src/routes/public-default.ts +1 -1
- package/src/services/kb-agent.test.ts +84 -0
- package/src/services/kb.ts +73 -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-CjIBO3sU.css +1 -0
- package/web/console/assets/Accounts-Dhyw-7wF.js +3 -0
- package/web/console/assets/AgentClients-BA0M26-I.css +1 -0
- package/web/console/assets/AgentClients-DWxb8-ko.js +1 -0
- package/web/console/assets/AgentTasks-DOyxANnx.css +1 -0
- package/web/console/assets/AgentTasks-DUHD4dzr.js +2 -0
- package/web/console/assets/Approvals-Brl-2uJq.css +1 -0
- package/web/console/assets/Approvals-CQx1YWxW.js +1 -0
- package/web/console/assets/Audit--QcdVlMh.js +1 -0
- package/web/console/assets/Audit-DAdmOnIs.css +1 -0
- package/web/console/assets/{BrandLockup-BgASiRSE.js → BrandLockup-DQcaW4Nt.js} +1 -1
- package/web/console/assets/Channels-DJJU3ksE.css +1 -0
- package/web/console/assets/Channels-cGS5WfQ-.js +105 -0
- package/web/console/assets/ChatEntries-BYpji27B.css +1 -0
- package/web/console/assets/ChatEntries-nh23Iz5O.js +7 -0
- package/web/console/assets/Clients-CX5EeYio.js +3 -0
- package/web/console/assets/Clients-CbZAou8E.css +1 -0
- package/web/console/assets/Cost-C6oQvz9P.css +1 -0
- package/web/console/assets/Cost-DOZfdNS9.js +1 -0
- package/web/console/assets/Credentials--aHs57yV.css +1 -0
- package/web/console/assets/Credentials-sy6W9Sac.js +1 -0
- package/web/console/assets/Diagnostics-CKs27Dnv.css +1 -0
- package/web/console/assets/Diagnostics-CyoM1XrZ.js +1 -0
- package/web/console/assets/Executors-2Upi6bOS.css +1 -0
- package/web/console/assets/Executors-BQqqiFwt.js +1 -0
- package/web/console/assets/HelpTip-DLlhaGQp.js +1 -0
- package/web/console/assets/HelpTip-bbDEyuqV.css +1 -0
- package/web/console/assets/Kb-5R3ce4UU.js +5 -0
- package/web/console/assets/Kb-BM_PYi11.css +1 -0
- package/web/console/assets/{Login-DA6BASZd.js → Login-YKeUwdgo.js} +1 -1
- package/web/console/assets/Projects-DHwHrPT9.css +1 -0
- package/web/console/assets/Projects-Grgb6fOv.js +1 -0
- package/web/console/assets/Routes-DR_Yf02e.css +1 -0
- package/web/console/assets/Routes-DYgrXlRJ.js +138 -0
- package/web/console/assets/Runs-CwTddJJj.js +3 -0
- package/web/console/assets/Runs-D4FOvNfu.css +1 -0
- package/web/console/assets/Setup-Ca0b1d1-.css +1 -0
- package/web/console/assets/Setup-D_xUPNDq.js +1 -0
- package/web/console/assets/Shell-BTg8Vw_L.css +1 -0
- package/web/console/assets/Shell-Dfam2Uoj.js +1 -0
- package/web/console/assets/StorageBuckets-7QLBpV4a.css +1 -0
- package/web/console/assets/StorageBuckets-CP6e50wI.js +1 -0
- package/web/console/assets/SystemSettings-BRYKyJNa.js +1 -0
- package/web/console/assets/SystemSettings-HsXGx0aH.css +1 -0
- package/web/console/assets/SystemStatus-B-VfRsQd.css +1 -0
- package/web/console/assets/SystemStatus-CbPsDsGt.js +1 -0
- package/web/console/assets/Targets-1j4-g6rC.css +1 -0
- package/web/console/assets/Targets-C2LkR2AF.js +1 -0
- package/web/console/assets/Tools-C9HPJqJb.css +1 -0
- package/web/console/assets/Tools-C9JNJUS0.js +2 -0
- package/web/console/assets/Usage-D1Mv6vGY.js +1 -0
- package/web/console/assets/Usage-DMOzUsqh.css +1 -0
- package/web/console/assets/UsageAccess-77LmGCm6.js +1 -0
- package/web/console/assets/UsageAccess-C6ZGxEgJ.css +1 -0
- package/web/console/assets/{UsageHelp-BBKIvbQ5.js → UsageHelp-BmuiE1Ew.js} +1 -1
- package/web/console/assets/client-route-draft-DxZRxKPT.js +1 -0
- package/web/console/assets/console-location-Csv-xsnl.js +1 -0
- package/web/console/assets/form-guard-8GrFpry0.js +1 -0
- package/web/console/assets/{index-65JiiUr4.js → index-B_5UfiTw.js} +1 -1
- package/web/console/assets/index-MjZJEFIN.js +2 -0
- package/web/console/assets/{request-BpaimqEb.js → request-rqm6MT0s.js} +1 -1
- package/web/console/assets/runtime-feedback-gPfZVNvY.js +1 -0
- package/web/console/assets/{schema-D0Z4kFCZ.js → schema-o3mK4mid.js} +1 -1
- package/web/console/assets/task-page-location-DWiGtAln.js +1 -0
- package/web/console/assets/use-list-location-FvLFt0Tq.css +1 -0
- package/web/console/assets/use-list-location-cIPy2cKM.js +1 -0
- package/web/console/assets/use-unsaved-form-DScKD0h9.js +1 -0
- package/web/console/assets/{util-DZYfJ5Zo.js → util-B40VqOwl.js} +1 -1
- package/web/console/assets/{vendor-element-8cVcdt5T.js → vendor-element-BT8tHCFk.js} +1 -1
- package/web/console/assets/{vendor-mammoth-CnDA23N0.js → vendor-mammoth-CVIXVxTN.js} +1 -1
- package/web/console/assets/{vendor-vue-Co7x2FW6.js → vendor-vue-DhbG0vd4.js} +7 -7
- package/web/console/index.html +3 -3
- package/web-admin/package-lock.json +9 -27
- package/web-admin/package.json +2 -2
- package/web-admin/src/client-route-draft.ts +25 -0
- package/web-admin/src/components/AgentSetupPanel.vue +54 -41
- package/web-admin/src/components/HelpTip.vue +4 -1
- package/web-admin/src/components/ListLocationBar.vue +22 -0
- package/web-admin/src/components/NotificationOutboxPanel.vue +134 -0
- package/web-admin/src/console-entry.test.ts +26 -0
- package/web-admin/src/console-entry.ts +20 -0
- package/web-admin/src/console-location.ts +35 -0
- package/web-admin/src/form-guard.ts +35 -0
- package/web-admin/src/layout/Shell.vue +18 -65
- package/web-admin/src/onboarding-state.test.ts +174 -0
- package/web-admin/src/onboarding-state.ts +122 -0
- package/web-admin/src/pages/Accounts.vue +44 -24
- package/web-admin/src/pages/AgentClients.vue +47 -29
- package/web-admin/src/pages/AgentTasks.vue +57 -12
- package/web-admin/src/pages/Approvals.vue +105 -25
- package/web-admin/src/pages/Audit.vue +15 -6
- package/web-admin/src/pages/Channels.vue +136 -43
- package/web-admin/src/pages/ChatEntries.vue +96 -41
- package/web-admin/src/pages/Clients.vue +87 -26
- package/web-admin/src/pages/Cost.vue +15 -4
- package/web-admin/src/pages/Credentials.vue +63 -32
- package/web-admin/src/pages/Diagnostics.vue +103 -54
- package/web-admin/src/pages/Executors.vue +103 -40
- package/web-admin/src/pages/Kb.vue +278 -128
- package/web-admin/src/pages/Projects.vue +44 -16
- package/web-admin/src/pages/Routes.vue +168 -247
- package/web-admin/src/pages/Runs.vue +169 -91
- package/web-admin/src/pages/Setup.vue +182 -291
- package/web-admin/src/pages/StorageBuckets.vue +61 -25
- package/web-admin/src/pages/SystemSettings.vue +76 -51
- package/web-admin/src/pages/SystemStatus.vue +54 -30
- package/web-admin/src/pages/Targets.vue +45 -17
- package/web-admin/src/pages/Tools.vue +133 -68
- package/web-admin/src/pages/Usage.vue +64 -25
- package/web-admin/src/pages/UsageAccess.vue +11 -8
- package/web-admin/src/route-call-snippets.test.ts +82 -0
- package/web-admin/src/route-call-snippets.ts +178 -0
- package/web-admin/src/router.ts +11 -29
- package/web-admin/src/runtime-feedback.ts +43 -0
- package/web-admin/src/task-page-location.ts +66 -0
- package/web-admin/src/usage-output-budget.test.ts +26 -0
- package/web-admin/src/usage-output-budget.ts +46 -0
- package/web-admin/src/use-list-location.ts +24 -0
- package/web-admin/src/use-unsaved-form.ts +38 -0
- package/web-admin/tests/model-output-budget.browser.mjs +69 -0
- package/security/dependency-audit-exceptions.json +0 -192
- package/web/console/assets/Accounts-Bervi5JU.css +0 -1
- package/web/console/assets/Accounts-DKhw_QLr.js +0 -3
- package/web/console/assets/AgentClients-CM4_5HaA.js +0 -1
- package/web/console/assets/AgentClients-i52AI6YV.css +0 -1
- package/web/console/assets/AgentTasks-BsG850Il.css +0 -1
- package/web/console/assets/AgentTasks-CkQgZTU5.js +0 -2
- package/web/console/assets/Approvals-B9O9TkbO.js +0 -1
- package/web/console/assets/Approvals-DlTSHl_7.css +0 -1
- package/web/console/assets/Audit-2vDC1SPu.js +0 -1
- package/web/console/assets/Audit-CSu6_3oD.css +0 -1
- package/web/console/assets/Channels-A-GvkNBt.js +0 -105
- package/web/console/assets/Channels-CCn0L1jg.css +0 -1
- package/web/console/assets/ChatEntries-BLxymI67.js +0 -7
- package/web/console/assets/ChatEntries-DsYtcXN6.css +0 -1
- package/web/console/assets/Clients-CSHIsaWU.css +0 -1
- package/web/console/assets/Clients-DeNlmvS6.js +0 -3
- package/web/console/assets/Cost-CBq_L4Kz.js +0 -1
- package/web/console/assets/Cost-CjT39DSZ.css +0 -1
- package/web/console/assets/Credentials-DmtbctNj.js +0 -1
- package/web/console/assets/Credentials-ioLP0qYN.css +0 -1
- package/web/console/assets/Diagnostics-BbcRDiA-.js +0 -1
- package/web/console/assets/Diagnostics-Ya05PTDp.css +0 -1
- package/web/console/assets/Executors-CjhEM54c.css +0 -1
- package/web/console/assets/Executors-gGgmQrDt.js +0 -1
- package/web/console/assets/HelpTip-CA6Bm7Nx.css +0 -1
- package/web/console/assets/HelpTip-Dtdt2tKR.js +0 -1
- package/web/console/assets/Kb-CzIzd9xr.css +0 -1
- package/web/console/assets/Kb-lgY6OXUz.js +0 -5
- package/web/console/assets/Projects-Bm8AjsNx.css +0 -1
- package/web/console/assets/Projects-DEbmB_sT.js +0 -1
- package/web/console/assets/Routes-CyXV4Pba.css +0 -1
- package/web/console/assets/Routes-qS6LLoyS.js +0 -124
- package/web/console/assets/Runs-CvGTV8I-.css +0 -1
- package/web/console/assets/Runs-DG-VLRSc.js +0 -3
- package/web/console/assets/Setup-D7nxgn-9.css +0 -1
- package/web/console/assets/Setup-DEpVF5uw.js +0 -1
- package/web/console/assets/Shell-DgoPgK1E.js +0 -1
- package/web/console/assets/Shell-ykb-tUfo.css +0 -1
- package/web/console/assets/StorageBuckets-CVgpZRWY.css +0 -1
- package/web/console/assets/StorageBuckets-DJtNN769.js +0 -1
- package/web/console/assets/SystemSettings-0DEUgeTR.js +0 -1
- package/web/console/assets/SystemSettings-BjiHyrXO.css +0 -1
- package/web/console/assets/SystemStatus-CR1phiPE.js +0 -1
- package/web/console/assets/SystemStatus-I11I67rw.css +0 -1
- package/web/console/assets/Targets-D65l-IMB.js +0 -1
- package/web/console/assets/Targets-DTb5tn6z.css +0 -1
- package/web/console/assets/Tools-DU8ei6sd.css +0 -1
- package/web/console/assets/Tools-DqtrINrN.js +0 -2
- package/web/console/assets/Usage-B5njXNjx.js +0 -1
- package/web/console/assets/Usage-CAeDGjrb.css +0 -1
- package/web/console/assets/UsageAccess-CGGaWTuj.css +0 -1
- package/web/console/assets/UsageAccess-ChnB4pjb.js +0 -1
- package/web/console/assets/index-sLKrJd_p.js +0 -2
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Agent知识按需搜索与读取
|
|
2
|
+
|
|
3
|
+
[English](AGENT_KNOWLEDGE_API.en.md) | [Runtime契约](AGENT_CLIENT_RUNTIME_API.md)
|
|
4
|
+
|
|
5
|
+
这是Agent Session专用的可选协议 `bailing.agent-knowledge.v1`。它只改变智能体客户端的补充知识交付,自带聊天、embed和widget继续由服务端按原配置自动检索并装配知识正文。知识是 `reference_only`,不能替代路由规则、能力机器约束、授权、审批、业务回执或未知调用核对。
|
|
6
|
+
|
|
7
|
+
## 协商与兼容
|
|
8
|
+
|
|
9
|
+
先以当前Agent bearer读取:
|
|
10
|
+
|
|
11
|
+
```http
|
|
12
|
+
GET /agent-api/v1/workspaces/:route/knowledge/capabilities
|
|
13
|
+
Authorization: Bearer <Agent access token>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
响应schema为 `bailing.agent-knowledge-capabilities.v1`,包含 `protocol`、`supported: true`、`route`、`enabled`、`knowledge_scope_revision`、`delivery_modes: ["inline", "on_demand"]` 和固定 `limits`:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"search_max_results": 3,
|
|
21
|
+
"search_max_bytes": 4096,
|
|
22
|
+
"read_default_bytes": 16384,
|
|
23
|
+
"read_max_bytes": 32768,
|
|
24
|
+
"reference_ttl_seconds": 300,
|
|
25
|
+
"read_chain_max_bytes": 131072
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`supported`表示协议存在;`enabled`表示配置了知识来源且知识服务可用,不保证全部来源此刻都能检索。旧Core的404/405/501可视为不支持并保持inline,401/403/5xx及未知schema不能冒充成功。
|
|
30
|
+
|
|
31
|
+
仅显式支持协议的宿主可在新turn请求添加 `knowledge_delivery: "on_demand"`。服务端保留 `context.knowledge` / `knowledge_refs` 两个空数组,另回显:
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"knowledge_delivery": {
|
|
36
|
+
"schema_version": "bailing.agent-knowledge-delivery.v1",
|
|
37
|
+
"mode": "on_demand",
|
|
38
|
+
"protocol": "bailing.agent-knowledge.v1",
|
|
39
|
+
"knowledge_scope_revision": "<sha256>",
|
|
40
|
+
"status": "ok",
|
|
41
|
+
"hints": []
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
必要instructions、governance、memory和工具schema保持独立。无选项的旧客户端仍获原有有界正文。模式计入turn请求哈希,同turn切模式返回冲突;丢响应后应重试原选项,不创建新业务调用。这里没有 `off/hint/full` 参数,也不把旧轮内序号 `knowledge:1` 升为可读引用。
|
|
47
|
+
|
|
48
|
+
## 独立搜索
|
|
49
|
+
|
|
50
|
+
```http
|
|
51
|
+
POST /agent-api/v1/workspaces/:route/knowledge/search
|
|
52
|
+
Content-Type: application/json
|
|
53
|
+
|
|
54
|
+
{"query":"退款窗口设为0会怎样?","limit":3,"run_id":"<当前run UUID>"}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
`query`非空、最多2000字符;`limit`为1–3。`run_id`可省略用于未加入受管理任务的会话;给出时必须属于当前Session/client/route且处于活跃context_ready状态。受管理任务沿用其成员和任务状态约束。内部turn装配可在preparing阶段生成同run提示,公开端点不能读取未就绪run。
|
|
58
|
+
|
|
59
|
+
结果schema为 `bailing.agent-knowledge-search.v1`,含route、可选run_id、独立 `knowledge_scope_revision`、`trust: "reference_only"`、`status`、`hints`和`truncated`。每个hint仅含 `ref`、`title`、`summary`、`revision`、`score`、`expires_at`;摘要来自当前有效命中片段的有界摘录,没有调用模型生成摘要。最多3篇父文档,整个JSON UTF-8最多4096字节,可能因预算少于3篇。不会附正文、memory、业务工具schema或连接凭据。
|
|
60
|
+
|
|
61
|
+
`status=ok`且hints为空表示本次无符合路由阈值的命中;`disabled`表示未配置;`unavailable`表示无法检索;`partial`表示部分库不可用。检索错误不能描述成“知识库没有资料”。相似度分数不是相关概率,也不为凑满数量降低路由阈值。知识搜索无需开启业务工具直调,不创建invocation/job或派发业务。
|
|
62
|
+
|
|
63
|
+
Agent专用检索读取当前索引并回查当前ready文档、归属及命中片段,不复用原生聊天的索引缓存。多个库按现有分数近似合并;跨模型分数不能视为统一概率,本批未更换召回算法。
|
|
64
|
+
|
|
65
|
+
## 按引用分页读取
|
|
66
|
+
|
|
67
|
+
```http
|
|
68
|
+
POST /agent-api/v1/workspaces/:route/knowledge/read
|
|
69
|
+
Content-Type: application/json
|
|
70
|
+
|
|
71
|
+
{"ref":"<搜索返回的ref>","run_id":"<同一个run UUID>","max_bytes":16384}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
响应schema为 `bailing.agent-knowledge-read.v1`,包含route、可选run_id、knowledge_scope_revision、原ref、revision、title、content、trust、`next_cursor`、`truncated`、`budget_exhausted`、`total_content_bytes`、`read_chain_max_bytes`。下一页传同ref、同run和原样 `cursor`,不自行推导偏移。
|
|
75
|
+
|
|
76
|
+
`max_bytes`为4096–32768,默认16384,按完整响应JSON UTF-8字节计量,保持Unicode完整字符。`next_cursor`非空表示可继续;引用读取链正文最多128KiB,超过时最后一页 `truncated=true`、`budget_exhausted=true`、`next_cursor=null`。这不表示已读完整原文;客户端应说明资料不完整,不能无限翻页或把该上限说成每轮总用量限制。
|
|
77
|
+
|
|
78
|
+
引用和分页游标由现有server token域分离HMAC签名,自包含、5分钟有效,无新配置或迁移;相同实例密钥的进程可核验,密钥轮换后需重新搜索。引用绑定Client、Session、主体/on_behalf_of、route、可选run、完整知识配置及文档标题/正文SHA256修订。引用不是授权凭据,每次读取都重新检查当前身份、路由、任务、KB启用状态、归属、ready状态与文档修订。客户端不得传任意kb_ids/doc_id扩大范围。
|
|
79
|
+
|
|
80
|
+
篡改或跨身份引用返回 `400 knowledge_reference_invalid`;过期返回 `410 knowledge_reference_expired`;知识配置变化返回 `409 knowledge_scope_changed`;文档更新、删除或停用返回 `409 knowledge_changed`;服务不可用返回 `503 knowledge_unavailable`。需要重新搜索,不静默用新版正文替换旧ref,不重放业务写操作。响应均 `Cache-Control: no-store`,错误不包含内部地址、凭据、SQL或文档正文。
|
|
81
|
+
|
|
82
|
+
## 宿主职责
|
|
83
|
+
|
|
84
|
+
给模型独立的知识search/read工具和简短可见说明;工具发现不应强制读取文档,规则问答也不应被迫执行业务工具。将hint、分页正文保留为当前授权的参考资料,不能提升为system治理。根据回显模式和状态装配,不按空数组猜测“没有知识”。跨轮、换账号、换授权、换route或声明变化时隔离/失效缓存,并拒绝迟到响应污染当前上下文。
|
|
85
|
+
|
|
86
|
+
已有宿主命名context交付确认仍只解决重复装配;它不会代替本协议的搜索、读取或当前引用授权。必要业务前提必须同时由能力指导和服务端校验承载,不能只藏在可选知识里。
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
- **继续**:恢复原任务可派发状态,不增加额度、不变更成员,也不会自动执行任何业务调用。审批已通过的操作仍需显式继续原 `invocation_id`。
|
|
35
35
|
- **取消**:终止后续派发,不能重新开启,也不会回滚已经发生的业务变化。
|
|
36
36
|
- **原成员失效**:任一成员撤销、身份变化或绑定变化,整组阻断;不缩成剩余子集,不换默认授权。
|
|
37
|
-
- **结果不明**:只核对原调用。不能换 ID
|
|
37
|
+
- **结果不明**:只核对原调用。不能换 ID、换授权、重建任务或改用另一个工具重新发出同一写操作。当前实现不会自动向业务系统查询补证,也不自动释放未知许可。
|
|
38
38
|
|
|
39
39
|
审批单消费、原调用派发标记、任务许可和执行 journal 在同一 MySQL 事务提交;之后才发出 HTTP。可信响应与额度结算也同事务保存。审计降级或传输不确定会保留明确的不确定状态,不能当成业务成功。
|
|
40
40
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
SDK 增量方法为 `getTaskControlCapabilities`、`getTask` 和 `startTurn(..., { taskBinding })`。DSH 提供宿主 `setSessionTaskBinding/getSessionTaskState/restoreSessionTaskBinding` 及 CAS 存储接缝;精确签名以配套 DSH 的 `docs/TASK_CONTROL.md` 为准。模型不获得管理员 Token、创建任务、改额度或解除暂停的工具。沿用已选授权、跨轮工具缓存和原调用持久 journal;新操作使用本轮真实 run,恢复操作使用原 run / invocation。
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
当前实现限同一 Hub 和同一审计域。不同 Hub 的预算、正文转发和权限不能自动合并。
|
|
70
70
|
|
|
71
71
|
## 管理接口
|
|
72
72
|
|
|
@@ -79,7 +79,7 @@ SDK 增量方法为 `getTaskControlCapabilities`、`getTask` 和 `startTurn(...,
|
|
|
79
79
|
| `GET /admin/api/agent-tasks/{task_id}?limit=30&before=...` | `{task,invocations,next_cursor}`;原调用按稳定 job ID 分页。 |
|
|
80
80
|
| `POST /admin/api/agent-tasks/{task_id}/control` | `{request_id,expected_revision,action}`,`action=pause/resume/cancel`,返回快照。 |
|
|
81
81
|
|
|
82
|
-
`members` 每项为 `{session_id,client_app_id,workspace,client_conversation_id,allowed_tools}`;工具只允许精确名称。`policy` 为 `{max_write_calls,max_concurrent,expires_at}`,截止时间可为 `null
|
|
82
|
+
`members` 每项为 `{session_id,client_app_id,workspace,client_conversation_id,allowed_tools}`;工具只允许精确名称。`policy` 为 `{max_write_calls,max_concurrent,expires_at}`,截止时间可为 `null`。成员与策略创建后冻结,当前实现不支持直接编辑。
|
|
83
83
|
|
|
84
84
|
创建与控制必须保留同一逻辑请求的 `request_id`,丢失确认时重试原请求。控制使用 CAS;修订冲突先刷新并请操作者重新判断,不能自动换修订号重放操作。后台只展示原关联、状态和计数,任务接口不返回工具参数或业务正文。
|
|
85
85
|
|
|
@@ -89,6 +89,6 @@ SDK 增量方法为 `getTaskControlCapabilities`、`getTask` 和 `startTurn(...,
|
|
|
89
89
|
|
|
90
90
|
`TASK_DISPATCH_UNCERTAIN` 以及 invoke/resume 的 `TASK_UNAVAILABLE` 由配套 SDK 保守标成原调用结果未知,指导 `inspect_original`,不建议新写。旧 Core 404/405/501 能力协商为明确不支持;网络问题不能冒充“不支持”。旧 SDK/DSH 可继续使用**未加入任务**的授权,但不能执行已强制任务的 Session。
|
|
91
91
|
|
|
92
|
-
数据库需要既有 `062_agent_task_control.sql`
|
|
92
|
+
数据库需要既有 `062_agent_task_control.sql` 的六张表,本次接线不增加后续迁移。全未迁移时任务能力不支持;部分表缺失或数据库故障必须阻断,不降级绕过。正式部署需先备份并核对当前数据库、配套制品和宿主兼容性;本地测试通过不代表已经部署。启用任务后不要回退到不认识强制标记的旧 Core,也不要删除标记或任务表作为回滚手段。
|
|
93
93
|
|
|
94
94
|
Core 的可复现检查:`npm run typecheck`、`npm test`。真实事务/HTTP 验收通过显式 `BAILING_TASK_TEST_MYSQL_CONFIG` 指向专用 loopback 临时数据库,再运行 `src/routes/agent-task-control-http-mysql.test.ts` 与任务仓储的 MySQL 测试。禁止将该测试指向业务数据库。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Task control: persistence foundation
|
|
2
2
|
|
|
3
|
-
Historical foundation notes. The
|
|
3
|
+
Historical foundation notes. The Core 0.8.0 paired release connects the actual runtime, HTTP, SDK/DSH and console; see [Task control](AGENT_TASK_CONTROL.en.md). The limitations below describe the earlier foundation slice only.
|
|
4
4
|
|
|
5
5
|
Status: internal implementation foundation. It is **not connected to the HTTP APIs,
|
|
6
6
|
tool runtime, SDK, DSH, or console**. Applying the new SQL alone does not enforce a
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -693,10 +693,14 @@ route、target、tool provider、delivery、channel、storage bucket 等配置
|
|
|
693
693
|
|
|
694
694
|
`config-diagnostics` 是运行期巡检:启动时检查配置结构、跨表引用、凭证用途、禁用资源引用、工具检索坐标系、知识库与渠道依赖,并写入 `config_diagnostics` 审计。后台只读 API `GET /admin/api/config-diagnostics` 可随时触发同款巡检。
|
|
695
695
|
|
|
696
|
+
系统状态页使用受 `audit:read` 保护的 `GET /admin/api/readiness`:复用 `/readyz` 的实际状态库、配置库连接及迁移校验检查,并附带 `checked_at`。接口成功取得报告时返回 HTTP 200,是否就绪以 `ready` 为准;这与公开 `/readyz` 的 HTTP 就绪信号不同。`/admin/api/version` 的迁移数量仅表示配置库账本,不独立证明实例就绪,也不代表物理 DDL 或外部业务链路已经验证。页面分别处理读取失败、空结果和旧快照,刷新失败不会沿用“当前通过”结论。
|
|
697
|
+
|
|
696
698
|
后续控制台新增配置页时,应优先消费这些 schema 生成字段、默认校验和错误提示,再补充跨表引用、密钥掩码这类运行期规则。
|
|
697
699
|
|
|
698
700
|
### 7.3 Trace 已成为单 Job 追溯入口
|
|
699
701
|
|
|
702
|
+
后台任务详情及 `trace.job` 的 `console_execution` 只描述交互边界:Agent 直调回原客户端继续,结果不明先核对原调用,在途任务等待结果。`rerun.available` 不授予权限,实际重跑仍受后台权限和服务端规则校验。审批列表的 `continuation_mode`、`continuation_pending`、`job_status` 分别描述续办方式、恢复状态与原任务状态;`used_at` 仅代表批准已使用,不能单独证明业务成功。旧接口未提供这些字段时,控制台保守提示核对,不推定自动执行。
|
|
703
|
+
|
|
700
704
|
开源产品最需要的是一个 `job_id` 查全链。当前 `/admin/api/runs/:job/trace` 已聚合 job、trace events、审批意图和会话总账,控制台「任务 → 追溯」可以直接输入 job_id 查看:
|
|
701
705
|
|
|
702
706
|
```text
|
package/docs/CHANGELOG.en.md
CHANGED
|
@@ -12,7 +12,7 @@ For the current integration contract, use:
|
|
|
12
12
|
|
|
13
13
|
## Recording Rules
|
|
14
14
|
|
|
15
|
-
Lead each release with a familiar business-assistant or enterprise-service scenario: the previous problem, changed behavior, affected users and developers, upgrade steps, observable checks and limits. Keep English and Chinese facts aligned and distinguish additions, fixes and existing features. See [the release scenario notes](RELEASE_NOTES_v0.9.
|
|
15
|
+
Lead each release with a familiar business-assistant or enterprise-service scenario: the previous problem, changed behavior, affected users and developers, upgrade steps, observable checks and limits. Keep English and Chinese facts aligned and distinguish additions, fixes and existing features. See [the release scenario notes](RELEASE_NOTES_v0.9.4.en.md).
|
|
16
16
|
|
|
17
17
|
Each public version should describe:
|
|
18
18
|
|
|
@@ -22,6 +22,29 @@ Each public version should describe:
|
|
|
22
22
|
- validation commands;
|
|
23
23
|
- related docs.
|
|
24
24
|
|
|
25
|
+
## v0.10.0 - On-demand Agent knowledge and clearer configuration
|
|
26
|
+
|
|
27
|
+
Release date: 2026-10-22. A compatible feature release relative to public Core 0.9.4. MCP / Agent Client SDK 0.8.0 and DSH 0.8.0 upgrade independently. [Release notes](RELEASE_NOTES_v0.10.0.en.md), [upgrade guide](UPGRADE_v0.10.0.en.md).
|
|
28
|
+
|
|
29
|
+
- Add Agent-only knowledge capabilities/search/read with explicit `knowledge_delivery: on_demand`. Hints/references remain authority-, revision-, expiry- and size-bound. Existing clients retain inline delivery; bundled chat/embed/widget knowledge assembly is unchanged.
|
|
30
|
+
- Keep short tool descriptions and add named guidance reads, actual truncation markers and explicit discovery statistics. Preserve standard summary/description/ACC examples; separate discovery revisions from frozen execution fingerprints. Bounded authorization-execution summaries remain reference_only, not user-level long-term memory.
|
|
31
|
+
- Align serialized tool-argument UTF-8 capacity to 1 MiB and tool-call HTTP envelopes to 2 MiB, with matching independent MCP/SDK checks. Oversize replies keep pre-dispatch status and safe counts. Full approval arguments remain; notifications preview them and the console must load them completely before approval. Authority/signatures/idempotency and business limits stay effective.
|
|
32
|
+
- Optional model policies separate default, service ceiling, provider parameter and reasoning/answer scope. Old services are not opted in automatically. Parameter/ceiling errors are explicit; original operations stay intact. Clarify host continuation versus original-request recovery without Hub retries or repeated tools.
|
|
33
|
+
- Improve onboarding, invocation examples, permission text, approval continuation/rerun, unsaved forms and diagnostic/filter/tab restoration. Place routine help behind question marks while retaining visible risks/errors; fix stale responses and login-password autofill into configuration forms.
|
|
34
|
+
- Add read-only artifact/ledger upgrade planning; include boot recovery in Kernel shutdown drain; inspect actual state/configuration pools and complete migration digests for readiness. Custom MySQL stores without schemaReadinessDb now fail closed. Update the Vite safety floor and dependency notices.
|
|
35
|
+
- No new SQL from 0.9.4; old migrations/migrator stay unchanged. Earlier sources still follow their original upgrade chain. Coordinate explicit configuration/client fallback during rollback without deleting operations, approvals or unknown outcomes. Synthetic regressions and isolated consumers do not establish acceptance of every vendor, host product, real business or long-term runtime. ACC, independent Hosts and clients are not deployed by a Core release.
|
|
36
|
+
|
|
37
|
+
## v0.9.4 - DOCX dependency remediation and durable notifications
|
|
38
|
+
|
|
39
|
+
Version date: 2026-10-15. A patch from Core 0.9.3; MCP / Agent Client SDK 0.7.0 and DSH 0.7.0 remain unchanged. See [release notes](RELEASE_NOTES_v0.9.4.en.md) and the [upgrade guide](UPGRADE_v0.9.4.en.md).
|
|
40
|
+
|
|
41
|
+
- Retain official Mammoth 1.12.0 parsing sources, types and license while a pinned library archive removes the unused CLI and argparse → sprintf-js chain. Core/console, npm/source/Docker share this distribution; retire the temporary exception. Require zero raw findings in both trees and query direct advisories under the original Mammoth name, without claiming an upstream fix or safety of arbitrary documents.
|
|
42
|
+
- Atomically persist terminal Jobs/intents in MySQL and approvals/prompts in their configuration database; JSONL syncs one compound record and remains single-writer. Startup/maintenance recovers bounded pages with lease-token fencing, stable event identity and frozen snapshots; no historical bulk backfill or business-parent rerun.
|
|
43
|
+
- Webhooks await actual responses and use bounded, at-least-once retries with receiver event-ID deduplication. Native partial/unknown receipt becomes uncertain for operator verification. Retain 067 original executor-notification replay; native-event-linked DLQs recover through one outbox path.
|
|
44
|
+
- Add bundled console notification lists, filters, summaries and permission-controlled retry, with uncertain-state confirmation and stale-state conflicts. Fixed jobs/approvals metrics expose persistent counts, ages and leases without bodies or recipients. No automatic cleanup policy is added; ordinary alerts and legacy adapters remain best effort.
|
|
45
|
+
- Add migration 068's outbox and nullable unique DLQ event reference. Explicitly migrate both actual MySQL database roles before new reads/writes; historical SQL is unchanged. Rollback preserves records, markers, receipts and history; old code does not process the new outbox, and restoring backups cannot undo external messages.
|
|
46
|
+
- Add public DOCX compatibility/consumption, browser console, actual JSONL SIGKILL, MySQL atomicity/lost acknowledgements, lease fencing and 067-to-068 migration regressions. Synthetic data/local receivers do not replace live channels, deployment acceptance or production rollback drills. ACC, independent Hosts and clients upgrade through their own procedures.
|
|
47
|
+
|
|
25
48
|
## v0.9.3 - Bounded bodies and reliable notification shutdown
|
|
26
49
|
|
|
27
50
|
Version date: 2026-10-14. A patch from Core 0.9.2; MCP / Agent Client SDK 0.7.0 and DSH 0.7.0 remain unchanged. See [release notes](RELEASE_NOTES_v0.9.3.en.md) and the [upgrade guide](UPGRADE_v0.9.3.en.md).
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## 记录规则
|
|
7
7
|
|
|
8
|
-
每次先用业务助手、企业服务等通用场景说明原问题与本版行为,再按使用者、业务后端与客户端开发者交代升级影响。中英文使用同一事实,新增能力、修复和已有能力分别标明;参考[本版场景说明](RELEASE_NOTES_v0.9.
|
|
8
|
+
每次先用业务助手、企业服务等通用场景说明原问题与本版行为,再按使用者、业务后端与客户端开发者交代升级影响。中英文使用同一事实,新增能力、修复和已有能力分别标明;参考[本版场景说明](RELEASE_NOTES_v0.9.4.md)。
|
|
9
9
|
|
|
10
10
|
每个公开版本至少说明:
|
|
11
11
|
|
|
@@ -15,6 +15,29 @@
|
|
|
15
15
|
- **验证方式**:部署方如何确认该版本运行正常;
|
|
16
16
|
- **相关文档**:对应的契约、指南或示例。
|
|
17
17
|
|
|
18
|
+
## v0.10.0 - 智能体知识按需读取与配置体验改进
|
|
19
|
+
|
|
20
|
+
版本日期:2026-10-22。相对公开 Core 0.9.4 的兼容功能版;配套 MCP / Agent Client SDK 0.8.0、DSH 0.8.0 独立升级。[版本说明](RELEASE_NOTES_v0.10.0.md)、[升级指南](UPGRADE_v0.10.0.md)。
|
|
21
|
+
|
|
22
|
+
- 新增 Agent 专用知识 capabilities/search/read 与显式 `knowledge_delivery: on_demand`,提示与引用读取受当前授权、修订、有效期和大小约束;旧客户端保持 inline,自带 chat/embed/widget 的知识装配不变。
|
|
23
|
+
- 工具目录保留短说明,新增按名指导读取、实际截断标记与明确发现统计;指导保留标准 summary/description/ACC 示例,发现修订与冻结执行指纹分开。授权执行摘要有界标注 reference_only,不扩展为用户长期记忆。
|
|
24
|
+
- 工具 arguments JSON 统一 UTF-8 上限 1 MiB、工具调用 HTTP 信封 2 MiB;MCP/SDK 独立限额配套。超限保留派发前状态与非敏感大小标量;完整审批参数保留,通知仅预览,完整读取前不能批准,原授权/签名/幂等及业务限制不变。
|
|
25
|
+
- 可选模型预算区分默认值、服务上限、供应商参数和思考/答案 scope;旧服务不自动启用。明确参数不匹配与超限拒绝,保留原 operation。补齐宿主续段与原请求恢复说明;中枢不自动重试或重做工具。
|
|
26
|
+
- 后台改善首次接入、调用代码、权限文案、审批续办/重跑、未保存保护、诊断定位与筛选/页签恢复;常规说明收拢到问号,风险和错误仍可见,修复迟到响应和登录密码自动填充配置表单。
|
|
27
|
+
- 只读升级计划比较明确制品与脱敏账本;Kernel 启动恢复纳入关闭排空;readiness 校验真实 state/configuration 池与完整摘要。自定义 MySQL store 缺 `schemaReadinessDb` 现在失败关闭。Vite 安全版本下限与依赖说明同步。
|
|
28
|
+
- 相对 0.9.4 无新 SQL,旧迁移和迁移器保持;更早来源仍应用原升级链。新显式配置与客户端协商需协调回退,不删除旧请求/审批/unknown。合成回归与隔离消费不等于所有供应商、宿主产品、实际业务或长期稳定性验收;ACC、独立 Host 和客户端不随 Core 自动部署。
|
|
29
|
+
|
|
30
|
+
## v0.9.4 - DOCX 依赖修复与通知持久化
|
|
31
|
+
|
|
32
|
+
版本日期:2026-10-15。相对 Core 0.9.3 的补丁;MCP / Agent Client SDK 0.7.0、DSH 0.7.0 不变。[版本说明](RELEASE_NOTES_v0.9.4.md)、[升级指南](UPGRADE_v0.9.4.md)。
|
|
33
|
+
|
|
34
|
+
- DOCX 保留 Mammoth 1.12.0 官方解析源码、类型和许可证,以固定库归档移除未使用的 CLI 与 argparse → sprintf-js 链;Core/控制台、npm/源码/Docker 同步分发,退役限时例外。两棵原始依赖审计要求零发现,并按原 Mammoth 名称查直接公告;不宣称上游漏洞已修复或任意文档安全。
|
|
35
|
+
- MySQL 原子保存任务终态/通知意图、配置库审批/提示;JSONL 同条日志同步落盘并保持单 writer。启动/维护恢复有限批次,租约 token 隔离过期 worker;保留稳定事件身份和冻结快照,不批量补历史记录,不重跑业务父任务。
|
|
36
|
+
- Webhook 等待真实响应,同事件至少一次、有界重试,接收方按 event ID 去重;原生部分/未知送达进入 uncertain,人工核对后处理。067 执行器原通知重投仍保留,原生事件关联 DLQ 从 outbox 统一补发。
|
|
37
|
+
- 自带控制台新增任务通知列表/筛选/摘要和受权限控制的重试,未知态需确认、旧状态返回冲突;只读持久指标增加固定 jobs/approvals 来源的状态数、年龄与租约,不暴露正文或收件人。暂未提供自动清理策略,普通告警及旧扩展仍尽力发送。
|
|
38
|
+
- 新增 068 outbox 表及可空 DLQ 事件关联/唯一索引;两类实际 MySQL 数据库须在新读写前显式迁移,旧 SQL 不改。回退保留记录、标记、回执和账本,旧代码不处理新 outbox,恢复备份不能撤销外部消息。
|
|
39
|
+
- 公开回归新增 DOCX 兼容与消费、控制台浏览器、实际 JSONL SIGKILL、MySQL 原子/确认丢失、租约隔离和 067→068 迁移。使用合成数据与本地接收端,不代替真实渠道、具体部署或生产回滚验收。ACC、独立 Host 与客户端按各自流程升级。
|
|
40
|
+
|
|
18
41
|
## v0.9.3 - 有限收包与通知可靠收尾
|
|
19
42
|
|
|
20
43
|
版本日期:2026-10-14。相对 Core 0.9.2 的补丁;MCP / Agent Client SDK 0.7.0、DSH 0.7.0 不变。[版本说明](RELEASE_NOTES_v0.9.3.md)、[升级指南](UPGRADE_v0.9.3.md)。
|
package/docs/COMPATIBILITY.en.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Compatibility And Upgrade Policy
|
|
2
2
|
|
|
3
|
+
## Core 0.10.0 compatible extensions
|
|
4
|
+
|
|
5
|
+
Pair Core 0.10.0 with MCP / Agent Client SDK 0.8.0 and DSH 0.8.0 for optional Agent knowledge, tool guidance and explicit model-output policies. No new SQL is added relative to public 0.9.4. Existing clients retain inline delivery and old model policies are not changed automatically. Readiness now checks actual state/configuration resources and full migration digests; custom MySQL stores must expose `schemaReadinessDb` or fail closed. See the [0.10.0 upgrade guide](UPGRADE_v0.10.0.en.md) for configuration rollback and independent-consumer boundaries.
|
|
6
|
+
|
|
7
|
+
## Current 0.9.x upgrade path
|
|
8
|
+
|
|
9
|
+
Core 0.9.2, 0.9.3 and 0.9.4 add migrations 065/066, 067 and 068 respectively. **A patch does not imply no schema migration or a restart-only upgrade.** Read the [0.9.2](UPGRADE_v0.9.2.en.md), [0.9.3](UPGRADE_v0.9.3.en.md) and [0.9.4](UPGRADE_v0.9.4.en.md) guides for the selected path. Preserve original jobs, approvals, notifications and migration records. Historical pairing notes below do not replace the target-version guide.
|
|
10
|
+
|
|
3
11
|
## Core 0.9.1 patch upgrade
|
|
4
12
|
|
|
5
13
|
Relative to 0.9.0, this patch fixes asynchronous usage shutdown and updates public documentation/general security governance. There are no new APIs, SQL, plan rules, or client features. SDK 0.7.0 / DSH 0.7.0 remain unchanged. Old-version close returning does not establish that usage work has finished. Reconcile original requests before replacing artifacts; retry a new-version usage-drain timeout on the original instance. See the [0.9.1 upgrade guide](UPGRADE_v0.9.1.en.md).
|
|
@@ -14,6 +22,8 @@ BailingHub follows SemVer for public releases.
|
|
|
14
22
|
|
|
15
23
|
Before `1.0.0`, the project may still adjust public contracts, but breaking changes must be documented clearly in release notes and changelog entries.
|
|
16
24
|
|
|
25
|
+
Version numbers express compatibility intent, not deployment effort. Compatible bug fixes may require additive migrations. New optional features may require explicit capability negotiation or paired clients. Before 1.0, incompatible adjustments still require an explicit migration path; 1.0 must define its stable API and support/deprecation policy before those commitments take effect. After 1.0, incompatible public API changes require a major version.
|
|
26
|
+
|
|
17
27
|
## Stable Public Surfaces
|
|
18
28
|
|
|
19
29
|
The following surfaces should be treated as public:
|
|
@@ -33,6 +43,11 @@ The following surfaces should be treated as public:
|
|
|
33
43
|
- New non-null columns must have defaults.
|
|
34
44
|
- Avoid destructive operations such as drop, rename, or type changes in minor versions.
|
|
35
45
|
- Use transition windows for major schema changes.
|
|
46
|
+
- Keep necessary data backfills in separate numbered migrations; additive DDL can still lock tables or need capacity planning.
|
|
47
|
+
- Unknown ledger entries and checksum conflicts fail closed. Do not remove ledger rows to bypass validation.
|
|
48
|
+
- `npm run db:init` migrates only `state.mysql`. A separate MySQL configuration store requires the official `migrateBailingHubCoreSchema` entry point as well. Migrate a shared database only once, never concurrently. JSONL state needs no SQL migration, but a MySQL configuration store still does. Startup does not run migrations.
|
|
49
|
+
|
|
50
|
+
See [SQL rules](../sql/README.md) and [Kernel Host API](KERNEL_HOST_API.en.md). An additive schema does not establish that an older artifact accepts the new ledger or durable state.
|
|
36
51
|
|
|
37
52
|
## File-Level Customization
|
|
38
53
|
|
|
@@ -48,10 +63,21 @@ When public contracts change, update together:
|
|
|
48
63
|
- changelog;
|
|
49
64
|
- smoke or contract tests.
|
|
50
65
|
|
|
66
|
+
Use distinct names for incompatible semantics and, where safe, a transition window spanning at least one complete minor release. State deprecation/removal versions and the actual diagnostic entry point. This is a change policy, not evidence that every existing deprecated field already emits a warning. Security fixes that cannot safely accept both forms must document an alternative migration procedure.
|
|
67
|
+
|
|
51
68
|
## Upgrade Goal
|
|
52
69
|
|
|
53
70
|
Operators should be able to upgrade the open-source core without losing local secrets, runtime state, or deployment-specific customization.
|
|
54
71
|
|
|
72
|
+
1. Pin current and target commits/artifact digests and read every applicable upgrade guide; do not update a running checkout from a floating branch.
|
|
73
|
+
2. Identify state/configuration databases, JSONL, attachments and local configuration. Keep consistent backups and old artifacts, and test the intended restoration set in isolation.
|
|
74
|
+
3. Stop admission and coordinate all writers sharing those stores. Drain accepted work and reconcile original calls, approvals and notification receipts. A timeout or unknown result must not become a replacement business write.
|
|
75
|
+
4. Validate the target manifest and each complete database ledger, then explicitly run the official migrator for each distinct MySQL store.
|
|
76
|
+
5. Check artifact identity, readiness, permissions, approvals, notification recovery, clients and receiver deduplication before restoring admission. No `BREAKING` heading does not mean no migration work.
|
|
77
|
+
6. Test rollback compatibility first. Never delete migration rows, task-enforcement markers or notification records to make old code start. Restoring a database cannot undo external business effects.
|
|
78
|
+
|
|
79
|
+
The [read-only upgrade planner](UPGRADE_PLAN.en.md) compares explicitly supplied artifacts and sanitized ledger snapshots. Offline comparison is not a live database check, proof of restorable backups or rollout approval.
|
|
80
|
+
|
|
55
81
|
## Instance Branding And Platform-Managed Upgrades
|
|
56
82
|
|
|
57
83
|
The instance name, browser title, metadata, logo, favicon, and login copy use the
|
|
@@ -133,6 +159,6 @@ Resolve existing URL providers one at a time:
|
|
|
133
159
|
4. `signed_required` is `protected` only when the signed primary request returns 2xx and unsigned plus invalid-signature probes each return 401/403/404. A negative 2xx is `public`; redirects, 429, 5xx, and network errors are `inconclusive`. A 404 on the signed primary request is a failure, not protection evidence.
|
|
134
160
|
5. Confirm `Cache-Control: private, no-store` and verify that reverse proxies or CDNs cannot cache or rewrite a protected catalog.
|
|
135
161
|
|
|
136
|
-
Refresh failures preserve the previous cache. Each request is bounded to 10 seconds and the successful primary response is limited to 5 MiB.
|
|
162
|
+
Refresh failures preserve the previous cache. Each request is bounded to 10 seconds and the successful primary response is limited to 5 MiB. Preserve the 053 columns, historical configuration and ledger during rollback, but first test whether the specific old artifact accepts that ledger and data. Nullable columns alone do not establish compatibility. Restore a pre-upgrade snapshot only as a consistent set with the old application, and reconcile subsequent external effects. Do not delete the ledger entry or drop the columns independently.
|
|
137
163
|
|
|
138
164
|
This policy governs catalog discovery only. It does not change ACC, tool-call signatures, route allowlists, approvals, idempotency, or final business authorization.
|
package/docs/CONTRACT.en.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# HTTP Contract
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Available as an optional capability since Core 0.8.0, [task control](AGENT_TASK_CONTROL.en.md) defines separate task schemas, trusted turn binding and administrator controls. It requires paired capability negotiation and does not change the stable business authorization or approval semantics below.
|
|
4
4
|
|
|
5
5
|
> Current contract: `bailing.contract.v2.14`. This is the only network boundary between a business system and BailingHub.
|
|
6
6
|
|
package/docs/CONTRACT.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 百灵中枢 · 边界契约
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Core 0.8.0 起提供的可选[任务控制](AGENT_TASK_CONTROL.md)新增独立任务 schema、受信 turn 绑定和管理员控制接口,须成套协商启用;不改变下面稳定业务契约的权限或审批含义。
|
|
4
4
|
|
|
5
5
|
> 当前契约:`bailing.contract.v2.14`。这是业务系统与中枢之间唯一的网络边界。
|
|
6
6
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# DOCX dependency and source verification
|
|
2
|
+
|
|
3
|
+
[中文](DOCX_DEPENDENCY.md)
|
|
4
|
+
|
|
5
|
+
Core file context uses `extractRawText`; the bundled console converts knowledge-base DOCX files through `convertToHtml` and then Markdown. Both existing paths retain the original Mammoth 1.12.0 parsing implementation; Core v0.9.4 changes to the library distribution described below.
|
|
6
|
+
|
|
7
|
+
## Library distribution boundary
|
|
8
|
+
|
|
9
|
+
`vendor/mammoth-library` is a modified library distribution named `@bailinghub/mammoth-library`, version `1.12.0-bailinghub.1`. It retains upstream parsing sources, types, browser adaptations and the BSD-2-Clause license. It removes the CLI entry, CLI output handler and `argparse` dependency. It does not provide the Mammoth command-line tool. The original upstream manifest is provenance only, not an installation manifest.
|
|
10
|
+
|
|
11
|
+
Core and the console install the same repository-local `.tgz`, with runtime dependencies recorded in each lockfile. The Core npm artifact bundles the library and its runtime dependencies, so independent consumers do not rely on root overrides or a development checkout. Source exports include the archive and lockfiles, without `node_modules`; Docker copies `vendor` before `npm ci`.
|
|
12
|
+
|
|
13
|
+
This removes the `argparse → sprintf-js` CLI dependency chain carrying [GHSA-hp3w-g68c-fv3c](https://github.com/advisories/GHSA-hp3w-g68c-fv3c). The former temporary exception is retired, without renewal or a replacement vulnerability waiver. This does not fix upstream sprintf-js or establish that arbitrary documents and future dependencies are safe.
|
|
14
|
+
|
|
15
|
+
## Reproduction and audit
|
|
16
|
+
|
|
17
|
+
The distributed archive has fixed integrity. Different npm/gzip versions may encode equivalent tarballs differently; verification compares their full unpacked contents, not a newly compressed byte stream.
|
|
18
|
+
|
|
19
|
+
- [SOURCE.json](../vendor/mammoth-library/SOURCE.json) pins the official tarball, SHA-512 integrity and each retained file's SHA-256. The upstream [license](../vendor/mammoth-library/LICENSE) is preserved.
|
|
20
|
+
- `npm run docx:vendor:check` verifies the source inventory, metadata transformation, dependency declarations and bundling, then verifies the complete unpacked archive inventory and each file against the reviewed source.
|
|
21
|
+
- `npm run docx:vendor:verify-upstream` downloads the pinned official archive and verifies retained sources and the actual archive contents. CI and `release:check` require it and parsing regression tests.
|
|
22
|
+
- `npm run audit:deps` requires zero raw npm findings in both scopes. Findings, invalid responses, inconsistent counts and reintroduced CLI dependencies block. Because a custom name does not inherit upstream advisories, the gate also queries official npm direct advisories for the original `mammoth@1.12.0`; any finding or query failure blocks. Runtime dependencies remain visible in both regular lockfile audits.
|
|
23
|
+
- `npm run docx:test` covers Core's actual adapter, Chinese text, paragraphs and whitespace, headings/lists/tables/links/images, empty documents and corrupt archives. Raw text preserves upstream semantics: double newlines separate paragraphs; Word soft breaks add no character.
|
|
24
|
+
- Build the console, then run `npm run docx:browser:test` for the actual browser bundle and existing image placeholders. `npm run package:artifact:check` exercises both library APIs, the dependency chain and zero raw audit findings in a real independent npm consumer.
|
|
25
|
+
|
|
26
|
+
An upstream update requires an explicit source pin and custom version change, change review, rebuilt archive and both lockfiles, refreshed notices and all gates above. `node scripts/vendor-mammoth.mjs --refresh` only rebuilds the pinned source; it never tracks latest automatically. Existing installations receive this change only through their own upgrade to a BailingHub artifact containing it; publication does not upgrade deployments.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# DOCX 解析依赖与来源校验
|
|
2
|
+
|
|
3
|
+
[English](DOCX_DEPENDENCY.en.md)
|
|
4
|
+
|
|
5
|
+
Core 文件上下文使用 `extractRawText`,自带控制台知识库导入使用 `convertToHtml` 后转 Markdown。这两个既有入口继续使用 Mammoth 1.12.0 的原始解析代码;从 Core v0.9.4 起改用下述库分发。
|
|
6
|
+
|
|
7
|
+
## 库分发边界
|
|
8
|
+
|
|
9
|
+
`vendor/mammoth-library` 是有明确修改标记的库分发,包名为 `@bailinghub/mammoth-library`,版本为 `1.12.0-bailinghub.1`。它保留上游 `lib` / `browser` 的解析源码、类型和 BSD-2-Clause 许可证,移除 CLI 入口、CLI 输出处理文件和 `argparse` 依赖;不提供 Mammoth 命令行工具。上游原始 manifest 仅作来源记录,不参与依赖安装。
|
|
10
|
+
|
|
11
|
+
Core 与控制台通过同一个仓内 `.tgz` 安装,运行依赖分别进入各自锁文件。Core 的 npm 制品同时捆绑该库及其运行依赖,独立 npm 消费者不依赖根项目的 `overrides` 或开发目录。源码导出保留仓内归档与锁文件,不携带 `node_modules`;Docker 在执行 `npm ci` 前复制 `vendor`。
|
|
12
|
+
|
|
13
|
+
这移除了 [GHSA-hp3w-g68c-fv3c](https://github.com/advisories/GHSA-hp3w-g68c-fv3c) 所在的 `argparse → sprintf-js` CLI 依赖链。原限时例外已经退役,没有延期或替换为新的漏洞豁免。此变更不代表上游 `sprintf-js` 已修复,也不保证任意 DOCX 或未来依赖均安全。
|
|
14
|
+
|
|
15
|
+
## 可复现与审计
|
|
16
|
+
|
|
17
|
+
安装归档有固定完整性值;不同平台的 npm/gzip 可能生成字节不同、内容相同的压缩包。验证以完整解包清单及逐文件内容为准,不要求重新压缩后的字节跨平台相同。
|
|
18
|
+
|
|
19
|
+
- [SOURCE.json](../vendor/mammoth-library/SOURCE.json) 固定官方 tarball、SHA-512 完整性和逐文件 SHA-256;[许可证](../vendor/mammoth-library/LICENSE) 完整保留。
|
|
20
|
+
- `npm run docx:vendor:check` 检查源码清单、修改范围、依赖声明和捆绑设置,并解包核对完整清单及逐文件内容,确认安装归档与已审源码一致。
|
|
21
|
+
- `npm run docx:vendor:verify-upstream` 从固定官方 tarball 重验保留源码和实际归档内容。该检查与解析回归纳入 CI / `release:check`。
|
|
22
|
+
- `npm run audit:deps` 要求 Core 和控制台原始 npm 审计均为零发现;新增发现、无效响应、计数不符或重新引入 CLI 链都会阻断。定制包名不会自动继承上游安全公告,因此门禁另以原名 `mammoth@1.12.0` 查询官方 npm 直接公告,任意发现或查询失败均阻断。普通运行依赖仍由两棵锁树正常审计。
|
|
23
|
+
- `npm run docx:test` 验证 Core 实际入口、中文、段落和空白、标题/列表/表格/链接/图片,以及空文档和损坏包。原始文本沿用上游语义:段落用双换行分隔,Word 软换行不额外输出字符。
|
|
24
|
+
- 先构建控制台,再执行 `npm run docx:browser:test`,验证实际浏览器 bundle 和既有图片占位行为;`npm run package:artifact:check` 验证真实 npm 消费者的两个库 API、依赖链和零原始审计。
|
|
25
|
+
|
|
26
|
+
维护者更新上游版本时,先修改来源固定值与定制版本,复核变化,再重建归档与两棵锁树,更新第三方清单并完整运行上述门禁。`node scripts/vendor-mammoth.mjs --refresh` 仅重建当前固定来源,不自动追踪 latest;已安装实例只有升级到含此改动的 BailingHub 制品后才会获得修复;发行不自动升级具体环境。
|
|
@@ -6,10 +6,10 @@ This index separates **ownership, release availability, public evidence, and lim
|
|
|
6
6
|
|
|
7
7
|
## Version and evidence conventions
|
|
8
8
|
|
|
9
|
-
- Formal release baseline: [v0.
|
|
9
|
+
- Formal release baseline: [v0.10.0](https://github.com/bailinghub/bailinghub/releases/tag/v0.10.0), with the [v0.10.0 source Tag](https://github.com/bailinghub/bailinghub/tree/v0.10.0). The table's mechanisms are included in this release; versioned fixes retain their first-release identities. This does not mean that every optional feature is enabled by a default installation.
|
|
10
10
|
- Historical baseline: [v0.9.0](https://github.com/bailinghub/bailinghub/releases/tag/v0.9.0), commit [`dae5260ede6565080d21e94ae63d52f3a7d23556`](https://github.com/bailinghub/bailinghub/tree/dae5260ede6565080d21e94ae63d52f3a7d23556). Its asynchronous shutdown gap remains documented below. Verify source, npm, images, and deployments separately; updated documentation does not fix old artifacts.
|
|
11
11
|
- Test links identify **public test source and the conditions it checks**, not passing runs newly produced by this page. Unit tests, simulated provider responses, MySQL integration tests, and the complete demo have different scopes. Skipped or unexecuted tests are not passing evidence, and do not make an existing mechanism a planned feature.
|
|
12
|
-
- Use the [v0.
|
|
12
|
+
- Use the [v0.10.0 release notes](RELEASE_NOTES_v0.10.0.en.md) and [upgrade guide](UPGRADE_v0.10.0.en.md) for release contents and prerequisites. Compatible clients, application migrations, provider credentials, storage, and business authorization still require their own configuration and acceptance.
|
|
13
13
|
|
|
14
14
|
## Ownership and release availability
|
|
15
15
|
|
|
@@ -17,18 +17,18 @@ Core defaults to one organization's management and audit domain. Clients, routes
|
|
|
17
17
|
|
|
18
18
|
| Capability and owner | Release availability | Public implementation and evidence | Scope and limitations |
|
|
19
19
|
|---|---|---|---|
|
|
20
|
-
| Declarations, tool discovery, and governed calls: Core parses/governs; the business system executes | Included in Core v0.
|
|
21
|
-
| Agent Auth: Core binds client sessions; the business authorization page supplies trusted identity | Included in Core v0.
|
|
22
|
-
| Agent Client Runtime: Core exposes workspaces, turns, discovery, and tool invocation | Included in Core v0.
|
|
23
|
-
| Approvals, original invocation snapshots, and read-only receipts: Core governs; the business system owns the outcome | Included in Core v0.
|
|
24
|
-
| Cross-turn task controls: Core persists original members, write-call allowance, and concurrency occupancy | Included in Core v0.
|
|
25
|
-
| Visible conversation audit: the client explicitly uploads; Core validates members and persists events | Included in Core v0.
|
|
26
|
-
| Current-thread context and optional rolling summaries: Core route/thread mechanisms | Included in Core v0.
|
|
27
|
-
| Attachment space: the host supplies approved images; Core uploads and returns usable URLs | Included in Core v0.
|
|
28
|
-
| Optional model gateway and USD allowance settlement: Core connects/meters; the client host orchestrates | Included in Core v0.
|
|
29
|
-
| Model-tool directory, text-to-image, and original-request lookup: optional Core gateway extensions | Included in Core v0.
|
|
30
|
-
| Kernel Host API, explicit migrations, and managed lifecycle: Core provides an embedding entry point; the Host manages processes and isolation | Included in Core v0.
|
|
31
|
-
| Installation, smoke checks, and optional operational metrics: Core provides entry points; operators configure and accept deployments | Included in Core v0.
|
|
20
|
+
| Declarations, tool discovery, and governed calls: Core parses/governs; the business system executes | Included in Core v0.10.0 | [Tool model](TOOLS_MODEL.en.md); [tool-index source](../src/services/tools-index.ts) / [tests](../src/services/tools-index.test.ts); [execution governance tests](../src/core/runtime/execution-runtime.test.ts) | Discoverability is not permission to call. The receiving API must verify the signature and recheck the subject, tenant, permissions, and business state. A declaration cannot create authority the caller did not have. |
|
|
21
|
+
| Agent Auth: Core binds client sessions; the business authorization page supplies trusted identity | Included in Core v0.10.0 | [Agent Auth contract](AGENT_AUTH_API.en.md); [route source](../src/routes/agent-auth.ts); [lifecycle HTTP tests](../src/routes/agent-auth-lifecycle-http.test.ts) / [race tests](../src/infrastructure/config/config-agent-auth-lifecycle-race.test.ts) | PKCE, authorization binding, refresh, and revocation are implemented. They do not replace business login, role management, or final authorization, or let the model choose a trusted principal through text. |
|
|
22
|
+
| Agent Client Runtime: Core exposes workspaces, turns, discovery, and tool invocation | Included in Core v0.10.0 | [Runtime API](AGENT_CLIENT_RUNTIME_API.en.md); [runtime source](../src/app/agent-client-runtime.ts) / [tests](../src/app/agent-client-runtime.test.ts); [invocation tests](../src/app/agent-tool-invocations.test.ts) | The local Agent host owns model selection, its reasoning loop, and tool orchestration. Core's existing `/run` pipeline is a separate public integration path; the two must not be presented as one client execution mode. |
|
|
23
|
+
| Approvals, original invocation snapshots, and read-only receipts: Core governs; the business system owns the outcome | Included in Core v0.10.0 | [Receipts versus recovery](INVOCATION_RECEIPTS.md); [invocation source](../src/app/agent-tool-invocations.ts) / [tests](../src/app/agent-tool-invocations.test.ts); [approval-ledger tests](../src/infrastructure/config/config-approval-ledger.test.ts) | Reading an original receipt differs from resume, which may continue execution. Unknown outcomes do not permit replaying a write, and missing historical arguments must not be invented. Approval does not prove business success or guarantee rollback of a distributed business transaction. |
|
|
24
|
+
| Cross-turn task controls: Core persists original members, write-call allowance, and concurrency occupancy | Included in Core v0.10.0 (introduced in v0.8.0) | [Task control contract](AGENT_TASK_CONTROL.en.md); [runtime source](../src/core/runtime/agent-task-control.ts) / [tests](../src/core/runtime/agent-task-control.test.ts); [MySQL journal integration tests](../src/infrastructure/config/config-agent-task-control-journal-mysql.test.ts) | These controls govern business invocations, not model-turn subscriptions. Write-call counts are not refund amounts, successful transactions, or Tokens. Pause/cancel cannot undo a permitted or completed business effect. |
|
|
25
|
+
| Visible conversation audit: the client explicitly uploads; Core validates members and persists events | Included in Core v0.10.0 | [Conversation audit contract](AGENT_CONVERSATION_AUDIT.en.md); [runtime tests](../src/core/runtime/agent-conversation-audit.test.ts) | Hidden reasoning is not collected. Membership confirmation and a write API do not prove all history was uploaded. Audit archives do not merge authorization, sessions, or runtime memory. Cross-binding use retains the same-Hub and individual-identity boundaries. |
|
|
26
|
+
| Current-thread context and optional rolling summaries: Core route/thread mechanisms | Included in Core v0.10.0 | [Memory configuration/rendering](../src/core/runtime/memory.ts); [thread injection source](../src/core/runtime/memory-runtime.ts) / [tests](../src/core/runtime/memory-runtime.test.ts); [summary tests](../src/core/runtime/summary-runtime.test.ts) | Summaries are disabled by default and still read from the original thread when enabled. This is not a complete user-level memory system across new conversations. Visible audit archives do not automatically enter model context. |
|
|
27
|
+
| Attachment space: the host supplies approved images; Core uploads and returns usable URLs | Included in Core v0.10.0 (introduced in v0.8.0) | [Image attachment contract](GENERATED_ARTIFACTS.en.md); [artifact source](../src/app/agent-artifacts.ts) / [tests](../src/app/agent-artifacts.test.ts) | The first increment accepts PNG/JPEG/WebP, not documents or video. Operators configure storage and retention. Core cannot read the client's filesystem. Uploading an image and changing a business record with its URL are separate actions. |
|
|
28
|
+
| Optional model gateway and USD allowance settlement: Core connects/meters; the client host orchestrates | Included in Core v0.10.0 | [Model billing contract](MODEL_BILLING.en.md); [gateway source](../src/modules/usage/model-gateway.ts); [model-gateway MySQL tests](../src/modules/usage/model-gateway.mysql.test.ts); [ledger unit tests](../src/modules/usage/billing-ledger.test.ts) | Shared USD allowances use a uniform multiplier and separate periodic price from allowance. They do not restore turn/step billing. Reference prices are not provider invoices; raw Tokens are not the allowance denominator. Missing authoritative usage does not permit inventing Tokens or fees. |
|
|
29
|
+
| Model-tool directory, text-to-image, and original-request lookup: optional Core gateway extensions | Included in Core v0.10.0 | [Tool-description source](../src/modules/usage/model-tools.ts) / [tests](../src/modules/usage/model-tools.test.ts); [provider adapter tests](../src/modules/usage/model-tool-provider.test.ts); [asynchronous-image MySQL tests](../src/modules/usage/model-tool-gateway.mysql.test.ts) | Executable adapters include Alibaba-compatible Images, native DashScope, and OpenRouter Images. A video, voice, or custom-service directory declaration does not provide an execution adapter. The completion/shutdown boundary is described below. |
|
|
30
|
+
| Kernel Host API, explicit migrations, and managed lifecycle: Core provides an embedding entry point; the Host manages processes and isolation | Included in Core v0.10.0 | [Kernel Host API](KERNEL_HOST_API.en.md); [Kernel source](../src/app/kernel.ts) / [tests](../src/app/kernel.test.ts); [artifact-manifest tests](../src/kernel-api/v1/artifact.test.ts); [migration tests](../src/infrastructure/schema/core-schema-migrator.test.ts) | Separate MySQL schemas/runtimeRoots, trusted instanceKeys, explicit migrations, and Host-owned tick/close calls are prerequisites. The API does not provide tenant signup, platform plans, cluster directories, or multi-replica upgrade orchestration. The optional usage gateway is not the Host's platform billing product. |
|
|
31
|
+
| Installation, smoke checks, and optional operational metrics: Core provides entry points; operators configure and accept deployments | Included in Core v0.10.0 | [Quickstart](QUICKSTART.en.md); [installer](../scripts/install.sh); [smoke script](../scripts/smoke.ts); [OpenMetrics tests](../src/core/observability/openmetrics.test.ts); [independent reproduction task](INDEPENDENT_VALIDATION.en.md) | A health response does not establish that all business operations/providers are available. Metrics require explicit enablement and access protection. Installation/diagnostic entry points do not establish continuous monitoring, staffed alerts, or acceptance of a particular deployment. |
|
|
32
32
|
|
|
33
33
|
## What the public validation paths establish
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ Simulated provider responses establish adapter/protocol behavior for the specifi
|
|
|
40
40
|
|
|
41
41
|
### Public demo and independent reproduction task
|
|
42
42
|
|
|
43
|
-
The [Docker demo](DEMO.en.md) and [independent validation task](INDEPENDENT_VALIDATION.en.md) provide a public path from installing v0.
|
|
43
|
+
The [Docker demo](DEMO.en.md) and [independent validation task](INDEPENDENT_VALIDATION.en.md) provide a public path from installing v0.10.0 through smoke checks and `npm run demo:e2e`. Orders, tickets, refunds, and failure tools use repository demo data. Real model keys, customer APIs, and production credentials are unnecessary.
|
|
44
44
|
|
|
45
45
|
The task requires concrete results for service startup, console access, anonymous-preview boundaries, smoke checks, and the complete business loop. The README's images and animation show that same public fixture, not customer adoption. Publishing a task card does not establish that an external developer completed it. Reports should retain the actual version, environment, checks, and failure scope.
|
|
46
46
|
|
|
@@ -83,3 +83,11 @@ Keep this page and its Chinese companion aligned. Retain the distinction between
|
|
|
83
83
|
## Core v0.9.3 body and notification fixes
|
|
84
84
|
|
|
85
85
|
The [HTTP and notification fixes](CORE_RELIABILITY.en.md#core-v093-http-and-notification-fixes) index public source and synthetic regression entry points for bounded bodies, UTF-8 views, graceful notification drain, original executor notification DLQ admission deduplication and migration 067. [Operational metrics](OPERATIONS.en.md) document read-only maintenance snapshots. These changes are available from Core v0.9.3, not in historical v0.9.2 artifacts. Graceful-close and storage-interruption tests do not establish complete crash recovery of all notification intents or production receipt. Verify Tag, npm, images and each deployment separately.
|
|
86
|
+
|
|
87
|
+
## Core v0.9.4 dependency and notification changes
|
|
88
|
+
|
|
89
|
+
Core v0.9.4 adds [DOCX dependency remediation](DOCX_DEPENDENCY.en.md) and [durable notifications](NOTIFICATION_DURABILITY.en.md), including bundled console management and incremental migration 068. Public source and synthetic tests cover built-in persistence and recovery, not actual receipt in every deployment. Webhook receivers deduplicate stable event IDs; native uncertain receipt requires operator verification. Historical v0.9.3 evidence is unchanged, and independent consumers require their own upgrades. See the [upgrade guide](UPGRADE_v0.9.4.en.md).
|
|
90
|
+
|
|
91
|
+
## Core v0.10.0 compatible additions and fixes
|
|
92
|
+
|
|
93
|
+
This release adds [Agent on-demand knowledge](AGENT_KNOWLEDGE_API.en.md), [named tool guidance](AGENT_CLIENT_RUNTIME_API.en.md) and [explicit model budgets](MODEL_OUTPUT_BUDGET.en.md), with console onboarding, draft protection and diagnostics improvements. Old clients retain inline delivery, old model configuration is not changed automatically and bundled chat context stays intact. Larger arguments remain bounded with full approvals and original-call deduplication. [Host continuation](MODEL_CONTINUATION.en.md) is a client responsibility, not a new Hub model loop. The [upgrade guide](UPGRADE_v0.10.0.en.md) covers read-only planning and actual-resource readiness; there is no new SQL from 0.9.4.
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
## 版本与阅读口径
|
|
8
8
|
|
|
9
|
-
- 正式发行基线:[v0.
|
|
9
|
+
- 正式发行基线:[v0.10.0](https://github.com/bailinghub/bailinghub/releases/tag/v0.10.0),对应 [v0.10.0 源码 Tag](https://github.com/bailinghub/bailinghub/tree/v0.10.0)。下表机制均包含在该版本中,各次修复仍标注首次发行版本;不代表默认安装后已启用所有可选功能。
|
|
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.
|
|
12
|
+
- 版本发行内容与升级前提以 [v0.10.0 说明](RELEASE_NOTES_v0.10.0.md) 和 [升级指南](UPGRADE_v0.10.0.md) 为准。适配客户端、应用迁移、模型凭据、存储和具体业务授权仍需各自配置、验证。
|
|
13
13
|
|
|
14
14
|
## 能力归属与发行状态
|
|
15
15
|
|
|
@@ -17,18 +17,18 @@ Core 默认是一个组织的管理与审计域。不同 Client、route 或工
|
|
|
17
17
|
|
|
18
18
|
| 能力与责任方 | 发行状态 | 公开实现与证据入口 | 范围与限制 |
|
|
19
19
|
|---|---|---|---|
|
|
20
|
-
| 能力声明、工具发现、受控调用:Core 解析和治理,业务系统执行 | Core v0.
|
|
21
|
-
| Agent Auth:Core 绑定客户端会话,业务授权页提供可信身份 | Core v0.
|
|
22
|
-
| Agent Client Runtime:Core 提供工作区、turn、搜索和工具调用接口 | Core v0.
|
|
23
|
-
| 审批、原调用快照和只读回执:Core 治理,业务系统保留执行结果 | Core v0.
|
|
24
|
-
| 跨轮任务控制:Core 持久化原成员、写调用预算与并发占用 | Core v0.
|
|
25
|
-
| 可见对话审计:客户端显式上传,Core 校验成员和保存事件 | Core v0.
|
|
26
|
-
| 当前线程上下文和可选滚动摘要:Core 的路由/线程机制 | Core v0.
|
|
27
|
-
| 附件空间:宿主提供获准图片,Core 上传并返回可用 URL | Core v0.
|
|
28
|
-
| 可选模型网关与美元额度结算:Core 接入、计量,客户端宿主编排 | Core v0.
|
|
29
|
-
| 模型工具目录、文生图和原请求核对:Core 的可选网关扩展 | Core v0.
|
|
30
|
-
| Kernel Host API、显式迁移和托管生命周期:Core 提供稳定嵌入入口,Host 管理进程与隔离 | Core v0.
|
|
31
|
-
| 安装、体检与可选运维指标:Core 提供入口,部署者配置和验收 | Core v0.
|
|
20
|
+
| 能力声明、工具发现、受控调用:Core 解析和治理,业务系统执行 | Core v0.10.0 已包含 | [工具模型](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.10.0 已包含 | [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.10.0 已包含 | [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.10.0 已包含 | [只读回执与恢复](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.10.0 已包含(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.10.0 已包含 | [对话审计契约](AGENT_CONVERSATION_AUDIT.md);[运行面测试](../src/core/runtime/agent-conversation-audit.test.ts) | 不采集隐藏推理。确认成员和具备写接口不证明宿主已上传全部历史;审计归档不合并业务授权、会话或运行时记忆。跨绑定仍受同一中枢及各自身份边界约束。 |
|
|
26
|
+
| 当前线程上下文和可选滚动摘要:Core 的路由/线程机制 | Core v0.10.0 已包含 | [记忆配置与渲染](../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.10.0 已包含(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.10.0 已包含 | [模型计费契约](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.10.0 已包含 | [工具描述源码](../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.10.0 已包含 | [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.10.0 已包含 | [快速开始](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.
|
|
43
|
+
[Docker Demo](DEMO.md) 与 [独立验证任务卡](INDEPENDENT_VALIDATION.md) 提供从 v0.10.0 安装、基础体检到 `npm run demo:e2e` 的公开路径。其订单、工单、退款和故障工具均为仓库 demo 数据;不需要真实模型 Key、客户接口或生产凭据。
|
|
44
44
|
|
|
45
45
|
任务卡要求记录服务、控制台、匿名预览边界、基础体检和完整业务闭环的具体结果。README 的 demo 图像与动画展示同一公开样例,不能当作客户采用证据。任务卡存在也不意味着已有外部开发者完成验证;报告结果应保留验证者实际版本、环境、检查项和失败范围。
|
|
46
46
|
|
|
@@ -83,3 +83,11 @@ Core v0.9.1 增加了每个 `UsageRepository` 独立拥有的 [后台工作登
|
|
|
83
83
|
## Core v0.9.3 的收包与通知修复
|
|
84
84
|
|
|
85
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)。
|
|
90
|
+
|
|
91
|
+
## Core v0.10.0 的兼容新增与修复
|
|
92
|
+
|
|
93
|
+
本版新增[Agent 知识按需协议](AGENT_KNOWLEDGE_API.md)、[工具按名指导](AGENT_CLIENT_RUNTIME_API.md)和[显式模型预算](MODEL_OUTPUT_BUDGET.md),并改善后台首次接入、草稿保护与排障。旧客户端保持 inline、旧模型配置不自动改变,自带聊天装配保持。大参数仍有界、完整审批与原调用防重保留;[宿主续段](MODEL_CONTINUATION.md)由客户端实现,不是中枢新增自动模型循环。只读升级计划与真实资源 readiness 见[升级指南](UPGRADE_v0.10.0.md),相对 0.9.4 无新增 SQL。
|