big-spender 0.0.0-stage → 0.2.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.
@@ -0,0 +1,27 @@
1
+ import { fileStore } from '../store.js';
2
+ import { summarize } from '../summary.js';
3
+ import { createIngest } from './ingest.js';
4
+ export { DEVICE_ID, PROVIDERS, RANGES, usageRowSchema, usageSnapshotSchema } from '../schema.js';
5
+ export { OTHER, PALETTE, resolveDevices } from '../devices.js';
6
+ export { summarize } from '../summary.js';
7
+ const SUMMARY_TTL_MS = 5 * 60 * 1000;
8
+ export function createBigSpender({ dataDir, ingestToken, devices }) {
9
+ const store = fileStore(dataDir);
10
+ let cache = null;
11
+ return {
12
+ ingest: createIngest({
13
+ store,
14
+ token: ingestToken,
15
+ onStored: () => {
16
+ cache = null;
17
+ }
18
+ }),
19
+ async summary(now = Date.now()) {
20
+ if (cache && now - cache.computedAt < SUMMARY_TTL_MS)
21
+ return cache.value;
22
+ const value = summarize(await store.list(), now, devices);
23
+ cache = { value, computedAt: now };
24
+ return value;
25
+ }
26
+ };
27
+ }
@@ -0,0 +1,7 @@
1
+ import type { SnapshotStore } from '../store.ts';
2
+ export type IngestOptions = {
3
+ store: SnapshotStore;
4
+ token: string | undefined;
5
+ onStored: () => void;
6
+ };
7
+ export declare function createIngest({ store, token, onStored }: IngestOptions): (request: Request) => Promise<Response>;
@@ -0,0 +1,93 @@
1
+ import { createHash, timingSafeEqual } from 'node:crypto';
2
+ import { usageSnapshotSchema } from '../schema.js';
3
+ // Collectors POST one device's full snapshot here (optionally gzip-encoded).
4
+ const MAX_BODY_BYTES = 2 * 1024 * 1024;
5
+ const MAX_DECODED_BYTES = 16 * 1024 * 1024;
6
+ const digest = (s) => createHash('sha256').update(s).digest();
7
+ function authorized(header, expected) {
8
+ const match = /^Bearer (.+)$/.exec(header ?? '');
9
+ if (!match)
10
+ return false;
11
+ // Hash both sides so the comparison is constant-time regardless of length.
12
+ return timingSafeEqual(digest(match[1]), digest(expected));
13
+ }
14
+ class TooLarge extends Error {
15
+ }
16
+ async function readCapped(stream, max) {
17
+ const reader = stream.getReader();
18
+ const chunks = [];
19
+ let size = 0;
20
+ for (;;) {
21
+ const { done, value } = await reader.read();
22
+ if (done)
23
+ break;
24
+ size += value.byteLength;
25
+ if (size > max) {
26
+ await reader.cancel();
27
+ throw new TooLarge();
28
+ }
29
+ chunks.push(value);
30
+ }
31
+ const out = new Uint8Array(size);
32
+ let offset = 0;
33
+ for (const c of chunks) {
34
+ out.set(c, offset);
35
+ offset += c.byteLength;
36
+ }
37
+ return out;
38
+ }
39
+ export function createIngest({ store, token, onStored }) {
40
+ const expected = token?.trim();
41
+ return async function ingest(request) {
42
+ if (!expected)
43
+ return Response.json({ error: 'ingest is not configured' }, { status: 503 });
44
+ if (!authorized(request.headers.get('authorization'), expected)) {
45
+ return Response.json({ error: 'unauthorized' }, { status: 401 });
46
+ }
47
+ const declared = Number(request.headers.get('content-length') ?? 0);
48
+ if (declared > MAX_BODY_BYTES)
49
+ return Response.json({ error: 'body too large' }, { status: 413 });
50
+ if (!request.body)
51
+ return Response.json({ error: 'empty body' }, { status: 400 });
52
+ const encoding = (request.headers.get('content-encoding') ?? '').trim().toLowerCase();
53
+ if (encoding && encoding !== 'gzip' && encoding !== 'identity') {
54
+ return Response.json({ error: 'unsupported content-encoding' }, { status: 415 });
55
+ }
56
+ let text;
57
+ try {
58
+ const raw = await readCapped(request.body, MAX_BODY_BYTES);
59
+ const decoded = encoding === 'gzip'
60
+ ? await readCapped(new Blob([raw]).stream().pipeThrough(new DecompressionStream('gzip')), MAX_DECODED_BYTES)
61
+ : raw;
62
+ text = new TextDecoder().decode(decoded);
63
+ }
64
+ catch (err) {
65
+ if (err instanceof TooLarge)
66
+ return Response.json({ error: 'body too large' }, { status: 413 });
67
+ return Response.json({ error: 'could not read body' }, { status: 400 });
68
+ }
69
+ let body;
70
+ try {
71
+ body = JSON.parse(text);
72
+ }
73
+ catch {
74
+ return Response.json({ error: 'invalid JSON' }, { status: 400 });
75
+ }
76
+ const parsed = usageSnapshotSchema.safeParse(body);
77
+ if (!parsed.success) {
78
+ const issues = parsed.error.issues
79
+ .slice(0, 5)
80
+ .map((i) => `${i.path.join('.') || '(root)'}: ${i.message}`);
81
+ return Response.json({ error: 'invalid snapshot', issues }, { status: 422 });
82
+ }
83
+ const result = await store.save(parsed.data);
84
+ if (result === 'stored')
85
+ onStored();
86
+ return Response.json({
87
+ ok: true,
88
+ deviceId: parsed.data.deviceId,
89
+ rows: parsed.data.hourly.length,
90
+ result
91
+ });
92
+ };
93
+ }
@@ -0,0 +1,7 @@
1
+ import { type UsageSnapshot } from './schema.ts';
2
+ export type SaveResult = 'stored' | 'stale';
3
+ export type SnapshotStore = {
4
+ list(): Promise<UsageSnapshot[]>;
5
+ save(snapshot: UsageSnapshot): Promise<SaveResult>;
6
+ };
7
+ export declare function fileStore(dir: string): SnapshotStore;
package/dist/store.js ADDED
@@ -0,0 +1,68 @@
1
+ import { mkdir, readdir, readFile, rename, writeFile } from 'node:fs/promises';
2
+ import { join, resolve } from 'node:path';
3
+ import { mergeSnapshots } from './history.js';
4
+ import { DEVICE_ID, usageSnapshotSchema } from './schema.js';
5
+ async function loadFromDisk(dir) {
6
+ const out = new Map();
7
+ let names;
8
+ try {
9
+ names = await readdir(dir);
10
+ }
11
+ catch {
12
+ return out;
13
+ }
14
+ for (const name of names) {
15
+ const id = name.replace(/\.json$/, '');
16
+ if (!name.endsWith('.json') || !DEVICE_ID.test(id))
17
+ continue;
18
+ try {
19
+ const parsed = usageSnapshotSchema.safeParse(JSON.parse(await readFile(join(dir, name), 'utf8')));
20
+ if (parsed.success && parsed.data.deviceId === id)
21
+ out.set(id, parsed.data);
22
+ else
23
+ console.warn(`[big-spender] ignoring invalid snapshot file ${name}`);
24
+ }
25
+ catch (err) {
26
+ console.warn(`[big-spender] could not read ${name}:`, err instanceof Error ? err.message : err);
27
+ }
28
+ }
29
+ return out;
30
+ }
31
+ export function fileStore(dir) {
32
+ const root = resolve(dir);
33
+ let loading = null;
34
+ const snapshots = () => (loading ??= loadFromDisk(root));
35
+ let previousSave = Promise.resolve();
36
+ return {
37
+ async list() {
38
+ return [...(await snapshots()).values()];
39
+ },
40
+ save(snap) {
41
+ const run = previousSave.then(() => save(snap));
42
+ previousSave = run.catch(() => { });
43
+ return run;
44
+ }
45
+ };
46
+ async function save(snap) {
47
+ const all = await snapshots();
48
+ const current = all.get(snap.deviceId);
49
+ if (current && Date.parse(current.generatedAt) > Date.parse(snap.generatedAt)) {
50
+ return 'stale';
51
+ }
52
+ const { snapshot, droppedDays } = mergeSnapshots(current, snap);
53
+ // loadFromDisk skips an invalid file, which would lose the whole history.
54
+ if (!usageSnapshotSchema.safeParse(snapshot).success) {
55
+ throw new Error(`${snap.deviceId}: merged history is invalid, the stored file is kept`);
56
+ }
57
+ if (droppedDays > 0) {
58
+ console.warn(`[big-spender] ${snap.deviceId}: history is full, dropped the oldest ${droppedDays} day(s)`);
59
+ }
60
+ await mkdir(root, { recursive: true });
61
+ const file = join(root, `${snap.deviceId}.json`);
62
+ const tmp = `${file}.${process.pid}.${Date.now()}.tmp`;
63
+ await writeFile(tmp, JSON.stringify(snapshot));
64
+ await rename(tmp, file);
65
+ all.set(snap.deviceId, snapshot);
66
+ return 'stored';
67
+ }
68
+ }
@@ -0,0 +1,87 @@
1
+ import type { UsageProvider, UsageRange, UsageSnapshot } from './schema.ts';
2
+ import { type DeviceConfig } from './devices.ts';
3
+ export type CostByType = {
4
+ input: number;
5
+ cacheRead: number;
6
+ cacheWrite: number;
7
+ output: number;
8
+ };
9
+ export type SeriesPoint = {
10
+ start: string;
11
+ cost: number;
12
+ tokens: number;
13
+ };
14
+ export type ModelLine = {
15
+ provider: UsageProvider;
16
+ model: string;
17
+ cost: number;
18
+ /** Share of the range's cost. */
19
+ share: number;
20
+ tokens: number;
21
+ /** Share of the range's processed tokens. */
22
+ tokenShare: number;
23
+ };
24
+ export type ProviderLine = {
25
+ provider: UsageProvider;
26
+ cost: number;
27
+ /** Share of the range's cost. */
28
+ share: number;
29
+ tokens: number;
30
+ /** Share of the range's processed tokens. */
31
+ tokenShare: number;
32
+ sessions: number;
33
+ /** Cost and tokens per UTC day, aligned with the range's `series`. */
34
+ series: {
35
+ cost: number[];
36
+ tokens: number[];
37
+ };
38
+ };
39
+ /**
40
+ * One machine, under its public name (never the raw device id). Deliberately carries no
41
+ * report time: per-device timestamps would show when each machine is online.
42
+ */
43
+ export type DeviceLine = {
44
+ name: string;
45
+ color: string;
46
+ coverageStart: string;
47
+ pricingSource: string;
48
+ cost: number;
49
+ /** Cost per point, aligned with the range's `series`. */
50
+ series: number[];
51
+ };
52
+ export type RangeSummary = {
53
+ range: UsageRange;
54
+ from: string;
55
+ to: string;
56
+ totalCost: number;
57
+ sessions: number;
58
+ tokens: {
59
+ processed: number;
60
+ cachedInput: number;
61
+ uncachedInput: number;
62
+ cacheWrite: number;
63
+ output: number;
64
+ };
65
+ cacheSavings: number;
66
+ costByType: CostByType;
67
+ providers: ProviderLine[];
68
+ models: ModelLine[];
69
+ devices: DeviceLine[];
70
+ series: SeriesPoint[];
71
+ };
72
+ export type UsageSummary = {
73
+ generatedAt: string;
74
+ ranges: Record<UsageRange, RangeSummary>;
75
+ };
76
+ type Window = {
77
+ from: number;
78
+ to: number;
79
+ points: number;
80
+ };
81
+ /**
82
+ * Range windows end at the end of the current UTC day and are bucketed by day. Never by hour:
83
+ * an hourly breakdown per device would show when each machine is in use.
84
+ */
85
+ export declare function rangeWindow(range: UsageRange, now: number): Window;
86
+ export declare function summarize(snapshots: UsageSnapshot[], now: number, config: DeviceConfig): UsageSummary;
87
+ export {};
@@ -0,0 +1,150 @@
1
+ import { resolveDevices } from './devices.js';
2
+ const DAY_MS = 86_400_000;
3
+ /**
4
+ * Range windows end at the end of the current UTC day and are bucketed by day. Never by hour:
5
+ * an hourly breakdown per device would show when each machine is in use.
6
+ */
7
+ export function rangeWindow(range, now) {
8
+ const days = range === '7d' ? 7 : range === '30d' ? 30 : 90;
9
+ const to = Math.floor(now / DAY_MS) * DAY_MS + DAY_MS;
10
+ return { from: to - days * DAY_MS, to, points: days };
11
+ }
12
+ const rowCost = (r) => r.costUsd.input + r.costUsd.cacheRead + r.costUsd.cacheWrite + r.costUsd.output;
13
+ const rowTokens = (r) => r.inputTokens + r.cacheReadTokens + r.cacheWrite5mTokens + r.cacheWrite1hTokens + r.outputTokens;
14
+ function summarizeRange(range, snapshots, now, resolved) {
15
+ const w = rangeWindow(range, now);
16
+ const series = Array.from({ length: w.points }, (_, i) => ({
17
+ start: new Date(w.from + i * DAY_MS).toISOString(),
18
+ cost: 0,
19
+ tokens: 0
20
+ }));
21
+ const costByType = { input: 0, cacheRead: 0, cacheWrite: 0, output: 0 };
22
+ const tokens = { processed: 0, cachedInput: 0, uncachedInput: 0, cacheWrite: 0, output: 0 };
23
+ const models = new Map();
24
+ const providers = new Map();
25
+ const devices = new Map();
26
+ let cacheSavings = 0;
27
+ let sessions = 0;
28
+ const provider = (id) => {
29
+ let p = providers.get(id);
30
+ if (!p) {
31
+ p = {
32
+ provider: id,
33
+ cost: 0,
34
+ share: 0,
35
+ tokens: 0,
36
+ tokenShare: 0,
37
+ sessions: 0,
38
+ series: {
39
+ cost: new Array(w.points).fill(0),
40
+ tokens: new Array(w.points).fill(0)
41
+ }
42
+ };
43
+ providers.set(id, p);
44
+ }
45
+ return p;
46
+ };
47
+ for (const snap of snapshots) {
48
+ const { name, color } = resolved.get(snap.deviceId);
49
+ const device = devices.get(name) ?? {
50
+ name,
51
+ color,
52
+ coverageStart: snap.coverageStart,
53
+ pricingSource: snap.pricingSource,
54
+ cost: 0,
55
+ series: new Array(w.points).fill(0)
56
+ };
57
+ devices.set(name, device);
58
+ const active = new Set();
59
+ const counts = snap.sessionCounts?.[range];
60
+ for (const r of snap.hourly) {
61
+ const start = Date.parse(r.hour);
62
+ if (start < w.from || start >= w.to)
63
+ continue;
64
+ const cost = rowCost(r);
65
+ const tok = rowTokens(r);
66
+ if (tok > 0)
67
+ active.add(r.provider);
68
+ const idx = Math.floor((start - w.from) / DAY_MS);
69
+ device.cost += cost;
70
+ device.series[idx] += cost;
71
+ series[idx].cost += cost;
72
+ series[idx].tokens += tok;
73
+ costByType.input += r.costUsd.input;
74
+ costByType.cacheRead += r.costUsd.cacheRead;
75
+ costByType.cacheWrite += r.costUsd.cacheWrite;
76
+ costByType.output += r.costUsd.output;
77
+ tokens.processed += tok;
78
+ tokens.cachedInput += r.cacheReadTokens;
79
+ tokens.uncachedInput += r.inputTokens;
80
+ tokens.cacheWrite += r.cacheWrite5mTokens + r.cacheWrite1hTokens;
81
+ tokens.output += r.outputTokens;
82
+ cacheSavings += r.cacheSavingsUsd;
83
+ const mKey = `${r.provider}|${r.model}`;
84
+ const m = models.get(mKey) ?? {
85
+ provider: r.provider,
86
+ model: r.model,
87
+ cost: 0,
88
+ share: 0,
89
+ tokens: 0,
90
+ tokenShare: 0
91
+ };
92
+ m.cost += cost;
93
+ m.tokens += tok;
94
+ models.set(mKey, m);
95
+ const p = provider(r.provider);
96
+ p.cost += cost;
97
+ p.tokens += tok;
98
+ p.series.cost[idx] += cost;
99
+ p.series.tokens[idx] += tok;
100
+ }
101
+ // Session counts are relative to the device's last report. Only count a provider
102
+ // that has usage inside this window, so an offline device's old sessions drop out.
103
+ if (counts) {
104
+ for (const id of active) {
105
+ if (!counts[id])
106
+ continue;
107
+ sessions += counts[id];
108
+ provider(id).sessions += counts[id];
109
+ }
110
+ }
111
+ }
112
+ const totalCost = costByType.input + costByType.cacheRead + costByType.cacheWrite + costByType.output;
113
+ const share = (c) => (totalCost > 0 ? c / totalCost : 0);
114
+ const tokenShare = (t) => (tokens.processed > 0 ? t / tokens.processed : 0);
115
+ const byCost = (a, b) => b.cost - a.cost || b.tokens - a.tokens;
116
+ const order = new Map();
117
+ for (const d of resolved.values())
118
+ order.set(d.name, Math.min(order.get(d.name) ?? d.order, d.order));
119
+ return {
120
+ range,
121
+ from: new Date(w.from).toISOString(),
122
+ to: new Date(w.to).toISOString(),
123
+ totalCost,
124
+ sessions,
125
+ tokens,
126
+ cacheSavings,
127
+ costByType,
128
+ providers: [...providers.values()]
129
+ .filter((p) => p.cost > 0 || p.tokens > 0 || p.sessions > 0)
130
+ .map((p) => ({ ...p, share: share(p.cost), tokenShare: tokenShare(p.tokens) }))
131
+ .sort(byCost),
132
+ models: [...models.values()]
133
+ .map((m) => ({ ...m, share: share(m.cost), tokenShare: tokenShare(m.tokens) }))
134
+ .sort(byCost),
135
+ devices: [...devices.values()].sort((a, b) => order.get(a.name) - order.get(b.name)),
136
+ series
137
+ };
138
+ }
139
+ export function summarize(snapshots, now, config) {
140
+ // Resolved once over every device, so a device keeps its name and colour in every range.
141
+ const resolved = resolveDevices(snapshots.map((s) => s.deviceId), config);
142
+ return {
143
+ generatedAt: new Date(now).toISOString(),
144
+ ranges: {
145
+ '7d': summarizeRange('7d', snapshots, now, resolved),
146
+ '30d': summarizeRange('30d', snapshots, now, resolved),
147
+ '90d': summarizeRange('90d', snapshots, now, resolved)
148
+ }
149
+ };
150
+ }
package/package.json CHANGED
@@ -1,6 +1,66 @@
1
1
  {
2
- "name": "big-spender",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
2
+ "name": "big-spender",
3
+ "version": "0.2.0",
4
+ "description": "Track what your AI coding agents would cost at API prices, across all your machines.",
5
+ "keywords": [
6
+ "ai",
7
+ "usage",
8
+ "cost",
9
+ "tokens",
10
+ "claude-code",
11
+ "codex",
12
+ "ccusage",
13
+ "self-hosted",
14
+ "dashboard"
15
+ ],
16
+ "author": "jeffreyyvdb",
17
+ "homepage": "https://github.com/Jeffreyyvdb/big-spender#readme",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/Jeffreyyvdb/big-spender.git"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/Jeffreyyvdb/big-spender/issues"
24
+ },
25
+ "type": "module",
26
+ "license": "MIT",
27
+ "bin": {
28
+ "big-spender": "dist/cli.js"
29
+ },
30
+ "exports": {
31
+ "./server": {
32
+ "types": "./dist/server/index.d.ts",
33
+ "default": "./dist/server/index.js"
34
+ }
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "templates",
39
+ "README.md",
40
+ "LICENSE"
41
+ ],
42
+ "engines": {
43
+ "node": ">=20"
44
+ },
45
+ "scripts": {
46
+ "build": "tsc -p tsconfig.build.json && node scripts/copy-assets.mjs",
47
+ "check": "tsc",
48
+ "test": "node --test test/*.test.ts",
49
+ "format": "prettier --write .",
50
+ "prepublishOnly": "npm run build && npm test"
51
+ },
52
+ "dependencies": {
53
+ "zod": "^4.6.7"
54
+ },
55
+ "devDependencies": {
56
+ "@semantic-release/commit-analyzer": "^13.0.1",
57
+ "@semantic-release/github": "^12.0.11",
58
+ "@semantic-release/npm": "^13.2.0",
59
+ "@semantic-release/release-notes-generator": "^14.1.1",
60
+ "@types/node": "^22.20.5",
61
+ "conventional-changelog-conventionalcommits": "^9.3.1",
62
+ "prettier": "^3.10.1",
63
+ "semantic-release": "^25.0.9",
64
+ "typescript": "^7.0.2"
65
+ }
66
+ }
@@ -0,0 +1,14 @@
1
+ # ~/.config/systemd/user/big-spender.service (`big-spender install` replaces __NODE__)
2
+ [Unit]
3
+ Description=Push AI coding usage stats to your big-spender server
4
+ Wants=network-online.target
5
+ After=network-online.target
6
+
7
+ [Service]
8
+ Type=oneshot
9
+ # Also read by the collector itself; listed here so `systemctl --user show` reflects it.
10
+ EnvironmentFile=__ENV_FILE__
11
+ __ENVIRONMENT__
12
+ ExecStart=__NODE__ %h/.local/share/big-spender/collector.mjs
13
+ Nice=10
14
+ IOSchedulingClass=idle
@@ -0,0 +1,12 @@
1
+ # ~/.config/systemd/user/big-spender.timer
2
+ [Unit]
3
+ Description=Hourly AI coding usage push
4
+
5
+ [Timer]
6
+ OnCalendar=hourly
7
+ # Run at boot/login if a run was missed while the machine was off.
8
+ Persistent=true
9
+ RandomizedDelaySec=5min
10
+
11
+ [Install]
12
+ WantedBy=timers.target
@@ -0,0 +1,9 @@
1
+ # ~/.config/big-spender/env (chmod 600)
2
+ # Read by the collector on every run. Variables already set in the environment win.
3
+
4
+ # Stable slug for this machine: lowercase letters, digits and dashes (e.g. laptop, desktop).
5
+ BIG_SPENDER_DEVICE_ID=
6
+ # Your big-spender server's ingest endpoint, e.g. https://example.com/api/usage/ingest
7
+ BIG_SPENDER_INGEST_URL=
8
+ # Same value as BIG_SPENDER_INGEST_TOKEN on the server.
9
+ BIG_SPENDER_INGEST_TOKEN=
@@ -0,0 +1,39 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <!--
4
+ ~/Library/LaunchAgents/local.big-spender.plist
5
+ `big-spender install` replaces __HOME__ and __NODE__. Secrets live in the env file
6
+ (~/.config/big-spender/env by default, chmod 600), not in this file.
7
+ -->
8
+ <plist version="1.0">
9
+ <dict>
10
+ <key>Label</key>
11
+ <string>local.big-spender</string>
12
+ <key>ProgramArguments</key>
13
+ <array>
14
+ <string>__NODE__</string>
15
+ <string>__HOME__/.local/share/big-spender/collector.mjs</string>
16
+ </array>
17
+ __ENVIRONMENT__
18
+ <!--
19
+ Wall-clock schedule, not StartInterval: StartInterval counts only awake time, so a laptop
20
+ that sleeps with the lid closed can go hours without a run. A calendar slot missed during
21
+ sleep fires once on wake instead.
22
+ -->
23
+ <key>StartCalendarInterval</key>
24
+ <dict>
25
+ <key>Minute</key>
26
+ <integer>0</integer>
27
+ </dict>
28
+ <key>RunAtLoad</key>
29
+ <true/>
30
+ <key>ProcessType</key>
31
+ <string>Background</string>
32
+ <key>LowPriorityIO</key>
33
+ <true/>
34
+ <key>StandardOutPath</key>
35
+ <string>__HOME__/Library/Logs/big-spender.log</string>
36
+ <key>StandardErrorPath</key>
37
+ <string>__HOME__/Library/Logs/big-spender.log</string>
38
+ </dict>
39
+ </plist>