@withpica/mcp-sdk 4.5.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 +15 -0
- package/dist/index.d.ts +34 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1117,11 +1117,10 @@ class CreditsResource extends BaseResource {
|
|
|
1117
1117
|
};
|
|
1118
1118
|
}
|
|
1119
1119
|
/**
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
1122
|
-
*
|
|
1123
|
-
*
|
|
1124
|
-
* confirm/dispute; this call only sends the prompt.
|
|
1120
|
+
* Ask the people on a work's pending credits to confirm their part: one
|
|
1121
|
+
* email per person, through the one "ask [name] to confirm" (ADR-355 C2),
|
|
1122
|
+
* without generating a formal split-sheet document. Recipients confirm
|
|
1123
|
+
* signed in from the email's link; this call only sends the ask.
|
|
1125
1124
|
*/
|
|
1126
1125
|
async sendForAttestation(workId, input) {
|
|
1127
1126
|
return this.request("POST", `/admin/works/${workId}/credits/send-for-attestation`, input ?? {});
|
|
@@ -2454,6 +2453,12 @@ class OnboardingResource extends BaseResource {
|
|
|
2454
2453
|
return this.request("POST", "/onboarding/acknowledge", params);
|
|
2455
2454
|
}
|
|
2456
2455
|
}
|
|
2456
|
+
class ExampleSongResource extends BaseResource {
|
|
2457
|
+
/** GET /api/example-song — the example song, read-only. */
|
|
2458
|
+
async get() {
|
|
2459
|
+
return this.request("GET", "/example-song");
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2457
2462
|
class AgentIntroductionsResource extends BaseResource {
|
|
2458
2463
|
/**
|
|
2459
2464
|
* Declare agent identity. Required as the first tool call for
|
|
@@ -4977,6 +4982,7 @@ export class PicaClient {
|
|
|
4977
4982
|
telegram;
|
|
4978
4983
|
gdpr;
|
|
4979
4984
|
onboarding;
|
|
4985
|
+
exampleSong;
|
|
4980
4986
|
agentIntroductions;
|
|
4981
4987
|
workflowOutcomes;
|
|
4982
4988
|
feedback;
|
|
@@ -5091,6 +5097,7 @@ export class PicaClient {
|
|
|
5091
5097
|
this.telegram = new TelegramResource(baseUrl, config.apiKey, debug);
|
|
5092
5098
|
this.gdpr = new GdprResource(baseUrl, config.apiKey, debug);
|
|
5093
5099
|
this.onboarding = new OnboardingResource(baseUrl, config.apiKey, debug);
|
|
5100
|
+
this.exampleSong = new ExampleSongResource(baseUrl, config.apiKey, debug);
|
|
5094
5101
|
this.agentIntroductions = new AgentIntroductionsResource(baseUrl, config.apiKey, debug);
|
|
5095
5102
|
this.workflowOutcomes = new WorkflowOutcomesResource(baseUrl, config.apiKey, debug);
|
|
5096
5103
|
this.feedback = new FeedbackResource(baseUrl, config.apiKey, debug);
|