@clipwright/core 0.42.0 → 0.43.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 (61) hide show
  1. package/dist/account-actors.js +2 -1
  2. package/dist/account-actors.js.map +1 -1
  3. package/dist/contracts/v1/workflow-brief.d.ts +4 -0
  4. package/dist/contracts/v1/workflow-brief.js +4 -0
  5. package/dist/contracts/v1/workflow-brief.js.map +1 -1
  6. package/dist/contracts/v1/workflow-catalog.d.ts +4 -0
  7. package/dist/contracts/v1/workflow-client.d.ts +1 -0
  8. package/dist/contracts/v1/workflow-execution.d.ts +12 -0
  9. package/dist/contracts/v1/workflow-plan.d.ts +5 -0
  10. package/dist/contracts/v1/workflow-run-read.d.ts +12 -0
  11. package/dist/creator-profile.d.ts +35 -2
  12. package/dist/creator-profile.js +30 -1
  13. package/dist/creator-profile.js.map +1 -1
  14. package/dist/design.d.ts +46 -2
  15. package/dist/design.js +9 -2
  16. package/dist/design.js.map +1 -1
  17. package/dist/endpoint-notes.js +2 -1
  18. package/dist/endpoint-notes.js.map +1 -1
  19. package/dist/endpoints.js +2 -2
  20. package/dist/endpoints.js.map +1 -1
  21. package/dist/faceless-price.d.ts +2 -0
  22. package/dist/faceless-price.js +2 -0
  23. package/dist/faceless-price.js.map +1 -1
  24. package/dist/generations.d.ts +2 -1
  25. package/dist/generations.js +6 -2
  26. package/dist/generations.js.map +1 -1
  27. package/dist/idempotency.d.ts +3 -0
  28. package/dist/idempotency.js +5 -0
  29. package/dist/idempotency.js.map +1 -1
  30. package/dist/index.d.ts +2 -0
  31. package/dist/index.js +3 -0
  32. package/dist/index.js.map +1 -1
  33. package/dist/run-static-warnings.js +2 -0
  34. package/dist/run-static-warnings.js.map +1 -1
  35. package/dist/runs.d.ts +8 -0
  36. package/dist/runs.js +3 -0
  37. package/dist/runs.js.map +1 -1
  38. package/dist/script-voice.d.ts +41 -0
  39. package/dist/script-voice.js +142 -0
  40. package/dist/script-voice.js.map +1 -0
  41. package/dist/skills.js +10 -0
  42. package/dist/skills.js.map +1 -1
  43. package/dist/trend-search.d.ts +122 -4
  44. package/dist/trend-search.js +111 -11
  45. package/dist/trend-search.js.map +1 -1
  46. package/dist/video-size.d.ts +13 -0
  47. package/dist/video-size.js +33 -0
  48. package/dist/video-size.js.map +1 -0
  49. package/dist/workflows/methods/faceless-explainer.d.ts +1 -0
  50. package/dist/workflows/methods/kinetic-launch.d.ts +1 -0
  51. package/dist/workflows/methods/product-image-story.d.ts +1 -0
  52. package/dist/workflows/methods/reference-remake.d.ts +1 -0
  53. package/dist/workflows/methods/shared.d.ts +1 -0
  54. package/dist/workflows/methods/ugc-faq-answer.d.ts +1 -0
  55. package/dist/workflows/methods/ugc-product-intro.d.ts +1 -0
  56. package/dist/workflows/methods/website-proof-demo.d.ts +1 -0
  57. package/dist/workflows/reference-remake.js +5 -0
  58. package/dist/workflows/reference-remake.js.map +1 -1
  59. package/dist/workflows/validate.js +1 -1
  60. package/dist/workflows/validate.js.map +1 -1
  61. package/package.json +1 -1
@@ -3540,6 +3540,7 @@ export declare const referenceRemake: {
3540
3540
  } | undefined;
3541
3541
  added?: string[] | undefined;
3542
3542
  move_warnings?: string[] | undefined;
3543
+ voice_warnings?: string[] | undefined;
3543
3544
  review_notes?: string[] | undefined;
3544
3545
  };
3545
3546
  beats: {
@@ -3555,6 +3555,7 @@ export declare function defineWorkflowMethod(value: MethodDescriptorArgs): {
3555
3555
  } | undefined;
3556
3556
  added?: string[] | undefined;
3557
3557
  move_warnings?: string[] | undefined;
3558
+ voice_warnings?: string[] | undefined;
3558
3559
  review_notes?: string[] | undefined;
3559
3560
  };
3560
3561
  beats: {
@@ -3540,6 +3540,7 @@ export declare const ugcFaqAnswer: {
3540
3540
  } | undefined;
3541
3541
  added?: string[] | undefined;
3542
3542
  move_warnings?: string[] | undefined;
3543
+ voice_warnings?: string[] | undefined;
3543
3544
  review_notes?: string[] | undefined;
3544
3545
  };
3545
3546
  beats: {
@@ -3540,6 +3540,7 @@ export declare const ugcProductIntro: {
3540
3540
  } | undefined;
3541
3541
  added?: string[] | undefined;
3542
3542
  move_warnings?: string[] | undefined;
3543
+ voice_warnings?: string[] | undefined;
3543
3544
  review_notes?: string[] | undefined;
3544
3545
  };
3545
3546
  beats: {
@@ -3540,6 +3540,7 @@ export declare const websiteProofDemo: {
3540
3540
  } | undefined;
3541
3541
  added?: string[] | undefined;
3542
3542
  move_warnings?: string[] | undefined;
3543
+ voice_warnings?: string[] | undefined;
3543
3544
  review_notes?: string[] | undefined;
3544
3545
  };
3545
3546
  beats: {
@@ -1201,6 +1201,11 @@ export function compileReferenceRemake(input, capabilities, planSpans = proporti
1201
1201
  else if (listening >= 0 && !before)
1202
1202
  note(listening, 'the reference\'s call (no sentence end with words after it to open it on)', 'the presenter keeps talking');
1203
1203
  else if (listening >= 0 && before && request.call) {
1204
+ // The call's phone replaces the reference's, never a card the request named on the same beat (#1205).
1205
+ const asked = edits.find(edit => edit.template?.kind === 'phone_call' && editsOn(spans[listening]).includes(edit));
1206
+ if (asked)
1207
+ return { kind: 'invalid', issues: [{ kind: 'invalid_request', path: `line_edits.${asked.at}`,
1208
+ message: 'The call brings its own phone on these words: drop this phone_call card or the call.' }] };
1204
1209
  const stage = callStageOf(profile, listening, note);
1205
1210
  call = { after: before.anchor, lines: request.call.lines, ...(request.call.voices ? { voices: request.call.voices } : {}),
1206
1211
  phone: { ...CALL_PHONE_DEFAULTS, ...request.call.phone }, ...(stage ? { stage } : {}) };