Skip to content

Conversation

@mikolalysenko
Copy link
Contributor

No description provided.

mikolalysenko and others added 3 commits December 19, 2025 10:56
- Add runPatch() function for programmatic usage from socket-cli
- Add ./run export in package.json for subpath import
- Update postinstall detection to use socket CLI subcommand format
- Change generated postinstall from npx @socketsecurity/socket-patch to socket patch apply
- Add debug logging support via SOCKET_PATCH_DEBUG env var
- Bump version to 1.0.0 for first stable release
The apply command now exits with code 0 when no manifest is found,
treating it as a successful no-op. This allows postinstall scripts
to run without failing when no patches are configured.
Track patch apply, remove, and rollback operations via telemetry.

Events are sent to:
- Authenticated: /v0/orgs/{org}/telemetry when API token is available
- Public proxy: patches-api.socket.dev/patch/telemetry for free tier

Telemetry can be disabled via SOCKET_PATCH_TELEMETRY_DISABLED=1

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

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants