@taskforcehq/taskforce 0.3.327 → 0.3.329
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/dist/Taskforce.module.css +257 -87
- package/dist/TaskforceCore.js +237 -230
- package/dist/annotatedAttachments/AnnotatedAttachmentSessionStore.js +1 -1
- package/dist/cli.js +34 -0
- package/dist/cliCloudTargetGuard.d.ts +5 -0
- package/dist/cliCloudTargetGuard.js +11 -0
- package/dist/components/activity/EntityActivityTimeline.js +15 -5
- package/dist/components/context/AttachmentPreviewHost.js +1 -1
- package/dist/components/context/ContextAttachmentManager.d.ts +3 -0
- package/dist/components/context/ContextAttachmentManager.js +116 -20
- package/dist/components/features/AnnotatedAttachmentWorkspace.js +24 -8
- package/dist/components/features/TaskSettings.d.ts +12 -1
- package/dist/components/features/TaskSettings.js +147 -40
- package/dist/components/features/agentCapabilities/AgentCapabilitiesPrototype.d.ts +1 -1
- package/dist/components/features/planning/PlanningEntitySummary.d.ts +3 -1
- package/dist/components/features/planning/PlanningEntitySummary.js +3 -2
- package/dist/components/features/planning/PlanningLinkPicker.d.ts +3 -1
- package/dist/components/features/planning/PlanningLinkPicker.js +5 -3
- package/dist/components/features/planning/PlanningModule.js +28 -14
- package/dist/components/features/planning/PlanningTaskOrderList.d.ts +1 -1
- package/dist/components/features/planning/PlanningTaskOrderList.js +17 -6
- package/dist/components/features/planning/PlanningVisualIdentity.d.ts +14 -0
- package/dist/components/features/planning/PlanningVisualIdentity.js +106 -0
- package/dist/components/features/planning/planningTaskArrangement.d.ts +1 -0
- package/dist/components/features/planning/planningTaskArrangement.js +5 -5
- package/dist/components/features/planning/planningWorkspaceModel.d.ts +11 -0
- package/dist/components/features/taskforceAgentEditorModel.js +3 -1
- package/dist/components/task/TaskActionHeader.d.ts +2 -1
- package/dist/components/task/TaskActionHeader.js +2 -2
- package/dist/components/task/TaskCard.d.ts +5 -0
- package/dist/components/task/TaskCard.js +101 -13
- package/dist/components/task/TaskContextUpload.d.ts +3 -0
- package/dist/components/task/TaskContextUpload.js +2 -2
- package/dist/components/task/TaskForm.d.ts +4 -0
- package/dist/components/task/TaskForm.js +32 -7
- package/dist/components/task/TaskImageReviews.js +28 -19
- package/dist/components/task/TaskKanban.d.ts +6 -1
- package/dist/components/task/TaskKanban.js +152 -6
- package/dist/components/task/TaskList.d.ts +5 -0
- package/dist/components/task/TaskList.js +3 -3
- package/dist/components/task/TaskStatusActions.js +11 -2
- package/dist/components/task/TaskWorkstreamPicker.js +2 -1
- package/dist/components/ui/DocumentTypeIcon.d.ts +7 -0
- package/dist/components/ui/DocumentTypeIcon.js +8 -0
- package/dist/components/ui/PasswordInput.d.ts +6 -0
- package/dist/components/ui/PasswordInput.js +11 -0
- package/dist/components/ui/TaxonomyDropdown.d.ts +9 -1
- package/dist/components/ui/TaxonomyDropdown.js +30 -3
- package/dist/components/ui/TopNoticeLayer.js +1 -1
- package/dist/components/views/AppShellHeader.js +32 -11
- package/dist/components/views/PlanComparisonPage.js +12 -0
- package/dist/components/views/StandaloneLayout.js +68 -39
- package/dist/components/views/WidgetView.js +10 -7
- package/dist/components/views/panels/PlanningDrawer.d.ts +7 -1
- package/dist/components/views/panels/PlanningDrawer.js +51 -54
- package/dist/components/views/standalone/modals/AccountSettingsModal.js +26 -17
- package/dist/config/envSchema.js +13 -0
- package/dist/config/localServiceCloudTarget.d.ts +10 -0
- package/dist/config/localServiceCloudTarget.js +76 -0
- package/dist/config/localServiceRuntimeContract.d.ts +13 -0
- package/dist/config/localServiceRuntimeContract.js +135 -0
- package/dist/core/AiProfileService.d.ts +1 -0
- package/dist/core/AiProfileService.js +48 -9
- package/dist/core/AttachmentLinkService.js +7 -4
- package/dist/core/DeletedTaskLifecycleService.d.ts +5 -0
- package/dist/core/DeletedTaskLifecycleService.js +55 -3
- package/dist/core/McpTokenService.d.ts +4 -0
- package/dist/core/McpTokenService.js +52 -0
- package/dist/core/TaskAttachmentLinksDurableMutationService.d.ts +8 -2
- package/dist/core/TaskAttachmentLinksDurableMutationService.js +51 -18
- package/dist/core/Taskforce.d.ts +124 -2
- package/dist/core/Taskforce.js +1175 -87
- package/dist/core/types.d.ts +8 -1
- package/dist/documentReviews/DocumentReviewCommentStore.d.ts +11 -0
- package/dist/documentReviews/DocumentReviewCommentStore.js +35 -2
- package/dist/documentReviews/service.d.ts +4 -0
- package/dist/documentReviews/service.js +141 -46
- package/dist/hooks/sync/useDurableLocalOutboxDrain.d.ts +1 -1
- package/dist/hooks/sync/useDurableTaskCreateMutation.js +1 -1
- package/dist/hooks/sync/useDurableTaskMetadataMutation.d.ts +1 -0
- package/dist/hooks/sync/useDurableTaskMetadataMutation.js +1 -0
- package/dist/hooks/sync/useDurableTaskStatusMutation.d.ts +1 -0
- package/dist/hooks/tasks/taskHttpMutation.js +1 -0
- package/dist/hooks/tasks/useCloudTaskSearch.d.ts +12 -0
- package/dist/hooks/tasks/useCloudTaskSearch.js +71 -0
- package/dist/hooks/tasks/useTaskDescriptionImageDraftRecovery.d.ts +16 -0
- package/dist/hooks/tasks/useTaskDescriptionImageDraftRecovery.js +197 -0
- package/dist/hooks/tasks/useTaskEditorNavigation.d.ts +16 -3
- package/dist/hooks/tasks/useTaskEditorNavigation.js +72 -13
- package/dist/hooks/tasks/useTaskFormActions.d.ts +9 -0
- package/dist/hooks/tasks/useTaskFormActions.js +96 -17
- package/dist/hooks/ui/useSettingsModel.d.ts +24 -2
- package/dist/hooks/ui/useSettingsModel.js +13 -2
- package/dist/hooks/ui/useSettingsPersistence.d.ts +12 -1
- package/dist/hooks/ui/useSettingsPersistence.js +74 -47
- package/dist/hooks/useFilterSort.d.ts +7 -3
- package/dist/hooks/useFilterSort.js +15 -5
- package/dist/hooks/useTaskData.d.ts +10 -1
- package/dist/hooks/useTaskData.js +216 -7
- package/dist/hooks/useTaskMutations.d.ts +10 -2
- package/dist/hooks/useTaskMutations.js +223 -43
- package/dist/hooks/useTaskforce.d.ts +94 -57
- package/dist/hooks/useTaskforce.js +428 -16
- package/dist/hooks/useUiNotice.d.ts +4 -0
- package/dist/hooks/useUiNotice.js +4 -0
- package/dist/mcp/adminWorkspaceRegistrar.js +3 -3
- package/dist/mcp/canonicalAssetHelpers.d.ts +13 -0
- package/dist/mcp/canonicalAssetHelpers.js +39 -5
- package/dist/mcp/collaborationRegistrar.js +15 -13
- package/dist/mcp/documentAssetRegistrar.js +60 -44
- package/dist/mcp/documentHelpers.d.ts +1 -0
- package/dist/mcp/documentHelpers.js +7 -3
- package/dist/mcp/localServiceProxy.js +4 -1
- package/dist/mcp/runtime.d.ts +16 -0
- package/dist/mcp/runtime.js +735 -210
- package/dist/mcp/taskAttachmentCommandAdapter.d.ts +2 -0
- package/dist/mcp/taskAttachmentCommandAdapter.js +14 -8
- package/dist/mcp/taskPlanningRegistrar.js +78 -67
- package/dist/mcp/toolCallCompatibility.js +38 -1
- package/dist/mcp/toolCatalog.d.ts +1 -0
- package/dist/mcp/toolRegistry.js +2 -2
- package/dist/migrations/taskSchemaMigrations.js +47 -0
- package/dist/runtime/appGateDefinitions.d.ts +30 -6
- package/dist/runtime/appGateDefinitions.js +6 -6
- package/dist/runtime/appGates.d.ts +12 -13
- package/dist/runtime/appGates.js +29 -13
- package/dist/runtime/nodeAppGates.d.ts +8 -0
- package/dist/runtime/nodeAppGates.js +27 -0
- package/dist/server/appAccess.d.ts +12 -0
- package/dist/server/appAccess.js +21 -0
- package/dist/server/authorizedWorkspaceAccess.d.ts +12 -0
- package/dist/server/authorizedWorkspaceAccess.js +40 -0
- package/dist/server/cloudCollectionRead.d.ts +25 -0
- package/dist/server/cloudCollectionRead.js +120 -0
- package/dist/server/cloudCollectionReadPool.d.ts +52 -0
- package/dist/server/cloudCollectionReadPool.js +140 -0
- package/dist/server/cloudCollectionReadWorker.d.ts +1 -0
- package/dist/server/cloudCollectionReadWorker.js +36 -0
- package/dist/server/index.d.ts +6 -11
- package/dist/server/index.js +67 -42
- package/dist/server/localServiceLease.d.ts +6 -0
- package/dist/server/localServiceLease.js +17 -1
- package/dist/server/localWorkspaceSyncServerRuntime.js +10 -3
- package/dist/server/rateLimit.d.ts +1 -0
- package/dist/server/rateLimit.js +4 -0
- package/dist/server/realtimeSyncWs.js +36 -12
- package/dist/server/routes/admin.js +1 -0
- package/dist/server/routes/agentRoles.js +3 -2
- package/dist/server/routes/agentSkills.js +3 -2
- package/dist/server/routes/agents.js +118 -16
- package/dist/server/routes/annotatedAttachments.js +3 -2
- package/dist/server/routes/auth.js +3 -1
- package/dist/server/routes/documents.d.ts +5 -2
- package/dist/server/routes/documents.js +160 -13
- package/dist/server/routes/durableTaskHttpRouters.d.ts +11 -2
- package/dist/server/routes/durableTaskHttpRouters.js +2 -2
- package/dist/server/routes/localService.js +4 -0
- package/dist/server/routes/primitives.d.ts +4 -0
- package/dist/server/routes/shared.d.ts +24 -0
- package/dist/server/routes/shared.js +114 -18
- package/dist/server/routes/sync.js +22 -0
- package/dist/server/routes/syncAuxRoutes.js +5 -2
- package/dist/server/routes/syncPullApplyRoutes.js +23 -4
- package/dist/server/routes/syncV3FeedRoutes.js +22 -18
- package/dist/server/routes/syncV3LocalCaptureRoutes.js +48 -4
- package/dist/server/routes/syncV3LocalFeedApplyRoutes.d.ts +1 -0
- package/dist/server/routes/syncV3LocalFeedApplyRoutes.js +26 -0
- package/dist/server/routes/syncV3OperationRoutes.js +27 -2
- package/dist/server/routes/tasks.js +299 -97
- package/dist/server/routes/workspaces.js +43 -1
- package/dist/server/routes.js +35 -7
- package/dist/server/workspaceDeletionAdmission.d.ts +23 -0
- package/dist/server/workspaceDeletionAdmission.js +50 -0
- package/dist/service/localServiceCli.js +52 -25
- package/dist/service/localServiceClientLifecycle.js +93 -6
- package/dist/services/codexAppServerModelGateway.d.ts +112 -0
- package/dist/services/codexAppServerModelGateway.js +438 -0
- package/dist/services/taskforceAgentMcpBridge.d.ts +7 -1
- package/dist/services/taskforceAgentMcpBridge.js +23 -3
- package/dist/shared/planningIdentity.d.ts +20 -0
- package/dist/shared/planningIdentity.js +79 -0
- package/dist/shared/taskforceAgentDefinition.js +7 -1
- package/dist/shared/taskforceAgentModels.d.ts +1 -0
- package/dist/shared/taskforceAgentModels.js +30 -1
- package/dist/storage/postgresAdapter.d.ts +20 -3
- package/dist/storage/postgresAdapter.js +110 -14
- package/dist/storage/postgresRequestDiagnostics.d.ts +8 -0
- package/dist/storage/postgresRequestDiagnostics.js +24 -0
- package/dist/storage/postgresWorker.js +13 -4
- package/dist/storage/postgresWorkerProtocol.d.ts +29 -0
- package/dist/storage/postgresWorkerProtocol.js +30 -0
- package/dist/storage/workspaceAssetStore.d.ts +32 -0
- package/dist/storage/workspaceAssetStore.js +70 -0
- package/dist/sync/cloudSyncApi.d.ts +4 -1
- package/dist/sync/cloudSyncApi.js +7 -2
- package/dist/sync/contentSyncState.d.ts +1 -1
- package/dist/sync/coordinator/localSyncExecutionPermitStore.d.ts +17 -0
- package/dist/sync/coordinator/localSyncExecutionPermitStore.js +77 -23
- package/dist/sync/coordinator/localWorkspaceSyncRunner.js +6 -2
- package/dist/sync/coordinator/workspaceSyncTransportGateway.js +4 -2
- package/dist/sync/engine/workspaceSyncEngineBrowserGatewayRemoteServices.js +20 -2
- package/dist/sync/engine/workspaceSyncEngineLocalServices.d.ts +4 -0
- package/dist/sync/engine/workspaceSyncEngineLocalServices.js +11 -0
- package/dist/sync/engine/workspaceSyncEngineRemoteServices.d.ts +16 -0
- package/dist/sync/engine/workspaceSyncEngineRemoteServices.js +2 -1
- package/dist/sync/engine/workspaceSyncEngineServerRemoteServices.d.ts +1 -1
- package/dist/sync/engine/workspaceSyncEngineServerRemoteServices.js +46 -4
- package/dist/sync/engine/workspaceSyncEngineServerRunnerOperations.d.ts +3 -1
- package/dist/sync/engine/workspaceSyncEngineServerRunnerOperations.js +51 -11
- package/dist/sync/engine/workspaceSyncEngineTransfers.d.ts +1 -1
- package/dist/sync/engine/workspaceSyncEngineTransfers.js +8 -3
- package/dist/sync/engine/workspaceSyncV2ChangeDispatcher.js +2 -0
- package/dist/sync/syncApplyHandlers.d.ts +3 -1
- package/dist/sync/syncApplyHandlers.js +29 -0
- package/dist/sync/syncService.d.ts +2 -0
- package/dist/sync/syncService.js +13 -1
- package/dist/sync/taskSyncPayload.d.ts +1 -0
- package/dist/sync/taskSyncPayload.js +6 -0
- package/dist/sync/v3/combinedFeedCapability.js +4 -0
- package/dist/sync/v3/durableTaskAttachmentLinksMutationRouter.d.ts +3 -0
- package/dist/sync/v3/durableTaskAttachmentLinksMutationRouter.js +31 -3
- package/dist/sync/v3/durableTaskChecklistMutationRouter.d.ts +2 -0
- package/dist/sync/v3/durableTaskChecklistMutationRouter.js +4 -0
- package/dist/sync/v3/durableTaskHttpBulkMutationRouter.d.ts +1 -0
- package/dist/sync/v3/durableTaskHttpBulkMutationRouter.js +47 -12
- package/dist/sync/v3/durableTaskHttpRootMutationRouter.d.ts +5 -3
- package/dist/sync/v3/durableTaskHttpRootMutationRouter.js +27 -2
- package/dist/sync/v3/localInitiativeOutboxService.js +4 -2
- package/dist/sync/v3/localOutboxDispatcher.js +5 -1
- package/dist/sync/v3/localTaskAttachmentLinksOutboxHandler.js +12 -2
- package/dist/sync/v3/localTaskAttachmentLinksOutboxService.d.ts +3 -0
- package/dist/sync/v3/localTaskAttachmentLinksOutboxService.js +62 -10
- package/dist/sync/v3/localTaskCreateOutboxService.js +15 -6
- package/dist/sync/v3/localTaskMetadataClient.d.ts +1 -0
- package/dist/sync/v3/localTaskMetadataClient.js +1 -0
- package/dist/sync/v3/localTaskMetadataOutboxHandler.js +5 -1
- package/dist/sync/v3/localTaskMetadataOutboxService.d.ts +2 -0
- package/dist/sync/v3/localTaskMetadataOutboxService.js +7 -0
- package/dist/sync/v3/localTaskRestoreOutboxService.js +14 -6
- package/dist/sync/v3/localTaskStatusClient.d.ts +1 -0
- package/dist/sync/v3/localTaskStatusClient.js +6 -1
- package/dist/sync/v3/localTaskStatusOutboxService.d.ts +2 -0
- package/dist/sync/v3/localTaskStatusOutboxService.js +54 -13
- package/dist/sync/v3/localWorkstreamOutboxService.js +4 -2
- package/dist/sync/v3/syncDurabilityStore.d.ts +15 -0
- package/dist/sync/v3/syncDurabilityStore.js +201 -43
- package/dist/sync/v3/taskAttachmentLinksMutationService.d.ts +7 -4
- package/dist/sync/v3/taskAttachmentLinksMutationService.js +37 -12
- package/dist/sync/v3/taskChecklistMutationService.d.ts +4 -2
- package/dist/sync/v3/taskChecklistMutationService.js +4 -0
- package/dist/sync/v3/taskCreateMutationService.d.ts +2 -2
- package/dist/sync/v3/taskCreateMutationService.js +7 -4
- package/dist/sync/v3/taskMetadataCoexistence.js +4 -0
- package/dist/sync/v3/taskMetadataMutationService.d.ts +3 -0
- package/dist/sync/v3/taskMetadataMutationService.js +4 -0
- package/dist/sync/v3/taskRestoreMutationService.d.ts +2 -2
- package/dist/sync/v3/taskRestoreMutationService.js +7 -4
- package/dist/sync/v3/taskStatusMutationService.d.ts +2 -0
- package/dist/sync/v3/taskStatusMutationService.js +4 -0
- package/dist/sync/v3/workflowAssignmentSync.d.ts +1 -0
- package/dist/sync/v3/workflowAssignmentSync.js +3 -0
- package/dist/sync/v3/workspaceSyncV2ProjectionExclusions.d.ts +1 -1
- package/dist/sync/v3/workspaceSyncV2ProjectionExclusions.js +14 -12
- package/dist/sync/v3/workspaceSyncV3AttachmentApplyObligationStore.d.ts +11 -0
- package/dist/sync/v3/workspaceSyncV3AttachmentApplyObligationStore.js +27 -10
- package/dist/sync/v3/workspaceSyncV3AttachmentAssetHydration.d.ts +2 -1
- package/dist/sync/v3/workspaceSyncV3AttachmentAssetHydration.js +52 -10
- package/dist/sync/v3/workspaceSyncV3CloudOperationHandler.js +10 -1
- package/dist/sync/v3/workspaceSyncV3CombinedFeedOrchestrator.js +15 -4
- package/dist/sync/v3/workspaceSyncV3CombinedLocalApply.js +66 -13
- package/dist/sync/v3/workspaceSyncV3CombinedRepairBaseline.d.ts +11 -0
- package/dist/sync/v3/workspaceSyncV3CombinedRepairBaseline.js +57 -22
- package/dist/sync/v3/workspaceSyncV3CombinedRepairMaterialization.d.ts +10 -4
- package/dist/sync/v3/workspaceSyncV3CombinedRepairMaterialization.js +124 -51
- package/dist/sync/v3/workspaceSyncV3CombinedRepairSnapshot.d.ts +10 -0
- package/dist/sync/v3/workspaceSyncV3CombinedRepairSnapshot.js +120 -28
- package/dist/sync/v3/workspaceSyncV3CombinedWireContract.d.ts +3 -1
- package/dist/sync/v3/workspaceSyncV3CombinedWireContract.js +18 -0
- package/dist/sync/v3/workspaceSyncV3CoverageRegistry.js +6 -0
- package/dist/sync/v3/workspaceSyncV3FeedProfile.d.ts +1 -1
- package/dist/sync/v3/workspaceSyncV3LegacyBoundaryAttestation.d.ts +1 -0
- package/dist/sync/v3/workspaceSyncV3LegacyBoundaryAttestation.js +23 -10
- package/dist/sync/v3/workspaceSyncV3NestedTaskApply.d.ts +3 -0
- package/dist/sync/v3/workspaceSyncV3NestedTaskApply.js +64 -13
- package/dist/sync/v3/workspaceSyncV3NestedTaskCodecs.d.ts +9 -0
- package/dist/sync/v3/workspaceSyncV3NestedTaskCodecs.js +26 -0
- package/dist/sync/v3/workspaceSyncV3NestedTaskProjection.d.ts +15 -5
- package/dist/sync/v3/workspaceSyncV3NestedTaskProjection.js +50 -14
- package/dist/sync/v3/workspaceSyncV3NestedTaskRepairSnapshot.d.ts +2 -1
- package/dist/sync/v3/workspaceSyncV3NestedTaskRepairSnapshot.js +11 -3
- package/dist/sync/v3/workspaceSyncV3OperationProtocol.d.ts +3 -0
- package/dist/sync/v3/workspaceSyncV3OperatorDiagnostics.d.ts +2 -0
- package/dist/sync/v3/workspaceSyncV3OperatorDiagnostics.js +19 -7
- package/dist/sync/v3/workspaceSyncV3RepairSqlBatching.d.ts +2 -0
- package/dist/sync/v3/workspaceSyncV3RepairSqlBatching.js +10 -0
- package/dist/sync/v3/workspaceSyncV3TaskCommentAudit.js +9 -2
- package/dist/sync/v3/workspaceSyncV3TaskCoverCoverage.d.ts +7 -0
- package/dist/sync/v3/workspaceSyncV3TaskCoverCoverage.js +37 -0
- package/dist/sync/v3/workspaceSyncV3TaskCoverWireContract.d.ts +6 -0
- package/dist/sync/v3/workspaceSyncV3TaskCoverWireContract.js +9 -0
- package/dist/sync/v3/workspaceSyncV3TaskRootProjection.d.ts +1 -1
- package/dist/sync/v3/workspaceSyncV3TaskRootProjection.js +1 -1
- package/dist/sync/workspacePullFeed.d.ts +6 -1
- package/dist/sync/workspacePullFeed.js +174 -162
- package/dist/sync/workspaceRepair.d.ts +3 -0
- package/dist/sync/workspaceRepair.js +67 -6
- package/dist/sync/workspaceSyncModel.d.ts +11 -0
- package/dist/sync/workspaceSyncModel.js +27 -2
- package/dist/types.d.ts +55 -1
- package/dist/types.js +6 -0
- package/dist/ui/assets/{AiIdentityRosterCard-DB1BLO_j.js → AiIdentityRosterCard-BZM4aQnM.js} +1 -1
- package/dist/ui/assets/AiProfilesModule-BbAEWtHH.js +1 -0
- package/dist/ui/assets/AnnotatedAttachmentWorkspace-B68Wg-RV.js +3 -0
- package/dist/ui/assets/AnnotatedAttachmentWorkspace-TzYu7pkG.css +1 -0
- package/dist/ui/assets/AssetTraySortControl-C8Rztyal.js +1 -0
- package/dist/ui/assets/ContextAttachmentManager-Cj3c7X9y.js +3 -0
- package/dist/ui/assets/{DocumentWorkspace-BC7sy5TG.js → DocumentWorkspace-B5uvzems.js} +4 -4
- package/dist/ui/assets/EntityActivityTimeline-BVFvCB5R.js +1 -0
- package/dist/ui/assets/PlanningModule-B5DWQOGz.js +1 -0
- package/dist/ui/assets/PlanningModule-CoIR9hbV.css +1 -0
- package/dist/ui/assets/PlansPage-AY4cGWco.js +1 -0
- package/dist/ui/assets/TaskContextUpload-DZxTVesW.js +1 -0
- package/dist/ui/assets/TaskContextUpload-qmBeUw3u.css +1 -0
- package/dist/ui/assets/TaskSettings-BeWAuyZj.js +12 -0
- package/dist/ui/assets/{TaskforceAgentsModule-CkAxW19K.js → TaskforceAgentsModule-BifCYtjR.js} +6 -6
- package/dist/ui/assets/WorkflowManagerModule-DEr5di_r.js +1 -0
- package/dist/ui/assets/index-I5zhdtgt.js +7 -0
- package/dist/ui/assets/index-VRFsx3wz.css +1 -0
- package/dist/ui/assets/{vendor-icons-B8ZNsH1g.js → vendor-icons-D9Lpw-j4.js} +1 -1
- package/dist/ui/index.html +3 -3
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +1 -1
- package/dist/utils/contextAttachmentUpload.d.ts +2 -0
- package/dist/utils/contextAttachmentUpload.js +7 -0
- package/dist/utils/contextFiles.d.ts +1 -1
- package/dist/utils/contextFiles.js +4 -4
- package/dist/utils/taskActivity.d.ts +3 -2
- package/dist/utils/taskActivity.js +19 -2
- package/dist/utils/taskEditorReconciliation.d.ts +40 -0
- package/dist/utils/taskEditorReconciliation.js +217 -0
- package/dist/utils/taskNormalization.d.ts +1 -0
- package/dist/utils/taskNormalization.js +39 -0
- package/dist/utils/taskSearch.js +2 -2
- package/dist/utils/uiNotice.d.ts +4 -0
- package/package.json +21 -4
- package/dist/ui/assets/AiProfilesModule-DPxQeF9N.js +0 -1
- package/dist/ui/assets/AnnotatedAttachmentWorkspace-CBRZ8rca.css +0 -1
- package/dist/ui/assets/AnnotatedAttachmentWorkspace-DHNYaNg6.js +0 -3
- package/dist/ui/assets/AssetTraySortControl-DphbyHVc.js +0 -1
- package/dist/ui/assets/ContextAttachmentManager-CMxSzHqc.js +0 -3
- package/dist/ui/assets/EntityActivityTimeline-pJ2ZjZ-k.js +0 -1
- package/dist/ui/assets/PlanningModule-CeTqXMMz.css +0 -1
- package/dist/ui/assets/PlanningModule-t5GbvVR9.js +0 -1
- package/dist/ui/assets/PlansPage-BVH_NfgT.js +0 -1
- package/dist/ui/assets/TaskContextUpload-Ds4LnDzV.css +0 -1
- package/dist/ui/assets/TaskContextUpload-bl4fOOUz.js +0 -1
- package/dist/ui/assets/TaskSettings-xVsxSa0g.js +0 -12
- package/dist/ui/assets/WorkflowManagerModule-BKqIGVnF.js +0 -1
- package/dist/ui/assets/index-BzJlVnNS.css +0 -1
- package/dist/ui/assets/index-Cx7vZJHL.js +0 -7
|
@@ -31,12 +31,14 @@
|
|
|
31
31
|
* === SECTION: Settings Model === Line ~4625 — settingsModel object
|
|
32
32
|
* === SECTION: Return Value === Line ~4817 — final return object (public API shape)
|
|
33
33
|
*/
|
|
34
|
-
import { type SetStateAction } from 'react';
|
|
34
|
+
import { type Dispatch, type SetStateAction } from 'react';
|
|
35
35
|
import type { TaskforceConfig, TaskforceTheme, Comment, AttachmentItem, CategoryConfig, TaskItem, TaxonomyDefinition, TaskAssignee, TaskStatus, DeletedTaskRecord, InitiativeItem, WorkstreamItem, ChecklistItem, PlanningBootstrapPayload, PlanningBootstrapWorkstreamTaskSummary, PlanningLoadState } from '../types';
|
|
36
36
|
import { type FirstClassTaxonomyDisplayLabels } from '../shared/taxonomyState.js';
|
|
37
|
+
import type { PlanningIdentityColor, PlanningIdentityIcon } from '../shared/planningIdentity.js';
|
|
37
38
|
import type { UiNotice } from '../utils/uiNotice';
|
|
38
39
|
import type { TaskAssigneeOption } from '../utils/assignees';
|
|
39
40
|
import { type WorkspaceModuleId } from './workspace/workspaceLocalState';
|
|
41
|
+
export declare function buildRelationshipTasks(tasks: TaskItem[], archivedTasks: TaskItem[], taskDetails: TaskItem[], editingTaskId: string | null): TaskItem[];
|
|
40
42
|
export interface UseTaskforceProps {
|
|
41
43
|
config?: Partial<TaskforceConfig>;
|
|
42
44
|
initialTaskId?: string;
|
|
@@ -107,6 +109,7 @@ export declare function sanitizePlanningBootstrapPayload(input: unknown): Planni
|
|
|
107
109
|
export declare function useTaskforce({ config, initialTaskId, initialActivityEntryId, requestedWorkspaceId, onTaskCountChange, onClose }: UseTaskforceProps): {
|
|
108
110
|
config: {
|
|
109
111
|
cloudEnvironment: any;
|
|
112
|
+
appGates: any;
|
|
110
113
|
apiBaseUrl: string | undefined;
|
|
111
114
|
cloudAuthBaseUrl: string | undefined;
|
|
112
115
|
wsBaseUrl: string | undefined;
|
|
@@ -135,33 +138,43 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
135
138
|
manualComplexityEnabled: boolean;
|
|
136
139
|
checklistDropdownEnabled: boolean;
|
|
137
140
|
showTaskCardStatusLabel: boolean;
|
|
141
|
+
showTaskCardDescription: boolean;
|
|
142
|
+
showTaskCardAttachments: boolean;
|
|
143
|
+
showTaskCardChecklistProgress: boolean;
|
|
144
|
+
showTaskCardLatestActivity: boolean;
|
|
145
|
+
tintTaskCardActivityBackground: boolean;
|
|
138
146
|
};
|
|
139
147
|
isOpen: boolean;
|
|
140
|
-
setIsOpen:
|
|
148
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
141
149
|
activeTab: "tasks" | "settings" | "add";
|
|
142
150
|
setActiveTab: (tab: "add" | "tasks" | "settings") => void;
|
|
143
151
|
currentTheme: "light" | "dawn" | "dark" | "midnight";
|
|
144
|
-
setCurrentTheme:
|
|
152
|
+
setCurrentTheme: Dispatch<SetStateAction<"light" | "dawn" | "dark" | "midnight">>;
|
|
145
153
|
configLoaded: boolean;
|
|
146
154
|
storagePath: string;
|
|
147
155
|
saveSettings: () => Promise<boolean>;
|
|
148
156
|
pathSaved: boolean;
|
|
149
157
|
keyShortcut: string;
|
|
150
|
-
setKeyShortcut:
|
|
158
|
+
setKeyShortcut: Dispatch<SetStateAction<string>>;
|
|
151
159
|
globalWeekStartsOn: WeekStartsOn;
|
|
152
160
|
locale: "en-US" | "es-419" | "pt-BR";
|
|
153
161
|
supportedLocales: ("en-US" | "es-419" | "pt-BR")[];
|
|
154
162
|
saveLocale: (nextLocale: string) => Promise<boolean>;
|
|
155
163
|
jsonBackupEnabled: boolean;
|
|
156
|
-
setJsonBackupEnabled:
|
|
164
|
+
setJsonBackupEnabled: Dispatch<SetStateAction<boolean>>;
|
|
157
165
|
manualComplexityEnabled: boolean;
|
|
158
166
|
checklistDropdownEnabled: boolean;
|
|
159
167
|
showTaskCardStatusLabel: boolean;
|
|
160
|
-
|
|
168
|
+
showTaskCardDescription: boolean;
|
|
169
|
+
showTaskCardAttachments: boolean;
|
|
170
|
+
showTaskCardChecklistProgress: boolean;
|
|
171
|
+
showTaskCardLatestActivity: boolean;
|
|
172
|
+
tintTaskCardActivityBackground: boolean;
|
|
173
|
+
setManualComplexityEnabled: Dispatch<SetStateAction<boolean>>;
|
|
161
174
|
mcpHostRoot: string;
|
|
162
|
-
setMcpHostRoot:
|
|
163
|
-
settingsSection: "mcp" | "categories" | "types" | "general" | "
|
|
164
|
-
setSettingsSection:
|
|
175
|
+
setMcpHostRoot: Dispatch<SetStateAction<string>>;
|
|
176
|
+
settingsSection: "mcp" | "categories" | "types" | "general" | "documents" | "taxonomy" | "agents" | "appearance-application" | "appearance-task-cards" | "appearance-task-forms" | "integrations" | null;
|
|
177
|
+
setSettingsSection: Dispatch<SetStateAction<"mcp" | "categories" | "types" | "general" | "documents" | "taxonomy" | "agents" | "appearance-application" | "appearance-task-cards" | "appearance-task-forms" | "integrations" | null>>;
|
|
165
178
|
runtimeMode: "local" | "cloud";
|
|
166
179
|
workspaceMode: "single-local" | "multi-cloud";
|
|
167
180
|
workspaceSwitchingEnabled: boolean;
|
|
@@ -243,7 +256,7 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
243
256
|
realtimeSyncEnabled: boolean;
|
|
244
257
|
realtimeSyncFlagSource: "default" | "unknown" | "settings" | "env";
|
|
245
258
|
currentWorkspaceId: string;
|
|
246
|
-
currentWorkspaceRole: "
|
|
259
|
+
currentWorkspaceRole: "owner" | "member" | "admin" | "read-only" | null;
|
|
247
260
|
availableWorkspaces: WorkspaceSummary[];
|
|
248
261
|
assigneeOptions: TaskAssigneeOption[];
|
|
249
262
|
workspaceCloudSyncEnabled: boolean;
|
|
@@ -432,7 +445,7 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
432
445
|
}>;
|
|
433
446
|
logout: () => Promise<void>;
|
|
434
447
|
showFolderBrowser: boolean;
|
|
435
|
-
setShowFolderBrowser:
|
|
448
|
+
setShowFolderBrowser: Dispatch<SetStateAction<boolean>>;
|
|
436
449
|
folders: string[];
|
|
437
450
|
files: string[];
|
|
438
451
|
currentBrowsePath: string;
|
|
@@ -441,16 +454,16 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
441
454
|
type: "category";
|
|
442
455
|
value: string;
|
|
443
456
|
} | null;
|
|
444
|
-
setBrowserTarget:
|
|
457
|
+
setBrowserTarget: Dispatch<SetStateAction<"storage" | {
|
|
445
458
|
type: "category";
|
|
446
459
|
value: string;
|
|
447
460
|
} | null>>;
|
|
448
|
-
groupBy: "category" | "type" | "priority" | "
|
|
449
|
-
setGroupBy:
|
|
461
|
+
groupBy: "category" | "type" | "priority" | "complexity" | "status" | "assignee" | "schedule";
|
|
462
|
+
setGroupBy: Dispatch<SetStateAction<"category" | "type" | "priority" | "complexity" | "status" | "assignee" | "schedule">>;
|
|
450
463
|
activeWorkspaceModule: WorkspaceModuleId;
|
|
451
|
-
setActiveWorkspaceModule:
|
|
464
|
+
setActiveWorkspaceModule: Dispatch<SetStateAction<WorkspaceModuleId>>;
|
|
452
465
|
emptyColumnMode: "show" | "collapse" | "hide";
|
|
453
|
-
setEmptyColumnMode:
|
|
466
|
+
setEmptyColumnMode: Dispatch<SetStateAction<"show" | "collapse" | "hide">>;
|
|
454
467
|
zenMode: boolean;
|
|
455
468
|
setZenMode: () => Promise<void>;
|
|
456
469
|
handleSelectPath: (path: string) => void;
|
|
@@ -484,38 +497,38 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
484
497
|
taxonomyDisplayLabels: FirstClassTaxonomyDisplayLabels;
|
|
485
498
|
taxonomies: TaxonomyDefinition[];
|
|
486
499
|
searchQuery: string;
|
|
487
|
-
setSearchQuery:
|
|
500
|
+
setSearchQuery: Dispatch<SetStateAction<string>>;
|
|
488
501
|
filterCategories: string[];
|
|
489
|
-
setFilterCategories:
|
|
502
|
+
setFilterCategories: Dispatch<SetStateAction<string[]>>;
|
|
490
503
|
filterTypes: string[];
|
|
491
|
-
setFilterTypes:
|
|
504
|
+
setFilterTypes: Dispatch<SetStateAction<string[]>>;
|
|
492
505
|
filterPriorities: (string | number)[];
|
|
493
|
-
setFilterPriorities:
|
|
506
|
+
setFilterPriorities: Dispatch<SetStateAction<(string | number)[]>>;
|
|
494
507
|
filterStatus: (string | number)[];
|
|
495
|
-
setFilterStatus:
|
|
508
|
+
setFilterStatus: Dispatch<SetStateAction<(string | number)[]>>;
|
|
496
509
|
filterAssignees: string[];
|
|
497
510
|
setFilterAssignees: (nextValues: TaskAssignee[] | ((prev: TaskAssignee[]) => TaskAssignee[])) => void;
|
|
498
511
|
filterTaxonomies: Record<string, (string | number)[]>;
|
|
499
|
-
setFilterTaxonomies:
|
|
512
|
+
setFilterTaxonomies: Dispatch<SetStateAction<Record<string, (string | number)[]>>>;
|
|
500
513
|
hasInitedFilters: boolean;
|
|
501
514
|
sortBy: import("../utils/taxonomySorting").TaskSortKey;
|
|
502
|
-
setSortBy:
|
|
515
|
+
setSortBy: Dispatch<SetStateAction<import("../utils/taxonomySorting").TaskSortKey>>;
|
|
503
516
|
sortOrder: "asc" | "desc";
|
|
504
|
-
setSortOrder:
|
|
517
|
+
setSortOrder: Dispatch<SetStateAction<"asc" | "desc">>;
|
|
505
518
|
toggleSortOrder: () => void;
|
|
506
519
|
showArchive: boolean;
|
|
507
|
-
setShowArchive:
|
|
520
|
+
setShowArchive: Dispatch<SetStateAction<boolean>>;
|
|
508
521
|
taskScope: TaskScope;
|
|
509
|
-
setTaskScope:
|
|
522
|
+
setTaskScope: Dispatch<SetStateAction<TaskScope>>;
|
|
510
523
|
compressedCards: boolean;
|
|
511
|
-
setCompressedCards:
|
|
524
|
+
setCompressedCards: Dispatch<SetStateAction<boolean>>;
|
|
512
525
|
clearFilters: () => void;
|
|
513
526
|
filteredTasks: TaskItem[];
|
|
514
527
|
searchAgnosticTasks: TaskItem[];
|
|
515
528
|
filteredArchive: TaskItem[];
|
|
516
529
|
groupedTasks: Record<string, TaskItem[]>;
|
|
517
530
|
collapsedCategories: Record<string, boolean>;
|
|
518
|
-
setCollapsedCategories:
|
|
531
|
+
setCollapsedCategories: Dispatch<SetStateAction<Record<string, boolean>>>;
|
|
519
532
|
fetchTasks: (isSilent?: boolean, options?: {
|
|
520
533
|
ignoreAuthGuard?: boolean;
|
|
521
534
|
highlightChangedTaskIds?: readonly string[];
|
|
@@ -539,6 +552,10 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
539
552
|
}>;
|
|
540
553
|
createInitiative: (payload: Partial<InitiativeItem>) => Promise<InitiativeItem>;
|
|
541
554
|
updateInitiative: (id: string, payload: Partial<InitiativeItem>) => Promise<InitiativeItem>;
|
|
555
|
+
updatePlanningIdentity: (entityType: "initiative" | "workstream", id: string, patch: {
|
|
556
|
+
icon?: PlanningIdentityIcon | null;
|
|
557
|
+
color?: PlanningIdentityColor | null;
|
|
558
|
+
}) => Promise<InitiativeItem | WorkstreamItem>;
|
|
542
559
|
archiveInitiative: (id: string) => Promise<InitiativeItem>;
|
|
543
560
|
unarchiveInitiative: (id: string) => Promise<InitiativeItem>;
|
|
544
561
|
createWorkstream: (payload: Partial<WorkstreamItem>) => Promise<WorkstreamItem>;
|
|
@@ -548,6 +565,7 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
548
565
|
reorderWorkstreamTasks: (workstreamId: string, taskIds: string[]) => Promise<void>;
|
|
549
566
|
handleEdit: (task: TaskItem, options?: {
|
|
550
567
|
preserveReturnTrail?: boolean;
|
|
568
|
+
adoptAsBaseline?: boolean;
|
|
551
569
|
}) => void;
|
|
552
570
|
handleDelete: (id: string, archive?: boolean, options?: {
|
|
553
571
|
skipConfirm?: boolean;
|
|
@@ -568,61 +586,65 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
568
586
|
handlePermanentlyDeleteDeletedTask: (id: string) => Promise<boolean>;
|
|
569
587
|
handleEmptyDeletedTasks: () => Promise<number | null>;
|
|
570
588
|
handleUpdateTask: (id: string, updates: Partial<TaskItem>) => Promise<boolean | undefined>;
|
|
571
|
-
handleSetStatus: (task: TaskItem, status: import("../core/TaskDurableStatusMutationService").DurableTaskTargetStatus, updates?: Partial<TaskItem
|
|
589
|
+
handleSetStatus: (task: TaskItem, status: import("../core/TaskDurableStatusMutationService").DurableTaskTargetStatus, updates?: Partial<TaskItem>, expectedDetailRevisionOverride?: string | null) => Promise<void>;
|
|
572
590
|
editingTaskId: string | null;
|
|
573
591
|
loading: boolean;
|
|
574
592
|
error: string;
|
|
575
593
|
clearTaskError: () => void;
|
|
576
594
|
title: string;
|
|
577
|
-
setTitle:
|
|
595
|
+
setTitle: Dispatch<SetStateAction<string>>;
|
|
578
596
|
setTitleDraft: (value: string) => void;
|
|
579
597
|
description: string;
|
|
580
|
-
setDescription:
|
|
598
|
+
setDescription: Dispatch<SetStateAction<string>>;
|
|
581
599
|
setDescriptionDraft: (value: string) => void;
|
|
582
600
|
checklistItems: ChecklistItem[];
|
|
583
|
-
setChecklistItems:
|
|
601
|
+
setChecklistItems: Dispatch<SetStateAction<ChecklistItem[]>>;
|
|
584
602
|
category: string;
|
|
585
|
-
setCategory:
|
|
603
|
+
setCategory: Dispatch<SetStateAction<string>>;
|
|
586
604
|
type: string;
|
|
587
|
-
setType:
|
|
605
|
+
setType: Dispatch<SetStateAction<string>>;
|
|
588
606
|
priority: string | number;
|
|
589
|
-
setPriority:
|
|
607
|
+
setPriority: Dispatch<SetStateAction<string | number>>;
|
|
590
608
|
complexity: string | number;
|
|
591
|
-
setComplexity:
|
|
609
|
+
setComplexity: Dispatch<SetStateAction<string | number>>;
|
|
592
610
|
status: TaskStatus;
|
|
593
|
-
setStatus:
|
|
611
|
+
setStatus: Dispatch<SetStateAction<TaskStatus>>;
|
|
594
612
|
assignee: string;
|
|
595
|
-
setAssignee:
|
|
613
|
+
setAssignee: Dispatch<SetStateAction<string>>;
|
|
596
614
|
scheduledDate: string;
|
|
597
|
-
setScheduledDate:
|
|
615
|
+
setScheduledDate: Dispatch<SetStateAction<string>>;
|
|
598
616
|
dueDate: string;
|
|
599
|
-
setDueDate:
|
|
617
|
+
setDueDate: Dispatch<SetStateAction<string>>;
|
|
600
618
|
workstreamInput: string;
|
|
601
|
-
setWorkstreamInput:
|
|
619
|
+
setWorkstreamInput: Dispatch<SetStateAction<string>>;
|
|
602
620
|
formTaxonomies: Record<string, string | number | string[] | number[]>;
|
|
603
|
-
setFormTaxonomies:
|
|
621
|
+
setFormTaxonomies: Dispatch<SetStateAction<Record<string, string | number | string[] | number[]>>>;
|
|
604
622
|
comments: Comment[];
|
|
605
623
|
newCommentText: string;
|
|
606
|
-
setNewCommentText:
|
|
624
|
+
setNewCommentText: Dispatch<SetStateAction<string>>;
|
|
607
625
|
attachments: (string | AttachmentItem)[];
|
|
608
|
-
setAttachments:
|
|
626
|
+
setAttachments: Dispatch<SetStateAction<(string | AttachmentItem)[]>>;
|
|
609
627
|
attachmentsDirty: boolean;
|
|
610
|
-
setAttachmentsDirty:
|
|
628
|
+
setAttachmentsDirty: Dispatch<SetStateAction<boolean>>;
|
|
629
|
+
descriptionImageUploadPending: boolean;
|
|
630
|
+
descriptionImageDraftId: string;
|
|
631
|
+
registerDescriptionImageUpload: (upload: Promise<void>) => void;
|
|
611
632
|
descriptionFocused: boolean;
|
|
612
|
-
setDescriptionFocused:
|
|
633
|
+
setDescriptionFocused: Dispatch<SetStateAction<boolean>>;
|
|
613
634
|
showMarkdownHelp: boolean;
|
|
614
|
-
setShowMarkdownHelp:
|
|
635
|
+
setShowMarkdownHelp: Dispatch<SetStateAction<boolean>>;
|
|
615
636
|
isCapturingScreenshot: boolean;
|
|
616
|
-
setIsCapturingScreenshot:
|
|
637
|
+
setIsCapturingScreenshot: Dispatch<SetStateAction<boolean>>;
|
|
617
638
|
handleSubmit: (event: React.FormEvent) => Promise<void>;
|
|
618
639
|
resetForm: () => void;
|
|
640
|
+
discardDescriptionImageDraft: () => Promise<void>;
|
|
619
641
|
handleAddComment: (text: string) => Promise<void>;
|
|
620
642
|
handleSetWorkstreamForCurrentTask: (workstreamIdOverride?: string | null) => Promise<void>;
|
|
621
643
|
handleOpenTaskById: (taskId: string) => void;
|
|
622
644
|
returnToPreviousTask: () => boolean;
|
|
623
645
|
autoSaveState: import("./tasks/useTaskFormActions").TaskAutoSaveState;
|
|
624
646
|
unsavedModalOpen: boolean;
|
|
625
|
-
setUnsavedModalOpen:
|
|
647
|
+
setUnsavedModalOpen: Dispatch<SetStateAction<boolean>>;
|
|
626
648
|
pendingNavigation: (() => void) | null;
|
|
627
649
|
handleNavigation: (action: () => void) => Promise<void>;
|
|
628
650
|
handleClose: () => void;
|
|
@@ -630,6 +652,10 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
630
652
|
pushNotice: (message: string, tone?: UiNotice["tone"], ttlMs?: number, action?: {
|
|
631
653
|
label: string;
|
|
632
654
|
onAction: () => void;
|
|
655
|
+
primary?: boolean;
|
|
656
|
+
secondaryLabel?: string;
|
|
657
|
+
onSecondaryAction?: () => void;
|
|
658
|
+
dismissible?: boolean;
|
|
633
659
|
ownerKey?: string;
|
|
634
660
|
}) => void;
|
|
635
661
|
clearNotice: () => void;
|
|
@@ -648,13 +674,13 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
648
674
|
confirmScheduleWarning: () => Promise<void>;
|
|
649
675
|
cancelScheduleWarning: () => void;
|
|
650
676
|
tasksScrollRef: import("react").RefObject<HTMLDivElement | null>;
|
|
651
|
-
setTasksScrollPos:
|
|
677
|
+
setTasksScrollPos: Dispatch<SetStateAction<number>>;
|
|
652
678
|
taskforceAgentId: string;
|
|
653
|
-
setTaskforceAgentId:
|
|
679
|
+
setTaskforceAgentId: Dispatch<SetStateAction<string>>;
|
|
654
680
|
taskforceAgentConversationId: string;
|
|
655
|
-
setTaskforceAgentConversationId:
|
|
681
|
+
setTaskforceAgentConversationId: Dispatch<SetStateAction<string>>;
|
|
656
682
|
taskforceAgentConversationByAgentId: Record<string, string>;
|
|
657
|
-
setTaskforceAgentConversationByAgentId:
|
|
683
|
+
setTaskforceAgentConversationByAgentId: Dispatch<SetStateAction<Record<string, string>>>;
|
|
658
684
|
uiStateReady: boolean;
|
|
659
685
|
handleUpdateCategory: (updatedCat: CategoryConfig, oldLabel?: string) => Promise<void>;
|
|
660
686
|
handleRemoveCategory: (catValue: string) => Promise<void>;
|
|
@@ -685,7 +711,7 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
685
711
|
validatePaths: (paths: string[]) => Promise<void>;
|
|
686
712
|
getCategoryPaths: (cat: CategoryConfig) => string[];
|
|
687
713
|
customCategories: CategoryConfig[];
|
|
688
|
-
setCustomCategories:
|
|
714
|
+
setCustomCategories: Dispatch<SetStateAction<CategoryConfig[]>>;
|
|
689
715
|
projectRoot: string;
|
|
690
716
|
projectName: string;
|
|
691
717
|
mcpScriptPath: string;
|
|
@@ -726,8 +752,13 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
726
752
|
manualComplexityEnabled: boolean;
|
|
727
753
|
checklistDropdownEnabled: boolean;
|
|
728
754
|
showTaskCardStatusLabel: boolean;
|
|
755
|
+
showTaskCardDescription: boolean;
|
|
756
|
+
showTaskCardAttachments: boolean;
|
|
757
|
+
showTaskCardChecklistProgress: boolean;
|
|
758
|
+
showTaskCardLatestActivity: boolean;
|
|
759
|
+
tintTaskCardActivityBackground: boolean;
|
|
729
760
|
pathSaved: boolean;
|
|
730
|
-
initialSection: "mcp" | "categories" | "types" | "priorities" | "general" | "
|
|
761
|
+
initialSection: "mcp" | "categories" | "types" | "priorities" | "general" | "documents" | "taxonomy" | "agents" | "initiatives" | "appearance-application" | "appearance-task-cards" | "appearance-task-forms" | "integrations" | null;
|
|
731
762
|
setupState: any;
|
|
732
763
|
buildInfo: any;
|
|
733
764
|
onSaveSetupMode: (...args: any[]) => any;
|
|
@@ -735,15 +766,21 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
735
766
|
onThemeChange: (value: any) => void;
|
|
736
767
|
onSaveTheme: (...args: any[]) => any;
|
|
737
768
|
onSaveGlobalTheme: (...args: any[]) => any;
|
|
769
|
+
onUseGlobalThemeDefault: (...args: any[]) => any;
|
|
738
770
|
onKeyShortcutChange: (value: string) => void;
|
|
739
771
|
onJsonBackupEnabledChange: (...args: any[]) => any;
|
|
740
772
|
onSaveGlobalJsonBackupEnabled: (...args: any[]) => any;
|
|
773
|
+
onUseGlobalJsonBackupDefault: (...args: any[]) => any;
|
|
741
774
|
onSaveGlobalWeekStartsOn: (...args: any[]) => any;
|
|
742
775
|
onSaveLocale: (...args: any[]) => any;
|
|
743
776
|
onManualComplexityEnabledChange: (...args: any[]) => any;
|
|
744
777
|
onChecklistDropdownEnabledChange: (...args: any[]) => any;
|
|
745
778
|
onShowTaskCardStatusLabelChange: (...args: any[]) => any;
|
|
746
|
-
|
|
779
|
+
onShowTaskCardDescriptionChange: (...args: any[]) => any;
|
|
780
|
+
onShowTaskCardAttachmentsChange: (...args: any[]) => any;
|
|
781
|
+
onShowTaskCardChecklistProgressChange: (...args: any[]) => any;
|
|
782
|
+
onShowTaskCardLatestActivityChange: (...args: any[]) => any;
|
|
783
|
+
onTintTaskCardActivityBackgroundChange: (...args: any[]) => any;
|
|
747
784
|
onSaveSettings: (...args: any[]) => any;
|
|
748
785
|
initiativeTemplates: any[];
|
|
749
786
|
onRefreshInitiativeTemplates: (...args: any[]) => any;
|
|
@@ -787,7 +824,7 @@ export declare function useTaskforce({ config, initialTaskId, initialActivityEnt
|
|
|
787
824
|
cloudAuthBaseUrl: string | undefined;
|
|
788
825
|
cloudMcpBaseUrl: string | undefined;
|
|
789
826
|
workspaceSwitchingEnabled: boolean;
|
|
790
|
-
currentWorkspaceRole: "
|
|
827
|
+
currentWorkspaceRole: "owner" | "member" | "admin" | "read-only";
|
|
791
828
|
currentWorkspaceName: string;
|
|
792
829
|
onDeleteWorkspace: (...args: any[]) => any;
|
|
793
830
|
onMcpHostRootChange: (value: string) => void;
|