@hncode/hncode-sdk 0.1.0 → 0.1.2
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 +19 -1
- package/targets.js +19 -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
|
+
// 721 patchable symbols across 66 files.
|
|
3
3
|
|
|
4
4
|
/** A symbol a plugin may pass to `api.patch(target, handler)`. */
|
|
5
5
|
export type PatchTarget =
|
|
@@ -68,6 +68,7 @@ export type PatchTarget =
|
|
|
68
68
|
| "clipboard.js#readText"
|
|
69
69
|
| "clipboard.js#warmClipboard"
|
|
70
70
|
| "colors.js#alternateScreen"
|
|
71
|
+
| "colors.js#AUTO_THEME"
|
|
71
72
|
| "colors.js#barCursor"
|
|
72
73
|
| "colors.js#BG"
|
|
73
74
|
| "colors.js#bgRgb"
|
|
@@ -77,6 +78,7 @@ export type PatchTarget =
|
|
|
77
78
|
| "colors.js#C"
|
|
78
79
|
| "colors.js#clearAndSetBg"
|
|
79
80
|
| "colors.js#clearScreen"
|
|
81
|
+
| "colors.js#currentTheme"
|
|
80
82
|
| "colors.js#cursorDown"
|
|
81
83
|
| "colors.js#cursorForward"
|
|
82
84
|
| "colors.js#cursorLeft"
|
|
@@ -92,6 +94,7 @@ export type PatchTarget =
|
|
|
92
94
|
| "colors.js#moveTo"
|
|
93
95
|
| "colors.js#resetScrollRegion"
|
|
94
96
|
| "colors.js#setBracketed"
|
|
97
|
+
| "colors.js#setLightBackground"
|
|
95
98
|
| "colors.js#setScrollRegion"
|
|
96
99
|
| "colors.js#setTheme"
|
|
97
100
|
| "colors.js#showCursor"
|
|
@@ -298,6 +301,9 @@ export type PatchTarget =
|
|
|
298
301
|
| "mcp.js#request"
|
|
299
302
|
| "mcp.js#setLiveConnections"
|
|
300
303
|
| "mcp.js#toHncodeSpec"
|
|
304
|
+
| "memory-profile.js#memoryHeadline"
|
|
305
|
+
| "memory-profile.js#profileMemory"
|
|
306
|
+
| "memory-profile.js#renderMemoryProfile"
|
|
301
307
|
| "notebook.js#cellSource"
|
|
302
308
|
| "notebook.js#checkIndex"
|
|
303
309
|
| "notebook.js#deleteCell"
|
|
@@ -436,6 +442,18 @@ export type PatchTarget =
|
|
|
436
442
|
| "session.js#saveSession"
|
|
437
443
|
| "session.js#sessionFile"
|
|
438
444
|
| "session.js#sessionsDir"
|
|
445
|
+
| "settings-schema.js#changedSettings"
|
|
446
|
+
| "settings-schema.js#coerceSetting"
|
|
447
|
+
| "settings-schema.js#displayValue"
|
|
448
|
+
| "settings-schema.js#effectiveValue"
|
|
449
|
+
| "settings-schema.js#isSet"
|
|
450
|
+
| "settings-schema.js#KIND_LABEL"
|
|
451
|
+
| "settings-schema.js#populatedTabs"
|
|
452
|
+
| "settings-schema.js#settableKeys"
|
|
453
|
+
| "settings-schema.js#SETTING_BY_KEY"
|
|
454
|
+
| "settings-schema.js#SETTINGS_SCHEMA"
|
|
455
|
+
| "settings-schema.js#SETTINGS_TABS"
|
|
456
|
+
| "settings-schema.js#settingsForTab"
|
|
439
457
|
| "shell-safety.js#isDestructiveCommand"
|
|
440
458
|
| "shell-safety.js#isReadOnlyCommand"
|
|
441
459
|
| "shell-safety.js#splitSegments"
|
package/targets.js
CHANGED
|
@@ -70,6 +70,7 @@ export const PATCH_TARGETS = [
|
|
|
70
70
|
"clipboard.js#readText",
|
|
71
71
|
"clipboard.js#warmClipboard",
|
|
72
72
|
"colors.js#alternateScreen",
|
|
73
|
+
"colors.js#AUTO_THEME",
|
|
73
74
|
"colors.js#barCursor",
|
|
74
75
|
"colors.js#BG",
|
|
75
76
|
"colors.js#bgRgb",
|
|
@@ -79,6 +80,7 @@ export const PATCH_TARGETS = [
|
|
|
79
80
|
"colors.js#C",
|
|
80
81
|
"colors.js#clearAndSetBg",
|
|
81
82
|
"colors.js#clearScreen",
|
|
83
|
+
"colors.js#currentTheme",
|
|
82
84
|
"colors.js#cursorDown",
|
|
83
85
|
"colors.js#cursorForward",
|
|
84
86
|
"colors.js#cursorLeft",
|
|
@@ -94,6 +96,7 @@ export const PATCH_TARGETS = [
|
|
|
94
96
|
"colors.js#moveTo",
|
|
95
97
|
"colors.js#resetScrollRegion",
|
|
96
98
|
"colors.js#setBracketed",
|
|
99
|
+
"colors.js#setLightBackground",
|
|
97
100
|
"colors.js#setScrollRegion",
|
|
98
101
|
"colors.js#setTheme",
|
|
99
102
|
"colors.js#showCursor",
|
|
@@ -300,6 +303,9 @@ export const PATCH_TARGETS = [
|
|
|
300
303
|
"mcp.js#request",
|
|
301
304
|
"mcp.js#setLiveConnections",
|
|
302
305
|
"mcp.js#toHncodeSpec",
|
|
306
|
+
"memory-profile.js#memoryHeadline",
|
|
307
|
+
"memory-profile.js#profileMemory",
|
|
308
|
+
"memory-profile.js#renderMemoryProfile",
|
|
303
309
|
"notebook.js#cellSource",
|
|
304
310
|
"notebook.js#checkIndex",
|
|
305
311
|
"notebook.js#deleteCell",
|
|
@@ -438,6 +444,18 @@ export const PATCH_TARGETS = [
|
|
|
438
444
|
"session.js#saveSession",
|
|
439
445
|
"session.js#sessionFile",
|
|
440
446
|
"session.js#sessionsDir",
|
|
447
|
+
"settings-schema.js#changedSettings",
|
|
448
|
+
"settings-schema.js#coerceSetting",
|
|
449
|
+
"settings-schema.js#displayValue",
|
|
450
|
+
"settings-schema.js#effectiveValue",
|
|
451
|
+
"settings-schema.js#isSet",
|
|
452
|
+
"settings-schema.js#KIND_LABEL",
|
|
453
|
+
"settings-schema.js#populatedTabs",
|
|
454
|
+
"settings-schema.js#settableKeys",
|
|
455
|
+
"settings-schema.js#SETTING_BY_KEY",
|
|
456
|
+
"settings-schema.js#SETTINGS_SCHEMA",
|
|
457
|
+
"settings-schema.js#SETTINGS_TABS",
|
|
458
|
+
"settings-schema.js#settingsForTab",
|
|
441
459
|
"shell-safety.js#isDestructiveCommand",
|
|
442
460
|
"shell-safety.js#isReadOnlyCommand",
|
|
443
461
|
"shell-safety.js#splitSegments",
|
|
@@ -716,4 +734,4 @@ export const PATCH_TARGET_SET = new Set(PATCH_TARGETS);
|
|
|
716
734
|
/** True when `target` names a real, patchable symbol. */
|
|
717
735
|
export function isPatchTarget(target) { return PATCH_TARGET_SET.has(String(target)); }
|
|
718
736
|
|
|
719
|
-
export const GENERATED_FROM = "hncode src/ (
|
|
737
|
+
export const GENERATED_FROM = "hncode src/ (66 files, 721 symbols)";
|