create-safest-tools 0.6.0 → 0.7.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 +3 -3
- package/package.json +2 -2
- package/src/config.mjs +2 -2
- package/src/update.mjs +10 -1
- package/template/README.md +2 -2
- package/template/console/README.md +2 -2
- package/template/console/analytics/AnalyticsWorkspace.tsx +49 -36
- package/template/console/analytics/controller.ts +10 -2
- package/template/console/analytics/types.ts +7 -0
- package/template/console/appeals/AppealFollowup.tsx +171 -0
- package/template/console/appeals/AppealWorkspace.tsx +33 -4
- package/template/console/appeals/RecordAppealDialog.tsx +42 -0
- package/template/console/appeals/appeal-corrections.css +29 -0
- package/template/console/appeals/controller.ts +40 -14
- package/template/console/appeals/events.ts +1 -0
- package/template/console/appeals/types.ts +6 -0
- package/template/console/appeals/useAppealDraftGuard.ts +12 -0
- package/template/console/assistant/AssistantWorkspace.tsx +28 -5
- package/template/console/command/CommandCentre.tsx +101 -64
- package/template/console/command/controller.ts +80 -70
- package/template/console/command/events.ts +1 -2
- package/template/console/command/presentation.ts +29 -0
- package/template/console/command/store.ts +4 -4
- package/template/console/command/types.ts +26 -21
- package/template/console/configuration/ConfigurationBuilders.tsx +101 -0
- package/template/console/configuration/ConfigurationDialog.tsx +28 -13
- package/template/console/configuration/ConfigurationWorkspace.tsx +21 -8
- package/template/console/configuration/types.ts +1 -1
- package/template/console/lib/priority.ts +13 -0
- package/template/console/operations/CaseEscalations.tsx +142 -0
- package/template/console/operations/OperationsWorkspace.tsx +2 -0
- package/template/console/operations/case-escalations.css +20 -0
- package/template/console/people/PeopleWorkspace.tsx +8 -4
- package/template/console/people/PersonAccessDialog.tsx +40 -0
- package/template/console/people/types.ts +1 -0
- package/template/console/profile/ProfileWorkspace.tsx +1 -1
- package/template/console/registry/IntegrationSetup.tsx +41 -0
- package/template/console/registry/IntegrationVerification.tsx +54 -0
- package/template/console/registry/RegistryDetailsDialog.tsx +2 -2
- package/template/console/registry/RegistryDialog.tsx +56 -27
- package/template/console/registry/RegistryWorkspace.tsx +10 -5
- package/template/console/registry/integration-verification.css +25 -0
- package/template/console/reports/CaseActions.tsx +81 -0
- package/template/console/reports/CaseContinuity.tsx +27 -0
- package/template/console/reports/CaseNotices.tsx +48 -0
- package/template/console/reports/CaseOwnership.tsx +78 -0
- package/template/console/reports/CaseReviewTasks.tsx +148 -0
- package/template/console/reports/EnrichmentFindings.tsx +148 -0
- package/template/console/reports/InvestigationBrief.tsx +29 -0
- package/template/console/reports/ReportDrawer.tsx +122 -67
- package/template/console/reports/ReportWorkspace.tsx +112 -23
- package/template/console/reports/controller.ts +125 -60
- package/template/console/reports/events.ts +9 -2
- package/template/console/reports/load-inbox.ts +17 -0
- package/template/console/reports/presence-presentation.ts +52 -0
- package/template/console/reports/private-drafts.ts +32 -0
- package/template/console/reports/store.ts +2 -2
- package/template/console/reports/types.ts +50 -2
- package/template/console/reports/use-editing-access.ts +13 -0
- package/template/console/settings/SettingsWorkspace.tsx +1 -1
- package/template/console/shell/WorkspaceShell.tsx +55 -29
- package/template/console/shell/WorkspaceUpdateNotice.tsx +48 -0
- package/template/console/shell/controller.ts +23 -16
- package/template/console/shell/navigation.ts +30 -39
- package/template/console/workflows/CreatePlaybookDialog.tsx +73 -0
- package/template/console/workflows/PlaybookExamples.tsx +160 -0
- package/template/console/workflows/PlaybookFields.tsx +109 -0
- package/template/console/workflows/PlaybookGuideEditor.tsx +125 -0
- package/template/console/workflows/PlaybookHistory.tsx +106 -0
- package/template/console/workflows/WorkflowDialogs.tsx +2 -1
- package/template/console/workflows/WorkflowStudio.tsx +108 -39
- package/template/console/workflows/WorkflowWorkspace.tsx +9 -7
- package/template/console/workflows/templates.ts +3 -3
- package/template/console/workflows/types.ts +11 -0
- package/template/migrations/0001_safest_resolve_baseline.sql +0 -1
- package/template/migrations/0002_playbook_publication_evidence.sql +36 -0
- package/template/migrations/0003_action_confirmation.sql +24 -0
- package/template/migrations/0004_notice_recovery.sql +22 -0
- package/template/migrations/0005_appeal_continuity.sql +17 -0
- package/template/migrations/0006_case_ownership.sql +23 -0
- package/template/migrations/0007_integration_verification.sql +21 -0
- package/template/migrations/0008_case_escalations.sql +135 -0
- package/template/migrations/0009_participant_continuation.sql +61 -0
- package/template/migrations/0010_appeal_corrections.sql +41 -0
- package/template/npm-shrinkwrap.json +8036 -0
- package/template/package.json +31 -22
- package/template/public/_headers +16 -1
- package/template/public/console/auth-shell.js +22151 -14847
- package/template/public/console/release.json +1 -0
- package/template/public/console/workspace-features.css +2 -0
- package/template/public/embed/embed.css +3 -0
- package/template/public/embed/embed.js +19 -1
- package/template/public/embed/index.html +2 -0
- package/template/public/index.html +9 -6
- package/template/public/participant.css +2 -0
- package/template/public/participant.html +13 -0
- package/template/public/participant.js +111 -0
- package/template/public/public-report.js +21 -1
- package/template/public/report/index.html +1 -1
- package/template/public/styles.css +599 -83
- package/template/public/workspace.css +124 -0
- package/template/scripts/reports-plan.mjs +1 -1
- package/template/shared/case-escalations.ts +31 -0
- package/template/shared/integration-progress.ts +27 -0
- package/template/shared/notice-inputs.ts +3 -0
- package/template/shared/playbook-resources.ts +14 -0
- package/template/shared/playbooks.ts +249 -0
- package/template/src/agent-executor.ts +25 -8
- package/template/src/ai-observability.ts +14 -13
- package/template/src/ai-registry-validation.ts +1 -1
- package/template/src/appeal-continuity.ts +75 -0
- package/template/src/appeal-correction-state.ts +46 -0
- package/template/src/appeal-corrections.ts +112 -0
- package/template/src/appeal-decisions.ts +85 -0
- package/template/src/assistant.ts +3 -4
- package/template/src/case-escalations.ts +223 -0
- package/template/src/case-investigator.ts +179 -0
- package/template/src/component-executor.ts +5 -4
- package/template/src/configuration-registry.ts +4 -1
- package/template/src/connection-oauth.ts +12 -3
- package/template/src/database-readiness.ts +14 -0
- package/template/src/human-tasks.ts +152 -55
- package/template/src/index.ts +191 -29
- package/template/src/installation-admin.ts +2 -1
- package/template/src/integration-progress.ts +45 -0
- package/template/src/integration-verification.ts +249 -0
- package/template/src/investigation-evidence.ts +95 -0
- package/template/src/investigator-fixture.ts +30 -0
- package/template/src/notice-delivery.ts +19 -0
- package/template/src/notice-recovery.ts +81 -0
- package/template/src/operator-scope.ts +31 -0
- package/template/src/participant-access.ts +163 -0
- package/template/src/participant-case.ts +87 -0
- package/template/src/participant-customer-access.ts +93 -0
- package/template/src/participant-recovery.ts +43 -0
- package/template/src/participant-routes.ts +67 -0
- package/template/src/platform-registry-validation.ts +25 -2
- package/template/src/platform-registry.ts +10 -7
- package/template/src/playbook-resources.ts +58 -0
- package/template/src/report-admin.ts +9 -2
- package/template/src/report-auth.ts +1 -28
- package/template/src/report-better-auth.ts +18 -6
- package/template/src/report-delivery.ts +149 -148
- package/template/src/report-email-inbound.ts +33 -22
- package/template/src/report-email-template.ts +5 -2
- package/template/src/report-email.ts +7 -30
- package/template/src/report-governance.ts +42 -45
- package/template/src/report-http.ts +37 -2
- package/template/src/report-operations.ts +30 -67
- package/template/src/report-operator-accounts.ts +7 -6
- package/template/src/report-ownership.ts +64 -0
- package/template/src/report-presence.ts +15 -9
- package/template/src/report-repository.ts +16 -7
- package/template/src/report-turnstile.ts +7 -3
- package/template/src/report-types.ts +1 -0
- package/template/src/report-workflow.ts +183 -249
- package/template/src/workflow-actions.ts +248 -156
- package/template/src/workflow-compiler.ts +63 -12
- package/template/src/workflow-dynamic-runtime.ts +20 -9
- package/template/src/workflow-effects.ts +117 -39
- package/template/src/workflow-event-transport.ts +16 -0
- package/template/src/workflow-expressions.ts +30 -0
- package/template/src/workflow-loader-code.ts +21 -0
- package/template/src/workflow-platform-types.ts +3 -0
- package/template/src/workflow-platform-validation.ts +23 -1
- package/template/src/workflow-repository.ts +131 -28
- package/template/src/workflow-runs.ts +61 -13
- package/template/src/workflow-simulator.ts +7 -4
- package/template/src/workspace-governance.ts +6 -4
- package/template/tsconfig.json +1 -0
- package/template/vite.console.config.ts +30 -2
- package/template/worker-configuration.d.ts +3 -2
package/template/package.json
CHANGED
|
@@ -1,51 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safest-resolve-installation",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"safestToolsVersion": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"safestToolsVersion": "0.7.0-resolve",
|
|
5
5
|
"private": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "npm run build:console",
|
|
10
10
|
"build:console": "vite build --config vite.console.config.ts",
|
|
11
|
+
"reports:plan": "node scripts/reports-plan.mjs",
|
|
11
12
|
"secrets:init": "node scripts/reports-secrets.mjs",
|
|
12
13
|
"setup": "npm run build:console && node scripts/reports-deploy.mjs",
|
|
13
14
|
"setup:plan": "node scripts/reports-deploy.mjs --plan",
|
|
14
15
|
"owner:setup": "node scripts/reports-owner-setup.mjs",
|
|
15
16
|
"owner:recover": "node scripts/reports-owner-setup.mjs --recover",
|
|
16
|
-
"upgrade": "npm run backup && npm run upgrade:deploy",
|
|
17
|
-
"upgrade:deploy": "npm run build:console && node scripts/reports-deploy.mjs --upgrade",
|
|
18
|
-
"upgrade:plan": "node scripts/reports-deploy.mjs --upgrade --plan",
|
|
19
17
|
"backup": "node scripts/reports-backup.mjs",
|
|
20
18
|
"backup:plan": "node scripts/reports-backup.mjs --plan",
|
|
21
19
|
"restore:verify": "node scripts/reports-restore.mjs --verify",
|
|
22
20
|
"restore:plan": "node scripts/reports-restore.mjs --plan",
|
|
21
|
+
"upgrade": "npm run backup && npm run upgrade:deploy",
|
|
22
|
+
"upgrade:deploy": "npm run build:console && node scripts/reports-deploy.mjs --upgrade",
|
|
23
|
+
"upgrade:plan": "node scripts/reports-deploy.mjs --upgrade --plan",
|
|
23
24
|
"uninstall:plan": "node scripts/reports-uninstall-plan.mjs",
|
|
24
|
-
"check:browser": "node --check public/console/auth-shell.js && node --check public/widget.js && node --check public/embed/embed.js && node --check public/public-report.js",
|
|
25
|
+
"check:browser": "node --check public/console/auth-shell.js && node --check public/widget.js && node --check public/embed/embed.js && node --check public/public-report.js && node --check public/participant.js",
|
|
25
26
|
"check:console": "tsc --project tsconfig.console.json --noEmit",
|
|
26
|
-
"check": "npm run check:browser && npm run check:console && tsc --noEmit",
|
|
27
27
|
"console:dev": "vite build --config vite.console.config.ts --watch",
|
|
28
|
-
"deploy:dry-run": "npm run build:console && wrangler deploy --dry-run --outdir dist/reports-worker"
|
|
28
|
+
"deploy:dry-run": "npm run build:console && WRANGLER_LOG=none wrangler deploy --dry-run --outdir dist/reports-worker",
|
|
29
|
+
"check": "npm run check:browser && npm run check:console && tsc --noEmit"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@clack/prompts": "
|
|
32
|
-
"@cloudflare/dynamic-workflows": "
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
32
|
+
"@clack/prompts": "1.7.0",
|
|
33
|
+
"@cloudflare/dynamic-workflows": "0.1.1",
|
|
34
|
+
"@cloudflare/think": "0.17.0",
|
|
35
|
+
"agents": "0.22.0",
|
|
36
|
+
"ai": "7.0.93",
|
|
37
|
+
"workers-ai-provider": "4.0.0",
|
|
38
|
+
"zod": "4.5.4",
|
|
39
|
+
"better-auth": "1.7.2",
|
|
40
|
+
"postal-mime": "3.0.0",
|
|
41
|
+
"react": "19.2.8",
|
|
42
|
+
"react-dom": "19.2.8"
|
|
37
43
|
},
|
|
38
44
|
"devDependencies": {
|
|
39
|
-
"@cloudflare/workers-types": "
|
|
40
|
-
"@types/react": "
|
|
41
|
-
"@types/react-dom": "
|
|
42
|
-
"@vitejs/plugin-react": "
|
|
43
|
-
"typescript": "
|
|
44
|
-
"vite": "
|
|
45
|
-
"wrangler": "
|
|
45
|
+
"@cloudflare/workers-types": "5.20260929.1",
|
|
46
|
+
"@types/react": "19.2.18",
|
|
47
|
+
"@types/react-dom": "19.2.5",
|
|
48
|
+
"@vitejs/plugin-react": "6.1.1",
|
|
49
|
+
"typescript": "7.0.2",
|
|
50
|
+
"vite": "8.2.2",
|
|
51
|
+
"wrangler": "4.144.0"
|
|
46
52
|
},
|
|
47
53
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
54
|
+
"node": ">=22.13.0"
|
|
55
|
+
},
|
|
56
|
+
"overrides": {
|
|
57
|
+
"undici": "7.29.1"
|
|
49
58
|
},
|
|
50
59
|
"allowScripts": {
|
|
51
60
|
"esbuild": true,
|
package/template/public/_headers
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Content-Security-Policy: default-src 'self'; script-src 'self' https://challenges.cloudflare.com; style-src 'self' 'unsafe-inline' https:; font-src 'self' data: https:; img-src 'self' data: https:; connect-src 'self' https://challenges.cloudflare.com; frame-src https://challenges.cloudflare.com; object-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'self'
|
|
2
|
+
Content-Security-Policy: default-src 'self'; script-src 'self' https://challenges.cloudflare.com; style-src 'self' 'unsafe-inline' https:; font-src 'self' data: https:; img-src 'self' data: https:; connect-src 'self' https://challenges.cloudflare.com; frame-src 'self' https://challenges.cloudflare.com; object-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'self'
|
|
3
3
|
Referrer-Policy: no-referrer
|
|
4
4
|
X-Content-Type-Options: nosniff
|
|
5
5
|
X-Frame-Options: DENY
|
|
@@ -23,5 +23,20 @@
|
|
|
23
23
|
/styles.css
|
|
24
24
|
Cache-Control: public, max-age=0, must-revalidate
|
|
25
25
|
|
|
26
|
+
/workspace.css
|
|
27
|
+
Cache-Control: public, max-age=0, must-revalidate
|
|
28
|
+
|
|
29
|
+
/console/*
|
|
30
|
+
Cache-Control: public, max-age=0, must-revalidate
|
|
31
|
+
|
|
32
|
+
/console/release.json
|
|
33
|
+
Cache-Control: no-store
|
|
34
|
+
|
|
35
|
+
/index.html
|
|
36
|
+
Cache-Control: public, max-age=0, must-revalidate
|
|
37
|
+
|
|
38
|
+
/brand-tokens.css
|
|
39
|
+
Cache-Control: public, max-age=0, must-revalidate
|
|
40
|
+
|
|
26
41
|
/report/*
|
|
27
42
|
Cache-Control: no-store
|