@mevdragon/vidfarm-devcli 0.20.5 → 0.20.8

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 (154) hide show
  1. package/.agents/skills/editor-capabilities/SKILL.md +15 -1
  2. package/.agents/skills/vidfarm-director/SKILL.md +106 -0
  3. package/.agents/skills/vidfarm-director/recipes/find-and-fork-template.md +16 -0
  4. package/.agents/skills/vidfarm-director/recipes/local-edit-render-approve.md +13 -0
  5. package/.agents/skills/vidfarm-director/recipes/onboard-a-new-director.md +13 -0
  6. package/.agents/skills/vidfarm-director/recipes/retheme-template.md +17 -0
  7. package/.agents/skills/vidfarm-director/references/assets-and-sourcing.md +111 -0
  8. package/.agents/skills/vidfarm-director/references/automation-and-local-dev.md +243 -0
  9. package/.agents/skills/vidfarm-director/references/core-workflows.md +273 -0
  10. package/.agents/skills/vidfarm-director/references/editor-workflows.md +365 -0
  11. package/.agents/skills/vidfarm-director/references/onboarding.md +28 -0
  12. package/.agents/skills/vidfarm-director/references/primitives.md +265 -0
  13. package/SKILL.director.md +521 -261
  14. package/dist/src/cli.js +404 -96
  15. package/dist/src/devcli/clips.js +15 -10
  16. package/dist/src/devcli/doctor.js +2 -2
  17. package/dist/src/devcli/local-backend.js +46 -2
  18. package/dist/src/services/clip-curation/cost.js +5 -1
  19. package/dist/src/services/clip-curation/gemini.js +10 -0
  20. package/package.json +30 -10
  21. package/SKILL.platform.md +0 -432
  22. package/demo/README.md +0 -28
  23. package/demo/dist/app.css +0 -1
  24. package/demo/dist/app.js +0 -1850
  25. package/demo/dist/chunks/chunk-DXB73IDG.js +0 -1
  26. package/demo/dist/chunks/chunk-S7OWAJDS.js +0 -36
  27. package/demo/dist/chunks/chunk-VTIBZ6AN.js +0 -1
  28. package/demo/dist/chunks/dist-ADSJKBVE.js +0 -332
  29. package/demo/dist/chunks/domEditingLayers-VZMLL4AP-SGHWPND4.js +0 -1
  30. package/demo/dist/chunks/hyperframes-player-XB65TCD6.js +0 -425
  31. package/demo/dist/chunks/lib-XAQ37YOE.js +0 -1
  32. package/demo/dist/chunks/src-TJ2QYA4U.js +0 -207
  33. package/demo/dist/favicon.ico +0 -0
  34. package/demo/dist/icons/timeline/audio.svg +0 -7
  35. package/demo/dist/icons/timeline/captions.svg +0 -5
  36. package/demo/dist/icons/timeline/composition.svg +0 -12
  37. package/demo/dist/icons/timeline/image.svg +0 -18
  38. package/demo/dist/icons/timeline/music.svg +0 -10
  39. package/demo/dist/icons/timeline/text.svg +0 -3
  40. package/demo/dist/index.html +0 -15
  41. package/dist/src/account-pages-legacy.js +0 -9396
  42. package/dist/src/account-pages.js +0 -61
  43. package/dist/src/app.js +0 -21602
  44. package/dist/src/composition-runtime.js +0 -1053
  45. package/dist/src/config.js +0 -217
  46. package/dist/src/context.js +0 -447
  47. package/dist/src/dev-app-legacy.js +0 -739
  48. package/dist/src/dev-app.js +0 -6
  49. package/dist/src/devcli/migrate-local.js +0 -140
  50. package/dist/src/devcli/sync.js +0 -368
  51. package/dist/src/domain.js +0 -5
  52. package/dist/src/editor-chat-history.js +0 -82
  53. package/dist/src/editor-chat.js +0 -756
  54. package/dist/src/editor-dark-theme.js +0 -1128
  55. package/dist/src/frontend/debug.js +0 -71
  56. package/dist/src/frontend/discover-client.js +0 -130
  57. package/dist/src/frontend/discover-store.js +0 -23
  58. package/dist/src/frontend/file-directory.js +0 -1018
  59. package/dist/src/frontend/flockposter-cache-store.js +0 -124
  60. package/dist/src/frontend/homepage-client.js +0 -446
  61. package/dist/src/frontend/homepage-shared.js +0 -201
  62. package/dist/src/frontend/homepage-store.js +0 -66
  63. package/dist/src/frontend/homepage-view.js +0 -705
  64. package/dist/src/frontend/page-runtime-client.js +0 -132
  65. package/dist/src/frontend/page-runtime-store.js +0 -9
  66. package/dist/src/frontend/sentry.js +0 -42
  67. package/dist/src/frontend/template-editor-chat.js +0 -4181
  68. package/dist/src/help-page.js +0 -346
  69. package/dist/src/homepage.js +0 -1458
  70. package/dist/src/index.js +0 -16
  71. package/dist/src/instrument.js +0 -30
  72. package/dist/src/landing-page.js +0 -384
  73. package/dist/src/page-runtime.js +0 -2
  74. package/dist/src/page-shell.js +0 -1452
  75. package/dist/src/primitive-context.js +0 -416
  76. package/dist/src/primitive-registry.js +0 -3940
  77. package/dist/src/primitive-sdk.js +0 -4
  78. package/dist/src/primitives/hyperframes-media.js +0 -108
  79. package/dist/src/react-page-shell.js +0 -35
  80. package/dist/src/ready-post-schedule-component.js +0 -1540
  81. package/dist/src/registry.js +0 -296
  82. package/dist/src/reskin/agency-page.js +0 -299
  83. package/dist/src/reskin/calendar-page.js +0 -568
  84. package/dist/src/reskin/chat-page.js +0 -942
  85. package/dist/src/reskin/discover-page.js +0 -1788
  86. package/dist/src/reskin/document.js +0 -1587
  87. package/dist/src/reskin/help-page.js +0 -357
  88. package/dist/src/reskin/index-page.js +0 -62
  89. package/dist/src/reskin/inpaint-clipper-page.js +0 -890
  90. package/dist/src/reskin/inpaint-page.js +0 -2554
  91. package/dist/src/reskin/inpaint-video-page.js +0 -1339
  92. package/dist/src/reskin/job-runs-page.js +0 -477
  93. package/dist/src/reskin/library-page.js +0 -1634
  94. package/dist/src/reskin/login-page.js +0 -262
  95. package/dist/src/reskin/portfolio-page.js +0 -687
  96. package/dist/src/reskin/pricing-page.js +0 -390
  97. package/dist/src/reskin/settings-page.js +0 -732
  98. package/dist/src/reskin/theme.js +0 -711
  99. package/dist/src/runtime.js +0 -35
  100. package/dist/src/services/api-call-history.js +0 -249
  101. package/dist/src/services/auth.js +0 -152
  102. package/dist/src/services/billing-pricing.js +0 -39
  103. package/dist/src/services/billing.js +0 -241
  104. package/dist/src/services/cast.js +0 -127
  105. package/dist/src/services/chat-threads.js +0 -92
  106. package/dist/src/services/clip-records.js +0 -250
  107. package/dist/src/services/clip-search.js +0 -77
  108. package/dist/src/services/clip-vectors.js +0 -125
  109. package/dist/src/services/composition-sanitize.js +0 -124
  110. package/dist/src/services/composition-watch.js +0 -79
  111. package/dist/src/services/elevenlabs.js +0 -222
  112. package/dist/src/services/file-directory.js +0 -117
  113. package/dist/src/services/fork-access.js +0 -93
  114. package/dist/src/services/fork-manifest.js +0 -42
  115. package/dist/src/services/ghostcut.js +0 -179
  116. package/dist/src/services/hyperframes.js +0 -3517
  117. package/dist/src/services/job-capacity.js +0 -14
  118. package/dist/src/services/job-logs.js +0 -197
  119. package/dist/src/services/jobs.js +0 -136
  120. package/dist/src/services/local-dynamo.js +0 -0
  121. package/dist/src/services/media-processing.js +0 -766
  122. package/dist/src/services/primitive-media-lambda.js +0 -280
  123. package/dist/src/services/providers.js +0 -2748
  124. package/dist/src/services/rate-limits.js +0 -262
  125. package/dist/src/services/scene-annotations.js +0 -32
  126. package/dist/src/services/serverless-auth.js +0 -382
  127. package/dist/src/services/serverless-jobs.js +0 -1084
  128. package/dist/src/services/serverless-provider-keys.js +0 -409
  129. package/dist/src/services/serverless-records.js +0 -1515
  130. package/dist/src/services/serverless-template-configs.js +0 -75
  131. package/dist/src/services/storage.js +0 -461
  132. package/dist/src/services/swipe-customize.js +0 -437
  133. package/dist/src/services/template-certification.js +0 -413
  134. package/dist/src/services/template-loader.js +0 -99
  135. package/dist/src/services/template-runtime-bundles.js +0 -217
  136. package/dist/src/services/template-sources.js +0 -1017
  137. package/dist/src/services/upstream.js +0 -248
  138. package/dist/src/services/video-normalization.js +0 -2
  139. package/dist/src/services/webhooks.js +0 -62
  140. package/dist/src/template-editor-pages.js +0 -2576
  141. package/dist/src/template-editor-shell.js +0 -2893
  142. package/dist/src/template-sdk.js +0 -4
  143. package/dist/src/worker.js +0 -17
  144. package/public/assets/discover-client-app.js +0 -1
  145. package/public/assets/file-directory-app.js +0 -3
  146. package/public/assets/homepage-app.js +0 -54
  147. package/public/assets/homepage-client-app.js +0 -80
  148. package/public/assets/page-runtime-client-app.js +0 -94
  149. package/public/assets/placeholders/scene-placeholder.png +0 -0
  150. package/src/assets/SELLING_AWARENESS_STAGES.md +0 -579
  151. package/src/assets/SELLING_WITH_HOOKS.md +0 -377
  152. package/src/assets/SELLING_WITH_VSLS.md +0 -606
  153. package/src/assets/favicon.ico +0 -0
  154. package/src/assets/logo-vidfarm.png +0 -0
