wave-agent-sdk 0.12.4 → 0.12.6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"writeTool.d.ts","sourceRoot":"","sources":["../../src/tools/writeTool.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAA2B,MAAM,YAAY,CAAC;AAItE;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,UAiNvB,CAAC"}
1
+ {"version":3,"file":"writeTool.d.ts","sourceRoot":"","sources":["../../src/tools/writeTool.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAA2B,MAAM,YAAY,CAAC;AAItE;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,UAuMvB,CAAC"}
@@ -117,12 +117,6 @@ Usage:
117
117
  // Record snapshot for reversion
118
118
  let snapshotId;
119
119
  if (context.reversionManager && context.messageId) {
120
- // Log memory usage before large operations if in debug mode
121
- if (process.env.LOG_LEVEL === "DEBUG") {
122
- const usage = process.memoryUsage();
123
- logger.debug(`[Memory Before Write] RSS: ${Math.round(usage.rss / 1024 / 1024)}MB, ` +
124
- `Heap: ${Math.round(usage.heapUsed / 1024 / 1024)}/${Math.round(usage.heapTotal / 1024 / 1024)}MB`, { filePath, contentLength: content.length });
125
- }
126
120
  snapshotId = await context.reversionManager.recordSnapshot(context.messageId, resolvedPath, isExistingFile ? "modify" : "create");
127
121
  }
128
122
  // Write file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-agent-sdk",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "description": "SDK for building AI-powered development tools and agents",
5
5
  "keywords": [
6
6
  "ai",
@@ -142,16 +142,6 @@ Usage:
142
142
  // Record snapshot for reversion
143
143
  let snapshotId: string | undefined;
144
144
  if (context.reversionManager && context.messageId) {
145
- // Log memory usage before large operations if in debug mode
146
- if (process.env.LOG_LEVEL === "DEBUG") {
147
- const usage = process.memoryUsage();
148
- logger.debug(
149
- `[Memory Before Write] RSS: ${Math.round(usage.rss / 1024 / 1024)}MB, ` +
150
- `Heap: ${Math.round(usage.heapUsed / 1024 / 1024)}/${Math.round(usage.heapTotal / 1024 / 1024)}MB`,
151
- { filePath, contentLength: content.length },
152
- );
153
- }
154
-
155
145
  snapshotId = await context.reversionManager.recordSnapshot(
156
146
  context.messageId,
157
147
  resolvedPath,