predators-protocol 0.5.2-beta.0 → 0.5.3-beta.0

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.
@@ -9,7 +9,7 @@ const fs = require("fs");
9
9
  const path = require("path");
10
10
  const { spawnSync } = require("child_process");
11
11
 
12
- const CLI_VERSION_CANON = "predators-cli-canon-0.5.2-beta.0-gen-token-cli-dual-auth-2026-05-27";
12
+ const CLI_VERSION_CANON = "predators-cli-canon-0.5.3-beta.0-fix-public-introspection-2026-05-27";
13
13
 
14
14
  const PACKAGE_ROOT = path.resolve(__dirname, "..");
15
15
  const BUNDLE_DIR = path.join(PACKAGE_ROOT, "bundle");
@@ -216,10 +216,21 @@ async function runUnlock(plaintext) {
216
216
  * Retorna true se autorizado · process.exit se bloqueado
217
217
  */
218
218
  async function requireValidAccess(commandName) {
219
- // Comandos sempre abertos (introspecção pública + admin via owner-key próprio)
219
+ // Comandos sempre abertos canon (introspecção pública · UX onboarding · admin owner-key)
220
+ // FIX 0.5.3-beta.0 honest UPFRONT: 0.5.2 bloqueou init/tour/list-* incorretamente
221
+ // → toda introspecção read-only canon é PÚBLICA (sócios + colaboradores + visitantes)
222
+ // → sync exige acesso (baixa canon proprietary)
223
+ // → invoke/execute futuros exigem acesso
220
224
  const PUBLIC_COMMANDS = new Set([
225
+ // Introspecção básica
221
226
  "version", "help", "--help", "-h",
222
227
  "status", "config", "show",
228
+ // UX onboarding cinemático (animações canon · introspecção pública)
229
+ "init", "tour",
230
+ // Listagens canon read-only
231
+ "list-predators", "list-workflows", "workflow-states", "story-states",
232
+ "layers-list", "benchmark-info", "metrics-list",
233
+ // Token canon (unlock obtém · gen-token tem owner-key próprio)
223
234
  "unlock", // unlock é o caminho de OBTER acesso · não pode exigir acesso
224
235
  "gen-token", // gen-token usa PREDATORS_OWNER_KEY_BACKEND próprio (Apex T7)
225
236
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "predators-protocol",
3
- "version": "0.5.2-beta.0",
3
+ "version": "0.5.3-beta.0",
4
4
  "description": "Predators Protocol \u00b7 multi-agent predatory framework \u00b7 64 predators in 10 layers \u00b7 canon Lei #14 PERFEITO OU FIX-GERAL \u00b7 FASE 7 COMPLETA: RuntimeRouter + Synapse Engine + LLM Real Production + v1 \u2192 H\u00edbrida full transition \u00b7 proprietary",
5
5
  "keywords": [
6
6
  "predators-protocol",