@ycodium-ai/plugin-im 0.2.2696 → 0.2.2700

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -111,8 +111,8 @@ An adapter whose platform caps bot downloads tighter than the host sets `downloa
111
111
  core (`collectResources` in `src/inboundAttachments.ts`) cleans the name (`sanitizeAttachmentName`: the host
112
112
  splices it into the `[Attached … "<name>" …]` line the agent reads, so newlines and double
113
113
  quotes must not survive), takes the type from the bytes (`resolveMime`: platforms self-report,
114
- Lark says PNG for every image), checks the host's limits (10 MiB image, 25 MiB other, 20 per
115
- turn, mirrored from the host because a plugin cannot import it) and stores each one with
114
+ Lark says PNG for every image), checks its own memory-protection limits (10 MiB image, 25 MiB other, 20 per
115
+ turn; the host itself has no attachment limits, but `ctx.attachments.store` takes whole bytes) and stores each one with
116
116
  `ctx.attachments.store`; an image the host can inline reaches the agent as an image, anything
117
117
  else as a path. A failed one is reported in the chat and left as a line in the turn text.
118
118
  A message with attachments and no text starts no turn: the thread is created if the chat has
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-im",
3
- "version": "0.2.2696",
3
+ "version": "0.2.2700",
4
4
  "description": "Talk to your agents from Telegram, WeCom or Lark.",
5
5
  "keywords": [
6
6
  "im",
@@ -27,7 +27,7 @@
27
27
  "esbuild": "0.28.1",
28
28
  "markdown-it": "^15.0.2",
29
29
  "vite-plus": "0.2.2",
30
- "@ycodium-ai/plugin-api": "0.2.2696"
30
+ "@ycodium-ai/plugin-api": "0.2.2700"
31
31
  },
32
32
  "ycodium": {
33
33
  "plugin": "./dist/index.js",