@openclaw/feishu 2026.9.6 → 2026.9.7
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/assets/icon.png +0 -0
- package/dist/.setup/accounts-wRqItHug.mjs +206 -0
- package/dist/.setup/app-registration-BB6TubaW.mjs +194 -0
- package/dist/.setup/channel-DV4hM2Uf.mjs +3042 -0
- package/dist/.setup/channel.runtime-CXQcH5zZ.mjs +230 -0
- package/dist/.setup/chat-D8MlFAZi.mjs +224 -0
- package/dist/.setup/client-BYG-_IZl.mjs +351 -0
- package/dist/.setup/conversation-id-C1ofUfU8.mjs +133 -0
- package/dist/.setup/doctor-contract-3XC0vbIw.mjs +661 -0
- package/dist/.setup/message-action-contract-Bhxj8Zrf.mjs +22 -0
- package/dist/.setup/monitor-D_rsHBZ6.mjs +204 -0
- package/dist/.setup/monitor.account-DvvY7i6k.mjs +6905 -0
- package/dist/.setup/probe-_ViqSi0j.mjs +208 -0
- package/dist/.setup/reply-delivery-result-COAjaukc.mjs +3490 -0
- package/dist/.setup/secret-contract-CI1wCr9i.mjs +60 -0
- package/dist/.setup/secret-contract-api-o4CeT4nP.mjs +3 -0
- package/dist/.setup/security-audit-b86aSgH2.mjs +34 -0
- package/dist/.setup/session-conversation-C53IEUWt.mjs +27 -0
- package/dist/.setup/setup-api-C4S5I3ac.mjs +3 -0
- package/dist/.setup/subagent-hooks-BaFoMu8W.mjs +129 -0
- package/dist/.setup/thread-bindings-EdLXPXzw.mjs +229 -0
- package/dist/api.js +401 -732
- package/dist/channel-plugin-api.js +1 -1
- package/dist/contract-api.js +3 -3
- package/dist/doctor-contract-api.js +1 -1
- package/dist/runtime-api.js +2 -10
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/session-key-api.js +1 -1
- package/dist/setup-api.js +1 -1
- package/dist/setup-entry.js +2 -2
- package/dist/subagent-hooks-api.js +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/README.md +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/es/index.js +33 -1
- package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +33 -1
- package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/types/index.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/CHANGELOG.md +1289 -0
- package/node_modules/@openclaw/fs-safe/LICENSE +22 -0
- package/node_modules/@openclaw/fs-safe/README.md +672 -0
- package/node_modules/@openclaw/fs-safe/SECURITY.md +45 -0
- package/node_modules/@openclaw/fs-safe/dist/absolute-path.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +323 -0
- package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +41 -0
- package/node_modules/@openclaw/fs-safe/dist/advanced.js +40 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-crc32.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-crc32.js +19 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-deadline.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-deadline.js +101 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-durability.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +180 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-entry.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-entry.js +85 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-errors.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-errors.js +23 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.js +99 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-input.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-input.js +98 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-kind.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-kind.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-limits.d.ts +56 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-limits.js +131 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-merge.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +282 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.js +12 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-plan.d.ts +85 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-plan.js +119 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-read.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-read.js +234 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +308 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.d.ts +27 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.js +127 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.js +203 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.js +96 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.js +160 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.d.ts +21 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.js +267 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.js +10 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.js +150 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.js +24 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.js +149 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.js +21 -0
- package/node_modules/@openclaw/fs-safe/dist/archive.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/archive.js +332 -0
- package/node_modules/@openclaw/fs-safe/dist/async-lock.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/async-lock.js +17 -0
- package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/atomic.js +4 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.js +15 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read.js +143 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-budget.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-budget.js +9 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-view.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-view.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/clone-metadata.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/clone-metadata.js +36 -0
- package/node_modules/@openclaw/fs-safe/dist/config.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/config.js +2 -0
- package/node_modules/@openclaw/fs-safe/dist/containment.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/containment.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-file-input.d.ts +21 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-file-input.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-policy.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-policy.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-publication.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-publication.js +29 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.js +245 -0
- package/node_modules/@openclaw/fs-safe/dist/copy.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/copy.js +143 -0
- package/node_modules/@openclaw/fs-safe/dist/create-owned-file.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/create-owned-file.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/create.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/create.js +388 -0
- package/node_modules/@openclaw/fs-safe/dist/creation-boundary.d.ts +60 -0
- package/node_modules/@openclaw/fs-safe/dist/creation-boundary.js +371 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutations.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutations.js +96 -0
- package/node_modules/@openclaw/fs-safe/dist/device-path.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/device-path.js +139 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-durability.d.ts +43 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-durability.js +286 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.js +21 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-guard.d.ts +54 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-guard.js +176 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +285 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-receipt.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-receipt.js +121 -0
- package/node_modules/@openclaw/fs-safe/dist/durability.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/durability.js +3 -0
- package/node_modules/@openclaw/fs-safe/dist/effective-uid.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/effective-uid.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/error-detail.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/error-detail.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/errors.js +27 -0
- package/node_modules/@openclaw/fs-safe/dist/file-cleanup.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/file-cleanup.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/file-contents.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/file-contents.js +40 -0
- package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.js +190 -0
- package/node_modules/@openclaw/fs-safe/dist/file-hash.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/file-hash.js +296 -0
- package/node_modules/@openclaw/fs-safe/dist/file-identity.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/file-identity.js +56 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.js +98 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +58 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +303 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +66 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.js +392 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.d.ts +40 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.js +209 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.js +275 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.js +58 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.js +90 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.js +288 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +199 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.js +341 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock.js +66 -0
- package/node_modules/@openclaw/fs-safe/dist/file-observation.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/file-observation.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +174 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +110 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +319 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +128 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +62 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store.js +360 -0
- package/node_modules/@openclaw/fs-safe/dist/file-sync.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/file-sync.js +19 -0
- package/node_modules/@openclaw/fs-safe/dist/filename.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/filename.js +138 -0
- package/node_modules/@openclaw/fs-safe/dist/fs.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/fs.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +281 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.js +68 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-native-python.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +127 -0
- package/node_modules/@openclaw/fs-safe/dist/guest.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/guest.js +433 -0
- package/node_modules/@openclaw/fs-safe/dist/home-dir.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/home-dir.js +149 -0
- package/node_modules/@openclaw/fs-safe/dist/index.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/index.js +5 -0
- package/node_modules/@openclaw/fs-safe/dist/install-path.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/install-path.js +136 -0
- package/node_modules/@openclaw/fs-safe/dist/json-document-store.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/json-document-store.js +105 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.js +154 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.js +355 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.js +65 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.d.ts +44 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.js +210 -0
- package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/json-store.js +15 -0
- package/node_modules/@openclaw/fs-safe/dist/json-stringify.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/json-stringify.js +7 -0
- package/node_modules/@openclaw/fs-safe/dist/json.d.ts +49 -0
- package/node_modules/@openclaw/fs-safe/dist/json.js +323 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-access.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-access.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.js +84 -0
- package/node_modules/@openclaw/fs-safe/dist/local-roots.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/local-roots.js +160 -0
- package/node_modules/@openclaw/fs-safe/dist/lock-config.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/lock-config.js +12 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.d.ts +30 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.js +224 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-stage.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-stage.js +56 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path.js +390 -0
- package/node_modules/@openclaw/fs-safe/dist/mutation-authority.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/mutation-authority.js +41 -0
- package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +199 -0
- package/node_modules/@openclaw/fs-safe/dist/native-binding.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/native-config.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/native-config.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.js +37 -0
- package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.js +11 -0
- package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/native-operations.js +111 -0
- package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.js +147 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +252 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +478 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.js +61 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.js +209 -0
- package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +45 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +442 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.js +303 -0
- package/node_modules/@openclaw/fs-safe/dist/native.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/native.js +209 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.js +46 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-realpath.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-realpath.js +102 -0
- package/node_modules/@openclaw/fs-safe/dist/output.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/output.js +139 -0
- package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +46 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.js +54 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.js +64 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl.js +39 -0
- package/node_modules/@openclaw/fs-safe/dist/path-case.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/path-case.js +136 -0
- package/node_modules/@openclaw/fs-safe/dist/path-policy.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/path-policy.js +49 -0
- package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +104 -0
- package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.js +37 -0
- package/node_modules/@openclaw/fs-safe/dist/path-segment-route.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/path-segment-route.js +24 -0
- package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.js +394 -0
- package/node_modules/@openclaw/fs-safe/dist/path.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/path.js +185 -0
- package/node_modules/@openclaw/fs-safe/dist/permission-exec.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +194 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-public.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-public.js +4 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-windows.d.ts +48 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-windows.js +319 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions.d.ts +52 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions.js +131 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.js +421 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.d.ts +38 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.js +205 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.js +70 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-open.d.ts +30 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-open.js +98 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-operation.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-operation.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +35 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.js +31 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.js +185 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +68 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write.js +300 -0
- package/node_modules/@openclaw/fs-safe/dist/positional-read.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/positional-read.js +36 -0
- package/node_modules/@openclaw/fs-safe/dist/private-directory.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/private-directory.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.js +72 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.d.ts +53 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.js +358 -0
- package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +341 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.js +60 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.d.ts +27 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file.js +332 -0
- package/node_modules/@openclaw/fs-safe/dist/read-open-flags.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/read-open-flags.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/read-opened-file.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/read-opened-file.js +18 -0
- package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/realpath.js +43 -0
- package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/regular-file.d.ts +37 -0
- package/node_modules/@openclaw/fs-safe/dist/regular-file.js +317 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-directory.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-directory.js +275 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.js +36 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +369 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.js +101 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +46 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +168 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.d.ts +21 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.js +123 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.js +10 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.d.ts +26 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.js +47 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.d.ts +49 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.js +368 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +55 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file.js +356 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.d.ts +26 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.js +193 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file-types.d.ts +50 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file.js +121 -0
- package/node_modules/@openclaw/fs-safe/dist/root-boundary.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/root-boundary.js +186 -0
- package/node_modules/@openclaw/fs-safe/dist/root-context.d.ts +43 -0
- package/node_modules/@openclaw/fs-safe/dist/root-context.js +233 -0
- package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +93 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.js +225 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +28 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +46 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +433 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory.js +141 -0
- package/node_modules/@openclaw/fs-safe/dist/root-entries.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/root-entries.js +61 -0
- package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-errors.js +92 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file.d.ts +46 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file.js +205 -0
- package/node_modules/@openclaw/fs-safe/dist/root-handle-context.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/root-handle-context.js +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-impl.d.ts +117 -0
- package/node_modules/@openclaw/fs-safe/dist/root-impl.js +1446 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.js +205 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-observed-path.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/root-observed-path.js +90 -0
- package/node_modules/@openclaw/fs-safe/dist/root-options.d.ts +84 -0
- package/node_modules/@openclaw/fs-safe/dist/root-options.js +18 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-errors.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-errors.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +160 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-observation.d.ts +55 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-observation.js +180 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-stat.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-stat.js +151 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path.d.ts +53 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path.js +440 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths.d.ts +58 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths.js +296 -0
- package/node_modules/@openclaw/fs-safe/dist/root-public-types.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/root-public-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/root-read-admission.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/root-read-admission.js +86 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.js +87 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.js +37 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove.js +464 -0
- package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.js +34 -0
- package/node_modules/@openclaw/fs-safe/dist/root-walk.d.ts +48 -0
- package/node_modules/@openclaw/fs-safe/dist/root-walk.js +234 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-admission.d.ts +65 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +299 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.js +23 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.d.ts +43 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.js +180 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.js +162 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-mode.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-mode.js +72 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-publication.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-publication.js +85 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +95 -0
- package/node_modules/@openclaw/fs-safe/dist/root.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/root.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.js +80 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-file.js +333 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-async.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-async.js +58 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.js +68 -0
- package/node_modules/@openclaw/fs-safe/dist/secret.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/secret.js +3 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.js +79 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file.d.ts +31 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file.js +298 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +176 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.js +110 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +301 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +28 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +132 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +442 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.js +60 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.d.ts +41 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.js +113 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +31 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.js +48 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +113 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.d.ts +67 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.js +374 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.js +47 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.js +79 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +228 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.js +55 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.d.ts +68 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +282 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-directory.d.ts +27 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-directory.js +148 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.js +57 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-types.d.ts +55 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/stat-observation.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/stat-observation.js +57 -0
- package/node_modules/@openclaw/fs-safe/dist/store.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/store.js +3 -0
- package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.js +88 -0
- package/node_modules/@openclaw/fs-safe/dist/string-coerce.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/string-coerce.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/suppressed-error.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/suppressed-error.js +15 -0
- package/node_modules/@openclaw/fs-safe/dist/symlink-parents.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/symlink-parents.js +109 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.js +88 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-target.d.ts +31 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-target.js +236 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +387 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +150 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.d.ts +42 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +341 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.js +398 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.js +52 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/temp.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/temp.js +2 -0
- package/node_modules/@openclaw/fs-safe/dist/test-hooks.d.ts +35 -0
- package/node_modules/@openclaw/fs-safe/dist/test-hooks.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/text-atomic.js +18 -0
- package/node_modules/@openclaw/fs-safe/dist/timing.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/timing.js +59 -0
- package/node_modules/@openclaw/fs-safe/dist/trash.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/trash.js +245 -0
- package/node_modules/@openclaw/fs-safe/dist/types.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/unicode-path.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/unicode-path.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/walk.d.ts +37 -0
- package/node_modules/@openclaw/fs-safe/dist/walk.js +207 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-alias.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-alias.js +88 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-hints.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +93 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +36 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-native.js +73 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-scan.d.ts +28 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-scan.js +300 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-stream.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-stream.js +32 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-types.d.ts +60 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/watch.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/watch.js +530 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-command.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-command.js +34 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-owner.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-owner.js +100 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.js +122 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.js +21 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.cs +336 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.ps1 +90 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-command.d.ts +33 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-command.js +414 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.js +112 -0
- package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +49 -0
- package/node_modules/@openclaw/fs-safe/dist/write-open-flags.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/write-open-flags.js +27 -0
- package/node_modules/@openclaw/fs-safe/dist/write-queue.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/write-queue.js +15 -0
- package/node_modules/@openclaw/fs-safe/docs/advanced.md +271 -0
- package/node_modules/@openclaw/fs-safe/docs/archive.md +859 -0
- package/node_modules/@openclaw/fs-safe/docs/assets/readme-banner.jpg +0 -0
- package/node_modules/@openclaw/fs-safe/docs/atomic.md +611 -0
- package/node_modules/@openclaw/fs-safe/docs/config.md +136 -0
- package/node_modules/@openclaw/fs-safe/docs/contributing.md +360 -0
- package/node_modules/@openclaw/fs-safe/docs/copy.md +199 -0
- package/node_modules/@openclaw/fs-safe/docs/creation.md +132 -0
- package/node_modules/@openclaw/fs-safe/docs/directory-identity.md +85 -0
- package/node_modules/@openclaw/fs-safe/docs/durability.md +445 -0
- package/node_modules/@openclaw/fs-safe/docs/entries.md +109 -0
- package/node_modules/@openclaw/fs-safe/docs/errors.md +240 -0
- package/node_modules/@openclaw/fs-safe/docs/file-contents.md +68 -0
- package/node_modules/@openclaw/fs-safe/docs/file-store.md +369 -0
- package/node_modules/@openclaw/fs-safe/docs/filename.md +110 -0
- package/node_modules/@openclaw/fs-safe/docs/guest.md +152 -0
- package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +81 -0
- package/node_modules/@openclaw/fs-safe/docs/index.md +87 -0
- package/node_modules/@openclaw/fs-safe/docs/install-path.md +216 -0
- package/node_modules/@openclaw/fs-safe/docs/install.md +252 -0
- package/node_modules/@openclaw/fs-safe/docs/json-store.md +240 -0
- package/node_modules/@openclaw/fs-safe/docs/json.md +225 -0
- package/node_modules/@openclaw/fs-safe/docs/local-roots.md +150 -0
- package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +205 -0
- package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.6.md +48 -0
- package/node_modules/@openclaw/fs-safe/docs/mutation-policy-proof.md +69 -0
- package/node_modules/@openclaw/fs-safe/docs/native-helper.md +193 -0
- package/node_modules/@openclaw/fs-safe/docs/native.md +351 -0
- package/node_modules/@openclaw/fs-safe/docs/output.md +193 -0
- package/node_modules/@openclaw/fs-safe/docs/path-case.md +64 -0
- package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +74 -0
- package/node_modules/@openclaw/fs-safe/docs/path-scope.md +159 -0
- package/node_modules/@openclaw/fs-safe/docs/path-suffix-aliases.md +204 -0
- package/node_modules/@openclaw/fs-safe/docs/path.md +219 -0
- package/node_modules/@openclaw/fs-safe/docs/permissions.md +352 -0
- package/node_modules/@openclaw/fs-safe/docs/positional-read.md +63 -0
- package/node_modules/@openclaw/fs-safe/docs/private-file-store.md +68 -0
- package/node_modules/@openclaw/fs-safe/docs/public-api.md +188 -0
- package/node_modules/@openclaw/fs-safe/docs/quickstart.md +154 -0
- package/node_modules/@openclaw/fs-safe/docs/reading.md +196 -0
- package/node_modules/@openclaw/fs-safe/docs/regular-file.md +193 -0
- package/node_modules/@openclaw/fs-safe/docs/retained-file.md +115 -0
- package/node_modules/@openclaw/fs-safe/docs/root.md +571 -0
- package/node_modules/@openclaw/fs-safe/docs/secret-file.md +318 -0
- package/node_modules/@openclaw/fs-safe/docs/secure-file.md +112 -0
- package/node_modules/@openclaw/fs-safe/docs/security-model.md +272 -0
- package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +599 -0
- package/node_modules/@openclaw/fs-safe/docs/staged-file.md +192 -0
- package/node_modules/@openclaw/fs-safe/docs/staged-symlink.md +124 -0
- package/node_modules/@openclaw/fs-safe/docs/store.md +129 -0
- package/node_modules/@openclaw/fs-safe/docs/temp.md +780 -0
- package/node_modules/@openclaw/fs-safe/docs/test-hooks.md +110 -0
- package/node_modules/@openclaw/fs-safe/docs/testing.md +399 -0
- package/node_modules/@openclaw/fs-safe/docs/timing.md +123 -0
- package/node_modules/@openclaw/fs-safe/docs/types.md +217 -0
- package/node_modules/@openclaw/fs-safe/docs/walk.md +283 -0
- package/node_modules/@openclaw/fs-safe/docs/watch.md +251 -0
- package/node_modules/@openclaw/fs-safe/docs/writing.md +662 -0
- package/node_modules/@openclaw/fs-safe/package.json +204 -0
- package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +29 -0
- package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +29 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +29 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/immediate/LICENSE.txt +20 -0
- package/node_modules/immediate/README.md +93 -0
- package/node_modules/immediate/dist/immediate.js +75 -0
- package/node_modules/immediate/dist/immediate.min.js +1 -0
- package/node_modules/immediate/lib/browser.js +69 -0
- package/node_modules/immediate/lib/index.js +73 -0
- package/node_modules/immediate/package.json +42 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jszip/.codeclimate.yml +16 -0
- package/node_modules/jszip/.editorconfig +8 -0
- package/node_modules/jszip/.eslintrc.js +43 -0
- package/node_modules/jszip/.github/FUNDING.yml +1 -0
- package/node_modules/jszip/.github/actions/setup/action.yml +23 -0
- package/node_modules/jszip/.github/workflows/benchmark.yml +38 -0
- package/node_modules/jszip/.github/workflows/main.yml +55 -0
- package/node_modules/jszip/CHANGES.md +210 -0
- package/node_modules/jszip/LICENSE.markdown +651 -0
- package/node_modules/jszip/README.markdown +33 -0
- package/node_modules/jszip/dist/jszip.js +11586 -0
- package/node_modules/jszip/dist/jszip.min.js +13 -0
- package/node_modules/jszip/index.d.ts +344 -0
- package/node_modules/jszip/lib/base64.js +106 -0
- package/node_modules/jszip/lib/compressedObject.js +74 -0
- package/node_modules/jszip/lib/compressions.js +14 -0
- package/node_modules/jszip/lib/crc32.js +77 -0
- package/node_modules/jszip/lib/defaults.js +11 -0
- package/node_modules/jszip/lib/external.js +18 -0
- package/node_modules/jszip/lib/flate.js +85 -0
- package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
- package/node_modules/jszip/lib/generate/index.js +57 -0
- package/node_modules/jszip/lib/index.js +55 -0
- package/node_modules/jszip/lib/license_header.js +11 -0
- package/node_modules/jszip/lib/load.js +88 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/node_modules/jszip/lib/object.js +384 -0
- package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
- package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/node_modules/jszip/lib/signature.js +7 -0
- package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
- package/node_modules/jszip/lib/support.js +38 -0
- package/node_modules/jszip/lib/utf8.js +275 -0
- package/node_modules/jszip/lib/utils.js +510 -0
- package/node_modules/jszip/lib/zipEntries.js +261 -0
- package/node_modules/jszip/lib/zipEntry.js +293 -0
- package/node_modules/jszip/lib/zipObject.js +133 -0
- package/node_modules/jszip/package.json +67 -0
- package/node_modules/jszip/sponsors.md +21 -0
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/node_modules/lie/README.md +62 -0
- package/node_modules/lie/dist/lie.js +350 -0
- package/node_modules/lie/dist/lie.min.js +1 -0
- package/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/node_modules/lie/lib/browser.js +273 -0
- package/node_modules/lie/lib/index.js +298 -0
- package/node_modules/lie/license.md +7 -0
- package/node_modules/lie/lie.d.ts +244 -0
- package/node_modules/lie/package.json +69 -0
- package/node_modules/lie/polyfill.js +4 -0
- package/node_modules/pako/CHANGELOG.md +164 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +191 -0
- package/node_modules/pako/dist/pako.js +6818 -0
- package/node_modules/pako/dist/pako.min.js +1 -0
- package/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +423 -0
- package/node_modules/pako/lib/utils/common.js +105 -0
- package/node_modules/pako/lib/utils/strings.js +187 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +44 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +52 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/setimmediate/LICENSE.txt +20 -0
- package/node_modules/setimmediate/package.json +30 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +31 -0
- package/node_modules/typebox/build/compile/code.mjs +1 -2
- package/node_modules/typebox/build/compile/validator.mjs +5 -1
- package/node_modules/typebox/build/format/iri.mjs +16 -9
- package/node_modules/typebox/build/guard/emit.mjs +2 -2
- package/node_modules/typebox/build/guard/guard.d.mts +7 -5
- package/node_modules/typebox/build/guard/guard.mjs +14 -9
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
- package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +165 -0
- package/node_modules/typebox/build/schema/build.mjs +2 -3
- package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
- package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
- package/node_modules/typebox/build/schema/parse.mjs +3 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
- package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
- package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
- package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
- package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
- package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
- package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +3 -1
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/openclaw.plugin.json +64 -14
- package/package.json +8 -6
- package/dist/.setup/accounts-DmU0xYPx.mjs +0 -211
- package/dist/.setup/app-registration-Bv4mvauR.mjs +0 -204
- package/dist/.setup/audio-preflight.runtime-BBfC9elv.mjs +0 -7
- package/dist/.setup/channel-DsndN1sp.mjs +0 -3094
- package/dist/.setup/channel.runtime-tihKUwVI.mjs +0 -250
- package/dist/.setup/chat-BlvUjdN9.mjs +0 -285
- package/dist/.setup/client-DCwNVFZg.mjs +0 -373
- package/dist/.setup/conversation-id-H-lUayji.mjs +0 -177
- package/dist/.setup/doctor-contract-w6FpMypv.mjs +0 -465
- package/dist/.setup/monitor-OTT7VckU.mjs +0 -204
- package/dist/.setup/monitor.account-D5j6WomE.mjs +0 -7313
- package/dist/.setup/probe-bdidyhAn.mjs +0 -219
- package/dist/.setup/reply-delivery-result-CRIHpSze.mjs +0 -3668
- package/dist/.setup/rolldown-runtime-8H4AJuhK.mjs +0 -14
- package/dist/.setup/secret-contract-BCpDLdg9.mjs +0 -73
- package/dist/.setup/secret-contract-api-jmCkqVLc.mjs +0 -3
- package/dist/.setup/security-audit-CmiKKfU-.mjs +0 -23
- package/dist/.setup/security-audit-shared-CK5rVR-1.mjs +0 -34
- package/dist/.setup/session-conversation-ZC6TC1zk.mjs +0 -27
- package/dist/.setup/setup-api-VAUkwtTi.mjs +0 -3
- package/dist/.setup/subagent-hooks-BBfF1hZk.mjs +0 -160
- package/dist/.setup/thread-bindings-BiL1wGqK.mjs +0 -229
- package/node_modules/mdast-util-from-markdown/node_modules/debug/LICENSE +0 -20
- package/node_modules/mdast-util-from-markdown/node_modules/debug/README.md +0 -481
- package/node_modules/mdast-util-from-markdown/node_modules/debug/package.json +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/browser.js +0 -272
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/common.js +0 -292
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/index.js +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/node.js +0 -263
- package/node_modules/mdast-util-from-markdown/node_modules/ms/index.js +0 -162
- package/node_modules/mdast-util-from-markdown/node_modules/ms/license.md +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/ms/package.json +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/ms/readme.md +0 -59
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/mdast-util-gfm-table/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/README.md +0 -15
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/mdast-util-gfm-table/node_modules/@types/unist/package.json +0 -60
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/index.js +0 -2132
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/character-entities/readme.md +0 -152
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/mdast-util-gfm-table/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/license +0 -21
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/package.json +0 -57
- package/node_modules/mdast-util-gfm-table/node_modules/dequal/readme.md +0 -112
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/package.json +0 -80
- package/node_modules/mdast-util-gfm-table/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-markdown/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-gfm-table/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/license +0 -22
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/mdast-util-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/mdast-util-gfm-table/node_modules/unist-util-visit/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/license +0 -21
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/package.json +0 -57
- package/node_modules/micromark-extension-gfm-table/node_modules/dequal/readme.md +0 -112
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/package.json +0 -80
- package/node_modules/micromark-extension-gfm-table/node_modules/devlop/readme.md +0 -360
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/dev/index.js +0 -67
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.js +0 -64
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/package.json +0 -55
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/license +0 -22
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/micromark-extension-gfm-table/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/typebox/build/guard/string.mjs +0 -168
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/LICENSE +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/README.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/LICENSE +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/README.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/LICENSE +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/README.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/LICENSE +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/README.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/index.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/promisify.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/promisify.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/dist/src/promisify.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/src/index.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/agent-base → agent-base}/src/promisify.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/bench.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/abort.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/async.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/defer.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/iterate.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_asynckit.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_parallel.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_serial.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/readable_serial_ordered.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/state.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/streamify.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/lib/terminator.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/parallel.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/serial.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/serialOrdered.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/asynckit → asynckit}/stream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/MIGRATION_GUIDE.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/axios.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/axios.min.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/axios.min.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/browser/axios.cjs +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/esm/axios.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/esm/axios.min.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/esm/axios.min.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/dist/node/axios.cjs +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/index.d.cts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/adapters.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/fetch.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/http.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/adapters/xhr.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/axios.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/cancel/CancelToken.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/cancel/CanceledError.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/cancel/isCancel.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/Axios.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/AxiosError.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/AxiosHeaders.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/InterceptorManager.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/buildFullPath.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/dispatchRequest.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/mergeConfig.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/methodList.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/setFormDataHeaders.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/settle.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/core/transformData.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/defaults/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/defaults/transitional.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/env/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/env/classes/FormData.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/env/data.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/AxiosTransformStream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/AxiosURLSearchParams.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/Http2Sessions.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/HttpStatusCode.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/ZlibHeaderTransformStream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/bind.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/buildURL.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/callbackify.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/combineURLs.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/composeSignals.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/cookies.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/deprecatedMethod.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/estimateDataURLDecodedBytes.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/formDataToJSON.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/formDataToStream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/fromDataURI.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/isAbsoluteURL.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/isAxiosError.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/isURLSameOrigin.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/normalizeURLForProtocolCheck.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/null.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/parseHeaders.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/parseProtocol.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/progressEventReducer.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/readBlob.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/resolveConfig.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/sanitizeHeaderValue.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/shouldBypassProxy.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/speedometer.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/spread.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/throttle.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/toFormData.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/toURLEncodedForm.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/trackStream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/helpers/validator.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/classes/Blob.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/classes/FormData.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/classes/URLSearchParams.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/browser/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/common/utils.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/classes/Buffer.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/classes/FormData.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/classes/URLSearchParams.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/platform/node/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/lib/utils.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/axios → axios}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/actualApply.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/actualApply.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/applyBind.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/applyBind.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionApply.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionApply.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionCall.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionCall.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/reflectApply.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/reflectApply.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/call-bound → call-bound}/tsconfig.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/License +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/Readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/lib/combined_stream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/combined-stream → combined-stream}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/browser.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/common.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/debug → debug}/src/node.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/.npmignore +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/License +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/Makefile +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/Readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/lib/delayed_stream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/delayed-stream → delayed-stream}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.min.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.mjs +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.min.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.mjs +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/default.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/development.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/development.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/get.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/get.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/set.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/set.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/test/get.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/test/set.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/dunder-proto → dunder-proto}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-define-property → es-define-property}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/eval.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/eval.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/range.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/range.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/ref.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/ref.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/syntax.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/syntax.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/type.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/type.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/uri.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-errors → es-errors}/uri.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/RequireObjectCoercible.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/RequireObjectCoercible.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/ToObject.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/ToObject.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/isObject.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/isObject.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-object-atoms → es-object-atoms}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/es-set-tostringtag → es-set-tostringtag}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/debug.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/http.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/https.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/follow-redirects → follow-redirects}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/License +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/lib/browser.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/lib/form_data.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/lib/populate.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/form-data → form-data}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.github/SECURITY.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/implementation.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/test/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/function-bind → function-bind}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-intrinsic → get-intrinsic}/test/GetIntrinsic.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Object.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Object.getPrototypeOf.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Reflect.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/Reflect.getPrototypeOf.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/get-proto → get-proto}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/gOPD.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/gOPD.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/gopd → gopd}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/shams.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/shams.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/shams/core-js.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/shams/get-own-property-symbols.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/test/tests.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-symbols → has-symbols}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/shams.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/shams.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/shams/core-js.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/shams/get-own-property-symbols.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/test/tests.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/has-tostringtag → has-tostringtag}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/eslint.config.mjs +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/hasown → hasown}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/agent.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/agent.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/agent.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/https-proxy-agent → https-proxy-agent}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/LICENSE.txt +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.identity → lodash.identity}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.merge → lodash.merge}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/lodash.pickby → lodash.pickby}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/types.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/long → long}/umd/types.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/longest-streak → longest-streak}/readme.md +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → markdown-table}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → markdown-table}/readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/abs.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/abs.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxArrayLength.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxArrayLength.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxSafeInteger.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxSafeInteger.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxValue.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/constants/maxValue.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/floor.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/floor.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isFinite.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isFinite.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isInteger.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isInteger.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNaN.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNaN.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNegativeZero.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/isNegativeZero.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/max.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/max.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/min.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/min.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/mod.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/mod.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/pow.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/pow.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/round.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/round.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/sign.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/sign.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/math-intrinsics → math-intrinsics}/tsconfig.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-phrasing → mdast-util-phrasing}/readme.md +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/configure.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/configure.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/configure.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/blockquote.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/blockquote.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/blockquote.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/break.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/break.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/break.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/code.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/code.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/code.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/definition.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/definition.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/definition.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/emphasis.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/emphasis.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/emphasis.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/heading.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/heading.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/heading.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/html.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/html.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/html.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image-reference.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/image.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/inline-code.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/inline-code.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/inline-code.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link-reference.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/link.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list-item.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list-item.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list-item.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/list.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/paragraph.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/paragraph.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/paragraph.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/root.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/root.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/root.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/strong.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/strong.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/strong.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/text.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/text.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/thematic-break.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/thematic-break.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/handle/thematic-break.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/join.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/join.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/join.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/types.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/types.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/unsafe.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/unsafe.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/unsafe.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/association.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/association.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/association.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-ordered.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-ordered.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-ordered.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-other.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-other.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet-other.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-bullet.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-emphasis.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-emphasis.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-emphasis.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-fence.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-fence.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-fence.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-list-item-indent.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-list-item-indent.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-list-item-indent.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-quote.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-quote.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-quote.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule-repetition.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule-repetition.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule-repetition.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-rule.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-strong.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-strong.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/check-strong.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/compile-pattern.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/compile-pattern.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/compile-pattern.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-flow.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-flow.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-flow.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-phrasing.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-phrasing.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/container-phrasing.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/emphasis-strong-marker.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/emphasis-strong-marker.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-character-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-character-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-character-reference.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-info.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-info.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/encode-info.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-code-as-indented.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-code-as-indented.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-code-as-indented.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-heading-as-setext.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-heading-as-setext.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-heading-as-setext.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-link-as-autolink.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-link-as-autolink.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/format-link-as-autolink.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/indent-lines.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/indent-lines.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/indent-lines.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/pattern-in-scope.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/pattern-in-scope.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/pattern-in-scope.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/safe.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/safe.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/safe.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/track.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/track.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/lib/util/track.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → mdast-util-to-markdown}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/mdast-util-to-markdown → mdast-util-to-markdown}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/markdown-table → micromark}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-core-commonmark}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-destination}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-label}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-space}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-factory-title}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-factory-whitespace}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-character}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-chunked}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-classify-character}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-combine-extensions}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-decode-numeric-character-reference}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-decode-string}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-encode}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-html-tag-name}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-normalize-identifier}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-resolve-all}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-sanitize-uri}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-subtokenize}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.d.ts.map +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark-util-symbol}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/decode-named-character-reference → micromark-util-types}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/HISTORY.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/db.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-db → mime-db}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/HISTORY.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/mime-types → mime-types}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/license.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ms → ms}/readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/all.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/circular.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/fn.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/example/inspect.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/package-support.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/readme.markdown +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/bigint.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/browser/dom.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/circular.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/deep.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/element.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/err.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/fakes.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/fn.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/global.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/has.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/holes.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/indent-option.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/inspect.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/lowbyte.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/number.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/quoteStyle.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/toStringTag.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/undef.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test/values.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/test-core-js.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/object-inspect → object-inspect}/util.inspect.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.min.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/light/protobuf.min.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.min.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/minimal/protobuf.min.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.min.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/dist/protobuf.min.js.map +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/debug/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/debug/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor.generated.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/descriptor.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.generated.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/protojson.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/textformat.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/textformat.generated.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/ext/textformat.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/annotations.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/annotations.proto +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/http.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/api/http.proto +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/api.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/api.proto +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/compiler/plugin.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/compiler/plugin.proto +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/descriptor.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/descriptor.proto +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/source_context.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/source_context.proto +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/type.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/google/protobuf/type.proto +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/light.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/light.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/minimal.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/minimal.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/common.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/converter.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/decoder.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/encoder.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/enum.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/field.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/index-light.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/index-minimal.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/mapfield.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/message.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/method.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/namespace.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/object.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/oneof.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/parse.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/reader.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/reader_buffer.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/root.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/roots.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/rpc/service.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/rpc.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/service.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/tokenize.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/type.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/types.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/typescript.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/aspromise.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/aspromise.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/base64.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/base64.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/codegen.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/codegen.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/eventemitter.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/eventemitter.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/fetch.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/fetch.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/float.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/float.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/fs.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/longbits.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/minimal.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/path.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/path.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/patterns.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/pool.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/pool.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/utf8.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util/utf8.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/util.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/verifier.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/wrappers.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/writer.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/src/writer_buffer.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/protobufjs → protobufjs}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/index.cjs +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/proxy-from-env → proxy-from-env}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.editorconfig +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.github/SECURITY.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.github/THREAT_MODEL.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/LICENSE.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/dist/qs.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/eslint.config.mjs +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/formats.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/parse.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/stringify.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/lib/utils.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/empty-keys-cases.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/parse.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/stringify.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/qs → qs}/test/utils.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.editorconfig +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel → side-channel}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.editorconfig +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/list.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-list → side-channel-list}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.editorconfig +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-map → side-channel-map}/tsconfig.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.editorconfig +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.eslintrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/.nycrc +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/CHANGELOG.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/index.d.ts +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/test/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/side-channel-weakmap → side-channel-weakmap}/tsconfig.json +0 -0
- /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/lib/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-is → unist-util-is}/readme.md +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/license +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/package.json +0 -0
- /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/readme.md +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/lib/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/character-entities → unist-util-visit}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit → unist-util-visit}/readme.md +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.node.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.node.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/color.node.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.d.ts.map +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/unist-util-visit-parents → unist-util-visit-parents}/readme.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/LICENSE +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/README.md +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/browser.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/index.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/buffer-util.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/constants.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/event-target.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/extension.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/limiter.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/permessage-deflate.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/receiver.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/sender.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/stream.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/subprotocol.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/validation.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/websocket-server.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/lib/websocket.js +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/package.json +0 -0
- /package/node_modules/{@larksuiteoapi/node-sdk/node_modules/ws → ws}/wrapper.mjs +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/index.d.ts +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/index.js +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/license +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/package.json +0 -0
- /package/node_modules/{mdast-util-gfm-table/node_modules/zwitch → zwitch}/readme.md +0 -0
|
@@ -0,0 +1,3042 @@
|
|
|
1
|
+
import { a as normalizeFeishuWebhookPath, c as __reExport, i as DEFAULT_FEISHU_WEBHOOK_PATH, n as normalizeCompatibilityConfig, o as normalizeFeishuExternalKey, r as FeishuChannelConfigSchema, s as __exportAll, t as legacyConfigRules } from "./doctor-contract-3XC0vbIw.mjs";
|
|
2
|
+
import { a as mergeFeishuAccountConfig, c as resolveFeishuRuntimeAccount, i as listFeishuAccountIds, n as inspectFeishuCredentials, o as resolveDefaultFeishuAccountId, r as listEnabledFeishuAccounts, s as resolveFeishuAccount } from "./accounts-wRqItHug.mjs";
|
|
3
|
+
import { a as parseFeishuTargetId, c as looksLikeFeishuId, i as parseFeishuDirectConversationId, l as normalizeFeishuTarget, n as buildFeishuModelOverrideParentCandidates, o as resolveConfiguredFeishuGroupSessionScope, r as parseFeishuConversationId, t as buildFeishuConversationId, u as resolveReceiveIdType } from "./conversation-id-C1ofUfU8.mjs";
|
|
4
|
+
import { $ as cleanupAmbientCommentTypingReaction, A as sendMessageFeishu, At as resolveFeishuGroupToolPolicy, Ct as resolveFeishuChatReadPreliminaryAuthorization, Dt as resolveFeishuGroupConfig, G as deliverCommentThreadText, H as buildFeishuMediaFallbackText, M as toFeishuMessageSendResult, Mt as normalizeFeishuChatType, Nt as resolveFeishuChatType, S as sendMediaFeishu, St as readFeishuChatInfoWithAuthorization, T as chunkFeishuCardMarkdown, W as resolveFeishuIdentityHeaderTitle, _ as renderFeishuPresentationPayload, _t as authorizeFeishuChatMemberRead, b as withinCardTableLimit, bt as isFeishuGroupReadAllowed, c as buildFeishuPayloadCard, ct as parseFeishuCommentTarget, d as consumeFeishuPresentationFallbackMarker, dt as chunkFeishuMarkdown, f as feishuCardWithinTableLimit, ft as chunkFeishuPostMarkdown, g as renderFeishuPresentationFallbackText, gt as assertFeishuChatReadAllowed, h as readNativeFeishuCard, ht as shouldUseFeishuCard, j as sendStructuredCardFeishu, k as sendCardFeishu, l as buildFeishuPresentationCard, lt as readNativeFeishuCardJson, m as markRenderedFeishuCard, n as createFeishuReplyDeliveryResult, o as FEISHU_PRESENTATION_CAPABILITIES, p as isFeishuCardWithinEnvelope, pt as materializeFeishuPostMarkdownSoftBreaks, s as assertFeishuCardWithinEnvelope, t as createFeishuPartialReplyDeliveryError, u as buildFeishuPresentationFallback, vt as canEnumerateAllFeishuGroups, w as shouldSuppressFeishuTextForVoiceMedia, xt as isFeishuGroupReadEnabled, y as resolveFeishuRichReply, yt as canEnumerateAllFeishuPeers } from "./reply-delivery-result-COAjaukc.mjs";
|
|
5
|
+
import { t as messageActionTargetAliases } from "./message-action-contract-Bhxj8Zrf.mjs";
|
|
6
|
+
import { l as withFeishuRequestContext, r as createFeishuClient, u as withFeishuSendContext } from "./client-BYG-_IZl.mjs";
|
|
7
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-CI1wCr9i.mjs";
|
|
8
|
+
import { t as collectFeishuSecurityAuditFindings } from "./security-audit-b86aSgH2.mjs";
|
|
9
|
+
import { t as resolveFeishuSessionConversation } from "./session-conversation-C53IEUWt.mjs";
|
|
10
|
+
import { createLazyRuntimeModule, createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime";
|
|
11
|
+
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
12
|
+
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-resolution";
|
|
13
|
+
import { resolveAgentConfig } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
14
|
+
import { formatAllowFromLowercase } from "openclaw/plugin-sdk/allow-from";
|
|
15
|
+
import { ToolAuthorizationError, createActionGate } from "openclaw/plugin-sdk/channel-actions";
|
|
16
|
+
import { adaptScopedAccountAccessor, createHybridChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
17
|
+
import { buildChannelOutboundSessionRoute, createChatChannelPlugin, stripChannelTargetPrefix } from "openclaw/plugin-sdk/channel-core";
|
|
18
|
+
import { createAccountStatusSink, createMessageReceiptFromOutboundResults, createReplyToFanout, createRuntimeOutboundDelegates, defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-outbound";
|
|
19
|
+
import { createPairingPrefixStripper } from "openclaw/plugin-sdk/channel-pairing";
|
|
20
|
+
import { createAllowlistProviderGroupPolicyWarningCollector, createConditionalWarningCollector } from "openclaw/plugin-sdk/channel-policy";
|
|
21
|
+
import { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status";
|
|
22
|
+
import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runtime";
|
|
23
|
+
import { applyDirectoryQueryAndLimit, createChannelDirectoryAdapter, createRuntimeDirectoryLiveAdapter, listDirectoryGroupEntriesFromMapKeysAndAllowFrom, listDirectoryUserEntriesFromAllowFrom, listDirectoryUserEntriesFromAllowFromAndMapKeys } from "openclaw/plugin-sdk/directory-runtime";
|
|
24
|
+
import { PlatformMessageNotDispatchedError } from "openclaw/plugin-sdk/error-runtime";
|
|
25
|
+
import { resolveLegacyInteractiveTextFallback } from "openclaw/plugin-sdk/interactive-runtime";
|
|
26
|
+
import { parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
|
|
27
|
+
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1, createSetupTranslator, formatDocsLink, hasConfiguredSecretInput, mergeAllowFromEntries, patchScopedAccountConfig, patchTopLevelChannelConfigSection, promptSingleChannelSecretInput, setSetupChannelEnabled, splitSetupEntries } from "openclaw/plugin-sdk/setup";
|
|
28
|
+
import { buildProbeChannelStatusSummary, createComputedAccountStatusAdapter, createDefaultChannelRuntimeState } from "openclaw/plugin-sdk/status-helpers";
|
|
29
|
+
import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
30
|
+
import { convertMarkdownTables, sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
|
|
31
|
+
import { createChannelApprovalAuth } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
32
|
+
import fs from "node:fs";
|
|
33
|
+
import os from "node:os";
|
|
34
|
+
import path from "node:path";
|
|
35
|
+
import { safeStatSync } from "@openclaw/fs-safe/path";
|
|
36
|
+
import { isPathStrictlyInside } from "openclaw/plugin-sdk/file-access-runtime";
|
|
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 { resolveChunkMode, resolveTextChunkLimit } from "openclaw/plugin-sdk/reply-chunking";
|
|
41
|
+
import { isChannelPartialDeliveryError } from "openclaw/plugin-sdk/channel-inbound";
|
|
42
|
+
import { attachChannelToResult, createAttachedChannelResultAdapter } from "openclaw/plugin-sdk/channel-send-result";
|
|
43
|
+
import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
|
|
44
|
+
import { getReplyPayloadTtsSupplement, resolvePayloadMediaUrls, sendPayloadMediaSequenceAndFinalize, sendTextMediaPayload } from "openclaw/plugin-sdk/reply-payload";
|
|
45
|
+
import { statRegularFileSync } from "openclaw/plugin-sdk/security-runtime";
|
|
46
|
+
import { readStringParam } from "openclaw/plugin-sdk/param-readers";
|
|
47
|
+
import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
|
|
48
|
+
import { createChannelDmPolicy } from "openclaw/plugin-sdk/channel-dm-policy";
|
|
49
|
+
//#region extensions/feishu/src/approval-auth.ts
|
|
50
|
+
function normalizeFeishuApproverId(value) {
|
|
51
|
+
const normalized = normalizeFeishuTarget(String(value));
|
|
52
|
+
const trimmed = normalizeOptionalLowercaseString(normalized);
|
|
53
|
+
return trimmed?.startsWith("ou_") ? trimmed : void 0;
|
|
54
|
+
}
|
|
55
|
+
const feishuApprovalAuth = createChannelApprovalAuth({
|
|
56
|
+
channelLabel: "Feishu",
|
|
57
|
+
resolveInputs: ({ cfg, accountId }) => {
|
|
58
|
+
return { allowFrom: resolveFeishuAccount({
|
|
59
|
+
cfg,
|
|
60
|
+
accountId
|
|
61
|
+
}).config.allowFrom };
|
|
62
|
+
},
|
|
63
|
+
normalizeApprover: normalizeFeishuApproverId
|
|
64
|
+
}).approvalAuth;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region extensions/feishu/src/directory.static.ts
|
|
67
|
+
async function listFeishuDirectoryPeers(params) {
|
|
68
|
+
const account = resolveFeishuAccount({
|
|
69
|
+
cfg: params.cfg,
|
|
70
|
+
accountId: params.accountId
|
|
71
|
+
});
|
|
72
|
+
return listDirectoryUserEntriesFromAllowFromAndMapKeys({
|
|
73
|
+
allowFrom: account.config.allowFrom,
|
|
74
|
+
map: account.config.dms,
|
|
75
|
+
query: params.query,
|
|
76
|
+
limit: params.limit,
|
|
77
|
+
normalizeAllowFromId: (entry) => normalizeFeishuTarget(entry) ?? entry,
|
|
78
|
+
normalizeMapKeyId: (entry) => normalizeFeishuTarget(entry) ?? entry
|
|
79
|
+
}).map(({ id }) => ({
|
|
80
|
+
kind: "user",
|
|
81
|
+
id
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
async function listFeishuDirectoryGroups(params) {
|
|
85
|
+
const account = resolveFeishuAccount({
|
|
86
|
+
cfg: params.cfg,
|
|
87
|
+
accountId: params.accountId
|
|
88
|
+
});
|
|
89
|
+
return listDirectoryGroupEntriesFromMapKeysAndAllowFrom({
|
|
90
|
+
groups: account.config.groups,
|
|
91
|
+
allowFrom: account.config.groupAllowFrom,
|
|
92
|
+
query: params.query,
|
|
93
|
+
limit: params.limit
|
|
94
|
+
}).map(({ id }) => ({
|
|
95
|
+
kind: "group",
|
|
96
|
+
id
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
async function listAuthorizedFeishuDirectoryPeers(params) {
|
|
100
|
+
const account = resolveFeishuAccount({
|
|
101
|
+
cfg: params.cfg,
|
|
102
|
+
accountId: params.accountId
|
|
103
|
+
});
|
|
104
|
+
return listDirectoryUserEntriesFromAllowFrom({
|
|
105
|
+
allowFrom: account.config.allowFrom,
|
|
106
|
+
query: params.query,
|
|
107
|
+
limit: params.limit,
|
|
108
|
+
normalizeId: (entry) => normalizeFeishuTarget(entry) ?? entry
|
|
109
|
+
}).map(({ id }) => ({
|
|
110
|
+
kind: "user",
|
|
111
|
+
id
|
|
112
|
+
}));
|
|
113
|
+
}
|
|
114
|
+
async function listAuthorizedFeishuDirectoryGroups(params) {
|
|
115
|
+
const account = resolveFeishuAccount({
|
|
116
|
+
cfg: params.cfg,
|
|
117
|
+
accountId: params.accountId
|
|
118
|
+
});
|
|
119
|
+
const enabledGroups = Object.fromEntries(Object.entries(account.config.groups ?? {}).filter(([, group]) => group?.enabled !== false));
|
|
120
|
+
const authorizedEntries = listDirectoryGroupEntriesFromMapKeysAndAllowFrom({
|
|
121
|
+
groups: enabledGroups,
|
|
122
|
+
allowFrom: account.config.groupAllowFrom
|
|
123
|
+
}).filter((entry) => isFeishuGroupReadAllowed(params.cfg, account, entry.id, false));
|
|
124
|
+
return applyDirectoryQueryAndLimit(authorizedEntries.map((entry) => entry.id), params).map((id) => ({
|
|
125
|
+
kind: "group",
|
|
126
|
+
id
|
|
127
|
+
}));
|
|
128
|
+
}
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/gateway/gateway-http-route-contracts.ts
|
|
131
|
+
const GATEWAY_PROBE_ROUTES = /* @__PURE__ */ new Map([
|
|
132
|
+
["/health", "live"],
|
|
133
|
+
["/healthz", "live"],
|
|
134
|
+
["/ready", "ready"],
|
|
135
|
+
["/readyz", "ready"],
|
|
136
|
+
["/startup", "startup"],
|
|
137
|
+
["/startupz", "startup"]
|
|
138
|
+
]);
|
|
139
|
+
function classifyGatewayProbePath(pathname) {
|
|
140
|
+
for (const [root, status] of GATEWAY_PROBE_ROUTES) {
|
|
141
|
+
if (pathname === root) return status;
|
|
142
|
+
if (pathname.startsWith(`${root}/`)) return "namespace";
|
|
143
|
+
}
|
|
144
|
+
return "outside";
|
|
145
|
+
}
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region packages/normalization-core/src/string-coerce.ts
|
|
148
|
+
/** Trims string input and returns null for non-strings or empty strings. */
|
|
149
|
+
function normalizeNullableString$1(value) {
|
|
150
|
+
if (typeof value !== "string") return null;
|
|
151
|
+
const trimmed = value.trim();
|
|
152
|
+
return trimmed ? trimmed : null;
|
|
153
|
+
}
|
|
154
|
+
/** Trims string input and returns undefined for non-strings or empty strings. */
|
|
155
|
+
function normalizeOptionalString$1(value) {
|
|
156
|
+
return normalizeNullableString$1(value) ?? void 0;
|
|
157
|
+
}
|
|
158
|
+
/** Lowercases a normalized optional string. */
|
|
159
|
+
function normalizeOptionalLowercaseString$1(value) {
|
|
160
|
+
return normalizeOptionalString$1(value)?.toLowerCase();
|
|
161
|
+
}
|
|
162
|
+
/** Lowercases a normalized string or returns an empty string when absent. */
|
|
163
|
+
function normalizeLowercaseStringOrEmpty$1(value) {
|
|
164
|
+
return normalizeOptionalLowercaseString$1(value) ?? "";
|
|
165
|
+
}
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/plugins/http-path-prefix.ts
|
|
168
|
+
function prefixMatchPath(pathname, prefix) {
|
|
169
|
+
return pathname === prefix || pathname.startsWith(`${prefix}/`) || pathname.startsWith(`${prefix}%`);
|
|
170
|
+
}
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/gateway/security-path.ts
|
|
173
|
+
const MAX_PATH_DECODE_PASSES = 32;
|
|
174
|
+
function normalizePathSeparators(pathname) {
|
|
175
|
+
const collapsed = pathname.replace(/\/{2,}/g, "/");
|
|
176
|
+
if (collapsed.length <= 1) return collapsed;
|
|
177
|
+
return collapsed.replace(/\/+$/, "");
|
|
178
|
+
}
|
|
179
|
+
function resolveDotSegments(pathname) {
|
|
180
|
+
try {
|
|
181
|
+
return new URL(pathname, "http://localhost").pathname;
|
|
182
|
+
} catch {
|
|
183
|
+
return pathname;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
function normalizePathForSecurity(pathname) {
|
|
187
|
+
return normalizePathSeparators(normalizeLowercaseStringOrEmpty$1(resolveDotSegments(pathname))) || "/";
|
|
188
|
+
}
|
|
189
|
+
function buildCanonicalPathCandidates(pathname, maxDecodePasses = MAX_PATH_DECODE_PASSES) {
|
|
190
|
+
const candidates = /* @__PURE__ */ new Set([normalizePathForSecurity(pathname)]);
|
|
191
|
+
let decoded = pathname;
|
|
192
|
+
let malformedEncoding = false;
|
|
193
|
+
let decodePasses = 0;
|
|
194
|
+
for (let pass = 0; pass < maxDecodePasses; pass++) {
|
|
195
|
+
let nextDecoded;
|
|
196
|
+
try {
|
|
197
|
+
nextDecoded = decodeURIComponent(decoded);
|
|
198
|
+
} catch {
|
|
199
|
+
malformedEncoding = true;
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
if (nextDecoded === decoded) break;
|
|
203
|
+
decodePasses += 1;
|
|
204
|
+
decoded = nextDecoded;
|
|
205
|
+
candidates.add(normalizePathForSecurity(decoded));
|
|
206
|
+
}
|
|
207
|
+
let decodePassLimitReached = false;
|
|
208
|
+
if (!malformedEncoding) try {
|
|
209
|
+
decodePassLimitReached = decodeURIComponent(decoded) !== decoded;
|
|
210
|
+
} catch {
|
|
211
|
+
malformedEncoding = true;
|
|
212
|
+
}
|
|
213
|
+
return {
|
|
214
|
+
candidates: [...candidates],
|
|
215
|
+
decodePasses,
|
|
216
|
+
decodePassLimitReached,
|
|
217
|
+
malformedEncoding
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
function canonicalizePathForSecurity(pathname) {
|
|
221
|
+
const { candidates, decodePasses, decodePassLimitReached, malformedEncoding } = buildCanonicalPathCandidates(pathname);
|
|
222
|
+
return {
|
|
223
|
+
canonicalPath: candidates[candidates.length - 1] ?? "/",
|
|
224
|
+
candidates,
|
|
225
|
+
decodePasses,
|
|
226
|
+
decodePassLimitReached,
|
|
227
|
+
malformedEncoding,
|
|
228
|
+
rawNormalizedPath: normalizePathSeparators(normalizeLowercaseStringOrEmpty$1(pathname)) || "/"
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
const PROTECTED_PLUGIN_ROUTE_PREFIXES = ["/api/channels"];
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region src/gateway/server/plugins-http/path-context.ts
|
|
234
|
+
function normalizeProtectedPrefix(prefix) {
|
|
235
|
+
const collapsed = normalizeLowercaseStringOrEmpty$1(prefix).replace(/\/{2,}/g, "/");
|
|
236
|
+
if (collapsed.length <= 1) return collapsed || "/";
|
|
237
|
+
return collapsed.replace(/\/+$/, "");
|
|
238
|
+
}
|
|
239
|
+
const NORMALIZED_PROTECTED_PLUGIN_ROUTE_PREFIXES = PROTECTED_PLUGIN_ROUTE_PREFIXES.map(normalizeProtectedPrefix);
|
|
240
|
+
/** Returns true when any decoded path candidate targets a protected route. */
|
|
241
|
+
function isProtectedPluginRoutePathFromContext(context) {
|
|
242
|
+
if (context.candidates.some((candidate) => NORMALIZED_PROTECTED_PLUGIN_ROUTE_PREFIXES.some((prefix) => prefixMatchPath(candidate, prefix)))) return true;
|
|
243
|
+
if (context.decodePassLimitReached) return true;
|
|
244
|
+
if (!context.malformedEncoding) return false;
|
|
245
|
+
return NORMALIZED_PROTECTED_PLUGIN_ROUTE_PREFIXES.some((prefix) => prefixMatchPath(context.rawNormalizedPath, prefix));
|
|
246
|
+
}
|
|
247
|
+
/** Builds all security-relevant decoded path candidates for a request path. */
|
|
248
|
+
function resolvePluginRoutePathContext(pathname) {
|
|
249
|
+
const canonical = canonicalizePathForSecurity(pathname);
|
|
250
|
+
return {
|
|
251
|
+
pathname,
|
|
252
|
+
canonicalPath: canonical.canonicalPath,
|
|
253
|
+
candidates: canonical.candidates,
|
|
254
|
+
malformedEncoding: canonical.malformedEncoding,
|
|
255
|
+
decodePassLimitReached: canonical.decodePassLimitReached,
|
|
256
|
+
rawNormalizedPath: canonical.rawNormalizedPath
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/gateway-config-runtime
|
|
261
|
+
var gateway_config_runtime_exports = /* @__PURE__ */ __exportAll({
|
|
262
|
+
classifyGatewayProbePath: () => classifyGatewayProbePath,
|
|
263
|
+
isProtectedPluginRoutePathFromContext: () => isProtectedPluginRoutePathFromContext,
|
|
264
|
+
resolvePluginRoutePathContext: () => resolvePluginRoutePathContext
|
|
265
|
+
});
|
|
266
|
+
import * as import_openclaw_plugin_sdk_gateway_config_runtime from "openclaw/plugin-sdk/gateway-config-runtime";
|
|
267
|
+
__reExport(gateway_config_runtime_exports, import_openclaw_plugin_sdk_gateway_config_runtime);
|
|
268
|
+
//#endregion
|
|
269
|
+
//#region extensions/feishu/src/webhook-route.ts
|
|
270
|
+
function resolveFeishuLegacyWebhookListener(config) {
|
|
271
|
+
const listener = config.legacyWebhook;
|
|
272
|
+
return listener === false ? void 0 : {
|
|
273
|
+
port: listener?.port ?? 3e3,
|
|
274
|
+
host: listener?.host ?? "127.0.0.1"
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
function describeFeishuWebhookPathConflict(path) {
|
|
278
|
+
const normalized = normalizeFeishuWebhookPath(path);
|
|
279
|
+
if (!normalized) return;
|
|
280
|
+
const pathname = new URL(normalized, "http://localhost").pathname;
|
|
281
|
+
const probe = classifyGatewayProbePath(pathname);
|
|
282
|
+
let reason;
|
|
283
|
+
if (probe !== "outside" && probe !== "namespace") reason = "is reserved for Gateway probes";
|
|
284
|
+
else if (isProtectedPluginRoutePathFromContext(resolvePluginRoutePathContext(pathname))) reason = "requires Gateway authentication";
|
|
285
|
+
else return;
|
|
286
|
+
return `webhookPath ${JSON.stringify(path)} ${reason}. Set webhookPath to ${DEFAULT_FEISHU_WEBHOOK_PATH} and update the Feishu callback URL or reverse-proxy path to match.`;
|
|
287
|
+
}
|
|
288
|
+
function collectFeishuWebhookNotes({ cfg, env }) {
|
|
289
|
+
const infoNotes = [];
|
|
290
|
+
const warningNotes = [];
|
|
291
|
+
for (const accountId of listFeishuAccountIds(cfg)) {
|
|
292
|
+
const account = mergeFeishuAccountConfig(cfg, accountId);
|
|
293
|
+
if (cfg.channels?.feishu?.enabled === false || account.enabled === false || account.connectionMode !== "webhook") continue;
|
|
294
|
+
const route = account.webhookPath ?? "/feishu/events";
|
|
295
|
+
const legacyListener = resolveFeishuLegacyWebhookListener(account);
|
|
296
|
+
const pathConflict = describeFeishuWebhookPathConflict(route);
|
|
297
|
+
if (pathConflict) {
|
|
298
|
+
warningNotes.push(`Feishu account "${accountId}" ${pathConflict} ${legacyListener ? "The legacyWebhook listener keeps the old path working. Move webhookPath and the callback or proxy before setting legacyWebhook:false." : "Webhook startup is blocked until the path is changed."} Use Gateway port ${(0, gateway_config_runtime_exports.resolveGatewayPort)(cfg, env)}.`);
|
|
299
|
+
continue;
|
|
300
|
+
}
|
|
301
|
+
const upstream = `Gateway port ${(0, gateway_config_runtime_exports.resolveGatewayPort)(cfg, env)}, path ${route}`;
|
|
302
|
+
infoNotes.push(`Feishu account "${accountId}" uses ${upstream}. Point the Feishu callback URL or reverse-proxy upstream there; accounts sharing a path need distinct encrypt keys. ${legacyListener ? `The legacy listener on ${legacyListener.host}:${legacyListener.port} forwards into that same route. After verifying delivery through the Gateway, set legacyWebhook:false to disable legacy forwarding for this account. Omitting the setting restores the inherited or default endpoint.` : "legacyWebhook:false disables legacy forwarding for this account; callbacks use the Gateway route."}`);
|
|
303
|
+
}
|
|
304
|
+
return {
|
|
305
|
+
infoNotes,
|
|
306
|
+
warningNotes
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
//#endregion
|
|
310
|
+
//#region extensions/feishu/src/doctor.ts
|
|
311
|
+
const FEISHU_STATE_DIR = "feishu";
|
|
312
|
+
const BACKUP_PREFIX = "feishu-state-repair";
|
|
313
|
+
const BLANK_USER_MESSAGE_REPAIR_THRESHOLD = 3;
|
|
314
|
+
const SESSION_FILE_INSPECTION_MAX_BYTES = 16777216;
|
|
315
|
+
function timestampForPath(now = /* @__PURE__ */ new Date()) {
|
|
316
|
+
return now.toISOString().replaceAll(":", "-");
|
|
317
|
+
}
|
|
318
|
+
function toFeishuSessionEntry(value) {
|
|
319
|
+
if (!isRecord(value)) return {};
|
|
320
|
+
return {
|
|
321
|
+
sessionId: value.sessionId,
|
|
322
|
+
sessionFile: value.sessionFile
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
function countLabel(count, singular, plural = `${singular}s`) {
|
|
326
|
+
return `${count} ${count === 1 ? singular : plural}`;
|
|
327
|
+
}
|
|
328
|
+
function existsDir(dir) {
|
|
329
|
+
return safeStatSync(dir)?.isDirectory() ?? false;
|
|
330
|
+
}
|
|
331
|
+
function existsFile(filePath) {
|
|
332
|
+
return safeStatSync(filePath)?.isFile() ?? false;
|
|
333
|
+
}
|
|
334
|
+
function resolveFeishuAgentSessionsDir(agentId) {
|
|
335
|
+
return path.join(resolveStateDir(), "agents", normalizeAgentId(agentId), "sessions");
|
|
336
|
+
}
|
|
337
|
+
function safeReadDir(dir) {
|
|
338
|
+
try {
|
|
339
|
+
return fs.readdirSync(dir, { withFileTypes: true });
|
|
340
|
+
} catch {
|
|
341
|
+
return [];
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
function formatDisplayPath(filePath) {
|
|
345
|
+
const home = os.homedir();
|
|
346
|
+
const resolved = path.resolve(filePath);
|
|
347
|
+
return resolved === home || resolved.startsWith(`${home}${path.sep}`) ? `~${resolved.slice(home.length)}` : resolved;
|
|
348
|
+
}
|
|
349
|
+
function formatFinding(finding) {
|
|
350
|
+
switch (finding.kind) {
|
|
351
|
+
case "corrupt-state-json": return `- Feishu local JSON state is corrupt: ${formatDisplayPath(finding.path)}`;
|
|
352
|
+
case "missing-session-transcript": return `- Feishu session ${finding.sessionKey} points to a missing transcript in ${formatDisplayPath(finding.storePath)}`;
|
|
353
|
+
case "invalid-session-transcript": return `- Feishu session ${finding.sessionKey} has an invalid transcript (${finding.reason}): ${formatDisplayPath(finding.path)}`;
|
|
354
|
+
case "blank-user-message-run": return `- Feishu session ${finding.sessionKey} contains ${finding.count} blank user messages: ${formatDisplayPath(finding.path)}`;
|
|
355
|
+
}
|
|
356
|
+
return finding;
|
|
357
|
+
}
|
|
358
|
+
function isFeishuSessionStoreKey(key) {
|
|
359
|
+
const normalized = key.trim().toLowerCase();
|
|
360
|
+
return /^agent:[^:]+:feishu(?::|$)/.test(normalized) || /^feishu(?::|$)/.test(normalized);
|
|
361
|
+
}
|
|
362
|
+
function isFeishuAcpBindingSessionKey(key) {
|
|
363
|
+
return /^agent:[^:]+:acp:binding:feishu(?::|$)/.test(key.trim().toLowerCase());
|
|
364
|
+
}
|
|
365
|
+
function isFeishuSessionEntry(key, value) {
|
|
366
|
+
if (isFeishuAcpBindingSessionKey(key)) return false;
|
|
367
|
+
if (isFeishuSessionStoreKey(key)) return true;
|
|
368
|
+
if (!isRecord(value)) return false;
|
|
369
|
+
if (normalizeLowercaseStringOrEmpty(value.channel) === "feishu" || normalizeLowercaseStringOrEmpty(value.lastChannel) === "feishu") return true;
|
|
370
|
+
const route = isRecord(value.route) ? value.route : null;
|
|
371
|
+
if (normalizeLowercaseStringOrEmpty(route?.channel) === "feishu") return true;
|
|
372
|
+
const deliveryContext = isRecord(value.deliveryContext) ? value.deliveryContext : null;
|
|
373
|
+
if (normalizeLowercaseStringOrEmpty(deliveryContext?.channel) === "feishu") return true;
|
|
374
|
+
const pendingDeliveryContext = isRecord(value.pendingFinalDeliveryContext) ? value.pendingFinalDeliveryContext : null;
|
|
375
|
+
if (normalizeLowercaseStringOrEmpty(pendingDeliveryContext?.channel) === "feishu") return true;
|
|
376
|
+
const origin = isRecord(value.origin) ? value.origin : null;
|
|
377
|
+
const originProvider = normalizeLowercaseStringOrEmpty(origin?.provider);
|
|
378
|
+
const originSurface = normalizeLowercaseStringOrEmpty(origin?.surface);
|
|
379
|
+
const originFrom = normalizeLowercaseStringOrEmpty(origin?.from);
|
|
380
|
+
return originProvider === "feishu" || originSurface.startsWith("feishu") || originFrom.startsWith("feishu:");
|
|
381
|
+
}
|
|
382
|
+
function collectConfiguredAgentIds(cfg) {
|
|
383
|
+
const ids = /* @__PURE__ */ new Set();
|
|
384
|
+
ids.add(resolveConfiguredDefaultAgentId(cfg));
|
|
385
|
+
for (const agent of cfg.agents?.list ?? []) if (typeof agent.id === "string" && agent.id.trim()) ids.add(normalizeAgentId(agent.id));
|
|
386
|
+
return [...ids].toSorted();
|
|
387
|
+
}
|
|
388
|
+
function resolveConfiguredDefaultAgentId(cfg) {
|
|
389
|
+
const agents = cfg.agents?.list ?? [];
|
|
390
|
+
const chosen = agents.find((agent) => agent?.default) ?? agents[0];
|
|
391
|
+
return normalizeAgentId(typeof chosen?.id === "string" && chosen.id.trim() ? chosen.id : "main");
|
|
392
|
+
}
|
|
393
|
+
function collectFeishuSessionTargets(params) {
|
|
394
|
+
const byStorePath = /* @__PURE__ */ new Map();
|
|
395
|
+
const addTarget = (target) => {
|
|
396
|
+
const resolvedStorePath = path.resolve(target.storePath);
|
|
397
|
+
byStorePath.set(`${normalizeAgentId(target.agentId)}\0${resolvedStorePath}`, {
|
|
398
|
+
...target,
|
|
399
|
+
agentId: normalizeAgentId(target.agentId),
|
|
400
|
+
storePath: resolvedStorePath
|
|
401
|
+
});
|
|
402
|
+
};
|
|
403
|
+
for (const agentId of collectConfiguredAgentIds(params.cfg)) addTarget({
|
|
404
|
+
agentId,
|
|
405
|
+
storePath: resolveStorePath(params.cfg.session?.store, {
|
|
406
|
+
agentId,
|
|
407
|
+
env: params.env
|
|
408
|
+
})
|
|
409
|
+
});
|
|
410
|
+
const agentsDir = path.join(params.stateDir, "agents");
|
|
411
|
+
for (const agentDir of safeReadDir(agentsDir)) {
|
|
412
|
+
if (!agentDir.isDirectory()) continue;
|
|
413
|
+
const agentId = normalizeAgentId(agentDir.name);
|
|
414
|
+
const storePath = path.join(agentsDir, agentDir.name, "sessions", "sessions.json");
|
|
415
|
+
if (existsFile(storePath)) addTarget({
|
|
416
|
+
agentId,
|
|
417
|
+
storePath
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
return [...byStorePath.values()].toSorted((left, right) => left.storePath.localeCompare(right.storePath));
|
|
421
|
+
}
|
|
422
|
+
function collectJsonFiles(rootDir, limit = 200) {
|
|
423
|
+
const files = [];
|
|
424
|
+
const visit = (dir) => {
|
|
425
|
+
if (files.length >= limit) return;
|
|
426
|
+
for (const entry of safeReadDir(dir).toSorted((left, right) => left.name.localeCompare(right.name))) {
|
|
427
|
+
const fullPath = path.join(dir, entry.name);
|
|
428
|
+
if (entry.isDirectory()) {
|
|
429
|
+
visit(fullPath);
|
|
430
|
+
continue;
|
|
431
|
+
}
|
|
432
|
+
if (entry.isFile() && entry.name.endsWith(".json")) files.push(fullPath);
|
|
433
|
+
if (files.length >= limit) return;
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
if (existsDir(rootDir)) visit(rootDir);
|
|
437
|
+
return files;
|
|
438
|
+
}
|
|
439
|
+
function collectCorruptFeishuStateJsonFindings(feishuStateDir) {
|
|
440
|
+
const findings = [];
|
|
441
|
+
for (const filePath of collectJsonFiles(feishuStateDir)) try {
|
|
442
|
+
JSON.parse(fs.readFileSync(filePath, "utf-8"));
|
|
443
|
+
} catch {
|
|
444
|
+
findings.push({
|
|
445
|
+
kind: "corrupt-state-json",
|
|
446
|
+
path: filePath
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
return findings;
|
|
450
|
+
}
|
|
451
|
+
function resolveSessionTranscriptCandidates(params) {
|
|
452
|
+
const candidate = params.entry.sessionFile;
|
|
453
|
+
if (typeof candidate !== "string" || !candidate.trim()) return [];
|
|
454
|
+
const sessionsDir = path.dirname(params.storePath);
|
|
455
|
+
const agentSessionsDir = resolveFeishuAgentSessionsDir(params.agentId);
|
|
456
|
+
const trimmed = candidate.trim();
|
|
457
|
+
const resolved = path.isAbsolute(trimmed) ? path.resolve(trimmed) : path.resolve(sessionsDir, trimmed);
|
|
458
|
+
return resolved !== sessionsDir && resolved !== agentSessionsDir && (isPathStrictlyInside(sessionsDir, resolved) || isPathStrictlyInside(agentSessionsDir, resolved)) ? [resolved] : [];
|
|
459
|
+
}
|
|
460
|
+
function isSessionHeader(value) {
|
|
461
|
+
return isRecord(value) && value.type === "session" && typeof value.id === "string";
|
|
462
|
+
}
|
|
463
|
+
function isBlankUserMessage(value) {
|
|
464
|
+
if (!isUserMessage(value)) return false;
|
|
465
|
+
const content = value.message.content;
|
|
466
|
+
if (typeof content === "string") return content.trim().length === 0;
|
|
467
|
+
return Array.isArray(content) && content.length === 0;
|
|
468
|
+
}
|
|
469
|
+
function isUserMessage(value) {
|
|
470
|
+
return isRecord(value) && value.type === "message" && isRecord(value.message) && value.message.role === "user";
|
|
471
|
+
}
|
|
472
|
+
function inspectTranscriptEntries(params) {
|
|
473
|
+
let blankUserMessageRun = 0;
|
|
474
|
+
let maxBlankUserMessageRun = 0;
|
|
475
|
+
for (const entry of params.entries) if (isBlankUserMessage(entry)) {
|
|
476
|
+
blankUserMessageRun += 1;
|
|
477
|
+
maxBlankUserMessageRun = Math.max(maxBlankUserMessageRun, blankUserMessageRun);
|
|
478
|
+
} else if (isUserMessage(entry)) blankUserMessageRun = 0;
|
|
479
|
+
if (params.entries.length === 0) {
|
|
480
|
+
if (params.allowMissingSessionHeader) return null;
|
|
481
|
+
return {
|
|
482
|
+
kind: "invalid-session-transcript",
|
|
483
|
+
sessionKey: params.sessionKey,
|
|
484
|
+
storePath: params.storePath,
|
|
485
|
+
path: params.transcriptPath,
|
|
486
|
+
reason: "empty transcript"
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
const firstEntry = params.entries[0];
|
|
490
|
+
if (!isSessionHeader(firstEntry) && (!params.allowMissingSessionHeader || !isUserMessage(firstEntry))) return {
|
|
491
|
+
kind: "invalid-session-transcript",
|
|
492
|
+
sessionKey: params.sessionKey,
|
|
493
|
+
storePath: params.storePath,
|
|
494
|
+
path: params.transcriptPath,
|
|
495
|
+
reason: "invalid session header"
|
|
496
|
+
};
|
|
497
|
+
if ((params.malformedLines ?? 0) > 0) return {
|
|
498
|
+
kind: "invalid-session-transcript",
|
|
499
|
+
sessionKey: params.sessionKey,
|
|
500
|
+
storePath: params.storePath,
|
|
501
|
+
path: params.transcriptPath,
|
|
502
|
+
reason: `${params.malformedLines} malformed JSONL line(s)`
|
|
503
|
+
};
|
|
504
|
+
if (maxBlankUserMessageRun >= BLANK_USER_MESSAGE_REPAIR_THRESHOLD) return {
|
|
505
|
+
kind: "blank-user-message-run",
|
|
506
|
+
sessionKey: params.sessionKey,
|
|
507
|
+
storePath: params.storePath,
|
|
508
|
+
path: params.transcriptPath,
|
|
509
|
+
count: maxBlankUserMessageRun
|
|
510
|
+
};
|
|
511
|
+
return null;
|
|
512
|
+
}
|
|
513
|
+
function inspectSessionTranscript(params) {
|
|
514
|
+
const stat = safeStatSync(params.transcriptPath);
|
|
515
|
+
if (!stat) return null;
|
|
516
|
+
if (!stat.isFile()) return {
|
|
517
|
+
kind: "invalid-session-transcript",
|
|
518
|
+
sessionKey: params.sessionKey,
|
|
519
|
+
storePath: params.storePath,
|
|
520
|
+
path: params.transcriptPath,
|
|
521
|
+
reason: "not a file"
|
|
522
|
+
};
|
|
523
|
+
if (stat.size > SESSION_FILE_INSPECTION_MAX_BYTES) return null;
|
|
524
|
+
let raw;
|
|
525
|
+
try {
|
|
526
|
+
raw = fs.readFileSync(params.transcriptPath, "utf-8");
|
|
527
|
+
} catch {
|
|
528
|
+
return {
|
|
529
|
+
kind: "invalid-session-transcript",
|
|
530
|
+
sessionKey: params.sessionKey,
|
|
531
|
+
storePath: params.storePath,
|
|
532
|
+
path: params.transcriptPath,
|
|
533
|
+
reason: "unreadable"
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
const entries = [];
|
|
537
|
+
let malformedLines = 0;
|
|
538
|
+
for (const line of raw.split(/\r?\n/)) {
|
|
539
|
+
if (!line.trim()) continue;
|
|
540
|
+
try {
|
|
541
|
+
const entry = JSON.parse(line);
|
|
542
|
+
entries.push(entry);
|
|
543
|
+
} catch {
|
|
544
|
+
malformedLines += 1;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
return inspectTranscriptEntries({
|
|
548
|
+
...params,
|
|
549
|
+
entries,
|
|
550
|
+
malformedLines
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
function inspectCanonicalSessionTranscript(params) {
|
|
554
|
+
let entries;
|
|
555
|
+
try {
|
|
556
|
+
entries = loadTranscriptEventsSync({
|
|
557
|
+
agentId: params.agentId,
|
|
558
|
+
sessionId: params.sessionId,
|
|
559
|
+
sessionKey: params.sessionKey,
|
|
560
|
+
storePath: params.storePath
|
|
561
|
+
});
|
|
562
|
+
} catch {
|
|
563
|
+
return {
|
|
564
|
+
kind: "invalid-session-transcript",
|
|
565
|
+
sessionKey: params.sessionKey,
|
|
566
|
+
storePath: params.storePath,
|
|
567
|
+
path: params.storePath,
|
|
568
|
+
reason: "unreadable"
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
return inspectTranscriptEntries({
|
|
572
|
+
sessionKey: params.sessionKey,
|
|
573
|
+
storePath: params.storePath,
|
|
574
|
+
transcriptPath: params.storePath,
|
|
575
|
+
allowMissingSessionHeader: true,
|
|
576
|
+
entries
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
function collectFeishuSessionFindings(params) {
|
|
580
|
+
const sessionId = typeof params.entry.sessionId === "string" ? params.entry.sessionId.trim() : "";
|
|
581
|
+
if (sessionId) {
|
|
582
|
+
const finding = inspectCanonicalSessionTranscript({
|
|
583
|
+
agentId: params.agentId,
|
|
584
|
+
sessionId,
|
|
585
|
+
sessionKey: params.sessionKey,
|
|
586
|
+
storePath: params.storePath
|
|
587
|
+
});
|
|
588
|
+
return finding ? [finding] : [];
|
|
589
|
+
}
|
|
590
|
+
const transcriptCandidates = resolveSessionTranscriptCandidates(params);
|
|
591
|
+
const existing = transcriptCandidates.filter(existsFile);
|
|
592
|
+
if (transcriptCandidates.length > 0 && existing.length === 0) return [{
|
|
593
|
+
kind: "missing-session-transcript",
|
|
594
|
+
sessionKey: params.sessionKey,
|
|
595
|
+
storePath: params.storePath
|
|
596
|
+
}];
|
|
597
|
+
const findings = [];
|
|
598
|
+
for (const transcriptPath of existing) {
|
|
599
|
+
const finding = inspectSessionTranscript({
|
|
600
|
+
sessionKey: params.sessionKey,
|
|
601
|
+
storePath: params.storePath,
|
|
602
|
+
transcriptPath
|
|
603
|
+
});
|
|
604
|
+
if (finding) findings.push(finding);
|
|
605
|
+
}
|
|
606
|
+
return findings;
|
|
607
|
+
}
|
|
608
|
+
function hasCorruptFeishuStateJsonFinding(inspection) {
|
|
609
|
+
return inspection.findings.some((finding) => finding.kind === "corrupt-state-json");
|
|
610
|
+
}
|
|
611
|
+
function sessionEntryId(storePath, key) {
|
|
612
|
+
return `${path.resolve(storePath)}\0${key}`;
|
|
613
|
+
}
|
|
614
|
+
function collectRepairSessionEntries(inspection) {
|
|
615
|
+
const entriesById = new Map(inspection.sessionEntries.map((entry) => [sessionEntryId(entry.storePath, entry.key), entry]));
|
|
616
|
+
const repairEntries = [];
|
|
617
|
+
for (const finding of inspection.findings) {
|
|
618
|
+
if (finding.kind === "corrupt-state-json") continue;
|
|
619
|
+
const id = sessionEntryId(finding.storePath, finding.sessionKey);
|
|
620
|
+
const entry = entriesById.get(id);
|
|
621
|
+
if (entry) {
|
|
622
|
+
repairEntries.push(entry);
|
|
623
|
+
entriesById.delete(id);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
return repairEntries.toSorted((left, right) => left.storePath.localeCompare(right.storePath) || left.key.localeCompare(right.key));
|
|
627
|
+
}
|
|
628
|
+
function inspectFeishuDoctorState(params) {
|
|
629
|
+
const env = params.env ?? process.env;
|
|
630
|
+
const stateDir = resolveStateDir(env, os.homedir);
|
|
631
|
+
const feishuStateDir = path.join(stateDir, FEISHU_STATE_DIR);
|
|
632
|
+
const findings = collectCorruptFeishuStateJsonFindings(feishuStateDir);
|
|
633
|
+
const sessionEntries = [];
|
|
634
|
+
for (const target of collectFeishuSessionTargets({
|
|
635
|
+
cfg: params.cfg,
|
|
636
|
+
env,
|
|
637
|
+
stateDir
|
|
638
|
+
})) for (const { sessionKey: key, entry } of listSessionEntries({
|
|
639
|
+
agentId: target.agentId,
|
|
640
|
+
storePath: target.storePath
|
|
641
|
+
}).filter(({ sessionKey, entry: sessionEntry }) => !isValidAgentHarnessSessionStoreEntry(sessionKey, sessionEntry) && isFeishuSessionEntry(sessionKey, sessionEntry)).toSorted((left, right) => left.sessionKey.localeCompare(right.sessionKey))) {
|
|
642
|
+
const sessionEntry = toFeishuSessionEntry(entry);
|
|
643
|
+
sessionEntries.push({
|
|
644
|
+
key,
|
|
645
|
+
storePath: target.storePath,
|
|
646
|
+
agentId: target.agentId,
|
|
647
|
+
entry: sessionEntry
|
|
648
|
+
});
|
|
649
|
+
findings.push(...collectFeishuSessionFindings({
|
|
650
|
+
sessionKey: key,
|
|
651
|
+
storePath: target.storePath,
|
|
652
|
+
agentId: target.agentId,
|
|
653
|
+
entry: sessionEntry
|
|
654
|
+
}));
|
|
655
|
+
}
|
|
656
|
+
return {
|
|
657
|
+
stateDir,
|
|
658
|
+
feishuStateDir,
|
|
659
|
+
findings,
|
|
660
|
+
sessionEntries
|
|
661
|
+
};
|
|
662
|
+
}
|
|
663
|
+
function ensureBackupDir(stateDir, now) {
|
|
664
|
+
const backupDir = path.join(stateDir, "backups", `${BACKUP_PREFIX}-${timestampForPath(now)}`);
|
|
665
|
+
fs.mkdirSync(backupDir, {
|
|
666
|
+
recursive: true,
|
|
667
|
+
mode: 448
|
|
668
|
+
});
|
|
669
|
+
return backupDir;
|
|
670
|
+
}
|
|
671
|
+
function resolveUniquePath(candidate) {
|
|
672
|
+
if (!fs.existsSync(candidate)) return candidate;
|
|
673
|
+
for (let index = 1; index < 1e3; index += 1) {
|
|
674
|
+
const next = `${candidate}.${index}`;
|
|
675
|
+
if (!fs.existsSync(next)) return next;
|
|
676
|
+
}
|
|
677
|
+
throw new Error(`Unable to resolve unique path for ${candidate}`);
|
|
678
|
+
}
|
|
679
|
+
function movePathToBackup(params) {
|
|
680
|
+
if (!fs.existsSync(params.sourcePath)) return false;
|
|
681
|
+
const targetPath = resolveUniquePath(path.join(params.backupDir, params.relativeTarget));
|
|
682
|
+
fs.mkdirSync(path.dirname(targetPath), {
|
|
683
|
+
recursive: true,
|
|
684
|
+
mode: 448
|
|
685
|
+
});
|
|
686
|
+
fs.renameSync(params.sourcePath, targetPath);
|
|
687
|
+
return true;
|
|
688
|
+
}
|
|
689
|
+
function copyStoreBackup(params) {
|
|
690
|
+
const targetDir = path.join(params.backupDir, "session-stores", params.agentId);
|
|
691
|
+
for (const sourcePath of resolveSessionStoreBackupPaths({
|
|
692
|
+
agentId: params.agentId,
|
|
693
|
+
storePath: params.storePath
|
|
694
|
+
})) {
|
|
695
|
+
if (!existsFile(sourcePath)) continue;
|
|
696
|
+
const targetPath = path.join(targetDir, path.basename(sourcePath));
|
|
697
|
+
fs.mkdirSync(path.dirname(targetPath), {
|
|
698
|
+
recursive: true,
|
|
699
|
+
mode: 448
|
|
700
|
+
});
|
|
701
|
+
fs.copyFileSync(sourcePath, resolveUniquePath(targetPath));
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
function collectSessionArtifactPaths(params) {
|
|
705
|
+
const artifacts = /* @__PURE__ */ new Set();
|
|
706
|
+
for (const transcriptPath of resolveSessionTranscriptCandidates(params)) {
|
|
707
|
+
artifacts.add(transcriptPath);
|
|
708
|
+
if (transcriptPath.endsWith(".jsonl")) {
|
|
709
|
+
const base = transcriptPath.slice(0, -6);
|
|
710
|
+
artifacts.add(`${base}.trajectory.jsonl`);
|
|
711
|
+
artifacts.add(`${base}.trajectory-path.json`);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
return [...artifacts].toSorted();
|
|
715
|
+
}
|
|
716
|
+
function archiveSessionArtifacts(params) {
|
|
717
|
+
const seen = /* @__PURE__ */ new Set();
|
|
718
|
+
let archived = 0;
|
|
719
|
+
for (const entry of params.entries) for (const artifactPath of collectSessionArtifactPaths({
|
|
720
|
+
storePath: params.storePath,
|
|
721
|
+
agentId: entry.agentId,
|
|
722
|
+
entry: entry.entry
|
|
723
|
+
})) {
|
|
724
|
+
if (seen.has(artifactPath) || !existsFile(artifactPath)) continue;
|
|
725
|
+
seen.add(artifactPath);
|
|
726
|
+
const archivedPath = resolveUniquePath(`${artifactPath}.deleted.${params.archiveTimestamp}`);
|
|
727
|
+
fs.renameSync(artifactPath, archivedPath);
|
|
728
|
+
archived += 1;
|
|
729
|
+
}
|
|
730
|
+
return archived;
|
|
731
|
+
}
|
|
732
|
+
async function repairFeishuDoctorState(params) {
|
|
733
|
+
const env = params.env ?? process.env;
|
|
734
|
+
const now = params.now ?? /* @__PURE__ */ new Date();
|
|
735
|
+
const inspection = params.inspection ?? inspectFeishuDoctorState({
|
|
736
|
+
cfg: params.cfg,
|
|
737
|
+
env
|
|
738
|
+
});
|
|
739
|
+
const backupDir = ensureBackupDir(inspection.stateDir, now);
|
|
740
|
+
const archiveTimestamp = timestampForPath(now);
|
|
741
|
+
const warnings = [];
|
|
742
|
+
const stateDirRepairAttempted = hasCorruptFeishuStateJsonFinding(inspection);
|
|
743
|
+
let rebuiltStateDir = false;
|
|
744
|
+
if (stateDirRepairAttempted) try {
|
|
745
|
+
rebuiltStateDir = movePathToBackup({
|
|
746
|
+
sourcePath: inspection.feishuStateDir,
|
|
747
|
+
backupDir,
|
|
748
|
+
relativeTarget: FEISHU_STATE_DIR
|
|
749
|
+
});
|
|
750
|
+
fs.mkdirSync(inspection.feishuStateDir, {
|
|
751
|
+
recursive: true,
|
|
752
|
+
mode: 448
|
|
753
|
+
});
|
|
754
|
+
} catch (error) {
|
|
755
|
+
warnings.push(`- Failed to rebuild Feishu local state: ${String(error)}`);
|
|
756
|
+
}
|
|
757
|
+
const entriesByStore = /* @__PURE__ */ new Map();
|
|
758
|
+
for (const entry of collectRepairSessionEntries(inspection)) {
|
|
759
|
+
const existing = entriesByStore.get(entry.storePath);
|
|
760
|
+
if (existing) existing.entries.push({
|
|
761
|
+
key: entry.key,
|
|
762
|
+
entry: entry.entry
|
|
763
|
+
});
|
|
764
|
+
else entriesByStore.set(entry.storePath, {
|
|
765
|
+
agentId: entry.agentId,
|
|
766
|
+
entries: [{
|
|
767
|
+
key: entry.key,
|
|
768
|
+
entry: entry.entry
|
|
769
|
+
}]
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
let removedSessionEntries = 0;
|
|
773
|
+
let touchedSessionStores = 0;
|
|
774
|
+
let archivedSessionArtifacts = 0;
|
|
775
|
+
for (const [storePath, group] of [...entriesByStore.entries()].toSorted(([left], [right]) => left.localeCompare(right))) try {
|
|
776
|
+
copyStoreBackup({
|
|
777
|
+
storePath,
|
|
778
|
+
backupDir,
|
|
779
|
+
agentId: group.agentId
|
|
780
|
+
});
|
|
781
|
+
const keys = new Set(group.entries.map((entry) => entry.key));
|
|
782
|
+
const removedEntries = [];
|
|
783
|
+
for (const key of keys) {
|
|
784
|
+
const currentEntry = listSessionEntries({
|
|
785
|
+
agentId: group.agentId,
|
|
786
|
+
storePath
|
|
787
|
+
}).find((candidate) => candidate.sessionKey === key)?.entry;
|
|
788
|
+
if (!currentEntry || isValidAgentHarnessSessionStoreEntry(key, currentEntry)) continue;
|
|
789
|
+
if (!await deleteSessionEntry({
|
|
790
|
+
agentId: group.agentId,
|
|
791
|
+
archiveTranscript: true,
|
|
792
|
+
sessionKey: key,
|
|
793
|
+
storePath
|
|
794
|
+
})) continue;
|
|
795
|
+
const entry = group.entries.find((candidate) => candidate.key === key);
|
|
796
|
+
if (entry) removedEntries.push(entry);
|
|
797
|
+
}
|
|
798
|
+
const removed = removedEntries.length;
|
|
799
|
+
removedSessionEntries += removed;
|
|
800
|
+
if (removed > 0) {
|
|
801
|
+
touchedSessionStores += 1;
|
|
802
|
+
archivedSessionArtifacts += archiveSessionArtifacts({
|
|
803
|
+
storePath,
|
|
804
|
+
entries: removedEntries.map((entry) => ({
|
|
805
|
+
agentId: group.agentId,
|
|
806
|
+
entry: entry.entry
|
|
807
|
+
})),
|
|
808
|
+
archiveTimestamp
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
} catch (error) {
|
|
812
|
+
warnings.push(`- Failed to archive Feishu sessions in ${formatDisplayPath(storePath)}: ${String(error)}`);
|
|
813
|
+
}
|
|
814
|
+
return {
|
|
815
|
+
backupDir,
|
|
816
|
+
stateDirRepairAttempted,
|
|
817
|
+
rebuiltStateDir,
|
|
818
|
+
removedSessionEntries,
|
|
819
|
+
touchedSessionStores,
|
|
820
|
+
archivedSessionArtifacts,
|
|
821
|
+
warnings
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
function formatPreviewWarning(inspection) {
|
|
825
|
+
const previewFindings = inspection.findings.slice(0, 5).map(formatFinding);
|
|
826
|
+
const remaining = inspection.findings.length - previewFindings.length;
|
|
827
|
+
const repairActions = [];
|
|
828
|
+
if (hasCorruptFeishuStateJsonFinding(inspection)) repairActions.push(`archive ${formatDisplayPath(inspection.feishuStateDir)}`);
|
|
829
|
+
const repairSessionEntries = collectRepairSessionEntries(inspection);
|
|
830
|
+
if (repairSessionEntries.length > 0) repairActions.push(`archive artifacts and remove ${countLabel(repairSessionEntries.length, "flagged Feishu-scoped session entry", "flagged Feishu-scoped session entries")}`);
|
|
831
|
+
const repairSummary = repairActions.length > 0 ? repairActions.join(" and ") : "apply targeted Feishu state cleanup";
|
|
832
|
+
return [
|
|
833
|
+
"- Feishu local channel state may need repair.",
|
|
834
|
+
...previewFindings,
|
|
835
|
+
...remaining > 0 ? [`- ...and ${remaining} more Feishu state finding(s).`] : [],
|
|
836
|
+
`- Repair will ${repairSummary}, while preserving Feishu App ID/secret config and healthy session entries.`,
|
|
837
|
+
"- Run \"openclaw doctor --fix\" to rebuild Feishu local state."
|
|
838
|
+
].join("\n");
|
|
839
|
+
}
|
|
840
|
+
function formatRepairChange(report) {
|
|
841
|
+
const stateRepairStatus = report.stateDirRepairAttempted ? report.rebuiltStateDir ? "yes" : "no existing state" : "not needed";
|
|
842
|
+
return [
|
|
843
|
+
"Feishu local state repaired.",
|
|
844
|
+
`- Backup dir: ${formatDisplayPath(report.backupDir)}`,
|
|
845
|
+
`- Rebuilt Feishu runtime state: ${stateRepairStatus}`,
|
|
846
|
+
`- Removed ${countLabel(report.removedSessionEntries, "Feishu-scoped session entry", "Feishu-scoped session entries")} from ${countLabel(report.touchedSessionStores, "session store")}.`,
|
|
847
|
+
`- Archived ${countLabel(report.archivedSessionArtifacts, "session artifact file")}.`,
|
|
848
|
+
"- Preserved Feishu App ID/secret config."
|
|
849
|
+
].join("\n");
|
|
850
|
+
}
|
|
851
|
+
async function runFeishuDoctorSequence(params) {
|
|
852
|
+
const notes = collectFeishuWebhookNotes(params);
|
|
853
|
+
const inspection = params.cfg.channels?.feishu ? inspectFeishuDoctorState(params) : void 0;
|
|
854
|
+
if (!inspection || inspection.findings.length === 0) return {
|
|
855
|
+
changeNotes: [],
|
|
856
|
+
...notes
|
|
857
|
+
};
|
|
858
|
+
if (!params.shouldRepair) return {
|
|
859
|
+
changeNotes: [],
|
|
860
|
+
...notes,
|
|
861
|
+
warningNotes: [...notes.warningNotes, formatPreviewWarning(inspection)]
|
|
862
|
+
};
|
|
863
|
+
const report = await repairFeishuDoctorState({
|
|
864
|
+
cfg: params.cfg,
|
|
865
|
+
env: params.env,
|
|
866
|
+
inspection
|
|
867
|
+
});
|
|
868
|
+
return {
|
|
869
|
+
changeNotes: [formatRepairChange(report)],
|
|
870
|
+
...notes,
|
|
871
|
+
warningNotes: [...notes.warningNotes, ...report.warnings]
|
|
872
|
+
};
|
|
873
|
+
}
|
|
874
|
+
const feishuDoctor = {
|
|
875
|
+
legacyConfigRules,
|
|
876
|
+
normalizeCompatibilityConfig,
|
|
877
|
+
runConfigSequence: runFeishuDoctorSequence
|
|
878
|
+
};
|
|
879
|
+
//#endregion
|
|
880
|
+
//#region extensions/feishu/src/gateway.ts
|
|
881
|
+
const feishuGatewayAdapter = { startAccount: async (ctx) => {
|
|
882
|
+
const { monitorFeishuProvider } = await import("./monitor-D_rsHBZ6.mjs");
|
|
883
|
+
const account = resolveFeishuRuntimeAccount({
|
|
884
|
+
cfg: ctx.cfg,
|
|
885
|
+
accountId: ctx.accountId
|
|
886
|
+
}, { requireEventSecrets: true });
|
|
887
|
+
const port = account.config?.connectionMode === "webhook" ? (0, gateway_config_runtime_exports.resolveGatewayPort)(ctx.cfg) : null;
|
|
888
|
+
ctx.setStatus({
|
|
889
|
+
accountId: ctx.accountId,
|
|
890
|
+
port
|
|
891
|
+
});
|
|
892
|
+
ctx.log?.info(`starting feishu[${ctx.accountId}] (mode: ${account.config?.connectionMode ?? "websocket"})`);
|
|
893
|
+
const statusSink = createAccountStatusSink({
|
|
894
|
+
accountId: ctx.accountId,
|
|
895
|
+
setStatus: ctx.setStatus
|
|
896
|
+
});
|
|
897
|
+
return monitorFeishuProvider({
|
|
898
|
+
config: ctx.cfg,
|
|
899
|
+
runtime: ctx.runtime,
|
|
900
|
+
channelRuntime: ctx.channelRuntime,
|
|
901
|
+
abortSignal: ctx.abortSignal,
|
|
902
|
+
accountId: ctx.accountId,
|
|
903
|
+
statusSink
|
|
904
|
+
});
|
|
905
|
+
} };
|
|
906
|
+
//#endregion
|
|
907
|
+
//#region extensions/feishu/src/comment-send.ts
|
|
908
|
+
async function sendCommentThreadReply(params) {
|
|
909
|
+
const target = parseFeishuCommentTarget(params.to);
|
|
910
|
+
if (!target) return null;
|
|
911
|
+
const account = resolveFeishuAccount({
|
|
912
|
+
cfg: params.cfg,
|
|
913
|
+
accountId: params.accountId
|
|
914
|
+
});
|
|
915
|
+
const client = createFeishuClient(account);
|
|
916
|
+
const replyId = params.replyId?.trim();
|
|
917
|
+
try {
|
|
918
|
+
const result = await deliverCommentThreadText(client, {
|
|
919
|
+
file_token: target.fileToken,
|
|
920
|
+
file_type: target.fileType,
|
|
921
|
+
comment_id: target.commentId,
|
|
922
|
+
content: params.text
|
|
923
|
+
});
|
|
924
|
+
return {
|
|
925
|
+
messageId: (result.delivery_mode === "reply_comment" ? result.reply_id : result.comment_id) ?? "",
|
|
926
|
+
chatId: target.commentId,
|
|
927
|
+
result
|
|
928
|
+
};
|
|
929
|
+
} finally {
|
|
930
|
+
if (replyId) cleanupAmbientCommentTypingReaction({
|
|
931
|
+
client,
|
|
932
|
+
deliveryContext: {
|
|
933
|
+
channel: "feishu",
|
|
934
|
+
to: params.to,
|
|
935
|
+
threadId: replyId
|
|
936
|
+
}
|
|
937
|
+
});
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
//#endregion
|
|
941
|
+
//#region extensions/feishu/src/outbound.ts
|
|
942
|
+
const FEISHU_PROPAGATE_MEDIA_UPLOAD_FAILURE_MARKER = "__openclawPropagateMediaUploadFailure";
|
|
943
|
+
const FEISHU_TEXT_CHUNK_LIMIT = 4e3;
|
|
944
|
+
function normalizePossibleLocalImagePath(text) {
|
|
945
|
+
const raw = text?.trim();
|
|
946
|
+
if (!raw) return null;
|
|
947
|
+
if (/\s/.test(raw)) return null;
|
|
948
|
+
if (/^(https?:\/\/|data:|file:\/\/)/i.test(raw)) return null;
|
|
949
|
+
const ext = normalizeLowercaseStringOrEmpty(path.extname(raw));
|
|
950
|
+
if (![
|
|
951
|
+
".jpg",
|
|
952
|
+
".jpeg",
|
|
953
|
+
".png",
|
|
954
|
+
".gif",
|
|
955
|
+
".webp",
|
|
956
|
+
".bmp",
|
|
957
|
+
".ico",
|
|
958
|
+
".heic",
|
|
959
|
+
".tif",
|
|
960
|
+
".tiff"
|
|
961
|
+
].includes(ext)) return null;
|
|
962
|
+
if (!path.isAbsolute(raw)) return null;
|
|
963
|
+
try {
|
|
964
|
+
if (statRegularFileSync(raw).missing) return null;
|
|
965
|
+
} catch {
|
|
966
|
+
return null;
|
|
967
|
+
}
|
|
968
|
+
return raw;
|
|
969
|
+
}
|
|
970
|
+
function toFeishuOutboundResult(result) {
|
|
971
|
+
const { chatId, ...delivery } = result;
|
|
972
|
+
return {
|
|
973
|
+
...delivery,
|
|
974
|
+
target: {
|
|
975
|
+
kind: "chat",
|
|
976
|
+
id: chatId
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
async function reportFeishuOutboundDelivery(result, onDeliveryResult) {
|
|
981
|
+
await onDeliveryResult?.(attachChannelToResult("feishu", toFeishuOutboundResult(result)));
|
|
982
|
+
return result;
|
|
983
|
+
}
|
|
984
|
+
function aggregateFeishuSendResult(result, results) {
|
|
985
|
+
return {
|
|
986
|
+
...result,
|
|
987
|
+
receipt: {
|
|
988
|
+
...createMessageReceiptFromOutboundResults({ results }),
|
|
989
|
+
primaryPlatformMessageId: result.messageId
|
|
990
|
+
}
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
function partialFeishuSendError(error, results) {
|
|
994
|
+
if (results.length === 0 && error instanceof Error) return error;
|
|
995
|
+
const accepted = isChannelPartialDeliveryError(error) ? error.deliveryResult : void 0;
|
|
996
|
+
return createFeishuPartialReplyDeliveryError(error, {
|
|
997
|
+
...accepted,
|
|
998
|
+
...createFeishuReplyDeliveryResult({
|
|
999
|
+
results: [...results, accepted],
|
|
1000
|
+
visibleReplySent: results.length > 0 || accepted !== void 0
|
|
1001
|
+
})
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
function readFeishuPropagateMediaUploadFailure(payload) {
|
|
1005
|
+
return (isRecord(payload.channelData?.feishu) ? payload.channelData.feishu : void 0)?.[FEISHU_PROPAGATE_MEDIA_UPLOAD_FAILURE_MARKER] === true;
|
|
1006
|
+
}
|
|
1007
|
+
function resolveFeishuReplyMode(params) {
|
|
1008
|
+
const replyToMessageId = params.replyToId?.trim();
|
|
1009
|
+
if (replyToMessageId) return {
|
|
1010
|
+
normalizedReplyToId: replyToMessageId,
|
|
1011
|
+
replyToMessageId,
|
|
1012
|
+
replyInThread: false
|
|
1013
|
+
};
|
|
1014
|
+
const threadId = params.threadId == null ? void 0 : String(params.threadId).trim();
|
|
1015
|
+
return threadId ? {
|
|
1016
|
+
normalizedReplyToId: void 0,
|
|
1017
|
+
replyToMessageId: threadId,
|
|
1018
|
+
replyInThread: true
|
|
1019
|
+
} : {
|
|
1020
|
+
normalizedReplyToId: void 0,
|
|
1021
|
+
replyToMessageId: void 0,
|
|
1022
|
+
replyInThread: false
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
function createFeishuReplyFanout(ctx) {
|
|
1026
|
+
return createReplyToFanout({
|
|
1027
|
+
replyToId: resolveFeishuReplyMode(ctx).normalizedReplyToId,
|
|
1028
|
+
replyToIdSource: ctx.replyToIdSource,
|
|
1029
|
+
replyToMode: ctx.replyToMode
|
|
1030
|
+
});
|
|
1031
|
+
}
|
|
1032
|
+
async function sendOutboundText(params) {
|
|
1033
|
+
const { cfg, to, text, accountId, replyToMessageId, replyInThread, onDeliveryResult } = params;
|
|
1034
|
+
const commentResult = await sendCommentThreadReply({
|
|
1035
|
+
cfg,
|
|
1036
|
+
to,
|
|
1037
|
+
text,
|
|
1038
|
+
replyId: replyToMessageId,
|
|
1039
|
+
accountId
|
|
1040
|
+
});
|
|
1041
|
+
if (commentResult) return await reportFeishuOutboundDelivery(commentResult, onDeliveryResult);
|
|
1042
|
+
const renderMode = resolveFeishuAccount({
|
|
1043
|
+
cfg,
|
|
1044
|
+
accountId
|
|
1045
|
+
}).config?.renderMode ?? "auto";
|
|
1046
|
+
const useCard = (renderMode === "card" || renderMode === "auto" && shouldUseFeishuCard(text)) && withinCardTableLimit(text);
|
|
1047
|
+
const tableMode = resolveMarkdownTableMode({
|
|
1048
|
+
cfg,
|
|
1049
|
+
channel: "feishu"
|
|
1050
|
+
});
|
|
1051
|
+
const normalizedText = useCard ? text : materializeFeishuPostMarkdownSoftBreaks(convertMarkdownTables(text, tableMode));
|
|
1052
|
+
const chunkOptions = {
|
|
1053
|
+
text: normalizedText,
|
|
1054
|
+
limit: resolveTextChunkLimit(cfg, "feishu", accountId, { fallbackLimit: FEISHU_TEXT_CHUNK_LIMIT }),
|
|
1055
|
+
mode: resolveChunkMode(cfg, "feishu", accountId)
|
|
1056
|
+
};
|
|
1057
|
+
const subChunks = useCard ? chunkFeishuCardMarkdown({
|
|
1058
|
+
...chunkOptions,
|
|
1059
|
+
header: params.header
|
|
1060
|
+
}) : chunkFeishuPostMarkdown(chunkOptions);
|
|
1061
|
+
const results = [];
|
|
1062
|
+
const preserveThread = replyInThread === true;
|
|
1063
|
+
const nextReplyToMessageId = createReplyToFanout({
|
|
1064
|
+
replyToId: replyToMessageId,
|
|
1065
|
+
replyToIdSource: params.replyToIdSource,
|
|
1066
|
+
replyToMode: params.replyToMode ?? "first"
|
|
1067
|
+
});
|
|
1068
|
+
for (const [i, chunk] of (subChunks.length ? subChunks : [normalizedText]).entries()) try {
|
|
1069
|
+
const sendParams = {
|
|
1070
|
+
cfg,
|
|
1071
|
+
to,
|
|
1072
|
+
text: chunk,
|
|
1073
|
+
accountId,
|
|
1074
|
+
replyToMessageId: preserveThread ? replyToMessageId : nextReplyToMessageId(),
|
|
1075
|
+
replyInThread: preserveThread ? true : i === 0 ? replyInThread : void 0
|
|
1076
|
+
};
|
|
1077
|
+
const result = useCard ? await sendStructuredCardFeishu({
|
|
1078
|
+
...sendParams,
|
|
1079
|
+
header: params.header
|
|
1080
|
+
}) : await sendMessageFeishu({
|
|
1081
|
+
...sendParams,
|
|
1082
|
+
preparedPostText: true
|
|
1083
|
+
});
|
|
1084
|
+
results.push(result);
|
|
1085
|
+
await reportFeishuOutboundDelivery(result, onDeliveryResult);
|
|
1086
|
+
} catch (error) {
|
|
1087
|
+
throw partialFeishuSendError(error, results);
|
|
1088
|
+
}
|
|
1089
|
+
return aggregateFeishuSendResult(results.at(-1), results);
|
|
1090
|
+
}
|
|
1091
|
+
async function sendFeishuFallbackPayload(params) {
|
|
1092
|
+
const propagateMediaUploadFailure = readFeishuPropagateMediaUploadFailure(params.payload);
|
|
1093
|
+
const ctx = {
|
|
1094
|
+
...params.ctx,
|
|
1095
|
+
payload: params.payload
|
|
1096
|
+
};
|
|
1097
|
+
const mediaUrls = normalizeStringEntries(resolvePayloadMediaUrls(params.payload));
|
|
1098
|
+
const text = params.payload.text ?? "";
|
|
1099
|
+
const textChunks = text ? chunkFeishuMarkdown(text, FEISHU_TEXT_CHUNK_LIMIT) : [];
|
|
1100
|
+
if (!(mediaUrls.length > 0 && (propagateMediaUploadFailure || params.separateMediaAndText === true || textChunks.length > 1))) return await sendTextMediaPayload({
|
|
1101
|
+
channel: "feishu",
|
|
1102
|
+
ctx,
|
|
1103
|
+
adapter: feishuOutbound
|
|
1104
|
+
});
|
|
1105
|
+
const nextReplyToId = createFeishuReplyFanout(ctx);
|
|
1106
|
+
const sendMedia = feishuOutbound.sendMedia;
|
|
1107
|
+
const sendText = feishuOutbound.sendText;
|
|
1108
|
+
if (!sendMedia || !sendText) throw new Error("Feishu fallback delivery is not available.");
|
|
1109
|
+
let lastResult;
|
|
1110
|
+
for (const mediaUrl of mediaUrls) lastResult = await sendMedia({
|
|
1111
|
+
...ctx,
|
|
1112
|
+
text: "",
|
|
1113
|
+
mediaUrl,
|
|
1114
|
+
replyToId: nextReplyToId(),
|
|
1115
|
+
audioAsVoice: params.payload.audioAsVoice ?? ctx.audioAsVoice,
|
|
1116
|
+
...propagateMediaUploadFailure ? { propagateMediaUploadFailure: true } : {}
|
|
1117
|
+
});
|
|
1118
|
+
for (const chunk of textChunks) lastResult = await sendText({
|
|
1119
|
+
...ctx,
|
|
1120
|
+
text: chunk,
|
|
1121
|
+
replyToId: nextReplyToId()
|
|
1122
|
+
});
|
|
1123
|
+
return lastResult;
|
|
1124
|
+
}
|
|
1125
|
+
async function sendFeishuTtsSupplementPayload(params) {
|
|
1126
|
+
const sendMedia = feishuOutbound.sendMedia;
|
|
1127
|
+
const sendText = feishuOutbound.sendText;
|
|
1128
|
+
if (!sendMedia || !sendText) throw new Error("Feishu TTS supplement delivery is not available.");
|
|
1129
|
+
const nextReplyToId = createFeishuReplyFanout(params.ctx);
|
|
1130
|
+
const ctx = {
|
|
1131
|
+
...params.ctx,
|
|
1132
|
+
payload: params.payload
|
|
1133
|
+
};
|
|
1134
|
+
let lastResult;
|
|
1135
|
+
if (params.sendVisiblePayload) {
|
|
1136
|
+
lastResult = await params.sendVisiblePayload(nextReplyToId());
|
|
1137
|
+
await ctx.onDeliveryResult?.(lastResult);
|
|
1138
|
+
} else if (params.hasVisiblePresentationFallback || params.supplement.visibleTextAlreadyDelivered !== true) {
|
|
1139
|
+
const text = params.payload.text?.trim() ? params.payload.text : params.supplement.spokenText;
|
|
1140
|
+
for (const chunk of chunkFeishuMarkdown(text, FEISHU_TEXT_CHUNK_LIMIT)) lastResult = await sendText({
|
|
1141
|
+
...ctx,
|
|
1142
|
+
text: chunk,
|
|
1143
|
+
replyToId: nextReplyToId()
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
for (const mediaUrl of normalizeStringEntries(resolvePayloadMediaUrls(params.payload))) lastResult = await sendMedia({
|
|
1147
|
+
...ctx,
|
|
1148
|
+
text: "",
|
|
1149
|
+
mediaUrl,
|
|
1150
|
+
replyToId: nextReplyToId(),
|
|
1151
|
+
audioAsVoice: params.payload.audioAsVoice ?? ctx.audioAsVoice
|
|
1152
|
+
});
|
|
1153
|
+
return lastResult ?? {
|
|
1154
|
+
channel: "feishu",
|
|
1155
|
+
messageId: ""
|
|
1156
|
+
};
|
|
1157
|
+
}
|
|
1158
|
+
function withFeishuOutboundSendContext(adapter) {
|
|
1159
|
+
const { sendText, sendMedia, sendPayload } = adapter;
|
|
1160
|
+
return {
|
|
1161
|
+
...adapter,
|
|
1162
|
+
...sendText ? { sendText: async (ctx) => withFeishuSendContext(ctx, () => sendText(ctx)) } : {},
|
|
1163
|
+
...sendMedia ? { sendMedia: async (ctx) => withFeishuSendContext(ctx, () => sendMedia(ctx)) } : {},
|
|
1164
|
+
...sendPayload ? { sendPayload: async (ctx) => withFeishuSendContext(ctx, () => sendPayload(ctx)) } : {}
|
|
1165
|
+
};
|
|
1166
|
+
}
|
|
1167
|
+
const feishuOutbound = withFeishuOutboundSendContext({
|
|
1168
|
+
deliveryMode: "direct",
|
|
1169
|
+
chunker: chunkFeishuMarkdown,
|
|
1170
|
+
chunkerMode: "markdown",
|
|
1171
|
+
textChunkLimit: FEISHU_TEXT_CHUNK_LIMIT,
|
|
1172
|
+
presentationCapabilities: FEISHU_PRESENTATION_CAPABILITIES,
|
|
1173
|
+
renderPresentation: renderFeishuPresentationPayload,
|
|
1174
|
+
sendPayload: async (ctx) => {
|
|
1175
|
+
const { payload, presentationFallback } = consumeFeishuPresentationFallbackMarker(ctx.payload);
|
|
1176
|
+
const ttsSupplement = getReplyPayloadTtsSupplement(payload);
|
|
1177
|
+
if (parseFeishuCommentTarget(ctx.to)) {
|
|
1178
|
+
const { presentation } = resolveFeishuRichReply(payload);
|
|
1179
|
+
const textCard = readNativeFeishuCardJson(payload.text);
|
|
1180
|
+
const fallbackSourceText = textCard ? void 0 : payload.text;
|
|
1181
|
+
const { commentText: text, fallbackText } = buildFeishuPresentationFallback({
|
|
1182
|
+
text: fallbackSourceText,
|
|
1183
|
+
presentation,
|
|
1184
|
+
fallbackHasCommand: isRecord(payload.channelData?.feishu) && payload.channelData.feishu.fallbackHasCommand === true
|
|
1185
|
+
});
|
|
1186
|
+
const hasFallbackMedia = normalizeStringEntries(resolvePayloadMediaUrls(payload)).length > 0;
|
|
1187
|
+
if (!fallbackText.trim() && !hasFallbackMedia && (textCard || readNativeFeishuCard(payload))) throw new Error("Feishu native cards cannot be sent to document comments without a text or media fallback.");
|
|
1188
|
+
return await sendFeishuFallbackPayload({
|
|
1189
|
+
ctx,
|
|
1190
|
+
payload: {
|
|
1191
|
+
...payload,
|
|
1192
|
+
text,
|
|
1193
|
+
interactive: void 0,
|
|
1194
|
+
presentation: void 0,
|
|
1195
|
+
channelData: void 0
|
|
1196
|
+
},
|
|
1197
|
+
separateMediaAndText: true
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1200
|
+
const card = buildFeishuPayloadCard({
|
|
1201
|
+
payload,
|
|
1202
|
+
text: ctx.text,
|
|
1203
|
+
identity: ctx.identity
|
|
1204
|
+
});
|
|
1205
|
+
if (!card) {
|
|
1206
|
+
const { presentation } = resolveFeishuRichReply(payload);
|
|
1207
|
+
const fallbackPayload = presentation ? {
|
|
1208
|
+
...payload,
|
|
1209
|
+
text: renderFeishuPresentationFallbackText({
|
|
1210
|
+
text: readNativeFeishuCardJson(payload.text) ? void 0 : payload.text,
|
|
1211
|
+
presentation
|
|
1212
|
+
}, "markdown"),
|
|
1213
|
+
presentation: void 0,
|
|
1214
|
+
interactive: void 0
|
|
1215
|
+
} : payload;
|
|
1216
|
+
if (ttsSupplement) return await sendFeishuTtsSupplementPayload({
|
|
1217
|
+
ctx,
|
|
1218
|
+
payload: fallbackPayload,
|
|
1219
|
+
supplement: ttsSupplement,
|
|
1220
|
+
hasVisiblePresentationFallback: presentationFallback?.hasVisibleContent ?? Boolean(renderFeishuPresentationFallbackText({ presentation }).trim())
|
|
1221
|
+
});
|
|
1222
|
+
return await sendFeishuFallbackPayload({
|
|
1223
|
+
ctx,
|
|
1224
|
+
payload: fallbackPayload,
|
|
1225
|
+
separateMediaAndText: presentationFallback !== void 0 || presentation !== void 0
|
|
1226
|
+
});
|
|
1227
|
+
}
|
|
1228
|
+
if (ttsSupplement) return await sendFeishuTtsSupplementPayload({
|
|
1229
|
+
ctx,
|
|
1230
|
+
payload,
|
|
1231
|
+
supplement: ttsSupplement,
|
|
1232
|
+
sendVisiblePayload: async (replyToId) => {
|
|
1233
|
+
const { replyToMessageId, replyInThread } = resolveFeishuReplyMode({
|
|
1234
|
+
replyToId,
|
|
1235
|
+
threadId: ctx.threadId
|
|
1236
|
+
});
|
|
1237
|
+
return attachChannelToResult("feishu", toFeishuOutboundResult(await sendCardFeishu({
|
|
1238
|
+
cfg: ctx.cfg,
|
|
1239
|
+
to: ctx.to,
|
|
1240
|
+
card,
|
|
1241
|
+
replyToMessageId,
|
|
1242
|
+
replyInThread,
|
|
1243
|
+
accountId: ctx.accountId ?? void 0
|
|
1244
|
+
})));
|
|
1245
|
+
}
|
|
1246
|
+
});
|
|
1247
|
+
const nextReplyToId = createFeishuReplyFanout(ctx);
|
|
1248
|
+
const nextReplyMode = () => resolveFeishuReplyMode({
|
|
1249
|
+
replyToId: nextReplyToId(),
|
|
1250
|
+
threadId: ctx.threadId
|
|
1251
|
+
});
|
|
1252
|
+
const mediaUrls = normalizeStringEntries(resolvePayloadMediaUrls(payload));
|
|
1253
|
+
return attachChannelToResult("feishu", toFeishuOutboundResult(await sendPayloadMediaSequenceAndFinalize({
|
|
1254
|
+
text: payload.text ?? "",
|
|
1255
|
+
mediaUrls,
|
|
1256
|
+
onResult: async (deliveryResult) => {
|
|
1257
|
+
await ctx.onDeliveryResult?.(attachChannelToResult("feishu", toFeishuOutboundResult(deliveryResult)));
|
|
1258
|
+
},
|
|
1259
|
+
send: async ({ mediaUrl }) => {
|
|
1260
|
+
const { replyToMessageId, replyInThread } = nextReplyMode();
|
|
1261
|
+
return await sendMediaFeishu({
|
|
1262
|
+
cfg: ctx.cfg,
|
|
1263
|
+
to: ctx.to,
|
|
1264
|
+
mediaUrl,
|
|
1265
|
+
accountId: ctx.accountId ?? void 0,
|
|
1266
|
+
mediaAccess: ctx.mediaAccess,
|
|
1267
|
+
mediaLocalRoots: ctx.mediaLocalRoots,
|
|
1268
|
+
mediaReadFile: ctx.mediaReadFile,
|
|
1269
|
+
replyToMessageId,
|
|
1270
|
+
replyInThread,
|
|
1271
|
+
...payload.audioAsVoice === true || ctx.audioAsVoice === true ? { audioAsVoice: true } : {}
|
|
1272
|
+
});
|
|
1273
|
+
},
|
|
1274
|
+
finalize: async () => {
|
|
1275
|
+
const { replyToMessageId, replyInThread } = nextReplyMode();
|
|
1276
|
+
return await sendCardFeishu({
|
|
1277
|
+
cfg: ctx.cfg,
|
|
1278
|
+
to: ctx.to,
|
|
1279
|
+
card,
|
|
1280
|
+
replyToMessageId,
|
|
1281
|
+
replyInThread,
|
|
1282
|
+
accountId: ctx.accountId ?? void 0
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
})));
|
|
1286
|
+
},
|
|
1287
|
+
...createAttachedChannelResultAdapter({
|
|
1288
|
+
channel: "feishu",
|
|
1289
|
+
sendText: async (ctx) => {
|
|
1290
|
+
const { cfg, to, text, identity, onDeliveryResult } = ctx;
|
|
1291
|
+
const { replyToMessageId, replyInThread } = resolveFeishuReplyMode(ctx);
|
|
1292
|
+
const sendParams = {
|
|
1293
|
+
cfg,
|
|
1294
|
+
to,
|
|
1295
|
+
accountId: ctx.accountId ?? void 0,
|
|
1296
|
+
replyToMessageId,
|
|
1297
|
+
replyInThread
|
|
1298
|
+
};
|
|
1299
|
+
const deliveryOptions = {
|
|
1300
|
+
replyToIdSource: ctx.replyToIdSource,
|
|
1301
|
+
replyToMode: ctx.replyToMode,
|
|
1302
|
+
onDeliveryResult
|
|
1303
|
+
};
|
|
1304
|
+
const localImagePath = normalizePossibleLocalImagePath(text);
|
|
1305
|
+
if (localImagePath) {
|
|
1306
|
+
let mediaResult;
|
|
1307
|
+
try {
|
|
1308
|
+
mediaResult = await sendMediaFeishu({
|
|
1309
|
+
...sendParams,
|
|
1310
|
+
mediaUrl: localImagePath,
|
|
1311
|
+
mediaAccess: ctx.mediaAccess,
|
|
1312
|
+
mediaLocalRoots: ctx.mediaLocalRoots,
|
|
1313
|
+
mediaReadFile: ctx.mediaReadFile
|
|
1314
|
+
});
|
|
1315
|
+
} catch (err) {
|
|
1316
|
+
if (isChannelPartialDeliveryError(err)) throw err;
|
|
1317
|
+
console.error(`[feishu] local image path auto-send failed:`, err);
|
|
1318
|
+
return toFeishuOutboundResult(await sendOutboundText({
|
|
1319
|
+
...sendParams,
|
|
1320
|
+
text: await buildFeishuMediaFallbackText({}),
|
|
1321
|
+
...deliveryOptions
|
|
1322
|
+
}));
|
|
1323
|
+
}
|
|
1324
|
+
return toFeishuOutboundResult(await reportFeishuOutboundDelivery(mediaResult, onDeliveryResult));
|
|
1325
|
+
}
|
|
1326
|
+
if (parseFeishuCommentTarget(to)) return toFeishuOutboundResult(await sendOutboundText({
|
|
1327
|
+
...sendParams,
|
|
1328
|
+
text,
|
|
1329
|
+
...deliveryOptions
|
|
1330
|
+
}));
|
|
1331
|
+
const card = readNativeFeishuCardJson(text);
|
|
1332
|
+
if (card) {
|
|
1333
|
+
assertFeishuCardWithinEnvelope(card, "Feishu native card");
|
|
1334
|
+
return toFeishuOutboundResult(await reportFeishuOutboundDelivery(await sendCardFeishu({
|
|
1335
|
+
...sendParams,
|
|
1336
|
+
card: markRenderedFeishuCard(card)
|
|
1337
|
+
}), onDeliveryResult));
|
|
1338
|
+
}
|
|
1339
|
+
const title = identity ? resolveFeishuIdentityHeaderTitle(identity) : void 0;
|
|
1340
|
+
return toFeishuOutboundResult(await sendOutboundText({
|
|
1341
|
+
...sendParams,
|
|
1342
|
+
text,
|
|
1343
|
+
header: title ? {
|
|
1344
|
+
title,
|
|
1345
|
+
template: "blue"
|
|
1346
|
+
} : void 0,
|
|
1347
|
+
...deliveryOptions
|
|
1348
|
+
}));
|
|
1349
|
+
},
|
|
1350
|
+
sendMedia: async (ctx) => {
|
|
1351
|
+
const { cfg, to, text, mediaUrl, audioAsVoice, onDeliveryResult, threadId, mediaAccess, mediaLocalRoots, mediaReadFile, propagateMediaUploadFailure } = ctx;
|
|
1352
|
+
const sendParams = {
|
|
1353
|
+
cfg,
|
|
1354
|
+
to,
|
|
1355
|
+
accountId: ctx.accountId ?? void 0
|
|
1356
|
+
};
|
|
1357
|
+
const nextReplyToId = createFeishuReplyFanout(ctx);
|
|
1358
|
+
const nextReplyMode = () => {
|
|
1359
|
+
const { replyToMessageId, replyInThread } = resolveFeishuReplyMode({
|
|
1360
|
+
replyToId: nextReplyToId(),
|
|
1361
|
+
threadId
|
|
1362
|
+
});
|
|
1363
|
+
return {
|
|
1364
|
+
replyToMessageId,
|
|
1365
|
+
replyInThread
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
const deliveryOptions = {
|
|
1369
|
+
replyToIdSource: ctx.replyToIdSource,
|
|
1370
|
+
replyToMode: ctx.replyToMode,
|
|
1371
|
+
onDeliveryResult
|
|
1372
|
+
};
|
|
1373
|
+
if (parseFeishuCommentTarget(to)) {
|
|
1374
|
+
const commentText = mediaUrl?.trim() ? await buildFeishuMediaFallbackText({
|
|
1375
|
+
text,
|
|
1376
|
+
mediaUrl,
|
|
1377
|
+
mediaLinkStyle: "plain"
|
|
1378
|
+
}) : text?.trim() ?? "";
|
|
1379
|
+
return toFeishuOutboundResult(await sendOutboundText({
|
|
1380
|
+
...sendParams,
|
|
1381
|
+
text: commentText,
|
|
1382
|
+
...nextReplyMode(),
|
|
1383
|
+
...deliveryOptions
|
|
1384
|
+
}));
|
|
1385
|
+
}
|
|
1386
|
+
if (!mediaUrl) return toFeishuOutboundResult(await sendOutboundText({
|
|
1387
|
+
...sendParams,
|
|
1388
|
+
text: text ?? "",
|
|
1389
|
+
...nextReplyMode(),
|
|
1390
|
+
...deliveryOptions
|
|
1391
|
+
}));
|
|
1392
|
+
const suppressTextForVoiceMedia = shouldSuppressFeishuTextForVoiceMedia({
|
|
1393
|
+
mediaUrl,
|
|
1394
|
+
audioAsVoice
|
|
1395
|
+
});
|
|
1396
|
+
let captionResult;
|
|
1397
|
+
if (text?.trim() && !suppressTextForVoiceMedia) captionResult = await sendOutboundText({
|
|
1398
|
+
...sendParams,
|
|
1399
|
+
text,
|
|
1400
|
+
...nextReplyMode(),
|
|
1401
|
+
...deliveryOptions
|
|
1402
|
+
});
|
|
1403
|
+
const results = captionResult ? [captionResult] : [];
|
|
1404
|
+
let mediaResult;
|
|
1405
|
+
const mediaReplyMode = nextReplyMode();
|
|
1406
|
+
try {
|
|
1407
|
+
mediaResult = await sendMediaFeishu({
|
|
1408
|
+
...sendParams,
|
|
1409
|
+
mediaUrl,
|
|
1410
|
+
mediaAccess,
|
|
1411
|
+
mediaLocalRoots,
|
|
1412
|
+
mediaReadFile,
|
|
1413
|
+
...mediaReplyMode,
|
|
1414
|
+
...audioAsVoice === true ? { audioAsVoice: true } : {}
|
|
1415
|
+
});
|
|
1416
|
+
} catch (err) {
|
|
1417
|
+
if (isChannelPartialDeliveryError(err)) throw partialFeishuSendError(err, results);
|
|
1418
|
+
if (propagateMediaUploadFailure) {
|
|
1419
|
+
if (captionResult) throw partialFeishuSendError(err, results);
|
|
1420
|
+
throw new Error(`Feishu send could not deliver the requested media attachment: ${err instanceof Error ? err.message : String(err)}`, { cause: err });
|
|
1421
|
+
}
|
|
1422
|
+
console.error(`[feishu] sendMediaFeishu failed:`, err);
|
|
1423
|
+
const fallbackText = await buildFeishuMediaFallbackText({
|
|
1424
|
+
text: captionResult ? void 0 : text,
|
|
1425
|
+
mediaUrl
|
|
1426
|
+
});
|
|
1427
|
+
try {
|
|
1428
|
+
const fallbackResult = await sendOutboundText({
|
|
1429
|
+
...sendParams,
|
|
1430
|
+
text: fallbackText,
|
|
1431
|
+
...captionResult ? nextReplyMode() : mediaReplyMode,
|
|
1432
|
+
...deliveryOptions
|
|
1433
|
+
});
|
|
1434
|
+
return toFeishuOutboundResult(aggregateFeishuSendResult(fallbackResult, [...results, fallbackResult]));
|
|
1435
|
+
} catch (error) {
|
|
1436
|
+
throw partialFeishuSendError(error, results);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
results.push(mediaResult);
|
|
1440
|
+
try {
|
|
1441
|
+
await reportFeishuOutboundDelivery(mediaResult, onDeliveryResult);
|
|
1442
|
+
if (mediaResult.voiceIntentDegradedToFile && text?.trim()) results.push(await sendOutboundText({
|
|
1443
|
+
...sendParams,
|
|
1444
|
+
text,
|
|
1445
|
+
...nextReplyMode(),
|
|
1446
|
+
...deliveryOptions
|
|
1447
|
+
}));
|
|
1448
|
+
} catch (error) {
|
|
1449
|
+
throw partialFeishuSendError(error, results);
|
|
1450
|
+
}
|
|
1451
|
+
return toFeishuOutboundResult(aggregateFeishuSendResult(mediaResult, results));
|
|
1452
|
+
}
|
|
1453
|
+
})
|
|
1454
|
+
});
|
|
1455
|
+
//#endregion
|
|
1456
|
+
//#region extensions/feishu/src/session-route.ts
|
|
1457
|
+
function resolveFeishuOutboundSessionRoute(params) {
|
|
1458
|
+
const rawTarget = stripChannelTargetPrefix(params.target, "feishu", "lark");
|
|
1459
|
+
const target = normalizeFeishuTarget(rawTarget);
|
|
1460
|
+
if (!target) return null;
|
|
1461
|
+
const isGroup = resolveReceiveIdType(rawTarget) === "chat_id";
|
|
1462
|
+
const account = resolveFeishuAccount({
|
|
1463
|
+
cfg: params.cfg,
|
|
1464
|
+
accountId: params.accountId
|
|
1465
|
+
});
|
|
1466
|
+
const groupSessionScope = isGroup ? resolveConfiguredFeishuGroupSessionScope({
|
|
1467
|
+
groupConfig: resolveFeishuGroupConfig({
|
|
1468
|
+
cfg: account.config,
|
|
1469
|
+
groupId: target
|
|
1470
|
+
}),
|
|
1471
|
+
feishuCfg: account.config
|
|
1472
|
+
}) : void 0;
|
|
1473
|
+
const recipientSessionExact = isGroup ? target.startsWith("oc_") && groupSessionScope === "group" : target.startsWith("ou_");
|
|
1474
|
+
return buildChannelOutboundSessionRoute({
|
|
1475
|
+
cfg: params.cfg,
|
|
1476
|
+
agentId: params.agentId,
|
|
1477
|
+
channel: "feishu",
|
|
1478
|
+
accountId: params.accountId,
|
|
1479
|
+
recipientSessionExact,
|
|
1480
|
+
peer: {
|
|
1481
|
+
kind: isGroup ? "group" : "direct",
|
|
1482
|
+
id: target
|
|
1483
|
+
},
|
|
1484
|
+
chatType: isGroup ? "group" : "direct",
|
|
1485
|
+
from: isGroup ? `feishu:group:${target}` : `feishu:${target}`,
|
|
1486
|
+
to: target
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
//#endregion
|
|
1490
|
+
//#region extensions/feishu/src/setup-core.ts
|
|
1491
|
+
function setFeishuNamedAccountEnabled(cfg, accountId, enabled) {
|
|
1492
|
+
const feishuCfg = cfg.channels?.feishu;
|
|
1493
|
+
return patchTopLevelChannelConfigSection({
|
|
1494
|
+
cfg,
|
|
1495
|
+
channel: "feishu",
|
|
1496
|
+
patch: { accounts: {
|
|
1497
|
+
...feishuCfg?.accounts,
|
|
1498
|
+
[accountId]: {
|
|
1499
|
+
...feishuCfg?.accounts?.[accountId],
|
|
1500
|
+
enabled
|
|
1501
|
+
}
|
|
1502
|
+
} }
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
const feishuSetupAdapter = {
|
|
1506
|
+
resolveAccountId: ({ cfg, accountId }) => accountId?.trim() || resolveDefaultFeishuAccountId(cfg),
|
|
1507
|
+
applyAccountConfig: ({ cfg, accountId }) => {
|
|
1508
|
+
if (!accountId || accountId === DEFAULT_ACCOUNT_ID$1) return setSetupChannelEnabled(cfg, "feishu", true);
|
|
1509
|
+
return setFeishuNamedAccountEnabled(cfg, accountId, true);
|
|
1510
|
+
}
|
|
1511
|
+
};
|
|
1512
|
+
const feishuSetupContract = defineChannelSetupContract({
|
|
1513
|
+
fields: {},
|
|
1514
|
+
legacyAdapter: feishuSetupAdapter
|
|
1515
|
+
});
|
|
1516
|
+
//#endregion
|
|
1517
|
+
//#region extensions/feishu/src/setup-surface.ts
|
|
1518
|
+
const t = createSetupTranslator();
|
|
1519
|
+
const channel = "feishu";
|
|
1520
|
+
const SCAN_TO_CREATE_TP = "ob_cli_app";
|
|
1521
|
+
const FEISHU_SETUP_FLOW_KEY = "_flow";
|
|
1522
|
+
function isFeishuConfigured(cfg) {
|
|
1523
|
+
const feishuCfg = cfg.channels?.feishu;
|
|
1524
|
+
const isAppIdConfigured = (value) => {
|
|
1525
|
+
if (normalizeOptionalString(value)) return true;
|
|
1526
|
+
if (!value || typeof value !== "object") return false;
|
|
1527
|
+
const rec = value;
|
|
1528
|
+
const source = normalizeOptionalString(rec.source)?.toLowerCase();
|
|
1529
|
+
const id = normalizeOptionalString(rec.id);
|
|
1530
|
+
if (source === "env" && id) return Boolean(normalizeOptionalString(process.env[id]));
|
|
1531
|
+
return hasConfiguredSecretInput(value);
|
|
1532
|
+
};
|
|
1533
|
+
const topLevelConfigured = isAppIdConfigured(feishuCfg?.appId) && hasConfiguredSecretInput(feishuCfg?.appSecret);
|
|
1534
|
+
const accountConfigured = Object.values(feishuCfg?.accounts ?? {}).some((account) => {
|
|
1535
|
+
if (!account || typeof account !== "object") return false;
|
|
1536
|
+
const hasOwnAppId = Object.hasOwn(account, "appId");
|
|
1537
|
+
const hasOwnAppSecret = Object.hasOwn(account, "appSecret");
|
|
1538
|
+
const accountAppIdConfigured = hasOwnAppId ? isAppIdConfigured(account.appId) : isAppIdConfigured(feishuCfg?.appId);
|
|
1539
|
+
const accountSecretConfigured = hasOwnAppSecret ? hasConfiguredSecretInput(account.appSecret) : hasConfiguredSecretInput(feishuCfg?.appSecret);
|
|
1540
|
+
return accountAppIdConfigured && accountSecretConfigured;
|
|
1541
|
+
});
|
|
1542
|
+
return topLevelConfigured || accountConfigured;
|
|
1543
|
+
}
|
|
1544
|
+
function patchFeishuConfig(cfg, accountId, patch) {
|
|
1545
|
+
return patchScopedAccountConfig({
|
|
1546
|
+
cfg,
|
|
1547
|
+
channelKey: channel,
|
|
1548
|
+
accountId,
|
|
1549
|
+
patch: {
|
|
1550
|
+
enabled: true,
|
|
1551
|
+
...patch
|
|
1552
|
+
}
|
|
1553
|
+
});
|
|
1554
|
+
}
|
|
1555
|
+
async function promptFeishuAllowFrom(params) {
|
|
1556
|
+
const feishuCfg = params.cfg.channels?.feishu;
|
|
1557
|
+
const resolvedAccountId = params.accountId ?? resolveDefaultFeishuAccountId(params.cfg);
|
|
1558
|
+
const existingAllowFrom = (resolvedAccountId !== DEFAULT_ACCOUNT_ID$1 ? feishuCfg?.accounts?.[resolvedAccountId] : void 0)?.allowFrom ?? feishuCfg?.allowFrom ?? [];
|
|
1559
|
+
await params.prompter.note([
|
|
1560
|
+
t("wizard.feishu.allowlistIntro"),
|
|
1561
|
+
t("wizard.feishu.allowlistFindUser"),
|
|
1562
|
+
t("wizard.feishu.examples"),
|
|
1563
|
+
"- ou_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
1564
|
+
"- on_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
1565
|
+
].join("\n"), t("wizard.feishu.allowlistTitle"));
|
|
1566
|
+
const entry = await params.prompter.text({
|
|
1567
|
+
message: t("wizard.feishu.allowFromPrompt"),
|
|
1568
|
+
placeholder: "ou_xxxxx, ou_yyyyy",
|
|
1569
|
+
initialValue: existingAllowFrom.length > 0 ? existingAllowFrom.map(String).join(", ") : void 0
|
|
1570
|
+
});
|
|
1571
|
+
const mergedAllowFrom = mergeAllowFromEntries(existingAllowFrom, splitSetupEntries(entry));
|
|
1572
|
+
return patchFeishuConfig(params.cfg, resolvedAccountId, { allowFrom: mergedAllowFrom });
|
|
1573
|
+
}
|
|
1574
|
+
async function noteFeishuCredentialHelp(prompter) {
|
|
1575
|
+
await prompter.note([
|
|
1576
|
+
t("wizard.feishu.credentialsStepOpenPlatform"),
|
|
1577
|
+
t("wizard.feishu.credentialsStepCreateApp"),
|
|
1578
|
+
t("wizard.feishu.credentialsStepGetCredentials"),
|
|
1579
|
+
t("wizard.feishu.credentialsStepPermissions"),
|
|
1580
|
+
t("wizard.feishu.credentialsStepPublish"),
|
|
1581
|
+
t("wizard.feishu.credentialsEnvTip"),
|
|
1582
|
+
t("wizard.channels.docs", { link: formatDocsLink("/channels/feishu", "feishu") })
|
|
1583
|
+
].join("\n"), t("wizard.feishu.credentialsTitle"));
|
|
1584
|
+
}
|
|
1585
|
+
const feishuDmPolicy = createChannelDmPolicy({
|
|
1586
|
+
label: "Feishu",
|
|
1587
|
+
channel,
|
|
1588
|
+
resolveAccount: (cfg, accountId) => {
|
|
1589
|
+
const feishuCfg = cfg.channels?.feishu;
|
|
1590
|
+
const resolvedAccountId = accountId ?? resolveDefaultFeishuAccountId(cfg);
|
|
1591
|
+
const account = resolvedAccountId === DEFAULT_ACCOUNT_ID$1 ? void 0 : feishuCfg?.accounts?.[resolvedAccountId];
|
|
1592
|
+
return {
|
|
1593
|
+
accountId: resolvedAccountId,
|
|
1594
|
+
config: {
|
|
1595
|
+
dmPolicy: account?.dmPolicy ?? feishuCfg?.dmPolicy,
|
|
1596
|
+
allowFrom: account?.allowFrom ?? feishuCfg?.allowFrom
|
|
1597
|
+
}
|
|
1598
|
+
};
|
|
1599
|
+
},
|
|
1600
|
+
resolveAllowFrom: ({ policy }) => policy === "open" ? ["*"] : void 0,
|
|
1601
|
+
applyPatch: ({ cfg, account, patch }) => patchFeishuConfig(cfg, account.accountId, patch),
|
|
1602
|
+
promptAllowFrom: promptFeishuAllowFrom
|
|
1603
|
+
});
|
|
1604
|
+
const loadAppRegistrationModule = createLazyRuntimeModule(() => import("./app-registration-BB6TubaW.mjs"));
|
|
1605
|
+
async function runScanToCreate(prompter, domain, beforePersistentEffect) {
|
|
1606
|
+
const { beginAppRegistration, initAppRegistration, pollAppRegistration, printQrCode } = await loadAppRegistrationModule();
|
|
1607
|
+
try {
|
|
1608
|
+
await initAppRegistration(domain);
|
|
1609
|
+
} catch {
|
|
1610
|
+
await prompter.note(t("wizard.feishu.scanUnavailable"), t("wizard.feishu.setupTitle"));
|
|
1611
|
+
return null;
|
|
1612
|
+
}
|
|
1613
|
+
await beforePersistentEffect?.();
|
|
1614
|
+
const begin = await beginAppRegistration(domain);
|
|
1615
|
+
await prompter.note(t("wizard.feishu.scanQr"), t("wizard.feishu.scanTitle"));
|
|
1616
|
+
await printQrCode(begin.qrUrl);
|
|
1617
|
+
const progress = prompter.progress(t("wizard.feishu.fetchingConfig"));
|
|
1618
|
+
const outcome = await pollAppRegistration({
|
|
1619
|
+
deviceCode: begin.deviceCode,
|
|
1620
|
+
interval: begin.interval,
|
|
1621
|
+
expireIn: begin.expireIn,
|
|
1622
|
+
initialDomain: domain,
|
|
1623
|
+
tp: SCAN_TO_CREATE_TP
|
|
1624
|
+
});
|
|
1625
|
+
let message;
|
|
1626
|
+
switch (outcome.status) {
|
|
1627
|
+
case "success":
|
|
1628
|
+
message = t("wizard.feishu.scanCompleted");
|
|
1629
|
+
break;
|
|
1630
|
+
case "access_denied":
|
|
1631
|
+
message = t("wizard.feishu.scanDenied");
|
|
1632
|
+
break;
|
|
1633
|
+
case "expired":
|
|
1634
|
+
message = t("wizard.feishu.scanExpired");
|
|
1635
|
+
break;
|
|
1636
|
+
case "timeout":
|
|
1637
|
+
message = t("wizard.feishu.scanTimedOut");
|
|
1638
|
+
break;
|
|
1639
|
+
case "error": message = t("wizard.feishu.scanError", { error: outcome.message });
|
|
1640
|
+
}
|
|
1641
|
+
progress.stop(message);
|
|
1642
|
+
return outcome.status === "success" ? outcome.result : null;
|
|
1643
|
+
}
|
|
1644
|
+
async function runNewAppFlow(params) {
|
|
1645
|
+
const { prompter, options } = params;
|
|
1646
|
+
let next = params.cfg;
|
|
1647
|
+
const targetAccountId = resolveDefaultFeishuAccountId(next);
|
|
1648
|
+
let appId;
|
|
1649
|
+
let appSecret = null;
|
|
1650
|
+
let appSecretProbeValue = null;
|
|
1651
|
+
let scanOpenId;
|
|
1652
|
+
const currentDomain = (next.channels?.feishu)?.domain ?? "feishu";
|
|
1653
|
+
const setupMethod = await prompter.select({
|
|
1654
|
+
message: t("wizard.feishu.setupMethodPrompt"),
|
|
1655
|
+
options: [{
|
|
1656
|
+
value: "manual",
|
|
1657
|
+
label: t("wizard.feishu.setupMethodManual")
|
|
1658
|
+
}, {
|
|
1659
|
+
value: "scan",
|
|
1660
|
+
label: t("wizard.feishu.setupMethodScan")
|
|
1661
|
+
}],
|
|
1662
|
+
initialValue: "manual"
|
|
1663
|
+
});
|
|
1664
|
+
const selectedDomain = await prompter.select({
|
|
1665
|
+
message: t("wizard.feishu.domainPrompt"),
|
|
1666
|
+
options: [{
|
|
1667
|
+
value: "feishu",
|
|
1668
|
+
label: t("wizard.feishu.domainFeishu")
|
|
1669
|
+
}, {
|
|
1670
|
+
value: "lark",
|
|
1671
|
+
label: t("wizard.feishu.domainLark")
|
|
1672
|
+
}],
|
|
1673
|
+
initialValue: currentDomain
|
|
1674
|
+
});
|
|
1675
|
+
let scanDomain = selectedDomain;
|
|
1676
|
+
const scanResult = setupMethod === "scan" ? await runScanToCreate(prompter, selectedDomain, options?.beforePersistentEffect) : null;
|
|
1677
|
+
if (scanResult) {
|
|
1678
|
+
appId = scanResult.appId;
|
|
1679
|
+
appSecret = scanResult.appSecret;
|
|
1680
|
+
scanDomain = scanResult.domain;
|
|
1681
|
+
scanOpenId = scanResult.openId;
|
|
1682
|
+
} else {
|
|
1683
|
+
await noteFeishuCredentialHelp(prompter);
|
|
1684
|
+
appId = (await prompter.text({
|
|
1685
|
+
message: t("wizard.feishu.appIdPrompt"),
|
|
1686
|
+
initialValue: normalizeOptionalString(process.env.FEISHU_APP_ID),
|
|
1687
|
+
validate: (value) => value?.trim() ? void 0 : t("common.required")
|
|
1688
|
+
})).trim();
|
|
1689
|
+
const appSecretResult = await promptSingleChannelSecretInput({
|
|
1690
|
+
cfg: next,
|
|
1691
|
+
prompter,
|
|
1692
|
+
providerHint: "feishu",
|
|
1693
|
+
credentialLabel: "App Secret",
|
|
1694
|
+
secretInputMode: options?.secretInputMode,
|
|
1695
|
+
accountConfigured: false,
|
|
1696
|
+
canUseEnv: false,
|
|
1697
|
+
hasConfigToken: false,
|
|
1698
|
+
envPrompt: "",
|
|
1699
|
+
keepPrompt: t("wizard.feishu.appSecretKeep"),
|
|
1700
|
+
inputPrompt: t("wizard.feishu.appSecretPrompt"),
|
|
1701
|
+
preferredEnvVar: "FEISHU_APP_SECRET"
|
|
1702
|
+
});
|
|
1703
|
+
if (appSecretResult.action === "set") {
|
|
1704
|
+
appSecret = appSecretResult.value;
|
|
1705
|
+
appSecretProbeValue = appSecretResult.resolvedValue;
|
|
1706
|
+
}
|
|
1707
|
+
if (appId && appSecretProbeValue) {
|
|
1708
|
+
const { getAppOwnerOpenId } = await loadAppRegistrationModule();
|
|
1709
|
+
scanOpenId = await getAppOwnerOpenId({
|
|
1710
|
+
appId,
|
|
1711
|
+
appSecret: appSecretProbeValue,
|
|
1712
|
+
domain: selectedDomain
|
|
1713
|
+
});
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
const groupPolicy = await prompter.select({
|
|
1717
|
+
message: t("wizard.feishu.groupPolicyPrompt"),
|
|
1718
|
+
options: [
|
|
1719
|
+
{
|
|
1720
|
+
value: "allowlist",
|
|
1721
|
+
label: t("wizard.feishu.groupPolicyAllowlist")
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
value: "open",
|
|
1725
|
+
label: t("wizard.feishu.groupPolicyOpen")
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
value: "disabled",
|
|
1729
|
+
label: t("wizard.feishu.groupPolicyDisabled")
|
|
1730
|
+
}
|
|
1731
|
+
],
|
|
1732
|
+
initialValue: "allowlist"
|
|
1733
|
+
});
|
|
1734
|
+
const configProgress = prompter.progress(t("wizard.feishu.configuring"));
|
|
1735
|
+
await new Promise((resolve) => {
|
|
1736
|
+
setTimeout(resolve, 50);
|
|
1737
|
+
});
|
|
1738
|
+
if (appId && appSecret) next = patchFeishuConfig(next, targetAccountId, {
|
|
1739
|
+
appId,
|
|
1740
|
+
appSecret,
|
|
1741
|
+
connectionMode: "websocket",
|
|
1742
|
+
...scanDomain ? { domain: scanDomain } : {}
|
|
1743
|
+
});
|
|
1744
|
+
else if (scanDomain) next = patchFeishuConfig(next, targetAccountId, { domain: scanDomain });
|
|
1745
|
+
next = patchFeishuConfig(next, targetAccountId, {
|
|
1746
|
+
...scanOpenId ? {
|
|
1747
|
+
dmPolicy: "allowlist",
|
|
1748
|
+
allowFrom: [scanOpenId]
|
|
1749
|
+
} : {},
|
|
1750
|
+
groupPolicy,
|
|
1751
|
+
...groupPolicy === "open" ? { requireMention: true } : {}
|
|
1752
|
+
});
|
|
1753
|
+
configProgress.stop(t("wizard.feishu.botConfigured"));
|
|
1754
|
+
return { cfg: next };
|
|
1755
|
+
}
|
|
1756
|
+
async function runEditFlow(params) {
|
|
1757
|
+
const { prompter, options } = params;
|
|
1758
|
+
const next = params.cfg;
|
|
1759
|
+
const feishuCfg = next.channels?.feishu;
|
|
1760
|
+
const resolveAppIdLabel = (value) => {
|
|
1761
|
+
const asString = normalizeOptionalString(value);
|
|
1762
|
+
if (asString) return asString;
|
|
1763
|
+
if (value && typeof value === "object") {
|
|
1764
|
+
const rec = value;
|
|
1765
|
+
if (normalizeOptionalString(rec.source) && normalizeOptionalString(rec.id)) return normalizeOptionalString(process.env[rec.id]) ?? `env:${String(rec.id)}`;
|
|
1766
|
+
if (hasConfiguredSecretInput(value)) return "(configured)";
|
|
1767
|
+
}
|
|
1768
|
+
};
|
|
1769
|
+
const existingAppId = resolveAppIdLabel(feishuCfg?.appId) ?? Object.values(feishuCfg?.accounts ?? {}).reduce((found, account) => {
|
|
1770
|
+
if (found) return found;
|
|
1771
|
+
if (account && typeof account === "object") return resolveAppIdLabel(account.appId);
|
|
1772
|
+
}, void 0);
|
|
1773
|
+
if (!existingAppId || !await prompter.confirm({
|
|
1774
|
+
message: t("wizard.feishu.existingBotPrompt", { appId: existingAppId }),
|
|
1775
|
+
initialValue: true
|
|
1776
|
+
})) return runNewAppFlow({
|
|
1777
|
+
cfg: next,
|
|
1778
|
+
prompter,
|
|
1779
|
+
options
|
|
1780
|
+
});
|
|
1781
|
+
await prompter.note(t("wizard.feishu.botConfigured"), "");
|
|
1782
|
+
return { cfg: next };
|
|
1783
|
+
}
|
|
1784
|
+
async function runFeishuLogin(params) {
|
|
1785
|
+
const { cfg, prompter } = params;
|
|
1786
|
+
return (await (isFeishuConfigured(cfg) ? runEditFlow : runNewAppFlow)({
|
|
1787
|
+
cfg,
|
|
1788
|
+
prompter,
|
|
1789
|
+
options: {}
|
|
1790
|
+
})).cfg;
|
|
1791
|
+
}
|
|
1792
|
+
const feishuSetupWizard = {
|
|
1793
|
+
channel,
|
|
1794
|
+
resolveAccountIdForConfigure: ({ accountOverride, defaultAccountId, cfg }) => (typeof accountOverride === "string" && accountOverride.trim() ? accountOverride.trim() : void 0) ?? resolveDefaultFeishuAccountId(cfg) ?? defaultAccountId,
|
|
1795
|
+
resolveShouldPromptAccountIds: () => false,
|
|
1796
|
+
status: {
|
|
1797
|
+
configuredLabel: t("wizard.channels.statusConfigured"),
|
|
1798
|
+
unconfiguredLabel: t("wizard.channels.statusNeedsAppCredentials"),
|
|
1799
|
+
configuredHint: t("wizard.channels.statusConfigured"),
|
|
1800
|
+
unconfiguredHint: t("wizard.channels.statusNeedsAppCreds"),
|
|
1801
|
+
configuredScore: 2,
|
|
1802
|
+
unconfiguredScore: 0,
|
|
1803
|
+
resolveConfigured: ({ cfg }) => isFeishuConfigured(cfg),
|
|
1804
|
+
resolveStatusLines: async ({ cfg, accountId, configured }) => {
|
|
1805
|
+
const account = resolveFeishuAccount({
|
|
1806
|
+
cfg,
|
|
1807
|
+
accountId
|
|
1808
|
+
});
|
|
1809
|
+
let probeResult = null;
|
|
1810
|
+
if (configured && account.configured) try {
|
|
1811
|
+
const { probeFeishu } = await import("./probe-_ViqSi0j.mjs").then((n) => n.n);
|
|
1812
|
+
probeResult = await probeFeishu(account);
|
|
1813
|
+
} catch {}
|
|
1814
|
+
if (!configured) return [`Feishu: ${t("wizard.channels.statusNeedsAppCredentials")}`];
|
|
1815
|
+
if (probeResult?.ok) return [`Feishu: ${t("wizard.channels.statusConnectedAs", { name: probeResult.botName ?? probeResult.botOpenId ?? "bot" })}`];
|
|
1816
|
+
return [`Feishu: ${t("wizard.channels.statusConfiguredConnectionNotVerified")}`];
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1819
|
+
prepare: async ({ cfg, credentialValues }) => ({ credentialValues: {
|
|
1820
|
+
...credentialValues,
|
|
1821
|
+
[FEISHU_SETUP_FLOW_KEY]: isFeishuConfigured(cfg) ? "edit" : "new"
|
|
1822
|
+
} }),
|
|
1823
|
+
credentials: [],
|
|
1824
|
+
finalize: async ({ cfg, prompter, options, credentialValues }) => {
|
|
1825
|
+
return ((credentialValues[FEISHU_SETUP_FLOW_KEY] ?? "new") === "edit" ? runEditFlow : runNewAppFlow)({
|
|
1826
|
+
cfg,
|
|
1827
|
+
prompter,
|
|
1828
|
+
options
|
|
1829
|
+
});
|
|
1830
|
+
},
|
|
1831
|
+
dmPolicy: feishuDmPolicy,
|
|
1832
|
+
disable: (cfg) => setSetupChannelEnabled(cfg, channel, false)
|
|
1833
|
+
};
|
|
1834
|
+
//#endregion
|
|
1835
|
+
//#region extensions/feishu/src/sticker-catalog.ts
|
|
1836
|
+
const STICKER_QUERY_PATTERN = /^[^\p{Cs}]{1,128}$/u;
|
|
1837
|
+
function fitsStickerSearchResult(stickers) {
|
|
1838
|
+
return Buffer.byteLength(JSON.stringify({
|
|
1839
|
+
stickers,
|
|
1840
|
+
truncated: false
|
|
1841
|
+
}), "utf8") <= 3072;
|
|
1842
|
+
}
|
|
1843
|
+
function resolveFeishuStickerSet(cfg, account) {
|
|
1844
|
+
const sets = (cfg.channels?.feishu)?.stickerSets;
|
|
1845
|
+
const set = sets && account.appId && Object.hasOwn(sets, account.appId) ? sets[account.appId] : void 0;
|
|
1846
|
+
return set ? Object.entries(set) : [];
|
|
1847
|
+
}
|
|
1848
|
+
function searchFeishuStickerSet(entries, params) {
|
|
1849
|
+
const query = readStringParam(params, "query", { required: true });
|
|
1850
|
+
if (!STICKER_QUERY_PATTERN.test(query)) throw new Error("Feishu sticker-search query must contain 1–128 Unicode characters.");
|
|
1851
|
+
const limit = params.limit === void 0 ? 5 : params.limit;
|
|
1852
|
+
if (typeof limit !== "number" || !Number.isInteger(limit) || limit < 1 || limit > 10) throw new Error("Feishu sticker-search limit must be an integer from 1 through 10.");
|
|
1853
|
+
const needle = query.toLowerCase();
|
|
1854
|
+
const stickers = [];
|
|
1855
|
+
for (const [fileId, keywords] of entries) {
|
|
1856
|
+
const keyword = keywords.find((label) => label.toLowerCase().includes(needle));
|
|
1857
|
+
if (keyword === void 0) continue;
|
|
1858
|
+
const match = {
|
|
1859
|
+
fileId,
|
|
1860
|
+
keyword
|
|
1861
|
+
};
|
|
1862
|
+
if (stickers.length === limit || !fitsStickerSearchResult([...stickers, match])) return {
|
|
1863
|
+
stickers,
|
|
1864
|
+
truncated: true
|
|
1865
|
+
};
|
|
1866
|
+
stickers.push(match);
|
|
1867
|
+
}
|
|
1868
|
+
return {
|
|
1869
|
+
stickers,
|
|
1870
|
+
truncated: false
|
|
1871
|
+
};
|
|
1872
|
+
}
|
|
1873
|
+
//#endregion
|
|
1874
|
+
//#region extensions/feishu/src/channel.ts
|
|
1875
|
+
function resolveFeishuSendAttachmentMedia(params) {
|
|
1876
|
+
const sourceKeys = [
|
|
1877
|
+
"media",
|
|
1878
|
+
"mediaUrl",
|
|
1879
|
+
"path",
|
|
1880
|
+
"filePath",
|
|
1881
|
+
"fileUrl",
|
|
1882
|
+
"image"
|
|
1883
|
+
];
|
|
1884
|
+
const candidates = [];
|
|
1885
|
+
let unsupportedPayload = false;
|
|
1886
|
+
let unsupportedFile = false;
|
|
1887
|
+
let malformed = false;
|
|
1888
|
+
const read = (record, key) => {
|
|
1889
|
+
if (Object.hasOwn(record, key)) return record[key];
|
|
1890
|
+
const snakeKey = key.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z0-9])([A-Z])/g, "$1_$2").toLowerCase();
|
|
1891
|
+
return snakeKey !== key && Object.hasOwn(record, snakeKey) ? record[snakeKey] : void 0;
|
|
1892
|
+
};
|
|
1893
|
+
const inspect = (record, nested = false) => {
|
|
1894
|
+
const keys = nested ? [
|
|
1895
|
+
...sourceKeys.slice(0, -1),
|
|
1896
|
+
"url",
|
|
1897
|
+
"image"
|
|
1898
|
+
] : sourceKeys;
|
|
1899
|
+
for (const key of keys) {
|
|
1900
|
+
const value = read(record, key);
|
|
1901
|
+
if (value === void 0) continue;
|
|
1902
|
+
if (typeof value !== "string") {
|
|
1903
|
+
malformed = true;
|
|
1904
|
+
continue;
|
|
1905
|
+
}
|
|
1906
|
+
const normalized = normalizeOptionalString(value);
|
|
1907
|
+
if (normalized) candidates.push(normalized);
|
|
1908
|
+
}
|
|
1909
|
+
const multiple = read(record, "mediaUrls");
|
|
1910
|
+
if (multiple !== void 0) for (const value of Array.isArray(multiple) ? multiple : [multiple]) {
|
|
1911
|
+
if (typeof value !== "string") {
|
|
1912
|
+
malformed = true;
|
|
1913
|
+
continue;
|
|
1914
|
+
}
|
|
1915
|
+
const normalized = normalizeOptionalString(value);
|
|
1916
|
+
if (normalized) candidates.push(normalized);
|
|
1917
|
+
}
|
|
1918
|
+
for (const key of ["buffer", "base64"]) {
|
|
1919
|
+
const value = read(record, key);
|
|
1920
|
+
unsupportedPayload ||= value !== void 0 && (typeof value !== "string" || Boolean(normalizeOptionalString(value)));
|
|
1921
|
+
}
|
|
1922
|
+
const file = read(record, "file");
|
|
1923
|
+
unsupportedFile ||= file !== void 0 && (typeof file !== "string" || Boolean(normalizeOptionalString(file)));
|
|
1924
|
+
};
|
|
1925
|
+
inspect(params);
|
|
1926
|
+
const attachments = params.attachments;
|
|
1927
|
+
if (attachments !== void 0 && !Array.isArray(attachments)) malformed = true;
|
|
1928
|
+
else if (Array.isArray(attachments)) for (const attachment of attachments) if (!isRecord(attachment)) malformed = true;
|
|
1929
|
+
else inspect(attachment, true);
|
|
1930
|
+
if (unsupportedPayload) throw new Error("Feishu send supports media attachments through media, mediaUrl, path, filePath, fileUrl, image, mediaUrls, or attachments[] with one of those fields; buffer/base64 payloads are not supported.");
|
|
1931
|
+
if (malformed) throw new Error("Feishu send supports media attachments through media, mediaUrl, path, filePath, fileUrl, image, mediaUrls, or attachments[] with one of those fields; a present malformed media source value is not supported — use a string path/URL (or a string array for mediaUrls) instead.");
|
|
1932
|
+
if (unsupportedFile) throw new Error("Feishu send supports media attachments through media, mediaUrl, path, filePath, fileUrl, image, mediaUrls, or attachments[] with one of those fields; the `file` attachment-intent parameter is not supported — use one of the supported media sources instead.");
|
|
1933
|
+
const urls = [...new Set(candidates)];
|
|
1934
|
+
if (urls.length > 1) throw new Error("Feishu send supports a single media attachment.");
|
|
1935
|
+
return urls[0];
|
|
1936
|
+
}
|
|
1937
|
+
function readBooleanParam(params, keys) {
|
|
1938
|
+
for (const key of keys) {
|
|
1939
|
+
const value = params[key];
|
|
1940
|
+
if (typeof value === "boolean") return value;
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
function hasLegacyFeishuCardCommandValue(actionValue) {
|
|
1944
|
+
return isRecord(actionValue) && actionValue.oc !== "ocf1" && (Boolean(typeof actionValue.command === "string" && actionValue.command.trim()) || Boolean(typeof actionValue.text === "string" && actionValue.text.trim()));
|
|
1945
|
+
}
|
|
1946
|
+
function containsLegacyFeishuCardCommandValue(node) {
|
|
1947
|
+
if (Array.isArray(node)) return node.some((item) => containsLegacyFeishuCardCommandValue(item));
|
|
1948
|
+
if (!isRecord(node)) return false;
|
|
1949
|
+
if (node.tag === "button" && hasLegacyFeishuCardCommandValue(node.value)) return true;
|
|
1950
|
+
if (node.tag === "button" && Array.isArray(node.behaviors) && node.behaviors.some((behavior) => isRecord(behavior) && hasLegacyFeishuCardCommandValue(behavior.value))) return true;
|
|
1951
|
+
return Object.values(node).some((value) => containsLegacyFeishuCardCommandValue(value));
|
|
1952
|
+
}
|
|
1953
|
+
const meta = {
|
|
1954
|
+
id: "feishu",
|
|
1955
|
+
label: "Feishu",
|
|
1956
|
+
selectionLabel: "Feishu/Lark (飞书)",
|
|
1957
|
+
docsPath: "/channels/feishu",
|
|
1958
|
+
docsLabel: "feishu",
|
|
1959
|
+
blurb: "飞书/Lark enterprise messaging.",
|
|
1960
|
+
aliases: ["lark"],
|
|
1961
|
+
order: 70,
|
|
1962
|
+
preferSessionLookupForAnnounceTarget: true
|
|
1963
|
+
};
|
|
1964
|
+
const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-CXQcH5zZ.mjs"), "feishuChannelRuntime");
|
|
1965
|
+
async function resolveFeishuMessageSender(params) {
|
|
1966
|
+
try {
|
|
1967
|
+
const sender = params.resolve(await loadFeishuChannelRuntime());
|
|
1968
|
+
if (sender) return sender;
|
|
1969
|
+
throw new Error(params.unavailableMessage);
|
|
1970
|
+
} catch (error) {
|
|
1971
|
+
if (error instanceof PlatformMessageNotDispatchedError) throw error;
|
|
1972
|
+
throw new PlatformMessageNotDispatchedError(params.unavailableMessage, { cause: error });
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
const resolveFeishuTextSender = () => resolveFeishuMessageSender({
|
|
1976
|
+
resolve: (runtime) => runtime.feishuOutbound.sendText,
|
|
1977
|
+
unavailableMessage: "Feishu text sending is not available."
|
|
1978
|
+
});
|
|
1979
|
+
const resolveFeishuMediaSender = () => resolveFeishuMessageSender({
|
|
1980
|
+
resolve: (runtime) => runtime.feishuOutbound.sendMedia,
|
|
1981
|
+
unavailableMessage: "Feishu media sending is not available."
|
|
1982
|
+
});
|
|
1983
|
+
const feishuMessageAdapter = defineChannelMessageAdapter({
|
|
1984
|
+
id: "feishu",
|
|
1985
|
+
durableFinal: { capabilities: {
|
|
1986
|
+
text: true,
|
|
1987
|
+
media: true
|
|
1988
|
+
} },
|
|
1989
|
+
send: {
|
|
1990
|
+
lifecycle: { beforeSendAttempt: async (ctx) => {
|
|
1991
|
+
if (ctx.kind === "text") await resolveFeishuTextSender();
|
|
1992
|
+
else if (ctx.kind === "media") await resolveFeishuMediaSender();
|
|
1993
|
+
} },
|
|
1994
|
+
text: async (ctx) => {
|
|
1995
|
+
const sendText = await resolveFeishuTextSender();
|
|
1996
|
+
const { onDeliveryResult, ...outboundCtx } = ctx;
|
|
1997
|
+
const result = await sendText({
|
|
1998
|
+
...outboundCtx,
|
|
1999
|
+
...onDeliveryResult ? { onDeliveryResult: async (progress) => {
|
|
2000
|
+
await onDeliveryResult(toFeishuMessageSendResult(progress, "text"));
|
|
2001
|
+
} } : {}
|
|
2002
|
+
});
|
|
2003
|
+
return toFeishuMessageSendResult(result, "text");
|
|
2004
|
+
},
|
|
2005
|
+
media: async (ctx) => {
|
|
2006
|
+
const sendMedia = await resolveFeishuMediaSender();
|
|
2007
|
+
const { onDeliveryResult, ...outboundCtx } = ctx;
|
|
2008
|
+
const result = await sendMedia({
|
|
2009
|
+
...outboundCtx,
|
|
2010
|
+
...onDeliveryResult ? { onDeliveryResult: async (progress) => {
|
|
2011
|
+
await onDeliveryResult(toFeishuMessageSendResult(progress, "media"));
|
|
2012
|
+
} } : {}
|
|
2013
|
+
});
|
|
2014
|
+
return toFeishuMessageSendResult(result, "media");
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
});
|
|
2018
|
+
async function createFeishuActionClient(account) {
|
|
2019
|
+
const { createFeishuClient } = await import("./client-BYG-_IZl.mjs").then((n) => n.t);
|
|
2020
|
+
return createFeishuClient(account);
|
|
2021
|
+
}
|
|
2022
|
+
async function resolveFeishuChatTypeById(params) {
|
|
2023
|
+
const client = await createFeishuActionClient(params.account);
|
|
2024
|
+
const chat = await params.runtime.getChatInfo(client, params.chatId);
|
|
2025
|
+
return resolveFeishuChatType(chat);
|
|
2026
|
+
}
|
|
2027
|
+
async function resolveFeishuMessageChatType(params) {
|
|
2028
|
+
const knownChatType = normalizeFeishuChatType(params.message.chatType);
|
|
2029
|
+
if (knownChatType) return knownChatType;
|
|
2030
|
+
return resolveFeishuChatTypeById({
|
|
2031
|
+
account: params.account,
|
|
2032
|
+
chatId: params.message.chatId,
|
|
2033
|
+
runtime: params.runtime
|
|
2034
|
+
});
|
|
2035
|
+
}
|
|
2036
|
+
const collectFeishuSecurityWarnings = createAllowlistProviderGroupPolicyWarningCollector({
|
|
2037
|
+
providerConfigPresent: (cfg) => cfg.channels?.feishu !== void 0,
|
|
2038
|
+
resolveGroupPolicy: ({ cfg, accountId }) => resolveFeishuAccount({
|
|
2039
|
+
cfg,
|
|
2040
|
+
accountId
|
|
2041
|
+
}).config?.groupPolicy,
|
|
2042
|
+
collect: ({ cfg, accountId, groupPolicy }) => {
|
|
2043
|
+
if (groupPolicy !== "open") return [];
|
|
2044
|
+
return [`- Feishu[${resolveFeishuAccount({
|
|
2045
|
+
cfg,
|
|
2046
|
+
accountId
|
|
2047
|
+
}).accountId}] groups: groupPolicy="open" allows any member to trigger (mention-gated). Set channels.feishu.groupPolicy="allowlist" + channels.feishu.groupAllowFrom to restrict senders.`];
|
|
2048
|
+
}
|
|
2049
|
+
});
|
|
2050
|
+
const collectFeishuOpenGroupFindings = createConditionalWarningCollector.findings({
|
|
2051
|
+
collectWarnings: collectFeishuSecurityWarnings,
|
|
2052
|
+
checkId: "channels.feishu.groups.open",
|
|
2053
|
+
severity: "warn",
|
|
2054
|
+
title: "Feishu security warning"
|
|
2055
|
+
});
|
|
2056
|
+
function describeFeishuMessageTool({ cfg, accountId }) {
|
|
2057
|
+
const enabledAccounts = accountId ? [resolveFeishuAccount({
|
|
2058
|
+
cfg,
|
|
2059
|
+
accountId
|
|
2060
|
+
})].filter((account) => account.enabled && account.configured) : listEnabledFeishuAccounts(cfg);
|
|
2061
|
+
const enabled = enabledAccounts.length > 0 || !accountId && cfg.channels?.feishu?.enabled !== false && Boolean(inspectFeishuCredentials(cfg.channels?.feishu, cfg));
|
|
2062
|
+
if (enabledAccounts.length === 0) return {
|
|
2063
|
+
actions: [],
|
|
2064
|
+
capabilities: enabled ? ["presentation"] : []
|
|
2065
|
+
};
|
|
2066
|
+
const actions = /* @__PURE__ */ new Set([
|
|
2067
|
+
"send",
|
|
2068
|
+
"read",
|
|
2069
|
+
"edit",
|
|
2070
|
+
"thread-reply",
|
|
2071
|
+
"pin",
|
|
2072
|
+
"list-pins",
|
|
2073
|
+
"unpin",
|
|
2074
|
+
"member-info",
|
|
2075
|
+
"channel-info",
|
|
2076
|
+
"channel-list"
|
|
2077
|
+
]);
|
|
2078
|
+
if (enabledAccounts.some((account) => isFeishuActionEnabled(account, "reactions"))) {
|
|
2079
|
+
actions.add("react");
|
|
2080
|
+
actions.add("reactions");
|
|
2081
|
+
}
|
|
2082
|
+
if (enabledAccounts.some((account) => isFeishuActionEnabled(account, "sticker"))) actions.add("sticker");
|
|
2083
|
+
const selectedAccount = resolveFeishuAccount({
|
|
2084
|
+
cfg,
|
|
2085
|
+
accountId
|
|
2086
|
+
});
|
|
2087
|
+
if (isFeishuActionEnabled(selectedAccount, "sticker") && resolveFeishuStickerSet(cfg, selectedAccount).length > 0) actions.add("sticker-search");
|
|
2088
|
+
return {
|
|
2089
|
+
actions: Array.from(actions),
|
|
2090
|
+
capabilities: enabled ? ["presentation"] : []
|
|
2091
|
+
};
|
|
2092
|
+
}
|
|
2093
|
+
const feishuConfigAdapter = createHybridChannelConfigAdapter({
|
|
2094
|
+
sectionKey: "feishu",
|
|
2095
|
+
listAccountIds: listFeishuAccountIds,
|
|
2096
|
+
resolveAccount: adaptScopedAccountAccessor(resolveFeishuAccount),
|
|
2097
|
+
defaultAccountId: resolveDefaultFeishuAccountId,
|
|
2098
|
+
clearBaseFields: [],
|
|
2099
|
+
resolveAllowFrom: (account) => account.config.allowFrom,
|
|
2100
|
+
formatAllowFrom: (allowFrom) => formatAllowFromLowercase({ allowFrom })
|
|
2101
|
+
});
|
|
2102
|
+
function isFeishuActionEnabled(account, action) {
|
|
2103
|
+
if (!account.enabled || !account.configured) return false;
|
|
2104
|
+
return createActionGate(account.config.actions)(action, action === "reactions");
|
|
2105
|
+
}
|
|
2106
|
+
function isFeishuGroupTopicSessionKey(sessionKey) {
|
|
2107
|
+
if (typeof sessionKey !== "string" || !sessionKey) return false;
|
|
2108
|
+
const parsed = parseFeishuConversationId({ conversationId: sessionKey });
|
|
2109
|
+
return parsed?.scope === "group_topic" || parsed?.scope === "group_topic_sender";
|
|
2110
|
+
}
|
|
2111
|
+
function resolveFeishuTopicAutoThreadAnchor(ctx, accountId) {
|
|
2112
|
+
const currentTarget = ctx.toolContext?.currentMessagingTarget ?? ctx.toolContext?.currentChannelId;
|
|
2113
|
+
const target = resolveFeishuActionTarget(ctx);
|
|
2114
|
+
if (!isFeishuGroupTopicSessionKey(ctx.sessionKey) || ctx.params.topLevel === true || ctx.params.threadId === null || ctx.requesterAccountId && ctx.requesterAccountId !== accountId || ctx.toolContext?.currentChannelProvider && ctx.toolContext.currentChannelProvider !== "feishu" || !currentTarget || !target || normalizeFeishuTarget(currentTarget) !== normalizeFeishuTarget(target)) return;
|
|
2115
|
+
const inbound = ctx.toolContext?.currentMessageId;
|
|
2116
|
+
return typeof inbound === "string" && inbound.length > 0 ? inbound : void 0;
|
|
2117
|
+
}
|
|
2118
|
+
function buildFeishuSendReplyAnchor(ctx, accountId) {
|
|
2119
|
+
if (ctx.action === "thread-reply") return {
|
|
2120
|
+
replyToMessageId: resolveFeishuMessageId(ctx.params),
|
|
2121
|
+
replyInThread: true
|
|
2122
|
+
};
|
|
2123
|
+
const threadId = readFirstString(ctx.params, ["threadId"]) ?? resolveFeishuTopicAutoThreadAnchor(ctx, accountId);
|
|
2124
|
+
return resolveFeishuReplyMode({
|
|
2125
|
+
replyToId: ctx.reply ? ctx.reply.source === "implicit" && threadId ? void 0 : ctx.reply.replyToId : readFirstString(ctx.params, ["replyTo", "reply_to"]),
|
|
2126
|
+
threadId
|
|
2127
|
+
});
|
|
2128
|
+
}
|
|
2129
|
+
function isSupportedFeishuDirectConversationId(conversationId) {
|
|
2130
|
+
const trimmed = conversationId.trim();
|
|
2131
|
+
if (!trimmed || trimmed.includes(":")) return false;
|
|
2132
|
+
if (trimmed.startsWith("oc_") || trimmed.startsWith("on_")) return false;
|
|
2133
|
+
return true;
|
|
2134
|
+
}
|
|
2135
|
+
function normalizeFeishuAcpConversationId(conversationId) {
|
|
2136
|
+
const parsed = parseFeishuConversationId({ conversationId });
|
|
2137
|
+
if (!parsed || parsed.scope !== "group_topic" && parsed.scope !== "group_topic_sender" && !isSupportedFeishuDirectConversationId(parsed.canonicalConversationId)) return null;
|
|
2138
|
+
return {
|
|
2139
|
+
conversationId: parsed.canonicalConversationId,
|
|
2140
|
+
parentConversationId: parsed.scope === "group_topic" || parsed.scope === "group_topic_sender" ? parsed.chatId : void 0
|
|
2141
|
+
};
|
|
2142
|
+
}
|
|
2143
|
+
function matchFeishuAcpConversation(params) {
|
|
2144
|
+
const binding = normalizeFeishuAcpConversationId(params.bindingConversationId);
|
|
2145
|
+
if (!binding) return null;
|
|
2146
|
+
const incoming = parseFeishuConversationId({
|
|
2147
|
+
conversationId: params.conversationId,
|
|
2148
|
+
parentConversationId: params.parentConversationId
|
|
2149
|
+
});
|
|
2150
|
+
if (!incoming || incoming.scope !== "group_topic" && incoming.scope !== "group_topic_sender" && !isSupportedFeishuDirectConversationId(incoming.canonicalConversationId)) return null;
|
|
2151
|
+
const matchesCanonicalConversation = binding.conversationId === incoming.canonicalConversationId;
|
|
2152
|
+
const matchesParentTopicForSenderScopedConversation = incoming.scope === "group_topic_sender" && binding.parentConversationId === incoming.chatId && binding.conversationId === `${incoming.chatId}:topic:${incoming.topicId}`;
|
|
2153
|
+
if (!matchesCanonicalConversation && !matchesParentTopicForSenderScopedConversation) return null;
|
|
2154
|
+
return {
|
|
2155
|
+
conversationId: matchesParentTopicForSenderScopedConversation ? binding.conversationId : incoming.canonicalConversationId,
|
|
2156
|
+
parentConversationId: incoming.scope === "group_topic" || incoming.scope === "group_topic_sender" ? incoming.chatId : void 0,
|
|
2157
|
+
matchPriority: matchesCanonicalConversation ? 2 : 1
|
|
2158
|
+
};
|
|
2159
|
+
}
|
|
2160
|
+
function resolveFeishuSenderScopedCommandConversation(params) {
|
|
2161
|
+
const parentConversationId = params.parentConversationId?.trim();
|
|
2162
|
+
const threadId = params.threadId?.trim();
|
|
2163
|
+
const senderId = params.senderId?.trim();
|
|
2164
|
+
if (!parentConversationId || !threadId || !senderId) return;
|
|
2165
|
+
const expectedScopePrefix = `feishu:group:${normalizeLowercaseStringOrEmpty(parentConversationId)}:topic:${normalizeLowercaseStringOrEmpty(threadId)}:sender:`;
|
|
2166
|
+
const isSenderScopedSession = [params.sessionKey, params.parentSessionKey].some((candidate) => {
|
|
2167
|
+
const normalized = normalizeLowercaseStringOrEmpty(candidate ?? "");
|
|
2168
|
+
if (!normalized) return false;
|
|
2169
|
+
return normalized.replace(/^agent:[^:]+:/, "").startsWith(expectedScopePrefix);
|
|
2170
|
+
});
|
|
2171
|
+
const senderScopedConversationId = buildFeishuConversationId({
|
|
2172
|
+
chatId: parentConversationId,
|
|
2173
|
+
scope: "group_topic_sender",
|
|
2174
|
+
topicId: threadId,
|
|
2175
|
+
senderOpenId: senderId
|
|
2176
|
+
});
|
|
2177
|
+
if (isSenderScopedSession) return senderScopedConversationId;
|
|
2178
|
+
if (!params.sessionKey?.trim()) return;
|
|
2179
|
+
return getSessionBindingService().listBySession(params.sessionKey).find((binding) => {
|
|
2180
|
+
if (binding.conversation.channel !== "feishu" || binding.conversation.accountId !== params.accountId) return false;
|
|
2181
|
+
return binding.conversation.conversationId === senderScopedConversationId;
|
|
2182
|
+
})?.conversation.conversationId;
|
|
2183
|
+
}
|
|
2184
|
+
function resolveFeishuCommandConversation(params) {
|
|
2185
|
+
if (params.threadId) {
|
|
2186
|
+
const parentConversationId = parseFeishuTargetId(params.originatingTo) ?? parseFeishuTargetId(params.commandTo) ?? parseFeishuTargetId(params.fallbackTo);
|
|
2187
|
+
if (!parentConversationId) return null;
|
|
2188
|
+
return {
|
|
2189
|
+
conversationId: resolveFeishuSenderScopedCommandConversation({
|
|
2190
|
+
accountId: params.accountId,
|
|
2191
|
+
parentConversationId,
|
|
2192
|
+
threadId: params.threadId,
|
|
2193
|
+
senderId: params.senderId,
|
|
2194
|
+
sessionKey: params.sessionKey,
|
|
2195
|
+
parentSessionKey: params.parentSessionKey
|
|
2196
|
+
}) ?? buildFeishuConversationId({
|
|
2197
|
+
chatId: parentConversationId,
|
|
2198
|
+
scope: "group_topic",
|
|
2199
|
+
topicId: params.threadId
|
|
2200
|
+
}),
|
|
2201
|
+
parentConversationId
|
|
2202
|
+
};
|
|
2203
|
+
}
|
|
2204
|
+
const conversationId = parseFeishuDirectConversationId(params.originatingTo) ?? parseFeishuDirectConversationId(params.commandTo) ?? parseFeishuDirectConversationId(params.fallbackTo);
|
|
2205
|
+
return conversationId ? { conversationId } : null;
|
|
2206
|
+
}
|
|
2207
|
+
function jsonActionResult(details) {
|
|
2208
|
+
return {
|
|
2209
|
+
content: [{
|
|
2210
|
+
type: "text",
|
|
2211
|
+
text: JSON.stringify(details)
|
|
2212
|
+
}],
|
|
2213
|
+
details
|
|
2214
|
+
};
|
|
2215
|
+
}
|
|
2216
|
+
function readFirstString(params, keys, fallback) {
|
|
2217
|
+
for (const key of keys) {
|
|
2218
|
+
const value = params[key];
|
|
2219
|
+
if (typeof value === "string" && value.trim()) return value.trim();
|
|
2220
|
+
}
|
|
2221
|
+
if (typeof fallback === "string" && fallback.trim()) return fallback.trim();
|
|
2222
|
+
}
|
|
2223
|
+
const UNRESOLVED_RESPONSE_PREFIX_VAR_PATTERN = /\{[a-zA-Z][a-zA-Z0-9.]*\}/;
|
|
2224
|
+
function resolveFeishuMessageActionResponsePrefix(ctx) {
|
|
2225
|
+
const channel = ctx.cfg.channels?.feishu;
|
|
2226
|
+
const configured = (ctx.accountId ? channel?.accounts?.[ctx.accountId]?.responsePrefix : void 0) ?? channel?.responsePrefix ?? (channel === void 0 ? ctx.cfg.messages?.responsePrefix : void 0);
|
|
2227
|
+
if (!configured) return;
|
|
2228
|
+
const identityName = resolveAgentConfig(ctx.cfg, ctx.agentId ?? "main")?.identity?.name?.trim();
|
|
2229
|
+
const resolved = configured === "auto" ? identityName ? `[${identityName}]` : void 0 : configured.replace(/\{(?:identity\.name|identityname)\}/gi, identityName ?? "$&");
|
|
2230
|
+
return resolved && !UNRESOLVED_RESPONSE_PREFIX_VAR_PATTERN.test(resolved) ? resolved : void 0;
|
|
2231
|
+
}
|
|
2232
|
+
function readOptionalPositiveInteger(params, keys) {
|
|
2233
|
+
for (const key of keys) {
|
|
2234
|
+
const parsed = parseStrictPositiveInteger(params[key]);
|
|
2235
|
+
if (parsed !== void 0) return parsed;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
function resolveFeishuActionTarget(ctx) {
|
|
2239
|
+
return readFirstString(ctx.params, ["to", "target"], ctx.toolContext?.currentChannelId);
|
|
2240
|
+
}
|
|
2241
|
+
function resolveFeishuChatId(ctx) {
|
|
2242
|
+
const raw = readFirstString(ctx.params, [
|
|
2243
|
+
"chatId",
|
|
2244
|
+
"chat_id",
|
|
2245
|
+
"channelId",
|
|
2246
|
+
"channel_id",
|
|
2247
|
+
"to",
|
|
2248
|
+
"target"
|
|
2249
|
+
], ctx.toolContext?.currentChannelId);
|
|
2250
|
+
if (!raw) return;
|
|
2251
|
+
if (/^(user|dm|open_id):/i.test(raw)) return;
|
|
2252
|
+
if (/^(chat|group|channel):/i.test(raw)) return normalizeFeishuTarget(raw) ?? void 0;
|
|
2253
|
+
return raw;
|
|
2254
|
+
}
|
|
2255
|
+
function resolveFeishuMessageId(params) {
|
|
2256
|
+
return readFirstString(params, [
|
|
2257
|
+
"messageId",
|
|
2258
|
+
"message_id",
|
|
2259
|
+
"replyTo",
|
|
2260
|
+
"reply_to"
|
|
2261
|
+
]);
|
|
2262
|
+
}
|
|
2263
|
+
function resolveFeishuMessageReadTarget(ctx) {
|
|
2264
|
+
const explicitChatId = resolveFeishuChatId({ params: ctx.params });
|
|
2265
|
+
const currentChatId = resolveFeishuChatId({
|
|
2266
|
+
params: {},
|
|
2267
|
+
toolContext: ctx.toolContext
|
|
2268
|
+
});
|
|
2269
|
+
const chatId = explicitChatId ?? currentChatId;
|
|
2270
|
+
if (!chatId) return;
|
|
2271
|
+
const normalizedChatId = normalizeFeishuTarget(chatId) ?? chatId.trim();
|
|
2272
|
+
if (normalizedChatId !== (currentChatId ? normalizeFeishuTarget(currentChatId) ?? currentChatId.trim() : void 0)) return { chatId: normalizedChatId };
|
|
2273
|
+
return {
|
|
2274
|
+
chatId: normalizedChatId,
|
|
2275
|
+
chatType: ctx.toolContext?.currentChatType === "direct" ? "p2p" : ctx.toolContext?.currentChatType === "group" || ctx.toolContext?.currentChatType === "channel" ? "group" : void 0
|
|
2276
|
+
};
|
|
2277
|
+
}
|
|
2278
|
+
function assertFeishuMessageMatchesReadTarget(params) {
|
|
2279
|
+
if ((normalizeFeishuTarget(params.messageChatId) ?? params.messageChatId.trim()) !== params.authorizedChatId) throw new ToolAuthorizationError("Feishu message target is not allowed.");
|
|
2280
|
+
}
|
|
2281
|
+
async function authorizeFeishuMessageReadTarget(params) {
|
|
2282
|
+
const authorize = (chatType) => assertFeishuChatReadAllowed({
|
|
2283
|
+
cfg: params.ctx.cfg,
|
|
2284
|
+
account: params.account,
|
|
2285
|
+
chatId: params.target.chatId,
|
|
2286
|
+
chatType,
|
|
2287
|
+
ctx: params.ctx
|
|
2288
|
+
});
|
|
2289
|
+
if (params.target.chatType) return authorize(params.target.chatType);
|
|
2290
|
+
const preliminary = resolveFeishuChatReadPreliminaryAuthorization({
|
|
2291
|
+
cfg: params.ctx.cfg,
|
|
2292
|
+
account: params.account,
|
|
2293
|
+
chatId: params.target.chatId,
|
|
2294
|
+
ctx: params.ctx
|
|
2295
|
+
});
|
|
2296
|
+
if (preliminary.decision === "allow") return preliminary.chatId;
|
|
2297
|
+
if (preliminary.decision === "deny") throw new ToolAuthorizationError("Feishu read target is not allowed.");
|
|
2298
|
+
await getAuthorizedFeishuChatInfo({
|
|
2299
|
+
ctx: params.ctx,
|
|
2300
|
+
account: params.account,
|
|
2301
|
+
runtime: params.runtime,
|
|
2302
|
+
chatId: params.target.chatId
|
|
2303
|
+
});
|
|
2304
|
+
return preliminary.chatId;
|
|
2305
|
+
}
|
|
2306
|
+
async function getAuthorizedFeishuChatInfo(params) {
|
|
2307
|
+
const preliminary = resolveFeishuChatReadPreliminaryAuthorization({
|
|
2308
|
+
cfg: params.ctx.cfg,
|
|
2309
|
+
account: params.account,
|
|
2310
|
+
chatId: params.chatId,
|
|
2311
|
+
ctx: params.ctx
|
|
2312
|
+
});
|
|
2313
|
+
if (preliminary.decision === "deny") throw new ToolAuthorizationError("Feishu read target is not allowed.");
|
|
2314
|
+
const client = await createFeishuActionClient(params.account);
|
|
2315
|
+
return {
|
|
2316
|
+
chat: await readFeishuChatInfoWithAuthorization({
|
|
2317
|
+
cfg: params.ctx.cfg,
|
|
2318
|
+
account: params.account,
|
|
2319
|
+
ctx: params.ctx,
|
|
2320
|
+
preliminary
|
|
2321
|
+
}, (chatId) => params.runtime.getChatInfo(client, chatId)),
|
|
2322
|
+
client
|
|
2323
|
+
};
|
|
2324
|
+
}
|
|
2325
|
+
async function getAuthorizedFeishuMessage(params) {
|
|
2326
|
+
const target = resolveFeishuMessageReadTarget(params.ctx);
|
|
2327
|
+
if (!target && params.ctx.conversationReadOrigin !== "direct-operator") throw new ToolAuthorizationError("Feishu message reads require a chat target or current conversation.");
|
|
2328
|
+
const authorizedChatId = target ? await authorizeFeishuMessageReadTarget({
|
|
2329
|
+
ctx: params.ctx,
|
|
2330
|
+
account: params.account,
|
|
2331
|
+
runtime: params.runtime,
|
|
2332
|
+
target
|
|
2333
|
+
}) : void 0;
|
|
2334
|
+
const message = await params.runtime.getMessageFeishu({
|
|
2335
|
+
cfg: params.ctx.cfg,
|
|
2336
|
+
messageId: params.messageId,
|
|
2337
|
+
accountId: params.ctx.accountId ?? void 0
|
|
2338
|
+
});
|
|
2339
|
+
if (!message) return null;
|
|
2340
|
+
if (authorizedChatId) assertFeishuMessageMatchesReadTarget({
|
|
2341
|
+
authorizedChatId,
|
|
2342
|
+
messageChatId: message.chatId
|
|
2343
|
+
});
|
|
2344
|
+
assertFeishuChatReadAllowed({
|
|
2345
|
+
cfg: params.ctx.cfg,
|
|
2346
|
+
account: params.account,
|
|
2347
|
+
chatId: message.chatId,
|
|
2348
|
+
chatType: await resolveFeishuMessageChatType({
|
|
2349
|
+
account: params.account,
|
|
2350
|
+
message,
|
|
2351
|
+
runtime: params.runtime
|
|
2352
|
+
}),
|
|
2353
|
+
ctx: params.ctx
|
|
2354
|
+
});
|
|
2355
|
+
return message;
|
|
2356
|
+
}
|
|
2357
|
+
async function requireAuthorizedFeishuMessage(params) {
|
|
2358
|
+
const message = await getAuthorizedFeishuMessage(params);
|
|
2359
|
+
params.ctx.assertDirectAdapterHandoff?.();
|
|
2360
|
+
if (!message) throw new Error(`Feishu message not found: ${params.messageId}`);
|
|
2361
|
+
return message;
|
|
2362
|
+
}
|
|
2363
|
+
function resolveFeishuMemberId(params) {
|
|
2364
|
+
return readFirstString(params, [
|
|
2365
|
+
"memberId",
|
|
2366
|
+
"member_id",
|
|
2367
|
+
"userId",
|
|
2368
|
+
"user_id",
|
|
2369
|
+
"openId",
|
|
2370
|
+
"open_id",
|
|
2371
|
+
"unionId",
|
|
2372
|
+
"union_id"
|
|
2373
|
+
]);
|
|
2374
|
+
}
|
|
2375
|
+
function resolveFeishuMemberIdType(params) {
|
|
2376
|
+
return resolveRequestedFeishuMemberIdType(params) ?? "open_id";
|
|
2377
|
+
}
|
|
2378
|
+
function resolveRequestedFeishuMemberIdType(params) {
|
|
2379
|
+
const raw = readFirstString(params, [
|
|
2380
|
+
"memberIdType",
|
|
2381
|
+
"member_id_type",
|
|
2382
|
+
"userIdType",
|
|
2383
|
+
"user_id_type"
|
|
2384
|
+
]);
|
|
2385
|
+
if (raw === "open_id" || raw === "user_id" || raw === "union_id") return raw;
|
|
2386
|
+
if (readFirstString(params, ["userId", "user_id"]) && !readFirstString(params, [
|
|
2387
|
+
"openId",
|
|
2388
|
+
"open_id",
|
|
2389
|
+
"unionId",
|
|
2390
|
+
"union_id"
|
|
2391
|
+
])) return "user_id";
|
|
2392
|
+
if (readFirstString(params, ["unionId", "union_id"]) && !readFirstString(params, ["openId", "open_id"])) return "union_id";
|
|
2393
|
+
if (readFirstString(params, ["openId", "open_id"])) return "open_id";
|
|
2394
|
+
}
|
|
2395
|
+
const feishuPlugin = createChatChannelPlugin({
|
|
2396
|
+
base: {
|
|
2397
|
+
id: "feishu",
|
|
2398
|
+
meta,
|
|
2399
|
+
capabilities: {
|
|
2400
|
+
chatTypes: ["direct", "channel"],
|
|
2401
|
+
polls: false,
|
|
2402
|
+
threads: true,
|
|
2403
|
+
media: true,
|
|
2404
|
+
tts: { voice: {
|
|
2405
|
+
synthesisTarget: "voice-note",
|
|
2406
|
+
transcodesAudio: true
|
|
2407
|
+
} },
|
|
2408
|
+
reactions: true,
|
|
2409
|
+
edit: true,
|
|
2410
|
+
reply: true
|
|
2411
|
+
},
|
|
2412
|
+
agentPrompt: { messageToolHints: ({ cfg, accountId }) => {
|
|
2413
|
+
const actions = describeFeishuMessageTool({
|
|
2414
|
+
cfg,
|
|
2415
|
+
accountId: accountId ?? void 0
|
|
2416
|
+
}).actions;
|
|
2417
|
+
return [
|
|
2418
|
+
"- Feishu targeting: omit `target` to reply to the current conversation (auto-inferred). Explicit targets: `user:open_id` or `chat:chat_id`.",
|
|
2419
|
+
"- Feishu supports interactive cards plus native image, file, audio, and video/media delivery.",
|
|
2420
|
+
"- Feishu supports `send`, `read`, `edit`, `thread-reply`, pins, and channel/member lookup, plus reactions when enabled.",
|
|
2421
|
+
...actions?.includes("sticker") ? ["- Feishu stickers: use `action=sticker` with `fileId` (or the first `stickerId`) from a sticker this bot previously received. Sticker upload is not supported."] : [],
|
|
2422
|
+
...actions?.includes("sticker-search") ? ["- Feishu `action=sticker-search`: configured keyword lookup only, not store search or learned/visual matching. Supply `query` (1–128 characters) and optional `limit` (1–10, default 5); send a returned `fileId` with `action=sticker` on the same account. If `truncated` is true, narrow the query."] : []
|
|
2423
|
+
];
|
|
2424
|
+
} },
|
|
2425
|
+
groups: { resolveToolPolicy: resolveFeishuGroupToolPolicy },
|
|
2426
|
+
conversationBindings: {
|
|
2427
|
+
bindingStore: "adapter",
|
|
2428
|
+
defaultTopLevelPlacement: "current",
|
|
2429
|
+
buildModelOverrideParentCandidates: ({ parentConversationId }) => buildFeishuModelOverrideParentCandidates(parentConversationId)
|
|
2430
|
+
},
|
|
2431
|
+
mentions: { stripPatterns: () => ["<at user_id=\"[^\"]*\">[^<]*</at>"] },
|
|
2432
|
+
reload: {
|
|
2433
|
+
configPrefixes: ["channels.feishu"],
|
|
2434
|
+
noopPrefixes: ["messages.inbound"]
|
|
2435
|
+
},
|
|
2436
|
+
doctor: feishuDoctor,
|
|
2437
|
+
configSchema: FeishuChannelConfigSchema,
|
|
2438
|
+
config: {
|
|
2439
|
+
...feishuConfigAdapter,
|
|
2440
|
+
deleteAccount: ({ cfg, accountId }) => {
|
|
2441
|
+
if (accountId === DEFAULT_ACCOUNT_ID) {
|
|
2442
|
+
const next = { ...cfg };
|
|
2443
|
+
const nextChannels = { ...cfg.channels };
|
|
2444
|
+
delete nextChannels.feishu;
|
|
2445
|
+
if (Object.keys(nextChannels).length > 0) next.channels = nextChannels;
|
|
2446
|
+
else delete next.channels;
|
|
2447
|
+
return next;
|
|
2448
|
+
}
|
|
2449
|
+
const accounts = { ...(cfg.channels?.feishu)?.accounts };
|
|
2450
|
+
delete accounts[accountId];
|
|
2451
|
+
return patchTopLevelChannelConfigSection({
|
|
2452
|
+
cfg,
|
|
2453
|
+
channel: "feishu",
|
|
2454
|
+
patch: { accounts: Object.keys(accounts).length > 0 ? accounts : void 0 }
|
|
2455
|
+
});
|
|
2456
|
+
},
|
|
2457
|
+
isConfigured: (account) => account.configured,
|
|
2458
|
+
describeAccount: (account) => describeAccountSnapshot({
|
|
2459
|
+
account,
|
|
2460
|
+
configured: account.configured,
|
|
2461
|
+
extra: {
|
|
2462
|
+
appId: account.appId,
|
|
2463
|
+
domain: account.domain
|
|
2464
|
+
}
|
|
2465
|
+
})
|
|
2466
|
+
},
|
|
2467
|
+
approvalCapability: feishuApprovalAuth,
|
|
2468
|
+
secrets: {
|
|
2469
|
+
secretTargetRegistryEntries,
|
|
2470
|
+
collectRuntimeConfigAssignments
|
|
2471
|
+
},
|
|
2472
|
+
actions: {
|
|
2473
|
+
providerOwnedReadGates: true,
|
|
2474
|
+
readAuthorityActions: [
|
|
2475
|
+
"read",
|
|
2476
|
+
"reactions",
|
|
2477
|
+
"list-pins",
|
|
2478
|
+
"member-info",
|
|
2479
|
+
"channel-info",
|
|
2480
|
+
"channel-list",
|
|
2481
|
+
"sticker-search"
|
|
2482
|
+
],
|
|
2483
|
+
messageActionTargetAliases,
|
|
2484
|
+
describeMessageTool: describeFeishuMessageTool,
|
|
2485
|
+
handleAction: async (ctx) => {
|
|
2486
|
+
const { assertDirectAdapterHandoff } = ctx;
|
|
2487
|
+
const account = resolveFeishuAccount({
|
|
2488
|
+
cfg: ctx.cfg,
|
|
2489
|
+
accountId: ctx.accountId ?? void 0
|
|
2490
|
+
});
|
|
2491
|
+
if ((ctx.action === "react" || ctx.action === "reactions") && !isFeishuActionEnabled(account, "reactions")) throw new Error("Feishu reactions are disabled via actions.reactions.");
|
|
2492
|
+
if (ctx.action === "sticker" || ctx.action === "sticker-search") {
|
|
2493
|
+
if (!isFeishuActionEnabled(account, "sticker")) throw new Error("Feishu stickers are disabled; enable actions.sticker for a configured account.");
|
|
2494
|
+
if (ctx.action === "sticker-search") {
|
|
2495
|
+
const stickers = resolveFeishuStickerSet(ctx.cfg, account);
|
|
2496
|
+
if (stickers.length === 0) throw new Error("Feishu sticker-search requires a nonempty channels.feishu.stickerSets entry for this account's appId.");
|
|
2497
|
+
return jsonActionResult(searchFeishuStickerSet(stickers, ctx.params));
|
|
2498
|
+
}
|
|
2499
|
+
const to = resolveFeishuActionTarget(ctx);
|
|
2500
|
+
if (!to) throw new Error("Feishu sticker requires a target (to).");
|
|
2501
|
+
const fileKey = normalizeFeishuExternalKey(readFirstString(ctx.params, ["fileId"]) ?? (Array.isArray(ctx.params.stickerId) ? ctx.params.stickerId[0] : void 0));
|
|
2502
|
+
if (!fileKey) throw new Error("Feishu sticker requires fileId (or first stickerId): use the file_key of a sticker this bot previously received.");
|
|
2503
|
+
const anchor = buildFeishuSendReplyAnchor(ctx, account.accountId);
|
|
2504
|
+
return jsonActionResult({
|
|
2505
|
+
ok: true,
|
|
2506
|
+
channel: "feishu",
|
|
2507
|
+
action: "sticker",
|
|
2508
|
+
...await (await loadFeishuChannelRuntime()).sendStickerFeishu({
|
|
2509
|
+
cfg: ctx.cfg,
|
|
2510
|
+
to,
|
|
2511
|
+
fileKey,
|
|
2512
|
+
accountId: ctx.accountId ?? void 0,
|
|
2513
|
+
replyToMessageId: anchor.replyToMessageId,
|
|
2514
|
+
replyInThread: anchor.replyInThread
|
|
2515
|
+
})
|
|
2516
|
+
});
|
|
2517
|
+
}
|
|
2518
|
+
if (ctx.action === "send" || ctx.action === "thread-reply") {
|
|
2519
|
+
const sendContext = {
|
|
2520
|
+
assertDirectAdapterHandoff,
|
|
2521
|
+
onPlatformSendDispatch: ctx.onPlatformSendDispatch
|
|
2522
|
+
};
|
|
2523
|
+
const to = resolveFeishuActionTarget(ctx);
|
|
2524
|
+
if (!to) throw new Error(`Feishu ${ctx.action} requires a target (to).`);
|
|
2525
|
+
const { replyToMessageId, replyInThread } = buildFeishuSendReplyAnchor(ctx, account.accountId);
|
|
2526
|
+
if (ctx.action === "thread-reply" && !replyToMessageId) throw new Error("Feishu thread-reply requires messageId.");
|
|
2527
|
+
const text = readFirstString(ctx.params, ["text", "message"]);
|
|
2528
|
+
const textCard = readNativeFeishuCardJson(text, { responsePrefix: resolveFeishuMessageActionResponsePrefix(ctx) });
|
|
2529
|
+
const { interactive, presentation } = resolveFeishuRichReply(ctx.params);
|
|
2530
|
+
const mediaUrl = resolveFeishuSendAttachmentMedia(ctx.params);
|
|
2531
|
+
const audioAsVoice = readBooleanParam(ctx.params, ["asVoice", "audioAsVoice"]);
|
|
2532
|
+
if (textCard && !presentation) assertFeishuCardWithinEnvelope(textCard, "Feishu native card");
|
|
2533
|
+
const generatedCard = presentation ? buildFeishuPresentationCard({
|
|
2534
|
+
presentation,
|
|
2535
|
+
fallbackText: textCard ? void 0 : resolveLegacyInteractiveTextFallback({
|
|
2536
|
+
text,
|
|
2537
|
+
interactive
|
|
2538
|
+
})
|
|
2539
|
+
}) : void 0;
|
|
2540
|
+
const presentationCard = generatedCard && feishuCardWithinTableLimit(generatedCard) && isFeishuCardWithinEnvelope(generatedCard) ? generatedCard : void 0;
|
|
2541
|
+
const presentationFellBack = Boolean(generatedCard && !presentationCard);
|
|
2542
|
+
const card = presentation ? presentationCard : textCard;
|
|
2543
|
+
if (card && mediaUrl) throw new Error(`Feishu ${ctx.action} does not support card with media.`);
|
|
2544
|
+
if (!card && !text && !mediaUrl && !presentationFellBack) throw new Error(`Feishu ${ctx.action} requires text/message, media, or card.`);
|
|
2545
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2546
|
+
const maybeSendMedia = runtime.feishuOutbound.sendMedia;
|
|
2547
|
+
if (mediaUrl && !maybeSendMedia) throw new Error("Feishu media sending is not available.");
|
|
2548
|
+
const sendMedia = maybeSendMedia;
|
|
2549
|
+
const outboundContext = {
|
|
2550
|
+
...sendContext,
|
|
2551
|
+
cfg: ctx.cfg,
|
|
2552
|
+
to,
|
|
2553
|
+
text: text ?? "",
|
|
2554
|
+
accountId: ctx.accountId ?? void 0,
|
|
2555
|
+
...ctx.mediaAccess ? { mediaAccess: ctx.mediaAccess } : {},
|
|
2556
|
+
mediaLocalRoots: ctx.mediaLocalRoots,
|
|
2557
|
+
...ctx.mediaReadFile ? { mediaReadFile: ctx.mediaReadFile } : {},
|
|
2558
|
+
...replyInThread ? { threadId: replyToMessageId } : { replyToId: replyToMessageId }
|
|
2559
|
+
};
|
|
2560
|
+
let result;
|
|
2561
|
+
if (presentationFellBack && presentation) {
|
|
2562
|
+
const sendPayload = runtime.feishuOutbound.sendPayload;
|
|
2563
|
+
if (!sendPayload) throw new Error("Feishu presentation fallback delivery is not available.");
|
|
2564
|
+
const fallbackText = textCard ? void 0 : text;
|
|
2565
|
+
result = await sendPayload({
|
|
2566
|
+
...outboundContext,
|
|
2567
|
+
text: fallbackText ?? "",
|
|
2568
|
+
payload: {
|
|
2569
|
+
text: fallbackText,
|
|
2570
|
+
presentation,
|
|
2571
|
+
...mediaUrl ? { mediaUrl } : {},
|
|
2572
|
+
...audioAsVoice === void 0 ? {} : { audioAsVoice },
|
|
2573
|
+
...ctx.action === "send" ? { channelData: { feishu: { [FEISHU_PROPAGATE_MEDIA_UPLOAD_FAILURE_MARKER]: true } } } : {}
|
|
2574
|
+
},
|
|
2575
|
+
...audioAsVoice === void 0 ? {} : { audioAsVoice }
|
|
2576
|
+
});
|
|
2577
|
+
} else if (card) {
|
|
2578
|
+
if (containsLegacyFeishuCardCommandValue(card)) throw new Error("Feishu card buttons that trigger text or commands must use structured interaction envelopes.");
|
|
2579
|
+
result = await withFeishuSendContext(sendContext, () => runtime.sendCardFeishu({
|
|
2580
|
+
cfg: ctx.cfg,
|
|
2581
|
+
to,
|
|
2582
|
+
card,
|
|
2583
|
+
accountId: ctx.accountId ?? void 0,
|
|
2584
|
+
replyToMessageId,
|
|
2585
|
+
replyInThread
|
|
2586
|
+
}));
|
|
2587
|
+
} else if (mediaUrl) result = await sendMedia({
|
|
2588
|
+
...outboundContext,
|
|
2589
|
+
mediaUrl,
|
|
2590
|
+
...audioAsVoice === true ? { audioAsVoice: true } : {},
|
|
2591
|
+
...ctx.action === "send" ? { propagateMediaUploadFailure: true } : {}
|
|
2592
|
+
});
|
|
2593
|
+
else {
|
|
2594
|
+
const { target, ...delivery } = await (await resolveFeishuTextSender())(outboundContext);
|
|
2595
|
+
result = {
|
|
2596
|
+
...delivery,
|
|
2597
|
+
chatId: target?.id
|
|
2598
|
+
};
|
|
2599
|
+
}
|
|
2600
|
+
return jsonActionResult({
|
|
2601
|
+
ok: true,
|
|
2602
|
+
channel: "feishu",
|
|
2603
|
+
action: ctx.action,
|
|
2604
|
+
...result
|
|
2605
|
+
});
|
|
2606
|
+
}
|
|
2607
|
+
if (ctx.action === "read") {
|
|
2608
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2609
|
+
if (!messageId) throw new Error("Feishu read requires messageId.");
|
|
2610
|
+
const message = await getAuthorizedFeishuMessage({
|
|
2611
|
+
ctx,
|
|
2612
|
+
account,
|
|
2613
|
+
runtime: await loadFeishuChannelRuntime(),
|
|
2614
|
+
messageId
|
|
2615
|
+
});
|
|
2616
|
+
if (!message) return {
|
|
2617
|
+
isError: true,
|
|
2618
|
+
...jsonActionResult({ error: `Feishu read failed or message not found: ${messageId}` })
|
|
2619
|
+
};
|
|
2620
|
+
return jsonActionResult({
|
|
2621
|
+
ok: true,
|
|
2622
|
+
channel: "feishu",
|
|
2623
|
+
action: "read",
|
|
2624
|
+
message
|
|
2625
|
+
});
|
|
2626
|
+
}
|
|
2627
|
+
if (ctx.action === "edit") return withFeishuRequestContext(assertDirectAdapterHandoff, async () => {
|
|
2628
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2629
|
+
if (!messageId) throw new Error("Feishu edit requires messageId.");
|
|
2630
|
+
const text = readFirstString(ctx.params, ["text", "message"]);
|
|
2631
|
+
const card = ctx.params.card && typeof ctx.params.card === "object" ? ctx.params.card : void 0;
|
|
2632
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2633
|
+
await requireAuthorizedFeishuMessage({
|
|
2634
|
+
ctx,
|
|
2635
|
+
account,
|
|
2636
|
+
runtime,
|
|
2637
|
+
messageId
|
|
2638
|
+
});
|
|
2639
|
+
return jsonActionResult({
|
|
2640
|
+
ok: true,
|
|
2641
|
+
channel: "feishu",
|
|
2642
|
+
action: "edit",
|
|
2643
|
+
...await runtime.editMessageFeishu({
|
|
2644
|
+
cfg: ctx.cfg,
|
|
2645
|
+
messageId,
|
|
2646
|
+
text,
|
|
2647
|
+
card,
|
|
2648
|
+
accountId: ctx.accountId ?? void 0
|
|
2649
|
+
})
|
|
2650
|
+
});
|
|
2651
|
+
});
|
|
2652
|
+
if (ctx.action === "pin" || ctx.action === "unpin") return withFeishuRequestContext(assertDirectAdapterHandoff, async () => {
|
|
2653
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2654
|
+
if (!messageId) throw new Error(`Feishu ${ctx.action} requires messageId.`);
|
|
2655
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2656
|
+
await requireAuthorizedFeishuMessage({
|
|
2657
|
+
ctx,
|
|
2658
|
+
account,
|
|
2659
|
+
runtime,
|
|
2660
|
+
messageId
|
|
2661
|
+
});
|
|
2662
|
+
if (ctx.action === "pin") return jsonActionResult({
|
|
2663
|
+
ok: true,
|
|
2664
|
+
channel: "feishu",
|
|
2665
|
+
action: "pin",
|
|
2666
|
+
pin: await runtime.createPinFeishu({
|
|
2667
|
+
cfg: ctx.cfg,
|
|
2668
|
+
messageId,
|
|
2669
|
+
accountId: ctx.accountId ?? void 0
|
|
2670
|
+
})
|
|
2671
|
+
});
|
|
2672
|
+
await runtime.removePinFeishu({
|
|
2673
|
+
cfg: ctx.cfg,
|
|
2674
|
+
messageId,
|
|
2675
|
+
accountId: ctx.accountId ?? void 0
|
|
2676
|
+
});
|
|
2677
|
+
return jsonActionResult({
|
|
2678
|
+
ok: true,
|
|
2679
|
+
channel: "feishu",
|
|
2680
|
+
action: "unpin",
|
|
2681
|
+
messageId
|
|
2682
|
+
});
|
|
2683
|
+
});
|
|
2684
|
+
if (ctx.action === "list-pins") {
|
|
2685
|
+
const chatId = resolveFeishuChatId(ctx);
|
|
2686
|
+
if (!chatId) throw new Error("Feishu list-pins requires chatId or channelId.");
|
|
2687
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2688
|
+
await getAuthorizedFeishuChatInfo({
|
|
2689
|
+
ctx,
|
|
2690
|
+
account,
|
|
2691
|
+
runtime,
|
|
2692
|
+
chatId
|
|
2693
|
+
});
|
|
2694
|
+
return jsonActionResult({
|
|
2695
|
+
ok: true,
|
|
2696
|
+
channel: "feishu",
|
|
2697
|
+
action: "list-pins",
|
|
2698
|
+
...await runtime.listPinsFeishu({
|
|
2699
|
+
cfg: ctx.cfg,
|
|
2700
|
+
chatId,
|
|
2701
|
+
startTime: readFirstString(ctx.params, ["startTime", "start_time"]),
|
|
2702
|
+
endTime: readFirstString(ctx.params, ["endTime", "end_time"]),
|
|
2703
|
+
pageSize: readOptionalPositiveInteger(ctx.params, ["pageSize", "page_size"]),
|
|
2704
|
+
pageToken: readFirstString(ctx.params, ["pageToken", "page_token"]),
|
|
2705
|
+
accountId: ctx.accountId ?? void 0
|
|
2706
|
+
})
|
|
2707
|
+
});
|
|
2708
|
+
}
|
|
2709
|
+
if (ctx.action === "channel-info") {
|
|
2710
|
+
const chatId = resolveFeishuChatId(ctx);
|
|
2711
|
+
if (!chatId) throw new Error("Feishu channel-info requires chatId or channelId.");
|
|
2712
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2713
|
+
const { chat: channel, client } = await getAuthorizedFeishuChatInfo({
|
|
2714
|
+
ctx,
|
|
2715
|
+
account,
|
|
2716
|
+
runtime,
|
|
2717
|
+
chatId
|
|
2718
|
+
});
|
|
2719
|
+
const chatType = resolveFeishuChatType(channel);
|
|
2720
|
+
if (!(ctx.params.includeMembers === true || ctx.params.members === true)) return jsonActionResult({
|
|
2721
|
+
ok: true,
|
|
2722
|
+
provider: "feishu",
|
|
2723
|
+
action: "channel-info",
|
|
2724
|
+
channel
|
|
2725
|
+
});
|
|
2726
|
+
const requestedMemberIdType = resolveRequestedFeishuMemberIdType(ctx.params);
|
|
2727
|
+
const authorization = authorizeFeishuChatMemberRead({
|
|
2728
|
+
cfg: ctx.cfg,
|
|
2729
|
+
account,
|
|
2730
|
+
chatId,
|
|
2731
|
+
chatType,
|
|
2732
|
+
ctx,
|
|
2733
|
+
memberIdType: requestedMemberIdType
|
|
2734
|
+
});
|
|
2735
|
+
return jsonActionResult({
|
|
2736
|
+
ok: true,
|
|
2737
|
+
provider: "feishu",
|
|
2738
|
+
action: "channel-info",
|
|
2739
|
+
channel,
|
|
2740
|
+
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))
|
|
2741
|
+
});
|
|
2742
|
+
}
|
|
2743
|
+
if (ctx.action === "member-info") {
|
|
2744
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2745
|
+
const memberId = resolveFeishuMemberId(ctx.params);
|
|
2746
|
+
const chatId = resolveFeishuChatId(ctx);
|
|
2747
|
+
if (!chatId) throw new Error(memberId ? "Feishu member-info requires chatId or channelId when memberId is provided." : "Feishu member-info requires memberId or chatId/channelId.");
|
|
2748
|
+
const { chat, client } = await getAuthorizedFeishuChatInfo({
|
|
2749
|
+
ctx,
|
|
2750
|
+
account,
|
|
2751
|
+
runtime,
|
|
2752
|
+
chatId
|
|
2753
|
+
});
|
|
2754
|
+
const requestedMemberIdType = resolveRequestedFeishuMemberIdType(ctx.params);
|
|
2755
|
+
const memberIdType = resolveFeishuMemberIdType(ctx.params);
|
|
2756
|
+
const authorization = authorizeFeishuChatMemberRead({
|
|
2757
|
+
cfg: ctx.cfg,
|
|
2758
|
+
account,
|
|
2759
|
+
chatId,
|
|
2760
|
+
chatType: resolveFeishuChatType(chat),
|
|
2761
|
+
ctx,
|
|
2762
|
+
...memberId ? { memberId } : {},
|
|
2763
|
+
memberIdType: requestedMemberIdType
|
|
2764
|
+
});
|
|
2765
|
+
if (memberId) {
|
|
2766
|
+
if (authorization.kind === "group") await runtime.assertFeishuChatMember(client, chatId, memberId, memberIdType);
|
|
2767
|
+
return jsonActionResult({
|
|
2768
|
+
ok: true,
|
|
2769
|
+
channel: "feishu",
|
|
2770
|
+
action: "member-info",
|
|
2771
|
+
member: await runtime.getFeishuMemberInfo(client, authorization.kind === "direct" ? authorization.memberId : memberId, authorization.kind === "direct" ? authorization.memberIdType : memberIdType)
|
|
2772
|
+
});
|
|
2773
|
+
}
|
|
2774
|
+
return jsonActionResult({
|
|
2775
|
+
ok: true,
|
|
2776
|
+
channel: "feishu",
|
|
2777
|
+
action: "member-info",
|
|
2778
|
+
...authorization.kind === "direct" ? runtime.buildFeishuDirectChatMembers(authorization) : await runtime.getChatMembers(client, chatId, readOptionalPositiveInteger(ctx.params, ["pageSize", "page_size"]), readFirstString(ctx.params, ["pageToken", "page_token"]), memberIdType)
|
|
2779
|
+
});
|
|
2780
|
+
}
|
|
2781
|
+
if (ctx.action === "channel-list") {
|
|
2782
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2783
|
+
const query = readFirstString(ctx.params, ["query"]);
|
|
2784
|
+
const limit = readOptionalPositiveInteger(ctx.params, ["limit"]);
|
|
2785
|
+
const scope = readFirstString(ctx.params, ["scope", "kind"]) ?? "all";
|
|
2786
|
+
const directOperator = ctx.conversationReadOrigin === "direct-operator";
|
|
2787
|
+
const listGroups = directOperator || canEnumerateAllFeishuGroups(ctx.cfg, account) ? runtime.listFeishuDirectoryGroupsLive : listAuthorizedFeishuDirectoryGroups;
|
|
2788
|
+
const listPeers = directOperator || canEnumerateAllFeishuPeers(account) ? runtime.listFeishuDirectoryPeersLive : listAuthorizedFeishuDirectoryPeers;
|
|
2789
|
+
const directoryParams = {
|
|
2790
|
+
cfg: ctx.cfg,
|
|
2791
|
+
query,
|
|
2792
|
+
limit,
|
|
2793
|
+
accountId: ctx.accountId ?? void 0,
|
|
2794
|
+
fallbackToStatic: false
|
|
2795
|
+
};
|
|
2796
|
+
const groupDirectoryParams = {
|
|
2797
|
+
...directoryParams,
|
|
2798
|
+
filter: directOperator ? (group) => isFeishuGroupReadEnabled(ctx.cfg, account, group.id) : canEnumerateAllFeishuGroups(ctx.cfg, account) ? (group) => isFeishuGroupReadAllowed(ctx.cfg, account, group.id, false) : void 0
|
|
2799
|
+
};
|
|
2800
|
+
const groupsOnly = [
|
|
2801
|
+
"groups",
|
|
2802
|
+
"group",
|
|
2803
|
+
"channels",
|
|
2804
|
+
"channel"
|
|
2805
|
+
].includes(scope);
|
|
2806
|
+
const peersOnly = [
|
|
2807
|
+
"peers",
|
|
2808
|
+
"peer",
|
|
2809
|
+
"members",
|
|
2810
|
+
"member",
|
|
2811
|
+
"users",
|
|
2812
|
+
"user"
|
|
2813
|
+
].includes(scope);
|
|
2814
|
+
const [groups, peers] = await Promise.all([peersOnly ? void 0 : listGroups(groupDirectoryParams), groupsOnly ? void 0 : listPeers(directoryParams)]);
|
|
2815
|
+
return jsonActionResult({
|
|
2816
|
+
ok: true,
|
|
2817
|
+
channel: "feishu",
|
|
2818
|
+
action: "channel-list",
|
|
2819
|
+
...peersOnly ? {} : { groups },
|
|
2820
|
+
...groupsOnly ? {} : { peers }
|
|
2821
|
+
});
|
|
2822
|
+
}
|
|
2823
|
+
if (ctx.action === "react") return withFeishuRequestContext(assertDirectAdapterHandoff, async () => {
|
|
2824
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2825
|
+
if (!messageId) throw new Error("Feishu reaction requires messageId.");
|
|
2826
|
+
const emoji = typeof ctx.params.emoji === "string" ? ctx.params.emoji.trim() : "";
|
|
2827
|
+
const remove = ctx.params.remove === true;
|
|
2828
|
+
const clearAll = ctx.params.clearAll === true;
|
|
2829
|
+
if (!emoji) {
|
|
2830
|
+
if (remove) throw new Error("Emoji is required to remove a Feishu reaction.");
|
|
2831
|
+
if (!clearAll) throw new Error("Emoji is required to add a Feishu reaction. Set clearAll=true to remove all bot reactions.");
|
|
2832
|
+
}
|
|
2833
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2834
|
+
await requireAuthorizedFeishuMessage({
|
|
2835
|
+
ctx,
|
|
2836
|
+
account,
|
|
2837
|
+
runtime,
|
|
2838
|
+
messageId
|
|
2839
|
+
});
|
|
2840
|
+
if (remove || !emoji) {
|
|
2841
|
+
const ownReactions = (await runtime.listReactionsFeishu({
|
|
2842
|
+
cfg: ctx.cfg,
|
|
2843
|
+
messageId,
|
|
2844
|
+
...remove ? { emojiType: emoji } : {},
|
|
2845
|
+
accountId: ctx.accountId ?? void 0
|
|
2846
|
+
})).filter((entry) => entry.operatorType === "app" && Boolean(account.appId) && entry.operatorId === account.appId);
|
|
2847
|
+
const selected = remove ? ownReactions.slice(0, 1) : ownReactions;
|
|
2848
|
+
for (const reaction of selected) await runtime.removeReactionFeishu({
|
|
2849
|
+
cfg: ctx.cfg,
|
|
2850
|
+
messageId,
|
|
2851
|
+
reactionId: reaction.reactionId,
|
|
2852
|
+
accountId: ctx.accountId ?? void 0
|
|
2853
|
+
});
|
|
2854
|
+
return jsonActionResult({
|
|
2855
|
+
ok: true,
|
|
2856
|
+
removed: remove ? selected.length > 0 ? emoji : null : selected.length
|
|
2857
|
+
});
|
|
2858
|
+
}
|
|
2859
|
+
await runtime.addReactionFeishu({
|
|
2860
|
+
cfg: ctx.cfg,
|
|
2861
|
+
messageId,
|
|
2862
|
+
emojiType: emoji,
|
|
2863
|
+
accountId: ctx.accountId ?? void 0
|
|
2864
|
+
});
|
|
2865
|
+
return jsonActionResult({
|
|
2866
|
+
ok: true,
|
|
2867
|
+
added: emoji
|
|
2868
|
+
});
|
|
2869
|
+
});
|
|
2870
|
+
if (ctx.action === "reactions") {
|
|
2871
|
+
const messageId = resolveFeishuMessageId(ctx.params);
|
|
2872
|
+
if (!messageId) throw new Error("Feishu reactions lookup requires messageId.");
|
|
2873
|
+
const runtime = await loadFeishuChannelRuntime();
|
|
2874
|
+
await requireAuthorizedFeishuMessage({
|
|
2875
|
+
ctx,
|
|
2876
|
+
account,
|
|
2877
|
+
runtime,
|
|
2878
|
+
messageId
|
|
2879
|
+
});
|
|
2880
|
+
return jsonActionResult({
|
|
2881
|
+
ok: true,
|
|
2882
|
+
reactions: await runtime.listReactionsFeishu({
|
|
2883
|
+
cfg: ctx.cfg,
|
|
2884
|
+
messageId,
|
|
2885
|
+
accountId: ctx.accountId ?? void 0
|
|
2886
|
+
})
|
|
2887
|
+
});
|
|
2888
|
+
}
|
|
2889
|
+
throw new Error(`Unsupported Feishu action: "${ctx.action}"`);
|
|
2890
|
+
}
|
|
2891
|
+
},
|
|
2892
|
+
bindings: {
|
|
2893
|
+
compileConfiguredBinding: ({ conversationId }) => normalizeFeishuAcpConversationId(conversationId),
|
|
2894
|
+
matchInboundConversation: ({ compiledBinding, conversationId, parentConversationId }) => matchFeishuAcpConversation({
|
|
2895
|
+
bindingConversationId: compiledBinding.conversationId,
|
|
2896
|
+
conversationId,
|
|
2897
|
+
parentConversationId
|
|
2898
|
+
}),
|
|
2899
|
+
resolveCommandConversation: resolveFeishuCommandConversation
|
|
2900
|
+
},
|
|
2901
|
+
auth: { login: async ({ cfg }) => {
|
|
2902
|
+
const { createClackPrompter } = await import("openclaw/plugin-sdk/setup-runtime");
|
|
2903
|
+
const { replaceConfigFile } = await import("openclaw/plugin-sdk/config-mutation");
|
|
2904
|
+
const nextCfg = await runFeishuLogin({
|
|
2905
|
+
cfg,
|
|
2906
|
+
prompter: createClackPrompter()
|
|
2907
|
+
});
|
|
2908
|
+
if (nextCfg !== cfg) await replaceConfigFile({
|
|
2909
|
+
nextConfig: nextCfg,
|
|
2910
|
+
afterWrite: { mode: "auto" }
|
|
2911
|
+
});
|
|
2912
|
+
} },
|
|
2913
|
+
setupContract: feishuSetupContract,
|
|
2914
|
+
setupWizard: feishuSetupWizard,
|
|
2915
|
+
messaging: {
|
|
2916
|
+
targetPrefixes: ["feishu", "lark"],
|
|
2917
|
+
normalizeTarget: (raw) => normalizeFeishuTarget(raw) ?? void 0,
|
|
2918
|
+
inferTargetChatType: ({ to }) => resolveReceiveIdType(to) === "chat_id" ? "group" : "direct",
|
|
2919
|
+
resolveDeliveryTarget: ({ conversationId, parentConversationId }) => {
|
|
2920
|
+
const directId = parseFeishuDirectConversationId(conversationId);
|
|
2921
|
+
if (directId) return { to: `user:${directId}` };
|
|
2922
|
+
const parsed = parseFeishuConversationId({
|
|
2923
|
+
conversationId,
|
|
2924
|
+
parentConversationId
|
|
2925
|
+
});
|
|
2926
|
+
if (parsed?.topicId) return {
|
|
2927
|
+
to: `chat:${parentConversationId?.trim() || parsed.chatId}`,
|
|
2928
|
+
threadId: parsed.topicId
|
|
2929
|
+
};
|
|
2930
|
+
return { to: `chat:${parsed?.chatId ?? conversationId.trim()}` };
|
|
2931
|
+
},
|
|
2932
|
+
resolveSessionConversation: resolveFeishuSessionConversation,
|
|
2933
|
+
resolveOutboundSessionRoute: resolveFeishuOutboundSessionRoute,
|
|
2934
|
+
targetResolver: {
|
|
2935
|
+
looksLikeId: looksLikeFeishuId,
|
|
2936
|
+
hint: "<chatId|user:openId|chat:chatId>"
|
|
2937
|
+
}
|
|
2938
|
+
},
|
|
2939
|
+
directory: createChannelDirectoryAdapter({
|
|
2940
|
+
listPeers: async ({ cfg, query, limit, accountId }) => listFeishuDirectoryPeers({
|
|
2941
|
+
cfg,
|
|
2942
|
+
query: query ?? void 0,
|
|
2943
|
+
limit: limit ?? void 0,
|
|
2944
|
+
accountId: accountId ?? void 0
|
|
2945
|
+
}),
|
|
2946
|
+
listGroups: async ({ cfg, query, limit, accountId }) => listFeishuDirectoryGroups({
|
|
2947
|
+
cfg,
|
|
2948
|
+
query: query ?? void 0,
|
|
2949
|
+
limit: limit ?? void 0,
|
|
2950
|
+
accountId: accountId ?? void 0
|
|
2951
|
+
}),
|
|
2952
|
+
...createRuntimeDirectoryLiveAdapter({
|
|
2953
|
+
getRuntime: loadFeishuChannelRuntime,
|
|
2954
|
+
listPeersLive: (runtime) => async ({ cfg, query, limit, accountId }) => await runtime.listFeishuDirectoryPeersLive({
|
|
2955
|
+
cfg,
|
|
2956
|
+
query: query ?? void 0,
|
|
2957
|
+
limit: limit ?? void 0,
|
|
2958
|
+
accountId: accountId ?? void 0
|
|
2959
|
+
}),
|
|
2960
|
+
listGroupsLive: (runtime) => async ({ cfg, query, limit, accountId }) => await runtime.listFeishuDirectoryGroupsLive({
|
|
2961
|
+
cfg,
|
|
2962
|
+
query: query ?? void 0,
|
|
2963
|
+
limit: limit ?? void 0,
|
|
2964
|
+
accountId: accountId ?? void 0
|
|
2965
|
+
})
|
|
2966
|
+
})
|
|
2967
|
+
}),
|
|
2968
|
+
status: createComputedAccountStatusAdapter({
|
|
2969
|
+
defaultRuntime: createDefaultChannelRuntimeState(DEFAULT_ACCOUNT_ID, { port: null }),
|
|
2970
|
+
buildChannelSummary: ({ snapshot }) => buildProbeChannelStatusSummary(snapshot, { port: snapshot.port ?? null }),
|
|
2971
|
+
probeAccount: async ({ account }) => await (await loadFeishuChannelRuntime()).probeFeishu(account),
|
|
2972
|
+
resolveAccountSnapshot: ({ account, runtime }) => ({
|
|
2973
|
+
accountId: account.accountId,
|
|
2974
|
+
enabled: account.enabled,
|
|
2975
|
+
configured: account.configured,
|
|
2976
|
+
name: account.name,
|
|
2977
|
+
extra: {
|
|
2978
|
+
appId: account.appId,
|
|
2979
|
+
domain: account.domain,
|
|
2980
|
+
port: runtime?.port ?? null
|
|
2981
|
+
}
|
|
2982
|
+
})
|
|
2983
|
+
}),
|
|
2984
|
+
gateway: feishuGatewayAdapter,
|
|
2985
|
+
message: feishuMessageAdapter
|
|
2986
|
+
},
|
|
2987
|
+
security: {
|
|
2988
|
+
collectWarnings: ({ cfg, accountId }) => collectFeishuOpenGroupFindings({
|
|
2989
|
+
cfg,
|
|
2990
|
+
accountId
|
|
2991
|
+
}),
|
|
2992
|
+
collectAuditFindings: ({ cfg }) => collectFeishuSecurityAuditFindings({ cfg })
|
|
2993
|
+
},
|
|
2994
|
+
pairing: { text: {
|
|
2995
|
+
idLabel: "feishuUserId",
|
|
2996
|
+
message: PAIRING_APPROVED_MESSAGE,
|
|
2997
|
+
normalizeAllowEntry: createPairingPrefixStripper(/^(feishu|user|open_id):/i),
|
|
2998
|
+
notify: async ({ cfg, id, message, accountId }) => {
|
|
2999
|
+
const { sendMessageFeishu } = await loadFeishuChannelRuntime();
|
|
3000
|
+
await sendMessageFeishu({
|
|
3001
|
+
cfg,
|
|
3002
|
+
to: id,
|
|
3003
|
+
text: message,
|
|
3004
|
+
accountId
|
|
3005
|
+
});
|
|
3006
|
+
}
|
|
3007
|
+
} },
|
|
3008
|
+
threading: {
|
|
3009
|
+
matchesToolContextTarget: ({ target, toolContext }) => {
|
|
3010
|
+
const normalizedTarget = normalizeFeishuTarget(target);
|
|
3011
|
+
if (!normalizedTarget) return false;
|
|
3012
|
+
return [toolContext.currentChannelId, toolContext.currentMessagingTarget].some((currentTarget) => currentTarget !== void 0 && normalizeFeishuTarget(currentTarget) === normalizedTarget);
|
|
3013
|
+
},
|
|
3014
|
+
buildToolContext: ({ context, hasRepliedRef }) => ({
|
|
3015
|
+
currentChannelId: normalizeOptionalString(context.NativeChannelId) ?? normalizeOptionalString(context.To),
|
|
3016
|
+
currentChatType: context.ChatType === "direct" || context.ChatType === "group" || context.ChatType === "channel" ? context.ChatType : void 0,
|
|
3017
|
+
currentMessagingTarget: normalizeOptionalString(context.To),
|
|
3018
|
+
currentThreadTs: context.MessageThreadId != null ? String(context.MessageThreadId) : void 0,
|
|
3019
|
+
hasRepliedRef
|
|
3020
|
+
})
|
|
3021
|
+
},
|
|
3022
|
+
outbound: {
|
|
3023
|
+
deliveryMode: "direct",
|
|
3024
|
+
chunker: chunkFeishuMarkdown,
|
|
3025
|
+
chunkerMode: "markdown",
|
|
3026
|
+
textChunkLimit: 4e3,
|
|
3027
|
+
sanitizeText: ({ text }) => sanitizeAssistantVisibleText(text),
|
|
3028
|
+
presentationCapabilities: FEISHU_PRESENTATION_CAPABILITIES,
|
|
3029
|
+
...createRuntimeOutboundDelegates({
|
|
3030
|
+
getRuntime: loadFeishuChannelRuntime,
|
|
3031
|
+
renderPresentation: { resolve: (runtime) => runtime.feishuOutbound.renderPresentation },
|
|
3032
|
+
sendPayload: {
|
|
3033
|
+
resolve: (runtime) => runtime.feishuOutbound.sendPayload,
|
|
3034
|
+
unavailableMessage: "Feishu payload sending is not available."
|
|
3035
|
+
},
|
|
3036
|
+
sendText: { resolve: (runtime) => runtime.feishuOutbound.sendText },
|
|
3037
|
+
sendMedia: { resolve: (runtime) => runtime.feishuOutbound.sendMedia }
|
|
3038
|
+
})
|
|
3039
|
+
}
|
|
3040
|
+
});
|
|
3041
|
+
//#endregion
|
|
3042
|
+
export { setFeishuNamedAccountEnabled as a, resolveFeishuLegacyWebhookListener as c, listFeishuDirectoryPeers as d, feishuSetupAdapter as i, gateway_config_runtime_exports as l, feishuSetupWizard as n, feishuOutbound as o, runFeishuLogin as r, describeFeishuWebhookPathConflict as s, feishuPlugin as t, listFeishuDirectoryGroups as u };
|