@hncode/hncode-sdk 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/LICENSE +131 -0
- package/README.md +183 -0
- package/index.d.ts +436 -0
- package/index.js +109 -0
- package/package.json +42 -0
- package/targets.d.ts +714 -0
- package/targets.js +719 -0
package/targets.js
ADDED
|
@@ -0,0 +1,719 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-targets.mjs — do not edit by hand.
|
|
2
|
+
//
|
|
3
|
+
// Every symbol in hncode's src/ that a plugin may target with
|
|
4
|
+
// `api.patch("file.js#symbol", handler)`. Regenerate after the main package
|
|
5
|
+
// changes: `npm run gen`.
|
|
6
|
+
|
|
7
|
+
export const PATCH_TARGETS = [
|
|
8
|
+
"agent-task.js#appendTaskOutput",
|
|
9
|
+
"agent-task.js#backgroundTaskCard",
|
|
10
|
+
"agent-task.js#backgroundTaskPhase",
|
|
11
|
+
"agent-task.js#createTask",
|
|
12
|
+
"agent-task.js#defineOutputGetter",
|
|
13
|
+
"agent-task.js#getTask",
|
|
14
|
+
"agent-task.js#isTerminal",
|
|
15
|
+
"agent-task.js#listTasks",
|
|
16
|
+
"agent-task.js#MAX_TASK_OUTPUT_BYTES",
|
|
17
|
+
"agent-task.js#newTaskId",
|
|
18
|
+
"agent-task.js#settleTask",
|
|
19
|
+
"agent-task.js#sortedTasks",
|
|
20
|
+
"agent-task.js#STATUS_LABEL",
|
|
21
|
+
"agent-task.js#statusColor",
|
|
22
|
+
"agent-task.js#TERMINAL_STATUSES",
|
|
23
|
+
"agent.js#addUsage",
|
|
24
|
+
"agent.js#Agent.computeCompactSplit",
|
|
25
|
+
"agent.js#Agent.hasSteer",
|
|
26
|
+
"agent.js#Agent.interrupt",
|
|
27
|
+
"agent.js#Agent.run",
|
|
28
|
+
"agent.js#Agent.steer",
|
|
29
|
+
"agent.js#Agent.usedTokens",
|
|
30
|
+
"agent.js#formatEditDiffForModel",
|
|
31
|
+
"agent.js#SYSTEM_PROMPT",
|
|
32
|
+
"bootstrap.js#bootstrap",
|
|
33
|
+
"bootstrap.js#markPluginsLoaded",
|
|
34
|
+
"bootstrap.js#pluginsAlreadyLoaded",
|
|
35
|
+
"btw-panel.js#btwBodyLines",
|
|
36
|
+
"btw-panel.js#btwPanelHeight",
|
|
37
|
+
"btw-panel.js#MIN_PANEL_LINES",
|
|
38
|
+
"btw-panel.js#renderBtwPanel",
|
|
39
|
+
"btw-panel.js#wrapLine",
|
|
40
|
+
"cache.js#applyPromptCache",
|
|
41
|
+
"cache.js#MAX_BREAKPOINTS",
|
|
42
|
+
"cache.js#MIN_CACHEABLE_TOKENS",
|
|
43
|
+
"cache.js#stablePrefixEnd",
|
|
44
|
+
"cache.js#supportsCaching",
|
|
45
|
+
"cache.js#withAnthropicCache",
|
|
46
|
+
"cache.js#withOpenAiCache",
|
|
47
|
+
"cell-buffer.js#BLANK",
|
|
48
|
+
"cell-buffer.js#blendCell",
|
|
49
|
+
"cell-buffer.js#cell",
|
|
50
|
+
"cell-buffer.js#drawFrameBuffer",
|
|
51
|
+
"cell-buffer.js#parseCells",
|
|
52
|
+
"cell-buffer.js#renderCells",
|
|
53
|
+
"ci.js#buildResult",
|
|
54
|
+
"ci.js#createRunTracker",
|
|
55
|
+
"ci.js#defaultControlPath",
|
|
56
|
+
"ci.js#EXIT",
|
|
57
|
+
"ci.js#exitCodeFor",
|
|
58
|
+
"ci.js#finalReply",
|
|
59
|
+
"ci.js#FORMATS",
|
|
60
|
+
"ci.js#isValidFormat",
|
|
61
|
+
"ci.js#resultLine",
|
|
62
|
+
"ci.js#sendControl",
|
|
63
|
+
"ci.js#startControlServer",
|
|
64
|
+
"ci.js#trackEvent",
|
|
65
|
+
"clipboard.js#cleanupPastedImages",
|
|
66
|
+
"clipboard.js#copyText",
|
|
67
|
+
"clipboard.js#pastedImageCount",
|
|
68
|
+
"clipboard.js#readClipboardContent",
|
|
69
|
+
"clipboard.js#readClipboardContentAsync",
|
|
70
|
+
"clipboard.js#readText",
|
|
71
|
+
"clipboard.js#warmClipboard",
|
|
72
|
+
"colors.js#alternateScreen",
|
|
73
|
+
"colors.js#barCursor",
|
|
74
|
+
"colors.js#BG",
|
|
75
|
+
"colors.js#bgRgb",
|
|
76
|
+
"colors.js#blockCursor",
|
|
77
|
+
"colors.js#BLUE",
|
|
78
|
+
"colors.js#BORDER",
|
|
79
|
+
"colors.js#C",
|
|
80
|
+
"colors.js#clearAndSetBg",
|
|
81
|
+
"colors.js#clearScreen",
|
|
82
|
+
"colors.js#cursorDown",
|
|
83
|
+
"colors.js#cursorForward",
|
|
84
|
+
"colors.js#cursorLeft",
|
|
85
|
+
"colors.js#cursorUp",
|
|
86
|
+
"colors.js#CYAN",
|
|
87
|
+
"colors.js#eraseLine",
|
|
88
|
+
"colors.js#eraseScreen",
|
|
89
|
+
"colors.js#FG",
|
|
90
|
+
"colors.js#hasTheme",
|
|
91
|
+
"colors.js#hideCursor",
|
|
92
|
+
"colors.js#isLightTheme",
|
|
93
|
+
"colors.js#lerpColor",
|
|
94
|
+
"colors.js#moveTo",
|
|
95
|
+
"colors.js#resetScrollRegion",
|
|
96
|
+
"colors.js#setBracketed",
|
|
97
|
+
"colors.js#setScrollRegion",
|
|
98
|
+
"colors.js#setTheme",
|
|
99
|
+
"colors.js#showCursor",
|
|
100
|
+
"colors.js#style",
|
|
101
|
+
"colors.js#TEAL",
|
|
102
|
+
"colors.js#THEME_LABELS",
|
|
103
|
+
"colors.js#THEME_NAMES",
|
|
104
|
+
"colors.js#TRUECOLOR",
|
|
105
|
+
"colors.js#underlineCursor",
|
|
106
|
+
"config.js#addModel",
|
|
107
|
+
"config.js#addProvider",
|
|
108
|
+
"config.js#AGENTS_PROMPT_HEADER",
|
|
109
|
+
"config.js#agentsFilesFor",
|
|
110
|
+
"config.js#appendMemory",
|
|
111
|
+
"config.js#bareModelId",
|
|
112
|
+
"config.js#clampRatio",
|
|
113
|
+
"config.js#costFromCatalog",
|
|
114
|
+
"config.js#DEFAULTS",
|
|
115
|
+
"config.js#effectiveSnapshot",
|
|
116
|
+
"config.js#effortOptions",
|
|
117
|
+
"config.js#effortsFromReasoning",
|
|
118
|
+
"config.js#effortWire",
|
|
119
|
+
"config.js#ensureWebToken",
|
|
120
|
+
"config.js#fetchCatalog",
|
|
121
|
+
"config.js#fetchModels",
|
|
122
|
+
"config.js#hncodeConfigFile",
|
|
123
|
+
"config.js#MEMORY_PROMPT_HEADER",
|
|
124
|
+
"config.js#memoryFile",
|
|
125
|
+
"config.js#modelCost",
|
|
126
|
+
"config.js#modelKey",
|
|
127
|
+
"config.js#modelLabel",
|
|
128
|
+
"config.js#MODELS_DEV_URL",
|
|
129
|
+
"config.js#PERSONAL_PROMPT_HEADER",
|
|
130
|
+
"config.js#personalPromptFile",
|
|
131
|
+
"config.js#readAgentsMd",
|
|
132
|
+
"config.js#readMemory",
|
|
133
|
+
"config.js#readMemoryRaw",
|
|
134
|
+
"config.js#readPersonalPrompt",
|
|
135
|
+
"config.js#readPersonalPromptRaw",
|
|
136
|
+
"config.js#rememberModel",
|
|
137
|
+
"config.js#removeProvider",
|
|
138
|
+
"config.js#replaceProviderModels",
|
|
139
|
+
"config.js#resolveConfig",
|
|
140
|
+
"config.js#resolveModelArg",
|
|
141
|
+
"config.js#resolveProvider",
|
|
142
|
+
"config.js#saveConfig",
|
|
143
|
+
"config.js#setConfigBool",
|
|
144
|
+
"config.js#setConfigString",
|
|
145
|
+
"config.js#tomlPort",
|
|
146
|
+
"config.js#upsertModel",
|
|
147
|
+
"config.js#usageCost",
|
|
148
|
+
"config.js#writeMemoryRaw",
|
|
149
|
+
"config.js#writePersonalPrompt",
|
|
150
|
+
"context-bar.js#allocateBarColumns",
|
|
151
|
+
"context-bar.js#compactTokens",
|
|
152
|
+
"context-bar.js#formatReadout",
|
|
153
|
+
"context-bar.js#renderContextBar",
|
|
154
|
+
"context-bar.js#segmentCaption",
|
|
155
|
+
"context-bar.js#SEGMENTS",
|
|
156
|
+
"doctor.js#formatDoctor",
|
|
157
|
+
"doctor.js#runDoctor",
|
|
158
|
+
"doctor.js#SEVERITY_ORDER",
|
|
159
|
+
"doctor.js#summarize",
|
|
160
|
+
"experiments.js#describeExperiments",
|
|
161
|
+
"experiments.js#enabledExperiments",
|
|
162
|
+
"experiments.js#EXPERIMENTS",
|
|
163
|
+
"experiments.js#experimentState",
|
|
164
|
+
"experiments.js#isExperiment",
|
|
165
|
+
"experiments.js#mergeExperiments",
|
|
166
|
+
"experiments.js#pruneUnknown",
|
|
167
|
+
"file-history.js#beginTurn",
|
|
168
|
+
"file-history.js#checkpointDelta",
|
|
169
|
+
"file-history.js#describeCheckpoints",
|
|
170
|
+
"file-history.js#describeRewind",
|
|
171
|
+
"file-history.js#historyDir",
|
|
172
|
+
"file-history.js#listCheckpoints",
|
|
173
|
+
"file-history.js#recordBeforeWrite",
|
|
174
|
+
"file-history.js#restoreCheckpoint",
|
|
175
|
+
"file-history.js#rewind",
|
|
176
|
+
"file-history.js#turnCount",
|
|
177
|
+
"file-tree.js#allDirs",
|
|
178
|
+
"file-tree.js#buildTree",
|
|
179
|
+
"file-tree.js#countFiles",
|
|
180
|
+
"file-tree.js#moveSel",
|
|
181
|
+
"file-tree.js#renderTree",
|
|
182
|
+
"file-tree.js#visibleRows",
|
|
183
|
+
"flush-tick.js#frameWrittenSince",
|
|
184
|
+
"flush-tick.js#getTerminalFlushTick",
|
|
185
|
+
"flush-tick.js#noteTerminalFlush",
|
|
186
|
+
"fork.js#cloneMessageForFork",
|
|
187
|
+
"fork.js#forkOf",
|
|
188
|
+
"fx.js#clearRateCache",
|
|
189
|
+
"fx.js#convert",
|
|
190
|
+
"fx.js#envRate",
|
|
191
|
+
"fx.js#normalizeCurrency",
|
|
192
|
+
"fx.js#parseRate",
|
|
193
|
+
"fx.js#SUPPORTED_CURRENCIES",
|
|
194
|
+
"fx.js#syncRate",
|
|
195
|
+
"fx.js#usdRate",
|
|
196
|
+
"git.js#addWorktree",
|
|
197
|
+
"git.js#aheadBehind",
|
|
198
|
+
"git.js#commit",
|
|
199
|
+
"git.js#createBranch",
|
|
200
|
+
"git.js#currentBranch",
|
|
201
|
+
"git.js#diffText",
|
|
202
|
+
"git.js#hasStagedChanges",
|
|
203
|
+
"git.js#hasUpstream",
|
|
204
|
+
"git.js#headSha",
|
|
205
|
+
"git.js#isRepo",
|
|
206
|
+
"git.js#listBranches",
|
|
207
|
+
"git.js#listWorktrees",
|
|
208
|
+
"git.js#logText",
|
|
209
|
+
"git.js#parseRemote",
|
|
210
|
+
"git.js#prUrl",
|
|
211
|
+
"git.js#push",
|
|
212
|
+
"git.js#rebase",
|
|
213
|
+
"git.js#remoteUrl",
|
|
214
|
+
"git.js#removeWorktree",
|
|
215
|
+
"git.js#runGit",
|
|
216
|
+
"git.js#runGitAsync",
|
|
217
|
+
"git.js#stage",
|
|
218
|
+
"git.js#stagedFiles",
|
|
219
|
+
"git.js#stashList",
|
|
220
|
+
"git.js#stashPop",
|
|
221
|
+
"git.js#stashPush",
|
|
222
|
+
"git.js#status",
|
|
223
|
+
"git.js#statuslineInfo",
|
|
224
|
+
"git.js#statuslineInfoAsync",
|
|
225
|
+
"git.js#statusLines",
|
|
226
|
+
"git.js#summary",
|
|
227
|
+
"git.js#switchBranch",
|
|
228
|
+
"git.js#unstage",
|
|
229
|
+
"hooks.js#describeHooks",
|
|
230
|
+
"hooks.js#globalHooksFile",
|
|
231
|
+
"hooks.js#HOOK_EVENTS",
|
|
232
|
+
"hooks.js#HOOK_TIMEOUT_MS",
|
|
233
|
+
"hooks.js#hookEnv",
|
|
234
|
+
"hooks.js#loadHooks",
|
|
235
|
+
"hooks.js#matcherApplies",
|
|
236
|
+
"hooks.js#projectHooksFile",
|
|
237
|
+
"hooks.js#runHookCommand",
|
|
238
|
+
"hooks.js#runShellHooks",
|
|
239
|
+
"i18n.js#catalog",
|
|
240
|
+
"i18n.js#DEFAULT_LANG",
|
|
241
|
+
"i18n.js#LANGUAGES",
|
|
242
|
+
"i18n.js#MESSAGES",
|
|
243
|
+
"i18n.js#t",
|
|
244
|
+
"index.js#main",
|
|
245
|
+
"index.js#parseArgs",
|
|
246
|
+
"index.js#parseWebArg",
|
|
247
|
+
"index.js#VERSION",
|
|
248
|
+
"keybindings.js#describeKeybindings",
|
|
249
|
+
"keybindings.js#keybindingsFile",
|
|
250
|
+
"keybindings.js#loadKeybindings",
|
|
251
|
+
"keybindings.js#normalizeKey",
|
|
252
|
+
"keybindings.js#readOrEmpty",
|
|
253
|
+
"keybindings.js#resolveKey",
|
|
254
|
+
"keybindings.js#writeKeybindings",
|
|
255
|
+
"llm.js#anthropicToolDefs",
|
|
256
|
+
"llm.js#consumeNonStreaming",
|
|
257
|
+
"llm.js#LLM.abort",
|
|
258
|
+
"llm.js#LLM.request",
|
|
259
|
+
"llm.js#LLM.requestText",
|
|
260
|
+
"llm.js#LLM.resetThink",
|
|
261
|
+
"llm.js#openAiToolDefs",
|
|
262
|
+
"llm.js#responsesToolDefs",
|
|
263
|
+
"llm.js#setToolsList",
|
|
264
|
+
"llm.js#toAnthropic",
|
|
265
|
+
"llm.js#toOpenAi",
|
|
266
|
+
"llm.js#toResponsesInput",
|
|
267
|
+
"lsp.js#availableServers",
|
|
268
|
+
"lsp.js#changeDocument",
|
|
269
|
+
"lsp.js#commandExists",
|
|
270
|
+
"lsp.js#createDecoder",
|
|
271
|
+
"lsp.js#encodeMessage",
|
|
272
|
+
"lsp.js#fileUri",
|
|
273
|
+
"lsp.js#findServer",
|
|
274
|
+
"lsp.js#formatDiagnostic",
|
|
275
|
+
"lsp.js#languageFor",
|
|
276
|
+
"lsp.js#openDocument",
|
|
277
|
+
"lsp.js#SERVERS",
|
|
278
|
+
"lsp.js#SEVERITY_NAMES",
|
|
279
|
+
"lsp.js#startClient",
|
|
280
|
+
"lsp.js#uriToPath",
|
|
281
|
+
"lsp.js#waitForDiagnostics",
|
|
282
|
+
"mcp.js#callTool",
|
|
283
|
+
"mcp.js#CLIENT_INFO",
|
|
284
|
+
"mcp.js#CONNECT_TIMEOUT_MS",
|
|
285
|
+
"mcp.js#connectAll",
|
|
286
|
+
"mcp.js#connectServer",
|
|
287
|
+
"mcp.js#createHttpTransport",
|
|
288
|
+
"mcp.js#createStdioTransport",
|
|
289
|
+
"mcp.js#describeServers",
|
|
290
|
+
"mcp.js#disconnectAll",
|
|
291
|
+
"mcp.js#flattenContent",
|
|
292
|
+
"mcp.js#getLiveConnections",
|
|
293
|
+
"mcp.js#globalMcpFile",
|
|
294
|
+
"mcp.js#httpRequest",
|
|
295
|
+
"mcp.js#loadMcpConfig",
|
|
296
|
+
"mcp.js#mcpToolName",
|
|
297
|
+
"mcp.js#parseSseForId",
|
|
298
|
+
"mcp.js#projectMcpFile",
|
|
299
|
+
"mcp.js#PROTOCOL_VERSION",
|
|
300
|
+
"mcp.js#request",
|
|
301
|
+
"mcp.js#setLiveConnections",
|
|
302
|
+
"mcp.js#toHncodeSpec",
|
|
303
|
+
"notebook.js#cellSource",
|
|
304
|
+
"notebook.js#checkIndex",
|
|
305
|
+
"notebook.js#deleteCell",
|
|
306
|
+
"notebook.js#describeCells",
|
|
307
|
+
"notebook.js#insertCell",
|
|
308
|
+
"notebook.js#listCells",
|
|
309
|
+
"notebook.js#loadNotebook",
|
|
310
|
+
"notebook.js#newCellId",
|
|
311
|
+
"notebook.js#parseNotebook",
|
|
312
|
+
"notebook.js#replaceSource",
|
|
313
|
+
"notebook.js#saveNotebook",
|
|
314
|
+
"notebook.js#serializeNotebook",
|
|
315
|
+
"notebook.js#toSourceLines",
|
|
316
|
+
"output-styles.js#findStyle",
|
|
317
|
+
"output-styles.js#listStyles",
|
|
318
|
+
"output-styles.js#nameFromFile",
|
|
319
|
+
"output-styles.js#parseStyle",
|
|
320
|
+
"output-styles.js#styleDirs",
|
|
321
|
+
"output-styles.js#styleReminder",
|
|
322
|
+
"output-styles.js#writeStyleTemplate",
|
|
323
|
+
"patch.js#addPatch",
|
|
324
|
+
"patch.js#applyPatches",
|
|
325
|
+
"patch.js#clearPatches",
|
|
326
|
+
"patch.js#installPatchLoader",
|
|
327
|
+
"patch.js#isLoaderInstalled",
|
|
328
|
+
"patch.js#LEGACY_SEAMS",
|
|
329
|
+
"patch.js#listPatchTargets",
|
|
330
|
+
"patch.js#parseTarget",
|
|
331
|
+
"patch.js#rewriteSource",
|
|
332
|
+
"permissions.js#decideFromRules",
|
|
333
|
+
"permissions.js#describeRules",
|
|
334
|
+
"permissions.js#describeSelfTest",
|
|
335
|
+
"permissions.js#exampleArgs",
|
|
336
|
+
"permissions.js#parseRule",
|
|
337
|
+
"permissions.js#parseRuleLine",
|
|
338
|
+
"permissions.js#ruleMatches",
|
|
339
|
+
"permissions.js#selfTestRules",
|
|
340
|
+
"permissions.js#stripRuleComment",
|
|
341
|
+
"plan.js#filesReferenced",
|
|
342
|
+
"plan.js#listPlans",
|
|
343
|
+
"plan.js#plansDir",
|
|
344
|
+
"plan.js#planStats",
|
|
345
|
+
"plan.js#reviewLines",
|
|
346
|
+
"plan.js#savePlan",
|
|
347
|
+
"plugin.js#_resetPlugins",
|
|
348
|
+
"plugin.js#listPluginServices",
|
|
349
|
+
"plugin.js#loadPlugins",
|
|
350
|
+
"plugin.js#pluginKeybinds",
|
|
351
|
+
"plugin.js#pluginLoaded",
|
|
352
|
+
"plugin.js#pluginLogger",
|
|
353
|
+
"plugin.js#pluginPatches",
|
|
354
|
+
"plugin.js#pluginWidgets",
|
|
355
|
+
"plugin.js#renderWidgets",
|
|
356
|
+
"plugin.js#runHooks",
|
|
357
|
+
"plugin.js#runKeybinds",
|
|
358
|
+
"plugin.js#runKeybindsSync",
|
|
359
|
+
"plugin.js#runPatch",
|
|
360
|
+
"plugin.js#runPatchSync",
|
|
361
|
+
"plugin.js#setPluginContext",
|
|
362
|
+
"plugin.js#setPluginHost",
|
|
363
|
+
"plugin.js#takePluginNotices",
|
|
364
|
+
"plugin.js#unloadPlugins",
|
|
365
|
+
"prompt-presets.js#buildPreset",
|
|
366
|
+
"prompt-presets.js#FAMILIES",
|
|
367
|
+
"prompt-presets.js#getPreset",
|
|
368
|
+
"prompt-presets.js#presetLabel",
|
|
369
|
+
"prompt-presets.js#PROMPT_PRESETS",
|
|
370
|
+
"prompt-presets.js#TASKS",
|
|
371
|
+
"registry-browser.js#handleRegistryBrowserKey",
|
|
372
|
+
"registry-browser.js#PLUGIN_TABS",
|
|
373
|
+
"registry-browser.js#renderRegistryBrowser",
|
|
374
|
+
"registry-browser.js#rowsForTab",
|
|
375
|
+
"registry-browser.js#SKILL_TABS",
|
|
376
|
+
"remote.js#DEFAULT_REF",
|
|
377
|
+
"remote.js#DEFAULT_REPO",
|
|
378
|
+
"remote.js#installRemotePlugin",
|
|
379
|
+
"remote.js#installRemoteSkill",
|
|
380
|
+
"remote.js#listLocalPlugins",
|
|
381
|
+
"remote.js#listRemotePlugins",
|
|
382
|
+
"remote.js#listRemoteSkills",
|
|
383
|
+
"remote.js#listRemoteSkillsDetailed",
|
|
384
|
+
"remote.js#pluginsDir",
|
|
385
|
+
"remote.js#removeLocalPlugin",
|
|
386
|
+
"remote.js#removeLocalSkill",
|
|
387
|
+
"rollout.js#buildSteps",
|
|
388
|
+
"rollout.js#renderStep",
|
|
389
|
+
"rollout.js#replaySummary",
|
|
390
|
+
"rollout.js#stateAtStep",
|
|
391
|
+
"rollout.js#STEP_KINDS",
|
|
392
|
+
"rollout.js#stepLine",
|
|
393
|
+
"row-cache.js#cacheStats",
|
|
394
|
+
"row-cache.js#evictIfStale",
|
|
395
|
+
"row-cache.js#makeRowKey",
|
|
396
|
+
"row-cache.js#resetRowCache",
|
|
397
|
+
"row-cache.js#ROW_CACHE_LIMIT",
|
|
398
|
+
"row-cache.js#rowCacheGet",
|
|
399
|
+
"row-cache.js#rowCacheSet",
|
|
400
|
+
"schedule.js#describeCron",
|
|
401
|
+
"schedule.js#describeSchedules",
|
|
402
|
+
"schedule.js#dueSchedules",
|
|
403
|
+
"schedule.js#dueWithHistory",
|
|
404
|
+
"schedule.js#historyFile",
|
|
405
|
+
"schedule.js#listSchedules",
|
|
406
|
+
"schedule.js#markRun",
|
|
407
|
+
"schedule.js#minuteKeyOf",
|
|
408
|
+
"schedule.js#parseCron",
|
|
409
|
+
"schedule.js#readHistory",
|
|
410
|
+
"schedule.js#validateEntry",
|
|
411
|
+
"schedule.js#writeHistory",
|
|
412
|
+
"session-approvals.js#approvalKey",
|
|
413
|
+
"session-approvals.js#describeSessionApprovals",
|
|
414
|
+
"session-approvals.js#forgetApproval",
|
|
415
|
+
"session-approvals.js#isApprovedForSession",
|
|
416
|
+
"session-approvals.js#rememberApproval",
|
|
417
|
+
"session-approvals.js#sessionApprovalLabel",
|
|
418
|
+
"session-hub.js#SessionHub.call",
|
|
419
|
+
"session-hub.js#SessionHub.emit",
|
|
420
|
+
"session-hub.js#SessionHub.patchRow",
|
|
421
|
+
"session-hub.js#SessionHub.pubStatusField",
|
|
422
|
+
"session-hub.js#SessionHub.pushRow",
|
|
423
|
+
"session-hub.js#SessionHub.setStatus",
|
|
424
|
+
"session-hub.js#SessionHub.snapshot",
|
|
425
|
+
"session-hub.js#SessionHub.statusChanged",
|
|
426
|
+
"session-hub.js#SessionHub.subscribe",
|
|
427
|
+
"session-hub.js#SessionHub.syncChat",
|
|
428
|
+
"session.js#clearSaveFailure",
|
|
429
|
+
"session.js#convRowFor",
|
|
430
|
+
"session.js#deleteSession",
|
|
431
|
+
"session.js#invalidateSessionCache",
|
|
432
|
+
"session.js#lastSaveFailure",
|
|
433
|
+
"session.js#latestSession",
|
|
434
|
+
"session.js#listSessions",
|
|
435
|
+
"session.js#loadSession",
|
|
436
|
+
"session.js#newId",
|
|
437
|
+
"session.js#readSessionMeta",
|
|
438
|
+
"session.js#saveSession",
|
|
439
|
+
"session.js#sessionFile",
|
|
440
|
+
"session.js#sessionsDir",
|
|
441
|
+
"shell-safety.js#isDestructiveCommand",
|
|
442
|
+
"shell-safety.js#isReadOnlyCommand",
|
|
443
|
+
"shell-safety.js#splitSegments",
|
|
444
|
+
"shell-safety.js#tokenizeWords",
|
|
445
|
+
"side-thread.js#digestStats",
|
|
446
|
+
"side-thread.js#forkMessages",
|
|
447
|
+
"side-thread.js#RECAP_PROMPT",
|
|
448
|
+
"side-thread.js#recapMessages",
|
|
449
|
+
"side-thread.js#SIDE_RO_TOOLS",
|
|
450
|
+
"side-thread.js#SIDE_TOOL_REFUSAL",
|
|
451
|
+
"side-thread.js#sideSystemPrompt",
|
|
452
|
+
"side-thread.js#SideThread.forked",
|
|
453
|
+
"side-thread.js#SideThread.payload",
|
|
454
|
+
"side-thread.js#SideThread.record",
|
|
455
|
+
"side-thread.js#SideThread.transcript",
|
|
456
|
+
"side-thread.js#SideThread.turns",
|
|
457
|
+
"side-thread.js#sideToolAllowed",
|
|
458
|
+
"skills.js#addSkillFromText",
|
|
459
|
+
"skills.js#deleteSkill",
|
|
460
|
+
"skills.js#importSkill",
|
|
461
|
+
"skills.js#listSkills",
|
|
462
|
+
"skills.js#normalizeSkillName",
|
|
463
|
+
"skills.js#parseFrontMatter",
|
|
464
|
+
"skills.js#readSkill",
|
|
465
|
+
"skills.js#SKILL_PREFIX",
|
|
466
|
+
"skills.js#skillCompletions",
|
|
467
|
+
"skills.js#skillPrompt",
|
|
468
|
+
"skills.js#skillsDir",
|
|
469
|
+
"stream-buffer.js#BASE_REVEAL_CPS",
|
|
470
|
+
"stream-buffer.js#MAX_REVEAL_CPS",
|
|
471
|
+
"stream-buffer.js#MAX_REVEAL_STEP_MS",
|
|
472
|
+
"stream-buffer.js#REVEAL_BACKLOG_GAIN",
|
|
473
|
+
"stream-buffer.js#StreamBuffer._drainOps",
|
|
474
|
+
"stream-buffer.js#StreamBuffer._pushChunk",
|
|
475
|
+
"stream-buffer.js#StreamBuffer._revealNow",
|
|
476
|
+
"stream-buffer.js#StreamBuffer.backlog",
|
|
477
|
+
"stream-buffer.js#StreamBuffer.clear",
|
|
478
|
+
"stream-buffer.js#StreamBuffer.flush",
|
|
479
|
+
"stream-buffer.js#StreamBuffer.flushSmoothFrame",
|
|
480
|
+
"stream-buffer.js#StreamBuffer.isEmpty",
|
|
481
|
+
"stream-buffer.js#StreamBuffer.jitterProfile",
|
|
482
|
+
"stream-buffer.js#StreamBuffer.pushCloseReasoning",
|
|
483
|
+
"stream-buffer.js#StreamBuffer.pushReasoning",
|
|
484
|
+
"stream-buffer.js#StreamBuffer.pushText",
|
|
485
|
+
"stream-buffer.js#StreamBuffer.resetJitter",
|
|
486
|
+
"stream-buffer.js#StreamKind",
|
|
487
|
+
"stream-buffer.js#StreamOp",
|
|
488
|
+
"subagent-control.js#closeRun",
|
|
489
|
+
"subagent-control.js#describeRuns",
|
|
490
|
+
"subagent-control.js#endRun",
|
|
491
|
+
"subagent-control.js#findRun",
|
|
492
|
+
"subagent-control.js#interruptAll",
|
|
493
|
+
"subagent-control.js#interruptRun",
|
|
494
|
+
"subagent-control.js#listRuns",
|
|
495
|
+
"subagent-control.js#registerRun",
|
|
496
|
+
"subagent-control.js#sendToRun",
|
|
497
|
+
"subagent-types.js#availableTypes",
|
|
498
|
+
"subagent-types.js#DEFAULT_SUBAGENT_TYPE",
|
|
499
|
+
"subagent-types.js#DELEGATION_TOOLS",
|
|
500
|
+
"subagent-types.js#SUBAGENT_TYPES",
|
|
501
|
+
"subagent-types.js#toolsForSubagent",
|
|
502
|
+
"swarm-progress.js#computeGridLayout",
|
|
503
|
+
"swarm-progress.js#membersFromOutput",
|
|
504
|
+
"swarm-progress.js#normalizeMember",
|
|
505
|
+
"swarm-progress.js#phaseInfo",
|
|
506
|
+
"swarm-progress.js#renderSwarmProgress",
|
|
507
|
+
"swarm-progress.js#totalStatus",
|
|
508
|
+
"task-output-viewer.js#handleViewerKey",
|
|
509
|
+
"task-output-viewer.js#makeViewerState",
|
|
510
|
+
"task-output-viewer.js#renderTaskOutputViewer",
|
|
511
|
+
"tasks-browser.js#handleTasksBrowserKey",
|
|
512
|
+
"tasks-browser.js#renderTasksBrowser",
|
|
513
|
+
"tasks-browser.js#statusColorToken",
|
|
514
|
+
"tasks-browser.js#visibleTasks",
|
|
515
|
+
"teleport.js#describeTeleport",
|
|
516
|
+
"teleport.js#packSession",
|
|
517
|
+
"teleport.js#parseTeleport",
|
|
518
|
+
"teleport.js#rewriteWorkspace",
|
|
519
|
+
"teleport.js#serializeTeleport",
|
|
520
|
+
"teleport.js#stripVolatile",
|
|
521
|
+
"teleport.js#TELEPORT_FORMAT",
|
|
522
|
+
"teleport.js#TELEPORT_VERSION",
|
|
523
|
+
"teleport.js#teleportFileName",
|
|
524
|
+
"teleport.js#unpackInto",
|
|
525
|
+
"term-caps.js#isLightBg",
|
|
526
|
+
"term-caps.js#kittyKeysUsable",
|
|
527
|
+
"term-caps.js#parseProbeReplies",
|
|
528
|
+
"term-caps.js#PROBE_QUERY",
|
|
529
|
+
"term-caps.js#PROBE_TIMEOUT_MS",
|
|
530
|
+
"term-caps.js#probeTerminal",
|
|
531
|
+
"term-caps.js#setTerminalCaps",
|
|
532
|
+
"term-caps.js#stripProbeReplies",
|
|
533
|
+
"term-caps.js#SYNC_OUTPUT_MODE",
|
|
534
|
+
"term-caps.js#syncOutputUsable",
|
|
535
|
+
"term-caps.js#terminalCaps",
|
|
536
|
+
"term-caps.js#terminalFamily",
|
|
537
|
+
"term.js#charWidth",
|
|
538
|
+
"term.js#clusterWidth",
|
|
539
|
+
"term.js#detectAmbiguousWide",
|
|
540
|
+
"term.js#emit",
|
|
541
|
+
"term.js#estimateMessagesTokens",
|
|
542
|
+
"term.js#estimateMessageTokens",
|
|
543
|
+
"term.js#estimateRequestOverhead",
|
|
544
|
+
"term.js#estimateTokens",
|
|
545
|
+
"term.js#expandTabs",
|
|
546
|
+
"term.js#fit",
|
|
547
|
+
"term.js#forgetMessageTokens",
|
|
548
|
+
"term.js#isAmbiguousWide",
|
|
549
|
+
"term.js#isTTY",
|
|
550
|
+
"term.js#messageTokens",
|
|
551
|
+
"term.js#setAmbiguousWide",
|
|
552
|
+
"term.js#size",
|
|
553
|
+
"term.js#strWidth",
|
|
554
|
+
"term.js#TokenLedger.reset",
|
|
555
|
+
"term.js#TokenLedger.sync",
|
|
556
|
+
"term.js#visualWidth",
|
|
557
|
+
"term.js#withRawMode",
|
|
558
|
+
"term.js#writeRaw",
|
|
559
|
+
"toml.js#parse",
|
|
560
|
+
"tool-result.js#applyTrim",
|
|
561
|
+
"tool-result.js#CLEARED_MARKER",
|
|
562
|
+
"tool-result.js#DEFAULT_TRIM_KEEP_RATIO",
|
|
563
|
+
"tool-result.js#DEFAULT_TRIM_THRESHOLD",
|
|
564
|
+
"tool-result.js#fmtBytes",
|
|
565
|
+
"tool-result.js#MAX_RESULT_BYTES",
|
|
566
|
+
"tool-result.js#MIN_TRIM_BYTES",
|
|
567
|
+
"tool-result.js#PERSISTED_TAG",
|
|
568
|
+
"tool-result.js#planTrim",
|
|
569
|
+
"tool-result.js#PREVIEW_BYTES",
|
|
570
|
+
"tool-result.js#previewOf",
|
|
571
|
+
"tool-result.js#shapeToolResult",
|
|
572
|
+
"tool-result.js#spillDir",
|
|
573
|
+
"tool-result.js#spillNotice",
|
|
574
|
+
"tool-result.js#spillResult",
|
|
575
|
+
"tool-result.js#trimToolResults",
|
|
576
|
+
"tui.js#acceptMenuSelection",
|
|
577
|
+
"tui.js#adjacentPasteMarker",
|
|
578
|
+
"tui.js#appendTranscriptRow",
|
|
579
|
+
"tui.js#argCompletionsFor",
|
|
580
|
+
"tui.js#argStreamLineCount",
|
|
581
|
+
"tui.js#argStreamValue",
|
|
582
|
+
"tui.js#askSideQuestion",
|
|
583
|
+
"tui.js#bandCharsFor",
|
|
584
|
+
"tui.js#CALM_MODE_INSTRUCTION",
|
|
585
|
+
"tui.js#caretBlock",
|
|
586
|
+
"tui.js#chatRowTotal",
|
|
587
|
+
"tui.js#COMMANDS",
|
|
588
|
+
"tui.js#composeFrame",
|
|
589
|
+
"tui.js#composerHeight",
|
|
590
|
+
"tui.js#composerInput",
|
|
591
|
+
"tui.js#composerLayout",
|
|
592
|
+
"tui.js#composerTextIndexAt",
|
|
593
|
+
"tui.js#contextBreakdown",
|
|
594
|
+
"tui.js#contextSegments",
|
|
595
|
+
"tui.js#costCurrency",
|
|
596
|
+
"tui.js#createArgStream",
|
|
597
|
+
"tui.js#csiName",
|
|
598
|
+
"tui.js#ctrlLetter",
|
|
599
|
+
"tui.js#diffFrame",
|
|
600
|
+
"tui.js#dispatch",
|
|
601
|
+
"tui.js#expandPastes",
|
|
602
|
+
"tui.js#extractJsonString",
|
|
603
|
+
"tui.js#extractPlan",
|
|
604
|
+
"tui.js#failureReason",
|
|
605
|
+
"tui.js#feedArgStream",
|
|
606
|
+
"tui.js#findCommand",
|
|
607
|
+
"tui.js#formatToolLine",
|
|
608
|
+
"tui.js#framesPerChar",
|
|
609
|
+
"tui.js#highlightPasteMarkers",
|
|
610
|
+
"tui.js#highlightSelection",
|
|
611
|
+
"tui.js#isFailureResult",
|
|
612
|
+
"tui.js#isInWorkspace",
|
|
613
|
+
"tui.js#isPluginCommand",
|
|
614
|
+
"tui.js#isReadOnlyCommand",
|
|
615
|
+
"tui.js#isRealUserPrompt",
|
|
616
|
+
"tui.js#lineDiff",
|
|
617
|
+
"tui.js#LIVE_OUTPUT_MAX_CHARS",
|
|
618
|
+
"tui.js#loadHistory",
|
|
619
|
+
"tui.js#makeState",
|
|
620
|
+
"tui.js#makeThinkingLineForTest",
|
|
621
|
+
"tui.js#mergeRefreshedModelEntry",
|
|
622
|
+
"tui.js#metricsSignature",
|
|
623
|
+
"tui.js#pasteMarker",
|
|
624
|
+
"tui.js#pickerFiltered",
|
|
625
|
+
"tui.js#PLAN_CLOSE_TAG",
|
|
626
|
+
"tui.js#PLAN_EXECUTE_PREFIX",
|
|
627
|
+
"tui.js#PLAN_MODE_INSTRUCTION",
|
|
628
|
+
"tui.js#PLAN_OPEN_TAG",
|
|
629
|
+
"tui.js#planCompaction",
|
|
630
|
+
"tui.js#questionBoxClampedHeight",
|
|
631
|
+
"tui.js#questionBoxHeight",
|
|
632
|
+
"tui.js#queuePanelHeight",
|
|
633
|
+
"tui.js#queueRowCount",
|
|
634
|
+
"tui.js#QUICK_COMMANDS",
|
|
635
|
+
"tui.js#reconstructChat",
|
|
636
|
+
"tui.js#reducedMotionOn",
|
|
637
|
+
"tui.js#refreshCost",
|
|
638
|
+
"tui.js#refreshGitInfo",
|
|
639
|
+
"tui.js#refreshMenu",
|
|
640
|
+
"tui.js#renderChatLines",
|
|
641
|
+
"tui.js#renderMdIncremental",
|
|
642
|
+
"tui.js#renderMdText",
|
|
643
|
+
"tui.js#resolveHoverHit",
|
|
644
|
+
"tui.js#sanitizeText",
|
|
645
|
+
"tui.js#saveHistory",
|
|
646
|
+
"tui.js#scrollbarGeometry",
|
|
647
|
+
"tui.js#scrollbarGlyph",
|
|
648
|
+
"tui.js#scrollFromThumbPos",
|
|
649
|
+
"tui.js#selectVisibleTodos",
|
|
650
|
+
"tui.js#setArgCompletionProvider",
|
|
651
|
+
"tui.js#setTip",
|
|
652
|
+
"tui.js#spinnerFrame",
|
|
653
|
+
"tui.js#splitBlocks",
|
|
654
|
+
"tui.js#startTUI",
|
|
655
|
+
"tui.js#SWARM_MODE_INSTRUCTION",
|
|
656
|
+
"tui.js#SWEEP_TICKS",
|
|
657
|
+
"tui.js#sweepSettle",
|
|
658
|
+
"tui.js#tailChars",
|
|
659
|
+
"tui.js#tintRange",
|
|
660
|
+
"tui.js#TIPS",
|
|
661
|
+
"tui.js#todoPanelHeight",
|
|
662
|
+
"tui.js#todoRowCount",
|
|
663
|
+
"tui.js#tokenize",
|
|
664
|
+
"tui.js#windowOffset",
|
|
665
|
+
"update.js#AUTO_UPDATE_INTERVAL_MS",
|
|
666
|
+
"update.js#checkAndUpdate",
|
|
667
|
+
"update.js#isNewer",
|
|
668
|
+
"update.js#remoteVersion",
|
|
669
|
+
"update.js#updateBackground",
|
|
670
|
+
"version.js#localVersion",
|
|
671
|
+
"web-auth.js#isAuthed",
|
|
672
|
+
"web-auth.js#isLoopback",
|
|
673
|
+
"web-auth.js#newToken",
|
|
674
|
+
"web-auth.js#parseCookies",
|
|
675
|
+
"web-auth.js#requestSecret",
|
|
676
|
+
"web-auth.js#safeEqual",
|
|
677
|
+
"web-auth.js#sameOriginOk",
|
|
678
|
+
"web-daemon-client.js#attachToDaemon",
|
|
679
|
+
"web-daemon-client.js#daemonAlive",
|
|
680
|
+
"web-daemon-client.js#daemonCall",
|
|
681
|
+
"web-daemon-client.js#daemonInfo",
|
|
682
|
+
"web-daemon-client.js#spawnDaemon",
|
|
683
|
+
"web-daemon-client.js#stopDaemon",
|
|
684
|
+
"web-daemon.js#attachRegistryPipe",
|
|
685
|
+
"web-daemon.js#defaultDaemonPipe",
|
|
686
|
+
"web-daemon.js#HEARTBEAT_MS",
|
|
687
|
+
"web-daemon.js#listSavedSessions",
|
|
688
|
+
"web-daemon.js#proxyRequest",
|
|
689
|
+
"web-daemon.js#proxyUpgrade",
|
|
690
|
+
"web-daemon.js#readAsset",
|
|
691
|
+
"web-daemon.js#Registry.get",
|
|
692
|
+
"web-daemon.js#Registry.isProcessAlive",
|
|
693
|
+
"web-daemon.js#Registry.list",
|
|
694
|
+
"web-daemon.js#Registry.register",
|
|
695
|
+
"web-daemon.js#Registry.size",
|
|
696
|
+
"web-daemon.js#Registry.sweep",
|
|
697
|
+
"web-daemon.js#Registry.touch",
|
|
698
|
+
"web-daemon.js#Registry.unregister",
|
|
699
|
+
"web-daemon.js#savedSessionState",
|
|
700
|
+
"web-daemon.js#startWebDaemon",
|
|
701
|
+
"web-ws.js#attachWebSocket",
|
|
702
|
+
"web-ws.js#isUpgradeRequest",
|
|
703
|
+
"web-ws.js#WsConn._close",
|
|
704
|
+
"web-ws.js#WsConn._onData",
|
|
705
|
+
"web-ws.js#WsConn._parseFrame",
|
|
706
|
+
"web-ws.js#WsConn._writeFrame",
|
|
707
|
+
"web-ws.js#WsConn.close",
|
|
708
|
+
"web-ws.js#WsConn.ping",
|
|
709
|
+
"web-ws.js#WsConn.send",
|
|
710
|
+
"web.js#startWebServer"
|
|
711
|
+
];
|
|
712
|
+
|
|
713
|
+
/** Fast membership test for a target string. */
|
|
714
|
+
export const PATCH_TARGET_SET = new Set(PATCH_TARGETS);
|
|
715
|
+
|
|
716
|
+
/** True when `target` names a real, patchable symbol. */
|
|
717
|
+
export function isPatchTarget(target) { return PATCH_TARGET_SET.has(String(target)); }
|
|
718
|
+
|
|
719
|
+
export const GENERATED_FROM = "hncode src/ (64 files, 703 symbols)";
|