@jiggai/recipes 0.4.45 → 0.4.47
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/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiggai/recipes",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.47",
|
|
4
4
|
"description": "ClawRecipes plugin for OpenClaw (markdown recipes -> scaffold agents/teams)",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"./index.ts"
|
|
10
10
|
],
|
|
11
11
|
"compat": {
|
|
12
|
-
"pluginApi": "
|
|
12
|
+
"pluginApi": "2026.4.9",
|
|
13
13
|
"pluginApiRange": ">=2026.3"
|
|
14
14
|
},
|
|
15
15
|
"build": {
|
|
@@ -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:
|
|
1529
|
+
env: configEnv,
|
|
1529
1530
|
timeout: timeoutMs,
|
|
1530
1531
|
config: node.config as Record<string, unknown> | undefined,
|
|
1531
1532
|
});
|