@openclaw/feishu 2026.7.2-beta.5 → 2026.8.1-beta.2
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/dist/accounts-CCCdMen2.js +203 -0
- package/dist/api.js +52 -50
- package/dist/channel-Dzb5jv3i.js +2818 -0
- package/dist/channel-plugin-api.js +1 -1
- package/dist/channel.runtime-CoPaHQQ6.js +928 -0
- package/dist/client-Hp7uo_cl.js +259 -0
- package/dist/contract-api.js +2 -2
- package/dist/conversation-id-VYgGQ-GX.js +142 -0
- package/dist/doctor-contract-api.js +1 -1
- package/dist/doctor-contract-bEQXIXyP.js +158 -0
- package/dist/drive-B0JkoiRj.js +1352 -0
- package/dist/media-BjSy8fiy.js +1464 -0
- package/dist/monitor-CeHCfROt.js +62 -0
- package/dist/monitor.account-DwdqexLU.js +7232 -0
- package/dist/monitor.startup-BGErejNH.js +143 -0
- package/dist/probe-DVpy58s0.js +219 -0
- package/dist/security-audit-D6Fz2h6p.js +23 -0
- package/dist/send-result-DEAycmOk.js +779 -0
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/session-conversation-DFCIvQK-.js +27 -0
- package/dist/session-key-api.js +1 -1
- package/dist/setup-api.js +1 -1
- package/dist/subagent-hooks-B867acTt.js +239 -0
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/thread-bindings-Itvfmx6_.js +223 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/CHANGELOG.md +686 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/README.md +355 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/lib/form_data.js +506 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/form-data/package.json +82 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/README.md +440 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.js +9276 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.js.map +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.min.js +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.js +3556 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.min.js +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.js +11233 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.js.map +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.min.js +8 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/dist/protobuf.min.js.map +1 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/README.md +70 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/README.md +5 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/index.d.ts +2 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor/index.js +2 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.d.ts +87 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.generated.d.ts +417 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/descriptor.js +1356 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.LICENSE +201 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.d.ts +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.generated.d.ts +49 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/protojson.js +951 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.d.ts +19 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.generated.d.ts +33 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/ext/textformat.js +1276 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/api/annotations.json +85 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/api/http.json +87 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/api.json +124 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/compiler/plugin.json +126 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/compiler/plugin.proto +47 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/descriptor.json +1465 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/descriptor.proto +527 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/source_context.json +21 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/google/protobuf/type.json +209 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/index.d.ts +3203 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/package.json +93 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/common.js +405 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/converter.js +352 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/decoder.js +279 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/encoder.js +123 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/enum.js +239 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/field.js +505 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index-light.js +104 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index-minimal.js +35 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/index.js +12 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/mapfield.js +144 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/message.js +137 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/method.js +183 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/namespace.js +574 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/object.js +392 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/oneof.js +233 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/parse.js +1111 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/reader.js +788 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/reader_buffer.js +77 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/root.js +424 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/rpc/service.js +155 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/service.js +206 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/tokenize.js +421 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/type.js +676 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/typescript.js +25 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/aspromise.d.ts +13 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/aspromise.js +52 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/base64.d.ts +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/base64.js +146 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/codegen.d.ts +31 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/codegen.js +118 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/eventemitter.d.ts +45 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/eventemitter.js +86 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/fetch.d.ts +56 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/fetch.js +112 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/float.js +335 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/longbits.js +204 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/minimal.js +511 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/path.d.ts +22 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/path.js +100 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/pool.d.ts +32 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/pool.js +48 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/utf8.d.ts +24 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/utf8.js +190 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/util.js +264 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/verifier.js +185 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/wrappers.js +106 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/writer.js +700 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/src/writer_buffer.js +100 -0
- package/node_modules/@larksuiteoapi/node-sdk/node_modules/protobufjs/tsconfig.json +6 -0
- package/node_modules/mdast-util-from-markdown/node_modules/debug/LICENSE +20 -0
- package/node_modules/mdast-util-from-markdown/node_modules/debug/README.md +481 -0
- package/node_modules/mdast-util-from-markdown/node_modules/debug/package.json +64 -0
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/browser.js +272 -0
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/common.js +292 -0
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/index.js +10 -0
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/node.js +263 -0
- package/node_modules/mdast-util-from-markdown/node_modules/ms/index.js +162 -0
- package/node_modules/mdast-util-from-markdown/node_modules/ms/license.md +21 -0
- package/node_modules/mdast-util-from-markdown/node_modules/ms/package.json +38 -0
- package/node_modules/mdast-util-from-markdown/node_modules/ms/readme.md +59 -0
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/README.md +15 -0
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/index.d.ts +1123 -0
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/package.json +47 -0
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/LICENSE +21 -0
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/README.md +15 -0
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/index.d.ts +119 -0
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/package.json +60 -0
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.d.ts +6 -0
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.js +2132 -0
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/package.json +78 -0
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/readme.md +152 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts +13 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts +6 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.js +32 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.js +19 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/package.json +90 -0
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/readme.md +136 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/index.d.ts +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/license +21 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.d.ts +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/package.json +57 -0
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/readme.md +112 -0
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/default.js +9 -0
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.d.ts +84 -0
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.js +238 -0
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/package.json +80 -0
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/readme.md +360 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.d.ts +2 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.js +5 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.d.ts +31 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.js +108 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/package.json +78 -0
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/readme.md +218 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.js +252 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts +195 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.js +246 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/package.json +57 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/readme.md +446 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts +18 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.js +38 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts +18 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.js +27 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/package.json +59 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/readme.md +205 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +16 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +42 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +16 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/readme.md +184 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts +14 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.js +53 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts +14 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.js +45 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/package.json +63 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/readme.md +179 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/package.json +43 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/readme.md +168 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.d.ts +1312 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.js +2 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/license +22 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/package.json +71 -0
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/readme.md +151 -0
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/license +22 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/index.d.ts +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/license +21 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.d.ts +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/package.json +57 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/readme.md +112 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/default.js +9 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.d.ts +84 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.js +238 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/license +22 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/package.json +80 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/readme.md +360 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts +37 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.js +67 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts +37 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.js +64 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/license +22 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/package.json +55 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/readme.md +225 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.js +252 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts +195 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.js +246 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/license +22 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/package.json +57 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/readme.md +446 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/license +22 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/package.json +43 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/readme.md +168 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.d.ts +1312 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.js +2 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/license +22 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/package.json +71 -0
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/readme.md +151 -0
- package/openclaw.plugin.json +143 -1
- package/package.json +4 -4
- package/skills/feishu-doc/SKILL.md +20 -191
- package/skills/feishu-doc/references/block-types.md +9 -14
- package/skills/feishu-drive/SKILL.md +16 -102
- package/skills/feishu-perm/SKILL.md +10 -110
- package/skills/feishu-wiki/SKILL.md +13 -109
- package/dist/accounts-CKhCa76b.js +0 -474
- package/dist/channel-CBNICmK9.js +0 -2816
- package/dist/channel.runtime-CSlJVqy4.js +0 -889
- package/dist/client-Dee7cKsS.js +0 -250
- package/dist/conversation-id-BeJL-wq7.js +0 -146
- package/dist/doctor-contract-BiD9tyIv.js +0 -102
- package/dist/drive-DG6pKTPE.js +0 -1075
- package/dist/media-DOwcLJ1j.js +0 -1346
- package/dist/monitor-DEHJlyWW.js +0 -62
- package/dist/monitor.account-DEHl8Non.js +0 -7124
- package/dist/monitor.startup-CSUPT_U1.js +0 -143
- package/dist/probe-Za1kgUvx.js +0 -219
- package/dist/security-audit-D7WK_BHh.js +0 -11
- package/dist/send-result-Bcofg0Vv.js +0 -781
- package/dist/session-conversation-BksWrfzm.js +0 -27
- package/dist/subagent-hooks-DL2SC5zX.js +0 -239
- package/dist/thread-bindings-Dqs_A0du.js +0 -223
- package/node_modules/@protobufjs/aspromise/LICENSE +0 -26
- package/node_modules/@protobufjs/aspromise/README.md +0 -13
- package/node_modules/@protobufjs/aspromise/index.d.ts +0 -13
- package/node_modules/@protobufjs/aspromise/index.js +0 -52
- package/node_modules/@protobufjs/aspromise/package.json +0 -21
- package/node_modules/@protobufjs/aspromise/tests/index.js +0 -130
- package/node_modules/@protobufjs/base64/LICENSE +0 -26
- package/node_modules/@protobufjs/base64/README.md +0 -19
- package/node_modules/@protobufjs/base64/index.d.ts +0 -32
- package/node_modules/@protobufjs/base64/index.js +0 -139
- package/node_modules/@protobufjs/base64/package.json +0 -21
- package/node_modules/@protobufjs/base64/tests/index.js +0 -46
- package/node_modules/@protobufjs/codegen/LICENSE +0 -26
- package/node_modules/@protobufjs/codegen/README.md +0 -49
- package/node_modules/@protobufjs/codegen/index.d.ts +0 -31
- package/node_modules/@protobufjs/codegen/index.js +0 -112
- package/node_modules/@protobufjs/codegen/package.json +0 -13
- package/node_modules/@protobufjs/codegen/tests/index.js +0 -13
- package/node_modules/@protobufjs/eventemitter/CHANGELOG.md +0 -8
- package/node_modules/@protobufjs/eventemitter/LICENSE +0 -26
- package/node_modules/@protobufjs/eventemitter/README.md +0 -22
- package/node_modules/@protobufjs/eventemitter/index.d.ts +0 -45
- package/node_modules/@protobufjs/eventemitter/index.js +0 -86
- package/node_modules/@protobufjs/eventemitter/package.json +0 -21
- package/node_modules/@protobufjs/eventemitter/tests/index.js +0 -83
- package/node_modules/@protobufjs/fetch/CHANGELOG.md +0 -8
- package/node_modules/@protobufjs/fetch/LICENSE +0 -26
- package/node_modules/@protobufjs/fetch/README.md +0 -13
- package/node_modules/@protobufjs/fetch/index.d.ts +0 -56
- package/node_modules/@protobufjs/fetch/index.js +0 -112
- package/node_modules/@protobufjs/fetch/package.json +0 -27
- package/node_modules/@protobufjs/fetch/tests/data/file.txt +0 -1
- package/node_modules/@protobufjs/fetch/tests/index.js +0 -158
- package/node_modules/@protobufjs/fetch/util/fs.js +0 -11
- package/node_modules/@protobufjs/float/LICENSE +0 -26
- package/node_modules/@protobufjs/float/README.md +0 -102
- package/node_modules/@protobufjs/float/bench/index.js +0 -87
- package/node_modules/@protobufjs/float/bench/suite.js +0 -46
- package/node_modules/@protobufjs/float/index.js +0 -335
- package/node_modules/@protobufjs/float/package.json +0 -26
- package/node_modules/@protobufjs/float/tests/index.js +0 -100
- package/node_modules/@protobufjs/path/LICENSE +0 -26
- package/node_modules/@protobufjs/path/README.md +0 -19
- package/node_modules/@protobufjs/path/index.d.ts +0 -22
- package/node_modules/@protobufjs/path/index.js +0 -65
- package/node_modules/@protobufjs/path/package.json +0 -21
- package/node_modules/@protobufjs/path/tests/index.js +0 -60
- package/node_modules/@protobufjs/pool/.npmignore +0 -3
- package/node_modules/@protobufjs/pool/LICENSE +0 -26
- package/node_modules/@protobufjs/pool/README.md +0 -13
- package/node_modules/@protobufjs/pool/index.d.ts +0 -32
- package/node_modules/@protobufjs/pool/index.js +0 -48
- package/node_modules/@protobufjs/pool/package.json +0 -21
- package/node_modules/@protobufjs/pool/tests/index.js +0 -33
- package/node_modules/@protobufjs/utf8/CHANGELOG.md +0 -8
- package/node_modules/@protobufjs/utf8/LICENSE +0 -26
- package/node_modules/@protobufjs/utf8/README.md +0 -20
- package/node_modules/@protobufjs/utf8/index.d.ts +0 -24
- package/node_modules/@protobufjs/utf8/index.js +0 -115
- package/node_modules/@protobufjs/utf8/package.json +0 -21
- package/node_modules/@protobufjs/utf8/tests/data/surrogate_pair_bug.txt +0 -207
- package/node_modules/@protobufjs/utf8/tests/data/utf8.txt +0 -216
- package/node_modules/@protobufjs/utf8/tests/index.js +0 -79
- package/node_modules/@types/node/README.md +0 -15
- package/node_modules/@types/node/assert/strict.d.ts +0 -68
- package/node_modules/@types/node/assert.d.ts +0 -1077
- package/node_modules/@types/node/async_hooks.d.ts +0 -711
- package/node_modules/@types/node/buffer.buffer.d.ts +0 -466
- package/node_modules/@types/node/buffer.d.ts +0 -1799
- package/node_modules/@types/node/child_process.d.ts +0 -1362
- package/node_modules/@types/node/cluster.d.ts +0 -432
- package/node_modules/@types/node/console.d.ts +0 -93
- package/node_modules/@types/node/constants.d.ts +0 -14
- package/node_modules/@types/node/crypto.d.ts +0 -3954
- package/node_modules/@types/node/dgram.d.ts +0 -537
- package/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
- package/node_modules/@types/node/dns/promises.d.ts +0 -497
- package/node_modules/@types/node/dns.d.ts +0 -876
- package/node_modules/@types/node/domain.d.ts +0 -150
- package/node_modules/@types/node/events.d.ts +0 -1008
- package/node_modules/@types/node/ffi.d.ts +0 -486
- package/node_modules/@types/node/fs/promises.d.ts +0 -1481
- package/node_modules/@types/node/fs.d.ts +0 -4786
- package/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@types/node/http.d.ts +0 -2172
- package/node_modules/@types/node/http2.d.ts +0 -2489
- package/node_modules/@types/node/https.d.ts +0 -400
- package/node_modules/@types/node/index.d.ts +0 -115
- package/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@types/node/inspector.d.ts +0 -264
- package/node_modules/@types/node/inspector.generated.d.ts +0 -4406
- package/node_modules/@types/node/module.d.ts +0 -726
- package/node_modules/@types/node/net.d.ts +0 -970
- package/node_modules/@types/node/os.d.ts +0 -498
- package/node_modules/@types/node/package.json +0 -155
- package/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@types/node/path.d.ts +0 -178
- package/node_modules/@types/node/perf_hooks.d.ts +0 -604
- package/node_modules/@types/node/process.d.ts +0 -2217
- package/node_modules/@types/node/punycode.d.ts +0 -89
- package/node_modules/@types/node/querystring.d.ts +0 -139
- package/node_modules/@types/node/quic.d.ts +0 -978
- package/node_modules/@types/node/readline/promises.d.ts +0 -158
- package/node_modules/@types/node/readline.d.ts +0 -508
- package/node_modules/@types/node/repl.d.ts +0 -420
- package/node_modules/@types/node/sea.d.ts +0 -47
- package/node_modules/@types/node/sqlite.d.ts +0 -1123
- package/node_modules/@types/node/stream/consumers.d.ts +0 -114
- package/node_modules/@types/node/stream/iter.d.ts +0 -451
- package/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@types/node/stream/web.d.ts +0 -300
- package/node_modules/@types/node/stream.d.ts +0 -1806
- package/node_modules/@types/node/string_decoder.d.ts +0 -27
- package/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@types/node/test.d.ts +0 -2389
- package/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/node_modules/@types/node/timers.d.ts +0 -149
- package/node_modules/@types/node/tls.d.ts +0 -1193
- package/node_modules/@types/node/trace_events.d.ts +0 -103
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@types/node/ts5.6/index.d.ts +0 -117
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -117
- package/node_modules/@types/node/tty.d.ts +0 -225
- package/node_modules/@types/node/url.d.ts +0 -556
- package/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@types/node/util.d.ts +0 -1677
- package/node_modules/@types/node/v8.d.ts +0 -1062
- package/node_modules/@types/node/vm.d.ts +0 -1136
- package/node_modules/@types/node/wasi.d.ts +0 -131
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
- package/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@types/node/worker_threads.d.ts +0 -669
- package/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/@types/node/zlib.d.ts +0 -589
- package/node_modules/form-data/CHANGELOG.md +0 -669
- package/node_modules/form-data/README.md +0 -350
- package/node_modules/form-data/index.d.ts +0 -51
- package/node_modules/form-data/lib/form_data.js +0 -514
- package/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/form-data/package.json +0 -83
- package/node_modules/protobufjs/README.md +0 -727
- package/node_modules/protobufjs/dist/light/protobuf.js +0 -8041
- package/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
- package/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
- package/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2791
- package/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
- package/node_modules/protobufjs/dist/protobuf.js +0 -9868
- package/node_modules/protobufjs/dist/protobuf.js.map +0 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +0 -8
- package/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
- package/node_modules/protobufjs/ext/descriptor/README.md +0 -72
- package/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -195
- package/node_modules/protobufjs/ext/descriptor/index.js +0 -1186
- package/node_modules/protobufjs/ext/descriptor/test.js +0 -54
- package/node_modules/protobufjs/google/api/annotations.json +0 -83
- package/node_modules/protobufjs/google/api/http.json +0 -86
- package/node_modules/protobufjs/google/protobuf/api.json +0 -118
- package/node_modules/protobufjs/google/protobuf/descriptor.json +0 -1382
- package/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -535
- package/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
- package/node_modules/protobufjs/google/protobuf/type.json +0 -202
- package/node_modules/protobufjs/index.d.ts +0 -2832
- package/node_modules/protobufjs/package.json +0 -119
- package/node_modules/protobufjs/scripts/postinstall.js +0 -32
- package/node_modules/protobufjs/src/common.js +0 -399
- package/node_modules/protobufjs/src/converter.js +0 -318
- package/node_modules/protobufjs/src/decoder.js +0 -135
- package/node_modules/protobufjs/src/encoder.js +0 -103
- package/node_modules/protobufjs/src/enum.js +0 -226
- package/node_modules/protobufjs/src/field.js +0 -453
- package/node_modules/protobufjs/src/index-light.js +0 -104
- package/node_modules/protobufjs/src/index-minimal.js +0 -36
- package/node_modules/protobufjs/src/index.js +0 -12
- package/node_modules/protobufjs/src/mapfield.js +0 -126
- package/node_modules/protobufjs/src/message.js +0 -143
- package/node_modules/protobufjs/src/method.js +0 -160
- package/node_modules/protobufjs/src/namespace.js +0 -558
- package/node_modules/protobufjs/src/object.js +0 -382
- package/node_modules/protobufjs/src/oneof.js +0 -222
- package/node_modules/protobufjs/src/parse.js +0 -992
- package/node_modules/protobufjs/src/reader.js +0 -426
- package/node_modules/protobufjs/src/reader_buffer.js +0 -51
- package/node_modules/protobufjs/src/root.js +0 -412
- package/node_modules/protobufjs/src/rpc/service.js +0 -142
- package/node_modules/protobufjs/src/service.js +0 -193
- package/node_modules/protobufjs/src/tokenize.js +0 -416
- package/node_modules/protobufjs/src/type.js +0 -632
- package/node_modules/protobufjs/src/typescript.jsdoc +0 -15
- package/node_modules/protobufjs/src/util/longbits.js +0 -200
- package/node_modules/protobufjs/src/util/minimal.js +0 -491
- package/node_modules/protobufjs/src/util.js +0 -230
- package/node_modules/protobufjs/src/verifier.js +0 -180
- package/node_modules/protobufjs/src/wrappers.js +0 -107
- package/node_modules/protobufjs/src/writer.js +0 -467
- package/node_modules/protobufjs/src/writer_buffer.js +0 -85
- package/node_modules/protobufjs/tsconfig.json +0 -8
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/undici-types/LICENSE +0 -21
- package/node_modules/undici-types/README.md +0 -6
- package/node_modules/undici-types/agent.d.ts +0 -30
- package/node_modules/undici-types/api.d.ts +0 -43
- package/node_modules/undici-types/balanced-pool.d.ts +0 -30
- package/node_modules/undici-types/cache-interceptor.d.ts +0 -179
- package/node_modules/undici-types/cache.d.ts +0 -36
- package/node_modules/undici-types/client-stats.d.ts +0 -15
- package/node_modules/undici-types/client.d.ts +0 -129
- package/node_modules/undici-types/connector.d.ts +0 -36
- package/node_modules/undici-types/content-type.d.ts +0 -21
- package/node_modules/undici-types/cookies.d.ts +0 -30
- package/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
- package/node_modules/undici-types/dispatcher.d.ts +0 -253
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
- package/node_modules/undici-types/errors.d.ts +0 -177
- package/node_modules/undici-types/eventsource.d.ts +0 -66
- package/node_modules/undici-types/fetch.d.ts +0 -231
- package/node_modules/undici-types/formdata.d.ts +0 -108
- package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/node_modules/undici-types/global-origin.d.ts +0 -7
- package/node_modules/undici-types/h2c-client.d.ts +0 -73
- package/node_modules/undici-types/handlers.d.ts +0 -14
- package/node_modules/undici-types/header.d.ts +0 -165
- package/node_modules/undici-types/index.d.ts +0 -93
- package/node_modules/undici-types/interceptors.d.ts +0 -80
- package/node_modules/undici-types/mock-agent.d.ts +0 -68
- package/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/node_modules/undici-types/mock-client.d.ts +0 -27
- package/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/node_modules/undici-types/mock-interceptor.d.ts +0 -94
- package/node_modules/undici-types/mock-pool.d.ts +0 -27
- package/node_modules/undici-types/package.json +0 -55
- package/node_modules/undici-types/patch.d.ts +0 -29
- package/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/node_modules/undici-types/pool.d.ts +0 -39
- package/node_modules/undici-types/proxy-agent.d.ts +0 -29
- package/node_modules/undici-types/readable.d.ts +0 -68
- package/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/node_modules/undici-types/retry-handler.d.ts +0 -125
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -39
- package/node_modules/undici-types/snapshot-agent.d.ts +0 -113
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
- package/node_modules/undici-types/util.d.ts +0 -18
- package/node_modules/undici-types/utility.d.ts +0 -7
- package/node_modules/undici-types/webidl.d.ts +0 -346
- package/node_modules/undici-types/websocket.d.ts +0 -188
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/README.md +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/dist/src/index.d.ts +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/dist/src/index.js +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/dist/src/index.js.map +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/dist/src/promisify.d.ts +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/dist/src/promisify.js +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/dist/src/promisify.js.map +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/package.json +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/src/index.ts +0 -0
- /package/node_modules/{agent-base → @larksuiteoapi/node-sdk/node_modules/agent-base}/src/promisify.ts +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/LICENSE +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/README.md +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/bench.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/index.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/abort.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/async.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/defer.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/iterate.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/readable_asynckit.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/readable_parallel.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/readable_serial.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/readable_serial_ordered.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/state.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/streamify.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/lib/terminator.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/package.json +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/parallel.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/serial.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/serialOrdered.js +0 -0
- /package/node_modules/{asynckit → @larksuiteoapi/node-sdk/node_modules/asynckit}/stream.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/CHANGELOG.md +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/LICENSE +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/MIGRATION_GUIDE.md +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/README.md +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/axios.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/axios.min.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/axios.min.js.map +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/browser/axios.cjs +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/esm/axios.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/esm/axios.min.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/esm/axios.min.js.map +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/dist/node/axios.cjs +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/index.d.cts +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/index.d.ts +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/index.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/adapters/README.md +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/adapters/adapters.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/adapters/fetch.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/adapters/http.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/adapters/xhr.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/axios.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/cancel/CancelToken.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/cancel/CanceledError.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/cancel/isCancel.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/Axios.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/AxiosError.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/AxiosHeaders.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/InterceptorManager.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/README.md +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/buildFullPath.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/dispatchRequest.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/mergeConfig.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/settle.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/core/transformData.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/defaults/index.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/defaults/transitional.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/env/README.md +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/env/classes/FormData.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/env/data.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/AxiosTransformStream.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/AxiosURLSearchParams.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/Http2Sessions.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/HttpStatusCode.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/README.md +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/ZlibHeaderTransformStream.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/bind.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/buildURL.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/callbackify.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/combineURLs.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/composeSignals.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/cookies.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/deprecatedMethod.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/estimateDataURLDecodedBytes.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/formDataToJSON.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/formDataToStream.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/fromDataURI.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/isAbsoluteURL.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/isAxiosError.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/isURLSameOrigin.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/null.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/parseHeaders.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/parseProtocol.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/progressEventReducer.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/readBlob.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/resolveConfig.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/sanitizeHeaderValue.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/shouldBypassProxy.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/speedometer.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/spread.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/throttle.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/toFormData.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/toURLEncodedForm.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/trackStream.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/helpers/validator.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/browser/classes/Blob.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/browser/classes/FormData.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/browser/classes/URLSearchParams.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/browser/index.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/common/utils.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/index.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/node/classes/FormData.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/node/classes/URLSearchParams.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/platform/node/index.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/lib/utils.js +0 -0
- /package/node_modules/{axios → @larksuiteoapi/node-sdk/node_modules/axios}/package.json +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/.eslintrc +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/.github/FUNDING.yml +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/.nycrc +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/CHANGELOG.md +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/LICENSE +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/README.md +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/actualApply.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/actualApply.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/applyBind.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/applyBind.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/functionApply.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/functionApply.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/functionCall.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/functionCall.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/index.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/index.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/package.json +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/reflectApply.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/reflectApply.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/test/index.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers}/tsconfig.json +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/.eslintrc +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/.github/FUNDING.yml +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/.nycrc +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/CHANGELOG.md +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/LICENSE +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/README.md +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/index.d.ts +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/index.js +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/package.json +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/test/index.js +0 -0
- /package/node_modules/{call-bound → @larksuiteoapi/node-sdk/node_modules/call-bound}/tsconfig.json +0 -0
- /package/node_modules/{combined-stream → @larksuiteoapi/node-sdk/node_modules/combined-stream}/License +0 -0
- /package/node_modules/{combined-stream → @larksuiteoapi/node-sdk/node_modules/combined-stream}/Readme.md +0 -0
- /package/node_modules/{combined-stream → @larksuiteoapi/node-sdk/node_modules/combined-stream}/lib/combined_stream.js +0 -0
- /package/node_modules/{combined-stream → @larksuiteoapi/node-sdk/node_modules/combined-stream}/package.json +0 -0
- /package/node_modules/{debug → @larksuiteoapi/node-sdk/node_modules/debug}/LICENSE +0 -0
- /package/node_modules/{debug → @larksuiteoapi/node-sdk/node_modules/debug}/README.md +0 -0
- /package/node_modules/{debug → @larksuiteoapi/node-sdk/node_modules/debug}/package.json +0 -0
- /package/node_modules/{debug → @larksuiteoapi/node-sdk/node_modules/debug}/src/browser.js +0 -0
- /package/node_modules/{debug → @larksuiteoapi/node-sdk/node_modules/debug}/src/common.js +0 -0
- /package/node_modules/{debug → @larksuiteoapi/node-sdk/node_modules/debug}/src/index.js +0 -0
- /package/node_modules/{debug → @larksuiteoapi/node-sdk/node_modules/debug}/src/node.js +0 -0
- /package/node_modules/{delayed-stream → @larksuiteoapi/node-sdk/node_modules/delayed-stream}/.npmignore +0 -0
- /package/node_modules/{delayed-stream → @larksuiteoapi/node-sdk/node_modules/delayed-stream}/License +0 -0
- /package/node_modules/{delayed-stream → @larksuiteoapi/node-sdk/node_modules/delayed-stream}/Makefile +0 -0
- /package/node_modules/{delayed-stream → @larksuiteoapi/node-sdk/node_modules/delayed-stream}/Readme.md +0 -0
- /package/node_modules/{delayed-stream → @larksuiteoapi/node-sdk/node_modules/delayed-stream}/lib/delayed_stream.js +0 -0
- /package/node_modules/{delayed-stream → @larksuiteoapi/node-sdk/node_modules/delayed-stream}/package.json +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/.eslintrc +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/.nycrc +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/LICENSE +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/README.md +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/get.d.ts +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/get.js +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/package.json +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/set.d.ts +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/set.js +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/test/get.js +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/test/index.js +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/test/set.js +0 -0
- /package/node_modules/{dunder-proto → @larksuiteoapi/node-sdk/node_modules/dunder-proto}/tsconfig.json +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/.eslintrc +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/.github/FUNDING.yml +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/.nycrc +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/CHANGELOG.md +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/LICENSE +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/README.md +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/index.d.ts +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/index.js +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/package.json +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/test/index.js +0 -0
- /package/node_modules/{es-define-property → @larksuiteoapi/node-sdk/node_modules/es-define-property}/tsconfig.json +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/.eslintrc +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/.github/FUNDING.yml +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/CHANGELOG.md +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/LICENSE +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/README.md +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/eval.d.ts +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/eval.js +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/index.d.ts +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/index.js +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/package.json +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/range.d.ts +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/range.js +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/ref.d.ts +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/ref.js +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/syntax.d.ts +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/syntax.js +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/test/index.js +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/tsconfig.json +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/type.d.ts +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/type.js +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/uri.d.ts +0 -0
- /package/node_modules/{es-errors → @larksuiteoapi/node-sdk/node_modules/es-errors}/uri.js +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/.eslintrc +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/.github/FUNDING.yml +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/CHANGELOG.md +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/LICENSE +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/README.md +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/RequireObjectCoercible.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/RequireObjectCoercible.js +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/ToObject.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/ToObject.js +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/index.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/index.js +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/isObject.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/isObject.js +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/package.json +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/test/index.js +0 -0
- /package/node_modules/{es-object-atoms → @larksuiteoapi/node-sdk/node_modules/es-object-atoms}/tsconfig.json +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/.eslintrc +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/.nycrc +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/CHANGELOG.md +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/LICENSE +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/README.md +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/index.d.ts +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/index.js +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/package.json +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/test/index.js +0 -0
- /package/node_modules/{es-set-tostringtag → @larksuiteoapi/node-sdk/node_modules/es-set-tostringtag}/tsconfig.json +0 -0
- /package/node_modules/{follow-redirects → @larksuiteoapi/node-sdk/node_modules/follow-redirects}/LICENSE +0 -0
- /package/node_modules/{follow-redirects → @larksuiteoapi/node-sdk/node_modules/follow-redirects}/README.md +0 -0
- /package/node_modules/{follow-redirects → @larksuiteoapi/node-sdk/node_modules/follow-redirects}/debug.js +0 -0
- /package/node_modules/{follow-redirects → @larksuiteoapi/node-sdk/node_modules/follow-redirects}/http.js +0 -0
- /package/node_modules/{follow-redirects → @larksuiteoapi/node-sdk/node_modules/follow-redirects}/https.js +0 -0
- /package/node_modules/{follow-redirects → @larksuiteoapi/node-sdk/node_modules/follow-redirects}/index.js +0 -0
- /package/node_modules/{follow-redirects → @larksuiteoapi/node-sdk/node_modules/follow-redirects}/package.json +0 -0
- /package/node_modules/{form-data → @larksuiteoapi/node-sdk/node_modules/form-data}/License +0 -0
- /package/node_modules/{form-data → @larksuiteoapi/node-sdk/node_modules/form-data}/lib/browser.js +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/.eslintrc +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/.github/FUNDING.yml +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/.github/SECURITY.md +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/.nycrc +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/CHANGELOG.md +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/LICENSE +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/README.md +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/implementation.js +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/index.js +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/package.json +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/test/.eslintrc +0 -0
- /package/node_modules/{function-bind → @larksuiteoapi/node-sdk/node_modules/function-bind}/test/index.js +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/.eslintrc +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/.github/FUNDING.yml +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/.nycrc +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/CHANGELOG.md +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/LICENSE +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/README.md +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/index.js +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/package.json +0 -0
- /package/node_modules/{get-intrinsic → @larksuiteoapi/node-sdk/node_modules/get-intrinsic}/test/GetIntrinsic.js +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/.eslintrc +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/.nycrc +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/LICENSE +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/Object.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/Object.getPrototypeOf.js +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/README.md +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/Reflect.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/Reflect.getPrototypeOf.js +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/index.d.ts +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/index.js +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/package.json +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/test/index.js +0 -0
- /package/node_modules/{get-proto → @larksuiteoapi/node-sdk/node_modules/get-proto}/tsconfig.json +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/.eslintrc +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/.github/FUNDING.yml +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/CHANGELOG.md +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/LICENSE +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/README.md +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/gOPD.d.ts +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/gOPD.js +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/index.d.ts +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/index.js +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/package.json +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/test/index.js +0 -0
- /package/node_modules/{gopd → @larksuiteoapi/node-sdk/node_modules/gopd}/tsconfig.json +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/.eslintrc +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/.github/FUNDING.yml +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/.nycrc +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/CHANGELOG.md +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/LICENSE +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/README.md +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/index.d.ts +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/index.js +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/package.json +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/shams.d.ts +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/shams.js +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/test/index.js +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/test/shams/core-js.js +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/test/shams/get-own-property-symbols.js +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/test/tests.js +0 -0
- /package/node_modules/{has-symbols → @larksuiteoapi/node-sdk/node_modules/has-symbols}/tsconfig.json +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/.eslintrc +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/.github/FUNDING.yml +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/.nycrc +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/CHANGELOG.md +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/LICENSE +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/README.md +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/index.d.ts +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/index.js +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/package.json +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/shams.d.ts +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/shams.js +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/test/index.js +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/test/shams/core-js.js +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/test/shams/get-own-property-symbols.js +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/test/tests.js +0 -0
- /package/node_modules/{has-tostringtag → @larksuiteoapi/node-sdk/node_modules/has-tostringtag}/tsconfig.json +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/.github/FUNDING.yml +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/.nycrc +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/CHANGELOG.md +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/LICENSE +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/README.md +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/eslint.config.mjs +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/index.d.ts +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/index.js +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/package.json +0 -0
- /package/node_modules/{hasown → @larksuiteoapi/node-sdk/node_modules/hasown}/tsconfig.json +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/README.md +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/agent.d.ts +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/agent.js +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/agent.js.map +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/index.d.ts +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/index.js +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/index.js.map +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/parse-proxy-response.js +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
- /package/node_modules/{https-proxy-agent → @larksuiteoapi/node-sdk/node_modules/https-proxy-agent}/package.json +0 -0
- /package/node_modules/{lodash.identity → @larksuiteoapi/node-sdk/node_modules/lodash.identity}/LICENSE.txt +0 -0
- /package/node_modules/{lodash.identity → @larksuiteoapi/node-sdk/node_modules/lodash.identity}/README.md +0 -0
- /package/node_modules/{lodash.identity → @larksuiteoapi/node-sdk/node_modules/lodash.identity}/index.js +0 -0
- /package/node_modules/{lodash.identity → @larksuiteoapi/node-sdk/node_modules/lodash.identity}/package.json +0 -0
- /package/node_modules/{lodash.merge → @larksuiteoapi/node-sdk/node_modules/lodash.merge}/LICENSE +0 -0
- /package/node_modules/{lodash.merge → @larksuiteoapi/node-sdk/node_modules/lodash.merge}/README.md +0 -0
- /package/node_modules/{lodash.merge → @larksuiteoapi/node-sdk/node_modules/lodash.merge}/index.js +0 -0
- /package/node_modules/{lodash.merge → @larksuiteoapi/node-sdk/node_modules/lodash.merge}/package.json +0 -0
- /package/node_modules/{lodash.pickby → @larksuiteoapi/node-sdk/node_modules/lodash.pickby}/LICENSE +0 -0
- /package/node_modules/{lodash.pickby → @larksuiteoapi/node-sdk/node_modules/lodash.pickby}/README.md +0 -0
- /package/node_modules/{lodash.pickby → @larksuiteoapi/node-sdk/node_modules/lodash.pickby}/index.js +0 -0
- /package/node_modules/{lodash.pickby → @larksuiteoapi/node-sdk/node_modules/lodash.pickby}/package.json +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/LICENSE +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/README.md +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/index.d.ts +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/index.js +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/package.json +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/types.d.ts +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/umd/index.d.ts +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/umd/index.js +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/umd/package.json +0 -0
- /package/node_modules/{long → @larksuiteoapi/node-sdk/node_modules/long}/umd/types.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/.eslintrc +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/.github/FUNDING.yml +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/CHANGELOG.md +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/LICENSE +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/README.md +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/abs.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/abs.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/constants/maxArrayLength.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/constants/maxArrayLength.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/constants/maxSafeInteger.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/constants/maxSafeInteger.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/constants/maxValue.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/constants/maxValue.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/floor.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/floor.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isFinite.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isFinite.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isInteger.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isInteger.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isNaN.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isNaN.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isNegativeZero.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/isNegativeZero.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/max.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/max.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/min.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/min.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/mod.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/mod.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/package.json +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/pow.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/pow.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/round.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/round.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/sign.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/sign.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/test/index.js +0 -0
- /package/node_modules/{math-intrinsics → @larksuiteoapi/node-sdk/node_modules/math-intrinsics}/tsconfig.json +0 -0
- /package/node_modules/{mime-db → @larksuiteoapi/node-sdk/node_modules/mime-db}/HISTORY.md +0 -0
- /package/node_modules/{mime-db → @larksuiteoapi/node-sdk/node_modules/mime-db}/LICENSE +0 -0
- /package/node_modules/{mime-db → @larksuiteoapi/node-sdk/node_modules/mime-db}/README.md +0 -0
- /package/node_modules/{mime-db → @larksuiteoapi/node-sdk/node_modules/mime-db}/db.json +0 -0
- /package/node_modules/{mime-db → @larksuiteoapi/node-sdk/node_modules/mime-db}/index.js +0 -0
- /package/node_modules/{mime-db → @larksuiteoapi/node-sdk/node_modules/mime-db}/package.json +0 -0
- /package/node_modules/{mime-types → @larksuiteoapi/node-sdk/node_modules/mime-types}/HISTORY.md +0 -0
- /package/node_modules/{mime-types → @larksuiteoapi/node-sdk/node_modules/mime-types}/LICENSE +0 -0
- /package/node_modules/{mime-types → @larksuiteoapi/node-sdk/node_modules/mime-types}/README.md +0 -0
- /package/node_modules/{mime-types → @larksuiteoapi/node-sdk/node_modules/mime-types}/index.js +0 -0
- /package/node_modules/{mime-types → @larksuiteoapi/node-sdk/node_modules/mime-types}/package.json +0 -0
- /package/node_modules/{ms → @larksuiteoapi/node-sdk/node_modules/ms}/index.js +0 -0
- /package/node_modules/{ms → @larksuiteoapi/node-sdk/node_modules/ms}/license.md +0 -0
- /package/node_modules/{ms → @larksuiteoapi/node-sdk/node_modules/ms}/package.json +0 -0
- /package/node_modules/{ms → @larksuiteoapi/node-sdk/node_modules/ms}/readme.md +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/.eslintrc +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/.github/FUNDING.yml +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/.nycrc +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/CHANGELOG.md +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/LICENSE +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/example/all.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/example/circular.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/example/fn.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/example/inspect.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/index.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/package-support.json +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/package.json +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/readme.markdown +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/bigint.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/browser/dom.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/circular.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/deep.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/element.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/err.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/fakes.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/fn.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/global.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/has.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/holes.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/indent-option.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/inspect.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/lowbyte.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/number.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/quoteStyle.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/toStringTag.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/undef.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test/values.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/test-core-js.js +0 -0
- /package/node_modules/{object-inspect → @larksuiteoapi/node-sdk/node_modules/object-inspect}/util.inspect.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/LICENSE +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/ext/debug/README.md +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/ext/debug/index.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/google/LICENSE +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/google/README.md +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/google/api/annotations.proto +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/google/api/http.proto +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/google/protobuf/api.proto +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/google/protobuf/source_context.proto +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/google/protobuf/type.proto +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/index.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/light.d.ts +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/light.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/minimal.d.ts +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/minimal.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/src/roots.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/src/rpc.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/src/types.js +0 -0
- /package/node_modules/{@protobufjs/float/index.d.ts → @larksuiteoapi/node-sdk/node_modules/protobufjs/src/util/float.d.ts} +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/src/util/fs.js +0 -0
- /package/node_modules/{protobufjs → @larksuiteoapi/node-sdk/node_modules/protobufjs}/src/util/patterns.js +0 -0
- /package/node_modules/{proxy-from-env → @larksuiteoapi/node-sdk/node_modules/proxy-from-env}/LICENSE +0 -0
- /package/node_modules/{proxy-from-env → @larksuiteoapi/node-sdk/node_modules/proxy-from-env}/README.md +0 -0
- /package/node_modules/{proxy-from-env → @larksuiteoapi/node-sdk/node_modules/proxy-from-env}/index.cjs +0 -0
- /package/node_modules/{proxy-from-env → @larksuiteoapi/node-sdk/node_modules/proxy-from-env}/index.js +0 -0
- /package/node_modules/{proxy-from-env → @larksuiteoapi/node-sdk/node_modules/proxy-from-env}/package.json +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/.editorconfig +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/.github/FUNDING.yml +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/.github/SECURITY.md +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/.github/THREAT_MODEL.md +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/.nycrc +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/CHANGELOG.md +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/LICENSE.md +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/README.md +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/dist/qs.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/eslint.config.mjs +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/lib/formats.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/lib/index.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/lib/parse.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/lib/stringify.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/lib/utils.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/package.json +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/test/empty-keys-cases.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/test/parse.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/test/stringify.js +0 -0
- /package/node_modules/{qs → @larksuiteoapi/node-sdk/node_modules/qs}/test/utils.js +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/.editorconfig +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/.eslintrc +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/.github/FUNDING.yml +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/.nycrc +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/LICENSE +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/README.md +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/index.d.ts +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/index.js +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/package.json +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/test/index.js +0 -0
- /package/node_modules/{side-channel → @larksuiteoapi/node-sdk/node_modules/side-channel}/tsconfig.json +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/.editorconfig +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/.eslintrc +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/.github/FUNDING.yml +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/.nycrc +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/LICENSE +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/README.md +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/index.d.ts +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/index.js +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/list.d.ts +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/package.json +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/test/index.js +0 -0
- /package/node_modules/{side-channel-list → @larksuiteoapi/node-sdk/node_modules/side-channel-list}/tsconfig.json +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/.editorconfig +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/.eslintrc +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/.github/FUNDING.yml +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/.nycrc +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/LICENSE +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/README.md +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/index.d.ts +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/index.js +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/package.json +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/test/index.js +0 -0
- /package/node_modules/{side-channel-map → @larksuiteoapi/node-sdk/node_modules/side-channel-map}/tsconfig.json +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/.editorconfig +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/.eslintrc +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/.github/FUNDING.yml +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/.nycrc +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/LICENSE +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/README.md +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/index.d.ts +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/index.js +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/package.json +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/test/index.js +0 -0
- /package/node_modules/{side-channel-weakmap → @larksuiteoapi/node-sdk/node_modules/side-channel-weakmap}/tsconfig.json +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/LICENSE +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/README.md +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/browser.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/index.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/buffer-util.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/constants.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/event-target.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/extension.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/limiter.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/permessage-deflate.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/receiver.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/sender.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/stream.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/subprotocol.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/validation.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/websocket-server.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/lib/websocket.js +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/package.json +0 -0
- /package/node_modules/{ws → @larksuiteoapi/node-sdk/node_modules/ws}/wrapper.mjs +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/debug/LICENSE +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/debug/README.md +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/debug/index.d.ts +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/debug/package.json +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/mdast/LICENSE +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/mdast/README.md +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/mdast/index.d.ts +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/mdast/package.json +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/ms/LICENSE +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/ms/README.md +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/ms/index.d.ts +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/ms/package.json +0 -0
- /package/node_modules/{@types/node → mdast-util-from-markdown/node_modules/@types/unist}/LICENSE +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/unist/README.md +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/unist/index.d.ts +0 -0
- /package/node_modules/{@types → mdast-util-from-markdown/node_modules/@types}/unist/package.json +0 -0
- /package/node_modules/{character-entities → mdast-util-from-markdown/node_modules/character-entities}/index.d.ts +0 -0
- /package/node_modules/{character-entities → mdast-util-from-markdown/node_modules/character-entities}/index.js +0 -0
- /package/node_modules/{character-entities → mdast-util-from-markdown/node_modules/character-entities}/license +0 -0
- /package/node_modules/{character-entities → mdast-util-from-markdown/node_modules/character-entities}/package.json +0 -0
- /package/node_modules/{character-entities → mdast-util-from-markdown/node_modules/character-entities}/readme.md +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/index.d.ts +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/index.d.ts.map +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/index.dom.d.ts +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/index.dom.d.ts.map +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/index.dom.js +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/index.js +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/license +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/package.json +0 -0
- /package/node_modules/{decode-named-character-reference → mdast-util-from-markdown/node_modules/decode-named-character-reference}/readme.md +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/dist/index.js +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/dist/index.min.js +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/dist/index.mjs +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/index.d.ts +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/license +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/lite/index.d.ts +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/lite/index.js +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/lite/index.min.js +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/lite/index.mjs +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/package.json +0 -0
- /package/node_modules/{dequal → mdast-util-from-markdown/node_modules/dequal}/readme.md +0 -0
- /package/node_modules/{devlop → mdast-util-from-markdown/node_modules/devlop}/lib/default.js +0 -0
- /package/node_modules/{devlop → mdast-util-from-markdown/node_modules/devlop}/lib/development.d.ts +0 -0
- /package/node_modules/{devlop → mdast-util-from-markdown/node_modules/devlop}/lib/development.js +0 -0
- /package/node_modules/{devlop → mdast-util-from-markdown/node_modules/devlop}/license +0 -0
- /package/node_modules/{devlop → mdast-util-from-markdown/node_modules/devlop}/package.json +0 -0
- /package/node_modules/{devlop → mdast-util-from-markdown/node_modules/devlop}/readme.md +0 -0
- /package/node_modules/{mdast-util-to-string → mdast-util-from-markdown/node_modules/mdast-util-to-string}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-to-string → mdast-util-from-markdown/node_modules/mdast-util-to-string}/index.js +0 -0
- /package/node_modules/{mdast-util-to-string → mdast-util-from-markdown/node_modules/mdast-util-to-string}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-to-string → mdast-util-from-markdown/node_modules/mdast-util-to-string}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-to-string → mdast-util-from-markdown/node_modules/mdast-util-to-string}/license +0 -0
- /package/node_modules/{mdast-util-to-string → mdast-util-from-markdown/node_modules/mdast-util-to-string}/package.json +0 -0
- /package/node_modules/{mdast-util-to-string → mdast-util-from-markdown/node_modules/mdast-util-to-string}/readme.md +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/index.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/compile.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/compile.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/compile.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/constructs.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/constructs.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/constructs.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/create-tokenizer.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/create-tokenizer.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/create-tokenizer.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/content.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/content.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/content.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/document.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/document.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/document.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/flow.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/flow.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/flow.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/text.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/text.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/initialize/text.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/parse.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/parse.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/parse.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/postprocess.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/postprocess.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/postprocess.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/preprocess.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/preprocess.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/lib/preprocess.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/stream.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/stream.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/dev/stream.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/index.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/index.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/index.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/compile.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/compile.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/compile.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/constructs.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/constructs.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/constructs.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/create-tokenizer.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/create-tokenizer.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/create-tokenizer.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/content.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/content.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/content.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/document.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/document.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/document.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/flow.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/flow.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/flow.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/text.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/text.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/initialize/text.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/parse.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/parse.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/parse.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/postprocess.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/postprocess.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/postprocess.js +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/preprocess.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/preprocess.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/lib/preprocess.js +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark}/license +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/package.json +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/readme.md +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/stream.d.ts +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/stream.d.ts.map +0 -0
- /package/node_modules/{micromark → mdast-util-from-markdown/node_modules/micromark}/stream.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/index.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/attention.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/attention.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/attention.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/autolink.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/autolink.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/autolink.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/blank-line.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/blank-line.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/blank-line.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/block-quote.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/block-quote.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/block-quote.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/character-escape.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/character-escape.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/character-escape.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/character-reference.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/character-reference.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/character-reference.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-fenced.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-fenced.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-fenced.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-indented.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-indented.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-indented.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-text.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-text.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/code-text.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/content.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/content.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/content.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/definition.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/definition.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/definition.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/hard-break-escape.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/heading-atx.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/heading-atx.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/heading-atx.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/html-flow.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/html-flow.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/html-flow.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/html-text.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/html-text.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/html-text.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-end.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-end.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-end.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-start-image.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-start-image.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-start-image.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-start-link.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-start-link.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/label-start-link.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/line-ending.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/line-ending.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/line-ending.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/list.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/list.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/list.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/setext-underline.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/setext-underline.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/setext-underline.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/thematic-break.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/thematic-break.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/dev/lib/thematic-break.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/index.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/index.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/attention.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/attention.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/attention.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/autolink.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/autolink.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/autolink.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/blank-line.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/blank-line.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/blank-line.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/block-quote.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/block-quote.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/block-quote.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/character-escape.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/character-escape.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/character-escape.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/character-reference.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/character-reference.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/character-reference.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-fenced.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-fenced.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-fenced.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-indented.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-indented.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-indented.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-text.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-text.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/code-text.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/content.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/content.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/content.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/definition.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/definition.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/definition.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/hard-break-escape.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/hard-break-escape.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/hard-break-escape.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/heading-atx.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/heading-atx.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/heading-atx.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/html-flow.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/html-flow.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/html-flow.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/html-text.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/html-text.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/html-text.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-end.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-end.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-end.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-start-image.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-start-image.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-start-image.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-start-link.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-start-link.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/label-start-link.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/line-ending.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/line-ending.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/line-ending.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/list.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/list.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/list.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/setext-underline.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/setext-underline.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/setext-underline.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/thematic-break.d.ts +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/thematic-break.d.ts.map +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/lib/thematic-break.js +0 -0
- /package/node_modules/{markdown-table → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/license +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/package.json +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-core-commonmark}/readme.md +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/dev/index.js +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/index.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-from-markdown/node_modules/micromark-factory-destination}/license +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/package.json +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-destination}/readme.md +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/dev/index.js +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/index.js +0 -0
- /package/node_modules/{micromark-core-commonmark → mdast-util-from-markdown/node_modules/micromark-factory-label}/license +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/package.json +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-label}/readme.md +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/dev/index.js +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/index.js +0 -0
- /package/node_modules/{micromark-factory-destination → mdast-util-from-markdown/node_modules/micromark-factory-space}/license +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/package.json +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-space}/readme.md +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/dev/index.js +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/index.js +0 -0
- /package/node_modules/{micromark-factory-label → mdast-util-from-markdown/node_modules/micromark-factory-title}/license +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/package.json +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-factory-title}/readme.md +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/dev/index.js +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/index.d.ts +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/index.js +0 -0
- /package/node_modules/{micromark-factory-space → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/license +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/package.json +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-factory-whitespace}/readme.md +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/index.js +0 -0
- /package/node_modules/{micromark-factory-title → mdast-util-from-markdown/node_modules/micromark-util-character}/license +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/package.json +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-character}/readme.md +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/index.js +0 -0
- /package/node_modules/{micromark-factory-whitespace → mdast-util-from-markdown/node_modules/micromark-util-chunked}/license +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/package.json +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-chunked}/readme.md +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/index.js +0 -0
- /package/node_modules/{micromark-util-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/license +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/package.json +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-classify-character}/readme.md +0 -0
- /package/node_modules/{micromark-util-combine-extensions → mdast-util-from-markdown/node_modules/micromark-util-combine-extensions}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-combine-extensions → mdast-util-from-markdown/node_modules/micromark-util-combine-extensions}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-combine-extensions → mdast-util-from-markdown/node_modules/micromark-util-combine-extensions}/index.js +0 -0
- /package/node_modules/{micromark-util-chunked → mdast-util-from-markdown/node_modules/micromark-util-combine-extensions}/license +0 -0
- /package/node_modules/{micromark-util-combine-extensions → mdast-util-from-markdown/node_modules/micromark-util-combine-extensions}/package.json +0 -0
- /package/node_modules/{micromark-util-combine-extensions → mdast-util-from-markdown/node_modules/micromark-util-combine-extensions}/readme.md +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/index.js +0 -0
- /package/node_modules/{micromark-util-classify-character → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/license +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/package.json +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference}/readme.md +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/index.js +0 -0
- /package/node_modules/{micromark-util-combine-extensions → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/license +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/package.json +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-decode-string}/readme.md +0 -0
- /package/node_modules/{micromark-util-encode → mdast-util-from-markdown/node_modules/micromark-util-encode}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-encode → mdast-util-from-markdown/node_modules/micromark-util-encode}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-encode → mdast-util-from-markdown/node_modules/micromark-util-encode}/index.js +0 -0
- /package/node_modules/{micromark-util-decode-numeric-character-reference → mdast-util-from-markdown/node_modules/micromark-util-encode}/license +0 -0
- /package/node_modules/{micromark-util-encode → mdast-util-from-markdown/node_modules/micromark-util-encode}/package.json +0 -0
- /package/node_modules/{micromark-util-encode → mdast-util-from-markdown/node_modules/micromark-util-encode}/readme.md +0 -0
- /package/node_modules/{micromark-util-html-tag-name → mdast-util-from-markdown/node_modules/micromark-util-html-tag-name}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-html-tag-name → mdast-util-from-markdown/node_modules/micromark-util-html-tag-name}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-html-tag-name → mdast-util-from-markdown/node_modules/micromark-util-html-tag-name}/index.js +0 -0
- /package/node_modules/{micromark-util-decode-string → mdast-util-from-markdown/node_modules/micromark-util-html-tag-name}/license +0 -0
- /package/node_modules/{micromark-util-html-tag-name → mdast-util-from-markdown/node_modules/micromark-util-html-tag-name}/package.json +0 -0
- /package/node_modules/{micromark-util-html-tag-name → mdast-util-from-markdown/node_modules/micromark-util-html-tag-name}/readme.md +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/index.js +0 -0
- /package/node_modules/{micromark-util-encode → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/license +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/package.json +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier}/readme.md +0 -0
- /package/node_modules/{micromark-util-resolve-all → mdast-util-from-markdown/node_modules/micromark-util-resolve-all}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-resolve-all → mdast-util-from-markdown/node_modules/micromark-util-resolve-all}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-resolve-all → mdast-util-from-markdown/node_modules/micromark-util-resolve-all}/index.js +0 -0
- /package/node_modules/{micromark-util-html-tag-name → mdast-util-from-markdown/node_modules/micromark-util-resolve-all}/license +0 -0
- /package/node_modules/{micromark-util-resolve-all → mdast-util-from-markdown/node_modules/micromark-util-resolve-all}/package.json +0 -0
- /package/node_modules/{micromark-util-resolve-all → mdast-util-from-markdown/node_modules/micromark-util-resolve-all}/readme.md +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/index.js +0 -0
- /package/node_modules/{micromark-util-normalize-identifier → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/license +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/package.json +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri}/readme.md +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/dev/index.d.ts +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/dev/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/dev/index.js +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts.map +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/dev/lib/splice-buffer.js +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/index.d.ts.map +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/index.js +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/lib/splice-buffer.d.ts +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/lib/splice-buffer.d.ts.map +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/lib/splice-buffer.js +0 -0
- /package/node_modules/{micromark-util-resolve-all → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/license +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/package.json +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-subtokenize}/readme.md +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/codes.d.ts +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/codes.d.ts.map +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/codes.js +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/constants.d.ts +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/constants.d.ts.map +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/constants.js +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/default.d.ts +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/default.d.ts.map +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/default.js +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/types.d.ts +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/types.d.ts.map +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/types.js +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/values.d.ts +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/values.d.ts.map +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/lib/values.js +0 -0
- /package/node_modules/{micromark-util-sanitize-uri → mdast-util-from-markdown/node_modules/micromark-util-symbol}/license +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/package.json +0 -0
- /package/node_modules/{micromark-util-symbol → mdast-util-from-markdown/node_modules/micromark-util-symbol}/readme.md +0 -0
- /package/node_modules/{micromark-util-types → mdast-util-from-markdown/node_modules/micromark-util-types}/index.d.ts +0 -0
- /package/node_modules/{micromark-util-types → mdast-util-from-markdown/node_modules/micromark-util-types}/index.js +0 -0
- /package/node_modules/{micromark-util-subtokenize → mdast-util-from-markdown/node_modules/micromark-util-types}/license +0 -0
- /package/node_modules/{micromark-util-types → mdast-util-from-markdown/node_modules/micromark-util-types}/package.json +0 -0
- /package/node_modules/{micromark-util-types → mdast-util-from-markdown/node_modules/micromark-util-types}/readme.md +0 -0
- /package/node_modules/{unist-util-stringify-position → mdast-util-from-markdown/node_modules/unist-util-stringify-position}/index.d.ts +0 -0
- /package/node_modules/{unist-util-stringify-position → mdast-util-from-markdown/node_modules/unist-util-stringify-position}/index.js +0 -0
- /package/node_modules/{unist-util-stringify-position → mdast-util-from-markdown/node_modules/unist-util-stringify-position}/lib/index.d.ts +0 -0
- /package/node_modules/{unist-util-stringify-position → mdast-util-from-markdown/node_modules/unist-util-stringify-position}/lib/index.js +0 -0
- /package/node_modules/{unist-util-stringify-position → mdast-util-from-markdown/node_modules/unist-util-stringify-position}/license +0 -0
- /package/node_modules/{unist-util-stringify-position → mdast-util-from-markdown/node_modules/unist-util-stringify-position}/package.json +0 -0
- /package/node_modules/{unist-util-stringify-position → mdast-util-from-markdown/node_modules/unist-util-stringify-position}/readme.md +0 -0
- /package/node_modules/{@types/unist → mdast-util-gfm-table/node_modules/@types/mdast}/LICENSE +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/character-entities}/license +0 -0
- /package/node_modules/{micromark-util-types → mdast-util-gfm-table/node_modules/decode-named-character-reference}/license +0 -0
- /package/node_modules/{longest-streak → mdast-util-gfm-table/node_modules/longest-streak}/index.d.ts +0 -0
- /package/node_modules/{longest-streak → mdast-util-gfm-table/node_modules/longest-streak}/index.js +0 -0
- /package/node_modules/{longest-streak → mdast-util-gfm-table/node_modules/longest-streak}/license +0 -0
- /package/node_modules/{longest-streak → mdast-util-gfm-table/node_modules/longest-streak}/package.json +0 -0
- /package/node_modules/{longest-streak → mdast-util-gfm-table/node_modules/longest-streak}/readme.md +0 -0
- /package/node_modules/{markdown-table → mdast-util-gfm-table/node_modules/markdown-table}/index.d.ts +0 -0
- /package/node_modules/{markdown-table → mdast-util-gfm-table/node_modules/markdown-table}/index.d.ts.map +0 -0
- /package/node_modules/{markdown-table → mdast-util-gfm-table/node_modules/markdown-table}/index.js +0 -0
- /package/node_modules/{micromark → mdast-util-gfm-table/node_modules/markdown-table}/license +0 -0
- /package/node_modules/{markdown-table → mdast-util-gfm-table/node_modules/markdown-table}/package.json +0 -0
- /package/node_modules/{markdown-table → mdast-util-gfm-table/node_modules/markdown-table}/readme.md +0 -0
- /package/node_modules/{mdast-util-phrasing → mdast-util-gfm-table/node_modules/mdast-util-phrasing}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-phrasing → mdast-util-gfm-table/node_modules/mdast-util-phrasing}/index.js +0 -0
- /package/node_modules/{mdast-util-phrasing → mdast-util-gfm-table/node_modules/mdast-util-phrasing}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-phrasing → mdast-util-gfm-table/node_modules/mdast-util-phrasing}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-phrasing → mdast-util-gfm-table/node_modules/mdast-util-phrasing}/license +0 -0
- /package/node_modules/{mdast-util-phrasing → mdast-util-gfm-table/node_modules/mdast-util-phrasing}/package.json +0 -0
- /package/node_modules/{mdast-util-phrasing → mdast-util-gfm-table/node_modules/mdast-util-phrasing}/readme.md +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/index.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/configure.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/configure.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/configure.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/blockquote.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/blockquote.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/blockquote.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/break.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/break.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/break.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/code.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/code.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/code.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/definition.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/definition.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/definition.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/emphasis.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/emphasis.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/emphasis.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/heading.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/heading.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/heading.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/html.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/html.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/html.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/image-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/image-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/image-reference.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/image.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/image.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/image.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/index.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/index.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/inline-code.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/inline-code.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/inline-code.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/link-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/link-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/link-reference.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/link.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/link.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/link.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/list-item.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/list-item.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/list-item.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/list.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/list.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/list.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/paragraph.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/paragraph.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/paragraph.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/root.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/root.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/root.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/strong.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/strong.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/strong.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/text.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/text.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/thematic-break.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/thematic-break.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/handle/thematic-break.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/join.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/join.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/join.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/types.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/types.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/unsafe.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/unsafe.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/unsafe.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/association.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/association.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/association.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet-ordered.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet-ordered.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet-ordered.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet-other.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet-other.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet-other.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-bullet.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-emphasis.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-emphasis.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-emphasis.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-fence.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-fence.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-fence.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-list-item-indent.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-list-item-indent.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-list-item-indent.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-quote.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-quote.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-quote.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-rule-repetition.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-rule-repetition.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-rule-repetition.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-rule.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-rule.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-rule.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-strong.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-strong.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/check-strong.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/compile-pattern.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/compile-pattern.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/compile-pattern.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/container-flow.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/container-flow.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/container-flow.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/container-phrasing.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/container-phrasing.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/container-phrasing.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/emphasis-strong-marker.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/emphasis-strong-marker.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/encode-character-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/encode-character-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/encode-character-reference.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/encode-info.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/encode-info.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/encode-info.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-code-as-indented.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-code-as-indented.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-code-as-indented.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-heading-as-setext.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-heading-as-setext.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-heading-as-setext.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-link-as-autolink.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-link-as-autolink.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/format-link-as-autolink.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/indent-lines.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/indent-lines.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/indent-lines.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/pattern-in-scope.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/pattern-in-scope.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/pattern-in-scope.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/safe.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/safe.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/safe.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/track.d.ts +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/track.d.ts.map +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/lib/util/track.js +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/package.json +0 -0
- /package/node_modules/{mdast-util-to-markdown → mdast-util-gfm-table/node_modules/mdast-util-to-markdown}/readme.md +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/index.d.ts +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/index.d.ts.map +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/index.js +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/lib/index.d.ts +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/lib/index.d.ts.map +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/lib/index.js +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/license +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/package.json +0 -0
- /package/node_modules/{unist-util-is → mdast-util-gfm-table/node_modules/unist-util-is}/readme.md +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/unist-util-visit}/index.d.ts +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/unist-util-visit}/index.js +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/unist-util-visit}/lib/index.d.ts +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/unist-util-visit}/lib/index.d.ts.map +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/unist-util-visit}/lib/index.js +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/unist-util-visit}/package.json +0 -0
- /package/node_modules/{unist-util-visit → mdast-util-gfm-table/node_modules/unist-util-visit}/readme.md +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/index.d.ts +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/index.js +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/color.d.ts +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/color.d.ts.map +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/color.js +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/color.node.d.ts +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/color.node.d.ts.map +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/color.node.js +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/index.d.ts +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/index.d.ts.map +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/lib/index.js +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/license +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/package.json +0 -0
- /package/node_modules/{unist-util-visit-parents → mdast-util-gfm-table/node_modules/unist-util-visit-parents}/readme.md +0 -0
- /package/node_modules/{zwitch → mdast-util-gfm-table/node_modules/zwitch}/index.d.ts +0 -0
- /package/node_modules/{zwitch → mdast-util-gfm-table/node_modules/zwitch}/index.js +0 -0
- /package/node_modules/{zwitch → mdast-util-gfm-table/node_modules/zwitch}/license +0 -0
- /package/node_modules/{zwitch → mdast-util-gfm-table/node_modules/zwitch}/package.json +0 -0
- /package/node_modules/{zwitch → mdast-util-gfm-table/node_modules/zwitch}/readme.md +0 -0
|
@@ -0,0 +1,2818 @@
|
|
|
1
|
+
import { a as resolveDefaultFeishuAccountId, i as listFeishuAccountIds, n as inspectFeishuCredentials, o as resolveFeishuAccount, r as listEnabledFeishuAccounts, s as resolveFeishuRuntimeAccount } from "./accounts-CCCdMen2.js";
|
|
2
|
+
import { i as resolveReceiveIdType, n as looksLikeFeishuId, r as normalizeFeishuTarget } from "./targets-BUjQ1TcA.js";
|
|
3
|
+
import { A as resolveFeishuChatType, D as resolveFeishuGroupToolPolicy, N as createFeishuCardInteractionEnvelope, _ as canEnumerateAllFeishuPeers, a as readNativeFeishuCardJson, b as resolveFeishuChatReadPreliminaryAuthorization, g as canEnumerateAllFeishuGroups, h as authorizeFeishuChatMemberRead, k as normalizeFeishuChatType, m as assertFeishuChatReadAllowed, n as createFeishuSendReceipt, u as chunkFeishuMarkdown, v as isFeishuGroupReadAllowed, w as resolveFeishuGroupConfig, y as isFeishuGroupReadEnabled } from "./send-result-DEAycmOk.js";
|
|
4
|
+
import { i as normalizeFeishuWebhookPath, n as normalizeCompatibilityConfig, r as DEFAULT_FEISHU_WEBHOOK_PATH, t as legacyConfigRules } from "./doctor-contract-bEQXIXyP.js";
|
|
5
|
+
import { a as parseFeishuTargetId, i as parseFeishuDirectConversationId, n as buildFeishuModelOverrideParentCandidates, o as resolveConfiguredFeishuGroupSessionScope, r as parseFeishuConversationId, t as buildFeishuConversationId } from "./conversation-id-VYgGQ-GX.js";
|
|
6
|
+
import { t as messageActionTargetAliases } from "./security-audit-D6Fz2h6p.js";
|
|
7
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-BCpDLdg9.js";
|
|
8
|
+
import { t as collectFeishuSecurityAuditFindings } from "./security-audit-shared-BgpY7AiJ.js";
|
|
9
|
+
import { t as resolveFeishuSessionConversation } from "./session-conversation-DFCIvQK-.js";
|
|
10
|
+
import { createLazyRuntimeModule, createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime";
|
|
11
|
+
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
12
|
+
import { formatAllowFromLowercase } from "openclaw/plugin-sdk/allow-from";
|
|
13
|
+
import { ToolAuthorizationError, createActionGate } from "openclaw/plugin-sdk/channel-actions";
|
|
14
|
+
import { adaptScopedAccountAccessor, createHybridChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
15
|
+
import { buildChannelOutboundSessionRoute, createChatChannelPlugin, stripChannelTargetPrefix } from "openclaw/plugin-sdk/channel-core";
|
|
16
|
+
import { createAccountStatusSink, createRuntimeOutboundDelegates, defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-outbound";
|
|
17
|
+
import { createPairingPrefixStripper } from "openclaw/plugin-sdk/channel-pairing";
|
|
18
|
+
import { createAllowlistProviderGroupPolicyWarningCollector, projectConfigAccountIdWarningCollector } from "openclaw/plugin-sdk/channel-policy";
|
|
19
|
+
import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runtime";
|
|
20
|
+
import { applyDirectoryQueryAndLimit, createChannelDirectoryAdapter, createRuntimeDirectoryLiveAdapter, listDirectoryGroupEntriesFromMapKeysAndAllowFrom, listDirectoryUserEntriesFromAllowFrom, listDirectoryUserEntriesFromAllowFromAndMapKeys } from "openclaw/plugin-sdk/directory-runtime";
|
|
21
|
+
import { PlatformMessageNotDispatchedError } from "openclaw/plugin-sdk/error-runtime";
|
|
22
|
+
import { legacyInteractiveReplyToPresentation, normalizeLegacyInteractiveReply, normalizeMessagePresentation, renderMessagePresentationChartFallbackText, renderMessagePresentationFallbackText, renderMessagePresentationTableFallbackText, resolveLegacyInteractiveTextFallback } from "openclaw/plugin-sdk/interactive-runtime";
|
|
23
|
+
import { parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
|
|
24
|
+
import { buildProbeChannelStatusSummary, createComputedAccountStatusAdapter, createDefaultChannelRuntimeState } from "openclaw/plugin-sdk/status-helpers";
|
|
25
|
+
import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
26
|
+
import { sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
|
|
27
|
+
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$3 } from "openclaw/plugin-sdk/account-resolution";
|
|
28
|
+
import { createChannelApprovalAuth } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
29
|
+
import { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status";
|
|
30
|
+
import { normalizeAccountId as normalizeAccountId$1 } from "openclaw/plugin-sdk/account-id";
|
|
31
|
+
import { DmPolicySchema, GroupPolicySchema, buildChannelConfigSchema, buildGroupEntrySchema, buildMultiAccountChannelSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
|
32
|
+
import { z } from "zod";
|
|
33
|
+
import { buildSecretInputSchema, hasConfiguredSecretInput as hasConfiguredSecretInput$2 } from "openclaw/plugin-sdk/secret-input";
|
|
34
|
+
import fs from "node:fs";
|
|
35
|
+
import os from "node:os";
|
|
36
|
+
import path from "node:path";
|
|
37
|
+
import { normalizeAgentId } from "openclaw/plugin-sdk/routing";
|
|
38
|
+
import { deleteSessionEntry, isValidAgentHarnessSessionStoreEntry, listSessionEntries, loadTranscriptEventsSync, resolveSessionStoreBackupPaths, resolveStorePath } from "openclaw/plugin-sdk/session-store-runtime";
|
|
39
|
+
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
40
|
+
import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
|
|
41
|
+
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$2, createSetupTranslator, formatDocsLink, hasConfiguredSecretInput as hasConfiguredSecretInput$1, mergeAllowFromEntries, patchScopedAccountConfig, promptSingleChannelSecretInput, setSetupChannelEnabled, splitSetupEntries } from "openclaw/plugin-sdk/setup";
|
|
42
|
+
import { createChannelDmPolicy } from "openclaw/plugin-sdk/channel-dm-policy";
|
|
43
|
+
//#region extensions/feishu/src/approval-auth.ts
|
|
44
|
+
function normalizeFeishuApproverId(value) {
|
|
45
|
+
const trimmed = normalizeOptionalLowercaseString(normalizeFeishuTarget(String(value)));
|
|
46
|
+
return trimmed?.startsWith("ou_") ? trimmed : void 0;
|
|
47
|
+
}
|
|
48
|
+
const feishuApprovalAuth = createChannelApprovalAuth({
|
|
49
|
+
channelLabel: "Feishu",
|
|
50
|
+
resolveInputs: ({ cfg, accountId }) => {
|
|
51
|
+
return { allowFrom: resolveFeishuAccount({
|
|
52
|
+
cfg,
|
|
53
|
+
accountId
|
|
54
|
+
}).config.allowFrom };
|
|
55
|
+
},
|
|
56
|
+
normalizeApprover: normalizeFeishuApproverId
|
|
57
|
+
}).approvalAuth;
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region extensions/feishu/src/config-schema.ts
|
|
60
|
+
const ChannelActionsSchema = z.object({ reactions: z.boolean().optional() }).strict().optional();
|
|
61
|
+
const FeishuGroupPolicySchema = z.union([GroupPolicySchema, z.literal("allowall").transform(() => "open")]);
|
|
62
|
+
const FeishuDomainSchema = z.union([z.enum(["feishu", "lark"]), z.string().url().startsWith("https://")]);
|
|
63
|
+
const FeishuConnectionModeSchema = z.enum(["websocket", "webhook"]);
|
|
64
|
+
const FeishuWebhookPathSchema = z.string().refine((value) => normalizeFeishuWebhookPath(value) === value, { message: "webhookPath must be a canonical HTTP request path; run \"openclaw doctor --fix\" to repair it" });
|
|
65
|
+
const TtsOverrideSchema = z.object({
|
|
66
|
+
auto: z.enum([
|
|
67
|
+
"off",
|
|
68
|
+
"always",
|
|
69
|
+
"inbound",
|
|
70
|
+
"tagged"
|
|
71
|
+
]).optional(),
|
|
72
|
+
enabled: z.boolean().optional(),
|
|
73
|
+
mode: z.enum(["final", "all"]).optional(),
|
|
74
|
+
provider: z.string().optional(),
|
|
75
|
+
persona: z.string().optional(),
|
|
76
|
+
personas: z.record(z.string(), z.record(z.string(), z.unknown())).optional(),
|
|
77
|
+
summaryModel: z.string().optional(),
|
|
78
|
+
modelOverrides: z.record(z.string(), z.unknown()).optional(),
|
|
79
|
+
providers: z.record(z.string(), z.record(z.string(), z.unknown())).optional(),
|
|
80
|
+
prefsPath: z.string().optional(),
|
|
81
|
+
maxTextLength: z.number().int().min(1).optional(),
|
|
82
|
+
timeoutMs: z.number().int().min(1e3).max(12e4).optional()
|
|
83
|
+
}).strict().optional();
|
|
84
|
+
const ToolPolicySchema = z.object({
|
|
85
|
+
allow: z.array(z.string()).optional(),
|
|
86
|
+
deny: z.array(z.string()).optional()
|
|
87
|
+
}).strict().optional();
|
|
88
|
+
const DmConfigSchema = z.object({
|
|
89
|
+
enabled: z.boolean().optional(),
|
|
90
|
+
systemPrompt: z.string().optional()
|
|
91
|
+
}).strict().optional();
|
|
92
|
+
const MarkdownConfigSchema = z.object({
|
|
93
|
+
mode: z.enum([
|
|
94
|
+
"native",
|
|
95
|
+
"escape",
|
|
96
|
+
"strip"
|
|
97
|
+
]).optional(),
|
|
98
|
+
tableMode: z.enum([
|
|
99
|
+
"native",
|
|
100
|
+
"ascii",
|
|
101
|
+
"simple"
|
|
102
|
+
]).optional()
|
|
103
|
+
}).strict().optional();
|
|
104
|
+
const RenderModeSchema = z.enum([
|
|
105
|
+
"auto",
|
|
106
|
+
"raw",
|
|
107
|
+
"card"
|
|
108
|
+
]).optional();
|
|
109
|
+
const BlockStreamingCoalesceSchema = z.object({
|
|
110
|
+
minChars: z.number().int().positive().optional(),
|
|
111
|
+
maxChars: z.number().int().positive().optional(),
|
|
112
|
+
idleMs: z.number().int().nonnegative().optional()
|
|
113
|
+
}).strict().optional();
|
|
114
|
+
const FeishuStreamingSchema = z.object({
|
|
115
|
+
mode: z.enum(["off", "partial"]).optional(),
|
|
116
|
+
chunkMode: z.enum(["length", "newline"]).optional(),
|
|
117
|
+
block: z.object({
|
|
118
|
+
enabled: z.boolean().optional(),
|
|
119
|
+
coalesce: BlockStreamingCoalesceSchema
|
|
120
|
+
}).strict().optional()
|
|
121
|
+
}).strict().optional();
|
|
122
|
+
const ChannelHeartbeatVisibilitySchema = z.object({
|
|
123
|
+
visibility: z.enum(["visible", "hidden"]).optional(),
|
|
124
|
+
intervalMs: z.number().int().positive().optional()
|
|
125
|
+
}).strict().optional();
|
|
126
|
+
/**
|
|
127
|
+
* Dynamic agent creation configuration.
|
|
128
|
+
* When enabled, a new agent is created for each unique DM user.
|
|
129
|
+
*/
|
|
130
|
+
const DynamicAgentCreationSchema = z.object({
|
|
131
|
+
enabled: z.boolean().optional(),
|
|
132
|
+
workspaceTemplate: z.string().optional(),
|
|
133
|
+
agentDirTemplate: z.string().optional(),
|
|
134
|
+
maxAgents: z.number().int().positive().optional()
|
|
135
|
+
}).strict().optional();
|
|
136
|
+
/**
|
|
137
|
+
* Feishu tools configuration.
|
|
138
|
+
* Controls which tool categories are enabled.
|
|
139
|
+
*
|
|
140
|
+
* Dependencies:
|
|
141
|
+
* - wiki requires doc (wiki content is edited via doc tools)
|
|
142
|
+
* - perm can work independently but is typically used with drive
|
|
143
|
+
*/
|
|
144
|
+
const FeishuToolsConfigSchema = z.object({
|
|
145
|
+
doc: z.boolean().optional(),
|
|
146
|
+
chat: z.boolean().optional(),
|
|
147
|
+
wiki: z.boolean().optional(),
|
|
148
|
+
drive: z.boolean().optional(),
|
|
149
|
+
perm: z.boolean().optional(),
|
|
150
|
+
scopes: z.boolean().optional(),
|
|
151
|
+
bitable: z.boolean().optional()
|
|
152
|
+
}).strict().optional();
|
|
153
|
+
/**
|
|
154
|
+
* Group session scope for routing Feishu group messages.
|
|
155
|
+
* - "group" (default): one session per group chat
|
|
156
|
+
* - "group_sender": one session per (group + sender)
|
|
157
|
+
* - "group_topic": one session per group topic thread (falls back to group if no topic)
|
|
158
|
+
* - "group_topic_sender": one session per (group + topic thread + sender),
|
|
159
|
+
* falls back to (group + sender) if no topic
|
|
160
|
+
*/
|
|
161
|
+
const GroupSessionScopeSchema = z.enum([
|
|
162
|
+
"group",
|
|
163
|
+
"group_sender",
|
|
164
|
+
"group_topic",
|
|
165
|
+
"group_topic_sender"
|
|
166
|
+
]).optional();
|
|
167
|
+
/**
|
|
168
|
+
* @deprecated Use groupSessionScope instead.
|
|
169
|
+
*
|
|
170
|
+
* Topic session isolation mode for group chats.
|
|
171
|
+
* - "disabled" (default): All messages in a group share one session
|
|
172
|
+
* - "enabled": Messages in different topics get separate sessions
|
|
173
|
+
*
|
|
174
|
+
* Topic routing uses Feishu topic-group `thread_id` when the event identifies a
|
|
175
|
+
* native topic group, and keeps `root_id` precedence for normal groups so
|
|
176
|
+
* reply-created threads stay on the initiating message session.
|
|
177
|
+
*/
|
|
178
|
+
const TopicSessionModeSchema = z.enum(["disabled", "enabled"]).optional();
|
|
179
|
+
const ReactionNotificationModeSchema = z.enum([
|
|
180
|
+
"off",
|
|
181
|
+
"own",
|
|
182
|
+
"all"
|
|
183
|
+
]).optional();
|
|
184
|
+
/**
|
|
185
|
+
* Reply-in-thread mode for group chats.
|
|
186
|
+
* - "disabled" (default): Bot replies are normal inline replies
|
|
187
|
+
* - "enabled": Bot replies create or continue a Feishu topic thread
|
|
188
|
+
*
|
|
189
|
+
* When enabled, the Feishu reply API is called with `reply_in_thread: true`,
|
|
190
|
+
* causing the reply to appear as a topic (话题) under the original message.
|
|
191
|
+
*/
|
|
192
|
+
const ReplyInThreadSchema = z.enum(["disabled", "enabled"]).optional();
|
|
193
|
+
const FeishuGroupSchema = buildGroupEntrySchema({
|
|
194
|
+
tools: ToolPolicySchema,
|
|
195
|
+
groupSessionScope: GroupSessionScopeSchema,
|
|
196
|
+
topicSessionMode: TopicSessionModeSchema,
|
|
197
|
+
replyInThread: ReplyInThreadSchema
|
|
198
|
+
}).omit({ toolsBySender: true });
|
|
199
|
+
const FeishuSharedConfigShape = {
|
|
200
|
+
webhookHost: z.string().optional(),
|
|
201
|
+
webhookPort: z.number().int().positive().optional(),
|
|
202
|
+
capabilities: z.array(z.string()).optional(),
|
|
203
|
+
markdown: MarkdownConfigSchema,
|
|
204
|
+
configWrites: z.boolean().optional(),
|
|
205
|
+
dmPolicy: DmPolicySchema.optional(),
|
|
206
|
+
allowFrom: z.array(z.union([z.string(), z.number()])).optional(),
|
|
207
|
+
groupPolicy: FeishuGroupPolicySchema.optional(),
|
|
208
|
+
groupAllowFrom: z.array(z.union([z.string(), z.number()])).optional(),
|
|
209
|
+
groupSenderAllowFrom: z.array(z.union([z.string(), z.number()])).optional(),
|
|
210
|
+
requireMention: z.boolean().optional(),
|
|
211
|
+
groups: z.record(z.string(), FeishuGroupSchema.optional()).optional(),
|
|
212
|
+
historyLimit: z.number().int().min(0).optional(),
|
|
213
|
+
dmHistoryLimit: z.number().int().min(0).optional(),
|
|
214
|
+
dms: z.record(z.string(), DmConfigSchema).optional(),
|
|
215
|
+
textChunkLimit: z.number().int().positive().optional(),
|
|
216
|
+
mediaMaxMb: z.number().positive().optional(),
|
|
217
|
+
httpTimeoutMs: z.number().int().positive().max(3e5).optional(),
|
|
218
|
+
heartbeatVisibility: ChannelHeartbeatVisibilitySchema,
|
|
219
|
+
renderMode: RenderModeSchema,
|
|
220
|
+
streaming: FeishuStreamingSchema,
|
|
221
|
+
tools: FeishuToolsConfigSchema,
|
|
222
|
+
actions: ChannelActionsSchema,
|
|
223
|
+
replyInThread: ReplyInThreadSchema,
|
|
224
|
+
reactionNotifications: ReactionNotificationModeSchema,
|
|
225
|
+
typingIndicator: z.boolean().optional(),
|
|
226
|
+
resolveSenderNames: z.boolean().optional(),
|
|
227
|
+
allowBots: z.boolean().optional(),
|
|
228
|
+
vcAutoJoin: z.boolean().optional(),
|
|
229
|
+
tts: TtsOverrideSchema
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Per-account configuration.
|
|
233
|
+
* All fields are optional - missing fields inherit from top-level config.
|
|
234
|
+
*/
|
|
235
|
+
const FeishuAccountConfigSchema = z.object({
|
|
236
|
+
enabled: z.boolean().optional(),
|
|
237
|
+
name: z.string().optional(),
|
|
238
|
+
appId: z.string().optional(),
|
|
239
|
+
appSecret: buildSecretInputSchema().optional(),
|
|
240
|
+
encryptKey: buildSecretInputSchema().optional(),
|
|
241
|
+
verificationToken: buildSecretInputSchema().optional(),
|
|
242
|
+
domain: FeishuDomainSchema.optional(),
|
|
243
|
+
connectionMode: FeishuConnectionModeSchema.optional(),
|
|
244
|
+
webhookPath: FeishuWebhookPathSchema.optional(),
|
|
245
|
+
...FeishuSharedConfigShape,
|
|
246
|
+
groupSessionScope: GroupSessionScopeSchema,
|
|
247
|
+
topicSessionMode: TopicSessionModeSchema
|
|
248
|
+
}).strict();
|
|
249
|
+
const FeishuChannelConfigSchema = buildChannelConfigSchema(buildMultiAccountChannelSchema(z.object({
|
|
250
|
+
enabled: z.boolean().optional(),
|
|
251
|
+
defaultAccount: z.string().optional(),
|
|
252
|
+
appId: z.string().optional(),
|
|
253
|
+
appSecret: buildSecretInputSchema().optional(),
|
|
254
|
+
encryptKey: buildSecretInputSchema().optional(),
|
|
255
|
+
verificationToken: buildSecretInputSchema().optional(),
|
|
256
|
+
domain: FeishuDomainSchema.optional().default("feishu"),
|
|
257
|
+
connectionMode: FeishuConnectionModeSchema.optional().default("websocket"),
|
|
258
|
+
webhookPath: FeishuWebhookPathSchema.optional().default(DEFAULT_FEISHU_WEBHOOK_PATH),
|
|
259
|
+
...FeishuSharedConfigShape,
|
|
260
|
+
dmPolicy: DmPolicySchema.optional().default("pairing"),
|
|
261
|
+
reactionNotifications: ReactionNotificationModeSchema.optional().default("own"),
|
|
262
|
+
groupPolicy: FeishuGroupPolicySchema.optional().default("allowlist"),
|
|
263
|
+
requireMention: z.boolean().optional(),
|
|
264
|
+
groupSessionScope: GroupSessionScopeSchema,
|
|
265
|
+
topicSessionMode: TopicSessionModeSchema,
|
|
266
|
+
dynamicAgentCreation: DynamicAgentCreationSchema,
|
|
267
|
+
typingIndicator: z.boolean().optional().default(true),
|
|
268
|
+
resolveSenderNames: z.boolean().optional().default(true)
|
|
269
|
+
}).strict(), {
|
|
270
|
+
accountSchema: FeishuAccountConfigSchema,
|
|
271
|
+
optionalAccount: true
|
|
272
|
+
}).superRefine((value, ctx) => {
|
|
273
|
+
const defaultAccount = value.defaultAccount?.trim();
|
|
274
|
+
if (defaultAccount && value.accounts && Object.keys(value.accounts).length > 0) {
|
|
275
|
+
const normalizedDefaultAccount = normalizeAccountId$1(defaultAccount);
|
|
276
|
+
if (!Object.hasOwn(value.accounts, normalizedDefaultAccount)) ctx.addIssue({
|
|
277
|
+
code: z.ZodIssueCode.custom,
|
|
278
|
+
path: ["defaultAccount"],
|
|
279
|
+
message: `channels.feishu.defaultAccount="${defaultAccount}" does not match a configured account key`
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
const defaultConnectionMode = value.connectionMode ?? "websocket";
|
|
283
|
+
const defaultVerificationTokenConfigured = hasConfiguredSecretInput$2(value.verificationToken);
|
|
284
|
+
const defaultEncryptKeyConfigured = hasConfiguredSecretInput$2(value.encryptKey);
|
|
285
|
+
if (defaultConnectionMode === "webhook") {
|
|
286
|
+
if (!defaultVerificationTokenConfigured) ctx.addIssue({
|
|
287
|
+
code: z.ZodIssueCode.custom,
|
|
288
|
+
path: ["verificationToken"],
|
|
289
|
+
message: "channels.feishu.connectionMode=\"webhook\" requires channels.feishu.verificationToken"
|
|
290
|
+
});
|
|
291
|
+
if (!defaultEncryptKeyConfigured) ctx.addIssue({
|
|
292
|
+
code: z.ZodIssueCode.custom,
|
|
293
|
+
path: ["encryptKey"],
|
|
294
|
+
message: "channels.feishu.connectionMode=\"webhook\" requires channels.feishu.encryptKey"
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
for (const [accountId, account] of Object.entries(value.accounts ?? {})) {
|
|
298
|
+
if (!account) continue;
|
|
299
|
+
if ((account.connectionMode ?? defaultConnectionMode) !== "webhook") continue;
|
|
300
|
+
const accountVerificationTokenConfigured = hasConfiguredSecretInput$2(account.verificationToken) || defaultVerificationTokenConfigured;
|
|
301
|
+
const accountEncryptKeyConfigured = hasConfiguredSecretInput$2(account.encryptKey) || defaultEncryptKeyConfigured;
|
|
302
|
+
if (!accountVerificationTokenConfigured) ctx.addIssue({
|
|
303
|
+
code: z.ZodIssueCode.custom,
|
|
304
|
+
path: [
|
|
305
|
+
"accounts",
|
|
306
|
+
accountId,
|
|
307
|
+
"verificationToken"
|
|
308
|
+
],
|
|
309
|
+
message: `channels.feishu.accounts.${accountId}.connectionMode="webhook" requires a verificationToken (account-level or top-level)`
|
|
310
|
+
});
|
|
311
|
+
if (!accountEncryptKeyConfigured) ctx.addIssue({
|
|
312
|
+
code: z.ZodIssueCode.custom,
|
|
313
|
+
path: [
|
|
314
|
+
"accounts",
|
|
315
|
+
accountId,
|
|
316
|
+
"encryptKey"
|
|
317
|
+
],
|
|
318
|
+
message: `channels.feishu.accounts.${accountId}.connectionMode="webhook" requires an encryptKey (account-level or top-level)`
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
if (value.dmPolicy === "open") {
|
|
322
|
+
if (!(value.allowFrom ?? []).some((entry) => String(entry).trim() === "*")) ctx.addIssue({
|
|
323
|
+
code: z.ZodIssueCode.custom,
|
|
324
|
+
path: ["allowFrom"],
|
|
325
|
+
message: "channels.feishu.dmPolicy=\"open\" requires channels.feishu.allowFrom to include \"*\""
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
}), { jsonSchemaMode: "input" });
|
|
329
|
+
//#endregion
|
|
330
|
+
//#region extensions/feishu/src/directory.static.ts
|
|
331
|
+
function toFeishuDirectoryPeers(ids) {
|
|
332
|
+
return ids.map((id) => ({
|
|
333
|
+
kind: "user",
|
|
334
|
+
id
|
|
335
|
+
}));
|
|
336
|
+
}
|
|
337
|
+
function toFeishuDirectoryGroups(ids) {
|
|
338
|
+
return ids.map((id) => ({
|
|
339
|
+
kind: "group",
|
|
340
|
+
id
|
|
341
|
+
}));
|
|
342
|
+
}
|
|
343
|
+
async function listFeishuDirectoryPeers(params) {
|
|
344
|
+
const account = resolveFeishuAccount({
|
|
345
|
+
cfg: params.cfg,
|
|
346
|
+
accountId: params.accountId
|
|
347
|
+
});
|
|
348
|
+
return toFeishuDirectoryPeers(listDirectoryUserEntriesFromAllowFromAndMapKeys({
|
|
349
|
+
allowFrom: account.config.allowFrom,
|
|
350
|
+
map: account.config.dms,
|
|
351
|
+
query: params.query,
|
|
352
|
+
limit: params.limit,
|
|
353
|
+
normalizeAllowFromId: (entry) => normalizeFeishuTarget(entry) ?? entry,
|
|
354
|
+
normalizeMapKeyId: (entry) => normalizeFeishuTarget(entry) ?? entry
|
|
355
|
+
}).map((entry) => entry.id));
|
|
356
|
+
}
|
|
357
|
+
async function listFeishuDirectoryGroups(params) {
|
|
358
|
+
const account = resolveFeishuAccount({
|
|
359
|
+
cfg: params.cfg,
|
|
360
|
+
accountId: params.accountId
|
|
361
|
+
});
|
|
362
|
+
return toFeishuDirectoryGroups(listDirectoryGroupEntriesFromMapKeysAndAllowFrom({
|
|
363
|
+
groups: account.config.groups,
|
|
364
|
+
allowFrom: account.config.groupAllowFrom,
|
|
365
|
+
query: params.query,
|
|
366
|
+
limit: params.limit
|
|
367
|
+
}).map((entry) => entry.id));
|
|
368
|
+
}
|
|
369
|
+
async function listAuthorizedFeishuDirectoryPeers(params) {
|
|
370
|
+
return toFeishuDirectoryPeers(listDirectoryUserEntriesFromAllowFrom({
|
|
371
|
+
allowFrom: resolveFeishuAccount({
|
|
372
|
+
cfg: params.cfg,
|
|
373
|
+
accountId: params.accountId
|
|
374
|
+
}).config.allowFrom,
|
|
375
|
+
query: params.query,
|
|
376
|
+
limit: params.limit,
|
|
377
|
+
normalizeId: (entry) => normalizeFeishuTarget(entry) ?? entry
|
|
378
|
+
}).map((entry) => entry.id));
|
|
379
|
+
}
|
|
380
|
+
async function listAuthorizedFeishuDirectoryGroups(params) {
|
|
381
|
+
const account = resolveFeishuAccount({
|
|
382
|
+
cfg: params.cfg,
|
|
383
|
+
accountId: params.accountId
|
|
384
|
+
});
|
|
385
|
+
return toFeishuDirectoryGroups(applyDirectoryQueryAndLimit(listDirectoryGroupEntriesFromMapKeysAndAllowFrom({
|
|
386
|
+
groups: Object.fromEntries(Object.entries(account.config.groups ?? {}).filter(([, group]) => group?.enabled !== false)),
|
|
387
|
+
allowFrom: account.config.groupAllowFrom
|
|
388
|
+
}).filter((entry) => isFeishuGroupReadAllowed(params.cfg, account, entry.id, false)).map((entry) => entry.id), params));
|
|
389
|
+
}
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region extensions/feishu/src/doctor.ts
|
|
392
|
+
const FEISHU_STATE_DIR = "feishu";
|
|
393
|
+
const BACKUP_PREFIX = "feishu-state-repair";
|
|
394
|
+
const BLANK_USER_MESSAGE_REPAIR_THRESHOLD = 3;
|
|
395
|
+
const SESSION_FILE_INSPECTION_MAX_BYTES = 16 * 1024 * 1024;
|
|
396
|
+
function timestampForPath(now = /* @__PURE__ */ new Date()) {
|
|
397
|
+
return now.toISOString().replaceAll(":", "-");
|
|
398
|
+
}
|
|
399
|
+
function toFeishuSessionEntry(value) {
|
|
400
|
+
if (!isRecord(value)) return {};
|
|
401
|
+
return {
|
|
402
|
+
sessionId: value.sessionId,
|
|
403
|
+
sessionFile: value.sessionFile
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
function countLabel(count, singular, plural = `${singular}s`) {
|
|
407
|
+
return `${count} ${count === 1 ? singular : plural}`;
|
|
408
|
+
}
|
|
409
|
+
function existsDir(dir) {
|
|
410
|
+
try {
|
|
411
|
+
return fs.statSync(dir).isDirectory();
|
|
412
|
+
} catch {
|
|
413
|
+
return false;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
function existsFile(filePath) {
|
|
417
|
+
try {
|
|
418
|
+
return fs.statSync(filePath).isFile();
|
|
419
|
+
} catch {
|
|
420
|
+
return false;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
function resolveFeishuAgentSessionsDir(agentId) {
|
|
424
|
+
return path.join(resolveStateDir(), "agents", normalizeAgentId(agentId), "sessions");
|
|
425
|
+
}
|
|
426
|
+
function safeReadDir(dir) {
|
|
427
|
+
try {
|
|
428
|
+
return fs.readdirSync(dir, { withFileTypes: true });
|
|
429
|
+
} catch {
|
|
430
|
+
return [];
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
function isPathWithinRoot(targetPath, rootPath) {
|
|
434
|
+
const resolvedTarget = path.resolve(targetPath);
|
|
435
|
+
const resolvedRoot = path.resolve(rootPath);
|
|
436
|
+
const relative = path.relative(resolvedRoot, resolvedTarget);
|
|
437
|
+
return relative !== "" && !relative.startsWith("..") && !path.isAbsolute(relative);
|
|
438
|
+
}
|
|
439
|
+
function formatDisplayPath(filePath) {
|
|
440
|
+
const home = os.homedir();
|
|
441
|
+
const resolved = path.resolve(filePath);
|
|
442
|
+
return resolved === home || resolved.startsWith(`${home}${path.sep}`) ? `~${resolved.slice(home.length)}` : resolved;
|
|
443
|
+
}
|
|
444
|
+
function formatFinding(finding) {
|
|
445
|
+
switch (finding.kind) {
|
|
446
|
+
case "corrupt-state-json": return `- Feishu local JSON state is corrupt: ${formatDisplayPath(finding.path)}`;
|
|
447
|
+
case "missing-session-transcript": return `- Feishu session ${finding.sessionKey} points to a missing transcript in ${formatDisplayPath(finding.storePath)}`;
|
|
448
|
+
case "invalid-session-transcript": return `- Feishu session ${finding.sessionKey} has an invalid transcript (${finding.reason}): ${formatDisplayPath(finding.path)}`;
|
|
449
|
+
case "blank-user-message-run": return `- Feishu session ${finding.sessionKey} contains ${finding.count} blank user messages: ${formatDisplayPath(finding.path)}`;
|
|
450
|
+
}
|
|
451
|
+
return finding;
|
|
452
|
+
}
|
|
453
|
+
function isFeishuSessionStoreKey(key) {
|
|
454
|
+
const normalized = key.trim().toLowerCase();
|
|
455
|
+
return /^agent:[^:]+:feishu(?::|$)/.test(normalized) || /^feishu(?::|$)/.test(normalized);
|
|
456
|
+
}
|
|
457
|
+
function isFeishuAcpBindingSessionKey(key) {
|
|
458
|
+
return /^agent:[^:]+:acp:binding:feishu(?::|$)/.test(key.trim().toLowerCase());
|
|
459
|
+
}
|
|
460
|
+
function isFeishuSessionEntry(key, value) {
|
|
461
|
+
if (isFeishuAcpBindingSessionKey(key)) return false;
|
|
462
|
+
if (isFeishuSessionStoreKey(key)) return true;
|
|
463
|
+
if (!isRecord(value)) return false;
|
|
464
|
+
if (normalizeLowercaseStringOrEmpty(value.channel) === "feishu" || normalizeLowercaseStringOrEmpty(value.lastChannel) === "feishu") return true;
|
|
465
|
+
if (normalizeLowercaseStringOrEmpty((isRecord(value.route) ? value.route : null)?.channel) === "feishu") return true;
|
|
466
|
+
if (normalizeLowercaseStringOrEmpty((isRecord(value.deliveryContext) ? value.deliveryContext : null)?.channel) === "feishu") return true;
|
|
467
|
+
if (normalizeLowercaseStringOrEmpty((isRecord(value.pendingFinalDeliveryContext) ? value.pendingFinalDeliveryContext : null)?.channel) === "feishu") return true;
|
|
468
|
+
const origin = isRecord(value.origin) ? value.origin : null;
|
|
469
|
+
const originProvider = normalizeLowercaseStringOrEmpty(origin?.provider);
|
|
470
|
+
const originSurface = normalizeLowercaseStringOrEmpty(origin?.surface);
|
|
471
|
+
const originFrom = normalizeLowercaseStringOrEmpty(origin?.from);
|
|
472
|
+
return originProvider === "feishu" || originSurface.startsWith("feishu") || originFrom.startsWith("feishu:");
|
|
473
|
+
}
|
|
474
|
+
function collectConfiguredAgentIds(cfg) {
|
|
475
|
+
const ids = /* @__PURE__ */ new Set();
|
|
476
|
+
ids.add(resolveConfiguredDefaultAgentId(cfg));
|
|
477
|
+
for (const agent of cfg.agents?.list ?? []) if (typeof agent.id === "string" && agent.id.trim()) ids.add(normalizeAgentId(agent.id));
|
|
478
|
+
return [...ids].toSorted();
|
|
479
|
+
}
|
|
480
|
+
function resolveConfiguredDefaultAgentId(cfg) {
|
|
481
|
+
const agents = cfg.agents?.list ?? [];
|
|
482
|
+
const chosen = agents.find((agent) => agent?.default) ?? agents[0];
|
|
483
|
+
return normalizeAgentId(typeof chosen?.id === "string" && chosen.id.trim() ? chosen.id : "main");
|
|
484
|
+
}
|
|
485
|
+
function collectFeishuSessionTargets(params) {
|
|
486
|
+
const byStorePath = /* @__PURE__ */ new Map();
|
|
487
|
+
const addTarget = (target) => {
|
|
488
|
+
const resolvedStorePath = path.resolve(target.storePath);
|
|
489
|
+
byStorePath.set(`${normalizeAgentId(target.agentId)}\0${resolvedStorePath}`, {
|
|
490
|
+
...target,
|
|
491
|
+
agentId: normalizeAgentId(target.agentId),
|
|
492
|
+
storePath: resolvedStorePath
|
|
493
|
+
});
|
|
494
|
+
};
|
|
495
|
+
for (const agentId of collectConfiguredAgentIds(params.cfg)) addTarget({
|
|
496
|
+
agentId,
|
|
497
|
+
storePath: resolveStorePath(params.cfg.session?.store, {
|
|
498
|
+
agentId,
|
|
499
|
+
env: params.env
|
|
500
|
+
})
|
|
501
|
+
});
|
|
502
|
+
const agentsDir = path.join(params.stateDir, "agents");
|
|
503
|
+
for (const agentDir of safeReadDir(agentsDir)) {
|
|
504
|
+
if (!agentDir.isDirectory()) continue;
|
|
505
|
+
const agentId = normalizeAgentId(agentDir.name);
|
|
506
|
+
const storePath = path.join(agentsDir, agentDir.name, "sessions", "sessions.json");
|
|
507
|
+
if (existsFile(storePath)) addTarget({
|
|
508
|
+
agentId,
|
|
509
|
+
storePath
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
return [...byStorePath.values()].toSorted((left, right) => left.storePath.localeCompare(right.storePath));
|
|
513
|
+
}
|
|
514
|
+
function collectJsonFiles(rootDir, limit = 200) {
|
|
515
|
+
const files = [];
|
|
516
|
+
const visit = (dir) => {
|
|
517
|
+
if (files.length >= limit) return;
|
|
518
|
+
for (const entry of safeReadDir(dir).toSorted((left, right) => left.name.localeCompare(right.name))) {
|
|
519
|
+
const fullPath = path.join(dir, entry.name);
|
|
520
|
+
if (entry.isDirectory()) {
|
|
521
|
+
visit(fullPath);
|
|
522
|
+
continue;
|
|
523
|
+
}
|
|
524
|
+
if (entry.isFile() && entry.name.endsWith(".json")) files.push(fullPath);
|
|
525
|
+
if (files.length >= limit) return;
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
if (existsDir(rootDir)) visit(rootDir);
|
|
529
|
+
return files;
|
|
530
|
+
}
|
|
531
|
+
function collectCorruptFeishuStateJsonFindings(feishuStateDir) {
|
|
532
|
+
const findings = [];
|
|
533
|
+
for (const filePath of collectJsonFiles(feishuStateDir)) try {
|
|
534
|
+
JSON.parse(fs.readFileSync(filePath, "utf-8"));
|
|
535
|
+
} catch {
|
|
536
|
+
findings.push({
|
|
537
|
+
kind: "corrupt-state-json",
|
|
538
|
+
path: filePath
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
return findings;
|
|
542
|
+
}
|
|
543
|
+
function resolveSessionTranscriptCandidates(params) {
|
|
544
|
+
const candidates = /* @__PURE__ */ new Set();
|
|
545
|
+
const sessionsDir = path.dirname(params.storePath);
|
|
546
|
+
const agentSessionsDir = resolveFeishuAgentSessionsDir(params.agentId);
|
|
547
|
+
const addSafeCandidate = (candidate) => {
|
|
548
|
+
const resolved = path.isAbsolute(candidate) ? path.resolve(candidate) : path.resolve(sessionsDir, candidate);
|
|
549
|
+
const isStoreCandidate = isPathWithinRoot(resolved, sessionsDir);
|
|
550
|
+
const isAgentSessionCandidate = isPathWithinRoot(resolved, agentSessionsDir);
|
|
551
|
+
if (resolved === sessionsDir || resolved === agentSessionsDir || !isStoreCandidate && !isAgentSessionCandidate) return false;
|
|
552
|
+
candidates.add(resolved);
|
|
553
|
+
return true;
|
|
554
|
+
};
|
|
555
|
+
if (typeof params.entry.sessionFile === "string" && params.entry.sessionFile.trim()) addSafeCandidate(params.entry.sessionFile.trim());
|
|
556
|
+
return [...candidates].toSorted();
|
|
557
|
+
}
|
|
558
|
+
function isSessionHeader(value) {
|
|
559
|
+
return isRecord(value) && value.type === "session" && typeof value.id === "string";
|
|
560
|
+
}
|
|
561
|
+
function isBlankUserMessage(value) {
|
|
562
|
+
if (!isRecord(value) || value.type !== "message" || !isRecord(value.message)) return false;
|
|
563
|
+
if (value.message.role !== "user") return false;
|
|
564
|
+
const content = value.message.content;
|
|
565
|
+
if (typeof content === "string") return content.trim().length === 0;
|
|
566
|
+
return Array.isArray(content) && content.length === 0;
|
|
567
|
+
}
|
|
568
|
+
function isUserMessage(value) {
|
|
569
|
+
return isRecord(value) && value.type === "message" && isRecord(value.message) && value.message.role === "user";
|
|
570
|
+
}
|
|
571
|
+
function inspectTranscriptEntries(params) {
|
|
572
|
+
let blankUserMessageRun = 0;
|
|
573
|
+
let maxBlankUserMessageRun = 0;
|
|
574
|
+
for (const entry of params.entries) if (isBlankUserMessage(entry)) {
|
|
575
|
+
blankUserMessageRun += 1;
|
|
576
|
+
maxBlankUserMessageRun = Math.max(maxBlankUserMessageRun, blankUserMessageRun);
|
|
577
|
+
} else if (isUserMessage(entry)) blankUserMessageRun = 0;
|
|
578
|
+
if (params.entries.length === 0) {
|
|
579
|
+
if (params.allowMissingSessionHeader) return null;
|
|
580
|
+
return {
|
|
581
|
+
kind: "invalid-session-transcript",
|
|
582
|
+
sessionKey: params.sessionKey,
|
|
583
|
+
storePath: params.storePath,
|
|
584
|
+
path: params.transcriptPath,
|
|
585
|
+
reason: "empty transcript"
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
const firstEntry = params.entries[0];
|
|
589
|
+
if (!isSessionHeader(firstEntry) && (!params.allowMissingSessionHeader || !isUserMessage(firstEntry) && !isBlankUserMessage(firstEntry))) return {
|
|
590
|
+
kind: "invalid-session-transcript",
|
|
591
|
+
sessionKey: params.sessionKey,
|
|
592
|
+
storePath: params.storePath,
|
|
593
|
+
path: params.transcriptPath,
|
|
594
|
+
reason: "invalid session header"
|
|
595
|
+
};
|
|
596
|
+
if ((params.malformedLines ?? 0) > 0) return {
|
|
597
|
+
kind: "invalid-session-transcript",
|
|
598
|
+
sessionKey: params.sessionKey,
|
|
599
|
+
storePath: params.storePath,
|
|
600
|
+
path: params.transcriptPath,
|
|
601
|
+
reason: `${params.malformedLines} malformed JSONL line(s)`
|
|
602
|
+
};
|
|
603
|
+
if (maxBlankUserMessageRun >= BLANK_USER_MESSAGE_REPAIR_THRESHOLD) return {
|
|
604
|
+
kind: "blank-user-message-run",
|
|
605
|
+
sessionKey: params.sessionKey,
|
|
606
|
+
storePath: params.storePath,
|
|
607
|
+
path: params.transcriptPath,
|
|
608
|
+
count: maxBlankUserMessageRun
|
|
609
|
+
};
|
|
610
|
+
return null;
|
|
611
|
+
}
|
|
612
|
+
function inspectSessionTranscript(params) {
|
|
613
|
+
let stat;
|
|
614
|
+
try {
|
|
615
|
+
stat = fs.statSync(params.transcriptPath);
|
|
616
|
+
} catch {
|
|
617
|
+
return null;
|
|
618
|
+
}
|
|
619
|
+
if (!stat.isFile()) return {
|
|
620
|
+
kind: "invalid-session-transcript",
|
|
621
|
+
sessionKey: params.sessionKey,
|
|
622
|
+
storePath: params.storePath,
|
|
623
|
+
path: params.transcriptPath,
|
|
624
|
+
reason: "not a file"
|
|
625
|
+
};
|
|
626
|
+
if (stat.size > SESSION_FILE_INSPECTION_MAX_BYTES) return null;
|
|
627
|
+
let raw;
|
|
628
|
+
try {
|
|
629
|
+
raw = fs.readFileSync(params.transcriptPath, "utf-8");
|
|
630
|
+
} catch {
|
|
631
|
+
return {
|
|
632
|
+
kind: "invalid-session-transcript",
|
|
633
|
+
sessionKey: params.sessionKey,
|
|
634
|
+
storePath: params.storePath,
|
|
635
|
+
path: params.transcriptPath,
|
|
636
|
+
reason: "unreadable"
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
const entries = [];
|
|
640
|
+
let malformedLines = 0;
|
|
641
|
+
for (const line of raw.split(/\r?\n/)) {
|
|
642
|
+
if (!line.trim()) continue;
|
|
643
|
+
try {
|
|
644
|
+
const entry = JSON.parse(line);
|
|
645
|
+
entries.push(entry);
|
|
646
|
+
} catch {
|
|
647
|
+
malformedLines += 1;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
return inspectTranscriptEntries({
|
|
651
|
+
...params,
|
|
652
|
+
entries,
|
|
653
|
+
malformedLines
|
|
654
|
+
});
|
|
655
|
+
}
|
|
656
|
+
function inspectCanonicalSessionTranscript(params) {
|
|
657
|
+
let entries;
|
|
658
|
+
try {
|
|
659
|
+
entries = loadTranscriptEventsSync({
|
|
660
|
+
agentId: params.agentId,
|
|
661
|
+
sessionId: params.sessionId,
|
|
662
|
+
sessionKey: params.sessionKey,
|
|
663
|
+
storePath: params.storePath
|
|
664
|
+
});
|
|
665
|
+
} catch {
|
|
666
|
+
return {
|
|
667
|
+
kind: "invalid-session-transcript",
|
|
668
|
+
sessionKey: params.sessionKey,
|
|
669
|
+
storePath: params.storePath,
|
|
670
|
+
path: params.storePath,
|
|
671
|
+
reason: "unreadable"
|
|
672
|
+
};
|
|
673
|
+
}
|
|
674
|
+
return inspectTranscriptEntries({
|
|
675
|
+
sessionKey: params.sessionKey,
|
|
676
|
+
storePath: params.storePath,
|
|
677
|
+
transcriptPath: params.storePath,
|
|
678
|
+
allowMissingSessionHeader: true,
|
|
679
|
+
entries
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
function collectFeishuSessionFindings(params) {
|
|
683
|
+
const sessionId = typeof params.entry.sessionId === "string" ? params.entry.sessionId.trim() : "";
|
|
684
|
+
if (sessionId) {
|
|
685
|
+
const finding = inspectCanonicalSessionTranscript({
|
|
686
|
+
agentId: params.agentId,
|
|
687
|
+
sessionId,
|
|
688
|
+
sessionKey: params.sessionKey,
|
|
689
|
+
storePath: params.storePath
|
|
690
|
+
});
|
|
691
|
+
return finding ? [finding] : [];
|
|
692
|
+
}
|
|
693
|
+
const transcriptCandidates = resolveSessionTranscriptCandidates(params);
|
|
694
|
+
const existing = transcriptCandidates.filter(existsFile);
|
|
695
|
+
if (transcriptCandidates.length > 0 && existing.length === 0) return [{
|
|
696
|
+
kind: "missing-session-transcript",
|
|
697
|
+
sessionKey: params.sessionKey,
|
|
698
|
+
storePath: params.storePath
|
|
699
|
+
}];
|
|
700
|
+
const findings = [];
|
|
701
|
+
for (const transcriptPath of existing) {
|
|
702
|
+
const finding = inspectSessionTranscript({
|
|
703
|
+
sessionKey: params.sessionKey,
|
|
704
|
+
storePath: params.storePath,
|
|
705
|
+
transcriptPath
|
|
706
|
+
});
|
|
707
|
+
if (finding) findings.push(finding);
|
|
708
|
+
}
|
|
709
|
+
return findings;
|
|
710
|
+
}
|
|
711
|
+
function hasCorruptFeishuStateJsonFinding(inspection) {
|
|
712
|
+
return inspection.findings.some((finding) => finding.kind === "corrupt-state-json");
|
|
713
|
+
}
|
|
714
|
+
function sessionEntryId(storePath, key) {
|
|
715
|
+
return `${path.resolve(storePath)}\0${key}`;
|
|
716
|
+
}
|
|
717
|
+
function collectRepairSessionEntries(inspection) {
|
|
718
|
+
const entriesById = /* @__PURE__ */ new Map();
|
|
719
|
+
for (const entry of inspection.sessionEntries) entriesById.set(sessionEntryId(entry.storePath, entry.key), entry);
|
|
720
|
+
const repairEntries = [];
|
|
721
|
+
const seen = /* @__PURE__ */ new Set();
|
|
722
|
+
for (const finding of inspection.findings) {
|
|
723
|
+
if (finding.kind === "corrupt-state-json") continue;
|
|
724
|
+
const id = sessionEntryId(finding.storePath, finding.sessionKey);
|
|
725
|
+
if (seen.has(id)) continue;
|
|
726
|
+
const entry = entriesById.get(id);
|
|
727
|
+
if (entry) {
|
|
728
|
+
repairEntries.push(entry);
|
|
729
|
+
seen.add(id);
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
return repairEntries.toSorted((left, right) => left.storePath.localeCompare(right.storePath) || left.key.localeCompare(right.key));
|
|
733
|
+
}
|
|
734
|
+
function inspectFeishuDoctorState(params) {
|
|
735
|
+
const env = params.env ?? process.env;
|
|
736
|
+
const stateDir = resolveStateDir(env, os.homedir);
|
|
737
|
+
const feishuStateDir = path.join(stateDir, FEISHU_STATE_DIR);
|
|
738
|
+
const findings = collectCorruptFeishuStateJsonFindings(feishuStateDir);
|
|
739
|
+
const sessionEntries = [];
|
|
740
|
+
for (const target of collectFeishuSessionTargets({
|
|
741
|
+
cfg: params.cfg,
|
|
742
|
+
env,
|
|
743
|
+
stateDir
|
|
744
|
+
})) for (const { sessionKey: key, entry } of listSessionEntries({
|
|
745
|
+
agentId: target.agentId,
|
|
746
|
+
storePath: target.storePath
|
|
747
|
+
}).filter(({ sessionKey, entry: sessionEntry }) => !isValidAgentHarnessSessionStoreEntry(sessionKey, sessionEntry) && isFeishuSessionEntry(sessionKey, sessionEntry)).toSorted((left, right) => left.sessionKey.localeCompare(right.sessionKey))) {
|
|
748
|
+
const sessionEntry = toFeishuSessionEntry(entry);
|
|
749
|
+
sessionEntries.push({
|
|
750
|
+
key,
|
|
751
|
+
storePath: target.storePath,
|
|
752
|
+
agentId: target.agentId,
|
|
753
|
+
entry: sessionEntry
|
|
754
|
+
});
|
|
755
|
+
findings.push(...collectFeishuSessionFindings({
|
|
756
|
+
sessionKey: key,
|
|
757
|
+
storePath: target.storePath,
|
|
758
|
+
agentId: target.agentId,
|
|
759
|
+
entry: sessionEntry
|
|
760
|
+
}));
|
|
761
|
+
}
|
|
762
|
+
return {
|
|
763
|
+
stateDir,
|
|
764
|
+
feishuStateDir,
|
|
765
|
+
findings,
|
|
766
|
+
sessionEntries
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
function ensureBackupDir(stateDir, now) {
|
|
770
|
+
const backupDir = path.join(stateDir, "backups", `${BACKUP_PREFIX}-${timestampForPath(now)}`);
|
|
771
|
+
fs.mkdirSync(backupDir, {
|
|
772
|
+
recursive: true,
|
|
773
|
+
mode: 448
|
|
774
|
+
});
|
|
775
|
+
return backupDir;
|
|
776
|
+
}
|
|
777
|
+
function resolveUniquePath(candidate) {
|
|
778
|
+
if (!fs.existsSync(candidate)) return candidate;
|
|
779
|
+
for (let index = 1; index < 1e3; index += 1) {
|
|
780
|
+
const next = `${candidate}.${index}`;
|
|
781
|
+
if (!fs.existsSync(next)) return next;
|
|
782
|
+
}
|
|
783
|
+
throw new Error(`Unable to resolve unique path for ${candidate}`);
|
|
784
|
+
}
|
|
785
|
+
function movePathToBackup(params) {
|
|
786
|
+
if (!fs.existsSync(params.sourcePath)) return false;
|
|
787
|
+
const targetPath = resolveUniquePath(path.join(params.backupDir, params.relativeTarget));
|
|
788
|
+
fs.mkdirSync(path.dirname(targetPath), {
|
|
789
|
+
recursive: true,
|
|
790
|
+
mode: 448
|
|
791
|
+
});
|
|
792
|
+
fs.renameSync(params.sourcePath, targetPath);
|
|
793
|
+
return true;
|
|
794
|
+
}
|
|
795
|
+
function copyStoreBackup(params) {
|
|
796
|
+
const targetDir = path.join(params.backupDir, "session-stores", params.agentId);
|
|
797
|
+
for (const sourcePath of resolveSessionStoreBackupPaths({
|
|
798
|
+
agentId: params.agentId,
|
|
799
|
+
storePath: params.storePath
|
|
800
|
+
})) {
|
|
801
|
+
if (!existsFile(sourcePath)) continue;
|
|
802
|
+
const targetPath = path.join(targetDir, path.basename(sourcePath));
|
|
803
|
+
fs.mkdirSync(path.dirname(targetPath), {
|
|
804
|
+
recursive: true,
|
|
805
|
+
mode: 448
|
|
806
|
+
});
|
|
807
|
+
fs.copyFileSync(sourcePath, resolveUniquePath(targetPath));
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
function collectSessionArtifactPaths(params) {
|
|
811
|
+
const artifacts = /* @__PURE__ */ new Set();
|
|
812
|
+
for (const transcriptPath of resolveSessionTranscriptCandidates(params)) {
|
|
813
|
+
artifacts.add(transcriptPath);
|
|
814
|
+
if (transcriptPath.endsWith(".jsonl")) {
|
|
815
|
+
const base = transcriptPath.slice(0, -6);
|
|
816
|
+
artifacts.add(`${base}.trajectory.jsonl`);
|
|
817
|
+
artifacts.add(`${base}.trajectory-path.json`);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
return [...artifacts].toSorted();
|
|
821
|
+
}
|
|
822
|
+
function archiveSessionArtifacts(params) {
|
|
823
|
+
const seen = /* @__PURE__ */ new Set();
|
|
824
|
+
let archived = 0;
|
|
825
|
+
for (const entry of params.entries) for (const artifactPath of collectSessionArtifactPaths({
|
|
826
|
+
storePath: params.storePath,
|
|
827
|
+
agentId: entry.agentId,
|
|
828
|
+
entry: entry.entry
|
|
829
|
+
})) {
|
|
830
|
+
if (seen.has(artifactPath) || !existsFile(artifactPath)) continue;
|
|
831
|
+
seen.add(artifactPath);
|
|
832
|
+
const archivedPath = resolveUniquePath(`${artifactPath}.deleted.${params.archiveTimestamp}`);
|
|
833
|
+
fs.renameSync(artifactPath, archivedPath);
|
|
834
|
+
archived += 1;
|
|
835
|
+
}
|
|
836
|
+
return archived;
|
|
837
|
+
}
|
|
838
|
+
async function repairFeishuDoctorState(params) {
|
|
839
|
+
const env = params.env ?? process.env;
|
|
840
|
+
const now = params.now ?? /* @__PURE__ */ new Date();
|
|
841
|
+
const inspection = params.inspection ?? inspectFeishuDoctorState({
|
|
842
|
+
cfg: params.cfg,
|
|
843
|
+
env
|
|
844
|
+
});
|
|
845
|
+
const backupDir = ensureBackupDir(inspection.stateDir, now);
|
|
846
|
+
const archiveTimestamp = timestampForPath(now);
|
|
847
|
+
const warnings = [];
|
|
848
|
+
const stateDirRepairAttempted = hasCorruptFeishuStateJsonFinding(inspection);
|
|
849
|
+
let rebuiltStateDir = false;
|
|
850
|
+
if (stateDirRepairAttempted) try {
|
|
851
|
+
rebuiltStateDir = movePathToBackup({
|
|
852
|
+
sourcePath: inspection.feishuStateDir,
|
|
853
|
+
backupDir,
|
|
854
|
+
relativeTarget: FEISHU_STATE_DIR
|
|
855
|
+
});
|
|
856
|
+
fs.mkdirSync(inspection.feishuStateDir, {
|
|
857
|
+
recursive: true,
|
|
858
|
+
mode: 448
|
|
859
|
+
});
|
|
860
|
+
} catch (error) {
|
|
861
|
+
warnings.push(`- Failed to rebuild Feishu local state: ${String(error)}`);
|
|
862
|
+
}
|
|
863
|
+
const entriesByStore = /* @__PURE__ */ new Map();
|
|
864
|
+
for (const entry of collectRepairSessionEntries(inspection)) {
|
|
865
|
+
const existing = entriesByStore.get(entry.storePath);
|
|
866
|
+
if (existing) existing.entries.push({
|
|
867
|
+
key: entry.key,
|
|
868
|
+
entry: entry.entry
|
|
869
|
+
});
|
|
870
|
+
else entriesByStore.set(entry.storePath, {
|
|
871
|
+
agentId: entry.agentId,
|
|
872
|
+
entries: [{
|
|
873
|
+
key: entry.key,
|
|
874
|
+
entry: entry.entry
|
|
875
|
+
}]
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
let removedSessionEntries = 0;
|
|
879
|
+
let touchedSessionStores = 0;
|
|
880
|
+
let archivedSessionArtifacts = 0;
|
|
881
|
+
for (const [storePath, group] of [...entriesByStore.entries()].toSorted(([left], [right]) => left.localeCompare(right))) try {
|
|
882
|
+
copyStoreBackup({
|
|
883
|
+
storePath,
|
|
884
|
+
backupDir,
|
|
885
|
+
agentId: group.agentId
|
|
886
|
+
});
|
|
887
|
+
const keys = new Set(group.entries.map((entry) => entry.key));
|
|
888
|
+
const removedEntries = [];
|
|
889
|
+
for (const key of keys) {
|
|
890
|
+
const currentEntry = listSessionEntries({
|
|
891
|
+
agentId: group.agentId,
|
|
892
|
+
storePath
|
|
893
|
+
}).find((candidate) => candidate.sessionKey === key)?.entry;
|
|
894
|
+
if (!currentEntry || isValidAgentHarnessSessionStoreEntry(key, currentEntry)) continue;
|
|
895
|
+
if (!await deleteSessionEntry({
|
|
896
|
+
agentId: group.agentId,
|
|
897
|
+
archiveTranscript: true,
|
|
898
|
+
sessionKey: key,
|
|
899
|
+
storePath
|
|
900
|
+
})) continue;
|
|
901
|
+
const entry = group.entries.find((candidate) => candidate.key === key);
|
|
902
|
+
if (entry) removedEntries.push(entry);
|
|
903
|
+
}
|
|
904
|
+
const removed = removedEntries.length;
|
|
905
|
+
removedSessionEntries += removed;
|
|
906
|
+
if (removed > 0) {
|
|
907
|
+
touchedSessionStores += 1;
|
|
908
|
+
archivedSessionArtifacts += archiveSessionArtifacts({
|
|
909
|
+
storePath,
|
|
910
|
+
entries: removedEntries.map((entry) => ({
|
|
911
|
+
agentId: group.agentId,
|
|
912
|
+
entry: entry.entry
|
|
913
|
+
})),
|
|
914
|
+
archiveTimestamp
|
|
915
|
+
});
|
|
916
|
+
}
|
|
917
|
+
} catch (error) {
|
|
918
|
+
warnings.push(`- Failed to archive Feishu sessions in ${formatDisplayPath(storePath)}: ${String(error)}`);
|
|
919
|
+
}
|
|
920
|
+
return {
|
|
921
|
+
backupDir,
|
|
922
|
+
stateDirRepairAttempted,
|
|
923
|
+
rebuiltStateDir,
|
|
924
|
+
removedSessionEntries,
|
|
925
|
+
touchedSessionStores,
|
|
926
|
+
archivedSessionArtifacts,
|
|
927
|
+
warnings
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
function formatPreviewWarning(inspection) {
|
|
931
|
+
const previewFindings = inspection.findings.slice(0, 5).map(formatFinding);
|
|
932
|
+
const remaining = inspection.findings.length - previewFindings.length;
|
|
933
|
+
const repairActions = [];
|
|
934
|
+
if (hasCorruptFeishuStateJsonFinding(inspection)) repairActions.push(`archive ${formatDisplayPath(inspection.feishuStateDir)}`);
|
|
935
|
+
const repairSessionEntries = collectRepairSessionEntries(inspection);
|
|
936
|
+
if (repairSessionEntries.length > 0) repairActions.push(`archive artifacts and remove ${countLabel(repairSessionEntries.length, "flagged Feishu-scoped session entry", "flagged Feishu-scoped session entries")}`);
|
|
937
|
+
const repairSummary = repairActions.length > 0 ? repairActions.join(" and ") : "apply targeted Feishu state cleanup";
|
|
938
|
+
return [
|
|
939
|
+
"- Feishu local channel state may need repair.",
|
|
940
|
+
...previewFindings,
|
|
941
|
+
...remaining > 0 ? [`- ...and ${remaining} more Feishu state finding(s).`] : [],
|
|
942
|
+
`- Repair will ${repairSummary}, while preserving Feishu App ID/secret config and healthy session entries.`,
|
|
943
|
+
"- Run \"openclaw doctor --fix\" to rebuild Feishu local state."
|
|
944
|
+
].join("\n");
|
|
945
|
+
}
|
|
946
|
+
function formatRepairChange(report) {
|
|
947
|
+
const stateRepairStatus = report.stateDirRepairAttempted ? report.rebuiltStateDir ? "yes" : "no existing state" : "not needed";
|
|
948
|
+
return [
|
|
949
|
+
"Feishu local state repaired.",
|
|
950
|
+
`- Backup dir: ${formatDisplayPath(report.backupDir)}`,
|
|
951
|
+
`- Rebuilt Feishu runtime state: ${stateRepairStatus}`,
|
|
952
|
+
`- Removed ${countLabel(report.removedSessionEntries, "Feishu-scoped session entry", "Feishu-scoped session entries")} from ${countLabel(report.touchedSessionStores, "session store")}.`,
|
|
953
|
+
`- Archived ${countLabel(report.archivedSessionArtifacts, "session artifact file")}.`,
|
|
954
|
+
"- Preserved Feishu App ID/secret config."
|
|
955
|
+
].join("\n");
|
|
956
|
+
}
|
|
957
|
+
function hasConfiguredFeishuChannel(cfg) {
|
|
958
|
+
return Boolean(cfg.channels?.feishu);
|
|
959
|
+
}
|
|
960
|
+
async function runFeishuDoctorSequence(params) {
|
|
961
|
+
if (!hasConfiguredFeishuChannel(params.cfg)) return {
|
|
962
|
+
changeNotes: [],
|
|
963
|
+
warningNotes: []
|
|
964
|
+
};
|
|
965
|
+
const inspection = inspectFeishuDoctorState({
|
|
966
|
+
cfg: params.cfg,
|
|
967
|
+
env: params.env
|
|
968
|
+
});
|
|
969
|
+
if (inspection.findings.length === 0) return {
|
|
970
|
+
changeNotes: [],
|
|
971
|
+
warningNotes: []
|
|
972
|
+
};
|
|
973
|
+
if (!params.shouldRepair) return {
|
|
974
|
+
changeNotes: [],
|
|
975
|
+
warningNotes: [formatPreviewWarning(inspection)]
|
|
976
|
+
};
|
|
977
|
+
const report = await repairFeishuDoctorState({
|
|
978
|
+
cfg: params.cfg,
|
|
979
|
+
env: params.env,
|
|
980
|
+
inspection
|
|
981
|
+
});
|
|
982
|
+
return {
|
|
983
|
+
changeNotes: [formatRepairChange(report)],
|
|
984
|
+
warningNotes: report.warnings
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
const feishuDoctor = {
|
|
988
|
+
legacyConfigRules,
|
|
989
|
+
normalizeCompatibilityConfig,
|
|
990
|
+
runConfigSequence: async ({ cfg, env, shouldRepair }) => await runFeishuDoctorSequence({
|
|
991
|
+
cfg,
|
|
992
|
+
env,
|
|
993
|
+
shouldRepair
|
|
994
|
+
})
|
|
995
|
+
};
|
|
996
|
+
//#endregion
|
|
997
|
+
//#region extensions/feishu/src/presentation-card.ts
|
|
998
|
+
const FEISHU_CARD_MAX_BYTES = 30 * 1024;
|
|
999
|
+
const FEISHU_CARD_MAX_ELEMENTS = 200;
|
|
1000
|
+
function countFeishuCardElements(value, ancestors = /* @__PURE__ */ new Set()) {
|
|
1001
|
+
if (Array.isArray(value)) return value.reduce((count, entry) => count + countFeishuCardElements(entry, ancestors), 0);
|
|
1002
|
+
if (!value || typeof value !== "object") return 0;
|
|
1003
|
+
if (ancestors.has(value)) return 201;
|
|
1004
|
+
ancestors.add(value);
|
|
1005
|
+
const record = value;
|
|
1006
|
+
let count = typeof record.tag === "string" ? 1 : 0;
|
|
1007
|
+
for (const entry of Object.values(record)) {
|
|
1008
|
+
count += countFeishuCardElements(entry, ancestors);
|
|
1009
|
+
if (count > FEISHU_CARD_MAX_ELEMENTS) break;
|
|
1010
|
+
}
|
|
1011
|
+
ancestors.delete(value);
|
|
1012
|
+
return count;
|
|
1013
|
+
}
|
|
1014
|
+
function isFeishuCardWithinEnvelope(card) {
|
|
1015
|
+
try {
|
|
1016
|
+
return Buffer.byteLength(JSON.stringify(card), "utf8") <= FEISHU_CARD_MAX_BYTES && countFeishuCardElements(card) <= FEISHU_CARD_MAX_ELEMENTS;
|
|
1017
|
+
} catch {
|
|
1018
|
+
return false;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
function assertFeishuCardWithinEnvelope(card, label = "Feishu card") {
|
|
1022
|
+
if (!isFeishuCardWithinEnvelope(card)) throw new Error(`${label} exceeds the 30 KB or 200-element API limit.`);
|
|
1023
|
+
}
|
|
1024
|
+
function escapeFeishuCardMarkdownText(text) {
|
|
1025
|
+
return text.replace(/[&<>]/g, (char) => {
|
|
1026
|
+
switch (char) {
|
|
1027
|
+
case "&": return "&";
|
|
1028
|
+
case "<": return "<";
|
|
1029
|
+
case ">": return ">";
|
|
1030
|
+
default: return char;
|
|
1031
|
+
}
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
function resolveSafeFeishuButtonUrl(url) {
|
|
1035
|
+
const trimmed = url?.trim();
|
|
1036
|
+
if (!trimmed) return;
|
|
1037
|
+
try {
|
|
1038
|
+
const parsed = new URL(trimmed);
|
|
1039
|
+
return parsed.protocol === "https:" || parsed.protocol === "http:" ? trimmed : void 0;
|
|
1040
|
+
} catch {
|
|
1041
|
+
return;
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
function resolveFeishuButtonUrl(button) {
|
|
1045
|
+
if (button.action?.type === "url" || button.action?.type === "web-app") return button.action.url;
|
|
1046
|
+
if (button.action) return;
|
|
1047
|
+
return button.url ?? button.webApp?.url ?? button.web_app?.url;
|
|
1048
|
+
}
|
|
1049
|
+
function resolveFeishuCommandButtonValue(button) {
|
|
1050
|
+
if (button.action?.type === "command") return button.action.command;
|
|
1051
|
+
if (button.action) return;
|
|
1052
|
+
return button.value;
|
|
1053
|
+
}
|
|
1054
|
+
function mapFeishuButtonType(style) {
|
|
1055
|
+
if (style === "primary" || style === "success") return "primary";
|
|
1056
|
+
if (style === "danger") return "danger";
|
|
1057
|
+
return "default";
|
|
1058
|
+
}
|
|
1059
|
+
function buildFeishuPayloadButton(button) {
|
|
1060
|
+
const behaviors = [];
|
|
1061
|
+
const rendered = {
|
|
1062
|
+
tag: "button",
|
|
1063
|
+
text: {
|
|
1064
|
+
tag: "plain_text",
|
|
1065
|
+
content: button.label
|
|
1066
|
+
},
|
|
1067
|
+
type: mapFeishuButtonType(button.style)
|
|
1068
|
+
};
|
|
1069
|
+
const url = resolveFeishuButtonUrl(button);
|
|
1070
|
+
if (url) {
|
|
1071
|
+
const safeUrl = resolveSafeFeishuButtonUrl(url);
|
|
1072
|
+
if (safeUrl) behaviors.push({
|
|
1073
|
+
type: "open_url",
|
|
1074
|
+
default_url: safeUrl
|
|
1075
|
+
});
|
|
1076
|
+
}
|
|
1077
|
+
const value = resolveFeishuCommandButtonValue(button);
|
|
1078
|
+
if (value) behaviors.push({
|
|
1079
|
+
type: "callback",
|
|
1080
|
+
value: createFeishuCardInteractionEnvelope({
|
|
1081
|
+
k: "quick",
|
|
1082
|
+
a: "feishu.payload.button",
|
|
1083
|
+
q: value
|
|
1084
|
+
})
|
|
1085
|
+
});
|
|
1086
|
+
if (behaviors.length === 0) return;
|
|
1087
|
+
rendered.behaviors = behaviors;
|
|
1088
|
+
return rendered;
|
|
1089
|
+
}
|
|
1090
|
+
function buildFeishuCardElementsForBlock(block) {
|
|
1091
|
+
if (block.type === "text") return [{
|
|
1092
|
+
tag: "markdown",
|
|
1093
|
+
content: escapeFeishuCardMarkdownText(block.text)
|
|
1094
|
+
}];
|
|
1095
|
+
if (block.type === "context") return [{
|
|
1096
|
+
tag: "markdown",
|
|
1097
|
+
content: `<font color='grey'>${escapeFeishuCardMarkdownText(block.text)}</font>`
|
|
1098
|
+
}];
|
|
1099
|
+
if (block.type === "divider") return [{ tag: "hr" }];
|
|
1100
|
+
if (block.type === "buttons") return block.buttons.map((button) => buildFeishuPayloadButton(button)).filter((button) => Boolean(button));
|
|
1101
|
+
if (block.type === "chart") return [{
|
|
1102
|
+
tag: "markdown",
|
|
1103
|
+
content: escapeFeishuCardMarkdownText(renderMessagePresentationChartFallbackText(block))
|
|
1104
|
+
}];
|
|
1105
|
+
if (block.type === "table") return [{
|
|
1106
|
+
tag: "markdown",
|
|
1107
|
+
content: escapeFeishuCardMarkdownText(renderMessagePresentationTableFallbackText(block))
|
|
1108
|
+
}];
|
|
1109
|
+
const labels = block.options.map((option) => `- ${option.label}`).join("\n");
|
|
1110
|
+
return [{
|
|
1111
|
+
tag: "markdown",
|
|
1112
|
+
content: `${escapeFeishuCardMarkdownText(block.placeholder?.trim() || "Options")}:\n${escapeFeishuCardMarkdownText(labels)}`
|
|
1113
|
+
}];
|
|
1114
|
+
}
|
|
1115
|
+
function resolvePresentationHeaderTemplate(tone) {
|
|
1116
|
+
if (tone === "danger") return "red";
|
|
1117
|
+
if (tone === "warning") return "orange";
|
|
1118
|
+
if (tone === "success") return "green";
|
|
1119
|
+
return "blue";
|
|
1120
|
+
}
|
|
1121
|
+
function buildFeishuPresentationCardElements(params) {
|
|
1122
|
+
const elements = [];
|
|
1123
|
+
const fallbackText = params.fallbackText?.trim();
|
|
1124
|
+
if (fallbackText) elements.push({
|
|
1125
|
+
tag: "markdown",
|
|
1126
|
+
content: escapeFeishuCardMarkdownText(fallbackText)
|
|
1127
|
+
});
|
|
1128
|
+
for (const block of params.presentation.blocks) for (const element of buildFeishuCardElementsForBlock(block)) elements.push(element);
|
|
1129
|
+
if (elements.length > 0) return elements;
|
|
1130
|
+
return [{
|
|
1131
|
+
tag: "markdown",
|
|
1132
|
+
content: renderMessagePresentationFallbackText({
|
|
1133
|
+
text: params.fallbackText,
|
|
1134
|
+
presentation: params.presentation.title ? {
|
|
1135
|
+
...params.presentation.tone ? { tone: params.presentation.tone } : {},
|
|
1136
|
+
blocks: params.presentation.blocks
|
|
1137
|
+
} : params.presentation
|
|
1138
|
+
})
|
|
1139
|
+
}];
|
|
1140
|
+
}
|
|
1141
|
+
function buildFeishuPresentationCard(params) {
|
|
1142
|
+
return {
|
|
1143
|
+
schema: "2.0",
|
|
1144
|
+
config: { width_mode: "fill" },
|
|
1145
|
+
...params.presentation.title ? { header: {
|
|
1146
|
+
title: {
|
|
1147
|
+
tag: "plain_text",
|
|
1148
|
+
content: params.presentation.title
|
|
1149
|
+
},
|
|
1150
|
+
template: resolvePresentationHeaderTemplate(params.presentation.tone)
|
|
1151
|
+
} } : {},
|
|
1152
|
+
body: { elements: buildFeishuPresentationCardElements(params) }
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
//#endregion
|
|
1156
|
+
//#region extensions/feishu/src/session-route.ts
|
|
1157
|
+
function resolveFeishuOutboundSessionRoute(params) {
|
|
1158
|
+
const rawTarget = stripChannelTargetPrefix(params.target, "feishu", "lark");
|
|
1159
|
+
const target = normalizeFeishuTarget(rawTarget);
|
|
1160
|
+
if (!target) return null;
|
|
1161
|
+
const isGroup = resolveReceiveIdType(rawTarget) === "chat_id";
|
|
1162
|
+
const account = resolveFeishuAccount({
|
|
1163
|
+
cfg: params.cfg,
|
|
1164
|
+
accountId: params.accountId
|
|
1165
|
+
});
|
|
1166
|
+
const groupSessionScope = isGroup ? resolveConfiguredFeishuGroupSessionScope({
|
|
1167
|
+
groupConfig: resolveFeishuGroupConfig({
|
|
1168
|
+
cfg: account.config,
|
|
1169
|
+
groupId: target
|
|
1170
|
+
}),
|
|
1171
|
+
feishuCfg: account.config
|
|
1172
|
+
}) : void 0;
|
|
1173
|
+
const recipientSessionExact = isGroup ? target.startsWith("oc_") && groupSessionScope === "group" : target.startsWith("ou_");
|
|
1174
|
+
return buildChannelOutboundSessionRoute({
|
|
1175
|
+
cfg: params.cfg,
|
|
1176
|
+
agentId: params.agentId,
|
|
1177
|
+
channel: "feishu",
|
|
1178
|
+
accountId: params.accountId,
|
|
1179
|
+
recipientSessionExact,
|
|
1180
|
+
peer: {
|
|
1181
|
+
kind: isGroup ? "group" : "direct",
|
|
1182
|
+
id: target
|
|
1183
|
+
},
|
|
1184
|
+
chatType: isGroup ? "group" : "direct",
|
|
1185
|
+
from: isGroup ? `feishu:group:${target}` : `feishu:${target}`,
|
|
1186
|
+
to: target
|
|
1187
|
+
});
|
|
1188
|
+
}
|
|
1189
|
+
//#endregion
|
|
1190
|
+
//#region extensions/feishu/src/setup-core.ts
|
|
1191
|
+
function setFeishuNamedAccountEnabled(cfg, accountId, enabled) {
|
|
1192
|
+
const feishuCfg = cfg.channels?.feishu;
|
|
1193
|
+
return {
|
|
1194
|
+
...cfg,
|
|
1195
|
+
channels: {
|
|
1196
|
+
...cfg.channels,
|
|
1197
|
+
feishu: {
|
|
1198
|
+
...feishuCfg,
|
|
1199
|
+
accounts: {
|
|
1200
|
+
...feishuCfg?.accounts,
|
|
1201
|
+
[accountId]: {
|
|
1202
|
+
...feishuCfg?.accounts?.[accountId],
|
|
1203
|
+
enabled
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
const feishuSetupAdapter = {
|
|
1211
|
+
resolveAccountId: ({ cfg, accountId }) => accountId?.trim() || resolveDefaultFeishuAccountId(cfg),
|
|
1212
|
+
applyAccountConfig: ({ cfg, accountId }) => {
|
|
1213
|
+
if (!accountId || accountId === DEFAULT_ACCOUNT_ID$2) return {
|
|
1214
|
+
...cfg,
|
|
1215
|
+
channels: {
|
|
1216
|
+
...cfg.channels,
|
|
1217
|
+
feishu: {
|
|
1218
|
+
...cfg.channels?.feishu,
|
|
1219
|
+
enabled: true
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
};
|
|
1223
|
+
return setFeishuNamedAccountEnabled(cfg, accountId, true);
|
|
1224
|
+
}
|
|
1225
|
+
};
|
|
1226
|
+
const feishuSetupContract = defineChannelSetupContract({
|
|
1227
|
+
fields: {},
|
|
1228
|
+
legacyAdapter: feishuSetupAdapter
|
|
1229
|
+
});
|
|
1230
|
+
//#endregion
|
|
1231
|
+
//#region extensions/feishu/src/setup-surface.ts
|
|
1232
|
+
const t = createSetupTranslator();
|
|
1233
|
+
const channel = "feishu";
|
|
1234
|
+
const SCAN_TO_CREATE_TP = "ob_cli_app";
|
|
1235
|
+
const FEISHU_SETUP_FLOW_KEY = "_flow";
|
|
1236
|
+
function isFeishuConfigured(cfg) {
|
|
1237
|
+
const feishuCfg = cfg.channels?.feishu;
|
|
1238
|
+
const isAppIdConfigured = (value) => {
|
|
1239
|
+
if (normalizeOptionalString(value)) return true;
|
|
1240
|
+
if (!value || typeof value !== "object") return false;
|
|
1241
|
+
const rec = value;
|
|
1242
|
+
const source = normalizeOptionalString(rec.source)?.toLowerCase();
|
|
1243
|
+
const id = normalizeOptionalString(rec.id);
|
|
1244
|
+
if (source === "env" && id) return Boolean(normalizeOptionalString(process.env[id]));
|
|
1245
|
+
return hasConfiguredSecretInput$1(value);
|
|
1246
|
+
};
|
|
1247
|
+
const topLevelConfigured = isAppIdConfigured(feishuCfg?.appId) && hasConfiguredSecretInput$1(feishuCfg?.appSecret);
|
|
1248
|
+
const accountConfigured = Object.values(feishuCfg?.accounts ?? {}).some((account) => {
|
|
1249
|
+
if (!account || typeof account !== "object") return false;
|
|
1250
|
+
const hasOwnAppId = Object.hasOwn(account, "appId");
|
|
1251
|
+
const hasOwnAppSecret = Object.hasOwn(account, "appSecret");
|
|
1252
|
+
const accountAppIdConfigured = hasOwnAppId ? isAppIdConfigured(account.appId) : isAppIdConfigured(feishuCfg?.appId);
|
|
1253
|
+
const accountSecretConfigured = hasOwnAppSecret ? hasConfiguredSecretInput$1(account.appSecret) : hasConfiguredSecretInput$1(feishuCfg?.appSecret);
|
|
1254
|
+
return accountAppIdConfigured && accountSecretConfigured;
|
|
1255
|
+
});
|
|
1256
|
+
return topLevelConfigured || accountConfigured;
|
|
1257
|
+
}
|
|
1258
|
+
function formatFeishuStatusLine(status) {
|
|
1259
|
+
if (status === "needs-credentials") return `Feishu: ${t("wizard.channels.statusNeedsAppCredentials")}`;
|
|
1260
|
+
return `Feishu: ${t("wizard.channels.statusConfiguredConnectionNotVerified")}`;
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Patch feishu config at the correct location based on accountId.
|
|
1264
|
+
* - DEFAULT_ACCOUNT_ID → writes to top-level channels.feishu
|
|
1265
|
+
* - named account → writes to channels.feishu.accounts[accountId]
|
|
1266
|
+
*/
|
|
1267
|
+
function patchFeishuConfig(cfg, accountId, patch) {
|
|
1268
|
+
return patchScopedAccountConfig({
|
|
1269
|
+
cfg,
|
|
1270
|
+
channelKey: channel,
|
|
1271
|
+
accountId,
|
|
1272
|
+
patch: {
|
|
1273
|
+
enabled: true,
|
|
1274
|
+
...patch
|
|
1275
|
+
}
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
async function promptFeishuAllowFrom(params) {
|
|
1279
|
+
const feishuCfg = params.cfg.channels?.feishu;
|
|
1280
|
+
const resolvedAccountId = params.accountId ?? resolveDefaultFeishuAccountId(params.cfg);
|
|
1281
|
+
const existingAllowFrom = (resolvedAccountId !== DEFAULT_ACCOUNT_ID$2 ? feishuCfg?.accounts?.[resolvedAccountId] : void 0)?.allowFrom ?? feishuCfg?.allowFrom ?? [];
|
|
1282
|
+
await params.prompter.note([
|
|
1283
|
+
t("wizard.feishu.allowlistIntro"),
|
|
1284
|
+
t("wizard.feishu.allowlistFindUser"),
|
|
1285
|
+
t("wizard.feishu.examples"),
|
|
1286
|
+
"- ou_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
1287
|
+
"- on_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
1288
|
+
].join("\n"), t("wizard.feishu.allowlistTitle"));
|
|
1289
|
+
const mergedAllowFrom = mergeAllowFromEntries(existingAllowFrom, splitSetupEntries(await params.prompter.text({
|
|
1290
|
+
message: t("wizard.feishu.allowFromPrompt"),
|
|
1291
|
+
placeholder: "ou_xxxxx, ou_yyyyy",
|
|
1292
|
+
initialValue: existingAllowFrom.length > 0 ? existingAllowFrom.map(String).join(", ") : void 0
|
|
1293
|
+
})));
|
|
1294
|
+
return patchFeishuConfig(params.cfg, resolvedAccountId, { allowFrom: mergedAllowFrom });
|
|
1295
|
+
}
|
|
1296
|
+
async function noteFeishuCredentialHelp(prompter) {
|
|
1297
|
+
await prompter.note([
|
|
1298
|
+
t("wizard.feishu.credentialsStepOpenPlatform"),
|
|
1299
|
+
t("wizard.feishu.credentialsStepCreateApp"),
|
|
1300
|
+
t("wizard.feishu.credentialsStepGetCredentials"),
|
|
1301
|
+
t("wizard.feishu.credentialsStepPermissions"),
|
|
1302
|
+
t("wizard.feishu.credentialsStepPublish"),
|
|
1303
|
+
t("wizard.feishu.credentialsEnvTip"),
|
|
1304
|
+
t("wizard.channels.docs", { link: formatDocsLink("/channels/feishu", "feishu") })
|
|
1305
|
+
].join("\n"), t("wizard.feishu.credentialsTitle"));
|
|
1306
|
+
}
|
|
1307
|
+
async function promptFeishuAppId(params) {
|
|
1308
|
+
return (await params.prompter.text({
|
|
1309
|
+
message: t("wizard.feishu.appIdPrompt"),
|
|
1310
|
+
initialValue: params.initialValue,
|
|
1311
|
+
validate: (value) => value?.trim() ? void 0 : t("common.required")
|
|
1312
|
+
})).trim();
|
|
1313
|
+
}
|
|
1314
|
+
const feishuDmPolicy = createChannelDmPolicy({
|
|
1315
|
+
label: "Feishu",
|
|
1316
|
+
channel,
|
|
1317
|
+
resolveAccount: (cfg, accountId) => {
|
|
1318
|
+
const feishuCfg = cfg.channels?.feishu;
|
|
1319
|
+
const resolvedAccountId = accountId ?? resolveDefaultFeishuAccountId(cfg);
|
|
1320
|
+
const account = resolvedAccountId === DEFAULT_ACCOUNT_ID$2 ? void 0 : feishuCfg?.accounts?.[resolvedAccountId];
|
|
1321
|
+
return {
|
|
1322
|
+
accountId: resolvedAccountId,
|
|
1323
|
+
config: {
|
|
1324
|
+
dmPolicy: account?.dmPolicy ?? feishuCfg?.dmPolicy,
|
|
1325
|
+
allowFrom: account?.allowFrom ?? feishuCfg?.allowFrom
|
|
1326
|
+
}
|
|
1327
|
+
};
|
|
1328
|
+
},
|
|
1329
|
+
resolveAllowFrom: ({ policy }) => policy === "open" ? ["*"] : void 0,
|
|
1330
|
+
applyPatch: ({ cfg, account, patch }) => patchFeishuConfig(cfg, account.accountId, patch),
|
|
1331
|
+
promptAllowFrom: promptFeishuAllowFrom
|
|
1332
|
+
});
|
|
1333
|
+
function applyNewAppSecurityPolicy(cfg, accountId, openId, groupPolicy) {
|
|
1334
|
+
let next = cfg;
|
|
1335
|
+
if (openId) next = patchFeishuConfig(next, accountId, {
|
|
1336
|
+
dmPolicy: "allowlist",
|
|
1337
|
+
allowFrom: [openId]
|
|
1338
|
+
});
|
|
1339
|
+
const groupPatch = { groupPolicy };
|
|
1340
|
+
if (groupPolicy === "open") groupPatch.requireMention = true;
|
|
1341
|
+
next = patchFeishuConfig(next, accountId, groupPatch);
|
|
1342
|
+
return next;
|
|
1343
|
+
}
|
|
1344
|
+
const loadAppRegistrationModule = createLazyRuntimeModule(() => import("./app-registration-cN1bVV6s.js"));
|
|
1345
|
+
async function promptFeishuDomain(params) {
|
|
1346
|
+
return await params.prompter.select({
|
|
1347
|
+
message: t("wizard.feishu.domainPrompt"),
|
|
1348
|
+
options: [{
|
|
1349
|
+
value: "feishu",
|
|
1350
|
+
label: t("wizard.feishu.domainFeishu")
|
|
1351
|
+
}, {
|
|
1352
|
+
value: "lark",
|
|
1353
|
+
label: t("wizard.feishu.domainLark")
|
|
1354
|
+
}],
|
|
1355
|
+
initialValue: params.initialValue ?? "feishu"
|
|
1356
|
+
});
|
|
1357
|
+
}
|
|
1358
|
+
async function promptFeishuSetupMethod(prompter) {
|
|
1359
|
+
return await prompter.select({
|
|
1360
|
+
message: t("wizard.feishu.setupMethodPrompt"),
|
|
1361
|
+
options: [{
|
|
1362
|
+
value: "manual",
|
|
1363
|
+
label: t("wizard.feishu.setupMethodManual")
|
|
1364
|
+
}, {
|
|
1365
|
+
value: "scan",
|
|
1366
|
+
label: t("wizard.feishu.setupMethodScan")
|
|
1367
|
+
}],
|
|
1368
|
+
initialValue: "manual"
|
|
1369
|
+
});
|
|
1370
|
+
}
|
|
1371
|
+
async function runScanToCreate(prompter, domain, beforePersistentEffect) {
|
|
1372
|
+
const { beginAppRegistration, initAppRegistration, pollAppRegistration, printQrCode } = await loadAppRegistrationModule();
|
|
1373
|
+
try {
|
|
1374
|
+
await initAppRegistration(domain);
|
|
1375
|
+
} catch {
|
|
1376
|
+
await prompter.note(t("wizard.feishu.scanUnavailable"), t("wizard.feishu.setupTitle"));
|
|
1377
|
+
return null;
|
|
1378
|
+
}
|
|
1379
|
+
await beforePersistentEffect?.();
|
|
1380
|
+
const begin = await beginAppRegistration(domain);
|
|
1381
|
+
await prompter.note(t("wizard.feishu.scanQr"), t("wizard.feishu.scanTitle"));
|
|
1382
|
+
await printQrCode(begin.qrUrl);
|
|
1383
|
+
const progress = prompter.progress(t("wizard.feishu.fetchingConfig"));
|
|
1384
|
+
const outcome = await pollAppRegistration({
|
|
1385
|
+
deviceCode: begin.deviceCode,
|
|
1386
|
+
interval: begin.interval,
|
|
1387
|
+
expireIn: begin.expireIn,
|
|
1388
|
+
initialDomain: domain,
|
|
1389
|
+
tp: SCAN_TO_CREATE_TP
|
|
1390
|
+
});
|
|
1391
|
+
switch (outcome.status) {
|
|
1392
|
+
case "success":
|
|
1393
|
+
progress.stop(t("wizard.feishu.scanCompleted"));
|
|
1394
|
+
return outcome.result;
|
|
1395
|
+
case "access_denied":
|
|
1396
|
+
progress.stop(t("wizard.feishu.scanDenied"));
|
|
1397
|
+
return null;
|
|
1398
|
+
case "expired":
|
|
1399
|
+
progress.stop(t("wizard.feishu.scanExpired"));
|
|
1400
|
+
return null;
|
|
1401
|
+
case "timeout":
|
|
1402
|
+
progress.stop(t("wizard.feishu.scanTimedOut"));
|
|
1403
|
+
return null;
|
|
1404
|
+
case "error":
|
|
1405
|
+
progress.stop(t("wizard.feishu.scanError", { error: outcome.message }));
|
|
1406
|
+
return null;
|
|
1407
|
+
}
|
|
1408
|
+
return null;
|
|
1409
|
+
}
|
|
1410
|
+
async function runNewAppFlow(params) {
|
|
1411
|
+
const { prompter, options } = params;
|
|
1412
|
+
let next = params.cfg;
|
|
1413
|
+
const targetAccountId = resolveDefaultFeishuAccountId(next);
|
|
1414
|
+
let appId;
|
|
1415
|
+
let appSecret = null;
|
|
1416
|
+
let appSecretProbeValue = null;
|
|
1417
|
+
let scanDomain;
|
|
1418
|
+
let scanOpenId;
|
|
1419
|
+
const currentDomain = (next.channels?.feishu)?.domain ?? "feishu";
|
|
1420
|
+
const setupMethod = await promptFeishuSetupMethod(prompter);
|
|
1421
|
+
const selectedDomain = await promptFeishuDomain({
|
|
1422
|
+
prompter,
|
|
1423
|
+
initialValue: currentDomain
|
|
1424
|
+
});
|
|
1425
|
+
scanDomain = selectedDomain;
|
|
1426
|
+
const scanResult = setupMethod === "scan" ? await runScanToCreate(prompter, selectedDomain, options?.beforePersistentEffect) : null;
|
|
1427
|
+
if (scanResult) {
|
|
1428
|
+
appId = scanResult.appId;
|
|
1429
|
+
appSecret = scanResult.appSecret;
|
|
1430
|
+
scanDomain = scanResult.domain;
|
|
1431
|
+
scanOpenId = scanResult.openId;
|
|
1432
|
+
} else {
|
|
1433
|
+
await noteFeishuCredentialHelp(prompter);
|
|
1434
|
+
appId = await promptFeishuAppId({
|
|
1435
|
+
prompter,
|
|
1436
|
+
initialValue: normalizeOptionalString(process.env.FEISHU_APP_ID)
|
|
1437
|
+
});
|
|
1438
|
+
const appSecretResult = await promptSingleChannelSecretInput({
|
|
1439
|
+
cfg: next,
|
|
1440
|
+
prompter,
|
|
1441
|
+
providerHint: "feishu",
|
|
1442
|
+
credentialLabel: "App Secret",
|
|
1443
|
+
secretInputMode: options?.secretInputMode,
|
|
1444
|
+
accountConfigured: false,
|
|
1445
|
+
canUseEnv: false,
|
|
1446
|
+
hasConfigToken: false,
|
|
1447
|
+
envPrompt: "",
|
|
1448
|
+
keepPrompt: t("wizard.feishu.appSecretKeep"),
|
|
1449
|
+
inputPrompt: t("wizard.feishu.appSecretPrompt"),
|
|
1450
|
+
preferredEnvVar: "FEISHU_APP_SECRET"
|
|
1451
|
+
});
|
|
1452
|
+
if (appSecretResult.action === "set") {
|
|
1453
|
+
appSecret = appSecretResult.value;
|
|
1454
|
+
appSecretProbeValue = appSecretResult.resolvedValue;
|
|
1455
|
+
}
|
|
1456
|
+
if (appId && appSecretProbeValue) {
|
|
1457
|
+
const { getAppOwnerOpenId } = await loadAppRegistrationModule();
|
|
1458
|
+
scanOpenId = await getAppOwnerOpenId({
|
|
1459
|
+
appId,
|
|
1460
|
+
appSecret: appSecretProbeValue,
|
|
1461
|
+
domain: selectedDomain
|
|
1462
|
+
});
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
const groupPolicy = await prompter.select({
|
|
1466
|
+
message: t("wizard.feishu.groupPolicyPrompt"),
|
|
1467
|
+
options: [
|
|
1468
|
+
{
|
|
1469
|
+
value: "allowlist",
|
|
1470
|
+
label: t("wizard.feishu.groupPolicyAllowlist")
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
value: "open",
|
|
1474
|
+
label: t("wizard.feishu.groupPolicyOpen")
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
value: "disabled",
|
|
1478
|
+
label: t("wizard.feishu.groupPolicyDisabled")
|
|
1479
|
+
}
|
|
1480
|
+
],
|
|
1481
|
+
initialValue: "allowlist"
|
|
1482
|
+
});
|
|
1483
|
+
const configProgress = prompter.progress(t("wizard.feishu.configuring"));
|
|
1484
|
+
await new Promise((resolve) => {
|
|
1485
|
+
setTimeout(resolve, 50);
|
|
1486
|
+
});
|
|
1487
|
+
if (appId && appSecret) next = patchFeishuConfig(next, targetAccountId, {
|
|
1488
|
+
appId,
|
|
1489
|
+
appSecret,
|
|
1490
|
+
connectionMode: "websocket",
|
|
1491
|
+
...scanDomain ? { domain: scanDomain } : {}
|
|
1492
|
+
});
|
|
1493
|
+
else if (scanDomain) next = patchFeishuConfig(next, targetAccountId, { domain: scanDomain });
|
|
1494
|
+
next = applyNewAppSecurityPolicy(next, targetAccountId, scanOpenId, groupPolicy);
|
|
1495
|
+
configProgress.stop(t("wizard.feishu.botConfigured"));
|
|
1496
|
+
return { cfg: next };
|
|
1497
|
+
}
|
|
1498
|
+
async function runEditFlow(params) {
|
|
1499
|
+
const { prompter, options } = params;
|
|
1500
|
+
const next = params.cfg;
|
|
1501
|
+
const feishuCfg = next.channels?.feishu;
|
|
1502
|
+
const resolveAppIdLabel = (value) => {
|
|
1503
|
+
const asString = normalizeOptionalString(value);
|
|
1504
|
+
if (asString) return asString;
|
|
1505
|
+
if (value && typeof value === "object") {
|
|
1506
|
+
const rec = value;
|
|
1507
|
+
if (normalizeOptionalString(rec.source) && normalizeOptionalString(rec.id)) return normalizeOptionalString(process.env[rec.id]) ?? `env:${String(rec.id)}`;
|
|
1508
|
+
if (hasConfiguredSecretInput$1(value)) return "(configured)";
|
|
1509
|
+
}
|
|
1510
|
+
};
|
|
1511
|
+
const existingAppId = resolveAppIdLabel(feishuCfg?.appId) ?? Object.values(feishuCfg?.accounts ?? {}).reduce((found, account) => {
|
|
1512
|
+
if (found) return found;
|
|
1513
|
+
if (account && typeof account === "object") return resolveAppIdLabel(account.appId);
|
|
1514
|
+
}, void 0);
|
|
1515
|
+
if (existingAppId) {
|
|
1516
|
+
if (!await prompter.confirm({
|
|
1517
|
+
message: t("wizard.feishu.existingBotPrompt", { appId: existingAppId }),
|
|
1518
|
+
initialValue: true
|
|
1519
|
+
})) return runNewAppFlow({
|
|
1520
|
+
cfg: next,
|
|
1521
|
+
prompter,
|
|
1522
|
+
options
|
|
1523
|
+
});
|
|
1524
|
+
} else return runNewAppFlow({
|
|
1525
|
+
cfg: next,
|
|
1526
|
+
prompter,
|
|
1527
|
+
options
|
|
1528
|
+
});
|
|
1529
|
+
await prompter.note(t("wizard.feishu.botConfigured"), "");
|
|
1530
|
+
return { cfg: next };
|
|
1531
|
+
}
|
|
1532
|
+
async function runFeishuLogin(params) {
|
|
1533
|
+
const { cfg, prompter } = params;
|
|
1534
|
+
const options = {};
|
|
1535
|
+
if (isFeishuConfigured(cfg)) {
|
|
1536
|
+
const result = await runEditFlow({
|
|
1537
|
+
cfg,
|
|
1538
|
+
prompter,
|
|
1539
|
+
options
|
|
1540
|
+
});
|
|
1541
|
+
if (result === null) return cfg;
|
|
1542
|
+
return result.cfg;
|
|
1543
|
+
}
|
|
1544
|
+
return (await runNewAppFlow({
|
|
1545
|
+
cfg,
|
|
1546
|
+
prompter,
|
|
1547
|
+
options
|
|
1548
|
+
})).cfg;
|
|
1549
|
+
}
|
|
1550
|
+
const feishuSetupWizard = {
|
|
1551
|
+
channel,
|
|
1552
|
+
resolveAccountIdForConfigure: ({ accountOverride, defaultAccountId, cfg }) => (typeof accountOverride === "string" && accountOverride.trim() ? accountOverride.trim() : void 0) ?? resolveDefaultFeishuAccountId(cfg) ?? defaultAccountId,
|
|
1553
|
+
resolveShouldPromptAccountIds: () => false,
|
|
1554
|
+
status: {
|
|
1555
|
+
configuredLabel: t("wizard.channels.statusConfigured"),
|
|
1556
|
+
unconfiguredLabel: t("wizard.channels.statusNeedsAppCredentials"),
|
|
1557
|
+
configuredHint: t("wizard.channels.statusConfigured"),
|
|
1558
|
+
unconfiguredHint: t("wizard.channels.statusNeedsAppCreds"),
|
|
1559
|
+
configuredScore: 2,
|
|
1560
|
+
unconfiguredScore: 0,
|
|
1561
|
+
resolveConfigured: ({ cfg }) => isFeishuConfigured(cfg),
|
|
1562
|
+
resolveStatusLines: async ({ cfg, accountId, configured }) => {
|
|
1563
|
+
const account = resolveFeishuAccount({
|
|
1564
|
+
cfg,
|
|
1565
|
+
accountId
|
|
1566
|
+
});
|
|
1567
|
+
let probeResult = null;
|
|
1568
|
+
if (configured && account.configured) try {
|
|
1569
|
+
const { probeFeishu } = await import("./probe-DVpy58s0.js").then((n) => n.n);
|
|
1570
|
+
probeResult = await probeFeishu(account);
|
|
1571
|
+
} catch {}
|
|
1572
|
+
if (!configured) return [formatFeishuStatusLine("needs-credentials")];
|
|
1573
|
+
if (probeResult?.ok) return [`Feishu: ${t("wizard.channels.statusConnectedAs", { name: probeResult.botName ?? probeResult.botOpenId ?? "bot" })}`];
|
|
1574
|
+
return [formatFeishuStatusLine("configured-unverified")];
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
prepare: async ({ cfg, credentialValues }) => {
|
|
1578
|
+
if (isFeishuConfigured(cfg)) return { credentialValues: {
|
|
1579
|
+
...credentialValues,
|
|
1580
|
+
[FEISHU_SETUP_FLOW_KEY]: "edit"
|
|
1581
|
+
} };
|
|
1582
|
+
return { credentialValues: {
|
|
1583
|
+
...credentialValues,
|
|
1584
|
+
[FEISHU_SETUP_FLOW_KEY]: "new"
|
|
1585
|
+
} };
|
|
1586
|
+
},
|
|
1587
|
+
credentials: [],
|
|
1588
|
+
finalize: async ({ cfg, prompter, options, credentialValues }) => {
|
|
1589
|
+
if ((credentialValues[FEISHU_SETUP_FLOW_KEY] ?? "new") === "edit") {
|
|
1590
|
+
const result = await runEditFlow({
|
|
1591
|
+
cfg,
|
|
1592
|
+
prompter,
|
|
1593
|
+
options
|
|
1594
|
+
});
|
|
1595
|
+
if (result === null) return { cfg };
|
|
1596
|
+
return result;
|
|
1597
|
+
}
|
|
1598
|
+
return runNewAppFlow({
|
|
1599
|
+
cfg,
|
|
1600
|
+
prompter,
|
|
1601
|
+
options
|
|
1602
|
+
});
|
|
1603
|
+
},
|
|
1604
|
+
dmPolicy: feishuDmPolicy,
|
|
1605
|
+
disable: (cfg) => setSetupChannelEnabled(cfg, channel, false)
|
|
1606
|
+
};
|
|
1607
|
+
//#endregion
|
|
1608
|
+
//#region extensions/feishu/src/channel.ts
|
|
1609
|
+
function readFeishuMediaParam(params) {
|
|
1610
|
+
const media = params.media;
|
|
1611
|
+
if (typeof media !== "string") return;
|
|
1612
|
+
return media.trim() ? media : void 0;
|
|
1613
|
+
}
|
|
1614
|
+
function readBooleanParam(params, keys) {
|
|
1615
|
+
for (const key of keys) {
|
|
1616
|
+
const value = params[key];
|
|
1617
|
+
if (typeof value === "boolean") return value;
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
function hasLegacyFeishuCardCommandValue(actionValue) {
|
|
1621
|
+
return isRecord(actionValue) && actionValue.oc !== "ocf1" && (Boolean(typeof actionValue.command === "string" && actionValue.command.trim()) || Boolean(typeof actionValue.text === "string" && actionValue.text.trim()));
|
|
1622
|
+
}
|
|
1623
|
+
function containsLegacyFeishuCardCommandValue(node) {
|
|
1624
|
+
if (Array.isArray(node)) return node.some((item) => containsLegacyFeishuCardCommandValue(item));
|
|
1625
|
+
if (!isRecord(node)) return false;
|
|
1626
|
+
if (node.tag === "button" && hasLegacyFeishuCardCommandValue(node.value)) return true;
|
|
1627
|
+
if (node.tag === "button" && Array.isArray(node.behaviors) && node.behaviors.some((behavior) => isRecord(behavior) && hasLegacyFeishuCardCommandValue(behavior.value))) return true;
|
|
1628
|
+
return Object.values(node).some((value) => containsLegacyFeishuCardCommandValue(value));
|
|
1629
|
+
}
|
|
1630
|
+
const meta = {
|
|
1631
|
+
id: "feishu",
|
|
1632
|
+
label: "Feishu",
|
|
1633
|
+
selectionLabel: "Feishu/Lark (飞书)",
|
|
1634
|
+
docsPath: "/channels/feishu",
|
|
1635
|
+
docsLabel: "feishu",
|
|
1636
|
+
blurb: "飞书/Lark enterprise messaging.",
|
|
1637
|
+
aliases: ["lark"],
|
|
1638
|
+
order: 70,
|
|
1639
|
+
preferSessionLookupForAnnounceTarget: true
|
|
1640
|
+
};
|
|
1641
|
+
const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-CoPaHQQ6.js"), "feishuChannelRuntime");
|
|
1642
|
+
async function resolveFeishuMessageSender(params) {
|
|
1643
|
+
try {
|
|
1644
|
+
const sender = params.resolve(await loadFeishuChannelRuntime());
|
|
1645
|
+
if (sender) return sender;
|
|
1646
|
+
throw new Error(params.unavailableMessage);
|
|
1647
|
+
} catch (error) {
|
|
1648
|
+
if (error instanceof PlatformMessageNotDispatchedError) throw error;
|
|
1649
|
+
throw new PlatformMessageNotDispatchedError(params.unavailableMessage, { cause: error });
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
const resolveFeishuTextSender = () => resolveFeishuMessageSender({
|
|
1653
|
+
resolve: (runtime) => runtime.feishuOutbound.sendText,
|
|
1654
|
+
unavailableMessage: "Feishu text sending is not available."
|
|
1655
|
+
});
|
|
1656
|
+
const resolveFeishuMediaSender = () => resolveFeishuMessageSender({
|
|
1657
|
+
resolve: (runtime) => runtime.feishuOutbound.sendMedia,
|
|
1658
|
+
unavailableMessage: "Feishu media sending is not available."
|
|
1659
|
+
});
|
|
1660
|
+
function toFeishuMessageSendResult(result, kind) {
|
|
1661
|
+
const receipt = result.receipt ?? createFeishuSendReceipt({
|
|
1662
|
+
messageId: result.messageId,
|
|
1663
|
+
chatId: result.chatId ?? "",
|
|
1664
|
+
kind
|
|
1665
|
+
});
|
|
1666
|
+
return {
|
|
1667
|
+
messageId: result.messageId || receipt.primaryPlatformMessageId,
|
|
1668
|
+
receipt
|
|
1669
|
+
};
|
|
1670
|
+
}
|
|
1671
|
+
const feishuMessageAdapter = defineChannelMessageAdapter({
|
|
1672
|
+
id: "feishu",
|
|
1673
|
+
durableFinal: { capabilities: {
|
|
1674
|
+
text: true,
|
|
1675
|
+
media: true
|
|
1676
|
+
} },
|
|
1677
|
+
send: {
|
|
1678
|
+
lifecycle: { beforeSendAttempt: async (ctx) => {
|
|
1679
|
+
if (ctx.kind === "text") await resolveFeishuTextSender();
|
|
1680
|
+
else if (ctx.kind === "media") await resolveFeishuMediaSender();
|
|
1681
|
+
} },
|
|
1682
|
+
text: async (ctx) => {
|
|
1683
|
+
const sendText = await resolveFeishuTextSender();
|
|
1684
|
+
const { onDeliveryResult, ...outboundCtx } = ctx;
|
|
1685
|
+
return toFeishuMessageSendResult(await sendText({
|
|
1686
|
+
...outboundCtx,
|
|
1687
|
+
...onDeliveryResult ? { onDeliveryResult: async (progress) => {
|
|
1688
|
+
await onDeliveryResult(toFeishuMessageSendResult(progress, "text"));
|
|
1689
|
+
} } : {}
|
|
1690
|
+
}), "text");
|
|
1691
|
+
},
|
|
1692
|
+
media: async (ctx) => {
|
|
1693
|
+
const sendMedia = await resolveFeishuMediaSender();
|
|
1694
|
+
const { onDeliveryResult, ...outboundCtx } = ctx;
|
|
1695
|
+
return toFeishuMessageSendResult(await sendMedia({
|
|
1696
|
+
...outboundCtx,
|
|
1697
|
+
...onDeliveryResult ? { onDeliveryResult: async (progress) => {
|
|
1698
|
+
await onDeliveryResult(toFeishuMessageSendResult(progress, "media"));
|
|
1699
|
+
} } : {}
|
|
1700
|
+
}), "media");
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
});
|
|
1704
|
+
async function createFeishuActionClient(account) {
|
|
1705
|
+
const { createFeishuClient } = await import("./client-Hp7uo_cl.js").then((n) => n.t);
|
|
1706
|
+
return createFeishuClient(account);
|
|
1707
|
+
}
|
|
1708
|
+
async function resolveFeishuChatTypeById(params) {
|
|
1709
|
+
const client = await createFeishuActionClient(params.account);
|
|
1710
|
+
return resolveFeishuChatType(await params.runtime.getChatInfo(client, params.chatId));
|
|
1711
|
+
}
|
|
1712
|
+
async function resolveFeishuMessageChatType(params) {
|
|
1713
|
+
const knownChatType = normalizeFeishuChatType(params.message.chatType);
|
|
1714
|
+
if (knownChatType) return knownChatType;
|
|
1715
|
+
return resolveFeishuChatTypeById({
|
|
1716
|
+
account: params.account,
|
|
1717
|
+
chatId: params.message.chatId,
|
|
1718
|
+
runtime: params.runtime
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
const collectFeishuSecurityWarnings = createAllowlistProviderGroupPolicyWarningCollector({
|
|
1722
|
+
providerConfigPresent: (cfg) => cfg.channels?.feishu !== void 0,
|
|
1723
|
+
resolveGroupPolicy: ({ cfg, accountId }) => resolveFeishuAccount({
|
|
1724
|
+
cfg,
|
|
1725
|
+
accountId
|
|
1726
|
+
}).config?.groupPolicy,
|
|
1727
|
+
collect: ({ cfg, accountId, groupPolicy }) => {
|
|
1728
|
+
if (groupPolicy !== "open") return [];
|
|
1729
|
+
return [`- Feishu[${resolveFeishuAccount({
|
|
1730
|
+
cfg,
|
|
1731
|
+
accountId
|
|
1732
|
+
}).accountId}] groups: groupPolicy="open" allows any member to trigger (mention-gated). Set channels.feishu.groupPolicy="allowlist" + channels.feishu.groupAllowFrom to restrict senders.`];
|
|
1733
|
+
}
|
|
1734
|
+
});
|
|
1735
|
+
function describeFeishuMessageTool({ cfg, accountId }) {
|
|
1736
|
+
const enabledAccounts = accountId ? [resolveFeishuAccount({
|
|
1737
|
+
cfg,
|
|
1738
|
+
accountId
|
|
1739
|
+
})].filter((account) => account.enabled && account.configured) : listEnabledFeishuAccounts(cfg);
|
|
1740
|
+
const enabled = enabledAccounts.length > 0 || !accountId && cfg.channels?.feishu?.enabled !== false && Boolean(inspectFeishuCredentials(cfg.channels?.feishu));
|
|
1741
|
+
if (enabledAccounts.length === 0) return {
|
|
1742
|
+
actions: [],
|
|
1743
|
+
capabilities: enabled ? ["presentation"] : []
|
|
1744
|
+
};
|
|
1745
|
+
const actions = /* @__PURE__ */ new Set([
|
|
1746
|
+
"send",
|
|
1747
|
+
"read",
|
|
1748
|
+
"edit",
|
|
1749
|
+
"thread-reply",
|
|
1750
|
+
"pin",
|
|
1751
|
+
"list-pins",
|
|
1752
|
+
"unpin",
|
|
1753
|
+
"member-info",
|
|
1754
|
+
"channel-info",
|
|
1755
|
+
"channel-list"
|
|
1756
|
+
]);
|
|
1757
|
+
if (accountId ? enabledAccounts.some((account) => isFeishuReactionsActionEnabled({
|
|
1758
|
+
cfg,
|
|
1759
|
+
account
|
|
1760
|
+
})) : areAnyFeishuReactionActionsEnabled(cfg)) {
|
|
1761
|
+
actions.add("react");
|
|
1762
|
+
actions.add("reactions");
|
|
1763
|
+
}
|
|
1764
|
+
return {
|
|
1765
|
+
actions: Array.from(actions),
|
|
1766
|
+
capabilities: enabled ? ["presentation"] : []
|
|
1767
|
+
};
|
|
1768
|
+
}
|
|
1769
|
+
const feishuConfigAdapter = createHybridChannelConfigAdapter({
|
|
1770
|
+
sectionKey: "feishu",
|
|
1771
|
+
listAccountIds: listFeishuAccountIds,
|
|
1772
|
+
resolveAccount: adaptScopedAccountAccessor(resolveFeishuAccount),
|
|
1773
|
+
defaultAccountId: resolveDefaultFeishuAccountId,
|
|
1774
|
+
clearBaseFields: [],
|
|
1775
|
+
resolveAllowFrom: (account) => account.config.allowFrom,
|
|
1776
|
+
formatAllowFrom: (allowFrom) => formatAllowFromLowercase({ allowFrom })
|
|
1777
|
+
});
|
|
1778
|
+
function isFeishuReactionsActionEnabled(params) {
|
|
1779
|
+
if (!params.account.enabled || !params.account.configured) return false;
|
|
1780
|
+
return createActionGate(params.account.config.actions ?? (params.cfg.channels?.feishu)?.actions)("reactions");
|
|
1781
|
+
}
|
|
1782
|
+
function areAnyFeishuReactionActionsEnabled(cfg) {
|
|
1783
|
+
for (const account of listEnabledFeishuAccounts(cfg)) if (isFeishuReactionsActionEnabled({
|
|
1784
|
+
cfg,
|
|
1785
|
+
account
|
|
1786
|
+
})) return true;
|
|
1787
|
+
return false;
|
|
1788
|
+
}
|
|
1789
|
+
function isFeishuGroupTopicSessionKey(sessionKey) {
|
|
1790
|
+
if (typeof sessionKey !== "string" || !sessionKey) return false;
|
|
1791
|
+
const parsed = parseFeishuConversationId({ conversationId: sessionKey });
|
|
1792
|
+
return parsed?.scope === "group_topic" || parsed?.scope === "group_topic_sender";
|
|
1793
|
+
}
|
|
1794
|
+
function resolveFeishuTopicAutoThreadAnchor(ctx) {
|
|
1795
|
+
if (ctx.action !== "send") return;
|
|
1796
|
+
if (!isFeishuGroupTopicSessionKey(ctx.sessionKey)) return;
|
|
1797
|
+
const inbound = ctx.toolContext?.currentMessageId;
|
|
1798
|
+
return typeof inbound === "string" && inbound.length > 0 ? inbound : void 0;
|
|
1799
|
+
}
|
|
1800
|
+
function buildFeishuSendReplyAnchor(ctx) {
|
|
1801
|
+
if (ctx.action === "thread-reply") return {
|
|
1802
|
+
replyToMessageId: resolveFeishuMessageId(ctx.params),
|
|
1803
|
+
replyInThread: true
|
|
1804
|
+
};
|
|
1805
|
+
const autoThreadId = resolveFeishuTopicAutoThreadAnchor(ctx);
|
|
1806
|
+
return {
|
|
1807
|
+
replyToMessageId: autoThreadId,
|
|
1808
|
+
replyInThread: autoThreadId !== void 0
|
|
1809
|
+
};
|
|
1810
|
+
}
|
|
1811
|
+
function isSupportedFeishuDirectConversationId(conversationId) {
|
|
1812
|
+
const trimmed = conversationId.trim();
|
|
1813
|
+
if (!trimmed || trimmed.includes(":")) return false;
|
|
1814
|
+
if (trimmed.startsWith("oc_") || trimmed.startsWith("on_")) return false;
|
|
1815
|
+
return true;
|
|
1816
|
+
}
|
|
1817
|
+
function normalizeFeishuAcpConversationId(conversationId) {
|
|
1818
|
+
const parsed = parseFeishuConversationId({ conversationId });
|
|
1819
|
+
if (!parsed || parsed.scope !== "group_topic" && parsed.scope !== "group_topic_sender" && !isSupportedFeishuDirectConversationId(parsed.canonicalConversationId)) return null;
|
|
1820
|
+
return {
|
|
1821
|
+
conversationId: parsed.canonicalConversationId,
|
|
1822
|
+
parentConversationId: parsed.scope === "group_topic" || parsed.scope === "group_topic_sender" ? parsed.chatId : void 0
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1825
|
+
function matchFeishuAcpConversation(params) {
|
|
1826
|
+
const binding = normalizeFeishuAcpConversationId(params.bindingConversationId);
|
|
1827
|
+
if (!binding) return null;
|
|
1828
|
+
const incoming = parseFeishuConversationId({
|
|
1829
|
+
conversationId: params.conversationId,
|
|
1830
|
+
parentConversationId: params.parentConversationId
|
|
1831
|
+
});
|
|
1832
|
+
if (!incoming || incoming.scope !== "group_topic" && incoming.scope !== "group_topic_sender" && !isSupportedFeishuDirectConversationId(incoming.canonicalConversationId)) return null;
|
|
1833
|
+
const matchesCanonicalConversation = binding.conversationId === incoming.canonicalConversationId;
|
|
1834
|
+
const matchesParentTopicForSenderScopedConversation = incoming.scope === "group_topic_sender" && binding.parentConversationId === incoming.chatId && binding.conversationId === `${incoming.chatId}:topic:${incoming.topicId}`;
|
|
1835
|
+
if (!matchesCanonicalConversation && !matchesParentTopicForSenderScopedConversation) return null;
|
|
1836
|
+
return {
|
|
1837
|
+
conversationId: matchesParentTopicForSenderScopedConversation ? binding.conversationId : incoming.canonicalConversationId,
|
|
1838
|
+
parentConversationId: incoming.scope === "group_topic" || incoming.scope === "group_topic_sender" ? incoming.chatId : void 0,
|
|
1839
|
+
matchPriority: matchesCanonicalConversation ? 2 : 1
|
|
1840
|
+
};
|
|
1841
|
+
}
|
|
1842
|
+
function resolveFeishuSenderScopedCommandConversation(params) {
|
|
1843
|
+
const parentConversationId = params.parentConversationId?.trim();
|
|
1844
|
+
const threadId = params.threadId?.trim();
|
|
1845
|
+
const senderId = params.senderId?.trim();
|
|
1846
|
+
if (!parentConversationId || !threadId || !senderId) return;
|
|
1847
|
+
const expectedScopePrefix = `feishu:group:${normalizeLowercaseStringOrEmpty(parentConversationId)}:topic:${normalizeLowercaseStringOrEmpty(threadId)}:sender:`;
|
|
1848
|
+
const isSenderScopedSession = [params.sessionKey, params.parentSessionKey].some((candidate) => {
|
|
1849
|
+
const normalized = normalizeLowercaseStringOrEmpty(candidate ?? "");
|
|
1850
|
+
if (!normalized) return false;
|
|
1851
|
+
return normalized.replace(/^agent:[^:]+:/, "").startsWith(expectedScopePrefix);
|
|
1852
|
+
});
|
|
1853
|
+
const senderScopedConversationId = buildFeishuConversationId({
|
|
1854
|
+
chatId: parentConversationId,
|
|
1855
|
+
scope: "group_topic_sender",
|
|
1856
|
+
topicId: threadId,
|
|
1857
|
+
senderOpenId: senderId
|
|
1858
|
+
});
|
|
1859
|
+
if (isSenderScopedSession) return senderScopedConversationId;
|
|
1860
|
+
if (!params.sessionKey?.trim()) return;
|
|
1861
|
+
return getSessionBindingService().listBySession(params.sessionKey).find((binding) => {
|
|
1862
|
+
if (binding.conversation.channel !== "feishu" || binding.conversation.accountId !== params.accountId) return false;
|
|
1863
|
+
return binding.conversation.conversationId === senderScopedConversationId;
|
|
1864
|
+
})?.conversation.conversationId;
|
|
1865
|
+
}
|
|
1866
|
+
function resolveFeishuCommandConversation(params) {
|
|
1867
|
+
if (params.threadId) {
|
|
1868
|
+
const parentConversationId = parseFeishuTargetId(params.originatingTo) ?? parseFeishuTargetId(params.commandTo) ?? parseFeishuTargetId(params.fallbackTo);
|
|
1869
|
+
if (!parentConversationId) return null;
|
|
1870
|
+
return {
|
|
1871
|
+
conversationId: resolveFeishuSenderScopedCommandConversation({
|
|
1872
|
+
accountId: params.accountId,
|
|
1873
|
+
parentConversationId,
|
|
1874
|
+
threadId: params.threadId,
|
|
1875
|
+
senderId: params.senderId,
|
|
1876
|
+
sessionKey: params.sessionKey,
|
|
1877
|
+
parentSessionKey: params.parentSessionKey
|
|
1878
|
+
}) ?? buildFeishuConversationId({
|
|
1879
|
+
chatId: parentConversationId,
|
|
1880
|
+
scope: "group_topic",
|
|
1881
|
+
topicId: params.threadId
|
|
1882
|
+
}),
|
|
1883
|
+
parentConversationId
|
|
1884
|
+
};
|
|
1885
|
+
}
|
|
1886
|
+
const conversationId = parseFeishuDirectConversationId(params.originatingTo) ?? parseFeishuDirectConversationId(params.commandTo) ?? parseFeishuDirectConversationId(params.fallbackTo);
|
|
1887
|
+
return conversationId ? { conversationId } : null;
|
|
1888
|
+
}
|
|
1889
|
+
function jsonActionResult(details) {
|
|
1890
|
+
return {
|
|
1891
|
+
content: [{
|
|
1892
|
+
type: "text",
|
|
1893
|
+
text: JSON.stringify(details)
|
|
1894
|
+
}],
|
|
1895
|
+
details
|
|
1896
|
+
};
|
|
1897
|
+
}
|
|
1898
|
+
function readFirstString(params, keys, fallback) {
|
|
1899
|
+
for (const key of keys) {
|
|
1900
|
+
const value = params[key];
|
|
1901
|
+
if (typeof value === "string" && value.trim()) return value.trim();
|
|
1902
|
+
}
|
|
1903
|
+
if (typeof fallback === "string" && fallback.trim()) return fallback.trim();
|
|
1904
|
+
}
|
|
1905
|
+
const UNRESOLVED_RESPONSE_PREFIX_VAR_PATTERN = /\{[a-zA-Z][a-zA-Z0-9.]*\}/;
|
|
1906
|
+
function resolveFeishuMessageActionResponsePrefix(ctx) {
|
|
1907
|
+
const channel = ctx.cfg.channels?.feishu;
|
|
1908
|
+
const configured = (ctx.accountId ? channel?.accounts?.[ctx.accountId]?.responsePrefix : void 0) ?? channel?.responsePrefix ?? (channel === void 0 ? ctx.cfg.messages?.responsePrefix : void 0);
|
|
1909
|
+
if (!configured) return;
|
|
1910
|
+
const agentId = (ctx.agentId?.trim() || "main").toLowerCase();
|
|
1911
|
+
const identityName = ctx.cfg.agents?.list?.find((agent) => agent.id.trim().toLowerCase() === agentId)?.identity?.name?.trim();
|
|
1912
|
+
const resolved = configured === "auto" ? identityName ? `[${identityName}]` : void 0 : configured.replace(/\{(?:identity\.name|identityname)\}/gi, identityName ?? "$&");
|
|
1913
|
+
return resolved && !UNRESOLVED_RESPONSE_PREFIX_VAR_PATTERN.test(resolved) ? resolved : void 0;
|
|
1914
|
+
}
|
|
1915
|
+
function readOptionalPositiveInteger(params, keys) {
|
|
1916
|
+
for (const key of keys) {
|
|
1917
|
+
const parsed = parseStrictPositiveInteger(params[key]);
|
|
1918
|
+
if (parsed !== void 0) return parsed;
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
function resolveFeishuActionTarget(ctx) {
|
|
1922
|
+
return readFirstString(ctx.params, ["to", "target"], ctx.toolContext?.currentChannelId);
|
|
1923
|
+
}
|
|
1924
|
+
function resolveFeishuChatId(ctx) {
|
|
1925
|
+
const raw = readFirstString(ctx.params, [
|
|
1926
|
+
"chatId",
|
|
1927
|
+
"chat_id",
|
|
1928
|
+
"channelId",
|
|
1929
|
+
"channel_id",
|
|
1930
|
+
"to",
|
|
1931
|
+
"target"
|
|
1932
|
+
], ctx.toolContext?.currentChannelId);
|
|
1933
|
+
if (!raw) return;
|
|
1934
|
+
if (/^(user|dm|open_id):/i.test(raw)) return;
|
|
1935
|
+
if (/^(chat|group|channel):/i.test(raw)) return normalizeFeishuTarget(raw) ?? void 0;
|
|
1936
|
+
return raw;
|
|
1937
|
+
}
|
|
1938
|
+
function resolveFeishuMessageId(params) {
|
|
1939
|
+
return readFirstString(params, [
|
|
1940
|
+
"messageId",
|
|
1941
|
+
"message_id",
|
|
1942
|
+
"replyTo",
|
|
1943
|
+
"reply_to"
|
|
1944
|
+
]);
|
|
1945
|
+
}
|
|
1946
|
+
function resolveFeishuMessageReadTarget(ctx) {
|
|
1947
|
+
const explicitChatId = resolveFeishuChatId({ params: ctx.params });
|
|
1948
|
+
const currentChatId = resolveFeishuChatId({
|
|
1949
|
+
params: {},
|
|
1950
|
+
toolContext: ctx.toolContext
|
|
1951
|
+
});
|
|
1952
|
+
const chatId = explicitChatId ?? currentChatId;
|
|
1953
|
+
if (!chatId) return;
|
|
1954
|
+
const normalizedChatId = normalizeFeishuTarget(chatId) ?? chatId.trim();
|
|
1955
|
+
if (normalizedChatId !== (currentChatId ? normalizeFeishuTarget(currentChatId) ?? currentChatId.trim() : void 0)) return { chatId: normalizedChatId };
|
|
1956
|
+
return {
|
|
1957
|
+
chatId: normalizedChatId,
|
|
1958
|
+
chatType: ctx.toolContext?.currentChatType === "direct" ? "p2p" : ctx.toolContext?.currentChatType === "group" || ctx.toolContext?.currentChatType === "channel" ? "group" : void 0
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
function assertFeishuMessageMatchesReadTarget(params) {
|
|
1962
|
+
if ((normalizeFeishuTarget(params.messageChatId) ?? params.messageChatId.trim()) !== params.authorizedChatId) throw new ToolAuthorizationError("Feishu message target is not allowed.");
|
|
1963
|
+
}
|
|
1964
|
+
async function authorizeFeishuMessageReadTarget(params) {
|
|
1965
|
+
const authorize = (chatType) => assertFeishuChatReadAllowed({
|
|
1966
|
+
cfg: params.ctx.cfg,
|
|
1967
|
+
account: params.account,
|
|
1968
|
+
chatId: params.target.chatId,
|
|
1969
|
+
chatType,
|
|
1970
|
+
ctx: params.ctx
|
|
1971
|
+
});
|
|
1972
|
+
if (params.target.chatType) return authorize(params.target.chatType);
|
|
1973
|
+
const preliminary = resolveFeishuChatReadPreliminaryAuthorization({
|
|
1974
|
+
cfg: params.ctx.cfg,
|
|
1975
|
+
account: params.account,
|
|
1976
|
+
chatId: params.target.chatId,
|
|
1977
|
+
ctx: params.ctx
|
|
1978
|
+
});
|
|
1979
|
+
if (preliminary.decision === "allow") return preliminary.chatId;
|
|
1980
|
+
if (preliminary.decision === "deny") throw new ToolAuthorizationError("Feishu read target is not allowed.");
|
|
1981
|
+
await getAuthorizedFeishuChatInfo({
|
|
1982
|
+
ctx: params.ctx,
|
|
1983
|
+
account: params.account,
|
|
1984
|
+
runtime: params.runtime,
|
|
1985
|
+
chatId: params.target.chatId
|
|
1986
|
+
});
|
|
1987
|
+
return preliminary.chatId;
|
|
1988
|
+
}
|
|
1989
|
+
async function getAuthorizedFeishuChatInfo(params) {
|
|
1990
|
+
const preliminary = resolveFeishuChatReadPreliminaryAuthorization({
|
|
1991
|
+
cfg: params.ctx.cfg,
|
|
1992
|
+
account: params.account,
|
|
1993
|
+
chatId: params.chatId,
|
|
1994
|
+
ctx: params.ctx
|
|
1995
|
+
});
|
|
1996
|
+
if (preliminary.decision === "deny") throw new ToolAuthorizationError("Feishu read target is not allowed.");
|
|
1997
|
+
const client = await createFeishuActionClient(params.account);
|
|
1998
|
+
let chat;
|
|
1999
|
+
try {
|
|
2000
|
+
chat = await params.runtime.getChatInfo(client, preliminary.chatId);
|
|
2001
|
+
} catch (error) {
|
|
2002
|
+
if (preliminary.decision === "needs-metadata") assertFeishuChatReadAllowed({
|
|
2003
|
+
cfg: params.ctx.cfg,
|
|
2004
|
+
account: params.account,
|
|
2005
|
+
chatId: preliminary.chatId,
|
|
2006
|
+
ctx: params.ctx
|
|
2007
|
+
});
|
|
2008
|
+
throw error;
|
|
2009
|
+
}
|
|
2010
|
+
assertFeishuChatReadAllowed({
|
|
2011
|
+
cfg: params.ctx.cfg,
|
|
2012
|
+
account: params.account,
|
|
2013
|
+
chatId: preliminary.chatId,
|
|
2014
|
+
chatType: resolveFeishuChatType(chat),
|
|
2015
|
+
ctx: params.ctx
|
|
2016
|
+
});
|
|
2017
|
+
return {
|
|
2018
|
+
chat,
|
|
2019
|
+
client
|
|
2020
|
+
};
|
|
2021
|
+
}
|
|
2022
|
+
async function getAuthorizedFeishuMessage(params) {
|
|
2023
|
+
const target = resolveFeishuMessageReadTarget(params.ctx);
|
|
2024
|
+
if (!target && params.ctx.conversationReadOrigin !== "direct-operator") throw new ToolAuthorizationError("Feishu message reads require a chat target or current conversation.");
|
|
2025
|
+
const authorizedChatId = target ? await authorizeFeishuMessageReadTarget({
|
|
2026
|
+
ctx: params.ctx,
|
|
2027
|
+
account: params.account,
|
|
2028
|
+
runtime: params.runtime,
|
|
2029
|
+
target
|
|
2030
|
+
}) : void 0;
|
|
2031
|
+
const message = await params.runtime.getMessageFeishu({
|
|
2032
|
+
cfg: params.ctx.cfg,
|
|
2033
|
+
messageId: params.messageId,
|
|
2034
|
+
accountId: params.ctx.accountId ?? void 0
|
|
2035
|
+
});
|
|
2036
|
+
if (!message) return null;
|
|
2037
|
+
if (authorizedChatId) assertFeishuMessageMatchesReadTarget({
|
|
2038
|
+
authorizedChatId,
|
|
2039
|
+
messageChatId: message.chatId
|
|
2040
|
+
});
|
|
2041
|
+
assertFeishuChatReadAllowed({
|
|
2042
|
+
cfg: params.ctx.cfg,
|
|
2043
|
+
account: params.account,
|
|
2044
|
+
chatId: message.chatId,
|
|
2045
|
+
chatType: await resolveFeishuMessageChatType({
|
|
2046
|
+
account: params.account,
|
|
2047
|
+
message,
|
|
2048
|
+
runtime: params.runtime
|
|
2049
|
+
}),
|
|
2050
|
+
ctx: params.ctx
|
|
2051
|
+
});
|
|
2052
|
+
return message;
|
|
2053
|
+
}
|
|
2054
|
+
async function requireAuthorizedFeishuMessage(params) {
|
|
2055
|
+
const message = await getAuthorizedFeishuMessage(params);
|
|
2056
|
+
if (!message) throw new Error(`Feishu message not found: ${params.messageId}`);
|
|
2057
|
+
return message;
|
|
2058
|
+
}
|
|
2059
|
+
function resolveFeishuMemberId(params) {
|
|
2060
|
+
return readFirstString(params, [
|
|
2061
|
+
"memberId",
|
|
2062
|
+
"member_id",
|
|
2063
|
+
"userId",
|
|
2064
|
+
"user_id",
|
|
2065
|
+
"openId",
|
|
2066
|
+
"open_id",
|
|
2067
|
+
"unionId",
|
|
2068
|
+
"union_id"
|
|
2069
|
+
]);
|
|
2070
|
+
}
|
|
2071
|
+
function resolveFeishuMemberIdType(params) {
|
|
2072
|
+
return resolveRequestedFeishuMemberIdType(params) ?? "open_id";
|
|
2073
|
+
}
|
|
2074
|
+
function resolveRequestedFeishuMemberIdType(params) {
|
|
2075
|
+
const raw = readFirstString(params, [
|
|
2076
|
+
"memberIdType",
|
|
2077
|
+
"member_id_type",
|
|
2078
|
+
"userIdType",
|
|
2079
|
+
"user_id_type"
|
|
2080
|
+
]);
|
|
2081
|
+
if (raw === "open_id" || raw === "user_id" || raw === "union_id") return raw;
|
|
2082
|
+
if (readFirstString(params, ["userId", "user_id"]) && !readFirstString(params, [
|
|
2083
|
+
"openId",
|
|
2084
|
+
"open_id",
|
|
2085
|
+
"unionId",
|
|
2086
|
+
"union_id"
|
|
2087
|
+
])) return "user_id";
|
|
2088
|
+
if (readFirstString(params, ["unionId", "union_id"]) && !readFirstString(params, ["openId", "open_id"])) return "union_id";
|
|
2089
|
+
if (readFirstString(params, ["openId", "open_id"])) return "open_id";
|
|
2090
|
+
}
|
|
2091
|
+
const feishuPlugin = createChatChannelPlugin({
|
|
2092
|
+
base: {
|
|
2093
|
+
id: "feishu",
|
|
2094
|
+
meta: { ...meta },
|
|
2095
|
+
capabilities: {
|
|
2096
|
+
chatTypes: ["direct", "channel"],
|
|
2097
|
+
polls: false,
|
|
2098
|
+
threads: true,
|
|
2099
|
+
media: true,
|
|
2100
|
+
tts: { voice: {
|
|
2101
|
+
synthesisTarget: "voice-note",
|
|
2102
|
+
transcodesAudio: true
|
|
2103
|
+
} },
|
|
2104
|
+
reactions: true,
|
|
2105
|
+
edit: true,
|
|
2106
|
+
reply: true
|
|
2107
|
+
},
|
|
2108
|
+
agentPrompt: { messageToolHints: () => [
|
|
2109
|
+
"- Feishu targeting: omit `target` to reply to the current conversation (auto-inferred). Explicit targets: `user:open_id` or `chat:chat_id`.",
|
|
2110
|
+
"- Feishu supports interactive cards plus native image, file, audio, and video/media delivery.",
|
|
2111
|
+
"- Feishu supports `send`, `read`, `edit`, `thread-reply`, pins, and channel/member lookup, plus reactions when enabled."
|
|
2112
|
+
] },
|
|
2113
|
+
groups: { resolveToolPolicy: resolveFeishuGroupToolPolicy },
|
|
2114
|
+
conversationBindings: {
|
|
2115
|
+
defaultTopLevelPlacement: "current",
|
|
2116
|
+
buildModelOverrideParentCandidates: ({ parentConversationId }) => buildFeishuModelOverrideParentCandidates(parentConversationId)
|
|
2117
|
+
},
|
|
2118
|
+
mentions: { stripPatterns: () => ["<at user_id=\"[^\"]*\">[^<]*</at>"] },
|
|
2119
|
+
reload: { configPrefixes: ["channels.feishu"] },
|
|
2120
|
+
doctor: feishuDoctor,
|
|
2121
|
+
configSchema: FeishuChannelConfigSchema,
|
|
2122
|
+
config: {
|
|
2123
|
+
...feishuConfigAdapter,
|
|
2124
|
+
deleteAccount: ({ cfg, accountId }) => {
|
|
2125
|
+
if (accountId === DEFAULT_ACCOUNT_ID$3) {
|
|
2126
|
+
const next = { ...cfg };
|
|
2127
|
+
const nextChannels = { ...cfg.channels };
|
|
2128
|
+
delete nextChannels.feishu;
|
|
2129
|
+
if (Object.keys(nextChannels).length > 0) next.channels = nextChannels;
|
|
2130
|
+
else delete next.channels;
|
|
2131
|
+
return next;
|
|
2132
|
+
}
|
|
2133
|
+
const feishuCfg = cfg.channels?.feishu;
|
|
2134
|
+
const accounts = { ...feishuCfg?.accounts };
|
|
2135
|
+
delete accounts[accountId];
|
|
2136
|
+
return {
|
|
2137
|
+
...cfg,
|
|
2138
|
+
channels: {
|
|
2139
|
+
...cfg.channels,
|
|
2140
|
+
feishu: {
|
|
2141
|
+
...feishuCfg,
|
|
2142
|
+
accounts: Object.keys(accounts).length > 0 ? accounts : void 0
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
};
|
|
2146
|
+
},
|
|
2147
|
+
isConfigured: (account) => account.configured,
|
|
2148
|
+
describeAccount: (account) => describeAccountSnapshot({
|
|
2149
|
+
account,
|
|
2150
|
+
configured: account.configured,
|
|
2151
|
+
extra: {
|
|
2152
|
+
appId: account.appId,
|
|
2153
|
+
domain: account.domain
|
|
2154
|
+
}
|
|
2155
|
+
})
|
|
2156
|
+
},
|
|
2157
|
+
approvalCapability: feishuApprovalAuth,
|
|
2158
|
+
secrets: {
|
|
2159
|
+
secretTargetRegistryEntries,
|
|
2160
|
+
collectRuntimeConfigAssignments
|
|
2161
|
+
},
|
|
2162
|
+
actions: {
|
|
2163
|
+
messageActionTargetAliases,
|
|
2164
|
+
describeMessageTool: describeFeishuMessageTool,
|
|
2165
|
+
handleAction: async (ctx) => {
|
|
2166
|
+
const account = resolveFeishuAccount({
|
|
2167
|
+
cfg: ctx.cfg,
|
|
2168
|
+
accountId: ctx.accountId ?? void 0
|
|
2169
|
+
});
|
|
2170
|
+
if ((ctx.action === "react" || ctx.action === "reactions") && !isFeishuReactionsActionEnabled({
|
|
2171
|
+
cfg: ctx.cfg,
|
|
2172
|
+
account
|
|
2173
|
+
})) throw new Error("Feishu reactions are disabled via actions.reactions.");
|
|
2174
|
+
if (ctx.action === "send" || ctx.action === "thread-reply") {
|
|
2175
|
+
const to = resolveFeishuActionTarget(ctx);
|
|
2176
|
+
if (!to) throw new Error(`Feishu ${ctx.action} requires a target (to).`);
|
|
2177
|
+
const { replyToMessageId, replyInThread } = buildFeishuSendReplyAnchor(ctx);
|
|
2178
|
+
if (ctx.action === "thread-reply" && !replyToMessageId) throw new Error("Feishu thread-reply requires messageId.");
|
|
2179
|
+
const text = readFirstString(ctx.params, ["text", "message"]);
|
|
2180
|
+
const textCard = readNativeFeishuCardJson(text, { responsePrefix: resolveFeishuMessageActionResponsePrefix(ctx) });
|
|
2181
|
+
const interactive = normalizeLegacyInteractiveReply(ctx.params.interactive);
|
|
2182
|
+
const presentation = normalizeMessagePresentation(ctx.params.presentation) ?? (interactive ? legacyInteractiveReplyToPresentation(interactive) : void 0);
|
|
2183
|
+
const mediaUrl = readFeishuMediaParam(ctx.params);
|
|
2184
|
+
const audioAsVoice = readBooleanParam(ctx.params, ["asVoice", "audioAsVoice"]);
|
|
2185
|
+
if (textCard && !presentation) assertFeishuCardWithinEnvelope(textCard, "Feishu native card");
|
|
2186
|
+
const generatedCard = presentation ? buildFeishuPresentationCard({
|
|
2187
|
+
presentation,
|
|
2188
|
+
fallbackText: textCard ? void 0 : resolveLegacyInteractiveTextFallback({
|
|
2189
|
+
text,
|
|
2190
|
+
interactive
|
|
2191
|
+
})
|
|
2192
|
+
}) : void 0;
|
|
2193
|
+
const presentationCard = generatedCard && isFeishuCardWithinEnvelope(generatedCard) ? generatedCard : void 0;
|
|
2194
|
+
const presentationFellBack = Boolean(generatedCard && !presentationCard);
|
|
2195
|
+
const card = presentation ? presentationCard : textCard;
|
|
2196
|
+
if (card && mediaUrl) throw new Error(`Feishu ${ctx.action} does not support card with media.`);
|
|
2197
|
+
if (!card && !text && !mediaUrl && !presentationFellBack) throw new Error(`Feishu ${ctx.action} requires text/message, media, or card.`);
|
|
2198
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2199
|
+
const maybeSendMedia = runtime.feishuOutbound.sendMedia;
|
|
2200
|
+
if (mediaUrl && !maybeSendMedia) throw new Error("Feishu media sending is not available.");
|
|
2201
|
+
const sendMedia = maybeSendMedia;
|
|
2202
|
+
let result;
|
|
2203
|
+
if (presentationFellBack && presentation) {
|
|
2204
|
+
const sendPayload = runtime.feishuOutbound.sendPayload;
|
|
2205
|
+
if (!sendPayload) throw new Error("Feishu presentation fallback delivery is not available.");
|
|
2206
|
+
const fallbackText = textCard ? void 0 : text;
|
|
2207
|
+
result = await sendPayload({
|
|
2208
|
+
cfg: ctx.cfg,
|
|
2209
|
+
to,
|
|
2210
|
+
text: fallbackText ?? "",
|
|
2211
|
+
payload: {
|
|
2212
|
+
text: fallbackText,
|
|
2213
|
+
presentation,
|
|
2214
|
+
...mediaUrl ? { mediaUrl } : {},
|
|
2215
|
+
...audioAsVoice === void 0 ? {} : { audioAsVoice }
|
|
2216
|
+
},
|
|
2217
|
+
accountId: ctx.accountId ?? void 0,
|
|
2218
|
+
...ctx.mediaAccess ? { mediaAccess: ctx.mediaAccess } : {},
|
|
2219
|
+
mediaLocalRoots: ctx.mediaLocalRoots,
|
|
2220
|
+
...ctx.mediaReadFile ? { mediaReadFile: ctx.mediaReadFile } : {},
|
|
2221
|
+
...replyInThread ? { threadId: replyToMessageId } : { replyToId: replyToMessageId },
|
|
2222
|
+
...audioAsVoice === void 0 ? {} : { audioAsVoice }
|
|
2223
|
+
});
|
|
2224
|
+
} else if (card) {
|
|
2225
|
+
if (containsLegacyFeishuCardCommandValue(card)) throw new Error("Feishu card buttons that trigger text or commands must use structured interaction envelopes.");
|
|
2226
|
+
result = await runtime.sendCardFeishu({
|
|
2227
|
+
cfg: ctx.cfg,
|
|
2228
|
+
to,
|
|
2229
|
+
card,
|
|
2230
|
+
accountId: ctx.accountId ?? void 0,
|
|
2231
|
+
replyToMessageId,
|
|
2232
|
+
replyInThread
|
|
2233
|
+
});
|
|
2234
|
+
} else if (mediaUrl) result = await sendMedia({
|
|
2235
|
+
cfg: ctx.cfg,
|
|
2236
|
+
to,
|
|
2237
|
+
text: text ?? "",
|
|
2238
|
+
mediaUrl,
|
|
2239
|
+
accountId: ctx.accountId ?? void 0,
|
|
2240
|
+
...ctx.mediaAccess ? { mediaAccess: ctx.mediaAccess } : {},
|
|
2241
|
+
mediaLocalRoots: ctx.mediaLocalRoots,
|
|
2242
|
+
...ctx.mediaReadFile ? { mediaReadFile: ctx.mediaReadFile } : {},
|
|
2243
|
+
...replyInThread ? { threadId: replyToMessageId } : { replyToId: replyToMessageId },
|
|
2244
|
+
...audioAsVoice === true ? { audioAsVoice: true } : {}
|
|
2245
|
+
});
|
|
2246
|
+
else result = await runtime.sendMessageFeishu({
|
|
2247
|
+
cfg: ctx.cfg,
|
|
2248
|
+
to,
|
|
2249
|
+
text,
|
|
2250
|
+
accountId: ctx.accountId ?? void 0,
|
|
2251
|
+
replyToMessageId,
|
|
2252
|
+
replyInThread
|
|
2253
|
+
});
|
|
2254
|
+
return jsonActionResult({
|
|
2255
|
+
ok: true,
|
|
2256
|
+
channel: "feishu",
|
|
2257
|
+
action: ctx.action,
|
|
2258
|
+
...result
|
|
2259
|
+
});
|
|
2260
|
+
}
|
|
2261
|
+
if (ctx.action === "read") {
|
|
2262
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2263
|
+
if (!messageId) throw new Error("Feishu read requires messageId.");
|
|
2264
|
+
const message = await getAuthorizedFeishuMessage({
|
|
2265
|
+
ctx,
|
|
2266
|
+
account,
|
|
2267
|
+
runtime: await loadFeishuChannelRuntime(),
|
|
2268
|
+
messageId
|
|
2269
|
+
});
|
|
2270
|
+
if (!message) return {
|
|
2271
|
+
isError: true,
|
|
2272
|
+
content: [{
|
|
2273
|
+
type: "text",
|
|
2274
|
+
text: JSON.stringify({ error: `Feishu read failed or message not found: ${messageId}` })
|
|
2275
|
+
}],
|
|
2276
|
+
details: { error: `Feishu read failed or message not found: ${messageId}` }
|
|
2277
|
+
};
|
|
2278
|
+
return jsonActionResult({
|
|
2279
|
+
ok: true,
|
|
2280
|
+
channel: "feishu",
|
|
2281
|
+
action: "read",
|
|
2282
|
+
message
|
|
2283
|
+
});
|
|
2284
|
+
}
|
|
2285
|
+
if (ctx.action === "edit") {
|
|
2286
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2287
|
+
if (!messageId) throw new Error("Feishu edit requires messageId.");
|
|
2288
|
+
const text = readFirstString(ctx.params, ["text", "message"]);
|
|
2289
|
+
const card = ctx.params.card && typeof ctx.params.card === "object" ? ctx.params.card : void 0;
|
|
2290
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2291
|
+
await requireAuthorizedFeishuMessage({
|
|
2292
|
+
ctx,
|
|
2293
|
+
account,
|
|
2294
|
+
runtime,
|
|
2295
|
+
messageId
|
|
2296
|
+
});
|
|
2297
|
+
return jsonActionResult({
|
|
2298
|
+
ok: true,
|
|
2299
|
+
channel: "feishu",
|
|
2300
|
+
action: "edit",
|
|
2301
|
+
...await runtime.editMessageFeishu({
|
|
2302
|
+
cfg: ctx.cfg,
|
|
2303
|
+
messageId,
|
|
2304
|
+
text,
|
|
2305
|
+
card,
|
|
2306
|
+
accountId: ctx.accountId ?? void 0
|
|
2307
|
+
})
|
|
2308
|
+
});
|
|
2309
|
+
}
|
|
2310
|
+
if (ctx.action === "pin") {
|
|
2311
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2312
|
+
if (!messageId) throw new Error("Feishu pin requires messageId.");
|
|
2313
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2314
|
+
await requireAuthorizedFeishuMessage({
|
|
2315
|
+
ctx,
|
|
2316
|
+
account,
|
|
2317
|
+
runtime,
|
|
2318
|
+
messageId
|
|
2319
|
+
});
|
|
2320
|
+
return jsonActionResult({
|
|
2321
|
+
ok: true,
|
|
2322
|
+
channel: "feishu",
|
|
2323
|
+
action: "pin",
|
|
2324
|
+
pin: await runtime.createPinFeishu({
|
|
2325
|
+
cfg: ctx.cfg,
|
|
2326
|
+
messageId,
|
|
2327
|
+
accountId: ctx.accountId ?? void 0
|
|
2328
|
+
})
|
|
2329
|
+
});
|
|
2330
|
+
}
|
|
2331
|
+
if (ctx.action === "unpin") {
|
|
2332
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2333
|
+
if (!messageId) throw new Error("Feishu unpin requires messageId.");
|
|
2334
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2335
|
+
await requireAuthorizedFeishuMessage({
|
|
2336
|
+
ctx,
|
|
2337
|
+
account,
|
|
2338
|
+
runtime,
|
|
2339
|
+
messageId
|
|
2340
|
+
});
|
|
2341
|
+
await runtime.removePinFeishu({
|
|
2342
|
+
cfg: ctx.cfg,
|
|
2343
|
+
messageId,
|
|
2344
|
+
accountId: ctx.accountId ?? void 0
|
|
2345
|
+
});
|
|
2346
|
+
return jsonActionResult({
|
|
2347
|
+
ok: true,
|
|
2348
|
+
channel: "feishu",
|
|
2349
|
+
action: "unpin",
|
|
2350
|
+
messageId
|
|
2351
|
+
});
|
|
2352
|
+
}
|
|
2353
|
+
if (ctx.action === "list-pins") {
|
|
2354
|
+
const chatId = resolveFeishuChatId(ctx);
|
|
2355
|
+
if (!chatId) throw new Error("Feishu list-pins requires chatId or channelId.");
|
|
2356
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2357
|
+
await getAuthorizedFeishuChatInfo({
|
|
2358
|
+
ctx,
|
|
2359
|
+
account,
|
|
2360
|
+
runtime,
|
|
2361
|
+
chatId
|
|
2362
|
+
});
|
|
2363
|
+
const { listPinsFeishu } = runtime;
|
|
2364
|
+
return jsonActionResult({
|
|
2365
|
+
ok: true,
|
|
2366
|
+
channel: "feishu",
|
|
2367
|
+
action: "list-pins",
|
|
2368
|
+
...await listPinsFeishu({
|
|
2369
|
+
cfg: ctx.cfg,
|
|
2370
|
+
chatId,
|
|
2371
|
+
startTime: readFirstString(ctx.params, ["startTime", "start_time"]),
|
|
2372
|
+
endTime: readFirstString(ctx.params, ["endTime", "end_time"]),
|
|
2373
|
+
pageSize: readOptionalPositiveInteger(ctx.params, ["pageSize", "page_size"]),
|
|
2374
|
+
pageToken: readFirstString(ctx.params, ["pageToken", "page_token"]),
|
|
2375
|
+
accountId: ctx.accountId ?? void 0
|
|
2376
|
+
})
|
|
2377
|
+
});
|
|
2378
|
+
}
|
|
2379
|
+
if (ctx.action === "channel-info") {
|
|
2380
|
+
const chatId = resolveFeishuChatId(ctx);
|
|
2381
|
+
if (!chatId) throw new Error("Feishu channel-info requires chatId or channelId.");
|
|
2382
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2383
|
+
const { chat: channel, client } = await getAuthorizedFeishuChatInfo({
|
|
2384
|
+
ctx,
|
|
2385
|
+
account,
|
|
2386
|
+
runtime,
|
|
2387
|
+
chatId
|
|
2388
|
+
});
|
|
2389
|
+
const chatType = resolveFeishuChatType(channel);
|
|
2390
|
+
if (!(ctx.params.includeMembers === true || ctx.params.members === true)) return jsonActionResult({
|
|
2391
|
+
ok: true,
|
|
2392
|
+
provider: "feishu",
|
|
2393
|
+
action: "channel-info",
|
|
2394
|
+
channel
|
|
2395
|
+
});
|
|
2396
|
+
const requestedMemberIdType = resolveRequestedFeishuMemberIdType(ctx.params);
|
|
2397
|
+
const authorization = authorizeFeishuChatMemberRead({
|
|
2398
|
+
cfg: ctx.cfg,
|
|
2399
|
+
account,
|
|
2400
|
+
chatId,
|
|
2401
|
+
chatType,
|
|
2402
|
+
ctx,
|
|
2403
|
+
memberIdType: requestedMemberIdType
|
|
2404
|
+
});
|
|
2405
|
+
return jsonActionResult({
|
|
2406
|
+
ok: true,
|
|
2407
|
+
provider: "feishu",
|
|
2408
|
+
action: "channel-info",
|
|
2409
|
+
channel,
|
|
2410
|
+
members: authorization.kind === "direct" ? runtime.buildFeishuDirectChatMembers(authorization) : await runtime.getChatMembers(client, chatId, readOptionalPositiveInteger(ctx.params, ["pageSize", "page_size"]), readFirstString(ctx.params, ["pageToken", "page_token"]), resolveFeishuMemberIdType(ctx.params))
|
|
2411
|
+
});
|
|
2412
|
+
}
|
|
2413
|
+
if (ctx.action === "member-info") {
|
|
2414
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2415
|
+
const memberId = resolveFeishuMemberId(ctx.params);
|
|
2416
|
+
if (memberId) {
|
|
2417
|
+
const chatId = resolveFeishuChatId(ctx);
|
|
2418
|
+
if (!chatId) throw new Error("Feishu member-info requires chatId or channelId when memberId is provided.");
|
|
2419
|
+
const { chat, client } = await getAuthorizedFeishuChatInfo({
|
|
2420
|
+
ctx,
|
|
2421
|
+
account,
|
|
2422
|
+
runtime,
|
|
2423
|
+
chatId
|
|
2424
|
+
});
|
|
2425
|
+
const requestedMemberIdType = resolveRequestedFeishuMemberIdType(ctx.params);
|
|
2426
|
+
const memberIdType = resolveFeishuMemberIdType(ctx.params);
|
|
2427
|
+
const authorization = authorizeFeishuChatMemberRead({
|
|
2428
|
+
cfg: ctx.cfg,
|
|
2429
|
+
account,
|
|
2430
|
+
chatId,
|
|
2431
|
+
chatType: resolveFeishuChatType(chat),
|
|
2432
|
+
ctx,
|
|
2433
|
+
memberId,
|
|
2434
|
+
memberIdType: requestedMemberIdType
|
|
2435
|
+
});
|
|
2436
|
+
if (authorization.kind === "group") {
|
|
2437
|
+
await runtime.assertFeishuChatMember(client, chatId, memberId, memberIdType);
|
|
2438
|
+
return jsonActionResult({
|
|
2439
|
+
ok: true,
|
|
2440
|
+
channel: "feishu",
|
|
2441
|
+
action: "member-info",
|
|
2442
|
+
member: await runtime.getFeishuMemberInfo(client, memberId, memberIdType)
|
|
2443
|
+
});
|
|
2444
|
+
}
|
|
2445
|
+
return jsonActionResult({
|
|
2446
|
+
ok: true,
|
|
2447
|
+
channel: "feishu",
|
|
2448
|
+
action: "member-info",
|
|
2449
|
+
member: await runtime.getFeishuMemberInfo(client, authorization.memberId, authorization.memberIdType)
|
|
2450
|
+
});
|
|
2451
|
+
}
|
|
2452
|
+
const chatId = resolveFeishuChatId(ctx);
|
|
2453
|
+
if (!chatId) throw new Error("Feishu member-info requires memberId or chatId/channelId.");
|
|
2454
|
+
const { chat, client } = await getAuthorizedFeishuChatInfo({
|
|
2455
|
+
ctx,
|
|
2456
|
+
account,
|
|
2457
|
+
runtime,
|
|
2458
|
+
chatId
|
|
2459
|
+
});
|
|
2460
|
+
const requestedMemberIdType = resolveRequestedFeishuMemberIdType(ctx.params);
|
|
2461
|
+
const authorization = authorizeFeishuChatMemberRead({
|
|
2462
|
+
cfg: ctx.cfg,
|
|
2463
|
+
account,
|
|
2464
|
+
chatId,
|
|
2465
|
+
chatType: resolveFeishuChatType(chat),
|
|
2466
|
+
ctx,
|
|
2467
|
+
memberIdType: requestedMemberIdType
|
|
2468
|
+
});
|
|
2469
|
+
return jsonActionResult({
|
|
2470
|
+
ok: true,
|
|
2471
|
+
channel: "feishu",
|
|
2472
|
+
action: "member-info",
|
|
2473
|
+
...authorization.kind === "direct" ? runtime.buildFeishuDirectChatMembers(authorization) : await runtime.getChatMembers(client, chatId, readOptionalPositiveInteger(ctx.params, ["pageSize", "page_size"]), readFirstString(ctx.params, ["pageToken", "page_token"]), resolveFeishuMemberIdType(ctx.params))
|
|
2474
|
+
});
|
|
2475
|
+
}
|
|
2476
|
+
if (ctx.action === "channel-list") {
|
|
2477
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2478
|
+
const query = readFirstString(ctx.params, ["query"]);
|
|
2479
|
+
const limit = readOptionalPositiveInteger(ctx.params, ["limit"]);
|
|
2480
|
+
const scope = readFirstString(ctx.params, ["scope", "kind"]) ?? "all";
|
|
2481
|
+
const directOperator = ctx.conversationReadOrigin === "direct-operator";
|
|
2482
|
+
const listGroups = directOperator || canEnumerateAllFeishuGroups(ctx.cfg, account) ? runtime.listFeishuDirectoryGroupsLive : listAuthorizedFeishuDirectoryGroups;
|
|
2483
|
+
const listPeers = directOperator || canEnumerateAllFeishuPeers(account) ? runtime.listFeishuDirectoryPeersLive : listAuthorizedFeishuDirectoryPeers;
|
|
2484
|
+
const directoryParams = {
|
|
2485
|
+
cfg: ctx.cfg,
|
|
2486
|
+
query,
|
|
2487
|
+
limit,
|
|
2488
|
+
accountId: ctx.accountId ?? void 0,
|
|
2489
|
+
fallbackToStatic: false
|
|
2490
|
+
};
|
|
2491
|
+
const groupDirectoryParams = {
|
|
2492
|
+
...directoryParams,
|
|
2493
|
+
filter: directOperator ? (group) => isFeishuGroupReadEnabled(ctx.cfg, account, group.id) : canEnumerateAllFeishuGroups(ctx.cfg, account) ? (group) => isFeishuGroupReadAllowed(ctx.cfg, account, group.id, false) : void 0
|
|
2494
|
+
};
|
|
2495
|
+
if (scope === "groups" || scope === "group" || scope === "channels" || scope === "channel") return jsonActionResult({
|
|
2496
|
+
ok: true,
|
|
2497
|
+
channel: "feishu",
|
|
2498
|
+
action: "channel-list",
|
|
2499
|
+
groups: await listGroups(groupDirectoryParams)
|
|
2500
|
+
});
|
|
2501
|
+
if (scope === "peers" || scope === "peer" || scope === "members" || scope === "member" || scope === "users" || scope === "user") return jsonActionResult({
|
|
2502
|
+
ok: true,
|
|
2503
|
+
channel: "feishu",
|
|
2504
|
+
action: "channel-list",
|
|
2505
|
+
peers: await listPeers(directoryParams)
|
|
2506
|
+
});
|
|
2507
|
+
const [groups, peers] = await Promise.all([listGroups(groupDirectoryParams), listPeers(directoryParams)]);
|
|
2508
|
+
return jsonActionResult({
|
|
2509
|
+
ok: true,
|
|
2510
|
+
channel: "feishu",
|
|
2511
|
+
action: "channel-list",
|
|
2512
|
+
groups,
|
|
2513
|
+
peers
|
|
2514
|
+
});
|
|
2515
|
+
}
|
|
2516
|
+
if (ctx.action === "react") {
|
|
2517
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2518
|
+
if (!messageId) throw new Error("Feishu reaction requires messageId.");
|
|
2519
|
+
const emoji = typeof ctx.params.emoji === "string" ? ctx.params.emoji.trim() : "";
|
|
2520
|
+
const remove = ctx.params.remove === true;
|
|
2521
|
+
const clearAll = ctx.params.clearAll === true;
|
|
2522
|
+
if (remove) {
|
|
2523
|
+
if (!emoji) throw new Error("Emoji is required to remove a Feishu reaction.");
|
|
2524
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2525
|
+
await requireAuthorizedFeishuMessage({
|
|
2526
|
+
ctx,
|
|
2527
|
+
account,
|
|
2528
|
+
runtime,
|
|
2529
|
+
messageId
|
|
2530
|
+
});
|
|
2531
|
+
const ownReaction = (await runtime.listReactionsFeishu({
|
|
2532
|
+
cfg: ctx.cfg,
|
|
2533
|
+
messageId,
|
|
2534
|
+
emojiType: emoji,
|
|
2535
|
+
accountId: ctx.accountId ?? void 0
|
|
2536
|
+
})).find((entry) => entry.operatorType === "app" && Boolean(account.appId) && entry.operatorId === account.appId);
|
|
2537
|
+
if (!ownReaction) return jsonActionResult({
|
|
2538
|
+
ok: true,
|
|
2539
|
+
removed: null
|
|
2540
|
+
});
|
|
2541
|
+
await runtime.removeReactionFeishu({
|
|
2542
|
+
cfg: ctx.cfg,
|
|
2543
|
+
messageId,
|
|
2544
|
+
reactionId: ownReaction.reactionId,
|
|
2545
|
+
accountId: ctx.accountId ?? void 0
|
|
2546
|
+
});
|
|
2547
|
+
return jsonActionResult({
|
|
2548
|
+
ok: true,
|
|
2549
|
+
removed: emoji
|
|
2550
|
+
});
|
|
2551
|
+
}
|
|
2552
|
+
if (!emoji) {
|
|
2553
|
+
if (!clearAll) throw new Error("Emoji is required to add a Feishu reaction. Set clearAll=true to remove all bot reactions.");
|
|
2554
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2555
|
+
await requireAuthorizedFeishuMessage({
|
|
2556
|
+
ctx,
|
|
2557
|
+
account,
|
|
2558
|
+
runtime,
|
|
2559
|
+
messageId
|
|
2560
|
+
});
|
|
2561
|
+
const reactions = await runtime.listReactionsFeishu({
|
|
2562
|
+
cfg: ctx.cfg,
|
|
2563
|
+
messageId,
|
|
2564
|
+
accountId: ctx.accountId ?? void 0
|
|
2565
|
+
});
|
|
2566
|
+
let removed = 0;
|
|
2567
|
+
const ownReactions = reactions.filter((entry) => entry.operatorType === "app" && Boolean(account.appId) && entry.operatorId === account.appId);
|
|
2568
|
+
for (const reaction of ownReactions) {
|
|
2569
|
+
await runtime.removeReactionFeishu({
|
|
2570
|
+
cfg: ctx.cfg,
|
|
2571
|
+
messageId,
|
|
2572
|
+
reactionId: reaction.reactionId,
|
|
2573
|
+
accountId: ctx.accountId ?? void 0
|
|
2574
|
+
});
|
|
2575
|
+
removed += 1;
|
|
2576
|
+
}
|
|
2577
|
+
return jsonActionResult({
|
|
2578
|
+
ok: true,
|
|
2579
|
+
removed
|
|
2580
|
+
});
|
|
2581
|
+
}
|
|
2582
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2583
|
+
await requireAuthorizedFeishuMessage({
|
|
2584
|
+
ctx,
|
|
2585
|
+
account,
|
|
2586
|
+
runtime,
|
|
2587
|
+
messageId
|
|
2588
|
+
});
|
|
2589
|
+
await runtime.addReactionFeishu({
|
|
2590
|
+
cfg: ctx.cfg,
|
|
2591
|
+
messageId,
|
|
2592
|
+
emojiType: emoji,
|
|
2593
|
+
accountId: ctx.accountId ?? void 0
|
|
2594
|
+
});
|
|
2595
|
+
return jsonActionResult({
|
|
2596
|
+
ok: true,
|
|
2597
|
+
added: emoji
|
|
2598
|
+
});
|
|
2599
|
+
}
|
|
2600
|
+
if (ctx.action === "reactions") {
|
|
2601
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2602
|
+
if (!messageId) throw new Error("Feishu reactions lookup requires messageId.");
|
|
2603
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2604
|
+
await requireAuthorizedFeishuMessage({
|
|
2605
|
+
ctx,
|
|
2606
|
+
account,
|
|
2607
|
+
runtime,
|
|
2608
|
+
messageId
|
|
2609
|
+
});
|
|
2610
|
+
return jsonActionResult({
|
|
2611
|
+
ok: true,
|
|
2612
|
+
reactions: await runtime.listReactionsFeishu({
|
|
2613
|
+
cfg: ctx.cfg,
|
|
2614
|
+
messageId,
|
|
2615
|
+
accountId: ctx.accountId ?? void 0
|
|
2616
|
+
})
|
|
2617
|
+
});
|
|
2618
|
+
}
|
|
2619
|
+
throw new Error(`Unsupported Feishu action: "${ctx.action}"`);
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
bindings: {
|
|
2623
|
+
compileConfiguredBinding: ({ conversationId }) => normalizeFeishuAcpConversationId(conversationId),
|
|
2624
|
+
matchInboundConversation: ({ compiledBinding, conversationId, parentConversationId }) => matchFeishuAcpConversation({
|
|
2625
|
+
bindingConversationId: compiledBinding.conversationId,
|
|
2626
|
+
conversationId,
|
|
2627
|
+
parentConversationId
|
|
2628
|
+
}),
|
|
2629
|
+
resolveCommandConversation: ({ accountId, threadId, senderId, sessionKey, parentSessionKey, originatingTo, commandTo, fallbackTo }) => resolveFeishuCommandConversation({
|
|
2630
|
+
accountId,
|
|
2631
|
+
threadId,
|
|
2632
|
+
senderId,
|
|
2633
|
+
sessionKey,
|
|
2634
|
+
parentSessionKey,
|
|
2635
|
+
originatingTo,
|
|
2636
|
+
commandTo,
|
|
2637
|
+
fallbackTo
|
|
2638
|
+
})
|
|
2639
|
+
},
|
|
2640
|
+
auth: { login: async ({ cfg }) => {
|
|
2641
|
+
const { createClackPrompter } = await import("openclaw/plugin-sdk/setup-runtime");
|
|
2642
|
+
const { replaceConfigFile } = await import("openclaw/plugin-sdk/config-mutation");
|
|
2643
|
+
const nextCfg = await runFeishuLogin({
|
|
2644
|
+
cfg,
|
|
2645
|
+
prompter: createClackPrompter()
|
|
2646
|
+
});
|
|
2647
|
+
if (nextCfg !== cfg) await replaceConfigFile({
|
|
2648
|
+
nextConfig: nextCfg,
|
|
2649
|
+
afterWrite: { mode: "auto" }
|
|
2650
|
+
});
|
|
2651
|
+
} },
|
|
2652
|
+
setupContract: feishuSetupContract,
|
|
2653
|
+
setupWizard: feishuSetupWizard,
|
|
2654
|
+
messaging: {
|
|
2655
|
+
targetPrefixes: ["feishu", "lark"],
|
|
2656
|
+
normalizeTarget: (raw) => normalizeFeishuTarget(raw) ?? void 0,
|
|
2657
|
+
inferTargetChatType: ({ to }) => resolveReceiveIdType(to) === "chat_id" ? "group" : "direct",
|
|
2658
|
+
resolveDeliveryTarget: ({ conversationId, parentConversationId }) => {
|
|
2659
|
+
const directId = parseFeishuDirectConversationId(conversationId);
|
|
2660
|
+
if (directId) return { to: `user:${directId}` };
|
|
2661
|
+
const parsed = parseFeishuConversationId({
|
|
2662
|
+
conversationId,
|
|
2663
|
+
parentConversationId
|
|
2664
|
+
});
|
|
2665
|
+
if (parsed?.topicId) return {
|
|
2666
|
+
to: `chat:${parentConversationId?.trim() || parsed.chatId}`,
|
|
2667
|
+
threadId: parsed.topicId
|
|
2668
|
+
};
|
|
2669
|
+
return { to: `chat:${parsed?.chatId ?? conversationId.trim()}` };
|
|
2670
|
+
},
|
|
2671
|
+
resolveSessionConversation: resolveFeishuSessionConversation,
|
|
2672
|
+
resolveOutboundSessionRoute: (params) => resolveFeishuOutboundSessionRoute(params),
|
|
2673
|
+
targetResolver: {
|
|
2674
|
+
looksLikeId: looksLikeFeishuId,
|
|
2675
|
+
hint: "<chatId|user:openId|chat:chatId>"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
directory: createChannelDirectoryAdapter({
|
|
2679
|
+
listPeers: async ({ cfg, query, limit, accountId }) => listFeishuDirectoryPeers({
|
|
2680
|
+
cfg,
|
|
2681
|
+
query: query ?? void 0,
|
|
2682
|
+
limit: limit ?? void 0,
|
|
2683
|
+
accountId: accountId ?? void 0
|
|
2684
|
+
}),
|
|
2685
|
+
listGroups: async ({ cfg, query, limit, accountId }) => listFeishuDirectoryGroups({
|
|
2686
|
+
cfg,
|
|
2687
|
+
query: query ?? void 0,
|
|
2688
|
+
limit: limit ?? void 0,
|
|
2689
|
+
accountId: accountId ?? void 0
|
|
2690
|
+
}),
|
|
2691
|
+
...createRuntimeDirectoryLiveAdapter({
|
|
2692
|
+
getRuntime: loadFeishuChannelRuntime,
|
|
2693
|
+
listPeersLive: (runtime) => async ({ cfg, query, limit, accountId }) => await runtime.listFeishuDirectoryPeersLive({
|
|
2694
|
+
cfg,
|
|
2695
|
+
query: query ?? void 0,
|
|
2696
|
+
limit: limit ?? void 0,
|
|
2697
|
+
accountId: accountId ?? void 0
|
|
2698
|
+
}),
|
|
2699
|
+
listGroupsLive: (runtime) => async ({ cfg, query, limit, accountId }) => await runtime.listFeishuDirectoryGroupsLive({
|
|
2700
|
+
cfg,
|
|
2701
|
+
query: query ?? void 0,
|
|
2702
|
+
limit: limit ?? void 0,
|
|
2703
|
+
accountId: accountId ?? void 0
|
|
2704
|
+
})
|
|
2705
|
+
})
|
|
2706
|
+
}),
|
|
2707
|
+
status: createComputedAccountStatusAdapter({
|
|
2708
|
+
defaultRuntime: createDefaultChannelRuntimeState(DEFAULT_ACCOUNT_ID$3, { port: null }),
|
|
2709
|
+
buildChannelSummary: ({ snapshot }) => buildProbeChannelStatusSummary(snapshot, { port: snapshot.port ?? null }),
|
|
2710
|
+
probeAccount: async ({ account }) => await (await loadFeishuChannelRuntime()).probeFeishu(account),
|
|
2711
|
+
resolveAccountSnapshot: ({ account, runtime }) => ({
|
|
2712
|
+
accountId: account.accountId,
|
|
2713
|
+
enabled: account.enabled,
|
|
2714
|
+
configured: account.configured,
|
|
2715
|
+
name: account.name,
|
|
2716
|
+
extra: {
|
|
2717
|
+
appId: account.appId,
|
|
2718
|
+
domain: account.domain,
|
|
2719
|
+
port: runtime?.port ?? null
|
|
2720
|
+
}
|
|
2721
|
+
})
|
|
2722
|
+
}),
|
|
2723
|
+
gateway: { startAccount: async (ctx) => {
|
|
2724
|
+
const { monitorFeishuProvider } = await import("./monitor-CeHCfROt.js");
|
|
2725
|
+
const account = resolveFeishuRuntimeAccount({
|
|
2726
|
+
cfg: ctx.cfg,
|
|
2727
|
+
accountId: ctx.accountId
|
|
2728
|
+
}, { requireEventSecrets: true });
|
|
2729
|
+
const port = account.config?.webhookPort ?? null;
|
|
2730
|
+
ctx.setStatus({
|
|
2731
|
+
accountId: ctx.accountId,
|
|
2732
|
+
port
|
|
2733
|
+
});
|
|
2734
|
+
ctx.log?.info(`starting feishu[${ctx.accountId}] (mode: ${account.config?.connectionMode ?? "websocket"})`);
|
|
2735
|
+
const statusSink = createAccountStatusSink({
|
|
2736
|
+
accountId: ctx.accountId,
|
|
2737
|
+
setStatus: ctx.setStatus
|
|
2738
|
+
});
|
|
2739
|
+
return monitorFeishuProvider({
|
|
2740
|
+
config: ctx.cfg,
|
|
2741
|
+
runtime: ctx.runtime,
|
|
2742
|
+
channelRuntime: ctx.channelRuntime,
|
|
2743
|
+
abortSignal: ctx.abortSignal,
|
|
2744
|
+
accountId: ctx.accountId,
|
|
2745
|
+
statusSink
|
|
2746
|
+
});
|
|
2747
|
+
} },
|
|
2748
|
+
message: feishuMessageAdapter
|
|
2749
|
+
},
|
|
2750
|
+
security: {
|
|
2751
|
+
collectWarnings: projectConfigAccountIdWarningCollector(collectFeishuSecurityWarnings),
|
|
2752
|
+
collectAuditFindings: ({ cfg }) => collectFeishuSecurityAuditFindings({ cfg })
|
|
2753
|
+
},
|
|
2754
|
+
pairing: { text: {
|
|
2755
|
+
idLabel: "feishuUserId",
|
|
2756
|
+
message: PAIRING_APPROVED_MESSAGE,
|
|
2757
|
+
normalizeAllowEntry: createPairingPrefixStripper(/^(feishu|user|open_id):/i),
|
|
2758
|
+
notify: async ({ cfg, id, message, accountId }) => {
|
|
2759
|
+
const { sendMessageFeishu } = await loadFeishuChannelRuntime();
|
|
2760
|
+
await sendMessageFeishu({
|
|
2761
|
+
cfg,
|
|
2762
|
+
to: id,
|
|
2763
|
+
text: message,
|
|
2764
|
+
accountId
|
|
2765
|
+
});
|
|
2766
|
+
}
|
|
2767
|
+
} },
|
|
2768
|
+
threading: { buildToolContext: ({ context, hasRepliedRef }) => ({
|
|
2769
|
+
currentChannelId: normalizeOptionalString(context.NativeChannelId) ?? normalizeOptionalString(context.To),
|
|
2770
|
+
currentChatType: context.ChatType === "direct" || context.ChatType === "group" || context.ChatType === "channel" ? context.ChatType : void 0,
|
|
2771
|
+
currentMessagingTarget: normalizeOptionalString(context.To),
|
|
2772
|
+
currentThreadTs: context.MessageThreadId != null ? String(context.MessageThreadId) : void 0,
|
|
2773
|
+
hasRepliedRef
|
|
2774
|
+
}) },
|
|
2775
|
+
outbound: {
|
|
2776
|
+
deliveryMode: "direct",
|
|
2777
|
+
chunker: chunkFeishuMarkdown,
|
|
2778
|
+
chunkerMode: "markdown",
|
|
2779
|
+
textChunkLimit: 4e3,
|
|
2780
|
+
sanitizeText: ({ text }) => sanitizeAssistantVisibleText(text),
|
|
2781
|
+
presentationCapabilities: {
|
|
2782
|
+
supported: true,
|
|
2783
|
+
buttons: true,
|
|
2784
|
+
selects: false,
|
|
2785
|
+
context: true,
|
|
2786
|
+
divider: true,
|
|
2787
|
+
limits: {
|
|
2788
|
+
actions: {
|
|
2789
|
+
maxActions: 20,
|
|
2790
|
+
maxActionsPerRow: 5,
|
|
2791
|
+
maxLabelLength: 40,
|
|
2792
|
+
maxValueBytes: 1024
|
|
2793
|
+
},
|
|
2794
|
+
text: {
|
|
2795
|
+
maxLength: 4e3,
|
|
2796
|
+
encoding: "characters",
|
|
2797
|
+
markdownDialect: "markdown"
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
},
|
|
2801
|
+
renderPresentation: async (ctx) => {
|
|
2802
|
+
const renderPresentation = (await loadFeishuChannelRuntime()).feishuOutbound.renderPresentation;
|
|
2803
|
+
return renderPresentation ? await renderPresentation(ctx) : null;
|
|
2804
|
+
},
|
|
2805
|
+
sendPayload: async (ctx) => {
|
|
2806
|
+
const sendPayload = (await loadFeishuChannelRuntime()).feishuOutbound.sendPayload;
|
|
2807
|
+
if (!sendPayload) throw new Error("Feishu payload sending is not available.");
|
|
2808
|
+
return await sendPayload(ctx);
|
|
2809
|
+
},
|
|
2810
|
+
...createRuntimeOutboundDelegates({
|
|
2811
|
+
getRuntime: loadFeishuChannelRuntime,
|
|
2812
|
+
sendText: { resolve: (runtime) => runtime.feishuOutbound.sendText },
|
|
2813
|
+
sendMedia: { resolve: (runtime) => runtime.feishuOutbound.sendMedia }
|
|
2814
|
+
})
|
|
2815
|
+
}
|
|
2816
|
+
});
|
|
2817
|
+
//#endregion
|
|
2818
|
+
export { setFeishuNamedAccountEnabled as a, isFeishuCardWithinEnvelope as c, feishuSetupAdapter as i, listFeishuDirectoryGroups as l, feishuSetupWizard as n, assertFeishuCardWithinEnvelope as o, runFeishuLogin as r, buildFeishuPresentationCardElements as s, feishuPlugin as t, listFeishuDirectoryPeers as u };
|