chore(go): audit shared plugin helpers
Drop unused expandHome and standardizeJSONC, share the runtime base URL validator between the guard and audit templates, and trim comments. Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
This commit is contained in:
1 parent
5e08ab20f5
commit
b085947547
9 files changed
+42
-102
No files matched your search
@@ -2,8 +2,7 @@ package plugins
|
||||
|
||||
import "strings"
|
||||
|
||||
// extractElydoraScriptPath supports adapters that still use the legacy shared
|
||||
// command-hook shape. Provider-specific adapters should define exact ownership.
|
||||
// extractElydoraScriptPath reads the legacy shared command-hook shape.
|
||||
func extractElydoraScriptPath(hookArray any) string {
|
||||
entries, _ := hookArray.([]any)
|
||||
for _, entry := range entries {
|
||||
|
||||
Reference in new issue
Block a user