@pellux/goodvibes-sdk 0.33.20 → 0.33.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/browser-knowledge.d.ts +49 -0
  2. package/dist/browser-knowledge.d.ts.map +1 -1
  3. package/dist/browser-knowledge.js +22 -0
  4. package/dist/contracts/artifacts/operator-contract.json +4615 -4
  5. package/dist/events/agents.d.ts +11 -0
  6. package/dist/events/agents.d.ts.map +1 -1
  7. package/dist/events/index.d.ts +1 -1
  8. package/dist/events/index.d.ts.map +1 -1
  9. package/dist/events/planner.d.ts +69 -1
  10. package/dist/events/planner.d.ts.map +1 -1
  11. package/dist/platform/agents/wrfc-controller.d.ts +19 -0
  12. package/dist/platform/agents/wrfc-controller.d.ts.map +1 -1
  13. package/dist/platform/agents/wrfc-controller.js +286 -22
  14. package/dist/platform/agents/wrfc-reporting.d.ts.map +1 -1
  15. package/dist/platform/agents/wrfc-reporting.js +5 -1
  16. package/dist/platform/agents/wrfc-types.d.ts +1 -1
  17. package/dist/platform/agents/wrfc-types.d.ts.map +1 -1
  18. package/dist/platform/control-plane/method-catalog-knowledge.d.ts.map +1 -1
  19. package/dist/platform/control-plane/method-catalog-knowledge.js +154 -1
  20. package/dist/platform/control-plane/operator-contract-schemas-project-planning.d.ts +4 -0
  21. package/dist/platform/control-plane/operator-contract-schemas-project-planning.d.ts.map +1 -1
  22. package/dist/platform/control-plane/operator-contract-schemas-project-planning.js +78 -0
  23. package/dist/platform/core/orchestrator-turn-helpers.d.ts.map +1 -1
  24. package/dist/platform/core/orchestrator-turn-helpers.js +27 -11
  25. package/dist/platform/core/orchestrator-turn-loop.d.ts.map +1 -1
  26. package/dist/platform/core/orchestrator-turn-loop.js +4 -1
  27. package/dist/platform/core/wrfc-routing.d.ts +5 -0
  28. package/dist/platform/core/wrfc-routing.d.ts.map +1 -0
  29. package/dist/platform/core/wrfc-routing.js +51 -0
  30. package/dist/platform/daemon/http/project-planning-routes.d.ts.map +1 -1
  31. package/dist/platform/daemon/http/project-planning-routes.js +67 -0
  32. package/dist/platform/knowledge/index.d.ts +1 -1
  33. package/dist/platform/knowledge/index.d.ts.map +1 -1
  34. package/dist/platform/knowledge/project-planning/helpers.d.ts +1 -1
  35. package/dist/platform/knowledge/project-planning/helpers.d.ts.map +1 -1
  36. package/dist/platform/knowledge/project-planning/helpers.js +4 -0
  37. package/dist/platform/knowledge/project-planning/index.d.ts +1 -1
  38. package/dist/platform/knowledge/project-planning/index.d.ts.map +1 -1
  39. package/dist/platform/knowledge/project-planning/service.d.ts +21 -1
  40. package/dist/platform/knowledge/project-planning/service.d.ts.map +1 -1
  41. package/dist/platform/knowledge/project-planning/service.js +502 -1
  42. package/dist/platform/knowledge/project-planning/types.d.ts +140 -0
  43. package/dist/platform/knowledge/project-planning/types.d.ts.map +1 -1
  44. package/dist/platform/runtime/emitters/agents.d.ts +11 -0
  45. package/dist/platform/runtime/emitters/agents.d.ts.map +1 -1
  46. package/dist/platform/runtime/emitters/planner.d.ts +22 -0
  47. package/dist/platform/runtime/emitters/planner.d.ts.map +1 -1
  48. package/dist/platform/runtime/emitters/planner.js +15 -0
  49. package/dist/platform/runtime/events/index.d.ts +1 -1
  50. package/dist/platform/runtime/events/index.d.ts.map +1 -1
  51. package/dist/platform/runtime/services.d.ts.map +1 -1
  52. package/dist/platform/runtime/services.js +2 -0
  53. package/dist/platform/runtime/store/domains/agents.d.ts +3 -1
  54. package/dist/platform/runtime/store/domains/agents.d.ts.map +1 -1
  55. package/dist/platform/runtime/store/helpers/reducers/lifecycle.d.ts.map +1 -1
  56. package/dist/platform/runtime/store/helpers/reducers/lifecycle.js +25 -6
  57. package/dist/platform/tools/agent/index.d.ts.map +1 -1
  58. package/dist/platform/tools/agent/index.js +131 -64
  59. package/dist/platform/tools/agent/manager.d.ts +1 -0
  60. package/dist/platform/tools/agent/manager.d.ts.map +1 -1
  61. package/dist/platform/tools/agent/manager.js +36 -7
  62. package/dist/platform/tools/agent/schema.d.ts.map +1 -1
  63. package/dist/platform/tools/agent/schema.js +7 -6
  64. package/dist/platform/version.js +1 -1
  65. package/package.json +9 -9
@@ -3,7 +3,7 @@
3
3
  "product": {
4
4
  "id": "goodvibes",
5
5
  "surface": "operator",
6
- "version": "0.33.20"
6
+ "version": "0.33.22"
7
7
  },
8
8
  "auth": {
9
9
  "modes": [
@@ -46466,6 +46466,4617 @@
46466
46466
  },
46467
46467
  "invokable": true
46468
46468
  },
