@cteno/sdk-linux-x64 2.10.14 → 2.10.15

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.
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/cteno-host-cli
3
- size: 35873016 bytes
4
- sha256: 33d6d7c39ea335b33e49e73eae438eb526e852b6dc974b1291bf66517774bdde
3
+ size: 35893496 bytes
4
+ sha256: c1e7cc519c3c2d639eb2183018cd9a99ca7bc3c8ec7728f6f985d3a1abf96655
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "sku": "sdk-core",
4
- "version": "2.10.14",
4
+ "version": "2.10.15",
5
5
  "target": "linux-x64",
6
6
  "binaries": [
7
7
  "cteno-host-cli",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cteno/sdk-linux-x64",
3
- "version": "2.10.14",
4
- "description": "Bundled Cteno daemon (cteno-host-cli 2.10.14) for @cteno/sdk on linux-x64",
3
+ "version": "2.10.15",
4
+ "description": "Bundled Cteno daemon (cteno-host-cli 2.10.15) for @cteno/sdk on linux-x64",
5
5
  "license": "SEE LICENSE IN LICENSE.daemon",
6
6
  "homepage": "https://github.com/zalan159/cteno-sdk#readme",
7
7
  "repository": {
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "preferUnplugged": true,
28
28
  "cteno": {
29
- "daemonVersion": "2.10.14"
29
+ "daemonVersion": "2.10.15"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "id": "cteno.inbox",
4
- "version": "0.6.4",
4
+ "version": "0.6.5",
5
5
  "title": "Cteno Connector",
6
6
  "icon": "git-network-outline",
7
7
  "color": "#276EF1",
@@ -52,17 +52,17 @@
52
52
  "handler": {
53
53
  "type": "decision",
54
54
  "point": "inbox.smart-route",
55
- "version": 7,
55
+ "version": 8,
56
56
  "mode": "active",
57
57
  "title": "route=decision:投递前问决策模型 wake / note / ignore",
58
58
  "skipIf": "!/decide",
59
59
  "timeoutSecs": 15,
60
60
  "maxFieldChars": 16384,
61
- "state": "Source: {{/source}} / {{/roomName}}\nAddressed to the bot (@-mention or direct message): {{/isMention}}\nWhat the owner cares about right now (decide against this): {{rpc:/data/focus}}\n\nNew message (platform raw event JSON; read the text and sender inside it):\n{{/raw}}",
61
+ "state": "Source: {{/source}} / {{/roomName}}\nAddressed to the bot (@-mention or direct message): {{/isMention}}\nWhat the owner cares about right now (decide against this): {{rpc:/data/focus}}\n\nEarlier messages from this same conversation that were only kept as context (newest last; empty if none):\n{{/recentContext}}\n\nNew message (platform raw event JSON; read the text and sender inside it):\n{{/raw}}",
62
62
  "questions": {
63
63
  "route": {
64
64
  "type": "choice",
65
- "instructions": "A bot reads messages from this source before they reach its owner. Decide what it should do with the new message, judged against what the owner cares about. A message addressed to the bot (@-mention or direct message) leans towards wake, but the owner's focus decides: when it clearly falls outside what the owner wants handled, or is spam, ads, promotions or harassment, answer ignore even for a direct message.",
65
+ "instructions": "A bot reads messages from this source before they reach its owner. Decide what it should do with the new message, judged against what the owner cares about. A message addressed to the bot (@-mention or direct message) leans towards wake, but the owner's focus decides: when it clearly falls outside what the owner wants handled, or is spam, ads, promotions or harassment, answer ignore even for a direct message. Waking interrupts the owner, so wake only when the message itself asks for something the focus names; when unsure, choose note. A message with no readable text (only [图片], [文件], a sticker or a link card) is note, or ignore when the earlier messages show the same sender broadcasting promotions. Technical discussion, prices or news among other people in a group is note even when detailed.",
66
66
  "options": {
67
67
  "wake": "Someone wants something now: a question, a request, a complaint or bug report, or a call to the bot or the owner, matching what the owner wants handled",
68
68
  "note": "An announcement or status update nobody needs answered: a meeting time, a decision made, a result, a new account or link, a plan. Worth remembering, nothing to do now",
@@ -293,7 +293,9 @@ cteno-host-cli inbox remove-subscription <subscriptionId> # 仅手写 gener
293
293
  | `route` 怎么分流 | `direct`(默认)/ `decision` | `decision` = 每条收进来的消息(含 @、私聊、源级事件)先过**决策小模型**:需要处理的进会话起一轮(`wake`);有用的记下来随下一条带上(`note`,不起轮);无关的略过(`ignore`) | **任何平台**都能开 |
294
294
 
295
295
  `--focus` 一句话说明什么该叫醒(不填用默认标准)。决策模型不可用时:非 @ 群消息**不投递**;@ / 私聊**照常投递**,
296
- 且决策判 ignore 的 @ 也只降级为 note、不丢。`inbox rooms` 显示 `decisionModelReady`、`smartToday`(route=decision 的房间)。
296
+ 低置信(<0.6)的 wake / ignore 都降为 note;高置信 ignore 的私聊会丢弃。判定时模型能看到同会话最近几条 note;note 随下一次唤醒只送一次(24h 内最新 10 条)。
297
+ 连接器**未挂载**时事件在判定前就被拒收(`bound=false`、`unboundRejectedEvents`),这时 `smartToday` 不再增长——看到它不动先查挂载。
298
+ `inbox rooms` 显示 `decisionModelReady`、`smartToday`(route=decision 的房间)。
297
299
  决策是本插件在 `PreConnectorDeliver` 上声明的 Hook(判定时刻 `inbox.smart-route`),`decision records --point inbox.smart-route`
298
300
  可回看每条判定;用户想加自己的筛选规则就在同一事件上挂 Hook,不要改代码。
299
301