claude-everything-workflow 0.1.1 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-everything-workflow",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Claude Code and Codex harness with rules, skills, agents, hooks, and verification gates.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -210,6 +210,24 @@ function Install-SharedDirs {
210
210
  }
211
211
  }
212
212
 
213
+ function Remove-PackageOnlyPaths {
214
+ param([string]$Destination)
215
+
216
+ $packageOnlyFiles = @(
217
+ "scripts\install.sh",
218
+ "scripts\install.ps1"
219
+ )
220
+
221
+ foreach ($relative in $packageOnlyFiles) {
222
+ $target = Join-Path $Destination $relative
223
+ if (Test-Path -LiteralPath $target -PathType Leaf) {
224
+ Invoke-InstallCommand `
225
+ -Description "Remove-Item '$target'" `
226
+ -Action { Remove-Item -LiteralPath $target -Force }
227
+ }
228
+ }
229
+ }
230
+
213
231
  function Remove-ObsoleteWorkflowPaths {
214
232
  param([string]$Destination)
215
233
 
@@ -260,6 +278,7 @@ function Install-ClaudeWorkflow {
260
278
  Copy-ClaudeSettings -Source (Join-Path $RootDir "settings.json") -Destination $settingsPath
261
279
  Convert-ClaudeSettingsHookPaths -SettingsPath $settingsPath
262
280
  Install-SharedDirs -Destination $dest
281
+ Remove-PackageOnlyPaths -Destination $dest
263
282
  }
264
283
 
265
284
  function Install-CodexWorkflow {
@@ -273,6 +292,7 @@ function Install-CodexWorkflow {
273
292
  Remove-ObsoleteWorkflowPaths -Destination $dest
274
293
  Copy-ConfigFile -Source (Join-Path $RootDir "AGENTS.md") -Destination (Join-Path $dest "AGENTS.md")
275
294
  Install-SharedDirs -Destination $dest
295
+ Remove-PackageOnlyPaths -Destination $dest
276
296
  }
277
297
 
278
298
  if ($InstallClaude) {
@@ -153,6 +153,19 @@ install_shared_dirs() {
153
153
  copy_dir references "$dest"
154
154
  }
155
155
 
156
+ remove_package_only_paths() {
157
+ local dest="$1"
158
+
159
+ for file in \
160
+ "scripts/install.sh" \
161
+ "scripts/install.ps1"
162
+ do
163
+ if [ -f "$dest/$file" ]; then
164
+ run rm -f "$dest/$file"
165
+ fi
166
+ done
167
+ }
168
+
156
169
  remove_obsolete_workflow_paths() {
157
170
  local dest="$1"
158
171
  local file
@@ -189,6 +202,7 @@ install_claude() {
189
202
  copy_file "$ROOT_DIR/AGENTS.md" "$dest/AGENTS.md"
190
203
  copy_claude_settings "$ROOT_DIR/settings.json" "$dest/settings.json"
191
204
  install_shared_dirs "$dest"
205
+ remove_package_only_paths "$dest"
192
206
  }
193
207
 
194
208
  install_codex() {
@@ -199,6 +213,7 @@ install_codex() {
199
213
  remove_obsolete_workflow_paths "$dest"
200
214
  copy_file "$ROOT_DIR/AGENTS.md" "$dest/AGENTS.md"
201
215
  install_shared_dirs "$dest"
216
+ remove_package_only_paths "$dest"
202
217
  }
203
218
 
204
219
  require_rsync
@@ -164,11 +164,15 @@ function checkInstallRuntimePolicy() {
164
164
  "Copy-ClaudeSettings",
165
165
  "Install-CodexWorkflow",
166
166
  "Copy-ConfigFile -Source (Join-Path $RootDir \"AGENTS.md\")",
167
+ "Remove-PackageOnlyPaths",
168
+ "scripts\\install.ps1",
167
169
  ]);
168
170
  requireTokens("scripts/install.sh", [
169
171
  "copy_claude_settings",
170
172
  "install_codex()",
171
173
  "copy_file \"$ROOT_DIR/AGENTS.md\" \"$dest/AGENTS.md\"",
174
+ "remove_package_only_paths",
175
+ "scripts/install.sh",
172
176
  ]);
173
177
 
174
178
  const ps = read("scripts/install.ps1");