@withpica/mcp-sdk 4.3.0 → 4.5.0

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/CHANGELOG.md CHANGED
@@ -11,6 +11,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [4.5.0] - 2026-11-04
15
+
16
+ ### Added
17
+
18
+ - `ApprovalStatusResult.failure_reason`: on a failed approval, why it did not run, in plain
19
+ words (optional).
20
+
21
+ ## [4.4.0] - 2026-11-03
22
+
23
+ ### Added
24
+
25
+ - Profile claim invite outcomes carry `address_bounced?: boolean`: true when the invite was made but the email did not go out because the address bounced before.
26
+ - `works.search({ has_audio })`: filter works by whether audio is attached to the work or one of its recordings.
27
+
14
28
  ## [4.3.0] - 2026-11-02
15
29
 
16
30
  ### Added
package/dist/index.d.ts CHANGED
@@ -1135,6 +1135,8 @@ declare class WorksResource extends BaseResource {
1135
1135
  * (works.lyrics; blank counts as lacking).
1136
1136
  */
1137
1137
  has_lyrics?: boolean;
1138
+ /** Audio on the work or one of its recordings. */
1139
+ has_audio?: boolean;
1138
1140
  }): Promise<PaginatedResult<Work>>;
1139
1141
  /**
1140
1142
  * The agreements linked to ONE work (GET /admin/works/:id/agreements).
@@ -5269,6 +5271,11 @@ export interface ProfileClaimInviteOutcome {
5269
5271
  outcome: "invited" | "would_invite" | "skipped" | "failed";
5270
5272
  /** invited: "sent" | "held" (waiting for approval) | "failed". */
5271
5273
  send_status?: string;
5274
+ /**
5275
+ * invited: true when the email failed because this address bounced
5276
+ * before. Inviting again can't reach it until the address changes.
5277
+ */
5278
+ address_bounced?: boolean;
5272
5279
  /** would_invite: the address the invite would go to. */
5273
5280
  email?: string;
5274
5281
  /** skipped: why (PERSON_HAS_NO_EMAIL, ALREADY_INVITED, ...). */
@@ -6349,6 +6356,8 @@ export interface ApprovalStatusResult {
6349
6356
  decided_via: string | null;
6350
6357
  /** ISO timestamp the pending request expires. */
6351
6358
  expires_at: string | null;
6359
+ /** Failed approvals only: why it did not run, in plain words. */
6360
+ failure_reason?: string;
6352
6361
  /** Batched merge approvals only, once run: per-outcome counts. */
6353
6362
  summary?: {
6354
6363
  total: number;