codeslop 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.
- package/bin/wasted.js +3 -3
- package/lib/config.js +1 -1
- package/lib/store.js +2 -2
- package/package.json +1 -1
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 ~/.
|
|
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,8 +94,8 @@ 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} ~/.
|
|
98
|
-
${D}config:${X} ~/.
|
|
97
|
+
${D}local db:${X} ~/.codeslop/codeslop.db
|
|
98
|
+
${D}config:${X} ~/.codeslop/config.json
|
|
99
99
|
|
|
100
100
|
${B}next steps:${X}
|
|
101
101
|
${G}codeslop setup${X} → install /slop into Claude Code & Cursor
|
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(), '.
|
|
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(), '.
|
|
9
|
-
const DB_PATH = join(DIR, '
|
|
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