@ycodium-ai/plugin-im 0.2.2526 → 0.2.2544
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 +20 -2
- package/dist/index.js +1065 -161
- package/locales/en.json +178 -0
- package/locales/zh-CN.json +178 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -30,11 +30,29 @@ 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
|
+
A group keeps its place across restarts. Which thread a group is talking in, the
|
|
34
|
+
team it is pointed at, the model and plan mode set from the group, the threads
|
|
35
|
+
this plugin has opened, and the approval buttons still waiting in the group are
|
|
36
|
+
written as plugin facts (`ctx.events.append`) and folded back by a pure function
|
|
37
|
+
(`ctx.derivedState`, see `src/chatState.ts`). A saved thread that was deleted,
|
|
38
|
+
archived or moved to another project is dropped on the next message.
|
|
39
|
+
|
|
40
|
+
Chat commands: `/stop`, `/status`, `/new`, `/sessions`, `/resume`, `/model`,
|
|
41
|
+
`/plan`, `/team`, `/thread`, `/help`. `/sessions` and `/resume` only list and
|
|
42
|
+
switch threads this plugin opened, since the host lets a plugin send only into
|
|
43
|
+
its own threads.
|
|
44
|
+
|
|
45
|
+
The **Reply language** setting (Chinese by default, or English) picks the
|
|
46
|
+
language of everything the bot says itself, and of the settings card. The copy
|
|
47
|
+
lives in `locales/en.json` and `locales/zh-CN.json`; Chinese shortcut commands
|
|
48
|
+
only work in Chinese.
|
|
49
|
+
|
|
33
50
|
## Requirements
|
|
34
51
|
|
|
35
52
|
A Ycodium server. The plugin asks to dispatch `thread.create`,
|
|
36
|
-
`thread.turn.start`, `thread.turn.interrupt`, and
|
|
37
|
-
Those commands only land on threads this plugin
|
|
53
|
+
`thread.meta.update`, `thread.turn.start`, `thread.turn.interrupt`, and
|
|
54
|
+
`thread.approval.respond`. Those commands only land on threads this plugin
|
|
55
|
+
started.
|
|
38
56
|
|
|
39
57
|
## Install
|
|
40
58
|
|