@parall/parall 1.58.0 → 1.58.2

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.
@@ -51559,6 +51559,18 @@ function attachmentEndpoints(apiBase) {
51559
51559
  };
51560
51560
  }
51561
51561
 
51562
+ // ../sdk/dist/wechat-endpoints.js
51563
+ function wechatEndpoints(apiBase) {
51564
+ const agentBase = (orgId) => `${apiBase}/orgs/${orgId}/agents/me/wechat`;
51565
+ return {
51566
+ WECHAT_CONTACTS: (orgId) => `${agentBase(orgId)}/contacts`,
51567
+ WECHAT_HISTORY: (orgId) => `${agentBase(orgId)}/history`,
51568
+ WECHAT_MEDIA: (orgId) => `${agentBase(orgId)}/media`,
51569
+ WECHAT_PROFILE: (orgId) => `${agentBase(orgId)}/profile`,
51570
+ WECHAT_STATUS: (orgId) => `${agentBase(orgId)}/status`
51571
+ };
51572
+ }
51573
+
51562
51574
  // ../sdk/dist/constants.js
51563
51575
  var API_BASE = "/api/v1";
51564
51576
  var WIKI_BASE = "/wiki/v1";
@@ -51812,10 +51824,7 @@ var ENDPOINTS = {
51812
51824
  SLACK_MEMBERS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/members`,
51813
51825
  SLACK_STATUS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/status`,
51814
51826
  // WeChat tier-B read verbs (agent-only; internal research preview).
51815
- WECHAT_CONTACTS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/wechat/contacts`,
51816
- WECHAT_HISTORY: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/wechat/history`,
51817
- WECHAT_PROFILE: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/wechat/profile`,
51818
- WECHAT_STATUS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/wechat/status`,
51827
+ ...wechatEndpoints(API_BASE),
51819
51828
  // Invitations (org-scoped, admin)
51820
51829
  ORG_INVITATIONS: (orgId) => `${API_BASE}/orgs/${orgId}/invitations`,
51821
51830
  ORG_INVITATION: (orgId, invId) => `${API_BASE}/orgs/${orgId}/invitations/${invId}`,
@@ -52375,6 +52384,10 @@ var WechatClient = class extends TaskLabelClient {
52375
52384
  params.set("limit", String(query.limit));
52376
52385
  return this.request("GET", `${ENDPOINTS.WECHAT_HISTORY(orgId)}?${params.toString()}`);
52377
52386
  }
52387
+ /** Fetch and cache one WeChat image or completed file on first explicit read. */
52388
+ async materializeWechatMedia(orgId, messageId) {
52389
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId });
52390
+ }
52378
52391
  /** Connected WeChat account identity. */
52379
52392
  async wechatProfile(orgId) {
52380
52393
  return this.request("GET", ENDPOINTS.WECHAT_PROFILE(orgId));
@@ -55010,7 +55023,8 @@ var ParallClient = class _ParallClient extends AttachmentClient {
55010
55023
  * `404 NOT_FOUND`. An installed cross-org clip with no connection yet lists
55011
55024
  * as an empty array — including one whose approved auth mode cannot be
55012
55025
  * configured at all (auth=none), which the write path is what refuses. With
55013
- * `cap:clip-mcp` off the route is not registered at all.
55026
+ * `cap:clip-mcp` off the route is not registered at all. The envelope also
55027
+ * carries `official_oauth_ready` (see MCPConnectionListResponse).
55014
55028
  */
55015
55029
  async listClipMCPConnections(orgId, clipId) {
55016
55030
  return this.request("GET", ENDPOINTS.ORG_CLIP_MCP_CONFIGS(orgId, clipId));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/parall",
3
- "version": "1.58.0",
3
+ "version": "1.58.2",
4
4
  "description": "OpenClaw channel plugin for Parall IM",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -16,8 +16,8 @@
16
16
  "openclaw.plugin.json"
17
17
  ],
18
18
  "dependencies": {
19
- "@parall/agent-core": "1.58.0",
20
- "@parall/sdk": "1.58.0"
19
+ "@parall/agent-core": "1.58.2",
20
+ "@parall/sdk": "1.58.2"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^22.0.0",