@openclaw/feishu 2026.7.2-beta.7 → 2026.7.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.setup/accounts-CfuPSCip.mjs +516 -0
- package/dist/.setup/app-registration-D18iu_PK.mjs +204 -0
- package/dist/.setup/channel-CiFS4inh.mjs +2661 -0
- package/dist/.setup/channel.runtime-B9LCBnp3.mjs +641 -0
- package/dist/.setup/client-DLqNWY5r.mjs +161 -0
- package/dist/.setup/conversation-id-CdLdoot3.mjs +143 -0
- package/dist/.setup/drive-Cy1tmfSn.mjs +934 -0
- package/dist/.setup/json-response-DXajw_FU.mjs +9 -0
- package/dist/.setup/legacy-state-migrations-api-CVW3tHfw.mjs +73 -0
- package/dist/.setup/legacy-state-migrations-api-jN6Z0iq0.mjs +2 -0
- package/dist/.setup/monitor-C4sFALTA.mjs +232 -0
- package/dist/.setup/monitor.account-Do7egFpi.mjs +5853 -0
- package/dist/.setup/probe-DbUBx0Px.mjs +162 -0
- package/dist/.setup/runtime-setter-api-CG-RC4_r.mjs +3 -0
- package/dist/.setup/secret-contract-DLaBl9m4.mjs +137 -0
- package/dist/.setup/secret-contract-api-ZtO0BWHd.mjs +3 -0
- package/dist/.setup/security-audit-Duuj2PkP.mjs +11 -0
- package/dist/.setup/security-audit-shared-BIHeF-S_.mjs +38 -0
- package/dist/.setup/send-DkB3ifwO.mjs +1264 -0
- package/dist/.setup/send-result-COI_ANtb.mjs +287 -0
- package/dist/.setup/session-conversation-CWBrUzmY.mjs +27 -0
- package/dist/.setup/setup-api-DY9H9ISg.mjs +3 -0
- package/dist/.setup/subagent-hooks-BQhuBlyy.mjs +235 -0
- package/dist/.setup/thread-bindings-V0bwk0A1.mjs +222 -0
- package/dist/api.js +256 -431
- package/dist/channel-plugin-api.js +1 -1
- package/dist/contract-api.js +3 -3
- package/dist/legacy-state-migrations-api.js +2 -0
- package/dist/runtime-api.js +3 -2
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/session-key-api.js +1 -1
- package/dist/setup-api.js +1 -1
- package/dist/setup-entry.js +9 -3
- package/dist/subagent-hooks-api.js +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/README.md +0 -13
- package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +0 -12
- package/node_modules/@larksuiteoapi/node-sdk/es/index.js +3084 -8950
- package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +3083 -8951
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/index.d.ts +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/index.js +52 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/aspromise/tests/index.js +130 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/README.md +19 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/index.d.ts +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/index.js +139 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/base64/tests/index.js +46 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/README.md +49 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/index.d.ts +31 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/index.js +112 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/package.json +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/codegen/tests/index.js +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/CHANGELOG.md +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/README.md +22 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/index.d.ts +45 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/index.js +86 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/eventemitter/tests/index.js +83 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/CHANGELOG.md +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/index.d.ts +56 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/index.js +112 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/package.json +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/tests/data/file.txt +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/tests/index.js +158 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/fetch/util/fs.js +11 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/README.md +102 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/bench/index.js +87 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/bench/suite.js +46 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/index.js +335 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/package.json +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/float/tests/index.js +100 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/CHANGELOG.md +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/index.d.ts +10 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/index.js +38 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/array.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/data/object.js +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/inquire/tests/index.js +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/README.md +19 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/index.d.ts +22 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/index.js +65 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/path/tests/index.js +60 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/.npmignore +3 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/README.md +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/index.d.ts +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/index.js +48 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/pool/tests/index.js +33 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/LICENSE +26 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/README.md +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/index.d.ts +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/index.js +104 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/package.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/tests/data/surrogate_pair_bug.txt +207 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/tests/data/utf8.txt +216 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@protobufjs/utf8/tests/index.js +74 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/README.md +15 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/assert/strict.d.ts +68 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/assert.d.ts +1077 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/buffer.d.ts +1799 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/child_process.d.ts +1362 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/cluster.d.ts +432 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/console.d.ts +93 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/constants.d.ts +14 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/crypto.d.ts +3954 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/dgram.d.ts +537 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/diagnostics_channel.d.ts +794 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/dns.d.ts +876 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/domain.d.ts +150 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/events.d.ts +1008 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ffi.d.ts +486 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/fs/promises.d.ts +1471 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/fs.d.ts +4786 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/globals.d.ts +150 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/http.d.ts +2172 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/http2.d.ts +2489 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/https.d.ts +400 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/index.d.ts +115 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/inspector.d.ts +264 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/module.d.ts +726 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/net.d.ts +970 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/os.d.ts +498 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/package.json +155 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/path.d.ts +178 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/perf_hooks.d.ts +604 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/process.d.ts +2217 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/punycode.d.ts +89 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/querystring.d.ts +139 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/quic.d.ts +978 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/readline.d.ts +508 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/repl.d.ts +420 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/sea.d.ts +47 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/sqlite.d.ts +1123 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/iter.d.ts +451 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream/web.d.ts +300 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/stream.d.ts +1806 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/test.d.ts +2389 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/timers.d.ts +149 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/tls.d.ts +1193 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/trace_events.d.ts +103 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.6/index.d.ts +117 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/ts5.7/index.d.ts +117 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/tty.d.ts +225 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/url.d.ts +556 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/util.d.ts +1677 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/v8.d.ts +1062 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/vm.d.ts +1136 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/wasi.d.ts +131 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/domexception.d.ts +83 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/worker_threads.d.ts +669 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/@types/node/zlib.d.ts +589 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/CHANGELOG.md +62 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/README.md +297 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/axios.js +728 -170
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/axios.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/browser/axios.cjs +871 -188
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/esm/axios.js +871 -188
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/dist/node/axios.cjs +1037 -225
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/index.d.cts +102 -74
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/index.d.ts +100 -68
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/adapters/fetch.js +64 -11
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/adapters/http.js +140 -67
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/adapters/xhr.js +52 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/Axios.js +43 -20
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/AxiosError.js +33 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/AxiosHeaders.js +124 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/InterceptorManager.js +107 -8
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/buildFullPath.js +41 -15
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/dispatchRequest.js +8 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/mergeConfig.js +19 -4
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/defaults/index.js +2 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/Http2Sessions.js +2 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/HttpStatusCode.js +12 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/combineURLs.js +11 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/composeSignals.js +12 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +115 -54
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/formDataToJSON.js +11 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/fromDataURI.js +5 -4
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/parseHeaders.js +5 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/progressEventReducer.js +4 -4
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/resolveConfig.js +5 -17
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/shouldBypassProxy.js +300 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/throttle.js +3 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/helpers/toFormData.js +17 -23
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/lib/utils.js +151 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/axios/package.json +21 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/CHANGELOG.md +1 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/README.md +41 -46
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/index.d.ts +2 -13
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/lib/form_data.js +83 -75
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/lib/populate.js +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/package.json +7 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/README.md +553 -266
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.js +1985 -3177
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.js +1244 -1966
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.js +2005 -3330
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/README.md +70 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/index.d.ts +193 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/index.js +1185 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/test.js +54 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/api/annotations.json +1 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/api/http.json +1 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/api.json +6 -12
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/descriptor.json +87 -170
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/descriptor.proto +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/source_context.json +1 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/type.json +7 -14
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/index.d.ts +703 -1066
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/package.json +52 -25
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/scripts/postinstall.js +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/common.js +8 -14
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/converter.js +51 -85
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/decoder.js +61 -205
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/encoder.js +7 -27
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/enum.js +5 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/field.js +19 -71
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index-light.js +29 -29
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index-minimal.js +13 -12
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index.js +6 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/mapfield.js +8 -26
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/message.js +11 -5
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/method.js +7 -30
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/namespace.js +10 -26
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/object.js +31 -41
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/oneof.js +1 -12
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/parse.js +47 -169
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/reader.js +50 -412
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/reader_buffer.js +5 -31
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/root.js +4 -16
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/rpc/service.js +5 -18
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/service.js +2 -15
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/tokenize.js +1 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/type.js +36 -80
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/typescript.jsdoc +15 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/longbits.js +6 -10
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/minimal.js +54 -71
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util.js +17 -51
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/verifier.js +14 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/wrappers.js +3 -2
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/writer.js +191 -424
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/writer_buffer.js +26 -41
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/tsconfig.json +5 -3
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/CHANGELOG.md +0 -11
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/dist/qs.js +17 -17
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/lib/parse.js +8 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/lib/utils.js +8 -47
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/package.json +5 -6
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/test/parse.js +0 -230
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/qs/test/utils.js +0 -194
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/README.md +6 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/agent.d.ts +30 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/client.d.ts +129 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/connector.d.ts +36 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/dispatcher.d.ts +253 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/errors.d.ts +177 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/fetch.d.ts +231 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/handlers.d.ts +14 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/header.d.ts +165 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/index.d.ts +93 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/interceptors.d.ts +80 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/package.json +55 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/round-robin-pool.d.ts +39 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/snapshot-agent.d.ts +113 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/webidl.d.ts +346 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/undici-types/websocket.d.ts +188 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/ws/lib/permessage-deflate.js +3 -1
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/ws/package.json +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/types/index.d.ts +698 -12522
- package/node_modules/typebox/build/compile/validator.d.mts +4 -1
- package/node_modules/typebox/build/guard/guard.d.mts +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +2 -5
- package/node_modules/typebox/build/guard/string.mjs +4 -16
- package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
- package/node_modules/typebox/build/typebox.d.mts +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +32 -29
- package/openclaw.plugin.json +105 -190
- package/package.json +10 -26
- package/skills/feishu-doc/SKILL.md +0 -4
- package/skills/feishu-drive/SKILL.md +2 -5
- package/dist/accounts-u9X5Wsan.js +0 -469
- package/dist/app-registration-cN1bVV6s.js +0 -201
- package/dist/channel-CScE82zY.js +0 -2795
- package/dist/channel.runtime-B21e1E0r.js +0 -889
- package/dist/client-Dcbs6vml.js +0 -248
- package/dist/conversation-id-BeJL-wq7.js +0 -146
- package/dist/doctor-contract-BiD9tyIv.js +0 -102
- package/dist/doctor-contract-api.js +0 -2
- package/dist/drive-hSi_Utp0.js +0 -1075
- package/dist/json-response-CheljwGr.js +0 -9
- package/dist/media-CEUraFOR.js +0 -1348
- package/dist/monitor-DngbaA6a.js +0 -62
- package/dist/monitor.account-BnTWCw55.js +0 -7153
- package/dist/monitor.startup-CqH2tiJq.js +0 -143
- package/dist/probe-p3POS2RN.js +0 -219
- package/dist/secret-contract-BCpDLdg9.js +0 -73
- package/dist/security-audit-D7WK_BHh.js +0 -11
- package/dist/security-audit-shared-BgpY7AiJ.js +0 -33
- package/dist/send-result-B9_BpUPx.js +0 -770
- package/dist/session-conversation-BksWrfzm.js +0 -27
- package/dist/subagent-hooks-Cx1cX7rW.js +0 -239
- package/dist/thread-bindings-N3wkgkIN.js +0 -220
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/README.md +0 -70
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.d.ts +0 -87
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.generated.d.ts +0 -417
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.js +0 -1356
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.LICENSE +0 -201
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.d.ts +0 -20
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.generated.d.ts +0 -49
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.js +0 -951
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.d.ts +0 -19
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.generated.d.ts +0 -33
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.js +0 -1276
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/compiler/plugin.json +0 -126
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/compiler/plugin.proto +0 -47
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/typescript.js +0 -25
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/aspromise.d.ts +0 -13
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/aspromise.js +0 -52
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/base64.d.ts +0 -32
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/base64.js +0 -146
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/codegen.d.ts +0 -31
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/codegen.js +0 -118
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/eventemitter.d.ts +0 -45
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/eventemitter.js +0 -86
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/fetch.d.ts +0 -56
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/fetch.js +0 -112
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/float.js +0 -335
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/path.d.ts +0 -22
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/path.js +0 -100
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/pool.d.ts +0 -32
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/pool.js +0 -48
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/utf8.d.ts +0 -24
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/utf8.js +0 -190
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1348
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -295
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1177
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -295
- package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/README.md +0 -69
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/index.d.ts +0 -50
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/README.md +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/index.d.ts +0 -63
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/package.json +0 -26
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/README.md +0 -15
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/index.js +0 -2132
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/package.json +0 -78
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/readme.md +0 -152
- package/node_modules/mdast-util-from-markdown/node_modules/debug/LICENSE +0 -20
- package/node_modules/mdast-util-from-markdown/node_modules/debug/README.md +0 -481
- package/node_modules/mdast-util-from-markdown/node_modules/debug/package.json +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/browser.js +0 -272
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/common.js +0 -292
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/index.js +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/node.js +0 -263
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/license +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/readme.md +0 -112
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/package.json +0 -80
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.d.ts +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.js +0 -68
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.js +0 -1152
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.js +0 -101
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.js +0 -717
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.js +0 -99
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.js +0 -445
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.js +0 -244
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.js +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.js +0 -19
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.js +0 -141
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.d.ts +0 -35
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.js +0 -270
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.d.ts +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.js +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.js +0 -1060
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.d.ts +0 -73
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.js +0 -85
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.js +0 -611
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.js +0 -79
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.js +0 -362
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.js +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.d.ts +0 -8
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.js +0 -212
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.js +0 -56
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.d.ts +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.js +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.js +0 -115
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/package.json +0 -100
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/readme.md +0 -488
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.d.ts +0 -35
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.js +0 -256
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.js +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -300
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -514
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -202
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -233
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -989
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -656
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -110
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -62
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -210
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.js +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.js +0 -241
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -460
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -177
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.js +0 -163
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -876
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +0 -560
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -55
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.js +0 -213
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -185
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/package.json +0 -74
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/readme.md +0 -171
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.js +0 -255
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.d.ts +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.js +0 -206
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/readme.md +0 -234
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.js +0 -172
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.js +0 -148
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/readme.md +0 -224
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.js +0 -67
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.js +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/package.json +0 -55
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.js +0 -169
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.js +0 -158
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/readme.md +0 -229
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.js +0 -44
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/readme.md +0 -205
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.js +0 -89
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.d.ts +0 -41
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.js +0 -81
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/readme.md +0 -219
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.js +0 -143
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/package.json +0 -52
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/readme.md +0 -201
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/readme.md +0 -176
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.js +0 -93
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/readme.md +0 -193
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/package.json +0 -48
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/readme.md +0 -238
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.js +0 -107
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.js +0 -228
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/readme.md +0 -181
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/mdast-util-from-markdown/node_modules/ms/index.js +0 -162
- package/node_modules/mdast-util-from-markdown/node_modules/ms/license.md +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/ms/package.json +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/ms/readme.md +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/index.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/package.json +0 -80
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/readme.md +0 -206
- package/node_modules/mdast-util-from-markdown/package.json +0 -99
- package/node_modules/mdast-util-from-markdown/readme.md +0 -535
- package/node_modules/mdast-util-gfm-table/index.d.ts +0 -54
- package/node_modules/mdast-util-gfm-table/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/lib/index.d.ts +0 -51
- package/node_modules/mdast-util-gfm-table/lib/index.js +0 -300
- package/node_modules/mdast-util-gfm-table/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/README.md +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/package.json +0 -60
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.js +0 -2132
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/readme.md +0 -152
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/license +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/package.json +0 -57
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/readme.md +0 -112
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/package.json +0 -80
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/index.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/index.js +0 -36
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/package.json +0 -73
- package/node_modules/mdast-util-gfm-table/node_modules/longest-streak/readme.md +0 -150
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/index.d.ts +0 -171
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/index.js +0 -393
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/package.json +0 -77
- package/node_modules/mdast-util-gfm-table/node_modules/markdown-table/readme.md +0 -344
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/index.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/lib/index.d.ts +0 -3
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/lib/index.js +0 -45
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/license +0 -23
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing/readme.md +0 -200
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/index.js +0 -3
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/configure.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/configure.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/configure.js +0 -79
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts +0 -17
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +0 -29
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/break.js +0 -30
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/code.js +0 -75
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/definition.js +0 -76
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +0 -69
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/heading.js +0 -75
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/html.js +0 -20
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +0 -63
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/image.js +0 -82
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts +0 -42
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/index.js +0 -45
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +0 -76
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +0 -63
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/link.js +0 -114
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +0 -62
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/list.js +0 -100
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts +0 -17
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +0 -20
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/root.js +0 -23
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/strong.js +0 -69
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts +0 -17
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/text.js +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/index.js +0 -187
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/join.d.ts +0 -4
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/join.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/join.js +0 -39
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/types.d.ts +0 -965
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts +0 -4
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/unsafe.js +0 -146
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/association.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/association.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/association.js +0 -33
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts +0 -8
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +0 -38
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +0 -24
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +0 -125
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts +0 -10
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +0 -11
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts +0 -33
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +0 -82
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +0 -34
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +0 -34
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +0 -35
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts +0 -12
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +0 -41
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts +0 -29
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/safe.js +0 -174
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/track.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/track.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/lib/util/track.js +0 -55
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/package.json +0 -132
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/readme.md +0 -750
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/index.d.ts +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/index.js +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/lib/index.d.ts +0 -111
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/lib/index.js +0 -296
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/package.json +0 -103
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-is/readme.md +0 -351
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/index.d.ts +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/lib/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/lib/index.js +0 -312
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/package.json +0 -108
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/readme.md +0 -313
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.js +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.node.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.node.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/color.node.js +0 -7
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/index.d.ts +0 -219
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/lib/index.js +0 -399
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/package.json +0 -106
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit-parents/readme.md +0 -388
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/index.d.ts +0 -67
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/index.js +0 -118
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/package.json +0 -72
- package/node_modules/mdast-util-gfm-table/node_modules/zwitch/readme.md +0 -226
- package/node_modules/mdast-util-gfm-table/package.json +0 -101
- package/node_modules/mdast-util-gfm-table/readme.md +0 -605
- package/node_modules/micromark-extension-gfm-table/dev/index.d.ts +0 -55
- package/node_modules/micromark-extension-gfm-table/dev/index.js +0 -2
- package/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts +0 -38
- package/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.js +0 -212
- package/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts +0 -11
- package/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/html.js +0 -148
- package/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts +0 -14
- package/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/infer.js +0 -64
- package/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts +0 -18
- package/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/dev/lib/syntax.js +0 -941
- package/node_modules/micromark-extension-gfm-table/index.d.ts +0 -55
- package/node_modules/micromark-extension-gfm-table/index.js +0 -2
- package/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts +0 -38
- package/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/edit-map.js +0 -202
- package/node_modules/micromark-extension-gfm-table/lib/html.d.ts +0 -11
- package/node_modules/micromark-extension-gfm-table/lib/html.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/html.js +0 -130
- package/node_modules/micromark-extension-gfm-table/lib/infer.d.ts +0 -14
- package/node_modules/micromark-extension-gfm-table/lib/infer.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/infer.js +0 -52
- package/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts +0 -18
- package/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/lib/syntax.js +0 -819
- package/node_modules/micromark-extension-gfm-table/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/license +0 -21
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/package.json +0 -57
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/readme.md +0 -112
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/package.json +0 -80
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/readme.md +0 -360
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.js +0 -67
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.js +0 -64
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/package.json +0 -55
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/micromark-extension-gfm-table/package.json +0 -128
- package/node_modules/micromark-extension-gfm-table/readme.md +0 -515
- /package/dist/{audio-preflight.runtime-BBfC9elv.js → .setup/audio-preflight.runtime-BBfC9elv.mjs} +0 -0
- /package/dist/{rolldown-runtime-8H4AJuhK.js → .setup/rolldown-runtime-8H4AJuhK.mjs} +0 -0
- /package/dist/{runtime-C5JxBWZp.js → .setup/runtime-C5JxBWZp.mjs} +0 -0
- /package/dist/{targets-BUjQ1TcA.js → .setup/targets-BUjQ1TcA.mjs} +0 -0
- /package/node_modules/@larksuiteoapi/node-sdk/node_modules/{protobufjs/src/util/float.d.ts → @protobufjs/float/index.d.ts} +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types/debug → @larksuiteoapi/node-sdk/node_modules/@types/node}/LICENSE +0 -0
|
@@ -0,0 +1,1264 @@
|
|
|
1
|
+
import { d as isRecord$1, h as requestFeishuApi, s as resolveFeishuRuntimeAccount } from "./accounts-CfuPSCip.mjs";
|
|
2
|
+
import { i as resolveReceiveIdType, r as normalizeFeishuTarget } from "./targets-BUjQ1TcA.mjs";
|
|
3
|
+
import { i as toFeishuSendResult, o as resolveFeishuCardTemplate, r as resolveFeishuReceiptKind, t as assertFeishuMessageApiSuccess } from "./send-result-COI_ANtb.mjs";
|
|
4
|
+
import { t as getFeishuRuntime } from "./runtime-C5JxBWZp.mjs";
|
|
5
|
+
import { r as createFeishuClient } from "./client-DLqNWY5r.mjs";
|
|
6
|
+
import { parseStrictNonNegativeInteger } from "openclaw/plugin-sdk/number-runtime";
|
|
7
|
+
import { isRecord, normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
|
+
import { convertMarkdownTables } from "openclaw/plugin-sdk/text-chunking";
|
|
9
|
+
import fs from "node:fs";
|
|
10
|
+
import path from "node:path";
|
|
11
|
+
import { mediaKindFromMime } from "openclaw/plugin-sdk/media-mime";
|
|
12
|
+
import { MEDIA_FFMPEG_MAX_AUDIO_DURATION_SECS, runFfmpeg, runFfprobe } from "openclaw/plugin-sdk/media-runtime";
|
|
13
|
+
import { readRegularFile, writeExternalFileWithinRoot } from "openclaw/plugin-sdk/security-runtime";
|
|
14
|
+
import { Readable } from "node:stream";
|
|
15
|
+
import { saveMediaBuffer, saveMediaStream } from "openclaw/plugin-sdk/media-store";
|
|
16
|
+
import { resolvePreferredOpenClawTmpDir, withTempDownloadPath, withTempWorkspace } from "openclaw/plugin-sdk/temp-path";
|
|
17
|
+
import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
|
|
18
|
+
//#region extensions/feishu/src/identity-header.ts
|
|
19
|
+
const emojiSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null;
|
|
20
|
+
const keycapEmojiPattern = /^[0-9#*]\uFE0F?\u20E3$/u;
|
|
21
|
+
const emojiLikeSegmentPattern = /[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}]/u;
|
|
22
|
+
function splitGraphemes(input) {
|
|
23
|
+
if (!emojiSegmenter) return Array.from(input);
|
|
24
|
+
return Array.from(emojiSegmenter.segment(input), (segment) => segment.segment);
|
|
25
|
+
}
|
|
26
|
+
function isEmojiSegment(segment) {
|
|
27
|
+
return keycapEmojiPattern.test(segment) || emojiLikeSegmentPattern.test(segment);
|
|
28
|
+
}
|
|
29
|
+
function resolveFeishuIdentityEmoji(raw) {
|
|
30
|
+
const trimmed = raw?.trim();
|
|
31
|
+
if (!trimmed) return;
|
|
32
|
+
return splitGraphemes(trimmed).filter(isEmojiSegment).join("") || void 0;
|
|
33
|
+
}
|
|
34
|
+
function resolveFeishuIdentityHeaderTitle(identity) {
|
|
35
|
+
if (!identity) return "";
|
|
36
|
+
const name = identity.name?.trim() ?? "";
|
|
37
|
+
const emoji = resolveFeishuIdentityEmoji(identity.emoji);
|
|
38
|
+
return (emoji ? `${emoji} ${name}` : name).trim();
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region extensions/feishu/src/external-keys.ts
|
|
42
|
+
const CONTROL_CHARS_RE = /\p{Cc}/u;
|
|
43
|
+
const MAX_EXTERNAL_KEY_LENGTH = 512;
|
|
44
|
+
function normalizeFeishuExternalKey(value) {
|
|
45
|
+
if (typeof value !== "string") return;
|
|
46
|
+
const normalized = value.trim();
|
|
47
|
+
if (!normalized || normalized.length > MAX_EXTERNAL_KEY_LENGTH) return;
|
|
48
|
+
if (CONTROL_CHARS_RE.test(normalized)) return;
|
|
49
|
+
if (normalized.includes("/") || normalized.includes("\\") || normalized.includes("..")) return;
|
|
50
|
+
return normalized;
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region extensions/feishu/src/send-target.ts
|
|
54
|
+
function resolveFeishuSendTarget(params) {
|
|
55
|
+
const target = params.to.trim();
|
|
56
|
+
const account = resolveFeishuRuntimeAccount({
|
|
57
|
+
cfg: params.cfg,
|
|
58
|
+
accountId: params.accountId
|
|
59
|
+
});
|
|
60
|
+
if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
|
|
61
|
+
const client = createFeishuClient(account);
|
|
62
|
+
const receiveId = normalizeFeishuTarget(target);
|
|
63
|
+
if (!receiveId) throw new Error(`Invalid Feishu target: ${params.to}`);
|
|
64
|
+
const withoutProviderPrefix = target.replace(/^(feishu|lark):/i, "");
|
|
65
|
+
return {
|
|
66
|
+
client,
|
|
67
|
+
receiveId,
|
|
68
|
+
receiveIdType: resolveReceiveIdType(withoutProviderPrefix)
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region extensions/feishu/src/media.ts
|
|
73
|
+
const FEISHU_MEDIA_HTTP_TIMEOUT_MS = 12e4;
|
|
74
|
+
const FEISHU_VOICE_FILE_NAME = "voice.ogg";
|
|
75
|
+
const FEISHU_VOICE_SAMPLE_RATE_HZ = 48e3;
|
|
76
|
+
const FEISHU_VOICE_BITRATE = "64k";
|
|
77
|
+
const FEISHU_TRANSCODABLE_AUDIO_EXTS = /* @__PURE__ */ new Set([
|
|
78
|
+
".aac",
|
|
79
|
+
".aiff",
|
|
80
|
+
".alac",
|
|
81
|
+
".amr",
|
|
82
|
+
".caf",
|
|
83
|
+
".flac",
|
|
84
|
+
".m4a",
|
|
85
|
+
".mp3",
|
|
86
|
+
".oga",
|
|
87
|
+
".wav",
|
|
88
|
+
".webm",
|
|
89
|
+
".wma"
|
|
90
|
+
]);
|
|
91
|
+
function createConfiguredFeishuMediaClient(params) {
|
|
92
|
+
const account = resolveFeishuRuntimeAccount({
|
|
93
|
+
cfg: params.cfg,
|
|
94
|
+
accountId: params.accountId
|
|
95
|
+
});
|
|
96
|
+
if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
|
|
97
|
+
return {
|
|
98
|
+
account,
|
|
99
|
+
client: createFeishuClient({
|
|
100
|
+
...account,
|
|
101
|
+
httpTimeoutMs: FEISHU_MEDIA_HTTP_TIMEOUT_MS
|
|
102
|
+
})
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function asHeaderMap(value) {
|
|
106
|
+
if (!value) return;
|
|
107
|
+
const entries = Object.entries(value);
|
|
108
|
+
if (entries.every(([, entry]) => typeof entry === "string" || Array.isArray(entry))) return Object.fromEntries(entries);
|
|
109
|
+
}
|
|
110
|
+
function extractFeishuUploadKey(response, params) {
|
|
111
|
+
if (!response) throw new Error(`${params.errorPrefix}: empty response`);
|
|
112
|
+
const wrappedResponse = response;
|
|
113
|
+
if (wrappedResponse.code !== void 0 && wrappedResponse.code !== 0) throw new Error(`${params.errorPrefix}: ${wrappedResponse.msg || `code ${wrappedResponse.code}`}`);
|
|
114
|
+
const key = params.key === "image_key" ? wrappedResponse.image_key ?? wrappedResponse.data?.image_key : wrappedResponse.file_key ?? wrappedResponse.data?.file_key;
|
|
115
|
+
if (!key) throw new Error(`${params.errorPrefix}: no ${params.key} returned`);
|
|
116
|
+
return key;
|
|
117
|
+
}
|
|
118
|
+
function readHeaderValue(headers, name) {
|
|
119
|
+
if (!headers) return;
|
|
120
|
+
for (const [key, value] of Object.entries(headers)) {
|
|
121
|
+
if (normalizeLowercaseStringOrEmpty(key) !== normalizeLowercaseStringOrEmpty(name)) continue;
|
|
122
|
+
if (typeof value === "string" && value.trim()) return value.trim();
|
|
123
|
+
if (Array.isArray(value)) {
|
|
124
|
+
const first = value.find((entry) => typeof entry === "string" && entry.trim());
|
|
125
|
+
if (typeof first === "string") return first.trim();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function readHttpStatusFromError(error) {
|
|
130
|
+
if (!error || typeof error !== "object") return;
|
|
131
|
+
const response = error.response;
|
|
132
|
+
if (response && typeof response === "object") {
|
|
133
|
+
const status = response.status;
|
|
134
|
+
if (typeof status === "number") return status;
|
|
135
|
+
}
|
|
136
|
+
const status = error.status;
|
|
137
|
+
return typeof status === "number" ? status : void 0;
|
|
138
|
+
}
|
|
139
|
+
function isHttpStatusError(error, status) {
|
|
140
|
+
return readHttpStatusFromError(error) === status;
|
|
141
|
+
}
|
|
142
|
+
function containsEastAsianScript(value) {
|
|
143
|
+
return /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(value);
|
|
144
|
+
}
|
|
145
|
+
function recoverUtf8FileNameFromLatin1Header(value) {
|
|
146
|
+
const recovered = Buffer.from(value, "latin1").toString("utf8");
|
|
147
|
+
if (recovered !== value && !recovered.includes("�") && containsEastAsianScript(recovered)) return recovered;
|
|
148
|
+
return value;
|
|
149
|
+
}
|
|
150
|
+
function decodeDispositionFileName(value) {
|
|
151
|
+
const utf8Match = value.match(/filename\*=UTF-8''([^;]+)/i);
|
|
152
|
+
if (utf8Match?.[1]) try {
|
|
153
|
+
return decodeURIComponent(utf8Match[1].trim().replace(/^"(.*)"$/, "$1"));
|
|
154
|
+
} catch {
|
|
155
|
+
return utf8Match[1].trim().replace(/^"(.*)"$/, "$1");
|
|
156
|
+
}
|
|
157
|
+
const plainFileName = value.match(/filename="?([^";]+)"?/i)?.[1]?.trim();
|
|
158
|
+
return plainFileName ? recoverUtf8FileNameFromLatin1Header(plainFileName) : void 0;
|
|
159
|
+
}
|
|
160
|
+
function extractFeishuDownloadMetadata(response) {
|
|
161
|
+
const responseWithOptionalFields = response;
|
|
162
|
+
const headers = asHeaderMap(responseWithOptionalFields.headers) ?? asHeaderMap(responseWithOptionalFields.header);
|
|
163
|
+
const contentType = readHeaderValue(headers, "content-type") ?? responseWithOptionalFields.contentType ?? responseWithOptionalFields.mime_type ?? responseWithOptionalFields.data?.contentType ?? responseWithOptionalFields.data?.mime_type;
|
|
164
|
+
const disposition = readHeaderValue(headers, "content-disposition");
|
|
165
|
+
return {
|
|
166
|
+
contentType,
|
|
167
|
+
fileName: (disposition ? decodeDispositionFileName(disposition) : void 0) ?? responseWithOptionalFields.file_name ?? responseWithOptionalFields.fileName ?? responseWithOptionalFields.data?.file_name ?? responseWithOptionalFields.data?.fileName
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
function mediaLimitError(maxBytes) {
|
|
171
|
+
return /* @__PURE__ */ new Error(`Media exceeds ${Math.round(maxBytes / 1048576)}MB limit`);
|
|
172
|
+
}
|
|
173
|
+
async function saveFeishuResponseMedia(params) {
|
|
174
|
+
const { response, maxBytes, contentType, fileName } = params;
|
|
175
|
+
if (Buffer.isBuffer(response)) return saveMediaBuffer(response, contentType, "inbound", maxBytes, fileName);
|
|
176
|
+
if (response instanceof ArrayBuffer) return saveMediaBuffer(Buffer.from(response), contentType, "inbound", maxBytes, fileName);
|
|
177
|
+
const responseWithOptionalFields = response;
|
|
178
|
+
if (responseWithOptionalFields.code !== void 0 && responseWithOptionalFields.code !== 0) throw new Error(`${params.errorPrefix}: ${responseWithOptionalFields.msg || `code ${responseWithOptionalFields.code}`}`);
|
|
179
|
+
if (responseWithOptionalFields.data && Buffer.isBuffer(responseWithOptionalFields.data)) return saveMediaBuffer(responseWithOptionalFields.data, contentType, "inbound", maxBytes, fileName);
|
|
180
|
+
if (responseWithOptionalFields.data instanceof ArrayBuffer) return saveMediaBuffer(Buffer.from(responseWithOptionalFields.data), contentType, "inbound", maxBytes, fileName);
|
|
181
|
+
if (typeof response.getReadableStream === "function") return saveMediaStream(response.getReadableStream(), contentType, "inbound", maxBytes, fileName);
|
|
182
|
+
if (typeof response.writeFile === "function") return await withTempDownloadPath({ prefix: params.tmpDirPrefix }, async (tmpPath) => {
|
|
183
|
+
await response.writeFile(tmpPath);
|
|
184
|
+
if ((await fs.promises.stat(tmpPath)).size > maxBytes) throw mediaLimitError(maxBytes);
|
|
185
|
+
return await saveMediaStream(fs.createReadStream(tmpPath), contentType, "inbound", maxBytes, fileName);
|
|
186
|
+
});
|
|
187
|
+
if (responseWithOptionalFields[Symbol.asyncIterator]) return saveMediaStream(responseWithOptionalFields, contentType, "inbound", maxBytes, fileName);
|
|
188
|
+
if (response instanceof Readable) return saveMediaStream(response, contentType, "inbound", maxBytes, fileName);
|
|
189
|
+
const keys = Object.keys(response);
|
|
190
|
+
throw new Error(`${params.errorPrefix}: unexpected response format. Keys: [${keys.join(", ")}]`);
|
|
191
|
+
}
|
|
192
|
+
async function saveMessageResourceWithType(params) {
|
|
193
|
+
const response = await params.client.im.messageResource.get({
|
|
194
|
+
path: {
|
|
195
|
+
message_id: params.messageId,
|
|
196
|
+
file_key: params.fileKey
|
|
197
|
+
},
|
|
198
|
+
params: { type: params.type }
|
|
199
|
+
});
|
|
200
|
+
const meta = extractFeishuDownloadMetadata(response);
|
|
201
|
+
return {
|
|
202
|
+
saved: await saveFeishuResponseMedia({
|
|
203
|
+
response,
|
|
204
|
+
tmpDirPrefix: "openclaw-feishu-resource-",
|
|
205
|
+
errorPrefix: "Feishu message resource download failed",
|
|
206
|
+
maxBytes: params.maxBytes,
|
|
207
|
+
contentType: meta.contentType,
|
|
208
|
+
fileName: meta.fileName ?? (params.originalFilename ? recoverUtf8FileNameFromLatin1Header(params.originalFilename) : void 0)
|
|
209
|
+
}),
|
|
210
|
+
...meta
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
async function saveMessageResourceFeishu(params) {
|
|
214
|
+
const { cfg, messageId, fileKey, type, accountId, maxBytes, originalFilename } = params;
|
|
215
|
+
const normalizedFileKey = normalizeFeishuExternalKey(fileKey);
|
|
216
|
+
if (!normalizedFileKey) throw new Error("Feishu message resource download failed: invalid file_key");
|
|
217
|
+
const { client } = createConfiguredFeishuMediaClient({
|
|
218
|
+
cfg,
|
|
219
|
+
accountId
|
|
220
|
+
});
|
|
221
|
+
try {
|
|
222
|
+
return await saveMessageResourceWithType({
|
|
223
|
+
client,
|
|
224
|
+
messageId,
|
|
225
|
+
fileKey: normalizedFileKey,
|
|
226
|
+
type,
|
|
227
|
+
maxBytes,
|
|
228
|
+
originalFilename
|
|
229
|
+
});
|
|
230
|
+
} catch (err) {
|
|
231
|
+
if (type !== "file" || !isHttpStatusError(err, 502)) throw err;
|
|
232
|
+
try {
|
|
233
|
+
return await saveMessageResourceWithType({
|
|
234
|
+
client,
|
|
235
|
+
messageId,
|
|
236
|
+
fileKey: normalizedFileKey,
|
|
237
|
+
type: "media",
|
|
238
|
+
maxBytes,
|
|
239
|
+
originalFilename
|
|
240
|
+
});
|
|
241
|
+
} catch {
|
|
242
|
+
throw err;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Upload an image to Feishu and get an image_key for sending.
|
|
248
|
+
* Supports: JPEG, PNG, WEBP, GIF, TIFF, BMP, ICO
|
|
249
|
+
*/
|
|
250
|
+
async function uploadImageFeishu(params) {
|
|
251
|
+
const { cfg, image, imageType = "message", accountId } = params;
|
|
252
|
+
const { client } = createConfiguredFeishuMediaClient({
|
|
253
|
+
cfg,
|
|
254
|
+
accountId
|
|
255
|
+
});
|
|
256
|
+
const imageData = typeof image === "string" ? (await readRegularFile({ filePath: image })).buffer : image;
|
|
257
|
+
return { imageKey: extractFeishuUploadKey(await requestFeishuApi(() => client.im.image.create({ data: {
|
|
258
|
+
image_type: imageType,
|
|
259
|
+
image: imageData
|
|
260
|
+
} }), "Feishu image upload failed", { includeNestedErrorLogId: true }), {
|
|
261
|
+
key: "image_key",
|
|
262
|
+
errorPrefix: "Feishu image upload failed"
|
|
263
|
+
}) };
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Sanitize a filename for safe use in Feishu multipart/form-data uploads.
|
|
267
|
+
* Strips control characters and multipart-injection vectors (CWE-93) while
|
|
268
|
+
* preserving the original UTF-8 display name (Chinese, emoji, etc.).
|
|
269
|
+
*
|
|
270
|
+
* Previous versions percent-encoded non-ASCII characters, but the Feishu
|
|
271
|
+
* `im.file.create` API uses `file_name` as a literal display name — it does
|
|
272
|
+
* NOT decode percent-encoding — so encoded filenames appeared as garbled text
|
|
273
|
+
* in chat (regression in v2026.3.2).
|
|
274
|
+
*/
|
|
275
|
+
function sanitizeFileNameForUpload(fileName) {
|
|
276
|
+
return fileName.replace(/[\p{Cc}"\\]/gu, "_");
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Upload a file to Feishu and get a file_key for sending.
|
|
280
|
+
* Max file size: 30MB
|
|
281
|
+
*/
|
|
282
|
+
async function uploadFileFeishu(params) {
|
|
283
|
+
const { cfg, file, fileName, fileType, duration, accountId } = params;
|
|
284
|
+
const { client } = createConfiguredFeishuMediaClient({
|
|
285
|
+
cfg,
|
|
286
|
+
accountId
|
|
287
|
+
});
|
|
288
|
+
const fileData = typeof file === "string" ? (await readRegularFile({ filePath: file })).buffer : file;
|
|
289
|
+
const safeFileName = sanitizeFileNameForUpload(fileName);
|
|
290
|
+
return { fileKey: extractFeishuUploadKey(await requestFeishuApi(() => client.im.file.create({ data: {
|
|
291
|
+
file_type: fileType,
|
|
292
|
+
file_name: safeFileName,
|
|
293
|
+
file: fileData,
|
|
294
|
+
...duration !== void 0 ? { duration } : {}
|
|
295
|
+
} }), "Feishu file upload failed", { includeNestedErrorLogId: true }), {
|
|
296
|
+
key: "file_key",
|
|
297
|
+
errorPrefix: "Feishu file upload failed"
|
|
298
|
+
}) };
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Send an image message using an image_key
|
|
302
|
+
*/
|
|
303
|
+
async function sendImageFeishu(params) {
|
|
304
|
+
const { cfg, to, imageKey, replyToMessageId, replyInThread, accountId } = params;
|
|
305
|
+
const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
|
|
306
|
+
cfg,
|
|
307
|
+
to,
|
|
308
|
+
accountId
|
|
309
|
+
});
|
|
310
|
+
const content = JSON.stringify({ image_key: imageKey });
|
|
311
|
+
if (replyToMessageId) {
|
|
312
|
+
const response = await requestFeishuApi(() => client.im.message.reply({
|
|
313
|
+
path: { message_id: replyToMessageId },
|
|
314
|
+
data: {
|
|
315
|
+
content,
|
|
316
|
+
msg_type: "image",
|
|
317
|
+
...replyInThread ? { reply_in_thread: true } : {}
|
|
318
|
+
}
|
|
319
|
+
}), "Feishu image reply failed", { includeNestedErrorLogId: true });
|
|
320
|
+
assertFeishuMessageApiSuccess(response, "Feishu image reply failed");
|
|
321
|
+
return toFeishuSendResult(response, receiveId, "media");
|
|
322
|
+
}
|
|
323
|
+
const response = await requestFeishuApi(() => client.im.message.create({
|
|
324
|
+
params: { receive_id_type: receiveIdType },
|
|
325
|
+
data: {
|
|
326
|
+
receive_id: receiveId,
|
|
327
|
+
content,
|
|
328
|
+
msg_type: "image"
|
|
329
|
+
}
|
|
330
|
+
}), "Feishu image send failed", { includeNestedErrorLogId: true });
|
|
331
|
+
assertFeishuMessageApiSuccess(response, "Feishu image send failed");
|
|
332
|
+
return toFeishuSendResult(response, receiveId, "media");
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Send a file message using a file_key
|
|
336
|
+
*/
|
|
337
|
+
async function sendFileFeishu(params) {
|
|
338
|
+
const { cfg, to, fileKey, replyToMessageId, replyInThread, accountId } = params;
|
|
339
|
+
const msgType = params.msgType ?? "file";
|
|
340
|
+
const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
|
|
341
|
+
cfg,
|
|
342
|
+
to,
|
|
343
|
+
accountId
|
|
344
|
+
});
|
|
345
|
+
const content = JSON.stringify({ file_key: fileKey });
|
|
346
|
+
if (replyToMessageId) {
|
|
347
|
+
const response = await requestFeishuApi(() => client.im.message.reply({
|
|
348
|
+
path: { message_id: replyToMessageId },
|
|
349
|
+
data: {
|
|
350
|
+
content,
|
|
351
|
+
msg_type: msgType,
|
|
352
|
+
...replyInThread ? { reply_in_thread: true } : {}
|
|
353
|
+
}
|
|
354
|
+
}), "Feishu file reply failed", { includeNestedErrorLogId: true });
|
|
355
|
+
assertFeishuMessageApiSuccess(response, "Feishu file reply failed");
|
|
356
|
+
return toFeishuSendResult(response, receiveId, resolveFeishuReceiptKind(msgType));
|
|
357
|
+
}
|
|
358
|
+
const response = await requestFeishuApi(() => client.im.message.create({
|
|
359
|
+
params: { receive_id_type: receiveIdType },
|
|
360
|
+
data: {
|
|
361
|
+
receive_id: receiveId,
|
|
362
|
+
content,
|
|
363
|
+
msg_type: msgType
|
|
364
|
+
}
|
|
365
|
+
}), "Feishu file send failed", { includeNestedErrorLogId: true });
|
|
366
|
+
assertFeishuMessageApiSuccess(response, "Feishu file send failed");
|
|
367
|
+
return toFeishuSendResult(response, receiveId, resolveFeishuReceiptKind(msgType));
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Helper to detect file type from extension
|
|
371
|
+
*/
|
|
372
|
+
function detectFileType(fileName) {
|
|
373
|
+
switch (normalizeLowercaseStringOrEmpty(path.extname(fileName))) {
|
|
374
|
+
case ".opus":
|
|
375
|
+
case ".ogg": return "opus";
|
|
376
|
+
case ".mp4":
|
|
377
|
+
case ".mov":
|
|
378
|
+
case ".avi": return "mp4";
|
|
379
|
+
case ".pdf": return "pdf";
|
|
380
|
+
case ".doc":
|
|
381
|
+
case ".docx": return "doc";
|
|
382
|
+
case ".xls":
|
|
383
|
+
case ".xlsx": return "xls";
|
|
384
|
+
case ".ppt":
|
|
385
|
+
case ".pptx": return "ppt";
|
|
386
|
+
default: return "stream";
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
function resolveFeishuOutboundMediaKind(params) {
|
|
390
|
+
const { fileName, contentType } = params;
|
|
391
|
+
const ext = normalizeLowercaseStringOrEmpty(path.extname(fileName));
|
|
392
|
+
const mimeKind = mediaKindFromMime(contentType);
|
|
393
|
+
if ([
|
|
394
|
+
".jpg",
|
|
395
|
+
".jpeg",
|
|
396
|
+
".png",
|
|
397
|
+
".gif",
|
|
398
|
+
".webp",
|
|
399
|
+
".bmp",
|
|
400
|
+
".ico",
|
|
401
|
+
".tiff"
|
|
402
|
+
].includes(ext) || mimeKind === "image") return { msgType: "image" };
|
|
403
|
+
if (ext === ".opus" || ext === ".ogg" || contentType === "audio/ogg" || contentType === "audio/opus") return {
|
|
404
|
+
fileType: "opus",
|
|
405
|
+
msgType: "audio"
|
|
406
|
+
};
|
|
407
|
+
if ([
|
|
408
|
+
".mp4",
|
|
409
|
+
".mov",
|
|
410
|
+
".avi"
|
|
411
|
+
].includes(ext) || contentType === "video/mp4" || contentType === "video/quicktime" || contentType === "video/x-msvideo") return {
|
|
412
|
+
fileType: "mp4",
|
|
413
|
+
msgType: "media"
|
|
414
|
+
};
|
|
415
|
+
const fileType = detectFileType(fileName);
|
|
416
|
+
return {
|
|
417
|
+
fileType,
|
|
418
|
+
msgType: fileType === "stream" ? "file" : fileType === "opus" ? "audio" : fileType === "mp4" ? "media" : "file"
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
function isFeishuNativeVoiceAudio(params) {
|
|
422
|
+
const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
|
|
423
|
+
const contentType = normalizeLowercaseStringOrEmpty(params.contentType);
|
|
424
|
+
return ext === ".opus" || ext === ".ogg" || contentType === "audio/ogg" || contentType === "audio/opus";
|
|
425
|
+
}
|
|
426
|
+
function normalizeMediaNameForExtension(raw) {
|
|
427
|
+
try {
|
|
428
|
+
return new URL(raw).pathname;
|
|
429
|
+
} catch {
|
|
430
|
+
return raw.split(/[?#]/, 1)[0] ?? raw;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
function shouldSuppressFeishuTextForVoiceMedia(params) {
|
|
434
|
+
if (params.audioAsVoice === true) return true;
|
|
435
|
+
if (params.fileName && isFeishuNativeVoiceAudio({
|
|
436
|
+
fileName: params.fileName,
|
|
437
|
+
contentType: params.contentType
|
|
438
|
+
})) return true;
|
|
439
|
+
if (!params.mediaUrl) return false;
|
|
440
|
+
return isFeishuNativeVoiceAudio({
|
|
441
|
+
fileName: normalizeMediaNameForExtension(params.mediaUrl),
|
|
442
|
+
contentType: params.contentType
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
function isLikelyTranscodableAudio(params) {
|
|
446
|
+
const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
|
|
447
|
+
const contentType = normalizeLowercaseStringOrEmpty(params.contentType);
|
|
448
|
+
return FEISHU_TRANSCODABLE_AUDIO_EXTS.has(ext) || mediaKindFromMime(contentType) === "audio";
|
|
449
|
+
}
|
|
450
|
+
async function transcodeToFeishuVoiceOpus(params) {
|
|
451
|
+
return await withTempWorkspace({
|
|
452
|
+
rootDir: resolvePreferredOpenClawTmpDir(),
|
|
453
|
+
prefix: "feishu-voice-"
|
|
454
|
+
}, async (workspace) => {
|
|
455
|
+
const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
|
|
456
|
+
const inputExt = ext && ext.length <= 12 ? ext : ".audio";
|
|
457
|
+
const inputPath = await workspace.write(`input${inputExt}`, params.buffer);
|
|
458
|
+
await writeExternalFileWithinRoot({
|
|
459
|
+
rootDir: workspace.dir,
|
|
460
|
+
path: FEISHU_VOICE_FILE_NAME,
|
|
461
|
+
write: async (outputPath) => {
|
|
462
|
+
await runFfmpeg([
|
|
463
|
+
"-hide_banner",
|
|
464
|
+
"-loglevel",
|
|
465
|
+
"error",
|
|
466
|
+
"-y",
|
|
467
|
+
"-i",
|
|
468
|
+
inputPath,
|
|
469
|
+
"-vn",
|
|
470
|
+
"-sn",
|
|
471
|
+
"-dn",
|
|
472
|
+
"-t",
|
|
473
|
+
String(MEDIA_FFMPEG_MAX_AUDIO_DURATION_SECS),
|
|
474
|
+
"-ar",
|
|
475
|
+
String(FEISHU_VOICE_SAMPLE_RATE_HZ),
|
|
476
|
+
"-ac",
|
|
477
|
+
"1",
|
|
478
|
+
"-c:a",
|
|
479
|
+
"libopus",
|
|
480
|
+
"-b:a",
|
|
481
|
+
FEISHU_VOICE_BITRATE,
|
|
482
|
+
"-f",
|
|
483
|
+
"ogg",
|
|
484
|
+
outputPath
|
|
485
|
+
]);
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
return {
|
|
489
|
+
buffer: await workspace.read(FEISHU_VOICE_FILE_NAME),
|
|
490
|
+
fileName: FEISHU_VOICE_FILE_NAME,
|
|
491
|
+
contentType: "audio/ogg"
|
|
492
|
+
};
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
async function prepareFeishuVoiceMedia(params) {
|
|
496
|
+
if (isFeishuNativeVoiceAudio(params)) return params;
|
|
497
|
+
if (params.audioAsVoice !== true || !isLikelyTranscodableAudio(params)) return params;
|
|
498
|
+
try {
|
|
499
|
+
return await transcodeToFeishuVoiceOpus(params);
|
|
500
|
+
} catch (err) {
|
|
501
|
+
console.warn(`[feishu] audioAsVoice transcode failed; sending ${params.fileName} as a file attachment:`, err);
|
|
502
|
+
return params;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
async function probeMediaDurationMs(params) {
|
|
506
|
+
try {
|
|
507
|
+
return await withTempWorkspace({
|
|
508
|
+
rootDir: resolvePreferredOpenClawTmpDir(),
|
|
509
|
+
prefix: "feishu-media-probe-"
|
|
510
|
+
}, async (workspace) => {
|
|
511
|
+
const ext = normalizeLowercaseStringOrEmpty(path.extname(params.fileName));
|
|
512
|
+
const inferredExt = ext && ext.length <= 12 ? ext : mediaKindFromMime(params.contentType) === "video" ? ".mp4" : ".ogg";
|
|
513
|
+
const inputPath = await workspace.write(`input${inferredExt}`, params.buffer);
|
|
514
|
+
const stdout = await runFfprobe([
|
|
515
|
+
"-v",
|
|
516
|
+
"error",
|
|
517
|
+
"-show_entries",
|
|
518
|
+
"format=duration",
|
|
519
|
+
"-of",
|
|
520
|
+
"csv=p=0",
|
|
521
|
+
inputPath
|
|
522
|
+
], { timeoutMs: 5e3 });
|
|
523
|
+
const seconds = Number.parseFloat(stdout.trim());
|
|
524
|
+
if (!Number.isFinite(seconds) || seconds <= 0) return;
|
|
525
|
+
return Math.max(1, Math.round(seconds * 1e3));
|
|
526
|
+
});
|
|
527
|
+
} catch (err) {
|
|
528
|
+
console.warn("[feishu] failed to probe media duration; upload will omit it:", err);
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
async function maybeProbeUploadDurationMs(params) {
|
|
533
|
+
if (params.msgType !== "audio" && params.msgType !== "media") return;
|
|
534
|
+
return await probeMediaDurationMs(params);
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* Upload and send media (image or file) from URL, local path, or buffer.
|
|
538
|
+
* When mediaUrl is a local path, mediaLocalRoots (from core outbound context)
|
|
539
|
+
* must be passed so loadWebMedia allows the path (post CVE-2026-26321).
|
|
540
|
+
*/
|
|
541
|
+
async function sendMediaFeishu(params) {
|
|
542
|
+
const { cfg, to, mediaUrl, mediaBuffer, fileName, replyToMessageId, replyInThread, accountId, mediaLocalRoots, audioAsVoice } = params;
|
|
543
|
+
const account = resolveFeishuRuntimeAccount({
|
|
544
|
+
cfg,
|
|
545
|
+
accountId
|
|
546
|
+
});
|
|
547
|
+
if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
|
|
548
|
+
const mediaMaxBytes = (account.config?.mediaMaxMb ?? 30) * 1024 * 1024;
|
|
549
|
+
let buffer;
|
|
550
|
+
let name;
|
|
551
|
+
let contentType;
|
|
552
|
+
if (mediaBuffer) {
|
|
553
|
+
buffer = mediaBuffer;
|
|
554
|
+
name = fileName ?? "file";
|
|
555
|
+
} else if (mediaUrl) {
|
|
556
|
+
const loaded = await getFeishuRuntime().media.loadWebMedia(mediaUrl, {
|
|
557
|
+
maxBytes: mediaMaxBytes,
|
|
558
|
+
optimizeImages: false,
|
|
559
|
+
localRoots: mediaLocalRoots?.length ? mediaLocalRoots : void 0
|
|
560
|
+
});
|
|
561
|
+
buffer = loaded.buffer;
|
|
562
|
+
name = fileName ?? loaded.fileName ?? "file";
|
|
563
|
+
contentType = loaded.contentType;
|
|
564
|
+
} else throw new Error("Either mediaUrl or mediaBuffer must be provided");
|
|
565
|
+
const prepared = await prepareFeishuVoiceMedia({
|
|
566
|
+
buffer,
|
|
567
|
+
fileName: name,
|
|
568
|
+
contentType,
|
|
569
|
+
audioAsVoice
|
|
570
|
+
});
|
|
571
|
+
buffer = prepared.buffer;
|
|
572
|
+
name = prepared.fileName;
|
|
573
|
+
contentType = prepared.contentType;
|
|
574
|
+
const routing = resolveFeishuOutboundMediaKind({
|
|
575
|
+
fileName: name,
|
|
576
|
+
contentType
|
|
577
|
+
});
|
|
578
|
+
const voiceIntentDegradedToFile = audioAsVoice === true && routing.msgType !== "audio";
|
|
579
|
+
if (routing.msgType === "image") {
|
|
580
|
+
const { imageKey } = await uploadImageFeishu({
|
|
581
|
+
cfg,
|
|
582
|
+
image: buffer,
|
|
583
|
+
accountId
|
|
584
|
+
});
|
|
585
|
+
return {
|
|
586
|
+
...await sendImageFeishu({
|
|
587
|
+
cfg,
|
|
588
|
+
to,
|
|
589
|
+
imageKey,
|
|
590
|
+
replyToMessageId,
|
|
591
|
+
replyInThread,
|
|
592
|
+
accountId
|
|
593
|
+
}),
|
|
594
|
+
...voiceIntentDegradedToFile ? { voiceIntentDegradedToFile: true } : {}
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
const durationMs = await maybeProbeUploadDurationMs({
|
|
598
|
+
buffer,
|
|
599
|
+
fileName: name,
|
|
600
|
+
contentType,
|
|
601
|
+
msgType: routing.msgType
|
|
602
|
+
});
|
|
603
|
+
const { fileKey } = await uploadFileFeishu({
|
|
604
|
+
cfg,
|
|
605
|
+
file: buffer,
|
|
606
|
+
fileName: name,
|
|
607
|
+
fileType: routing.fileType ?? "stream",
|
|
608
|
+
...durationMs !== void 0 ? { duration: durationMs } : {},
|
|
609
|
+
accountId
|
|
610
|
+
});
|
|
611
|
+
return {
|
|
612
|
+
...await sendFileFeishu({
|
|
613
|
+
cfg,
|
|
614
|
+
to,
|
|
615
|
+
fileKey,
|
|
616
|
+
msgType: routing.msgType,
|
|
617
|
+
replyToMessageId,
|
|
618
|
+
replyInThread,
|
|
619
|
+
accountId
|
|
620
|
+
}),
|
|
621
|
+
...voiceIntentDegradedToFile ? { voiceIntentDegradedToFile: true } : {}
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
//#endregion
|
|
625
|
+
//#region extensions/feishu/src/types.ts
|
|
626
|
+
function isFeishuGroupChatType(chatType) {
|
|
627
|
+
return chatType === "group" || chatType === "topic_group";
|
|
628
|
+
}
|
|
629
|
+
//#endregion
|
|
630
|
+
//#region extensions/feishu/src/mention.ts
|
|
631
|
+
function isFeishuBroadcastMention(mention) {
|
|
632
|
+
const normalizedKey = mention.key?.trim().toLowerCase();
|
|
633
|
+
if (normalizedKey === "@all" || normalizedKey === "@_all") return true;
|
|
634
|
+
return [
|
|
635
|
+
mention.id?.open_id,
|
|
636
|
+
mention.id?.user_id,
|
|
637
|
+
mention.id?.union_id
|
|
638
|
+
].some((id) => id?.trim().toLowerCase() === "all");
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* Extract mention targets from message event (excluding the bot itself)
|
|
642
|
+
*/
|
|
643
|
+
function extractMentionTargets(event, botOpenId) {
|
|
644
|
+
return (event.message.mentions ?? []).filter((m) => {
|
|
645
|
+
if (isFeishuBroadcastMention(m)) return false;
|
|
646
|
+
if (m.id.open_id === botOpenId) return false;
|
|
647
|
+
return Boolean(m.id.open_id);
|
|
648
|
+
}).map((m) => ({
|
|
649
|
+
openId: m.id.open_id,
|
|
650
|
+
name: m.name,
|
|
651
|
+
key: m.key
|
|
652
|
+
}));
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Check if message is a mention forward request
|
|
656
|
+
* Rules:
|
|
657
|
+
* - Group: message mentions bot + at least one other user
|
|
658
|
+
* - DM: message mentions any user (no need to mention bot)
|
|
659
|
+
*/
|
|
660
|
+
function isMentionForwardRequest(event, botOpenId) {
|
|
661
|
+
const mentions = event.message.mentions ?? [];
|
|
662
|
+
if (mentions.length === 0) return false;
|
|
663
|
+
const normalizedBotOpenId = botOpenId?.trim();
|
|
664
|
+
if (!normalizedBotOpenId) return false;
|
|
665
|
+
const isDirectMessage = !isFeishuGroupChatType(event.message.chat_type);
|
|
666
|
+
const userMentions = mentions.filter((m) => !isFeishuBroadcastMention(m));
|
|
667
|
+
const hasOtherMention = userMentions.some((m) => m.id.open_id !== normalizedBotOpenId);
|
|
668
|
+
if (isDirectMessage) return hasOtherMention;
|
|
669
|
+
return userMentions.some((m) => m.id.open_id === normalizedBotOpenId) && hasOtherMention;
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* Format @mention for card message (lark_md)
|
|
673
|
+
*/
|
|
674
|
+
function formatMentionForCard(target) {
|
|
675
|
+
return `<at id=${target.openId}></at>`;
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* Build card content with @mentions (Markdown format)
|
|
679
|
+
*/
|
|
680
|
+
function buildMentionedCardContent(targets, message) {
|
|
681
|
+
if (targets.length === 0) return message;
|
|
682
|
+
return `${targets.map((t) => formatMentionForCard(t)).join(" ")} ${message}`;
|
|
683
|
+
}
|
|
684
|
+
//#endregion
|
|
685
|
+
//#region extensions/feishu/src/post.ts
|
|
686
|
+
const FALLBACK_POST_TEXT = "[Rich text message]";
|
|
687
|
+
const MARKDOWN_SPECIAL_CHARS = /([\\`*_{}[\]()#+\-!|>~])/g;
|
|
688
|
+
function toStringOrEmpty(value) {
|
|
689
|
+
return typeof value === "string" ? value : "";
|
|
690
|
+
}
|
|
691
|
+
function escapeMarkdownText(text) {
|
|
692
|
+
return text.replace(MARKDOWN_SPECIAL_CHARS, "\\$1");
|
|
693
|
+
}
|
|
694
|
+
function toBoolean(value) {
|
|
695
|
+
return value === true || value === 1 || value === "true";
|
|
696
|
+
}
|
|
697
|
+
function isStyleEnabled(style, key) {
|
|
698
|
+
if (!style) return false;
|
|
699
|
+
return toBoolean(style[key]);
|
|
700
|
+
}
|
|
701
|
+
function wrapInlineCode(text) {
|
|
702
|
+
const maxRun = Math.max(0, ...(text.match(/`+/g) ?? []).map((run) => run.length));
|
|
703
|
+
const fence = "`".repeat(maxRun + 1);
|
|
704
|
+
return `${fence}${text.startsWith("`") || text.endsWith("`") ? ` ${text} ` : text}${fence}`;
|
|
705
|
+
}
|
|
706
|
+
function sanitizeFenceLanguage(language) {
|
|
707
|
+
return language.trim().replace(/[^A-Za-z0-9_+#.-]/g, "");
|
|
708
|
+
}
|
|
709
|
+
function renderTextElement(element) {
|
|
710
|
+
const text = toStringOrEmpty(element.text);
|
|
711
|
+
const style = isRecord$1(element.style) ? element.style : void 0;
|
|
712
|
+
if (isStyleEnabled(style, "code")) return wrapInlineCode(text);
|
|
713
|
+
let rendered = escapeMarkdownText(text);
|
|
714
|
+
if (!rendered) return "";
|
|
715
|
+
if (isStyleEnabled(style, "bold")) rendered = `**${rendered}**`;
|
|
716
|
+
if (isStyleEnabled(style, "italic")) rendered = `*${rendered}*`;
|
|
717
|
+
if (isStyleEnabled(style, "underline")) rendered = `<u>${rendered}</u>`;
|
|
718
|
+
if (isStyleEnabled(style, "strikethrough") || isStyleEnabled(style, "line_through") || isStyleEnabled(style, "lineThrough")) rendered = `~~${rendered}~~`;
|
|
719
|
+
return rendered;
|
|
720
|
+
}
|
|
721
|
+
function renderLinkElement(element) {
|
|
722
|
+
const href = toStringOrEmpty(element.href).trim();
|
|
723
|
+
const text = toStringOrEmpty(element.text) || href;
|
|
724
|
+
if (!text) return "";
|
|
725
|
+
if (!href) return escapeMarkdownText(text);
|
|
726
|
+
return `[${escapeMarkdownText(text)}](${href})`;
|
|
727
|
+
}
|
|
728
|
+
function renderMentionElement(element) {
|
|
729
|
+
const mention = toStringOrEmpty(element.user_name) || toStringOrEmpty(element.user_id) || toStringOrEmpty(element.open_id);
|
|
730
|
+
if (!mention) return "";
|
|
731
|
+
return `@${escapeMarkdownText(mention)}`;
|
|
732
|
+
}
|
|
733
|
+
function renderEmotionElement(element) {
|
|
734
|
+
return escapeMarkdownText(toStringOrEmpty(element.emoji) || toStringOrEmpty(element.text) || toStringOrEmpty(element.emoji_type));
|
|
735
|
+
}
|
|
736
|
+
function renderCodeBlockElement(element) {
|
|
737
|
+
const language = sanitizeFenceLanguage(toStringOrEmpty(element.language) || toStringOrEmpty(element.lang));
|
|
738
|
+
const code = (toStringOrEmpty(element.text) || toStringOrEmpty(element.content)).replace(/\r\n/g, "\n");
|
|
739
|
+
return `\`\`\`${language}\n${code}${code.endsWith("\n") ? "" : "\n"}\`\`\``;
|
|
740
|
+
}
|
|
741
|
+
function renderElement(element, imageKeys, mediaKeys, mentionedOpenIds, renderMediaPlaceholders) {
|
|
742
|
+
if (!isRecord$1(element)) return escapeMarkdownText(toStringOrEmpty(element));
|
|
743
|
+
switch (normalizeLowercaseStringOrEmpty(toStringOrEmpty(element.tag))) {
|
|
744
|
+
case "text": return renderTextElement(element);
|
|
745
|
+
case "a": return renderLinkElement(element);
|
|
746
|
+
case "at":
|
|
747
|
+
{
|
|
748
|
+
const normalizedMention = normalizeFeishuExternalKey(toStringOrEmpty(element.open_id) || toStringOrEmpty(element.user_id));
|
|
749
|
+
if (normalizedMention) mentionedOpenIds.push(normalizedMention);
|
|
750
|
+
}
|
|
751
|
+
return renderMentionElement(element);
|
|
752
|
+
case "img": {
|
|
753
|
+
const imageKey = normalizeFeishuExternalKey(toStringOrEmpty(element.image_key));
|
|
754
|
+
if (imageKey) imageKeys.push(imageKey);
|
|
755
|
+
return renderMediaPlaceholders ? "![image]" : "";
|
|
756
|
+
}
|
|
757
|
+
case "media": {
|
|
758
|
+
const fileKey = normalizeFeishuExternalKey(toStringOrEmpty(element.file_key));
|
|
759
|
+
if (fileKey) {
|
|
760
|
+
const fileName = toStringOrEmpty(element.file_name) || void 0;
|
|
761
|
+
mediaKeys.push({
|
|
762
|
+
fileKey,
|
|
763
|
+
fileName
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
return renderMediaPlaceholders ? "[media]" : "";
|
|
767
|
+
}
|
|
768
|
+
case "emotion": return renderEmotionElement(element);
|
|
769
|
+
case "md":
|
|
770
|
+
case "lark_md": return toStringOrEmpty(element.text) || toStringOrEmpty(element.content);
|
|
771
|
+
case "br": return "\n";
|
|
772
|
+
case "hr": return "\n\n---\n\n";
|
|
773
|
+
case "code": {
|
|
774
|
+
const code = toStringOrEmpty(element.text) || toStringOrEmpty(element.content);
|
|
775
|
+
return code ? wrapInlineCode(code) : "";
|
|
776
|
+
}
|
|
777
|
+
case "code_block":
|
|
778
|
+
case "pre": return renderCodeBlockElement(element);
|
|
779
|
+
default: return escapeMarkdownText(toStringOrEmpty(element.text));
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
function toPostPayload(candidate) {
|
|
783
|
+
if (!isRecord$1(candidate) || !Array.isArray(candidate.content)) return null;
|
|
784
|
+
return {
|
|
785
|
+
title: toStringOrEmpty(candidate.title),
|
|
786
|
+
content: candidate.content
|
|
787
|
+
};
|
|
788
|
+
}
|
|
789
|
+
function resolveLocalePayload(candidate) {
|
|
790
|
+
const direct = toPostPayload(candidate);
|
|
791
|
+
if (direct) return direct;
|
|
792
|
+
if (!isRecord$1(candidate)) return null;
|
|
793
|
+
for (const value of Object.values(candidate)) {
|
|
794
|
+
const localePayload = toPostPayload(value);
|
|
795
|
+
if (localePayload) return localePayload;
|
|
796
|
+
}
|
|
797
|
+
return null;
|
|
798
|
+
}
|
|
799
|
+
function resolvePostPayload(parsed) {
|
|
800
|
+
const direct = toPostPayload(parsed);
|
|
801
|
+
if (direct) return direct;
|
|
802
|
+
if (!isRecord$1(parsed)) return null;
|
|
803
|
+
const wrappedPost = resolveLocalePayload(parsed.post);
|
|
804
|
+
if (wrappedPost) return wrappedPost;
|
|
805
|
+
return resolveLocalePayload(parsed);
|
|
806
|
+
}
|
|
807
|
+
function parsePostContent(content, options = {}) {
|
|
808
|
+
try {
|
|
809
|
+
const payload = resolvePostPayload(JSON.parse(content));
|
|
810
|
+
if (!payload) return {
|
|
811
|
+
textContent: FALLBACK_POST_TEXT,
|
|
812
|
+
imageKeys: [],
|
|
813
|
+
mediaKeys: [],
|
|
814
|
+
mentionedOpenIds: []
|
|
815
|
+
};
|
|
816
|
+
const imageKeys = [];
|
|
817
|
+
const mediaKeys = [];
|
|
818
|
+
const mentionedOpenIds = [];
|
|
819
|
+
const paragraphs = [];
|
|
820
|
+
for (const paragraph of payload.content) {
|
|
821
|
+
if (!Array.isArray(paragraph)) continue;
|
|
822
|
+
let renderedParagraph = "";
|
|
823
|
+
for (const element of paragraph) renderedParagraph += renderElement(element, imageKeys, mediaKeys, mentionedOpenIds, options.renderMediaPlaceholders !== false);
|
|
824
|
+
paragraphs.push(renderedParagraph);
|
|
825
|
+
}
|
|
826
|
+
return {
|
|
827
|
+
textContent: [escapeMarkdownText(payload.title.trim()), paragraphs.join("\n").trim()].filter(Boolean).join("\n\n").trim() || (options.emptyTextFallback ?? FALLBACK_POST_TEXT),
|
|
828
|
+
imageKeys,
|
|
829
|
+
mediaKeys,
|
|
830
|
+
mentionedOpenIds
|
|
831
|
+
};
|
|
832
|
+
} catch {
|
|
833
|
+
return {
|
|
834
|
+
textContent: FALLBACK_POST_TEXT,
|
|
835
|
+
imageKeys: [],
|
|
836
|
+
mediaKeys: [],
|
|
837
|
+
mentionedOpenIds: []
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
//#endregion
|
|
842
|
+
//#region extensions/feishu/src/send.ts
|
|
843
|
+
const WITHDRAWN_REPLY_ERROR_CODES = /* @__PURE__ */ new Set([230011, 231003]);
|
|
844
|
+
const INTERACTIVE_CARD_FALLBACK_TEXT = "[Interactive Card]";
|
|
845
|
+
const POST_FALLBACK_TEXT = "[Rich text message]";
|
|
846
|
+
function shouldFallbackFromReplyTarget(response) {
|
|
847
|
+
if (response.code !== void 0 && WITHDRAWN_REPLY_ERROR_CODES.has(response.code)) return true;
|
|
848
|
+
const msg = normalizeLowercaseStringOrEmpty(response.msg);
|
|
849
|
+
return msg.includes("withdrawn") || msg.includes("not found");
|
|
850
|
+
}
|
|
851
|
+
/** Check whether a thrown error indicates a withdrawn/not-found reply target. */
|
|
852
|
+
function isWithdrawnReplyError(err) {
|
|
853
|
+
if (typeof err !== "object" || err === null) return false;
|
|
854
|
+
const code = err.code;
|
|
855
|
+
if (typeof code === "number" && WITHDRAWN_REPLY_ERROR_CODES.has(code)) return true;
|
|
856
|
+
const response = err.response;
|
|
857
|
+
if (typeof response?.data?.code === "number" && WITHDRAWN_REPLY_ERROR_CODES.has(response.data.code)) return true;
|
|
858
|
+
const cause = err.cause;
|
|
859
|
+
if (cause && cause !== err) return isWithdrawnReplyError(cause);
|
|
860
|
+
return false;
|
|
861
|
+
}
|
|
862
|
+
/** Send a direct message as a fallback when a reply target is unavailable. */
|
|
863
|
+
async function sendFallbackDirect(client, params, errorPrefix) {
|
|
864
|
+
const response = await requestFeishuApi(() => client.im.message.create({
|
|
865
|
+
params: { receive_id_type: params.receiveIdType },
|
|
866
|
+
data: {
|
|
867
|
+
receive_id: params.receiveId,
|
|
868
|
+
content: params.content,
|
|
869
|
+
msg_type: params.msgType
|
|
870
|
+
}
|
|
871
|
+
}), errorPrefix, { includeNestedErrorLogId: true });
|
|
872
|
+
assertFeishuMessageApiSuccess(response, errorPrefix);
|
|
873
|
+
return toFeishuSendResult(response, params.receiveId, resolveFeishuReceiptKind(params.msgType));
|
|
874
|
+
}
|
|
875
|
+
async function sendReplyOrFallbackDirect(client, params) {
|
|
876
|
+
if (!params.replyToMessageId) return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
|
|
877
|
+
const replyTargetFallbackError = params.replyInThread && params.allowTopLevelReplyFallback !== true ? /* @__PURE__ */ new Error("Feishu thread reply failed: reply target is unavailable and cannot safely fall back to a top-level send.") : null;
|
|
878
|
+
let response;
|
|
879
|
+
try {
|
|
880
|
+
response = await requestFeishuApi(() => client.im.message.reply({
|
|
881
|
+
path: { message_id: params.replyToMessageId },
|
|
882
|
+
data: {
|
|
883
|
+
content: params.content,
|
|
884
|
+
msg_type: params.msgType,
|
|
885
|
+
...params.replyInThread ? { reply_in_thread: true } : {}
|
|
886
|
+
}
|
|
887
|
+
}), params.replyErrorPrefix, { includeNestedErrorLogId: true });
|
|
888
|
+
} catch (err) {
|
|
889
|
+
if (!isWithdrawnReplyError(err)) throw err;
|
|
890
|
+
if (replyTargetFallbackError) throw replyTargetFallbackError;
|
|
891
|
+
return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
|
|
892
|
+
}
|
|
893
|
+
if (shouldFallbackFromReplyTarget(response)) {
|
|
894
|
+
if (replyTargetFallbackError) throw replyTargetFallbackError;
|
|
895
|
+
return sendFallbackDirect(client, params.directParams, params.directErrorPrefix);
|
|
896
|
+
}
|
|
897
|
+
assertFeishuMessageApiSuccess(response, params.replyErrorPrefix);
|
|
898
|
+
return toFeishuSendResult(response, params.directParams.receiveId, resolveFeishuReceiptKind(params.msgType));
|
|
899
|
+
}
|
|
900
|
+
function normalizeCardTemplateVariable(value) {
|
|
901
|
+
if (typeof value === "string") return value;
|
|
902
|
+
if (typeof value === "number" || typeof value === "boolean" || typeof value === "bigint") return String(value);
|
|
903
|
+
}
|
|
904
|
+
function readCardTemplateVariables(parsed) {
|
|
905
|
+
const variables = /* @__PURE__ */ new Map();
|
|
906
|
+
for (const source of [parsed.template_variable, parsed.template_variables]) {
|
|
907
|
+
if (!isRecord(source)) continue;
|
|
908
|
+
for (const [key, value] of Object.entries(source)) {
|
|
909
|
+
const normalized = normalizeCardTemplateVariable(value);
|
|
910
|
+
if (normalized !== void 0) variables.set(key, normalized);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
return variables;
|
|
914
|
+
}
|
|
915
|
+
function applyCardTemplateVariables(text, variables) {
|
|
916
|
+
if (variables.size === 0) return text;
|
|
917
|
+
return text.replace(/\$\{([A-Za-z0-9_.-]+)\}|\{\{\s*([A-Za-z0-9_.-]+)\s*\}\}/g, (match, a, b) => {
|
|
918
|
+
const variableName = typeof a === "string" ? a : b;
|
|
919
|
+
return variables.get(variableName) ?? match;
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
function extractInteractiveElementText(element, variables) {
|
|
923
|
+
if (!isRecord(element)) return;
|
|
924
|
+
const tag = typeof element.tag === "string" ? element.tag : "";
|
|
925
|
+
const text = isRecord(element.text) ? element.text : void 0;
|
|
926
|
+
if (tag === "div" && typeof text?.content === "string") return applyCardTemplateVariables(text.content, variables);
|
|
927
|
+
if ((tag === "markdown" || tag === "lark_md") && typeof element.content === "string") return applyCardTemplateVariables(element.content, variables);
|
|
928
|
+
if (tag === "plain_text" && typeof element.content === "string") return applyCardTemplateVariables(element.content, variables);
|
|
929
|
+
}
|
|
930
|
+
function extractInteractiveElementsText(elements, variables) {
|
|
931
|
+
const texts = [];
|
|
932
|
+
for (const element of elements) {
|
|
933
|
+
const text = extractInteractiveElementText(element, variables);
|
|
934
|
+
if (text !== void 0) texts.push(text);
|
|
935
|
+
}
|
|
936
|
+
return texts.join("\n").trim();
|
|
937
|
+
}
|
|
938
|
+
function readInteractiveElementArrays(parsed) {
|
|
939
|
+
const body = isRecord(parsed.body) ? parsed.body : void 0;
|
|
940
|
+
const elementArrays = [];
|
|
941
|
+
for (const candidate of [parsed.elements, body?.elements]) if (Array.isArray(candidate)) elementArrays.push(candidate);
|
|
942
|
+
for (const candidate of [parsed.i18n_elements, body?.i18n_elements]) {
|
|
943
|
+
if (!isRecord(candidate)) continue;
|
|
944
|
+
for (const localeElements of Object.values(candidate)) if (Array.isArray(localeElements)) elementArrays.push(localeElements);
|
|
945
|
+
}
|
|
946
|
+
return elementArrays;
|
|
947
|
+
}
|
|
948
|
+
function parseInteractivePostFallback(parsed) {
|
|
949
|
+
const textContent = parsePostContent(JSON.stringify(parsed)).textContent.trim();
|
|
950
|
+
return textContent && textContent !== POST_FALLBACK_TEXT ? textContent : void 0;
|
|
951
|
+
}
|
|
952
|
+
function parseInteractiveCardContent(parsed) {
|
|
953
|
+
if (!isRecord(parsed)) return INTERACTIVE_CARD_FALLBACK_TEXT;
|
|
954
|
+
const variables = readCardTemplateVariables(parsed);
|
|
955
|
+
for (const elements of readInteractiveElementArrays(parsed)) {
|
|
956
|
+
const text = extractInteractiveElementsText(elements, variables);
|
|
957
|
+
if (text) return text;
|
|
958
|
+
}
|
|
959
|
+
return parseInteractivePostFallback(parsed) ?? INTERACTIVE_CARD_FALLBACK_TEXT;
|
|
960
|
+
}
|
|
961
|
+
function parseFeishuMessageContent(rawContent, msgType) {
|
|
962
|
+
if (!rawContent) return "";
|
|
963
|
+
let parsed;
|
|
964
|
+
try {
|
|
965
|
+
parsed = JSON.parse(rawContent);
|
|
966
|
+
} catch {
|
|
967
|
+
return rawContent;
|
|
968
|
+
}
|
|
969
|
+
if (msgType === "text") {
|
|
970
|
+
const text = parsed?.text;
|
|
971
|
+
return typeof text === "string" ? text : "[Text message]";
|
|
972
|
+
}
|
|
973
|
+
if (msgType === "post") return parsePostContent(rawContent).textContent;
|
|
974
|
+
if (msgType === "interactive") return parseInteractiveCardContent(parsed);
|
|
975
|
+
if (typeof parsed === "string") return parsed;
|
|
976
|
+
const genericText = parsed?.text;
|
|
977
|
+
if (typeof genericText === "string" && genericText.trim()) return genericText;
|
|
978
|
+
const genericTitle = parsed?.title;
|
|
979
|
+
if (typeof genericTitle === "string" && genericTitle.trim()) return genericTitle;
|
|
980
|
+
return `[${msgType || "unknown"} message]`;
|
|
981
|
+
}
|
|
982
|
+
function parseFeishuMessageItem(item, fallbackMessageId) {
|
|
983
|
+
const msgType = item.msg_type ?? "text";
|
|
984
|
+
const rawContent = item.body?.content ?? "";
|
|
985
|
+
return {
|
|
986
|
+
messageId: item.message_id ?? fallbackMessageId ?? "",
|
|
987
|
+
chatId: item.chat_id ?? "",
|
|
988
|
+
chatType: item.chat_type === "group" || item.chat_type === "topic_group" || item.chat_type === "private" || item.chat_type === "p2p" ? item.chat_type : void 0,
|
|
989
|
+
senderId: item.sender?.id,
|
|
990
|
+
senderOpenId: item.sender?.id_type === "open_id" ? item.sender?.id : void 0,
|
|
991
|
+
senderType: item.sender?.sender_type,
|
|
992
|
+
content: parseFeishuMessageContent(rawContent, msgType),
|
|
993
|
+
contentType: msgType,
|
|
994
|
+
createTime: parseStrictNonNegativeInteger(item.create_time),
|
|
995
|
+
threadId: item.thread_id || void 0
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Get a message by its ID.
|
|
1000
|
+
* Useful for fetching quoted/replied message content.
|
|
1001
|
+
*/
|
|
1002
|
+
async function getMessageFeishu(params) {
|
|
1003
|
+
const { cfg, messageId, accountId } = params;
|
|
1004
|
+
const account = resolveFeishuRuntimeAccount({
|
|
1005
|
+
cfg,
|
|
1006
|
+
accountId
|
|
1007
|
+
});
|
|
1008
|
+
if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
|
|
1009
|
+
const client = createFeishuClient(account);
|
|
1010
|
+
try {
|
|
1011
|
+
const response = await client.im.message.get({
|
|
1012
|
+
params: { card_msg_content_type: "user_card_content" },
|
|
1013
|
+
path: { message_id: messageId }
|
|
1014
|
+
});
|
|
1015
|
+
if (response.code !== 0) return null;
|
|
1016
|
+
const rawItem = response.data?.items?.[0] ?? response.data;
|
|
1017
|
+
const item = rawItem && (rawItem.body !== void 0 || rawItem.message_id !== void 0) ? rawItem : null;
|
|
1018
|
+
if (!item) return null;
|
|
1019
|
+
return parseFeishuMessageItem(item, messageId);
|
|
1020
|
+
} catch {
|
|
1021
|
+
return null;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* List messages in a Feishu thread (topic).
|
|
1026
|
+
* Uses container_id_type=thread to directly query thread messages,
|
|
1027
|
+
* which includes both the root message and all replies (including bot replies).
|
|
1028
|
+
*/
|
|
1029
|
+
async function listFeishuThreadMessages(params) {
|
|
1030
|
+
const { cfg, threadId, currentMessageId, rootMessageId, limit = 20, accountId } = params;
|
|
1031
|
+
const account = resolveFeishuRuntimeAccount({
|
|
1032
|
+
cfg,
|
|
1033
|
+
accountId
|
|
1034
|
+
});
|
|
1035
|
+
if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
|
|
1036
|
+
const response = await createFeishuClient(account).im.message.list({ params: {
|
|
1037
|
+
container_id_type: "thread",
|
|
1038
|
+
container_id: threadId,
|
|
1039
|
+
sort_type: "ByCreateTimeDesc",
|
|
1040
|
+
page_size: Math.min(limit + 1, 50),
|
|
1041
|
+
card_msg_content_type: "user_card_content"
|
|
1042
|
+
} });
|
|
1043
|
+
if (response.code !== 0) throw new Error(`Feishu thread list failed: code=${response.code} msg=${response.msg ?? "unknown"}`);
|
|
1044
|
+
const items = response.data?.items ?? [];
|
|
1045
|
+
const results = [];
|
|
1046
|
+
for (const item of items) {
|
|
1047
|
+
if (currentMessageId && item.message_id === currentMessageId) continue;
|
|
1048
|
+
if (rootMessageId && item.message_id === rootMessageId) continue;
|
|
1049
|
+
const parsed = parseFeishuMessageItem(item);
|
|
1050
|
+
results.push({
|
|
1051
|
+
messageId: parsed.messageId,
|
|
1052
|
+
senderId: parsed.senderId,
|
|
1053
|
+
senderType: parsed.senderType,
|
|
1054
|
+
content: parsed.content,
|
|
1055
|
+
contentType: parsed.contentType,
|
|
1056
|
+
createTime: parsed.createTime
|
|
1057
|
+
});
|
|
1058
|
+
if (results.length >= limit) break;
|
|
1059
|
+
}
|
|
1060
|
+
results.reverse();
|
|
1061
|
+
return results;
|
|
1062
|
+
}
|
|
1063
|
+
function buildFeishuPostMentionElements(mentions) {
|
|
1064
|
+
if (!mentions?.length) return [];
|
|
1065
|
+
const elements = [];
|
|
1066
|
+
for (const mention of mentions) {
|
|
1067
|
+
const userId = mention.openId.trim();
|
|
1068
|
+
if (!userId) continue;
|
|
1069
|
+
const userName = mention.name.trim();
|
|
1070
|
+
elements.push({
|
|
1071
|
+
tag: "at",
|
|
1072
|
+
user_id: userId,
|
|
1073
|
+
...userName ? { user_name: userName } : {}
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1076
|
+
return elements;
|
|
1077
|
+
}
|
|
1078
|
+
function buildFeishuPostMessagePayload(params) {
|
|
1079
|
+
const { messageText, mentions } = params;
|
|
1080
|
+
const content = [...buildFeishuPostMentionElements(mentions), {
|
|
1081
|
+
tag: "md",
|
|
1082
|
+
text: messageText
|
|
1083
|
+
}];
|
|
1084
|
+
return {
|
|
1085
|
+
content: JSON.stringify({ zh_cn: { content: [content] } }),
|
|
1086
|
+
msgType: "post"
|
|
1087
|
+
};
|
|
1088
|
+
}
|
|
1089
|
+
async function sendMessageFeishu(params) {
|
|
1090
|
+
const { cfg, to, text, replyToMessageId, replyInThread, allowTopLevelReplyFallback, mentions, accountId } = params;
|
|
1091
|
+
const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
|
|
1092
|
+
cfg,
|
|
1093
|
+
to,
|
|
1094
|
+
accountId
|
|
1095
|
+
});
|
|
1096
|
+
const tableMode = resolveMarkdownTableMode({
|
|
1097
|
+
cfg,
|
|
1098
|
+
channel: "feishu"
|
|
1099
|
+
});
|
|
1100
|
+
const { content, msgType } = buildFeishuPostMessagePayload({
|
|
1101
|
+
messageText: convertMarkdownTables(text ?? "", tableMode),
|
|
1102
|
+
mentions
|
|
1103
|
+
});
|
|
1104
|
+
return sendReplyOrFallbackDirect(client, {
|
|
1105
|
+
replyToMessageId,
|
|
1106
|
+
replyInThread,
|
|
1107
|
+
allowTopLevelReplyFallback,
|
|
1108
|
+
content,
|
|
1109
|
+
msgType,
|
|
1110
|
+
directParams: {
|
|
1111
|
+
receiveId,
|
|
1112
|
+
receiveIdType,
|
|
1113
|
+
content,
|
|
1114
|
+
msgType
|
|
1115
|
+
},
|
|
1116
|
+
directErrorPrefix: "Feishu send failed",
|
|
1117
|
+
replyErrorPrefix: "Feishu reply failed"
|
|
1118
|
+
});
|
|
1119
|
+
}
|
|
1120
|
+
async function sendCardFeishu(params) {
|
|
1121
|
+
const { cfg, to, card, replyToMessageId, replyInThread, allowTopLevelReplyFallback, accountId } = params;
|
|
1122
|
+
const { client, receiveId, receiveIdType } = resolveFeishuSendTarget({
|
|
1123
|
+
cfg,
|
|
1124
|
+
to,
|
|
1125
|
+
accountId
|
|
1126
|
+
});
|
|
1127
|
+
const content = JSON.stringify(card);
|
|
1128
|
+
return sendReplyOrFallbackDirect(client, {
|
|
1129
|
+
replyToMessageId,
|
|
1130
|
+
replyInThread,
|
|
1131
|
+
allowTopLevelReplyFallback,
|
|
1132
|
+
content,
|
|
1133
|
+
msgType: "interactive",
|
|
1134
|
+
directParams: {
|
|
1135
|
+
receiveId,
|
|
1136
|
+
receiveIdType,
|
|
1137
|
+
content,
|
|
1138
|
+
msgType: "interactive"
|
|
1139
|
+
},
|
|
1140
|
+
directErrorPrefix: "Feishu card send failed",
|
|
1141
|
+
replyErrorPrefix: "Feishu card reply failed"
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
async function editMessageFeishu(params) {
|
|
1145
|
+
const { cfg, messageId, text, card, accountId } = params;
|
|
1146
|
+
const account = resolveFeishuRuntimeAccount({
|
|
1147
|
+
cfg,
|
|
1148
|
+
accountId
|
|
1149
|
+
});
|
|
1150
|
+
if (!account.configured) throw new Error(`Feishu account "${account.accountId}" not configured`);
|
|
1151
|
+
if ((typeof text === "string" && text.trim().length > 0) === Boolean(card)) throw new Error("Feishu edit requires exactly one of text or card.");
|
|
1152
|
+
const client = createFeishuClient(account);
|
|
1153
|
+
if (card) {
|
|
1154
|
+
const content = JSON.stringify(card);
|
|
1155
|
+
const response = await client.im.message.patch({
|
|
1156
|
+
path: { message_id: messageId },
|
|
1157
|
+
data: { content }
|
|
1158
|
+
});
|
|
1159
|
+
if (response.code !== 0) throw new Error(`Feishu message edit failed: ${response.msg || `code ${response.code}`}`);
|
|
1160
|
+
return {
|
|
1161
|
+
messageId,
|
|
1162
|
+
contentType: "interactive"
|
|
1163
|
+
};
|
|
1164
|
+
}
|
|
1165
|
+
const tableMode = resolveMarkdownTableMode({
|
|
1166
|
+
cfg,
|
|
1167
|
+
channel: "feishu"
|
|
1168
|
+
});
|
|
1169
|
+
const payload = buildFeishuPostMessagePayload({ messageText: convertMarkdownTables(text, tableMode) });
|
|
1170
|
+
const response = await client.im.message.patch({
|
|
1171
|
+
path: { message_id: messageId },
|
|
1172
|
+
data: { content: payload.content }
|
|
1173
|
+
});
|
|
1174
|
+
if (response.code !== 0) throw new Error(`Feishu message edit failed: ${response.msg || `code ${response.code}`}`);
|
|
1175
|
+
return {
|
|
1176
|
+
messageId,
|
|
1177
|
+
contentType: "post"
|
|
1178
|
+
};
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
* Build a Feishu interactive card with markdown content.
|
|
1182
|
+
* Cards render markdown properly (code blocks, tables, links, etc.)
|
|
1183
|
+
* Uses schema 2.0 format for proper markdown rendering.
|
|
1184
|
+
*/
|
|
1185
|
+
function buildMarkdownCard(text) {
|
|
1186
|
+
return {
|
|
1187
|
+
schema: "2.0",
|
|
1188
|
+
config: { width_mode: "fill" },
|
|
1189
|
+
body: { elements: [{
|
|
1190
|
+
tag: "markdown",
|
|
1191
|
+
content: text
|
|
1192
|
+
}] }
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
/**
|
|
1196
|
+
* Build a Feishu interactive card with optional header and note footer.
|
|
1197
|
+
* When header/note are omitted, behaves identically to buildMarkdownCard.
|
|
1198
|
+
*/
|
|
1199
|
+
function buildStructuredCard(text, options) {
|
|
1200
|
+
const elements = [{
|
|
1201
|
+
tag: "markdown",
|
|
1202
|
+
content: text
|
|
1203
|
+
}];
|
|
1204
|
+
if (options?.note) {
|
|
1205
|
+
elements.push({ tag: "hr" });
|
|
1206
|
+
elements.push({
|
|
1207
|
+
tag: "markdown",
|
|
1208
|
+
content: `<font color='grey'>${options.note}</font>`
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
const card = {
|
|
1212
|
+
schema: "2.0",
|
|
1213
|
+
config: { width_mode: "fill" },
|
|
1214
|
+
body: { elements }
|
|
1215
|
+
};
|
|
1216
|
+
if (options?.header) card.header = {
|
|
1217
|
+
title: {
|
|
1218
|
+
tag: "plain_text",
|
|
1219
|
+
content: options.header.title
|
|
1220
|
+
},
|
|
1221
|
+
template: resolveFeishuCardTemplate(options.header.template) ?? "blue"
|
|
1222
|
+
};
|
|
1223
|
+
return card;
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* Send a message as a structured card with optional header and note.
|
|
1227
|
+
*/
|
|
1228
|
+
async function sendStructuredCardFeishu(params) {
|
|
1229
|
+
const { cfg, to, text, replyToMessageId, replyInThread, allowTopLevelReplyFallback, mentions, accountId, header, note } = params;
|
|
1230
|
+
let cardText = text;
|
|
1231
|
+
if (mentions && mentions.length > 0) cardText = buildMentionedCardContent(mentions, text);
|
|
1232
|
+
return sendCardFeishu({
|
|
1233
|
+
cfg,
|
|
1234
|
+
to,
|
|
1235
|
+
card: buildStructuredCard(cardText, {
|
|
1236
|
+
header,
|
|
1237
|
+
note
|
|
1238
|
+
}),
|
|
1239
|
+
replyToMessageId,
|
|
1240
|
+
replyInThread,
|
|
1241
|
+
allowTopLevelReplyFallback,
|
|
1242
|
+
accountId
|
|
1243
|
+
});
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Send a message as a markdown card (interactive message).
|
|
1247
|
+
* This renders markdown properly in Feishu (code blocks, tables, bold/italic, etc.)
|
|
1248
|
+
*/
|
|
1249
|
+
async function sendMarkdownCardFeishu(params) {
|
|
1250
|
+
const { cfg, to, text, replyToMessageId, replyInThread, allowTopLevelReplyFallback, mentions, accountId } = params;
|
|
1251
|
+
let cardText = text;
|
|
1252
|
+
if (mentions && mentions.length > 0) cardText = buildMentionedCardContent(mentions, text);
|
|
1253
|
+
return sendCardFeishu({
|
|
1254
|
+
cfg,
|
|
1255
|
+
to,
|
|
1256
|
+
card: buildMarkdownCard(cardText),
|
|
1257
|
+
replyToMessageId,
|
|
1258
|
+
replyInThread,
|
|
1259
|
+
allowTopLevelReplyFallback,
|
|
1260
|
+
accountId
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
//#endregion
|
|
1264
|
+
export { resolveFeishuIdentityEmoji as _, sendMarkdownCardFeishu as a, parsePostContent as c, isMentionForwardRequest as d, isFeishuGroupChatType as f, normalizeFeishuExternalKey as g, shouldSuppressFeishuTextForVoiceMedia as h, sendCardFeishu as i, extractMentionTargets as l, sendMediaFeishu as m, getMessageFeishu as n, sendMessageFeishu as o, saveMessageResourceFeishu as p, listFeishuThreadMessages as r, sendStructuredCardFeishu as s, editMessageFeishu as t, isFeishuBroadcastMention as u, resolveFeishuIdentityHeaderTitle as v };
|