- Enhanced AGENTS.md with clearer project structure and development commands.
- Updated CHANGELOG.md to reflect recent fixes and additions.
- Improved formatting in CONTRIBUTING.md for better readability.
- Adjusted package.json and configuration files for consistent command structure.
- Refined README.md and VISION.md for clarity and organization.
- Standardized code formatting in various TypeScript files for consistency.
These changes aim to enhance documentation clarity and maintainability across the repository.
The --limit flag under the 'explore' command's Flags section was
missing the proper two-space indentation, making it inconsistent
with other flag lists in the document.
Address review feedback:
- Use undici's EnvHttpProxyAgent instead of ProxyAgent. This properly
handles HTTPS_PROXY vs HTTP_PROXY per-scheme, respects NO_PROXY,
and uses connect.timeout instead of requestTls.
- Update docs to mention NO_PROXY support.
The CLI creates a custom undici Agent via setGlobalDispatcher() which
overrides any proxy configuration. Since Node.js native fetch (backed
by undici) does not automatically respect HTTP_PROXY/HTTPS_PROXY env
vars, the CLI fails with 'fetch failed' on systems that require a
proxy for outbound connections.
Import ProxyAgent from undici and use it when any of the standard proxy
environment variables (HTTPS_PROXY, HTTP_PROXY, https_proxy, http_proxy)
is set. When no proxy variable is present, behavior is unchanged.
Also adds proxy documentation to cli.md and a troubleshooting entry.
* feat: add uninstall command for skills
Implements `clawhub uninstall <slug>` to properly remove installed skills.
Changes:
- Added cmdUninstall function in skills.ts
- Validates skill is installed before removal
- Removes skill directory and lockfile entry
- Supports --yes flag to skip confirmation prompt
- Added comprehensive test coverage
Closes#221
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: require --yes in non-interactive mode and update lockfile before rm
Address review feedback:
- Fail with "Pass --yes (no input)" when running non-interactively
without --yes flag, matching delete/star/unstar/moderation commands
- Update lockfile before removing directory to avoid inconsistent state
if rm succeeds but writeLockfile fails
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: harden skill uninstall flow (#241) (thanks @superlowburn)
* docs: document uninstall CLI command (#241) (thanks @superlowburn)
* test: fix cmdUninstall mock typing (#241) (thanks @superlowburn)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>