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
package/.dockerignore
CHANGED
package/.gitignore
CHANGED
package/.npmignore
CHANGED
package/Dockerfile
CHANGED
package/README.en.md
CHANGED
|
@@ -29,13 +29,13 @@ You choose which business APIs become available. BailingHub connects the convers
|
|
|
29
29
|
<img src="assets/readme-product-overview.en.svg" width="100%" alt="BailingHub connects conversational entry points to governed business capabilities while the business system remains the authority">
|
|
30
30
|
</picture>
|
|
31
31
|
|
|
32
|
-
## v0.
|
|
32
|
+
## v0.10.0: On-demand knowledge and clearer setup and diagnostics
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Local agents can discover short hints, then read relevant knowledge and tool guidance only when needed. Existing clients and bundled chat retain their original context delivery. The console improves onboarding, invocation examples, unsaved-form protection, approval status and diagnostic return paths. Larger tool arguments use one bounded policy while preserving full approval arguments and original-call inspection.
|
|
35
35
|
|
|
36
|
-
The component set is **Core 0.
|
|
36
|
+
The component set is **Core 0.10.0 + MCP / Agent Client SDK 0.8.0 + DSH 0.8.0**. Optional model policies separate default output budgets, service ceilings, provider parameters and reasoning-budget scope; old services are not reconfigured automatically. There is **no new SQL relative to 0.9.4**; earlier upgrades still apply outstanding historical migrations. Client hosts own their task loops and continuation; the Hub does not automatically repeat model or business operations.
|
|
37
37
|
|
|
38
|
-
[Release notes](docs/RELEASE_NOTES_v0.
|
|
38
|
+
[Release notes](docs/RELEASE_NOTES_v0.10.0.en.md) · [Upgrade guide](docs/UPGRADE_v0.10.0.en.md) · [Knowledge protocol](docs/AGENT_KNOWLEDGE_API.en.md) · [Previous release](docs/RELEASE_NOTES_v0.9.4.en.md)
|
|
39
39
|
|
|
40
40
|
## Operate the System by Conversation
|
|
41
41
|
|
|
@@ -125,7 +125,7 @@ To explore before installing, use the [online experience](https://trial.bailingh
|
|
|
125
125
|
To run the complete disposable loop locally:
|
|
126
126
|
|
|
127
127
|
```bash
|
|
128
|
-
git clone --branch v0.
|
|
128
|
+
git clone --branch v0.10.0 --depth 1 https://github.com/bailinghub/bailinghub.git
|
|
129
129
|
cd bailinghub
|
|
130
130
|
export BAILING_TOKEN="${BAILING_TOKEN:-$(openssl rand -hex 32)}"
|
|
131
131
|
docker compose up --build
|
|
@@ -214,7 +214,7 @@ Run separate BailingHub deployments for mutually isolated organizations. A `clie
|
|
|
214
214
|
- [HTTP Contract](docs/CONTRACT.en.md) — stable network and identity boundaries.
|
|
215
215
|
- [Architecture](docs/ARCHITECTURE.en.md) — runtime layers and dependency direction.
|
|
216
216
|
- [English Documentation Map](docs/README.en.md) — the complete public documentation index.
|
|
217
|
-
- [Changelog](docs/CHANGELOG.en.md) and [v0.
|
|
217
|
+
- [Changelog](docs/CHANGELOG.en.md) and [v0.10.0](docs/RELEASE_NOTES_v0.10.0.en.md) — current release changes and upgrade notes.
|
|
218
218
|
|
|
219
219
|
## Feedback and Ecosystem
|
|
220
220
|
|
package/README.md
CHANGED
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
|
|
28
28
|
在线体验环境只用于了解产品和配置方式。请勿上传生产凭据、敏感数据或接入真实业务;正式使用请自行部署开源版。
|
|
29
29
|
|
|
30
|
-
## v0.
|
|
30
|
+
## v0.10.0:按需读取知识,更清楚地配置与排障
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
本地智能体查一个能力时,可以先看简短提示,再按需读取相关知识与工具指导;旧客户端和自带聊天继续原有装配方式。控制台改善首次接入、调用示例、草稿保护、审批状态与排障返回路径;较大的工具参数使用统一有界限制,保留完整审批参数和原调用核对。
|
|
33
33
|
|
|
34
|
-
配套为 **Core 0.
|
|
34
|
+
配套为 **Core 0.10.0 + MCP / Agent Client SDK 0.8.0 + DSH 0.8.0**。新模型策略将默认输出预算、服务上限、供应商参数和思考预算语义分开;旧服务不自动改配置。相对 0.9.4 **没有新增 SQL**,更早版本仍按原升级链应用缺失迁移。客户端负责自己的任务循环与续段,中枢不自动重试模型或重做业务操作。
|
|
35
35
|
|
|
36
|
-
[版本说明](docs/RELEASE_NOTES_v0.
|
|
36
|
+
[版本说明](docs/RELEASE_NOTES_v0.10.0.md) · [升级指南](docs/UPGRADE_v0.10.0.md) · [知识协议](docs/AGENT_KNOWLEDGE_API.md) · [上一版本](docs/RELEASE_NOTES_v0.9.4.md)
|
|
37
37
|
|
|
38
38
|
## 适合哪些团队
|
|
39
39
|
|
|
@@ -115,7 +115,7 @@ HTTP 工具正文与远程附件在收包时执行限额,超限写操作保留
|
|
|
115
115
|
在本机启动中枢、MySQL、Demo 业务系统、工具源、路由和接入方:
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
|
-
git clone --branch v0.
|
|
118
|
+
git clone --branch v0.10.0 --depth 1 https://github.com/bailinghub/bailinghub.git
|
|
119
119
|
cd bailinghub
|
|
120
120
|
export BAILING_TOKEN="${BAILING_TOKEN:-$(openssl rand -hex 32)}"
|
|
121
121
|
docker compose up --build
|
|
@@ -199,7 +199,7 @@ BailingHub Core 是独立服务,只通过稳定网络契约与业务系统协
|
|
|
199
199
|
| 集中开启本地智能体与工具 | [四步配置指南](docs/LOCAL_AGENT_SETUP.md) · [系统说明](docs/AGENT_SYSTEM_INFO.md) |
|
|
200
200
|
| 查 API 与边界契约 | [HTTP 契约](docs/CONTRACT.md) · [Client API](docs/CLIENT_API.md) |
|
|
201
201
|
| 理解架构与长期取舍 | [架构](docs/ARCHITECTURE.md) · [项目愿景](VISION.md) |
|
|
202
|
-
| 查看版本变化 | [CHANGELOG](docs/CHANGELOG.md) · [v0.
|
|
202
|
+
| 查看版本变化 | [CHANGELOG](docs/CHANGELOG.md) · [v0.10.0](docs/RELEASE_NOTES_v0.10.0.md) |
|
|
203
203
|
|
|
204
204
|
完整中英文文档地图见 [docs/README.md](docs/README.md)。公共 API、SDK、Schema、Docker Demo 与代码标识保持语言中立。
|
|
205
205
|
|
package/SECURITY.md
CHANGED
|
@@ -40,8 +40,8 @@ Maintainers can supply deployment-specific markers at audit time through either:
|
|
|
40
40
|
|
|
41
41
|
For example, a protected test environment may set `BAILING_PUBLIC_DENYLIST_JSON='["DEPLOYMENT_ONLY_MARKER_ALPHA_42"]'`. Audit failures report only the marker index and never echo its value. The external file path is rejected when it resolves inside the repository.
|
|
42
42
|
|
|
43
|
-
##
|
|
43
|
+
## DOCX dependency assurance
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
Core and its bundled console use a reproducible library-only Mammoth distribution. It retains the original parsing sources and license while removing the unused command-line interface and its `argparse → sprintf-js` dependency chain. The previous time-limited exception for [GHSA-hp3w-g68c-fv3c](https://github.com/advisories/GHSA-hp3w-g68c-fv3c) is retired; no dependency finding is currently excepted.
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
`npm run audit:deps` requires zero raw findings, verifies the vendored source/archive, and separately queries direct advisories under the original upstream `mammoth` name and version. Registry failure, changed source/distribution, any finding or a reintroduced CLI dependency blocks the gate. See [DOCX source and audit policy](docs/DOCX_DEPENDENCY.en.md) ([中文](docs/DOCX_DEPENDENCY.md)) for reproduction, compatibility tests and the npm/Docker/source-export boundaries. This is not a general document-safety certification or an assertion that upstream sprintf-js is patched.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -13,6 +13,10 @@ Regenerate it with `npm run notices:generate` and verify it with `npm run notice
|
|
|
13
13
|
- BailingHub and its demo business service use the official [Node.js](https://github.com/nodejs/node) 22 Bookworm Slim image as their default container base. Node.js and the Debian packages in that image retain their own licenses and notices.
|
|
14
14
|
- The default Docker Compose topology runs [MySQL Community Server](https://www.mysql.com/products/community/) 8.4 as a separate service. The public mirror configured by BailingHub is a redistribution of the upstream MySQL image; operators may replace it through `BAILING_MYSQL_IMAGE`. MySQL Community Server is licensed by its upstream project under GPL terms and is not relicensed as part of BailingHub.
|
|
15
15
|
|
|
16
|
+
## Vendored DOCX Library
|
|
17
|
+
|
|
18
|
+
The library-only [Mammoth distribution](vendor/mammoth-library/SOURCE.json) preserves the upstream BSD-2-Clause [license](vendor/mammoth-library/LICENSE) and library source. BailingHub removes its command-line interface and argparse dependency, uses a distinct package name/version, and bundles it for npm consumers. See the [source and audit policy](docs/DOCX_DEPENDENCY.md) for reproducibility and upstream advisory checks.
|
|
19
|
+
|
|
16
20
|
## JavaScript Dependency Inventory
|
|
17
21
|
|
|
18
22
|
The package license texts and copyright notices remain in the installed package distributions. The table below is an inventory, not a replacement for those upstream license files.
|
|
@@ -23,6 +27,7 @@ The package license texts and copyright notices remain in the installed package
|
|
|
23
27
|
| Console | [@babel/helper-validator-identifier](https://www.npmjs.com/package/@babel/helper-validator-identifier) | 7.29.7 | MIT | runtime |
|
|
24
28
|
| Console | [@babel/parser](https://www.npmjs.com/package/@babel/parser) | 7.29.9 | MIT | runtime |
|
|
25
29
|
| Console | [@babel/types](https://www.npmjs.com/package/@babel/types) | 7.29.8 | MIT | runtime |
|
|
30
|
+
| Console | [@bailinghub/mammoth-library](vendor/mammoth-library/LICENSE) | 1.12.0-bailinghub.1 | BSD-2-Clause | runtime |
|
|
26
31
|
| Console | [@ctrl/tinycolor](https://www.npmjs.com/package/@ctrl/tinycolor) | 4.2.0 | MIT | runtime |
|
|
27
32
|
| Console | [@element-plus/icons-vue](https://www.npmjs.com/package/@element-plus/icons-vue) | 2.3.2 | MIT | runtime |
|
|
28
33
|
| Console | [@esbuild/aix-ppc64](https://www.npmjs.com/package/@esbuild/aix-ppc64) | 0.25.12 | MIT | build/test |
|
|
@@ -56,7 +61,6 @@ The package license texts and copyright notices remain in the installed package
|
|
|
56
61
|
| Console | [@floating-ui/utils](https://www.npmjs.com/package/@floating-ui/utils) | 0.2.11 | MIT | runtime |
|
|
57
62
|
| Console | [@jridgewell/sourcemap-codec](https://www.npmjs.com/package/@jridgewell/sourcemap-codec) | 1.6.0 | MIT | runtime |
|
|
58
63
|
| Console | [@mixmark-io/domino](https://www.npmjs.com/package/@mixmark-io/domino) | 2.2.0 | BSD-2-Clause | runtime |
|
|
59
|
-
| Console | [@popperjs/core](https://www.npmjs.com/package/@popperjs/core) | 2.11.8 | MIT | runtime |
|
|
60
64
|
| Console | [@rollup/rollup-android-arm-eabi](https://www.npmjs.com/package/@rollup/rollup-android-arm-eabi) | 4.61.1 | MIT | build/test |
|
|
61
65
|
| Console | [@rollup/rollup-android-arm64](https://www.npmjs.com/package/@rollup/rollup-android-arm64) | 4.61.1 | MIT | build/test |
|
|
62
66
|
| Console | [@rollup/rollup-darwin-arm64](https://www.npmjs.com/package/@rollup/rollup-darwin-arm64) | 4.61.1 | MIT | build/test |
|
|
@@ -82,6 +86,7 @@ The package license texts and copyright notices remain in the installed package
|
|
|
82
86
|
| Console | [@rollup/rollup-win32-ia32-msvc](https://www.npmjs.com/package/@rollup/rollup-win32-ia32-msvc) | 4.61.1 | MIT | build/test |
|
|
83
87
|
| Console | [@rollup/rollup-win32-x64-gnu](https://www.npmjs.com/package/@rollup/rollup-win32-x64-gnu) | 4.61.1 | MIT | build/test |
|
|
84
88
|
| Console | [@rollup/rollup-win32-x64-msvc](https://www.npmjs.com/package/@rollup/rollup-win32-x64-msvc) | 4.61.1 | MIT | build/test |
|
|
89
|
+
| Console | [@sxzz/popperjs-es](https://www.npmjs.com/package/@sxzz/popperjs-es) | 2.11.8 | MIT | runtime |
|
|
85
90
|
| Console | [@types/estree](https://www.npmjs.com/package/@types/estree) | 1.0.9 | MIT | build/test |
|
|
86
91
|
| Console | [@types/lodash](https://www.npmjs.com/package/@types/lodash) | 4.17.24 | MIT | runtime |
|
|
87
92
|
| Console | [@types/lodash-es](https://www.npmjs.com/package/@types/lodash-es) | 4.17.12 | MIT | runtime |
|
|
@@ -101,7 +106,6 @@ The package license texts and copyright notices remain in the installed package
|
|
|
101
106
|
| Console | [@vueuse/metadata](https://www.npmjs.com/package/@vueuse/metadata) | 14.3.0 | MIT | runtime |
|
|
102
107
|
| Console | [@vueuse/shared](https://www.npmjs.com/package/@vueuse/shared) | 14.3.0 | MIT | runtime |
|
|
103
108
|
| Console | [@xmldom/xmldom](https://www.npmjs.com/package/@xmldom/xmldom) | 0.8.15 | MIT | runtime |
|
|
104
|
-
| Console | [argparse](https://www.npmjs.com/package/argparse) | 1.0.10 | MIT | runtime |
|
|
105
109
|
| Console | [async-validator](https://www.npmjs.com/package/async-validator) | 4.2.5 | MIT | runtime |
|
|
106
110
|
| Console | [base64-js](https://www.npmjs.com/package/base64-js) | 1.5.1 | MIT | runtime |
|
|
107
111
|
| Console | [bluebird](https://www.npmjs.com/package/bluebird) | 3.4.7 | MIT | runtime |
|
|
@@ -126,7 +130,6 @@ The package license texts and copyright notices remain in the installed package
|
|
|
126
130
|
| Console | [lodash-unified](https://www.npmjs.com/package/lodash-unified) | 1.0.3 | MIT | runtime |
|
|
127
131
|
| Console | [lop](https://www.npmjs.com/package/lop) | 0.4.2 | BSD-2-Clause | runtime |
|
|
128
132
|
| Console | [magic-string](https://www.npmjs.com/package/magic-string) | 0.30.21 | MIT | runtime |
|
|
129
|
-
| Console | [mammoth](https://www.npmjs.com/package/mammoth) | 1.12.0 | BSD-2-Clause | runtime |
|
|
130
133
|
| Console | [memoize-one](https://www.npmjs.com/package/memoize-one) | 6.0.0 | MIT | runtime |
|
|
131
134
|
| Console | [nanoid](https://www.npmjs.com/package/nanoid) | 3.3.20 | MIT | runtime |
|
|
132
135
|
| Console | [normalize-wheel-es](https://www.npmjs.com/package/normalize-wheel-es) | 1.2.0 | BSD-3-Clause | runtime |
|
|
@@ -143,19 +146,19 @@ The package license texts and copyright notices remain in the installed package
|
|
|
143
146
|
| Console | [safe-buffer](https://www.npmjs.com/package/safe-buffer) | 5.1.2 | MIT | runtime |
|
|
144
147
|
| Console | [setimmediate](https://www.npmjs.com/package/setimmediate) | 1.0.5 | MIT | runtime |
|
|
145
148
|
| Console | [source-map-js](https://www.npmjs.com/package/source-map-js) | 1.2.2 | BSD-3-Clause | runtime |
|
|
146
|
-
| Console | [sprintf-js](https://www.npmjs.com/package/sprintf-js) | 1.0.3 | BSD-3-Clause | runtime |
|
|
147
149
|
| Console | [string_decoder](https://www.npmjs.com/package/string_decoder) | 1.1.1 | MIT | runtime |
|
|
148
150
|
| Console | [tinyglobby](https://www.npmjs.com/package/tinyglobby) | 0.2.17 | MIT | build/test |
|
|
149
151
|
| Console | [turndown](https://www.npmjs.com/package/turndown) | 7.2.4 | MIT | runtime |
|
|
150
152
|
| Console | [typescript](https://www.npmjs.com/package/typescript) | 5.9.3 | Apache-2.0 | runtime |
|
|
151
153
|
| Console | [underscore](https://www.npmjs.com/package/underscore) | 1.13.8 | MIT | runtime |
|
|
152
154
|
| Console | [util-deprecate](https://www.npmjs.com/package/util-deprecate) | 1.0.2 | MIT | runtime |
|
|
153
|
-
| Console | [vite](https://www.npmjs.com/package/vite) | 6.4.
|
|
155
|
+
| Console | [vite](https://www.npmjs.com/package/vite) | 6.4.4 | MIT | build/test |
|
|
154
156
|
| Console | [vue](https://www.npmjs.com/package/vue) | 3.5.43 | MIT | runtime |
|
|
155
157
|
| Console | [vue-component-type-helpers](https://www.npmjs.com/package/vue-component-type-helpers) | 3.3.4 | MIT | runtime |
|
|
156
158
|
| Console | [vue-demi](https://www.npmjs.com/package/vue-demi) | 0.14.10 | MIT | runtime |
|
|
157
159
|
| Console | [vue-router](https://www.npmjs.com/package/vue-router) | 4.6.4 | MIT | runtime |
|
|
158
160
|
| Console | [xmlbuilder](https://www.npmjs.com/package/xmlbuilder) | 10.1.1 | MIT | runtime |
|
|
161
|
+
| Hub | [@bailinghub/mammoth-library](vendor/mammoth-library/LICENSE) | 1.12.0-bailinghub.1 | BSD-2-Clause | runtime |
|
|
159
162
|
| Hub | [@esbuild/aix-ppc64](https://www.npmjs.com/package/@esbuild/aix-ppc64) | 0.28.1 | MIT | runtime |
|
|
160
163
|
| Hub | [@esbuild/android-arm](https://www.npmjs.com/package/@esbuild/android-arm) | 0.28.1 | MIT | runtime |
|
|
161
164
|
| Hub | [@esbuild/android-arm64](https://www.npmjs.com/package/@esbuild/android-arm64) | 0.28.1 | MIT | runtime |
|
|
@@ -198,7 +201,6 @@ The package license texts and copyright notices remain in the installed package
|
|
|
198
201
|
| Hub | [@xmldom/xmldom](https://www.npmjs.com/package/@xmldom/xmldom) | 0.8.15 | MIT | runtime |
|
|
199
202
|
| Hub | [ajv](https://www.npmjs.com/package/ajv) | 8.20.0 | MIT | build/test |
|
|
200
203
|
| Hub | [ajv-formats](https://www.npmjs.com/package/ajv-formats) | 3.0.1 | MIT | build/test |
|
|
201
|
-
| Hub | [argparse](https://www.npmjs.com/package/argparse) | 1.0.10 | MIT | runtime |
|
|
202
204
|
| Hub | [aws-ssl-profiles](https://www.npmjs.com/package/aws-ssl-profiles) | 1.1.2 | MIT | runtime |
|
|
203
205
|
| Hub | [base64-js](https://www.npmjs.com/package/base64-js) | 1.5.1 | MIT | runtime |
|
|
204
206
|
| Hub | [bluebird](https://www.npmjs.com/package/bluebird) | 3.4.7 | MIT | runtime |
|
|
@@ -222,7 +224,6 @@ The package license texts and copyright notices remain in the installed package
|
|
|
222
224
|
| Hub | [long](https://www.npmjs.com/package/long) | 5.3.2 | Apache-2.0 | runtime |
|
|
223
225
|
| Hub | [lop](https://www.npmjs.com/package/lop) | 0.4.2 | BSD-2-Clause | runtime |
|
|
224
226
|
| Hub | [lru.min](https://www.npmjs.com/package/lru.min) | 1.1.4 | MIT | runtime |
|
|
225
|
-
| Hub | [mammoth](https://www.npmjs.com/package/mammoth) | 1.12.0 | BSD-2-Clause | runtime |
|
|
226
227
|
| Hub | [mysql2](https://www.npmjs.com/package/mysql2) | 3.24.3 | MIT | runtime |
|
|
227
228
|
| Hub | [named-placeholders](https://www.npmjs.com/package/named-placeholders) | 1.1.6 | MIT | runtime |
|
|
228
229
|
| Hub | [option](https://www.npmjs.com/package/option) | 0.2.4 | BSD-2-Clause | runtime |
|
|
@@ -237,7 +238,6 @@ The package license texts and copyright notices remain in the installed package
|
|
|
237
238
|
| Hub | [safe-buffer](https://www.npmjs.com/package/safe-buffer) | 5.1.2 | MIT | runtime |
|
|
238
239
|
| Hub | [safer-buffer](https://www.npmjs.com/package/safer-buffer) | 2.1.2 | MIT | runtime |
|
|
239
240
|
| Hub | [setimmediate](https://www.npmjs.com/package/setimmediate) | 1.0.5 | MIT | runtime |
|
|
240
|
-
| Hub | [sprintf-js](https://www.npmjs.com/package/sprintf-js) | 1.0.3 | BSD-3-Clause | runtime |
|
|
241
241
|
| Hub | [sql-escaper](https://www.npmjs.com/package/sql-escaper) | 1.5.1 | MIT | runtime |
|
|
242
242
|
| Hub | [string_decoder](https://www.npmjs.com/package/string_decoder) | 1.1.1 | MIT | runtime |
|
|
243
243
|
| Hub | [tsx](https://www.npmjs.com/package/tsx) | 4.22.4 | MIT | runtime |
|
|
@@ -18,7 +18,7 @@ services:
|
|
|
18
18
|
retries: 30
|
|
19
19
|
|
|
20
20
|
demo-business:
|
|
21
|
-
image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.
|
|
21
|
+
image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.10.0}
|
|
22
22
|
environment:
|
|
23
23
|
DEMO_HOST: 0.0.0.0
|
|
24
24
|
DEMO_PORT: 19080
|
|
@@ -29,7 +29,7 @@ services:
|
|
|
29
29
|
- "${BAILING_DEMO_PUBLIC_PORT:-19080}:19080"
|
|
30
30
|
|
|
31
31
|
bailinghub:
|
|
32
|
-
image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.
|
|
32
|
+
image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.10.0}
|
|
33
33
|
depends_on:
|
|
34
34
|
mysql:
|
|
35
35
|
condition: service_healthy
|
|
@@ -50,9 +50,7 @@ the end user to paste a BailingHub Client Token, Tool Provider Secret, or busine
|
|
|
50
50
|
|
|
51
51
|
### 3.1 Deploy Core and apply migrations
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
or a compatible client. Apply all outstanding migrations, including 055–059, as part of the
|
|
55
|
-
deployment; runtime startup does not apply them.
|
|
53
|
+
The current component set is Core 0.10.0, MCP / Agent Client SDK 0.8.0 and DSH 0.8.0 or a compatible host. Complete conversation audit retains its existing protocol; hosts explicitly negotiate on-demand knowledge. Apply all outstanding migrations through 068 as a deployment step. Public 0.9.4 upgrades add no SQL, and runtime startup never applies migrations. See the [upgrade guide](UPGRADE_v0.10.0.en.md).
|
|
56
54
|
Confirm that health and readiness pass, no migration is pending, the console can edit
|
|
57
55
|
Agent Client settings, and production traffic uses HTTPS.
|
|
58
56
|
|
|
@@ -47,7 +47,7 @@ BailingHub Client Token、Tool Provider Secret 或业务系统密码的步骤。
|
|
|
47
47
|
|
|
48
48
|
### 3.1 部署 Core 并执行数据库迁移
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
当前配套为 Core 0.10.0、MCP / Agent Client SDK 0.8.0 与 DSH 0.8.0 或兼容宿主。完整对话归档沿用既有协议,新知识按需交付由宿主显式协商。按账本应用全部未执行迁移(截至 068);从公开 0.9.4 升级没有新增 SQL。由部署步骤显式迁移,运行时启动不会自动迁移;见 [升级指南](UPGRADE_v0.10.0.md)。
|
|
51
51
|
升级后先确认:
|
|
52
52
|
|
|
53
53
|
- `/health` 和 `/health/ready` 正常;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent Client Runtime v1
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Available as an optional capability since Core 0.8.0, [task control](AGENT_TASK_CONTROL.en.md) adds trusted `task_binding` to turns and echoes it. Enrolled Sessions cannot omit it; runtime searches must use the original `run_id`. Read-only inspection and explicit original-operation continuation remain separate.
|
|
4
4
|
|
|
5
5
|
English | [简体中文](AGENT_CLIENT_RUNTIME_API.md)
|
|
6
6
|
|
|
@@ -12,7 +12,9 @@ does not replace `/run`, chat entries, or the executor protocol. See the
|
|
|
12
12
|
|
|
13
13
|
Every endpoint requires `Authorization: Bearer <Agent access token>` and returns
|
|
14
14
|
`Cache-Control: no-store`. The workspace is the intersection of the Client `allowed_routes`, Agent
|
|
15
|
-
Session `allowed_routes`, enabled and audience-compatible routes,
|
|
15
|
+
Session `allowed_routes`, enabled and audience-compatible routes, with `agent_client.enabled`.
|
|
16
|
+
Business tool discovery and execution additionally require `tools.agent_direct`. A knowledge-only
|
|
17
|
+
workspace can bootstrap and prepare a turn with an empty business tool catalog.
|
|
16
18
|
`agent_client.enabled=false` disables this Runtime only; it does not disable the older
|
|
17
19
|
`/agent-api/v1/tools` surface.
|
|
18
20
|
|
|
@@ -22,6 +24,9 @@ Session `allowed_routes`, enabled and audience-compatible routes, and `tools.age
|
|
|
22
24
|
- `GET /agent-api/v1/workspaces/:route/bootstrap`
|
|
23
25
|
- `POST /agent-api/v1/workspaces/:route/turns`
|
|
24
26
|
- `POST /agent-api/v1/workspaces/:route/capabilities/search`
|
|
27
|
+
- `GET /agent-api/v1/workspaces/:route/knowledge/capabilities`
|
|
28
|
+
- `POST /agent-api/v1/workspaces/:route/knowledge/search`
|
|
29
|
+
- `POST /agent-api/v1/workspaces/:route/knowledge/read`
|
|
25
30
|
- `POST /agent-api/v1/runs/:run_id/complete`
|
|
26
31
|
- Tool execution continues to use `POST /agent-api/v1/tool-invocations` and the existing resume
|
|
27
32
|
endpoint.
|
|
@@ -29,6 +34,31 @@ Session `allowed_routes`, enabled and audience-compatible routes, and `tools.age
|
|
|
29
34
|
Raw JSON for `turns` and `complete` is limited to 512 KiB. Parsed values still have strict field
|
|
30
35
|
limits; the service rejects invalid input instead of truncating it silently.
|
|
31
36
|
|
|
37
|
+
Hosts supporting the [Agent knowledge protocol](AGENT_KNOWLEDGE_API.en.md) may explicitly request
|
|
38
|
+
`knowledge_delivery: "on_demand"` in a turn. This option is part of the immutable turn request hash.
|
|
39
|
+
The server echoes the negotiated mode in `context.knowledge_delivery`, retaining instructions,
|
|
40
|
+
governance and memory while replacing supplementary knowledge bodies with bounded hints.
|
|
41
|
+
Absent this option, legacy inline knowledge remains unchanged. Native chat/embed/widget do not
|
|
42
|
+
use this option. Hosts must not silently remove unnegotiated bodies.
|
|
43
|
+
|
|
44
|
+
Tool invocation `arguments` must remain an object. The limit is **1048576 bytes (1 MiB)**,
|
|
45
|
+
measured as UTF-8 bytes of `JSON.stringify(arguments)`, including JSON escaping. The full HTTP
|
|
46
|
+
JSON envelope is limited to **2097152 bytes (2 MiB)**. Executor `/jobs/:job_id/tools/invoke`
|
|
47
|
+
uses the same budgets. These explicit tool budgets are independent of `BAILING_JSON_BODY_MAX_BYTES`;
|
|
48
|
+
other endpoints and business capability field limits remain separate. Composite HTML/CSS fields
|
|
49
|
+
remain objects, subject to the capability schema and business validation.
|
|
50
|
+
|
|
51
|
+
Oversize requests are rejected before dispatch with HTTP 413, `error=arguments_too_large`,
|
|
52
|
+
`origin=core`, `dispatch=not_dispatched`, `limit_scope=arguments|request_body`, and `max_bytes`.
|
|
53
|
+
Argument rejection includes exact `actual_bytes`. Streaming envelope rejection includes
|
|
54
|
+
`observed_bytes`, the bytes observed when reading stopped, which may be less than the full request.
|
|
55
|
+
No body or credential is echoed. Older MCP/SDK clients enforce their own smaller limits and need
|
|
56
|
+
the matching client fix; updating Core alone cannot change installed clients.
|
|
57
|
+
|
|
58
|
+
Complete approval argument snapshots retain the exact idempotency hash. Notifications use bounded
|
|
59
|
+
summaries, and large snapshots are read on demand in the console. Larger transport budgets do not
|
|
60
|
+
bypass identity, authorization, approval, idempotency, or audit checks.
|
|
61
|
+
|
|
32
62
|
## Write and approval semantics
|
|
33
63
|
|
|
34
64
|
`tools.agent_direct.write_tools` exposes exact write operation IDs to the local Agent. Approval
|
|
@@ -160,6 +190,46 @@ owns dynamic tool replacement/append behavior and the current loaded-tool set.
|
|
|
160
190
|
|
|
161
191
|
## Tool invocation and recovery
|
|
162
192
|
|
|
193
|
+
### Read usage guidance by tool name
|
|
194
|
+
|
|
195
|
+
Discovery `description` remains short: the OpenAPI compiler caps it at 500 Unicode code points.
|
|
196
|
+
Optional `usage_guidance_available: true` identifies separate guidance; `description_truncated: true`
|
|
197
|
+
only means the short description itself was shortened, with a `tool_description_truncated` compile
|
|
198
|
+
warning. Separate detail does not imply truncation. When both OpenAPI `summary` and `description`
|
|
199
|
+
are present, both remain in explicit guidance rather than silently discarding `description`.
|
|
200
|
+
|
|
201
|
+
```http
|
|
202
|
+
GET /agent-api/v1/tools/page_save?route=pages&capability_revision=<current-capability-revision>
|
|
203
|
+
Authorization: Bearer <Agent access token>
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
The `bailing.agent-tool-detail.v1` response contains `route`, `capability_revision`, the existing
|
|
207
|
+
allowlisted `tool` projection, and `usage_guidance: { text, truncated, source_chars, max_chars,
|
|
208
|
+
source_bytes, max_bytes }`. Scope, risk, approval, readonly and idempotency keep their existing
|
|
209
|
+
machine meanings. Guidance never grants permission or replaces server validation. Detail combines
|
|
210
|
+
only standard summary/description, ACC when-to-use/returns and the first example; it does not expose
|
|
211
|
+
the original spec, extension bag, Provider URL or credentials.
|
|
212
|
+
|
|
213
|
+
Guidance is bounded by both **32768 Unicode code points** and **65536 UTF-8 bytes**, whichever is
|
|
214
|
+
reached first, without splitting characters. Source counts describe the guidance before truncation,
|
|
215
|
+
after control-character cleanup. `truncated: true` means even this detail is incomplete, with a
|
|
216
|
+
`tool_usage_guidance_truncated` compile warning. Authors should shorten guidance and put critical
|
|
217
|
+
conditions first; schema and ACC machine checks continue independently. Catalogs and searches do
|
|
218
|
+
not inline the full guidance.
|
|
219
|
+
|
|
220
|
+
Each read revalidates current Client, Session, route, audience, subject and exact tool authorization.
|
|
221
|
+
A stale revision returns `409 capability_changed`; an unavailable tool returns `404 tool_not_found`.
|
|
222
|
+
This read creates no invocation/job, consumes no approval or execution allowance and makes no
|
|
223
|
+
business request. Responses use `Cache-Control: no-store`. Older clients can ignore optional fields;
|
|
224
|
+
missing fields or an unsupported endpoint on an older server do not prove its short description
|
|
225
|
+
contains all prerequisites.
|
|
226
|
+
|
|
227
|
+
The capability revision includes the compiled public projection and bounded guidance. A compiler
|
|
228
|
+
upgrade that changes descriptions, flags or guidance therefore invalidates discovery caches even
|
|
229
|
+
when the raw spec is unchanged. This discovery revision remains separate from an invocation's
|
|
230
|
+
frozen execution fingerprint: guidance-only changes do not block original approval continuation
|
|
231
|
+
and do not permit automatic redispatch.
|
|
232
|
+
|
|
163
233
|
Invoke only a tool projected by the current bootstrap/search result. Core revalidates the Agent
|
|
164
234
|
Session, route, operation ID, ACC declaration, approval state, limits, and business authorization
|
|
165
235
|
on every invocation. When the result is pending, in progress, or uncertain, resume the original
|
|
@@ -180,6 +250,21 @@ raw business response bodies.
|
|
|
180
250
|
|
|
181
251
|
## Complete
|
|
182
252
|
|
|
253
|
+
Authorization-level execution summaries can use `bailing.authorization-execution-summary.v1`
|
|
254
|
+
inside the existing `content` string. They contain only original invocation IDs, original tool
|
|
255
|
+
names, last-known states, `next_action: "inspect_original"` for unresolved calls, and total/omitted
|
|
256
|
+
counts. New DSH summaries exclude business result text. They are neither a complete audit nor a
|
|
257
|
+
current outcome check, and they do not invent a reference for retrieving full original output.
|
|
258
|
+
|
|
259
|
+
When assembling the next turn's `memory.recent`, Core recognizes this marker only in outbound
|
|
260
|
+
messages and projects allowed fact fields again. It fixes `kind: "authorization_execution_summary"`,
|
|
261
|
+
`source: "agent_client"` and `trust: "reference_only"`: a client-claimed schema does not verify an
|
|
262
|
+
outcome or grant authority. User messages cannot acquire execution provenance by including the
|
|
263
|
+
same marker. Memory limits omit whole invocation records with explicit counts; very small limits
|
|
264
|
+
return an explicit omission notice, never partial JSON. Existing assistant text and immutable
|
|
265
|
+
completion bodies remain compatible. This adds neither user long-term memory nor full-audit
|
|
266
|
+
storage guarantees.
|
|
267
|
+
|
|
183
268
|
```json
|
|
184
269
|
{
|
|
185
270
|
"assistant_message_id": "assistant-message-1",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Agent Client Runtime v1
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Core 0.8.0 起提供的可选[任务控制](AGENT_TASK_CONTROL.md)为 turn 增加宿主 `task_binding` 和原样回显;已加入任务的 Session 不能省略,业务搜索须使用原 `run_id`。原调用只读核对与显式继续分别处理。
|
|
4
4
|
|
|
5
5
|
本版本化接口让已完成 Agent Auth 网页授权的本地智能体在本地承担规划,同时继续复用 BailingHub 的身份重验、工具治理、审批、审计与对话总账。它不替代现有 `/run`、聊天入口或执行器协议。配套的部署、业务授权页和宿主接入步骤见 [Agent Client v1 接入指南](AGENT_CLIENT_QUICKSTART.md),身份授权契约见 [Agent Auth v1](AGENT_AUTH_API.md)。
|
|
6
6
|
|
|
7
|
-
所有接口只接受 `Authorization: Bearer <Agent access token>`,响应均 `Cache-Control: no-store
|
|
7
|
+
所有接口只接受 `Authorization: Bearer <Agent access token>`,响应均 `Cache-Control: no-store`。Runtime 工作区授权面取以下交集:Client `allowed_routes` ∩ Agent Session `allowed_routes` ∩ 启用且 audience 允许的 route,并要求 `agent_client.enabled`。业务工具发现与执行另要求 `tools.agent_direct`;纯知识工作区无需打开业务工具直调,此时bootstrap/turn返回空工具集。`agent_client.enabled=false` 关闭 Runtime 工作区、上下文与能力接口,不关闭旧 `/agent-api/v1/tools`。
|
|
8
8
|
|
|
9
9
|
首次选择业务目标所需的[系统说明](AGENT_SYSTEM_INFO.md)采用同一身份与路由边界,但读取说明不要求开启 Runtime 或工具直调,也不会加载工具或创建业务运行。
|
|
10
10
|
|
|
@@ -15,11 +15,20 @@
|
|
|
15
15
|
- `GET /agent-api/v1/workspaces/:route/bootstrap`
|
|
16
16
|
- `POST /agent-api/v1/workspaces/:route/turns`
|
|
17
17
|
- `POST /agent-api/v1/workspaces/:route/capabilities/search`
|
|
18
|
+
- `GET /agent-api/v1/workspaces/:route/knowledge/capabilities`
|
|
19
|
+
- `POST /agent-api/v1/workspaces/:route/knowledge/search`
|
|
20
|
+
- `POST /agent-api/v1/workspaces/:route/knowledge/read`
|
|
18
21
|
- `POST /agent-api/v1/runs/:run_id/complete`
|
|
19
22
|
- 工具执行继续使用 `POST /agent-api/v1/tool-invocations` 与既有 resume 端点。
|
|
20
23
|
|
|
21
24
|
`turns` 与 `complete` 的原始 JSON 请求上限为 512 KiB。该上限可覆盖 64000 字符 Unicode 文本的 JSON 编码、Turn 的 16 KiB `page_context` 以及合理 envelope;解析后仍按各字段的字符上限严格校验。
|
|
22
25
|
|
|
26
|
+
工具调用的 `arguments` 必须是对象,按 `JSON.stringify(arguments)` 后的 UTF-8 字节数计量,最多 **1048576 字节(1 MiB)**。完整调用 HTTP JSON 信封最多 **2097152 字节(2 MiB)**;执行器的 `/jobs/:job_id/tools/invoke` 使用同一预算。它们是独立于 `BAILING_JSON_BODY_MAX_BYTES` 的工具调用固定安全预算,不改变其他接口或业务能力的字段上限。HTML/CSS 等复合字段继续传对象,由能力 schema 和业务服务独立校验,不能将其改成 JSON 字符串绕过校验。
|
|
27
|
+
|
|
28
|
+
超限在派发前返回 HTTP 413:`error=arguments_too_large`、`origin=core`、`dispatch=not_dispatched`、`limit_scope=arguments|request_body` 和 `max_bytes`。参数超限返回精确的 `actual_bytes`;HTTP 信封的流式读取超限返回 `observed_bytes`,仅代表停止读取前已观察到的字节数,完整请求可能更大。回执不包含正文或凭据。较旧 MCP/SDK 有独立的小上限,需要使用配套修复候选;只升级 Core 不会改变已安装客户端的校验。
|
|
29
|
+
|
|
30
|
+
完整审批参数快照与幂等哈希保持一致,通知只携带有界摘要;大快照在后台按需查看。放宽传输容量不会跳过主体、授权、审批、原调用幂等或审计约束。
|
|
31
|
+
|
|
23
32
|
## 工具审批语义
|
|
24
33
|
|
|
25
34
|
`tools.agent_direct.write_tools` 只负责按精确 operationId 开放本地 Agent 可调用的写工具;工具是否需要审批默认继续以业务侧 ACC 的 `risk`、`approval.required` 和 `approval.when` 声明为准。路由只有把工具精确列入 `tools.agent_direct.force_approval_tools` 时,才会在 ACC 之外额外强制审批。高风险、ACC 明示审批和条件审批不会被路由覆盖掉。
|
|
@@ -92,6 +101,8 @@ Bootstrap 只逐字段抽取 `target_config.system_prompt`,再拼接可选 `ag
|
|
|
92
101
|
|
|
93
102
|
同一 Agent Session + route + conversation + turn,以及同一 `user_message_id`,会冻结到同一个 `run_id` 和上下文快照;同键不同请求返回 `409`。服务端先读取本轮之前的 memory,再把用户可见消息追加到总账。
|
|
94
103
|
|
|
104
|
+
支持[Agent知识按需协议](AGENT_KNOWLEDGE_API.md)的宿主可在turn请求显式添加 `knowledge_delivery: "on_demand"`,该选项计入同turn不可变请求哈希。服务端仅将补充知识正文改为有界提示,保留必要instructions、governance和memory;响应通过 `context.knowledge_delivery` 明确回显协议与模式。无该选项的旧客户端保持原有inline知识正文,自带chat/embed/widget不使用此选项。宿主不得自行删除未协商正文。
|
|
105
|
+
|
|
95
106
|
能力搜索最多返回 12 个完整 typed tools,schema 为 `bailing.agent-capability-search.v1`。检索只在当前授权集内进行;任一工具源的 embedding 不可用时,整次搜索确定性退回 lexical 排序。
|
|
96
107
|
能力搜索必须提供非空 `query`,或者提供属于当前 Agent Session 与 route 的合法 `run_id`,由服务端回退使用该 run 的 `user_input`。
|
|
97
108
|
|
|
@@ -123,12 +134,35 @@ Bootstrap 只逐字段抽取 `target_config.system_prompt`,再拼接可选 `ag
|
|
|
123
134
|
|
|
124
135
|
## 工具调用与恢复
|
|
125
136
|
|
|
137
|
+
### 按名读取工具使用指导
|
|
138
|
+
|
|
139
|
+
发现结果中的 `description` 仍是短说明,OpenAPI 编译上限为 500 个 Unicode 字符。存在独立的完整说明时返回可选 `usage_guidance_available: true`;短说明确实超长时另返回 `description_truncated: true` 并产生 `tool_description_truncated` 编译警告。**有详细指导不等于短说明被截断**。OpenAPI 同时提供 `summary` 和 `description` 时,两者都会保留在按需指导中,原 `description` 不再因存在 `summary` 而丢失。
|
|
140
|
+
|
|
141
|
+
客户端可明确读取当前工具,不需要发起任务或业务调用:
|
|
142
|
+
|
|
143
|
+
```http
|
|
144
|
+
GET /agent-api/v1/tools/page_save?route=pages&capability_revision=<当前能力修订>
|
|
145
|
+
Authorization: Bearer <Agent access token>
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
响应为 `bailing.agent-tool-detail.v1`,包含同一 `route`、`capability_revision`、现有白名单投影 `tool`,以及 `usage_guidance: { text, truncated, source_chars, max_chars, source_bytes, max_bytes }`。`tool` 的 scope、风险、审批、只读、幂等等机器字段保持原语义;指导文字不会扩大权限或替代服务端校验。详情只合成标准 `summary`、`description`、ACC `when_to_use` / `returns` 和首个示例,不返回原 spec、扩展袋、Provider 地址或凭据。
|
|
149
|
+
|
|
150
|
+
指导同时受 **32768 个 Unicode code point** 和 **65536 个 UTF-8 字节**限制,先到者生效,保持完整字符。`source_chars` / `source_bytes` 是清理控制字符后的原始指导长度;`truncated: true` 明确表示详情也不完整,并产生 `tool_usage_guidance_truncated` 编译警告。接入方应缩短、前置关键条件;schema / ACC 中的机器约束继续独立执行。响应只按需携带一项指导,目录与搜索不会自动附上全文。
|
|
151
|
+
|
|
152
|
+
每次读取都重新检查当前 Client、Session、route、audience、主体与具体工具授权;旧修订返回 `409 capability_changed`,需重新发现。无当前工具授权返回 `404 tool_not_found`。该只读路径不创建 invocation/job、不消费审批或执行额度、不调用业务接口,且响应 `Cache-Control: no-store`。新增字段可被旧客户端忽略;遇到缺少字段或不支持详情端点的旧服务端时,不能宣称短说明已包含全部前置条件。
|
|
153
|
+
|
|
154
|
+
能力修订同时包含编译后的公开工具投影和有界指导,因此同一份原始 spec 经新编译器产生不同短说明、标记或指导时,也会使客户端缓存失效。该发现修订与 invocation 冻结的执行指纹分开:仅文案/指导变化不阻断原审批调用的恢复,也不会允许自动重复派发。
|
|
155
|
+
|
|
126
156
|
工具已经尝试发送、但网络中断或响应正文丢失时,Core 返回 `reconciliation_required` 和 `auto_retry_allowed: false`;只读和声明幂等的工具也不能被标为 `rejected_before_dispatch`。该状态表示尚无可信结果,不证明业务已经执行或尚未执行。
|
|
127
157
|
|
|
128
158
|
客户端必须保留原 `invocation_id` 及授权关联,使用现有 resume 恢复原调用。Core 重新验证当前授权并回放已保存的结果,不重新派发;结果仍不确定时需要人工核实,不能新建库存调整、订单更新等操作,也不能切换授权或改用另一工具重复执行。重新发现工具与恢复业务调用是两个动作。原审批和执行日志机制保持不变。
|
|
129
159
|
|
|
130
160
|
## Complete
|
|
131
161
|
|
|
162
|
+
授权级执行摘要可在既有 `content` 字符串中使用 `bailing.authorization-execution-summary.v1`:仅包含原 `invocation_id`、原工具名、`last_known_state`、未决调用的 `next_action: "inspect_original"`,以及 `total_invocations` / `omitted_invocations`。DSH 的新投影不把业务响应原文写入这份摘要;它也不是完整审计、当前结果验证或原文读取引用。
|
|
163
|
+
|
|
164
|
+
Core 装配下一轮 `memory.recent` 时,仅对出站消息识别该标识,重新白名单投影并固定标注 `kind: "authorization_execution_summary"`、`source: "agent_client"`、`trust: "reference_only"`。这是客户端报告的历史事实,标识本身不证明权限或结果;普通用户消息不会因出现同标识而获得执行来源。预算不足时按完整调用条目省略并标注数量;极小预算返回明确的省略说明,均不会产出半段 JSON。旧普通 assistant 正文保持兼容,既有 completion 幂等正文不会被静默改写;不新增用户长期记忆或审计全文存储承诺。
|
|
165
|
+
|
|
132
166
|
```json
|
|
133
167
|
{
|
|
134
168
|
"assistant_message_id": "assistant-message-1",
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Agent knowledge search and read
|
|
2
|
+
|
|
3
|
+
[简体中文](AGENT_KNOWLEDGE_API.md) | [Runtime API](AGENT_CLIENT_RUNTIME_API.en.md)
|
|
4
|
+
|
|
5
|
+
Optional protocol `bailing.agent-knowledge.v1` applies only to Agent Clients. Native chat,
|
|
6
|
+
embed and widget keep existing server-side retrieval and body injection. Knowledge is
|
|
7
|
+
`reference_only`: it does not replace instructions, permissions, approvals or business receipts.
|
|
8
|
+
|
|
9
|
+
All endpoints require the current Agent bearer, revalidate Client/Session/route/audience and
|
|
10
|
+
`agent_client.enabled`, and return `Cache-Control: no-store`. Knowledge-only routes do not
|
|
11
|
+
require direct business tools. The client cannot supply KB IDs or document IDs.
|
|
12
|
+
|
|
13
|
+
## Negotiation
|
|
14
|
+
|
|
15
|
+
`GET /agent-api/v1/workspaces/:route/knowledge/capabilities` returns schema
|
|
16
|
+
`bailing.agent-knowledge-capabilities.v1`, protocol, supported, route, enabled,
|
|
17
|
+
knowledge_scope_revision, delivery_modes (`inline`, `on_demand`) and limits:
|
|
18
|
+
search_max_results=3, search_max_bytes=4096, read_default_bytes=16384,
|
|
19
|
+
read_max_bytes=32768, reference_ttl_seconds=300, read_chain_max_bytes=131072.
|
|
20
|
+
|
|
21
|
+
After explicit support negotiation, a trusted host may request `knowledge_delivery: "on_demand"`
|
|
22
|
+
in a new turn. The option is part of the immutable request hash. Core keeps knowledge and
|
|
23
|
+
knowledge_refs as empty arrays and echoes context.knowledge_delivery with schema_version
|
|
24
|
+
`bailing.agent-knowledge-delivery.v1`, mode, protocol, scope revision, status and bounded hints.
|
|
25
|
+
Instructions, governance and memory remain. Legacy requests without the option retain inline
|
|
26
|
+
bodies. Do not silently strip bodies when negotiation fails. Old endpoint 404/405/501 may fall
|
|
27
|
+
back to inline; authorization/server errors and unknown schemas must not pretend success.
|
|
28
|
+
|
|
29
|
+
## Search
|
|
30
|
+
|
|
31
|
+
`POST /agent-api/v1/workspaces/:route/knowledge/search` accepts
|
|
32
|
+
`{query, limit?, run_id?}`. Nonempty query is at most 2000 characters; limit is 1–3. An optional
|
|
33
|
+
run must be current, owned by this Session/client/route and context_ready. Managed tasks retain
|
|
34
|
+
their membership and active-state checks. Server-only turn preparation may issue run-bound
|
|
35
|
+
hints before finalization; the public endpoint cannot access preparing runs.
|
|
36
|
+
|
|
37
|
+
Schema `bailing.agent-knowledge-search.v1` returns route, optional run_id, knowledge_scope_revision,
|
|
38
|
+
status, trust=reference_only, hints and truncated. Each hint has ref, title, summary, revision,
|
|
39
|
+
score and expires_at. Summaries are bounded excerpts from actual current hits, not model output.
|
|
40
|
+
The entire JSON response is at most 4096 UTF-8 bytes and up to three distinct parent documents.
|
|
41
|
+
No knowledge body, memory or business schemas are included.
|
|
42
|
+
|
|
43
|
+
Status distinguishes ok (including zero matches), disabled, unavailable and partial. Do not call
|
|
44
|
+
retrieval failure “no knowledge”. Respect route thresholds; scores are not relevance probabilities.
|
|
45
|
+
Agent retrieval validates fresh index hits against current ready documents, ownership and exact
|
|
46
|
+
chunk content without changing native retrieval/cache behavior. Cross-model ranking remains an
|
|
47
|
+
approximation. No invocation/job or business dispatch is created.
|
|
48
|
+
|
|
49
|
+
## Read
|
|
50
|
+
|
|
51
|
+
`POST /agent-api/v1/workspaces/:route/knowledge/read` accepts
|
|
52
|
+
`{ref, run_id?, cursor?, max_bytes?}`. Reuse exactly the same run and original opaque cursor.
|
|
53
|
+
Schema `bailing.agent-knowledge-read.v1` returns route, optional run_id, knowledge_scope_revision,
|
|
54
|
+
ref, revision, title, content, trust, next_cursor, truncated, budget_exhausted,
|
|
55
|
+
total_content_bytes and read_chain_max_bytes.
|
|
56
|
+
|
|
57
|
+
Full JSON UTF-8 response budget defaults to 16384 bytes, accepts 4096–32768, and preserves Unicode
|
|
58
|
+
characters. Follow next_cursor when non-null. A reference reading chain exposes at most 128 KiB
|
|
59
|
+
of body: its last page explicitly has truncated=true, budget_exhausted=true and next_cursor=null
|
|
60
|
+
if the source exceeds that limit. This is not a per-turn total budget or a complete-source claim.
|
|
61
|
+
|
|
62
|
+
References/cursors use domain-separated HMAC under the existing server token, with a five-minute
|
|
63
|
+
TTL and no migration/new configuration. References bind Client, Session, principal/on_behalf_of,
|
|
64
|
+
route, optional run, full knowledge configuration and SHA-256 of title/body. Every read revalidates
|
|
65
|
+
current identity, scope, task state, KB enabled state, document ownership, ready state and revision.
|
|
66
|
+
Shared-key processes can validate references; key rotation requires a new search.
|
|
67
|
+
|
|
68
|
+
Errors: knowledge_reference_invalid (400, including cross-identity), knowledge_reference_expired
|
|
69
|
+
(410), knowledge_scope_changed (409), knowledge_changed (409), knowledge_unavailable (503).
|
|
70
|
+
Search again when references change; never substitute a new body for an old revision or replay
|
|
71
|
+
a business write to repair knowledge retrieval. Errors do not include body, credentials or SQL.
|
|
72
|
+
|
|
73
|
+
Hosts expose separate knowledge search/read tools, keep hints visible, isolate caches by current
|
|
74
|
+
authorization and turn, reject late responses, and preserve reference-only provenance. Existing
|
|
75
|
+
named-context delivery confirmation only addresses duplicate assembly; it does not replace
|
|
76
|
+
knowledge authorization or retrieval. Required business preconditions must also live in capability
|
|
77
|
+
guidance and server validation.
|