@withpica/mcp-sdk 3.26.0 → 3.28.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 +21 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [3.28.0] - 2026-10-19
|
|
15
|
+
|
|
16
|
+
> **Publish order:** this package first, then `@withpica/mcp-server` 2.109.0, which calls
|
|
17
|
+
> `feedback.list`.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `feedback.list({ status?, limit? })` → `FeedbackListResponse` (`items: ReportedFeedback[]`,
|
|
22
|
+
`summary`): the caller's own reports in their organisation and what the PICA team did about
|
|
23
|
+
each — `status` (open | fixed | answered | wont_fix), `resolution_note`, `resolved_at`.
|
|
24
|
+
`GET /api/feedback`; needs the web app with migration 20261013094300. Types `FeedbackStatus`,
|
|
25
|
+
`ReportedFeedback`.
|
|
26
|
+
|
|
27
|
+
## [3.27.0] - 2026-10-19
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- `statements.listImports({ limit, offset, document_id })` and `statements.getImport(id)`: statement
|
|
32
|
+
imports made through the large-file path (ADR-340), read from `GET /admin/statements/imports` and
|
|
33
|
+
`GET /admin/statements/imports/{id}`, the same view the owner's statements page shows.
|
|
34
|
+
|
|
14
35
|
## [3.26.0] - 2026-10-17
|
|
15
36
|
|
|
16
37
|
### Added
|
package/dist/index.d.ts
CHANGED
|
@@ -3215,6 +3215,40 @@ declare class FeedbackResource extends BaseResource {
|
|
|
3215
3215
|
pagePath?: string;
|
|
3216
3216
|
actionContext?: Record<string, unknown>;
|
|
3217
3217
|
}): Promise<any>;
|
|
3218
|
+
/**
|
|
3219
|
+
* The caller's own reports in their organisation, newest first, with
|
|
3220
|
+
* what the PICA team did about each (status + the note written for
|
|
3221
|
+
* them), plus counts for the briefing. GET /api/feedback; never another
|
|
3222
|
+
* account's or organisation's reports.
|
|
3223
|
+
*/
|
|
3224
|
+
list(params?: {
|
|
3225
|
+
status?: FeedbackStatus;
|
|
3226
|
+
limit?: number;
|
|
3227
|
+
}): Promise<FeedbackListResponse>;
|
|
3228
|
+
}
|
|
3229
|
+
/** Where a report stands (user_feedback.status). */
|
|
3230
|
+
export type FeedbackStatus = "open" | "fixed" | "wont_fix" | "answered";
|
|
3231
|
+
/** One of the caller's own reports, as GET /api/feedback returns it. */
|
|
3232
|
+
export interface ReportedFeedback {
|
|
3233
|
+
id: string;
|
|
3234
|
+
created_at: string;
|
|
3235
|
+
action_type: string;
|
|
3236
|
+
feedback_kind: string | null;
|
|
3237
|
+
comment: string | null;
|
|
3238
|
+
status: FeedbackStatus;
|
|
3239
|
+
resolution_note: string | null;
|
|
3240
|
+
resolved_at: string | null;
|
|
3241
|
+
}
|
|
3242
|
+
export interface FeedbackListResponse {
|
|
3243
|
+
items: ReportedFeedback[];
|
|
3244
|
+
summary: {
|
|
3245
|
+
open: number;
|
|
3246
|
+
recentlyClosed: number;
|
|
3247
|
+
recentlyFixed: number;
|
|
3248
|
+
recentlyAnswered: number;
|
|
3249
|
+
recentlyWontFix: number;
|
|
3250
|
+
sinceDays: number;
|
|
3251
|
+
};
|
|
3218
3252
|
}
|
|
3219
3253
|
/**
|
|
3220
3254
|
* ADR-210 Phase 2 — full status response for `pica_subscription_status`.
|
|
@@ -5681,6 +5715,16 @@ declare class StatementsResource extends BaseResource {
|
|
|
5681
5715
|
statement_period?: string;
|
|
5682
5716
|
rows: unknown[];
|
|
5683
5717
|
}): Promise<Record<string, unknown>>;
|
|
5718
|
+
/**
|
|
5719
|
+
* ADR-340: statement imports through the large-file path, as the owner's
|
|
5720
|
+
* statements page shows them (same view object).
|
|
5721
|
+
*/
|
|
5722
|
+
listImports(q?: {
|
|
5723
|
+
limit?: number;
|
|
5724
|
+
offset?: number;
|
|
5725
|
+
document_id?: string;
|
|
5726
|
+
}): Promise<Record<string, unknown>>;
|
|
5727
|
+
getImport(id: string): Promise<Record<string, unknown>>;
|
|
5684
5728
|
}
|
|
5685
5729
|
/**
|
|
5686
5730
|
* ADR-319 — saved catalog selections. `mcp-sdk` is a standalone published
|