@taskforcehq/taskforce 0.3.329 → 0.3.332
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 +7 -2
- package/dist/Taskforce.module.css +290 -45
- package/dist/components/features/AiProfilesModule.js +3 -5
- package/dist/components/features/TaskSettings.js +70 -14
- package/dist/components/features/TaskforceAgentsModule.d.ts +1 -2
- package/dist/components/features/TaskforceAgentsModule.js +586 -116
- package/dist/components/features/agentCapabilities/AgentCapabilitiesPrototype.d.ts +2 -2
- package/dist/components/features/agentCapabilities/AgentCapabilitiesPrototype.js +2 -2
- package/dist/components/features/agentConnections/AgentConnectionControl.d.ts +15 -0
- package/dist/components/features/agentConnections/AgentConnectionControl.js +125 -0
- package/dist/components/features/agentConnections/ModelConnectionsPanel.d.ts +18 -0
- package/dist/components/features/agentConnections/ModelConnectionsPanel.js +393 -0
- package/dist/components/features/agentConnections/modelConnectionsApi.d.ts +65 -0
- package/dist/components/features/agentConnections/modelConnectionsApi.js +129 -0
- package/dist/components/features/planning/PlanningModule.js +15 -3
- package/dist/components/features/planning/planningMetadata.d.ts +10 -0
- package/dist/components/features/planning/planningMetadata.js +8 -0
- package/dist/components/features/taskforceAgentAssignments/AgentBehaviorAssignments.js +15 -24
- package/dist/components/features/taskforceAgentEditorModel.d.ts +2 -1
- package/dist/components/features/taskforceAgentEditorModel.js +3 -1
- package/dist/components/features/workflowManager/workflowManagerApi.d.ts +1 -1
- package/dist/components/features/workflowManager/workflowManagerApi.js +3 -0
- package/dist/components/task/TaskWorkflowAssignmentField.js +68 -10
- package/dist/components/views/StandaloneLayout.js +62 -27
- package/dist/components/views/panels/PlanningDrawer.d.ts +2 -1
- package/dist/components/views/panels/PlanningDrawer.js +12 -8
- package/dist/components/views/standalone/modals/SyncStatusModal.d.ts +4 -3
- package/dist/components/views/standalone/modals/SyncStatusModal.js +33 -38
- package/dist/config/envSchema.js +55 -1
- package/dist/core/McpTokenService.d.ts +25 -1
- package/dist/core/McpTokenService.js +106 -15
- package/dist/core/TaskChecklistCommandService.d.ts +27 -0
- package/dist/core/TaskChecklistCommandService.js +83 -5
- package/dist/core/TaskLifecycleCommandService.d.ts +3 -1
- package/dist/core/TaskLifecycleCommandService.js +6 -2
- package/dist/core/Taskforce.d.ts +43 -3
- package/dist/core/Taskforce.js +158 -7
- package/dist/core/types.d.ts +9 -0
- package/dist/documentReviews/DocumentReviewCommentStore.d.ts +2 -0
- package/dist/documentReviews/DocumentReviewCommentStore.js +28 -9
- package/dist/documentReviews/commandService.d.ts +2 -1
- package/dist/documentReviews/commandService.js +6 -3
- package/dist/hooks/sync/orchestratorShared.d.ts +1 -0
- package/dist/hooks/sync/orchestratorShared.js +2 -0
- package/dist/hooks/sync/useLocalSyncCoordinatorSnapshot.d.ts +3 -0
- package/dist/hooks/sync/useLocalSyncCoordinatorSnapshot.js +85 -9
- package/dist/hooks/sync/useSyncStatusControls.d.ts +4 -1
- package/dist/hooks/sync/useSyncStatusControls.js +47 -11
- package/dist/hooks/useSyncOrchestrator.d.ts +3 -0
- package/dist/hooks/useSyncOrchestrator.js +111 -2
- package/dist/hooks/useTaskData.d.ts +31 -1
- package/dist/hooks/useTaskData.js +29 -7
- package/dist/hooks/useTaskMutations.d.ts +3 -1
- package/dist/hooks/useTaskMutations.js +46 -12
- package/dist/hooks/useTaskforce.d.ts +2 -0
- package/dist/hooks/useTaskforce.js +11 -2
- package/dist/mcp/clientRegistry.d.ts +2 -2
- package/dist/mcp/clientRegistry.js +1 -1
- package/dist/mcp/documentAssetRegistrar.js +9 -6
- package/dist/mcp/durableTaskMutationRouter.d.ts +4 -1
- package/dist/mcp/durableTaskMutationRouter.js +10 -0
- package/dist/mcp/durableTaskRelationshipMutationRouter.js +4 -0
- package/dist/mcp/httpProtocolRouting.d.ts +11 -0
- package/dist/mcp/httpProtocolRouting.js +22 -0
- package/dist/mcp/localCliHealth.d.ts +2 -2
- package/dist/mcp/localCliHealth.js +2 -2
- package/dist/mcp/localServiceProxy.d.ts +1 -0
- package/dist/mcp/localServiceProxy.js +530 -68
- package/dist/mcp/planningAttachmentCommandAdapter.d.ts +3 -1
- package/dist/mcp/planningAttachmentCommandAdapter.js +20 -2
- package/dist/mcp/runtime.d.ts +54 -79
- package/dist/mcp/runtime.js +408 -102
- package/dist/mcp/taskPlanningRegistrar.js +25 -6
- package/dist/mcp/toolProfiles.d.ts +2 -0
- package/dist/mcp/toolProfiles.js +11 -0
- package/dist/mcp/toolRegistry.d.ts +1 -0
- package/dist/mcp/toolRegistry.js +9 -8
- package/dist/mcp/workflowExecutionRegistrar.js +4 -4
- package/dist/migrations/taskSchemaMigrations.d.ts +5 -0
- package/dist/migrations/taskSchemaMigrations.js +415 -0
- package/dist/runtime/appGates.d.ts +2 -1
- package/dist/runtime/appGates.js +7 -0
- package/dist/server/buildInfo.d.ts +1 -0
- package/dist/server/buildInfo.js +5 -1
- package/dist/server/cloudMcpCapacityTelemetry.d.ts +68 -0
- package/dist/server/cloudMcpCapacityTelemetry.js +221 -0
- package/dist/server/index.d.ts +3 -0
- package/dist/server/index.js +108 -11
- package/dist/server/localDatabaseIdentity.js +4 -1
- package/dist/server/localServiceLease.js +2 -1
- package/dist/server/localServiceSessions.d.ts +14 -17
- package/dist/server/localServiceSessions.js +308 -94
- package/dist/server/localWorkspaceSyncServerRuntime.js +25 -19
- package/dist/server/routes/admin.d.ts +4 -0
- package/dist/server/routes/admin.js +126 -5
- package/dist/server/routes/agents.d.ts +7 -0
- package/dist/server/routes/agents.js +277 -24
- package/dist/server/routes/billing.js +5 -1
- package/dist/server/routes/durableTaskHttpRouters.d.ts +2 -0
- package/dist/server/routes/executorPhaseAApprovals.d.ts +19 -0
- package/dist/server/routes/executorPhaseAApprovals.js +140 -0
- package/dist/server/routes/executorPhaseAIssuerRedemptions.d.ts +11 -0
- package/dist/server/routes/executorPhaseAIssuerRedemptions.js +24 -0
- package/dist/server/routes/githubReviewEvidence.d.ts +19 -0
- package/dist/server/routes/githubReviewEvidence.js +116 -0
- package/dist/server/routes/localService.d.ts +15 -4
- package/dist/server/routes/localService.js +136 -40
- package/dist/server/routes/modelConnections.d.ts +24 -0
- package/dist/server/routes/modelConnections.js +205 -0
- package/dist/server/routes/shared.d.ts +22 -0
- package/dist/server/routes/shared.js +298 -182
- package/dist/server/routes/sync.js +1 -0
- package/dist/server/routes/syncAuxRoutes.js +5 -1
- package/dist/server/routes/syncPushRoutes.d.ts +1 -0
- package/dist/server/routes/syncPushRoutes.js +1 -0
- package/dist/server/routes/syncV3FeedRoutes.js +10 -1
- package/dist/server/routes/syncV3OperationRoutes.js +35 -9
- package/dist/server/routes/tasks.js +21 -2
- package/dist/server/routes/workflows.js +9 -1
- package/dist/server/routes.js +59 -0
- package/dist/service/localServiceCli.d.ts +2 -2
- package/dist/service/localServiceCli.js +4 -3
- package/dist/services/codexAppServerModelGateway.d.ts +54 -5
- package/dist/services/codexAppServerModelGateway.js +246 -21
- package/dist/services/codexDeviceCodeLoginManager.d.ts +39 -0
- package/dist/services/codexDeviceCodeLoginManager.js +265 -0
- package/dist/services/codexModelProviderConnectionLifecycle.d.ts +8 -0
- package/dist/services/codexModelProviderConnectionLifecycle.js +73 -0
- package/dist/services/executorPhaseAApprovalRuntime.d.ts +14 -0
- package/dist/services/executorPhaseAApprovalRuntime.js +24 -0
- package/dist/services/executorPhaseAApprovalService.d.ts +40 -0
- package/dist/services/executorPhaseAApprovalService.js +609 -0
- package/dist/services/executorPhaseADriftEvaluator.d.ts +78 -0
- package/dist/services/executorPhaseADriftEvaluator.js +93 -0
- package/dist/services/executorPhaseAIssuerCore.d.ts +139 -0
- package/dist/services/executorPhaseAIssuerCore.js +402 -0
- package/dist/services/executorPhaseAIssuerRedemptionService.d.ts +34 -0
- package/dist/services/executorPhaseAIssuerRedemptionService.js +158 -0
- package/dist/services/githubReviewEvidenceRuntime.d.ts +14 -0
- package/dist/services/githubReviewEvidenceRuntime.js +30 -0
- package/dist/services/githubReviewEvidenceService.d.ts +93 -0
- package/dist/services/githubReviewEvidenceService.js +336 -0
- package/dist/services/modelGateway.d.ts +7 -0
- package/dist/services/modelProviderConnectionService.d.ts +71 -0
- package/dist/services/modelProviderConnectionService.js +279 -0
- package/dist/services/modelProviderCredentialHome.d.ts +32 -0
- package/dist/services/modelProviderCredentialHome.js +271 -0
- package/dist/services/ownerScopedModelConnectionGateway.d.ts +12 -0
- package/dist/services/ownerScopedModelConnectionGateway.js +30 -0
- package/dist/services/taskforceAgentConnectionBindingService.d.ts +66 -0
- package/dist/services/taskforceAgentConnectionBindingService.js +185 -0
- package/dist/services/taskforceAgentMcpBridge.d.ts +2 -2
- package/dist/services/taskforceAgentMcpBridge.js +42 -29
- package/dist/shared/adminEdgeProxy.d.ts +5 -0
- package/dist/shared/adminEdgeProxy.js +94 -0
- package/dist/shared/adminProxySessionCookies.d.ts +16 -0
- package/dist/shared/adminProxySessionCookies.js +86 -0
- package/dist/shared/aiProfileColors.d.ts +31 -1
- package/dist/shared/aiProfileColors.js +14 -6
- package/dist/shared/executorPhaseAApprovalGoldenVector.json +269 -0
- package/dist/shared/executorPhaseAApprovalReceipt.d.ts +112 -0
- package/dist/shared/executorPhaseAApprovalReceipt.js +58 -0
- package/dist/shared/executorPhaseAApprovalTrustPolicy.json +10 -0
- package/dist/shared/executorPhaseADriftContracts.d.ts +37 -0
- package/dist/shared/executorPhaseADriftContracts.js +63 -0
- package/dist/shared/executorPhaseAIssuerContracts.d.ts +75 -0
- package/dist/shared/executorPhaseAIssuerContracts.js +90 -0
- package/dist/shared/executorPhaseARunAuthorization.d.ts +120 -0
- package/dist/shared/executorPhaseARunAuthorization.js +232 -0
- package/dist/shared/executorPhaseASchemaValidation.d.ts +7 -0
- package/dist/shared/executorPhaseASchemaValidation.js +53 -0
- package/dist/shared/executorPhaseASchemas/approval-receipt.schema.json +106 -0
- package/dist/shared/executorPhaseASchemas/drift-attestation.schema.json +54 -0
- package/dist/shared/executorPhaseASchemas/drift-request.schema.json +47 -0
- package/dist/shared/executorPhaseASchemas/foundation-manifest.schema.json +29 -0
- package/dist/shared/executorPhaseASchemas/issuer-audit-record.schema.json +24 -0
- package/dist/shared/executorPhaseASchemas/issuer-proof.schema.json +43 -0
- package/dist/shared/executorPhaseASchemas/issuer-redemption-request.schema.json +18 -0
- package/dist/shared/executorPhaseASchemas/issuer-redemption-response.schema.json +39 -0
- package/dist/shared/executorPhaseASchemas/logical-envelope.schema.json +149 -0
- package/dist/shared/executorPhaseASchemas/preflight-report.schema.json +216 -0
- package/dist/shared/executorPhaseASchemas/run-capability.schema.json +111 -0
- package/dist/shared/executorPhaseASchemas/sender-proof.schema.json +37 -0
- package/dist/shared/executorPhaseASchemas/workload-grant.schema.json +68 -0
- package/dist/shared/executorPhaseASchemas/workload-jwt-claims.schema.json +67 -0
- package/dist/shared/executorPhaseATiming.d.ts +1 -0
- package/dist/shared/executorPhaseATiming.js +1 -0
- package/dist/shared/planningIdentity.js +1 -1
- package/dist/shared/productLogoKeys.d.ts +2 -0
- package/dist/shared/productLogoKeys.js +18 -0
- package/dist/shared/taskforceAgentDefinition.d.ts +0 -1
- package/dist/shared/taskforceAgentDefinition.js +6 -9
- package/dist/shared/taskforceAgentModels.js +7 -3
- package/dist/shared/userFeatureGrants.d.ts +4 -0
- package/dist/shared/userFeatureGrants.js +7 -0
- package/dist/storage/executorPhaseAApprovalReceiptStore.d.ts +37 -0
- package/dist/storage/executorPhaseAApprovalReceiptStore.js +81 -0
- package/dist/storage/executorPhaseARunAuthorizationStore.d.ts +103 -0
- package/dist/storage/executorPhaseARunAuthorizationStore.js +492 -0
- package/dist/storage/githubReviewEvidenceInstallationStore.d.ts +26 -0
- package/dist/storage/githubReviewEvidenceInstallationStore.js +89 -0
- package/dist/storage/modelProviderConnectionStore.d.ts +99 -0
- package/dist/storage/modelProviderConnectionStore.js +446 -0
- package/dist/storage/postgresAdapter.d.ts +4 -0
- package/dist/storage/postgresAdapter.js +14 -1
- package/dist/storage/postgresRequestDiagnostics.d.ts +9 -1
- package/dist/storage/postgresRequestDiagnostics.js +15 -2
- package/dist/storage/postgresWorker.js +20 -2
- package/dist/storage/postgresWorkerProtocol.d.ts +7 -0
- package/dist/storage/taskforceAgentConnectionBindingStore.d.ts +31 -0
- package/dist/storage/taskforceAgentConnectionBindingStore.js +84 -0
- package/dist/storage/workflowStore.d.ts +2 -0
- package/dist/storage/workflowStore.js +39 -2
- package/dist/sync/cloudSyncApi.js +4 -2
- package/dist/sync/collaborationSyncState.js +5 -0
- package/dist/sync/coordinator/localSyncExecutionPermitStore.js +60 -29
- package/dist/sync/coordinator/localWorkspaceSyncPendingV2PushProgress.d.ts +10 -0
- package/dist/sync/coordinator/localWorkspaceSyncPendingV2PushProgress.js +29 -0
- package/dist/sync/coordinator/localWorkspaceSyncRunner.d.ts +3 -1
- package/dist/sync/coordinator/localWorkspaceSyncRunner.js +18 -0
- package/dist/sync/coordinator/localWorkspaceSyncRunnerState.d.ts +15 -1
- package/dist/sync/coordinator/localWorkspaceSyncRunnerState.js +99 -2
- package/dist/sync/coordinator/workspaceSyncCredentialBroker.d.ts +1 -0
- package/dist/sync/coordinator/workspaceSyncCredentialBroker.js +33 -4
- package/dist/sync/engine/workspaceSyncContentLifecycleAdapter.d.ts +2 -1
- package/dist/sync/engine/workspaceSyncContentVersionStore.d.ts +38 -0
- package/dist/sync/engine/workspaceSyncContentVersionStore.js +50 -1
- package/dist/sync/engine/workspaceSyncEngineLifecyclePolicy.js +6 -6
- package/dist/sync/engine/workspaceSyncEnginePushCompletion.d.ts +14 -0
- package/dist/sync/engine/workspaceSyncEnginePushCompletion.js +84 -0
- package/dist/sync/engine/workspaceSyncEngineRecovery.js +1 -0
- package/dist/sync/engine/workspaceSyncEngineRuntime.d.ts +1 -0
- package/dist/sync/engine/workspaceSyncEngineRuntime.js +1 -0
- package/dist/sync/engine/workspaceSyncEngineServerRunnerOperations.js +112 -38
- package/dist/sync/engine/workspaceSyncEngineServerSnapshotReader.js +6 -0
- package/dist/sync/engine/workspaceSyncEngineTransfers.js +3 -1
- package/dist/sync/engine/workspaceSyncV2ChangeDispatcher.d.ts +1 -0
- package/dist/sync/engine/workspaceSyncV2ChangeDispatcher.js +31 -0
- package/dist/sync/syncApplyHandlers.d.ts +3 -0
- package/dist/sync/syncApplyHandlers.js +81 -15
- package/dist/sync/syncService.d.ts +15 -0
- package/dist/sync/syncService.js +83 -18
- package/dist/sync/taskforceAgentSyncAuthorization.d.ts +16 -0
- package/dist/sync/taskforceAgentSyncAuthorization.js +20 -0
- package/dist/sync/v3/combinedFeedCapability.js +4 -0
- package/dist/sync/v3/durableInitiativeMutationRouter.js +18 -10
- package/dist/sync/v3/durableOperationReplay.d.ts +14 -0
- package/dist/sync/v3/durableOperationReplay.js +18 -0
- package/dist/sync/v3/durableTaskAttachmentLinksMutationRouter.js +3 -0
- package/dist/sync/v3/durableTaskChecklistMutationRouter.d.ts +2 -1
- package/dist/sync/v3/durableTaskChecklistMutationRouter.js +58 -15
- package/dist/sync/v3/durableTaskCommentMutationRouter.js +3 -0
- package/dist/sync/v3/durableTaskHttpRootMutationRouter.d.ts +1 -1
- package/dist/sync/v3/durableTaskHttpRootMutationRouter.js +10 -0
- package/dist/sync/v3/durableTaxonomyMutationRouter.js +5 -0
- package/dist/sync/v3/durableWorkflowRuntimeMutationRouter.d.ts +18 -7
- package/dist/sync/v3/durableWorkflowRuntimeMutationRouter.js +89 -23
- package/dist/sync/v3/durableWorkstreamMutationRouter.js +18 -10
- package/dist/sync/v3/durableWorkstreamTaskOrderMutationRouter.js +16 -5
- package/dist/sync/v3/localOutboxDispatchRuntime.js +2 -2
- package/dist/sync/v3/localOutboxRecoveryPreparationService.js +8 -2
- package/dist/sync/v3/localTaskChecklistOutboxHandler.js +16 -2
- package/dist/sync/v3/localTaskChecklistOutboxService.d.ts +4 -0
- package/dist/sync/v3/localTaskChecklistOutboxService.js +14 -1
- package/dist/sync/v3/localTaskCreateOutboxService.d.ts +3 -1
- package/dist/sync/v3/localTaskCreateOutboxService.js +6 -1
- package/dist/sync/v3/localTaskDeleteOutboxService.js +1 -0
- package/dist/sync/v3/localTaskLifecycleOutboxService.d.ts +2 -1
- package/dist/sync/v3/localTaskLifecycleOutboxService.js +5 -1
- package/dist/sync/v3/localTaskMetadataOutboxService.d.ts +2 -1
- package/dist/sync/v3/localTaskMetadataOutboxService.js +6 -2
- package/dist/sync/v3/localTaskStatusOutboxService.d.ts +10 -1
- package/dist/sync/v3/localTaskStatusOutboxService.js +238 -16
- package/dist/sync/v3/syncDurabilityStore.d.ts +36 -1
- package/dist/sync/v3/syncDurabilityStore.js +202 -8
- package/dist/sync/v3/taskChecklistMutationService.d.ts +11 -0
- package/dist/sync/v3/taskChecklistMutationService.js +44 -1
- package/dist/sync/v3/taskStatusMutationService.d.ts +29 -1
- package/dist/sync/v3/taskStatusMutationService.js +119 -3
- package/dist/sync/v3/workflowAssignmentSync.d.ts +5 -0
- package/dist/sync/v3/workflowAssignmentSync.js +27 -0
- package/dist/sync/v3/workflowRuntimeMutationService.d.ts +5 -0
- package/dist/sync/v3/workflowRuntimeMutationService.js +124 -71
- package/dist/sync/v3/workspaceSyncJournalReader.js +1 -1
- package/dist/sync/v3/workspaceSyncOperationRetentionService.d.ts +16 -0
- package/dist/sync/v3/workspaceSyncOperationRetentionService.js +83 -0
- package/dist/sync/v3/workspaceSyncV3CloudOperationHandler.d.ts +1 -0
- package/dist/sync/v3/workspaceSyncV3CloudOperationHandler.js +9 -2
- package/dist/sync/v3/workspaceSyncV3CombinedLocalApply.js +25 -3
- package/dist/sync/v3/workspaceSyncV3CombinedRepairBaseline.d.ts +7 -0
- package/dist/sync/v3/workspaceSyncV3CombinedRepairBaseline.js +44 -32
- package/dist/sync/v3/workspaceSyncV3CombinedRepairMaterialization.d.ts +9 -5
- package/dist/sync/v3/workspaceSyncV3CombinedRepairMaterialization.js +54 -38
- package/dist/sync/v3/workspaceSyncV3CombinedRepairSnapshot.d.ts +10 -0
- package/dist/sync/v3/workspaceSyncV3CombinedRepairSnapshot.js +70 -31
- package/dist/sync/v3/workspaceSyncV3CombinedWireContract.d.ts +2 -1
- package/dist/sync/v3/workspaceSyncV3CombinedWireContract.js +16 -0
- package/dist/sync/v3/workspaceSyncV3CoverageRegistry.js +6 -0
- package/dist/sync/v3/workspaceSyncV3Feed.d.ts +1 -0
- package/dist/sync/v3/workspaceSyncV3Feed.js +6 -1
- package/dist/sync/v3/workspaceSyncV3NestedTaskProjection.d.ts +2 -0
- package/dist/sync/v3/workspaceSyncV3NestedTaskProjection.js +49 -18
- package/dist/sync/v3/workspaceSyncV3OperationProtocol.d.ts +3 -0
- package/dist/sync/v3/workspaceSyncV3OperatorDiagnostics.d.ts +5 -0
- package/dist/sync/v3/workspaceSyncV3OperatorDiagnostics.js +36 -2
- package/dist/sync/v3/workspaceSyncV3RepairSnapshotRetentionService.d.ts +17 -0
- package/dist/sync/v3/workspaceSyncV3RepairSnapshotRetentionService.js +64 -0
- package/dist/sync/v3/workspaceSyncV3WorkflowRuntimeApply.d.ts +1 -0
- package/dist/sync/v3/workspaceSyncV3WorkflowRuntimeApply.js +50 -5
- package/dist/sync/v3/workspaceSyncV3WorkflowTaskCoverCoverage.d.ts +7 -0
- package/dist/sync/v3/workspaceSyncV3WorkflowTaskCoverCoverage.js +33 -0
- package/dist/sync/v3/workspaceSyncV3WorkflowTaskCoverWireContract.d.ts +7 -0
- package/dist/sync/v3/workspaceSyncV3WorkflowTaskCoverWireContract.js +8 -0
- package/dist/sync/workspaceRepair.d.ts +5 -2
- package/dist/sync/workspaceRepair.js +161 -6
- package/dist/sync/workspaceSyncModel.d.ts +21 -0
- package/dist/sync/workspaceSyncModel.js +35 -7
- package/dist/sync/workspaceSyncState.d.ts +1 -0
- package/dist/sync/workspaceSyncV2SnapshotBuilder.d.ts +6 -0
- package/dist/sync/workspaceSyncV2SnapshotBuilder.js +5 -0
- package/dist/ui/assets/AiIdentityRosterCard-CDMPtnbC.js +1 -0
- package/dist/ui/assets/AiProfilesModule-Cww85C4E.js +1 -0
- package/dist/ui/assets/{AnnotatedAttachmentWorkspace-B68Wg-RV.js → AnnotatedAttachmentWorkspace-Dt9TKYSH.js} +1 -1
- package/dist/ui/assets/{AssetTraySortControl-C8Rztyal.js → AssetTraySortControl-CKgapnxu.js} +1 -1
- package/dist/ui/assets/{ContextAttachmentManager-Cj3c7X9y.js → ContextAttachmentManager-T-cEVcOZ.js} +2 -2
- package/dist/ui/assets/{DocumentWorkspace-B5uvzems.js → DocumentWorkspace-HD4MUjAZ.js} +1 -1
- package/dist/ui/assets/{EntityActivityTimeline-BVFvCB5R.js → EntityActivityTimeline-_V0zfMuh.js} +1 -1
- package/dist/ui/assets/PlanningModule-mTkBygsB.js +1 -0
- package/dist/ui/assets/{PlansPage-AY4cGWco.js → PlansPage-Btiq06VO.js} +1 -1
- package/dist/ui/assets/{TaskContextUpload-DZxTVesW.js → TaskContextUpload-C00NVUpn.js} +1 -1
- package/dist/ui/assets/TaskSettings-Cp-L-4xh.js +12 -0
- package/dist/ui/assets/TaskforceAgentsModule-Coq9-PUp.js +24 -0
- package/dist/ui/assets/TaskforceAgentsModule-b-8R25cJ.css +1 -0
- package/dist/ui/assets/{WorkflowManagerModule-DEr5di_r.js → WorkflowManagerModule-CuqRzMmM.js} +1 -1
- package/dist/ui/assets/index-BZ-hdZSk.css +1 -0
- package/dist/ui/assets/index-DSQINwt9.js +7 -0
- package/dist/ui/assets/{vendor-icons-D9Lpw-j4.js → vendor-icons-Bsq-mcEn.js} +1 -1
- package/dist/ui/branding/logos/letterhead_dark.png +0 -0
- package/dist/ui/branding/logos/letterhead_light.png +0 -0
- package/dist/ui/branding/logos/signature_dark.png +0 -0
- package/dist/ui/branding/logos/signature_light.png +0 -0
- package/dist/ui/index.html +3 -3
- package/dist/utils/aiProfileDefaultLogo.js +16 -48
- package/dist/utils/httpSetCookie.d.ts +1 -0
- package/dist/utils/httpSetCookie.js +4 -1
- package/dist/utils/localRuntimeUrl.d.ts +1 -0
- package/dist/utils/localRuntimeUrl.js +14 -0
- package/dist/utils/productLogoRegistry.d.ts +2 -0
- package/dist/utils/productLogoRegistry.js +36 -0
- package/dist/utils/syncStatusPresentation.d.ts +4 -0
- package/dist/utils/syncStatusPresentation.js +17 -0
- package/dist/utils/taskEvents.d.ts +2 -0
- package/dist/utils/workspaceSyncPresentation.d.ts +1 -1
- package/dist/utils/workspaceSyncPresentation.js +23 -17
- package/package.json +24 -4
- package/dist/ui/assets/AiIdentityRosterCard-BZM4aQnM.js +0 -1
- package/dist/ui/assets/AiProfilesModule-BbAEWtHH.js +0 -1
- package/dist/ui/assets/PlanningModule-B5DWQOGz.js +0 -1
- package/dist/ui/assets/TaskSettings-BeWAuyZj.js +0 -12
- package/dist/ui/assets/TaskforceAgentsModule-BifCYtjR.js +0 -21
- package/dist/ui/assets/TaskforceAgentsModule-D6IC0S7Q.css +0 -1
- package/dist/ui/assets/index-I5zhdtgt.js +0 -7
- package/dist/ui/assets/index-VRFsx3wz.css +0 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-approval-receipt-v3.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["payload", "envelope"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"payload": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": [
|
|
12
|
+
"schema", "receiptId", "receiptKind", "originalCapabilityId", "residualInventorySha256",
|
|
13
|
+
"issuer", "audience", "environment", "workspaceId",
|
|
14
|
+
"taskId", "taskReference", "actorUserId", "runId", "preflightSha256",
|
|
15
|
+
"logicalEnvelopeSha256", "accountId", "readPrincipalArn", "mutationRoles", "roleMapSha256",
|
|
16
|
+
"oidcIssuer", "oidcAudience", "brokerPublicKeySpkiBase64", "brokerKeyFingerprint",
|
|
17
|
+
"region", "availabilityZone", "budgets", "sourceCommit", "approvedAt", "expiresAt",
|
|
18
|
+
"mutationDeadline", "cleanupDeadline"
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"schema": { "const": "taskforce.executor-phase-a-approval-receipt-payload/v3" },
|
|
22
|
+
"receiptId": { "type": "string", "pattern": "^(?:approval-receipt|taskforce-approval)-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
23
|
+
"receiptKind": { "enum": ["main", "cleanup-only"] },
|
|
24
|
+
"originalCapabilityId": { "oneOf": [{ "type": "null" }, { "type": "string", "pattern": "^run-capability-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" }] },
|
|
25
|
+
"residualInventorySha256": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/sha256" }] },
|
|
26
|
+
"issuer": { "type": "string", "pattern": "^https://[A-Za-z0-9.-]+(?::[0-9]+)?$", "maxLength": 240 },
|
|
27
|
+
"audience": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]{2,100}$" },
|
|
28
|
+
"environment": { "const": "performance" },
|
|
29
|
+
"workspaceId": { "const": "workspace-019c771a-b6d7-7bc8-b837-c1133f3ba7a2" },
|
|
30
|
+
"taskId": { "const": "task-62fecb296bbe07ca535b6e6630fc458f" },
|
|
31
|
+
"taskReference": { "const": "T-1653" },
|
|
32
|
+
"actorUserId": { "type": "string", "pattern": "^user-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
33
|
+
"runId": { "type": "string", "pattern": "^phase-a-[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
34
|
+
"preflightSha256": { "$ref": "#/$defs/sha256" },
|
|
35
|
+
"logicalEnvelopeSha256": { "$ref": "#/$defs/sha256" },
|
|
36
|
+
"accountId": { "type": "string", "pattern": "^[0-9]{12}$" },
|
|
37
|
+
"readPrincipalArn": { "$ref": "#/$defs/principalArn" },
|
|
38
|
+
"mutationRoles": { "$ref": "#/$defs/roleMap" },
|
|
39
|
+
"roleMapSha256": { "$ref": "#/$defs/sha256" },
|
|
40
|
+
"oidcIssuer": { "$ref": "#/$defs/httpsIssuer" },
|
|
41
|
+
"oidcAudience": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]{2,100}$" },
|
|
42
|
+
"brokerPublicKeySpkiBase64": { "type": "string", "pattern": "^MCowBQYDK2VwAyEA[A-Za-z0-9+/]{43}=$" },
|
|
43
|
+
"brokerKeyFingerprint": { "$ref": "#/$defs/sha256" },
|
|
44
|
+
"region": { "const": "us-west-2" },
|
|
45
|
+
"availabilityZone": { "type": "string", "pattern": "^us-west-2[a-z]$" },
|
|
46
|
+
"budgets": { "$ref": "#/$defs/budgets" },
|
|
47
|
+
"sourceCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
48
|
+
"approvedAt": { "$ref": "#/$defs/timestamp" },
|
|
49
|
+
"expiresAt": { "$ref": "#/$defs/timestamp" },
|
|
50
|
+
"mutationDeadline": { "$ref": "#/$defs/timestamp" },
|
|
51
|
+
"cleanupDeadline": { "$ref": "#/$defs/timestamp" }
|
|
52
|
+
},
|
|
53
|
+
"allOf": [
|
|
54
|
+
{
|
|
55
|
+
"if": { "properties": { "receiptKind": { "const": "main" } } },
|
|
56
|
+
"then": { "properties": { "originalCapabilityId": { "type": "null" }, "residualInventorySha256": { "type": "null" } } }
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"if": { "properties": { "receiptKind": { "const": "cleanup-only" } } },
|
|
60
|
+
"then": { "properties": {
|
|
61
|
+
"originalCapabilityId": { "type": "string", "pattern": "^run-capability-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
62
|
+
"residualInventorySha256": { "$ref": "#/$defs/sha256" }
|
|
63
|
+
} }
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"envelope": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": ["algorithm", "keyId", "payloadSha256", "signature"],
|
|
71
|
+
"properties": {
|
|
72
|
+
"algorithm": { "const": "Ed25519" },
|
|
73
|
+
"keyId": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,64}$" },
|
|
74
|
+
"payloadSha256": { "$ref": "#/$defs/sha256" },
|
|
75
|
+
"signature": { "type": "string", "pattern": "^[A-Za-z0-9_-]{86}$" }
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"$defs": {
|
|
80
|
+
"timestamp": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:\\.[0-9]{1,3})?Z$" },
|
|
81
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
82
|
+
"principalArn": { "type": "string", "pattern": "^arn:aws:iam::[0-9]{12}:(?:user|role)/[A-Za-z0-9+=,.@_/-]{1,512}$|^arn:aws:sts::[0-9]{12}:assumed-role/[A-Za-z0-9+=,.@_/-]{1,512}$" },
|
|
83
|
+
"roleArn": { "type": "string", "pattern": "^arn:aws:iam::[0-9]{12}:role/[A-Za-z0-9+=,.@_/-]{1,512}$" },
|
|
84
|
+
"httpsIssuer": { "type": "string", "pattern": "^https://[A-Za-z0-9.-]+(?::[0-9]+)?(?:/[A-Za-z0-9._~!$&'()*+,;=:@%-]+)*$", "maxLength": 240 },
|
|
85
|
+
"roleMap": {
|
|
86
|
+
"type": "object", "additionalProperties": false,
|
|
87
|
+
"required": ["bootstrap", "ami-build", "provenance", "runtime", "cleanup"],
|
|
88
|
+
"properties": {
|
|
89
|
+
"bootstrap": { "$ref": "#/$defs/roleArn" },
|
|
90
|
+
"ami-build": { "$ref": "#/$defs/roleArn" },
|
|
91
|
+
"provenance": { "$ref": "#/$defs/roleArn" },
|
|
92
|
+
"runtime": { "$ref": "#/$defs/roleArn" },
|
|
93
|
+
"cleanup": { "$ref": "#/$defs/roleArn" }
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"budgets": {
|
|
97
|
+
"type": "object", "additionalProperties": false,
|
|
98
|
+
"required": ["temporaryUsdMicros", "alarmUsdMicros", "foundationMonthlyCeilingUsdMicros"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"temporaryUsdMicros": { "type": "integer", "minimum": 1 },
|
|
101
|
+
"alarmUsdMicros": { "type": "integer", "minimum": 1 },
|
|
102
|
+
"foundationMonthlyCeilingUsdMicros": { "type": "integer", "minimum": 1 }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-drift-attestation-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["payload", "envelope"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"payload": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": ["schema", "requestId", "runId", "accountId", "region", "status", "findings", "observedStateSha256", "collectedAt", "expiresAt"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"schema": { "const": "taskforce.executor-phase-a-drift-attestation-payload/v1" },
|
|
14
|
+
"requestId": { "type": "string", "maxLength": 160 },
|
|
15
|
+
"runId": { "type": "string", "maxLength": 72 },
|
|
16
|
+
"accountId": { "type": "string", "pattern": "^[0-9]{12}$" },
|
|
17
|
+
"region": { "const": "us-west-2" },
|
|
18
|
+
"status": { "enum": ["pass", "fail"] },
|
|
19
|
+
"findings": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"maxItems": 64,
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": ["code", "expectedSha256", "observedSha256"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"code": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]{2,63}$" },
|
|
28
|
+
"expectedSha256": { "$ref": "#/$defs/sha256" },
|
|
29
|
+
"observedSha256": { "$ref": "#/$defs/sha256" }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"observedStateSha256": { "$ref": "#/$defs/sha256" },
|
|
34
|
+
"collectedAt": { "$ref": "#/$defs/timestamp" },
|
|
35
|
+
"expiresAt": { "$ref": "#/$defs/timestamp" }
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"envelope": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": ["algorithm", "keyId", "payloadSha256", "signature"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"algorithm": { "const": "RS256" },
|
|
44
|
+
"keyId": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,64}$" },
|
|
45
|
+
"payloadSha256": { "$ref": "#/$defs/sha256" },
|
|
46
|
+
"signature": { "type": "string", "pattern": "^[A-Za-z0-9_-]{342}$" }
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"$defs": {
|
|
51
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
52
|
+
"timestamp": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$", "maxLength": 32 }
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-drift-request-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["payload", "envelope"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"payload": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": ["schema", "requestId", "capabilityId", "capabilitySha256", "receiptId", "receiptSha256", "workspaceId", "taskId", "runId", "accountId", "region", "sourceCommit", "logicalEnvelopeSha256", "budgetsSha256", "issuedAt", "expiresAt"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"schema": { "const": "taskforce.executor-phase-a-drift-request-payload/v1" },
|
|
14
|
+
"requestId": { "type": "string", "pattern": "^drift-request-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
15
|
+
"capabilityId": { "type": "string", "maxLength": 160 },
|
|
16
|
+
"capabilitySha256": { "$ref": "#/$defs/sha256" },
|
|
17
|
+
"receiptId": { "type": "string", "maxLength": 160 },
|
|
18
|
+
"receiptSha256": { "$ref": "#/$defs/sha256" },
|
|
19
|
+
"workspaceId": { "type": "string", "maxLength": 160 },
|
|
20
|
+
"taskId": { "type": "string", "maxLength": 160 },
|
|
21
|
+
"runId": { "type": "string", "maxLength": 72 },
|
|
22
|
+
"accountId": { "type": "string", "pattern": "^[0-9]{12}$" },
|
|
23
|
+
"region": { "const": "us-west-2" },
|
|
24
|
+
"sourceCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
25
|
+
"logicalEnvelopeSha256": { "$ref": "#/$defs/sha256" },
|
|
26
|
+
"budgetsSha256": { "$ref": "#/$defs/sha256" },
|
|
27
|
+
"issuedAt": { "$ref": "#/$defs/timestamp" },
|
|
28
|
+
"expiresAt": { "$ref": "#/$defs/timestamp" }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"envelope": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": ["algorithm", "keyId", "payloadSha256", "signature"],
|
|
35
|
+
"properties": {
|
|
36
|
+
"algorithm": { "const": "Ed25519" },
|
|
37
|
+
"keyId": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,64}$" },
|
|
38
|
+
"payloadSha256": { "$ref": "#/$defs/sha256" },
|
|
39
|
+
"signature": { "type": "string", "pattern": "^[A-Za-z0-9_-]{86}$" }
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"$defs": {
|
|
44
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
45
|
+
"timestamp": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$", "maxLength": 32 }
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-foundation-manifest-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["schema", "accountId", "region", "deploymentAuthorized", "templateSha256", "policySha256", "logicalIds", "expectedNames", "endpoints", "roles", "permissionBoundaries", "keys", "tables", "logs", "alarms", "rollbackInventory"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "taskforce.executor-phase-a-foundation-manifest/v1" },
|
|
9
|
+
"accountId": { "const": "773989293823" },
|
|
10
|
+
"region": { "const": "us-west-2" },
|
|
11
|
+
"deploymentAuthorized": { "const": false },
|
|
12
|
+
"templateSha256": { "$ref": "#/$defs/sha256" },
|
|
13
|
+
"policySha256": { "$ref": "#/$defs/sha256" },
|
|
14
|
+
"logicalIds": { "$ref": "#/$defs/stringMap" },
|
|
15
|
+
"expectedNames": { "$ref": "#/$defs/stringMap" },
|
|
16
|
+
"endpoints": { "$ref": "#/$defs/stringMap" },
|
|
17
|
+
"roles": { "$ref": "#/$defs/stringMap" },
|
|
18
|
+
"permissionBoundaries": { "$ref": "#/$defs/stringMap" },
|
|
19
|
+
"keys": { "$ref": "#/$defs/stringMap" },
|
|
20
|
+
"tables": { "$ref": "#/$defs/stringMap" },
|
|
21
|
+
"logs": { "$ref": "#/$defs/stringMap" },
|
|
22
|
+
"alarms": { "$ref": "#/$defs/stringMap" },
|
|
23
|
+
"rollbackInventory": { "type": "array", "maxItems": 128, "items": { "type": "string", "minLength": 1, "maxLength": 256 } }
|
|
24
|
+
},
|
|
25
|
+
"$defs": {
|
|
26
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
27
|
+
"stringMap": { "type": "object", "maxProperties": 128, "additionalProperties": { "type": "string", "minLength": 1, "maxLength": 1024 } }
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-issuer-audit-record-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["schema", "requestId", "grantId", "grantSha256", "senderProofSha256", "status", "tokenId", "kmsKeyId", "errorCategory", "createdAt", "updatedAt"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "taskforce.executor-phase-a-issuer-audit-record/v1" },
|
|
9
|
+
"requestId": { "type": "string", "maxLength": 160 },
|
|
10
|
+
"grantId": { "type": "string", "maxLength": 160 },
|
|
11
|
+
"grantSha256": { "$ref": "#/$defs/sha256" },
|
|
12
|
+
"senderProofSha256": { "$ref": "#/$defs/sha256" },
|
|
13
|
+
"status": { "enum": ["pending", "signed", "failed"] },
|
|
14
|
+
"tokenId": { "oneOf": [{ "type": "null" }, { "type": "string", "maxLength": 160 }] },
|
|
15
|
+
"kmsKeyId": { "oneOf": [{ "type": "null" }, { "type": "string", "maxLength": 256 }] },
|
|
16
|
+
"errorCategory": { "oneOf": [{ "type": "null" }, { "type": "string", "pattern": "^[a-z][a-z0-9_]{2,63}$" }] },
|
|
17
|
+
"createdAt": { "$ref": "#/$defs/timestamp" },
|
|
18
|
+
"updatedAt": { "$ref": "#/$defs/timestamp" }
|
|
19
|
+
},
|
|
20
|
+
"$defs": {
|
|
21
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
22
|
+
"timestamp": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$", "maxLength": 32 }
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-issuer-proof-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["payload", "envelope"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"payload": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": ["schema", "method", "path", "requestSha256", "grantId", "grantSha256", "senderProofSha256", "requestId", "issuedAt", "expiresAt"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"schema": { "const": "taskforce.executor-phase-a-issuer-proof-payload/v1" },
|
|
14
|
+
"method": { "const": "POST" },
|
|
15
|
+
"path": { "const": "/api/taskforce/internal/executor/phase-a/redemptions" },
|
|
16
|
+
"requestSha256": { "$ref": "#/$defs/sha256" },
|
|
17
|
+
"grantId": { "type": "string", "pattern": "^workload-grant-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
18
|
+
"grantSha256": { "$ref": "#/$defs/sha256" },
|
|
19
|
+
"senderProofSha256": { "$ref": "#/$defs/sha256" },
|
|
20
|
+
"requestId": { "type": "string", "pattern": "^issuer-request-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
21
|
+
"issuedAt": { "$ref": "#/$defs/timestamp" },
|
|
22
|
+
"expiresAt": { "$ref": "#/$defs/timestamp" }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"envelope": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"required": ["schema", "typ", "algorithm", "keyId", "payloadSha256", "signature"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"schema": { "const": "taskforce.executor-phase-a-issuer-proof/v1" },
|
|
31
|
+
"typ": { "const": "TF-ISSUER-PROOF" },
|
|
32
|
+
"algorithm": { "const": "RS256" },
|
|
33
|
+
"keyId": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,64}$" },
|
|
34
|
+
"payloadSha256": { "$ref": "#/$defs/sha256" },
|
|
35
|
+
"signature": { "type": "string", "pattern": "^[A-Za-z0-9_-]{342}$" }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"$defs": {
|
|
40
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
41
|
+
"timestamp": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$", "maxLength": 32 }
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-issuer-redemption-request-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["schema", "requestId", "approvalReceipt", "runCapability", "workloadGrant", "senderProof", "brokerRequestSha256", "expectedPolicySha256", "issuerProof"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "taskforce.executor-phase-a-issuer-redemption-request/v1" },
|
|
9
|
+
"requestId": { "type": "string", "pattern": "^issuer-request-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
10
|
+
"approvalReceipt": { "$ref": "https://taskforcehq.ai/schemas/executor-phase-a-approval-receipt-v3.json" },
|
|
11
|
+
"runCapability": { "$ref": "https://taskforcehq.ai/schemas/executor-phase-a-run-capability-v1.json" },
|
|
12
|
+
"workloadGrant": { "$ref": "https://taskforcehq.ai/schemas/executor-phase-a-workload-grant-v1.json" },
|
|
13
|
+
"senderProof": { "$ref": "https://taskforcehq.ai/schemas/executor-phase-a-sender-proof-v1.json" },
|
|
14
|
+
"brokerRequestSha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
15
|
+
"expectedPolicySha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
16
|
+
"issuerProof": { "$ref": "https://taskforcehq.ai/schemas/executor-phase-a-issuer-proof-v1.json" }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-issuer-redemption-response-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["payload", "envelope"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"payload": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": ["schema", "decision", "requestId", "grantId", "grantSha256", "senderProofSha256", "auditSha256", "redeemedAt"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"schema": { "const": "taskforce.executor-phase-a-issuer-redemption-response-payload/v1" },
|
|
14
|
+
"decision": { "const": "redeemed" },
|
|
15
|
+
"requestId": { "type": "string", "pattern": "^issuer-request-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
16
|
+
"grantId": { "type": "string", "pattern": "^workload-grant-[A-Za-z0-9][A-Za-z0-9_-]{7,127}$" },
|
|
17
|
+
"grantSha256": { "$ref": "#/$defs/sha256" },
|
|
18
|
+
"senderProofSha256": { "$ref": "#/$defs/sha256" },
|
|
19
|
+
"auditSha256": { "$ref": "#/$defs/sha256" },
|
|
20
|
+
"redeemedAt": { "$ref": "#/$defs/timestamp" }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"envelope": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"additionalProperties": false,
|
|
26
|
+
"required": ["algorithm", "keyId", "payloadSha256", "signature"],
|
|
27
|
+
"properties": {
|
|
28
|
+
"algorithm": { "const": "Ed25519" },
|
|
29
|
+
"keyId": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,64}$" },
|
|
30
|
+
"payloadSha256": { "$ref": "#/$defs/sha256" },
|
|
31
|
+
"signature": { "type": "string", "pattern": "^[A-Za-z0-9_-]{86}$" }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"$defs": {
|
|
36
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
37
|
+
"timestamp": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$", "maxLength": 32 }
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taskforcehq.ai/schemas/executor-phase-a-logical-envelope-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["resources", "network", "iam", "storage", "ports", "tags", "cleanupInventory"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"resources": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"minItems": 1,
|
|
11
|
+
"uniqueItems": true,
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["logicalId", "type", "name", "count", "purpose"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"logicalId": { "$ref": "#/$defs/logicalName" },
|
|
18
|
+
"type": {
|
|
19
|
+
"enum": [
|
|
20
|
+
"cloudformation-stack", "ecr-repository", "iam-role", "iam-instance-profile",
|
|
21
|
+
"kms-key", "vpc", "subnet", "route-table", "route", "network-acl",
|
|
22
|
+
"security-group", "internet-gateway", "nat-gateway", "elastic-ip",
|
|
23
|
+
"vpc-endpoint", "ecs-cluster", "ecs-task-definition", "ecs-service",
|
|
24
|
+
"ec2-launch-template", "ec2-instance", "ebs-volume", "load-balancer",
|
|
25
|
+
"listener", "target-group", "resolver-firewall", "dynamodb-table",
|
|
26
|
+
"log-group", "budget", "alarm"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"name": { "$ref": "#/$defs/resourceName" },
|
|
30
|
+
"count": { "type": "integer", "minimum": 1, "maximum": 100 },
|
|
31
|
+
"purpose": { "type": "string", "minLength": 1, "maxLength": 160 }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"network": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"required": ["vpcCidr", "subnets", "routes", "sandboxHasPublicIp", "sandboxHasNat", "ipv6Enabled"],
|
|
39
|
+
"properties": {
|
|
40
|
+
"vpcCidr": { "$ref": "#/$defs/cidr" },
|
|
41
|
+
"subnets": {
|
|
42
|
+
"type": "array", "minItems": 3, "uniqueItems": true,
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "object", "additionalProperties": false,
|
|
45
|
+
"required": ["name", "purpose", "cidr", "availabilityZone"],
|
|
46
|
+
"properties": {
|
|
47
|
+
"name": { "$ref": "#/$defs/resourceName" },
|
|
48
|
+
"purpose": { "enum": ["sandbox", "control", "tunnel-egress", "builder"] },
|
|
49
|
+
"cidr": { "$ref": "#/$defs/cidr" },
|
|
50
|
+
"availabilityZone": { "type": "string", "pattern": "^us-west-2[a-z]$" }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"routes": {
|
|
55
|
+
"type": "array", "minItems": 1, "uniqueItems": true,
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "object", "additionalProperties": false,
|
|
58
|
+
"required": ["subnetPurpose", "destination", "target"],
|
|
59
|
+
"properties": {
|
|
60
|
+
"subnetPurpose": { "enum": ["sandbox", "control", "tunnel-egress", "builder"] },
|
|
61
|
+
"destination": { "$ref": "#/$defs/cidr" },
|
|
62
|
+
"target": { "enum": ["local", "internet-gateway", "nat-gateway", "vpc-endpoint"] }
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"sandboxHasPublicIp": { "const": false },
|
|
67
|
+
"sandboxHasNat": { "const": false },
|
|
68
|
+
"ipv6Enabled": { "const": false }
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"iam": {
|
|
72
|
+
"type": "object", "additionalProperties": false, "required": ["roles"],
|
|
73
|
+
"properties": {
|
|
74
|
+
"roles": {
|
|
75
|
+
"type": "array", "minItems": 1, "uniqueItems": true,
|
|
76
|
+
"items": {
|
|
77
|
+
"type": "object", "additionalProperties": false,
|
|
78
|
+
"required": ["name", "purpose", "trustedService", "allowedActions", "resourcePatterns"],
|
|
79
|
+
"properties": {
|
|
80
|
+
"name": { "$ref": "#/$defs/resourceName" },
|
|
81
|
+
"purpose": { "type": "string", "minLength": 1, "maxLength": 120 },
|
|
82
|
+
"trustedService": { "enum": ["ec2.amazonaws.com", "ecs-tasks.amazonaws.com", "cloudformation.amazonaws.com"] },
|
|
83
|
+
"allowedActions": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "pattern": "^[a-z0-9-]+:[A-Za-z0-9*]+$" } },
|
|
84
|
+
"resourcePatterns": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 512 } }
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"storage": {
|
|
91
|
+
"type": "array", "minItems": 1, "uniqueItems": true,
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "object", "additionalProperties": false,
|
|
94
|
+
"required": ["purpose", "type", "sizeGiB", "encrypted", "deleteOnTermination", "iops", "throughputMiBps"],
|
|
95
|
+
"properties": {
|
|
96
|
+
"purpose": { "enum": ["builder-root", "sandbox-host-root"] },
|
|
97
|
+
"type": { "const": "gp3" },
|
|
98
|
+
"sizeGiB": { "type": "integer", "minimum": 8, "maximum": 1024 },
|
|
99
|
+
"encrypted": { "const": true },
|
|
100
|
+
"deleteOnTermination": { "const": true },
|
|
101
|
+
"iops": { "type": "integer", "minimum": 3000, "maximum": 16000 },
|
|
102
|
+
"throughputMiBps": { "type": "integer", "minimum": 125, "maximum": 1000 }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"ports": {
|
|
107
|
+
"type": "array", "minItems": 2, "uniqueItems": true,
|
|
108
|
+
"items": {
|
|
109
|
+
"type": "object", "additionalProperties": false,
|
|
110
|
+
"required": ["purpose", "protocol", "port"],
|
|
111
|
+
"properties": {
|
|
112
|
+
"purpose": { "enum": ["control", "provider-tunnel"] },
|
|
113
|
+
"protocol": { "const": "tcp" },
|
|
114
|
+
"port": { "type": "integer", "minimum": 1024, "maximum": 65535 }
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"tags": {
|
|
119
|
+
"type": "array", "minItems": 2, "uniqueItems": true,
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "object", "additionalProperties": false,
|
|
122
|
+
"required": ["key", "value"],
|
|
123
|
+
"properties": {
|
|
124
|
+
"key": { "enum": ["TaskforcePhase", "TaskforceRunId", "TaskforceManaged"] },
|
|
125
|
+
"value": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"cleanupInventory": {
|
|
130
|
+
"type": "array", "minItems": 1, "uniqueItems": true,
|
|
131
|
+
"items": {
|
|
132
|
+
"enum": [
|
|
133
|
+
"cloudformation-stacks", "packer-builders", "instance-profiles", "candidate-amis",
|
|
134
|
+
"snapshots", "ec2-instances", "enis", "ebs-volumes", "ecs-tasks",
|
|
135
|
+
"ecs-container-instances", "ecr-images", "ecr-repositories", "vpcs", "subnets",
|
|
136
|
+
"route-tables", "routes", "network-acls", "security-groups", "nat-gateways",
|
|
137
|
+
"elastic-ips", "load-balancers", "listeners", "target-groups", "resolver-firewalls",
|
|
138
|
+
"vpc-endpoints", "dynamodb-tables", "log-groups", "kms-keys", "iam-resources",
|
|
139
|
+
"alarms", "budgets"
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"$defs": {
|
|
145
|
+
"logicalName": { "type": "string", "pattern": "^[A-Za-z][A-Za-z0-9]{1,127}$" },
|
|
146
|
+
"resourceName": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]{1,126}[a-z0-9]$" },
|
|
147
|
+
"cidr": { "type": "string", "pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}/(?:[0-9]|[12][0-9]|3[0-2])$" }
|
|
148
|
+
}
|
|
149
|
+
}
|