pi-usereq 0.5.0 → 0.7.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/CHANGELOG.md +48 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/pi-usereq/docs/REFERENCES.md +24470 -4590
- package/pi-usereq/docs/REQUIREMENTS.md +89 -68
- package/pi-usereq/docs/WORKFLOW.md +133 -106
- package/src/core/agent-tool-json.ts +42 -193
- package/src/core/compress-payload.ts +7 -15
- package/src/core/config.ts +84 -29
- package/src/core/extension-status.ts +49 -177
- package/src/core/find-payload.ts +21 -44
- package/src/core/pi-notify.ts +473 -313
- package/src/core/reference-payload.ts +6 -14
- package/src/core/settings-menu.ts +21 -1
- package/src/core/token-counter.ts +58 -124
- package/src/index.ts +798 -537
- package/src/resources/images/favicon.svg +21 -0
- package/src/resources/images/pi.dev.png +0 -0
- package/tests/debug-extension-harness.test.ts +17 -23
- package/tests/extension-registration.test.ts +632 -215
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
- `registerPromptCommands(...)`: register bundled `req-*` prompt commands [`src/index.ts`]
|
|
515
515
|
- `registerAgentTools(...)`: register structured agent tools [`src/index.ts`]
|
|
516
516
|
- `registerConfigCommands(...)`: register configuration commands [`src/index.ts`]
|
|
517
|
-
- `registerPiNotifyShortcut(...)`: register the configured
|
|
517
|
+
- `registerPiNotifyShortcut(...)`: register the configured sound-level shortcut when the runtime supports shortcuts [`src/index.ts`]
|
|
518
518
|
- `loadProjectConfig(...)`: load the current project config for shortcut registration [`src/index.ts`]
|
|
519
519
|
- `getProjectBase(...)`: resolve project base from command context cwd [`src/index.ts`]
|
|
520
520
|
- `loadConfig(...)`: load config or defaults [`src/core/config.ts`]
|
|
@@ -561,33 +561,40 @@
|
|
|
561
561
|
- `refreshContextUsage(...)`: sync the latest context-usage snapshot [`src/core/extension-status.ts`]
|
|
562
562
|
- `RecordingCommandContext.getContextUsage(...)`: return the offline context-usage placeholder [`scripts/lib/recording-extension-api.ts`]
|
|
563
563
|
- `syncPiUsereqStatusTicker(...)`: start or stop the live elapsed ticker [`src/core/extension-status.ts`]
|
|
564
|
-
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/
|
|
564
|
+
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/sound footer with CLI-theme token overlays [`src/core/extension-status.ts`]
|
|
565
565
|
- `createStatusThemeAdapter(...)`: constrain status rendering to CLI-supported `accent`, `warning`, `dim`, and `error` theme tokens [`src/core/extension-status.ts`]
|
|
566
566
|
- `buildPiUsereqStatusText(...)`: compose the single-line footer payload with consolidated elapsed semantics [`src/core/extension-status.ts`]
|
|
567
567
|
- `formatStatusField(...)`: render one colored text field [`src/core/extension-status.ts`]
|
|
568
568
|
- `formatRenderedStatusField(...)`: render one pre-styled field [`src/core/extension-status.ts`]
|
|
569
|
-
- `formatContextUsageBar(...)`: render the
|
|
570
|
-
- `
|
|
571
|
-
- `formatContextUsageOverlay(...)`: paint the fixed-width overlay with preserved bar background [`src/core/extension-status.ts`]
|
|
569
|
+
- `formatContextUsageBar(...)`: render the icon-based context gauge [`src/core/extension-status.ts`]
|
|
570
|
+
- `resolveContextUsageIconText(...)`: map normalized context usage to the fixed-width gauge icon [`src/core/extension-status.ts`]
|
|
572
571
|
- `formatElapsedStatusValue(...)`: compose `⏱︎`, `⚑`, and `⌛︎` timer segments [`src/core/extension-status.ts`]
|
|
573
572
|
- `formatCompletedStatusDuration(...)`: render completed timers or the unset placeholder [`src/core/extension-status.ts`]
|
|
574
573
|
- `formatStatusDuration(...)`: render `M:SS` durations [`src/core/extension-status.ts`]
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
- `classifyPiNotifyOutcome(...)`: map assistant stop reasons to `end`, `esc`, or `err` [`src/core/pi-notify.ts`]
|
|
574
|
+
- `runPiNotifyEffects(...)`: dispatch configured command-notify, sound, and optional Pushover hooks on `agent_end` [`src/core/pi-notify.ts`]
|
|
575
|
+
- `classifyPiNotifyOutcome(...)`: map assistant stop reasons to `completed`, `interrupted`, or `failed` [`src/core/pi-notify.ts`]
|
|
578
576
|
- `hasAgentEndStopReason(...)`: scan assistant stop reasons inside the `agent_end` payload [`src/core/pi-notify.ts`]
|
|
579
|
-
- `
|
|
580
|
-
|
|
581
|
-
- `
|
|
582
|
-
- `
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
577
|
+
- `shouldRunPiNotifyCommand(...)`: validate prompt-scoped command-notify prerequisites [`src/core/pi-notify.ts`]
|
|
578
|
+
- `isPiNotifyOutcomeEnabled(...)`: map `completed|interrupted|failed` to the selected toggle set [`src/core/pi-notify.ts`]
|
|
579
|
+
- `runPiNotifyCommand(...)`: execute `PI_NOTIFY_CMD` with runtime placeholder substitution [`src/core/pi-notify.ts`]
|
|
580
|
+
- `substitutePiNotifyShellTemplate(...)`: replace installation, prompt, base, time, args, and result placeholders inside the shell template [`src/core/pi-notify.ts`]
|
|
581
|
+
- `buildPiNotifyRuntimeTemplateValues(...)`: resolve raw prompt-scoped placeholder values [`src/core/pi-notify.ts`]
|
|
582
|
+
- `formatPiNotifyBasePath(...)`: render `%%BASE%%` as `~`-relative when possible [`src/core/pi-notify.ts`]
|
|
583
|
+
- `formatPiNotifyDuration(...)`: render `%%TIME%%` as `M:SS` [`src/core/pi-notify.ts`]
|
|
584
|
+
- `formatPiNotifyResult(...)`: map prompt-end outcomes to `successed|aborted|failed` [`src/core/pi-notify.ts`]
|
|
585
|
+
- `substitutePiNotifyInstallPath(...)`: replace `%%INSTALLATION_PATH%%` before shell execution [`src/core/pi-notify.ts`]
|
|
586
|
+
- `quotePiNotifyInstallPath(...)`: quote the installation path for shell reuse [`src/core/pi-notify.ts`]
|
|
587
|
+
- `escapePiNotifyShellTemplateValue(...)`: escape prompt-scoped values for double-quoted shell insertion [`src/core/pi-notify.ts`]
|
|
588
|
+
- `getInstallationPath(...)`: resolve the installed extension root [`src/core/path-context.ts`]
|
|
589
|
+
- `runPiNotifyShellCommand(...)`: spawn one detached shell command [`src/core/pi-notify.ts`]
|
|
590
|
+
- `shouldRunPiNotifySound(...)`: validate sound level plus the matching event toggle [`src/core/pi-notify.ts`]
|
|
591
|
+
- `isPiNotifyOutcomeEnabled(...)`: map `completed|interrupted|failed` to the selected toggle set [`src/core/pi-notify.ts`]
|
|
592
|
+
- `runPiNotifySoundCommand(...)`: execute the configured sound command when the sound level and matching event toggle permit delivery [`src/core/pi-notify.ts`]
|
|
587
593
|
- `resolvePiNotifySoundCommand(...)`: select the configured command for `low`, `mid`, or `high` [`src/core/pi-notify.ts`]
|
|
588
594
|
- `substitutePiNotifyInstallPath(...)`: replace `%%INSTALLATION_PATH%%` before shell execution [`src/core/pi-notify.ts`]
|
|
589
595
|
- `quotePiNotifyInstallPath(...)`: quote the installation path for shell reuse [`src/core/pi-notify.ts`]
|
|
590
|
-
|
|
596
|
+
- `getInstallationPath(...)`: resolve the installed extension root [`src/core/path-context.ts`]
|
|
597
|
+
- `runPiNotifyShellCommand(...)`: spawn one detached shell command [`src/core/pi-notify.ts`]
|
|
591
598
|
- `replayCommand(...)`: replay a recorded command handler and capture prompt/UI side effects [`scripts/lib/extension-debug-harness.ts`]
|
|
592
599
|
- `registerExtensionOffline(...)`: rebuild the recorded extension registration surface [`scripts/lib/extension-debug-harness.ts`]
|
|
593
600
|
- `RecordingCommandContext(...)`: initialize the recorded command-context UI adapter and deterministic theme-color encoding [`scripts/lib/recording-extension-api.ts`]
|
|
@@ -600,7 +607,7 @@
|
|
|
600
607
|
- External boundaries: `RecordingExtensionAPI.sendUserMessage(...)` records the delivered prompt payload.
|
|
601
608
|
- `configurePiUsereq(...)`: execute the interactive configuration menu [`src/index.ts`]
|
|
602
609
|
- `buildPiUsereqMenuChoices(...)`: serialize top-level settings actions plus the display-only config-path row [`src/index.ts`]
|
|
603
|
-
- `formatProjectConfigPathForMenu(...)`: format the current config path
|
|
610
|
+
- `formatProjectConfigPathForMenu(...)`: format the current config path and rewrite a leading `$HOME` token to `~` for menu display [`src/index.ts`]
|
|
604
611
|
- `showPiUsereqSettingsMenu(...)`: render the shared settings-menu UI for top-level and submenu actions [`src/core/settings-menu.ts`]
|
|
605
612
|
- `formatPiUsereqSettingsMenuTitle(...)`: rebuild the menu title with active-theme semantics [`src/core/settings-menu.ts`]
|
|
606
613
|
- `buildPiUsereqSettingsListTheme(...)`: prefer shared CLI settings-list theming and fall back during offline replay [`src/core/settings-menu.ts`]
|
|
@@ -608,21 +615,27 @@
|
|
|
608
615
|
- `buildSettingItems(...)`: map menu choices into settings-list rows and apply optional dim value tones [`src/core/settings-menu.ts`]
|
|
609
616
|
- `saveProjectConfig(...)`: persist menu updates on save-and-close [`src/index.ts`]
|
|
610
617
|
- `setPiUsereqStatusConfig(...)`: cache the saved config for footer rendering [`src/core/extension-status.ts`]
|
|
611
|
-
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/
|
|
618
|
+
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/sound footer after save-and-close with CLI-theme token overlays [`src/core/extension-status.ts`]
|
|
612
619
|
- `createStatusThemeAdapter(...)`: constrain status rendering to CLI-supported `accent`, `warning`, `dim`, and `error` theme tokens [`src/core/extension-status.ts`]
|
|
613
|
-
- `buildPiUsereqStatusText(...)`: compose the single-line footer payload with consolidated elapsed semantics [`src/core/extension-status.ts`]
|
|
620
|
+
- `buildPiUsereqStatusText(...)`: compose the single-line footer payload with consolidated elapsed semantics and sound status fields [`src/core/extension-status.ts`]
|
|
614
621
|
- `formatStatusField(...)`: render one colored text field [`src/core/extension-status.ts`]
|
|
615
622
|
- `formatRenderedStatusField(...)`: render one pre-styled field [`src/core/extension-status.ts`]
|
|
616
|
-
- `formatContextUsageBar(...)`: render the
|
|
623
|
+
- `formatContextUsageBar(...)`: render the icon-based context gauge [`src/core/extension-status.ts`]
|
|
617
624
|
- `formatElapsedStatusValue(...)`: compose `⏱︎`, `⚑`, and `⌛︎` timer segments [`src/core/extension-status.ts`]
|
|
618
625
|
- `formatCompletedStatusDuration(...)`: render completed timers or the unset placeholder [`src/core/extension-status.ts`]
|
|
619
626
|
- `formatStatusDuration(...)`: render `M:SS` durations [`src/core/extension-status.ts`]
|
|
620
|
-
|
|
621
|
-
- `
|
|
622
|
-
- `
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
627
|
+
- `configureStaticCheckMenu(...)`: interactive guided static-check editor [`src/index.ts`]
|
|
628
|
+
- `configurePiUsereqToolsMenu(...)`: interactive active-tool editor without a status-reference action [`src/index.ts`]
|
|
629
|
+
- `configurePiNotifyMenu(...)`: interactive notify, sound, and Pushover editor with dedicated event submenus [`src/index.ts`]
|
|
630
|
+
- `buildPiNotifyMenuChoices(...)`: serialize command-notify, sound, and Pushover blocks plus shared-event submenu launchers [`src/index.ts`]
|
|
631
|
+
- `buildPiNotifyEventLauncherChoice(...)`: serialize one event-submenu launcher row with a compact enabled-toggle summary [`src/index.ts`]
|
|
632
|
+
- `buildPiNotifyPushoverRows(...)`: serialize direct Pushover rows plus the shared event-submenu launcher [`src/index.ts`]
|
|
633
|
+
- `configurePiNotifyEventMenu(...)`: interactive completed/interrupted/failed event editor for one notification transport [`src/index.ts`]
|
|
634
|
+
- `buildPiNotifyEventMenuChoices(...)`: serialize shared event rows plus submenu reset/save actions [`src/index.ts`]
|
|
635
|
+
- `resetPiNotifyEventMenuToDefaults(...)`: restore default event toggles for one notification transport [`src/index.ts`]
|
|
636
|
+
- `resolvePiNotifyEventLabel(...)`: map one event-toggle key to the human-readable menu label [`src/index.ts`]
|
|
637
|
+
- `togglePiNotifyFlag(...)`: toggle one persisted boolean notification setting [`src/index.ts`]
|
|
638
|
+
- `togglePiNotifyFlag(...)`: toggle one persisted boolean notification setting [`src/index.ts`]
|
|
626
639
|
- `replayTool(...)`: replay a recorded tool execute handler and capture content/details [`scripts/lib/extension-debug-harness.ts`]
|
|
627
640
|
- `registerExtensionOffline(...)`: rebuild the recorded extension registration surface [`scripts/lib/extension-debug-harness.ts`]
|
|
628
641
|
- `RecordingCommandContext(...)`: initialize the recorded command-context UI adapter and deterministic theme-color encoding [`scripts/lib/recording-extension-api.ts`]
|
|
@@ -633,6 +646,8 @@
|
|
|
633
646
|
- `buildTokenToolPayload(...)`: construct agent-oriented token JSON with separated source facts, metrics, and guidance [`src/core/token-counter.ts`]
|
|
634
647
|
- `probeRequestedPath(...)`: classify requested paths as readable files, missing inputs, or non-file inputs [`src/core/token-counter.ts`]
|
|
635
648
|
- `countFilesMetrics(...)`: read readable files and extract token, character, byte, line, heading, and optional Doxygen facts [`src/core/token-counter.ts`]
|
|
649
|
+
- `TokenCounter(...)`: lazily resolve `js-tiktoken` only when token counting executes [`src/core/token-counter.ts`]
|
|
650
|
+
- `loadJsTiktokenModule(...)`: convert missing tokenizer dependencies into deterministic `ReqError` failures [`src/core/token-counter.ts`]
|
|
636
651
|
- `buildCountFileMetricsResult(...)`: assemble direct-access per-file metrics and metadata [`src/core/token-counter.ts`]
|
|
637
652
|
- `TokenCounter.countTokens(...)`: encode content and count tokens [`src/core/token-counter.ts`]
|
|
638
653
|
- `TokenCounter.countChars(...)`: count characters [`src/core/token-counter.ts`]
|
|
@@ -641,17 +656,19 @@
|
|
|
641
656
|
- `extractPrimaryHeadingText(...)`: extract the first markdown heading when present [`src/core/token-counter.ts`]
|
|
642
657
|
- `extractLeadingDoxygenFields(...)`: extract file-level Doxygen fields when present [`src/core/token-counter.ts`]
|
|
643
658
|
- `parseDoxygenComment(...)`: parse normalized Doxygen fields [`src/core/doxygen-parser.ts`]
|
|
644
|
-
- `orderPathsByMetric(...)`: derive stable counted-path orderings for guidance [`src/core/token-counter.ts`]
|
|
645
659
|
- `buildTokenToolExecuteResult(...)`: wrap token payloads into tool content and structured details [`src/index.ts`]
|
|
646
660
|
- `buildTokenToolExecutionStderr(...)`: serialize skipped and error observations into stderr text [`src/index.ts`]
|
|
647
661
|
- `buildStructuredToolExecuteResult(...)`: mirror the final JSON object into tool content and details [`src/core/agent-tool-json.ts`]
|
|
648
|
-
- `
|
|
662
|
+
- `buildFailedTokenToolExecuteResult(...)`: normalize pre-payload token failures into the stable structured token-tool response shape [`src/index.ts`]
|
|
663
|
+
- `normalizeToolFailure(...)`: convert `ReqError` failures into deterministic execution metadata [`src/core/agent-tool-json.ts`]
|
|
664
|
+
- `buildStructuredToolExecuteResult(...)`: mirror the final JSON object into tool content and details [`src/core/agent-tool-json.ts`]
|
|
665
|
+
- `buildReferenceToolPayload(...)`: construct token-optimized references JSON with repository structure, symbols, and Doxygen fields [`src/core/reference-payload.ts`]
|
|
649
666
|
- `canonicalizeReferencePath(...)`: normalize request and file paths against the project base [`src/core/reference-payload.ts`]
|
|
650
667
|
- `analyzeReferenceFile(...)`: analyze one processable file into structured imports, symbols, and comments [`src/core/reference-payload.ts`]
|
|
651
668
|
- `buildRepositoryTree(...)`: materialize the repository directory tree as structured JSON [`src/core/reference-payload.ts`]
|
|
652
669
|
- `buildReferenceToolExecuteResult(...)`: wrap references payloads into tool content and structured details [`src/index.ts`]
|
|
653
670
|
- `buildStructuredToolExecuteResult(...)`: mirror the final JSON object into tool content and details [`src/core/agent-tool-json.ts`]
|
|
654
|
-
- `buildCompressToolPayload(...)`: construct
|
|
671
|
+
- `buildCompressToolPayload(...)`: construct token-optimized compression JSON with structured line facts, symbols, and Doxygen fields [`src/core/compress-payload.ts`]
|
|
655
672
|
- `analyzeCompressFile(...)`: compress one requested file and attach symbol metadata when available [`src/core/compress-payload.ts`]
|
|
656
673
|
- `compressFileDetailed(...)`: compress one file into structured lines and rendered text [`src/core/compress.ts`]
|
|
657
674
|
- `analyzeCompressedFileSymbols(...)`: extract symbol and Doxygen records for compressed files [`src/core/compress-payload.ts`]
|
|
@@ -661,7 +678,7 @@
|
|
|
661
678
|
- `buildFindToolSchemaDescription(...)`: synthesize find parameter-schema descriptions [`src/index.ts`]
|
|
662
679
|
- `buildFindToolPromptGuidelines(...)`: synthesize agent-oriented find guidance strings [`src/index.ts`]
|
|
663
680
|
- `buildFindToolSupportedTagGuidelines(...)`: emit per-language supported-tag guidance lines [`src/index.ts`]
|
|
664
|
-
- `buildFindToolPayload(...)`: construct
|
|
681
|
+
- `buildFindToolPayload(...)`: construct token-optimized construct-search JSON with structured file statuses, matches, line facts, and Doxygen fields [`src/core/find-payload.ts`]
|
|
665
682
|
- `validateTagFilter(...)`: normalize requested construct tags [`src/core/find-payload.ts`]
|
|
666
683
|
- `validateRegexPattern(...)`: compile the construct-name regex [`src/core/find-payload.ts`]
|
|
667
684
|
- `analyzeFindFile(...)`: analyze one requested file into structured search status and match records [`src/core/find-payload.ts`]
|
|
@@ -672,20 +689,20 @@
|
|
|
672
689
|
- `buildStructuredToolExecuteResult(...)`: mirror the final JSON object into tool content and details [`src/core/agent-tool-json.ts`]
|
|
673
690
|
- `runGitPath(...)`: query the resolved git-path value [`src/core/tool-runner.ts`]
|
|
674
691
|
- `runGetBasePath(...)`: query the resolved base-path value [`src/core/tool-runner.ts`]
|
|
675
|
-
- `buildPathQueryToolPayload(...)`: structure path-query payloads for `git-path` and `get-base-path` [`src/core/agent-tool-json.ts`]
|
|
692
|
+
- `buildPathQueryToolPayload(...)`: structure token-optimized path-query payloads for `git-path` and `get-base-path` [`src/core/agent-tool-json.ts`]
|
|
676
693
|
- `runFilesStaticCheck(...)`: execute configured checkers for explicit-file requests [`src/core/tool-runner.ts`]
|
|
677
694
|
- `collectProjectStaticCheckSelection(...)`: derive project static-check file selections and fixture exclusions [`src/index.ts`]
|
|
678
695
|
- `runProjectStaticCheck(...)`: execute configured checkers for project source and test selections [`src/core/tool-runner.ts`]
|
|
679
|
-
- `buildStaticCheckToolPayload(...)`: structure static-check
|
|
696
|
+
- `buildStaticCheckToolPayload(...)`: structure token-optimized static-check summary, file-selection, and execution facts [`src/core/agent-tool-json.ts`]
|
|
680
697
|
- `runGitCheck(...)`: validate runtime repository cleanliness [`src/core/tool-runner.ts`]
|
|
681
|
-
- `buildGitCheckToolPayload(...)`: structure git-validation status and execution facts [`src/core/agent-tool-json.ts`]
|
|
682
|
-
- `buildDocsCheckToolPayload(...)`: structure canonical-doc presence and remediation facts [`src/core/agent-tool-json.ts`]
|
|
698
|
+
- `buildGitCheckToolPayload(...)`: structure token-optimized git-validation status and execution facts [`src/core/agent-tool-json.ts`]
|
|
699
|
+
- `buildDocsCheckToolPayload(...)`: structure token-optimized canonical-doc presence and remediation facts [`src/core/agent-tool-json.ts`]
|
|
683
700
|
- `runGitWtName(...)`: generate the standardized worktree name [`src/core/tool-runner.ts`]
|
|
684
|
-
- `buildWorktreeNameToolPayload(...)`: structure worktree-name generation facts [`src/core/agent-tool-json.ts`]
|
|
701
|
+
- `buildWorktreeNameToolPayload(...)`: structure token-optimized worktree-name generation facts [`src/core/agent-tool-json.ts`]
|
|
685
702
|
- `runGitWtCreate(...)`: create a dedicated worktree and branch [`src/core/tool-runner.ts`]
|
|
686
703
|
- `runGitWtDelete(...)`: delete a dedicated worktree and branch [`src/core/tool-runner.ts`]
|
|
687
|
-
- `buildWorktreeMutationToolPayload(...)`: structure worktree create
|
|
688
|
-
- `buildToolExecutionSection(...)`: normalize stdout, stderr, and exit-code metadata [`src/core/agent-tool-json.ts`]
|
|
704
|
+
- `buildWorktreeMutationToolPayload(...)`: structure token-optimized worktree create-delete facts [`src/core/agent-tool-json.ts`]
|
|
705
|
+
- `buildToolExecutionSection(...)`: normalize residual stdout, stderr, and exit-code metadata [`src/core/agent-tool-json.ts`]
|
|
689
706
|
- `normalizeToolFailure(...)`: convert `ReqError` failures into structured execution records [`src/core/agent-tool-json.ts`]
|
|
690
707
|
- `runSdkSmoke(...)`: replay offline `session_start`, probe the official SDK runtime, and compare inventories [`scripts/lib/sdk-smoke.ts`]
|
|
691
708
|
- `replaySessionStart(...)`: capture the offline `session_start` contract [`scripts/lib/extension-debug-harness.ts`]
|
|
@@ -780,18 +797,14 @@
|
|
|
780
797
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
781
798
|
- `resolveGitRoot(...)`: resolve repository root [`src/core/tool-runner.ts`]
|
|
782
799
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
783
|
-
- `buildSharedRuntimePathFacts(...)`: derive shared runtime path facts for path, git, docs, worktree, and static-check payloads [`src/index.ts`]
|
|
784
|
-
- `buildRuntimePathContext(...)`: derive installation, execution, base, config, docs, tests, source, and git paths [`src/core/path-context.ts`]
|
|
785
|
-
- `getInstallationPath(...)`: resolve the installed extension root from the executing module [`src/core/path-context.ts`]
|
|
786
|
-
- `getConfigPath(...)`: derive the `.pi-usereq/config.json` path [`src/core/path-context.ts`]
|
|
787
|
-
- `buildRuntimePathFacts(...)`: convert runtime paths into payload-facing path strings [`src/core/path-context.ts`]
|
|
788
|
-
- `formatRuntimePathForDisplay(...)`: serialize user-home-relative paths with environment variables [`src/core/path-context.ts`]
|
|
789
800
|
- `runGitPath(...)`: query the resolved git-path value [`src/core/tool-runner.ts`]
|
|
790
801
|
- `runGetBasePath(...)`: query the resolved base-path value [`src/core/tool-runner.ts`]
|
|
791
|
-
- `buildPathQueryToolPayload(...)`: structure path-query payloads for `git-path` and `get-base-path` [`src/core/agent-tool-json.ts`]
|
|
792
|
-
- `buildTokenToolPayload(...)`: construct
|
|
802
|
+
- `buildPathQueryToolPayload(...)`: structure token-optimized path-query payloads for `git-path` and `get-base-path` [`src/core/agent-tool-json.ts`]
|
|
803
|
+
- `buildTokenToolPayload(...)`: construct token-optimized token JSON with direct-access source facts and metrics [`src/core/token-counter.ts`]
|
|
793
804
|
- `probeRequestedPath(...)`: classify requested paths as readable files, missing inputs, or non-file inputs [`src/core/token-counter.ts`]
|
|
794
805
|
- `countFilesMetrics(...)`: read readable files and extract token, character, byte, line, heading, and optional Doxygen facts [`src/core/token-counter.ts`]
|
|
806
|
+
- `TokenCounter(...)`: lazily resolve `js-tiktoken` only when token counting executes [`src/core/token-counter.ts`]
|
|
807
|
+
- `loadJsTiktokenModule(...)`: convert missing tokenizer dependencies into deterministic `ReqError` failures [`src/core/token-counter.ts`]
|
|
795
808
|
- `buildCountFileMetricsResult(...)`: assemble direct-access per-file metrics and metadata [`src/core/token-counter.ts`]
|
|
796
809
|
- `TokenCounter.countTokens(...)`: encode content and count tokens [`src/core/token-counter.ts`]
|
|
797
810
|
- `TokenCounter.countChars(...)`: count characters [`src/core/token-counter.ts`]
|
|
@@ -800,17 +813,19 @@
|
|
|
800
813
|
- `extractPrimaryHeadingText(...)`: extract the first markdown heading when present [`src/core/token-counter.ts`]
|
|
801
814
|
- `extractLeadingDoxygenFields(...)`: extract file-level Doxygen fields when present [`src/core/token-counter.ts`]
|
|
802
815
|
- `parseDoxygenComment(...)`: parse normalized Doxygen fields [`src/core/doxygen-parser.ts`]
|
|
803
|
-
- `orderPathsByMetric(...)`: derive stable counted-path orderings for guidance [`src/core/token-counter.ts`]
|
|
804
816
|
- `buildTokenToolExecuteResult(...)`: wrap token payloads into tool content and structured details [`src/index.ts`]
|
|
805
817
|
- `buildTokenToolExecutionStderr(...)`: serialize skipped and error observations into stderr text [`src/index.ts`]
|
|
806
818
|
- `buildStructuredToolExecuteResult(...)`: mirror the final JSON object into tool content and details [`src/core/agent-tool-json.ts`]
|
|
807
|
-
- `
|
|
819
|
+
- `buildFailedTokenToolExecuteResult(...)`: normalize pre-payload token failures into the stable structured token-tool response shape [`src/index.ts`]
|
|
820
|
+
- `normalizeToolFailure(...)`: convert `ReqError` failures into deterministic execution metadata [`src/core/agent-tool-json.ts`]
|
|
821
|
+
- `buildStructuredToolExecuteResult(...)`: mirror the final JSON object into tool content and details [`src/core/agent-tool-json.ts`]
|
|
822
|
+
- `buildReferenceToolPayload(...)`: construct token-optimized references JSON with repository structure, symbols, and Doxygen fields [`src/core/reference-payload.ts`]
|
|
808
823
|
- `canonicalizeReferencePath(...)`: normalize request and file paths against the project base [`src/core/reference-payload.ts`]
|
|
809
824
|
- `analyzeReferenceFile(...)`: analyze one processable file into structured imports, symbols, and comments [`src/core/reference-payload.ts`]
|
|
810
825
|
- `buildRepositoryTree(...)`: materialize the repository directory tree as structured JSON [`src/core/reference-payload.ts`]
|
|
811
826
|
- `buildReferenceToolExecuteResult(...)`: wrap references payloads into tool content and structured details [`src/index.ts`]
|
|
812
827
|
- `buildStructuredToolExecuteResult(...)`: mirror the final JSON object into tool content and details [`src/core/agent-tool-json.ts`]
|
|
813
|
-
- `buildCompressToolPayload(...)`: construct
|
|
828
|
+
- `buildCompressToolPayload(...)`: construct token-optimized compression JSON with structured line facts, symbols, and Doxygen fields [`src/core/compress-payload.ts`]
|
|
814
829
|
- `analyzeCompressFile(...)`: compress one requested file and attach symbol metadata when available [`src/core/compress-payload.ts`]
|
|
815
830
|
- `compressFileDetailed(...)`: compress one file into structured lines and rendered text [`src/core/compress.ts`]
|
|
816
831
|
- `analyzeCompressedFileSymbols(...)`: extract symbol and Doxygen records for compressed files [`src/core/compress-payload.ts`]
|
|
@@ -820,7 +835,7 @@
|
|
|
820
835
|
- `buildFindToolSchemaDescription(...)`: synthesize find parameter-schema descriptions [`src/index.ts`]
|
|
821
836
|
- `buildFindToolPromptGuidelines(...)`: synthesize agent-oriented find guidance strings [`src/index.ts`]
|
|
822
837
|
- `buildFindToolSupportedTagGuidelines(...)`: emit per-language supported-tag guidance lines [`src/index.ts`]
|
|
823
|
-
- `buildFindToolPayload(...)`: construct
|
|
838
|
+
- `buildFindToolPayload(...)`: construct token-optimized construct-search JSON with structured file statuses, matches, line facts, and Doxygen fields [`src/core/find-payload.ts`]
|
|
824
839
|
- `validateTagFilter(...)`: normalize requested construct tags [`src/core/find-payload.ts`]
|
|
825
840
|
- `validateRegexPattern(...)`: compile the construct-name regex [`src/core/find-payload.ts`]
|
|
826
841
|
- `analyzeFindFile(...)`: analyze one requested file into structured search status and match records [`src/core/find-payload.ts`]
|
|
@@ -832,16 +847,16 @@
|
|
|
832
847
|
- `runFilesStaticCheck(...)`: execute configured checkers for explicit-file requests [`src/core/tool-runner.ts`]
|
|
833
848
|
- `collectProjectStaticCheckSelection(...)`: derive project static-check file selections and fixture exclusions [`src/index.ts`]
|
|
834
849
|
- `runProjectStaticCheck(...)`: execute configured checkers for project source and test selections [`src/core/tool-runner.ts`]
|
|
835
|
-
- `buildStaticCheckToolPayload(...)`: structure static-check
|
|
850
|
+
- `buildStaticCheckToolPayload(...)`: structure token-optimized static-check summary, file-selection, and execution facts [`src/core/agent-tool-json.ts`]
|
|
836
851
|
- `runGitCheck(...)`: validate runtime repository cleanliness [`src/core/tool-runner.ts`]
|
|
837
|
-
- `buildGitCheckToolPayload(...)`: structure git-validation status and execution facts [`src/core/agent-tool-json.ts`]
|
|
838
|
-
- `buildDocsCheckToolPayload(...)`: structure canonical-doc presence and remediation facts [`src/core/agent-tool-json.ts`]
|
|
852
|
+
- `buildGitCheckToolPayload(...)`: structure token-optimized git-validation status and execution facts [`src/core/agent-tool-json.ts`]
|
|
853
|
+
- `buildDocsCheckToolPayload(...)`: structure token-optimized canonical-doc presence and remediation facts [`src/core/agent-tool-json.ts`]
|
|
839
854
|
- `runGitWtName(...)`: generate the standardized worktree name [`src/core/tool-runner.ts`]
|
|
840
|
-
- `buildWorktreeNameToolPayload(...)`: structure worktree-name generation facts [`src/core/agent-tool-json.ts`]
|
|
855
|
+
- `buildWorktreeNameToolPayload(...)`: structure token-optimized worktree-name generation facts [`src/core/agent-tool-json.ts`]
|
|
841
856
|
- `runGitWtCreate(...)`: create a dedicated worktree and branch [`src/core/tool-runner.ts`]
|
|
842
857
|
- `runGitWtDelete(...)`: delete a dedicated worktree and branch [`src/core/tool-runner.ts`]
|
|
843
|
-
- `buildWorktreeMutationToolPayload(...)`: structure worktree create
|
|
844
|
-
- `buildToolExecutionSection(...)`: normalize stdout, stderr, and exit-code metadata [`src/core/agent-tool-json.ts`]
|
|
858
|
+
- `buildWorktreeMutationToolPayload(...)`: structure token-optimized worktree create-delete facts [`src/core/agent-tool-json.ts`]
|
|
859
|
+
- `buildToolExecutionSection(...)`: normalize residual stdout, stderr, and exit-code metadata [`src/core/agent-tool-json.ts`]
|
|
845
860
|
- `normalizeToolFailure(...)`: convert `ReqError` failures into structured execution records [`src/core/agent-tool-json.ts`]
|
|
846
861
|
- `registerConfigCommands(...)`: register interactive configuration commands [`src/index.ts`]
|
|
847
862
|
- `configurePiUsereq(...)`: interactive configuration menu root [`src/index.ts`]
|
|
@@ -858,7 +873,7 @@
|
|
|
858
873
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
859
874
|
- `resolveGitRoot(...)`: resolve repository root [`src/core/tool-runner.ts`]
|
|
860
875
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
861
|
-
- `registerPiNotifyShortcut(...)`: register the configured
|
|
876
|
+
- `registerPiNotifyShortcut(...)`: register the configured sound-level shortcut when the runtime supports shortcuts [`src/index.ts`]
|
|
862
877
|
- `loadProjectConfig(...)`: load config for shortcut registration [`src/index.ts`]
|
|
863
878
|
- `getProjectBase(...)`: resolve project base from command context cwd [`src/index.ts`]
|
|
864
879
|
- `loadConfig(...)`: load config or defaults [`src/core/config.ts`]
|
|
@@ -892,38 +907,56 @@
|
|
|
892
907
|
- `updateExtensionStatus(...)`: refresh stored context usage, elapsed timers, prompt-request state, cumulative runtime, and rendered status text [`src/core/extension-status.ts`]
|
|
893
908
|
- `refreshContextUsage(...)`: sync the latest context-usage snapshot [`src/core/extension-status.ts`]
|
|
894
909
|
- `syncPiUsereqStatusTicker(...)`: start or stop the live elapsed ticker [`src/core/extension-status.ts`]
|
|
895
|
-
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/
|
|
910
|
+
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/sound footer with CLI-theme token overlays [`src/core/extension-status.ts`]
|
|
896
911
|
- `createStatusThemeAdapter(...)`: constrain status rendering to CLI-supported `accent`, `warning`, `dim`, and `error` theme tokens [`src/core/extension-status.ts`]
|
|
897
|
-
- `buildPiUsereqStatusText(...)`: compose the single-line footer payload with consolidated elapsed semantics
|
|
912
|
+
- `buildPiUsereqStatusText(...)`: compose the single-line footer payload with consolidated elapsed semantics and sound status fields [`src/core/extension-status.ts`]
|
|
898
913
|
- `formatStatusField(...)`: render one colored text field [`src/core/extension-status.ts`]
|
|
899
914
|
- `formatRenderedStatusField(...)`: render one pre-styled field [`src/core/extension-status.ts`]
|
|
900
|
-
- `formatContextUsageBar(...)`: render the
|
|
901
|
-
- `
|
|
902
|
-
- `formatContextUsageOverlay(...)`: paint the fixed-width overlay with preserved bar background [`src/core/extension-status.ts`]
|
|
915
|
+
- `formatContextUsageBar(...)`: render the icon-based context gauge [`src/core/extension-status.ts`]
|
|
916
|
+
- `resolveContextUsageIconText(...)`: map normalized context usage to the fixed-width gauge icon [`src/core/extension-status.ts`]
|
|
903
917
|
- `formatElapsedStatusValue(...)`: compose `⏱︎`, `⚑`, and `⌛︎` timer segments [`src/core/extension-status.ts`]
|
|
904
918
|
- `formatCompletedStatusDuration(...)`: render completed timers or the unset placeholder [`src/core/extension-status.ts`]
|
|
905
919
|
- `formatStatusDuration(...)`: render `M:SS` durations [`src/core/extension-status.ts`]
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
- `runPiNotifyEffects(...)`: dispatch configured terminal beeps, successful-run sound hooks, and optional Pushover API requests on `agent_end` [`src/core/pi-notify.ts`]
|
|
909
|
-
- `classifyPiNotifyOutcome(...)`: map assistant stop reasons to `end`, `esc`, or `err` [`src/core/pi-notify.ts`]
|
|
920
|
+
- `runPiNotifyEffects(...)`: dispatch configured command-notify, sound, and optional Pushover API requests on `agent_end` [`src/core/pi-notify.ts`]
|
|
921
|
+
- `classifyPiNotifyOutcome(...)`: map assistant stop reasons to `completed`, `interrupted`, or `failed` [`src/core/pi-notify.ts`]
|
|
910
922
|
- `hasAgentEndStopReason(...)`: scan assistant stop reasons inside the `agent_end` payload [`src/core/pi-notify.ts`]
|
|
911
|
-
- `
|
|
912
|
-
|
|
913
|
-
- `
|
|
914
|
-
- `
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
923
|
+
- `shouldRunPiNotifyCommand(...)`: validate prompt-scoped command-notify prerequisites [`src/core/pi-notify.ts`]
|
|
924
|
+
- `isPiNotifyOutcomeEnabled(...)`: map `completed|interrupted|failed` to the selected toggle set [`src/core/pi-notify.ts`]
|
|
925
|
+
- `runPiNotifyCommand(...)`: execute `PI_NOTIFY_CMD` with runtime placeholder substitution [`src/core/pi-notify.ts`]
|
|
926
|
+
- `substitutePiNotifyShellTemplate(...)`: replace installation, prompt, base, time, args, and result placeholders inside the shell template [`src/core/pi-notify.ts`]
|
|
927
|
+
- `buildPiNotifyRuntimeTemplateValues(...)`: resolve raw prompt-scoped placeholder values [`src/core/pi-notify.ts`]
|
|
928
|
+
- `formatPiNotifyBasePath(...)`: render `%%BASE%%` as `~`-relative when possible [`src/core/pi-notify.ts`]
|
|
929
|
+
- `formatPiNotifyDuration(...)`: render `%%TIME%%` as `M:SS` [`src/core/pi-notify.ts`]
|
|
930
|
+
- `formatPiNotifyResult(...)`: map prompt-end outcomes to `successed|aborted|failed` [`src/core/pi-notify.ts`]
|
|
931
|
+
- `substitutePiNotifyInstallPath(...)`: replace `%%INSTALLATION_PATH%%` before shell execution [`src/core/pi-notify.ts`]
|
|
932
|
+
- `quotePiNotifyInstallPath(...)`: quote the installation path for shell reuse [`src/core/pi-notify.ts`]
|
|
933
|
+
- `escapePiNotifyShellTemplateValue(...)`: escape prompt-scoped values for double-quoted shell insertion [`src/core/pi-notify.ts`]
|
|
934
|
+
- `getInstallationPath(...)`: resolve the installed extension root [`src/core/path-context.ts`]
|
|
935
|
+
- `runPiNotifyShellCommand(...)`: spawn one detached shell command [`src/core/pi-notify.ts`]
|
|
936
|
+
- `shouldRunPiNotifySound(...)`: validate sound level plus the matching event toggle [`src/core/pi-notify.ts`]
|
|
937
|
+
- `isPiNotifyOutcomeEnabled(...)`: map `completed|interrupted|failed` to the selected toggle set [`src/core/pi-notify.ts`]
|
|
938
|
+
- `runPiNotifySoundCommand(...)`: execute the configured sound command when the sound level and matching event toggle permit delivery [`src/core/pi-notify.ts`]
|
|
919
939
|
- `resolvePiNotifySoundCommand(...)`: select the configured command for `low`, `mid`, or `high` [`src/core/pi-notify.ts`]
|
|
920
940
|
- `substitutePiNotifyInstallPath(...)`: replace `%%INSTALLATION_PATH%%` before shell execution [`src/core/pi-notify.ts`]
|
|
921
941
|
- `quotePiNotifyInstallPath(...)`: quote the installation path for shell reuse [`src/core/pi-notify.ts`]
|
|
922
|
-
|
|
923
|
-
|
|
942
|
+
- `getInstallationPath(...)`: resolve the installed extension root [`src/core/path-context.ts`]
|
|
943
|
+
- `runPiNotifyShellCommand(...)`: spawn one detached shell command [`src/core/pi-notify.ts`]
|
|
944
|
+
- `shouldRunPiNotifyPushover(...)`: validate global Pushover enablement, the matching event toggle, and required credentials [`src/core/pi-notify.ts`]
|
|
945
|
+
- `isPiNotifyOutcomeEnabled(...)`: map `completed|interrupted|failed` to the selected toggle set [`src/core/pi-notify.ts`]
|
|
946
|
+
- `runPiNotifyPushoverRequest(...)`: POST the prompt-end payload to the Pushover Message API when credentials and flags permit delivery [`src/core/pi-notify.ts`]
|
|
924
947
|
- `buildPiNotifyPushoverPayload(...)`: serialize token, user, title, priority, and message fields [`src/core/pi-notify.ts`]
|
|
925
|
-
|
|
926
|
-
|
|
948
|
+
- `buildPiNotifyPushoverTitle(...)`: resolve the configured Pushover title template [`src/core/pi-notify.ts`]
|
|
949
|
+
- `substitutePiNotifyTextTemplate(...)`: replace prompt-scoped placeholders inside the title template [`src/core/pi-notify.ts`]
|
|
950
|
+
- `buildPiNotifyRuntimeTemplateValues(...)`: resolve raw prompt-scoped placeholder values [`src/core/pi-notify.ts`]
|
|
951
|
+
- `formatPiNotifyBasePath(...)`: render `%%BASE%%` as `~`-relative when possible [`src/core/pi-notify.ts`]
|
|
952
|
+
- `formatPiNotifyDuration(...)`: render `%%TIME%%` as `M:SS` [`src/core/pi-notify.ts`]
|
|
953
|
+
- `formatPiNotifyResult(...)`: map prompt-end outcomes to `successed|aborted|failed` [`src/core/pi-notify.ts`]
|
|
954
|
+
- `buildPiNotifyPushoverBody(...)`: resolve the configured Pushover text template [`src/core/pi-notify.ts`]
|
|
955
|
+
- `substitutePiNotifyTextTemplate(...)`: replace prompt-scoped placeholders inside the text template [`src/core/pi-notify.ts`]
|
|
956
|
+
- `buildPiNotifyRuntimeTemplateValues(...)`: resolve raw prompt-scoped placeholder values [`src/core/pi-notify.ts`]
|
|
957
|
+
- `formatPiNotifyBasePath(...)`: render `%%BASE%%` as `~`-relative when possible [`src/core/pi-notify.ts`]
|
|
958
|
+
- `formatPiNotifyDuration(...)`: render `%%TIME%%` as `M:SS` [`src/core/pi-notify.ts`]
|
|
959
|
+
- `formatPiNotifyResult(...)`: map prompt-end outcomes to `successed|aborted|failed` [`src/core/pi-notify.ts`]
|
|
927
960
|
- `configurePiUsereq(...)`: interactive configuration menu runtime root [`src/index.ts`]
|
|
928
961
|
- `loadProjectConfig(...)`: load config and normalize persisted directory paths for command context [`src/index.ts`]
|
|
929
962
|
- `getProjectBase(...)`: resolve project base from command context cwd [`src/index.ts`]
|
|
@@ -937,7 +970,7 @@
|
|
|
937
970
|
- `runCapture(...)`: run git subprocess [`src/core/tool-runner.ts`]
|
|
938
971
|
- `getProjectBase(...)`: resolve project base from command context cwd [`src/index.ts`]
|
|
939
972
|
- `buildPiUsereqMenuChoices(...)`: serialize top-level settings actions plus the display-only config-path row [`src/index.ts`]
|
|
940
|
-
- `formatProjectConfigPathForMenu(...)`: format the current config path
|
|
973
|
+
- `formatProjectConfigPathForMenu(...)`: format the current config path and rewrite a leading `$HOME` token to `~` for menu display [`src/index.ts`]
|
|
941
974
|
- `showPiUsereqSettingsMenu(...)`: render the shared settings-menu UI for top-level and submenu actions [`src/core/settings-menu.ts`]
|
|
942
975
|
- `formatPiUsereqSettingsMenuTitle(...)`: rebuild the menu title with active-theme semantics [`src/core/settings-menu.ts`]
|
|
943
976
|
- `buildPiUsereqSettingsListTheme(...)`: prefer shared CLI settings-list theming and fall back during offline replay [`src/core/settings-menu.ts`]
|
|
@@ -948,40 +981,28 @@
|
|
|
948
981
|
- `saveConfig(...)`: persist config JSON [`src/core/config.ts`]
|
|
949
982
|
- `getProjectConfigPath(...)`: resolve config file path [`src/core/config.ts`]
|
|
950
983
|
- `setPiUsereqStatusConfig(...)`: cache the just-saved docs/tests/src and pi-notify values for status rendering [`src/core/extension-status.ts`]
|
|
951
|
-
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/
|
|
984
|
+
- `renderPiUsereqStatus(...)`: render the base/context/elapsed/sound footer after save-and-close with CLI-theme token overlays [`src/core/extension-status.ts`]
|
|
952
985
|
- `createStatusThemeAdapter(...)`: constrain status rendering to CLI-supported `accent`, `warning`, `dim`, and `error` theme tokens [`src/core/extension-status.ts`]
|
|
953
|
-
- `buildPiUsereqStatusText(...)`: compose the single-line footer payload with consolidated elapsed semantics
|
|
986
|
+
- `buildPiUsereqStatusText(...)`: compose the single-line footer payload with consolidated elapsed semantics and sound status fields [`src/core/extension-status.ts`]
|
|
954
987
|
- `formatStatusField(...)`: render one colored text field [`src/core/extension-status.ts`]
|
|
955
988
|
- `formatRenderedStatusField(...)`: render one pre-styled field [`src/core/extension-status.ts`]
|
|
956
|
-
- `formatContextUsageBar(...)`: render the
|
|
957
|
-
- `
|
|
958
|
-
- `formatContextUsageOverlay(...)`: paint the fixed-width overlay with preserved bar background [`src/core/extension-status.ts`]
|
|
989
|
+
- `formatContextUsageBar(...)`: render the icon-based context gauge [`src/core/extension-status.ts`]
|
|
990
|
+
- `resolveContextUsageIconText(...)`: map normalized context usage to the fixed-width gauge icon [`src/core/extension-status.ts`]
|
|
959
991
|
- `formatElapsedStatusValue(...)`: compose `⏱︎`, `⚑`, and `⌛︎` timer segments [`src/core/extension-status.ts`]
|
|
960
992
|
- `formatCompletedStatusDuration(...)`: render completed timers or the unset placeholder [`src/core/extension-status.ts`]
|
|
961
993
|
- `formatStatusDuration(...)`: render `M:SS` durations [`src/core/extension-status.ts`]
|
|
962
|
-
|
|
963
|
-
- `configureStaticCheckMenu(...)`: interactive static-check editor [`src/index.ts`]
|
|
994
|
+
- `configureStaticCheckMenu(...)`: interactive guided static-check editor [`src/index.ts`]
|
|
964
995
|
- `formatStaticCheckLanguagesSummary(...)`: summarize configured checker languages [`src/index.ts`]
|
|
965
|
-
- `
|
|
966
|
-
|
|
967
|
-
- `formatStaticCheckEntry(...)`: format one configured checker entry [`src/index.ts`]
|
|
996
|
+
- `buildStaticCheckMenuChoices(...)`: serialize guided add/remove/reset static-check actions [`src/index.ts`]
|
|
997
|
+
- `buildSupportedStaticCheckLanguageChoices(...)`: serialize supported languages with configured counts [`src/index.ts`]
|
|
968
998
|
- `getSupportedStaticCheckLanguageSupport(...)`: enumerate supported languages and extensions [`src/core/static-check.ts`]
|
|
969
999
|
- `getSupportedStaticCheckLanguages(...)`: enumerate canonical supported languages [`src/core/static-check.ts`]
|
|
970
|
-
- `buildSupportedStaticCheckLanguageChoices(...)`: serialize supported languages with configured counts [`src/index.ts`]
|
|
971
1000
|
- `shellSplit(...)`: parse optional parameter input [`src/core/utils.ts`]
|
|
972
|
-
|
|
973
|
-
- `splitCsvLikeTokens(...)`: split comma-like spec payload with quoting support [`src/core/static-check.ts`]
|
|
974
|
-
- `formatStaticCheckModules(...)`: render valid user modules for error paths [`src/core/static-check.ts`]
|
|
975
|
-
- `configurePiUsereqToolsMenu(...)`: interactive active-tool editor [`src/index.ts`]
|
|
1001
|
+
- `configurePiUsereqToolsMenu(...)`: interactive active-tool editor without a status-reference action [`src/index.ts`]
|
|
976
1002
|
- `applyConfiguredPiUsereqTools(...)`: enforce configured active-tool set [`src/index.ts`]
|
|
977
1003
|
- `getConfiguredEnabledPiUsereqTools(...)`: canonicalize configured enabled tools [`src/index.ts`]
|
|
978
1004
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize configurable active tools [`src/core/pi-usereq-tools.ts`]
|
|
979
1005
|
- `getPiUsereqStartupTools(...)`: enumerate configurable tools from runtime inventory [`src/index.ts`]
|
|
980
|
-
- `renderPiUsereqToolsReference(...)`: render configurable active-tool reference text [`src/index.ts`]
|
|
981
|
-
- `getPiUsereqStartupTools(...)`: enumerate configurable tools from runtime inventory [`src/index.ts`]
|
|
982
|
-
- `getConfiguredEnabledPiUsereqTools(...)`: canonicalize configured enabled tools [`src/index.ts`]
|
|
983
|
-
- `normalizeEnabledPiUsereqTools(...)`: canonicalize configurable active tools [`src/core/pi-usereq-tools.ts`]
|
|
984
|
-
- `getPiUsereqToolKind(...)`: classify builtin versus extension tools for UI rendering [`src/index.ts`]
|
|
985
1006
|
- `setConfiguredPiUsereqTools(...)`: persist selected enabled tools in memory [`src/index.ts`]
|
|
986
1007
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize configurable active tools [`src/core/pi-usereq-tools.ts`]
|
|
987
1008
|
- `applyConfiguredPiUsereqTools(...)`: enforce configured active-tool set [`src/index.ts`]
|
|
@@ -989,13 +1010,19 @@
|
|
|
989
1010
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize configurable active tools [`src/core/pi-usereq-tools.ts`]
|
|
990
1011
|
- `getPiUsereqStartupTools(...)`: enumerate configurable tools from runtime inventory [`src/index.ts`]
|
|
991
1012
|
- `buildPiUsereqToolToggleChoices(...)`: serialize per-tool startup-toggle rows [`src/index.ts`]
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
- `
|
|
997
|
-
- `
|
|
998
|
-
- `
|
|
1013
|
+
- `configurePiNotifyMenu(...)`: interactive notify, sound, and Pushover editor with dedicated event submenus [`src/index.ts`]
|
|
1014
|
+
- `buildPiNotifyMenuChoices(...)`: serialize command-notify, sound, and Pushover blocks plus shared-event submenu launchers [`src/index.ts`]
|
|
1015
|
+
- `buildPiNotifyEventLauncherChoice(...)`: serialize one event-submenu launcher row with a compact enabled-toggle summary [`src/index.ts`]
|
|
1016
|
+
- `buildPiNotifyPushoverRows(...)`: serialize direct Pushover rows plus the shared event-submenu launcher [`src/index.ts`]
|
|
1017
|
+
- `configurePiNotifyEventMenu(...)`: interactive completed/interrupted/failed event editor for one notification transport [`src/index.ts`]
|
|
1018
|
+
- `buildPiNotifyEventMenuChoices(...)`: serialize shared event rows plus submenu reset/save actions [`src/index.ts`]
|
|
1019
|
+
- `resetPiNotifyEventMenuToDefaults(...)`: restore default event toggles for one notification transport [`src/index.ts`]
|
|
1020
|
+
- `resolvePiNotifyEventLabel(...)`: map one event-toggle key to the human-readable menu label [`src/index.ts`]
|
|
1021
|
+
- `togglePiNotifyFlag(...)`: toggle one persisted boolean notification setting [`src/index.ts`]
|
|
1022
|
+
- `togglePiNotifyFlag(...)`: toggle one persisted boolean notification setting [`src/index.ts`]
|
|
1023
|
+
- `selectPiNotifySoundLevel(...)`: present the `Enable sound` selector [`src/index.ts`]
|
|
1024
|
+
- `selectPiNotifyPushoverPriority(...)`: present the `Normal|High` priority selector [`src/index.ts`]
|
|
1025
|
+
- `resetPiNotifyConfigToDefaults(...)`: restore notification settings to documented defaults [`src/index.ts`]
|
|
999
1026
|
- `getDefaultConfig(...)`: restore default config on reset [`src/core/config.ts`]
|
|
1000
1027
|
- `normalizeEnabledPiUsereqTools(...)`: canonicalize configurable active tools [`src/core/pi-usereq-tools.ts`]
|
|
1001
1028
|
- `applyConfiguredPiUsereqTools(...)`: re-apply active tools after reset [`src/index.ts`]
|