@evandu/super-pi 0.1.73 → 0.1.74
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.
|
@@ -156,7 +156,7 @@ const extension = (pi: ExtensionApi): void => {
|
|
|
156
156
|
if (!response.ok || payload.error) return text(payload.error ?? `Tool registration failed (HTTP ${response.status}).`, true);
|
|
157
157
|
return text(JSON.stringify({ registered: true, id: payload.id, url: `/tools/${payload.id}/` }));
|
|
158
158
|
} catch (error) { return text(`Tool registration could not reach Super Pi: ${error instanceof Error ? error.message : "unknown error"}`, true); }
|
|
159
|
-
});
|
|
159
|
+
} });
|
|
160
160
|
// Read ONCE at load, not per call: the environment cannot change under a running Pi, and `prepareLoadout`
|
|
161
161
|
// is synchronous - it cannot await a fetch for a roster - so the roster has to already be here.
|
|
162
162
|
const config = readTaskConfig(process.env);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evandu/super-pi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.74",
|
|
4
4
|
"description": "Web control plane and companion for Pi",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -82,7 +82,8 @@
|
|
|
82
82
|
"scripts/theme-no-hardcoded-colours.test.mjs",
|
|
83
83
|
"scripts/agent-config-regression.test.mjs",
|
|
84
84
|
"scripts/model-filter.test.mjs",
|
|
85
|
-
"scripts/active-memory.test.mjs"
|
|
85
|
+
"scripts/active-memory.test.mjs",
|
|
86
|
+
"scripts/extension-load.test.mjs"
|
|
86
87
|
],
|
|
87
88
|
"check:browser": [
|
|
88
89
|
"scripts/revert-browser.test.mjs",
|