dsh-codex-approval 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -253,7 +253,7 @@ export function makeModeStore(ctx, logger) {
253
253
  settings = sctx.settings;
254
254
  try {
255
255
  sctx.settings.register("dsh-codex-approval", z.object({
256
- sessionOverrides: z.record(z.string(), z.enum(MODES)).default({})
256
+ sessionOverrides: z.dict(z.union(MODES)).default({})
257
257
  }), { base: {} });
258
258
  const resolved = sctx.settings.get("dsh-codex-approval");
259
259
  const overrides = resolved?.sessionOverrides;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-codex-approval",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Codex-style approval autopilot for DeepSeek Harness: ordered glob rules (allow/ask/deny) plus an AI risk judge (low/medium/high) mapped through a risk tolerance, as an approval answerer.",
5
5
  "type": "module",
6
6
  "main": "index.js",