nexakit 0.10.0 → 0.13.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.
- package/README.md +13 -6
- package/assets/runtime/package-lock.json +415 -6
- package/bench/casos/arquitectura/alta-usuarios/base/controladores/usuarios.js +16 -0
- package/bench/casos/arquitectura/alta-usuarios/base/db.js +14 -0
- package/bench/casos/arquitectura/alta-usuarios/base/docs/adr/0003-capas.md +15 -0
- package/bench/casos/arquitectura/alta-usuarios/base/errores.js +3 -0
- package/bench/casos/arquitectura/alta-usuarios/base/repositorios/usuarios.js +14 -0
- package/bench/casos/arquitectura/alta-usuarios/base/servicios/usuarios.js +20 -0
- package/bench/casos/arquitectura/alta-usuarios/cambio/controladores/usuarios.js +47 -0
- package/bench/casos/arquitectura/alta-usuarios/cambio/repositorios/usuarios.js +21 -0
- package/bench/casos/arquitectura/alta-usuarios/cambio/servicios/perfil.js +14 -0
- package/bench/casos/arquitectura/alta-usuarios/esperado.json +53 -0
- package/bench/casos/arquitectura/pedidos-facturacion/base/docs/adr/0001-capas.md +18 -0
- package/bench/casos/arquitectura/pedidos-facturacion/base/src/aplicacion/confirmar.ts +8 -0
- package/bench/casos/arquitectura/pedidos-facturacion/base/src/dominio/pedido.ts +15 -0
- package/bench/casos/arquitectura/pedidos-facturacion/base/src/dominio/puertos.ts +6 -0
- package/bench/casos/arquitectura/pedidos-facturacion/base/src/infra/db.ts +14 -0
- package/bench/casos/arquitectura/pedidos-facturacion/base/src/main.ts +9 -0
- package/bench/casos/arquitectura/pedidos-facturacion/cambio/src/aplicacion/facturar.ts +19 -0
- package/bench/casos/arquitectura/pedidos-facturacion/cambio/src/dominio/informe.ts +7 -0
- package/bench/casos/arquitectura/pedidos-facturacion/cambio/src/dominio/pedido.ts +21 -0
- package/bench/casos/arquitectura/pedidos-facturacion/cambio/src/infra/db.ts +22 -0
- package/bench/casos/arquitectura/pedidos-facturacion/esperado.json +53 -0
- package/bench/casos/arquitectura/resumen-cliente/base/docs/adr/0001-capas.md +18 -0
- package/bench/casos/arquitectura/resumen-cliente/base/src/aplicacion/confirmar.ts +8 -0
- package/bench/casos/arquitectura/resumen-cliente/base/src/dominio/pedido.ts +15 -0
- package/bench/casos/arquitectura/resumen-cliente/base/src/dominio/puertos.ts +6 -0
- package/bench/casos/arquitectura/resumen-cliente/base/src/infra/db.ts +14 -0
- package/bench/casos/arquitectura/resumen-cliente/base/src/main.ts +9 -0
- package/bench/casos/arquitectura/resumen-cliente/cambio/src/aplicacion/resumen.ts +6 -0
- package/bench/casos/arquitectura/resumen-cliente/cambio/src/dominio/pedido.ts +33 -0
- package/bench/casos/arquitectura/resumen-cliente/cambio/src/dominio/puertos.ts +7 -0
- package/bench/casos/arquitectura/resumen-cliente/cambio/src/infra/db.ts +18 -0
- package/bench/casos/arquitectura/resumen-cliente/cambio/src/main.ts +14 -0
- package/bench/casos/arquitectura/resumen-cliente/esperado.json +23 -0
- package/bench/casos/documentacion/comentario-obsoleto/base/README.md +18 -0
- package/bench/casos/documentacion/comentario-obsoleto/base/src/usuarios.ts +35 -0
- package/bench/casos/documentacion/comentario-obsoleto/cambio/src/copia.ts +8 -0
- package/bench/casos/documentacion/comentario-obsoleto/cambio/src/usuarios.ts +43 -0
- package/bench/casos/documentacion/comentario-obsoleto/esperado.json +42 -0
- package/bench/casos/documentacion/reportes-config/base/README.md +23 -0
- package/bench/casos/documentacion/reportes-config/base/src/cli.js +33 -0
- package/bench/casos/documentacion/reportes-config/base/src/config.js +15 -0
- package/bench/casos/documentacion/reportes-config/base/src/envio.js +23 -0
- package/bench/casos/documentacion/reportes-config/cambio/src/cli.js +35 -0
- package/bench/casos/documentacion/reportes-config/cambio/src/config.js +15 -0
- package/bench/casos/documentacion/reportes-config/esperado.json +42 -0
- package/bench/casos/documentacion/tiempo-espera/base/README.md +10 -0
- package/bench/casos/documentacion/tiempo-espera/base/src/config.js +8 -0
- package/bench/casos/documentacion/tiempo-espera/cambio/README.md +10 -0
- package/bench/casos/documentacion/tiempo-espera/cambio/src/config.js +8 -0
- package/bench/casos/documentacion/tiempo-espera/esperado.json +16 -0
- package/bench/casos/pruebas/calendario-laboral/base/src/fechas.js +3 -0
- package/bench/casos/pruebas/calendario-laboral/base/test/fechas.test.js +7 -0
- package/bench/casos/pruebas/calendario-laboral/cambio/src/fechas.js +37 -0
- package/bench/casos/pruebas/calendario-laboral/cambio/test/calendario.test.js +31 -0
- package/bench/casos/pruebas/calendario-laboral/esperado.json +49 -0
- package/bench/casos/pruebas/fin-de-semana/base/src/fechas.js +3 -0
- package/bench/casos/pruebas/fin-de-semana/base/test/fechas.test.js +7 -0
- package/bench/casos/pruebas/fin-de-semana/cambio/src/fechas.js +8 -0
- package/bench/casos/pruebas/fin-de-semana/cambio/test/fines-de-semana.test.js +13 -0
- package/bench/casos/pruebas/fin-de-semana/esperado.json +16 -0
- package/bench/casos/pruebas/precios-carrito/base/src/precio.ts +3 -0
- package/bench/casos/pruebas/precios-carrito/base/test/precio.test.js +11 -0
- package/bench/casos/pruebas/precios-carrito/cambio/src/precio.ts +34 -0
- package/bench/casos/pruebas/precios-carrito/cambio/test/precio.test.js +42 -0
- package/bench/casos/pruebas/precios-carrito/esperado.json +42 -0
- package/bench/casos/rendimiento/boletin-correo/base/src/correo.html +1 -0
- package/bench/casos/rendimiento/boletin-correo/base/src/plantilla.ts +11 -0
- package/bench/casos/rendimiento/boletin-correo/cambio/src/envios.ts +44 -0
- package/bench/casos/rendimiento/boletin-correo/cambio/src/plantilla.ts +10 -0
- package/bench/casos/rendimiento/boletin-correo/esperado.json +42 -0
- package/bench/casos/rendimiento/clientes-por-lote/base/src/informe.js +8 -0
- package/bench/casos/rendimiento/clientes-por-lote/cambio/src/informe.js +6 -0
- package/bench/casos/rendimiento/clientes-por-lote/esperado.json +14 -0
- package/bench/casos/rendimiento/informe-ventas/base/src/informe.js +6 -0
- package/bench/casos/rendimiento/informe-ventas/base/src/tasas.json +1 -0
- package/bench/casos/rendimiento/informe-ventas/cambio/src/informe.js +33 -0
- package/bench/casos/rendimiento/informe-ventas/cambio/src/tasas.js +7 -0
- package/bench/casos/rendimiento/informe-ventas/esperado.json +42 -0
- package/bench/casos/seguridad/inyeccion-orden/base/src/respaldo.ts +13 -0
- package/bench/casos/seguridad/inyeccion-orden/cambio/src/respaldo.ts +69 -0
- package/bench/casos/seguridad/inyeccion-orden/esperado.json +42 -0
- package/bench/casos/seguridad/limpio-validacion/base/servidor.js +11 -0
- package/bench/casos/seguridad/limpio-validacion/cambio/servidor.js +39 -0
- package/bench/casos/seguridad/limpio-validacion/esperado.json +14 -0
- package/bench/casos/seguridad/servidor-archivos/base/servidor.js +21 -0
- package/bench/casos/seguridad/servidor-archivos/cambio/servidor.js +79 -0
- package/bench/casos/seguridad/servidor-archivos/esperado.json +42 -0
- package/bin/nexakit-fabrica-mcp.js +12 -0
- package/dist/fabrica/banco/casos.js +304 -0
- package/dist/fabrica/banco/ejecutar.js +483 -0
- package/dist/fabrica/banco/medir.js +120 -0
- package/dist/fabrica/cli.js +737 -0
- package/dist/fabrica/conectores/antigravity.js +1040 -0
- package/dist/fabrica/conectores/codex.js +967 -0
- package/dist/fabrica/conectores/tipos.js +8 -0
- package/dist/fabrica/config.js +44 -0
- package/dist/fabrica/consolidar.js +218 -0
- package/dist/fabrica/decision.js +210 -0
- package/dist/fabrica/diff.js +247 -0
- package/dist/fabrica/disco.js +356 -0
- package/dist/fabrica/ejecutor.js +597 -0
- package/dist/fabrica/encargo/candado.js +274 -0
- package/dist/fabrica/encargo/ejecutar.js +827 -0
- package/dist/fabrica/encargo/evidencia.js +308 -0
- package/dist/fabrica/encargo/parche.js +146 -0
- package/dist/fabrica/encargo/worktree.js +394 -0
- package/dist/fabrica/enrutador.js +425 -0
- package/dist/fabrica/errores.js +14 -0
- package/dist/fabrica/esquemas.js +57 -0
- package/dist/fabrica/estaciones.js +75 -0
- package/dist/fabrica/evidencia.js +406 -0
- package/dist/fabrica/indice.js +1 -0
- package/dist/fabrica/jsonrpc.js +274 -0
- package/dist/fabrica/lecciones.js +363 -0
- package/dist/fabrica/mcp.js +376 -0
- package/dist/fabrica/preferencias.js +56 -0
- package/dist/fabrica/protocolos/codex/AbsolutePathBuf.js +2 -0
- package/dist/fabrica/protocolos/codex/ApplyPatchApprovalResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/ClientInfo.js +2 -0
- package/dist/fabrica/protocolos/codex/ExecCommandApprovalParams.js +2 -0
- package/dist/fabrica/protocolos/codex/ExecCommandApprovalResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/ExecPolicyAmendment.js +2 -0
- package/dist/fabrica/protocolos/codex/FunctionCallOutputBody.js +2 -0
- package/dist/fabrica/protocolos/codex/FunctionCallOutputContentItem.js +2 -0
- package/dist/fabrica/protocolos/codex/ImageDetail.js +2 -0
- package/dist/fabrica/protocolos/codex/InitializeCapabilities.js +2 -0
- package/dist/fabrica/protocolos/codex/InitializeParams.js +2 -0
- package/dist/fabrica/protocolos/codex/InitializeResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/InputModality.js +2 -0
- package/dist/fabrica/protocolos/codex/LegacyAppPathString.js +2 -0
- package/dist/fabrica/protocolos/codex/NetworkPolicyAmendment.js +2 -0
- package/dist/fabrica/protocolos/codex/NetworkPolicyRuleAction.js +2 -0
- package/dist/fabrica/protocolos/codex/ParsedCommand.js +2 -0
- package/dist/fabrica/protocolos/codex/Personality.js +2 -0
- package/dist/fabrica/protocolos/codex/ReasoningEffort.js +2 -0
- package/dist/fabrica/protocolos/codex/ReasoningSummary.js +2 -0
- package/dist/fabrica/protocolos/codex/ReviewDecision.js +2 -0
- package/dist/fabrica/protocolos/codex/ThreadId.js +2 -0
- package/dist/fabrica/protocolos/codex/serde_json/JsonValue.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/AdditionalFileSystemPermissions.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/AdditionalNetworkPermissions.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ApprovalsReviewer.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/AskForApproval.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ByteRange.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/CommandAction.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/CommandExecutionApprovalDecision.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/CommandExecutionApprovalKind.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/CommandExecutionRequestApprovalParams.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/CommandExecutionRequestApprovalResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ConfigReadParams.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/CyberAccessProgram.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ExecPolicyAmendment.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/FileChangeApprovalDecision.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/FileChangeRequestApprovalResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/FileSystemAccessMode.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/FileSystemPath.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/FileSystemSandboxEntry.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/FileSystemSpecialPath.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/GrantedPermissionProfile.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ListMcpServerStatusParams.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/McpServerElicitationAction.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/McpServerElicitationRequestResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/McpServerStatusDetail.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/Model.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ModelAccessPrograms.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ModelAvailabilityNux.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ModelListParams.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ModelListResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ModelServiceTier.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ModelUpgradeInfo.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/MultiAgentVersion.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/NetworkAccess.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/NetworkApprovalContext.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/NetworkApprovalProtocol.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/NetworkPolicyAmendment.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/NetworkPolicyRuleAction.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/PermissionGrantScope.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/PermissionsRequestApprovalResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ReasoningEffortOption.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/SandboxMode.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/SandboxPolicy.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/TextElement.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ThreadSource.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ThreadStartParams.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ThreadStartSource.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ThreadTokenUsage.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ThreadTokenUsageUpdatedNotification.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/TokenUsageBreakdown.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ToolRequestUserInputAnswer.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/ToolRequestUserInputResponse.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/TurnInterruptParams.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/TurnStartParams.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/TurnToolOutput.js +2 -0
- package/dist/fabrica/protocolos/codex/v2/UserInput.js +2 -0
- package/dist/fabrica/rastro.js +487 -0
- package/dist/fabrica/sesion.js +230 -0
- package/dist/fabrica/tabla-modelos.json +29 -0
- package/dist/fabrica/veredictos.js +327 -0
- package/package.json +16 -8
- package/plugins/huellas.json +6 -6
- package/plugins/nexakit-lecciones/.claude-plugin/plugin.json +1 -1
- package/plugins/nexakit-lecciones/README.md +6 -5
- package/plugins/nexakit-lecciones/hooks/lecciones.js +29 -5
- package/plugins/nexakit-lecciones/hooks/register.js +7 -3
- package/plugins/nexakit-modelo/.claude-plugin/plugin.json +1 -1
- package/plugins/nexakit-modelo/hooks/barra.js +100 -4
- package/plugins/nexakit-modelo/hooks/decidir.js +2 -2
- package/plugins/nexakit-modelo/hooks/recomendar.js +1 -1
- package/plugins/nexakit-modelo/hooks/register.js +122 -7
- package/plugins/nexakit-modelo/tests/register.test.ts +301 -0
- package/plugins/niveles/.claude-plugin/plugin.json +1 -1
- package/plugins/niveles/agents/cazador-de-flakes.md +1 -0
- package/plugins/niveles/agents/cierre-de-memoria.md +1 -0
- package/plugins/niveles/agents/investigador.md +1 -0
- package/plugins/niveles/agents/nivel-alto.md +1 -0
- package/plugins/niveles/agents/nivel-exigente.md +1 -0
- package/plugins/niveles/agents/nivel-ligero.md +1 -0
- package/plugins/niveles/agents/nivel-normal.md +1 -0
- package/plugins/niveles/agents/revisor-de-calidad.md +1 -0
- package/plugins/niveles/agents/sincronizador-docs.md +1 -0
- package/plugins/niveles/agents/subir-al-repo.md +1 -0
- package/skills/elegir-modelo/SKILL.md +4 -3
- package/skills/elegir-modelo/modelos.mjs +100 -1
- package/skills/fabrica/SKILL.md +55 -0
- package/skills/gemini/SKILL.md +2 -3
- package/skills/quality-gate/SKILL.md +2 -2
- package/src/agent-models.js +6 -4
- package/src/antigravity-barra.js +64 -12
- package/src/antigravity-command.js +4 -2
- package/src/antigravity-models.js +61 -0
- package/src/antigravity-pre-tool.js +11 -3
- package/src/antigravity-recommendation.js +15 -9
- package/src/antigravity-setup.js +4 -31
- package/src/cli-executable.d.ts +11 -0
- package/src/codex-pre-tool.js +3 -3
- package/src/codex-recommendation.js +1 -2
- package/src/codex-setup.js +3 -20
- package/src/codex-team.js +31 -4
- package/src/fabrica/banco/casos.ts +315 -0
- package/src/fabrica/banco/ejecutar.ts +587 -0
- package/src/fabrica/banco/medir.ts +160 -0
- package/src/fabrica/cli.ts +781 -0
- package/src/fabrica/conectores/antigravity.ts +1090 -0
- package/src/fabrica/conectores/codex.ts +1013 -0
- package/src/fabrica/conectores/tipos.ts +54 -0
- package/src/fabrica/config.ts +43 -0
- package/src/fabrica/consolidar.ts +277 -0
- package/src/fabrica/decision.ts +285 -0
- package/src/fabrica/diff.ts +294 -0
- package/src/fabrica/disco.ts +380 -0
- package/src/fabrica/ejecutor.ts +716 -0
- package/src/fabrica/encargo/candado.ts +287 -0
- package/src/fabrica/encargo/ejecutar.ts +953 -0
- package/src/fabrica/encargo/evidencia.ts +301 -0
- package/src/fabrica/encargo/parche.ts +151 -0
- package/src/fabrica/encargo/worktree.ts +427 -0
- package/src/fabrica/enrutador.ts +494 -0
- package/src/fabrica/errores.ts +15 -0
- package/src/fabrica/esquemas.ts +92 -0
- package/src/fabrica/estaciones.ts +83 -0
- package/src/fabrica/evidencia.ts +445 -0
- package/src/fabrica/indice.ts +1 -0
- package/src/fabrica/jsonrpc.ts +314 -0
- package/src/fabrica/lecciones.ts +411 -0
- package/src/fabrica/mcp.ts +450 -0
- package/src/fabrica/preferencias.ts +66 -0
- package/src/fabrica/protocolos/codex/AbsolutePathBuf.ts +14 -0
- package/src/fabrica/protocolos/codex/ApplyPatchApprovalResponse.ts +6 -0
- package/src/fabrica/protocolos/codex/ClientInfo.ts +5 -0
- package/src/fabrica/protocolos/codex/ExecCommandApprovalParams.ts +16 -0
- package/src/fabrica/protocolos/codex/ExecCommandApprovalResponse.ts +6 -0
- package/src/fabrica/protocolos/codex/ExecPolicyAmendment.ts +12 -0
- package/src/fabrica/protocolos/codex/FunctionCallOutputBody.ts +6 -0
- package/src/fabrica/protocolos/codex/FunctionCallOutputContentItem.ts +10 -0
- package/src/fabrica/protocolos/codex/ImageDetail.ts +5 -0
- package/src/fabrica/protocolos/codex/InitializeCapabilities.ts +42 -0
- package/src/fabrica/protocolos/codex/InitializeParams.ts +7 -0
- package/src/fabrica/protocolos/codex/InitializeResponse.ts +20 -0
- package/src/fabrica/protocolos/codex/InputModality.ts +8 -0
- package/src/fabrica/protocolos/codex/LegacyAppPathString.ts +27 -0
- package/src/fabrica/protocolos/codex/NetworkPolicyAmendment.ts +6 -0
- package/src/fabrica/protocolos/codex/NetworkPolicyRuleAction.ts +5 -0
- package/src/fabrica/protocolos/codex/ParsedCommand.ts +12 -0
- package/src/fabrica/protocolos/codex/Personality.ts +8 -0
- package/src/fabrica/protocolos/codex/ReasoningEffort.ts +8 -0
- package/src/fabrica/protocolos/codex/ReasoningSummary.ts +10 -0
- package/src/fabrica/protocolos/codex/ReviewDecision.ts +10 -0
- package/src/fabrica/protocolos/codex/ThreadId.ts +10 -0
- package/src/fabrica/protocolos/codex/VERSION +1 -0
- package/src/fabrica/protocolos/codex/serde_json/JsonValue.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/AdditionalFileSystemPermissions.ts +15 -0
- package/src/fabrica/protocolos/codex/v2/AdditionalNetworkPermissions.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/ApprovalsReviewer.ts +12 -0
- package/src/fabrica/protocolos/codex/v2/AskForApproval.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/ByteRange.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/CommandAction.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/CommandExecutionApprovalDecision.ts +7 -0
- package/src/fabrica/protocolos/codex/v2/CommandExecutionApprovalKind.ts +8 -0
- package/src/fabrica/protocolos/codex/v2/CommandExecutionRequestApprovalParams.ts +51 -0
- package/src/fabrica/protocolos/codex/v2/CommandExecutionRequestApprovalResponse.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/ConfigReadParams.ts +11 -0
- package/src/fabrica/protocolos/codex/v2/CyberAccessProgram.ts +9 -0
- package/src/fabrica/protocolos/codex/v2/ExecPolicyAmendment.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/FileChangeApprovalDecision.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/FileChangeRequestApprovalResponse.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/FileSystemAccessMode.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/FileSystemPath.ts +7 -0
- package/src/fabrica/protocolos/codex/v2/FileSystemSandboxEntry.ts +7 -0
- package/src/fabrica/protocolos/codex/v2/FileSystemSpecialPath.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/GrantedPermissionProfile.ts +7 -0
- package/src/fabrica/protocolos/codex/v2/ListMcpServerStatusParams.ts +23 -0
- package/src/fabrica/protocolos/codex/v2/McpServerElicitationAction.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/McpServerElicitationRequestResponse.ts +17 -0
- package/src/fabrica/protocolos/codex/v2/McpServerStatusDetail.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/Model.ts +33 -0
- package/src/fabrica/protocolos/codex/v2/ModelAccessPrograms.ts +13 -0
- package/src/fabrica/protocolos/codex/v2/ModelAvailabilityNux.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/ModelListParams.ts +17 -0
- package/src/fabrica/protocolos/codex/v2/ModelListResponse.ts +11 -0
- package/src/fabrica/protocolos/codex/v2/ModelServiceTier.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/ModelUpgradeInfo.ts +9 -0
- package/src/fabrica/protocolos/codex/v2/MultiAgentVersion.ts +8 -0
- package/src/fabrica/protocolos/codex/v2/NetworkAccess.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/NetworkApprovalContext.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/NetworkApprovalProtocol.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/NetworkPolicyAmendment.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/NetworkPolicyRuleAction.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/PermissionGrantScope.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/PermissionsRequestApprovalResponse.ts +11 -0
- package/src/fabrica/protocolos/codex/v2/ReasoningEffortOption.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/SandboxMode.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/SandboxPolicy.ts +7 -0
- package/src/fabrica/protocolos/codex/v2/TextElement.ts +14 -0
- package/src/fabrica/protocolos/codex/v2/ThreadSource.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/ThreadStartParams.ts +22 -0
- package/src/fabrica/protocolos/codex/v2/ThreadStartSource.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/ThreadTokenUsage.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/ThreadTokenUsageUpdatedNotification.ts +6 -0
- package/src/fabrica/protocolos/codex/v2/TokenUsageBreakdown.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/ToolRequestUserInputAnswer.ts +8 -0
- package/src/fabrica/protocolos/codex/v2/ToolRequestUserInputResponse.ts +9 -0
- package/src/fabrica/protocolos/codex/v2/TurnInterruptParams.ts +5 -0
- package/src/fabrica/protocolos/codex/v2/TurnStartParams.ts +75 -0
- package/src/fabrica/protocolos/codex/v2/TurnToolOutput.ts +10 -0
- package/src/fabrica/protocolos/codex/v2/UserInput.ts +11 -0
- package/src/fabrica/rastro.ts +508 -0
- package/src/fabrica/sesion.ts +280 -0
- package/src/fabrica/tabla-modelos.json +29 -0
- package/src/fabrica/veredictos.ts +365 -0
- package/src/gemini-cli.js +15 -12
- package/src/gemini-tools.js +1 -1
- package/src/gemini-usage-store.js +32 -0
- package/src/instructions-block.js +69 -0
- package/src/lecciones-command.js +105 -4
- package/src/lecciones-instructions.js +178 -0
- package/src/legacy-repair.js +1 -1
- package/src/level-agents.js +5 -3
- package/src/memory-mcp-policy.js +1 -1
- package/src/missing-dependencies.js +5 -0
- package/src/model-command.d.ts +29 -0
- package/src/model-command.js +4 -27
- package/src/regla-ordenes-simples.d.ts +2 -0
- package/src/regla-ordenes-simples.js +4 -0
- package/src/review-instructions.js +69 -81
- package/src/safe-paths.js +38 -0
- package/src/setup-apply.js +24 -2
- package/src/setup-plan.js +57 -1
- package/src/setup-state.js +14 -0
- package/src/shell-quote.js +2 -0
- package/src/skill-recommendations.js +101 -28
- package/src/stable-command.js +2 -2
- package/src/stable-install.js +4 -2
- package/src/superpowers.js +0 -7
- package/src/task-document.js +59 -0
- package/src/terminal-text.js +2 -19
- package/src/toolkit-cli.js +63 -8
- package/src/toolkit-setup.js +192 -37
- package/templates/agent-team/README.md +7 -19
- package/bin/agent-task.js +0 -14
- package/bin/agent-toolkit-inbox.js +0 -14
- package/bin/agent-toolkit-mcp.js +0 -17
- package/schemas/agent-client-adapter.schema.json +0 -786
- package/schemas/agent-client-auth-diagnostic.schema.json +0 -801
- package/schemas/agent-client-isolated-variant.schema.json +0 -105
- package/schemas/agent-client-isolated-verification.schema.json +0 -99
- package/schemas/agent-client-managed-preferences-invocation.schema.json +0 -67
- package/schemas/agent-client-managed-preferences.schema.json +0 -63
- package/schemas/agent-client-native-diagnostics.schema.json +0 -85
- package/schemas/agent-client-native-evaluation.schema.json +0 -171
- package/schemas/agent-client-native-preflight.schema.json +0 -90
- package/schemas/agent-client-output.schema.json +0 -551
- package/schemas/agent-client-runtime-fixture.schema.json +0 -90
- package/schemas/agent-client-runtime-local.schema.json +0 -95
- package/schemas/agent-client-runtime.schema.json +0 -1288
- package/schemas/agent-client-selective-config.schema.json +0 -77
- package/schemas/agent-client-supervised-local.schema.json +0 -135
- package/schemas/agent-client-supervised.schema.json +0 -186
- package/schemas/agent-task-approvals.schema.json +0 -362
- package/schemas/agent-task-prepare.schema.json +0 -1324
- package/schemas/agent-task-verify.schema.json +0 -198
- package/schemas/task-workflow-plan-output.schema.json +0 -35
- package/skills/revisar/SKILL.md +0 -51
- package/src/claude-code-runner.js +0 -642
- package/src/client-adapter-plan.js +0 -271
- package/src/client-auth-diagnostic-parser.js +0 -211
- package/src/client-auth-diagnostic.js +0 -257
- package/src/client-isolated-variant.js +0 -106
- package/src/client-isolated-verification.js +0 -130
- package/src/client-local-platform.js +0 -14
- package/src/client-managed-preferences-invocation.js +0 -209
- package/src/client-managed-preferences.js +0 -78
- package/src/client-native-access.js +0 -134
- package/src/client-native-diagnostics.js +0 -253
- package/src/client-native-evaluation.js +0 -106
- package/src/client-native-preflight-files.js +0 -68
- package/src/client-native-preflight.js +0 -95
- package/src/client-output-parser.js +0 -278
- package/src/client-runtime-admission.js +0 -80
- package/src/client-runtime-coordinator.js +0 -70
- package/src/client-runtime-core.js +0 -92
- package/src/client-runtime-fixture-permit.js +0 -20
- package/src/client-runtime-fixture-protocol.js +0 -39
- package/src/client-runtime-state.js +0 -67
- package/src/client-runtime-store-files.js +0 -91
- package/src/client-runtime-store.js +0 -239
- package/src/client-runtime-supervisor.js +0 -146
- package/src/client-selective-config.js +0 -195
- package/src/client-selective-files.js +0 -126
- package/src/client-supervised-codes.js +0 -32
- package/src/client-supervised-contract.js +0 -52
- package/src/client-supervised-coordinator.js +0 -36
- package/src/client-supervised-permit.js +0 -20
- package/src/client-supervised-protocol.js +0 -37
- package/src/client-supervised-store.js +0 -167
- package/src/client-supervised-supervisor.js +0 -167
- package/src/client-supervised.js +0 -160
- package/src/codex-cli-runner.js +0 -358
- package/src/codex-delivery.js +0 -101
- package/src/memory-connection-artifacts.js +0 -192
- package/src/memory-connection-descriptor.js +0 -158
- package/src/memory-connection-diagnostic.js +0 -177
- package/src/memory-connection-files.js +0 -191
- package/src/memory-connection-manifest.js +0 -118
- package/src/memory-connection-package.js +0 -176
- package/src/memory-connection-plan.js +0 -217
- package/src/memory-connection-skill.js +0 -211
- package/src/memory-connection-toml.js +0 -153
- package/src/native/managed-preferences.c +0 -100
- package/src/native/managed-preferences.h +0 -17
- package/src/package-lock-path.js +0 -13
- package/src/peer-handoff.js +0 -27
- package/src/peer-inbox-cli.js +0 -211
- package/src/peer-review-mcp.js +0 -210
- package/src/peer-review-store.js +0 -532
- package/src/review-policy.js +0 -35
- package/src/revision-adapters.js +0 -158
- package/src/revision-context.js +0 -86
- package/src/revision-isolation.js +0 -222
- package/src/revision-process.js +0 -103
- package/src/revision-provenance.js +0 -89
- package/src/revision-snapshot.js +0 -120
- package/src/revision.js +0 -242
- package/src/runtime-fixtures/runtime-supervisor/child.cjs +0 -3
- package/src/runtime-fixtures/runtime-supervisor/fixture.cjs +0 -49
- package/src/runtime-fixtures/supervised/child.cjs +0 -3
- package/src/runtime-fixtures/supervised/fixture.cjs +0 -47
- package/src/task-approvals.js +0 -367
- package/src/task-cli.js +0 -79
- package/src/task-external-verifier.js +0 -584
- package/src/task-prepare-files.js +0 -115
- package/src/task-prepare.js +0 -180
- package/src/task-verify-cli.js +0 -67
- package/src/task-verify-files.js +0 -188
- package/src/task-verify.js +0 -118
- package/src/task-workflow-mcp.js +0 -544
- package/src/task-workflow-store.js +0 -254
- package/src/toolkit-commands-guide.js +0 -115
|
@@ -1,801 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-toolkit.local/schemas/agent-client-auth-diagnostic.schema.json",
|
|
4
|
-
"$defs": {
|
|
5
|
-
"parserLimits": {
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": [
|
|
9
|
-
"maxBytes",
|
|
10
|
-
"blockBytes",
|
|
11
|
-
"maxDepth",
|
|
12
|
-
"maxNodes",
|
|
13
|
-
"maxKeyBytes",
|
|
14
|
-
"maxKeys"
|
|
15
|
-
],
|
|
16
|
-
"properties": {
|
|
17
|
-
"maxBytes": {
|
|
18
|
-
"type": "integer",
|
|
19
|
-
"minimum": 1,
|
|
20
|
-
"maximum": 32768
|
|
21
|
-
},
|
|
22
|
-
"blockBytes": {
|
|
23
|
-
"type": "integer",
|
|
24
|
-
"minimum": 1,
|
|
25
|
-
"maximum": 32768
|
|
26
|
-
},
|
|
27
|
-
"maxDepth": {
|
|
28
|
-
"type": "integer",
|
|
29
|
-
"minimum": 1,
|
|
30
|
-
"maximum": 32
|
|
31
|
-
},
|
|
32
|
-
"maxNodes": {
|
|
33
|
-
"type": "integer",
|
|
34
|
-
"minimum": 1,
|
|
35
|
-
"maximum": 20000
|
|
36
|
-
},
|
|
37
|
-
"maxKeyBytes": {
|
|
38
|
-
"type": "integer",
|
|
39
|
-
"minimum": 1,
|
|
40
|
-
"maximum": 256
|
|
41
|
-
},
|
|
42
|
-
"maxKeys": {
|
|
43
|
-
"type": "integer",
|
|
44
|
-
"minimum": 1,
|
|
45
|
-
"maximum": 4096
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"projection": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"additionalProperties": false,
|
|
52
|
-
"required": [
|
|
53
|
-
"loggedIn",
|
|
54
|
-
"authMethod",
|
|
55
|
-
"subscriptionType",
|
|
56
|
-
"classification"
|
|
57
|
-
],
|
|
58
|
-
"properties": {
|
|
59
|
-
"loggedIn": {
|
|
60
|
-
"type": "boolean"
|
|
61
|
-
},
|
|
62
|
-
"authMethod": {
|
|
63
|
-
"enum": [
|
|
64
|
-
"none",
|
|
65
|
-
"claude.ai",
|
|
66
|
-
"oauth_token",
|
|
67
|
-
"api_key",
|
|
68
|
-
"api_key_helper",
|
|
69
|
-
"third_party"
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"subscriptionType": {
|
|
73
|
-
"enum": [
|
|
74
|
-
"pro",
|
|
75
|
-
"max",
|
|
76
|
-
"team",
|
|
77
|
-
"enterprise",
|
|
78
|
-
"free",
|
|
79
|
-
null
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"classification": {
|
|
83
|
-
"enum": [
|
|
84
|
-
"compatible-declared",
|
|
85
|
-
"signed-out",
|
|
86
|
-
"incompatible",
|
|
87
|
-
"unresolved"
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"stats": {
|
|
93
|
-
"type": "object",
|
|
94
|
-
"additionalProperties": false,
|
|
95
|
-
"required": [
|
|
96
|
-
"bytes",
|
|
97
|
-
"nodes",
|
|
98
|
-
"keys",
|
|
99
|
-
"peakDepth",
|
|
100
|
-
"peakKeyDigests",
|
|
101
|
-
"retainedRawBytes",
|
|
102
|
-
"retainedUnselectedValueTextBytes",
|
|
103
|
-
"retainedApprovedScalarCount"
|
|
104
|
-
],
|
|
105
|
-
"properties": {
|
|
106
|
-
"bytes": {
|
|
107
|
-
"type": "integer",
|
|
108
|
-
"minimum": 0,
|
|
109
|
-
"maximum": 9007199254740991
|
|
110
|
-
},
|
|
111
|
-
"nodes": {
|
|
112
|
-
"type": "integer",
|
|
113
|
-
"minimum": 0,
|
|
114
|
-
"maximum": 9007199254740991
|
|
115
|
-
},
|
|
116
|
-
"keys": {
|
|
117
|
-
"type": "integer",
|
|
118
|
-
"minimum": 0,
|
|
119
|
-
"maximum": 9007199254740991
|
|
120
|
-
},
|
|
121
|
-
"peakDepth": {
|
|
122
|
-
"type": "integer",
|
|
123
|
-
"minimum": 0,
|
|
124
|
-
"maximum": 9007199254740991
|
|
125
|
-
},
|
|
126
|
-
"peakKeyDigests": {
|
|
127
|
-
"type": "integer",
|
|
128
|
-
"minimum": 0,
|
|
129
|
-
"maximum": 9007199254740991
|
|
130
|
-
},
|
|
131
|
-
"retainedRawBytes": {
|
|
132
|
-
"const": 0
|
|
133
|
-
},
|
|
134
|
-
"retainedUnselectedValueTextBytes": {
|
|
135
|
-
"const": 0
|
|
136
|
-
},
|
|
137
|
-
"retainedApprovedScalarCount": {
|
|
138
|
-
"type": "integer",
|
|
139
|
-
"minimum": 0,
|
|
140
|
-
"maximum": 3
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"parserReport": {
|
|
145
|
-
"type": "object",
|
|
146
|
-
"additionalProperties": false,
|
|
147
|
-
"required": [
|
|
148
|
-
"scope",
|
|
149
|
-
"state",
|
|
150
|
-
"projection",
|
|
151
|
-
"stats",
|
|
152
|
-
"reason",
|
|
153
|
-
"nativeExecuted",
|
|
154
|
-
"inferenceRequested",
|
|
155
|
-
"runtimeReady",
|
|
156
|
-
"verifiedAdmission",
|
|
157
|
-
"externalBillingVerified"
|
|
158
|
-
],
|
|
159
|
-
"properties": {
|
|
160
|
-
"scope": {
|
|
161
|
-
"const": "auth-diagnostic-provided-bytes"
|
|
162
|
-
},
|
|
163
|
-
"state": {
|
|
164
|
-
"enum": [
|
|
165
|
-
"incomplete",
|
|
166
|
-
"invalid",
|
|
167
|
-
"observed"
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
|
-
"projection": {
|
|
171
|
-
"anyOf": [
|
|
172
|
-
{
|
|
173
|
-
"$ref": "#/$defs/projection"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"type": "null"
|
|
177
|
-
}
|
|
178
|
-
]
|
|
179
|
-
},
|
|
180
|
-
"stats": {
|
|
181
|
-
"$ref": "#/$defs/stats"
|
|
182
|
-
},
|
|
183
|
-
"reason": {
|
|
184
|
-
"enum": [
|
|
185
|
-
"auth-observed",
|
|
186
|
-
"auth-incomplete",
|
|
187
|
-
"auth-node-limit",
|
|
188
|
-
"auth-root-object-required",
|
|
189
|
-
"auth-invalid-json",
|
|
190
|
-
"auth-invalid-type",
|
|
191
|
-
"auth-depth-limit",
|
|
192
|
-
"auth-key-bytes-limit",
|
|
193
|
-
"auth-invalid-enum",
|
|
194
|
-
"auth-invalid-unicode",
|
|
195
|
-
"auth-duplicate-key",
|
|
196
|
-
"auth-key-limit",
|
|
197
|
-
"auth-invalid-utf8",
|
|
198
|
-
"auth-block-invalid",
|
|
199
|
-
"auth-byte-limit",
|
|
200
|
-
"auth-closed",
|
|
201
|
-
"auth-truncated",
|
|
202
|
-
"auth-required-field",
|
|
203
|
-
"auth-exit-mismatch",
|
|
204
|
-
"auth-aborted"
|
|
205
|
-
]
|
|
206
|
-
},
|
|
207
|
-
"nativeExecuted": {
|
|
208
|
-
"const": false
|
|
209
|
-
},
|
|
210
|
-
"inferenceRequested": {
|
|
211
|
-
"const": false
|
|
212
|
-
},
|
|
213
|
-
"runtimeReady": {
|
|
214
|
-
"const": false
|
|
215
|
-
},
|
|
216
|
-
"verifiedAdmission": {
|
|
217
|
-
"const": false
|
|
218
|
-
},
|
|
219
|
-
"externalBillingVerified": {
|
|
220
|
-
"const": false
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"allOf": [
|
|
224
|
-
{
|
|
225
|
-
"if": {
|
|
226
|
-
"properties": {
|
|
227
|
-
"state": {
|
|
228
|
-
"const": "observed"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"then": {
|
|
233
|
-
"properties": {
|
|
234
|
-
"projection": {
|
|
235
|
-
"$ref": "#/$defs/projection"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"else": {
|
|
240
|
-
"properties": {
|
|
241
|
-
"projection": {
|
|
242
|
-
"type": "null"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
]
|
|
248
|
-
},
|
|
249
|
-
"pin": {
|
|
250
|
-
"type": "object",
|
|
251
|
-
"additionalProperties": false,
|
|
252
|
-
"required": [
|
|
253
|
-
"path",
|
|
254
|
-
"dev",
|
|
255
|
-
"ino",
|
|
256
|
-
"uid",
|
|
257
|
-
"mode",
|
|
258
|
-
"size",
|
|
259
|
-
"mtimeMs",
|
|
260
|
-
"ctimeMs",
|
|
261
|
-
"sha256"
|
|
262
|
-
],
|
|
263
|
-
"properties": {
|
|
264
|
-
"path": {
|
|
265
|
-
"type": "string",
|
|
266
|
-
"minLength": 1,
|
|
267
|
-
"maxLength": 4096
|
|
268
|
-
},
|
|
269
|
-
"dev": {
|
|
270
|
-
"type": "integer",
|
|
271
|
-
"minimum": 0,
|
|
272
|
-
"maximum": 9007199254740991
|
|
273
|
-
},
|
|
274
|
-
"ino": {
|
|
275
|
-
"type": "integer",
|
|
276
|
-
"minimum": 0,
|
|
277
|
-
"maximum": 9007199254740991
|
|
278
|
-
},
|
|
279
|
-
"uid": {
|
|
280
|
-
"type": "integer",
|
|
281
|
-
"minimum": 0,
|
|
282
|
-
"maximum": 9007199254740991
|
|
283
|
-
},
|
|
284
|
-
"mode": {
|
|
285
|
-
"type": "integer",
|
|
286
|
-
"minimum": 0,
|
|
287
|
-
"maximum": 4095
|
|
288
|
-
},
|
|
289
|
-
"size": {
|
|
290
|
-
"type": "integer",
|
|
291
|
-
"minimum": 1,
|
|
292
|
-
"maximum": 536870912
|
|
293
|
-
},
|
|
294
|
-
"mtimeMs": {
|
|
295
|
-
"type": "number",
|
|
296
|
-
"minimum": 0
|
|
297
|
-
},
|
|
298
|
-
"ctimeMs": {
|
|
299
|
-
"type": "number",
|
|
300
|
-
"minimum": 0
|
|
301
|
-
},
|
|
302
|
-
"sha256": {
|
|
303
|
-
"type": "string",
|
|
304
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
"link": {
|
|
309
|
-
"type": "object",
|
|
310
|
-
"additionalProperties": false,
|
|
311
|
-
"required": [
|
|
312
|
-
"path",
|
|
313
|
-
"dev",
|
|
314
|
-
"ino",
|
|
315
|
-
"uid",
|
|
316
|
-
"mode",
|
|
317
|
-
"size",
|
|
318
|
-
"mtimeMs",
|
|
319
|
-
"ctimeMs"
|
|
320
|
-
],
|
|
321
|
-
"properties": {
|
|
322
|
-
"path": {
|
|
323
|
-
"type": "string",
|
|
324
|
-
"minLength": 1,
|
|
325
|
-
"maxLength": 4096
|
|
326
|
-
},
|
|
327
|
-
"dev": {
|
|
328
|
-
"type": "integer",
|
|
329
|
-
"minimum": 0,
|
|
330
|
-
"maximum": 9007199254740991
|
|
331
|
-
},
|
|
332
|
-
"ino": {
|
|
333
|
-
"type": "integer",
|
|
334
|
-
"minimum": 0,
|
|
335
|
-
"maximum": 9007199254740991
|
|
336
|
-
},
|
|
337
|
-
"uid": {
|
|
338
|
-
"type": "integer",
|
|
339
|
-
"minimum": 0,
|
|
340
|
-
"maximum": 9007199254740991
|
|
341
|
-
},
|
|
342
|
-
"mode": {
|
|
343
|
-
"type": "integer",
|
|
344
|
-
"minimum": 0,
|
|
345
|
-
"maximum": 4095
|
|
346
|
-
},
|
|
347
|
-
"size": {
|
|
348
|
-
"type": "integer",
|
|
349
|
-
"minimum": 0,
|
|
350
|
-
"maximum": 9007199254740991
|
|
351
|
-
},
|
|
352
|
-
"mtimeMs": {
|
|
353
|
-
"type": "number",
|
|
354
|
-
"minimum": 0
|
|
355
|
-
},
|
|
356
|
-
"ctimeMs": {
|
|
357
|
-
"type": "number",
|
|
358
|
-
"minimum": 0
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
"parent": {
|
|
363
|
-
"type": "object",
|
|
364
|
-
"additionalProperties": false,
|
|
365
|
-
"required": [
|
|
366
|
-
"path",
|
|
367
|
-
"dev",
|
|
368
|
-
"ino",
|
|
369
|
-
"uid",
|
|
370
|
-
"mode"
|
|
371
|
-
],
|
|
372
|
-
"properties": {
|
|
373
|
-
"path": {
|
|
374
|
-
"type": "string",
|
|
375
|
-
"minLength": 1,
|
|
376
|
-
"maxLength": 4096
|
|
377
|
-
},
|
|
378
|
-
"dev": {
|
|
379
|
-
"type": "integer",
|
|
380
|
-
"minimum": 0,
|
|
381
|
-
"maximum": 9007199254740991
|
|
382
|
-
},
|
|
383
|
-
"ino": {
|
|
384
|
-
"type": "integer",
|
|
385
|
-
"minimum": 0,
|
|
386
|
-
"maximum": 9007199254740991
|
|
387
|
-
},
|
|
388
|
-
"uid": {
|
|
389
|
-
"type": "integer",
|
|
390
|
-
"minimum": 0,
|
|
391
|
-
"maximum": 9007199254740991
|
|
392
|
-
},
|
|
393
|
-
"mode": {
|
|
394
|
-
"const": 448
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
"review": {
|
|
399
|
-
"type": "object",
|
|
400
|
-
"additionalProperties": false,
|
|
401
|
-
"required": [
|
|
402
|
-
"state",
|
|
403
|
-
"bindingSha256",
|
|
404
|
-
"evidenceSha256"
|
|
405
|
-
],
|
|
406
|
-
"properties": {
|
|
407
|
-
"state": {
|
|
408
|
-
"enum": [
|
|
409
|
-
"pending",
|
|
410
|
-
"rejected",
|
|
411
|
-
"reviewed"
|
|
412
|
-
]
|
|
413
|
-
},
|
|
414
|
-
"bindingSha256": {
|
|
415
|
-
"type": "string",
|
|
416
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
417
|
-
},
|
|
418
|
-
"evidenceSha256": {
|
|
419
|
-
"type": "string",
|
|
420
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
},
|
|
424
|
-
"startupReview": {
|
|
425
|
-
"type": "object",
|
|
426
|
-
"additionalProperties": false,
|
|
427
|
-
"required": [
|
|
428
|
-
"state",
|
|
429
|
-
"bindingSha256",
|
|
430
|
-
"evidenceSha256",
|
|
431
|
-
"effectsEnumerated",
|
|
432
|
-
"unresolvedEffects"
|
|
433
|
-
],
|
|
434
|
-
"properties": {
|
|
435
|
-
"state": {
|
|
436
|
-
"enum": [
|
|
437
|
-
"pending",
|
|
438
|
-
"rejected",
|
|
439
|
-
"reviewed"
|
|
440
|
-
]
|
|
441
|
-
},
|
|
442
|
-
"bindingSha256": {
|
|
443
|
-
"type": "string",
|
|
444
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
445
|
-
},
|
|
446
|
-
"evidenceSha256": {
|
|
447
|
-
"type": "string",
|
|
448
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
449
|
-
},
|
|
450
|
-
"effectsEnumerated": {
|
|
451
|
-
"type": "boolean"
|
|
452
|
-
},
|
|
453
|
-
"unresolvedEffects": {
|
|
454
|
-
"type": "boolean"
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
"limits": {
|
|
459
|
-
"type": "object",
|
|
460
|
-
"additionalProperties": false,
|
|
461
|
-
"required": [
|
|
462
|
-
"processTimeoutMs",
|
|
463
|
-
"totalTimeoutMs",
|
|
464
|
-
"graceMs",
|
|
465
|
-
"confirmationMs",
|
|
466
|
-
"maxOutputBytes",
|
|
467
|
-
"maxErrorBytes",
|
|
468
|
-
"permitLifetimeMs"
|
|
469
|
-
],
|
|
470
|
-
"properties": {
|
|
471
|
-
"processTimeoutMs": {
|
|
472
|
-
"type": "integer",
|
|
473
|
-
"minimum": 25,
|
|
474
|
-
"maximum": 15000
|
|
475
|
-
},
|
|
476
|
-
"totalTimeoutMs": {
|
|
477
|
-
"type": "integer",
|
|
478
|
-
"minimum": 25,
|
|
479
|
-
"maximum": 90000
|
|
480
|
-
},
|
|
481
|
-
"graceMs": {
|
|
482
|
-
"type": "integer",
|
|
483
|
-
"minimum": 1,
|
|
484
|
-
"maximum": 1000
|
|
485
|
-
},
|
|
486
|
-
"confirmationMs": {
|
|
487
|
-
"type": "integer",
|
|
488
|
-
"minimum": 1,
|
|
489
|
-
"maximum": 1000
|
|
490
|
-
},
|
|
491
|
-
"maxOutputBytes": {
|
|
492
|
-
"type": "integer",
|
|
493
|
-
"minimum": 1,
|
|
494
|
-
"maximum": 32768
|
|
495
|
-
},
|
|
496
|
-
"maxErrorBytes": {
|
|
497
|
-
"type": "integer",
|
|
498
|
-
"minimum": 1,
|
|
499
|
-
"maximum": 32768
|
|
500
|
-
},
|
|
501
|
-
"permitLifetimeMs": {
|
|
502
|
-
"type": "integer",
|
|
503
|
-
"minimum": 1,
|
|
504
|
-
"maximum": 3600000
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
"configuration": {
|
|
509
|
-
"type": "object",
|
|
510
|
-
"additionalProperties": false,
|
|
511
|
-
"required": [
|
|
512
|
-
"source",
|
|
513
|
-
"recipe",
|
|
514
|
-
"version",
|
|
515
|
-
"artifact",
|
|
516
|
-
"entryLink",
|
|
517
|
-
"workspaceParent",
|
|
518
|
-
"excludedRoots",
|
|
519
|
-
"identityReview",
|
|
520
|
-
"startupReview",
|
|
521
|
-
"limits"
|
|
522
|
-
],
|
|
523
|
-
"properties": {
|
|
524
|
-
"source": {
|
|
525
|
-
"enum": [
|
|
526
|
-
"synthetic-fixture",
|
|
527
|
-
"native-client-declaration"
|
|
528
|
-
]
|
|
529
|
-
},
|
|
530
|
-
"recipe": {
|
|
531
|
-
"const": "auth-status-v1"
|
|
532
|
-
},
|
|
533
|
-
"version": {
|
|
534
|
-
"type": "string",
|
|
535
|
-
"minLength": 1,
|
|
536
|
-
"maxLength": 64,
|
|
537
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9.+_-]*$"
|
|
538
|
-
},
|
|
539
|
-
"artifact": {
|
|
540
|
-
"$ref": "#/$defs/pin"
|
|
541
|
-
},
|
|
542
|
-
"entryLink": {
|
|
543
|
-
"$ref": "#/$defs/link"
|
|
544
|
-
},
|
|
545
|
-
"workspaceParent": {
|
|
546
|
-
"$ref": "#/$defs/parent"
|
|
547
|
-
},
|
|
548
|
-
"excludedRoots": {
|
|
549
|
-
"type": "array",
|
|
550
|
-
"minItems": 1,
|
|
551
|
-
"maxItems": 16,
|
|
552
|
-
"uniqueItems": true,
|
|
553
|
-
"items": {
|
|
554
|
-
"type": "string",
|
|
555
|
-
"minLength": 1,
|
|
556
|
-
"maxLength": 4096
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
"identityReview": {
|
|
560
|
-
"$ref": "#/$defs/review"
|
|
561
|
-
},
|
|
562
|
-
"startupReview": {
|
|
563
|
-
"$ref": "#/$defs/startupReview"
|
|
564
|
-
},
|
|
565
|
-
"limits": {
|
|
566
|
-
"$ref": "#/$defs/limits"
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
"report": {
|
|
571
|
-
"type": "object",
|
|
572
|
-
"additionalProperties": false,
|
|
573
|
-
"required": [
|
|
574
|
-
"scope",
|
|
575
|
-
"source",
|
|
576
|
-
"state",
|
|
577
|
-
"spawnAttempts",
|
|
578
|
-
"processStarted",
|
|
579
|
-
"nativeExecuted",
|
|
580
|
-
"artifactMatchedBefore",
|
|
581
|
-
"artifactMatchedAfter",
|
|
582
|
-
"terminationConfirmed",
|
|
583
|
-
"cleanupRequired",
|
|
584
|
-
"stdoutBytes",
|
|
585
|
-
"stderrBytes",
|
|
586
|
-
"elapsedMs",
|
|
587
|
-
"projection",
|
|
588
|
-
"reasons",
|
|
589
|
-
"inferenceRequested",
|
|
590
|
-
"runtimeReady",
|
|
591
|
-
"verifiedAdmission",
|
|
592
|
-
"externalBillingVerified",
|
|
593
|
-
"remoteCancellationVerified",
|
|
594
|
-
"actualModelCalls"
|
|
595
|
-
],
|
|
596
|
-
"properties": {
|
|
597
|
-
"scope": {
|
|
598
|
-
"const": "auth-status-only"
|
|
599
|
-
},
|
|
600
|
-
"source": {
|
|
601
|
-
"enum": [
|
|
602
|
-
"synthetic-fixture",
|
|
603
|
-
"native-client-declaration"
|
|
604
|
-
]
|
|
605
|
-
},
|
|
606
|
-
"state": {
|
|
607
|
-
"enum": [
|
|
608
|
-
"blocked-before-start",
|
|
609
|
-
"failed",
|
|
610
|
-
"canceled",
|
|
611
|
-
"timed-out",
|
|
612
|
-
"indeterminate",
|
|
613
|
-
"observation-complete"
|
|
614
|
-
]
|
|
615
|
-
},
|
|
616
|
-
"spawnAttempts": {
|
|
617
|
-
"type": "integer",
|
|
618
|
-
"minimum": 0,
|
|
619
|
-
"maximum": 1
|
|
620
|
-
},
|
|
621
|
-
"processStarted": {
|
|
622
|
-
"type": "boolean"
|
|
623
|
-
},
|
|
624
|
-
"nativeExecuted": {
|
|
625
|
-
"type": "boolean"
|
|
626
|
-
},
|
|
627
|
-
"artifactMatchedBefore": {
|
|
628
|
-
"type": "boolean"
|
|
629
|
-
},
|
|
630
|
-
"artifactMatchedAfter": {
|
|
631
|
-
"type": "boolean"
|
|
632
|
-
},
|
|
633
|
-
"terminationConfirmed": {
|
|
634
|
-
"type": "boolean"
|
|
635
|
-
},
|
|
636
|
-
"cleanupRequired": {
|
|
637
|
-
"type": "boolean"
|
|
638
|
-
},
|
|
639
|
-
"stdoutBytes": {
|
|
640
|
-
"type": "integer",
|
|
641
|
-
"minimum": 0,
|
|
642
|
-
"maximum": 9007199254740991
|
|
643
|
-
},
|
|
644
|
-
"stderrBytes": {
|
|
645
|
-
"type": "integer",
|
|
646
|
-
"minimum": 0,
|
|
647
|
-
"maximum": 9007199254740991
|
|
648
|
-
},
|
|
649
|
-
"elapsedMs": {
|
|
650
|
-
"type": "integer",
|
|
651
|
-
"minimum": 0,
|
|
652
|
-
"maximum": 9007199254740991
|
|
653
|
-
},
|
|
654
|
-
"projection": {
|
|
655
|
-
"anyOf": [
|
|
656
|
-
{
|
|
657
|
-
"$ref": "#/$defs/projection"
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
"type": "null"
|
|
661
|
-
}
|
|
662
|
-
]
|
|
663
|
-
},
|
|
664
|
-
"reasons": {
|
|
665
|
-
"type": "array",
|
|
666
|
-
"minItems": 1,
|
|
667
|
-
"maxItems": 32,
|
|
668
|
-
"uniqueItems": true,
|
|
669
|
-
"items": {
|
|
670
|
-
"enum": [
|
|
671
|
-
"auth-permission-rejected",
|
|
672
|
-
"auth-input-forbidden",
|
|
673
|
-
"auth-startup-not-reviewed",
|
|
674
|
-
"auth-canceled",
|
|
675
|
-
"auth-local-check-failed",
|
|
676
|
-
"auth-spawn-failed",
|
|
677
|
-
"auth-signal-unconfirmed",
|
|
678
|
-
"auth-group-unconfirmed",
|
|
679
|
-
"auth-termination-unconfirmed",
|
|
680
|
-
"auth-protocol-invalid",
|
|
681
|
-
"auth-permission-revoked",
|
|
682
|
-
"auth-deadline",
|
|
683
|
-
"auth-descendants-unconfirmed",
|
|
684
|
-
"auth-pid-unavailable",
|
|
685
|
-
"auth-process-error",
|
|
686
|
-
"auth-stream-error",
|
|
687
|
-
"auth-output-limit",
|
|
688
|
-
"auth-output-invalid",
|
|
689
|
-
"auth-stderr-limit",
|
|
690
|
-
"auth-stderr-not-empty",
|
|
691
|
-
"auth-stderr-invalid",
|
|
692
|
-
"auth-workspace-cleanup-required",
|
|
693
|
-
"auth-workspace-retained",
|
|
694
|
-
"auth-observation-complete",
|
|
695
|
-
"auth-failed"
|
|
696
|
-
]
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
"inferenceRequested": {
|
|
700
|
-
"const": false
|
|
701
|
-
},
|
|
702
|
-
"runtimeReady": {
|
|
703
|
-
"const": false
|
|
704
|
-
},
|
|
705
|
-
"verifiedAdmission": {
|
|
706
|
-
"const": false
|
|
707
|
-
},
|
|
708
|
-
"externalBillingVerified": {
|
|
709
|
-
"const": false
|
|
710
|
-
},
|
|
711
|
-
"remoteCancellationVerified": {
|
|
712
|
-
"const": false
|
|
713
|
-
},
|
|
714
|
-
"actualModelCalls": {
|
|
715
|
-
"type": "null"
|
|
716
|
-
}
|
|
717
|
-
},
|
|
718
|
-
"allOf": [
|
|
719
|
-
{
|
|
720
|
-
"if": {
|
|
721
|
-
"properties": {
|
|
722
|
-
"state": {
|
|
723
|
-
"const": "observation-complete"
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
"then": {
|
|
728
|
-
"properties": {
|
|
729
|
-
"projection": {
|
|
730
|
-
"$ref": "#/$defs/projection"
|
|
731
|
-
},
|
|
732
|
-
"processStarted": {
|
|
733
|
-
"const": true
|
|
734
|
-
},
|
|
735
|
-
"artifactMatchedBefore": {
|
|
736
|
-
"const": true
|
|
737
|
-
},
|
|
738
|
-
"artifactMatchedAfter": {
|
|
739
|
-
"const": true
|
|
740
|
-
},
|
|
741
|
-
"terminationConfirmed": {
|
|
742
|
-
"const": true
|
|
743
|
-
},
|
|
744
|
-
"cleanupRequired": {
|
|
745
|
-
"const": false
|
|
746
|
-
},
|
|
747
|
-
"spawnAttempts": {
|
|
748
|
-
"const": 1
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
"else": {
|
|
753
|
-
"properties": {
|
|
754
|
-
"projection": {
|
|
755
|
-
"type": "null"
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"if": {
|
|
762
|
-
"properties": {
|
|
763
|
-
"source": {
|
|
764
|
-
"const": "synthetic-fixture"
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
"then": {
|
|
769
|
-
"properties": {
|
|
770
|
-
"nativeExecuted": {
|
|
771
|
-
"const": false
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"if": {
|
|
778
|
-
"properties": {
|
|
779
|
-
"nativeExecuted": {
|
|
780
|
-
"const": true
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
},
|
|
784
|
-
"then": {
|
|
785
|
-
"properties": {
|
|
786
|
-
"source": {
|
|
787
|
-
"const": "native-client-declaration"
|
|
788
|
-
},
|
|
789
|
-
"processStarted": {
|
|
790
|
-
"const": true
|
|
791
|
-
},
|
|
792
|
-
"spawnAttempts": {
|
|
793
|
-
"const": 1
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
]
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
}
|