@stage-labs/metro 0.1.0-beta.258 → 0.1.0-beta.259
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "metro",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.259",
|
|
4
4
|
"description": "Metro for Claude Code, installed by the metro daemon on this machine: every connector the agent holds as its own MCP server relayed through the daemon, the orchestrator-only guard on the main thread, and the standing rules loaded at each session start. No vendor credential ever sits in a config file.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Bonustrack",
|
|
@@ -165,6 +165,7 @@ export function cleanSchema(schema: unknown): Item {
|
|
|
165
165
|
if (!isRecord(schema)) return {};
|
|
166
166
|
const out: Item = {};
|
|
167
167
|
for (const [key, value] of Object.entries(schema)) schemaField(key, value, out);
|
|
168
|
+
if (out.nullable === true && Array.isArray(out.enum)) out.enum = out.enum.filter((value) => value !== null);
|
|
168
169
|
return out;
|
|
169
170
|
}
|
|
170
171
|
|
package/runtime/runtime.json
CHANGED