@compilr-dev/sdk 0.9.1 → 0.9.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.
@@ -41,6 +41,9 @@ export function createCompressorHook(config) {
41
41
  const command = ctx.input.command ?? '';
42
42
  const compressed = compressBashOutput(command, stdout);
43
43
  if (compressed !== null && compressed.length < stdout.length) {
44
+ const saved = stdout.length - compressed.length;
45
+ const pct = Math.round((saved / stdout.length) * 100);
46
+ console.log(`[compressor] bash "${command.slice(0, 40)}" ${String(stdout.length)} → ${String(compressed.length)} chars (${String(pct)}% saved)`); // eslint-disable-line no-console
44
47
  return {
45
48
  result: {
46
49
  ...ctx.result,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",