@ornexus/neocortex 3.8.0 → 3.8.1

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/install.ps1 CHANGED
@@ -15,7 +15,7 @@ param(
15
15
  [string]$ServerUrl = "https://api.neocortex.ornexus.com"
16
16
  )
17
17
 
18
- $VERSION = "3.8.0"
18
+ $VERSION = "3.8.1"
19
19
 
20
20
  # =============================================================================
21
21
  # CONFIGURACOES
package/install.sh CHANGED
@@ -4,7 +4,7 @@
4
4
  # Epic & Story Development Orchestrator
5
5
 
6
6
  # Versao do instalador
7
- VERSION="3.8.0"
7
+ VERSION="3.8.1"
8
8
 
9
9
  # Flags
10
10
  MIGRATION_DETECTED=false
@@ -641,7 +641,13 @@ install_core() {
641
641
  mkdir -p "$DEST_DIR" 2>/dev/null || { fail "Falha ao criar $DEST_DIR"; return 1; }
642
642
 
643
643
  if [ "$LOCAL_MODE" = true ]; then
644
- # Mode local: copiar IP completa (comportamento legado para devs)
644
+ if [ ! -d "$SOURCE_DIR/core" ]; then
645
+ fail "Modo --local indisponível nesta distribuição."
646
+ warn "Os arquivos protegidos não estão incluídos no pacote npm."
647
+ warn "Este modo é restrito a ambientes autorizados."
648
+ info "Use sem --local para operar via servidor licenciado."
649
+ return 1
650
+ fi
645
651
  copy_dir "$SOURCE_DIR/core" "$DEST_DIR/" || ((errors++))
646
652
  copy_file "$SOURCE_DIR/package.json" "$DEST_DIR/" || ((errors++))
647
653
  copy_file "$SOURCE_DIR/README.md" "$DEST_DIR/" || ((errors++))
@@ -1226,8 +1232,8 @@ create_project_dirs() {
1226
1232
  # Cleanup workflow.md from previous versions
1227
1233
  rm -f "$project_dir/.claude/agents/neocortex/workflow.md" 2>/dev/null
1228
1234
 
1229
- if [ "$LOCAL_MODE" = true ]; then
1230
- # Modo local: copiar IP completa (comportamento legado)
1235
+ if [ "$LOCAL_MODE" = true ] && [ -d "$SOURCE_DIR/core" ]; then
1236
+ # Modo local: copiar IP completa (restrito a ambientes autorizados)
1231
1237
  cp "$SOURCE_DIR/package.json" "$project_dir/.claude/agents/neocortex/" 2>/dev/null
1232
1238
  cp "$SOURCE_DIR/README.md" "$project_dir/.claude/agents/neocortex/" 2>/dev/null
1233
1239
  mkdir -p "$project_dir/.claude/agents/neocortex/core"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ornexus/neocortex",
3
- "version": "3.8.0",
4
- "description": "Neocortex v3.8.0 - Orquestrador de Desenvolvimento de Epics & Stories para Claude Code",
3
+ "version": "3.8.1",
4
+ "description": "Neocortex v3.8.1 - Orquestrador de Desenvolvimento de Epics & Stories para Claude Code",
5
5
  "keywords": [
6
6
  "claude",
7
7
  "claude-code",