46469
+ {
46470
+ "id": "projectPlanning.workPlan.clearCompleted",
46471
+ "title": "Clear Completed Project Work Plan Tasks",
46472
+ "description": "Remove completed project work-plan tasks. Defaults to clearing status done only.",
46473
+ "category": "knowledge",
46474
+ "source": "builtin",
46475
+ "access": "admin",
46476
+ "transport": [
46477
+ "http",
46478
+ "ws"
46479
+ ],
46480
+ "scopes": [
46481
+ "write:knowledge"
46482
+ ],
46483
+ "http": {
46484
+ "method": "POST",
46485
+ "path": "/api/projects/planning/work-plan/clear-completed"
46486
+ },
46487
+ "inputSchema": {
46488
+ "type": "object",
46489
+ "properties": {
46490
+ "projectId": {
46491
+ "type": "string"
46492
+ },
46493
+ "knowledgeSpaceId": {
46494
+ "type": "string"
46495
+ },
46496
+ "workPlanId": {
46497
+ "type": "string"
46498
+ },
46499
+ "statuses": {
46500
+ "type": "array",
46501
+ "items": {
46502
+ "type": "string"
46503
+ }
46504
+ }
46505
+ },
46506
+ "additionalProperties": true
46507
+ },
46508
+ "outputSchema": {
46509
+ "type": "object",
46510
+ "properties": {
46511
+ "ok": {
46512
+ "type": "boolean"
46513
+ },
46514
+ "projectId": {
46515
+ "type": "string"
46516
+ },
46517
+ "knowledgeSpaceId": {
46518
+ "type": "string"
46519
+ },
46520
+ "workPlanId": {
46521
+ "type": "string"
46522
+ },
46523
+ "task": {
46524
+ "type": "object",
46525
+ "properties": {
46526
+ "taskId": {
46527
+ "type": "string"
46528
+ },
46529
+ "projectId": {
46530
+ "type": "string"
46531
+ },
46532
+ "knowledgeSpaceId": {
46533
+ "type": "string"
46534
+ },
46535
+ "title": {
46536
+ "type": "string"
46537
+ },
46538
+ "notes": {
46539
+ "type": "string"
46540
+ },
46541
+ "owner": {
46542
+ "type": "string"
46543
+ },
46544
+ "status": {
46545
+ "type": "string"
46546
+ },
46547
+ "priority": {
46548
+ "type": "number"
46549
+ },
46550
+ "order": {
46551
+ "type": "number"
46552
+ },
46553
+ "source": {
46554
+ "type": "string"
46555
+ },
46556
+ "tags": {
46557
+ "type": "array",
46558
+ "items": {
46559
+ "type": "string"
46560
+ }
46561
+ },
46562
+ "parentTaskId": {
46563
+ "type": "string"
46564
+ },
46565
+ "chainId": {
46566
+ "type": "string"
46567
+ },
46568
+ "phaseId": {
46569
+ "type": "string"
46570
+ },
46571
+ "agentId": {
46572
+ "type": "string"
46573
+ },
46574
+ "turnId": {
46575
+ "type": "string"
46576
+ },
46577
+ "decisionId": {
46578
+ "type": "string"
46579
+ },
46580
+ "sourceMessageId": {
46581
+ "type": "string"
46582
+ },
46583
+ "linkedArtifactIds": {
46584
+ "type": "array",
46585
+ "items": {
46586
+ "type": "string"
46587
+ }
46588
+ },
46589
+ "linkedSourceIds": {
46590
+ "type": "array",
46591
+ "items": {
46592
+ "type": "string"
46593
+ }
46594
+ },
46595
+ "linkedNodeIds": {
46596
+ "type": "array",
46597
+ "items": {
46598
+ "type": "string"
46599
+ }
46600
+ },
46601
+ "originSurface": {
46602
+ "type": "string"
46603
+ },
46604
+ "createdAt": {
46605
+ "type": "number"
46606
+ },
46607
+ "updatedAt": {
46608
+ "type": "number"
46609
+ },
46610
+ "completedAt": {
46611
+ "type": "number"
46612
+ },
46613
+ "metadata": {
46614
+ "type": "object",
46615
+ "additionalProperties": {
46616
+ "anyOf": [
46617
+ {
46618
+ "type": "string"
46619
+ },
46620
+ {
46621
+ "type": "number"
46622
+ },
46623
+ {
46624
+ "type": "boolean"
46625
+ },
46626
+ {
46627
+ "type": "null"
46628
+ },
46629
+ {
46630
+ "type": "object",
46631
+ "additionalProperties": {}
46632
+ },
46633
+ {
46634
+ "type": "array",
46635
+ "items": {}
46636
+ }
46637
+ ]
46638
+ }
46639
+ }
46640
+ },
46641
+ "required": [
46642
+ "taskId",
46643
+ "projectId",
46644
+ "knowledgeSpaceId",
46645
+ "title",
46646
+ "status",
46647
+ "order",
46648
+ "tags",
46649
+ "linkedArtifactIds",
46650
+ "linkedSourceIds",
46651
+ "linkedNodeIds",
46652
+ "createdAt",
46653
+ "updatedAt"
46654
+ ],
46655
+ "additionalProperties": true
46656
+ },
46657
+ "previousTask": {
46658
+ "type": "object",
46659
+ "properties": {
46660
+ "taskId": {
46661
+ "type": "string"
46662
+ },
46663
+ "projectId": {
46664
+ "type": "string"
46665
+ },
46666
+ "knowledgeSpaceId": {
46667
+ "type": "string"
46668
+ },
46669
+ "title": {
46670
+ "type": "string"
46671
+ },
46672
+ "notes": {
46673
+ "type": "string"
46674
+ },
46675
+ "owner": {
46676
+ "type": "string"
46677
+ },
46678
+ "status": {
46679
+ "type": "string"
46680
+ },
46681
+ "priority": {
46682
+ "type": "number"
46683
+ },
46684
+ "order": {
46685
+ "type": "number"
46686
+ },
46687
+ "source": {
46688
+ "type": "string"
46689
+ },
46690
+ "tags": {
46691
+ "type": "array",
46692
+ "items": {
46693
+ "type": "string"
46694
+ }
46695
+ },
46696
+ "parentTaskId": {
46697
+ "type": "string"
46698
+ },
46699
+ "chainId": {
46700
+ "type": "string"
46701
+ },
46702
+ "phaseId": {
46703
+ "type": "string"
46704
+ },
46705
+ "agentId": {
46706
+ "type": "string"
46707
+ },
46708
+ "turnId": {
46709
+ "type": "string"
46710
+ },
46711
+ "decisionId": {
46712
+ "type": "string"
46713
+ },
46714
+ "sourceMessageId": {
46715
+ "type": "string"
46716
+ },
46717
+ "linkedArtifactIds": {
46718
+ "type": "array",
46719
+ "items": {
46720
+ "type": "string"
46721
+ }
46722
+ },
46723
+ "linkedSourceIds": {
46724
+ "type": "array",
46725
+ "items": {
46726
+ "type": "string"
46727
+ }
46728
+ },
46729
+ "linkedNodeIds": {
46730
+ "type": "array",
46731
+ "items": {
46732
+ "type": "string"
46733
+ }
46734
+ },
46735
+ "originSurface": {
46736
+ "type": "string"
46737
+ },
46738
+ "createdAt": {
46739
+ "type": "number"
46740
+ },
46741
+ "updatedAt": {
46742
+ "type": "number"
46743
+ },
46744
+ "completedAt": {
46745
+ "type": "number"
46746
+ },
46747
+ "metadata": {
46748
+ "type": "object",
46749
+ "additionalProperties": {
46750
+ "anyOf": [
46751
+ {
46752
+ "type": "string"
46753
+ },
46754
+ {
46755
+ "type": "number"
46756
+ },
46757
+ {
46758
+ "type": "boolean"
46759
+ },
46760
+ {
46761
+ "type": "null"
46762
+ },
46763
+ {
46764
+ "type": "object",
46765
+ "additionalProperties": {}
46766
+ },
46767
+ {
46768
+ "type": "array",
46769
+ "items": {}
46770
+ }
46771
+ ]
46772
+ }
46773
+ }
46774
+ },
46775
+ "required": [
46776
+ "taskId",
46777
+ "projectId",
46778
+ "knowledgeSpaceId",
46779
+ "title",
46780
+ "status",
46781
+ "order",
46782
+ "tags",
46783
+ "linkedArtifactIds",
46784
+ "linkedSourceIds",
46785
+ "linkedNodeIds",
46786
+ "createdAt",
46787
+ "updatedAt"
46788
+ ],
46789
+ "additionalProperties": true
46790
+ },
46791
+ "deletedTask": {
46792
+ "type": "object",
46793
+ "properties": {
46794
+ "taskId": {
46795
+ "type": "string"
46796
+ },
46797
+ "projectId": {
46798
+ "type": "string"
46799
+ },
46800
+ "knowledgeSpaceId": {
46801
+ "type": "string"
46802
+ },
46803
+ "title": {
46804
+ "type": "string"
46805
+ },
46806
+ "notes": {
46807
+ "type": "string"
46808
+ },
46809
+ "owner": {
46810
+ "type": "string"
46811
+ },
46812
+ "status": {
46813
+ "type": "string"
46814
+ },
46815
+ "priority": {
46816
+ "type": "number"
46817
+ },
46818
+ "order": {
46819
+ "type": "number"
46820
+ },
46821
+ "source": {
46822
+ "type": "string"
46823
+ },
46824
+ "tags": {
46825
+ "type": "array",
46826
+ "items": {
46827
+ "type": "string"
46828
+ }
46829
+ },
46830
+ "parentTaskId": {
46831
+ "type": "string"
46832
+ },
46833
+ "chainId": {
46834
+ "type": "string"
46835
+ },
46836
+ "phaseId": {
46837
+ "type": "string"
46838
+ },
46839
+ "agentId": {
46840
+ "type": "string"
46841
+ },
46842
+ "turnId": {
46843
+ "type": "string"
46844
+ },
46845
+ "decisionId": {
46846
+ "type": "string"
46847
+ },
46848
+ "sourceMessageId": {
46849
+ "type": "string"
46850
+ },
46851
+ "linkedArtifactIds": {
46852
+ "type": "array",
46853
+ "items": {
46854
+ "type": "string"
46855
+ }
46856
+ },
46857
+ "linkedSourceIds": {
46858
+ "type": "array",
46859
+ "items": {
46860
+ "type": "string"
46861
+ }
46862
+ },
46863
+ "linkedNodeIds": {
46864
+ "type": "array",
46865
+ "items": {
46866
+ "type": "string"
46867
+ }
46868
+ },
46869
+ "originSurface": {
46870
+ "type": "string"
46871
+ },
46872
+ "createdAt": {
46873
+ "type": "number"
46874
+ },
46875
+ "updatedAt": {
46876
+ "type": "number"
46877
+ },
46878
+ "completedAt": {
46879
+ "type": "number"
46880
+ },
46881
+ "metadata": {
46882
+ "type": "object",
46883
+ "additionalProperties": {
46884
+ "anyOf": [
46885
+ {
46886
+ "type": "string"
46887
+ },
46888
+ {
46889
+ "type": "number"
46890
+ },
46891
+ {
46892
+ "type": "boolean"
46893
+ },
46894
+ {
46895
+ "type": "null"
46896
+ },
46897
+ {
46898
+ "type": "object",
46899
+ "additionalProperties": {}
46900
+ },
46901
+ {
46902
+ "type": "array",
46903
+ "items": {}
46904
+ }
46905
+ ]
46906
+ }
46907
+ }
46908
+ },
46909
+ "required": [
46910
+ "taskId",
46911
+ "projectId",
46912
+ "knowledgeSpaceId",
46913
+ "title",
46914
+ "status",
46915
+ "order",
46916
+ "tags",
46917
+ "linkedArtifactIds",
46918
+ "linkedSourceIds",
46919
+ "linkedNodeIds",
46920
+ "createdAt",
46921
+ "updatedAt"
46922
+ ],
46923
+ "additionalProperties": true
46924
+ },
46925
+ "clearedTaskIds": {
46926
+ "type": "array",
46927
+ "items": {
46928
+ "type": "string"
46929
+ }
46930
+ },
46931
+ "snapshot": {
46932
+ "type": "object",
46933
+ "properties": {
46934
+ "ok": {
46935
+ "type": "boolean"
46936
+ },
46937
+ "projectId": {
46938
+ "type": "string"
46939
+ },
46940
+ "knowledgeSpaceId": {
46941
+ "type": "string"
46942
+ },
46943
+ "workPlanId": {
46944
+ "type": "string"
46945
+ },
46946
+ "tasks": {
46947
+ "type": "array",
46948
+ "items": {
46949
+ "type": "object",
46950
+ "properties": {
46951
+ "taskId": {
46952
+ "type": "string"
46953
+ },
46954
+ "projectId": {
46955
+ "type": "string"
46956
+ },
46957
+ "knowledgeSpaceId": {
46958
+ "type": "string"
46959
+ },
46960
+ "title": {
46961
+ "type": "string"
46962
+ },
46963
+ "notes": {
46964
+ "type": "string"
46965
+ },
46966
+ "owner": {
46967
+ "type": "string"
46968
+ },
46969
+ "status": {
46970
+ "type": "string"
46971
+ },
46972
+ "priority": {
46973
+ "type": "number"
46974
+ },
46975
+ "order": {
46976
+ "type": "number"
46977
+ },
46978
+ "source": {
46979
+ "type": "string"
46980
+ },
46981
+ "tags": {
46982
+ "type": "array",
46983
+ "items": {
46984
+ "type": "string"
46985
+ }
46986
+ },
46987
+ "parentTaskId": {
46988
+ "type": "string"
46989
+ },
46990
+ "chainId": {
46991
+ "type": "string"
46992
+ },
46993
+ "phaseId": {
46994
+ "type": "string"
46995
+ },
46996
+ "agentId": {
46997
+ "type": "string"
46998
+ },
46999
+ "turnId": {
47000
+ "type": "string"
47001
+ },
47002
+ "decisionId": {
47003
+ "type": "string"
47004
+ },
47005
+ "sourceMessageId": {
47006
+ "type": "string"
47007
+ },
47008
+ "linkedArtifactIds": {
47009
+ "type": "array",
47010
+ "items": {
47011
+ "type": "string"
47012
+ }
47013
+ },
47014
+ "linkedSourceIds": {
47015
+ "type": "array",
47016
+ "items": {
47017
+ "type": "string"
47018
+ }
47019
+ },
47020
+ "linkedNodeIds": {
47021
+ "type": "array",
47022
+ "items": {
47023
+ "type": "string"
47024
+ }
47025
+ },
47026
+ "originSurface": {
47027
+ "type": "string"
47028
+ },
47029
+ "createdAt": {
47030
+ "type": "number"
47031
+ },
47032
+ "updatedAt": {
47033
+ "type": "number"
47034
+ },
47035
+ "completedAt": {
47036
+ "type": "number"
47037
+ },
47038
+ "metadata": {
47039
+ "type": "object",
47040
+ "additionalProperties": {
47041
+ "anyOf": [
47042
+ {
47043
+ "type": "string"
47044
+ },
47045
+ {
47046
+ "type": "number"
47047
+ },
47048
+ {
47049
+ "type": "boolean"
47050
+ },
47051
+ {
47052
+ "type": "null"
47053
+ },
47054
+ {
47055
+ "type": "object",
47056
+ "additionalProperties": {}
47057
+ },
47058
+ {
47059
+ "type": "array",
47060
+ "items": {}
47061
+ }
47062
+ ]
47063
+ }
47064
+ }
47065
+ },
47066
+ "required": [
47067
+ "taskId",
47068
+ "projectId",
47069
+ "knowledgeSpaceId",
47070
+ "title",
47071
+ "status",
47072
+ "order",
47073
+ "tags",
47074
+ "linkedArtifactIds",
47075
+ "linkedSourceIds",
47076
+ "linkedNodeIds",
47077
+ "createdAt",
47078
+ "updatedAt"
47079
+ ],
47080
+ "additionalProperties": true
47081
+ }
47082
+ },
47083
+ "counts": {
47084
+ "type": "object",
47085
+ "properties": {
47086
+ "total": {
47087
+ "type": "number"
47088
+ },
47089
+ "pending": {
47090
+ "type": "number"
47091
+ },
47092
+ "in_progress": {
47093
+ "type": "number"
47094
+ },
47095
+ "blocked": {
47096
+ "type": "number"
47097
+ },
47098
+ "done": {
47099
+ "type": "number"
47100
+ },
47101
+ "failed": {
47102
+ "type": "number"
47103
+ },
47104
+ "cancelled": {
47105
+ "type": "number"
47106
+ }
47107
+ },
47108
+ "required": [
47109
+ "total",
47110
+ "pending",
47111
+ "in_progress",
47112
+ "blocked",
47113
+ "done",
47114
+ "failed",
47115
+ "cancelled"
47116
+ ],
47117
+ "additionalProperties": false
47118
+ },
47119
+ "updatedAt": {
47120
+ "type": "number"
47121
+ }
47122
+ },
47123
+ "required": [
47124
+ "ok",
47125
+ "projectId",
47126
+ "knowledgeSpaceId",
47127
+ "workPlanId",
47128
+ "tasks",
47129
+ "counts",
47130
+ "updatedAt"
47131
+ ],
47132
+ "additionalProperties": true
47133
+ }
47134
+ },
47135
+ "required": [
47136
+ "ok",
47137
+ "projectId",
47138
+ "knowledgeSpaceId",
47139
+ "workPlanId",
47140
+ "snapshot"
47141
+ ],
47142
+ "additionalProperties": true
47143
+ },
47144
+ "invokable": true
47145
+ },
47146
+ {
47147
+ "id": "projectPlanning.workPlan.snapshot",
47148
+ "title": "Project Work Plan Snapshot",
47149
+ "description": "Return the durable project-scoped work-plan snapshot, including tasks and status counts.",
47150
+ "category": "knowledge",
47151
+ "source": "builtin",
47152
+ "access": "authenticated",
47153
+ "transport": [
47154
+ "http",
47155
+ "ws"
47156
+ ],
47157
+ "scopes": [
47158
+ "read:knowledge"
47159
+ ],
47160
+ "http": {
47161
+ "method": "GET",
47162
+ "path": "/api/projects/planning/work-plan"
47163
+ },
47164
+ "inputSchema": {
47165
+ "type": "object",
47166
+ "properties": {
47167
+ "projectId": {
47168
+ "type": "string"
47169
+ },
47170
+ "knowledgeSpaceId": {
47171
+ "type": "string"
47172
+ },
47173
+ "workPlanId": {
47174
+ "type": "string"
47175
+ },
47176
+ "status": {
47177
+ "type": "string"
47178
+ },
47179
+ "parentTaskId": {
47180
+ "type": "string"
47181
+ },
47182
+ "chainId": {
47183
+ "type": "string"
47184
+ },
47185
+ "owner": {
47186
+ "type": "string"
47187
+ },
47188
+ "limit": {
47189
+ "type": "number"
47190
+ }
47191
+ },
47192
+ "additionalProperties": false
47193
+ },
47194
+ "outputSchema": {
47195
+ "type": "object",
47196
+ "properties": {
47197
+ "ok": {
47198
+ "type": "boolean"
47199
+ },
47200
+ "projectId": {
47201
+ "type": "string"
47202
+ },
47203
+ "knowledgeSpaceId": {
47204
+ "type": "string"
47205
+ },
47206
+ "workPlanId": {
47207
+ "type": "string"
47208
+ },
47209
+ "tasks": {
47210
+ "type": "array",
47211
+ "items": {
47212
+ "type": "object",
47213
+ "properties": {
47214
+ "taskId": {
47215
+ "type": "string"
47216
+ },
47217
+ "projectId": {
47218
+ "type": "string"
47219
+ },
47220
+ "knowledgeSpaceId": {
47221
+ "type": "string"
47222
+ },
47223
+ "title": {
47224
+ "type": "string"
47225
+ },
47226
+ "notes": {
47227
+ "type": "string"
47228
+ },
47229
+ "owner": {
47230
+ "type": "string"
47231
+ },
47232
+ "status": {
47233
+ "type": "string"
47234
+ },
47235
+ "priority": {
47236
+ "type": "number"
47237
+ },
47238
+ "order": {
47239
+ "type": "number"
47240
+ },
47241
+ "source": {
47242
+ "type": "string"
47243
+ },
47244
+ "tags": {
47245
+ "type": "array",
47246
+ "items": {
47247
+ "type": "string"
47248
+ }
47249
+ },
47250
+ "parentTaskId": {
47251
+ "type": "string"
47252
+ },
47253
+ "chainId": {
47254
+ "type": "string"
47255
+ },
47256
+ "phaseId": {
47257
+ "type": "string"
47258
+ },
47259
+ "agentId": {
47260
+ "type": "string"
47261
+ },
47262
+ "turnId": {
47263
+ "type": "string"
47264
+ },
47265
+ "decisionId": {
47266
+ "type": "string"
47267
+ },
47268
+ "sourceMessageId": {
47269
+ "type": "string"
47270
+ },
47271
+ "linkedArtifactIds": {
47272
+ "type": "array",
47273
+ "items": {
47274
+ "type": "string"
47275
+ }
47276
+ },
47277
+ "linkedSourceIds": {
47278
+ "type": "array",
47279
+ "items": {
47280
+ "type": "string"
47281
+ }
47282
+ },
47283
+ "linkedNodeIds": {
47284
+ "type": "array",
47285
+ "items": {
47286
+ "type": "string"
47287
+ }
47288
+ },
47289
+ "originSurface": {
47290
+ "type": "string"
47291
+ },
47292
+ "createdAt": {
47293
+ "type": "number"
47294
+ },
47295
+ "updatedAt": {
47296
+ "type": "number"
47297
+ },
47298
+ "completedAt": {
47299
+ "type": "number"
47300
+ },
47301
+ "metadata": {
47302
+ "type": "object",
47303
+ "additionalProperties": {
47304
+ "anyOf": [
47305
+ {
47306
+ "type": "string"
47307
+ },
47308
+ {
47309
+ "type": "number"
47310
+ },
47311
+ {
47312
+ "type": "boolean"
47313
+ },
47314
+ {
47315
+ "type": "null"
47316
+ },
47317
+ {
47318
+ "type": "object",
47319
+ "additionalProperties": {}
47320
+ },
47321
+ {
47322
+ "type": "array",
47323
+ "items": {}
47324
+ }
47325
+ ]
47326
+ }
47327
+ }
47328
+ },
47329
+ "required": [
47330
+ "taskId",
47331
+ "projectId",
47332
+ "knowledgeSpaceId",
47333
+ "title",
47334
+ "status",
47335
+ "order",
47336
+ "tags",
47337
+ "linkedArtifactIds",
47338
+ "linkedSourceIds",
47339
+ "linkedNodeIds",
47340
+ "createdAt",
47341
+ "updatedAt"
47342
+ ],
47343
+ "additionalProperties": true
47344
+ }
47345
+ },
47346
+ "counts": {
47347
+ "type": "object",
47348
+ "properties": {
47349
+ "total": {
47350
+ "type": "number"
47351
+ },
47352
+ "pending": {
47353
+ "type": "number"
47354
+ },
47355
+ "in_progress": {
47356
+ "type": "number"
47357
+ },
47358
+ "blocked": {
47359
+ "type": "number"
47360
+ },
47361
+ "done": {
47362
+ "type": "number"
47363
+ },
47364
+ "failed": {
47365
+ "type": "number"
47366
+ },
47367
+ "cancelled": {
47368
+ "type": "number"
47369
+ }
47370
+ },
47371
+ "required": [
47372
+ "total",
47373
+ "pending",
47374
+ "in_progress",
47375
+ "blocked",
47376
+ "done",
47377
+ "failed",
47378
+ "cancelled"
47379
+ ],
47380
+ "additionalProperties": false
47381
+ },
47382
+ "updatedAt": {
47383
+ "type": "number"
47384
+ }
47385
+ },
47386
+ "required": [
47387
+ "ok",
47388
+ "projectId",
47389
+ "knowledgeSpaceId",
47390
+ "workPlanId",
47391
+ "tasks",
47392
+ "counts",
47393
+ "updatedAt"
47394
+ ],
47395
+ "additionalProperties": true
47396
+ },
47397
+ "invokable": true
47398
+ },
47399
+ {
47400
+ "id": "projectPlanning.workPlan.task.create",
47401
+ "title": "Create Project Work Plan Task",
47402
+ "description": "Create a durable project-scoped work-plan task for TUI, WebUI, APK, daemon planning, or WRFC correlation.",
47403
+ "category": "knowledge",
47404
+ "source": "builtin",
47405
+ "access": "admin",
47406
+ "transport": [
47407
+ "http",
47408
+ "ws"
47409
+ ],
47410
+ "scopes": [
47411
+ "write:knowledge"
47412
+ ],
47413
+ "http": {
47414
+ "method": "POST",
47415
+ "path": "/api/projects/planning/work-plan/tasks"
47416
+ },
47417
+ "inputSchema": {
47418
+ "type": "object",
47419
+ "properties": {
47420
+ "projectId": {
47421
+ "type": "string"
47422
+ },
47423
+ "knowledgeSpaceId": {
47424
+ "type": "string"
47425
+ },
47426
+ "workPlanId": {
47427
+ "type": "string"
47428
+ },
47429
+ "task": {
47430
+ "type": "object",
47431
+ "additionalProperties": {
47432
+ "anyOf": [
47433
+ {
47434
+ "type": "string"
47435
+ },
47436
+ {
47437
+ "type": "number"
47438
+ },
47439
+ {
47440
+ "type": "boolean"
47441
+ },
47442
+ {
47443
+ "type": "null"
47444
+ },
47445
+ {
47446
+ "type": "object",
47447
+ "additionalProperties": {}
47448
+ },
47449
+ {
47450
+ "type": "array",
47451
+ "items": {}
47452
+ }
47453
+ ]
47454
+ }
47455
+ }
47456
+ },
47457
+ "required": [
47458
+ "task"
47459
+ ],
47460
+ "additionalProperties": true
47461
+ },
47462
+ "outputSchema": {
47463
+ "type": "object",
47464
+ "properties": {
47465
+ "ok": {
47466
+ "type": "boolean"
47467
+ },
47468
+ "projectId": {
47469
+ "type": "string"
47470
+ },
47471
+ "knowledgeSpaceId": {
47472
+ "type": "string"
47473
+ },
47474
+ "workPlanId": {
47475
+ "type": "string"
47476
+ },
47477
+ "task": {
47478
+ "type": "object",
47479
+ "properties": {
47480
+ "taskId": {
47481
+ "type": "string"
47482
+ },
47483
+ "projectId": {
47484
+ "type": "string"
47485
+ },
47486
+ "knowledgeSpaceId": {
47487
+ "type": "string"
47488
+ },
47489
+ "title": {
47490
+ "type": "string"
47491
+ },
47492
+ "notes": {
47493
+ "type": "string"
47494
+ },
47495
+ "owner": {
47496
+ "type": "string"
47497
+ },
47498
+ "status": {
47499
+ "type": "string"
47500
+ },
47501
+ "priority": {
47502
+ "type": "number"
47503
+ },
47504
+ "order": {
47505
+ "type": "number"
47506
+ },
47507
+ "source": {
47508
+ "type": "string"
47509
+ },
47510
+ "tags": {
47511
+ "type": "array",
47512
+ "items": {
47513
+ "type": "string"
47514
+ }
47515
+ },
47516
+ "parentTaskId": {
47517
+ "type": "string"
47518
+ },
47519
+ "chainId": {
47520
+ "type": "string"
47521
+ },
47522
+ "phaseId": {
47523
+ "type": "string"
47524
+ },
47525
+ "agentId": {
47526
+ "type": "string"
47527
+ },
47528
+ "turnId": {
47529
+ "type": "string"
47530
+ },
47531
+ "decisionId": {
47532
+ "type": "string"
47533
+ },
47534
+ "sourceMessageId": {
47535
+ "type": "string"
47536
+ },
47537
+ "linkedArtifactIds": {
47538
+ "type": "array",
47539
+ "items": {
47540
+ "type": "string"
47541
+ }
47542
+ },
47543
+ "linkedSourceIds": {
47544
+ "type": "array",
47545
+ "items": {
47546
+ "type": "string"
47547
+ }
47548
+ },
47549
+ "linkedNodeIds": {
47550
+ "type": "array",
47551
+ "items": {
47552
+ "type": "string"
47553
+ }
47554
+ },
47555
+ "originSurface": {
47556
+ "type": "string"
47557
+ },
47558
+ "createdAt": {
47559
+ "type": "number"
47560
+ },
47561
+ "updatedAt": {
47562
+ "type": "number"
47563
+ },
47564
+ "completedAt": {
47565
+ "type": "number"
47566
+ },
47567
+ "metadata": {
47568
+ "type": "object",
47569
+ "additionalProperties": {
47570
+ "anyOf": [
47571
+ {
47572
+ "type": "string"
47573
+ },
47574
+ {
47575
+ "type": "number"
47576
+ },
47577
+ {
47578
+ "type": "boolean"
47579
+ },
47580
+ {
47581
+ "type": "null"
47582
+ },
47583
+ {
47584
+ "type": "object",
47585
+ "additionalProperties": {}
47586
+ },
47587
+ {
47588
+ "type": "array",
47589
+ "items": {}
47590
+ }
47591
+ ]
47592
+ }
47593
+ }
47594
+ },
47595
+ "required": [
47596
+ "taskId",
47597
+ "projectId",
47598
+ "knowledgeSpaceId",
47599
+ "title",
47600
+ "status",
47601
+ "order",
47602
+ "tags",
47603
+ "linkedArtifactIds",
47604
+ "linkedSourceIds",
47605
+ "linkedNodeIds",
47606
+ "createdAt",
47607
+ "updatedAt"
47608
+ ],
47609
+ "additionalProperties": true
47610
+ },
47611
+ "previousTask": {
47612
+ "type": "object",
47613
+ "properties": {
47614
+ "taskId": {
47615
+ "type": "string"
47616
+ },
47617
+ "projectId": {
47618
+ "type": "string"
47619
+ },
47620
+ "knowledgeSpaceId": {
47621
+ "type": "string"
47622
+ },
47623
+ "title": {
47624
+ "type": "string"
47625
+ },
47626
+ "notes": {
47627
+ "type": "string"
47628
+ },
47629
+ "owner": {
47630
+ "type": "string"
47631
+ },
47632
+ "status": {
47633
+ "type": "string"
47634
+ },
47635
+ "priority": {
47636
+ "type": "number"
47637
+ },
47638
+ "order": {
47639
+ "type": "number"
47640
+ },
47641
+ "source": {
47642
+ "type": "string"
47643
+ },
47644
+ "tags": {
47645
+ "type": "array",
47646
+ "items": {
47647
+ "type": "string"
47648
+ }
47649
+ },
47650
+ "parentTaskId": {
47651
+ "type": "string"
47652
+ },
47653
+ "chainId": {
47654
+ "type": "string"
47655
+ },
47656
+ "phaseId": {
47657
+ "type": "string"
47658
+ },
47659
+ "agentId": {
47660
+ "type": "string"
47661
+ },
47662
+ "turnId": {
47663
+ "type": "string"
47664
+ },
47665
+ "decisionId": {
47666
+ "type": "string"
47667
+ },
47668
+ "sourceMessageId": {
47669
+ "type": "string"
47670
+ },
47671
+ "linkedArtifactIds": {
47672
+ "type": "array",
47673
+ "items": {
47674
+ "type": "string"
47675
+ }
47676
+ },
47677
+ "linkedSourceIds": {
47678
+ "type": "array",
47679
+ "items": {
47680
+ "type": "string"
47681
+ }
47682
+ },
47683
+ "linkedNodeIds": {
47684
+ "type": "array",
47685
+ "items": {
47686
+ "type": "string"
47687
+ }
47688
+ },
47689
+ "originSurface": {
47690
+ "type": "string"
47691
+ },
47692
+ "createdAt": {
47693
+ "type": "number"
47694
+ },
47695
+ "updatedAt": {
47696
+ "type": "number"
47697
+ },
47698
+ "completedAt": {
47699
+ "type": "number"
47700
+ },
47701
+ "metadata": {
47702
+ "type": "object",
47703
+ "additionalProperties": {
47704
+ "anyOf": [
47705
+ {
47706
+ "type": "string"
47707
+ },
47708
+ {
47709
+ "type": "number"
47710
+ },
47711
+ {
47712
+ "type": "boolean"
47713
+ },
47714
+ {
47715
+ "type": "null"
47716
+ },
47717
+ {
47718
+ "type": "object",
47719
+ "additionalProperties": {}
47720
+ },
47721
+ {
47722
+ "type": "array",
47723
+ "items": {}
47724
+ }
47725
+ ]
47726
+ }
47727
+ }
47728
+ },
47729
+ "required": [
47730
+ "taskId",
47731
+ "projectId",
47732
+ "knowledgeSpaceId",
47733
+ "title",
47734
+ "status",
47735
+ "order",
47736
+ "tags",
47737
+ "linkedArtifactIds",
47738
+ "linkedSourceIds",
47739
+ "linkedNodeIds",
47740
+ "createdAt",
47741
+ "updatedAt"
47742
+ ],
47743
+ "additionalProperties": true
47744
+ },
47745
+ "deletedTask": {
47746
+ "type": "object",
47747
+ "properties": {
47748
+ "taskId": {
47749
+ "type": "string"
47750
+ },
47751
+ "projectId": {
47752
+ "type": "string"
47753
+ },
47754
+ "knowledgeSpaceId": {
47755
+ "type": "string"
47756
+ },
47757
+ "title": {
47758
+ "type": "string"
47759
+ },
47760
+ "notes": {
47761
+ "type": "string"
47762
+ },
47763
+ "owner": {
47764
+ "type": "string"
47765
+ },
47766
+ "status": {
47767
+ "type": "string"
47768
+ },
47769
+ "priority": {
47770
+ "type": "number"
47771
+ },
47772
+ "order": {
47773
+ "type": "number"
47774
+ },
47775
+ "source": {
47776
+ "type": "string"
47777
+ },
47778
+ "tags": {
47779
+ "type": "array",
47780
+ "items": {
47781
+ "type": "string"
47782
+ }
47783
+ },
47784
+ "parentTaskId": {
47785
+ "type": "string"
47786
+ },
47787
+ "chainId": {
47788
+ "type": "string"
47789
+ },
47790
+ "phaseId": {
47791
+ "type": "string"
47792
+ },
47793
+ "agentId": {
47794
+ "type": "string"
47795
+ },
47796
+ "turnId": {
47797
+ "type": "string"
47798
+ },
47799
+ "decisionId": {
47800
+ "type": "string"
47801
+ },
47802
+ "sourceMessageId": {
47803
+ "type": "string"
47804
+ },
47805
+ "linkedArtifactIds": {
47806
+ "type": "array",
47807
+ "items": {
47808
+ "type": "string"
47809
+ }
47810
+ },
47811
+ "linkedSourceIds": {
47812
+ "type": "array",
47813
+ "items": {
47814
+ "type": "string"
47815
+ }
47816
+ },
47817
+ "linkedNodeIds": {
47818
+ "type": "array",
47819
+ "items": {
47820
+ "type": "string"
47821
+ }
47822
+ },
47823
+ "originSurface": {
47824
+ "type": "string"
47825
+ },
47826
+ "createdAt": {
47827
+ "type": "number"
47828
+ },
47829
+ "updatedAt": {
47830
+ "type": "number"
47831
+ },
47832
+ "completedAt": {
47833
+ "type": "number"
47834
+ },
47835
+ "metadata": {
47836
+ "type": "object",
47837
+ "additionalProperties": {
47838
+ "anyOf": [
47839
+ {
47840
+ "type": "string"
47841
+ },
47842
+ {
47843
+ "type": "number"
47844
+ },
47845
+ {
47846
+ "type": "boolean"
47847
+ },
47848
+ {
47849
+ "type": "null"
47850
+ },
47851
+ {
47852
+ "type": "object",
47853
+ "additionalProperties": {}
47854
+ },
47855
+ {
47856
+ "type": "array",
47857
+ "items": {}
47858
+ }
47859
+ ]
47860
+ }
47861
+ }
47862
+ },
47863
+ "required": [
47864
+ "taskId",
47865
+ "projectId",
47866
+ "knowledgeSpaceId",
47867
+ "title",
47868
+ "status",
47869
+ "order",
47870
+ "tags",
47871
+ "linkedArtifactIds",
47872
+ "linkedSourceIds",
47873
+ "linkedNodeIds",
47874
+ "createdAt",
47875
+ "updatedAt"
47876
+ ],
47877
+ "additionalProperties": true
47878
+ },
47879
+ "clearedTaskIds": {
47880
+ "type": "array",
47881
+ "items": {
47882
+ "type": "string"
47883
+ }
47884
+ },
47885
+ "snapshot": {
47886
+ "type": "object",
47887
+ "properties": {
47888
+ "ok": {
47889
+ "type": "boolean"
47890
+ },
47891
+ "projectId": {
47892
+ "type": "string"
47893
+ },
47894
+ "knowledgeSpaceId": {
47895
+ "type": "string"
47896
+ },
47897
+ "workPlanId": {
47898
+ "type": "string"
47899
+ },
47900
+ "tasks": {
47901
+ "type": "array",
47902
+ "items": {
47903
+ "type": "object",
47904
+ "properties": {
47905
+ "taskId": {
47906
+ "type": "string"
47907
+ },
47908
+ "projectId": {
47909
+ "type": "string"
47910
+ },
47911
+ "knowledgeSpaceId": {
47912
+ "type": "string"
47913
+ },
47914
+ "title": {
47915
+ "type": "string"
47916
+ },
47917
+ "notes": {
47918
+ "type": "string"
47919
+ },
47920
+ "owner": {
47921
+ "type": "string"
47922
+ },
47923
+ "status": {
47924
+ "type": "string"
47925
+ },
47926
+ "priority": {
47927
+ "type": "number"
47928
+ },
47929
+ "order": {
47930
+ "type": "number"
47931
+ },
47932
+ "source": {
47933
+ "type": "string"
47934
+ },
47935
+ "tags": {
47936
+ "type": "array",
47937
+ "items": {
47938
+ "type": "string"
47939
+ }
47940
+ },
47941
+ "parentTaskId": {
47942
+ "type": "string"
47943
+ },
47944
+ "chainId": {
47945
+ "type": "string"
47946
+ },
47947
+ "phaseId": {
47948
+ "type": "string"
47949
+ },
47950
+ "agentId": {
47951
+ "type": "string"
47952
+ },
47953
+ "turnId": {
47954
+ "type": "string"
47955
+ },
47956
+ "decisionId": {
47957
+ "type": "string"
47958
+ },
47959
+ "sourceMessageId": {
47960
+ "type": "string"
47961
+ },
47962
+ "linkedArtifactIds": {
47963
+ "type": "array",
47964
+ "items": {
47965
+ "type": "string"
47966
+ }
47967
+ },
47968
+ "linkedSourceIds": {
47969
+ "type": "array",
47970
+ "items": {
47971
+ "type": "string"
47972
+ }
47973
+ },
47974
+ "linkedNodeIds": {
47975
+ "type": "array",
47976
+ "items": {
47977
+ "type": "string"
47978
+ }
47979
+ },
47980
+ "originSurface": {
47981
+ "type": "string"
47982
+ },
47983
+ "createdAt": {
47984
+ "type": "number"
47985
+ },
47986
+ "updatedAt": {
47987
+ "type": "number"
47988
+ },
47989
+ "completedAt": {
47990
+ "type": "number"
47991
+ },
47992
+ "metadata": {
47993
+ "type": "object",
47994
+ "additionalProperties": {
47995
+ "anyOf": [
47996
+ {
47997
+ "type": "string"
47998
+ },
47999
+ {
48000
+ "type": "number"
48001
+ },
48002
+ {
48003
+ "type": "boolean"
48004
+ },
48005
+ {
48006
+ "type": "null"
48007
+ },
48008
+ {
48009
+ "type": "object",
48010
+ "additionalProperties": {}
48011
+ },
48012
+ {
48013
+ "type": "array",
48014
+ "items": {}
48015
+ }
48016
+ ]
48017
+ }
48018
+ }
48019
+ },
48020
+ "required": [
48021
+ "taskId",
48022
+ "projectId",
48023
+ "knowledgeSpaceId",
48024
+ "title",
48025
+ "status",
48026
+ "order",
48027
+ "tags",
48028
+ "linkedArtifactIds",
48029
+ "linkedSourceIds",
48030
+ "linkedNodeIds",
48031
+ "createdAt",
48032
+ "updatedAt"
48033
+ ],
48034
+ "additionalProperties": true
48035
+ }
48036
+ },
48037
+ "counts": {
48038
+ "type": "object",
48039
+ "properties": {
48040
+ "total": {
48041
+ "type": "number"
48042
+ },
48043
+ "pending": {
48044
+ "type": "number"
48045
+ },
48046
+ "in_progress": {
48047
+ "type": "number"
48048
+ },
48049
+ "blocked": {
48050
+ "type": "number"
48051
+ },
48052
+ "done": {
48053
+ "type": "number"
48054
+ },
48055
+ "failed": {
48056
+ "type": "number"
48057
+ },
48058
+ "cancelled": {
48059
+ "type": "number"
48060
+ }
48061
+ },
48062
+ "required": [
48063
+ "total",
48064
+ "pending",
48065
+ "in_progress",
48066
+ "blocked",
48067
+ "done",
48068
+ "failed",
48069
+ "cancelled"
48070
+ ],
48071
+ "additionalProperties": false
48072
+ },
48073
+ "updatedAt": {
48074
+ "type": "number"
48075
+ }
48076
+ },
48077
+ "required": [
48078
+ "ok",
48079
+ "projectId",
48080
+ "knowledgeSpaceId",
48081
+ "workPlanId",
48082
+ "tasks",
48083
+ "counts",
48084
+ "updatedAt"
48085
+ ],
48086
+ "additionalProperties": true
48087
+ }
48088
+ },
48089
+ "required": [
48090
+ "ok",
48091
+ "projectId",
48092
+ "knowledgeSpaceId",
48093
+ "workPlanId",
48094
+ "snapshot"
48095
+ ],
48096
+ "additionalProperties": true
48097
+ },
48098
+ "invokable": true
48099
+ },
48100
+ {
48101
+ "id": "projectPlanning.workPlan.task.delete",
48102
+ "title": "Delete Project Work Plan Task",
48103
+ "description": "Delete a durable project-scoped work-plan task.",
48104
+ "category": "knowledge",
48105
+ "source": "builtin",
48106
+ "access": "admin",
48107
+ "transport": [
48108
+ "http",
48109
+ "ws"
48110
+ ],
48111
+ "scopes": [
48112
+ "write:knowledge"
48113
+ ],
48114
+ "http": {
48115
+ "method": "DELETE",
48116
+ "path": "/api/projects/planning/work-plan/tasks/{taskId}"
48117
+ },
48118
+ "inputSchema": {
48119
+ "type": "object",
48120
+ "properties": {
48121
+ "projectId": {
48122
+ "type": "string"
48123
+ },
48124
+ "knowledgeSpaceId": {
48125
+ "type": "string"
48126
+ },
48127
+ "workPlanId": {
48128
+ "type": "string"
48129
+ },
48130
+ "taskId": {
48131
+ "type": "string"
48132
+ }
48133
+ },
48134
+ "required": [
48135
+ "taskId"
48136
+ ],
48137
+ "additionalProperties": false
48138
+ },
48139
+ "outputSchema": {
48140
+ "type": "object",
48141
+ "properties": {
48142
+ "ok": {
48143
+ "type": "boolean"
48144
+ },
48145
+ "projectId": {
48146
+ "type": "string"
48147
+ },
48148
+ "knowledgeSpaceId": {
48149
+ "type": "string"
48150
+ },
48151
+ "workPlanId": {
48152
+ "type": "string"
48153
+ },
48154
+ "task": {
48155
+ "type": "object",
48156
+ "properties": {
48157
+ "taskId": {
48158
+ "type": "string"
48159
+ },
48160
+ "projectId": {
48161
+ "type": "string"
48162
+ },
48163
+ "knowledgeSpaceId": {
48164
+ "type": "string"
48165
+ },
48166
+ "title": {
48167
+ "type": "string"
48168
+ },
48169
+ "notes": {
48170
+ "type": "string"
48171
+ },
48172
+ "owner": {
48173
+ "type": "string"
48174
+ },
48175
+ "status": {
48176
+ "type": "string"
48177
+ },
48178
+ "priority": {
48179
+ "type": "number"
48180
+ },
48181
+ "order": {
48182
+ "type": "number"
48183
+ },
48184
+ "source": {
48185
+ "type": "string"
48186
+ },
48187
+ "tags": {
48188
+ "type": "array",
48189
+ "items": {
48190
+ "type": "string"
48191
+ }
48192
+ },
48193
+ "parentTaskId": {
48194
+ "type": "string"
48195
+ },
48196
+ "chainId": {
48197
+ "type": "string"
48198
+ },
48199
+ "phaseId": {
48200
+ "type": "string"
48201
+ },
48202
+ "agentId": {
48203
+ "type": "string"
48204
+ },
48205
+ "turnId": {
48206
+ "type": "string"
48207
+ },
48208
+ "decisionId": {
48209
+ "type": "string"
48210
+ },
48211
+ "sourceMessageId": {
48212
+ "type": "string"
48213
+ },
48214
+ "linkedArtifactIds": {
48215
+ "type": "array",
48216
+ "items": {
48217
+ "type": "string"
48218
+ }
48219
+ },
48220
+ "linkedSourceIds": {
48221
+ "type": "array",
48222
+ "items": {
48223
+ "type": "string"
48224
+ }
48225
+ },
48226
+ "linkedNodeIds": {
48227
+ "type": "array",
48228
+ "items": {
48229
+ "type": "string"
48230
+ }
48231
+ },
48232
+ "originSurface": {
48233
+ "type": "string"
48234
+ },
48235
+ "createdAt": {
48236
+ "type": "number"
48237
+ },
48238
+ "updatedAt": {
48239
+ "type": "number"
48240
+ },
48241
+ "completedAt": {
48242
+ "type": "number"
48243
+ },
48244
+ "metadata": {
48245
+ "type": "object",
48246
+ "additionalProperties": {
48247
+ "anyOf": [
48248
+ {
48249
+ "type": "string"
48250
+ },
48251
+ {
48252
+ "type": "number"
48253
+ },
48254
+ {
48255
+ "type": "boolean"
48256
+ },
48257
+ {
48258
+ "type": "null"
48259
+ },
48260
+ {
48261
+ "type": "object",
48262
+ "additionalProperties": {}
48263
+ },
48264
+ {
48265
+ "type": "array",
48266
+ "items": {}
48267
+ }
48268
+ ]
48269
+ }
48270
+ }
48271
+ },
48272
+ "required": [
48273
+ "taskId",
48274
+ "projectId",
48275
+ "knowledgeSpaceId",
48276
+ "title",
48277
+ "status",
48278
+ "order",
48279
+ "tags",
48280
+ "linkedArtifactIds",
48281
+ "linkedSourceIds",
48282
+ "linkedNodeIds",
48283
+ "createdAt",
48284
+ "updatedAt"
48285
+ ],
48286
+ "additionalProperties": true
48287
+ },
48288
+ "previousTask": {
48289
+ "type": "object",
48290
+ "properties": {
48291
+ "taskId": {
48292
+ "type": "string"
48293
+ },
48294
+ "projectId": {
48295
+ "type": "string"
48296
+ },
48297
+ "knowledgeSpaceId": {
48298
+ "type": "string"
48299
+ },
48300
+ "title": {
48301
+ "type": "string"
48302
+ },
48303
+ "notes": {
48304
+ "type": "string"
48305
+ },
48306
+ "owner": {
48307
+ "type": "string"
48308
+ },
48309
+ "status": {
48310
+ "type": "string"
48311
+ },
48312
+ "priority": {
48313
+ "type": "number"
48314
+ },
48315
+ "order": {
48316
+ "type": "number"
48317
+ },
48318
+ "source": {
48319
+ "type": "string"
48320
+ },
48321
+ "tags": {
48322
+ "type": "array",
48323
+ "items": {
48324
+ "type": "string"
48325
+ }
48326
+ },
48327
+ "parentTaskId": {
48328
+ "type": "string"
48329
+ },
48330
+ "chainId": {
48331
+ "type": "string"
48332
+ },
48333
+ "phaseId": {
48334
+ "type": "string"
48335
+ },
48336
+ "agentId": {
48337
+ "type": "string"
48338
+ },
48339
+ "turnId": {
48340
+ "type": "string"
48341
+ },
48342
+ "decisionId": {
48343
+ "type": "string"
48344
+ },
48345
+ "sourceMessageId": {
48346
+ "type": "string"
48347
+ },
48348
+ "linkedArtifactIds": {
48349
+ "type": "array",
48350
+ "items": {
48351
+ "type": "string"
48352
+ }
48353
+ },
48354
+ "linkedSourceIds": {
48355
+ "type": "array",
48356
+ "items": {
48357
+ "type": "string"
48358
+ }
48359
+ },
48360
+ "linkedNodeIds": {
48361
+ "type": "array",
48362
+ "items": {
48363
+ "type": "string"
48364
+ }
48365
+ },
48366
+ "originSurface": {
48367
+ "type": "string"
48368
+ },
48369
+ "createdAt": {
48370
+ "type": "number"
48371
+ },
48372
+ "updatedAt": {
48373
+ "type": "number"
48374
+ },
48375
+ "completedAt": {
48376
+ "type": "number"
48377
+ },
48378
+ "metadata": {
48379
+ "type": "object",
48380
+ "additionalProperties": {
48381
+ "anyOf": [
48382
+ {
48383
+ "type": "string"
48384
+ },
48385
+ {
48386
+ "type": "number"
48387
+ },
48388
+ {
48389
+ "type": "boolean"
48390
+ },
48391
+ {
48392
+ "type": "null"
48393
+ },
48394
+ {
48395
+ "type": "object",
48396
+ "additionalProperties": {}
48397
+ },
48398
+ {
48399
+ "type": "array",
48400
+ "items": {}
48401
+ }
48402
+ ]
48403
+ }
48404
+ }
48405
+ },
48406
+ "required": [
48407
+ "taskId",
48408
+ "projectId",
48409
+ "knowledgeSpaceId",
48410
+ "title",
48411
+ "status",
48412
+ "order",
48413
+ "tags",
48414
+ "linkedArtifactIds",
48415
+ "linkedSourceIds",
48416
+ "linkedNodeIds",
48417
+ "createdAt",
48418
+ "updatedAt"
48419
+ ],
48420
+ "additionalProperties": true
48421
+ },
48422
+ "deletedTask": {
48423
+ "type": "object",
48424
+ "properties": {
48425
+ "taskId": {
48426
+ "type": "string"
48427
+ },
48428
+ "projectId": {
48429
+ "type": "string"
48430
+ },
48431
+ "knowledgeSpaceId": {
48432
+ "type": "string"
48433
+ },
48434
+ "title": {
48435
+ "type": "string"
48436
+ },
48437
+ "notes": {
48438
+ "type": "string"
48439
+ },
48440
+ "owner": {
48441
+ "type": "string"
48442
+ },
48443
+ "status": {
48444
+ "type": "string"
48445
+ },
48446
+ "priority": {
48447
+ "type": "number"
48448
+ },
48449
+ "order": {
48450
+ "type": "number"
48451
+ },
48452
+ "source": {
48453
+ "type": "string"
48454
+ },
48455
+ "tags": {
48456
+ "type": "array",
48457
+ "items": {
48458
+ "type": "string"
48459
+ }
48460
+ },
48461
+ "parentTaskId": {
48462
+ "type": "string"
48463
+ },
48464
+ "chainId": {
48465
+ "type": "string"
48466
+ },
48467
+ "phaseId": {
48468
+ "type": "string"
48469
+ },
48470
+ "agentId": {
48471
+ "type": "string"
48472
+ },
48473
+ "turnId": {
48474
+ "type": "string"
48475
+ },
48476
+ "decisionId": {
48477
+ "type": "string"
48478
+ },
48479
+ "sourceMessageId": {
48480
+ "type": "string"
48481
+ },
48482
+ "linkedArtifactIds": {
48483
+ "type": "array",
48484
+ "items": {
48485
+ "type": "string"
48486
+ }
48487
+ },
48488
+ "linkedSourceIds": {
48489
+ "type": "array",
48490
+ "items": {
48491
+ "type": "string"
48492
+ }
48493
+ },
48494
+ "linkedNodeIds": {
48495
+ "type": "array",
48496
+ "items": {
48497
+ "type": "string"
48498
+ }
48499
+ },
48500
+ "originSurface": {
48501
+ "type": "string"
48502
+ },
48503
+ "createdAt": {
48504
+ "type": "number"
48505
+ },
48506
+ "updatedAt": {
48507
+ "type": "number"
48508
+ },
48509
+ "completedAt": {
48510
+ "type": "number"
48511
+ },
48512
+ "metadata": {
48513
+ "type": "object",
48514
+ "additionalProperties": {
48515
+ "anyOf": [
48516
+ {
48517
+ "type": "string"
48518
+ },
48519
+ {
48520
+ "type": "number"
48521
+ },
48522
+ {
48523
+ "type": "boolean"
48524
+ },
48525
+ {
48526
+ "type": "null"
48527
+ },
48528
+ {
48529
+ "type": "object",
48530
+ "additionalProperties": {}
48531
+ },
48532
+ {
48533
+ "type": "array",
48534
+ "items": {}
48535
+ }
48536
+ ]
48537
+ }
48538
+ }
48539
+ },
48540
+ "required": [
48541
+ "taskId",
48542
+ "projectId",
48543
+ "knowledgeSpaceId",
48544
+ "title",
48545
+ "status",
48546
+ "order",
48547
+ "tags",
48548
+ "linkedArtifactIds",
48549
+ "linkedSourceIds",
48550
+ "linkedNodeIds",
48551
+ "createdAt",
48552
+ "updatedAt"
48553
+ ],
48554
+ "additionalProperties": true
48555
+ },
48556
+ "clearedTaskIds": {
48557
+ "type": "array",
48558
+ "items": {
48559
+ "type": "string"
48560
+ }
48561
+ },
48562
+ "snapshot": {
48563
+ "type": "object",
48564
+ "properties": {
48565
+ "ok": {
48566
+ "type": "boolean"
48567
+ },
48568
+ "projectId": {
48569
+ "type": "string"
48570
+ },
48571
+ "knowledgeSpaceId": {
48572
+ "type": "string"
48573
+ },
48574
+ "workPlanId": {
48575
+ "type": "string"
48576
+ },
48577
+ "tasks": {
48578
+ "type": "array",
48579
+ "items": {
48580
+ "type": "object",
48581
+ "properties": {
48582
+ "taskId": {
48583
+ "type": "string"
48584
+ },
48585
+ "projectId": {
48586
+ "type": "string"
48587
+ },
48588
+ "knowledgeSpaceId": {
48589
+ "type": "string"
48590
+ },
48591
+ "title": {
48592
+ "type": "string"
48593
+ },
48594
+ "notes": {
48595
+ "type": "string"
48596
+ },
48597
+ "owner": {
48598
+ "type": "string"
48599
+ },
48600
+ "status": {
48601
+ "type": "string"
48602
+ },
48603
+ "priority": {
48604
+ "type": "number"
48605
+ },
48606
+ "order": {
48607
+ "type": "number"
48608
+ },
48609
+ "source": {
48610
+ "type": "string"
48611
+ },
48612
+ "tags": {
48613
+ "type": "array",
48614
+ "items": {
48615
+ "type": "string"
48616
+ }
48617
+ },
48618
+ "parentTaskId": {
48619
+ "type": "string"
48620
+ },
48621
+ "chainId": {
48622
+ "type": "string"
48623
+ },
48624
+ "phaseId": {
48625
+ "type": "string"
48626
+ },
48627
+ "agentId": {
48628
+ "type": "string"
48629
+ },
48630
+ "turnId": {
48631
+ "type": "string"
48632
+ },
48633
+ "decisionId": {
48634
+ "type": "string"
48635
+ },
48636
+ "sourceMessageId": {
48637
+ "type": "string"
48638
+ },
48639
+ "linkedArtifactIds": {
48640
+ "type": "array",
48641
+ "items": {
48642
+ "type": "string"
48643
+ }
48644
+ },
48645
+ "linkedSourceIds": {
48646
+ "type": "array",
48647
+ "items": {
48648
+ "type": "string"
48649
+ }
48650
+ },
48651
+ "linkedNodeIds": {
48652
+ "type": "array",
48653
+ "items": {
48654
+ "type": "string"
48655
+ }
48656
+ },
48657
+ "originSurface": {
48658
+ "type": "string"
48659
+ },
48660
+ "createdAt": {
48661
+ "type": "number"
48662
+ },
48663
+ "updatedAt": {
48664
+ "type": "number"
48665
+ },
48666
+ "completedAt": {
48667
+ "type": "number"
48668
+ },
48669
+ "metadata": {
48670
+ "type": "object",
48671
+ "additionalProperties": {
48672
+ "anyOf": [
48673
+ {
48674
+ "type": "string"
48675
+ },
48676
+ {
48677
+ "type": "number"
48678
+ },
48679
+ {
48680
+ "type": "boolean"
48681
+ },
48682
+ {
48683
+ "type": "null"
48684
+ },
48685
+ {
48686
+ "type": "object",
48687
+ "additionalProperties": {}
48688
+ },
48689
+ {
48690
+ "type": "array",
48691
+ "items": {}
48692
+ }
48693
+ ]
48694
+ }
48695
+ }
48696
+ },
48697
+ "required": [
48698
+ "taskId",
48699
+ "projectId",
48700
+ "knowledgeSpaceId",
48701
+ "title",
48702
+ "status",
48703
+ "order",
48704
+ "tags",
48705
+ "linkedArtifactIds",
48706
+ "linkedSourceIds",
48707
+ "linkedNodeIds",
48708
+ "createdAt",
48709
+ "updatedAt"
48710
+ ],
48711
+ "additionalProperties": true
48712
+ }
48713
+ },
48714
+ "counts": {
48715
+ "type": "object",
48716
+ "properties": {
48717
+ "total": {
48718
+ "type": "number"
48719
+ },
48720
+ "pending": {
48721
+ "type": "number"
48722
+ },
48723
+ "in_progress": {
48724
+ "type": "number"
48725
+ },
48726
+ "blocked": {
48727
+ "type": "number"
48728
+ },
48729
+ "done": {
48730
+ "type": "number"
48731
+ },
48732
+ "failed": {
48733
+ "type": "number"
48734
+ },
48735
+ "cancelled": {
48736
+ "type": "number"
48737
+ }
48738
+ },
48739
+ "required": [
48740
+ "total",
48741
+ "pending",
48742
+ "in_progress",
48743
+ "blocked",
48744
+ "done",
48745
+ "failed",
48746
+ "cancelled"
48747
+ ],
48748
+ "additionalProperties": false
48749
+ },
48750
+ "updatedAt": {
48751
+ "type": "number"
48752
+ }
48753
+ },
48754
+ "required": [
48755
+ "ok",
48756
+ "projectId",
48757
+ "knowledgeSpaceId",
48758
+ "workPlanId",
48759
+ "tasks",
48760
+ "counts",
48761
+ "updatedAt"
48762
+ ],
48763
+ "additionalProperties": true
48764
+ }
48765
+ },
48766
+ "required": [
48767
+ "ok",
48768
+ "projectId",
48769
+ "knowledgeSpaceId",
48770
+ "workPlanId",
48771
+ "snapshot"
48772
+ ],
48773
+ "additionalProperties": true
48774
+ },
48775
+ "invokable": true
48776
+ },
48777
+ {
48778
+ "id": "projectPlanning.workPlan.task.get",
48779
+ "title": "Get Project Work Plan Task",
48780
+ "description": "Fetch one durable project-scoped work-plan task by id.",
48781
+ "category": "knowledge",
48782
+ "source": "builtin",
48783
+ "access": "authenticated",
48784
+ "transport": [
48785
+ "http",
48786
+ "ws"
48787
+ ],
48788
+ "scopes": [
48789
+ "read:knowledge"
48790
+ ],
48791
+ "http": {
48792
+ "method": "GET",
48793
+ "path": "/api/projects/planning/work-plan/tasks/{taskId}"
48794
+ },
48795
+ "inputSchema": {
48796
+ "type": "object",
48797
+ "properties": {
48798
+ "projectId": {
48799
+ "type": "string"
48800
+ },
48801
+ "knowledgeSpaceId": {
48802
+ "type": "string"
48803
+ },
48804
+ "workPlanId": {
48805
+ "type": "string"
48806
+ },
48807
+ "taskId": {
48808
+ "type": "string"
48809
+ }
48810
+ },
48811
+ "required": [
48812
+ "taskId"
48813
+ ],
48814
+ "additionalProperties": false
48815
+ },
48816
+ "outputSchema": {
48817
+ "type": "object",
48818
+ "properties": {
48819
+ "ok": {
48820
+ "type": "boolean"
48821
+ },
48822
+ "projectId": {
48823
+ "type": "string"
48824
+ },
48825
+ "knowledgeSpaceId": {
48826
+ "type": "string"
48827
+ },
48828
+ "workPlanId": {
48829
+ "type": "string"
48830
+ },
48831
+ "task": {
48832
+ "anyOf": [
48833
+ {
48834
+ "type": "object",
48835
+ "properties": {
48836
+ "taskId": {
48837
+ "type": "string"
48838
+ },
48839
+ "projectId": {
48840
+ "type": "string"
48841
+ },
48842
+ "knowledgeSpaceId": {
48843
+ "type": "string"
48844
+ },
48845
+ "title": {
48846
+ "type": "string"
48847
+ },
48848
+ "notes": {
48849
+ "type": "string"
48850
+ },
48851
+ "owner": {
48852
+ "type": "string"
48853
+ },
48854
+ "status": {
48855
+ "type": "string"
48856
+ },
48857
+ "priority": {
48858
+ "type": "number"
48859
+ },
48860
+ "order": {
48861
+ "type": "number"
48862
+ },
48863
+ "source": {
48864
+ "type": "string"
48865
+ },
48866
+ "tags": {
48867
+ "type": "array",
48868
+ "items": {
48869
+ "type": "string"
48870
+ }
48871
+ },
48872
+ "parentTaskId": {
48873
+ "type": "string"
48874
+ },
48875
+ "chainId": {
48876
+ "type": "string"
48877
+ },
48878
+ "phaseId": {
48879
+ "type": "string"
48880
+ },
48881
+ "agentId": {
48882
+ "type": "string"
48883
+ },
48884
+ "turnId": {
48885
+ "type": "string"
48886
+ },
48887
+ "decisionId": {
48888
+ "type": "string"
48889
+ },
48890
+ "sourceMessageId": {
48891
+ "type": "string"
48892
+ },
48893
+ "linkedArtifactIds": {
48894
+ "type": "array",
48895
+ "items": {
48896
+ "type": "string"
48897
+ }
48898
+ },
48899
+ "linkedSourceIds": {
48900
+ "type": "array",
48901
+ "items": {
48902
+ "type": "string"
48903
+ }
48904
+ },
48905
+ "linkedNodeIds": {
48906
+ "type": "array",
48907
+ "items": {
48908
+ "type": "string"
48909
+ }
48910
+ },
48911
+ "originSurface": {
48912
+ "type": "string"
48913
+ },
48914
+ "createdAt": {
48915
+ "type": "number"
48916
+ },
48917
+ "updatedAt": {
48918
+ "type": "number"
48919
+ },
48920
+ "completedAt": {
48921
+ "type": "number"
48922
+ },
48923
+ "metadata": {
48924
+ "type": "object",
48925
+ "additionalProperties": {
48926
+ "anyOf": [
48927
+ {
48928
+ "type": "string"
48929
+ },
48930
+ {
48931
+ "type": "number"
48932
+ },
48933
+ {
48934
+ "type": "boolean"
48935
+ },
48936
+ {
48937
+ "type": "null"
48938
+ },
48939
+ {
48940
+ "type": "object",
48941
+ "additionalProperties": {}
48942
+ },
48943
+ {
48944
+ "type": "array",
48945
+ "items": {}
48946
+ }
48947
+ ]
48948
+ }
48949
+ }
48950
+ },
48951
+ "required": [
48952
+ "taskId",
48953
+ "projectId",
48954
+ "knowledgeSpaceId",
48955
+ "title",
48956
+ "status",
48957
+ "order",
48958
+ "tags",
48959
+ "linkedArtifactIds",
48960
+ "linkedSourceIds",
48961
+ "linkedNodeIds",
48962
+ "createdAt",
48963
+ "updatedAt"
48964
+ ],
48965
+ "additionalProperties": true
48966
+ },
48967
+ {
48968
+ "type": "null"
48969
+ }
48970
+ ]
48971
+ },
48972
+ "snapshot": {
48973
+ "type": "object",
48974
+ "properties": {
48975
+ "ok": {
48976
+ "type": "boolean"
48977
+ },
48978
+ "projectId": {
48979
+ "type": "string"
48980
+ },
48981
+ "knowledgeSpaceId": {
48982
+ "type": "string"
48983
+ },
48984
+ "workPlanId": {
48985
+ "type": "string"
48986
+ },
48987
+ "tasks": {
48988
+ "type": "array",
48989
+ "items": {
48990
+ "type": "object",
48991
+ "properties": {
48992
+ "taskId": {
48993
+ "type": "string"
48994
+ },
48995
+ "projectId": {
48996
+ "type": "string"
48997
+ },
48998
+ "knowledgeSpaceId": {
48999
+ "type": "string"
49000
+ },
49001
+ "title": {
49002
+ "type": "string"
49003
+ },
49004
+ "notes": {
49005
+ "type": "string"
49006
+ },
49007
+ "owner": {
49008
+ "type": "string"
49009
+ },
49010
+ "status": {
49011
+ "type": "string"
49012
+ },
49013
+ "priority": {
49014
+ "type": "number"
49015
+ },
49016
+ "order": {
49017
+ "type": "number"
49018
+ },
49019
+ "source": {
49020
+ "type": "string"
49021
+ },
49022
+ "tags": {
49023
+ "type": "array",
49024
+ "items": {
49025
+ "type": "string"
49026
+ }
49027
+ },
49028
+ "parentTaskId": {
49029
+ "type": "string"
49030
+ },
49031
+ "chainId": {
49032
+ "type": "string"
49033
+ },
49034
+ "phaseId": {
49035
+ "type": "string"
49036
+ },
49037
+ "agentId": {
49038
+ "type": "string"
49039
+ },
49040
+ "turnId": {
49041
+ "type": "string"
49042
+ },
49043
+ "decisionId": {
49044
+ "type": "string"
49045
+ },
49046
+ "sourceMessageId": {
49047
+ "type": "string"
49048
+ },
49049
+ "linkedArtifactIds": {
49050
+ "type": "array",
49051
+ "items": {
49052
+ "type": "string"
49053
+ }
49054
+ },
49055
+ "linkedSourceIds": {
49056
+ "type": "array",
49057
+ "items": {
49058
+ "type": "string"
49059
+ }
49060
+ },
49061
+ "linkedNodeIds": {
49062
+ "type": "array",
49063
+ "items": {
49064
+ "type": "string"
49065
+ }
49066
+ },
49067
+ "originSurface": {
49068
+ "type": "string"
49069
+ },
49070
+ "createdAt": {
49071
+ "type": "number"
49072
+ },
49073
+ "updatedAt": {
49074
+ "type": "number"
49075
+ },
49076
+ "completedAt": {
49077
+ "type": "number"
49078
+ },
49079
+ "metadata": {
49080
+ "type": "object",
49081
+ "additionalProperties": {
49082
+ "anyOf": [
49083
+ {
49084
+ "type": "string"
49085
+ },
49086
+ {
49087
+ "type": "number"
49088
+ },
49089
+ {
49090
+ "type": "boolean"
49091
+ },
49092
+ {
49093
+ "type": "null"
49094
+ },
49095
+ {
49096
+ "type": "object",
49097
+ "additionalProperties": {}
49098
+ },
49099
+ {
49100
+ "type": "array",
49101
+ "items": {}
49102
+ }
49103
+ ]
49104
+ }
49105
+ }
49106
+ },
49107
+ "required": [
49108
+ "taskId",
49109
+ "projectId",
49110
+ "knowledgeSpaceId",
49111
+ "title",
49112
+ "status",
49113
+ "order",
49114
+ "tags",
49115
+ "linkedArtifactIds",
49116
+ "linkedSourceIds",
49117
+ "linkedNodeIds",
49118
+ "createdAt",
49119
+ "updatedAt"
49120
+ ],
49121
+ "additionalProperties": true
49122
+ }
49123
+ },
49124
+ "counts": {
49125
+ "type": "object",
49126
+ "properties": {
49127
+ "total": {
49128
+ "type": "number"
49129
+ },
49130
+ "pending": {
49131
+ "type": "number"
49132
+ },
49133
+ "in_progress": {
49134
+ "type": "number"
49135
+ },
49136
+ "blocked": {
49137
+ "type": "number"
49138
+ },
49139
+ "done": {
49140
+ "type": "number"
49141
+ },
49142
+ "failed": {
49143
+ "type": "number"
49144
+ },
49145
+ "cancelled": {
49146
+ "type": "number"
49147
+ }
49148
+ },
49149
+ "required": [
49150
+ "total",
49151
+ "pending",
49152
+ "in_progress",
49153
+ "blocked",
49154
+ "done",
49155
+ "failed",
49156
+ "cancelled"
49157
+ ],
49158
+ "additionalProperties": false
49159
+ },
49160
+ "updatedAt": {
49161
+ "type": "number"
49162
+ }
49163
+ },
49164
+ "required": [
49165
+ "ok",
49166
+ "projectId",
49167
+ "knowledgeSpaceId",
49168
+ "workPlanId",
49169
+ "tasks",
49170
+ "counts",
49171
+ "updatedAt"
49172
+ ],
49173
+ "additionalProperties": true
49174
+ }
49175
+ },
49176
+ "required": [
49177
+ "ok",
49178
+ "projectId",
49179
+ "knowledgeSpaceId",
49180
+ "workPlanId",
49181
+ "task",
49182
+ "snapshot"
49183
+ ],
49184
+ "additionalProperties": true
49185
+ },
49186
+ "invokable": true
49187
+ },
49188
+ {
49189
+ "id": "projectPlanning.workPlan.task.status",
49190
+ "title": "Set Project Work Plan Task Status",
49191
+ "description": "Validate and apply a project work-plan task status transition.",
49192
+ "category": "knowledge",
49193
+ "source": "builtin",
49194
+ "access": "admin",
49195
+ "transport": [
49196
+ "http",
49197
+ "ws"
49198
+ ],
49199
+ "scopes": [
49200
+ "write:knowledge"
49201
+ ],
49202
+ "http": {
49203
+ "method": "POST",
49204
+ "path": "/api/projects/planning/work-plan/tasks/{taskId}/status"
49205
+ },
49206
+ "inputSchema": {
49207
+ "type": "object",
49208
+ "properties": {
49209
+ "projectId": {
49210
+ "type": "string"
49211
+ },
49212
+ "knowledgeSpaceId": {
49213
+ "type": "string"
49214
+ },
49215
+ "workPlanId": {
49216
+ "type": "string"
49217
+ },
49218
+ "taskId": {
49219
+ "type": "string"
49220
+ },
49221
+ "status": {
49222
+ "type": "string"
49223
+ },
49224
+ "reason": {
49225
+ "type": "string"
49226
+ },
49227
+ "source": {
49228
+ "type": "string"
49229
+ }
49230
+ },
49231
+ "required": [
49232
+ "taskId",
49233
+ "status"
49234
+ ],
49235
+ "additionalProperties": true
49236
+ },
49237
+ "outputSchema": {
49238
+ "type": "object",
49239
+ "properties": {
49240
+ "ok": {
49241
+ "type": "boolean"
49242
+ },
49243
+ "projectId": {
49244
+ "type": "string"
49245
+ },
49246
+ "knowledgeSpaceId": {
49247
+ "type": "string"
49248
+ },
49249
+ "workPlanId": {
49250
+ "type": "string"
49251
+ },
49252
+ "task": {
49253
+ "type": "object",
49254
+ "properties": {
49255
+ "taskId": {
49256
+ "type": "string"
49257
+ },
49258
+ "projectId": {
49259
+ "type": "string"
49260
+ },
49261
+ "knowledgeSpaceId": {
49262
+ "type": "string"
49263
+ },
49264
+ "title": {
49265
+ "type": "string"
49266
+ },
49267
+ "notes": {
49268
+ "type": "string"
49269
+ },
49270
+ "owner": {
49271
+ "type": "string"
49272
+ },
49273
+ "status": {
49274
+ "type": "string"
49275
+ },
49276
+ "priority": {
49277
+ "type": "number"
49278
+ },
49279
+ "order": {
49280
+ "type": "number"
49281
+ },
49282
+ "source": {
49283
+ "type": "string"
49284
+ },
49285
+ "tags": {
49286
+ "type": "array",
49287
+ "items": {
49288
+ "type": "string"
49289
+ }
49290
+ },
49291
+ "parentTaskId": {
49292
+ "type": "string"
49293
+ },
49294
+ "chainId": {
49295
+ "type": "string"
49296
+ },
49297
+ "phaseId": {
49298
+ "type": "string"
49299
+ },
49300
+ "agentId": {
49301
+ "type": "string"
49302
+ },
49303
+ "turnId": {
49304
+ "type": "string"
49305
+ },
49306
+ "decisionId": {
49307
+ "type": "string"
49308
+ },
49309
+ "sourceMessageId": {
49310
+ "type": "string"
49311
+ },
49312
+ "linkedArtifactIds": {
49313
+ "type": "array",
49314
+ "items": {
49315
+ "type": "string"
49316
+ }
49317
+ },
49318
+ "linkedSourceIds": {
49319
+ "type": "array",
49320
+ "items": {
49321
+ "type": "string"
49322
+ }
49323
+ },
49324
+ "linkedNodeIds": {
49325
+ "type": "array",
49326
+ "items": {
49327
+ "type": "string"
49328
+ }
49329
+ },
49330
+ "originSurface": {
49331
+ "type": "string"
49332
+ },
49333
+ "createdAt": {
49334
+ "type": "number"
49335
+ },
49336
+ "updatedAt": {
49337
+ "type": "number"
49338
+ },
49339
+ "completedAt": {
49340
+ "type": "number"
49341
+ },
49342
+ "metadata": {
49343
+ "type": "object",
49344
+ "additionalProperties": {
49345
+ "anyOf": [
49346
+ {
49347
+ "type": "string"
49348
+ },
49349
+ {
49350
+ "type": "number"
49351
+ },
49352
+ {
49353
+ "type": "boolean"
49354
+ },
49355
+ {
49356
+ "type": "null"
49357
+ },
49358
+ {
49359
+ "type": "object",
49360
+ "additionalProperties": {}
49361
+ },
49362
+ {
49363
+ "type": "array",
49364
+ "items": {}
49365
+ }
49366
+ ]
49367
+ }
49368
+ }
49369
+ },
49370
+ "required": [
49371
+ "taskId",
49372
+ "projectId",
49373
+ "knowledgeSpaceId",
49374
+ "title",
49375
+ "status",
49376
+ "order",
49377
+ "tags",
49378
+ "linkedArtifactIds",
49379
+ "linkedSourceIds",
49380
+ "linkedNodeIds",
49381
+ "createdAt",
49382
+ "updatedAt"
49383
+ ],
49384
+ "additionalProperties": true
49385
+ },
49386
+ "previousTask": {
49387
+ "type": "object",
49388
+ "properties": {
49389
+ "taskId": {
49390
+ "type": "string"
49391
+ },
49392
+ "projectId": {
49393
+ "type": "string"
49394
+ },
49395
+ "knowledgeSpaceId": {
49396
+ "type": "string"
49397
+ },
49398
+ "title": {
49399
+ "type": "string"
49400
+ },
49401
+ "notes": {
49402
+ "type": "string"
49403
+ },
49404
+ "owner": {
49405
+ "type": "string"
49406
+ },
49407
+ "status": {
49408
+ "type": "string"
49409
+ },
49410
+ "priority": {
49411
+ "type": "number"
49412
+ },
49413
+ "order": {
49414
+ "type": "number"
49415
+ },
49416
+ "source": {
49417
+ "type": "string"
49418
+ },
49419
+ "tags": {
49420
+ "type": "array",
49421
+ "items": {
49422
+ "type": "string"
49423
+ }
49424
+ },
49425
+ "parentTaskId": {
49426
+ "type": "string"
49427
+ },
49428
+ "chainId": {
49429
+ "type": "string"
49430
+ },
49431
+ "phaseId": {
49432
+ "type": "string"
49433
+ },
49434
+ "agentId": {
49435
+ "type": "string"
49436
+ },
49437
+ "turnId": {
49438
+ "type": "string"
49439
+ },
49440
+ "decisionId": {
49441
+ "type": "string"
49442
+ },
49443
+ "sourceMessageId": {
49444
+ "type": "string"
49445
+ },
49446
+ "linkedArtifactIds": {
49447
+ "type": "array",
49448
+ "items": {
49449
+ "type": "string"
49450
+ }
49451
+ },
49452
+ "linkedSourceIds": {
49453
+ "type": "array",
49454
+ "items": {
49455
+ "type": "string"
49456
+ }
49457
+ },
49458
+ "linkedNodeIds": {
49459
+ "type": "array",
49460
+ "items": {
49461
+ "type": "string"
49462
+ }
49463
+ },
49464
+ "originSurface": {
49465
+ "type": "string"
49466
+ },
49467
+ "createdAt": {
49468
+ "type": "number"
49469
+ },
49470
+ "updatedAt": {
49471
+ "type": "number"
49472
+ },
49473
+ "completedAt": {
49474
+ "type": "number"
49475
+ },
49476
+ "metadata": {
49477
+ "type": "object",
49478
+ "additionalProperties": {
49479
+ "anyOf": [
49480
+ {
49481
+ "type": "string"
49482
+ },
49483
+ {
49484
+ "type": "number"
49485
+ },
49486
+ {
49487
+ "type": "boolean"
49488
+ },
49489
+ {
49490
+ "type": "null"
49491
+ },
49492
+ {
49493
+ "type": "object",
49494
+ "additionalProperties": {}
49495
+ },
49496
+ {
49497
+ "type": "array",
49498
+ "items": {}
49499
+ }
49500
+ ]
49501
+ }
49502
+ }
49503
+ },
49504
+ "required": [
49505
+ "taskId",
49506
+ "projectId",
49507
+ "knowledgeSpaceId",
49508
+ "title",
49509
+ "status",
49510
+ "order",
49511
+ "tags",
49512
+ "linkedArtifactIds",
49513
+ "linkedSourceIds",
49514
+ "linkedNodeIds",
49515
+ "createdAt",
49516
+ "updatedAt"
49517
+ ],
49518
+ "additionalProperties": true
49519
+ },
49520
+ "deletedTask": {
49521
+ "type": "object",
49522
+ "properties": {
49523
+ "taskId": {
49524
+ "type": "string"
49525
+ },
49526
+ "projectId": {
49527
+ "type": "string"
49528
+ },
49529
+ "knowledgeSpaceId": {
49530
+ "type": "string"
49531
+ },
49532
+ "title": {
49533
+ "type": "string"
49534
+ },
49535
+ "notes": {
49536
+ "type": "string"
49537
+ },
49538
+ "owner": {
49539
+ "type": "string"
49540
+ },
49541
+ "status": {
49542
+ "type": "string"
49543
+ },
49544
+ "priority": {
49545
+ "type": "number"
49546
+ },
49547
+ "order": {
49548
+ "type": "number"
49549
+ },
49550
+ "source": {
49551
+ "type": "string"
49552
+ },
49553
+ "tags": {
49554
+ "type": "array",
49555
+ "items": {
49556
+ "type": "string"
49557
+ }
49558
+ },
49559
+ "parentTaskId": {
49560
+ "type": "string"
49561
+ },
49562
+ "chainId": {
49563
+ "type": "string"
49564
+ },
49565
+ "phaseId": {
49566
+ "type": "string"
49567
+ },
49568
+ "agentId": {
49569
+ "type": "string"
49570
+ },
49571
+ "turnId": {
49572
+ "type": "string"
49573
+ },
49574
+ "decisionId": {
49575
+ "type": "string"
49576
+ },
49577
+ "sourceMessageId": {
49578
+ "type": "string"
49579
+ },
49580
+ "linkedArtifactIds": {
49581
+ "type": "array",
49582
+ "items": {
49583
+ "type": "string"
49584
+ }
49585
+ },
49586
+ "linkedSourceIds": {
49587
+ "type": "array",
49588
+ "items": {
49589
+ "type": "string"
49590
+ }
49591
+ },
49592
+ "linkedNodeIds": {
49593
+ "type": "array",
49594
+ "items": {
49595
+ "type": "string"
49596
+ }
49597
+ },
49598
+ "originSurface": {
49599
+ "type": "string"
49600
+ },
49601
+ "createdAt": {
49602
+ "type": "number"
49603
+ },
49604
+ "updatedAt": {
49605
+ "type": "number"
49606
+ },
49607
+ "completedAt": {
49608
+ "type": "number"
49609
+ },
49610
+ "metadata": {
49611
+ "type": "object",
49612
+ "additionalProperties": {
49613
+ "anyOf": [
49614
+ {
49615
+ "type": "string"
49616
+ },
49617
+ {
49618
+ "type": "number"
49619
+ },
49620
+ {
49621
+ "type": "boolean"
49622
+ },
49623
+ {
49624
+ "type": "null"
49625
+ },
49626
+ {
49627
+ "type": "object",
49628
+ "additionalProperties": {}
49629
+ },
49630
+ {
49631
+ "type": "array",
49632
+ "items": {}
49633
+ }
49634
+ ]
49635
+ }
49636
+ }
49637
+ },
49638
+ "required": [
49639
+ "taskId",
49640
+ "projectId",
49641
+ "knowledgeSpaceId",
49642
+ "title",
49643
+ "status",
49644
+ "order",
49645
+ "tags",
49646
+ "linkedArtifactIds",
49647
+ "linkedSourceIds",
49648
+ "linkedNodeIds",
49649
+ "createdAt",
49650
+ "updatedAt"
49651
+ ],
49652
+ "additionalProperties": true
49653
+ },
49654
+ "clearedTaskIds": {
49655
+ "type": "array",
49656
+ "items": {
49657
+ "type": "string"
49658
+ }
49659
+ },
49660
+ "snapshot": {
49661
+ "type": "object",
49662
+ "properties": {
49663
+ "ok": {
49664
+ "type": "boolean"
49665
+ },
49666
+ "projectId": {
49667
+ "type": "string"
49668
+ },
49669
+ "knowledgeSpaceId": {
49670
+ "type": "string"
49671
+ },
49672
+ "workPlanId": {
49673
+ "type": "string"
49674
+ },
49675
+ "tasks": {
49676
+ "type": "array",
49677
+ "items": {
49678
+ "type": "object",
49679
+ "properties": {
49680
+ "taskId": {
49681
+ "type": "string"
49682
+ },
49683
+ "projectId": {
49684
+ "type": "string"
49685
+ },
49686
+ "knowledgeSpaceId": {
49687
+ "type": "string"
49688
+ },
49689
+ "title": {
49690
+ "type": "string"
49691
+ },
49692
+ "notes": {
49693
+ "type": "string"
49694
+ },
49695
+ "owner": {
49696
+ "type": "string"
49697
+ },
49698
+ "status": {
49699
+ "type": "string"
49700
+ },
49701
+ "priority": {
49702
+ "type": "number"
49703
+ },
49704
+ "order": {
49705
+ "type": "number"
49706
+ },
49707
+ "source": {
49708
+ "type": "string"
49709
+ },
49710
+ "tags": {
49711
+ "type": "array",
49712
+ "items": {
49713
+ "type": "string"
49714
+ }
49715
+ },
49716
+ "parentTaskId": {
49717
+ "type": "string"
49718
+ },
49719
+ "chainId": {
49720
+ "type": "string"
49721
+ },
49722
+ "phaseId": {
49723
+ "type": "string"
49724
+ },
49725
+ "agentId": {
49726
+ "type": "string"
49727
+ },
49728
+ "turnId": {
49729
+ "type": "string"
49730
+ },
49731
+ "decisionId": {
49732
+ "type": "string"
49733
+ },
49734
+ "sourceMessageId": {
49735
+ "type": "string"
49736
+ },
49737
+ "linkedArtifactIds": {
49738
+ "type": "array",
49739
+ "items": {
49740
+ "type": "string"
49741
+ }
49742
+ },
49743
+ "linkedSourceIds": {
49744
+ "type": "array",
49745
+ "items": {
49746
+ "type": "string"
49747
+ }
49748
+ },
49749
+ "linkedNodeIds": {
49750
+ "type": "array",
49751
+ "items": {
49752
+ "type": "string"
49753
+ }
49754
+ },
49755
+ "originSurface": {
49756
+ "type": "string"
49757
+ },
49758
+ "createdAt": {
49759
+ "type": "number"
49760
+ },
49761
+ "updatedAt": {
49762
+ "type": "number"
49763
+ },
49764
+ "completedAt": {
49765
+ "type": "number"
49766
+ },
49767
+ "metadata": {
49768
+ "type": "object",
49769
+ "additionalProperties": {
49770
+ "anyOf": [
49771
+ {
49772
+ "type": "string"
49773
+ },
49774
+ {
49775
+ "type": "number"
49776
+ },
49777
+ {
49778
+ "type": "boolean"
49779
+ },
49780
+ {
49781
+ "type": "null"
49782
+ },
49783
+ {
49784
+ "type": "object",
49785
+ "additionalProperties": {}
49786
+ },
49787
+ {
49788
+ "type": "array",
49789
+ "items": {}
49790
+ }
49791
+ ]
49792
+ }
49793
+ }
49794
+ },
49795
+ "required": [
49796
+ "taskId",
49797
+ "projectId",
49798
+ "knowledgeSpaceId",
49799
+ "title",
49800
+ "status",
49801
+ "order",
49802
+ "tags",
49803
+ "linkedArtifactIds",
49804
+ "linkedSourceIds",
49805
+ "linkedNodeIds",
49806
+ "createdAt",
49807
+ "updatedAt"
49808
+ ],
49809
+ "additionalProperties": true
49810
+ }
49811
+ },
49812
+ "counts": {
49813
+ "type": "object",
49814
+ "properties": {
49815
+ "total": {
49816
+ "type": "number"
49817
+ },
49818
+ "pending": {
49819
+ "type": "number"
49820
+ },
49821
+ "in_progress": {
49822
+ "type": "number"
49823
+ },
49824
+ "blocked": {
49825
+ "type": "number"
49826
+ },
49827
+ "done": {
49828
+ "type": "number"
49829
+ },
49830
+ "failed": {
49831
+ "type": "number"
49832
+ },
49833
+ "cancelled": {
49834
+ "type": "number"
49835
+ }
49836
+ },
49837
+ "required": [
49838
+ "total",
49839
+ "pending",
49840
+ "in_progress",
49841
+ "blocked",
49842
+ "done",
49843
+ "failed",
49844
+ "cancelled"
49845
+ ],
49846
+ "additionalProperties": false
49847
+ },
49848
+ "updatedAt": {
49849
+ "type": "number"
49850
+ }
49851
+ },
49852
+ "required": [
49853
+ "ok",
49854
+ "projectId",
49855
+ "knowledgeSpaceId",
49856
+ "workPlanId",
49857
+ "tasks",
49858
+ "counts",
49859
+ "updatedAt"
49860
+ ],
49861
+ "additionalProperties": true
49862
+ }
49863
+ },
49864
+ "required": [
49865
+ "ok",
49866
+ "projectId",
49867
+ "knowledgeSpaceId",
49868
+ "workPlanId",
49869
+ "snapshot"
49870
+ ],
49871
+ "additionalProperties": true
49872
+ },
49873
+ "invokable": true
49874
+ },
49875
+ {
49876
+ "id": "projectPlanning.workPlan.task.update",
49877
+ "title": "Update Project Work Plan Task",
49878
+ "description": "Patch a durable project-scoped work-plan task.",
49879
+ "category": "knowledge",
49880
+ "source": "builtin",
49881
+ "access": "admin",
49882
+ "transport": [
49883
+ "http",
49884
+ "ws"
49885
+ ],
49886
+ "scopes": [
49887
+ "write:knowledge"
49888
+ ],
49889
+ "http": {
49890
+ "method": "PATCH",
49891
+ "path": "/api/projects/planning/work-plan/tasks/{taskId}"
49892
+ },
49893
+ "inputSchema": {
49894
+ "type": "object",
49895
+ "properties": {
49896
+ "projectId": {
49897
+ "type": "string"
49898
+ },
49899
+ "knowledgeSpaceId": {
49900
+ "type": "string"
49901
+ },
49902
+ "workPlanId": {
49903
+ "type": "string"
49904
+ },
49905
+ "taskId": {
49906
+ "type": "string"
49907
+ },
49908
+ "patch": {
49909
+ "type": "object",
49910
+ "additionalProperties": {
49911
+ "anyOf": [
49912
+ {
49913
+ "type": "string"
49914
+ },
49915
+ {
49916
+ "type": "number"
49917
+ },
49918
+ {
49919
+ "type": "boolean"
49920
+ },
49921
+ {
49922
+ "type": "null"
49923
+ },
49924
+ {
49925
+ "type": "object",
49926
+ "additionalProperties": {}
49927
+ },
49928
+ {
49929
+ "type": "array",
49930
+ "items": {}
49931
+ }
49932
+ ]
49933
+ }
49934
+ }
49935
+ },
49936
+ "required": [
49937
+ "taskId",
49938
+ "patch"
49939
+ ],
49940
+ "additionalProperties": true
49941
+ },
49942
+ "outputSchema": {
49943
+ "type": "object",
49944
+ "properties": {
49945
+ "ok": {
49946
+ "type": "boolean"
49947
+ },
49948
+ "projectId": {
49949
+ "type": "string"
49950
+ },
49951
+ "knowledgeSpaceId": {
49952
+ "type": "string"
49953
+ },
49954
+ "workPlanId": {
49955
+ "type": "string"
49956
+ },
49957
+ "task": {
49958
+ "type": "object",
49959
+ "properties": {
49960
+ "taskId": {
49961
+ "type": "string"
49962
+ },
49963
+ "projectId": {
49964
+ "type": "string"
49965
+ },
49966
+ "knowledgeSpaceId": {
49967
+ "type": "string"
49968
+ },
49969
+ "title": {
49970
+ "type": "string"
49971
+ },
49972
+ "notes": {
49973
+ "type": "string"
49974
+ },
49975
+ "owner": {
49976
+ "type": "string"
49977
+ },
49978
+ "status": {
49979
+ "type": "string"
49980
+ },
49981
+ "priority": {
49982
+ "type": "number"
49983
+ },
49984
+ "order": {
49985
+ "type": "number"
49986
+ },
49987
+ "source": {
49988
+ "type": "string"
49989
+ },
49990
+ "tags": {
49991
+ "type": "array",
49992
+ "items": {
49993
+ "type": "string"
49994
+ }
49995
+ },
49996
+ "parentTaskId": {
49997
+ "type": "string"
49998
+ },
49999
+ "chainId": {
50000
+ "type": "string"
50001
+ },
50002
+ "phaseId": {
50003
+ "type": "string"
50004
+ },
50005
+ "agentId": {
50006
+ "type": "string"
50007
+ },
50008
+ "turnId": {
50009
+ "type": "string"
50010
+ },
50011
+ "decisionId": {
50012
+ "type": "string"
50013
+ },
50014
+ "sourceMessageId": {
50015
+ "type": "string"
50016
+ },
50017
+ "linkedArtifactIds": {
50018
+ "type": "array",
50019
+ "items": {
50020
+ "type": "string"
50021
+ }
50022
+ },
50023
+ "linkedSourceIds": {
50024
+ "type": "array",
50025
+ "items": {
50026
+ "type": "string"
50027
+ }
50028
+ },
50029
+ "linkedNodeIds": {
50030
+ "type": "array",
50031
+ "items": {
50032
+ "type": "string"
50033
+ }
50034
+ },
50035
+ "originSurface": {
50036
+ "type": "string"
50037
+ },
50038
+ "createdAt": {
50039
+ "type": "number"
50040
+ },
50041
+ "updatedAt": {
50042
+ "type": "number"
50043
+ },
50044
+ "completedAt": {
50045
+ "type": "number"
50046
+ },
50047
+ "metadata": {
50048
+ "type": "object",
50049
+ "additionalProperties": {
50050
+ "anyOf": [
50051
+ {
50052
+ "type": "string"
50053
+ },
50054
+ {
50055
+ "type": "number"
50056
+ },
50057
+ {
50058
+ "type": "boolean"
50059
+ },
50060
+ {
50061
+ "type": "null"
50062
+ },
50063
+ {
50064
+ "type": "object",
50065
+ "additionalProperties": {}
50066
+ },
50067
+ {
50068
+ "type": "array",
50069
+ "items": {}
50070
+ }
50071
+ ]
50072
+ }
50073
+ }
50074
+ },
50075
+ "required": [
50076
+ "taskId",
50077
+ "projectId",
50078
+ "knowledgeSpaceId",
50079
+ "title",
50080
+ "status",
50081
+ "order",
50082
+ "tags",
50083
+ "linkedArtifactIds",
50084
+ "linkedSourceIds",
50085
+ "linkedNodeIds",
50086
+ "createdAt",
50087
+ "updatedAt"
50088
+ ],
50089
+ "additionalProperties": true
50090
+ },
50091
+ "previousTask": {
50092
+ "type": "object",
50093
+ "properties": {
50094
+ "taskId": {
50095
+ "type": "string"
50096
+ },
50097
+ "projectId": {
50098
+ "type": "string"
50099
+ },
50100
+ "knowledgeSpaceId": {
50101
+ "type": "string"
50102
+ },
50103
+ "title": {
50104
+ "type": "string"
50105
+ },
50106
+ "notes": {
50107
+ "type": "string"
50108
+ },
50109
+ "owner": {
50110
+ "type": "string"
50111
+ },
50112
+ "status": {
50113
+ "type": "string"
50114
+ },
50115
+ "priority": {
50116
+ "type": "number"
50117
+ },
50118
+ "order": {
50119
+ "type": "number"
50120
+ },
50121
+ "source": {
50122
+ "type": "string"
50123
+ },
50124
+ "tags": {
50125
+ "type": "array",
50126
+ "items": {
50127
+ "type": "string"
50128
+ }
50129
+ },
50130
+ "parentTaskId": {
50131
+ "type": "string"
50132
+ },
50133
+ "chainId": {
50134
+ "type": "string"
50135
+ },
50136
+ "phaseId": {
50137
+ "type": "string"
50138
+ },
50139
+ "agentId": {
50140
+ "type": "string"
50141
+ },
50142
+ "turnId": {
50143
+ "type": "string"
50144
+ },
50145
+ "decisionId": {
50146
+ "type": "string"
50147
+ },
50148
+ "sourceMessageId": {
50149
+ "type": "string"
50150
+ },
50151
+ "linkedArtifactIds": {
50152
+ "type": "array",
50153
+ "items": {
50154
+ "type": "string"
50155
+ }
50156
+ },
50157
+ "linkedSourceIds": {
50158
+ "type": "array",
50159
+ "items": {
50160
+ "type": "string"
50161
+ }
50162
+ },
50163
+ "linkedNodeIds": {
50164
+ "type": "array",
50165
+ "items": {
50166
+ "type": "string"
50167
+ }
50168
+ },
50169
+ "originSurface": {
50170
+ "type": "string"
50171
+ },
50172
+ "createdAt": {
50173
+ "type": "number"
50174
+ },
50175
+ "updatedAt": {
50176
+ "type": "number"
50177
+ },
50178
+ "completedAt": {
50179
+ "type": "number"
50180
+ },
50181
+ "metadata": {
50182
+ "type": "object",
50183
+ "additionalProperties": {
50184
+ "anyOf": [
50185
+ {
50186
+ "type": "string"
50187
+ },
50188
+ {
50189
+ "type": "number"
50190
+ },
50191
+ {
50192
+ "type": "boolean"
50193
+ },
50194
+ {
50195
+ "type": "null"
50196
+ },
50197
+ {
50198
+ "type": "object",
50199
+ "additionalProperties": {}
50200
+ },
50201
+ {
50202
+ "type": "array",
50203
+ "items": {}
50204
+ }
50205
+ ]
50206
+ }
50207
+ }
50208
+ },
50209
+ "required": [
50210
+ "taskId",
50211
+ "projectId",
50212
+ "knowledgeSpaceId",
50213
+ "title",
50214
+ "status",
50215
+ "order",
50216
+ "tags",
50217
+ "linkedArtifactIds",
50218
+ "linkedSourceIds",
50219
+ "linkedNodeIds",
50220
+ "createdAt",
50221
+ "updatedAt"
50222
+ ],
50223
+ "additionalProperties": true
50224
+ },
50225
+ "deletedTask": {
50226
+ "type": "object",
50227
+ "properties": {
50228
+ "taskId": {
50229
+ "type": "string"
50230
+ },
50231
+ "projectId": {
50232
+ "type": "string"
50233
+ },
50234
+ "knowledgeSpaceId": {
50235
+ "type": "string"
50236
+ },
50237
+ "title": {
50238
+ "type": "string"
50239
+ },
50240
+ "notes": {
50241
+ "type": "string"
50242
+ },
50243
+ "owner": {
50244
+ "type": "string"
50245
+ },
50246
+ "status": {
50247
+ "type": "string"
50248
+ },
50249
+ "priority": {
50250
+ "type": "number"
50251
+ },
50252
+ "order": {
50253
+ "type": "number"
50254
+ },
50255
+ "source": {
50256
+ "type": "string"
50257
+ },
50258
+ "tags": {
50259
+ "type": "array",
50260
+ "items": {
50261
+ "type": "string"
50262
+ }
50263
+ },
50264
+ "parentTaskId": {
50265
+ "type": "string"
50266
+ },
50267
+ "chainId": {
50268
+ "type": "string"
50269
+ },
50270
+ "phaseId": {
50271
+ "type": "string"
50272
+ },
50273
+ "agentId": {
50274
+ "type": "string"
50275
+ },
50276
+ "turnId": {
50277
+ "type": "string"
50278
+ },
50279
+ "decisionId": {
50280
+ "type": "string"
50281
+ },
50282
+ "sourceMessageId": {
50283
+ "type": "string"
50284
+ },
50285
+ "linkedArtifactIds": {
50286
+ "type": "array",
50287
+ "items": {
50288
+ "type": "string"
50289
+ }
50290
+ },
50291
+ "linkedSourceIds": {
50292
+ "type": "array",
50293
+ "items": {
50294
+ "type": "string"
50295
+ }
50296
+ },
50297
+ "linkedNodeIds": {
50298
+ "type": "array",
50299
+ "items": {
50300
+ "type": "string"
50301
+ }
50302
+ },
50303
+ "originSurface": {
50304
+ "type": "string"
50305
+ },
50306
+ "createdAt": {
50307
+ "type": "number"
50308
+ },
50309
+ "updatedAt": {
50310
+ "type": "number"
50311
+ },
50312
+ "completedAt": {
50313
+ "type": "number"
50314
+ },
50315
+ "metadata": {
50316
+ "type": "object",
50317
+ "additionalProperties": {
50318
+ "anyOf": [
50319
+ {
50320
+ "type": "string"
50321
+ },
50322
+ {
50323
+ "type": "number"
50324
+ },
50325
+ {
50326
+ "type": "boolean"
50327
+ },
50328
+ {
50329
+ "type": "null"
50330
+ },
50331
+ {
50332
+ "type": "object",
50333
+ "additionalProperties": {}
50334
+ },
50335
+ {
50336
+ "type": "array",
50337
+ "items": {}
50338
+ }
50339
+ ]
50340
+ }
50341
+ }
50342
+ },
50343
+ "required": [
50344
+ "taskId",
50345
+ "projectId",
50346
+ "knowledgeSpaceId",
50347
+ "title",
50348
+ "status",
50349
+ "order",
50350
+ "tags",
50351
+ "linkedArtifactIds",
50352
+ "linkedSourceIds",
50353
+ "linkedNodeIds",
50354
+ "createdAt",
50355
+ "updatedAt"
50356
+ ],
50357
+ "additionalProperties": true
50358
+ },
50359
+ "clearedTaskIds": {
50360
+ "type": "array",
50361
+ "items": {
50362
+ "type": "string"
50363
+ }
50364
+ },
50365
+ "snapshot": {
50366
+ "type": "object",
50367
+ "properties": {
50368
+ "ok": {
50369
+ "type": "boolean"
50370
+ },
50371
+ "projectId": {
50372
+ "type": "string"
50373
+ },
50374
+ "knowledgeSpaceId": {
50375
+ "type": "string"
50376
+ },
50377
+ "workPlanId": {
50378
+ "type": "string"
50379
+ },
50380
+ "tasks": {
50381
+ "type": "array",
50382
+ "items": {
50383
+ "type": "object",
50384
+ "properties": {
50385
+ "taskId": {
50386
+ "type": "string"
50387
+ },
50388
+ "projectId": {
50389
+ "type": "string"
50390
+ },
50391
+ "knowledgeSpaceId": {
50392
+ "type": "string"
50393
+ },
50394
+ "title": {
50395
+ "type": "string"
50396
+ },
50397
+ "notes": {
50398
+ "type": "string"
50399
+ },
50400
+ "owner": {
50401
+ "type": "string"
50402
+ },
50403
+ "status": {
50404
+ "type": "string"
50405
+ },
50406
+ "priority": {
50407
+ "type": "number"
50408
+ },
50409
+ "order": {
50410
+ "type": "number"
50411
+ },
50412
+ "source": {
50413
+ "type": "string"
50414
+ },
50415
+ "tags": {
50416
+ "type": "array",
50417
+ "items": {
50418
+ "type": "string"
50419
+ }
50420
+ },
50421
+ "parentTaskId": {
50422
+ "type": "string"
50423
+ },
50424
+ "chainId": {
50425
+ "type": "string"
50426
+ },
50427
+ "phaseId": {
50428
+ "type": "string"
50429
+ },
50430
+ "agentId": {
50431
+ "type": "string"
50432
+ },
50433
+ "turnId": {
50434
+ "type": "string"
50435
+ },
50436
+ "decisionId": {
50437
+ "type": "string"
50438
+ },
50439
+ "sourceMessageId": {
50440
+ "type": "string"
50441
+ },
50442
+ "linkedArtifactIds": {
50443
+ "type": "array",
50444
+ "items": {
50445
+ "type": "string"
50446
+ }
50447
+ },
50448
+ "linkedSourceIds": {
50449
+ "type": "array",
50450
+ "items": {
50451
+ "type": "string"
50452
+ }
50453
+ },
50454
+ "linkedNodeIds": {
50455
+ "type": "array",
50456
+ "items": {
50457
+ "type": "string"
50458
+ }
50459
+ },
50460
+ "originSurface": {
50461
+ "type": "string"
50462
+ },
50463
+ "createdAt": {
50464
+ "type": "number"
50465
+ },
50466
+ "updatedAt": {
50467
+ "type": "number"
50468
+ },
50469
+ "completedAt": {
50470
+ "type": "number"
50471
+ },
50472
+ "metadata": {
50473
+ "type": "object",
50474
+ "additionalProperties": {
50475
+ "anyOf": [
50476
+ {
50477
+ "type": "string"
50478
+ },
50479
+ {
50480
+ "type": "number"
50481
+ },
50482
+ {
50483
+ "type": "boolean"
50484
+ },
50485
+ {
50486
+ "type": "null"
50487
+ },
50488
+ {
50489
+ "type": "object",
50490
+ "additionalProperties": {}
50491
+ },
50492
+ {
50493
+ "type": "array",
50494
+ "items": {}
50495
+ }
50496
+ ]
50497
+ }
50498
+ }
50499
+ },
50500
+ "required": [
50501
+ "taskId",
50502
+ "projectId",
50503
+ "knowledgeSpaceId",
50504
+ "title",
50505
+ "status",
50506
+ "order",
50507
+ "tags",
50508
+ "linkedArtifactIds",
50509
+ "linkedSourceIds",
50510
+ "linkedNodeIds",
50511
+ "createdAt",
50512
+ "updatedAt"
50513
+ ],
50514
+ "additionalProperties": true
50515
+ }
50516
+ },
50517
+ "counts": {
50518
+ "type": "object",
50519
+ "properties": {
50520
+ "total": {
50521
+ "type": "number"
50522
+ },
50523
+ "pending": {
50524
+ "type": "number"
50525
+ },
50526
+ "in_progress": {
50527
+ "type": "number"
50528
+ },
50529
+ "blocked": {
50530
+ "type": "number"
50531
+ },
50532
+ "done": {
50533
+ "type": "number"
50534
+ },
50535
+ "failed": {
50536
+ "type": "number"
50537
+ },
50538
+ "cancelled": {
50539
+ "type": "number"
50540
+ }
50541
+ },
50542
+ "required": [
50543
+ "total",
50544
+ "pending",
50545
+ "in_progress",
50546
+ "blocked",
50547
+ "done",
50548
+ "failed",
50549
+ "cancelled"
50550
+ ],
50551
+ "additionalProperties": false
50552
+ },
50553
+ "updatedAt": {
50554
+ "type": "number"
50555
+ }
50556
+ },
50557
+ "required": [
50558
+ "ok",
50559
+ "projectId",
50560
+ "knowledgeSpaceId",
50561
+ "workPlanId",
50562
+ "tasks",
50563
+ "counts",
50564
+ "updatedAt"
50565
+ ],
50566
+ "additionalProperties": true
50567
+ }
50568
+ },
50569
+ "required": [
50570
+ "ok",
50571
+ "projectId",
50572
+ "knowledgeSpaceId",
50573
+ "workPlanId",
50574
+ "snapshot"
50575
+ ],
50576
+ "additionalProperties": true
50577
+ },
50578
+ "invokable": true
50579
+ },
50580
+ {
50581
+ "id": "projectPlanning.workPlan.tasks.list",
50582
+ "title": "List Project Work Plan Tasks",
50583
+ "description": "List durable project-scoped work-plan tasks with optional status, owner, parent, or WRFC-chain filters.",
50584
+ "category": "knowledge",
50585
+ "source": "builtin",
50586
+ "access": "authenticated",
50587
+ "transport": [
50588
+ "http",
50589
+ "ws"
50590
+ ],
50591
+ "scopes": [
50592
+ "read:knowledge"
50593
+ ],
50594
+ "http": {
50595
+ "method": "GET",
50596
+ "path": "/api/projects/planning/work-plan/tasks"
50597
+ },
50598
+ "inputSchema": {
50599
+ "type": "object",
50600
+ "properties": {
50601
+ "projectId": {
50602
+ "type": "string"
50603
+ },
50604
+ "knowledgeSpaceId": {
50605
+ "type": "string"
50606
+ },
50607
+ "workPlanId": {
50608
+ "type": "string"
50609
+ },
50610
+ "status": {
50611
+ "type": "string"
50612
+ },
50613
+ "parentTaskId": {
50614
+ "type": "string"
50615
+ },
50616
+ "chainId": {
50617
+ "type": "string"
50618
+ },
50619
+ "owner": {
50620
+ "type": "string"
50621
+ },
50622
+ "limit": {
50623
+ "type": "number"
50624
+ }
50625
+ },
50626
+ "additionalProperties": false
50627
+ },
50628
+ "outputSchema": {
50629
+ "type": "object",
50630
+ "properties": {
50631
+ "ok": {
50632
+ "type": "boolean"
50633
+ },
50634
+ "projectId": {
50635
+ "type": "string"
50636
+ },
50637
+ "knowledgeSpaceId": {
50638
+ "type": "string"
50639
+ },
50640
+ "workPlanId": {
50641
+ "type": "string"
50642
+ },
50643
+ "tasks": {
50644
+ "type": "array",
50645
+ "items": {
50646
+ "type": "object",
50647
+ "properties": {
50648
+ "taskId": {
50649
+ "type": "string"
50650
+ },
50651
+ "projectId": {
50652
+ "type": "string"
50653
+ },
50654
+ "knowledgeSpaceId": {
50655
+ "type": "string"
50656
+ },
50657
+ "title": {
50658
+ "type": "string"
50659
+ },
50660
+ "notes": {
50661
+ "type": "string"
50662
+ },
50663
+ "owner": {
50664
+ "type": "string"
50665
+ },
50666
+ "status": {
50667
+ "type": "string"
50668
+ },
50669
+ "priority": {
50670
+ "type": "number"
50671
+ },
50672
+ "order": {
50673
+ "type": "number"
50674
+ },
50675
+ "source": {
50676
+ "type": "string"
50677
+ },
50678
+ "tags": {
50679
+ "type": "array",
50680
+ "items": {
50681
+ "type": "string"
50682
+ }
50683
+ },
50684
+ "parentTaskId": {
50685
+ "type": "string"
50686
+ },
50687
+ "chainId": {
50688
+ "type": "string"
50689
+ },
50690
+ "phaseId": {
50691
+ "type": "string"
50692
+ },
50693
+ "agentId": {
50694
+ "type": "string"
50695
+ },
50696
+ "turnId": {
50697
+ "type": "string"
50698
+ },
50699
+ "decisionId": {
50700
+ "type": "string"
50701
+ },
50702
+ "sourceMessageId": {
50703
+ "type": "string"
50704
+ },
50705
+ "linkedArtifactIds": {
50706
+ "type": "array",
50707
+ "items": {
50708
+ "type": "string"
50709
+ }
50710
+ },
50711
+ "linkedSourceIds": {
50712
+ "type": "array",
50713
+ "items": {
50714
+ "type": "string"
50715
+ }
50716
+ },
50717
+ "linkedNodeIds": {
50718
+ "type": "array",
50719
+ "items": {
50720
+ "type": "string"
50721
+ }
50722
+ },
50723
+ "originSurface": {
50724
+ "type": "string"
50725
+ },
50726
+ "createdAt": {
50727
+ "type": "number"
50728
+ },
50729
+ "updatedAt": {
50730
+ "type": "number"
50731
+ },
50732
+ "completedAt": {
50733
+ "type": "number"
50734
+ },
50735
+ "metadata": {
50736
+ "type": "object",
50737
+ "additionalProperties": {
50738
+ "anyOf": [
50739
+ {
50740
+ "type": "string"
50741
+ },
50742
+ {
50743
+ "type": "number"
50744
+ },
50745
+ {
50746
+ "type": "boolean"
50747
+ },
50748
+ {
50749
+ "type": "null"
50750
+ },
50751
+ {
50752
+ "type": "object",
50753
+ "additionalProperties": {}
50754
+ },
50755
+ {
50756
+ "type": "array",
50757
+ "items": {}
50758
+ }
50759
+ ]
50760
+ }
50761
+ }
50762
+ },
50763
+ "required": [
50764
+ "taskId",
50765
+ "projectId",
50766
+ "knowledgeSpaceId",
50767
+ "title",
50768
+ "status",
50769
+ "order",
50770
+ "tags",
50771
+ "linkedArtifactIds",
50772
+ "linkedSourceIds",
50773
+ "linkedNodeIds",
50774
+ "createdAt",
50775
+ "updatedAt"
50776
+ ],
50777
+ "additionalProperties": true
50778
+ }
50779
+ },
50780
+ "counts": {
50781
+ "type": "object",
50782
+ "properties": {
50783
+ "total": {
50784
+ "type": "number"
50785
+ },
50786
+ "pending": {
50787
+ "type": "number"
50788
+ },
50789
+ "in_progress": {
50790
+ "type": "number"
50791
+ },
50792
+ "blocked": {
50793
+ "type": "number"
50794
+ },
50795
+ "done": {
50796
+ "type": "number"
50797
+ },
50798
+ "failed": {
50799
+ "type": "number"
50800
+ },
50801
+ "cancelled": {
50802
+ "type": "number"
50803
+ }
50804
+ },
50805
+ "required": [
50806
+ "total",
50807
+ "pending",
50808
+ "in_progress",
50809
+ "blocked",
50810
+ "done",
50811
+ "failed",
50812
+ "cancelled"
50813
+ ],
50814
+ "additionalProperties": false
50815
+ },
50816
+ "updatedAt": {
50817
+ "type": "number"
50818
+ }
50819
+ },
50820
+ "required": [
50821
+ "ok",
50822
+ "projectId",
50823
+ "knowledgeSpaceId",
50824
+ "workPlanId",
50825
+ "tasks",
50826
+ "counts",
50827
+ "updatedAt"
50828
+ ],
50829
+ "additionalProperties": true
50830
+ },
50831
+ "invokable": true
50832
+ },
50833
+ {
50834
+ "id": "projectPlanning.workPlan.tasks.reorder",
50835
+ "title": "Reorder Project Work Plan Tasks",
50836
+ "description": "Replace task ordering for the current project work plan.",
50837
+ "category": "knowledge",
50838
+ "source": "builtin",
50839
+ "access": "admin",
50840
+ "transport": [
50841
+ "http",
50842
+ "ws"
50843
+ ],
50844
+ "scopes": [
50845
+ "write:knowledge"
50846
+ ],
50847
+ "http": {
50848
+ "method": "POST",
50849
+ "path": "/api/projects/planning/work-plan/tasks/reorder"
50850
+ },
50851
+ "inputSchema": {
50852
+ "type": "object",
50853
+ "properties": {
50854
+ "projectId": {
50855
+ "type": "string"
50856
+ },
50857
+ "knowledgeSpaceId": {
50858
+ "type": "string"
50859
+ },
50860
+ "workPlanId": {
50861
+ "type": "string"
50862
+ },
50863
+ "orderedTaskIds": {
50864
+ "type": "array",
50865
+ "items": {
50866
+ "type": "string"
50867
+ }
50868
+ }
50869
+ },
50870
+ "required": [
50871
+ "orderedTaskIds"
50872
+ ],
50873
+ "additionalProperties": true
50874
+ },
50875
+ "outputSchema": {
50876
+ "type": "object",
50877
+ "properties": {
50878
+ "ok": {
50879
+ "type": "boolean"
50880
+ },
50881
+ "projectId": {
50882
+ "type": "string"
50883
+ },
50884
+ "knowledgeSpaceId": {
50885
+ "type": "string"
50886
+ },
50887
+ "workPlanId": {
50888
+ "type": "string"
50889
+ },
50890
+ "tasks": {
50891
+ "type": "array",
50892
+ "items": {
50893
+ "type": "object",
50894
+ "properties": {
50895
+ "taskId": {
50896
+ "type": "string"
50897
+ },
50898
+ "projectId": {
50899
+ "type": "string"
50900
+ },
50901
+ "knowledgeSpaceId": {
50902
+ "type": "string"
50903
+ },
50904
+ "title": {
50905
+ "type": "string"
50906
+ },
50907
+ "notes": {
50908
+ "type": "string"
50909
+ },
50910
+ "owner": {
50911
+ "type": "string"
50912
+ },
50913
+ "status": {
50914
+ "type": "string"
50915
+ },
50916
+ "priority": {
50917
+ "type": "number"
50918
+ },
50919
+ "order": {
50920
+ "type": "number"
50921
+ },
50922
+ "source": {
50923
+ "type": "string"
50924
+ },
50925
+ "tags": {
50926
+ "type": "array",
50927
+ "items": {
50928
+ "type": "string"
50929
+ }
50930
+ },
50931
+ "parentTaskId": {
50932
+ "type": "string"
50933
+ },
50934
+ "chainId": {
50935
+ "type": "string"
50936
+ },
50937
+ "phaseId": {
50938
+ "type": "string"
50939
+ },
50940
+ "agentId": {
50941
+ "type": "string"
50942
+ },
50943
+ "turnId": {
50944
+ "type": "string"
50945
+ },
50946
+ "decisionId": {
50947
+ "type": "string"
50948
+ },
50949
+ "sourceMessageId": {
50950
+ "type": "string"
50951
+ },
50952
+ "linkedArtifactIds": {
50953
+ "type": "array",
50954
+ "items": {
50955
+ "type": "string"
50956
+ }
50957
+ },
50958
+ "linkedSourceIds": {
50959
+ "type": "array",
50960
+ "items": {
50961
+ "type": "string"
50962
+ }
50963
+ },
50964
+ "linkedNodeIds": {
50965
+ "type": "array",
50966
+ "items": {
50967
+ "type": "string"
50968
+ }
50969
+ },
50970
+ "originSurface": {
50971
+ "type": "string"
50972
+ },
50973
+ "createdAt": {
50974
+ "type": "number"
50975
+ },
50976
+ "updatedAt": {
50977
+ "type": "number"
50978
+ },
50979
+ "completedAt": {
50980
+ "type": "number"
50981
+ },
50982
+ "metadata": {
50983
+ "type": "object",
50984
+ "additionalProperties": {
50985
+ "anyOf": [
50986
+ {
50987
+ "type": "string"
50988
+ },
50989
+ {
50990
+ "type": "number"
50991
+ },
50992
+ {
50993
+ "type": "boolean"
50994
+ },
50995
+ {
50996
+ "type": "null"
50997
+ },
50998
+ {
50999
+ "type": "object",
51000
+ "additionalProperties": {}
51001
+ },
51002
+ {
51003
+ "type": "array",
51004
+ "items": {}
51005
+ }
51006
+ ]
51007
+ }
51008
+ }
51009
+ },
51010
+ "required": [
51011
+ "taskId",
51012
+ "projectId",
51013
+ "knowledgeSpaceId",
51014
+ "title",
51015
+ "status",
51016
+ "order",
51017
+ "tags",
51018
+ "linkedArtifactIds",
51019
+ "linkedSourceIds",
51020
+ "linkedNodeIds",
51021
+ "createdAt",
51022
+ "updatedAt"
51023
+ ],
51024
+ "additionalProperties": true
51025
+ }
51026
+ },
51027
+ "counts": {
51028
+ "type": "object",
51029
+ "properties": {
51030
+ "total": {
51031
+ "type": "number"
51032
+ },
51033
+ "pending": {
51034
+ "type": "number"
51035
+ },
51036
+ "in_progress": {
51037
+ "type": "number"
51038
+ },
51039
+ "blocked": {
51040
+ "type": "number"
51041
+ },
51042
+ "done": {
51043
+ "type": "number"
51044
+ },
51045
+ "failed": {
51046
+ "type": "number"
51047
+ },
51048
+ "cancelled": {
51049
+ "type": "number"
51050
+ }
51051
+ },
51052
+ "required": [
51053
+ "total",
51054
+ "pending",
51055
+ "in_progress",
51056
+ "blocked",
51057
+ "done",
51058
+ "failed",
51059
+ "cancelled"
51060
+ ],
51061
+ "additionalProperties": false
51062
+ },
51063
+ "updatedAt": {
51064
+ "type": "number"
51065
+ }
51066
+ },
51067
+ "required": [
51068
+ "ok",
51069
+ "projectId",
51070
+ "knowledgeSpaceId",
51071
+ "workPlanId",
51072
+ "tasks",
51073
+ "counts",
51074
+ "updatedAt"
51075
+ ],
51076
+ "additionalProperties": true
51077
+ },
51078
+ "invokable": true
51079
+ },
46469
51080
  {
46470
51081
  "id": "media.analyze",
46471
51082
  "title": "Analyze Media Artifact",
@@ -69261,10 +73872,10 @@
69261
73872
  }
69262
73873
  ],
69263
73874
  "schemaCoverage": {
69264
- "methods": 264,
69265
- "typedInputs": 264,
73875
+ "methods": 273,
73876
+ "typedInputs": 273,
69266
73877
  "genericInputs": 0,
69267
- "typedOutputs": 264,
73878
+ "typedOutputs": 273,
69268
73879
  "genericOutputs": 0
69269
73880
  },
69270
73881
  "eventCoverage": {