pi-usereq 0.68.0 → 0.70.0
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/package.json +1 -1
- package/src/core/config.ts +3 -3
package/README.md
CHANGED
package/package.json
CHANGED
package/src/core/config.ts
CHANGED
|
@@ -214,14 +214,14 @@ export const DEFAULT_TESTS_DIR = "tests";
|
|
|
214
214
|
export const DEFAULT_SRC_DIRS = ["src"];
|
|
215
215
|
/**
|
|
216
216
|
* @brief Defines the default value for every persisted context-file injection flag.
|
|
217
|
-
* @details Each `%%CONTEXT_FILES%%` injection toggle defaults to
|
|
217
|
+
* @details Each `%%CONTEXT_FILES%%` injection toggle defaults to enabled so the bundled canonical documents enter the prompt context on new projects unless the user explicitly disables one. Lookup complexity is O(1).
|
|
218
218
|
* @satisfies REQ-328
|
|
219
219
|
*/
|
|
220
|
-
export const DEFAULT_CONTEXT_FILES_FLAG =
|
|
220
|
+
export const DEFAULT_CONTEXT_FILES_FLAG = true;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* @brief Normalizes one persisted context-file injection flag.
|
|
224
|
-
* @details Returns the documented default (`
|
|
224
|
+
* @details Returns the documented default (`true`) for missing or non-boolean values and preserves only explicit boolean input, so any malformed persisted entry keeps context-file injection enabled. Runtime is O(1). No external state is mutated.
|
|
225
225
|
* @param[in] value {unknown} Candidate persisted context-file flag.
|
|
226
226
|
* @return {boolean} Normalized context-file injection flag.
|
|
227
227
|
* @satisfies REQ-328
|