You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: repair pro installer activation commands [Story PRO-13.5]
Fix Pro installer recovery/setup command hints, publish-surface package versions, legacy activation compatibility docs/tests, and Pro Integration private submodule auth.\n\nValidated with focused local checks plus green GitHub CI, including Pro Integration.
Copy file name to clipboardExpand all lines: docs/guides/aiox-pro-access.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,7 @@ Se o instalador responder que não encontrou acesso para o email, o problema é
15
15
No projeto onde você quer usar o Pro:
16
16
17
17
```bash
18
-
npx aiox-pro install
19
-
npx aiox-pro setup
18
+
npx -y -p @aiox-squads/core@latest aiox pro setup
20
19
```
21
20
22
21
O setup guiado oferece dois caminhos:
@@ -29,24 +28,24 @@ Em automação/CI, use variáveis de ambiente:
29
28
```bash
30
29
export AIOX_PRO_EMAIL="seu-email@exemplo.com"
31
30
export AIOX_PRO_PASSWORD="sua-senha"
32
-
npx aiox-pro setup
31
+
npx -y -p @aiox-squads/core@latest aiox pro setup
33
32
```
34
33
35
34
Ou, para chave legada:
36
35
37
36
```bash
38
37
export AIOX_PRO_KEY="PRO-XXXX-XXXX-XXXX-XXXX"
39
-
npx aiox-pro setup
38
+
npx -y -p @aiox-squads/core@latest aiox pro setup
40
39
```
41
40
42
41
## Verificar o acesso
43
42
44
43
Depois de instalar:
45
44
46
45
```bash
47
-
npx aiox-pro status
48
-
npx aiox-pro features
49
-
npx aiox-pro validate
46
+
npx -y -p @aiox-squads/core@latest aiox pro status
47
+
npx -y -p @aiox-squads/core@latest aiox pro features
48
+
npx -y -p @aiox-squads/core@latest aiox pro validate
50
49
```
51
50
52
51
Esses comandos verificam a licença, listam recursos Pro disponíveis e forçam uma revalidação online quando necessário.
@@ -58,7 +57,7 @@ As squads Pro são entregues pelo pacote Pro privado e sincronizadas pelo instal
58
57
Se as squads não aparecerem depois de uma instalação bem-sucedida, rode:
59
58
60
59
```bash
61
-
npx aiox-pro update
60
+
npx -y -p @aiox-squads/core@latest aiox pro update
62
61
npm run sync:ide
63
62
```
64
63
@@ -67,7 +66,7 @@ npm run sync:ide
67
66
Para recuperar senha ou licença:
68
67
69
68
```bash
70
-
npx aiox-pro recover
69
+
npx -y @aiox-squads/aiox-pro-cli@latest recover
71
70
```
72
71
73
72
Se o email comprado não for reconhecido, ou se a conta existir mas a ativação falhar, o fluxo operacional correto é acionar `@devops` com um destes comandos:
@@ -80,7 +79,7 @@ Se o email comprado não for reconhecido, ou se a conta existir mas a ativação
80
79
## Erros comuns
81
80
82
81
-`No AIOX Pro access found for this email.`: o email ainda não tem entitlement Pro ou foi digitado diferente do cadastro.
83
-
-`AIOX Pro is not installed.`: rode `npx aiox-pro install` antes de status/validate.
82
+
-`AIOX Pro is not installed.`: rode `npx -y -p @aiox-squads/core@latest aiox pro setup` antes de status/validate.
84
83
-`Invalid key format`: a chave legada precisa seguir o formato `PRO-XXXX-XXXX-XXXX-XXXX`.
85
84
- Falha em CI sem prompt interativo: defina `AIOX_PRO_EMAIL` + `AIOX_PRO_PASSWORD` ou `AIOX_PRO_KEY`.
npx -y -p @aiox-squads/core@latest aiox pro activate --key PRO-XXXX-XXXX-XXXX-XXXX
34
34
35
-
# Verificar ativacao
36
-
npx aiox-pro status
35
+
# Verificar ativação
36
+
npx -y -p @aiox-squads/core@latest aiox pro status
37
37
```
38
38
39
39
---
@@ -48,23 +48,23 @@ npx aiox-pro status
48
48
### Passo 1: Instalar AIOX Pro
49
49
50
50
```bash
51
-
npx aiox-pro install
51
+
npx -y -p @aiox-squads/core@latest aiox pro setup
52
52
```
53
53
54
54
Isso valida sua licença e instala o artefato canônico `@aiox-squads/pro` no projeto. O cliente não precisa de acesso direto ao pacote privado/restrito no npm.
55
55
56
56
**Se você já tem o artefato Pro instalado por outro fluxo autorizado**, rode novamente o bootstrap para revalidar e re-scaffoldar o conteúdo Pro:
57
57
58
58
```bash
59
-
npx aiox-pro install
59
+
npx -y -p @aiox-squads/core@latest aiox pro setup
60
60
```
61
61
62
62
### Passo 2: Ativar Licenca
63
63
64
64
Apos a compra, voce recebera uma chave no formato `PRO-XXXX-XXXX-XXXX-XXXX`.
- 2026-05-09: Published `@aiox-squads/core@5.1.17`; npm `latest` resolves to `5.1.17`; clean install smoke confirms `aiox --version` returns `5.1.17`, the installed public package has zero `pro/` paths, and the installer default points to Pro artifact `0.4.2`.
457
464
- 2026-05-08: GitHub CI follow-up fixed: `tests/pro-wizard.test.js` interactive license-key retry test now stubs the license client instead of reaching the real inline HTTP fallback, removing the Node 18 timeout while preserving prompt/retry assertions.
458
465
- 2026-05-08: Merged `origin/main` and addressed CodeRabbit actionable comments: legacy `npm notice` size-prefixed pack output is normalized before `pro/` checks, `aiox-pro install/setup/wizard -k` is accepted, artifact download has an abort timeout, and artifact-installed Pro package cleanup runs on scaffold failures.
466
+
- 2026-05-12: Student install incident triage confirmed the unscoped `npx aiox-pro recover/install/setup` path is invalid for fresh machines; installer and docs now point recovery to `npx -y @aiox-squads/aiox-pro-cli@latest recover` and setup to `npx -y -p @aiox-squads/core@latest aiox pro setup`.
467
+
- 2026-05-12: `@aiox-squads/installer` bumped to `3.3.2` and `@aiox-squads/aiox-pro-cli` bumped to `0.2.1` so @devops can publish the signed-artifact installer and scoped CLI command fix.
468
+
- 2026-05-12: GitHub Pro Integration checkout fixed to use `GITHUB_TOKEN` for the `aiox-core` PR merge ref and reserve `PRO_SUBMODULE_TOKEN` for private Pro submodule initialization only.
469
+
- 2026-05-12: CodeRabbit PR follow-up applied: Pro Integration now injects the credentialized submodule URL through process-scoped `GIT_CONFIG_*` environment variables, and Pro wizard tests use repository-absolute package imports.
0 commit comments