Repository navigation
0.5.3
Compatibility: unchanged — dsh ^0.1.7-alpha.1 || ^0.2.0-rc.1 || ^0.2.1-alpha.1 — verified on dsh web 0.2.1-alpha.1.
Fixed
mem_searchno longer fails the host's tool-output validation whenever the System-one gate runs.cd96d07(shipped in 0.5.0) made the gate reportgated.policyandgated.bounded, but the tool's declared output schema (additionalProperties: false) declared neither — and the host validates every result against that schema before it reaches the model. Every gated search therefore ended asinvalid output: "value.gated.policy" is not a declared property (additionalProperties: false), so no page was ever delivered. Both fields are now declared (policyrequired,boundedoptional).- Regression coverage:
test/tool-output-schema.test.mjsruns the host's ownvalidateJsonSchemaValueover the results of all five tools, including gated searches under both policies. Reverting the schema fix fails it with exactly the reported error.
Note: the gate is opt-in (it needs a credential), which is why 0.5.0–0.5.2 shipped with it unusable.
Verified: build / typecheck / test (141 pass, +3) all green; the rebuilt module was additionally loaded inside a running dsh web host, where a gated value carrying policy + bounded validated with zero violations.
npm i @fonlan/dsh-gitmemo@0.5.3