@quantizelab/quantize-brain 1.0.0 → 1.0.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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -106,7 +106,7 @@ The CLI scans for prompt declarations using pattern matching across:
106
106
 
107
107
  - **Variable assignments** — `systemPrompt = \`...\`` (JS/TS/Python)
108
108
  - **Multi-line strings** — `system_prompt = """..."""`
109
- - **Annotation blocks** — `// @quantize-prompt` or `// @decodes-prompt` followed by an assignment
109
+ - **Annotation blocks** — `// @quantize-prompt` followed by an assignment
110
110
  - **Dedicated files** — `*.prompt`, `system_prompt.txt`, `system-prompt.txt`
111
111
 
112
112
  ---
package/index.js CHANGED
@@ -87,9 +87,9 @@ const PROMPT_REGEXES = [
87
87
  name: "System Prompt Short String"
88
88
  },
89
89
  // Special annotation block:
90
- // @quantize-prompt or @decodes-prompt
90
+ // @quantize-prompt
91
91
  {
92
- pattern: /(?://|#)\s*@(?:quantize|decodes)-prompt\s*\r?\n(?:const|let|var|self\.)?\w*\s*=\s*(?:"""|'''|`|'|")([\s\S]*?)(?:"""|'''|`|'|")/gi,
92
+ pattern: /(?:\/\/|#)\s*@quantize-prompt\s*\r?\n(?:const|let|var|self\.)?\w*\s*=\s*(?:"""|'''|`|'|")([\s\S]*?)(?:"""|'''|`|'|")/gi,
93
93
  name: "@quantize-prompt Annotation"
94
94
  }
95
95
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantizelab/quantize-brain",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Codebase prompt crawler and security scanner CLI by Quantize Lab",
5
5
  "main": "index.js",
6
6
  "type": "module",