reasonix 0.23.0 → 0.24.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/dashboard/dist/app.js +1723 -574
- package/dashboard/dist/app.js.map +1 -1
- package/dist/cli/.-3G6VX5S7.js +327 -0
- package/dist/cli/.-6YRPB2C7.js +329 -0
- package/dist/cli/.-6YRPB2C7.js.map +1 -0
- package/dist/cli/.-EYSVINK3.js +317 -0
- package/dist/cli/.-EYSVINK3.js.map +1 -0
- package/dist/cli/banner-demo-QKOPDSTL.js +77 -0
- package/dist/cli/banner-demo-QKOPDSTL.js.map +1 -0
- package/dist/cli/card-demo-5TVXJISK.js +944 -0
- package/dist/cli/card-demo-5TVXJISK.js.map +1 -0
- package/dist/cli/chunk-2H7UOFLK.js +11 -0
- package/dist/cli/chunk-2H7UOFLK.js.map +1 -0
- package/dist/cli/chunk-BGTXZKNY.js +197 -0
- package/dist/cli/chunk-BGTXZKNY.js.map +1 -0
- package/dist/cli/chunk-JHXQDL7B.js +2056 -0
- package/dist/cli/chunk-JHXQDL7B.js.map +1 -0
- package/dist/cli/flicker-demo-MOB6GAW4.js +165 -0
- package/dist/cli/flicker-demo-MOB6GAW4.js.map +1 -0
- package/dist/cli/index.js +3818 -2021
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/preview-4FOEEE5G.js +224 -0
- package/dist/cli/preview-4FOEEE5G.js.map +1 -0
- package/dist/cli/{prompt-YUL7CYKY.js → prompt-VZQ2CPID.js} +2 -1
- package/dist/cli/prompt-VZQ2CPID.js.map +1 -0
- package/dist/cli/renderer-demo-2BIGEV2T.js +95 -0
- package/dist/cli/renderer-demo-2BIGEV2T.js.map +1 -0
- package/dist/cli/select-demo-OA5N34BJ.js +107 -0
- package/dist/cli/select-demo-OA5N34BJ.js.map +1 -0
- package/dist/cli/stress-demo-I7XRPQMM.js +211 -0
- package/dist/cli/stress-demo-I7XRPQMM.js.map +1 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +79 -15
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
- /package/dist/cli/{prompt-YUL7CYKY.js.map → .-3G6VX5S7.js.map} +0 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
AT_MENTION_PATTERN,
|
|
4
|
+
AT_PICKER_PREFIX,
|
|
5
|
+
AppendOnlyLog,
|
|
6
|
+
CacheFirstLoop,
|
|
7
|
+
DEFAULT_AT_MENTION_MAX_BYTES,
|
|
8
|
+
DEFAULT_PICKER_IGNORE_DIRS,
|
|
9
|
+
DeepSeekClient,
|
|
10
|
+
HOOK_EVENTS,
|
|
11
|
+
HOOK_SETTINGS_DIRNAME,
|
|
12
|
+
HOOK_SETTINGS_FILENAME,
|
|
13
|
+
ImmutablePrefix,
|
|
14
|
+
LATEST_CACHE_TTL_MS,
|
|
15
|
+
LATEST_FETCH_TIMEOUT_MS,
|
|
16
|
+
MCP_PROTOCOL_VERSION,
|
|
17
|
+
McpClient,
|
|
18
|
+
NeedsConfirmationError,
|
|
19
|
+
PlanCheckpointError,
|
|
20
|
+
PlanProposedError,
|
|
21
|
+
PlanRevisionProposedError,
|
|
22
|
+
SessionStats,
|
|
23
|
+
SseTransport,
|
|
24
|
+
StdioTransport,
|
|
25
|
+
StormBreaker,
|
|
26
|
+
StreamableHttpTransport,
|
|
27
|
+
ToolCallRepair,
|
|
28
|
+
Usage,
|
|
29
|
+
VERSION,
|
|
30
|
+
VolatileScratch,
|
|
31
|
+
aggregateBranchUsage,
|
|
32
|
+
aggregateUsage,
|
|
33
|
+
appendSessionMessage,
|
|
34
|
+
appendUsage,
|
|
35
|
+
applyEditBlock,
|
|
36
|
+
applyEditBlocks,
|
|
37
|
+
bucketCacheHitRatio,
|
|
38
|
+
bucketSavingsFraction,
|
|
39
|
+
claudeEquivalentCost,
|
|
40
|
+
compareVersions,
|
|
41
|
+
computeReplayStats,
|
|
42
|
+
costUsd,
|
|
43
|
+
decideOutcome,
|
|
44
|
+
defaultSelector,
|
|
45
|
+
defaultUsageLogPath,
|
|
46
|
+
deleteSession,
|
|
47
|
+
detectAtPicker,
|
|
48
|
+
detectShellOperator,
|
|
49
|
+
diffTranscripts,
|
|
50
|
+
emptyPlanState,
|
|
51
|
+
expandAtMentions,
|
|
52
|
+
fetchWithRetry,
|
|
53
|
+
fixToolCallPairing,
|
|
54
|
+
forkRegistryExcluding,
|
|
55
|
+
formatCommandResult,
|
|
56
|
+
formatHookOutcomeMessage,
|
|
57
|
+
formatLogSize,
|
|
58
|
+
formatLoopError,
|
|
59
|
+
getLatestVersion,
|
|
60
|
+
globalSettingsPath,
|
|
61
|
+
harvest,
|
|
62
|
+
healLoadedMessages,
|
|
63
|
+
healLoadedMessagesByTokens,
|
|
64
|
+
injectPowerShellUtf8,
|
|
65
|
+
inputCostUsd,
|
|
66
|
+
inspectMcpServer,
|
|
67
|
+
isAllowed,
|
|
68
|
+
isJsonRpcError,
|
|
69
|
+
isNpxInstall,
|
|
70
|
+
isPlanStateEmpty,
|
|
71
|
+
listFilesSync,
|
|
72
|
+
listFilesWithStatsAsync,
|
|
73
|
+
listFilesWithStatsSync,
|
|
74
|
+
listSessions,
|
|
75
|
+
loadDotenv,
|
|
76
|
+
loadHooks,
|
|
77
|
+
loadSessionMessages,
|
|
78
|
+
matchesTool,
|
|
79
|
+
openTranscriptFile,
|
|
80
|
+
outputCostUsd,
|
|
81
|
+
parseEditBlocks,
|
|
82
|
+
parseMcpSpec,
|
|
83
|
+
parseTranscript,
|
|
84
|
+
prepareSpawn,
|
|
85
|
+
projectSettingsPath,
|
|
86
|
+
quoteForCmdExe,
|
|
87
|
+
rankPickerCandidates,
|
|
88
|
+
readTranscript,
|
|
89
|
+
readUsageLog,
|
|
90
|
+
recordFromLoopEvent,
|
|
91
|
+
registerFilesystemTools,
|
|
92
|
+
registerPlanTool,
|
|
93
|
+
registerShellTools,
|
|
94
|
+
registerSubagentTool,
|
|
95
|
+
renderMarkdown,
|
|
96
|
+
renderSummaryTable,
|
|
97
|
+
repairTruncatedJson,
|
|
98
|
+
replayFromFile,
|
|
99
|
+
resolveExecutable,
|
|
100
|
+
restoreSnapshots,
|
|
101
|
+
runBranches,
|
|
102
|
+
runCommand,
|
|
103
|
+
runHooks,
|
|
104
|
+
sanitizeName,
|
|
105
|
+
scavengeToolCalls,
|
|
106
|
+
sessionPath,
|
|
107
|
+
sessionsDir,
|
|
108
|
+
similarity,
|
|
109
|
+
snapshotBeforeEdits,
|
|
110
|
+
stripHallucinatedToolMarkup,
|
|
111
|
+
tokenizeCommand,
|
|
112
|
+
withUtf8Codepage,
|
|
113
|
+
writeMeta,
|
|
114
|
+
writeRecord
|
|
115
|
+
} from "./chunk-GPHBHGA4.js";
|
|
116
|
+
import {
|
|
117
|
+
defaultConfigPath,
|
|
118
|
+
isPlausibleKey,
|
|
119
|
+
loadApiKey,
|
|
120
|
+
readConfig,
|
|
121
|
+
redactKey,
|
|
122
|
+
saveApiKey,
|
|
123
|
+
writeConfig
|
|
124
|
+
} from "./chunk-RCVVZVJJ.js";
|
|
125
|
+
import {
|
|
126
|
+
DEFAULT_MAX_RESULT_CHARS,
|
|
127
|
+
DEFAULT_MAX_RESULT_TOKENS,
|
|
128
|
+
ToolRegistry,
|
|
129
|
+
analyzeSchema,
|
|
130
|
+
bridgeMcpTools,
|
|
131
|
+
flattenMcpResult,
|
|
132
|
+
flattenSchema,
|
|
133
|
+
nestArguments,
|
|
134
|
+
truncateForModel,
|
|
135
|
+
truncateForModelByTokens
|
|
136
|
+
} from "./chunk-U3A7NFYB.js";
|
|
137
|
+
import {
|
|
138
|
+
registerMemoryTools
|
|
139
|
+
} from "./chunk-FOWKGBLA.js";
|
|
140
|
+
import {
|
|
141
|
+
ChoiceRequestedError,
|
|
142
|
+
registerChoiceTool
|
|
143
|
+
} from "./chunk-D7NWLJX7.js";
|
|
144
|
+
import {
|
|
145
|
+
formatSearchResults,
|
|
146
|
+
htmlToText,
|
|
147
|
+
parseMojeekResults,
|
|
148
|
+
registerWebTools,
|
|
149
|
+
webFetch,
|
|
150
|
+
webSearch
|
|
151
|
+
} from "./chunk-YFQNUF5D.js";
|
|
152
|
+
import {
|
|
153
|
+
CODE_SYSTEM_PROMPT,
|
|
154
|
+
codeSystemPrompt
|
|
155
|
+
} from "./chunk-GHSCKZ54.js";
|
|
156
|
+
import {
|
|
157
|
+
MEMORY_INDEX_FILE,
|
|
158
|
+
MEMORY_INDEX_MAX_CHARS,
|
|
159
|
+
MemoryStore,
|
|
160
|
+
PROJECT_MEMORY_FILE,
|
|
161
|
+
PROJECT_MEMORY_MAX_CHARS,
|
|
162
|
+
USER_MEMORY_DIR,
|
|
163
|
+
applyMemoryStack,
|
|
164
|
+
applyProjectMemory,
|
|
165
|
+
applyUserMemory,
|
|
166
|
+
memoryEnabled,
|
|
167
|
+
projectHash,
|
|
168
|
+
readProjectMemory,
|
|
169
|
+
sanitizeMemoryName
|
|
170
|
+
} from "./chunk-PV2KEROK.js";
|
|
171
|
+
import "./chunk-2H7UOFLK.js";
|
|
172
|
+
export {
|
|
173
|
+
AT_MENTION_PATTERN,
|
|
174
|
+
AT_PICKER_PREFIX,
|
|
175
|
+
AppendOnlyLog,
|
|
176
|
+
CODE_SYSTEM_PROMPT,
|
|
177
|
+
CacheFirstLoop,
|
|
178
|
+
ChoiceRequestedError,
|
|
179
|
+
DEFAULT_AT_MENTION_MAX_BYTES,
|
|
180
|
+
DEFAULT_MAX_RESULT_CHARS,
|
|
181
|
+
DEFAULT_MAX_RESULT_TOKENS,
|
|
182
|
+
DEFAULT_PICKER_IGNORE_DIRS,
|
|
183
|
+
DeepSeekClient,
|
|
184
|
+
HOOK_EVENTS,
|
|
185
|
+
HOOK_SETTINGS_DIRNAME,
|
|
186
|
+
HOOK_SETTINGS_FILENAME,
|
|
187
|
+
ImmutablePrefix,
|
|
188
|
+
LATEST_CACHE_TTL_MS,
|
|
189
|
+
LATEST_FETCH_TIMEOUT_MS,
|
|
190
|
+
MCP_PROTOCOL_VERSION,
|
|
191
|
+
MEMORY_INDEX_FILE,
|
|
192
|
+
MEMORY_INDEX_MAX_CHARS,
|
|
193
|
+
McpClient,
|
|
194
|
+
MemoryStore,
|
|
195
|
+
NeedsConfirmationError,
|
|
196
|
+
PROJECT_MEMORY_FILE,
|
|
197
|
+
PROJECT_MEMORY_MAX_CHARS,
|
|
198
|
+
PlanCheckpointError,
|
|
199
|
+
PlanProposedError,
|
|
200
|
+
PlanRevisionProposedError,
|
|
201
|
+
SessionStats,
|
|
202
|
+
SseTransport,
|
|
203
|
+
StdioTransport,
|
|
204
|
+
StormBreaker,
|
|
205
|
+
StreamableHttpTransport,
|
|
206
|
+
ToolCallRepair,
|
|
207
|
+
ToolRegistry,
|
|
208
|
+
USER_MEMORY_DIR,
|
|
209
|
+
Usage,
|
|
210
|
+
VERSION,
|
|
211
|
+
VolatileScratch,
|
|
212
|
+
aggregateBranchUsage,
|
|
213
|
+
aggregateUsage,
|
|
214
|
+
analyzeSchema,
|
|
215
|
+
appendSessionMessage,
|
|
216
|
+
appendUsage,
|
|
217
|
+
applyEditBlock,
|
|
218
|
+
applyEditBlocks,
|
|
219
|
+
applyMemoryStack,
|
|
220
|
+
applyProjectMemory,
|
|
221
|
+
applyUserMemory,
|
|
222
|
+
bridgeMcpTools,
|
|
223
|
+
bucketCacheHitRatio,
|
|
224
|
+
bucketSavingsFraction,
|
|
225
|
+
claudeEquivalentCost,
|
|
226
|
+
codeSystemPrompt,
|
|
227
|
+
compareVersions,
|
|
228
|
+
computeReplayStats,
|
|
229
|
+
costUsd,
|
|
230
|
+
decideOutcome,
|
|
231
|
+
defaultConfigPath,
|
|
232
|
+
defaultSelector,
|
|
233
|
+
defaultUsageLogPath,
|
|
234
|
+
deleteSession,
|
|
235
|
+
detectAtPicker,
|
|
236
|
+
detectShellOperator,
|
|
237
|
+
diffTranscripts,
|
|
238
|
+
emptyPlanState,
|
|
239
|
+
expandAtMentions,
|
|
240
|
+
fetchWithRetry,
|
|
241
|
+
fixToolCallPairing,
|
|
242
|
+
flattenMcpResult,
|
|
243
|
+
flattenSchema,
|
|
244
|
+
forkRegistryExcluding,
|
|
245
|
+
formatCommandResult,
|
|
246
|
+
formatHookOutcomeMessage,
|
|
247
|
+
formatLogSize,
|
|
248
|
+
formatLoopError,
|
|
249
|
+
formatSearchResults,
|
|
250
|
+
getLatestVersion,
|
|
251
|
+
globalSettingsPath,
|
|
252
|
+
harvest,
|
|
253
|
+
healLoadedMessages,
|
|
254
|
+
healLoadedMessagesByTokens,
|
|
255
|
+
htmlToText,
|
|
256
|
+
injectPowerShellUtf8,
|
|
257
|
+
inputCostUsd,
|
|
258
|
+
inspectMcpServer,
|
|
259
|
+
isAllowed,
|
|
260
|
+
isJsonRpcError,
|
|
261
|
+
isNpxInstall,
|
|
262
|
+
isPlanStateEmpty,
|
|
263
|
+
isPlausibleKey,
|
|
264
|
+
listFilesSync,
|
|
265
|
+
listFilesWithStatsAsync,
|
|
266
|
+
listFilesWithStatsSync,
|
|
267
|
+
listSessions,
|
|
268
|
+
loadApiKey,
|
|
269
|
+
loadDotenv,
|
|
270
|
+
loadHooks,
|
|
271
|
+
loadSessionMessages,
|
|
272
|
+
matchesTool,
|
|
273
|
+
memoryEnabled,
|
|
274
|
+
nestArguments,
|
|
275
|
+
openTranscriptFile,
|
|
276
|
+
outputCostUsd,
|
|
277
|
+
parseEditBlocks,
|
|
278
|
+
parseMcpSpec,
|
|
279
|
+
parseMojeekResults,
|
|
280
|
+
parseTranscript,
|
|
281
|
+
prepareSpawn,
|
|
282
|
+
projectHash,
|
|
283
|
+
projectSettingsPath,
|
|
284
|
+
quoteForCmdExe,
|
|
285
|
+
rankPickerCandidates,
|
|
286
|
+
readConfig,
|
|
287
|
+
readProjectMemory,
|
|
288
|
+
readTranscript,
|
|
289
|
+
readUsageLog,
|
|
290
|
+
recordFromLoopEvent,
|
|
291
|
+
redactKey,
|
|
292
|
+
registerChoiceTool,
|
|
293
|
+
registerFilesystemTools,
|
|
294
|
+
registerMemoryTools,
|
|
295
|
+
registerPlanTool,
|
|
296
|
+
registerShellTools,
|
|
297
|
+
registerSubagentTool,
|
|
298
|
+
registerWebTools,
|
|
299
|
+
renderMarkdown as renderDiffMarkdown,
|
|
300
|
+
renderSummaryTable as renderDiffSummary,
|
|
301
|
+
repairTruncatedJson,
|
|
302
|
+
replayFromFile,
|
|
303
|
+
resolveExecutable,
|
|
304
|
+
restoreSnapshots,
|
|
305
|
+
runBranches,
|
|
306
|
+
runCommand,
|
|
307
|
+
runHooks,
|
|
308
|
+
sanitizeMemoryName,
|
|
309
|
+
sanitizeName as sanitizeSessionName,
|
|
310
|
+
saveApiKey,
|
|
311
|
+
scavengeToolCalls,
|
|
312
|
+
sessionPath,
|
|
313
|
+
sessionsDir,
|
|
314
|
+
similarity,
|
|
315
|
+
snapshotBeforeEdits,
|
|
316
|
+
stripHallucinatedToolMarkup,
|
|
317
|
+
tokenizeCommand,
|
|
318
|
+
truncateForModel,
|
|
319
|
+
truncateForModelByTokens,
|
|
320
|
+
webFetch,
|
|
321
|
+
webSearch,
|
|
322
|
+
withUtf8Codepage,
|
|
323
|
+
writeConfig,
|
|
324
|
+
writeMeta,
|
|
325
|
+
writeRecord
|
|
326
|
+
};
|
|
327
|
+
//# sourceMappingURL=.-3G6VX5S7.js.map
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
AT_MENTION_PATTERN,
|
|
4
|
+
AT_PICKER_PREFIX,
|
|
5
|
+
AppendOnlyLog,
|
|
6
|
+
CacheFirstLoop,
|
|
7
|
+
DEFAULT_AT_MENTION_MAX_BYTES,
|
|
8
|
+
DEFAULT_PICKER_IGNORE_DIRS,
|
|
9
|
+
DeepSeekClient,
|
|
10
|
+
HOOK_EVENTS,
|
|
11
|
+
HOOK_SETTINGS_DIRNAME,
|
|
12
|
+
HOOK_SETTINGS_FILENAME,
|
|
13
|
+
ImmutablePrefix,
|
|
14
|
+
LATEST_CACHE_TTL_MS,
|
|
15
|
+
LATEST_FETCH_TIMEOUT_MS,
|
|
16
|
+
MCP_PROTOCOL_VERSION,
|
|
17
|
+
McpClient,
|
|
18
|
+
NeedsConfirmationError,
|
|
19
|
+
PlanCheckpointError,
|
|
20
|
+
PlanProposedError,
|
|
21
|
+
PlanRevisionProposedError,
|
|
22
|
+
SessionStats,
|
|
23
|
+
SseTransport,
|
|
24
|
+
StdioTransport,
|
|
25
|
+
StormBreaker,
|
|
26
|
+
StreamableHttpTransport,
|
|
27
|
+
ToolCallRepair,
|
|
28
|
+
Usage,
|
|
29
|
+
VERSION,
|
|
30
|
+
VolatileScratch,
|
|
31
|
+
aggregateBranchUsage,
|
|
32
|
+
aggregateUsage,
|
|
33
|
+
appendUsage,
|
|
34
|
+
applyEditBlock,
|
|
35
|
+
applyEditBlocks,
|
|
36
|
+
bucketCacheHitRatio,
|
|
37
|
+
bucketSavingsFraction,
|
|
38
|
+
claudeEquivalentCost,
|
|
39
|
+
compareVersions,
|
|
40
|
+
computeReplayStats,
|
|
41
|
+
costUsd,
|
|
42
|
+
decideOutcome,
|
|
43
|
+
defaultSelector,
|
|
44
|
+
defaultUsageLogPath,
|
|
45
|
+
detectAtPicker,
|
|
46
|
+
detectShellOperator,
|
|
47
|
+
diffTranscripts,
|
|
48
|
+
emptyPlanState,
|
|
49
|
+
expandAtMentions,
|
|
50
|
+
fetchWithRetry,
|
|
51
|
+
fixToolCallPairing,
|
|
52
|
+
forkRegistryExcluding,
|
|
53
|
+
formatCommandResult,
|
|
54
|
+
formatHookOutcomeMessage,
|
|
55
|
+
formatLogSize,
|
|
56
|
+
formatLoopError,
|
|
57
|
+
getLatestVersion,
|
|
58
|
+
globalSettingsPath,
|
|
59
|
+
harvest,
|
|
60
|
+
healLoadedMessages,
|
|
61
|
+
healLoadedMessagesByTokens,
|
|
62
|
+
injectPowerShellUtf8,
|
|
63
|
+
inputCostUsd,
|
|
64
|
+
inspectMcpServer,
|
|
65
|
+
isAllowed,
|
|
66
|
+
isJsonRpcError,
|
|
67
|
+
isNpxInstall,
|
|
68
|
+
isPlanStateEmpty,
|
|
69
|
+
listFilesSync,
|
|
70
|
+
listFilesWithStatsAsync,
|
|
71
|
+
listFilesWithStatsSync,
|
|
72
|
+
loadDotenv,
|
|
73
|
+
loadHooks,
|
|
74
|
+
matchesTool,
|
|
75
|
+
openTranscriptFile,
|
|
76
|
+
outputCostUsd,
|
|
77
|
+
parseEditBlocks,
|
|
78
|
+
parseMcpSpec,
|
|
79
|
+
parseTranscript,
|
|
80
|
+
prepareSpawn,
|
|
81
|
+
projectSettingsPath,
|
|
82
|
+
quoteForCmdExe,
|
|
83
|
+
rankPickerCandidates,
|
|
84
|
+
readTranscript,
|
|
85
|
+
readUsageLog,
|
|
86
|
+
recordFromLoopEvent,
|
|
87
|
+
registerFilesystemTools,
|
|
88
|
+
registerPlanTool,
|
|
89
|
+
registerShellTools,
|
|
90
|
+
registerSubagentTool,
|
|
91
|
+
renderMarkdown,
|
|
92
|
+
renderSummaryTable,
|
|
93
|
+
repairTruncatedJson,
|
|
94
|
+
replayFromFile,
|
|
95
|
+
resolveExecutable,
|
|
96
|
+
restoreSnapshots,
|
|
97
|
+
runBranches,
|
|
98
|
+
runCommand,
|
|
99
|
+
runHooks,
|
|
100
|
+
scavengeToolCalls,
|
|
101
|
+
similarity,
|
|
102
|
+
snapshotBeforeEdits,
|
|
103
|
+
stripHallucinatedToolMarkup,
|
|
104
|
+
tokenizeCommand,
|
|
105
|
+
withUtf8Codepage,
|
|
106
|
+
writeMeta,
|
|
107
|
+
writeRecord
|
|
108
|
+
} from "./chunk-RJBBMU3H.js";
|
|
109
|
+
import {
|
|
110
|
+
defaultConfigPath,
|
|
111
|
+
isPlausibleKey,
|
|
112
|
+
loadApiKey,
|
|
113
|
+
readConfig,
|
|
114
|
+
redactKey,
|
|
115
|
+
saveApiKey,
|
|
116
|
+
writeConfig
|
|
117
|
+
} from "./chunk-RCVVZVJJ.js";
|
|
118
|
+
import {
|
|
119
|
+
DEFAULT_MAX_RESULT_CHARS,
|
|
120
|
+
DEFAULT_MAX_RESULT_TOKENS,
|
|
121
|
+
ToolRegistry,
|
|
122
|
+
analyzeSchema,
|
|
123
|
+
bridgeMcpTools,
|
|
124
|
+
flattenMcpResult,
|
|
125
|
+
flattenSchema,
|
|
126
|
+
nestArguments,
|
|
127
|
+
truncateForModel,
|
|
128
|
+
truncateForModelByTokens
|
|
129
|
+
} from "./chunk-U3A7NFYB.js";
|
|
130
|
+
import {
|
|
131
|
+
appendSessionMessage,
|
|
132
|
+
deleteSession,
|
|
133
|
+
listSessions,
|
|
134
|
+
loadSessionMessages,
|
|
135
|
+
sanitizeName,
|
|
136
|
+
sessionPath,
|
|
137
|
+
sessionsDir
|
|
138
|
+
} from "./chunk-XBGMEJAL.js";
|
|
139
|
+
import {
|
|
140
|
+
registerMemoryTools
|
|
141
|
+
} from "./chunk-FOWKGBLA.js";
|
|
142
|
+
import {
|
|
143
|
+
ChoiceRequestedError,
|
|
144
|
+
registerChoiceTool
|
|
145
|
+
} from "./chunk-D7NWLJX7.js";
|
|
146
|
+
import {
|
|
147
|
+
formatSearchResults,
|
|
148
|
+
htmlToText,
|
|
149
|
+
parseMojeekResults,
|
|
150
|
+
registerWebTools,
|
|
151
|
+
webFetch,
|
|
152
|
+
webSearch
|
|
153
|
+
} from "./chunk-YFQNUF5D.js";
|
|
154
|
+
import {
|
|
155
|
+
CODE_SYSTEM_PROMPT,
|
|
156
|
+
codeSystemPrompt
|
|
157
|
+
} from "./chunk-GHSCKZ54.js";
|
|
158
|
+
import {
|
|
159
|
+
MEMORY_INDEX_FILE,
|
|
160
|
+
MEMORY_INDEX_MAX_CHARS,
|
|
161
|
+
MemoryStore,
|
|
162
|
+
PROJECT_MEMORY_FILE,
|
|
163
|
+
PROJECT_MEMORY_MAX_CHARS,
|
|
164
|
+
USER_MEMORY_DIR,
|
|
165
|
+
applyMemoryStack,
|
|
166
|
+
applyProjectMemory,
|
|
167
|
+
applyUserMemory,
|
|
168
|
+
memoryEnabled,
|
|
169
|
+
projectHash,
|
|
170
|
+
readProjectMemory,
|
|
171
|
+
sanitizeMemoryName
|
|
172
|
+
} from "./chunk-PV2KEROK.js";
|
|
173
|
+
import "./chunk-2H7UOFLK.js";
|
|
174
|
+
export {
|
|
175
|
+
AT_MENTION_PATTERN,
|
|
176
|
+
AT_PICKER_PREFIX,
|
|
177
|
+
AppendOnlyLog,
|
|
178
|
+
CODE_SYSTEM_PROMPT,
|
|
179
|
+
CacheFirstLoop,
|
|
180
|
+
ChoiceRequestedError,
|
|
181
|
+
DEFAULT_AT_MENTION_MAX_BYTES,
|
|
182
|
+
DEFAULT_MAX_RESULT_CHARS,
|
|
183
|
+
DEFAULT_MAX_RESULT_TOKENS,
|
|
184
|
+
DEFAULT_PICKER_IGNORE_DIRS,
|
|
185
|
+
DeepSeekClient,
|
|
186
|
+
HOOK_EVENTS,
|
|
187
|
+
HOOK_SETTINGS_DIRNAME,
|
|
188
|
+
HOOK_SETTINGS_FILENAME,
|
|
189
|
+
ImmutablePrefix,
|
|
190
|
+
LATEST_CACHE_TTL_MS,
|
|
191
|
+
LATEST_FETCH_TIMEOUT_MS,
|
|
192
|
+
MCP_PROTOCOL_VERSION,
|
|
193
|
+
MEMORY_INDEX_FILE,
|
|
194
|
+
MEMORY_INDEX_MAX_CHARS,
|
|
195
|
+
McpClient,
|
|
196
|
+
MemoryStore,
|
|
197
|
+
NeedsConfirmationError,
|
|
198
|
+
PROJECT_MEMORY_FILE,
|
|
199
|
+
PROJECT_MEMORY_MAX_CHARS,
|
|
200
|
+
PlanCheckpointError,
|
|
201
|
+
PlanProposedError,
|
|
202
|
+
PlanRevisionProposedError,
|
|
203
|
+
SessionStats,
|
|
204
|
+
SseTransport,
|
|
205
|
+
StdioTransport,
|
|
206
|
+
StormBreaker,
|
|
207
|
+
StreamableHttpTransport,
|
|
208
|
+
ToolCallRepair,
|
|
209
|
+
ToolRegistry,
|
|
210
|
+
USER_MEMORY_DIR,
|
|
211
|
+
Usage,
|
|
212
|
+
VERSION,
|
|
213
|
+
VolatileScratch,
|
|
214
|
+
aggregateBranchUsage,
|
|
215
|
+
aggregateUsage,
|
|
216
|
+
analyzeSchema,
|
|
217
|
+
appendSessionMessage,
|
|
218
|
+
appendUsage,
|
|
219
|
+
applyEditBlock,
|
|
220
|
+
applyEditBlocks,
|
|
221
|
+
applyMemoryStack,
|
|
222
|
+
applyProjectMemory,
|
|
223
|
+
applyUserMemory,
|
|
224
|
+
bridgeMcpTools,
|
|
225
|
+
bucketCacheHitRatio,
|
|
226
|
+
bucketSavingsFraction,
|
|
227
|
+
claudeEquivalentCost,
|
|
228
|
+
codeSystemPrompt,
|
|
229
|
+
compareVersions,
|
|
230
|
+
computeReplayStats,
|
|
231
|
+
costUsd,
|
|
232
|
+
decideOutcome,
|
|
233
|
+
defaultConfigPath,
|
|
234
|
+
defaultSelector,
|
|
235
|
+
defaultUsageLogPath,
|
|
236
|
+
deleteSession,
|
|
237
|
+
detectAtPicker,
|
|
238
|
+
detectShellOperator,
|
|
239
|
+
diffTranscripts,
|
|
240
|
+
emptyPlanState,
|
|
241
|
+
expandAtMentions,
|
|
242
|
+
fetchWithRetry,
|
|
243
|
+
fixToolCallPairing,
|
|
244
|
+
flattenMcpResult,
|
|
245
|
+
flattenSchema,
|
|
246
|
+
forkRegistryExcluding,
|
|
247
|
+
formatCommandResult,
|
|
248
|
+
formatHookOutcomeMessage,
|
|
249
|
+
formatLogSize,
|
|
250
|
+
formatLoopError,
|
|
251
|
+
formatSearchResults,
|
|
252
|
+
getLatestVersion,
|
|
253
|
+
globalSettingsPath,
|
|
254
|
+
harvest,
|
|
255
|
+
healLoadedMessages,
|
|
256
|
+
healLoadedMessagesByTokens,
|
|
257
|
+
htmlToText,
|
|
258
|
+
injectPowerShellUtf8,
|
|
259
|
+
inputCostUsd,
|
|
260
|
+
inspectMcpServer,
|
|
261
|
+
isAllowed,
|
|
262
|
+
isJsonRpcError,
|
|
263
|
+
isNpxInstall,
|
|
264
|
+
isPlanStateEmpty,
|
|
265
|
+
isPlausibleKey,
|
|
266
|
+
listFilesSync,
|
|
267
|
+
listFilesWithStatsAsync,
|
|
268
|
+
listFilesWithStatsSync,
|
|
269
|
+
listSessions,
|
|
270
|
+
loadApiKey,
|
|
271
|
+
loadDotenv,
|
|
272
|
+
loadHooks,
|
|
273
|
+
loadSessionMessages,
|
|
274
|
+
matchesTool,
|
|
275
|
+
memoryEnabled,
|
|
276
|
+
nestArguments,
|
|
277
|
+
openTranscriptFile,
|
|
278
|
+
outputCostUsd,
|
|
279
|
+
parseEditBlocks,
|
|
280
|
+
parseMcpSpec,
|
|
281
|
+
parseMojeekResults,
|
|
282
|
+
parseTranscript,
|
|
283
|
+
prepareSpawn,
|
|
284
|
+
projectHash,
|
|
285
|
+
projectSettingsPath,
|
|
286
|
+
quoteForCmdExe,
|
|
287
|
+
rankPickerCandidates,
|
|
288
|
+
readConfig,
|
|
289
|
+
readProjectMemory,
|
|
290
|
+
readTranscript,
|
|
291
|
+
readUsageLog,
|
|
292
|
+
recordFromLoopEvent,
|
|
293
|
+
redactKey,
|
|
294
|
+
registerChoiceTool,
|
|
295
|
+
registerFilesystemTools,
|
|
296
|
+
registerMemoryTools,
|
|
297
|
+
registerPlanTool,
|
|
298
|
+
registerShellTools,
|
|
299
|
+
registerSubagentTool,
|
|
300
|
+
registerWebTools,
|
|
301
|
+
renderMarkdown as renderDiffMarkdown,
|
|
302
|
+
renderSummaryTable as renderDiffSummary,
|
|
303
|
+
repairTruncatedJson,
|
|
304
|
+
replayFromFile,
|
|
305
|
+
resolveExecutable,
|
|
306
|
+
restoreSnapshots,
|
|
307
|
+
runBranches,
|
|
308
|
+
runCommand,
|
|
309
|
+
runHooks,
|
|
310
|
+
sanitizeMemoryName,
|
|
311
|
+
sanitizeName as sanitizeSessionName,
|
|
312
|
+
saveApiKey,
|
|
313
|
+
scavengeToolCalls,
|
|
314
|
+
sessionPath,
|
|
315
|
+
sessionsDir,
|
|
316
|
+
similarity,
|
|
317
|
+
snapshotBeforeEdits,
|
|
318
|
+
stripHallucinatedToolMarkup,
|
|
319
|
+
tokenizeCommand,
|
|
320
|
+
truncateForModel,
|
|
321
|
+
truncateForModelByTokens,
|
|
322
|
+
webFetch,
|
|
323
|
+
webSearch,
|
|
324
|
+
withUtf8Codepage,
|
|
325
|
+
writeConfig,
|
|
326
|
+
writeMeta,
|
|
327
|
+
writeRecord
|
|
328
|
+
};
|
|
329
|
+
//# sourceMappingURL=.-6YRPB2C7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|