Conversation
Add `examples/yaml_program` demonstrating declarative DSGo programs via YAML (signatures, modules, tools, MCP clients) with sample pipelines for Predict/CoT/ReAct and web research flows. Signed-off-by: assagman <ahmetsercansagman@gmail.com>
Signed-off-by: assagman <ahmetsercansagman@gmail.com>
- re-export LocalTransport/LocalHandler and ShellServer APIs in dsgo.go - add LocalTransport for routing MCP JSON-RPC requests in-process - introduce safe ShellServer tools (shell_run/apply_patch) with path/command validation and output limits - add configurable HTTP/SSE transport timeouts with new constructors - include unit tests for local transport and shell server behavior Signed-off-by: assagman <ahmetsercansagman@gmail.com>
create dsgo programs from yaml Signed-off-by: assagman <ahmetsercansagman@gmail.com>
…m example - Add `examples/yaml_program` (standalone module) and document it in examples index - Support `DSGO_CACHE_SIZE` env var and allow disabling cache via `WithCache(<=0)` - Make HTTP retries configurable via options, honor `Retry-After`, and wire `MaxRetries` from settings into providers - Prefix cache keys with provider name to avoid cross-provider collisions - Harden MCP shell server argument/path validation; panic early on nil LocalTransport handler - Improve yaml_program tools path validation and environment reporting (runtime GOOS/GOARCH/Go version/CPU count) Signed-off-by: assagman <ahmetsercansagman@gmail.com>
…verrides Signed-off-by: assagman <ahmetsercansagman@gmail.com>
…P support
- Split “custom tools” (function/filesystem) from MCP tools; remove YAML `tools: {type: mcp}` path
- Add `modules.<name>.mcp` config with tool filtering (`"*"` or explicit tool names)
- Support `filesystem` MCP client with optional `allowed_dirs`
- Update YAML pipeline examples/README to reflect new MCP model and reorder TODO pipeline
- Make MCP local transport constructor return error (no panic) and add nil-handler test
- Ignore/remove generated yaml_program binary from repo output
Signed-off-by: assagman <ahmetsercansagman@gmail.com>
9e5fec0 to
7db449c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Uh oh!
There was an error while loading. Please reload this page.