daedalus-cli 1.65.0 → 1.65.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.65.1](https://github.com/bgill55/daedalus/compare/v1.65.0...v1.65.1) (2026-07-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **stats:** align /stats CLI output formatting to match REPL theme ([bc7caf4](https://github.com/bgill55/daedalus/commit/bc7caf4824f4e89f12a90529d6cadd2e1dfe97e1))
7
+
1
8
  # [1.65.0](https://github.com/bgill55/daedalus/compare/v1.64.0...v1.65.0) (2026-07-25)
2
9
 
3
10
 
@@ -1,2 +1,3 @@
1
+ /** Format and return session statistics report for CLI display */
1
2
  export declare function handleStatsCommand(): string;
2
3
  //# sourceMappingURL=stats.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/commands/stats.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,IAAI,MAAM,CAe3C"}
1
+ {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/commands/stats.ts"],"names":[],"mappings":"AAGA,kEAAkE;AAClE,wBAAgB,kBAAkB,IAAI,MAAM,CAiB3C"}
@@ -1,16 +1,19 @@
1
1
  import pc from 'picocolors';
2
2
  import { globalSessionStats } from '../session/analytics.js';
3
+ /** Format and return session statistics report for CLI display */
3
4
  export function handleStatsCommand() {
4
5
  const report = globalSessionStats.getReport();
6
+ const width = Math.min(process.stdout.columns || 80, 72);
7
+ const ruleLen = Math.max(10, width - 34);
5
8
  const lines = [
6
- pc.bold(pc.cyan('┌─ Session & System Statistics ─────────────────────────────┐')),
7
- `│ ${pc.bold('Uptime:')} ${report.uptime} │`,
8
- `│ ${pc.bold('Interactions:')} ${report.totalInteractions} │`,
9
- `│ ${pc.bold('Total Tokens:')} ${report.totalTokens} │`,
10
- `│ ${pc.bold('Prompt Tokens:')} ${report.promptTokens} │`,
11
- `│ ${pc.bold('Completion Tokens:')} ${report.completionTokens} │`,
12
- `│ ${pc.bold('Error Count:')} ${report.totalErrors} │`,
13
- pc.bold(pc.cyan('└─────────────────────────────────────────────────────────┘')),
9
+ ` ${pc.bold(pc.cyan(' Session & System Statistics '))} ${pc.dim('─'.repeat(ruleLen))}`,
10
+ ` ${pc.gray('Uptime:')} ${pc.bold(report.uptime)}`,
11
+ ` ${pc.gray('Interactions:')} ${pc.bold(report.totalInteractions.toString())}`,
12
+ ` ${pc.gray('Total Tokens:')} ${pc.bold(pc.cyan(report.totalTokens.toLocaleString()))}`,
13
+ ` ${pc.gray('Prompt Tokens:')} ${pc.bold(report.promptTokens.toLocaleString())}`,
14
+ ` ${pc.gray('Completion:')} ${pc.bold(report.completionTokens.toLocaleString())}`,
15
+ ` ${pc.gray('Error Count:')} ${report.totalErrors > 0 ? pc.bold(pc.red(report.totalErrors.toString())) : pc.bold(pc.green('0'))}`,
16
+ ` ${pc.dim('─'.repeat(width - 4))}`,
14
17
  ];
15
18
  return lines.join('\n');
16
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stats.js","sourceRoot":"","sources":["../../src/commands/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,UAAU,kBAAkB;IAChC,MAAM,MAAM,GAAG,kBAAkB,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,KAAK,GAAG;QACZ,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,+DAA+D,CAAC,CAAC;QACjF,KAAK,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,MAAM,CAAC,MAAM,IAAI;QACrD,KAAK,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,OAAO,MAAM,CAAC,iBAAiB,IAAI;QAChE,KAAK,EAAE,CAAC,IAAI,CAAC,eAAe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,eAAe,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC,EAAE;QACpF,KAAK,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE;QAC7F,KAAK,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,EAAE;QACrF,KAAK,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,cAAc,EAAE,CAAC,EAAE;QACzF,KAAK,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,UAAU,MAAM,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE;QACxI,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE;KACrC,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"daedalus-cli","version":"1.65.0","description":"Local-first AI coding CLI with embedded model router, multi-agent orchestration, and codebase indexing","type":"module","bin":{"daedalus":"dist/index.js"},"files":["dist/","Daedalus.bat","README.md","CHANGELOG.md","CONTRIBUTING.md","CODE_OF_CONDUCT.md","SECURITY.md","AGENTS.md","scripts/postinstall.js"],"scripts":{"start":"tsx src/index.ts","bot":"tsx src/bot.ts","dev":"tsx watch src/index.ts","build":"tsc","prepublishOnly":"npm run build","test":"vitest run","lint":"eslint src --ext .ts","sync-docs":"tsx scripts/sync-docs.ts","postinstall":"node scripts/postinstall.js"},"engines":{"node":">=20.0.0"},"repository":{"type":"git","url":"git+https://github.com/bgill55/daedalus.git"},"homepage":"https://github.com/bgill55/daedalus#readme","bugs":{"url":"https://github.com/bgill55/daedalus/issues"},"keywords":["cli","ai","coding","assistant","local","llm","lm-studio","ollama","mcp","developer-tools"],"license":"MIT","dependencies":{"better-sqlite3":"^12.10.0","cli-highlight":"^2.1.11","diff":"^7.0.0","neo-blessed":"^0.2.0","openai":"^4.85.4","pdf-parse":"^2.4.5","picocolors":"^1.1.1","puppeteer-core":"^25.1.0","zod":"^3.23.8"},"devDependencies":{"@eslint/js":"^10.0.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/github":"^11.0.6","@semantic-release/npm":"^12.0.2","@types/better-sqlite3":"^7.6.13","@types/blessed":"^0.1.27","@types/diff":"^6.0.0","@types/node":"^22.15.3","conventional-changelog-conventionalcommits":"^8.0.0","esbuild":"^0.24.0","eslint":"^10.5.0","globals":"^16.5.0","semantic-release":"^25.0.5","tsx":"^4.19.4","typescript":"^5.8.3","typescript-eslint":"^8.61.1","vitest":"^2.1.8"}}
1
+ {"name":"daedalus-cli","version":"1.65.1","description":"Local-first AI coding CLI with embedded model router, multi-agent orchestration, and codebase indexing","type":"module","bin":{"daedalus":"dist/index.js"},"files":["dist/","Daedalus.bat","README.md","CHANGELOG.md","CONTRIBUTING.md","CODE_OF_CONDUCT.md","SECURITY.md","AGENTS.md","scripts/postinstall.js"],"scripts":{"start":"tsx src/index.ts","bot":"tsx src/bot.ts","dev":"tsx watch src/index.ts","build":"tsc","prepublishOnly":"npm run build","test":"vitest run","lint":"eslint src --ext .ts","sync-docs":"tsx scripts/sync-docs.ts","postinstall":"node scripts/postinstall.js"},"engines":{"node":">=20.0.0"},"repository":{"type":"git","url":"git+https://github.com/bgill55/daedalus.git"},"homepage":"https://github.com/bgill55/daedalus#readme","bugs":{"url":"https://github.com/bgill55/daedalus/issues"},"keywords":["cli","ai","coding","assistant","local","llm","lm-studio","ollama","mcp","developer-tools"],"license":"MIT","dependencies":{"better-sqlite3":"^12.10.0","cli-highlight":"^2.1.11","diff":"^7.0.0","neo-blessed":"^0.2.0","openai":"^4.85.4","pdf-parse":"^2.4.5","picocolors":"^1.1.1","puppeteer-core":"^25.1.0","zod":"^3.23.8"},"devDependencies":{"@eslint/js":"^10.0.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/github":"^11.0.6","@semantic-release/npm":"^12.0.2","@types/better-sqlite3":"^7.6.13","@types/blessed":"^0.1.27","@types/diff":"^6.0.0","@types/node":"^22.15.3","conventional-changelog-conventionalcommits":"^8.0.0","esbuild":"^0.24.0","eslint":"^10.5.0","globals":"^16.5.0","semantic-release":"^25.0.5","tsx":"^4.19.4","typescript":"^5.8.3","typescript-eslint":"^8.61.1","vitest":"^2.1.8"}}