@ycodium-ai/plugin-im 0.2.2544 → 0.2.2554
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 +13 -0
- package/dist/index.js +6678 -601
- package/locales/en.json +27 -1
- package/locales/zh-CN.json +27 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -30,6 +30,19 @@ is HTTP long-polling.
|
|
|
30
30
|
The default is one message per finished turn. A single turn can produce dozens
|
|
31
31
|
of assistant messages, mostly commentary between tool calls.
|
|
32
32
|
|
|
33
|
+
On Lark, the reply to a thread this plugin opened is one card that is patched
|
|
34
|
+
as the agent works (`thread.turn-progress` ticks, reply text read with
|
|
35
|
+
`getThreadMessage`) and settled when the turn ends; threads opened elsewhere
|
|
36
|
+
still get the per-turn or per-message text. Platforms that cannot edit a sent
|
|
37
|
+
message keep sending text. Approval cards are posted for every pending request
|
|
38
|
+
and replaced with a settled notice when the request is answered, here or
|
|
39
|
+
elsewhere (`thread.request-resolved`). Cards that were still open when the
|
|
40
|
+
plugin restarted are marked interrupted. The card pieces are pure and
|
|
41
|
+
separate: `turnView.ts` (ticks to a view model), `larkCards.ts` (view model
|
|
42
|
+
to card JSON), `larkMarkdown.ts`, `larkCardStream.ts` (throttle, one patch in
|
|
43
|
+
flight, newest snapshot wins), `turnCards.ts` (per-thread queue and card
|
|
44
|
+
lifecycle).
|
|
45
|
+
|
|
33
46
|
A group keeps its place across restarts. Which thread a group is talking in, the
|
|
34
47
|
team it is pointed at, the model and plan mode set from the group, the threads
|
|
35
48
|
this plugin has opened, and the approval buttons still waiting in the group are
|