pi-usereq 0.12.0 → 0.32.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/.github/workflows/release-npm.yml +13 -6
- package/.gitignore +1 -2
- package/CHANGELOG.md +145 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/pi-usereq/docs/REFERENCES.md +629 -396
- package/pi-usereq/docs/REQUIREMENTS.md +70 -46
- package/pi-usereq/docs/WORKFLOW.md +83 -42
- package/src/core/config.ts +553 -180
- package/src/core/debug-runtime.ts +24 -0
- package/src/core/extension-status.ts +2 -2
- package/src/core/path-context.ts +19 -4
- package/src/index.ts +248 -44
- package/tests/attended-results-scenarios.ts +10 -4
- package/tests/cli-command-option-parity.test.ts +28 -10
- package/tests/debug-extension-harness.test.ts +7 -9
- package/tests/extension-registration.test.ts +314 -123
- package/tests/helpers.ts +29 -6
- package/tests/release-workflow.test.ts +3 -2
- package/scripts/lib/extension-debug-harness.ts +0 -443
- package/scripts/lib/recording-extension-api.ts +0 -855
- package/scripts/lib/sdk-smoke.ts +0 -503
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
- Threads: no explicit threads detected
|
|
45
45
|
- ID: `PROC:gh-release-build`
|
|
46
46
|
- Type: Process
|
|
47
|
-
- Role: GitHub Actions release runner that publishes the npm package, builds changelog text, and creates the GitHub Release after branch gating succeeds.
|
|
47
|
+
- Role: GitHub Actions release runner that configures Node.js `24.15.0`, publishes the npm package, builds changelog text, and creates the GitHub Release after branch gating succeeds.
|
|
48
48
|
- Entrypoints:
|
|
49
49
|
- `build-release(...)` [`.github/workflows/release-npm.yml`]
|
|
50
50
|
- Parent Process: none
|
|
@@ -63,12 +63,18 @@
|
|
|
63
63
|
- `main(...)`: parse argv, normalize config, dispatch selected runner, serialize result [`src/cli.ts`]
|
|
64
64
|
- `parseArgs(...)`: map argv tokens into a structured command selection [`src/cli.ts`]
|
|
65
65
|
- `takeUntilOption(...)`: collect positional operands until next option token [`src/cli.ts`]
|
|
66
|
-
- `applyEnableStaticCheckSpecs(...)`: merge repeatable CLI static-check enable specs
|
|
67
|
-
- `loadMutableProjectConfig(...)`: load
|
|
66
|
+
- `applyEnableStaticCheckSpecs(...)`: merge repeatable CLI static-check enable specs into global checker lists, preserve existing entries, and force targeted local enable flags on before command dispatch [`src/cli.ts`]
|
|
67
|
+
- `loadMutableProjectConfig(...)`: load effective config without intermediate persistence [`src/cli.ts`]
|
|
68
68
|
- `resolveProjectBase(...)`: validate project base path [`src/core/tool-runner.ts`]
|
|
69
|
-
- `loadConfig(...)`: load config or defaults [`src/core/config.ts`]
|
|
70
|
-
- `
|
|
71
|
-
|
|
69
|
+
- `loadConfig(...)`: load merged local/global config or defaults [`src/core/config.ts`]
|
|
70
|
+
- `loadGlobalConfig(...)`: load global config or defaults [`src/core/config.ts`]
|
|
71
|
+
- `getGlobalConfigPath(...)`: resolve global config file path [`src/core/config.ts`]
|
|
72
|
+
- `readConfigPayload(...)`: parse persisted global config JSON when present [`src/core/config.ts`]
|
|
73
|
+
- `loadLocalConfig(...)`: load local config or defaults using global static-check enable defaults [`src/core/config.ts`]
|
|
74
|
+
- `getProjectConfigPath(...)`: resolve local config file path [`src/core/config.ts`]
|
|
75
|
+
- `readConfigPayload(...)`: parse persisted local config JSON when present [`src/core/config.ts`]
|
|
76
|
+
- `mergeConfigScopes(...)`: combine local and global config into the effective runtime config [`src/core/config.ts`]
|
|
77
|
+
- `mergeStaticCheckConfig(...)`: combine local enable flags with global checker arrays [`src/core/config.ts`]
|
|
72
78
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize startup tools [`src/core/pi-usereq-tools.ts`]
|
|
73
79
|
- `isInsideGitRepo(...)`: probe git repository membership [`src/core/tool-runner.ts`]
|
|
74
80
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
@@ -79,23 +85,41 @@
|
|
|
79
85
|
- `validateStaticCheckEntry(...)`: validate command-backed entry before config write [`src/core/static-check.ts`]
|
|
80
86
|
- `findExecutable(...)`: resolve executable on PATH or explicit path [`src/core/static-check.ts`]
|
|
81
87
|
- `isExecutableFile(...)`: verify executable access bits [`src/core/static-check.ts`]
|
|
82
|
-
- `saveConfig(...)`: persist
|
|
83
|
-
- `
|
|
88
|
+
- `saveConfig(...)`: persist split local/global config JSON [`src/core/config.ts`]
|
|
89
|
+
- `saveLocalConfig(...)`: write the local config file [`src/core/config.ts`]
|
|
90
|
+
- `getProjectConfigPath(...)`: resolve local config file path [`src/core/config.ts`]
|
|
91
|
+
- `saveGlobalConfig(...)`: write the global config file [`src/core/config.ts`]
|
|
92
|
+
- `getGlobalConfigPath(...)`: resolve global config file path [`src/core/config.ts`]
|
|
84
93
|
- `loadAndRepairConfig(...)`: persist normalized config when `--here` or `--base` is active and no CLI static-check mutation is requested [`src/core/tool-runner.ts`]
|
|
85
94
|
- `resolveProjectBase(...)`: validate project base path [`src/core/tool-runner.ts`]
|
|
86
|
-
- `loadConfig(...)`: load config or defaults [`src/core/config.ts`]
|
|
87
|
-
- `
|
|
88
|
-
|
|
95
|
+
- `loadConfig(...)`: load merged local/global config or defaults [`src/core/config.ts`]
|
|
96
|
+
- `loadGlobalConfig(...)`: load global config or defaults [`src/core/config.ts`]
|
|
97
|
+
- `getGlobalConfigPath(...)`: resolve global config file path [`src/core/config.ts`]
|
|
98
|
+
- `readConfigPayload(...)`: parse persisted global config JSON when present [`src/core/config.ts`]
|
|
99
|
+
- `loadLocalConfig(...)`: load local config or defaults using global static-check enable defaults [`src/core/config.ts`]
|
|
100
|
+
- `getProjectConfigPath(...)`: resolve local config file path [`src/core/config.ts`]
|
|
101
|
+
- `readConfigPayload(...)`: parse persisted local config JSON when present [`src/core/config.ts`]
|
|
102
|
+
- `mergeConfigScopes(...)`: combine local and global config into the effective runtime config [`src/core/config.ts`]
|
|
103
|
+
- `mergeStaticCheckConfig(...)`: combine local enable flags with global checker arrays [`src/core/config.ts`]
|
|
89
104
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize startup tools [`src/core/pi-usereq-tools.ts`]
|
|
90
105
|
- `isInsideGitRepo(...)`: probe git repository membership [`src/core/tool-runner.ts`]
|
|
91
106
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
92
107
|
- `resolveGitRoot(...)`: resolve repository root [`src/core/tool-runner.ts`]
|
|
93
108
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
94
|
-
- `saveConfig(...)`: persist
|
|
95
|
-
- `
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
109
|
+
- `saveConfig(...)`: persist split local/global config JSON [`src/core/config.ts`]
|
|
110
|
+
- `saveLocalConfig(...)`: write the local config file [`src/core/config.ts`]
|
|
111
|
+
- `getProjectConfigPath(...)`: resolve local config file path [`src/core/config.ts`]
|
|
112
|
+
- `saveGlobalConfig(...)`: write the global config file [`src/core/config.ts`]
|
|
113
|
+
- `getGlobalConfigPath(...)`: resolve global config file path [`src/core/config.ts`]
|
|
114
|
+
- `loadConfig(...)`: load effective merged local/global config for dispatch when no CLI static-check mutation is requested [`src/core/config.ts`]
|
|
115
|
+
- `loadGlobalConfig(...)`: load global config or defaults [`src/core/config.ts`]
|
|
116
|
+
- `getGlobalConfigPath(...)`: resolve global config file path [`src/core/config.ts`]
|
|
117
|
+
- `readConfigPayload(...)`: parse persisted global config JSON when present [`src/core/config.ts`]
|
|
118
|
+
- `loadLocalConfig(...)`: load local config or defaults using global static-check enable defaults [`src/core/config.ts`]
|
|
119
|
+
- `getProjectConfigPath(...)`: resolve local config file path [`src/core/config.ts`]
|
|
120
|
+
- `readConfigPayload(...)`: parse persisted local config JSON when present [`src/core/config.ts`]
|
|
121
|
+
- `mergeConfigScopes(...)`: combine local and global config into the effective runtime config [`src/core/config.ts`]
|
|
122
|
+
- `mergeStaticCheckConfig(...)`: combine local enable flags with global checker arrays [`src/core/config.ts`]
|
|
99
123
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize startup tools [`src/core/pi-usereq-tools.ts`]
|
|
100
124
|
- `runFilesTokens(...)`: branch `--files-tokens`; count explicit-file token, size, and structure metrics [`src/core/tool-runner.ts`]
|
|
101
125
|
- `countFilesMetrics(...)`: read files and extract token, character, byte, line, heading, and optional Doxygen facts [`src/core/token-counter.ts`]
|
|
@@ -551,8 +575,9 @@
|
|
|
551
575
|
- `deliverPromptCommand(...)`: dispatch prompt replay into the current recorded session [`src/index.ts`]
|
|
552
576
|
- External boundaries: `RecordingExtensionAPI.sendUserMessage(...)` records the delivered prompt payload.
|
|
553
577
|
- `configurePiUsereq(...)`: execute the interactive configuration menu [`src/index.ts`]
|
|
554
|
-
- `buildPiUsereqMenuChoices(...)`: serialize top-level settings actions including effective worktree locking
|
|
555
|
-
- `
|
|
578
|
+
- `buildPiUsereqMenuChoices(...)`: serialize top-level settings actions including effective worktree locking plus display-only local and global config-path rows [`src/index.ts`]
|
|
579
|
+
- `formatLocalConfigPathForMenu(...)`: format the current local config path with the shared `~`-relative path formatter for menu display [`src/index.ts`]
|
|
580
|
+
- `formatGlobalConfigPathForMenu(...)`: format the current global config path with the shared `~`-relative path formatter for menu display [`src/index.ts`]
|
|
556
581
|
- `showPiUsereqSettingsMenu(...)`: render the shared settings-menu UI for top-level and submenu actions, keeping inline toggle rows open while rebuilding dependent rows in place [`src/core/settings-menu.ts`]
|
|
557
582
|
- `formatPiUsereqSettingsMenuTitle(...)`: rebuild the menu title with active-theme semantics [`src/core/settings-menu.ts`]
|
|
558
583
|
- `buildPiUsereqSettingsListTheme(...)`: prefer shared CLI settings-list theming and fall back during offline replay [`src/core/settings-menu.ts`]
|
|
@@ -560,7 +585,7 @@
|
|
|
560
585
|
- `buildSettingItems(...)`: map menu choices into settings-list rows, apply optional dim tones, disable non-selectable actions, and expose inline value cycles [`src/core/settings-menu.ts`]
|
|
561
586
|
- `setSettingsListSelectedIndex(...)`: restore the focused row during in-place menu rebuilds [`src/core/settings-menu.ts`]
|
|
562
587
|
- `getSettingsListSelectedIndex(...)`: expose the focused row for the offline bridge after inline toggle handling [`src/core/settings-menu.ts`]
|
|
563
|
-
- `saveProjectConfig(...)`: persist menu updates
|
|
588
|
+
- `saveProjectConfig(...)`: persist split local/global menu updates [`src/index.ts`]
|
|
564
589
|
- `setPiUsereqStatusConfig(...)`: cache the saved config for footer rendering [`src/core/extension-status.ts`]
|
|
565
590
|
- `renderPiUsereqStatus(...)`: refresh live context usage and render the status/branch/context/elapsed/sound footer after save-and-close with CLI-theme token overlays [`src/core/extension-status.ts`]
|
|
566
591
|
- `createStatusThemeAdapter(...)`: constrain status rendering to CLI-supported `accent`, `warning`, `dim`, and `error` theme tokens [`src/core/extension-status.ts`]
|
|
@@ -576,10 +601,10 @@
|
|
|
576
601
|
- `formatElapsedStatusValue(...)`: compose `⏱︎`, `⚑`, and `⌛︎` timer segments [`src/core/extension-status.ts`]
|
|
577
602
|
- `formatCompletedStatusDuration(...)`: render completed timers or the unset placeholder [`src/core/extension-status.ts`]
|
|
578
603
|
- `formatStatusDuration(...)`: render `M:SS` durations [`src/core/extension-status.ts`]
|
|
579
|
-
- `configureStaticCheckMenu(...)`: interactive
|
|
580
|
-
- `configurePiUsereqToolsMenu(...)`: interactive active-tool editor whose per-tool toggle submenu keeps focus while
|
|
581
|
-
- `configurePiNotifyMenu(...)`: interactive notify, sound, and Pushover editor
|
|
582
|
-
- `buildPiNotifyMenuChoices(...)`: serialize command-notify, sound, and Pushover blocks plus shared-event submenu launchers, including boot-sound rows sourced from persisted config [`src/index.ts`]
|
|
604
|
+
- `configureStaticCheckMenu(...)`: interactive editor that adds and removes global Command entries while toggling local per-language enable flags [`src/index.ts`]
|
|
605
|
+
- `configurePiUsereqToolsMenu(...)`: interactive active-tool editor whose per-tool toggle submenu keeps focus while persisting enablement in global config [`src/index.ts`]
|
|
606
|
+
- `configurePiNotifyMenu(...)`: interactive notify, sound, and Pushover editor that persists every subtree mutation in global config [`src/index.ts`]
|
|
607
|
+
- `buildPiNotifyMenuChoices(...)`: serialize command-notify, sound, and Pushover blocks plus shared-event submenu launchers, including boot-sound rows sourced from persisted global config [`src/index.ts`]
|
|
583
608
|
- `buildPiNotifyEventLauncherChoice(...)`: serialize one event-submenu launcher row with a compact enabled-toggle summary [`src/index.ts`]
|
|
584
609
|
- `buildPiNotifyPushoverRows(...)`: serialize direct Pushover rows with locked enablement guidance text plus the shared event-submenu launcher [`src/index.ts`]
|
|
585
610
|
- `configurePiNotifyEventMenu(...)`: interactive completed/interrupted/failed event editor that keeps focus while toggling `on|off` rows for one notification transport [`src/index.ts`]
|
|
@@ -855,6 +880,15 @@
|
|
|
855
880
|
- `cleanupPromptWorktreeCreation(...)`: remove registered worktree entries, leftover directories, and matching branches [`src/core/prompt-command-runtime.ts`]
|
|
856
881
|
- `promptWorktreeRegistered(...)`: test whether the sibling worktree remains registered [`src/core/prompt-command-runtime.ts`]
|
|
857
882
|
- `promptWorktreeBranchExists(...)`: test whether the matching branch remains present [`src/core/prompt-command-runtime.ts`]
|
|
883
|
+
- `getProcessCwdSafe(...)`: resolve a fallback-safe activation cwd before optional debug command registration [`src/index.ts`]
|
|
884
|
+
- `shouldRegisterDebugToolCommands(...)`: load local config and decide whether debug tool wrapper commands should register during activation [`src/index.ts`]
|
|
885
|
+
- `loadProjectConfig(...)`: load config and normalize persisted directory paths for activation-time debug command gating [`src/index.ts`]
|
|
886
|
+
- `getProjectBase(...)`: resolve project base from the activation cwd [`src/index.ts`]
|
|
887
|
+
- `loadConfig(...)`: load config or defaults [`src/core/config.ts`]
|
|
888
|
+
- `getProjectConfigPath(...)`: resolve config file path [`src/core/config.ts`]
|
|
889
|
+
- `getDefaultConfig(...)`: build default config [`src/core/config.ts`]
|
|
890
|
+
- `normalizeEnabledPiUsereqTools(...)`: canonicalize startup tools [`src/core/pi-usereq-tools.ts`]
|
|
891
|
+
- `registerDebugToolCommands(...)`: register config-gated debug slash-command wrappers for `compress`, `references`, `static-check`, and `tokens` [`src/index.ts`]
|
|
858
892
|
- `registerAgentTools(...)`: register structured pi tools whose execute callbacks reuse internal runner families, the status-only references writer, token-optimized payload builders, and compact-plus-expanded custom result renderers [`src/index.ts`]
|
|
859
893
|
- `ensureBundledResourcesAccessible(...)`: validate installation-owned bundled resources for tool executes that need bundled assets [`src/core/resources.ts`]
|
|
860
894
|
- `getBundledResourceRoot(...)`: resolve installation-owned resource root [`src/core/resources.ts`]
|
|
@@ -1082,9 +1116,10 @@
|
|
|
1082
1116
|
- `resolveGitRoot(...)`: resolve repository root [`src/core/tool-runner.ts`]
|
|
1083
1117
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
1084
1118
|
- `getProjectBase(...)`: resolve project base from command context cwd [`src/index.ts`]
|
|
1085
|
-
- `buildPiUsereqMenuChoices(...)`: serialize top-level settings actions including effective worktree locking, notification and debug summaries,
|
|
1119
|
+
- `buildPiUsereqMenuChoices(...)`: serialize top-level settings actions including effective worktree locking, notification and debug summaries, display-only local and global config-path rows, and reset-only terminal rows [`src/index.ts`]
|
|
1086
1120
|
- `formatDebugMenuSummary(...)`: summarize global debug mode plus selected tool and prompt counts [`src/index.ts`]
|
|
1087
|
-
- `
|
|
1121
|
+
- `formatLocalConfigPathForMenu(...)`: format the current local config path with the shared `~`-relative path formatter for menu display [`src/index.ts`]
|
|
1122
|
+
- `formatGlobalConfigPathForMenu(...)`: format the current global config path with the shared `~`-relative path formatter for menu display [`src/index.ts`]
|
|
1088
1123
|
- `buildTerminalSettingsMenuChoices(...)`: append the canonical `Reset defaults` row without `Save and close` [`src/index.ts`]
|
|
1089
1124
|
- `showPiUsereqSettingsMenu(...)`: render the shared settings-menu UI for top-level and submenu actions, keeping inline toggle rows open while rebuilding dependent rows in place [`src/core/settings-menu.ts`]
|
|
1090
1125
|
- `formatPiUsereqSettingsMenuTitle(...)`: rebuild the menu title with active-theme semantics [`src/core/settings-menu.ts`]
|
|
@@ -1095,11 +1130,16 @@
|
|
|
1095
1130
|
- `getSettingsListSelectedIndex(...)`: expose the focused row for the offline bridge after inline toggle handling [`src/core/settings-menu.ts`]
|
|
1096
1131
|
- `persistConfigChange(...)`: persist config immediately after every settings mutation and refresh status rendering [`src/index.ts`]
|
|
1097
1132
|
- `getProjectBase(...)`: resolve project base from command context cwd [`src/index.ts`]
|
|
1098
|
-
- `saveConfig(...)`: persist config JSON [`src/core/config.ts`]
|
|
1099
|
-
- `
|
|
1100
|
-
|
|
1133
|
+
- `saveConfig(...)`: persist split local/global config JSON [`src/core/config.ts`]
|
|
1134
|
+
- `saveLocalConfig(...)`: write the local config file [`src/core/config.ts`]
|
|
1135
|
+
- `getProjectConfigPath(...)`: resolve local config file path [`src/core/config.ts`]
|
|
1136
|
+
- `saveGlobalConfig(...)`: write the global config file [`src/core/config.ts`]
|
|
1137
|
+
- `getGlobalConfigPath(...)`: resolve global config file path [`src/core/config.ts`]
|
|
1138
|
+
- `writePersistedLocalConfigToEditor(...)`: read the already-persisted local config file and write its exact text into the editor [`src/index.ts`]
|
|
1101
1139
|
- `getProjectBase(...)`: resolve project base from command context cwd [`src/index.ts`]
|
|
1102
|
-
- `getProjectConfigPath(...)`: resolve the persisted config path [`src/core/config.ts`]
|
|
1140
|
+
- `getProjectConfigPath(...)`: resolve the persisted local config path [`src/core/config.ts`]
|
|
1141
|
+
- `writePersistedGlobalConfigToEditor(...)`: read the already-persisted global config file and write its exact text into the editor [`src/index.ts`]
|
|
1142
|
+
- `getGlobalConfigPath(...)`: resolve the persisted global config path [`src/core/config.ts`]
|
|
1103
1143
|
- `setPiUsereqStatusConfig(...)`: cache the just-saved docs/tests/src and pi-notify values for status rendering [`src/core/extension-status.ts`]
|
|
1104
1144
|
- `renderPiUsereqStatus(...)`: refresh live context usage and render the status/branch/context/elapsed/sound footer after save-and-close with CLI-theme token overlays [`src/core/extension-status.ts`]
|
|
1105
1145
|
- `createStatusThemeAdapter(...)`: constrain status rendering to CLI-supported `accent`, `warning`, `dim`, and `error` theme tokens [`src/core/extension-status.ts`]
|
|
@@ -1117,12 +1157,12 @@
|
|
|
1117
1157
|
- `formatElapsedStatusValue(...)`: compose `⏱︎`, `⚑`, and `⌛︎` timer segments [`src/core/extension-status.ts`]
|
|
1118
1158
|
- `formatCompletedStatusDuration(...)`: render completed timers or the unset placeholder [`src/core/extension-status.ts`]
|
|
1119
1159
|
- `formatStatusDuration(...)`: render `M:SS` durations [`src/core/extension-status.ts`]
|
|
1120
|
-
- `configureStaticCheckMenu(...)`: interactive
|
|
1160
|
+
- `configureStaticCheckMenu(...)`: interactive editor that adds and removes global Command entries while toggling local per-language enable flags [`src/index.ts`]
|
|
1121
1161
|
- `getStaticCheckLanguageConfigForMenu(...)`: resolve a menu-facing per-language static-check object [`src/index.ts`]
|
|
1122
|
-
- `countConfiguredStaticCheckLanguages(...)`: count languages that retain checker entries [`src/index.ts`]
|
|
1123
|
-
- `countEnabledStaticCheckLanguages(...)`: count languages whose enable flag is on [`src/index.ts`]
|
|
1124
|
-
- `formatStaticCheckLanguagesSummary(...)`: summarize enabled and configured checker languages [`src/index.ts`]
|
|
1125
|
-
- `buildStaticCheckMenuChoices(...)`: serialize guided add/remove actions plus direct per-language toggle rows [`src/index.ts`]
|
|
1162
|
+
- `countConfiguredStaticCheckLanguages(...)`: count languages that retain global checker entries [`src/index.ts`]
|
|
1163
|
+
- `countEnabledStaticCheckLanguages(...)`: count languages whose local enable flag is on [`src/index.ts`]
|
|
1164
|
+
- `formatStaticCheckLanguagesSummary(...)`: summarize enabled languages and configured global checker languages [`src/index.ts`]
|
|
1165
|
+
- `buildStaticCheckMenuChoices(...)`: serialize guided add/remove actions plus direct per-language local toggle rows [`src/index.ts`]
|
|
1126
1166
|
- `getSupportedStaticCheckLanguageSupport(...)`: enumerate supported languages and extensions [`src/core/static-check.ts`]
|
|
1127
1167
|
- `getSupportedStaticCheckLanguages(...)`: enumerate canonical supported languages [`src/core/static-check.ts`]
|
|
1128
1168
|
- `buildTerminalSettingsMenuChoices(...)`: append the canonical value-less `Reset defaults` row to the selector menu [`src/index.ts`]
|
|
@@ -1139,7 +1179,7 @@
|
|
|
1139
1179
|
- `createStaticCheckLanguageConfig(...)`: clone checker entries and derive the enable flag [`src/core/config.ts`]
|
|
1140
1180
|
- `createStaticCheckLanguageConfig(...)`: create empty per-language configs for toggle and removal flows [`src/core/config.ts`]
|
|
1141
1181
|
- `shellSplit(...)`: parse optional parameter input [`src/core/utils.ts`]
|
|
1142
|
-
- `configurePiUsereqToolsMenu(...)`: interactive active-tool editor whose per-tool toggle submenu keeps focus while
|
|
1182
|
+
- `configurePiUsereqToolsMenu(...)`: interactive active-tool editor whose per-tool toggle submenu keeps focus while persisting enablement in global config [`src/index.ts`]
|
|
1143
1183
|
- `applyConfiguredPiUsereqTools(...)`: enforce configured active-tool set [`src/index.ts`]
|
|
1144
1184
|
- `getConfiguredEnabledPiUsereqTools(...)`: canonicalize configured enabled tools [`src/index.ts`]
|
|
1145
1185
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize configurable active tools [`src/core/pi-usereq-tools.ts`]
|
|
@@ -1152,15 +1192,16 @@
|
|
|
1152
1192
|
- `getPiUsereqStartupTools(...)`: enumerate configurable tools from runtime inventory in documented menu order [`src/index.ts`]
|
|
1153
1193
|
- `buildPiUsereqToolToggleChoices(...)`: serialize per-tool startup-toggle rows plus the value-less terminal reset action [`src/index.ts`]
|
|
1154
1194
|
- `buildTerminalSettingsMenuChoices(...)`: append the canonical value-less `Reset defaults` row to the selector menu [`src/index.ts`]
|
|
1155
|
-
- `configureDebugMenu(...)`: interactive debug editor with in-place enable or disable toggles, workflow filters, reset confirmation, and per-tool plus per-prompt selectors [`src/index.ts`]
|
|
1156
|
-
- `buildDebugMenuChoices(...)`: serialize global debug controls, workflow-event toggles, canonical tool and prompt toggles, and the value-less terminal reset row [`src/index.ts`]
|
|
1195
|
+
- `configureDebugMenu(...)`: interactive debug editor with in-place enable or disable toggles, tool-wrapper command registration, workflow filters, reset confirmation, and per-tool plus per-prompt selectors [`src/index.ts`]
|
|
1196
|
+
- `buildDebugMenuChoices(...)`: serialize global debug controls, the `Enable debug commands for tools` row, workflow-event toggles, canonical tool and prompt toggles, and the value-less terminal reset row [`src/index.ts`]
|
|
1157
1197
|
- `buildDebugMenuChoice(...)`: dim and disable locked debug rows while global debug is off [`src/index.ts`]
|
|
1158
1198
|
- `getDebugToolToggleNames(...)`: enumerate debuggable tool names in canonical grouped order [`src/index.ts`]
|
|
1199
|
+
- `registerDebugToolCommands(...)`: register debug slash-command wrappers immediately when the tool-wrapper row transitions to `enable` [`src/index.ts`]
|
|
1159
1200
|
- `selectDebugLogOnStatus(...)`: select one explicit workflow-state filter or `any` [`src/index.ts`]
|
|
1160
1201
|
- `confirmResetChanges(...)`: require explicit approval before applying reset mutations [`src/index.ts`]
|
|
1161
1202
|
- `resetDebugConfigToDefaults(...)`: restore the debug configuration subtree to documented defaults [`src/index.ts`]
|
|
1162
|
-
- `configurePiNotifyMenu(...)`: interactive notify, sound, and Pushover editor
|
|
1163
|
-
- `buildPiNotifyMenuChoices(...)`: serialize command-notify, sound, and Pushover blocks plus shared-event submenu launchers and the value-less terminal reset row, including boot-sound rows sourced from persisted config [`src/index.ts`]
|
|
1203
|
+
- `configurePiNotifyMenu(...)`: interactive notify, sound, and Pushover editor that persists every subtree mutation in global config while keeping runtime sound edits in memory only [`src/index.ts`]
|
|
1204
|
+
- `buildPiNotifyMenuChoices(...)`: serialize command-notify, sound, and Pushover blocks plus shared-event submenu launchers and the value-less terminal reset row, including boot-sound rows sourced from persisted global config [`src/index.ts`]
|
|
1164
1205
|
- `buildPiNotifyEventLauncherChoice(...)`: serialize one event-submenu launcher row with a compact enabled-toggle summary [`src/index.ts`]
|
|
1165
1206
|
- `buildPiNotifyPushoverRows(...)`: serialize direct Pushover rows with locked enablement guidance text plus the shared event-submenu launcher [`src/index.ts`]
|
|
1166
1207
|
- `buildTerminalSettingsMenuChoices(...)`: append the canonical value-less `Reset defaults` row [`src/index.ts`]
|
|
@@ -1196,7 +1237,7 @@
|
|
|
1196
1237
|
- Threads: no explicit threads detected.
|
|
1197
1238
|
- Internal Call-Trace Tree:
|
|
1198
1239
|
- `check-branch(...)`: fetch `origin/master`, evaluate tagged-commit containment, and export the downstream gate flag [`.github/workflows/release-npm.yml`]
|
|
1199
|
-
- External boundaries: `actions/checkout@
|
|
1240
|
+
- External boundaries: `actions/checkout@v5`, GitHub Actions runner shell, `git` CLI, `grep`, and `$GITHUB_OUTPUT`.
|
|
1200
1241
|
- External Boundaries:
|
|
1201
1242
|
- GitHub Actions event routing, hosted-runner lifecycle, checkout action, git subprocesses, and runner output channels.
|
|
1202
1243
|
|
|
@@ -1209,8 +1250,8 @@
|
|
|
1209
1250
|
- Looping model: single-pass job with sequential step execution.
|
|
1210
1251
|
- Threads: no explicit threads detected.
|
|
1211
1252
|
- Internal Call-Trace Tree:
|
|
1212
|
-
- `build-release(...)`: checkout repository content, configure Node.js for npm, install dependencies, remove manifest `private`, publish the package, build changelog text, and create the GitHub Release [`.github/workflows/release-npm.yml`]
|
|
1213
|
-
- External boundaries: `actions/checkout@
|
|
1253
|
+
- `build-release(...)`: checkout repository content, configure Node.js `24.15.0` for npm publication, install dependencies, remove manifest `private`, publish the package, build changelog text, and create the GitHub Release [`.github/workflows/release-npm.yml`]
|
|
1254
|
+
- External boundaries: `actions/checkout@v5`, `actions/setup-node@v5`, npm CLI, npm registry, OIDC token issuance, `mikepenz/release-changelog-builder-action@v6`, `softprops/action-gh-release@v2`, `secrets.NPM_TOKEN`, and `secrets.GITHUB_TOKEN`.
|
|
1214
1255
|
- External Boundaries:
|
|
1215
1256
|
- GitHub Actions event routing, hosted-runner lifecycle, checkout action, setup-node action, npm CLI, npm registry, changelog-builder action, GitHub Releases API, and repository secrets.
|
|
1216
1257
|
|