@jiggai/recipes 0.4.46 → 0.4.48

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/README.md CHANGED
@@ -49,7 +49,7 @@ It is built for people who want durable artifacts on disk, not hidden app state.
49
49
 
50
50
  ### 1) Install the plugin
51
51
 
52
- **From npm**
52
+ **OpenClaw plugin install (recommended)**
53
53
 
54
54
  ```bash
55
55
  openclaw plugins install @jiggai/recipes
@@ -57,7 +57,17 @@ openclaw gateway restart
57
57
  openclaw plugins list
58
58
  ```
59
59
 
60
- **From a local checkout**
60
+ > **Note:** The OpenClaw plugin installer enforces `pluginApi` version checks. If you see a version mismatch error, use the npm install method below instead.
61
+
62
+ **npm install**
63
+
64
+ ```bash
65
+ npm install @jiggai/recipes --prefix ~/.openclaw/plugins
66
+ openclaw gateway restart
67
+ openclaw plugins list
68
+ ```
69
+
70
+ **From a local checkout (development)**
61
71
 
62
72
  ```bash
63
73
  git clone https://github.com/JIGGAI/ClawRecipes.git ~/ClawRecipes
@@ -2,7 +2,7 @@
2
2
  "id": "recipes",
3
3
  "name": "Recipes",
4
4
  "description": "Markdown recipes that scaffold agents and teams (workspace-local).",
5
- "version": "0.4.46",
5
+ "version": "0.4.48",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiggai/recipes",
3
- "version": "0.4.46",
3
+ "version": "0.4.48",
4
4
  "description": "ClawRecipes plugin for OpenClaw (markdown recipes -> scaffold agents/teams)",
5
5
  "main": "index.ts",
6
6
  "type": "commonjs",
@@ -26,7 +26,8 @@
26
26
  "recipes/",
27
27
  "docs/",
28
28
  "clawcipes_cook.jpg",
29
- "README.md"
29
+ "README.md",
30
+ "LICENSE"
30
31
  ],
31
32
  "scripts": {
32
33
  "test": "vitest run",
@@ -1509,8 +1509,9 @@ export async function runWorkflowWorkerTick(api: OpenClawPluginApi, opts: {
1509
1509
 
1510
1510
  // ── Step 2: Invoke the media driver to generate actual media ─────
1511
1511
  const providerSlug = provider;
1512
+ // Load API keys from openclaw.json config (OPENAI_API_KEY, GEMINI_API_KEY, etc.)
1513
+ // The subprocess inherits process.env automatically — only config overrides are needed.
1512
1514
  const configEnv = await loadConfigEnv();
1513
- const mergedEnv = { ...process.env, ...configEnv } as Record<string, string>;
1514
1515
 
1515
1516
  // Find a registered driver, or fall back to auto-discovered generic driver
1516
1517
  let driver = getDriver(providerSlug);
@@ -1525,7 +1526,7 @@ export async function runWorkflowWorkerTick(api: OpenClawPluginApi, opts: {
1525
1526
  api,
1526
1527
  prompt: refinedPrompt,
1527
1528
  outputDir: mediaDir,
1528
- env: mergedEnv,
1529
+ env: configEnv,
1529
1530
  timeout: timeoutMs,
1530
1531
  config: node.config as Record<string, unknown> | undefined,
1531
1532
  });