taist 0.2.2 → 0.2.3

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/lib/transform.js +2 -0
  2. package/package.json +1 -1
package/lib/transform.js CHANGED
@@ -171,6 +171,7 @@ const __taist_wrap = (fn, name) => {
171
171
  const start = performance.now();
172
172
 
173
173
  const reportSuccess = (result) => {
174
+ if (__taist_debug) console.log('[taist] REPORT:', name, 'depth:', depth, 'correlationId:', correlationId);
174
175
  __taist_reporter.report({
175
176
  id, name, type: 'exit', args, result,
176
177
  duration: performance.now() - start,
@@ -184,6 +185,7 @@ const __taist_wrap = (fn, name) => {
184
185
  };
185
186
 
186
187
  const reportError = (err) => {
188
+ if (__taist_debug) console.log('[taist] REPORT ERROR:', name, 'depth:', depth, 'correlationId:', correlationId, 'error:', err.message);
187
189
  __taist_reporter.report({
188
190
  id, name, type: 'error', args,
189
191
  error: { name: err.name, message: err.message },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taist",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Token-Optimized Testing Framework for AI-Assisted Development",
5
5
  "main": "index.js",
6
6
  "type": "module",