owner-clone-ai-mcp 1.74.1 → 1.76.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/domains/skills.js +28 -0
- package/domains/slides.js +2 -1
- package/package.json +1 -1
package/domains/skills.js
CHANGED
|
@@ -294,6 +294,26 @@ Claude Code はその指示を読んで続けて prepare_skill(X) を呼び出
|
|
|
294
294
|
required: ['id'],
|
|
295
295
|
},
|
|
296
296
|
},
|
|
297
|
+
{
|
|
298
|
+
name: 'save_skill_default_params',
|
|
299
|
+
description: `スキルのパラメータ設定を「パターン」として保存します。【書き込み権限付きキーが必要】
|
|
300
|
+
|
|
301
|
+
同じスキルを用途別に使い分けたいとき(例:「A社向け」「短文版」)に、名前を付けて複数保存できます。
|
|
302
|
+
保存した値は、そのスキルを開いたときの入力欄と起動コードの初期値になります。
|
|
303
|
+
|
|
304
|
+
⚠️ 保存先は実行したワークスペースのものです。他のお客様には一切表示されません。
|
|
305
|
+
Admin公開スキルなど自分が所有していないスキルにも、自分用として保存できます。
|
|
306
|
+
1スキルにつき20件まで。同じ名前で保存すると上書きされます。`,
|
|
307
|
+
inputSchema: {
|
|
308
|
+
type: 'object',
|
|
309
|
+
properties: {
|
|
310
|
+
id: { type: 'string', description: 'スキルID(list_skillsで確認)。skill_id という名前で渡しても受け付けます' },
|
|
311
|
+
params: { type: 'object', description: 'パラメータ名と値のマップ。get_skill で parameters を確認してから渡す' },
|
|
312
|
+
param_preset_name: { type: 'string', description: 'パターン名(省略時は「保存した設定」)。名前を変えると別のパターンとして保存され、同じ名前なら上書き' },
|
|
313
|
+
},
|
|
314
|
+
required: ['id', 'params'],
|
|
315
|
+
},
|
|
316
|
+
},
|
|
297
317
|
{
|
|
298
318
|
name: 'list_skill_versions',
|
|
299
319
|
description: `スキルのバージョン履歴一覧を取得します。
|
|
@@ -603,6 +623,14 @@ const handlers = {
|
|
|
603
623
|
return lines.join('\n');
|
|
604
624
|
},
|
|
605
625
|
|
|
626
|
+
save_skill_default_params: async ({ id, skill_id, params, param_preset_name }) => {
|
|
627
|
+
const d = await callApi(`/skills/${id || skill_id}/default-params`, {
|
|
628
|
+
method: 'PATCH',
|
|
629
|
+
body: JSON.stringify({ params, ...(param_preset_name ? { param_preset_name } : {}) }),
|
|
630
|
+
});
|
|
631
|
+
return `✅ ${d.message || 'パラメータを保存しました'}`;
|
|
632
|
+
},
|
|
633
|
+
|
|
606
634
|
list_skill_versions: async ({ id, skill_id }) => {
|
|
607
635
|
const { versions } = await callApi(`/skills/${id || skill_id}/versions`);
|
|
608
636
|
if (!versions || versions.length === 0) return 'バージョン履歴はまだありません。create_skill_version でバージョンを保存できます。';
|
package/domains/slides.js
CHANGED
|
@@ -28,7 +28,8 @@ const tools = [
|
|
|
28
28
|
「この配色を保存して」「うちのブランドカラーとして覚えて」と言われたときに使います。
|
|
29
29
|
deck には見た目の設定だけを入れます(本文は保存されません): stylePack(デザインパック)/ accentColor(差し色)/
|
|
30
30
|
packInk(デザインパックの地色)/ fontHeading・fontBody(書体)/ frame系(外枠)/ bgGrid・bgDiag・bgTexture(背景)/
|
|
31
|
-
footerText・logo / pageNum / themeVariant / sectionShift。
|
|
31
|
+
footerText・footerPos・footerSize・footerColor / logo・logoPos・logoSize・logoOpacity / pageNum・pageNumPos / themeVariant / sectionShift。
|
|
32
|
+
付属物(フッター・ロゴ・ページ番号)の位置は *Pos で6方向から選べます: "top-left"|"top-center"|"top-right"|"bottom-left"|"bottom-center"|"bottom-right"。同じ位置に複数を置いた場合や枠線と重なる場合は自動でずらされるため、希望どおり指定して構いません。
|
|
32
33
|
既存デッキの見た目をそのまま保存したい場合は、get_slide_deck で deck を取得して該当キーを渡してください。`,
|
|
33
34
|
inputSchema: { type: 'object', properties: {
|
|
34
35
|
name: { type: 'string', description: 'テンプレート名(同名は上書き)' },
|