feat: update prompts for browser, command, and filesystem assistants #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates aimed at improving the flexibility and maintainability of the configuration and prompt-handling mechanisms across multiple services (
BrowserServer
,CommandServer
, andFilesystemServer
). The changes include replacing hardcoded prompts with configurable defaults, adding support for external prompt files, and updating dependencies.Prompt Configuration Enhancements:
BrowserPromptDefault
,CommandPromptDefault
,FileSystemPromptDefault
) forBrowserServer
,CommandServer
, andFilesystemServer
to improve maintainability. [1] [2] [3]PromptFile
field in configuration structs (BrowserConfig
,CommandConfig
,FileSystemConfig
) to allow loading prompts from external files, with fallback to the default prompts. [1] [2] [3]handlePrompt
methods to use the dynamically loaded prompt instead of hardcoded text. [1] [2] [3]Dependency Updates:
go.mod
, includinggithub.com/mark3labs/mcp-go
(v0.21.0 → v0.21.1) andgithub.com/go-json-experiment/json
. Addedgithub.com/chromedp/cdproto
as a new dependency.Miscellaneous Improvements:
Close
method ofBrowserServer
by introducing a timeout for the Chrome context cancellation.module
flag incli/cmd/root.go
to use consistent capitalization for module names (e.g.,Browser
,FileSystem
).