@d3ara1n/pi-scout 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/config.ts +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d3ara1n/pi-scout",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "Per-turn side agent decision framework for pi — uses a cheap model to select skills and route models before each conversation turn",
6
6
  "main": "src/index.ts",
package/src/config.ts CHANGED
@@ -21,8 +21,7 @@ function readSettingsFile(filePath: string): any {
21
21
  try {
22
22
  if (!fs.existsSync(filePath)) return {};
23
23
  const content = fs.readFileSync(filePath, "utf-8");
24
- const stripped = content.replace(/\/\/.*$/gm, "").replace(/\/\*[\s\S]*?\*\//g, "");
25
- return JSON.parse(stripped);
24
+ return JSON.parse(content);
26
25
  } catch {
27
26
  return {};
28
27
  }