chompyy 0.4.7 → 0.6.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/README.md +40 -6
- package/dist/advice.js +2 -1
- package/dist/agentlimits.js +77 -0
- package/dist/agentusage.js +96 -0
- package/dist/appstate.js +72 -5
- package/dist/away.js +44 -5
- package/dist/blueprint.js +3 -7
- package/dist/board.js +4 -0
- package/dist/cli.js +328 -15
- package/dist/codexquota.js +106 -0
- package/dist/codexusage.js +10 -0
- package/dist/config.js +2 -0
- package/dist/context.js +30 -0
- package/dist/costs.js +1 -0
- package/dist/daytime.js +68 -0
- package/dist/demon.js +20 -0
- package/dist/didwork.js +46 -0
- package/dist/label.js +33 -0
- package/dist/learning.js +35 -0
- package/dist/menu.js +17 -0
- package/dist/nightcap.js +60 -0
- package/dist/nudge.js +47 -18
- package/dist/pacing.js +16 -1
- package/dist/questions.js +71 -0
- package/dist/recap.js +74 -0
- package/dist/receipt.js +48 -0
- package/dist/recipe.js +79 -0
- package/dist/send.js +46 -20
- package/dist/stamps.js +14 -0
- package/dist/taste.js +67 -7
- package/dist/triggers.js +5 -0
- package/dist/unkeep.js +220 -0
- package/dist/usage.js +21 -1
- package/dist/vendor/codeburn/antigravity.js +309 -0
- package/dist/vendor/codeburn/codex.js +429 -0
- package/dist/vendor/codeburn/copilot.js +292 -0
- package/dist/vendor/codeburn/gemini.js +195 -0
- package/dist/vendor/codeburn/grokbot.js +182 -0
- package/dist/vendor/codeburn/kimi.js +178 -0
- package/dist/vendor/codeburn/shims/chalk.js +14 -0
- package/dist/vendor/codeburn/shims/strip-ansi.js +6 -0
- package/dist/vendor/codeburn/src/act/backup.js +83 -0
- package/dist/vendor/codeburn/src/act/model-defaults.js +151 -0
- package/dist/vendor/codeburn/src/act/types.js +37 -0
- package/dist/vendor/codeburn/src/bash-utils.js +204 -0
- package/dist/vendor/codeburn/src/behavioral-weight.js +47 -0
- package/dist/vendor/codeburn/src/cache-dir.js +26 -0
- package/dist/vendor/codeburn/src/cache-refresh-lock.js +543 -0
- package/dist/vendor/codeburn/src/cache-sweep.js +67 -0
- package/dist/vendor/codeburn/src/classifier.js +209 -0
- package/dist/vendor/codeburn/src/claude-identity.js +223 -0
- package/dist/vendor/codeburn/src/codex-cache.js +377 -0
- package/dist/vendor/codeburn/src/codex-fork-replay.js +232 -0
- package/dist/vendor/codeburn/src/codex-jsonl-fields.js +99 -0
- package/dist/vendor/codeburn/src/codex-session-index.js +113 -0
- package/dist/vendor/codeburn/src/codex-throughput.js +544 -0
- package/dist/vendor/codeburn/src/compare-stats.js +405 -0
- package/dist/vendor/codeburn/src/config.js +145 -0
- package/dist/vendor/codeburn/src/content-utils.js +56 -0
- package/dist/vendor/codeburn/src/context-tree-codex.js +329 -0
- package/dist/vendor/codeburn/src/context-tree.js +664 -0
- package/dist/vendor/codeburn/src/copilot-aiu.js +16 -0
- package/dist/vendor/codeburn/src/currency.js +189 -0
- package/dist/vendor/codeburn/src/cursor-cache.js +238 -0
- package/dist/vendor/codeburn/src/cursor-import.js +402 -0
- package/dist/vendor/codeburn/src/cursor-sync.js +256 -0
- package/dist/vendor/codeburn/src/daily-cache.js +2036 -0
- package/dist/vendor/codeburn/src/data/litellm-snapshot.json +1 -0
- package/dist/vendor/codeburn/src/data/pricing-fallback.json +1 -0
- package/dist/vendor/codeburn/src/day-aggregator.js +327 -0
- package/dist/vendor/codeburn/src/editor-data-dir.js +11 -0
- package/dist/vendor/codeburn/src/fetch-utils.js +18 -0
- package/dist/vendor/codeburn/src/format.js +118 -0
- package/dist/vendor/codeburn/src/fs-utils.js +270 -0
- package/dist/vendor/codeburn/src/git-origin.js +334 -0
- package/dist/vendor/codeburn/src/granular-history.js +328 -0
- package/dist/vendor/codeburn/src/hermes-session-ledger.js +512 -0
- package/dist/vendor/codeburn/src/launcher-homes.js +142 -0
- package/dist/vendor/codeburn/src/live-sessions.js +358 -0
- package/dist/vendor/codeburn/src/math-utils.js +8 -0
- package/dist/vendor/codeburn/src/menubar-json.js +294 -0
- package/dist/vendor/codeburn/src/models.js +1879 -0
- package/dist/vendor/codeburn/src/optimize-one-hour-cache.js +92 -0
- package/dist/vendor/codeburn/src/optimize.js +4110 -0
- package/dist/vendor/codeburn/src/parse-workers.js +219 -0
- package/dist/vendor/codeburn/src/parser.js +6953 -0
- package/dist/vendor/codeburn/src/path-privacy.js +26 -0
- package/dist/vendor/codeburn/src/plans.js +135 -0
- package/dist/vendor/codeburn/src/pr-signals.js +132 -0
- package/dist/vendor/codeburn/src/project-filter-warnings.js +33 -0
- package/dist/vendor/codeburn/src/provider-issues.js +30 -0
- package/dist/vendor/codeburn/src/providers/amp.js +286 -0
- package/dist/vendor/codeburn/src/providers/antigravity.js +1731 -0
- package/dist/vendor/codeburn/src/providers/claude.js +551 -0
- package/dist/vendor/codeburn/src/providers/cline-cli.js +401 -0
- package/dist/vendor/codeburn/src/providers/cline.js +63 -0
- package/dist/vendor/codeburn/src/providers/codebuff.js +336 -0
- package/dist/vendor/codeburn/src/providers/codewhale.js +442 -0
- package/dist/vendor/codeburn/src/providers/codex.js +1720 -0
- package/dist/vendor/codeburn/src/providers/command-code.js +196 -0
- package/dist/vendor/codeburn/src/providers/copilot.js +3278 -0
- package/dist/vendor/codeburn/src/providers/crush.js +226 -0
- package/dist/vendor/codeburn/src/providers/cursor-agent.js +837 -0
- package/dist/vendor/codeburn/src/providers/cursor.js +1163 -0
- package/dist/vendor/codeburn/src/providers/devin.js +569 -0
- package/dist/vendor/codeburn/src/providers/droid.js +324 -0
- package/dist/vendor/codeburn/src/providers/dsh.js +690 -0
- package/dist/vendor/codeburn/src/providers/forge.js +245 -0
- package/dist/vendor/codeburn/src/providers/gemini.js +230 -0
- package/dist/vendor/codeburn/src/providers/goose.js +252 -0
- package/dist/vendor/codeburn/src/providers/grok.js +581 -0
- package/dist/vendor/codeburn/src/providers/grokbot.js +290 -0
- package/dist/vendor/codeburn/src/providers/hermes.js +771 -0
- package/dist/vendor/codeburn/src/providers/ibm-bob.js +53 -0
- package/dist/vendor/codeburn/src/providers/index.js +360 -0
- package/dist/vendor/codeburn/src/providers/kilo-code.js +50 -0
- package/dist/vendor/codeburn/src/providers/kimi.js +363 -0
- package/dist/vendor/codeburn/src/providers/kimicode.js +402 -0
- package/dist/vendor/codeburn/src/providers/kiro.js +1174 -0
- package/dist/vendor/codeburn/src/providers/lingtai-tui.js +372 -0
- package/dist/vendor/codeburn/src/providers/mistral-vibe-unified.js +236 -0
- package/dist/vendor/codeburn/src/providers/mistral-vibe.js +405 -0
- package/dist/vendor/codeburn/src/providers/mux.js +242 -0
- package/dist/vendor/codeburn/src/providers/open-design.js +217 -0
- package/dist/vendor/codeburn/src/providers/openclaude.js +309 -0
- package/dist/vendor/codeburn/src/providers/openclaw.js +442 -0
- package/dist/vendor/codeburn/src/providers/opencode-file-parser.js +131 -0
- package/dist/vendor/codeburn/src/providers/opencode.js +91 -0
- package/dist/vendor/codeburn/src/providers/pi.js +429 -0
- package/dist/vendor/codeburn/src/providers/quickdesk.js +491 -0
- package/dist/vendor/codeburn/src/providers/qwen.js +193 -0
- package/dist/vendor/codeburn/src/providers/session-message.js +118 -0
- package/dist/vendor/codeburn/src/providers/sqlite-session-parser.js +457 -0
- package/dist/vendor/codeburn/src/providers/types.js +5 -0
- package/dist/vendor/codeburn/src/providers/vercel-gateway.js +135 -0
- package/dist/vendor/codeburn/src/providers/vscode-cline-parser.js +212 -0
- package/dist/vendor/codeburn/src/providers/warp.js +575 -0
- package/dist/vendor/codeburn/src/providers/zcode.js +249 -0
- package/dist/vendor/codeburn/src/providers/zed.js +187 -0
- package/dist/vendor/codeburn/src/providers/zerostack.js +139 -0
- package/dist/vendor/codeburn/src/quota/antigravity.js +310 -0
- package/dist/vendor/codeburn/src/quota/claude.js +244 -0
- package/dist/vendor/codeburn/src/quota/cursor.js +301 -0
- package/dist/vendor/codeburn/src/quota/security.js +299 -0
- package/dist/vendor/codeburn/src/quota/types.js +1 -0
- package/dist/vendor/codeburn/src/scan-facts.js +99 -0
- package/dist/vendor/codeburn/src/session-cache.js +3040 -0
- package/dist/vendor/codeburn/src/session-count-label.js +14 -0
- package/dist/vendor/codeburn/src/session-output.js +139 -0
- package/dist/vendor/codeburn/src/session-population.js +30 -0
- package/dist/vendor/codeburn/src/sessions-report.js +1342 -0
- package/dist/vendor/codeburn/src/sqlite.js +528 -0
- package/dist/vendor/codeburn/src/sync/otlp.js +420 -0
- package/dist/vendor/codeburn/src/telemetry-snapshot.js +244 -0
- package/dist/vendor/codeburn/src/token-estimate.js +5 -0
- package/dist/vendor/codeburn/src/types.js +16 -0
- package/dist/vendor/codeburn/src/work-units.js +126 -0
- package/dist/vendor/codeburn/src/workflow-insights.js +228 -0
- package/dist/vendor/codeburn/src/wsl.js +198 -0
- package/dist/vendor/codeburn/src/yield.js +666 -0
- package/package.json +11 -3
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
// @ts-nocheck: codeburn type-checks this under its own tsconfig; Chompyy adds noUncheckedIndexedAccess (see UPSTREAM.md)
|
|
2
|
+
import { join } from 'path';
|
|
3
|
+
import { homedir, platform } from 'os';
|
|
4
|
+
import { calculateCost, getShortModelName, ownValue } from '../models.js';
|
|
5
|
+
import { extractBashCommands } from '../bash-utils.js';
|
|
6
|
+
import { isSqliteAvailable, getSqliteLoadError, openDatabase, blobToText } from '../sqlite.js';
|
|
7
|
+
const toolNameMap = {
|
|
8
|
+
developer__shell: 'Bash',
|
|
9
|
+
developer__text_editor: 'Edit',
|
|
10
|
+
developer__read_file: 'Read',
|
|
11
|
+
developer__write_file: 'Write',
|
|
12
|
+
developer__list_directory: 'LS',
|
|
13
|
+
developer__search_files: 'Grep',
|
|
14
|
+
computercontroller__shell: 'Bash',
|
|
15
|
+
};
|
|
16
|
+
function sanitize(dir) {
|
|
17
|
+
return dir.replace(/^\//, '').replace(/\//g, '-');
|
|
18
|
+
}
|
|
19
|
+
function getDbPath() {
|
|
20
|
+
const root = process.env['GOOSE_PATH_ROOT'];
|
|
21
|
+
if (root)
|
|
22
|
+
return join(root, 'data', 'sessions', 'sessions.db');
|
|
23
|
+
const p = platform();
|
|
24
|
+
if (p === 'darwin' || p === 'linux') {
|
|
25
|
+
const base = process.env['XDG_DATA_HOME'] ?? join(homedir(), '.local', 'share');
|
|
26
|
+
return join(base, 'goose', 'sessions', 'sessions.db');
|
|
27
|
+
}
|
|
28
|
+
return join(homedir(), 'AppData', 'Roaming', 'Block', 'goose', 'sessions', 'sessions.db');
|
|
29
|
+
}
|
|
30
|
+
function validateSchema(db) {
|
|
31
|
+
try {
|
|
32
|
+
db.query("SELECT COUNT(*) as cnt FROM sessions LIMIT 1");
|
|
33
|
+
db.query("SELECT COUNT(*) as cnt FROM messages LIMIT 1");
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
catch {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function parseModelConfig(raw) {
|
|
41
|
+
if (!raw)
|
|
42
|
+
return {};
|
|
43
|
+
try {
|
|
44
|
+
return JSON.parse(raw);
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
return {};
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function extractToolsFromMessages(db, sessionId) {
|
|
51
|
+
const tools = [];
|
|
52
|
+
const bashCommands = [];
|
|
53
|
+
const seen = new Set();
|
|
54
|
+
const toolSequence = [];
|
|
55
|
+
try {
|
|
56
|
+
const rows = db.query("SELECT CAST(content_json AS BLOB) AS content_json FROM messages WHERE session_id = ? AND role = 'assistant' AND content_json LIKE '%toolRequest%' ORDER BY created_timestamp ASC", [sessionId]);
|
|
57
|
+
for (const row of rows) {
|
|
58
|
+
let items;
|
|
59
|
+
try {
|
|
60
|
+
items = JSON.parse(blobToText(row.content_json));
|
|
61
|
+
}
|
|
62
|
+
catch {
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
const msgCalls = [];
|
|
66
|
+
for (const item of items) {
|
|
67
|
+
if (item.type !== 'toolRequest')
|
|
68
|
+
continue;
|
|
69
|
+
const rawName = item.toolCall?.value?.name ?? '';
|
|
70
|
+
if (!rawName)
|
|
71
|
+
continue;
|
|
72
|
+
const mapped = ownValue(toolNameMap, rawName) ?? rawName.split('__').pop() ?? rawName;
|
|
73
|
+
if (!seen.has(mapped)) {
|
|
74
|
+
seen.add(mapped);
|
|
75
|
+
tools.push(mapped);
|
|
76
|
+
}
|
|
77
|
+
const call = { tool: mapped };
|
|
78
|
+
const args = item.toolCall?.value?.arguments;
|
|
79
|
+
if (args && typeof args === 'object') {
|
|
80
|
+
const fp = args['file_path'];
|
|
81
|
+
if (typeof fp === 'string')
|
|
82
|
+
call.file = fp;
|
|
83
|
+
const cmd = args['command'];
|
|
84
|
+
if (typeof cmd === 'string')
|
|
85
|
+
call.command = cmd;
|
|
86
|
+
}
|
|
87
|
+
msgCalls.push(call);
|
|
88
|
+
if (mapped === 'Bash') {
|
|
89
|
+
const cmd = item.toolCall?.value?.arguments?.command;
|
|
90
|
+
if (typeof cmd === 'string') {
|
|
91
|
+
for (const c of extractBashCommands(cmd)) {
|
|
92
|
+
if (!bashCommands.includes(c))
|
|
93
|
+
bashCommands.push(c);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
if (msgCalls.length > 0)
|
|
99
|
+
toolSequence.push(msgCalls);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
catch { /* best-effort */ }
|
|
103
|
+
return { tools, bashCommands, toolSequence };
|
|
104
|
+
}
|
|
105
|
+
function getFirstUserMessage(db, sessionId) {
|
|
106
|
+
try {
|
|
107
|
+
const rows = db.query("SELECT CAST(content_json AS BLOB) AS content_json FROM messages WHERE session_id = ? AND role = 'user' ORDER BY created_timestamp ASC LIMIT 1", [sessionId]);
|
|
108
|
+
if (rows.length === 0)
|
|
109
|
+
return '';
|
|
110
|
+
const items = JSON.parse(blobToText(rows[0].content_json));
|
|
111
|
+
const text = items.find(i => i.type === 'text');
|
|
112
|
+
return (text?.text ?? '').slice(0, 500);
|
|
113
|
+
}
|
|
114
|
+
catch {
|
|
115
|
+
return '';
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function createParser(source, seenKeys) {
|
|
119
|
+
return {
|
|
120
|
+
async *parse() {
|
|
121
|
+
if (!isSqliteAvailable()) {
|
|
122
|
+
process.stderr.write(getSqliteLoadError() + '\n');
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
const segments = source.path.split(':');
|
|
126
|
+
const sessionId = segments[segments.length - 1];
|
|
127
|
+
const dbPath = segments.slice(0, -1).join(':');
|
|
128
|
+
let db;
|
|
129
|
+
try {
|
|
130
|
+
db = openDatabase(dbPath);
|
|
131
|
+
}
|
|
132
|
+
catch (err) {
|
|
133
|
+
process.stderr.write(`codeburn: cannot open Goose database: ${err instanceof Error ? err.message : err}\n`);
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
try {
|
|
137
|
+
if (!validateSchema(db))
|
|
138
|
+
return;
|
|
139
|
+
const rows = db.query('SELECT id, name, working_dir, created_at, updated_at, accumulated_input_tokens, accumulated_output_tokens, provider_name, CAST(model_config_json AS BLOB) AS model_config_json FROM sessions WHERE id = ?', [sessionId]);
|
|
140
|
+
if (rows.length === 0)
|
|
141
|
+
return;
|
|
142
|
+
const session = rows[0];
|
|
143
|
+
const inputTokens = session.accumulated_input_tokens ?? 0;
|
|
144
|
+
const outputTokens = session.accumulated_output_tokens ?? 0;
|
|
145
|
+
if (inputTokens === 0 && outputTokens === 0)
|
|
146
|
+
return;
|
|
147
|
+
const dedupKey = `goose:${sessionId}`;
|
|
148
|
+
if (seenKeys.has(dedupKey))
|
|
149
|
+
return;
|
|
150
|
+
seenKeys.add(dedupKey);
|
|
151
|
+
const config = parseModelConfig(blobToText(session.model_config_json));
|
|
152
|
+
const model = config.model_name ?? 'unknown';
|
|
153
|
+
const costUSD = calculateCost(model, inputTokens, outputTokens, 0, 0, 0);
|
|
154
|
+
const { tools, bashCommands, toolSequence } = extractToolsFromMessages(db, sessionId);
|
|
155
|
+
const userMessage = getFirstUserMessage(db, sessionId);
|
|
156
|
+
const raw = session.updated_at || session.created_at || '';
|
|
157
|
+
// Goose writes these with SQLite CURRENT_TIMESTAMP / datetime('now')
|
|
158
|
+
// (crates/goose/src/session/session_manager.rs): UTC text with no zone,
|
|
159
|
+
// which Date would read as local time.
|
|
160
|
+
let ts = new Date(/^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}(\.\d+)?$/.test(raw) ? raw.replace(' ', 'T') + 'Z' : raw);
|
|
161
|
+
if (isNaN(ts.getTime()))
|
|
162
|
+
ts = new Date();
|
|
163
|
+
yield {
|
|
164
|
+
provider: 'goose',
|
|
165
|
+
model,
|
|
166
|
+
inputTokens,
|
|
167
|
+
outputTokens,
|
|
168
|
+
cacheCreationInputTokens: 0,
|
|
169
|
+
cacheReadInputTokens: 0,
|
|
170
|
+
cachedInputTokens: 0,
|
|
171
|
+
reasoningTokens: 0,
|
|
172
|
+
webSearchRequests: 0,
|
|
173
|
+
costUSD,
|
|
174
|
+
tools,
|
|
175
|
+
bashCommands,
|
|
176
|
+
toolSequence: toolSequence.length > 1 ? toolSequence : undefined,
|
|
177
|
+
timestamp: ts.toISOString(),
|
|
178
|
+
speed: 'standard',
|
|
179
|
+
deduplicationKey: dedupKey,
|
|
180
|
+
userMessage,
|
|
181
|
+
sessionId,
|
|
182
|
+
...(session.working_dir
|
|
183
|
+
? {
|
|
184
|
+
projectPath: session.working_dir,
|
|
185
|
+
workingDirectory: session.working_dir,
|
|
186
|
+
}
|
|
187
|
+
: {}),
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
finally {
|
|
191
|
+
db.close();
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
async function discoverFromDb(dbPath) {
|
|
197
|
+
let db;
|
|
198
|
+
try {
|
|
199
|
+
db = openDatabase(dbPath);
|
|
200
|
+
}
|
|
201
|
+
catch {
|
|
202
|
+
return [];
|
|
203
|
+
}
|
|
204
|
+
try {
|
|
205
|
+
const rows = db.query('SELECT id, name, working_dir, created_at, updated_at, accumulated_input_tokens, accumulated_output_tokens, provider_name, CAST(model_config_json AS BLOB) AS model_config_json FROM sessions ORDER BY updated_at DESC');
|
|
206
|
+
return rows
|
|
207
|
+
.filter(r => (r.accumulated_input_tokens ?? 0) > 0 || (r.accumulated_output_tokens ?? 0) > 0)
|
|
208
|
+
.map(row => ({
|
|
209
|
+
path: `${dbPath}:${row.id}`,
|
|
210
|
+
project: row.working_dir ? sanitize(row.working_dir) : 'goose',
|
|
211
|
+
provider: 'goose',
|
|
212
|
+
}));
|
|
213
|
+
}
|
|
214
|
+
catch {
|
|
215
|
+
return [];
|
|
216
|
+
}
|
|
217
|
+
finally {
|
|
218
|
+
db.close();
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
const modelDisplayNames = {
|
|
222
|
+
'gpt-5.5': 'GPT-5.5',
|
|
223
|
+
'gpt-5.4': 'GPT-5.4',
|
|
224
|
+
'gpt-5.4-mini': 'GPT-5.4 Mini',
|
|
225
|
+
'gpt-4o': 'GPT-4o',
|
|
226
|
+
'gpt-4o-mini': 'GPT-4o Mini',
|
|
227
|
+
};
|
|
228
|
+
export function createGooseProvider() {
|
|
229
|
+
return {
|
|
230
|
+
name: 'goose',
|
|
231
|
+
displayName: 'Goose',
|
|
232
|
+
modelDisplayName(model) {
|
|
233
|
+
return ownValue(modelDisplayNames, model) ?? getShortModelName(model);
|
|
234
|
+
},
|
|
235
|
+
toolDisplayName(rawTool) {
|
|
236
|
+
return ownValue(toolNameMap, rawTool) ?? rawTool;
|
|
237
|
+
},
|
|
238
|
+
async probeRoots() {
|
|
239
|
+
return [{ path: getDbPath(), label: 'db' }];
|
|
240
|
+
},
|
|
241
|
+
async discoverSessions() {
|
|
242
|
+
if (!isSqliteAvailable())
|
|
243
|
+
return [];
|
|
244
|
+
const dbPath = getDbPath();
|
|
245
|
+
return discoverFromDb(dbPath);
|
|
246
|
+
},
|
|
247
|
+
createSessionParser(source, seenKeys) {
|
|
248
|
+
return createParser(source, seenKeys);
|
|
249
|
+
},
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
export const goose = createGooseProvider();
|