{"_id":"@ch4acko3/dsh-agent-fleet-lark","name":"@ch4acko3/dsh-agent-fleet-lark","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ch4acko3/dsh-agent-fleet-lark","version":"0.1.0","description":"Lark and Feishu connector for Agent Fleet Gateway","repository":{"type":"git","url":"git+https://github.com/CH4ACKO3/dsh-agent-fleet.git","directory":"packages/lark"},"type":"module","engines":{"node":"^22.22.3 || >=24.11.1"},"main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"pnpm --filter dsh-agent-fleet build:host && tsc -p tsconfig.json --noEmit","test":"vitest run"},"dsh":{"plugin":{"schemaVersion":1,"displayName":{"en":"Agent Fleet Lark","zh-CN":"Agent Fleet 飞书"},"summary":{"en":"Connect Lark and Feishu to Agent Fleet through Fleet Gateway.","zh-CN":"通过 Fleet Gateway 将飞书和 Lark 接入 Agent Fleet。"},"category":"development"},"bundle":{"patch":"./cordis.patch.yml"}},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-credentials":"^0.1.0-rc.8 || >=0.1.1-rc.1 <0.1.2-0","dsh-agent-fleet":"^0.1.0"},"dependencies":{"@larksuite/channel":"^0.5.0"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-credentials":"^0.1.0-rc.8 || >=0.1.1-rc.1 <0.1.2-0","@types/node":"^22.20.0","dsh-agent-fleet":"workspace:*","typescript":"^6.0.3","vitest":"^4.1.11"},"publishConfig":{"access":"public"},"license":"MIT","_id":"@ch4acko3/dsh-agent-fleet-lark@0.1.0","bugs":{"url":"https://github.com/CH4ACKO3/dsh-agent-fleet/issues"},"homepage":"https://github.com/CH4ACKO3/dsh-agent-fleet#readme","_integrity":"sha512-Rs+JP4nOAOpoBBrhjUYRhzj9qdXz7KKC54gyIJSBMp0qHBE6qDae+iTj61knFu9TQZXiE1SayctvIP43WIy7EA==","_resolved":"/Users/ch4acko3/.dsh/artifacts/release-20260828/ch4acko3-dsh-agent-fleet-lark-0.1.0.tgz","_from":"file:/Users/ch4acko3/.dsh/artifacts/release-20260828/ch4acko3-dsh-agent-fleet-lark-0.1.0.tgz","_nodeVersion":"24.16.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-Rs+JP4nOAOpoBBrhjUYRhzj9qdXz7KKC54gyIJSBMp0qHBE6qDae+iTj61knFu9TQZXiE1SayctvIP43WIy7EA==","shasum":"3b695ef8735e0303f397ec1bb5f1090c9e1dd1a5","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-agent-fleet-lark/-/dsh-agent-fleet-lark-0.1.0.tgz","fileCount":15,"unpackedSize":46958,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCiSpoY+S7QGPwf6h1TORKtyUayICKBW40QbitO2+O0fgIhAP1EOUK10TcD1tpO8Hfc6joPOzq26vWlTqxhWv8JLmaB"}]},"_npmUser":{"name":"ch4acko3","email":"ch4acko3@outlook.com"},"directories":{},"maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-agent-fleet-lark_0.1.0_1787893010986_0.8616246587195242"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-28T04:56:50.811Z","0.1.0":"2026-08-28T04:56:51.114Z","modified":"2026-08-28T04:56:51.368Z"},"maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"description":"Lark and Feishu connector for Agent Fleet Gateway","homepage":"https://github.com/CH4ACKO3/dsh-agent-fleet#readme","repository":{"type":"git","url":"git+https://github.com/CH4ACKO3/dsh-agent-fleet.git","directory":"packages/lark"},"bugs":{"url":"https://github.com/CH4ACKO3/dsh-agent-fleet/issues"},"license":"MIT","readme":"# Agent Fleet Lark\n\nLark and Feishu integration for Agent Fleet. It exposes two deliberately separate identities:\n\n- A bot connector backed by `@larksuite/channel`, registered with Fleet Gateway for long-running inbound and outbound messaging.\n- Identity-pinned `lark-cli` adapters at `ctx.fleetLark.user` and `ctx.fleetLark.bot`. Every business command is spawned directly with an explicit `--as user` or `--as bot`; Fleet never silently switches identity.\n\nSet `LARK_APP_ID` and store the App Secret under the DSH credential reference `LARK_APP_SECRET` to activate the realtime bot connector. Both CLI identities use the existing `lark-cli` profile and remain idle until DSH calls them. `LARK_CLI_PATH` and `LARK_CLI_PROFILE` optionally select a binary and profile.\n\nThe package performs transport and identity adaptation only. Fleet Mailbox owns persistence and Team routing; DSH decides which identity and capability to expose.\n\nFleet registers `lark.read`, `lark.message-post`, `lark.content-write`, `lark.manage`, and `lark.act-as-user` plus the `lark-resource` resource kind. Trusted DSH adapters call `ctx.fleetLark.executeForAgent(...)` with an Agent id, classified action, and canonical resource. User-identity calls require both the business action and `lark.act-as-user`; raw CLI adapters remain Host-only.\n","readmeFilename":"README.md","_rev":"1-a2f9f1f44155be94635e8eb327d1e0df"}