yao/registry/manager/mcp
Max dae35cfe86 Implement force push option for agent and MCP commands
- Add a `--force` flag to the `push` command in both agent and MCP modules, allowing users to overwrite existing versions by deleting them before pushing.
- Update the `PushOptions` struct to include the `Force` field, ensuring the functionality is integrated into the push logic.
- Enhance E2E tests to validate the behavior of the force push feature, ensuring that existing versions are deleted as expected when the flag is used.
- Introduce tests for packing directories to respect `.yaoignore` rules, improving file exclusion handling during the packaging process.
2026-03-03 10:31:50 +08:00
..
add.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
fork.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
mcp.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
mcp_test.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
push.go Implement force push option for agent and MCP commands 2026-03-03 10:31:50 +08:00
script.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
update.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00