@withpica/mcp-sdk 4.6.0 → 4.6.1

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,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [4.6.1] - 2026-11-06
15
+
16
+ ### Changed
17
+
18
+ - **`credits.updateForWork` / `credits.updateCollaborators` accept `splits: null`** (ADR-355
19
+ D4): a share that is not known is sent as null and stored as unknown, never as 0%. Type
20
+ widening only; a number still works as before.
21
+
14
22
  ## [4.6.0] - 2026-11-06
15
23
 
16
24
  ### Added
package/dist/index.d.ts CHANGED
@@ -437,7 +437,8 @@ interface WorkCreditsInput {
437
437
  credits: Array<{
438
438
  person_id: string;
439
439
  role: string;
440
- splits: number;
440
+ /** 0-100; null when the share is not known (ADR-355 D4), never sent as 0. */
441
+ splits: number | null;
441
442
  }>;
442
443
  }
443
444
  interface PicaScorePillar {
@@ -1685,11 +1686,10 @@ declare class CreditsResource extends BaseResource {
1685
1686
  */
1686
1687
  atomicUpdate(workId: string, creditId: string, patch: WorkCreditAtomicUpdateInput): Promise<AtomicCreditUpdateResult>;
1687
1688
  /**
1688
- * Send pending credits on a work to their recipients for attestation.
1689
- * Lightweight alternative to pica_split_sheet_send — fans out the
1690
- * notification rails (in-app + telegram + email) without generating
1691
- * a formal split-sheet document. Recipients click through to
1692
- * confirm/dispute; this call only sends the prompt.
1689
+ * Ask the people on a work's pending credits to confirm their part: one
1690
+ * email per person, through the one "ask [name] to confirm" (ADR-355 C2),
1691
+ * without generating a formal split-sheet document. Recipients confirm
1692
+ * signed in from the email's link; this call only sends the ask.
1693
1693
  */
1694
1694
  sendForAttestation(workId: string, input?: {
1695
1695
  credit_ids?: string[];