getprismo 0.1.5 → 0.1.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,6 +1,8 @@
1
1
  module.exports = function createScan(deps) {
2
2
  const {
3
3
  fs,
4
+ http,
5
+ https,
4
6
  os,
5
7
  path,
6
8
  HIGH_RISK_DIRS,
@@ -1678,6 +1678,11 @@ function compactWatchSession(session) {
1678
1678
  displayTokens: session.displayTokens,
1679
1679
  contextTokens: session.contextTokens,
1680
1680
  estimatedToolTokens: session.estimatedToolTokens,
1681
+ exactInputTokens: session.exactInputTokens || 0,
1682
+ exactOutputTokens: session.exactOutputTokens || 0,
1683
+ exactCacheReadTokens: session.exactCacheReadTokens || 0,
1684
+ exactCacheCreationTokens: session.exactCacheCreationTokens || 0,
1685
+ exactTotalTokens: session.exactTotalTokens || 0,
1681
1686
  exactAvailable: session.exactAvailable,
1682
1687
  confidence: session.confidence,
1683
1688
  contextRisk: session.contextRisk,
@@ -153,6 +153,8 @@ const {
153
153
 
154
154
  const scanApi = require("./prismo-dev/scan")({
155
155
  fs,
156
+ http,
157
+ https,
156
158
  os,
157
159
  path,
158
160
  HIGH_RISK_DIRS,
@@ -720,7 +722,7 @@ async function runCli(argv) {
720
722
 
721
723
  const summary = getUsageSummary(usageOptions);
722
724
  if (json) {
723
- console.log(JSON.stringify(summary, null, 2));
725
+ console.log(JSON.stringify(compactUsageSummary(summary), null, 2));
724
726
  return;
725
727
  }
726
728
  console.log(renderUsageTerminal(summary));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "getprismo",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Local AI coding workflow scanner for Codex, Claude Code, Cursor, and token-waste diagnostics.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/shanirsh/prismodev#readme",