Skip to content

Conversation

@edenreich
Copy link
Contributor

Summary

Add a new scheme field to the server configuration that allows users to explicitly specify whether the server should use HTTP or HTTPS. This provides better clarity and flexibility in server configuration, addressing the need to differentiate between secure and non-secure endpoints.

Changes

  • Schema: Add Scheme field to Server struct in internal/schema/types.go
  • Examples: Update all example YAML files with appropriate scheme values:
    • HTTPS for production examples (port 8443)
    • HTTP for CloudRun and Rust examples (port 8080)
  • Templates: Update README template to dynamically use scheme in URLs and agent installation commands
  • CLI: Add interactive prompt in init command for scheme selection (defaults to "http")

Test Plan

  • Build succeeds (task build)
  • All tests pass (task test)
  • Example validation passes (task examples:test)
  • Schema properly handles optional scheme field with default value
  • Generated README uses correct scheme in URLs

Breaking Changes

None. The scheme field is optional and defaults to "http" for backward compatibility.

🤖 Generated with Claude Code

Add a new 'scheme' field to the server configuration that allows users to explicitly specify whether the server should use HTTP or HTTPS. This provides better clarity and flexibility in server configuration.

Changes:
- Add Scheme field to Server struct in schema (http/https)
- Update all example YAML files with appropriate scheme values
- Update README template to use dynamic scheme in URLs
- Add interactive prompt in init command for scheme selection
- Default to 'http' when scheme is not specified

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@edenreich edenreich merged commit 696f303 into main Nov 18, 2025
1 check passed
@edenreich edenreich deleted the feat/add-server-scheme-option branch November 18, 2025 10:30
ig-semantic-release-bot bot added a commit that referenced this pull request Nov 18, 2025
## [0.26.0](v0.25.0...v0.26.0) (2025-11-18)

### ✨ Features

* **server:** Add scheme option to specify HTTP or HTTPS ([#93](#93)) ([696f303](696f303))
@ig-semantic-release-bot
Copy link
Contributor

🎉 This PR is included in version 0.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants