claude-init 1.0.29 → 1.0.30

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.
@@ -71,8 +71,8 @@ ENV PATH=$PATH:/usr/local/share/npm-global/bin
71
71
  ENV SHELL=/bin/zsh
72
72
 
73
73
  # Set the default editor and visual
74
- ENV EDITOR nano
75
- ENV VISUAL nano
74
+ ENV EDITOR=nano
75
+ ENV VISUAL=nano
76
76
 
77
77
  # Default powerline10k theme
78
78
  ARG ZSH_IN_DOCKER_VERSION=1.2.0
@@ -54,5 +54,6 @@
54
54
  },
55
55
  "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=delegated",
56
56
  "workspaceFolder": "/workspace",
57
- "postCreateCommand": "sudo /usr/local/bin/init-firewall.sh"
57
+ "postStartCommand": "sudo /usr/local/bin/init-firewall.sh",
58
+ "waitFor": "postStartCommand"
58
59
  }
@@ -69,7 +69,10 @@ for domain in \
69
69
  "api.anthropic.com" \
70
70
  "sentry.io" \
71
71
  "statsig.anthropic.com" \
72
- "statsig.com"; do
72
+ "statsig.com" \
73
+ "marketplace.visualstudio.com" \
74
+ "vscode.blob.core.windows.net" \
75
+ "update.code.visualstudio.com"; do
73
76
  echo "Resolving $domain..."
74
77
  ips=$(dig +noall +answer A "$domain" | awk '$4 == "A" {print $5}')
75
78
  if [ -z "$ips" ]; then
@@ -113,6 +116,9 @@ iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
113
116
  # Then allow only specific outbound traffic to allowed domains
114
117
  iptables -A OUTPUT -m set --match-set allowed-domains dst -j ACCEPT
115
118
 
119
+ # Explicitly REJECT all other outbound traffic for immediate feedback
120
+ iptables -A OUTPUT -j REJECT --reject-with icmp-admin-prohibited
121
+
116
122
  echo "Firewall configuration complete"
117
123
  echo "Verifying firewall rules..."
118
124
  if curl --connect-timeout 5 https://example.com >/dev/null 2>&1; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-init",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "Initialize Claude development environment with configurations and templates",
5
5
  "type": "module",
6
6
  "bin": {