@withpica/mcp-sdk 3.27.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 +13 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,19 @@ 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
|
+
|
|
14
27
|
## [3.27.0] - 2026-10-19
|
|
15
28
|
|
|
16
29
|
### 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`.
|