superpowers-manager 0.10.1 → 0.10.2

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/README.md CHANGED
@@ -188,4 +188,4 @@ Native test versions qualify integration mechanisms; they are not runtime allowl
188
188
 
189
189
  ## Contributing
190
190
 
191
- See [the contributor guide](https://github.com/j7an/superpowers-manager/blob/main/CONTRIBUTING.md) for development, testing, packaging, CI, and repository layout. Architecture details live in the [harness interface](https://github.com/j7an/superpowers-manager/blob/main/docs/harness-interface.md) and [adapter result contract](https://github.com/j7an/superpowers-manager/blob/main/docs/adapter-result-contract.md).
191
+ See [the contributor guide](https://github.com/j7an/superpowers-manager/blob/main/docs/development.md) for development, testing, packaging, CI, and repository layout. Architecture details live in the [harness interface](https://github.com/j7an/superpowers-manager/blob/main/docs/harness-interface.md) and [adapter result contract](https://github.com/j7an/superpowers-manager/blob/main/docs/adapter-result-contract.md).
@@ -56,7 +56,7 @@ function setMember(entries, key, value) {
56
56
  }
57
57
  /**
58
58
  * Map strict-json's diagnostics onto the CPython wording the callers assert.
59
- * Repository policy at `AGENTS.md:89::most diagnostics are asserted as`
59
+ * Repository policy at `AGENTS.md:98::most diagnostics are asserted as`
60
60
  * freezes most of these diagnostics as complete-string contracts.
61
61
  */
62
62
  function translate(cause, source, path) {
@@ -19,11 +19,16 @@ function storedError(message, cause) {
19
19
  function table(value, name) {
20
20
  if (value === undefined)
21
21
  return {};
22
+ // smol-toml 1.9.0 returns null-prototype tables; class instances such as
23
+ // TomlDate still fail the prototype check.
24
+ const prototype = value !== null && typeof value === "object"
25
+ ? Object.getPrototypeOf(value)
26
+ : undefined;
22
27
  if (value === null ||
23
28
  typeof value !== "object" ||
24
29
  Array.isArray(value) ||
25
30
  value instanceof TomlDate ||
26
- Object.getPrototypeOf(value) !== Object.prototype) {
31
+ (prototype !== null && prototype !== Object.prototype)) {
27
32
  throw storedError(`Codex configuration ${name} must be a table`);
28
33
  }
29
34
  return value;