@withpica/mcp-server 2.94.0 → 2.95.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 +26 -0
- package/dist/lib/changelog.generated.d.ts +2 -2
- package/dist/lib/changelog.generated.d.ts.map +1 -1
- package/dist/lib/changelog.generated.js +2 -2
- package/dist/lib/changelog.generated.js.map +1 -1
- package/dist/resources/required-schemas.generated.d.ts +9 -8
- package/dist/resources/required-schemas.generated.d.ts.map +1 -1
- package/dist/resources/required-schemas.generated.js +11 -17
- package/dist/resources/required-schemas.generated.js.map +1 -1
- package/dist/resources/required-schemas.source.d.ts.map +1 -1
- package/dist/resources/required-schemas.source.js +9 -8
- package/dist/resources/required-schemas.source.js.map +1 -1
- package/dist/skills/skills.generated.js +2 -2
- package/dist/skills/skills.generated.js.map +1 -1
- package/dist/tools/audio-files.d.ts +8 -0
- package/dist/tools/audio-files.d.ts.map +1 -1
- package/dist/tools/audio-files.js +134 -3
- package/dist/tools/audio-files.js.map +1 -1
- package/dist/tools/collaborators.d.ts.map +1 -1
- package/dist/tools/collaborators.js +44 -4
- package/dist/tools/collaborators.js.map +1 -1
- package/dist/tools/credits.d.ts.map +1 -1
- package/dist/tools/credits.js +21 -0
- package/dist/tools/credits.js.map +1 -1
- package/dist/tools/dashboard.d.ts +11 -4
- package/dist/tools/dashboard.d.ts.map +1 -1
- package/dist/tools/dashboard.js +14 -7
- package/dist/tools/dashboard.js.map +1 -1
- package/dist/tools/discovery.d.ts.map +1 -1
- package/dist/tools/discovery.js +7 -1
- package/dist/tools/discovery.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +12 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/metadata.d.ts.map +1 -1
- package/dist/tools/metadata.js +26 -10
- package/dist/tools/metadata.js.map +1 -1
- package/dist/tools/recordings.d.ts.map +1 -1
- package/dist/tools/recordings.js +5 -0
- package/dist/tools/recordings.js.map +1 -1
- package/dist/tools/recovery-hints.d.ts.map +1 -1
- package/dist/tools/recovery-hints.js +44 -0
- package/dist/tools/recovery-hints.js.map +1 -1
- package/dist/tools/works.d.ts.map +1 -1
- package/dist/tools/works.js +19 -1
- package/dist/tools/works.js.map +1 -1
- package/package.json +1 -1
- package/scripts/build-required-schemas.ts +37 -11
- package/server.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.generated.js","sourceRoot":"","sources":["../../src/lib/changelog.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,yDAAyD;AAEzD,MAAM,CAAC,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"changelog.generated.js","sourceRoot":"","sources":["../../src/lib/changelog.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,yDAAyD;AAEzD,MAAM,CAAC,MAAM,YAAY,GAAG,ox3MAAox3M,CAAC;AACjz3M,MAAM,CAAC,MAAM,YAAY,GAAG,sBAAsB,CAAC;AACnD,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC"}
|
|
@@ -236,8 +236,9 @@ export declare const REQUIRED_SCHEMAS: {
|
|
|
236
236
|
};
|
|
237
237
|
readonly companion_calls: readonly [{
|
|
238
238
|
readonly tool: "pica_recording_credits_bulk_update";
|
|
239
|
-
readonly when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working. The batch capability (one call with release_id or recording_ids plus a credits[] batch, instead of one call per recording per role — existing (credited_name, role) rows are skipped, dry_run previews) now lives on the primary tool directly.";
|
|
240
|
-
readonly required: readonly [
|
|
239
|
+
readonly when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working. The batch capability (one call with release_id or recording_ids plus a credits[] batch, instead of one call per recording per role — existing (credited_name, role) rows are skipped, dry_run previews) now lives on the primary tool directly. The alias advertises the canonical's multi-mode schema (required: []); pass credits[] for the batch it exists for.";
|
|
240
|
+
readonly required: readonly [];
|
|
241
|
+
readonly per_row_required: readonly ["credited_name", "role"];
|
|
241
242
|
}];
|
|
242
243
|
readonly example: {
|
|
243
244
|
readonly recording_id: "<uuid>";
|
|
@@ -257,16 +258,16 @@ export declare const REQUIRED_SCHEMAS: {
|
|
|
257
258
|
};
|
|
258
259
|
readonly companion_calls: readonly [{
|
|
259
260
|
readonly tool: "pica_recording_credits_update";
|
|
260
|
-
readonly when: "Per credit — attach a single MainArtist / Producer / Engineer credit (recording_id + credited_name + role). Also accepts a credits[] batch across release_id / recording_ids (
|
|
261
|
-
readonly required: readonly [
|
|
261
|
+
readonly when: "Per credit — attach a single MainArtist / Producer / Engineer credit (single form needs recording_id + credited_name + role). Also accepts a credits[] batch across release_id / recording_ids (b477cd175 write-merge) — see recording-credits-required for the batch shape. Multi-mode, so the schema-level required list is empty; mode requirements live in this prose.";
|
|
262
|
+
readonly required: readonly [];
|
|
262
263
|
}, {
|
|
263
264
|
readonly tool: "pica_recordings_update";
|
|
264
265
|
readonly when: "After creation — to amend recording_title, artist_name, version_type, isrc, duration_ms, or any other inline field. Same payload shape as create plus `id`.";
|
|
265
266
|
readonly required: readonly ["id"];
|
|
266
267
|
}, {
|
|
267
268
|
readonly tool: "pica_recording_credits_bulk_update";
|
|
268
|
-
readonly when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working; the batch capability now lives in the primary tool's credits[] form.";
|
|
269
|
-
readonly required: readonly [
|
|
269
|
+
readonly when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working; the batch capability now lives in the primary tool's credits[] form. The alias advertises the canonical's multi-mode schema (required: []); pass credits[] for the batch it exists for.";
|
|
270
|
+
readonly required: readonly [];
|
|
270
271
|
}];
|
|
271
272
|
readonly example: {
|
|
272
273
|
readonly title: "Midnight Rivers (Master)";
|
|
@@ -317,8 +318,8 @@ export declare const REQUIRED_SCHEMAS: {
|
|
|
317
318
|
readonly required: readonly [];
|
|
318
319
|
}, {
|
|
319
320
|
readonly tool: "pica_sessions_inspect";
|
|
320
|
-
readonly when: "After creation — verify the session row + participants persisted as expected. Reads back the full session record including any participants attached at create time.";
|
|
321
|
-
readonly required: readonly [
|
|
321
|
+
readonly when: "After creation — verify the session row + participants persisted as expected. Reads back the full session record including any participants attached at create time. Pass id OR session_id (interchangeable entry points — requiredOneOf, so the schema-level required list is empty).";
|
|
322
|
+
readonly required: readonly [];
|
|
322
323
|
}, {
|
|
323
324
|
readonly tool: "pica_sessions_query";
|
|
324
325
|
readonly when: "Discovery / browse — list recent or upcoming sessions for the workspace.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"required-schemas.generated.d.ts","sourceRoot":"","sources":["../../src/resources/required-schemas.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"required-schemas.generated.d.ts","sourceRoot":"","sources":["../../src/resources/required-schemas.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAskCnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,gBAAgB,CAAC"}
|
|
@@ -580,9 +580,11 @@ export const REQUIRED_SCHEMAS = {
|
|
|
580
580
|
"companion_calls": [
|
|
581
581
|
{
|
|
582
582
|
"tool": "pica_recording_credits_bulk_update",
|
|
583
|
-
"when": "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working. The batch capability (one call with release_id or recording_ids plus a credits[] batch, instead of one call per recording per role — existing (credited_name, role) rows are skipped, dry_run previews) now lives on the primary tool directly.",
|
|
584
|
-
"required": [
|
|
585
|
-
|
|
583
|
+
"when": "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working. The batch capability (one call with release_id or recording_ids plus a credits[] batch, instead of one call per recording per role — existing (credited_name, role) rows are skipped, dry_run previews) now lives on the primary tool directly. The alias advertises the canonical's multi-mode schema (required: []); pass credits[] for the batch it exists for.",
|
|
584
|
+
"required": [],
|
|
585
|
+
"per_row_required": [
|
|
586
|
+
"credited_name",
|
|
587
|
+
"role"
|
|
586
588
|
]
|
|
587
589
|
}
|
|
588
590
|
],
|
|
@@ -646,12 +648,8 @@ export const REQUIRED_SCHEMAS = {
|
|
|
646
648
|
"companion_calls": [
|
|
647
649
|
{
|
|
648
650
|
"tool": "pica_recording_credits_update",
|
|
649
|
-
"when": "Per credit — attach a single MainArtist / Producer / Engineer credit (recording_id + credited_name + role). Also accepts a credits[] batch across release_id / recording_ids (
|
|
650
|
-
"required": [
|
|
651
|
-
"recording_id",
|
|
652
|
-
"credited_name",
|
|
653
|
-
"role"
|
|
654
|
-
]
|
|
651
|
+
"when": "Per credit — attach a single MainArtist / Producer / Engineer credit (single form needs recording_id + credited_name + role). Also accepts a credits[] batch across release_id / recording_ids (b477cd175 write-merge) — see recording-credits-required for the batch shape. Multi-mode, so the schema-level required list is empty; mode requirements live in this prose.",
|
|
652
|
+
"required": []
|
|
655
653
|
},
|
|
656
654
|
{
|
|
657
655
|
"tool": "pica_recordings_update",
|
|
@@ -662,10 +660,8 @@ export const REQUIRED_SCHEMAS = {
|
|
|
662
660
|
},
|
|
663
661
|
{
|
|
664
662
|
"tool": "pica_recording_credits_bulk_update",
|
|
665
|
-
"when": "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working; the batch capability now lives in the primary tool's credits[] form.",
|
|
666
|
-
"required": [
|
|
667
|
-
"credits"
|
|
668
|
-
]
|
|
663
|
+
"when": "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working; the batch capability now lives in the primary tool's credits[] form. The alias advertises the canonical's multi-mode schema (required: []); pass credits[] for the batch it exists for.",
|
|
664
|
+
"required": []
|
|
669
665
|
}
|
|
670
666
|
],
|
|
671
667
|
"example": {
|
|
@@ -770,10 +766,8 @@ export const REQUIRED_SCHEMAS = {
|
|
|
770
766
|
},
|
|
771
767
|
{
|
|
772
768
|
"tool": "pica_sessions_inspect",
|
|
773
|
-
"when": "After creation — verify the session row + participants persisted as expected. Reads back the full session record including any participants attached at create time.",
|
|
774
|
-
"required": [
|
|
775
|
-
"id"
|
|
776
|
-
]
|
|
769
|
+
"when": "After creation — verify the session row + participants persisted as expected. Reads back the full session record including any participants attached at create time. Pass id OR session_id (interchangeable entry points — requiredOneOf, so the schema-level required list is empty).",
|
|
770
|
+
"required": []
|
|
777
771
|
},
|
|
778
772
|
{
|
|
779
773
|
"tool": "pica_sessions_query",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"required-schemas.generated.js","sourceRoot":"","sources":["../../src/resources/required-schemas.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,EAAE;AACF,kEAAkE;AAClE,uEAAuE;AACvE,uFAAuF;AACvF,oDAAoD;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,oBAAoB,EAAE;QACpB,UAAU,EAAE,oBAAoB;QAChC,SAAS,EAAE,oGAAoG;QAC/G,cAAc,EAAE,wBAAwB;QACxC,kBAAkB,EAAE;YAClB,OAAO;YACP,gBAAgB;YAChB,kBAAkB;SACnB;QACD,qBAAqB,EAAE;Y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I;SACxB;KACF;CACO,CAAC"}
|
|
1
|
+
{"version":3,"file":"required-schemas.generated.js","sourceRoot":"","sources":["../../src/resources/required-schemas.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,EAAE;AACF,kEAAkE;AAClE,uEAAuE;AACvE,uFAAuF;AACvF,oDAAoD;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,oBAAoB,EAAE;QACpB,UAAU,EAAE,oBAAoB;QAChC,SAAS,EAAE,oGAAoG;QAC/G,cAAc,EAAE,wBAAwB;QACxC,kBAAkB,EAAE;YAClB,OAAO;YACP,gBAAgB;YAChB,kBAAkB;SACnB;QACD,qBAAqB,EAAE;YACrB,IAAI;YACJ,kBAAkB;YAClB,aAAa;YACb,OAAO;YACP,MAAM;YACN,oBAAoB;YACpB,QAAQ;YACR,cAAc;YACd,YAAY;YACZ,UAAU;YACV,YAAY;YACZ,cAAc;YACd,kBAAkB;YAClB,qBAAqB;YACrB,oBAAoB;YACpB,gBAAgB;YAChB,kBAAkB;YAClB,eAAe;YACf,iBAAiB;YACjB,iBAAiB;YACjB,gCAAgC;YAChC,sBAAsB;SACvB;QACD,OAAO,EAAE;YACP,gBAAgB,EAAE;gBAChB,YAAY;gBACZ,iBAAiB;gBACjB,eAAe;gBACf,cAAc;gBACd,eAAe;gBACf,kBAAkB;gBAClB,OAAO;gBACP,YAAY;gBACZ,kBAAkB;gBAClB,QAAQ;gBACR,gBAAgB;gBAChB,aAAa;aACd;YACD,kBAAkB,EAAE;gBAClB,QAAQ;gBACR,YAAY;gBACZ,OAAO;gBACP,eAAe;gBACf,OAAO;gBACP,oBAAoB;gBACpB,WAAW;aACZ;YACD,QAAQ,EAAE;gBACR,QAAQ;gBACR,WAAW;gBACX,WAAW;gBACX,OAAO;gBACP,SAAS;gBACT,gBAAgB;gBAChB,kBAAkB;gBAClB,mBAAmB;gBACnB,YAAY;gBACZ,SAAS;aACV;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,M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L,UAAU,EAAE;oBACV,IAAI;iBACL;aACF;YACD;gBACE,MAAM,EAAE,mCAAmC;gBAC3C,MAAM,EAAE,qOAAqO;gBAC7O,UAAU,EAAE;oBACV,SAAS;iBACV;aACF;YACD;gBACE,MAAM,EAAE,iCAAiC;gBACzC,MAAM,EAAE,qSAAqS;gBAC7S,UAAU,EAAE;oBACV,UAAU;oBACV,MAAM;iBACP;aACF;SACF;QACD,SAAS,EAAE;YACT,OAAO,EAAE,iBAAiB;YAC1B,WAAW,EAAE,MAAM;YACnB,MAAM,EAAE,iBAAiB;YACzB,kBAAkB,EAAE,GAAG;YACvB,iBAAiB,EAAE,IAAI;SACxB;KACF;CACO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"required-schemas.source.d.ts","sourceRoot":"","sources":["../../src/resources/required-schemas.source.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;IAC1D,eAAe,EAAE,uBAAuB,EAAE,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"required-schemas.source.d.ts","sourceRoot":"","sources":["../../src/resources/required-schemas.source.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;IAC1D,eAAe,EAAE,uBAAuB,EAAE,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAokBxE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAEjC,KAAK,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -50,8 +50,8 @@ export const REQUIRED_SCHEMAS_SOURCE = {
|
|
|
50
50
|
companion_calls: [
|
|
51
51
|
{
|
|
52
52
|
tool: "pica_recording_credits_update",
|
|
53
|
-
when: "Per credit — attach a single MainArtist / Producer / Engineer credit (recording_id + credited_name + role). Also accepts a credits[] batch across release_id / recording_ids (
|
|
54
|
-
required: [
|
|
53
|
+
when: "Per credit — attach a single MainArtist / Producer / Engineer credit (single form needs recording_id + credited_name + role). Also accepts a credits[] batch across release_id / recording_ids (b477cd175 write-merge) — see recording-credits-required for the batch shape. Multi-mode, so the schema-level required list is empty; mode requirements live in this prose.",
|
|
54
|
+
required: [],
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
tool: "pica_recordings_update",
|
|
@@ -60,8 +60,8 @@ export const REQUIRED_SCHEMAS_SOURCE = {
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
tool: "pica_recording_credits_bulk_update",
|
|
63
|
-
when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working; the batch capability now lives in the primary tool's credits[] form.",
|
|
64
|
-
required: [
|
|
63
|
+
when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working; the batch capability now lives in the primary tool's credits[] form. The alias advertises the canonical's multi-mode schema (required: []); pass credits[] for the batch it exists for.",
|
|
64
|
+
required: [],
|
|
65
65
|
},
|
|
66
66
|
],
|
|
67
67
|
example: {
|
|
@@ -105,8 +105,9 @@ export const REQUIRED_SCHEMAS_SOURCE = {
|
|
|
105
105
|
companion_calls: [
|
|
106
106
|
{
|
|
107
107
|
tool: "pica_recording_credits_bulk_update",
|
|
108
|
-
when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working. The batch capability (one call with release_id or recording_ids plus a credits[] batch, instead of one call per recording per role — existing (credited_name, role) rows are skipped, dry_run previews) now lives on the primary tool directly.",
|
|
109
|
-
required: [
|
|
108
|
+
when: "Deprecated alias of pica_recording_credits_update — retained until removal so existing callers keep working. The batch capability (one call with release_id or recording_ids plus a credits[] batch, instead of one call per recording per role — existing (credited_name, role) rows are skipped, dry_run previews) now lives on the primary tool directly. The alias advertises the canonical's multi-mode schema (required: []); pass credits[] for the batch it exists for.",
|
|
109
|
+
required: [],
|
|
110
|
+
per_row_required: ["credited_name", "role"],
|
|
110
111
|
},
|
|
111
112
|
],
|
|
112
113
|
example: {
|
|
@@ -355,8 +356,8 @@ export const REQUIRED_SCHEMAS_SOURCE = {
|
|
|
355
356
|
},
|
|
356
357
|
{
|
|
357
358
|
tool: "pica_sessions_inspect",
|
|
358
|
-
when: "After creation — verify the session row + participants persisted as expected. Reads back the full session record including any participants attached at create time.",
|
|
359
|
-
required: [
|
|
359
|
+
when: "After creation — verify the session row + participants persisted as expected. Reads back the full session record including any participants attached at create time. Pass id OR session_id (interchangeable entry points — requiredOneOf, so the schema-level required list is empty).",
|
|
360
|
+
required: [],
|
|
360
361
|
},
|
|
361
362
|
{
|
|
362
363
|
tool: "pica_sessions_query",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"required-schemas.source.js","sourceRoot":"","sources":["../../src/resources/required-schemas.source.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAoD7D,MAAM,CAAC,MAAM,uBAAuB,GAAyC;IAC3E,eAAe,EAAE;QACf,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,4DAA4D;QACrE,YAAY,EAAE,mBAAmB;QACjC,WAAW,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,aAAa,CAAC,EAAE,CAAC;QACxE,eAAe,EAAE;YACf;gBACE,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,6EAA6E;gBACnF,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;gBAChC,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC;gBACvC,UAAU,EACR,+JAA+J;aAClK;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,mKAAmK;gBACzK,QAAQ,EAAE,CAAC,IAAI,CAAC;aACjB;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,2KAA2K;gBACjL,QAAQ,EAAE,CAAC,IAAI,CAAC;aACjB;YACD;gBACE,IAAI,EAAE,mCAAmC;gBACzC,IAAI,EAAE,qOAAqO;gBAC3O,QAAQ,EAAE,CAAC,SAAS,CAAC;aACtB;YACD;gBACE,IAAI,EAAE,iCAAiC;gBACvC,IAAI,EAAE,qSAAqS;gBAC3S,QAAQ,EAAE,CAAC,UAAU,EAAE,M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iL;gBACvL,QAAQ,EAAE,EAAE;aACb;SACF;QACD,OAAO,EAAE;YACP,OAAO,EAAE,sCAAsC;YAC/C,gBAAgB,EAAE,gCAAgC;YAClD,eAAe,EAAE,SAAS;YAC1B,KAAK,EAAE,iBAAiB;YACxB,kBAAkB,EAAE,sBAAsB;YAC1C,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;YACnB,cAAc,EAAE,YAAY;YAC5B,YAAY,EAAE,YAAY;YAC1B,SAAS,EAAE,CAAC,IAAI,CAAC;YACjB,cAAc,EAAE,CAAC,YAAY,EAAE,QAAQ,CAAC;YACxC,qBAAqB,EAAE,wBAAwB;YAC/C,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,kBAAkB;oBACxB,KAAK,EAAE,uBAAuB;oBAC9B,OAAO,EAAE,iBAAiB;iBAC3B;aACF;YACD,UAAU,EAAE;gBACV;oBACE,YAAY,EAAE,sCAAsC;oBACpD,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;oBACjB,yBAAyB,EAAE,GAAG;iBAC/B;aACF;YACD,OAAO,EAAE;gBACP;oBACE,GAAG,EAAE,oDAAoD;oBACzD,IAAI,EAAE,eAAe;oBACrB,cAAc,EAAE,CAAC,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAC;iBAC9D;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,IAAI,CAClD,uBAAuB,CACuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"required-schemas.source.js","sourceRoot":"","sources":["../../src/resources/required-schemas.source.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAoD7D,MAAM,CAAC,MAAM,uBAAuB,GAAyC;IAC3E,eAAe,EAAE;QACf,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,4DAA4D;QACrE,YAAY,EAAE,mBAAmB;QACjC,WAAW,EA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AC9B,OAAO,EAAE,iBAAiB;iBAC3B;aACF;YACD,UAAU,EAAE;gBACV;oBACE,YAAY,EAAE,sCAAsC;oBACpD,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;oBACjB,yBAAyB,EAAE,GAAG;iBAC/B;aACF;YACD,OAAO,EAAE;gBACP;oBACE,GAAG,EAAE,oDAAoD;oBACzD,IAAI,EAAE,eAAe;oBACrB,cAAc,EAAE,CAAC,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAC;iBAC9D;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,IAAI,CAClD,uBAAuB,CACuB,CAAC"}
|
|
@@ -61,9 +61,9 @@ export const SKILLS = {
|
|
|
61
61
|
description: "When the user opens their workspace or asks \"what should I do\" — get them oriented in under a minute. Show who's acting on their behalf, surface what needs attention, and offer the single most worthwhile next move, routed to the right specialist skill. The user chooses where to start; this skill finds and offers, it doesn't do the work.",
|
|
62
62
|
triggers: ["what should I do", "where do I start", "morning", "show me what's pending", "open my workspace", "i just connected", "what's the state of things"],
|
|
63
63
|
audience: "any agent connecting to PICA via MCP, especially on the first message of a session",
|
|
64
|
-
tools_required: ["pica_get_agent_activity", "pica_dashboard_briefing", "pica_dashboard_attention", "pica_skill_list", "pica_report_issue", "pica_memory_list", "pica_memory_save"],
|
|
64
|
+
tools_required: ["pica_get_agent_activity", "pica_dashboard_briefing", "pica_dashboard_attention", "pica_skill_list", "pica_report_issue", "pica_memory_list", "pica_memory_save", "pica_import_streaming_link", "pica_import_youtube_link"],
|
|
65
65
|
output: "Open by knowing (or learning, with at most one question) what the user is working toward; one line on who's acting for them; the few things most needing attention from the briefing; then one calibrated offer — the most worthwhile next move for THEIR goal and the specialist skill behind it — leaving the user to choose.",
|
|
66
|
-
body: "# first-session\n\nThe user just arrived — \"morning\", \"what should I do\", \"open my workspace\", or a quiet first message that names no task. They don't yet know what's waiting for them. Get them oriented fast and hand them one clear next move.\n\nThis skill finds what matters and offers it. It does NOT do the work — no auditing credits, registering a work, or preparing for sync here. It surfaces the most worthwhile next move and names the specialist skill behind it; the user decides where to start. This is the map, not the journey.\n\nRun it when the first message is an orientation phrase (\"morning\", \"where do I start\", \"what should I do\", \"open my workspace\") — not when the user names a single concrete action like \"register work X\" or \"log yesterday's session\". A task-specific prompt skips orientation; go straight to the work.\n\nWhere `set-up-workspace` helps a user configure a new account, `first-session` helps them re-enter an existing one and pick up where the catalog needs them.\n\nSix quick beats, none of them a wall of text: know why they're here, who's acting for the user, the standing reporting-discipline note, load what needs attention, rank and offer the top move for THEIR goal, and a clean sweep at close-out.\n\n## Phase 0 — Know why they're here\n\nPICA's organizing question is: **who does this org want to be on the other side — what do they value?** That question is your internal lens. Never ask it out loud; people describe problems, not aspirations. You ask concrete things and infer.\n\nFirst, read before asking: call `pica_memory_list` and look for the org-scoped key `org_intent`. Then branch:\n\n- **The goal is on file** → open by continuing it, not re-asking:\n > _\"last time the target was [goal in the user's words] — still the mission, or has it moved?\"_\n- **No goal on file, and the user opened with a concrete ask** (\"import this album\", \"register work X\") → do the ask FIRST. The most valuable thing for the user always comes before any question about them. Infer the goal from what they asked for, and persist it after the work lands (see the persist beat below).\n- **No goal on file, vague opening** (\"morning\", \"what should I do\") → ask exactly ONE question, in PICA voice:\n > _\"what are you working toward with your music right now?\"_\n\n One question, then move — whatever they answer, the briefing load below still runs; their answer just decides what you lead with.\n\n**The persist beat.** Once there's a real signal — from their answer, their ask, or the session's work — save it so the next session (any client, any agent) starts already knowing. Call `pica_memory_save` with:\n\n- `key`: `org_intent`\n- `scope`: `organisation`\n- `type`: `decision`\n- `content`: plain language, three short lines where known — `wants:` (the outcome in the user's words), `context:` (who they are, catalog shape, how they release), `horizon:` (any date or moment they named)\n\nRe-save the same key whenever the goal visibly changes or is achieved — it's one converging record, not a log. Never save a guess you're not confident in: ask, or leave it for next time. And when the goal is achieved, say so plainly and either propose the next feasible milestone or ask what the new target is — then re-save.\n\n## Phase 1 — Who's at the keyboard\n\nBefore any work, make sure the user knows who's acting for them. Read your own auth shape first — `pica_get_agent_activity` is session-auth only and refuses `pica_grant_*` callers with `session_auth_required`, so a delegated agent must never call it:\n\n- **You are a delegated agent** (your own credential is a `pica_grant_*` token): skip `pica_get_agent_activity` entirely — no tool today exposes a grant's own label/scope/last-active back to the grant holder, so don't attempt to fill those in. Say:\n > _\"you're working through a named agent connection here.\"_\n- **Acting directly** (cookie or API key — not a grant token): call `pica_get_agent_activity` once. It surfaces what *other* named agents have done on the user's behalf (not a description of this session) — use it to mention any recent delegated-agent activity if rows come back, otherwise:\n > _\"you're acting as yourself directly. if you'd ever want to hand specific work to a named agent, you can set one up from the web — just say the word.\"_\n\n (agent note: the path is `pica_create_agent_identity`, session-auth only, from the web.)\n- **Through a connector** (OAuth client, identified by `client_name`):\n > _\"you're connected through [client_name].\"_\n\nOne line, warm, no résumé. The point is trust — the user knows whose hands are on the catalog before anything moves.\n\n## Phase 2 — Reporting-discipline opening note\n\nOne standing paragraph, read at the top of every first session:\n\n> Throughout this session, if a tool errors, returns inconsistent data, or you cannot find an affordance you expect — file via `pica_report_issue`. The team treats agent-filed issues as P0 signal and dedupes by signature. Worth filing: tool errors with stable repro, schema gaps (e.g. _\"no first-class studio field on recordings\"_), missing skills, surprising defaults. Include request IDs where available.\n\nThis sets the contract early. The agent doing the work is the user reporting the gap — surface that loop at the start, not at the end.\n\n## Phase 3 — Load what needs attention\n\nTwo reads, in order:\n\n1. `pica_dashboard_briefing` — the headline counts, what's critical, recent activity, the top things needing attention\n2. `pica_dashboard_attention` — the actual rows behind those counts, with entity IDs to drill into\n\nThat's the whole default load. Don't call `pica_count_explain` unless a number looks surprising — it's a drill-down, not a default. If the briefing comes back empty (fresh org, no works or people yet), skip ranking and route straight to `import-my-catalog` — getting music in beats configuring settings on an empty catalog.\n\n## Phase 4 — Rank, then offer one move\n\nMatch the live briefing against the routing map and rank by how much the user gets for the effort — usually `count × value`. 1,200 works missing credits outranks 3 pending statements on volume alone; but one large royalty cheque waiting to be reconciled can outrank a long tail of small gaps. Use judgement, and say why in a clause.\n\n**The goal is the tiebreaker and the frame.** When an `org_intent` is on file (Phase 0), rank for THEIR outcome, not the generic severity order — three recordings missing writers outranks everything else when the stated goal is \"get the EP registered and paid\", and the offer says so in their words: _\"you said the target is [goal] — [a] is what's standing between you and it.\"_ A gap unrelated to the goal still gets named, but it doesn't lead.\n\n| What the briefing shows | Specialist skill |\n| ------------------------------------------- | -------------------------- |\n| Works without credits | `audit-credits` |\n| Audio pending analysis | `prepare-for-sync` |\n| Unenriched or unverified writers | `close-the-loop` |\n| Works without registrations | `register-my-works` |\n| Recordings without splits | `set-recording-splits` |\n| Pending PRO statement to reconcile | `reconcile-pro-statement` |\n| Unregistered co-write in a recent source | `register-co-write` |\n| Session to log or pre-stage | `log-a-session` |\n| Sync brief to match | `match-sync-brief` |\n| Unconnected collaborators or stale contacts | _deferred — separate spec_ |\n| AI-disclosure or provenance gaps | _deferred — separate spec_ |\n\nSome of these composition skills (`reconcile-pro-statement`, `register-co-write`, `match-sync-brief`) ship in sequence and may not be live yet — call `pica_skill_list` once after Phase 3 to see which are.\n\nThen surface the top few and offer the lead — one calibrated question, with room for the user's own priority:\n\n> _\"here's what's stacking up: [a] ([n] of them), then [b] and [c]. [a] looks most worth your time — [why in a clause]. want me to start there, or is something else on your mind?\"_\n\nName the skill, make the offer, and stop. Don't start the specialist skill yourself — the user picks the next move.\n\nIf the lead move needs a skill that isn't live yet, surface it anyway with the manual path:\n\n> _\"that one's on its way — for now the manual path is [one-line workflow]. want me to walk you through it, or move to [next priority]?\"_\n\nNever skip a priority silently just because its skill hasn't shipped — naming it shows the user where things are heading.\n\n## Phase 5 — Close-out sweep\n\nWhen the user signals they're done (\"that's it for today\", \"I'm done\", \"good night\"), ask once before wrapping:\n\n> _\"anything today that felt broken or caught you off guard? happy to flag it for the team while it's fresh — or we can leave it.\"_\n\nFile anything they raise via `pica_report_issue` with request IDs and the call shape. This bookends Phase 2: the contract you set at the start becomes one deliberate check at the end.\n\nIf the session's work moved the stated goal materially — a milestone landed, or the goal itself shifted in conversation — close the loop against it: name what moved in the user's words, and re-save `org_intent` (Phase 0's persist beat) so the next session opens from the new state, not the old one.\n\n## Asking the user — the question library\n\nEvery question this skill (or any specialist skill it routes to) puts to the user follows the same grammar. These patterns are the distilled subset of PICA's voice contract; they apply even where a tool output carries no `decision` block.\n\n- **Open over closed.** Decision points open with how/what — _\"what would you like to happen to the older copy?\"_ — never a bare yes/no over something the user can't recognise.\n- **Label a diagnosis before delivering it.** _\"it seems like these two entries are the same song — one came in from Spotify, one from your upload.\"_ The label invites correction; a flat assertion invites defensiveness.\n- **No-oriented safety on destructive moves.** _\"would it be wrong to fold these two copies together? nothing is deleted — the older one's history moves across.\"_ \"No\" must be a safe, complete answer.\n- **Options carry consequences.** Never name a choice without saying what happens: _\"keep both (they'll stay listed separately), or fold them together (one entry, both histories).\"_ At most three options; always name the safe default.\n- **Stakes only on verified facts.** A confirmed problem may state plainly what it costs the user — and cites what was checked and when. An unchecked gap stays curious — _\"we don't know yet whether this one's registered — want us to check?\"_ — never fear. If PICA hasn't verified it, don't claim it.\n- **The user's words, never the system's.** Titles and human facts (\"the one from the march upload\"), never identifiers, table names, or status enums.\n\nWorked examples:\n\n| Moment | Ask it like this |\n| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Two copies of the same song | _\"these two look like the same recording — one from Spotify, one from your upload. would it be wrong to fold them into one? nothing is deleted; the upload's history moves across.\"_ |\n| Unchecked registration gap | _\"we haven't checked whether this song is registered anywhere — want us to look it up with the MLC?\"_ |\n| Confirmed missing registration | _\"this song is earning but its registration is confirmed missing — we checked the MLC on the date shown. registering it is how those royalties get claimed. want to start there?\"_ |\n| Offering the ranked lead (Phase 4) | _\"here's what's stacking up: [a] ([n] of them), then [b] and [c]. [a] looks most worth your time — [why in a clause]. want me to start there, or is something else on your mind?\"_ |\n\n## What not to do\n\n- Don't run the phases as one wall of text — Phase 0 is at most one question, Phase 1 is a line, Phase 3 is two calls, Phase 4 is one offer.\n- Don't ask \"who do you want to be\" or any aspiration-shaped question — that's the internal lens, not a prompt. Ask what they're working toward; infer the rest.\n- Don't gate an import or a concrete request behind the Phase 0 question — value first, understanding alongside.\n- Don't re-ask a goal that's already on file — continue it, and only re-open it when the user signals it changed.\n- Don't start the specialist skill after Phase 4 — name it, offer it, wait.\n- Don't call `pica_count_explain` by default — only when a number looks off.\n- Don't offer a skill that isn't in `pica_skill_list` yet without the manual-path line — silent skips hide where the product is heading.\n- Don't speak in system terms (\"attention queue\", \"issue-class\", \"priority by class\") — say what the user would say (\"the things needing your attention\").\n- Don't ask a bare yes/no over something the user can't recognise — use the question library above.\n\n## Follow-on skills\n\nOrder depends on the top-ranked priority:\n\n- `audit-credits` — when \"works without credits\" tops the list\n- `prepare-for-sync` — when \"audio pending analysis\" tops the list\n- `close-the-loop` — when \"unenriched or unverified writers\" or per-work cleanup tops the list\n- `register-my-works` — when \"works without registrations\" tops the list\n- `set-recording-splits` — when \"recordings without splits\" tops the list\n- `catalog-modelling` — when the briefing shows duplicate-title works or blank-ISWC variants that should be folded into one work\n- `import-my-catalog` — when the briefing is empty (fresh org, no catalog yet); `set-up-workspace` is settings/identifiers, not import — only route there once music exists or the user asks for setup specifically\n- composition skills (`reconcile-pro-statement`, `register-co-write`, `log-a-session`, `match-sync-brief`) — as they ship; check `pica_skill_list` first\n",
|
|
66
|
+
body: "# first-session\n\nThe user just arrived — \"morning\", \"what should I do\", \"open my workspace\", or a quiet first message that names no task. They don't yet know what's waiting for them. Get them oriented fast and hand them one clear next move.\n\nThis skill finds what matters and offers it. It does NOT do the work — no auditing credits, registering a work, or preparing for sync here. It surfaces the most worthwhile next move and names the specialist skill behind it; the user decides where to start. This is the map, not the journey.\n\nRun it when the first message is an orientation phrase (\"morning\", \"where do I start\", \"what should I do\", \"open my workspace\") — not when the user names a single concrete action like \"register work X\" or \"log yesterday's session\". A task-specific prompt skips orientation; go straight to the work.\n\nWhere `set-up-workspace` helps a user configure a new account, `first-session` helps them re-enter an existing one and pick up where the catalog needs them.\n\nSix quick beats, none of them a wall of text: know why they're here, who's acting for the user, the standing reporting-discipline note, load what needs attention, rank and offer the top move for THEIR goal, and a clean sweep at close-out.\n\n## Phase 0 — Know why they're here\n\nPICA's organizing question is: **who does this org want to be on the other side — what do they value?** That question is your internal lens. Never ask it out loud; people describe problems, not aspirations. You ask concrete things and infer.\n\nFirst, read before asking: call `pica_memory_list` and look for the org-scoped key `org_intent`. Then branch:\n\n- **The goal is on file** → open by continuing it, not re-asking:\n > _\"last time the target was [goal in the user's words] — still the mission, or has it moved?\"_\n- **No goal on file, and the user opened with a concrete ask** (\"import this album\", \"register work X\") → do the ask FIRST. The most valuable thing for the user always comes before any question about them. Infer the goal from what they asked for, and persist it after the work lands (see the persist beat below).\n- **No goal on file, vague opening** (\"morning\", \"what should I do\") → ask exactly ONE question, in PICA voice:\n > _\"what are you working toward with your music right now?\"_\n\n One question, then move — whatever they answer, the briefing load below still runs; their answer just decides what you lead with.\n\n**The persist beat.** Once there's a real signal — from their answer, their ask, or the session's work — save it so the next session (any client, any agent) starts already knowing. Call `pica_memory_save` with:\n\n- `key`: `org_intent`\n- `scope`: `organisation`\n- `type`: `decision`\n- `content`: plain language, three short lines where known — `wants:` (the outcome in the user's words), `context:` (who they are, catalog shape, how they release), `horizon:` (any date or moment they named)\n\nRe-save the same key whenever the goal visibly changes or is achieved — it's one converging record, not a log. Never save a guess you're not confident in: ask, or leave it for next time. And when the goal is achieved, say so plainly and either propose the next feasible milestone or ask what the new target is — then re-save.\n\n## Phase 1 — Who's at the keyboard\n\nBefore any work, make sure the user knows who's acting for them. Read your own auth shape first — `pica_get_agent_activity` is session-auth only and refuses `pica_grant_*` callers with `session_auth_required`, so a delegated agent must never call it:\n\n- **You are a delegated agent** (your own credential is a `pica_grant_*` token): skip `pica_get_agent_activity` entirely — no tool today exposes a grant's own label/scope/last-active back to the grant holder, so don't attempt to fill those in. Say:\n > _\"you're working through a named agent connection here.\"_\n- **Acting directly** (cookie or API key — not a grant token): call `pica_get_agent_activity` once. It surfaces what *other* named agents have done on the user's behalf (not a description of this session) — use it to mention any recent delegated-agent activity if rows come back, otherwise:\n > _\"you're acting as yourself directly. if you'd ever want to hand specific work to a named agent, you can set one up from the web — just say the word.\"_\n\n (agent note: the path is `pica_create_agent_identity`, session-auth only, from the web.)\n- **Through a connector** (OAuth client, identified by `client_name`):\n > _\"you're connected through [client_name].\"_\n\nOne line, warm, no résumé. The point is trust — the user knows whose hands are on the catalog before anything moves.\n\n## Phase 2 — Reporting-discipline opening note\n\nOne standing paragraph, read at the top of every first session:\n\n> Throughout this session, if a tool errors, returns inconsistent data, or you cannot find an affordance you expect — file via `pica_report_issue`. The team treats agent-filed issues as P0 signal and dedupes by signature. Worth filing: tool errors with stable repro, schema gaps (e.g. _\"no first-class studio field on recordings\"_), missing skills, surprising defaults. Include request IDs where available.\n\nThis sets the contract early. The agent doing the work is the user reporting the gap — surface that loop at the start, not at the end.\n\n## Phase 3 — Load what needs attention\n\nTwo reads, in order:\n\n1. `pica_dashboard_briefing` — the headline counts, what's critical, recent activity, the top things needing attention\n2. `pica_dashboard_attention` — the actual rows behind those counts, with entity IDs to drill into\n\nThat's the whole default load. Don't call `pica_count_explain` unless a number looks surprising — it's a drill-down, not a default. If the briefing comes back empty (fresh org, no works or people yet), skip ranking and lead your opening message with the import offer itself: ask for a spotify album or playlist link (or a youtube link) and run `pica_import_streaming_link` / `pica_import_youtube_link` on it directly. Artist links are not supported, so ask for an album or playlist. Load `import-my-catalog` for the mechanics and for csv/statement paths. Getting music in beats configuring settings on an empty catalog.\n\n## Phase 4 — Rank, then offer one move\n\nMatch the live briefing against the routing map and rank by how much the user gets for the effort — usually `count × value`. 1,200 works missing credits outranks 3 pending statements on volume alone; but one large royalty cheque waiting to be reconciled can outrank a long tail of small gaps. Use judgement, and say why in a clause.\n\n**The goal is the tiebreaker and the frame.** When an `org_intent` is on file (Phase 0), rank for THEIR outcome, not the generic severity order — three recordings missing writers outranks everything else when the stated goal is \"get the EP registered and paid\", and the offer says so in their words: _\"you said the target is [goal] — [a] is what's standing between you and it.\"_ A gap unrelated to the goal still gets named, but it doesn't lead.\n\n| What the briefing shows | Specialist skill |\n| ------------------------------------------- | -------------------------- |\n| Works without credits | `audit-credits` |\n| Audio pending analysis | `prepare-for-sync` |\n| Unenriched or unverified writers | `close-the-loop` |\n| Works without registrations | `register-my-works` |\n| Recordings without splits | `set-recording-splits` |\n| Pending PRO statement to reconcile | `reconcile-pro-statement` |\n| Unregistered co-write in a recent source | `register-co-write` |\n| Session to log or pre-stage | `log-a-session` |\n| Sync brief to match | `match-sync-brief` |\n| Unconnected collaborators or stale contacts | _deferred — separate spec_ |\n| AI-disclosure or provenance gaps | _deferred — separate spec_ |\n\nSome of these composition skills (`reconcile-pro-statement`, `register-co-write`, `match-sync-brief`) ship in sequence and may not be live yet — call `pica_skill_list` once after Phase 3 to see which are.\n\nThen surface the top few and offer the lead — one calibrated question, with room for the user's own priority:\n\n> _\"here's what's stacking up: [a] ([n] of them), then [b] and [c]. [a] looks most worth your time — [why in a clause]. want me to start there, or is something else on your mind?\"_\n\nName the skill, make the offer, and stop. Don't start the specialist skill yourself — the user picks the next move.\n\nIf the lead move needs a skill that isn't live yet, surface it anyway with the manual path:\n\n> _\"that one's on its way — for now the manual path is [one-line workflow]. want me to walk you through it, or move to [next priority]?\"_\n\nNever skip a priority silently just because its skill hasn't shipped — naming it shows the user where things are heading.\n\n## Phase 5 — Close-out sweep\n\nWhen the user signals they're done (\"that's it for today\", \"I'm done\", \"good night\"), ask once before wrapping:\n\n> _\"anything today that felt broken or caught you off guard? happy to flag it for the team while it's fresh — or we can leave it.\"_\n\nFile anything they raise via `pica_report_issue` with request IDs and the call shape. This bookends Phase 2: the contract you set at the start becomes one deliberate check at the end.\n\nIf the session's work moved the stated goal materially — a milestone landed, or the goal itself shifted in conversation — close the loop against it: name what moved in the user's words, and re-save `org_intent` (Phase 0's persist beat) so the next session opens from the new state, not the old one.\n\n## Asking the user — the question library\n\nEvery question this skill (or any specialist skill it routes to) puts to the user follows the same grammar. These patterns are the distilled subset of PICA's voice contract; they apply even where a tool output carries no `decision` block.\n\n- **Open over closed.** Decision points open with how/what — _\"what would you like to happen to the older copy?\"_ — never a bare yes/no over something the user can't recognise.\n- **Label a diagnosis before delivering it.** _\"it seems like these two entries are the same song — one came in from Spotify, one from your upload.\"_ The label invites correction; a flat assertion invites defensiveness.\n- **No-oriented safety on destructive moves.** _\"would it be wrong to fold these two copies together? nothing is deleted — the older one's history moves across.\"_ \"No\" must be a safe, complete answer.\n- **Options carry consequences.** Never name a choice without saying what happens: _\"keep both (they'll stay listed separately), or fold them together (one entry, both histories).\"_ At most three options; always name the safe default.\n- **Stakes only on verified facts.** A confirmed problem may state plainly what it costs the user — and cites what was checked and when. An unchecked gap stays curious — _\"we don't know yet whether this one's registered — want us to check?\"_ — never fear. If PICA hasn't verified it, don't claim it.\n- **The user's words, never the system's.** Titles and human facts (\"the one from the march upload\"), never identifiers, table names, or status enums.\n\nWorked examples:\n\n| Moment | Ask it like this |\n| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Two copies of the same song | _\"these two look like the same recording — one from Spotify, one from your upload. would it be wrong to fold them into one? nothing is deleted; the upload's history moves across.\"_ |\n| Unchecked registration gap | _\"we haven't checked whether this song is registered anywhere — want us to look it up with the MLC?\"_ |\n| Confirmed missing registration | _\"this song is earning but its registration is confirmed missing — we checked the MLC on the date shown. registering it is how those royalties get claimed. want to start there?\"_ |\n| Offering the ranked lead (Phase 4) | _\"here's what's stacking up: [a] ([n] of them), then [b] and [c]. [a] looks most worth your time — [why in a clause]. want me to start there, or is something else on your mind?\"_ |\n\n## What not to do\n\n- Don't run the phases as one wall of text — Phase 0 is at most one question, Phase 1 is a line, Phase 3 is two calls, Phase 4 is one offer.\n- Don't ask \"who do you want to be\" or any aspiration-shaped question — that's the internal lens, not a prompt. Ask what they're working toward; infer the rest.\n- Don't gate an import or a concrete request behind the Phase 0 question — value first, understanding alongside.\n- Don't re-ask a goal that's already on file — continue it, and only re-open it when the user signals it changed.\n- Don't start the specialist skill after Phase 4 — name it, offer it, wait.\n- Don't call `pica_count_explain` by default — only when a number looks off.\n- Don't offer a skill that isn't in `pica_skill_list` yet without the manual-path line — silent skips hide where the product is heading.\n- Don't speak in system terms (\"attention queue\", \"issue-class\", \"priority by class\") — say what the user would say (\"the things needing your attention\").\n- Don't ask a bare yes/no over something the user can't recognise — use the question library above.\n\n## Follow-on skills\n\nOrder depends on the top-ranked priority:\n\n- `audit-credits` — when \"works without credits\" tops the list\n- `prepare-for-sync` — when \"audio pending analysis\" tops the list\n- `close-the-loop` — when \"unenriched or unverified writers\" or per-work cleanup tops the list\n- `register-my-works` — when \"works without registrations\" tops the list\n- `set-recording-splits` — when \"recordings without splits\" tops the list\n- `catalog-modelling` — when the briefing shows duplicate-title works or blank-ISWC variants that should be folded into one work\n- `import-my-catalog` — when the briefing is empty (fresh org, no catalog yet): make the paste-a-link import offer in your opening message and use this skill for the mechanics; `set-up-workspace` is settings/identifiers, not import — only route there once music exists or the user asks for setup specifically\n- composition skills (`reconcile-pro-statement`, `register-co-write`, `log-a-session`, `match-sync-brief`) — as they ship; check `pica_skill_list` first\n",
|
|
67
67
|
},
|
|
68
68
|
"import-my-catalog": {
|
|
69
69
|
name: "import-my-catalog",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.generated.js","sourceRoot":"","sources":["../../src/skills/skills.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AA+B7D,MAAM,CAAC,MAAM,MAAM,GAA0B;IAC3C,eAAe,EAAE;QACf,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,4WAA4W;QACzX,QAAQ,EAAE,CAAC,kBAAkB,EAAC,iBAAiB,EAAC,kBAAkB,EAAC,uCAAuC,EAAC,qBAAqB,CAA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AW,GAA0B,CAAC,eAAe,EAAC,eAAe,EAAC,mBAAmB,EAAC,kBAAkB,EAAC,gBAAgB,EAAC,uBAAuB,EAAC,eAAe,EAAC,mBAAmB,EAAC,sBAAsB,EAAC,eAAe,EAAC,kBAAkB,EAAC,wBAAwB,EAAC,mBAAmB,EAAC,sBAAsB,EAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -11,6 +11,14 @@ export declare class AudioFilesTools {
|
|
|
11
11
|
executor: ToolExecutor;
|
|
12
12
|
}>;
|
|
13
13
|
private assignAudio;
|
|
14
|
+
/**
|
|
15
|
+
* When an assign failed and one of the passed ids exists as the OTHER
|
|
16
|
+
* entity type, name the mistake precisely. Returns null when the probe
|
|
17
|
+
* finds nothing (the original error is rethrown by the caller).
|
|
18
|
+
*/
|
|
19
|
+
private wrongIdTypeHint;
|
|
20
|
+
private bulkAssignSuggested;
|
|
21
|
+
private dismissMatch;
|
|
14
22
|
private updateAudio;
|
|
15
23
|
private deleteAudioFile;
|
|
16
24
|
private queryAudioFiles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio-files.d.ts","sourceRoot":"","sources":["../../src/tools/audio-files.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAUtE,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"audio-files.d.ts","sourceRoot":"","sources":["../../src/tools/audio-files.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAUtE,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;YA8jB3D,WAAW;IAuCzB;;;;OAIG;YACW,eAAe;YA2Bf,mBAAmB;YAkCnB,YAAY;YAmBZ,WAAW;YA4CX,eAAe;YAgBf,eAAe;YAsBf,gBAAgB;YA4DhB,gBAAgB;YAchB,eAAe;YAyBf,cAAc;YAgDd,iBAAiB;IA2B/B;;;OAGG;YACW,mBAAmB;CAqClC"}
|
|
@@ -371,6 +371,72 @@ export class AudioFilesTools {
|
|
|
371
371
|
},
|
|
372
372
|
executor: this.assignAudio.bind(this),
|
|
373
373
|
},
|
|
374
|
+
{
|
|
375
|
+
definition: {
|
|
376
|
+
name: "pica_audio_bulk_assign_suggested",
|
|
377
|
+
scope: "write:files",
|
|
378
|
+
audiences: ["stdio", "http", "public"],
|
|
379
|
+
tier: "write",
|
|
380
|
+
description: "Attach ALL orphan audio files whose suggested match is high-confidence " +
|
|
381
|
+
"(ISRC-verified, non-ambiguous) in ONE call — instead of looping " +
|
|
382
|
+
"pica_audio_assign per file. Pairings are recomputed server-side at " +
|
|
383
|
+
"execution time: nothing is sent, stale suggestions can't be applied, " +
|
|
384
|
+
"dismissed pairs stay excluded, and title-only ('possible') matches are " +
|
|
385
|
+
"NEVER bulk-attached. Returns counts (attached / skipped_ambiguous / " +
|
|
386
|
+
"skipped_possible / failed) + the attached audio file ids. Review the " +
|
|
387
|
+
"remainder with pica_audio_query unassigned:true, attach individually " +
|
|
388
|
+
"with pica_audio_assign, or reject a bad suggestion with " +
|
|
389
|
+
"pica_audio_dismiss_match. Reversible per file (reassign or unassign).",
|
|
390
|
+
workflows: "infrastructure",
|
|
391
|
+
vernacular_kind: "specialist",
|
|
392
|
+
vernacular_reason: "Specialist catalog-linking action in the audio assignment flow, outside the Creator Question Atlas.",
|
|
393
|
+
annotations: { title: "bulk attach suggested audio" },
|
|
394
|
+
inputSchema: {
|
|
395
|
+
type: "object",
|
|
396
|
+
properties: {
|
|
397
|
+
dry_run: {
|
|
398
|
+
type: "boolean",
|
|
399
|
+
description: "When true, returns { dry_run: true, attached (= would_attach), skipped_ambiguous, skipped_possible, attached_ids } without attaching anything — the SAME server-side classification runs, so the preview can't drift from the real run. Use to preview the bulk before committing.",
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
},
|
|
403
|
+
previewMode: "dry_run",
|
|
404
|
+
},
|
|
405
|
+
executor: this.bulkAssignSuggested.bind(this),
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
definition: {
|
|
409
|
+
name: "pica_audio_dismiss_match",
|
|
410
|
+
scope: "write:files",
|
|
411
|
+
audiences: ["stdio", "http", "public"],
|
|
412
|
+
tier: "write",
|
|
413
|
+
description: "Reject a suggested (audio file → recording) match so the pair never " +
|
|
414
|
+
"resurfaces — in suggestions, in the review queue, or in " +
|
|
415
|
+
"pica_audio_bulk_assign_suggested. The audio file stays an orphan and " +
|
|
416
|
+
"can still be attached manually (pica_audio_assign) or to a different " +
|
|
417
|
+
"recording; only THIS pairing is suppressed. Repeating a dismissal is a " +
|
|
418
|
+
"no-op success.",
|
|
419
|
+
workflows: "infrastructure",
|
|
420
|
+
vernacular_kind: "specialist",
|
|
421
|
+
vernacular_reason: "Specialist catalog-linking action in the audio assignment flow, outside the Creator Question Atlas.",
|
|
422
|
+
annotations: { title: "dismiss audio match" },
|
|
423
|
+
inputSchema: {
|
|
424
|
+
type: "object",
|
|
425
|
+
properties: {
|
|
426
|
+
audio_file_id: {
|
|
427
|
+
type: "string",
|
|
428
|
+
description: "Audio file ID the suggestion is for",
|
|
429
|
+
},
|
|
430
|
+
recording_id: {
|
|
431
|
+
type: "string",
|
|
432
|
+
description: "Recording ID of the suggested match to reject",
|
|
433
|
+
},
|
|
434
|
+
},
|
|
435
|
+
required: ["audio_file_id", "recording_id"],
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
executor: this.dismissMatch.bind(this),
|
|
439
|
+
},
|
|
374
440
|
{
|
|
375
441
|
definition: {
|
|
376
442
|
name: "pica_audio_delete",
|
|
@@ -461,11 +527,76 @@ export class AudioFilesTools {
|
|
|
461
527
|
// Cast to the real update signature — worktree resolves @withpica/mcp-sdk
|
|
462
528
|
// via the parent repo's node_modules (stale dist). CI builds the SDK fresh.
|
|
463
529
|
const audioFiles = this.pica.audioFiles;
|
|
464
|
-
|
|
465
|
-
|
|
530
|
+
try {
|
|
531
|
+
const updated = await audioFiles.update(args.audio_file_id, {
|
|
532
|
+
work_id: args.work_id,
|
|
533
|
+
recording_id: args.recording_id,
|
|
534
|
+
});
|
|
535
|
+
return formatSuccess("Audio assigned", updated);
|
|
536
|
+
}
|
|
537
|
+
catch (err) {
|
|
538
|
+
// resolve-any-ID recovery (WS5 tail): agents holding a bare id often
|
|
539
|
+
// don't know whether it's a work or a recording; a mis-slotted id
|
|
540
|
+
// fails the FK with an opaque error. Probe what the id actually is
|
|
541
|
+
// and say so — response-only, best-effort, error path only.
|
|
542
|
+
const hint = await this.wrongIdTypeHint(args);
|
|
543
|
+
if (hint) {
|
|
544
|
+
return { content: [{ type: "text", text: hint }], isError: true };
|
|
545
|
+
}
|
|
546
|
+
throw err;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* When an assign failed and one of the passed ids exists as the OTHER
|
|
551
|
+
* entity type, name the mistake precisely. Returns null when the probe
|
|
552
|
+
* finds nothing (the original error is rethrown by the caller).
|
|
553
|
+
*/
|
|
554
|
+
async wrongIdTypeHint(args) {
|
|
555
|
+
const probes = [
|
|
556
|
+
{ passedAs: "work_id", id: args.work_id, other: "recording" },
|
|
557
|
+
{ passedAs: "recording_id", id: args.recording_id, other: "work" },
|
|
558
|
+
];
|
|
559
|
+
for (const { passedAs, id, other } of probes) {
|
|
560
|
+
if (typeof id !== "string" || id.length === 0)
|
|
561
|
+
continue;
|
|
562
|
+
const exists = await (other === "recording"
|
|
563
|
+
? this.pica.recordings.get(id)
|
|
564
|
+
: this.pica.works.get(id)).then(() => true, () => false);
|
|
565
|
+
if (exists) {
|
|
566
|
+
return (`assign failed: ${passedAs}="${id}" is actually a ${other.toUpperCase()} id — ` +
|
|
567
|
+
`pass it as ${other}_id instead.`);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
return null;
|
|
571
|
+
}
|
|
572
|
+
async bulkAssignSuggested(args) {
|
|
573
|
+
// Cast to the real signature — worktree resolves @withpica/mcp-sdk via
|
|
574
|
+
// the parent repo's node_modules (stale dist). CI builds the SDK fresh.
|
|
575
|
+
const audioFiles = this.pica.audioFiles;
|
|
576
|
+
const dryRun = args?.dry_run === true;
|
|
577
|
+
const result = await audioFiles.bulkAssignSuggested(dryRun ? { dry_run: true } : undefined);
|
|
578
|
+
const verb = dryRun ? "Would attach" : "Attached";
|
|
579
|
+
const summary = result.attached === 0
|
|
580
|
+
? `No high-confidence matches to attach (${result.skipped_ambiguous} ambiguous, ` +
|
|
581
|
+
`${result.skipped_possible} title-only skipped). Review the queue with ` +
|
|
582
|
+
`pica_audio_query unassigned:true and attach individually with pica_audio_assign.`
|
|
583
|
+
: `${verb} ${result.attached} audio file${result.attached === 1 ? "" : "s"} ` +
|
|
584
|
+
`(${result.skipped_ambiguous} ambiguous + ${result.skipped_possible} title-only ` +
|
|
585
|
+
`skipped, ${result.failed} failed).` +
|
|
586
|
+
(dryRun
|
|
587
|
+
? " Nothing was persisted — re-run without dry_run to commit."
|
|
588
|
+
: "");
|
|
589
|
+
return formatSuccess(summary, result);
|
|
590
|
+
}
|
|
591
|
+
async dismissMatch(args) {
|
|
592
|
+
const audioFiles = this.pica.audioFiles;
|
|
593
|
+
await audioFiles.dismissMatch(args.audio_file_id, args.recording_id);
|
|
594
|
+
return formatSuccess("Match dismissed — this audio → recording pairing will not be suggested again. " +
|
|
595
|
+
"The file stays unassigned (attach it elsewhere with pica_audio_assign).", {
|
|
596
|
+
audio_file_id: args.audio_file_id,
|
|
466
597
|
recording_id: args.recording_id,
|
|
598
|
+
dismissed: true,
|
|
467
599
|
});
|
|
468
|
-
return formatSuccess("Audio assigned", updated);
|
|
469
600
|
}
|
|
470
601
|
async updateAudio(args) {
|
|
471
602
|
// Build the patch from only the fields the caller actually supplied, so an
|