@ycodium-ai/plugin-im 0.2.2698 → 0.2.2706
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/index.js +485 -372
- package/locales/en.json +24 -9
- package/locales/zh-CN.json +24 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ Each settings-card row is one bot (platform, credentials, who may use it); the
|
|
|
10
10
|
chats it talks in (private chats, groups) are not configured, they pick their own
|
|
11
11
|
project:
|
|
12
12
|
|
|
13
|
+
- **Connect a Lark bot** (Beta) is a button on top of the card (web and desktop; mobile
|
|
14
|
+
fills rows by hand). One scan, then the plugin creates the Lark app through the developer
|
|
15
|
+
console, publishes it visible to the scanner only, and adds a Lark row with the credentials
|
|
16
|
+
saved as secrets and the scanner as the only allowed person: no draft, no Save. It relies on
|
|
17
|
+
non-public console interfaces and may break; the dialog then shows the step list with the
|
|
18
|
+
failed step marked. See `src/lark/setup/`.
|
|
13
19
|
- **Allowed people** is an allow-list of that platform's user ids. Empty means
|
|
14
20
|
nobody can make the agent work. Someone who is not on it gets one reply with
|
|
15
21
|
their own user id and where to put it, at most once every ten minutes per
|
|
@@ -220,6 +226,11 @@ language, the saved-state mirror) plus an explicit `deps` object, never the whol
|
|
|
220
226
|
`sessions`, `modelPlan`, `turns`, `inboundAttachments`, `teamRuns`
|
|
221
227
|
- `approvals`, `interactions` (question and queue cards, button routing), `replyCards`,
|
|
222
228
|
`notifications`, `acknowledgements`, `panelWiring` (with `panelController`)
|
|
229
|
+
- `lark/setup/` (the scan flow): `setupFlow` (the engine; running shows one progress line, the
|
|
230
|
+
step list is sent only on failure, success returns the credentials instead of emitting `done`),
|
|
231
|
+
`setupCommands` (the card action and the `larkSetup.start` stream; saves the bot, then emits
|
|
232
|
+
`done`), `saveBot` (the pure `bots`-table upsert), `consoleClient`/`qrLogin`/`fakeConsole` and
|
|
233
|
+
friends
|
|
223
234
|
|
|
224
235
|
## Developing
|
|
225
236
|
|