specmem-hardwicksoftware 3.5.99
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 +299 -0
- package/LICENSE.md +6406 -0
- package/README.md +539 -0
- package/bin/AegisTheme.cjs +1022 -0
- package/bin/AnsiRenderer.cjs +1055 -0
- package/bin/BoxRenderer.cjs +605 -0
- package/bin/ClaudeLiveScreen.cjs +1299 -0
- package/bin/DashboardModules.cjs +733 -0
- package/bin/LiveScreenCapture.cjs +1012 -0
- package/bin/MemoryBrowserScreen.cjs +1595 -0
- package/bin/TabManager.cjs +1414 -0
- package/bin/checkAgentStatus-fix.patch +30 -0
- package/bin/mcp-socket-client.cjs +462 -0
- package/bin/screen-utils.cjs +106 -0
- package/bin/specmem-autoclaude.cjs +663 -0
- package/bin/specmem-cleanup.cjs +421 -0
- package/bin/specmem-cli.cjs +794 -0
- package/bin/specmem-console-teamcomms-class.cjs +428 -0
- package/bin/specmem-console.cjs +8104 -0
- package/bin/specmem-statusbar.cjs +530 -0
- package/bootstrap.cjs +5065 -0
- package/claude-hooks/agent-chooser-hook.js +179 -0
- package/claude-hooks/agent-chooser-inject.js +121 -0
- package/claude-hooks/agent-loading-hook.js +990 -0
- package/claude-hooks/agent-output-fader.cjs +542 -0
- package/claude-hooks/agent-output-interceptor.js +193 -0
- package/claude-hooks/agent-type-matcher.js +419 -0
- package/claude-hooks/auto-bypass.py +74 -0
- package/claude-hooks/background-completion-silencer.js +134 -0
- package/claude-hooks/bash-auto-background.js +182 -0
- package/claude-hooks/build-cedict-dictionary.mjs +167 -0
- package/claude-hooks/bullshit-radar.cjs +323 -0
- package/claude-hooks/cedict-codes.json +270 -0
- package/claude-hooks/cedict-extracted.json +22632 -0
- package/claude-hooks/claude-watchdog.sh +401 -0
- package/claude-hooks/context-dedup.cjs +144 -0
- package/claude-hooks/context-yeeter.cjs +244 -0
- package/claude-hooks/debug-suffix.cjs +15 -0
- package/claude-hooks/debug2.cjs +7 -0
- package/claude-hooks/drilldown-enforcer.js +242 -0
- package/claude-hooks/english-morphology-standalone.cjs +149 -0
- package/claude-hooks/english-morphology.cjs +152 -0
- package/claude-hooks/extract-translations.mjs +193 -0
- package/claude-hooks/file-claim-enforcer.cjs +293 -0
- package/claude-hooks/file-claim-enforcer.js +293 -0
- package/claude-hooks/find-collisions.cjs +39 -0
- package/claude-hooks/fix-abbreviations.cjs +60 -0
- package/claude-hooks/fix-collisions.cjs +60 -0
- package/claude-hooks/fix-decompressor.cjs +79 -0
- package/claude-hooks/fix-suffixes.cjs +66 -0
- package/claude-hooks/grammar-engine.cjs +159 -0
- package/claude-hooks/input-aware-improver.js +231 -0
- package/claude-hooks/is-agent.cjs +64 -0
- package/claude-hooks/mega-test.cjs +213 -0
- package/claude-hooks/merge-dictionaries.mjs +207 -0
- package/claude-hooks/merged-codes.cjs +22675 -0
- package/claude-hooks/merged-codes.json +22676 -0
- package/claude-hooks/output-cleaner.cjs +388 -0
- package/claude-hooks/post-write-memory-hook.cjs +430 -0
- package/claude-hooks/quick-test.cjs +24 -0
- package/claude-hooks/quick-test2.cjs +24 -0
- package/claude-hooks/remove-bad-codes.cjs +23 -0
- package/claude-hooks/search-reminder-hook.js +90 -0
- package/claude-hooks/semantic-test.cjs +93 -0
- package/claude-hooks/settings.json +445 -0
- package/claude-hooks/smart-context-hook.cjs +547 -0
- package/claude-hooks/smart-context-hook.js +539 -0
- package/claude-hooks/smart-search-interceptor.js +364 -0
- package/claude-hooks/socket-connect-helper.cjs +235 -0
- package/claude-hooks/specmem/sockets/session-start.lock +1 -0
- package/claude-hooks/specmem-context-hook.cjs +357 -0
- package/claude-hooks/specmem-context-hook.js +357 -0
- package/claude-hooks/specmem-drilldown-hook.cjs +480 -0
- package/claude-hooks/specmem-drilldown-hook.js +480 -0
- package/claude-hooks/specmem-drilldown-setter.js +210 -0
- package/claude-hooks/specmem-paths.cjs +213 -0
- package/claude-hooks/specmem-precompact.js +183 -0
- package/claude-hooks/specmem-session-init.sh +33 -0
- package/claude-hooks/specmem-session-start.cjs +498 -0
- package/claude-hooks/specmem-stop-hook.cjs +73 -0
- package/claude-hooks/specmem-stop-hook.js +5 -0
- package/claude-hooks/specmem-team-comms.cjs +434 -0
- package/claude-hooks/specmem-team-member-inject.js +271 -0
- package/claude-hooks/specmem-unified-hook.py +670 -0
- package/claude-hooks/subagent-loading-hook.js +194 -0
- package/claude-hooks/sysprompt-squisher.cjs +167 -0
- package/claude-hooks/task-progress-hook.js +204 -0
- package/claude-hooks/team-comms-enforcer.cjs +585 -0
- package/claude-hooks/test-accuracy.cjs +27 -0
- package/claude-hooks/test-big.cjs +28 -0
- package/claude-hooks/test-inflectors.cjs +39 -0
- package/claude-hooks/test-pluralize.cjs +37 -0
- package/claude-hooks/test-quick.cjs +8 -0
- package/claude-hooks/test-wink.cjs +20 -0
- package/claude-hooks/token-compressor.cjs +940 -0
- package/claude-hooks/use-code-pointers.cjs +279 -0
- package/commands/COMMAND_TOOL_MAP.md +299 -0
- package/commands/specmem-agents.md +412 -0
- package/commands/specmem-autoclaude.md +295 -0
- package/commands/specmem-changes.md +247 -0
- package/commands/specmem-code.md +103 -0
- package/commands/specmem-configteammembercomms.md +322 -0
- package/commands/specmem-drilldown.md +208 -0
- package/commands/specmem-find.md +195 -0
- package/commands/specmem-getdashboard.md +243 -0
- package/commands/specmem-hooks.md +219 -0
- package/commands/specmem-pointers.md +149 -0
- package/commands/specmem-progress.md +287 -0
- package/commands/specmem-remember.md +123 -0
- package/commands/specmem-service.md +349 -0
- package/commands/specmem-stats.md +189 -0
- package/commands/specmem-team-member.md +409 -0
- package/commands/specmem-webdev.md +583 -0
- package/commands/specmem.md +363 -0
- package/dist/autoStart/index.d.ts +214 -0
- package/dist/autoStart/index.d.ts.map +1 -0
- package/dist/autoStart/index.js +883 -0
- package/dist/autoStart/index.js.map +1 -0
- package/dist/claude-sessions/contextRestorationParser.d.ts +74 -0
- package/dist/claude-sessions/contextRestorationParser.d.ts.map +1 -0
- package/dist/claude-sessions/contextRestorationParser.js +570 -0
- package/dist/claude-sessions/contextRestorationParser.js.map +1 -0
- package/dist/claude-sessions/index.d.ts +13 -0
- package/dist/claude-sessions/index.d.ts.map +1 -0
- package/dist/claude-sessions/index.js +11 -0
- package/dist/claude-sessions/index.js.map +1 -0
- package/dist/claude-sessions/sessionIntegration.d.ts +48 -0
- package/dist/claude-sessions/sessionIntegration.d.ts.map +1 -0
- package/dist/claude-sessions/sessionIntegration.js +146 -0
- package/dist/claude-sessions/sessionIntegration.js.map +1 -0
- package/dist/claude-sessions/sessionParser.d.ts +293 -0
- package/dist/claude-sessions/sessionParser.d.ts.map +1 -0
- package/dist/claude-sessions/sessionParser.js +1028 -0
- package/dist/claude-sessions/sessionParser.js.map +1 -0
- package/dist/claude-sessions/sessionWatcher.d.ts +139 -0
- package/dist/claude-sessions/sessionWatcher.d.ts.map +1 -0
- package/dist/claude-sessions/sessionWatcher.js +722 -0
- package/dist/claude-sessions/sessionWatcher.js.map +1 -0
- package/dist/cli/deploy-to-claude.d.ts +56 -0
- package/dist/cli/deploy-to-claude.d.ts.map +1 -0
- package/dist/cli/deploy-to-claude.js +576 -0
- package/dist/cli/deploy-to-claude.js.map +1 -0
- package/dist/code-explanations/explainCode.d.ts +86 -0
- package/dist/code-explanations/explainCode.d.ts.map +1 -0
- package/dist/code-explanations/explainCode.js +286 -0
- package/dist/code-explanations/explainCode.js.map +1 -0
- package/dist/code-explanations/feedback.d.ts +87 -0
- package/dist/code-explanations/feedback.d.ts.map +1 -0
- package/dist/code-explanations/feedback.js +212 -0
- package/dist/code-explanations/feedback.js.map +1 -0
- package/dist/code-explanations/getRelatedCode.d.ts +80 -0
- package/dist/code-explanations/getRelatedCode.d.ts.map +1 -0
- package/dist/code-explanations/getRelatedCode.js +262 -0
- package/dist/code-explanations/getRelatedCode.js.map +1 -0
- package/dist/code-explanations/index.d.ts +284 -0
- package/dist/code-explanations/index.d.ts.map +1 -0
- package/dist/code-explanations/index.js +249 -0
- package/dist/code-explanations/index.js.map +1 -0
- package/dist/code-explanations/linkCodeToPrompt.d.ts +79 -0
- package/dist/code-explanations/linkCodeToPrompt.d.ts.map +1 -0
- package/dist/code-explanations/linkCodeToPrompt.js +213 -0
- package/dist/code-explanations/linkCodeToPrompt.js.map +1 -0
- package/dist/code-explanations/recallExplanation.d.ts +88 -0
- package/dist/code-explanations/recallExplanation.d.ts.map +1 -0
- package/dist/code-explanations/recallExplanation.js +218 -0
- package/dist/code-explanations/recallExplanation.js.map +1 -0
- package/dist/code-explanations/schema.d.ts +32 -0
- package/dist/code-explanations/schema.d.ts.map +1 -0
- package/dist/code-explanations/schema.js +221 -0
- package/dist/code-explanations/schema.js.map +1 -0
- package/dist/code-explanations/semanticSearch.d.ts +75 -0
- package/dist/code-explanations/semanticSearch.d.ts.map +1 -0
- package/dist/code-explanations/semanticSearch.js +203 -0
- package/dist/code-explanations/semanticSearch.js.map +1 -0
- package/dist/code-explanations/types.d.ts +328 -0
- package/dist/code-explanations/types.d.ts.map +1 -0
- package/dist/code-explanations/types.js +122 -0
- package/dist/code-explanations/types.js.map +1 -0
- package/dist/codebase/codeAnalyzer.d.ts +272 -0
- package/dist/codebase/codeAnalyzer.d.ts.map +1 -0
- package/dist/codebase/codeAnalyzer.js +1353 -0
- package/dist/codebase/codeAnalyzer.js.map +1 -0
- package/dist/codebase/codebaseIndexer.d.ts +360 -0
- package/dist/codebase/codebaseIndexer.d.ts.map +1 -0
- package/dist/codebase/codebaseIndexer.js +1735 -0
- package/dist/codebase/codebaseIndexer.js.map +1 -0
- package/dist/codebase/codebaseTools.d.ts +853 -0
- package/dist/codebase/codebaseTools.d.ts.map +1 -0
- package/dist/codebase/codebaseTools.js +1279 -0
- package/dist/codebase/codebaseTools.js.map +1 -0
- package/dist/codebase/exclusions.d.ts +111 -0
- package/dist/codebase/exclusions.d.ts.map +1 -0
- package/dist/codebase/exclusions.js +771 -0
- package/dist/codebase/exclusions.js.map +1 -0
- package/dist/codebase/fileWatcher.d.ts +135 -0
- package/dist/codebase/fileWatcher.d.ts.map +1 -0
- package/dist/codebase/fileWatcher.js +309 -0
- package/dist/codebase/fileWatcher.js.map +1 -0
- package/dist/codebase/index.d.ts +33 -0
- package/dist/codebase/index.d.ts.map +1 -0
- package/dist/codebase/index.js +77 -0
- package/dist/codebase/index.js.map +1 -0
- package/dist/codebase/ingestion.d.ts +177 -0
- package/dist/codebase/ingestion.d.ts.map +1 -0
- package/dist/codebase/ingestion.js +690 -0
- package/dist/codebase/ingestion.js.map +1 -0
- package/dist/codebase/languageDetection.d.ts +75 -0
- package/dist/codebase/languageDetection.d.ts.map +1 -0
- package/dist/codebase/languageDetection.js +768 -0
- package/dist/codebase/languageDetection.js.map +1 -0
- package/dist/commands/codebaseCommands.d.ts +101 -0
- package/dist/commands/codebaseCommands.d.ts.map +1 -0
- package/dist/commands/codebaseCommands.js +911 -0
- package/dist/commands/codebaseCommands.js.map +1 -0
- package/dist/commands/commandHandler.d.ts +126 -0
- package/dist/commands/commandHandler.d.ts.map +1 -0
- package/dist/commands/commandHandler.js +296 -0
- package/dist/commands/commandHandler.js.map +1 -0
- package/dist/commands/commandLoader.d.ts +103 -0
- package/dist/commands/commandLoader.d.ts.map +1 -0
- package/dist/commands/commandLoader.js +223 -0
- package/dist/commands/commandLoader.js.map +1 -0
- package/dist/commands/contextCommands.d.ts +83 -0
- package/dist/commands/contextCommands.d.ts.map +1 -0
- package/dist/commands/contextCommands.js +512 -0
- package/dist/commands/contextCommands.js.map +1 -0
- package/dist/commands/index.d.ts +24 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +28 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/mcpResources.d.ts +50 -0
- package/dist/commands/mcpResources.d.ts.map +1 -0
- package/dist/commands/mcpResources.js +372 -0
- package/dist/commands/mcpResources.js.map +1 -0
- package/dist/commands/memoryCommands.d.ts +74 -0
- package/dist/commands/memoryCommands.d.ts.map +1 -0
- package/dist/commands/memoryCommands.js +609 -0
- package/dist/commands/memoryCommands.js.map +1 -0
- package/dist/commands/promptCommands.d.ts +91 -0
- package/dist/commands/promptCommands.d.ts.map +1 -0
- package/dist/commands/promptCommands.js +801 -0
- package/dist/commands/promptCommands.js.map +1 -0
- package/dist/commands/teamMemberCommands.d.ts +21 -0
- package/dist/commands/teamMemberCommands.d.ts.map +1 -0
- package/dist/commands/teamMemberCommands.js +137 -0
- package/dist/commands/teamMemberCommands.js.map +1 -0
- package/dist/comms/fileCommsTransport.d.ts +91 -0
- package/dist/comms/fileCommsTransport.d.ts.map +1 -0
- package/dist/comms/fileCommsTransport.js +244 -0
- package/dist/comms/fileCommsTransport.js.map +1 -0
- package/dist/comms/index.d.ts +7 -0
- package/dist/comms/index.d.ts.map +1 -0
- package/dist/comms/index.js +7 -0
- package/dist/comms/index.js.map +1 -0
- package/dist/config/apiKeyDetection.d.ts +41 -0
- package/dist/config/apiKeyDetection.d.ts.map +1 -0
- package/dist/config/apiKeyDetection.js +211 -0
- package/dist/config/apiKeyDetection.js.map +1 -0
- package/dist/config/autoConfig.d.ts +188 -0
- package/dist/config/autoConfig.d.ts.map +1 -0
- package/dist/config/autoConfig.js +850 -0
- package/dist/config/autoConfig.js.map +1 -0
- package/dist/config/configSync.d.ts +119 -0
- package/dist/config/configSync.d.ts.map +1 -0
- package/dist/config/configSync.js +878 -0
- package/dist/config/configSync.js.map +1 -0
- package/dist/config/embeddingTimeouts.d.ts +145 -0
- package/dist/config/embeddingTimeouts.d.ts.map +1 -0
- package/dist/config/embeddingTimeouts.js +255 -0
- package/dist/config/embeddingTimeouts.js.map +1 -0
- package/dist/config/index.d.ts +5 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +7 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/languageConfig.d.ts +68 -0
- package/dist/config/languageConfig.d.ts.map +1 -0
- package/dist/config/languageConfig.js +473 -0
- package/dist/config/languageConfig.js.map +1 -0
- package/dist/config/password.d.ts +145 -0
- package/dist/config/password.d.ts.map +1 -0
- package/dist/config/password.js +428 -0
- package/dist/config/password.js.map +1 -0
- package/dist/config.d.ts +338 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +1177 -0
- package/dist/config.js.map +1 -0
- package/dist/consolidation.d.ts +44 -0
- package/dist/consolidation.d.ts.map +1 -0
- package/dist/consolidation.js +447 -0
- package/dist/consolidation.js.map +1 -0
- package/dist/constants.d.ts +371 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +552 -0
- package/dist/constants.js.map +1 -0
- package/dist/coordination/TeamMemberRegistry.d.ts +192 -0
- package/dist/coordination/TeamMemberRegistry.d.ts.map +1 -0
- package/dist/coordination/TeamMemberRegistry.js +415 -0
- package/dist/coordination/TeamMemberRegistry.js.map +1 -0
- package/dist/coordination/events.d.ts +369 -0
- package/dist/coordination/events.d.ts.map +1 -0
- package/dist/coordination/events.js +232 -0
- package/dist/coordination/events.js.map +1 -0
- package/dist/coordination/handlers.d.ts +116 -0
- package/dist/coordination/handlers.d.ts.map +1 -0
- package/dist/coordination/handlers.js +400 -0
- package/dist/coordination/handlers.js.map +1 -0
- package/dist/coordination/index.d.ts +14 -0
- package/dist/coordination/index.d.ts.map +1 -0
- package/dist/coordination/index.js +31 -0
- package/dist/coordination/index.js.map +1 -0
- package/dist/coordination/integration.d.ts +260 -0
- package/dist/coordination/integration.d.ts.map +1 -0
- package/dist/coordination/integration.js +472 -0
- package/dist/coordination/integration.js.map +1 -0
- package/dist/coordination/server.d.ts +266 -0
- package/dist/coordination/server.d.ts.map +1 -0
- package/dist/coordination/server.js +995 -0
- package/dist/coordination/server.js.map +1 -0
- package/dist/coordination/serviceProvider.d.ts +70 -0
- package/dist/coordination/serviceProvider.d.ts.map +1 -0
- package/dist/coordination/serviceProvider.js +273 -0
- package/dist/coordination/serviceProvider.js.map +1 -0
- package/dist/dashboard/api/claudeControl.d.ts +44 -0
- package/dist/dashboard/api/claudeControl.d.ts.map +1 -0
- package/dist/dashboard/api/claudeControl.js +650 -0
- package/dist/dashboard/api/claudeControl.js.map +1 -0
- package/dist/dashboard/api/claudeHistory.d.ts +4 -0
- package/dist/dashboard/api/claudeHistory.d.ts.map +1 -0
- package/dist/dashboard/api/claudeHistory.js +319 -0
- package/dist/dashboard/api/claudeHistory.js.map +1 -0
- package/dist/dashboard/api/dataExport.d.ts +23 -0
- package/dist/dashboard/api/dataExport.d.ts.map +1 -0
- package/dist/dashboard/api/dataExport.js +509 -0
- package/dist/dashboard/api/dataExport.js.map +1 -0
- package/dist/dashboard/api/fileManager.d.ts +39 -0
- package/dist/dashboard/api/fileManager.d.ts.map +1 -0
- package/dist/dashboard/api/fileManager.js +814 -0
- package/dist/dashboard/api/fileManager.js.map +1 -0
- package/dist/dashboard/api/hooks.d.ts +16 -0
- package/dist/dashboard/api/hooks.d.ts.map +1 -0
- package/dist/dashboard/api/hooks.js +342 -0
- package/dist/dashboard/api/hooks.js.map +1 -0
- package/dist/dashboard/api/hotReload.d.ts +14 -0
- package/dist/dashboard/api/hotReload.d.ts.map +1 -0
- package/dist/dashboard/api/hotReload.js +219 -0
- package/dist/dashboard/api/hotReload.js.map +1 -0
- package/dist/dashboard/api/liveSessionStream.d.ts +19 -0
- package/dist/dashboard/api/liveSessionStream.d.ts.map +1 -0
- package/dist/dashboard/api/liveSessionStream.js +430 -0
- package/dist/dashboard/api/liveSessionStream.js.map +1 -0
- package/dist/dashboard/api/memoryRecall.d.ts +20 -0
- package/dist/dashboard/api/memoryRecall.d.ts.map +1 -0
- package/dist/dashboard/api/memoryRecall.js +524 -0
- package/dist/dashboard/api/memoryRecall.js.map +1 -0
- package/dist/dashboard/api/promptSend.d.ts +33 -0
- package/dist/dashboard/api/promptSend.d.ts.map +1 -0
- package/dist/dashboard/api/promptSend.js +544 -0
- package/dist/dashboard/api/promptSend.js.map +1 -0
- package/dist/dashboard/api/settings.d.ts +10 -0
- package/dist/dashboard/api/settings.d.ts.map +1 -0
- package/dist/dashboard/api/settings.js +656 -0
- package/dist/dashboard/api/settings.js.map +1 -0
- package/dist/dashboard/api/setup.d.ts +21 -0
- package/dist/dashboard/api/setup.d.ts.map +1 -0
- package/dist/dashboard/api/setup.js +663 -0
- package/dist/dashboard/api/setup.js.map +1 -0
- package/dist/dashboard/api/specmemTools.d.ts +14 -0
- package/dist/dashboard/api/specmemTools.d.ts.map +1 -0
- package/dist/dashboard/api/specmemTools.js +1059 -0
- package/dist/dashboard/api/specmemTools.js.map +1 -0
- package/dist/dashboard/api/taskTeamMembers.d.ts +8 -0
- package/dist/dashboard/api/taskTeamMembers.d.ts.map +1 -0
- package/dist/dashboard/api/taskTeamMembers.js +136 -0
- package/dist/dashboard/api/taskTeamMembers.js.map +1 -0
- package/dist/dashboard/api/teamMemberDeploy.d.ts +15 -0
- package/dist/dashboard/api/teamMemberDeploy.d.ts.map +1 -0
- package/dist/dashboard/api/teamMemberDeploy.js +421 -0
- package/dist/dashboard/api/teamMemberDeploy.js.map +1 -0
- package/dist/dashboard/api/teamMemberHistory.d.ts +38 -0
- package/dist/dashboard/api/teamMemberHistory.d.ts.map +1 -0
- package/dist/dashboard/api/teamMemberHistory.js +583 -0
- package/dist/dashboard/api/teamMemberHistory.js.map +1 -0
- package/dist/dashboard/api/terminal.d.ts +12 -0
- package/dist/dashboard/api/terminal.d.ts.map +1 -0
- package/dist/dashboard/api/terminal.js +344 -0
- package/dist/dashboard/api/terminal.js.map +1 -0
- package/dist/dashboard/api/terminalInject.d.ts +17 -0
- package/dist/dashboard/api/terminalInject.d.ts.map +1 -0
- package/dist/dashboard/api/terminalInject.js +322 -0
- package/dist/dashboard/api/terminalInject.js.map +1 -0
- package/dist/dashboard/api/terminalStream.d.ts +12 -0
- package/dist/dashboard/api/terminalStream.d.ts.map +1 -0
- package/dist/dashboard/api/terminalStream.js +482 -0
- package/dist/dashboard/api/terminalStream.js.map +1 -0
- package/dist/dashboard/index.d.ts +7 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +7 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/dashboard/ptyStreamer.d.ts +173 -0
- package/dist/dashboard/ptyStreamer.d.ts.map +1 -0
- package/dist/dashboard/ptyStreamer.js +661 -0
- package/dist/dashboard/ptyStreamer.js.map +1 -0
- package/dist/dashboard/public/DASHBOARD-README.md +378 -0
- package/dist/dashboard/public/INTEGRATION-GUIDE.md +395 -0
- package/dist/dashboard/public/codebase-config.html +1247 -0
- package/dist/dashboard/public/dashboard-v2.html +1942 -0
- package/dist/dashboard/public/data-export.html +819 -0
- package/dist/dashboard/public/example-page.html +164 -0
- package/dist/dashboard/public/file-explorer.html +1023 -0
- package/dist/dashboard/public/hooks.html +1103 -0
- package/dist/dashboard/public/index-improvements.css +499 -0
- package/dist/dashboard/public/index.html +5534 -0
- package/dist/dashboard/public/memory-controls.html +1959 -0
- package/dist/dashboard/public/memory-recall.html +1495 -0
- package/dist/dashboard/public/previews/skeleton-memory-graph.html +361 -0
- package/dist/dashboard/public/previews/skeleton-memory-list.html +366 -0
- package/dist/dashboard/public/previews/skeleton-search-results.html +609 -0
- package/dist/dashboard/public/previews/skeleton-stats-dashboard.html +556 -0
- package/dist/dashboard/public/prompt-console.html +2763 -0
- package/dist/dashboard/public/react-dist/assets/index-CkjobT5B.js +871 -0
- package/dist/dashboard/public/react-dist/assets/index-iRclxMst.css +1 -0
- package/dist/dashboard/public/react-dist/index.html +16 -0
- package/dist/dashboard/public/shared-header.js +325 -0
- package/dist/dashboard/public/shared-language-selector.js +626 -0
- package/dist/dashboard/public/shared-logger.js +66 -0
- package/dist/dashboard/public/shared-nav.js +325 -0
- package/dist/dashboard/public/shared-theme-blue.css +331 -0
- package/dist/dashboard/public/shared-theme.css +813 -0
- package/dist/dashboard/public/shared-toast.js +415 -0
- package/dist/dashboard/public/team-member-history.html +1291 -0
- package/dist/dashboard/public/team-member-spy.html +1199 -0
- package/dist/dashboard/public/team-members.html +3756 -0
- package/dist/dashboard/public/terminal-output.html +1013 -0
- package/dist/dashboard/public/terminal.html +372 -0
- package/dist/dashboard/sessionStore.d.ts +86 -0
- package/dist/dashboard/sessionStore.d.ts.map +1 -0
- package/dist/dashboard/sessionStore.js +262 -0
- package/dist/dashboard/sessionStore.js.map +1 -0
- package/dist/dashboard/standalone.d.ts +27 -0
- package/dist/dashboard/standalone.d.ts.map +1 -0
- package/dist/dashboard/standalone.js +380 -0
- package/dist/dashboard/standalone.js.map +1 -0
- package/dist/dashboard/webServer.d.ts +390 -0
- package/dist/dashboard/webServer.d.ts.map +1 -0
- package/dist/dashboard/webServer.js +4297 -0
- package/dist/dashboard/webServer.js.map +1 -0
- package/dist/dashboard/websocket/teamMemberStream.d.ts +87 -0
- package/dist/dashboard/websocket/teamMemberStream.d.ts.map +1 -0
- package/dist/dashboard/websocket/teamMemberStream.js +366 -0
- package/dist/dashboard/websocket/teamMemberStream.js.map +1 -0
- package/dist/dashboard/websocket/terminalStream.d.ts +130 -0
- package/dist/dashboard/websocket/terminalStream.d.ts.map +1 -0
- package/dist/dashboard/websocket/terminalStream.js +456 -0
- package/dist/dashboard/websocket/terminalStream.js.map +1 -0
- package/dist/database/embeddedPostgres.d.ts +187 -0
- package/dist/database/embeddedPostgres.d.ts.map +1 -0
- package/dist/database/embeddedPostgres.js +763 -0
- package/dist/database/embeddedPostgres.js.map +1 -0
- package/dist/database/index.d.ts +12 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +20 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/initEmbeddedPostgres.d.ts +124 -0
- package/dist/database/initEmbeddedPostgres.d.ts.map +1 -0
- package/dist/database/initEmbeddedPostgres.js +855 -0
- package/dist/database/initEmbeddedPostgres.js.map +1 -0
- package/dist/database.d.ts +256 -0
- package/dist/database.d.ts.map +1 -0
- package/dist/database.js +1209 -0
- package/dist/database.js.map +1 -0
- package/dist/db/apiDataManager.d.ts +334 -0
- package/dist/db/apiDataManager.d.ts.map +1 -0
- package/dist/db/apiDataManager.js +631 -0
- package/dist/db/apiDataManager.js.map +1 -0
- package/dist/db/batchOperations.d.ts +154 -0
- package/dist/db/batchOperations.d.ts.map +1 -0
- package/dist/db/batchOperations.js +564 -0
- package/dist/db/batchOperations.js.map +1 -0
- package/dist/db/bigBrainMigrations.d.ts +48 -0
- package/dist/db/bigBrainMigrations.d.ts.map +1 -0
- package/dist/db/bigBrainMigrations.js +4266 -0
- package/dist/db/bigBrainMigrations.js.map +1 -0
- package/dist/db/connectionPoolGoBrrr.d.ts +94 -0
- package/dist/db/connectionPoolGoBrrr.d.ts.map +1 -0
- package/dist/db/connectionPoolGoBrrr.js +548 -0
- package/dist/db/connectionPoolGoBrrr.js.map +1 -0
- package/dist/db/dashboardQueries.d.ts +182 -0
- package/dist/db/dashboardQueries.d.ts.map +1 -0
- package/dist/db/dashboardQueries.js +821 -0
- package/dist/db/dashboardQueries.js.map +1 -0
- package/dist/db/deploymentBootstrap.d.ts +43 -0
- package/dist/db/deploymentBootstrap.d.ts.map +1 -0
- package/dist/db/deploymentBootstrap.js +329 -0
- package/dist/db/deploymentBootstrap.js.map +1 -0
- package/dist/db/dimensionService.d.ts +140 -0
- package/dist/db/dimensionService.d.ts.map +1 -0
- package/dist/db/dimensionService.js +261 -0
- package/dist/db/dimensionService.js.map +1 -0
- package/dist/db/embeddingOverflow.d.ts +69 -0
- package/dist/db/embeddingOverflow.d.ts.map +1 -0
- package/dist/db/embeddingOverflow.js +332 -0
- package/dist/db/embeddingOverflow.js.map +1 -0
- package/dist/db/embeddingOverflow.sql +221 -0
- package/dist/db/findThatShit.d.ts +145 -0
- package/dist/db/findThatShit.d.ts.map +1 -0
- package/dist/db/findThatShit.js +782 -0
- package/dist/db/findThatShit.js.map +1 -0
- package/dist/db/hotPathManager.d.ts +187 -0
- package/dist/db/hotPathManager.d.ts.map +1 -0
- package/dist/db/hotPathManager.js +504 -0
- package/dist/db/hotPathManager.js.map +1 -0
- package/dist/db/index.d.ts +85 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +219 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db/memoryDrilldown.sql +99 -0
- package/dist/db/migrate.d.ts +3 -0
- package/dist/db/migrate.d.ts.map +1 -0
- package/dist/db/migrate.js +97 -0
- package/dist/db/migrate.js.map +1 -0
- package/dist/db/migrateJsonToPostgres.d.ts +43 -0
- package/dist/db/migrateJsonToPostgres.d.ts.map +1 -0
- package/dist/db/migrateJsonToPostgres.js +465 -0
- package/dist/db/migrateJsonToPostgres.js.map +1 -0
- package/dist/db/nukeFromOrbit.d.ts +63 -0
- package/dist/db/nukeFromOrbit.d.ts.map +1 -0
- package/dist/db/nukeFromOrbit.js +499 -0
- package/dist/db/nukeFromOrbit.js.map +1 -0
- package/dist/db/processedTraining.sql +60 -0
- package/dist/db/projectNamespacing.d.ts +258 -0
- package/dist/db/projectNamespacing.d.ts.map +1 -0
- package/dist/db/projectNamespacing.js +920 -0
- package/dist/db/projectNamespacing.js.map +1 -0
- package/dist/db/projectNamespacing.sql +374 -0
- package/dist/db/projectSchemaInit.sql +271 -0
- package/dist/db/spatialMemory.d.ts +296 -0
- package/dist/db/spatialMemory.d.ts.map +1 -0
- package/dist/db/spatialMemory.js +818 -0
- package/dist/db/spatialMemory.js.map +1 -0
- package/dist/db/streamingQuery.d.ts +143 -0
- package/dist/db/streamingQuery.d.ts.map +1 -0
- package/dist/db/streamingQuery.js +350 -0
- package/dist/db/streamingQuery.js.map +1 -0
- package/dist/db/teamComms.sql +224 -0
- package/dist/db/yeetStuffInDb.d.ts +72 -0
- package/dist/db/yeetStuffInDb.d.ts.map +1 -0
- package/dist/db/yeetStuffInDb.js +473 -0
- package/dist/db/yeetStuffInDb.js.map +1 -0
- package/dist/embedding-providers/index.d.ts +10 -0
- package/dist/embedding-providers/index.d.ts.map +1 -0
- package/dist/embedding-providers/index.js +12 -0
- package/dist/embedding-providers/index.js.map +1 -0
- package/dist/embeddings/projectionLayer.d.ts +114 -0
- package/dist/embeddings/projectionLayer.d.ts.map +1 -0
- package/dist/embeddings/projectionLayer.js +345 -0
- package/dist/embeddings/projectionLayer.js.map +1 -0
- package/dist/events/Publisher.d.ts +193 -0
- package/dist/events/Publisher.d.ts.map +1 -0
- package/dist/events/Publisher.js +439 -0
- package/dist/events/Publisher.js.map +1 -0
- package/dist/events/config.d.ts +139 -0
- package/dist/events/config.d.ts.map +1 -0
- package/dist/events/config.js +266 -0
- package/dist/events/config.js.map +1 -0
- package/dist/events/index.d.ts +19 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +31 -0
- package/dist/events/index.js.map +1 -0
- package/dist/events/integration.d.ts +206 -0
- package/dist/events/integration.d.ts.map +1 -0
- package/dist/events/integration.js +348 -0
- package/dist/events/integration.js.map +1 -0
- package/dist/events/metrics.d.ts +147 -0
- package/dist/events/metrics.d.ts.map +1 -0
- package/dist/events/metrics.js +343 -0
- package/dist/events/metrics.js.map +1 -0
- package/dist/hooks/cli.d.ts +28 -0
- package/dist/hooks/cli.d.ts.map +1 -0
- package/dist/hooks/cli.js +118 -0
- package/dist/hooks/cli.js.map +1 -0
- package/dist/hooks/contextInjectionHook.d.ts +60 -0
- package/dist/hooks/contextInjectionHook.d.ts.map +1 -0
- package/dist/hooks/contextInjectionHook.js +294 -0
- package/dist/hooks/contextInjectionHook.js.map +1 -0
- package/dist/hooks/drilldownHook.d.ts +125 -0
- package/dist/hooks/drilldownHook.d.ts.map +1 -0
- package/dist/hooks/drilldownHook.js +181 -0
- package/dist/hooks/drilldownHook.js.map +1 -0
- package/dist/hooks/hookManager.d.ts +180 -0
- package/dist/hooks/hookManager.d.ts.map +1 -0
- package/dist/hooks/hookManager.js +782 -0
- package/dist/hooks/hookManager.js.map +1 -0
- package/dist/hooks/index.d.ts +62 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +66 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/lowContextHook.d.ts +71 -0
- package/dist/hooks/lowContextHook.d.ts.map +1 -0
- package/dist/hooks/lowContextHook.js +258 -0
- package/dist/hooks/lowContextHook.js.map +1 -0
- package/dist/hooks/simpleContextHook.d.ts +65 -0
- package/dist/hooks/simpleContextHook.d.ts.map +1 -0
- package/dist/hooks/simpleContextHook.js +194 -0
- package/dist/hooks/simpleContextHook.js.map +1 -0
- package/dist/hooks/teamFramingCli.d.ts +56 -0
- package/dist/hooks/teamFramingCli.d.ts.map +1 -0
- package/dist/hooks/teamFramingCli.js +264 -0
- package/dist/hooks/teamFramingCli.js.map +1 -0
- package/dist/hooks/teamMemberPrepromptHook.d.ts +150 -0
- package/dist/hooks/teamMemberPrepromptHook.d.ts.map +1 -0
- package/dist/hooks/teamMemberPrepromptHook.js +308 -0
- package/dist/hooks/teamMemberPrepromptHook.js.map +1 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4433 -0
- package/dist/index.js.map +1 -0
- package/dist/init/claudeConfigInjector.d.ts +116 -0
- package/dist/init/claudeConfigInjector.d.ts.map +1 -0
- package/dist/init/claudeConfigInjector.js +1154 -0
- package/dist/init/claudeConfigInjector.js.map +1 -0
- package/dist/installer/autoInstall.d.ts +72 -0
- package/dist/installer/autoInstall.d.ts.map +1 -0
- package/dist/installer/autoInstall.js +617 -0
- package/dist/installer/autoInstall.js.map +1 -0
- package/dist/installer/dbSetup.d.ts +84 -0
- package/dist/installer/dbSetup.d.ts.map +1 -0
- package/dist/installer/dbSetup.js +350 -0
- package/dist/installer/dbSetup.js.map +1 -0
- package/dist/installer/firstRun.d.ts +49 -0
- package/dist/installer/firstRun.d.ts.map +1 -0
- package/dist/installer/firstRun.js +207 -0
- package/dist/installer/firstRun.js.map +1 -0
- package/dist/installer/index.d.ts +10 -0
- package/dist/installer/index.d.ts.map +1 -0
- package/dist/installer/index.js +10 -0
- package/dist/installer/index.js.map +1 -0
- package/dist/installer/silentAutoInstall.d.ts +99 -0
- package/dist/installer/silentAutoInstall.d.ts.map +1 -0
- package/dist/installer/silentAutoInstall.js +491 -0
- package/dist/installer/silentAutoInstall.js.map +1 -0
- package/dist/installer/systemDeps.d.ts +54 -0
- package/dist/installer/systemDeps.d.ts.map +1 -0
- package/dist/installer/systemDeps.js +322 -0
- package/dist/installer/systemDeps.js.map +1 -0
- package/dist/mcp/cliNotifications.d.ts +133 -0
- package/dist/mcp/cliNotifications.d.ts.map +1 -0
- package/dist/mcp/cliNotifications.js +289 -0
- package/dist/mcp/cliNotifications.js.map +1 -0
- package/dist/mcp/embeddingServerManager.d.ts +307 -0
- package/dist/mcp/embeddingServerManager.d.ts.map +1 -0
- package/dist/mcp/embeddingServerManager.js +2081 -0
- package/dist/mcp/embeddingServerManager.js.map +1 -0
- package/dist/mcp/healthMonitor.d.ts +196 -0
- package/dist/mcp/healthMonitor.d.ts.map +1 -0
- package/dist/mcp/healthMonitor.js +685 -0
- package/dist/mcp/healthMonitor.js.map +1 -0
- package/dist/mcp/hotReloadManager.d.ts +101 -0
- package/dist/mcp/hotReloadManager.d.ts.map +1 -0
- package/dist/mcp/hotReloadManager.js +251 -0
- package/dist/mcp/hotReloadManager.js.map +1 -0
- package/dist/mcp/index.d.ts +16 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +22 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/mcpProtocolHandler.d.ts +64 -0
- package/dist/mcp/mcpProtocolHandler.d.ts.map +1 -0
- package/dist/mcp/mcpProtocolHandler.js +253 -0
- package/dist/mcp/mcpProtocolHandler.js.map +1 -0
- package/dist/mcp/miniCOTServerManager.d.ts +336 -0
- package/dist/mcp/miniCOTServerManager.d.ts.map +1 -0
- package/dist/mcp/miniCOTServerManager.js +1384 -0
- package/dist/mcp/miniCOTServerManager.js.map +1 -0
- package/dist/mcp/promptExecutor.d.ts +188 -0
- package/dist/mcp/promptExecutor.d.ts.map +1 -0
- package/dist/mcp/promptExecutor.js +469 -0
- package/dist/mcp/promptExecutor.js.map +1 -0
- package/dist/mcp/reloadBroadcast.d.ts +127 -0
- package/dist/mcp/reloadBroadcast.d.ts.map +1 -0
- package/dist/mcp/reloadBroadcast.js +275 -0
- package/dist/mcp/reloadBroadcast.js.map +1 -0
- package/dist/mcp/resilientTransport.d.ts +249 -0
- package/dist/mcp/resilientTransport.d.ts.map +1 -0
- package/dist/mcp/resilientTransport.js +931 -0
- package/dist/mcp/resilientTransport.js.map +1 -0
- package/dist/mcp/samplingHandler.d.ts +129 -0
- package/dist/mcp/samplingHandler.d.ts.map +1 -0
- package/dist/mcp/samplingHandler.js +276 -0
- package/dist/mcp/samplingHandler.js.map +1 -0
- package/dist/mcp/specMemServer.d.ts +305 -0
- package/dist/mcp/specMemServer.d.ts.map +1 -0
- package/dist/mcp/specMemServer.js +2048 -0
- package/dist/mcp/specMemServer.js.map +1 -0
- package/dist/mcp/toolRegistry.d.ts +122 -0
- package/dist/mcp/toolRegistry.d.ts.map +1 -0
- package/dist/mcp/toolRegistry.js +609 -0
- package/dist/mcp/toolRegistry.js.map +1 -0
- package/dist/mcp/tools/embeddingControl.d.ts +114 -0
- package/dist/mcp/tools/embeddingControl.d.ts.map +1 -0
- package/dist/mcp/tools/embeddingControl.js +222 -0
- package/dist/mcp/tools/embeddingControl.js.map +1 -0
- package/dist/mcp/tools/index.d.ts +10 -0
- package/dist/mcp/tools/index.d.ts.map +1 -0
- package/dist/mcp/tools/index.js +17 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/teamComms.d.ts +444 -0
- package/dist/mcp/tools/teamComms.d.ts.map +1 -0
- package/dist/mcp/tools/teamComms.js +1953 -0
- package/dist/mcp/tools/teamComms.js.map +1 -0
- package/dist/mcp/triggerSystem.d.ts +129 -0
- package/dist/mcp/triggerSystem.d.ts.map +1 -0
- package/dist/mcp/triggerSystem.js +363 -0
- package/dist/mcp/triggerSystem.js.map +1 -0
- package/dist/mcp/watcherIntegration.d.ts +77 -0
- package/dist/mcp/watcherIntegration.d.ts.map +1 -0
- package/dist/mcp/watcherIntegration.js +428 -0
- package/dist/mcp/watcherIntegration.js.map +1 -0
- package/dist/mcp/watcherToolWrappers.d.ts +89 -0
- package/dist/mcp/watcherToolWrappers.d.ts.map +1 -0
- package/dist/mcp/watcherToolWrappers.js +91 -0
- package/dist/mcp/watcherToolWrappers.js.map +1 -0
- package/dist/memorization/claudeCodeMigration.d.ts +34 -0
- package/dist/memorization/claudeCodeMigration.d.ts.map +1 -0
- package/dist/memorization/claudeCodeMigration.js +210 -0
- package/dist/memorization/claudeCodeMigration.js.map +1 -0
- package/dist/memorization/claudeCodeTracker.d.ts +147 -0
- package/dist/memorization/claudeCodeTracker.d.ts.map +1 -0
- package/dist/memorization/claudeCodeTracker.js +424 -0
- package/dist/memorization/claudeCodeTracker.js.map +1 -0
- package/dist/memorization/codeMemorizer.d.ts +158 -0
- package/dist/memorization/codeMemorizer.d.ts.map +1 -0
- package/dist/memorization/codeMemorizer.js +357 -0
- package/dist/memorization/codeMemorizer.js.map +1 -0
- package/dist/memorization/codeRecall.d.ts +156 -0
- package/dist/memorization/codeRecall.d.ts.map +1 -0
- package/dist/memorization/codeRecall.js +499 -0
- package/dist/memorization/codeRecall.js.map +1 -0
- package/dist/memorization/index.d.ts +55 -0
- package/dist/memorization/index.d.ts.map +1 -0
- package/dist/memorization/index.js +64 -0
- package/dist/memorization/index.js.map +1 -0
- package/dist/memorization/memorizationTools.d.ts +413 -0
- package/dist/memorization/memorizationTools.d.ts.map +1 -0
- package/dist/memorization/memorizationTools.js +513 -0
- package/dist/memorization/memorizationTools.js.map +1 -0
- package/dist/memorization/watcherIntegration.d.ts +100 -0
- package/dist/memorization/watcherIntegration.d.ts.map +1 -0
- package/dist/memorization/watcherIntegration.js +196 -0
- package/dist/memorization/watcherIntegration.js.map +1 -0
- package/dist/memory/humanLikeMemory.d.ts +206 -0
- package/dist/memory/humanLikeMemory.d.ts.map +1 -0
- package/dist/memory/humanLikeMemory.js +603 -0
- package/dist/memory/humanLikeMemory.js.map +1 -0
- package/dist/memory/index.d.ts +22 -0
- package/dist/memory/index.d.ts.map +1 -0
- package/dist/memory/index.js +24 -0
- package/dist/memory/index.js.map +1 -0
- package/dist/memory/memoryEvolutionMigration.d.ts +36 -0
- package/dist/memory/memoryEvolutionMigration.d.ts.map +1 -0
- package/dist/memory/memoryEvolutionMigration.js +371 -0
- package/dist/memory/memoryEvolutionMigration.js.map +1 -0
- package/dist/memory/quadrantSearch.d.ts +221 -0
- package/dist/memory/quadrantSearch.d.ts.map +1 -0
- package/dist/memory/quadrantSearch.js +897 -0
- package/dist/memory/quadrantSearch.js.map +1 -0
- package/dist/middleware/apiVersioning.d.ts +83 -0
- package/dist/middleware/apiVersioning.d.ts.map +1 -0
- package/dist/middleware/apiVersioning.js +152 -0
- package/dist/middleware/apiVersioning.js.map +1 -0
- package/dist/middleware/compression.d.ts +48 -0
- package/dist/middleware/compression.d.ts.map +1 -0
- package/dist/middleware/compression.js +240 -0
- package/dist/middleware/compression.js.map +1 -0
- package/dist/middleware/csrf.d.ts +118 -0
- package/dist/middleware/csrf.d.ts.map +1 -0
- package/dist/middleware/csrf.js +300 -0
- package/dist/middleware/csrf.js.map +1 -0
- package/dist/middleware/index.d.ts +13 -0
- package/dist/middleware/index.d.ts.map +1 -0
- package/dist/middleware/index.js +17 -0
- package/dist/middleware/index.js.map +1 -0
- package/dist/middleware/wsRateLimiter.d.ts +129 -0
- package/dist/middleware/wsRateLimiter.d.ts.map +1 -0
- package/dist/middleware/wsRateLimiter.js +279 -0
- package/dist/middleware/wsRateLimiter.js.map +1 -0
- package/dist/migrations/run.d.ts +2 -0
- package/dist/migrations/run.d.ts.map +1 -0
- package/dist/migrations/run.js +25 -0
- package/dist/migrations/run.js.map +1 -0
- package/dist/migrations/syncDimensions.d.ts +24 -0
- package/dist/migrations/syncDimensions.d.ts.map +1 -0
- package/dist/migrations/syncDimensions.js +140 -0
- package/dist/migrations/syncDimensions.js.map +1 -0
- package/dist/migrations/teamComms.d.ts +16 -0
- package/dist/migrations/teamComms.d.ts.map +1 -0
- package/dist/migrations/teamComms.js +210 -0
- package/dist/migrations/teamComms.js.map +1 -0
- package/dist/openapi/index.d.ts +10 -0
- package/dist/openapi/index.d.ts.map +1 -0
- package/dist/openapi/index.js +10 -0
- package/dist/openapi/index.js.map +1 -0
- package/dist/openapi/spec.d.ts +902 -0
- package/dist/openapi/spec.d.ts.map +1 -0
- package/dist/openapi/spec.js +733 -0
- package/dist/openapi/spec.js.map +1 -0
- package/dist/packages/dependencyHistory.d.ts +113 -0
- package/dist/packages/dependencyHistory.d.ts.map +1 -0
- package/dist/packages/dependencyHistory.js +360 -0
- package/dist/packages/dependencyHistory.js.map +1 -0
- package/dist/packages/index.d.ts +30 -0
- package/dist/packages/index.d.ts.map +1 -0
- package/dist/packages/index.js +65 -0
- package/dist/packages/index.js.map +1 -0
- package/dist/packages/packageTools.d.ts +255 -0
- package/dist/packages/packageTools.d.ts.map +1 -0
- package/dist/packages/packageTools.js +242 -0
- package/dist/packages/packageTools.js.map +1 -0
- package/dist/packages/packageTracker.d.ts +98 -0
- package/dist/packages/packageTracker.d.ts.map +1 -0
- package/dist/packages/packageTracker.js +268 -0
- package/dist/packages/packageTracker.js.map +1 -0
- package/dist/packages/packageWatcher.d.ts +62 -0
- package/dist/packages/packageWatcher.d.ts.map +1 -0
- package/dist/packages/packageWatcher.js +146 -0
- package/dist/packages/packageWatcher.js.map +1 -0
- package/dist/providers/MiniCOTProvider.d.ts +48 -0
- package/dist/providers/MiniCOTProvider.d.ts.map +1 -0
- package/dist/providers/MiniCOTProvider.js +98 -0
- package/dist/providers/MiniCOTProvider.js.map +1 -0
- package/dist/reminders/index.d.ts +5 -0
- package/dist/reminders/index.d.ts.map +1 -0
- package/dist/reminders/index.js +5 -0
- package/dist/reminders/index.js.map +1 -0
- package/dist/reminders/skillReminder.d.ts +131 -0
- package/dist/reminders/skillReminder.d.ts.map +1 -0
- package/dist/reminders/skillReminder.js +386 -0
- package/dist/reminders/skillReminder.js.map +1 -0
- package/dist/search.d.ts +35 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +574 -0
- package/dist/search.js.map +1 -0
- package/dist/security/localhostOnly.d.ts +36 -0
- package/dist/security/localhostOnly.d.ts.map +1 -0
- package/dist/security/localhostOnly.js +101 -0
- package/dist/security/localhostOnly.js.map +1 -0
- package/dist/services/CameraZoomSearch.d.ts +206 -0
- package/dist/services/CameraZoomSearch.d.ts.map +1 -0
- package/dist/services/CameraZoomSearch.js +669 -0
- package/dist/services/CameraZoomSearch.js.map +1 -0
- package/dist/services/DataFlowPipeline.d.ts +111 -0
- package/dist/services/DataFlowPipeline.d.ts.map +1 -0
- package/dist/services/DataFlowPipeline.js +379 -0
- package/dist/services/DataFlowPipeline.js.map +1 -0
- package/dist/services/DimensionAdapter.d.ts +194 -0
- package/dist/services/DimensionAdapter.d.ts.map +1 -0
- package/dist/services/DimensionAdapter.js +566 -0
- package/dist/services/DimensionAdapter.js.map +1 -0
- package/dist/services/DimensionService.d.ts +252 -0
- package/dist/services/DimensionService.d.ts.map +1 -0
- package/dist/services/DimensionService.js +564 -0
- package/dist/services/DimensionService.js.map +1 -0
- package/dist/services/EmbeddingQueue.d.ts +71 -0
- package/dist/services/EmbeddingQueue.d.ts.map +1 -0
- package/dist/services/EmbeddingQueue.js +258 -0
- package/dist/services/EmbeddingQueue.js.map +1 -0
- package/dist/services/MemoryDrilldown.d.ts +226 -0
- package/dist/services/MemoryDrilldown.d.ts.map +1 -0
- package/dist/services/MemoryDrilldown.js +479 -0
- package/dist/services/MemoryDrilldown.js.map +1 -0
- package/dist/services/MiniCOTScorer.d.ts +140 -0
- package/dist/services/MiniCOTScorer.d.ts.map +1 -0
- package/dist/services/MiniCOTScorer.js +292 -0
- package/dist/services/MiniCOTScorer.js.map +1 -0
- package/dist/services/ProjectContext.d.ts +342 -0
- package/dist/services/ProjectContext.d.ts.map +1 -0
- package/dist/services/ProjectContext.js +667 -0
- package/dist/services/ProjectContext.js.map +1 -0
- package/dist/services/ResponseCompactor.d.ts +135 -0
- package/dist/services/ResponseCompactor.d.ts.map +1 -0
- package/dist/services/ResponseCompactor.js +501 -0
- package/dist/services/ResponseCompactor.js.map +1 -0
- package/dist/services/TeamCommsDbService.d.ts +202 -0
- package/dist/services/TeamCommsDbService.d.ts.map +1 -0
- package/dist/services/TeamCommsDbService.js +526 -0
- package/dist/services/TeamCommsDbService.js.map +1 -0
- package/dist/services/UnifiedPasswordService.d.ts +166 -0
- package/dist/services/UnifiedPasswordService.d.ts.map +1 -0
- package/dist/services/UnifiedPasswordService.js +587 -0
- package/dist/services/UnifiedPasswordService.js.map +1 -0
- package/dist/services/adaptiveSearchConfig.d.ts +64 -0
- package/dist/services/adaptiveSearchConfig.d.ts.map +1 -0
- package/dist/services/adaptiveSearchConfig.js +187 -0
- package/dist/services/adaptiveSearchConfig.js.map +1 -0
- package/dist/skills/index.d.ts +8 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +8 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/skills/skillScanner.d.ts +203 -0
- package/dist/skills/skillScanner.d.ts.map +1 -0
- package/dist/skills/skillScanner.js +559 -0
- package/dist/skills/skillScanner.js.map +1 -0
- package/dist/skills/skillsResource.d.ts +69 -0
- package/dist/skills/skillsResource.d.ts.map +1 -0
- package/dist/skills/skillsResource.js +257 -0
- package/dist/skills/skillsResource.js.map +1 -0
- package/dist/startup/index.d.ts +9 -0
- package/dist/startup/index.d.ts.map +1 -0
- package/dist/startup/index.js +12 -0
- package/dist/startup/index.js.map +1 -0
- package/dist/startup/startupIndexing.d.ts +80 -0
- package/dist/startup/startupIndexing.d.ts.map +1 -0
- package/dist/startup/startupIndexing.js +463 -0
- package/dist/startup/startupIndexing.js.map +1 -0
- package/dist/startup/validation.d.ts +89 -0
- package/dist/startup/validation.d.ts.map +1 -0
- package/dist/startup/validation.js +590 -0
- package/dist/startup/validation.js.map +1 -0
- package/dist/storage/index.d.ts +4 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +4 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/overflowManager.d.ts +80 -0
- package/dist/storage/overflowManager.d.ts.map +1 -0
- package/dist/storage/overflowManager.js +317 -0
- package/dist/storage/overflowManager.js.map +1 -0
- package/dist/storage/overflowStorage.d.ts +69 -0
- package/dist/storage/overflowStorage.d.ts.map +1 -0
- package/dist/storage/overflowStorage.js +379 -0
- package/dist/storage/overflowStorage.js.map +1 -0
- package/dist/storage/toonFormat.d.ts +50 -0
- package/dist/storage/toonFormat.d.ts.map +1 -0
- package/dist/storage/toonFormat.js +224 -0
- package/dist/storage/toonFormat.js.map +1 -0
- package/dist/team-members/communication.d.ts +237 -0
- package/dist/team-members/communication.d.ts.map +1 -0
- package/dist/team-members/communication.js +650 -0
- package/dist/team-members/communication.js.map +1 -0
- package/dist/team-members/index.d.ts +14 -0
- package/dist/team-members/index.d.ts.map +1 -0
- package/dist/team-members/index.js +22 -0
- package/dist/team-members/index.js.map +1 -0
- package/dist/team-members/taskOrchestrator.d.ts +224 -0
- package/dist/team-members/taskOrchestrator.d.ts.map +1 -0
- package/dist/team-members/taskOrchestrator.js +574 -0
- package/dist/team-members/taskOrchestrator.js.map +1 -0
- package/dist/team-members/taskTeamMemberLogger.d.ts +157 -0
- package/dist/team-members/taskTeamMemberLogger.d.ts.map +1 -0
- package/dist/team-members/taskTeamMemberLogger.js +478 -0
- package/dist/team-members/taskTeamMemberLogger.js.map +1 -0
- package/dist/team-members/teamCommsService.d.ts +221 -0
- package/dist/team-members/teamCommsService.d.ts.map +1 -0
- package/dist/team-members/teamCommsService.js +628 -0
- package/dist/team-members/teamCommsService.js.map +1 -0
- package/dist/team-members/teamMemberChannels.d.ts +217 -0
- package/dist/team-members/teamMemberChannels.d.ts.map +1 -0
- package/dist/team-members/teamMemberChannels.js +687 -0
- package/dist/team-members/teamMemberChannels.js.map +1 -0
- package/dist/team-members/teamMemberDashboard.d.ts +222 -0
- package/dist/team-members/teamMemberDashboard.d.ts.map +1 -0
- package/dist/team-members/teamMemberDashboard.js +610 -0
- package/dist/team-members/teamMemberDashboard.js.map +1 -0
- package/dist/team-members/teamMemberDeployment.d.ts +60 -0
- package/dist/team-members/teamMemberDeployment.d.ts.map +1 -0
- package/dist/team-members/teamMemberDeployment.js +429 -0
- package/dist/team-members/teamMemberDeployment.js.map +1 -0
- package/dist/team-members/teamMemberDiscovery.d.ts +178 -0
- package/dist/team-members/teamMemberDiscovery.d.ts.map +1 -0
- package/dist/team-members/teamMemberDiscovery.js +446 -0
- package/dist/team-members/teamMemberDiscovery.js.map +1 -0
- package/dist/team-members/teamMemberHistory.d.ts +80 -0
- package/dist/team-members/teamMemberHistory.d.ts.map +1 -0
- package/dist/team-members/teamMemberHistory.js +426 -0
- package/dist/team-members/teamMemberHistory.js.map +1 -0
- package/dist/team-members/teamMemberLimits.d.ts +66 -0
- package/dist/team-members/teamMemberLimits.d.ts.map +1 -0
- package/dist/team-members/teamMemberLimits.js +259 -0
- package/dist/team-members/teamMemberLimits.js.map +1 -0
- package/dist/team-members/teamMemberRegistry.d.ts +199 -0
- package/dist/team-members/teamMemberRegistry.d.ts.map +1 -0
- package/dist/team-members/teamMemberRegistry.js +572 -0
- package/dist/team-members/teamMemberRegistry.js.map +1 -0
- package/dist/team-members/teamMemberTracker.d.ts +148 -0
- package/dist/team-members/teamMemberTracker.d.ts.map +1 -0
- package/dist/team-members/teamMemberTracker.js +828 -0
- package/dist/team-members/teamMemberTracker.js.map +1 -0
- package/dist/team-members/workers/aiWorker.d.ts +53 -0
- package/dist/team-members/workers/aiWorker.d.ts.map +1 -0
- package/dist/team-members/workers/aiWorker.js +322 -0
- package/dist/team-members/workers/aiWorker.js.map +1 -0
- package/dist/team-members/workers/baseWorker.d.ts +101 -0
- package/dist/team-members/workers/baseWorker.d.ts.map +1 -0
- package/dist/team-members/workers/baseWorker.js +179 -0
- package/dist/team-members/workers/baseWorker.js.map +1 -0
- package/dist/team-members/workers/codeReviewWorker.d.ts +3 -0
- package/dist/team-members/workers/codeReviewWorker.d.ts.map +1 -0
- package/dist/team-members/workers/codeReviewWorker.js +144 -0
- package/dist/team-members/workers/codeReviewWorker.js.map +1 -0
- package/dist/team-members/workers/index.d.ts +7 -0
- package/dist/team-members/workers/index.d.ts.map +1 -0
- package/dist/team-members/workers/index.js +7 -0
- package/dist/team-members/workers/index.js.map +1 -0
- package/dist/team-members/workers/repairWorker.d.ts +9 -0
- package/dist/team-members/workers/repairWorker.d.ts.map +1 -0
- package/dist/team-members/workers/repairWorker.js +102 -0
- package/dist/team-members/workers/repairWorker.js.map +1 -0
- package/dist/team-members/workers/sendToTeamMemberB.d.ts +9 -0
- package/dist/team-members/workers/sendToTeamMemberB.d.ts.map +1 -0
- package/dist/team-members/workers/sendToTeamMemberB.js +105 -0
- package/dist/team-members/workers/sendToTeamMemberB.js.map +1 -0
- package/dist/team-members/workers/specmemClient.d.ts +179 -0
- package/dist/team-members/workers/specmemClient.d.ts.map +1 -0
- package/dist/team-members/workers/specmemClient.js +421 -0
- package/dist/team-members/workers/specmemClient.js.map +1 -0
- package/dist/team-members/workers/testCommunication.d.ts +8 -0
- package/dist/team-members/workers/testCommunication.d.ts.map +1 -0
- package/dist/team-members/workers/testCommunication.js +136 -0
- package/dist/team-members/workers/testCommunication.js.map +1 -0
- package/dist/team-members/workers/testCommunicationSuite.d.ts +26 -0
- package/dist/team-members/workers/testCommunicationSuite.d.ts.map +1 -0
- package/dist/team-members/workers/testCommunicationSuite.js +415 -0
- package/dist/team-members/workers/testCommunicationSuite.js.map +1 -0
- package/dist/team-members/workers/testWorker.d.ts +9 -0
- package/dist/team-members/workers/testWorker.d.ts.map +1 -0
- package/dist/team-members/workers/testWorker.js +107 -0
- package/dist/team-members/workers/testWorker.js.map +1 -0
- package/dist/tools/agentDefinitions.d.ts +30 -0
- package/dist/tools/agentDefinitions.d.ts.map +1 -0
- package/dist/tools/agentDefinitions.js +166 -0
- package/dist/tools/agentDefinitions.js.map +1 -0
- package/dist/tools/goofy/checkSyncStatus.d.ts +68 -0
- package/dist/tools/goofy/checkSyncStatus.d.ts.map +1 -0
- package/dist/tools/goofy/checkSyncStatus.js +112 -0
- package/dist/tools/goofy/checkSyncStatus.js.map +1 -0
- package/dist/tools/goofy/codeMemoryLink.d.ts +82 -0
- package/dist/tools/goofy/codeMemoryLink.d.ts.map +1 -0
- package/dist/tools/goofy/codeMemoryLink.js +212 -0
- package/dist/tools/goofy/codeMemoryLink.js.map +1 -0
- package/dist/tools/goofy/compareInstanceMemory.d.ts +97 -0
- package/dist/tools/goofy/compareInstanceMemory.d.ts.map +1 -0
- package/dist/tools/goofy/compareInstanceMemory.js +218 -0
- package/dist/tools/goofy/compareInstanceMemory.js.map +1 -0
- package/dist/tools/goofy/createReasoningChain.d.ts +135 -0
- package/dist/tools/goofy/createReasoningChain.d.ts.map +1 -0
- package/dist/tools/goofy/createReasoningChain.js +257 -0
- package/dist/tools/goofy/createReasoningChain.js.map +1 -0
- package/dist/tools/goofy/deployTeamMember.d.ts +63 -0
- package/dist/tools/goofy/deployTeamMember.d.ts.map +1 -0
- package/dist/tools/goofy/deployTeamMember.js +103 -0
- package/dist/tools/goofy/deployTeamMember.js.map +1 -0
- package/dist/tools/goofy/drillDown.d.ts +143 -0
- package/dist/tools/goofy/drillDown.d.ts.map +1 -0
- package/dist/tools/goofy/drillDown.js +288 -0
- package/dist/tools/goofy/drillDown.js.map +1 -0
- package/dist/tools/goofy/extractClaudeSessions.d.ts +90 -0
- package/dist/tools/goofy/extractClaudeSessions.d.ts.map +1 -0
- package/dist/tools/goofy/extractClaudeSessions.js +277 -0
- package/dist/tools/goofy/extractClaudeSessions.js.map +1 -0
- package/dist/tools/goofy/extractContextRestorations.d.ts +70 -0
- package/dist/tools/goofy/extractContextRestorations.d.ts.map +1 -0
- package/dist/tools/goofy/extractContextRestorations.js +100 -0
- package/dist/tools/goofy/extractContextRestorations.js.map +1 -0
- package/dist/tools/goofy/findCodePointers.d.ts +364 -0
- package/dist/tools/goofy/findCodePointers.d.ts.map +1 -0
- package/dist/tools/goofy/findCodePointers.js +1764 -0
- package/dist/tools/goofy/findCodePointers.js.map +1 -0
- package/dist/tools/goofy/findMemoryGallery.d.ts +40 -0
- package/dist/tools/goofy/findMemoryGallery.d.ts.map +1 -0
- package/dist/tools/goofy/findMemoryGallery.js +66 -0
- package/dist/tools/goofy/findMemoryGallery.js.map +1 -0
- package/dist/tools/goofy/findWhatISaid.d.ts +300 -0
- package/dist/tools/goofy/findWhatISaid.d.ts.map +1 -0
- package/dist/tools/goofy/findWhatISaid.js +2547 -0
- package/dist/tools/goofy/findWhatISaid.js.map +1 -0
- package/dist/tools/goofy/forceResync.d.ts +57 -0
- package/dist/tools/goofy/forceResync.d.ts.map +1 -0
- package/dist/tools/goofy/forceResync.js +100 -0
- package/dist/tools/goofy/forceResync.js.map +1 -0
- package/dist/tools/goofy/getActiveTeamMembers.d.ts +48 -0
- package/dist/tools/goofy/getActiveTeamMembers.d.ts.map +1 -0
- package/dist/tools/goofy/getActiveTeamMembers.js +136 -0
- package/dist/tools/goofy/getActiveTeamMembers.js.map +1 -0
- package/dist/tools/goofy/getMemoryFull.d.ts +34 -0
- package/dist/tools/goofy/getMemoryFull.d.ts.map +1 -0
- package/dist/tools/goofy/getMemoryFull.js +58 -0
- package/dist/tools/goofy/getMemoryFull.js.map +1 -0
- package/dist/tools/goofy/getSessionWatcherStatus.d.ts +43 -0
- package/dist/tools/goofy/getSessionWatcherStatus.d.ts.map +1 -0
- package/dist/tools/goofy/getSessionWatcherStatus.js +92 -0
- package/dist/tools/goofy/getSessionWatcherStatus.js.map +1 -0
- package/dist/tools/goofy/getTeamMemberOutput.d.ts +35 -0
- package/dist/tools/goofy/getTeamMemberOutput.d.ts.map +1 -0
- package/dist/tools/goofy/getTeamMemberOutput.js +62 -0
- package/dist/tools/goofy/getTeamMemberOutput.js.map +1 -0
- package/dist/tools/goofy/getTeamMemberScreen.d.ts +28 -0
- package/dist/tools/goofy/getTeamMemberScreen.d.ts.map +1 -0
- package/dist/tools/goofy/getTeamMemberScreen.js +59 -0
- package/dist/tools/goofy/getTeamMemberScreen.js.map +1 -0
- package/dist/tools/goofy/getTeamMemberStatus.d.ts +33 -0
- package/dist/tools/goofy/getTeamMemberStatus.d.ts.map +1 -0
- package/dist/tools/goofy/getTeamMemberStatus.js +56 -0
- package/dist/tools/goofy/getTeamMemberStatus.js.map +1 -0
- package/dist/tools/goofy/index.d.ts +39 -0
- package/dist/tools/goofy/index.d.ts.map +1 -0
- package/dist/tools/goofy/index.js +51 -0
- package/dist/tools/goofy/index.js.map +1 -0
- package/dist/tools/goofy/interveneTeamMember.d.ts +33 -0
- package/dist/tools/goofy/interveneTeamMember.d.ts.map +1 -0
- package/dist/tools/goofy/interveneTeamMember.js +69 -0
- package/dist/tools/goofy/interveneTeamMember.js.map +1 -0
- package/dist/tools/goofy/killDeployedTeamMember.d.ts +29 -0
- package/dist/tools/goofy/killDeployedTeamMember.d.ts.map +1 -0
- package/dist/tools/goofy/killDeployedTeamMember.js +56 -0
- package/dist/tools/goofy/killDeployedTeamMember.js.map +1 -0
- package/dist/tools/goofy/linkTheVibes.d.ts +125 -0
- package/dist/tools/goofy/linkTheVibes.d.ts.map +1 -0
- package/dist/tools/goofy/linkTheVibes.js +354 -0
- package/dist/tools/goofy/linkTheVibes.js.map +1 -0
- package/dist/tools/goofy/listDeployedTeamMembers.d.ts +26 -0
- package/dist/tools/goofy/listDeployedTeamMembers.d.ts.map +1 -0
- package/dist/tools/goofy/listDeployedTeamMembers.js +52 -0
- package/dist/tools/goofy/listDeployedTeamMembers.js.map +1 -0
- package/dist/tools/goofy/listenForMessages.d.ts +56 -0
- package/dist/tools/goofy/listenForMessages.d.ts.map +1 -0
- package/dist/tools/goofy/listenForMessages.js +122 -0
- package/dist/tools/goofy/listenForMessages.js.map +1 -0
- package/dist/tools/goofy/memoryHealthCheck.d.ts +159 -0
- package/dist/tools/goofy/memoryHealthCheck.d.ts.map +1 -0
- package/dist/tools/goofy/memoryHealthCheck.js +443 -0
- package/dist/tools/goofy/memoryHealthCheck.js.map +1 -0
- package/dist/tools/goofy/rememberThisShit.d.ts +103 -0
- package/dist/tools/goofy/rememberThisShit.d.ts.map +1 -0
- package/dist/tools/goofy/rememberThisShit.js +291 -0
- package/dist/tools/goofy/rememberThisShit.js.map +1 -0
- package/dist/tools/goofy/sayToTeamMember.d.ts +55 -0
- package/dist/tools/goofy/sayToTeamMember.d.ts.map +1 -0
- package/dist/tools/goofy/sayToTeamMember.js +116 -0
- package/dist/tools/goofy/sayToTeamMember.js.map +1 -0
- package/dist/tools/goofy/selfMessage.d.ts +54 -0
- package/dist/tools/goofy/selfMessage.d.ts.map +1 -0
- package/dist/tools/goofy/selfMessage.js +111 -0
- package/dist/tools/goofy/selfMessage.js.map +1 -0
- package/dist/tools/goofy/sendHeartbeat.d.ts +53 -0
- package/dist/tools/goofy/sendHeartbeat.d.ts.map +1 -0
- package/dist/tools/goofy/sendHeartbeat.js +119 -0
- package/dist/tools/goofy/sendHeartbeat.js.map +1 -0
- package/dist/tools/goofy/showMeTheStats.d.ts +216 -0
- package/dist/tools/goofy/showMeTheStats.d.ts.map +1 -0
- package/dist/tools/goofy/showMeTheStats.js +535 -0
- package/dist/tools/goofy/showMeTheStats.js.map +1 -0
- package/dist/tools/goofy/smartRecall.d.ts +136 -0
- package/dist/tools/goofy/smartRecall.d.ts.map +1 -0
- package/dist/tools/goofy/smartRecall.js +286 -0
- package/dist/tools/goofy/smartRecall.js.map +1 -0
- package/dist/tools/goofy/smartSearch.d.ts +64 -0
- package/dist/tools/goofy/smartSearch.d.ts.map +1 -0
- package/dist/tools/goofy/smartSearch.js +89 -0
- package/dist/tools/goofy/smartSearch.js.map +1 -0
- package/dist/tools/goofy/smushMemoriesTogether.d.ts +128 -0
- package/dist/tools/goofy/smushMemoriesTogether.d.ts.map +1 -0
- package/dist/tools/goofy/smushMemoriesTogether.js +536 -0
- package/dist/tools/goofy/smushMemoriesTogether.js.map +1 -0
- package/dist/tools/goofy/spatialSearch.d.ts +198 -0
- package/dist/tools/goofy/spatialSearch.d.ts.map +1 -0
- package/dist/tools/goofy/spatialSearch.js +551 -0
- package/dist/tools/goofy/spatialSearch.js.map +1 -0
- package/dist/tools/goofy/spawnResearchTeamMember.d.ts +104 -0
- package/dist/tools/goofy/spawnResearchTeamMember.d.ts.map +1 -0
- package/dist/tools/goofy/spawnResearchTeamMember.js +290 -0
- package/dist/tools/goofy/spawnResearchTeamMember.js.map +1 -0
- package/dist/tools/goofy/spawnResearchTeamMemberTool.d.ts +121 -0
- package/dist/tools/goofy/spawnResearchTeamMemberTool.d.ts.map +1 -0
- package/dist/tools/goofy/spawnResearchTeamMemberTool.js +215 -0
- package/dist/tools/goofy/spawnResearchTeamMemberTool.js.map +1 -0
- package/dist/tools/goofy/startWatchingTheFiles.d.ts +81 -0
- package/dist/tools/goofy/startWatchingTheFiles.d.ts.map +1 -0
- package/dist/tools/goofy/startWatchingTheFiles.js +161 -0
- package/dist/tools/goofy/startWatchingTheFiles.js.map +1 -0
- package/dist/tools/goofy/stopWatchingTheFiles.d.ts +50 -0
- package/dist/tools/goofy/stopWatchingTheFiles.d.ts.map +1 -0
- package/dist/tools/goofy/stopWatchingTheFiles.js +81 -0
- package/dist/tools/goofy/stopWatchingTheFiles.js.map +1 -0
- package/dist/tools/goofy/whatDidIMean.d.ts +113 -0
- package/dist/tools/goofy/whatDidIMean.d.ts.map +1 -0
- package/dist/tools/goofy/whatDidIMean.js +401 -0
- package/dist/tools/goofy/whatDidIMean.js.map +1 -0
- package/dist/tools/goofy/yeahNahDeleteThat.d.ts +109 -0
- package/dist/tools/goofy/yeahNahDeleteThat.d.ts.map +1 -0
- package/dist/tools/goofy/yeahNahDeleteThat.js +319 -0
- package/dist/tools/goofy/yeahNahDeleteThat.js.map +1 -0
- package/dist/tools/index.d.ts +9 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +9 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/teamMemberDeployer.d.ts +117 -0
- package/dist/tools/teamMemberDeployer.d.ts.map +1 -0
- package/dist/tools/teamMemberDeployer.js +613 -0
- package/dist/tools/teamMemberDeployer.js.map +1 -0
- package/dist/trace/index.d.ts +14 -0
- package/dist/trace/index.d.ts.map +1 -0
- package/dist/trace/index.js +16 -0
- package/dist/trace/index.js.map +1 -0
- package/dist/trace/tools/analyzeImpact.d.ts +90 -0
- package/dist/trace/tools/analyzeImpact.d.ts.map +1 -0
- package/dist/trace/tools/analyzeImpact.js +240 -0
- package/dist/trace/tools/analyzeImpact.js.map +1 -0
- package/dist/trace/tools/exploreDependencies.d.ts +81 -0
- package/dist/trace/tools/exploreDependencies.d.ts.map +1 -0
- package/dist/trace/tools/exploreDependencies.js +161 -0
- package/dist/trace/tools/exploreDependencies.js.map +1 -0
- package/dist/trace/tools/findSimilarBugs.d.ts +112 -0
- package/dist/trace/tools/findSimilarBugs.d.ts.map +1 -0
- package/dist/trace/tools/findSimilarBugs.js +216 -0
- package/dist/trace/tools/findSimilarBugs.js.map +1 -0
- package/dist/trace/tools/index.d.ts +22 -0
- package/dist/trace/tools/index.d.ts.map +1 -0
- package/dist/trace/tools/index.js +39 -0
- package/dist/trace/tools/index.js.map +1 -0
- package/dist/trace/tools/smartExplore.d.ts +126 -0
- package/dist/trace/tools/smartExplore.d.ts.map +1 -0
- package/dist/trace/tools/smartExplore.js +303 -0
- package/dist/trace/tools/smartExplore.js.map +1 -0
- package/dist/trace/tools/traceError.d.ts +101 -0
- package/dist/trace/tools/traceError.d.ts.map +1 -0
- package/dist/trace/tools/traceError.js +175 -0
- package/dist/trace/tools/traceError.js.map +1 -0
- package/dist/trace/traceExploreSystem.d.ts +271 -0
- package/dist/trace/traceExploreSystem.d.ts.map +1 -0
- package/dist/trace/traceExploreSystem.js +789 -0
- package/dist/trace/traceExploreSystem.js.map +1 -0
- package/dist/types/index.d.ts +421 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +118 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/circuitBreaker.d.ts +195 -0
- package/dist/utils/circuitBreaker.d.ts.map +1 -0
- package/dist/utils/circuitBreaker.js +374 -0
- package/dist/utils/circuitBreaker.js.map +1 -0
- package/dist/utils/cleanupHandler.d.ts +108 -0
- package/dist/utils/cleanupHandler.d.ts.map +1 -0
- package/dist/utils/cleanupHandler.js +203 -0
- package/dist/utils/cleanupHandler.js.map +1 -0
- package/dist/utils/compactXmlResponse.d.ts +60 -0
- package/dist/utils/compactXmlResponse.d.ts.map +1 -0
- package/dist/utils/compactXmlResponse.js +209 -0
- package/dist/utils/compactXmlResponse.js.map +1 -0
- package/dist/utils/cotBroadcast.d.ts +56 -0
- package/dist/utils/cotBroadcast.d.ts.map +1 -0
- package/dist/utils/cotBroadcast.js +157 -0
- package/dist/utils/cotBroadcast.js.map +1 -0
- package/dist/utils/debugLogger.d.ts +95 -0
- package/dist/utils/debugLogger.d.ts.map +1 -0
- package/dist/utils/debugLogger.js +610 -0
- package/dist/utils/debugLogger.js.map +1 -0
- package/dist/utils/fileProcessingQueue.d.ts +259 -0
- package/dist/utils/fileProcessingQueue.d.ts.map +1 -0
- package/dist/utils/fileProcessingQueue.js +714 -0
- package/dist/utils/fileProcessingQueue.js.map +1 -0
- package/dist/utils/humanReadableOutput.d.ts +124 -0
- package/dist/utils/humanReadableOutput.d.ts.map +1 -0
- package/dist/utils/humanReadableOutput.js +340 -0
- package/dist/utils/humanReadableOutput.js.map +1 -0
- package/dist/utils/index.d.ts +32 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +71 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/instanceManager.d.ts +530 -0
- package/dist/utils/instanceManager.d.ts.map +1 -0
- package/dist/utils/instanceManager.js +1784 -0
- package/dist/utils/instanceManager.js.map +1 -0
- package/dist/utils/logger.d.ts +6 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +49 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/mapCleanup.d.ts +58 -0
- package/dist/utils/mapCleanup.d.ts.map +1 -0
- package/dist/utils/mapCleanup.js +150 -0
- package/dist/utils/mapCleanup.js.map +1 -0
- package/dist/utils/memoryManager.d.ts +349 -0
- package/dist/utils/memoryManager.d.ts.map +1 -0
- package/dist/utils/memoryManager.js +799 -0
- package/dist/utils/memoryManager.js.map +1 -0
- package/dist/utils/metrics.d.ts +160 -0
- package/dist/utils/metrics.d.ts.map +1 -0
- package/dist/utils/metrics.js +558 -0
- package/dist/utils/metrics.js.map +1 -0
- package/dist/utils/pathValidator.d.ts +96 -0
- package/dist/utils/pathValidator.d.ts.map +1 -0
- package/dist/utils/pathValidator.js +320 -0
- package/dist/utils/pathValidator.js.map +1 -0
- package/dist/utils/portAllocator.d.ts +296 -0
- package/dist/utils/portAllocator.d.ts.map +1 -0
- package/dist/utils/portAllocator.js +768 -0
- package/dist/utils/portAllocator.js.map +1 -0
- package/dist/utils/portUtils.d.ts +97 -0
- package/dist/utils/portUtils.d.ts.map +1 -0
- package/dist/utils/portUtils.js +285 -0
- package/dist/utils/portUtils.js.map +1 -0
- package/dist/utils/postgresAutoSetup.d.ts +55 -0
- package/dist/utils/postgresAutoSetup.d.ts.map +1 -0
- package/dist/utils/postgresAutoSetup.js +406 -0
- package/dist/utils/postgresAutoSetup.js.map +1 -0
- package/dist/utils/processHealthCheck.d.ts +61 -0
- package/dist/utils/processHealthCheck.d.ts.map +1 -0
- package/dist/utils/processHealthCheck.js +313 -0
- package/dist/utils/processHealthCheck.js.map +1 -0
- package/dist/utils/progressReporter.d.ts +151 -0
- package/dist/utils/progressReporter.d.ts.map +1 -0
- package/dist/utils/progressReporter.js +345 -0
- package/dist/utils/progressReporter.js.map +1 -0
- package/dist/utils/projectEnv.d.ts +73 -0
- package/dist/utils/projectEnv.d.ts.map +1 -0
- package/dist/utils/projectEnv.js +137 -0
- package/dist/utils/projectEnv.js.map +1 -0
- package/dist/utils/qoms.d.ts +122 -0
- package/dist/utils/qoms.d.ts.map +1 -0
- package/dist/utils/qoms.js +650 -0
- package/dist/utils/qoms.js.map +1 -0
- package/dist/utils/retryHelper.d.ts +122 -0
- package/dist/utils/retryHelper.d.ts.map +1 -0
- package/dist/utils/retryHelper.js +272 -0
- package/dist/utils/retryHelper.js.map +1 -0
- package/dist/utils/safeProcessTermination.d.ts +206 -0
- package/dist/utils/safeProcessTermination.d.ts.map +1 -0
- package/dist/utils/safeProcessTermination.js +552 -0
- package/dist/utils/safeProcessTermination.js.map +1 -0
- package/dist/utils/sessionInjector.d.ts +68 -0
- package/dist/utils/sessionInjector.d.ts.map +1 -0
- package/dist/utils/sessionInjector.js +189 -0
- package/dist/utils/sessionInjector.js.map +1 -0
- package/dist/utils/statsCache.d.ts +134 -0
- package/dist/utils/statsCache.d.ts.map +1 -0
- package/dist/utils/statsCache.js +285 -0
- package/dist/utils/statsCache.js.map +1 -0
- package/dist/utils/timeoutMiddleware.d.ts +81 -0
- package/dist/utils/timeoutMiddleware.d.ts.map +1 -0
- package/dist/utils/timeoutMiddleware.js +155 -0
- package/dist/utils/timeoutMiddleware.js.map +1 -0
- package/dist/utils/timerRegistry.d.ts +91 -0
- package/dist/utils/timerRegistry.d.ts.map +1 -0
- package/dist/utils/timerRegistry.js +187 -0
- package/dist/utils/timerRegistry.js.map +1 -0
- package/dist/utils/tokenCompressor.d.ts +332 -0
- package/dist/utils/tokenCompressor.d.ts.map +1 -0
- package/dist/utils/tokenCompressor.js +1306 -0
- package/dist/utils/tokenCompressor.js.map +1 -0
- package/dist/utils/tracing.d.ts +236 -0
- package/dist/utils/tracing.d.ts.map +1 -0
- package/dist/utils/tracing.js +378 -0
- package/dist/utils/tracing.js.map +1 -0
- package/dist/watcher/changeHandler.d.ts +123 -0
- package/dist/watcher/changeHandler.d.ts.map +1 -0
- package/dist/watcher/changeHandler.js +623 -0
- package/dist/watcher/changeHandler.js.map +1 -0
- package/dist/watcher/changeQueue.d.ts +133 -0
- package/dist/watcher/changeQueue.d.ts.map +1 -0
- package/dist/watcher/changeQueue.js +355 -0
- package/dist/watcher/changeQueue.js.map +1 -0
- package/dist/watcher/fileWatcher.d.ts +121 -0
- package/dist/watcher/fileWatcher.d.ts.map +1 -0
- package/dist/watcher/fileWatcher.js +531 -0
- package/dist/watcher/fileWatcher.js.map +1 -0
- package/dist/watcher/index.d.ts +94 -0
- package/dist/watcher/index.d.ts.map +1 -0
- package/dist/watcher/index.js +235 -0
- package/dist/watcher/index.js.map +1 -0
- package/dist/watcher/syncChecker.d.ts +93 -0
- package/dist/watcher/syncChecker.d.ts.map +1 -0
- package/dist/watcher/syncChecker.js +401 -0
- package/dist/watcher/syncChecker.js.map +1 -0
- package/dist/watcher/tsCompiler.d.ts +88 -0
- package/dist/watcher/tsCompiler.d.ts.map +1 -0
- package/dist/watcher/tsCompiler.js +212 -0
- package/dist/watcher/tsCompiler.js.map +1 -0
- package/embedding-sandbox/Dockerfile +77 -0
- package/embedding-sandbox/Dockerfile.frankenstein +91 -0
- package/embedding-sandbox/README.md +193 -0
- package/embedding-sandbox/__pycache__/frankenstein-embeddings.cpython-312.pyc +0 -0
- package/embedding-sandbox/__pycache__/frankenstein-embeddings.cpython-313.pyc +0 -0
- package/embedding-sandbox/__pycache__/qqms_v2.cpython-312.pyc +0 -0
- package/embedding-sandbox/__pycache__/qqms_v2.cpython-313.pyc +0 -0
- package/embedding-sandbox/add_js_docs.py +684 -0
- package/embedding-sandbox/build_docs_db.py +239 -0
- package/embedding-sandbox/client.cjs +376 -0
- package/embedding-sandbox/client.ts +913 -0
- package/embedding-sandbox/deploy-frankenstein.sh +240 -0
- package/embedding-sandbox/docker-compose.yml +60 -0
- package/embedding-sandbox/docker-manager.py +325 -0
- package/embedding-sandbox/docs/python_docs.db +0 -0
- package/embedding-sandbox/download-model.mjs +79 -0
- package/embedding-sandbox/download-model.py +28 -0
- package/embedding-sandbox/embedding-supervisor.sh +164 -0
- package/embedding-sandbox/frankenstein-embeddings.py +3940 -0
- package/embedding-sandbox/manage-services.sh +354 -0
- package/embedding-sandbox/overflow_queue.py +345 -0
- package/embedding-sandbox/package.json +17 -0
- package/embedding-sandbox/project_isolation.py +292 -0
- package/embedding-sandbox/qqms_v2.py +967 -0
- package/embedding-sandbox/ram-manager.sh +311 -0
- package/embedding-sandbox/requirements-frankenstein.txt +7 -0
- package/embedding-sandbox/run_js_docs.py +59 -0
- package/embedding-sandbox/seed_docs.py +885 -0
- package/embedding-sandbox/server-batch.mjs +228 -0
- package/embedding-sandbox/server.mjs +389 -0
- package/embedding-sandbox/specmem/sockets/claude-input-state.json +1 -0
- package/embedding-sandbox/specmem/sockets/embedding-death-reason.txt +3 -0
- package/embedding-sandbox/specmem/sockets/seen-sessions.json +1 -0
- package/embedding-sandbox/specmem/sockets/session-start.lock +1 -0
- package/embedding-sandbox/specmem/sockets/session-stops.log +7 -0
- package/embedding-sandbox/start-frankenstein-throttled.sh +98 -0
- package/embedding-sandbox/start-on-demand.sh +116 -0
- package/embedding-sandbox/start-sandbox.sh +237 -0
- package/embedding-sandbox/start-supervised.sh +11 -0
- package/embedding-sandbox/stop-sandbox.sh +51 -0
- package/embedding-sandbox/test-socket.mjs +61 -0
- package/embedding-sandbox/warm-start.sh +353 -0
- package/embedding-sandbox/warm_start_feeder.py +660 -0
- package/legal/README.md +31 -0
- package/legal/anthropic-privacy-center-screenshot-2026-01-30.png +0 -0
- package/legal/anthropic-tos-screenshot-2026-01-30.png +0 -0
- package/lib/codebase-bridge.cjs +308 -0
- package/package.json +136 -0
- package/plugins/specmem-agents/agents/bug-hunter.md +79 -0
- package/plugins/specmem-agents/agents/memory-explorer.md +57 -0
- package/plugins/specmem-agents/agents/team-coordinator.md +82 -0
- package/scripts/auto-updater.cjs +399 -0
- package/scripts/backfill-code-definition-embeddings.ts +440 -0
- package/scripts/backfill-code-embeddings.ts +206 -0
- package/scripts/capture-tos-screenshots.cjs +94 -0
- package/scripts/check-global-install.cjs +67 -0
- package/scripts/cleanup-embedding-servers.sh +25 -0
- package/scripts/dashboard-standalone.sh +369 -0
- package/scripts/deploy-hooks.cjs +1451 -0
- package/scripts/deploy.sh +106 -0
- package/scripts/docker-project-down.sh +83 -0
- package/scripts/docker-project-list.sh +40 -0
- package/scripts/docker-project-up.sh +79 -0
- package/scripts/fast-backfill-embeddings.ts +173 -0
- package/scripts/fast-batch-embedder.cjs +334 -0
- package/scripts/first-run-model-setup.cjs +849 -0
- package/scripts/global-postinstall.cjs +1957 -0
- package/scripts/index-codebase.js +72 -0
- package/scripts/migrate-fix-embeddings.py +110 -0
- package/scripts/migrate-to-project-schemas.ts +525 -0
- package/scripts/optimize-embedding-model.py +324 -0
- package/scripts/optimize-instructions.cjs +530 -0
- package/scripts/pack-docker-images.sh +68 -0
- package/scripts/pack-for-testing.sh +130 -0
- package/scripts/postinstall.cjs +54 -0
- package/scripts/project-env.sh +51 -0
- package/scripts/reset-db.sh +30 -0
- package/scripts/run-indexer.ts +69 -0
- package/scripts/run-migrations.js +47 -0
- package/scripts/setup-db.sh +34 -0
- package/scripts/setup-minimal-schema.sql +143 -0
- package/scripts/skills/code-review.md +44 -0
- package/scripts/skills/debugging.md +56 -0
- package/scripts/skills/specmem-deployteam.md +239 -0
- package/scripts/skills/teammemberskills/EFFICIENT_GREP.md +171 -0
- package/scripts/skills/teammemberskills/task-planning.md +67 -0
- package/scripts/specmem/sockets/session-start.lock +1 -0
- package/scripts/specmem/sockets/session-stops.log +1 -0
- package/scripts/specmem-health.sh +382 -0
- package/scripts/specmem-init.cjs +6935 -0
- package/scripts/strip-debug-logs.cjs +43 -0
- package/scripts/test-mcp-standalone.sh +365 -0
- package/scripts/test-optimized-models.py +166 -0
- package/scripts/verify-embedding-fix.sh +148 -0
- package/skills/code-review.md +44 -0
- package/skills/debugging.md +56 -0
- package/skills/specmem-deployteam.md +239 -0
- package/skills/teammemberskills/EFFICIENT_GREP.md +171 -0
- package/skills/teammemberskills/task-planning.md +67 -0
- package/specmem-health.cjs +522 -0
- package/specmem.env +216 -0
|
@@ -0,0 +1,1103 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>SPECMEM // HOOK OPERATIONS</title>
|
|
7
|
+
<style>
|
|
8
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
|
|
9
|
+
|
|
10
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--primary: #0EA5E9;
|
|
14
|
+
--primary-dark: #0284C7;
|
|
15
|
+
--primary-glow: rgba(14, 165, 233, 0.4);
|
|
16
|
+
--accent: #8B5CF6;
|
|
17
|
+
--accent-light: #A78BFA;
|
|
18
|
+
--success: #10B981;
|
|
19
|
+
--warning: #F59E0B;
|
|
20
|
+
--error: #F43F5E;
|
|
21
|
+
--info: #06B6D4;
|
|
22
|
+
|
|
23
|
+
--bg-primary: #0A0A0A;
|
|
24
|
+
--bg-secondary: #141414;
|
|
25
|
+
--bg-tertiary: #1A1A1A;
|
|
26
|
+
--bg-elevated: #1F1F1F;
|
|
27
|
+
--bg-overlay: rgba(0, 0, 0, 0.85);
|
|
28
|
+
|
|
29
|
+
--text-primary: #F3F4F6;
|
|
30
|
+
--text-secondary: #D1D5DB;
|
|
31
|
+
--text-tertiary: #9CA3AF;
|
|
32
|
+
--text-dim: #6B7280;
|
|
33
|
+
|
|
34
|
+
--border-primary: #2A2A2A;
|
|
35
|
+
--border-secondary: #333333;
|
|
36
|
+
--border-accent: #3F3F3F;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
body {
|
|
40
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
41
|
+
background: var(--bg-primary);
|
|
42
|
+
color: var(--text-primary);
|
|
43
|
+
min-height: 100vh;
|
|
44
|
+
position: relative;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
body::before {
|
|
48
|
+
content: '';
|
|
49
|
+
position: fixed;
|
|
50
|
+
top: 0; left: 0;
|
|
51
|
+
width: 100%; height: 100%;
|
|
52
|
+
background:
|
|
53
|
+
radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
|
|
54
|
+
radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
|
|
55
|
+
linear-gradient(90deg, rgba(14, 165, 233, 0.02) 1px, transparent 1px),
|
|
56
|
+
linear-gradient(rgba(14, 165, 233, 0.02) 1px, transparent 1px);
|
|
57
|
+
background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
z-index: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.container {
|
|
63
|
+
max-width: 1400px;
|
|
64
|
+
margin: 0 auto;
|
|
65
|
+
padding: 24px;
|
|
66
|
+
position: relative;
|
|
67
|
+
z-index: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
header {
|
|
71
|
+
display: flex;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
align-items: center;
|
|
74
|
+
margin-bottom: 32px;
|
|
75
|
+
padding-bottom: 24px;
|
|
76
|
+
border-bottom: 1px solid var(--border-primary);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.logo {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: 16px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.logo-icon {
|
|
86
|
+
font-size: 32px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.logo h1 {
|
|
90
|
+
font-size: 28px;
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
background: linear-gradient(135deg, var(--primary), var(--accent));
|
|
93
|
+
-webkit-background-clip: text;
|
|
94
|
+
-webkit-text-fill-color: transparent;
|
|
95
|
+
background-clip: text;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.logo-subtitle {
|
|
99
|
+
font-size: 12px;
|
|
100
|
+
color: var(--text-dim);
|
|
101
|
+
text-transform: uppercase;
|
|
102
|
+
letter-spacing: 2px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.header-actions {
|
|
106
|
+
display: flex;
|
|
107
|
+
gap: 12px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.btn {
|
|
111
|
+
display: inline-flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
gap: 8px;
|
|
114
|
+
padding: 10px 20px;
|
|
115
|
+
border-radius: 8px;
|
|
116
|
+
font-size: 14px;
|
|
117
|
+
font-weight: 500;
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
transition: all 0.2s ease;
|
|
120
|
+
border: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.btn-primary {
|
|
124
|
+
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
|
|
125
|
+
color: white;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.btn-primary:hover {
|
|
129
|
+
transform: translateY(-2px);
|
|
130
|
+
box-shadow: 0 4px 20px var(--primary-glow);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.btn-secondary {
|
|
134
|
+
background: var(--bg-tertiary);
|
|
135
|
+
color: var(--text-primary);
|
|
136
|
+
border: 1px solid var(--border-secondary);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.btn-secondary:hover {
|
|
140
|
+
background: var(--bg-elevated);
|
|
141
|
+
border-color: var(--primary);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.btn-success {
|
|
145
|
+
background: var(--success);
|
|
146
|
+
color: white;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.btn-warning {
|
|
150
|
+
background: var(--warning);
|
|
151
|
+
color: black;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.btn-danger {
|
|
155
|
+
background: var(--error);
|
|
156
|
+
color: white;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.btn-sm {
|
|
160
|
+
padding: 6px 12px;
|
|
161
|
+
font-size: 12px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Stats Bar */
|
|
165
|
+
.stats-bar {
|
|
166
|
+
display: grid;
|
|
167
|
+
grid-template-columns: repeat(4, 1fr);
|
|
168
|
+
gap: 16px;
|
|
169
|
+
margin-bottom: 32px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.stat-card {
|
|
173
|
+
background: var(--bg-secondary);
|
|
174
|
+
border: 1px solid var(--border-primary);
|
|
175
|
+
border-radius: 12px;
|
|
176
|
+
padding: 20px;
|
|
177
|
+
text-align: center;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.stat-value {
|
|
181
|
+
font-size: 32px;
|
|
182
|
+
font-weight: 700;
|
|
183
|
+
color: var(--primary);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.stat-label {
|
|
187
|
+
font-size: 12px;
|
|
188
|
+
color: var(--text-dim);
|
|
189
|
+
text-transform: uppercase;
|
|
190
|
+
letter-spacing: 1px;
|
|
191
|
+
margin-top: 4px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* Hooks List */
|
|
195
|
+
.hooks-grid {
|
|
196
|
+
display: grid;
|
|
197
|
+
gap: 16px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.hook-card {
|
|
201
|
+
background: var(--bg-secondary);
|
|
202
|
+
border: 1px solid var(--border-primary);
|
|
203
|
+
border-radius: 12px;
|
|
204
|
+
padding: 20px;
|
|
205
|
+
transition: all 0.2s ease;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.hook-card:hover {
|
|
209
|
+
border-color: var(--primary);
|
|
210
|
+
box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.hook-card.disabled {
|
|
214
|
+
opacity: 0.6;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.hook-header {
|
|
218
|
+
display: flex;
|
|
219
|
+
justify-content: space-between;
|
|
220
|
+
align-items: flex-start;
|
|
221
|
+
margin-bottom: 12px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.hook-info h3 {
|
|
225
|
+
font-size: 18px;
|
|
226
|
+
font-weight: 600;
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: 8px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.hook-type {
|
|
233
|
+
display: inline-block;
|
|
234
|
+
padding: 4px 10px;
|
|
235
|
+
border-radius: 20px;
|
|
236
|
+
font-size: 11px;
|
|
237
|
+
font-weight: 600;
|
|
238
|
+
text-transform: uppercase;
|
|
239
|
+
letter-spacing: 0.5px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.hook-type.PreToolUse { background: rgba(14, 165, 233, 0.2); color: var(--primary); }
|
|
243
|
+
.hook-type.PostToolUse { background: rgba(139, 92, 246, 0.2); color: var(--accent); }
|
|
244
|
+
.hook-type.UserPromptSubmit { background: rgba(16, 185, 129, 0.2); color: var(--success); }
|
|
245
|
+
.hook-type.AssistantResponse { background: rgba(245, 158, 11, 0.2); color: var(--warning); }
|
|
246
|
+
|
|
247
|
+
.hook-status {
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
gap: 8px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.status-badge {
|
|
254
|
+
display: inline-flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
gap: 6px;
|
|
257
|
+
padding: 4px 12px;
|
|
258
|
+
border-radius: 20px;
|
|
259
|
+
font-size: 12px;
|
|
260
|
+
font-weight: 500;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.status-badge.enabled {
|
|
264
|
+
background: rgba(16, 185, 129, 0.2);
|
|
265
|
+
color: var(--success);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.status-badge.disabled {
|
|
269
|
+
background: rgba(107, 114, 128, 0.2);
|
|
270
|
+
color: var(--text-dim);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.status-badge.valid {
|
|
274
|
+
background: rgba(16, 185, 129, 0.2);
|
|
275
|
+
color: var(--success);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.status-badge.invalid {
|
|
279
|
+
background: rgba(244, 63, 94, 0.2);
|
|
280
|
+
color: var(--error);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.status-badge.unchecked {
|
|
284
|
+
background: rgba(245, 158, 11, 0.2);
|
|
285
|
+
color: var(--warning);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.hook-description {
|
|
289
|
+
color: var(--text-secondary);
|
|
290
|
+
font-size: 14px;
|
|
291
|
+
margin-bottom: 16px;
|
|
292
|
+
line-height: 1.5;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.hook-meta {
|
|
296
|
+
display: flex;
|
|
297
|
+
gap: 16px;
|
|
298
|
+
font-size: 12px;
|
|
299
|
+
color: var(--text-dim);
|
|
300
|
+
margin-bottom: 16px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.hook-meta span {
|
|
304
|
+
display: flex;
|
|
305
|
+
align-items: center;
|
|
306
|
+
gap: 4px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.hook-actions {
|
|
310
|
+
display: flex;
|
|
311
|
+
gap: 8px;
|
|
312
|
+
flex-wrap: wrap;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Toggle Switch */
|
|
316
|
+
.toggle-switch {
|
|
317
|
+
position: relative;
|
|
318
|
+
width: 48px;
|
|
319
|
+
height: 24px;
|
|
320
|
+
cursor: pointer;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.toggle-switch input {
|
|
324
|
+
opacity: 0;
|
|
325
|
+
width: 0;
|
|
326
|
+
height: 0;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.toggle-slider {
|
|
330
|
+
position: absolute;
|
|
331
|
+
top: 0; left: 0; right: 0; bottom: 0;
|
|
332
|
+
background: var(--bg-tertiary);
|
|
333
|
+
border-radius: 24px;
|
|
334
|
+
transition: 0.3s;
|
|
335
|
+
border: 1px solid var(--border-secondary);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.toggle-slider::before {
|
|
339
|
+
position: absolute;
|
|
340
|
+
content: '';
|
|
341
|
+
height: 18px;
|
|
342
|
+
width: 18px;
|
|
343
|
+
left: 2px;
|
|
344
|
+
bottom: 2px;
|
|
345
|
+
background: var(--text-dim);
|
|
346
|
+
border-radius: 50%;
|
|
347
|
+
transition: 0.3s;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.toggle-switch input:checked + .toggle-slider {
|
|
351
|
+
background: var(--success);
|
|
352
|
+
border-color: var(--success);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.toggle-switch input:checked + .toggle-slider::before {
|
|
356
|
+
transform: translateX(24px);
|
|
357
|
+
background: white;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* Modal */
|
|
361
|
+
.modal-overlay {
|
|
362
|
+
display: none;
|
|
363
|
+
position: fixed;
|
|
364
|
+
top: 0; left: 0;
|
|
365
|
+
width: 100%; height: 100%;
|
|
366
|
+
background: var(--bg-overlay);
|
|
367
|
+
backdrop-filter: blur(8px);
|
|
368
|
+
z-index: 1000;
|
|
369
|
+
justify-content: center;
|
|
370
|
+
align-items: center;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.modal-overlay.active {
|
|
374
|
+
display: flex;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.modal {
|
|
378
|
+
background: var(--bg-secondary);
|
|
379
|
+
border: 1px solid var(--border-primary);
|
|
380
|
+
border-radius: 16px;
|
|
381
|
+
width: 90%;
|
|
382
|
+
max-width: 900px;
|
|
383
|
+
max-height: 90vh;
|
|
384
|
+
overflow: hidden;
|
|
385
|
+
display: flex;
|
|
386
|
+
flex-direction: column;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.modal-header {
|
|
390
|
+
display: flex;
|
|
391
|
+
justify-content: space-between;
|
|
392
|
+
align-items: center;
|
|
393
|
+
padding: 20px 24px;
|
|
394
|
+
border-bottom: 1px solid var(--border-primary);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.modal-header h2 {
|
|
398
|
+
font-size: 20px;
|
|
399
|
+
font-weight: 600;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.modal-close {
|
|
403
|
+
background: none;
|
|
404
|
+
border: none;
|
|
405
|
+
color: var(--text-dim);
|
|
406
|
+
font-size: 24px;
|
|
407
|
+
cursor: pointer;
|
|
408
|
+
padding: 4px;
|
|
409
|
+
line-height: 1;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.modal-close:hover {
|
|
413
|
+
color: var(--error);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.modal-body {
|
|
417
|
+
padding: 24px;
|
|
418
|
+
overflow-y: auto;
|
|
419
|
+
flex: 1;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.modal-footer {
|
|
423
|
+
display: flex;
|
|
424
|
+
justify-content: flex-end;
|
|
425
|
+
gap: 12px;
|
|
426
|
+
padding: 16px 24px;
|
|
427
|
+
border-top: 1px solid var(--border-primary);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/* Form */
|
|
431
|
+
.form-group {
|
|
432
|
+
margin-bottom: 20px;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.form-group label {
|
|
436
|
+
display: block;
|
|
437
|
+
font-size: 14px;
|
|
438
|
+
font-weight: 500;
|
|
439
|
+
color: var(--text-secondary);
|
|
440
|
+
margin-bottom: 8px;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.form-group input,
|
|
444
|
+
.form-group select,
|
|
445
|
+
.form-group textarea {
|
|
446
|
+
width: 100%;
|
|
447
|
+
padding: 12px 16px;
|
|
448
|
+
background: var(--bg-tertiary);
|
|
449
|
+
border: 1px solid var(--border-secondary);
|
|
450
|
+
border-radius: 8px;
|
|
451
|
+
color: var(--text-primary);
|
|
452
|
+
font-size: 14px;
|
|
453
|
+
font-family: inherit;
|
|
454
|
+
transition: all 0.2s ease;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.form-group input:focus,
|
|
458
|
+
.form-group select:focus,
|
|
459
|
+
.form-group textarea:focus {
|
|
460
|
+
outline: none;
|
|
461
|
+
border-color: var(--primary);
|
|
462
|
+
box-shadow: 0 0 0 3px var(--primary-glow);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.form-group textarea {
|
|
466
|
+
min-height: 300px;
|
|
467
|
+
font-family: 'JetBrains Mono', monospace;
|
|
468
|
+
font-size: 13px;
|
|
469
|
+
line-height: 1.5;
|
|
470
|
+
resize: vertical;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.form-row {
|
|
474
|
+
display: grid;
|
|
475
|
+
grid-template-columns: 1fr 1fr;
|
|
476
|
+
gap: 16px;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/* Validation Result */
|
|
480
|
+
.validation-result {
|
|
481
|
+
padding: 16px;
|
|
482
|
+
border-radius: 8px;
|
|
483
|
+
margin-top: 16px;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.validation-result.valid {
|
|
487
|
+
background: rgba(16, 185, 129, 0.1);
|
|
488
|
+
border: 1px solid var(--success);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.validation-result.invalid {
|
|
492
|
+
background: rgba(244, 63, 94, 0.1);
|
|
493
|
+
border: 1px solid var(--error);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.validation-result h4 {
|
|
497
|
+
margin-bottom: 8px;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.validation-result pre {
|
|
501
|
+
font-family: 'JetBrains Mono', monospace;
|
|
502
|
+
font-size: 12px;
|
|
503
|
+
white-space: pre-wrap;
|
|
504
|
+
word-break: break-word;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/* Toast */
|
|
508
|
+
.toast-container {
|
|
509
|
+
position: fixed;
|
|
510
|
+
bottom: 24px;
|
|
511
|
+
right: 24px;
|
|
512
|
+
z-index: 2000;
|
|
513
|
+
display: flex;
|
|
514
|
+
flex-direction: column;
|
|
515
|
+
gap: 8px;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.toast {
|
|
519
|
+
padding: 16px 20px;
|
|
520
|
+
border-radius: 8px;
|
|
521
|
+
font-size: 14px;
|
|
522
|
+
animation: slideIn 0.3s ease;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.toast.success {
|
|
526
|
+
background: var(--success);
|
|
527
|
+
color: white;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.toast.error {
|
|
531
|
+
background: var(--error);
|
|
532
|
+
color: white;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.toast.warning {
|
|
536
|
+
background: var(--warning);
|
|
537
|
+
color: black;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
@keyframes slideIn {
|
|
541
|
+
from { transform: translateX(100%); opacity: 0; }
|
|
542
|
+
to { transform: translateX(0); opacity: 1; }
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/* Empty State */
|
|
546
|
+
.empty-state {
|
|
547
|
+
text-align: center;
|
|
548
|
+
padding: 60px 20px;
|
|
549
|
+
color: var(--text-dim);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.empty-state-icon {
|
|
553
|
+
font-size: 64px;
|
|
554
|
+
margin-bottom: 16px;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.empty-state h3 {
|
|
558
|
+
font-size: 20px;
|
|
559
|
+
margin-bottom: 8px;
|
|
560
|
+
color: var(--text-secondary);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/* Warning Banner */
|
|
564
|
+
.warning-banner {
|
|
565
|
+
background: rgba(245, 158, 11, 0.1);
|
|
566
|
+
border: 1px solid var(--warning);
|
|
567
|
+
border-radius: 8px;
|
|
568
|
+
padding: 16px;
|
|
569
|
+
margin-bottom: 24px;
|
|
570
|
+
display: flex;
|
|
571
|
+
align-items: center;
|
|
572
|
+
gap: 12px;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.warning-banner-icon {
|
|
576
|
+
font-size: 24px;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.warning-banner-text {
|
|
580
|
+
flex: 1;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.warning-banner-text strong {
|
|
584
|
+
display: block;
|
|
585
|
+
margin-bottom: 4px;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/* Navigation */
|
|
589
|
+
#specmem-nav { margin-bottom: 24px; }
|
|
590
|
+
</style>
|
|
591
|
+
<script src="/shared-logger.js"></script>
|
|
592
|
+
</head>
|
|
593
|
+
<body>
|
|
594
|
+
<div class="container">
|
|
595
|
+
<!-- Navigation placeholder -->
|
|
596
|
+
<div id="specmem-nav"></div>
|
|
597
|
+
|
|
598
|
+
<header>
|
|
599
|
+
<div class="logo">
|
|
600
|
+
<span class="logo-icon">🪝</span>
|
|
601
|
+
<div>
|
|
602
|
+
<h1>HOOK OPERATIONS</h1>
|
|
603
|
+
<div class="logo-subtitle">Custom Claude Code Hooks</div>
|
|
604
|
+
</div>
|
|
605
|
+
</div>
|
|
606
|
+
<div class="header-actions">
|
|
607
|
+
<button class="btn btn-secondary" onclick="scanHooks()">
|
|
608
|
+
🔍 Scan for Hooks
|
|
609
|
+
</button>
|
|
610
|
+
<button class="btn btn-secondary" onclick="createExample()">
|
|
611
|
+
📝 Create Example
|
|
612
|
+
</button>
|
|
613
|
+
<button class="btn btn-primary" onclick="openCreateModal()">
|
|
614
|
+
➕ New Hook
|
|
615
|
+
</button>
|
|
616
|
+
<button class="btn btn-success" onclick="deployAllHooks()">
|
|
617
|
+
🚀 Deploy All
|
|
618
|
+
</button>
|
|
619
|
+
</div>
|
|
620
|
+
</header>
|
|
621
|
+
|
|
622
|
+
<div class="warning-banner">
|
|
623
|
+
<span class="warning-banner-icon">⚠️</span>
|
|
624
|
+
<div class="warning-banner-text">
|
|
625
|
+
<strong>Custom Hooks - Use at Your Own Risk</strong>
|
|
626
|
+
Hooks execute code during Claude operations. Only install hooks from sources you trust.
|
|
627
|
+
Always validate hooks before deploying.
|
|
628
|
+
</div>
|
|
629
|
+
</div>
|
|
630
|
+
|
|
631
|
+
<div class="stats-bar" id="stats-bar">
|
|
632
|
+
<div class="stat-card">
|
|
633
|
+
<div class="stat-value" id="stat-total">-</div>
|
|
634
|
+
<div class="stat-label">Total Hooks</div>
|
|
635
|
+
</div>
|
|
636
|
+
<div class="stat-card">
|
|
637
|
+
<div class="stat-value" id="stat-enabled">-</div>
|
|
638
|
+
<div class="stat-label">Enabled</div>
|
|
639
|
+
</div>
|
|
640
|
+
<div class="stat-card">
|
|
641
|
+
<div class="stat-value" id="stat-valid">-</div>
|
|
642
|
+
<div class="stat-label">Validated</div>
|
|
643
|
+
</div>
|
|
644
|
+
<div class="stat-card">
|
|
645
|
+
<div class="stat-value" id="stat-deployed">-</div>
|
|
646
|
+
<div class="stat-label">Deployed</div>
|
|
647
|
+
</div>
|
|
648
|
+
</div>
|
|
649
|
+
|
|
650
|
+
<div class="hooks-grid" id="hooks-grid">
|
|
651
|
+
<div class="empty-state">
|
|
652
|
+
<div class="empty-state-icon">🪝</div>
|
|
653
|
+
<h3>No Hooks Found</h3>
|
|
654
|
+
<p>Add custom hooks to extend Claude Code functionality</p>
|
|
655
|
+
</div>
|
|
656
|
+
</div>
|
|
657
|
+
</div>
|
|
658
|
+
|
|
659
|
+
<!-- Create/Edit Hook Modal -->
|
|
660
|
+
<div class="modal-overlay" id="hook-modal">
|
|
661
|
+
<div class="modal">
|
|
662
|
+
<div class="modal-header">
|
|
663
|
+
<h2 id="modal-title">Create New Hook</h2>
|
|
664
|
+
<button class="modal-close" onclick="closeModal()">×</button>
|
|
665
|
+
</div>
|
|
666
|
+
<div class="modal-body">
|
|
667
|
+
<form id="hook-form">
|
|
668
|
+
<input type="hidden" id="hook-edit-name">
|
|
669
|
+
|
|
670
|
+
<div class="form-row">
|
|
671
|
+
<div class="form-group">
|
|
672
|
+
<label for="hook-name">Hook Name</label>
|
|
673
|
+
<input type="text" id="hook-name" placeholder="my-custom-hook" required>
|
|
674
|
+
</div>
|
|
675
|
+
<div class="form-group">
|
|
676
|
+
<label for="hook-type">Hook Type</label>
|
|
677
|
+
<select id="hook-type" required>
|
|
678
|
+
<option value="PreToolUse">PreToolUse - Before tool execution</option>
|
|
679
|
+
<option value="PostToolUse">PostToolUse - After tool execution</option>
|
|
680
|
+
<option value="UserPromptSubmit">UserPromptSubmit - On user prompt</option>
|
|
681
|
+
<option value="AssistantResponse">AssistantResponse - On Claude response</option>
|
|
682
|
+
</select>
|
|
683
|
+
</div>
|
|
684
|
+
</div>
|
|
685
|
+
|
|
686
|
+
<div class="form-row">
|
|
687
|
+
<div class="form-group">
|
|
688
|
+
<label for="hook-language">Language</label>
|
|
689
|
+
<select id="hook-language">
|
|
690
|
+
<option value="javascript">JavaScript (.js)</option>
|
|
691
|
+
<option value="typescript">TypeScript (.ts)</option>
|
|
692
|
+
<option value="python">Python (.py)</option>
|
|
693
|
+
<option value="shell">Shell Script (.sh)</option>
|
|
694
|
+
</select>
|
|
695
|
+
</div>
|
|
696
|
+
<div class="form-group">
|
|
697
|
+
<label for="hook-description">Description</label>
|
|
698
|
+
<input type="text" id="hook-description" placeholder="What does this hook do?">
|
|
699
|
+
</div>
|
|
700
|
+
</div>
|
|
701
|
+
|
|
702
|
+
<div class="form-group">
|
|
703
|
+
<label for="hook-content">Hook Code</label>
|
|
704
|
+
<textarea id="hook-content" placeholder="#!/usr/bin/env node
|
|
705
|
+
// Your hook code here...
|
|
706
|
+
async function main() {
|
|
707
|
+
let input = '';
|
|
708
|
+
process.stdin.setEncoding('utf8');
|
|
709
|
+
for await (const chunk of process.stdin) input += chunk;
|
|
710
|
+
|
|
711
|
+
try {
|
|
712
|
+
const data = JSON.parse(input);
|
|
713
|
+
// Hook logic here
|
|
714
|
+
console.error('[MyHook] Processing:', data.tool_name);
|
|
715
|
+
process.exit(0);
|
|
716
|
+
} catch (error) {
|
|
717
|
+
process.exit(0);
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
main();" required></textarea>
|
|
721
|
+
</div>
|
|
722
|
+
|
|
723
|
+
<div id="validation-result"></div>
|
|
724
|
+
</form>
|
|
725
|
+
</div>
|
|
726
|
+
<div class="modal-footer">
|
|
727
|
+
<button class="btn btn-secondary" onclick="closeModal()">Cancel</button>
|
|
728
|
+
<button class="btn btn-warning" onclick="validateHook()">🔍 Validate</button>
|
|
729
|
+
<button class="btn btn-primary" onclick="saveHook()">💾 Save Hook</button>
|
|
730
|
+
</div>
|
|
731
|
+
</div>
|
|
732
|
+
</div>
|
|
733
|
+
|
|
734
|
+
<div class="toast-container" id="toast-container"></div>
|
|
735
|
+
|
|
736
|
+
<!-- Shared Navigation -->
|
|
737
|
+
<script src="/shared-nav.js"></script>
|
|
738
|
+
|
|
739
|
+
<script>
|
|
740
|
+
// Initialize navigation
|
|
741
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
742
|
+
new SpecMemNavigation({ currentPage: 'hooks' });
|
|
743
|
+
loadHooks();
|
|
744
|
+
loadStatus();
|
|
745
|
+
});
|
|
746
|
+
|
|
747
|
+
// API helpers
|
|
748
|
+
async function api(endpoint, options = {}) {
|
|
749
|
+
const response = await fetch(`/api/hooks${endpoint}`, {
|
|
750
|
+
credentials: 'include',
|
|
751
|
+
...options,
|
|
752
|
+
headers: {
|
|
753
|
+
'Content-Type': 'application/json',
|
|
754
|
+
...options.headers
|
|
755
|
+
}
|
|
756
|
+
});
|
|
757
|
+
return response.json();
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
// Toast notifications
|
|
761
|
+
function showToast(message, type = 'success') {
|
|
762
|
+
const container = document.getElementById('toast-container');
|
|
763
|
+
const toast = document.createElement('div');
|
|
764
|
+
toast.className = `toast ${type}`;
|
|
765
|
+
toast.textContent = message;
|
|
766
|
+
container.appendChild(toast);
|
|
767
|
+
setTimeout(() => toast.remove(), 4000);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
// Load hooks list
|
|
771
|
+
async function loadHooks() {
|
|
772
|
+
try {
|
|
773
|
+
const data = await api('/');
|
|
774
|
+
if (data.success) {
|
|
775
|
+
renderHooks(data.hooks);
|
|
776
|
+
updateStats(data.hooks, data.status);
|
|
777
|
+
} else {
|
|
778
|
+
showToast(data.error || 'Failed to load hooks', 'error');
|
|
779
|
+
}
|
|
780
|
+
} catch (error) {
|
|
781
|
+
showToast('Failed to connect to server', 'error');
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
// Load status
|
|
786
|
+
async function loadStatus() {
|
|
787
|
+
try {
|
|
788
|
+
const data = await api('/status');
|
|
789
|
+
if (data.success) {
|
|
790
|
+
document.getElementById('stat-deployed').textContent =
|
|
791
|
+
data.lastDeployed ? new Date(data.lastDeployed).toLocaleDateString() : 'Never';
|
|
792
|
+
}
|
|
793
|
+
} catch (error) {
|
|
794
|
+
console.error('Failed to load status:', error);
|
|
795
|
+
serverLog('error', 'Failed to load hook status', { error: error.message });
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
// Update stats
|
|
800
|
+
function updateStats(hooks, status) {
|
|
801
|
+
document.getElementById('stat-total').textContent = hooks.length;
|
|
802
|
+
document.getElementById('stat-enabled').textContent = hooks.filter(h => h.enabled).length;
|
|
803
|
+
document.getElementById('stat-valid').textContent = hooks.filter(h => h.validated).length;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
// Render hooks
|
|
807
|
+
function renderHooks(hooks) {
|
|
808
|
+
const grid = document.getElementById('hooks-grid');
|
|
809
|
+
|
|
810
|
+
if (!hooks || hooks.length === 0) {
|
|
811
|
+
grid.innerHTML = `
|
|
812
|
+
<div class="empty-state">
|
|
813
|
+
<div class="empty-state-icon">🪝</div>
|
|
814
|
+
<h3>No Hooks Found</h3>
|
|
815
|
+
<p>Add custom hooks to extend Claude Code functionality</p>
|
|
816
|
+
</div>
|
|
817
|
+
`;
|
|
818
|
+
return;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
grid.innerHTML = hooks.map(hook => `
|
|
822
|
+
<div class="hook-card ${hook.enabled ? '' : 'disabled'}">
|
|
823
|
+
<div class="hook-header">
|
|
824
|
+
<div class="hook-info">
|
|
825
|
+
<h3>
|
|
826
|
+
${hook.name}
|
|
827
|
+
<span class="hook-type ${hook.type}">${hook.type}</span>
|
|
828
|
+
</h3>
|
|
829
|
+
</div>
|
|
830
|
+
<div class="hook-status">
|
|
831
|
+
<span class="status-badge ${hook.validated ? 'valid' : 'unchecked'}">
|
|
832
|
+
${hook.validated ? '✅ Valid' : '⚠️ Not Validated'}
|
|
833
|
+
</span>
|
|
834
|
+
<label class="toggle-switch">
|
|
835
|
+
<input type="checkbox" ${hook.enabled ? 'checked' : ''}
|
|
836
|
+
onchange="toggleHook('${hook.name}', this.checked)">
|
|
837
|
+
<span class="toggle-slider"></span>
|
|
838
|
+
</label>
|
|
839
|
+
</div>
|
|
840
|
+
</div>
|
|
841
|
+
<p class="hook-description">${hook.description || 'No description provided'}</p>
|
|
842
|
+
<div class="hook-meta">
|
|
843
|
+
<span>📁 ${hook.language || 'javascript'}</span>
|
|
844
|
+
<span>📍 ${hook.file || 'Unknown'}</span>
|
|
845
|
+
${hook.lastValidated ? `<span>✓ Validated ${new Date(hook.lastValidated).toLocaleDateString()}</span>` : ''}
|
|
846
|
+
</div>
|
|
847
|
+
<div class="hook-actions">
|
|
848
|
+
<button class="btn btn-secondary btn-sm" onclick="editHook('${hook.name}')">
|
|
849
|
+
✏️ Edit
|
|
850
|
+
</button>
|
|
851
|
+
<button class="btn btn-warning btn-sm" onclick="validateSingleHook('${hook.name}')">
|
|
852
|
+
🔍 Validate
|
|
853
|
+
</button>
|
|
854
|
+
<button class="btn btn-danger btn-sm" onclick="deleteHook('${hook.name}')">
|
|
855
|
+
🗑️ Delete
|
|
856
|
+
</button>
|
|
857
|
+
</div>
|
|
858
|
+
</div>
|
|
859
|
+
`).join('');
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
// Toggle hook enabled/disabled
|
|
863
|
+
async function toggleHook(name, enabled) {
|
|
864
|
+
try {
|
|
865
|
+
const data = await api(`/${name}/enable`, {
|
|
866
|
+
method: 'POST',
|
|
867
|
+
body: JSON.stringify({ enabled })
|
|
868
|
+
});
|
|
869
|
+
if (data.success) {
|
|
870
|
+
showToast(`Hook ${enabled ? 'enabled' : 'disabled'}`);
|
|
871
|
+
loadHooks();
|
|
872
|
+
} else {
|
|
873
|
+
showToast(data.error || 'Failed to toggle hook', 'error');
|
|
874
|
+
loadHooks(); // Reload to reset toggle
|
|
875
|
+
}
|
|
876
|
+
} catch (error) {
|
|
877
|
+
showToast('Failed to toggle hook', 'error');
|
|
878
|
+
loadHooks();
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
// Open create modal
|
|
883
|
+
function openCreateModal() {
|
|
884
|
+
document.getElementById('modal-title').textContent = 'Create New Hook';
|
|
885
|
+
document.getElementById('hook-form').reset();
|
|
886
|
+
document.getElementById('hook-edit-name').value = '';
|
|
887
|
+
document.getElementById('hook-name').disabled = false;
|
|
888
|
+
document.getElementById('validation-result').innerHTML = '';
|
|
889
|
+
document.getElementById('hook-modal').classList.add('active');
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
// Edit hook
|
|
893
|
+
async function editHook(name) {
|
|
894
|
+
try {
|
|
895
|
+
const data = await api(`/${name}`);
|
|
896
|
+
if (data.success && data.hook) {
|
|
897
|
+
document.getElementById('modal-title').textContent = 'Edit Hook';
|
|
898
|
+
document.getElementById('hook-edit-name').value = name;
|
|
899
|
+
document.getElementById('hook-name').value = name;
|
|
900
|
+
document.getElementById('hook-name').disabled = true;
|
|
901
|
+
document.getElementById('hook-type').value = data.hook.type;
|
|
902
|
+
document.getElementById('hook-language').value = data.hook.language || 'javascript';
|
|
903
|
+
document.getElementById('hook-description').value = data.hook.description || '';
|
|
904
|
+
document.getElementById('hook-content').value = data.hook.content || '';
|
|
905
|
+
document.getElementById('validation-result').innerHTML = '';
|
|
906
|
+
document.getElementById('hook-modal').classList.add('active');
|
|
907
|
+
} else {
|
|
908
|
+
showToast(data.error || 'Failed to load hook', 'error');
|
|
909
|
+
}
|
|
910
|
+
} catch (error) {
|
|
911
|
+
showToast('Failed to load hook', 'error');
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
// Close modal
|
|
916
|
+
function closeModal() {
|
|
917
|
+
document.getElementById('hook-modal').classList.remove('active');
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
// Validate hook in editor
|
|
921
|
+
async function validateHook() {
|
|
922
|
+
const editName = document.getElementById('hook-edit-name').value;
|
|
923
|
+
const content = document.getElementById('hook-content').value;
|
|
924
|
+
const resultDiv = document.getElementById('validation-result');
|
|
925
|
+
|
|
926
|
+
if (!editName) {
|
|
927
|
+
// For new hooks, we need to save first then validate
|
|
928
|
+
showToast('Save the hook first, then validate', 'warning');
|
|
929
|
+
return;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
try {
|
|
933
|
+
// Update content first
|
|
934
|
+
await api(`/${editName}`, {
|
|
935
|
+
method: 'PUT',
|
|
936
|
+
body: JSON.stringify({
|
|
937
|
+
content,
|
|
938
|
+
description: document.getElementById('hook-description').value
|
|
939
|
+
})
|
|
940
|
+
});
|
|
941
|
+
|
|
942
|
+
// Then validate
|
|
943
|
+
const data = await api(`/${editName}/validate`, { method: 'POST' });
|
|
944
|
+
|
|
945
|
+
if (data.success && data.validation) {
|
|
946
|
+
const v = data.validation;
|
|
947
|
+
resultDiv.innerHTML = `
|
|
948
|
+
<div class="validation-result ${v.valid ? 'valid' : 'invalid'}">
|
|
949
|
+
<h4>${v.valid ? '✅ Validation Passed' : '❌ Validation Failed'}</h4>
|
|
950
|
+
${v.valid ?
|
|
951
|
+
`<p>Hook syntax is valid and ready to deploy.</p>` :
|
|
952
|
+
`<pre>${v.error || 'Unknown error'}</pre>`
|
|
953
|
+
}
|
|
954
|
+
${!v.checkerAvailable ?
|
|
955
|
+
`<p>⚠️ ${v.checkerNotice}</p>` : ''
|
|
956
|
+
}
|
|
957
|
+
</div>
|
|
958
|
+
`;
|
|
959
|
+
showToast(v.valid ? 'Validation passed!' : 'Validation failed', v.valid ? 'success' : 'error');
|
|
960
|
+
}
|
|
961
|
+
} catch (error) {
|
|
962
|
+
showToast('Validation failed', 'error');
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
// Validate single hook from list
|
|
967
|
+
async function validateSingleHook(name) {
|
|
968
|
+
try {
|
|
969
|
+
const data = await api(`/${name}/validate`, { method: 'POST' });
|
|
970
|
+
if (data.success && data.validation) {
|
|
971
|
+
showToast(
|
|
972
|
+
data.validation.valid ? `${name} validated successfully` : `${name} validation failed`,
|
|
973
|
+
data.validation.valid ? 'success' : 'error'
|
|
974
|
+
);
|
|
975
|
+
loadHooks();
|
|
976
|
+
}
|
|
977
|
+
} catch (error) {
|
|
978
|
+
showToast('Validation failed', 'error');
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
// Save hook
|
|
983
|
+
async function saveHook() {
|
|
984
|
+
const editName = document.getElementById('hook-edit-name').value;
|
|
985
|
+
const name = document.getElementById('hook-name').value;
|
|
986
|
+
const type = document.getElementById('hook-type').value;
|
|
987
|
+
const language = document.getElementById('hook-language').value;
|
|
988
|
+
const description = document.getElementById('hook-description').value;
|
|
989
|
+
const content = document.getElementById('hook-content').value;
|
|
990
|
+
|
|
991
|
+
if (!name || !content) {
|
|
992
|
+
showToast('Name and content are required', 'warning');
|
|
993
|
+
return;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
try {
|
|
997
|
+
let data;
|
|
998
|
+
if (editName) {
|
|
999
|
+
// Update existing
|
|
1000
|
+
data = await api(`/${editName}`, {
|
|
1001
|
+
method: 'PUT',
|
|
1002
|
+
body: JSON.stringify({ content, description })
|
|
1003
|
+
});
|
|
1004
|
+
} else {
|
|
1005
|
+
// Create new
|
|
1006
|
+
data = await api('/', {
|
|
1007
|
+
method: 'POST',
|
|
1008
|
+
body: JSON.stringify({ name, type, language, description, content })
|
|
1009
|
+
});
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
if (data.success) {
|
|
1013
|
+
showToast(editName ? 'Hook updated!' : 'Hook created!');
|
|
1014
|
+
closeModal();
|
|
1015
|
+
loadHooks();
|
|
1016
|
+
} else {
|
|
1017
|
+
showToast(data.error || 'Failed to save hook', 'error');
|
|
1018
|
+
}
|
|
1019
|
+
} catch (error) {
|
|
1020
|
+
showToast('Failed to save hook', 'error');
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
// Delete hook
|
|
1025
|
+
async function deleteHook(name) {
|
|
1026
|
+
if (!confirm(`Delete hook "${name}"? This cannot be undone.`)) return;
|
|
1027
|
+
|
|
1028
|
+
try {
|
|
1029
|
+
const data = await api(`/${name}`, { method: 'DELETE' });
|
|
1030
|
+
if (data.success) {
|
|
1031
|
+
showToast('Hook deleted');
|
|
1032
|
+
loadHooks();
|
|
1033
|
+
} else {
|
|
1034
|
+
showToast(data.error || 'Failed to delete hook', 'error');
|
|
1035
|
+
}
|
|
1036
|
+
} catch (error) {
|
|
1037
|
+
showToast('Failed to delete hook', 'error');
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
// Scan for hooks
|
|
1042
|
+
async function scanHooks() {
|
|
1043
|
+
try {
|
|
1044
|
+
const data = await api('/scan');
|
|
1045
|
+
if (data.success) {
|
|
1046
|
+
showToast(`Scan complete: ${data.registered?.length || 0} registered, ${data.errors?.length || 0} errors`);
|
|
1047
|
+
loadHooks();
|
|
1048
|
+
} else {
|
|
1049
|
+
showToast(data.error || 'Scan failed', 'error');
|
|
1050
|
+
}
|
|
1051
|
+
} catch (error) {
|
|
1052
|
+
showToast('Scan failed', 'error');
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
// Create example hook
|
|
1057
|
+
async function createExample() {
|
|
1058
|
+
try {
|
|
1059
|
+
const data = await api('/example', { method: 'POST' });
|
|
1060
|
+
if (data.success) {
|
|
1061
|
+
showToast('Example hook created! Refresh to see it.');
|
|
1062
|
+
loadHooks();
|
|
1063
|
+
} else {
|
|
1064
|
+
showToast(data.error || 'Failed to create example', 'error');
|
|
1065
|
+
}
|
|
1066
|
+
} catch (error) {
|
|
1067
|
+
showToast('Failed to create example', 'error');
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
// Deploy all hooks
|
|
1072
|
+
async function deployAllHooks() {
|
|
1073
|
+
if (!confirm('Deploy all enabled and validated hooks to Claude Code?')) return;
|
|
1074
|
+
|
|
1075
|
+
try {
|
|
1076
|
+
const data = await api('/deploy', { method: 'POST' });
|
|
1077
|
+
if (data.success) {
|
|
1078
|
+
const msg = `Deployed: ${data.deployed?.length || 0}, Skipped: ${data.skipped?.length || 0}`;
|
|
1079
|
+
showToast(msg);
|
|
1080
|
+
if (data.errors?.length > 0) {
|
|
1081
|
+
showToast(`Errors: ${data.errors.join(', ')}`, 'warning');
|
|
1082
|
+
}
|
|
1083
|
+
loadHooks();
|
|
1084
|
+
} else {
|
|
1085
|
+
showToast(data.error || 'Deploy failed', 'error');
|
|
1086
|
+
}
|
|
1087
|
+
} catch (error) {
|
|
1088
|
+
showToast('Deploy failed', 'error');
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
// Close modal on escape
|
|
1093
|
+
document.addEventListener('keydown', (e) => {
|
|
1094
|
+
if (e.key === 'Escape') closeModal();
|
|
1095
|
+
});
|
|
1096
|
+
|
|
1097
|
+
// Close modal on overlay click
|
|
1098
|
+
document.getElementById('hook-modal').addEventListener('click', (e) => {
|
|
1099
|
+
if (e.target === e.currentTarget) closeModal();
|
|
1100
|
+
});
|
|
1101
|
+
</script>
|
|
1102
|
+
</body>
|
|
1103
|
+
</html>
|