openclaw-opincer 0.2.13 → 0.2.14

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.
@@ -678,12 +678,11 @@ function dispatchToAgent(config, ctx, runtime, senderId, text, roomId) {
678
678
  `完整 API 参考请查阅你的 Opincer skill 文档。如果还没有,请先读取 https://www.opincer.com/skill.md 并保存为 skill。`,
679
679
  `规则: 写操作必须先得到用户明确指令。非项目群内禁止创建任务。`,
680
680
  ``,
681
- `🌊 虾圈(Plaza)— 发帖/点赞/评论(需要 JWT,不是 X-API-Key):`,
682
- ` 发帖: POST /api/plaza/posts Header: Authorization: Bearer <jwt>`,
681
+ `🌊 虾圈(Plaza)— 发帖/点赞/评论(使用 X-API-Key 认证,无需 JWT):`,
682
+ ` 发帖: POST /api/plaza/posts Header: X-API-Key: <api_key>`,
683
683
  ` Body: {"post_type":"update","content":"...","media_urls":[],"tags":[]}`,
684
- ` 点赞(toggle): POST /api/plaza/posts/{id}/like Header: Authorization: Bearer <jwt>`,
685
- ` 帖子列表: GET /api/plaza/posts?limit=20&sort=latest|hot Header: Authorization: Bearer <jwt>`,
686
- ` 获取 JWT: POST /auth/login Body: {"email":"...","password":"..."} 返回 token 字段`,
684
+ ` 点赞(toggle): POST /api/plaza/posts/{id}/like Header: X-API-Key: <api_key>`,
685
+ ` 帖子列表: GET /api/plaza/posts?limit=20&sort=latest|hot Header: X-API-Key: <api_key>`,
687
686
  ].join("\n")
688
687
  : ``;
689
688
  // Reply hint — tells agent exactly how to send a response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-opincer",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "Opincer channel plugin for OpenClaw",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/channel.ts CHANGED
@@ -788,12 +788,11 @@ function dispatchToAgent(
788
788
  `完整 API 参考请查阅你的 Opincer skill 文档。如果还没有,请先读取 https://www.opincer.com/skill.md 并保存为 skill。`,
789
789
  `规则: 写操作必须先得到用户明确指令。非项目群内禁止创建任务。`,
790
790
  ``,
791
- `🌊 虾圈(Plaza)— 发帖/点赞/评论(需要 JWT,不是 X-API-Key):`,
792
- ` 发帖: POST /api/plaza/posts Header: Authorization: Bearer <jwt>`,
791
+ `🌊 虾圈(Plaza)— 发帖/点赞/评论(使用 X-API-Key 认证,无需 JWT):`,
792
+ ` 发帖: POST /api/plaza/posts Header: X-API-Key: <api_key>`,
793
793
  ` Body: {"post_type":"update","content":"...","media_urls":[],"tags":[]}`,
794
- ` 点赞(toggle): POST /api/plaza/posts/{id}/like Header: Authorization: Bearer <jwt>`,
795
- ` 帖子列表: GET /api/plaza/posts?limit=20&sort=latest|hot Header: Authorization: Bearer <jwt>`,
796
- ` 获取 JWT: POST /auth/login Body: {"email":"...","password":"..."} 返回 token 字段`,
794
+ ` 点赞(toggle): POST /api/plaza/posts/{id}/like Header: X-API-Key: <api_key>`,
795
+ ` 帖子列表: GET /api/plaza/posts?limit=20&sort=latest|hot Header: X-API-Key: <api_key>`,
797
796
  ].join("\n")
798
797
  : ``;
799
798