@mastra/client-js 1.52.0-alpha.4 → 1.52.0-alpha.5

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/dist/index.js CHANGED
@@ -5988,6 +5988,18 @@ var Channels = class extends BaseResource {
5988
5988
  });
5989
5989
  }
5990
5990
  /**
5991
+ * Reconciles an agent's installation with platform state — activates a
5992
+ * pending installation whose connect flow completed out-of-band (e.g. a
5993
+ * Discord bot invite finished in another tab). No-op (returns null) on
5994
+ * platforms without reconciliation.
5995
+ * @param platform - Platform identifier (e.g., "discord")
5996
+ * @param agentId - Agent whose installation to reconcile
5997
+ * @returns The (possibly updated) installation, or null
5998
+ */
5999
+ reconcileInstallation(platform, agentId) {
6000
+ return this.request(`/channels/${platform}/${agentId}/reconcile`, { method: "POST" });
6001
+ }
6002
+ /**
5991
6003
  * Disconnects an agent from a channel platform.
5992
6004
  * @param platform - Platform identifier (e.g., "slack")
5993
6005
  * @param agentId - Agent to disconnect