@videomule/recorder 0.1.3 → 0.1.4
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/dist/config.js +6 -1
- package/dist/config.js.map +1 -1
- package/docs/SEED_ENDPOINT.md +7 -0
- package/manifest.json +16 -5
- package/package.json +1 -1
package/dist/config.js
CHANGED
|
@@ -33,7 +33,12 @@ function firstEnv(...names) {
|
|
|
33
33
|
export function loadConfig() {
|
|
34
34
|
return {
|
|
35
35
|
aidemoDir: cleanEnv("AIDEMO_DIR") || "/Users/techie/aidemo",
|
|
36
|
-
|
|
36
|
+
// NOTE: temporary dev/preview deploy that has the /api/bridge/seed-project
|
|
37
|
+
// route. Replace with the stable domain once the route ships to
|
|
38
|
+
// staging/production (app.videomule.ai). A user override via
|
|
39
|
+
// VIDEOMULE_DASHBOARD_URL always wins.
|
|
40
|
+
videomuleBaseUrl: cleanEnv("VIDEOMULE_DASHBOARD_URL") ||
|
|
41
|
+
"https://videomule-dashboard-git-feat-bri-a31924-tests-projects-3a0a7627.vercel.app",
|
|
37
42
|
orgSlug: firstEnv("VIDEOMULE_ORG_SLUG"),
|
|
38
43
|
};
|
|
39
44
|
}
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAeH;;;;;;GAMG;AACH,SAAS,QAAQ,CAAC,IAAY;IAC5B,MAAM,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;IACpC,IAAI,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IACzB,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC,CAAC,8BAA8B;IAC1E,OAAO,CAAC,CAAC;AACX,CAAC;AAED,SAAS,QAAQ,CAAC,GAAG,KAAe;IAClC,KAAK,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@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Seed endpoint spec — `POST /api/bridge/seed-project`
|
|
2
2
|
|
|
3
|
+
> **⚠️ DEPLOYMENT STATUS (2026-12-03):** the route is implemented in the repo and works on
|
|
4
|
+
> **local dev** (`localhost:3000` → 401, i.e. it exists), but it is **NOT deployed to staging or
|
|
5
|
+
> production** — `app.videomule.ai` and `staging-app.videomule.ai` both return **404**. So a user
|
|
6
|
+
> whose extension points at production records fine but the **seed step fails with 404**. **Action
|
|
7
|
+
> for the VideoMule team: deploy this route (and confirm `/api/upload`) to staging + production.**
|
|
8
|
+
> Until then, test by pointing the extension's dashboard URL at `http://localhost:3000`.
|
|
9
|
+
|
|
3
10
|
The one piece that must be **built in the VideoMule dashboard repo** (`apps/dashboard`,
|
|
4
11
|
Next.js App Router). There is **no JSON project-creation API today** — the only path that
|
|
5
12
|
creates a project is the in-page IndexedDB `importKey` + `/projects/new` DOM flow, which runs
|
package/manifest.json
CHANGED
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
"entry_point": "dist/mcp-server.js",
|
|
15
15
|
"mcp_config": {
|
|
16
16
|
"command": "node",
|
|
17
|
-
"args": [
|
|
17
|
+
"args": [
|
|
18
|
+
"${__dirname}/dist/mcp-server.js"
|
|
19
|
+
],
|
|
18
20
|
"env": {
|
|
19
21
|
"VIDEOMULE_DASHBOARD_URL": "${user_config.dashboard_url}",
|
|
20
22
|
"VIDEOMULE_ORG_SLUG": "${user_config.org_slug}",
|
|
@@ -31,7 +33,7 @@
|
|
|
31
33
|
"title": "VideoMule dashboard URL",
|
|
32
34
|
"description": "Base URL of your VideoMule dashboard (e.g. https://app.videomule.ai).",
|
|
33
35
|
"required": false,
|
|
34
|
-
"default": "https://
|
|
36
|
+
"default": "https://videomule-dashboard-git-feat-bri-a31924-tests-projects-3a0a7627.vercel.app"
|
|
35
37
|
},
|
|
36
38
|
"org_slug": {
|
|
37
39
|
"type": "string",
|
|
@@ -60,8 +62,17 @@
|
|
|
60
62
|
}
|
|
61
63
|
},
|
|
62
64
|
"tools": [
|
|
63
|
-
{
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
{
|
|
66
|
+
"name": "login",
|
|
67
|
+
"description": "Open VideoMule so you sign in once; the session persists."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "record_and_seed",
|
|
71
|
+
"description": "Record a web flow locally and seed an editable VideoMule Script page."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "seed_only",
|
|
75
|
+
"description": "Reuse an existing recording; upload and seed only."
|
|
76
|
+
}
|
|
66
77
|
]
|
|
67
78
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@videomule/recorder",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Record a web flow with aidemo, then seed a VideoMule project's editable Script page from the recording. aidemo is used as-is (its CLI/MCP); VideoMule owns voiceover + render.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|