codeslop 0.1.5 → 0.1.7

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/bin/wasted.js CHANGED
@@ -52,7 +52,7 @@ ${R}${B} codeslop ${X}${D}— tracking every dollar your AI agent lights on fire
52
52
  ${G}codeslop scan${X} detect installed AI clients
53
53
  ${G}codeslop cats${X} list categories
54
54
 
55
- ${D}data stored locally at ~/.wasted/
55
+ ${D}data stored locally at ~/.codeslop/
56
56
  only aggregated summaries leave your machine (stream: daily)
57
57
  no prompts, no file paths, no descriptions are ever sent.
58
58
  codeslop.org${X}
@@ -94,14 +94,15 @@ async function init() {
94
94
 
95
95
  console.log(`
96
96
  ${D}stream mode:${X} ${Y}daily${X} ${D}(only aggregated summaries leave your machine)${X}
97
- ${D}local db:${X} ~/.wasted/wasted.db
98
- ${D}config:${X} ~/.wasted/config.json
99
-
100
- ${B}next steps:${X}
101
- ${G}codeslop setup${X} → install /slop into Claude Code & Cursor
102
- ${G}codeslop scan${X} → detect your AI clients
103
- ${G}codeslop log${X} → record waste manually
97
+ ${D}local db:${X} ~/.codeslop/codeslop.db
98
+ ${D}config:${X} ~/.codeslop/config.json
104
99
  `);
100
+
101
+ // Auto-run setup to install into AI clients
102
+ console.log(` ${B}installing into your AI clients...${X}\n`);
103
+ await setup();
104
+
105
+ console.log(` ${Y}${B}⚡ start a new agent session, then type /slop to scan for waste${X}\n`);
105
106
  }
106
107
 
107
108
  async function setup() {
package/lib/config.js CHANGED
@@ -2,7 +2,7 @@ import { readFileSync, writeFileSync, mkdirSync } from 'fs';
2
2
  import { join } from 'path';
3
3
  import { homedir } from 'os';
4
4
 
5
- const DIR = join(homedir(), '.wasted');
5
+ const DIR = join(homedir(), '.codeslop');
6
6
  const FILE = join(DIR, 'config.json');
7
7
 
8
8
  const DEFAULTS = {
package/lib/store.js CHANGED
@@ -5,8 +5,8 @@ import { homedir } from 'os';
5
5
  import { randomUUID } from 'crypto';
6
6
  import { wasteCost } from '../shared/pricing.js';
7
7
 
8
- const DIR = join(homedir(), '.wasted');
9
- const DB_PATH = join(DIR, 'wasted.db');
8
+ const DIR = join(homedir(), '.codeslop');
9
+ const DB_PATH = join(DIR, 'codeslop.db');
10
10
 
11
11
  let _db;
12
12
  function db() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeslop",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Track every dollar your AI agent lights on fire. Works with Claude Code, Cursor, Windsurf, Copilot, Aider, OpenCode. codeslop.org",
5
5
  "bin": {
6
6
  "codeslop": "./bin/wasted.js"