yao/registry/manager/common
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
..
deps.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
deps_test.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
hash.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
hash_test.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
lockfile.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
lockfile_test.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
packer.go Implement force push option for agent and MCP commands 2026-03-03 10:31:50 +08:00
packer_test.go Implement force push option for agent and MCP commands 2026-03-03 10:31:50 +08:00
path.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
path_test.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
prompt.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
prompt_test.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00
types.go Enhance command structure with MCP and Robot functionalities 2026-03-03 08:11:43 +08:00