Commit Graph

4 Commits

Author SHA1 Message Date
Ed Zynda d3cae7c016 remove stale key 2025-12-05 10:25:49 +03:00
Ed Zynda f778379dea feat: Add SDK package for programmatic MCPHost usage (#129)
* feat: add SDK package for programmatic MCPHost usage

- Export InitConfig and LoadConfigWithEnvSubstitution from cmd package
- Create sdk package with MCPHost type for programmatic access
- Add Options struct for configuration overrides
- Implement Prompt and PromptWithCallbacks methods
- Add session management (load, save, clear)
- Create type helpers for Message and ToolCall
- Add comprehensive SDK documentation in README
- Include basic and scripting examples
- Add unit tests for SDK functionality

The SDK reuses all existing internal packages and maintains identical
behavior to the CLI, including config loading, environment variables,
and defaults.

* docs: add SDK section to main README with link to detailed documentation

* fix tests

* update CI
2025-09-02 15:42:37 +03:00
Ed Zynda 8eb5060dc4 Add builtin HTTP functionality (#106)
* Add builtin HTTP functionality

* Add GitHub Actions CI workflow

- Runs tests with race detection on push to main and PRs
- Verifies code generation is up to date
- Uses Go version from go.mod file
- Supports manual workflow dispatch

* Remove verify-codegen job from CI workflow

Simplifies CI to only run tests with race detection
2025-07-10 09:41:51 +03:00
Ed Zynda c4ed189f48 Setup goreleaser 2025-01-03 07:08:49 +03:00