tuneloop 0.1.0

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/dist/index.js ADDED
@@ -0,0 +1,49 @@
1
+ import {
2
+ PRICE_TABLE_VERSION,
3
+ QueryError,
4
+ Store,
5
+ addUsage,
6
+ analyze,
7
+ canonicalSchema,
8
+ computeSessionCost,
9
+ costOfUsage,
10
+ createDashboardServer,
11
+ createLlmClient,
12
+ describeSchema,
13
+ emptyUsage,
14
+ getAdapters,
15
+ getProcessors,
16
+ loadConfig,
17
+ orderProcessors,
18
+ priceFor,
19
+ registerAdapter,
20
+ registerProcessor,
21
+ runProcessors,
22
+ runQuery,
23
+ serve
24
+ } from "./chunk-RB45XK57.js";
25
+ export {
26
+ PRICE_TABLE_VERSION,
27
+ QueryError,
28
+ Store,
29
+ addUsage,
30
+ analyze,
31
+ canonicalSchema,
32
+ computeSessionCost,
33
+ costOfUsage,
34
+ createDashboardServer,
35
+ createLlmClient,
36
+ describeSchema,
37
+ emptyUsage,
38
+ getAdapters,
39
+ getProcessors,
40
+ loadConfig,
41
+ orderProcessors,
42
+ priceFor,
43
+ registerAdapter,
44
+ registerProcessor,
45
+ runProcessors,
46
+ runQuery,
47
+ serve
48
+ };
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "tuneloop",
3
+ "version": "0.1.0",
4
+ "description": "Local analytics for your AI coding sessions. Count outcomes, not tokens.",
5
+ "license": "MIT",
6
+ "author": "Tuneloop (https://tuneloop.io)",
7
+ "homepage": "https://github.com/tuneloop/tuneloop#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/tuneloop/tuneloop.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/tuneloop/tuneloop/issues"
14
+ },
15
+ "type": "module",
16
+ "bin": {
17
+ "tuneloop": "./dist/cli.js"
18
+ },
19
+ "main": "./dist/index.js",
20
+ "types": "./dist/index.d.ts",
21
+ "files": [
22
+ "dist",
23
+ "README.md",
24
+ "LICENSE"
25
+ ],
26
+ "engines": {
27
+ "node": ">=20"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
32
+ "scripts": {
33
+ "prebuild": "node scripts/clean.mjs",
34
+ "build": "tsup",
35
+ "dev": "tsup && tsx src/cli.ts",
36
+ "watch": "tsup --watch",
37
+ "typecheck": "tsc --noEmit",
38
+ "typecheck:client": "tsc -p src/server/client --noEmit",
39
+ "gen:query-skill": "tsx scripts/gen-query-schema.ts",
40
+ "test": "vitest run",
41
+ "prepublishOnly": "npm run build"
42
+ },
43
+ "keywords": [
44
+ "claude-code",
45
+ "codex",
46
+ "ai",
47
+ "ai-agents",
48
+ "analytics",
49
+ "llm",
50
+ "observability",
51
+ "developer-tools",
52
+ "tuneloop"
53
+ ],
54
+ "dependencies": {
55
+ "@anthropic-ai/sdk": "^0.105.0",
56
+ "better-sqlite3": "^12.11.1",
57
+ "commander": "^12.1.0",
58
+ "openai": "^6.44.0"
59
+ },
60
+ "devDependencies": {
61
+ "@types/better-sqlite3": "^7.6.11",
62
+ "@types/node": "^20.11.0",
63
+ "tsup": "^8.3.5",
64
+ "tsx": "^4.19.2",
65
+ "typescript": "^5.7.2",
66
+ "vitest": "^4.1.9"
67
+ }
68
+ }