@@ -1,346 +0,0 @@
1
- import { escapeAttribute, escapeHtml, renderBrandLockup, renderPageShell, renderPrimaryNav } from "./page-shell.js";
2
- const HELP_SECTION_IDS = new Set(["video_tutorials", "report_bug", "contact_team", "cancel_subscription"]);
3
- function parseExpandedSections(expand) {
4
- if (!expand) {
5
- return new Set();
6
- }
7
- return new Set(expand
8
- .split(",")
9
- .map((value) => value.trim())
10
- .filter((value) => HELP_SECTION_IDS.has(value)));
11
- }
12
- function renderHelpDetails(input) {
13
- return `
14
- <details class="help-details" data-expand-id="${escapeAttribute(input.id)}"${input.open ? " open" : ""}>
15
- <summary>
16
- <span>${escapeHtml(input.title)}</span>
17
- </summary>
18
- <div class="help-details-body">
19
- ${input.body}
20
- </div>
21
- </details>
22
- `;
23
- }
24
- export function renderHelpPage(input) {
25
- const expanded = parseExpandedSections(input.expand);
26
- return renderPageShell({
27
- title: "Help Page",
28
- mainClass: "is-wide",
29
- body: `
30
- <section class="frame help-frame">
31
- <header class="topbar">
32
- ${renderBrandLockup({
33
- displayName: input.account.displayName,
34
- email: input.account.email,
35
- accountId: input.account.userId
36
- })}
37
- <div class="topbar-actions">
38
- ${renderPrimaryNav({
39
- loggedIn: input.account.isLoggedIn,
40
- current: "help",
41
- accountId: input.account.userId
42
- })}
43
- </div>
44
- </header>
45
- <div class="frame-body">
46
- <section class="help-shell" aria-labelledby="help-page-title">
47
- <div class="help-content">
48
- <header class="help-head">
49
- <h1 id="help-page-title">Help Page</h1>
50
- </header>
51
- <div class="help-sections">
52
- ${renderHelpDetails({
53
- id: "video_tutorials",
54
- title: "Video Tutorials",
55
- open: expanded.has("video_tutorials"),
56
- body: `
57
- <div class="help-video-frame">
58
- <iframe
59
- src="https://www.youtube.com/embed/BG2vuCDzehc"
60
- title="Video Tutorials"
61
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
62
- allowfullscreen
63
- loading="lazy"
64
- referrerpolicy="strict-origin-when-cross-origin"></iframe>
65
- </div>
66
- `
67
- })}
68
- ${renderHelpDetails({
69
- id: "report_bug",
70
- title: "Report a Bug",
71
- open: expanded.has("report_bug"),
72
- body: `
73
- <iframe
74
- class="help-form-frame"
75
- src="https://tally.so/embed/NpdkNj?alignLeft=1&amp;hideTitle=1&amp;transparentBackground=1"
76
- title="Report a Bug"
77
- loading="lazy"></iframe>
78
- `
79
- })}
80
- ${renderHelpDetails({
81
- id: "contact_team",
82
- title: "Ask Question / Contact Team",
83
- open: expanded.has("contact_team"),
84
- body: `
85
- <iframe
86
- class="help-form-frame"
87
- src="https://tally.so/embed/javNVa?alignLeft=1&amp;hideTitle=1&amp;transparentBackground=1"
88
- title="Ask Question / Contact Team"
89
- loading="lazy"></iframe>
90
- `
91
- })}
92
- ${renderHelpDetails({
93
- id: "cancel_subscription",
94
- title: "Cancel Subscription",
95
- open: expanded.has("cancel_subscription"),
96
- body: `
97
- <div class="help-copy-stack">
98
- <p>You can cancel your subscription at any time with a simple self-serve billing portal.</p>
99
- <p>For refunds, we offer 90 day refunds. Email <a href="mailto:operator@zoom-gtm.com">operator@zoom-gtm.com</a> and mention the original email address you used in Stripe so we can find your subscription quickly.</p>
100
- <div>
101
- <a
102
- class="help-link-button"
103
- href="https://billing.stripe.com/p/login/fZecQubkxcwOgDuaEE"
104
- target="_blank"
105
- rel="noopener noreferrer">Open Cancellation Portal</a>
106
- </div>
107
- </div>
108
- `
109
- })}
110
- </div>
111
- </div>
112
- </section>
113
- </div>
114
- </section>
115
- <script>
116
- (() => {
117
- const details = Array.from(document.querySelectorAll(".help-details[data-expand-id]"));
118
- const allowed = new Set(details.map((detail) => detail.dataset.expandId).filter(Boolean));
119
-
120
- function readExpandedFromUrl() {
121
- const params = new URLSearchParams(window.location.search);
122
- return new Set((params.get("expand") || "")
123
- .split(",")
124
- .map((value) => value.trim())
125
- .filter((value) => allowed.has(value)));
126
- }
127
-
128
- function writeExpandedToUrl() {
129
- const expanded = details
130
- .filter((detail) => detail.open && detail.dataset.expandId)
131
- .map((detail) => detail.dataset.expandId);
132
- const url = new URL(window.location.href);
133
- if (expanded.length) {
134
- url.searchParams.set("expand", expanded.join(","));
135
- } else {
136
- url.searchParams.delete("expand");
137
- }
138
- window.history.replaceState(null, "", url.pathname + url.search + url.hash);
139
- }
140
-
141
- const initialExpanded = readExpandedFromUrl();
142
- for (const detail of details) {
143
- const id = detail.dataset.expandId;
144
- detail.open = Boolean(id && initialExpanded.has(id));
145
- detail.addEventListener("toggle", writeExpandedToUrl);
146
- }
147
-
148
- const firstOpen = details.find((detail) => detail.open);
149
- if (firstOpen) {
150
- requestAnimationFrame(() => {
151
- firstOpen.scrollIntoView({ block: "start", behavior: "smooth" });
152
- });
153
- }
154
- })();
155
- </script>
156
- `,
157
- style: `
158
- .help-frame {
159
- height: 100%;
160
- min-height: 0;
161
- }
162
-
163
- .help-frame .frame-body {
164
- min-height: 0;
165
- overflow: hidden;
166
- }
167
-
168
- .help-shell {
169
- display: grid;
170
- min-height: 0;
171
- overflow: hidden;
172
- border: 1px solid rgba(255, 255, 255, 0.82);
173
- border-radius: 32px;
174
- background: rgba(255, 251, 245, 0.84);
175
- box-shadow: var(--shadow);
176
- }
177
-
178
- .help-content {
179
- display: grid;
180
- align-content: start;
181
- gap: 22px;
182
- min-height: 0;
183
- overflow-y: auto;
184
- padding: clamp(22px, 4vw, 48px);
185
- }
186
-
187
- .help-head {
188
- display: grid;
189
- gap: 8px;
190
- padding-bottom: 2px;
191
- }
192
-
193
- .help-sections {
194
- display: grid;
195
- gap: 14px;
196
- max-width: 980px;
197
- }
198
-
199
- .help-details {
200
- border: 1px solid rgba(209, 219, 233, 0.92);
201
- border-radius: 8px;
202
- background: rgba(255, 255, 255, 0.82);
203
- box-shadow: 0 12px 28px rgba(118, 89, 38, 0.08);
204
- overflow: hidden;
205
- }
206
-
207
- .help-details > summary {
208
- display: flex;
209
- align-items: center;
210
- justify-content: space-between;
211
- gap: 16px;
212
- min-height: 62px;
213
- padding: 0 20px;
214
- color: #283244;
215
- cursor: pointer;
216
- font-weight: 800;
217
- list-style: none;
218
- }
219
-
220
- .help-details > summary::-webkit-details-marker {
221
- display: none;
222
- }
223
-
224
- .help-details > summary::after {
225
- content: "+";
226
- display: inline-flex;
227
- align-items: center;
228
- justify-content: center;
229
- width: 26px;
230
- height: 26px;
231
- border-radius: 999px;
232
- border: 1px solid rgba(191, 164, 109, 0.42);
233
- color: #6f6451;
234
- flex: 0 0 auto;
235
- }
236
-
237
- .help-details[open] > summary::after {
238
- content: "-";
239
- }
240
-
241
- .help-details-body {
242
- display: grid;
243
- gap: 14px;
244
- padding: 0 20px 20px;
245
- }
246
-
247
- .help-copy-stack {
248
- display: grid;
249
- gap: 12px;
250
- max-width: 760px;
251
- color: #3f4b5f;
252
- line-height: 1.6;
253
- }
254
-
255
- .help-copy-stack p {
256
- margin: 0;
257
- }
258
-
259
- .help-link-button {
260
- display: inline-flex;
261
- align-items: center;
262
- justify-content: center;
263
- min-height: 44px;
264
- padding: 0 18px;
265
- border-radius: 999px;
266
- background: #283244;
267
- color: #fff9ef;
268
- font-weight: 800;
269
- text-decoration: none;
270
- box-shadow: 0 12px 28px rgba(40, 50, 68, 0.18);
271
- transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
272
- }
273
-
274
- .help-link-button:hover {
275
- background: #1f2736;
276
- box-shadow: 0 16px 34px rgba(40, 50, 68, 0.22);
277
- transform: translateY(-1px);
278
- }
279
-
280
- .help-link-button:focus-visible {
281
- outline: 3px solid rgba(191, 164, 109, 0.42);
282
- outline-offset: 3px;
283
- }
284
-
285
- .help-video-frame {
286
- position: relative;
287
- width: 100%;
288
- aspect-ratio: 16 / 9;
289
- overflow: hidden;
290
- border-radius: 8px;
291
- background: #151a23;
292
- }
293
-
294
- .help-video-frame iframe,
295
- .help-form-frame {
296
- display: block;
297
- width: 100%;
298
- border: 0;
299
- }
300
-
301
- .help-video-frame iframe {
302
- position: absolute;
303
- inset: 0;
304
- height: 100%;
305
- }
306
-
307
- .help-form-frame {
308
- min-height: 680px;
309
- border-radius: 8px;
310
- background: rgba(255, 255, 255, 0.72);
311
- }
312
-
313
- @media (max-width: 1024px) {
314
- .help-frame .frame-body,
315
- .help-shell,
316
- .help-content {
317
- overflow: visible;
318
- }
319
-
320
- .help-content {
321
- padding: 18px 10px 24px;
322
- }
323
-
324
- .help-details > summary {
325
- min-height: 56px;
326
- padding: 0 14px;
327
- }
328
-
329
- .help-details-body {
330
- padding: 0 14px 14px;
331
- }
332
-
333
- .help-form-frame {
334
- min-height: 720px;
335
- }
336
- }
337
-
338
- @media (max-width: 560px) {
339
- .help-form-frame {
340
- min-height: 75svh;
341
- }
342
- }
343
- `
344
- });
345
- }
346
- //# sourceMappingURL=help-page.js.map