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 +1 -1
- package/dist/harnesses/codex/manifest-overlay.js +1 -1
- package/dist/harnesses/codex/stored-state.js +6 -1
- package/node_modules/smol-toml/README.md +460 -273
- package/node_modules/smol-toml/dist/date.js +50 -21
- package/node_modules/smol-toml/dist/error.d.ts +1 -2
- package/node_modules/smol-toml/dist/error.js +6 -2
- package/node_modules/smol-toml/dist/extract.js +240 -20
- package/node_modules/smol-toml/dist/index.cjs +409 -373
- package/node_modules/smol-toml/dist/index.d.ts +5 -4
- package/node_modules/smol-toml/dist/index.js +2 -1
- package/node_modules/smol-toml/dist/parse.d.ts +38 -1
- package/node_modules/smol-toml/dist/parse.js +52 -37
- package/node_modules/smol-toml/dist/primitive.js +23 -110
- package/node_modules/smol-toml/dist/stringify.d.ts +2 -1
- package/node_modules/smol-toml/dist/stringify.js +74 -36
- package/node_modules/smol-toml/dist/struct.js +76 -99
- package/node_modules/smol-toml/dist/util.d.ts +6 -1
- package/node_modules/smol-toml/dist/util.js +4 -36
- package/node_modules/smol-toml/package.json +8 -8
- package/package.json +3 -3
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/
|
|
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:
|
|
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
|
-
|
|
31
|
+
(prototype !== null && prototype !== Object.prototype)) {
|
|
27
32
|
throw storedError(`Codex configuration ${name} must be a table`);
|
|
28
33
|
}
|
|
29
34
|
return value;
|