@withpica/mcp-server 2.54.0 → 2.56.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +18 -1
  2. package/dist/lib/changelog.d.ts +18 -0
  3. package/dist/lib/changelog.d.ts.map +1 -0
  4. package/dist/lib/changelog.generated.d.ts +2 -2
  5. package/dist/lib/changelog.generated.d.ts.map +1 -1
  6. package/dist/lib/changelog.generated.js +2 -2
  7. package/dist/lib/changelog.generated.js.map +1 -1
  8. package/dist/lib/changelog.js +84 -0
  9. package/dist/lib/changelog.js.map +1 -0
  10. package/dist/resources/index.d.ts.map +1 -1
  11. package/dist/resources/index.js +18 -0
  12. package/dist/resources/index.js.map +1 -1
  13. package/dist/resources/release-notes.d.ts +13 -0
  14. package/dist/resources/release-notes.d.ts.map +1 -0
  15. package/dist/resources/release-notes.js +18 -0
  16. package/dist/resources/release-notes.js.map +1 -0
  17. package/dist/tools/discovery.d.ts.map +1 -1
  18. package/dist/tools/discovery.js +8 -0
  19. package/dist/tools/discovery.js.map +1 -1
  20. package/dist/tools/import.d.ts.map +1 -1
  21. package/dist/tools/import.js +8 -0
  22. package/dist/tools/import.js.map +1 -1
  23. package/dist/tools/index.d.ts.map +1 -1
  24. package/dist/tools/index.js +8 -0
  25. package/dist/tools/index.js.map +1 -1
  26. package/dist/tools/metadata.d.ts.map +1 -1
  27. package/dist/tools/metadata.js +6 -0
  28. package/dist/tools/metadata.js.map +1 -1
  29. package/dist/tools/recovery-hints.d.ts.map +1 -1
  30. package/dist/tools/recovery-hints.js +1 -0
  31. package/dist/tools/recovery-hints.js.map +1 -1
  32. package/dist/tools/release-notes.d.ts +26 -0
  33. package/dist/tools/release-notes.d.ts.map +1 -0
  34. package/dist/tools/release-notes.js +104 -0
  35. package/dist/tools/release-notes.js.map +1 -0
  36. package/package.json +2 -2
  37. package/scripts/build-changelog.ts +25 -0
  38. package/server.json +2 -2
  39. package/dist/tools/integrations.d.ts +0 -19
  40. package/dist/tools/integrations.d.ts.map +0 -1
  41. package/dist/tools/integrations.js +0 -140
  42. package/dist/tools/integrations.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -11,9 +11,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [2.56.0] - 2026-05-14
15
+
16
+ ### Added
17
+
18
+ - **`conflict_strategy` arg on `pica_import_execute` (PR #427, promoted to main via PR #428 on 2026-05-13).**
19
+ New optional input on the import executor MCP tool. Enum `["error", "skip"]`,
20
+ defaults to `"error"` to preserve current bulk-batch behavior. `"skip"` falls
21
+ back to per-row insert on Postgres 23505 unique-constraint collisions
22
+ (duplicate `tunecode`/`iswc`), so a single duplicate no longer kills the
23
+ entire batch — duplicates surface as warnings and the rest of the rows still
24
+ land. Backward-compatible (existing callers without `conflict_strategy` get
25
+ the default `"error"` behavior). Pairs with the underlying server-side
26
+ satellite-write fix that also shipped in PR #427 (PRO-registration fields
27
+ routed to `work_registrations` per ADR-125 WS5).
28
+
29
+ ## [2.55.0] - 2026-05-13
30
+
14
31
  ### Added
15
32
 
16
- - **`pica_release_notes` tool + `release-notes://withpica/mcp-server/latest` Resource.**
33
+ - **`pica_release_notes` tool + `release-notes://withpica/mcp-server/latest` Resource (PR #412, merged to develop 2026-05-13, promoted to main via PR #417).**
17
34
  Agent-facing surface for platform release notes. Reads `CHANGELOG.md`
18
35
  embedded at build time via `scripts/build-changelog.ts`. Returns the
19
36
  last 3 versions by default with optional `since_version` and `sections`
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Runtime CHANGELOG parser. Mirrors scripts/parse-changelog.ts but takes
3
+ * the markdown body as a string (no fs dependency) so the MCP runtime
4
+ * can read from a build-time embedded constant. The shared parser at
5
+ * the repo root is the canonical implementation; this copy exists
6
+ * because mcp-server is published as a self-contained npm package and
7
+ * cannot reach into ../scripts/ at runtime.
8
+ */
9
+ export type ChangelogSectionName = "Added" | "Changed" | "Fixed" | "Removed" | "Security" | "Deprecated";
10
+ export declare const CHANGELOG_SECTION_NAMES: ChangelogSectionName[];
11
+ export interface ChangelogEntry {
12
+ version: string;
13
+ date: string | null;
14
+ sections: Partial<Record<ChangelogSectionName, string[]>>;
15
+ markdown: string;
16
+ }
17
+ export declare function parseChangelogText(text: string): ChangelogEntry[];
18
+ //# sourceMappingURL=changelog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changelog.d.ts","sourceRoot":"","sources":["../../src/lib/changelog.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AAEH,MAAM,MAAM,oBAAoB,GAC5B,OAAO,GACP,SAAS,GACT,OAAO,GACP,SAAS,GACT,UAAU,GACV,YAAY,CAAC;AAEjB,eAAO,MAAM,uBAAuB,EAAE,oBAAoB,EAOzD,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAC1D,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,CAiFjE"}