@hncode/hncode-sdk 0.1.2 → 0.1.3
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 +54 -1
- package/targets.js +54 -1
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
|
+
// 774 patchable symbols across 71 files.
|
|
3
3
|
|
|
4
4
|
/** A symbol a plugin may pass to `api.patch(target, handler)`. */
|
|
5
5
|
export type PatchTarget =
|
|
@@ -19,6 +19,7 @@ export type PatchTarget =
|
|
|
19
19
|
| "agent-task.js#statusColor"
|
|
20
20
|
| "agent-task.js#TERMINAL_STATUSES"
|
|
21
21
|
| "agent.js#addUsage"
|
|
22
|
+
| "agent.js#Agent.applyCompactionSplit"
|
|
22
23
|
| "agent.js#Agent.computeCompactSplit"
|
|
23
24
|
| "agent.js#Agent.hasSteer"
|
|
24
25
|
| "agent.js#Agent.interrupt"
|
|
@@ -419,6 +420,32 @@ export type PatchTarget =
|
|
|
419
420
|
| "session-approvals.js#isApprovedForSession"
|
|
420
421
|
| "session-approvals.js#rememberApproval"
|
|
421
422
|
| "session-approvals.js#sessionApprovalLabel"
|
|
423
|
+
| "session-core.js#clearLeadTeam"
|
|
424
|
+
| "session-core.js#leadTeam"
|
|
425
|
+
| "session-core.js#SessionCore.bind"
|
|
426
|
+
| "session-core.js#SessionCore.clearQueue"
|
|
427
|
+
| "session-core.js#SessionCore.dispatch"
|
|
428
|
+
| "session-core.js#SessionCore.emit"
|
|
429
|
+
| "session-core.js#SessionCore.enqueue"
|
|
430
|
+
| "session-core.js#SessionCore.interrupt"
|
|
431
|
+
| "session-core.js#SessionCore.mode"
|
|
432
|
+
| "session-core.js#SessionCore.onEvent"
|
|
433
|
+
| "session-core.js#SessionCore.queued"
|
|
434
|
+
| "session-core.js#SessionCore.running"
|
|
435
|
+
| "session-core.js#SessionCore.setMode"
|
|
436
|
+
| "session-core.js#SessionCore.submit"
|
|
437
|
+
| "session-core.js#setLeadTeam"
|
|
438
|
+
| "session-host.js#HOST_STREAM_OPS"
|
|
439
|
+
| "session-host.js#SessionHost.applyStreamOps"
|
|
440
|
+
| "session-host.js#SessionHost.countOutputTokens"
|
|
441
|
+
| "session-host.js#SessionHost.externalAllowed"
|
|
442
|
+
| "session-host.js#SessionHost.flushStream"
|
|
443
|
+
| "session-host.js#SessionHost.generateTitle"
|
|
444
|
+
| "session-host.js#SessionHost.normalizeMsg"
|
|
445
|
+
| "session-host.js#SessionHost.persistState"
|
|
446
|
+
| "session-host.js#SessionHost.recordTranscriptRow"
|
|
447
|
+
| "session-host.js#SessionHost.setRecorder"
|
|
448
|
+
| "session-host.js#SessionHost.settleThinking"
|
|
422
449
|
| "session-hub.js#SessionHub.call"
|
|
423
450
|
| "session-hub.js#SessionHub.emit"
|
|
424
451
|
| "session-hub.js#SessionHub.patchRow"
|
|
@@ -429,6 +456,8 @@ export type PatchTarget =
|
|
|
429
456
|
| "session-hub.js#SessionHub.statusChanged"
|
|
430
457
|
| "session-hub.js#SessionHub.subscribe"
|
|
431
458
|
| "session-hub.js#SessionHub.syncChat"
|
|
459
|
+
| "session-view.js#HEADLESS_VIEW"
|
|
460
|
+
| "session-view.js#tuiView"
|
|
432
461
|
| "session.js#clearSaveFailure"
|
|
433
462
|
| "session.js#convRowFor"
|
|
434
463
|
| "session.js#deleteSession"
|
|
@@ -528,6 +557,12 @@ export type PatchTarget =
|
|
|
528
557
|
| "tasks-browser.js#renderTasksBrowser"
|
|
529
558
|
| "tasks-browser.js#statusColorToken"
|
|
530
559
|
| "tasks-browser.js#visibleTasks"
|
|
560
|
+
| "team-panel.js#handleTeamPanelKey"
|
|
561
|
+
| "team-panel.js#makeTeamPanel"
|
|
562
|
+
| "team-panel.js#memberTraffic"
|
|
563
|
+
| "team-panel.js#renderTeamPanel"
|
|
564
|
+
| "team-panel.js#sendFromPanel"
|
|
565
|
+
| "team-panel.js#teamRows"
|
|
531
566
|
| "teleport.js#describeTeleport"
|
|
532
567
|
| "teleport.js#packSession"
|
|
533
568
|
| "teleport.js#parseTeleport"
|
|
@@ -558,6 +593,7 @@ export type PatchTarget =
|
|
|
558
593
|
| "term.js#estimateMessageTokens"
|
|
559
594
|
| "term.js#estimateRequestOverhead"
|
|
560
595
|
| "term.js#estimateTokens"
|
|
596
|
+
| "term.js#estimateTokensFloat"
|
|
561
597
|
| "term.js#expandTabs"
|
|
562
598
|
| "term.js#fit"
|
|
563
599
|
| "term.js#forgetMessageTokens"
|
|
@@ -614,6 +650,7 @@ export type PatchTarget =
|
|
|
614
650
|
| "tui.js#ctrlLetter"
|
|
615
651
|
| "tui.js#diffFrame"
|
|
616
652
|
| "tui.js#dispatch"
|
|
653
|
+
| "tui.js#editDiffRows"
|
|
617
654
|
| "tui.js#expandPastes"
|
|
618
655
|
| "tui.js#extractJsonString"
|
|
619
656
|
| "tui.js#extractPlan"
|
|
@@ -678,11 +715,19 @@ export type PatchTarget =
|
|
|
678
715
|
| "tui.js#todoRowCount"
|
|
679
716
|
| "tui.js#tokenize"
|
|
680
717
|
| "tui.js#windowOffset"
|
|
718
|
+
| "tui.js#writeWindowTitle"
|
|
681
719
|
| "update.js#AUTO_UPDATE_INTERVAL_MS"
|
|
682
720
|
| "update.js#checkAndUpdate"
|
|
721
|
+
| "update.js#claimInstallLock"
|
|
722
|
+
| "update.js#clearUpdateStamp"
|
|
723
|
+
| "update.js#installLockHolder"
|
|
683
724
|
| "update.js#isNewer"
|
|
725
|
+
| "update.js#readUpdateStamp"
|
|
726
|
+
| "update.js#releaseInstallLock"
|
|
684
727
|
| "update.js#remoteVersion"
|
|
685
728
|
| "update.js#updateBackground"
|
|
729
|
+
| "update.js#updateLockFile"
|
|
730
|
+
| "update.js#updateStampFile"
|
|
686
731
|
| "version.js#localVersion"
|
|
687
732
|
| "web-auth.js#isAuthed"
|
|
688
733
|
| "web-auth.js#isLoopback"
|
|
@@ -714,6 +759,14 @@ export type PatchTarget =
|
|
|
714
759
|
| "web-daemon.js#Registry.unregister"
|
|
715
760
|
| "web-daemon.js#savedSessionState"
|
|
716
761
|
| "web-daemon.js#startWebDaemon"
|
|
762
|
+
| "web-live.js#actionOn"
|
|
763
|
+
| "web-live.js#liveEntry"
|
|
764
|
+
| "web-live.js#liveSessionIds"
|
|
765
|
+
| "web-live.js#liveSessionState"
|
|
766
|
+
| "web-live.js#setRunnerFactory"
|
|
767
|
+
| "web-live.js#sleepSession"
|
|
768
|
+
| "web-live.js#sweepIdle"
|
|
769
|
+
| "web-live.js#wakeSession"
|
|
717
770
|
| "web-ws.js#attachWebSocket"
|
|
718
771
|
| "web-ws.js#isUpgradeRequest"
|
|
719
772
|
| "web-ws.js#WsConn._close"
|
package/targets.js
CHANGED
|
@@ -21,6 +21,7 @@ export const PATCH_TARGETS = [
|
|
|
21
21
|
"agent-task.js#statusColor",
|
|
22
22
|
"agent-task.js#TERMINAL_STATUSES",
|
|
23
23
|
"agent.js#addUsage",
|
|
24
|
+
"agent.js#Agent.applyCompactionSplit",
|
|
24
25
|
"agent.js#Agent.computeCompactSplit",
|
|
25
26
|
"agent.js#Agent.hasSteer",
|
|
26
27
|
"agent.js#Agent.interrupt",
|
|
@@ -421,6 +422,32 @@ export const PATCH_TARGETS = [
|
|
|
421
422
|
"session-approvals.js#isApprovedForSession",
|
|
422
423
|
"session-approvals.js#rememberApproval",
|
|
423
424
|
"session-approvals.js#sessionApprovalLabel",
|
|
425
|
+
"session-core.js#clearLeadTeam",
|
|
426
|
+
"session-core.js#leadTeam",
|
|
427
|
+
"session-core.js#SessionCore.bind",
|
|
428
|
+
"session-core.js#SessionCore.clearQueue",
|
|
429
|
+
"session-core.js#SessionCore.dispatch",
|
|
430
|
+
"session-core.js#SessionCore.emit",
|
|
431
|
+
"session-core.js#SessionCore.enqueue",
|
|
432
|
+
"session-core.js#SessionCore.interrupt",
|
|
433
|
+
"session-core.js#SessionCore.mode",
|
|
434
|
+
"session-core.js#SessionCore.onEvent",
|
|
435
|
+
"session-core.js#SessionCore.queued",
|
|
436
|
+
"session-core.js#SessionCore.running",
|
|
437
|
+
"session-core.js#SessionCore.setMode",
|
|
438
|
+
"session-core.js#SessionCore.submit",
|
|
439
|
+
"session-core.js#setLeadTeam",
|
|
440
|
+
"session-host.js#HOST_STREAM_OPS",
|
|
441
|
+
"session-host.js#SessionHost.applyStreamOps",
|
|
442
|
+
"session-host.js#SessionHost.countOutputTokens",
|
|
443
|
+
"session-host.js#SessionHost.externalAllowed",
|
|
444
|
+
"session-host.js#SessionHost.flushStream",
|
|
445
|
+
"session-host.js#SessionHost.generateTitle",
|
|
446
|
+
"session-host.js#SessionHost.normalizeMsg",
|
|
447
|
+
"session-host.js#SessionHost.persistState",
|
|
448
|
+
"session-host.js#SessionHost.recordTranscriptRow",
|
|
449
|
+
"session-host.js#SessionHost.setRecorder",
|
|
450
|
+
"session-host.js#SessionHost.settleThinking",
|
|
424
451
|
"session-hub.js#SessionHub.call",
|
|
425
452
|
"session-hub.js#SessionHub.emit",
|
|
426
453
|
"session-hub.js#SessionHub.patchRow",
|
|
@@ -431,6 +458,8 @@ export const PATCH_TARGETS = [
|
|
|
431
458
|
"session-hub.js#SessionHub.statusChanged",
|
|
432
459
|
"session-hub.js#SessionHub.subscribe",
|
|
433
460
|
"session-hub.js#SessionHub.syncChat",
|
|
461
|
+
"session-view.js#HEADLESS_VIEW",
|
|
462
|
+
"session-view.js#tuiView",
|
|
434
463
|
"session.js#clearSaveFailure",
|
|
435
464
|
"session.js#convRowFor",
|
|
436
465
|
"session.js#deleteSession",
|
|
@@ -530,6 +559,12 @@ export const PATCH_TARGETS = [
|
|
|
530
559
|
"tasks-browser.js#renderTasksBrowser",
|
|
531
560
|
"tasks-browser.js#statusColorToken",
|
|
532
561
|
"tasks-browser.js#visibleTasks",
|
|
562
|
+
"team-panel.js#handleTeamPanelKey",
|
|
563
|
+
"team-panel.js#makeTeamPanel",
|
|
564
|
+
"team-panel.js#memberTraffic",
|
|
565
|
+
"team-panel.js#renderTeamPanel",
|
|
566
|
+
"team-panel.js#sendFromPanel",
|
|
567
|
+
"team-panel.js#teamRows",
|
|
533
568
|
"teleport.js#describeTeleport",
|
|
534
569
|
"teleport.js#packSession",
|
|
535
570
|
"teleport.js#parseTeleport",
|
|
@@ -560,6 +595,7 @@ export const PATCH_TARGETS = [
|
|
|
560
595
|
"term.js#estimateMessageTokens",
|
|
561
596
|
"term.js#estimateRequestOverhead",
|
|
562
597
|
"term.js#estimateTokens",
|
|
598
|
+
"term.js#estimateTokensFloat",
|
|
563
599
|
"term.js#expandTabs",
|
|
564
600
|
"term.js#fit",
|
|
565
601
|
"term.js#forgetMessageTokens",
|
|
@@ -616,6 +652,7 @@ export const PATCH_TARGETS = [
|
|
|
616
652
|
"tui.js#ctrlLetter",
|
|
617
653
|
"tui.js#diffFrame",
|
|
618
654
|
"tui.js#dispatch",
|
|
655
|
+
"tui.js#editDiffRows",
|
|
619
656
|
"tui.js#expandPastes",
|
|
620
657
|
"tui.js#extractJsonString",
|
|
621
658
|
"tui.js#extractPlan",
|
|
@@ -680,11 +717,19 @@ export const PATCH_TARGETS = [
|
|
|
680
717
|
"tui.js#todoRowCount",
|
|
681
718
|
"tui.js#tokenize",
|
|
682
719
|
"tui.js#windowOffset",
|
|
720
|
+
"tui.js#writeWindowTitle",
|
|
683
721
|
"update.js#AUTO_UPDATE_INTERVAL_MS",
|
|
684
722
|
"update.js#checkAndUpdate",
|
|
723
|
+
"update.js#claimInstallLock",
|
|
724
|
+
"update.js#clearUpdateStamp",
|
|
725
|
+
"update.js#installLockHolder",
|
|
685
726
|
"update.js#isNewer",
|
|
727
|
+
"update.js#readUpdateStamp",
|
|
728
|
+
"update.js#releaseInstallLock",
|
|
686
729
|
"update.js#remoteVersion",
|
|
687
730
|
"update.js#updateBackground",
|
|
731
|
+
"update.js#updateLockFile",
|
|
732
|
+
"update.js#updateStampFile",
|
|
688
733
|
"version.js#localVersion",
|
|
689
734
|
"web-auth.js#isAuthed",
|
|
690
735
|
"web-auth.js#isLoopback",
|
|
@@ -716,6 +761,14 @@ export const PATCH_TARGETS = [
|
|
|
716
761
|
"web-daemon.js#Registry.unregister",
|
|
717
762
|
"web-daemon.js#savedSessionState",
|
|
718
763
|
"web-daemon.js#startWebDaemon",
|
|
764
|
+
"web-live.js#actionOn",
|
|
765
|
+
"web-live.js#liveEntry",
|
|
766
|
+
"web-live.js#liveSessionIds",
|
|
767
|
+
"web-live.js#liveSessionState",
|
|
768
|
+
"web-live.js#setRunnerFactory",
|
|
769
|
+
"web-live.js#sleepSession",
|
|
770
|
+
"web-live.js#sweepIdle",
|
|
771
|
+
"web-live.js#wakeSession",
|
|
719
772
|
"web-ws.js#attachWebSocket",
|
|
720
773
|
"web-ws.js#isUpgradeRequest",
|
|
721
774
|
"web-ws.js#WsConn._close",
|
|
@@ -734,4 +787,4 @@ export const PATCH_TARGET_SET = new Set(PATCH_TARGETS);
|
|
|
734
787
|
/** True when `target` names a real, patchable symbol. */
|
|
735
788
|
export function isPatchTarget(target) { return PATCH_TARGET_SET.has(String(target)); }
|
|
736
789
|
|
|
737
|
-
export const GENERATED_FROM = "hncode src/ (
|
|
790
|
+
export const GENERATED_FROM = "hncode src/ (71 files, 774 symbols)";
|