@wipcomputer/wip-ai-devops-toolbox 1.9.36 → 1.9.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/SKILL.md +1 -1
- package/package.json +1 -1
- package/scripts/deploy-public.sh +6 -0
- package/tools/deploy-public/package.json +1 -1
- package/tools/post-merge-rename/package.json +1 -1
- package/tools/wip-branch-guard/guard.mjs +14 -0
- package/tools/wip-branch-guard/package.json +1 -1
- package/tools/wip-file-guard/package.json +1 -1
- package/tools/wip-license-guard/package.json +1 -1
- package/tools/wip-license-hook/package.json +1 -1
- package/tools/wip-readme-format/package.json +1 -1
- package/tools/wip-release/package.json +1 -1
- package/tools/wip-repo-init/package.json +1 -1
- package/tools/wip-repo-permissions-hook/package.json +1 -1
- package/tools/wip-repos/package.json +1 -1
- package/tools/wip-universal-installer/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -31,6 +31,23 @@
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
+
|
|
35
|
+
## 1.9.37 (2026-03-16)
|
|
36
|
+
|
|
37
|
+
# GitHub Packages publish from public repo
|
|
38
|
+
|
|
39
|
+
**Date:** 2026-03-16
|
|
40
|
+
**Closes:** #193
|
|
41
|
+
|
|
42
|
+
## What changed
|
|
43
|
+
|
|
44
|
+
`deploy-public.sh` now publishes to GitHub Packages from the public repo clone after the npm publish step. Previously, GitHub Packages were only published from the private repo during `wip-release`, so they showed on the private repo's Packages tab. Users couldn't see them.
|
|
45
|
+
|
|
46
|
+
Now packages show on the public repo's Packages tab where users expect to find them. Uses `gh auth token` for authentication (already available from the gh CLI).
|
|
47
|
+
|
|
48
|
+
## Why
|
|
49
|
+
|
|
50
|
+
The Packages tab on public repos was empty. Users visiting wipcomputer/wip-ldm-os or wipcomputer/wip-ai-devops-toolbox saw no packages even though they were published. The packages existed but were linked to the private repo.
|
|
34
51
|
|
|
35
52
|
## 1.9.36 (2026-03-16)
|
|
36
53
|
|
package/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ license: MIT
|
|
|
5
5
|
interface: [cli, module, mcp, skill, hook, plugin]
|
|
6
6
|
metadata:
|
|
7
7
|
display-name: "WIP AI DevOps Toolbox"
|
|
8
|
-
version: "1.9.
|
|
8
|
+
version: "1.9.37"
|
|
9
9
|
homepage: "https://github.com/wipcomputer/wip-ai-devops-toolbox"
|
|
10
10
|
author: "Parker Todd Brooks"
|
|
11
11
|
category: dev-tools
|
package/package.json
CHANGED
package/scripts/deploy-public.sh
CHANGED
|
@@ -122,6 +122,12 @@ rsync -a \
|
|
|
122
122
|
|
|
123
123
|
cd "$TMPDIR/public"
|
|
124
124
|
|
|
125
|
+
# Rewrite package.json repository URL from private to public repo
|
|
126
|
+
# GitHub Packages links packages to the repo in repository.url
|
|
127
|
+
if [[ -f package.json ]] && grep -q "\-private" package.json 2>/dev/null; then
|
|
128
|
+
sed -i '' 's|-private\.git|.git|g; s|-private"|"|g' package.json
|
|
129
|
+
fi
|
|
130
|
+
|
|
125
131
|
# Check if there are changes
|
|
126
132
|
if git diff --quiet HEAD -- 2>/dev/null && git diff --cached --quiet HEAD -- 2>/dev/null && [[ -z "$(git ls-files --others --exclude-standard)" ]]; then
|
|
127
133
|
echo "No changes to deploy."
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// PreToolUse hook for Claude Code.
|
|
4
4
|
// Blocks ALL file writes and git commits when on main branch.
|
|
5
5
|
// Agents must work on branches or worktrees. Never on main.
|
|
6
|
+
// Also blocks dangerous flags (--no-verify, --force) on ANY branch.
|
|
6
7
|
|
|
7
8
|
import { execSync } from 'node:child_process';
|
|
8
9
|
import { dirname, join } from 'node:path';
|
|
@@ -171,6 +172,19 @@ async function main() {
|
|
|
171
172
|
const toolName = input.tool_name || '';
|
|
172
173
|
const toolInput = input.tool_input || {};
|
|
173
174
|
|
|
175
|
+
// Block dangerous flags on ANY branch (these bypass safety checks)
|
|
176
|
+
if (toolName === BASH_TOOL) {
|
|
177
|
+
const cmd = (toolInput.command || '');
|
|
178
|
+
if (/--no-verify\b/.test(cmd)) {
|
|
179
|
+
deny('BLOCKED: --no-verify bypasses git hooks. Remove it and let the hooks run.');
|
|
180
|
+
process.exit(0);
|
|
181
|
+
}
|
|
182
|
+
if (/\bgit\s+push\b.*--force\b/.test(cmd) && !/--force-with-lease\b/.test(cmd)) {
|
|
183
|
+
deny('BLOCKED: git push --force can destroy remote history. Use --force-with-lease or ask Parker.');
|
|
184
|
+
process.exit(0);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
174
188
|
// Determine which repo to check.
|
|
175
189
|
// Claude Code always opens in .openclaw, but edits files in other repos.
|
|
176
190
|
// We need to check the branch of THE REPO THE FILE LIVES IN, not the CWD.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wipcomputer/universal-installer",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The Universal Interface specification for agent-native software. Teaches your AI how to build repos with every interface: CLI, Module, MCP Server, OpenClaw Plugin, Skill, Claude Code Hook.",
|
|
6
6
|
"main": "detect.mjs",
|