create-safest-tools 0.3.1 → 0.4.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.
Files changed (71) hide show
  1. package/README.md +8 -4
  2. package/package.json +1 -1
  3. package/src/cli.mjs +52 -7
  4. package/src/config.mjs +26 -5
  5. package/src/scaffold.mjs +4 -1
  6. package/src/update.mjs +295 -0
  7. package/template/README.md +7 -5
  8. package/template/console/reports/ReportDrawer.tsx +51 -6
  9. package/template/console/reports/controller.ts +11 -5
  10. package/template/console/reports/store.ts +1 -1
  11. package/template/console/reports/types.ts +23 -0
  12. package/template/console/shell/WorkspaceShell.tsx +0 -4
  13. package/template/migrations/0001_safest_resolve_baseline.sql +2446 -0
  14. package/template/package.json +4 -3
  15. package/template/public/console/auth-shell.js +4333 -4243
  16. package/template/public/styles.css +19 -17
  17. package/template/reports.config.example.json +2 -1
  18. package/template/reports.schema.json +2 -1
  19. package/template/scripts/reports-auth-onboarding.mjs +6 -5
  20. package/template/scripts/reports-plan.mjs +14 -5
  21. package/template/src/index.ts +12 -3
  22. package/template/src/installation-admin.ts +2 -1
  23. package/template/src/report-ai.ts +30 -5
  24. package/template/src/report-better-auth.ts +5 -14
  25. package/template/src/report-delivery.ts +4 -3
  26. package/template/src/report-email.ts +106 -0
  27. package/template/src/report-workflow.ts +103 -21
  28. package/template/src/workflow-effects.ts +4 -3
  29. package/template/worker-configuration.d.ts +5 -3
  30. package/template/migrations/0001_reports_foundation.sql +0 -444
  31. package/template/migrations/0002_human_report_loop.sql +0 -65
  32. package/template/migrations/0003_delivery_reliability.sql +0 -18
  33. package/template/migrations/0004_public_intake.sql +0 -14
  34. package/template/migrations/0005_operations_visibility.sql +0 -24
  35. package/template/migrations/0006_ai_governance.sql +0 -198
  36. package/template/migrations/0007_ai_release_gates.sql +0 -6
  37. package/template/migrations/0008_retention_analytics_exports.sql +0 -52
  38. package/template/migrations/0009_retention_derived_copies.sql +0 -14
  39. package/template/migrations/0010_ai_quality_controls.sql +0 -26
  40. package/template/migrations/0011_analyst_presence.sql +0 -28
  41. package/template/migrations/0012_queue_policies.sql +0 -87
  42. package/template/migrations/0013_routing_agents.sql +0 -63
  43. package/template/migrations/0014_webhook_enrichments.sql +0 -122
  44. package/template/migrations/0015_queue_owned_ai.sql +0 -55
  45. package/template/migrations/0016_operator_accounts.sql +0 -67
  46. package/template/migrations/0017_operator_profiles_and_recovery.sql +0 -33
  47. package/template/migrations/0018_platform_configuration.sql +0 -382
  48. package/template/migrations/0019_workflow_authoring_runtime.sql +0 -372
  49. package/template/migrations/0020_tasks_findings_assistant_budgets.sql +0 -427
  50. package/template/migrations/0021_abuse_evidence_operations.sql +0 -324
  51. package/template/migrations/0022_workflow_dispatch_operations.sql +0 -42
  52. package/template/migrations/0023_component_connection_execution.sql +0 -75
  53. package/template/migrations/0024_access_runtime_integrity.sql +0 -72
  54. package/template/migrations/0025_installation_timezone.sql +0 -11
  55. package/template/migrations/0026_ai_and_egress_execution_controls.sql +0 -49
  56. package/template/migrations/0027_prompt_and_ai_registry.sql +0 -37
  57. package/template/migrations/0028_step_attempt_ai_provenance.sql +0 -13
  58. package/template/migrations/0029_evidence_fetch_transport.sql +0 -5
  59. package/template/migrations/0030_evidence_dlq_incidents.sql +0 -45
  60. package/template/migrations/0031_shadow_quality_integrity.sql +0 -7
  61. package/template/migrations/0032_action_delivery_outbox.sql +0 -55
  62. package/template/migrations/0033_configuration_and_assistant_drafts.sql +0 -43
  63. package/template/migrations/0034_installation_integrations.sql +0 -31
  64. package/template/migrations/0035_workspace_governance.sql +0 -21
  65. package/template/migrations/0036_published_routing_baseline.sql +0 -15
  66. package/template/migrations/0037_builtin_phishing_specialist.sql +0 -71
  67. package/template/migrations/0038_remove_deprecated_enrichment_runtime.sql +0 -228
  68. package/template/migrations/0039_secure_reporting_channels.sql +0 -45
  69. package/template/migrations/0040_notification_only_reporting.sql +0 -24
  70. package/template/migrations/0041_better_auth_credentials.sql +0 -17
  71. package/template/migrations/0042_owner_setup_tokens.sql +0 -29
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "safest-resolve-installation",
3
- "version": "0.3.1",
4
- "safestToolsVersion": "0.3.1-resolve",
3
+ "version": "0.4.1",
4
+ "safestToolsVersion": "0.4.1-resolve",
5
5
  "private": true,
6
6
  "license": "Apache-2.0",
7
7
  "type": "module",
@@ -13,7 +13,8 @@
13
13
  "setup:plan": "node scripts/reports-deploy.mjs --plan",
14
14
  "owner:setup": "node scripts/reports-owner-setup.mjs",
15
15
  "owner:recover": "node scripts/reports-owner-setup.mjs --recover",
16
- "upgrade": "npm run backup && npm run build:console && node scripts/reports-deploy.mjs --upgrade",
16
+ "upgrade": "npm run backup && npm run upgrade:deploy",
17
+ "upgrade:deploy": "npm run build:console && node scripts/reports-deploy.mjs --upgrade",
17
18
  "upgrade:plan": "node scripts/reports-deploy.mjs --upgrade --plan",
18
19
  "backup": "node scripts/reports-backup.mjs",
19
20
  "backup:plan": "node scripts/reports-backup.mjs --plan",