Metadata-Version: 2.4
Name: bazaar-contrib-lark
Version: 0.3.0rc2
Summary: Lark Channel provider for Bazaar Compute Node
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Dist: bazaar-core~=0.3.0rc13
Requires-Dist: bazaar-contrib-audit~=0.3.0rc13
Requires-Dist: bazaar-contrib-channel~=0.3.0rc19
Requires-Dist: bazaar-contrib-collaboration~=0.3.0rc13
Requires-Dist: bazaar-contrib-harness~=0.3.0rc13
Requires-Dist: bazaar-contrib-messages~=0.3.0rc13
Requires-Dist: bazaar-contrib-timer~=0.3.0rc13
Requires-Dist: aiohttp>=3.12.0
Requires-Dist: protobug==1.0.0
Requires-Dist: pydantic>=2.12.0
Requires-Python: >=3.15
Project-URL: Repository, https://github.com/open-bazaar/contrib-lark
Description-Content-Type: text/markdown

# bazaar-contrib-lark

Lark Channel provider for [Bazaar Compute Node](https://github.com/yuchanns/bazaar-compute-node).

## Setup

Create a Feishu or Lark custom app with the bot capability and subscribe to
`im.message.receive_v1` through the long connection, then install BCN and this
provider:

```sh
uv tool install bazaar-compute-node
bcn contrib add lark --enable
```

Add an agent using an installed Harness provider:

```sh
bcn agent add --name Editor --channel lark --harness HARNESS_KIND
bcn run
```

## Configuration

Set these fields in the agent's `lark` Channel configuration:

- `app_id`: The app's App ID.
- `app_secret_env`: Environment variable holding the app's App Secret.
- `app_secret`: App Secret supplied directly by the configer; takes precedence.
- `region`: `feishu` for open.feishu.cn, the default, or `lark` for open.larksuite.com.
