@hncode/hncode-sdk 0.8.6 → 1.0.1
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/package.json +1 -1
- package/targets.d.ts +68 -67
- package/targets.js +68 -67
package/package.json
CHANGED
package/targets.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// GENERATED by scripts/gen-targets.mjs — do not edit by hand.
|
|
2
|
-
//
|
|
2
|
+
// 1033 patchable symbols across 100 files.
|
|
3
3
|
|
|
4
4
|
/** A symbol a plugin may pass to `api.patch(target, handler)`. */
|
|
5
5
|
export type PatchTarget =
|
|
@@ -27,10 +27,14 @@ export type PatchTarget =
|
|
|
27
27
|
| "agent.js#Agent.steer"
|
|
28
28
|
| "agent.js#Agent.usedTokens"
|
|
29
29
|
| "agent.js#canSplitAfter"
|
|
30
|
+
| "agent.js#ENV_BLOCK_RE"
|
|
30
31
|
| "agent.js#formatEditDiffForModel"
|
|
31
32
|
| "agent.js#needsThinkingTags"
|
|
33
|
+
| "agent.js#PLAN_MODE_INSTRUCTION"
|
|
34
|
+
| "agent.js#stripEnvBlock"
|
|
32
35
|
| "agent.js#SYSTEM_PROMPT"
|
|
33
36
|
| "agent.js#THINKING_TAGS_INSTRUCTION"
|
|
37
|
+
| "agent.js#timeStamp"
|
|
34
38
|
| "animate.js#ANIM_FPS"
|
|
35
39
|
| "animate.js#bandCharsFor"
|
|
36
40
|
| "animate.js#breatheColour"
|
|
@@ -152,6 +156,9 @@ export type PatchTarget =
|
|
|
152
156
|
| "colors.js#THEME_NAMES"
|
|
153
157
|
| "colors.js#TRUECOLOR"
|
|
154
158
|
| "colors.js#underlineCursor"
|
|
159
|
+
| "commands.js#COMMANDS"
|
|
160
|
+
| "commands.js#commandsForSurface"
|
|
161
|
+
| "commands.js#TUI_ONLY_COMMANDS"
|
|
155
162
|
| "composer.js#adjacentPasteMarker"
|
|
156
163
|
| "composer.js#composerInput"
|
|
157
164
|
| "composer.js#expandPasteMarkerAt"
|
|
@@ -178,6 +185,7 @@ export type PatchTarget =
|
|
|
178
185
|
| "config.js#fetchCatalog"
|
|
179
186
|
| "config.js#fetchModels"
|
|
180
187
|
| "config.js#hncodeConfigFile"
|
|
188
|
+
| "config.js#importProviderModels"
|
|
181
189
|
| "config.js#MEMORY_PROMPT_HEADER"
|
|
182
190
|
| "config.js#memoryFile"
|
|
183
191
|
| "config.js#modelCost"
|
|
@@ -213,6 +221,7 @@ export type PatchTarget =
|
|
|
213
221
|
| "context-bar.js#renderContextBar"
|
|
214
222
|
| "context-bar.js#segmentCaption"
|
|
215
223
|
| "context-bar.js#SEGMENTS"
|
|
224
|
+
| "context.js#contextBreakdown"
|
|
216
225
|
| "diff.js#alignLines"
|
|
217
226
|
| "diff.js#DIFF_CONTEXT_LINES"
|
|
218
227
|
| "diff.js#editDiffRows"
|
|
@@ -246,6 +255,7 @@ export type PatchTarget =
|
|
|
246
255
|
| "file-tree.js#moveSel"
|
|
247
256
|
| "file-tree.js#renderTree"
|
|
248
257
|
| "file-tree.js#visibleRows"
|
|
258
|
+
| "files.js#collectWorkspaceFiles"
|
|
249
259
|
| "flush-tick.js#frameWrittenSince"
|
|
250
260
|
| "flush-tick.js#getTerminalFlushTick"
|
|
251
261
|
| "flush-tick.js#noteTerminalFlush"
|
|
@@ -269,6 +279,7 @@ export type PatchTarget =
|
|
|
269
279
|
| "format.js#usagePercent"
|
|
270
280
|
| "fx.js#clearRateCache"
|
|
271
281
|
| "fx.js#convert"
|
|
282
|
+
| "fx.js#costCurrency"
|
|
272
283
|
| "fx.js#envRate"
|
|
273
284
|
| "fx.js#normalizeCurrency"
|
|
274
285
|
| "fx.js#parseRate"
|
|
@@ -329,6 +340,8 @@ export type PatchTarget =
|
|
|
329
340
|
| "i18n.js#MESSAGES"
|
|
330
341
|
| "i18n.js#NOTICE_ZH"
|
|
331
342
|
| "i18n.js#noticeText"
|
|
343
|
+
| "i18n.js#pluginMessageKeys"
|
|
344
|
+
| "i18n.js#registerPluginMessages"
|
|
332
345
|
| "i18n.js#setUiLang"
|
|
333
346
|
| "i18n.js#t"
|
|
334
347
|
| "i18n.js#tOr"
|
|
@@ -341,7 +354,7 @@ export type PatchTarget =
|
|
|
341
354
|
| "image-row.js#SOURCE_TAG"
|
|
342
355
|
| "index.js#main"
|
|
343
356
|
| "index.js#parseArgs"
|
|
344
|
-
| "index.js#
|
|
357
|
+
| "index.js#steerInbox"
|
|
345
358
|
| "index.js#VERSION"
|
|
346
359
|
| "keybindings.js#describeKeybindings"
|
|
347
360
|
| "keybindings.js#keybindingsFile"
|
|
@@ -500,6 +513,7 @@ export type PatchTarget =
|
|
|
500
513
|
| "patch.js#listPatchTargets"
|
|
501
514
|
| "patch.js#parseTarget"
|
|
502
515
|
| "patch.js#rewriteSource"
|
|
516
|
+
| "permission-gate.js#decideApproval"
|
|
503
517
|
| "permissions.js#decideFromRules"
|
|
504
518
|
| "permissions.js#describeRules"
|
|
505
519
|
| "permissions.js#describeSelfTest"
|
|
@@ -517,7 +531,9 @@ export type PatchTarget =
|
|
|
517
531
|
| "plan.js#savePlan"
|
|
518
532
|
| "plugin.js#_resetPlugins"
|
|
519
533
|
| "plugin.js#listPluginServices"
|
|
534
|
+
| "plugin.js#loadedPluginList"
|
|
520
535
|
| "plugin.js#loadPlugins"
|
|
536
|
+
| "plugin.js#pluginCommandsForSurface"
|
|
521
537
|
| "plugin.js#pluginKeybinds"
|
|
522
538
|
| "plugin.js#pluginLoaded"
|
|
523
539
|
| "plugin.js#pluginLogger"
|
|
@@ -533,6 +549,7 @@ export type PatchTarget =
|
|
|
533
549
|
| "plugin.js#setPluginContext"
|
|
534
550
|
| "plugin.js#setPluginHost"
|
|
535
551
|
| "plugin.js#setPluginLoggerTui"
|
|
552
|
+
| "plugin.js#setPluginSurface"
|
|
536
553
|
| "plugin.js#takePluginNotices"
|
|
537
554
|
| "plugin.js#unloadPlugins"
|
|
538
555
|
| "prompt-presets.js#buildPreset"
|
|
@@ -541,6 +558,11 @@ export type PatchTarget =
|
|
|
541
558
|
| "prompt-presets.js#presetLabel"
|
|
542
559
|
| "prompt-presets.js#PROMPT_PRESETS"
|
|
543
560
|
| "prompt-presets.js#TASKS"
|
|
561
|
+
| "protocol.js#eventMessage"
|
|
562
|
+
| "protocol.js#EVENTS"
|
|
563
|
+
| "protocol.js#requestMessage"
|
|
564
|
+
| "protocol.js#REQUESTS"
|
|
565
|
+
| "protocol.js#validateRequest"
|
|
544
566
|
| "ptc.js#CALLABLE_TOOLS"
|
|
545
567
|
| "ptc.js#callableTools"
|
|
546
568
|
| "ptc.js#DEFAULT_LIMITS"
|
|
@@ -557,6 +579,7 @@ export type PatchTarget =
|
|
|
557
579
|
| "remote.js#installRemoteSkill"
|
|
558
580
|
| "remote.js#listLocalPlugins"
|
|
559
581
|
| "remote.js#listRemotePlugins"
|
|
582
|
+
| "remote.js#listRemotePluginsDetailed"
|
|
560
583
|
| "remote.js#listRemoteSkills"
|
|
561
584
|
| "remote.js#listRemoteSkillsDetailed"
|
|
562
585
|
| "remote.js#pluginsDir"
|
|
@@ -591,6 +614,7 @@ export type PatchTarget =
|
|
|
591
614
|
| "schedule.js#listSchedules"
|
|
592
615
|
| "schedule.js#markRun"
|
|
593
616
|
| "schedule.js#minuteKeyOf"
|
|
617
|
+
| "schedule.js#nextRun"
|
|
594
618
|
| "schedule.js#parseCron"
|
|
595
619
|
| "schedule.js#readHistory"
|
|
596
620
|
| "schedule.js#validateEntry"
|
|
@@ -626,12 +650,35 @@ export type PatchTarget =
|
|
|
626
650
|
| "screen.js#StylePool.get"
|
|
627
651
|
| "screen.js#StylePool.intern"
|
|
628
652
|
| "screen.js#unionRect"
|
|
653
|
+
| "serve.js#serve"
|
|
654
|
+
| "serve.js#servePidPath"
|
|
655
|
+
| "serve.js#serveSocketPath"
|
|
656
|
+
| "serve.js#SessionServer._handle"
|
|
657
|
+
| "serve.js#SessionServer._onConnection"
|
|
658
|
+
| "serve.js#SessionServer.close"
|
|
659
|
+
| "serve.js#SessionServer.idleCheck"
|
|
660
|
+
| "serve.js#SessionServer.listen"
|
|
661
|
+
| "serve.js#SessionServer.open"
|
|
629
662
|
| "session-approvals.js#approvalKey"
|
|
630
663
|
| "session-approvals.js#describeSessionApprovals"
|
|
631
664
|
| "session-approvals.js#forgetApproval"
|
|
632
665
|
| "session-approvals.js#isApprovedForSession"
|
|
633
666
|
| "session-approvals.js#rememberApproval"
|
|
634
667
|
| "session-approvals.js#sessionApprovalLabel"
|
|
668
|
+
| "session-client.js#SessionClient._fail"
|
|
669
|
+
| "session-client.js#SessionClient._onData"
|
|
670
|
+
| "session-client.js#SessionClient.answerTo"
|
|
671
|
+
| "session-client.js#SessionClient.approve"
|
|
672
|
+
| "session-client.js#SessionClient.close"
|
|
673
|
+
| "session-client.js#SessionClient.connect"
|
|
674
|
+
| "session-client.js#SessionClient.dispatch"
|
|
675
|
+
| "session-client.js#SessionClient.enqueue"
|
|
676
|
+
| "session-client.js#SessionClient.interrupt"
|
|
677
|
+
| "session-client.js#SessionClient.open"
|
|
678
|
+
| "session-client.js#SessionClient.reloadConfig"
|
|
679
|
+
| "session-client.js#SessionClient.request"
|
|
680
|
+
| "session-client.js#SessionClient.setMode"
|
|
681
|
+
| "session-client.js#SessionClient.submit"
|
|
635
682
|
| "session-core.js#clearLeadTeam"
|
|
636
683
|
| "session-core.js#leadTeam"
|
|
637
684
|
| "session-core.js#SessionCore.bind"
|
|
@@ -654,20 +701,12 @@ export type PatchTarget =
|
|
|
654
701
|
| "session-host.js#SessionHost.flushStream"
|
|
655
702
|
| "session-host.js#SessionHost.generateTitle"
|
|
656
703
|
| "session-host.js#SessionHost.normalizeMsg"
|
|
704
|
+
| "session-host.js#SessionHost.noteCtxAfterShrink"
|
|
657
705
|
| "session-host.js#SessionHost.persistState"
|
|
658
706
|
| "session-host.js#SessionHost.recordTranscriptRow"
|
|
707
|
+
| "session-host.js#SessionHost.setCtxTokens"
|
|
659
708
|
| "session-host.js#SessionHost.setRecorder"
|
|
660
709
|
| "session-host.js#SessionHost.settleThinking"
|
|
661
|
-
| "session-hub.js#SessionHub.call"
|
|
662
|
-
| "session-hub.js#SessionHub.emit"
|
|
663
|
-
| "session-hub.js#SessionHub.patchRow"
|
|
664
|
-
| "session-hub.js#SessionHub.pubStatusField"
|
|
665
|
-
| "session-hub.js#SessionHub.pushRow"
|
|
666
|
-
| "session-hub.js#SessionHub.setStatus"
|
|
667
|
-
| "session-hub.js#SessionHub.snapshot"
|
|
668
|
-
| "session-hub.js#SessionHub.statusChanged"
|
|
669
|
-
| "session-hub.js#SessionHub.subscribe"
|
|
670
|
-
| "session-hub.js#SessionHub.syncChat"
|
|
671
710
|
| "session-recover.js#recoverSessionFile"
|
|
672
711
|
| "session-recover.js#recoverSessionText"
|
|
673
712
|
| "session-recover.js#salvageMessages"
|
|
@@ -691,6 +730,7 @@ export type PatchTarget =
|
|
|
691
730
|
| "session.js#saveSessionSoon"
|
|
692
731
|
| "session.js#sessionFile"
|
|
693
732
|
| "session.js#sessionsDir"
|
|
733
|
+
| "session.js#titleFromPrompt"
|
|
694
734
|
| "settings-schema.js#changedSettings"
|
|
695
735
|
| "settings-schema.js#coerceSetting"
|
|
696
736
|
| "settings-schema.js#displayValue"
|
|
@@ -733,6 +773,8 @@ export type PatchTarget =
|
|
|
733
773
|
| "skills.js#skillCompletions"
|
|
734
774
|
| "skills.js#skillPrompt"
|
|
735
775
|
| "skills.js#skillsDir"
|
|
776
|
+
| "status-line.js#setStatusLang"
|
|
777
|
+
| "status-line.js#statusTallyText"
|
|
736
778
|
| "stream-buffer.js#BASE_REVEAL_CPS"
|
|
737
779
|
| "stream-buffer.js#MAX_REVEAL_CPS"
|
|
738
780
|
| "stream-buffer.js#MAX_REVEAL_STEP_MS"
|
|
@@ -866,6 +908,8 @@ export type PatchTarget =
|
|
|
866
908
|
| "tool-result.js#spillNotice"
|
|
867
909
|
| "tool-result.js#spillResult"
|
|
868
910
|
| "tool-result.js#trimToolResults"
|
|
911
|
+
| "tool-status.js#failureReason"
|
|
912
|
+
| "tool-status.js#isFailureResult"
|
|
869
913
|
| "tui.js#acceptMenuSelection"
|
|
870
914
|
| "tui.js#appendTranscriptRow"
|
|
871
915
|
| "tui.js#argCompletionsFor"
|
|
@@ -875,15 +919,12 @@ export type PatchTarget =
|
|
|
875
919
|
| "tui.js#CALM_MODE_INSTRUCTION"
|
|
876
920
|
| "tui.js#caretBlock"
|
|
877
921
|
| "tui.js#chatRowTotal"
|
|
878
|
-
| "tui.js#COMMANDS"
|
|
879
922
|
| "tui.js#COMPACTING_MSG"
|
|
880
923
|
| "tui.js#composeFrame"
|
|
881
924
|
| "tui.js#composerHeight"
|
|
882
925
|
| "tui.js#composerLayout"
|
|
883
926
|
| "tui.js#composerTextIndexAt"
|
|
884
|
-
| "tui.js#contextBreakdown"
|
|
885
927
|
| "tui.js#contextSegments"
|
|
886
|
-
| "tui.js#costCurrency"
|
|
887
928
|
| "tui.js#createArgStream"
|
|
888
929
|
| "tui.js#csiName"
|
|
889
930
|
| "tui.js#ctrlLetter"
|
|
@@ -892,13 +933,11 @@ export type PatchTarget =
|
|
|
892
933
|
| "tui.js#dispatch"
|
|
893
934
|
| "tui.js#extractJsonString"
|
|
894
935
|
| "tui.js#extractPlan"
|
|
895
|
-
| "tui.js#failureReason"
|
|
896
936
|
| "tui.js#feedArgStream"
|
|
897
937
|
| "tui.js#findCommand"
|
|
898
938
|
| "tui.js#getUiLang"
|
|
899
939
|
| "tui.js#highlightCommandName"
|
|
900
940
|
| "tui.js#highlightMatches"
|
|
901
|
-
| "tui.js#isFailureResult"
|
|
902
941
|
| "tui.js#isInWorkspace"
|
|
903
942
|
| "tui.js#isPluginCommand"
|
|
904
943
|
| "tui.js#isReadOnlyCommand"
|
|
@@ -914,7 +953,6 @@ export type PatchTarget =
|
|
|
914
953
|
| "tui.js#pickerFiltered"
|
|
915
954
|
| "tui.js#PLAN_CLOSE_TAG"
|
|
916
955
|
| "tui.js#PLAN_EXECUTE_PREFIX"
|
|
917
|
-
| "tui.js#PLAN_MODE_INSTRUCTION"
|
|
918
956
|
| "tui.js#PLAN_OPEN_TAG"
|
|
919
957
|
| "tui.js#planCompaction"
|
|
920
958
|
| "tui.js#pruneHistory"
|
|
@@ -929,6 +967,7 @@ export type PatchTarget =
|
|
|
929
967
|
| "tui.js#resetCellFrame"
|
|
930
968
|
| "tui.js#resetShownImages"
|
|
931
969
|
| "tui.js#resolveHoverHit"
|
|
970
|
+
| "tui.js#runTurn"
|
|
932
971
|
| "tui.js#saveHistory"
|
|
933
972
|
| "tui.js#scrollbarGeometry"
|
|
934
973
|
| "tui.js#scrollbarGlyph"
|
|
@@ -986,55 +1025,17 @@ export type PatchTarget =
|
|
|
986
1025
|
| "voice.js#Transcriber.transcribe"
|
|
987
1026
|
| "voice.js#voiceLanguage"
|
|
988
1027
|
| "voice.js#which"
|
|
989
|
-
| "
|
|
990
|
-
| "
|
|
991
|
-
| "
|
|
992
|
-
| "
|
|
993
|
-
| "
|
|
994
|
-
| "
|
|
995
|
-
| "
|
|
996
|
-
| "
|
|
997
|
-
| "
|
|
998
|
-
| "
|
|
999
|
-
| "
|
|
1000
|
-
| "web-daemon-client.js#spawnDaemon"
|
|
1001
|
-
| "web-daemon-client.js#stopDaemon"
|
|
1002
|
-
| "web-daemon.js#attachRegistryPipe"
|
|
1003
|
-
| "web-daemon.js#defaultDaemonPipe"
|
|
1004
|
-
| "web-daemon.js#HEARTBEAT_MS"
|
|
1005
|
-
| "web-daemon.js#listSavedSessions"
|
|
1006
|
-
| "web-daemon.js#proxyRequest"
|
|
1007
|
-
| "web-daemon.js#proxyUpgrade"
|
|
1008
|
-
| "web-daemon.js#readAsset"
|
|
1009
|
-
| "web-daemon.js#Registry.get"
|
|
1010
|
-
| "web-daemon.js#Registry.isProcessAlive"
|
|
1011
|
-
| "web-daemon.js#Registry.list"
|
|
1012
|
-
| "web-daemon.js#Registry.register"
|
|
1013
|
-
| "web-daemon.js#Registry.size"
|
|
1014
|
-
| "web-daemon.js#Registry.sweep"
|
|
1015
|
-
| "web-daemon.js#Registry.touch"
|
|
1016
|
-
| "web-daemon.js#Registry.unregister"
|
|
1017
|
-
| "web-daemon.js#savedSessionState"
|
|
1018
|
-
| "web-daemon.js#startWebDaemon"
|
|
1019
|
-
| "web-live.js#actionOn"
|
|
1020
|
-
| "web-live.js#liveEntry"
|
|
1021
|
-
| "web-live.js#liveSessionIds"
|
|
1022
|
-
| "web-live.js#liveSessionState"
|
|
1023
|
-
| "web-live.js#setRunnerFactory"
|
|
1024
|
-
| "web-live.js#sleepSession"
|
|
1025
|
-
| "web-live.js#sweepIdle"
|
|
1026
|
-
| "web-live.js#wakeSession"
|
|
1027
|
-
| "web-ws.js#attachWebSocket"
|
|
1028
|
-
| "web-ws.js#isUpgradeRequest"
|
|
1029
|
-
| "web-ws.js#WsConn._close"
|
|
1030
|
-
| "web-ws.js#WsConn._onData"
|
|
1031
|
-
| "web-ws.js#WsConn._parseFrame"
|
|
1032
|
-
| "web-ws.js#WsConn._writeFrame"
|
|
1033
|
-
| "web-ws.js#WsConn.close"
|
|
1034
|
-
| "web-ws.js#WsConn.ping"
|
|
1035
|
-
| "web-ws.js#WsConn.send"
|
|
1036
|
-
| "web.js#startWebServer"
|
|
1037
|
-
| "wordlist.js#COMMON_WORDS";
|
|
1028
|
+
| "wordlist.js#COMMON_WORDS"
|
|
1029
|
+
| "ws.js#attachWebSocket"
|
|
1030
|
+
| "ws.js#isUpgradeRequest"
|
|
1031
|
+
| "ws.js#WsConn._close"
|
|
1032
|
+
| "ws.js#WsConn._onData"
|
|
1033
|
+
| "ws.js#WsConn._parseFrame"
|
|
1034
|
+
| "ws.js#WsConn._writeFrame"
|
|
1035
|
+
| "ws.js#WsConn.close"
|
|
1036
|
+
| "ws.js#WsConn.ping"
|
|
1037
|
+
| "ws.js#WsConn.send"
|
|
1038
|
+
| "ws.js#WsConn.sendJson";
|
|
1038
1039
|
|
|
1039
1040
|
/** Every patchable target, at runtime. */
|
|
1040
1041
|
export declare const PATCH_TARGETS: readonly PatchTarget[];
|
package/targets.js
CHANGED
|
@@ -29,10 +29,14 @@ export const PATCH_TARGETS = [
|
|
|
29
29
|
"agent.js#Agent.steer",
|
|
30
30
|
"agent.js#Agent.usedTokens",
|
|
31
31
|
"agent.js#canSplitAfter",
|
|
32
|
+
"agent.js#ENV_BLOCK_RE",
|
|
32
33
|
"agent.js#formatEditDiffForModel",
|
|
33
34
|
"agent.js#needsThinkingTags",
|
|
35
|
+
"agent.js#PLAN_MODE_INSTRUCTION",
|
|
36
|
+
"agent.js#stripEnvBlock",
|
|
34
37
|
"agent.js#SYSTEM_PROMPT",
|
|
35
38
|
"agent.js#THINKING_TAGS_INSTRUCTION",
|
|
39
|
+
"agent.js#timeStamp",
|
|
36
40
|
"animate.js#ANIM_FPS",
|
|
37
41
|
"animate.js#bandCharsFor",
|
|
38
42
|
"animate.js#breatheColour",
|
|
@@ -154,6 +158,9 @@ export const PATCH_TARGETS = [
|
|
|
154
158
|
"colors.js#THEME_NAMES",
|
|
155
159
|
"colors.js#TRUECOLOR",
|
|
156
160
|
"colors.js#underlineCursor",
|
|
161
|
+
"commands.js#COMMANDS",
|
|
162
|
+
"commands.js#commandsForSurface",
|
|
163
|
+
"commands.js#TUI_ONLY_COMMANDS",
|
|
157
164
|
"composer.js#adjacentPasteMarker",
|
|
158
165
|
"composer.js#composerInput",
|
|
159
166
|
"composer.js#expandPasteMarkerAt",
|
|
@@ -180,6 +187,7 @@ export const PATCH_TARGETS = [
|
|
|
180
187
|
"config.js#fetchCatalog",
|
|
181
188
|
"config.js#fetchModels",
|
|
182
189
|
"config.js#hncodeConfigFile",
|
|
190
|
+
"config.js#importProviderModels",
|
|
183
191
|
"config.js#MEMORY_PROMPT_HEADER",
|
|
184
192
|
"config.js#memoryFile",
|
|
185
193
|
"config.js#modelCost",
|
|
@@ -215,6 +223,7 @@ export const PATCH_TARGETS = [
|
|
|
215
223
|
"context-bar.js#renderContextBar",
|
|
216
224
|
"context-bar.js#segmentCaption",
|
|
217
225
|
"context-bar.js#SEGMENTS",
|
|
226
|
+
"context.js#contextBreakdown",
|
|
218
227
|
"diff.js#alignLines",
|
|
219
228
|
"diff.js#DIFF_CONTEXT_LINES",
|
|
220
229
|
"diff.js#editDiffRows",
|
|
@@ -248,6 +257,7 @@ export const PATCH_TARGETS = [
|
|
|
248
257
|
"file-tree.js#moveSel",
|
|
249
258
|
"file-tree.js#renderTree",
|
|
250
259
|
"file-tree.js#visibleRows",
|
|
260
|
+
"files.js#collectWorkspaceFiles",
|
|
251
261
|
"flush-tick.js#frameWrittenSince",
|
|
252
262
|
"flush-tick.js#getTerminalFlushTick",
|
|
253
263
|
"flush-tick.js#noteTerminalFlush",
|
|
@@ -271,6 +281,7 @@ export const PATCH_TARGETS = [
|
|
|
271
281
|
"format.js#usagePercent",
|
|
272
282
|
"fx.js#clearRateCache",
|
|
273
283
|
"fx.js#convert",
|
|
284
|
+
"fx.js#costCurrency",
|
|
274
285
|
"fx.js#envRate",
|
|
275
286
|
"fx.js#normalizeCurrency",
|
|
276
287
|
"fx.js#parseRate",
|
|
@@ -331,6 +342,8 @@ export const PATCH_TARGETS = [
|
|
|
331
342
|
"i18n.js#MESSAGES",
|
|
332
343
|
"i18n.js#NOTICE_ZH",
|
|
333
344
|
"i18n.js#noticeText",
|
|
345
|
+
"i18n.js#pluginMessageKeys",
|
|
346
|
+
"i18n.js#registerPluginMessages",
|
|
334
347
|
"i18n.js#setUiLang",
|
|
335
348
|
"i18n.js#t",
|
|
336
349
|
"i18n.js#tOr",
|
|
@@ -343,7 +356,7 @@ export const PATCH_TARGETS = [
|
|
|
343
356
|
"image-row.js#SOURCE_TAG",
|
|
344
357
|
"index.js#main",
|
|
345
358
|
"index.js#parseArgs",
|
|
346
|
-
"index.js#
|
|
359
|
+
"index.js#steerInbox",
|
|
347
360
|
"index.js#VERSION",
|
|
348
361
|
"keybindings.js#describeKeybindings",
|
|
349
362
|
"keybindings.js#keybindingsFile",
|
|
@@ -502,6 +515,7 @@ export const PATCH_TARGETS = [
|
|
|
502
515
|
"patch.js#listPatchTargets",
|
|
503
516
|
"patch.js#parseTarget",
|
|
504
517
|
"patch.js#rewriteSource",
|
|
518
|
+
"permission-gate.js#decideApproval",
|
|
505
519
|
"permissions.js#decideFromRules",
|
|
506
520
|
"permissions.js#describeRules",
|
|
507
521
|
"permissions.js#describeSelfTest",
|
|
@@ -519,7 +533,9 @@ export const PATCH_TARGETS = [
|
|
|
519
533
|
"plan.js#savePlan",
|
|
520
534
|
"plugin.js#_resetPlugins",
|
|
521
535
|
"plugin.js#listPluginServices",
|
|
536
|
+
"plugin.js#loadedPluginList",
|
|
522
537
|
"plugin.js#loadPlugins",
|
|
538
|
+
"plugin.js#pluginCommandsForSurface",
|
|
523
539
|
"plugin.js#pluginKeybinds",
|
|
524
540
|
"plugin.js#pluginLoaded",
|
|
525
541
|
"plugin.js#pluginLogger",
|
|
@@ -535,6 +551,7 @@ export const PATCH_TARGETS = [
|
|
|
535
551
|
"plugin.js#setPluginContext",
|
|
536
552
|
"plugin.js#setPluginHost",
|
|
537
553
|
"plugin.js#setPluginLoggerTui",
|
|
554
|
+
"plugin.js#setPluginSurface",
|
|
538
555
|
"plugin.js#takePluginNotices",
|
|
539
556
|
"plugin.js#unloadPlugins",
|
|
540
557
|
"prompt-presets.js#buildPreset",
|
|
@@ -543,6 +560,11 @@ export const PATCH_TARGETS = [
|
|
|
543
560
|
"prompt-presets.js#presetLabel",
|
|
544
561
|
"prompt-presets.js#PROMPT_PRESETS",
|
|
545
562
|
"prompt-presets.js#TASKS",
|
|
563
|
+
"protocol.js#eventMessage",
|
|
564
|
+
"protocol.js#EVENTS",
|
|
565
|
+
"protocol.js#requestMessage",
|
|
566
|
+
"protocol.js#REQUESTS",
|
|
567
|
+
"protocol.js#validateRequest",
|
|
546
568
|
"ptc.js#CALLABLE_TOOLS",
|
|
547
569
|
"ptc.js#callableTools",
|
|
548
570
|
"ptc.js#DEFAULT_LIMITS",
|
|
@@ -559,6 +581,7 @@ export const PATCH_TARGETS = [
|
|
|
559
581
|
"remote.js#installRemoteSkill",
|
|
560
582
|
"remote.js#listLocalPlugins",
|
|
561
583
|
"remote.js#listRemotePlugins",
|
|
584
|
+
"remote.js#listRemotePluginsDetailed",
|
|
562
585
|
"remote.js#listRemoteSkills",
|
|
563
586
|
"remote.js#listRemoteSkillsDetailed",
|
|
564
587
|
"remote.js#pluginsDir",
|
|
@@ -593,6 +616,7 @@ export const PATCH_TARGETS = [
|
|
|
593
616
|
"schedule.js#listSchedules",
|
|
594
617
|
"schedule.js#markRun",
|
|
595
618
|
"schedule.js#minuteKeyOf",
|
|
619
|
+
"schedule.js#nextRun",
|
|
596
620
|
"schedule.js#parseCron",
|
|
597
621
|
"schedule.js#readHistory",
|
|
598
622
|
"schedule.js#validateEntry",
|
|
@@ -628,12 +652,35 @@ export const PATCH_TARGETS = [
|
|
|
628
652
|
"screen.js#StylePool.get",
|
|
629
653
|
"screen.js#StylePool.intern",
|
|
630
654
|
"screen.js#unionRect",
|
|
655
|
+
"serve.js#serve",
|
|
656
|
+
"serve.js#servePidPath",
|
|
657
|
+
"serve.js#serveSocketPath",
|
|
658
|
+
"serve.js#SessionServer._handle",
|
|
659
|
+
"serve.js#SessionServer._onConnection",
|
|
660
|
+
"serve.js#SessionServer.close",
|
|
661
|
+
"serve.js#SessionServer.idleCheck",
|
|
662
|
+
"serve.js#SessionServer.listen",
|
|
663
|
+
"serve.js#SessionServer.open",
|
|
631
664
|
"session-approvals.js#approvalKey",
|
|
632
665
|
"session-approvals.js#describeSessionApprovals",
|
|
633
666
|
"session-approvals.js#forgetApproval",
|
|
634
667
|
"session-approvals.js#isApprovedForSession",
|
|
635
668
|
"session-approvals.js#rememberApproval",
|
|
636
669
|
"session-approvals.js#sessionApprovalLabel",
|
|
670
|
+
"session-client.js#SessionClient._fail",
|
|
671
|
+
"session-client.js#SessionClient._onData",
|
|
672
|
+
"session-client.js#SessionClient.answerTo",
|
|
673
|
+
"session-client.js#SessionClient.approve",
|
|
674
|
+
"session-client.js#SessionClient.close",
|
|
675
|
+
"session-client.js#SessionClient.connect",
|
|
676
|
+
"session-client.js#SessionClient.dispatch",
|
|
677
|
+
"session-client.js#SessionClient.enqueue",
|
|
678
|
+
"session-client.js#SessionClient.interrupt",
|
|
679
|
+
"session-client.js#SessionClient.open",
|
|
680
|
+
"session-client.js#SessionClient.reloadConfig",
|
|
681
|
+
"session-client.js#SessionClient.request",
|
|
682
|
+
"session-client.js#SessionClient.setMode",
|
|
683
|
+
"session-client.js#SessionClient.submit",
|
|
637
684
|
"session-core.js#clearLeadTeam",
|
|
638
685
|
"session-core.js#leadTeam",
|
|
639
686
|
"session-core.js#SessionCore.bind",
|
|
@@ -656,20 +703,12 @@ export const PATCH_TARGETS = [
|
|
|
656
703
|
"session-host.js#SessionHost.flushStream",
|
|
657
704
|
"session-host.js#SessionHost.generateTitle",
|
|
658
705
|
"session-host.js#SessionHost.normalizeMsg",
|
|
706
|
+
"session-host.js#SessionHost.noteCtxAfterShrink",
|
|
659
707
|
"session-host.js#SessionHost.persistState",
|
|
660
708
|
"session-host.js#SessionHost.recordTranscriptRow",
|
|
709
|
+
"session-host.js#SessionHost.setCtxTokens",
|
|
661
710
|
"session-host.js#SessionHost.setRecorder",
|
|
662
711
|
"session-host.js#SessionHost.settleThinking",
|
|
663
|
-
"session-hub.js#SessionHub.call",
|
|
664
|
-
"session-hub.js#SessionHub.emit",
|
|
665
|
-
"session-hub.js#SessionHub.patchRow",
|
|
666
|
-
"session-hub.js#SessionHub.pubStatusField",
|
|
667
|
-
"session-hub.js#SessionHub.pushRow",
|
|
668
|
-
"session-hub.js#SessionHub.setStatus",
|
|
669
|
-
"session-hub.js#SessionHub.snapshot",
|
|
670
|
-
"session-hub.js#SessionHub.statusChanged",
|
|
671
|
-
"session-hub.js#SessionHub.subscribe",
|
|
672
|
-
"session-hub.js#SessionHub.syncChat",
|
|
673
712
|
"session-recover.js#recoverSessionFile",
|
|
674
713
|
"session-recover.js#recoverSessionText",
|
|
675
714
|
"session-recover.js#salvageMessages",
|
|
@@ -693,6 +732,7 @@ export const PATCH_TARGETS = [
|
|
|
693
732
|
"session.js#saveSessionSoon",
|
|
694
733
|
"session.js#sessionFile",
|
|
695
734
|
"session.js#sessionsDir",
|
|
735
|
+
"session.js#titleFromPrompt",
|
|
696
736
|
"settings-schema.js#changedSettings",
|
|
697
737
|
"settings-schema.js#coerceSetting",
|
|
698
738
|
"settings-schema.js#displayValue",
|
|
@@ -735,6 +775,8 @@ export const PATCH_TARGETS = [
|
|
|
735
775
|
"skills.js#skillCompletions",
|
|
736
776
|
"skills.js#skillPrompt",
|
|
737
777
|
"skills.js#skillsDir",
|
|
778
|
+
"status-line.js#setStatusLang",
|
|
779
|
+
"status-line.js#statusTallyText",
|
|
738
780
|
"stream-buffer.js#BASE_REVEAL_CPS",
|
|
739
781
|
"stream-buffer.js#MAX_REVEAL_CPS",
|
|
740
782
|
"stream-buffer.js#MAX_REVEAL_STEP_MS",
|
|
@@ -868,6 +910,8 @@ export const PATCH_TARGETS = [
|
|
|
868
910
|
"tool-result.js#spillNotice",
|
|
869
911
|
"tool-result.js#spillResult",
|
|
870
912
|
"tool-result.js#trimToolResults",
|
|
913
|
+
"tool-status.js#failureReason",
|
|
914
|
+
"tool-status.js#isFailureResult",
|
|
871
915
|
"tui.js#acceptMenuSelection",
|
|
872
916
|
"tui.js#appendTranscriptRow",
|
|
873
917
|
"tui.js#argCompletionsFor",
|
|
@@ -877,15 +921,12 @@ export const PATCH_TARGETS = [
|
|
|
877
921
|
"tui.js#CALM_MODE_INSTRUCTION",
|
|
878
922
|
"tui.js#caretBlock",
|
|
879
923
|
"tui.js#chatRowTotal",
|
|
880
|
-
"tui.js#COMMANDS",
|
|
881
924
|
"tui.js#COMPACTING_MSG",
|
|
882
925
|
"tui.js#composeFrame",
|
|
883
926
|
"tui.js#composerHeight",
|
|
884
927
|
"tui.js#composerLayout",
|
|
885
928
|
"tui.js#composerTextIndexAt",
|
|
886
|
-
"tui.js#contextBreakdown",
|
|
887
929
|
"tui.js#contextSegments",
|
|
888
|
-
"tui.js#costCurrency",
|
|
889
930
|
"tui.js#createArgStream",
|
|
890
931
|
"tui.js#csiName",
|
|
891
932
|
"tui.js#ctrlLetter",
|
|
@@ -894,13 +935,11 @@ export const PATCH_TARGETS = [
|
|
|
894
935
|
"tui.js#dispatch",
|
|
895
936
|
"tui.js#extractJsonString",
|
|
896
937
|
"tui.js#extractPlan",
|
|
897
|
-
"tui.js#failureReason",
|
|
898
938
|
"tui.js#feedArgStream",
|
|
899
939
|
"tui.js#findCommand",
|
|
900
940
|
"tui.js#getUiLang",
|
|
901
941
|
"tui.js#highlightCommandName",
|
|
902
942
|
"tui.js#highlightMatches",
|
|
903
|
-
"tui.js#isFailureResult",
|
|
904
943
|
"tui.js#isInWorkspace",
|
|
905
944
|
"tui.js#isPluginCommand",
|
|
906
945
|
"tui.js#isReadOnlyCommand",
|
|
@@ -916,7 +955,6 @@ export const PATCH_TARGETS = [
|
|
|
916
955
|
"tui.js#pickerFiltered",
|
|
917
956
|
"tui.js#PLAN_CLOSE_TAG",
|
|
918
957
|
"tui.js#PLAN_EXECUTE_PREFIX",
|
|
919
|
-
"tui.js#PLAN_MODE_INSTRUCTION",
|
|
920
958
|
"tui.js#PLAN_OPEN_TAG",
|
|
921
959
|
"tui.js#planCompaction",
|
|
922
960
|
"tui.js#pruneHistory",
|
|
@@ -931,6 +969,7 @@ export const PATCH_TARGETS = [
|
|
|
931
969
|
"tui.js#resetCellFrame",
|
|
932
970
|
"tui.js#resetShownImages",
|
|
933
971
|
"tui.js#resolveHoverHit",
|
|
972
|
+
"tui.js#runTurn",
|
|
934
973
|
"tui.js#saveHistory",
|
|
935
974
|
"tui.js#scrollbarGeometry",
|
|
936
975
|
"tui.js#scrollbarGlyph",
|
|
@@ -988,55 +1027,17 @@ export const PATCH_TARGETS = [
|
|
|
988
1027
|
"voice.js#Transcriber.transcribe",
|
|
989
1028
|
"voice.js#voiceLanguage",
|
|
990
1029
|
"voice.js#which",
|
|
991
|
-
"
|
|
992
|
-
"
|
|
993
|
-
"
|
|
994
|
-
"
|
|
995
|
-
"
|
|
996
|
-
"
|
|
997
|
-
"
|
|
998
|
-
"
|
|
999
|
-
"
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
1002
|
-
"web-daemon-client.js#spawnDaemon",
|
|
1003
|
-
"web-daemon-client.js#stopDaemon",
|
|
1004
|
-
"web-daemon.js#attachRegistryPipe",
|
|
1005
|
-
"web-daemon.js#defaultDaemonPipe",
|
|
1006
|
-
"web-daemon.js#HEARTBEAT_MS",
|
|
1007
|
-
"web-daemon.js#listSavedSessions",
|
|
1008
|
-
"web-daemon.js#proxyRequest",
|
|
1009
|
-
"web-daemon.js#proxyUpgrade",
|
|
1010
|
-
"web-daemon.js#readAsset",
|
|
1011
|
-
"web-daemon.js#Registry.get",
|
|
1012
|
-
"web-daemon.js#Registry.isProcessAlive",
|
|
1013
|
-
"web-daemon.js#Registry.list",
|
|
1014
|
-
"web-daemon.js#Registry.register",
|
|
1015
|
-
"web-daemon.js#Registry.size",
|
|
1016
|
-
"web-daemon.js#Registry.sweep",
|
|
1017
|
-
"web-daemon.js#Registry.touch",
|
|
1018
|
-
"web-daemon.js#Registry.unregister",
|
|
1019
|
-
"web-daemon.js#savedSessionState",
|
|
1020
|
-
"web-daemon.js#startWebDaemon",
|
|
1021
|
-
"web-live.js#actionOn",
|
|
1022
|
-
"web-live.js#liveEntry",
|
|
1023
|
-
"web-live.js#liveSessionIds",
|
|
1024
|
-
"web-live.js#liveSessionState",
|
|
1025
|
-
"web-live.js#setRunnerFactory",
|
|
1026
|
-
"web-live.js#sleepSession",
|
|
1027
|
-
"web-live.js#sweepIdle",
|
|
1028
|
-
"web-live.js#wakeSession",
|
|
1029
|
-
"web-ws.js#attachWebSocket",
|
|
1030
|
-
"web-ws.js#isUpgradeRequest",
|
|
1031
|
-
"web-ws.js#WsConn._close",
|
|
1032
|
-
"web-ws.js#WsConn._onData",
|
|
1033
|
-
"web-ws.js#WsConn._parseFrame",
|
|
1034
|
-
"web-ws.js#WsConn._writeFrame",
|
|
1035
|
-
"web-ws.js#WsConn.close",
|
|
1036
|
-
"web-ws.js#WsConn.ping",
|
|
1037
|
-
"web-ws.js#WsConn.send",
|
|
1038
|
-
"web.js#startWebServer",
|
|
1039
|
-
"wordlist.js#COMMON_WORDS"
|
|
1030
|
+
"wordlist.js#COMMON_WORDS",
|
|
1031
|
+
"ws.js#attachWebSocket",
|
|
1032
|
+
"ws.js#isUpgradeRequest",
|
|
1033
|
+
"ws.js#WsConn._close",
|
|
1034
|
+
"ws.js#WsConn._onData",
|
|
1035
|
+
"ws.js#WsConn._parseFrame",
|
|
1036
|
+
"ws.js#WsConn._writeFrame",
|
|
1037
|
+
"ws.js#WsConn.close",
|
|
1038
|
+
"ws.js#WsConn.ping",
|
|
1039
|
+
"ws.js#WsConn.send",
|
|
1040
|
+
"ws.js#WsConn.sendJson"
|
|
1040
1041
|
];
|
|
1041
1042
|
|
|
1042
1043
|
/** Fast membership test for a target string. */
|
|
@@ -1045,4 +1046,4 @@ export const PATCH_TARGET_SET = new Set(PATCH_TARGETS);
|
|
|
1045
1046
|
/** True when `target` names a real, patchable symbol. */
|
|
1046
1047
|
export function isPatchTarget(target) { return PATCH_TARGET_SET.has(String(target)); }
|
|
1047
1048
|
|
|
1048
|
-
export const GENERATED_FROM = "hncode src/ (
|
|
1049
|
+
export const GENERATED_FROM = "hncode src/ (100 files, 1033 symbols)";
|