@funny-booth/langley-video-mcp 0.11.1 → 0.12.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/dist/index.js +15 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -73,11 +73,12 @@ server.registerTool("video_request", {
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
const planText = (p, full = false) => [
|
|
76
|
-
`台本づくり ${p.id}(${p.sku}・${p.started ?? ""} 開始${p.mine ? "・あなたが始めた" : ""}
|
|
76
|
+
`台本づくり ${p.id}(${p.sku}・${p.started ?? ""} 開始${p.mine ? "・あなたが始めた" : ""}` +
|
|
77
|
+
`${p.for_me ? `・${p.from_name ?? ""}さんからあなたへのお願い` : p.assignee_name ? `・${p.assignee_name}さんへのお願い` : ""}): 今の段 ${p.stage_ja}` +
|
|
77
78
|
`${p.working ? "(いま案を作っています。30秒ほどおいてもう一度確かめてください)" : ""}`,
|
|
78
|
-
...(p.push_needed ? [`シナリオの OK
|
|
79
|
+
...(p.push_needed ? [`シナリオの OK の前に、推す特典・数字を聞いてください(OK のとき push に答えを入れる。「おまかせ」も可)` +
|
|
79
80
|
(p.push_candidates?.length ? `\n LP の今の候補: ${p.push_candidates.join(" / ")}` : "")] : []),
|
|
80
|
-
...(p.push ? [
|
|
81
|
+
...(p.push ? [`推す特典・数字(決めたもの): ${p.push}`] : []),
|
|
81
82
|
...(p.brief ? (full ? [`クリエイティブブリーフ(広告の相談から引き継いだ):\n${p.brief}`] : [`クリエイティブブリーフあり(${p.brief.length}字・番号を渡すと全文を返す)`]) : []),
|
|
82
83
|
...(p.error ? [`前回の案づくりが止まりました: ${p.error}`] : []),
|
|
83
84
|
...Object.entries(p.approved).map(([, a]) => `OK 済み: ${a.summary}(${a.who})`),
|
|
@@ -86,7 +87,7 @@ const planText = (p, full = false) => [
|
|
|
86
87
|
`台本のシート: ${p.sheet}`,
|
|
87
88
|
].join("\n");
|
|
88
89
|
server.registerTool("video_plan_start", {
|
|
89
|
-
description: "台本づくりを始める(シナリオ → 構成 → 台本
|
|
90
|
+
description: "台本づくりを始める(シナリオ → 構成 → 台本 を、段ごとに人の OK をもらって進める。台本の OK の後に制作が始まる)。" +
|
|
90
91
|
"まずシナリオの案(3つ)を作り、台本のシート(Google スプレッドシート)に書き出す。数分かかるので、video_plan_status で確かめる。" +
|
|
91
92
|
"依頼の文章(wish)はそのまま渡す。方向性(direction)は広告の相談で決まったこと。広告の相談で作ったクリエイティブブリーフ(brief)があれば全文を渡す",
|
|
92
93
|
inputSchema: {
|
|
@@ -94,7 +95,9 @@ server.registerTool("video_plan_start", {
|
|
|
94
95
|
wish: z.string().min(1).max(2000).optional().describe("依頼した人の文章(そのまま・要約しない)"),
|
|
95
96
|
references: z.array(z.string().url()).max(5).optional().describe("参考の広告の動画の URL(1本目の音声と画面の文字を読み取り、役割に分けて参考にする。声がほとんど無い動画は画面の文字=テロップを読む)"),
|
|
96
97
|
direction: z.string().max(2000).optional().describe("方向性(広告の相談で決まった、何を作るか・季節や行事)"),
|
|
97
|
-
brief: z.string().max(8000).optional().describe("
|
|
98
|
+
brief: z.string().max(8000).optional().describe("クリエイティブブリーフ(広告の相談で決めたことの全文・Markdown・要約しない)"),
|
|
99
|
+
assignee: z.string().max(100).optional().describe("台本づくりを頼む相手(ご本人が言った呼び名のまま。例「本さん」)。" +
|
|
100
|
+
"その方が「動画の制作」を開くと続きから始まり、Slack でも知らせる。自分で進めるときは渡さない。当てはまる方がいなければ頼める方の一覧が返るので、ご本人に聞き直す"),
|
|
98
101
|
},
|
|
99
102
|
}, async (args) => {
|
|
100
103
|
try {
|
|
@@ -111,7 +114,7 @@ server.registerTool("video_plan_status", {
|
|
|
111
114
|
inputSchema: {
|
|
112
115
|
id: z.string().optional().describe("台本づくりの番号(p で始まる)"),
|
|
113
116
|
wait: z.boolean().optional().describe("true なら、案を作っている途中のとき、できるまで最大50秒待ってから返す(番号が要る)。" +
|
|
114
|
-
"まだなら、もう一度 wait: true で呼ぶ(合わせて10
|
|
117
|
+
"まだなら、もう一度 wait: true で呼ぶ(合わせて10分まで)。相手に「できた?」と声をかけてもらわずに待てる"),
|
|
115
118
|
},
|
|
116
119
|
}, async ({ id, wait }) => {
|
|
117
120
|
try {
|
|
@@ -123,7 +126,7 @@ server.registerTool("video_plan_status", {
|
|
|
123
126
|
}
|
|
124
127
|
});
|
|
125
128
|
server.registerTool("video_plan_revise", {
|
|
126
|
-
description: "
|
|
129
|
+
description: "今の段の案を直す。進めている方がシートの「修正」の欄に書いたことと、会話で言われたこと(note・言葉のまま)を AI が読んで、" +
|
|
127
130
|
"直した案を新しい版としてシートに出す(前の版は残る)。数分かかる",
|
|
128
131
|
inputSchema: { id: z.string(), note: z.string().max(2000).optional().describe("会話で言われた直し(言葉のまま)") },
|
|
129
132
|
}, async ({ id, note }) => {
|
|
@@ -135,7 +138,7 @@ server.registerTool("video_plan_revise", {
|
|
|
135
138
|
}
|
|
136
139
|
});
|
|
137
140
|
server.registerTool("video_plan_redo", {
|
|
138
|
-
description: "
|
|
141
|
+
description: "今の段の案を、前の案とは違う方向で作り直す(進めている方が「まるっと変えたい」と言ったとき)。note に理由を言葉のまま",
|
|
139
142
|
inputSchema: { id: z.string(), note: z.string().max(2000).optional() },
|
|
140
143
|
}, async ({ id, note }) => {
|
|
141
144
|
try {
|
|
@@ -146,14 +149,14 @@ server.registerTool("video_plan_redo", {
|
|
|
146
149
|
}
|
|
147
150
|
});
|
|
148
151
|
server.registerTool("video_plan_approve", {
|
|
149
|
-
description: "今の段の最新の案に OK
|
|
150
|
-
"シナリオは選んだ案の番号(choice)を渡す。推す特典・数字が決まっていない台本づくりでは、シナリオの OK
|
|
151
|
-
"(言葉のまま・「おまかせ」も可。聞かずに呼ぶと断られる)。台本の OK で、その台本のまま制作が始まる(絵コンテができたら Slack で知らせる)。OK
|
|
152
|
+
description: "今の段の最新の案に OK を出して次の段へ進む。目の前の方が会話ではっきり OK と言ったときだけ呼ぶ(あいまいなら聞き直す・あなたが判断して呼ばない)。" +
|
|
153
|
+
"シナリオは選んだ案の番号(choice)を渡す。推す特典・数字が決まっていない台本づくりでは、シナリオの OK の前に聞き、答えを push に入れる" +
|
|
154
|
+
"(言葉のまま・「おまかせ」も可。聞かずに呼ぶと断られる)。台本の OK で、その台本のまま制作が始まる(絵コンテができたら Slack で知らせる)。OK を出せるのは受け口が許した方だけ(許されていなければ断りの文が返るので、そのまま伝える)",
|
|
152
155
|
inputSchema: {
|
|
153
156
|
id: z.string(),
|
|
154
157
|
choice: z.number().int().min(1).optional().describe("シナリオの段で、OK を出す案の番号"),
|
|
155
158
|
test: z.boolean().optional().describe("動作確認の試験のときだけ true(台本の OK で始まる制作に【試験】が付く)"),
|
|
156
|
-
push: z.string().max(500).optional().describe("シナリオの OK
|
|
159
|
+
push: z.string().max(500).optional().describe("シナリオの OK のとき、決めた推す特典・数字(言葉のまま・「おまかせ」も可)"),
|
|
157
160
|
},
|
|
158
161
|
}, async ({ id, choice, test, push }) => {
|
|
159
162
|
try {
|