@zeitzeuge/node 0.1.0 → 0.1.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) LangChain, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/dist/index.js CHANGED
@@ -764,7 +764,7 @@ When your analysis is complete, you MUST write ALL findings to a JSON file using
764
764
 
765
765
  1. Call write_file with path: \`/findings/<YOUR_AGENT_NAME>.json\`
766
766
  Use your agent name as the filename (e.g. memory-heap, page-load, runtime-blocking,
767
- code-pattern, cpu-hotspot, listener-leak, memory-closure).
767
+ code-pattern, rendering-fcp, cpu-hotspot, listener-leak, memory-closure).
768
768
 
769
769
  2. The file content MUST be a JSON object with this exact structure:
770
770
  { "findings": [ { "severity": "...", "title": "...", ... }, ... ] }
@@ -783,7 +783,9 @@ var STRUCTURED_OUTPUT_FIELDS = `## Structured output fields — REQUIRED for eve
783
783
 
784
784
  Every finding MUST include ALL of these fields:
785
785
 
786
- - \`sourceFile\` — (REQUIRED) the workspace path (e.g. src/utils/parser.ts or scripts/app.js)
786
+ - \`sourceFile\` — (REQUIRED) the EXACT workspace path you used with read_file
787
+ (e.g. /scripts/app.js, /styles/theme.css, /html/index).
788
+ NEVER use bare filenames, original URLs, or paths you did not read.
787
789
  - \`lineNumber\` — (REQUIRED) the 1-based line number, verified by reading the file
788
790
  - \`confidence\` — \`high\` if you read the source, \`medium\` if strongly suggested,
789
791
  \`low\` if inferred
package/dist/reporter.js CHANGED
@@ -764,7 +764,7 @@ When your analysis is complete, you MUST write ALL findings to a JSON file using
764
764
 
765
765
  1. Call write_file with path: \`/findings/<YOUR_AGENT_NAME>.json\`
766
766
  Use your agent name as the filename (e.g. memory-heap, page-load, runtime-blocking,
767
- code-pattern, cpu-hotspot, listener-leak, memory-closure).
767
+ code-pattern, rendering-fcp, cpu-hotspot, listener-leak, memory-closure).
768
768
 
769
769
  2. The file content MUST be a JSON object with this exact structure:
770
770
  { "findings": [ { "severity": "...", "title": "...", ... }, ... ] }
@@ -783,7 +783,9 @@ var STRUCTURED_OUTPUT_FIELDS = `## Structured output fields — REQUIRED for eve
783
783
 
784
784
  Every finding MUST include ALL of these fields:
785
785
 
786
- - \`sourceFile\` — (REQUIRED) the workspace path (e.g. src/utils/parser.ts or scripts/app.js)
786
+ - \`sourceFile\` — (REQUIRED) the EXACT workspace path you used with read_file
787
+ (e.g. /scripts/app.js, /styles/theme.css, /html/index).
788
+ NEVER use bare filenames, original URLs, or paths you did not read.
787
789
  - \`lineNumber\` — (REQUIRED) the 1-based line number, verified by reading the file
788
790
  - \`confidence\` — \`high\` if you read the source, \`medium\` if strongly suggested,
789
791
  \`low\` if inferred
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeitzeuge/node",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Node.js test runner integration for performance analysis powered by zeitzeuge.",
5
5
  "keywords": [
6
6
  "analysis",