@hasna/todos 0.15.52 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/CHANGELOG.md +1884 -0
  2. package/README.md +314 -37
  3. package/dist/ai-tools.d.ts.map +1 -1
  4. package/dist/ai.d.ts.map +1 -1
  5. package/dist/cli/cloud-router.d.ts +99 -51
  6. package/dist/cli/cloud-router.d.ts.map +1 -1
  7. package/dist/cli/commands/agent-commands.d.ts.map +1 -1
  8. package/dist/cli/commands/config-serve-commands.d.ts.map +1 -1
  9. package/dist/cli/commands/delegate.d.ts.map +1 -1
  10. package/dist/cli/commands/environment-snapshots.d.ts.map +1 -1
  11. package/dist/cli/commands/machines-api.d.ts +4 -0
  12. package/dist/cli/commands/machines-api.d.ts.map +1 -0
  13. package/dist/cli/commands/machines.d.ts.map +1 -1
  14. package/dist/cli/commands/mcp-hooks-commands.d.ts.map +1 -1
  15. package/dist/cli/commands/plan-commands.d.ts +3 -0
  16. package/dist/cli/commands/plan-commands.d.ts.map +1 -0
  17. package/dist/cli/commands/plan-template-commands.d.ts.map +1 -1
  18. package/dist/cli/commands/pr-group-commands.d.ts.map +1 -1
  19. package/dist/cli/commands/project-commands.d.ts.map +1 -1
  20. package/dist/cli/commands/query-commands.d.ts.map +1 -1
  21. package/dist/cli/commands/storage-commands.d.ts.map +1 -1
  22. package/dist/cli/commands/task-list-commands.d.ts +3 -0
  23. package/dist/cli/commands/task-list-commands.d.ts.map +1 -0
  24. package/dist/cli/commands/template-commands.d.ts +3 -0
  25. package/dist/cli/commands/template-commands.d.ts.map +1 -0
  26. package/dist/cli/helpers.d.ts.map +1 -1
  27. package/dist/cli/index.js +15128 -11093
  28. package/dist/cli/machine-api.d.ts +7 -0
  29. package/dist/cli/machine-api.d.ts.map +1 -0
  30. package/dist/cli/plan-read-api.d.ts +6 -0
  31. package/dist/cli/plan-read-api.d.ts.map +1 -0
  32. package/dist/cli/project-api.d.ts +119 -0
  33. package/dist/cli/project-api.d.ts.map +1 -0
  34. package/dist/cli/stage-a.d.ts +34 -4
  35. package/dist/cli/stage-a.d.ts.map +1 -1
  36. package/dist/cli/task-query-api.d.ts +21 -0
  37. package/dist/cli/task-query-api.d.ts.map +1 -0
  38. package/dist/cli/template-api.d.ts +7 -0
  39. package/dist/cli/template-api.d.ts.map +1 -0
  40. package/dist/contracts.js +835 -265
  41. package/dist/db/builtin-templates.d.ts +2 -33
  42. package/dist/db/builtin-templates.d.ts.map +1 -1
  43. package/dist/db/database.d.ts.map +1 -1
  44. package/dist/db/handoffs.d.ts.map +1 -1
  45. package/dist/db/machines.d.ts.map +1 -1
  46. package/dist/db/migrations.d.ts.map +1 -1
  47. package/dist/db/plans.d.ts.map +1 -1
  48. package/dist/db/retrospectives.d.ts.map +1 -1
  49. package/dist/db/schema.d.ts.map +1 -1
  50. package/dist/db/task-lists.d.ts.map +1 -1
  51. package/dist/db/task-runs.d.ts +2 -0
  52. package/dist/db/task-runs.d.ts.map +1 -1
  53. package/dist/index.d.ts +2 -2
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +3862 -1715
  56. package/dist/lib/assignee-validation.d.ts.map +1 -1
  57. package/dist/lib/builtin-template-library.d.ts +32 -0
  58. package/dist/lib/builtin-template-library.d.ts.map +1 -0
  59. package/dist/lib/cli-reference.d.ts.map +1 -1
  60. package/dist/lib/config.d.ts +10 -13
  61. package/dist/lib/config.d.ts.map +1 -1
  62. package/dist/lib/db-backup.d.ts +1 -1
  63. package/dist/lib/db-backup.d.ts.map +1 -1
  64. package/dist/lib/env.d.ts +18 -0
  65. package/dist/lib/env.d.ts.map +1 -0
  66. package/dist/lib/environment-snapshots.d.ts.map +1 -1
  67. package/dist/lib/gatherer.d.ts.map +1 -1
  68. package/dist/lib/headless-boundaries.d.ts +4 -3
  69. package/dist/lib/headless-boundaries.d.ts.map +1 -1
  70. package/dist/lib/local-encryption.d.ts +12 -0
  71. package/dist/lib/local-encryption.d.ts.map +1 -1
  72. package/dist/lib/local-opt-in.d.ts +90 -0
  73. package/dist/lib/local-opt-in.d.ts.map +1 -0
  74. package/dist/lib/paths.d.ts +9 -0
  75. package/dist/lib/paths.d.ts.map +1 -1
  76. package/dist/lib/plan-artifacts.d.ts +1 -0
  77. package/dist/lib/plan-artifacts.d.ts.map +1 -1
  78. package/dist/lib/plan-client-boundary.d.ts +2 -0
  79. package/dist/lib/plan-client-boundary.d.ts.map +1 -0
  80. package/dist/lib/plan-schedule.d.ts +6 -0
  81. package/dist/lib/plan-schedule.d.ts.map +1 -0
  82. package/dist/lib/project-panel.d.ts +6 -0
  83. package/dist/lib/project-panel.d.ts.map +1 -1
  84. package/dist/lib/project-receipt.d.ts +3 -0
  85. package/dist/lib/project-receipt.d.ts.map +1 -0
  86. package/dist/lib/sandbox-profiles.d.ts.map +1 -1
  87. package/dist/lib/shared-plan-artifacts.d.ts +14 -0
  88. package/dist/lib/shared-plan-artifacts.d.ts.map +1 -0
  89. package/dist/lib/sync.d.ts.map +1 -1
  90. package/dist/lib/task-list-client-boundary.d.ts +3 -0
  91. package/dist/lib/task-list-client-boundary.d.ts.map +1 -0
  92. package/dist/lib/task-routing.d.ts.map +1 -1
  93. package/dist/lib/template-client-boundary.d.ts +2 -0
  94. package/dist/lib/template-client-boundary.d.ts.map +1 -0
  95. package/dist/mcp/index.d.ts +1 -0
  96. package/dist/mcp/index.d.ts.map +1 -1
  97. package/dist/mcp/index.js +45271 -40452
  98. package/dist/mcp/plan-api.d.ts +6 -0
  99. package/dist/mcp/plan-api.d.ts.map +1 -0
  100. package/dist/mcp/remote-authority.d.ts +49 -0
  101. package/dist/mcp/remote-authority.d.ts.map +1 -0
  102. package/dist/mcp/task-coordination-api.d.ts +15 -0
  103. package/dist/mcp/task-coordination-api.d.ts.map +1 -0
  104. package/dist/mcp/task-list-api.d.ts +8 -0
  105. package/dist/mcp/task-list-api.d.ts.map +1 -0
  106. package/dist/mcp/token-utils.d.ts.map +1 -1
  107. package/dist/mcp/tools/environment-snapshots.d.ts.map +1 -1
  108. package/dist/mcp/tools/machines.d.ts.map +1 -1
  109. package/dist/mcp/tools/task-project-tools.d.ts.map +1 -1
  110. package/dist/mcp/tools/task-resources.d.ts.map +1 -1
  111. package/dist/mcp.d.ts +2 -2
  112. package/dist/mcp.d.ts.map +1 -1
  113. package/dist/mcp.js +44 -18
  114. package/dist/project-registration.js +2829 -556
  115. package/dist/registry.js +836 -266
  116. package/dist/release-provenance.json +6 -6
  117. package/dist/sdk/client.d.ts +51 -4
  118. package/dist/sdk/client.d.ts.map +1 -1
  119. package/dist/sdk/index.d.ts +2 -0
  120. package/dist/sdk/index.d.ts.map +1 -1
  121. package/dist/sdk/index.js +1209 -1080
  122. package/dist/sdk/resolve.d.ts +91 -0
  123. package/dist/sdk/resolve.d.ts.map +1 -0
  124. package/dist/sdk/v1.generated.d.ts +219 -3
  125. package/dist/sdk/v1.generated.d.ts.map +1 -1
  126. package/dist/server/auth-posture.d.ts +66 -7
  127. package/dist/server/auth-posture.d.ts.map +1 -1
  128. package/dist/server/client-ip.d.ts +39 -0
  129. package/dist/server/client-ip.d.ts.map +1 -0
  130. package/dist/server/cloud.d.ts +2 -1
  131. package/dist/server/cloud.d.ts.map +1 -1
  132. package/dist/server/index.d.ts +1 -1
  133. package/dist/server/index.js +20556 -15541
  134. package/dist/server/openapi.d.ts +1341 -83
  135. package/dist/server/openapi.d.ts.map +1 -1
  136. package/dist/server/port.d.ts +2 -2
  137. package/dist/server/port.d.ts.map +1 -1
  138. package/dist/server/routes.d.ts +3 -6
  139. package/dist/server/routes.d.ts.map +1 -1
  140. package/dist/server/serve.d.ts +2 -6
  141. package/dist/server/serve.d.ts.map +1 -1
  142. package/dist/server/v1.d.ts +3 -1
  143. package/dist/server/v1.d.ts.map +1 -1
  144. package/dist/storage/atomic-project-migration.d.ts +53 -0
  145. package/dist/storage/atomic-project-migration.d.ts.map +1 -0
  146. package/dist/storage/index.d.ts +3 -1
  147. package/dist/storage/index.d.ts.map +1 -1
  148. package/dist/storage/interfaces.d.ts +61 -0
  149. package/dist/storage/interfaces.d.ts.map +1 -1
  150. package/dist/storage/machine-registry.d.ts +36 -0
  151. package/dist/storage/machine-registry.d.ts.map +1 -0
  152. package/dist/storage/postgres-adapter.d.ts.map +1 -1
  153. package/dist/storage/postgres-sync.d.ts +2 -2
  154. package/dist/storage/postgres-sync.d.ts.map +1 -1
  155. package/dist/storage/run-artifact-creation-upload.d.ts +50 -0
  156. package/dist/storage/run-artifact-creation-upload.d.ts.map +1 -0
  157. package/dist/storage/s3-artifact-sync.d.ts +18 -0
  158. package/dist/storage/s3-artifact-sync.d.ts.map +1 -1
  159. package/dist/storage/sqlite-snapshot.d.ts +2 -0
  160. package/dist/storage/sqlite-snapshot.d.ts.map +1 -1
  161. package/dist/storage.d.ts +2 -2
  162. package/dist/storage.d.ts.map +1 -1
  163. package/dist/storage.js +2695 -322
  164. package/dist/task-manifest/postgres.d.ts +1 -1
  165. package/dist/task-manifest/sqlite.d.ts +1 -1
  166. package/dist/task-manifest.js +244 -73
  167. package/dist/task-subtree-transfer.js +198 -4
  168. package/dist/testing.d.ts +90 -29
  169. package/dist/testing.d.ts.map +1 -1
  170. package/dist/testing.js +34 -10
  171. package/dist/types/index.d.ts +40 -4
  172. package/dist/types/index.d.ts.map +1 -1
  173. package/docs/PLAN_API.md +93 -0
  174. package/docs/TASK_LIST_API.md +58 -0
  175. package/docs/TASK_QUERY_API.md +14 -0
  176. package/docs/TEMPLATE_API.md +18 -0
  177. package/docs/native-storage.md +405 -0
  178. package/package.json +18 -15
  179. package/postinstall.js +52 -1
  180. package/dashboard/dist/assets/index-BNQ4gJua.js +0 -342
  181. package/dashboard/dist/assets/index-DjzvHUWt.css +0 -1
  182. package/dashboard/dist/index.html +0 -13
  183. package/dashboard/dist/logo.jpg +0 -0
@@ -17,6 +17,61 @@ export declare function buildV1OpenApiDocument(version?: string): {
17
17
  };
18
18
  };
19
19
  schemas: {
20
+ MachineAuthority: {
21
+ type: string;
22
+ additionalProperties: boolean;
23
+ required: string[];
24
+ properties: {
25
+ tenant_id: {
26
+ type: string;
27
+ minLength: number;
28
+ };
29
+ kid: {
30
+ type: string;
31
+ minLength: number;
32
+ };
33
+ };
34
+ };
35
+ Machine: {
36
+ type: string;
37
+ additionalProperties: boolean;
38
+ required: string[];
39
+ properties: {
40
+ id: {
41
+ type: string;
42
+ };
43
+ name: {
44
+ type: string;
45
+ };
46
+ hostname: {
47
+ type: string[];
48
+ };
49
+ platform: {
50
+ type: string[];
51
+ };
52
+ last_seen_at: {
53
+ type: string;
54
+ format: string;
55
+ };
56
+ metadata: {
57
+ type: string;
58
+ additionalProperties: boolean;
59
+ };
60
+ created_at: {
61
+ type: string;
62
+ format: string;
63
+ };
64
+ ssh_address: {
65
+ type: string[];
66
+ };
67
+ is_primary: {
68
+ type: string;
69
+ };
70
+ archived_at: {
71
+ type: string[];
72
+ };
73
+ };
74
+ };
20
75
  Task: {
21
76
  readonly type: "object";
22
77
  readonly properties: {
@@ -90,6 +145,20 @@ export declare function buildV1OpenApiDocument(version?: string): {
90
145
  Project: {
91
146
  readonly type: "object";
92
147
  readonly properties: {
148
+ readonly status: {
149
+ readonly type: "string";
150
+ readonly enum: readonly ["active", "completed", "on_hold", "archived"];
151
+ };
152
+ readonly short_id: {
153
+ readonly type: "string";
154
+ readonly nullable: true;
155
+ readonly maxLength: 64;
156
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$";
157
+ };
158
+ readonly metadata: {
159
+ readonly type: "object";
160
+ readonly additionalProperties: true;
161
+ };
93
162
  readonly id: {
94
163
  readonly type: "string";
95
164
  };
@@ -1624,6 +1693,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
1624
1693
  TaskList: {
1625
1694
  readonly type: "object";
1626
1695
  readonly properties: {
1696
+ readonly status: {
1697
+ readonly type: "string";
1698
+ readonly enum: readonly ["active", "completed", "archived"];
1699
+ };
1627
1700
  readonly id: {
1628
1701
  readonly type: "string";
1629
1702
  };
@@ -1949,9 +2022,19 @@ export declare function buildV1OpenApiDocument(version?: string): {
1949
2022
  readonly type: "string";
1950
2023
  readonly nullable: true;
1951
2024
  };
2025
+ readonly start_date: {
2026
+ readonly type: "string";
2027
+ readonly format: "date";
2028
+ readonly nullable: true;
2029
+ };
2030
+ readonly end_date: {
2031
+ readonly type: "string";
2032
+ readonly format: "date";
2033
+ readonly nullable: true;
2034
+ };
1952
2035
  readonly status: {
1953
2036
  readonly type: "string";
1954
- readonly enum: readonly ["active", "completed", "archived"];
2037
+ readonly enum: readonly ["active", "completed", "archived", "planning", "cancelled"];
1955
2038
  };
1956
2039
  readonly created_at: {
1957
2040
  readonly type: "string";
@@ -2460,6 +2543,20 @@ export declare function buildV1OpenApiDocument(version?: string): {
2460
2543
  additionalProperties: boolean;
2461
2544
  required: string[];
2462
2545
  properties: {
2546
+ status: {
2547
+ type: string;
2548
+ enum: string[];
2549
+ };
2550
+ short_id: {
2551
+ type: string;
2552
+ nullable: boolean;
2553
+ maxLength: number;
2554
+ pattern: string;
2555
+ };
2556
+ metadata: {
2557
+ type: string;
2558
+ additionalProperties: boolean;
2559
+ };
2463
2560
  name: {
2464
2561
  type: string;
2465
2562
  minLength: number;
@@ -2492,6 +2589,20 @@ export declare function buildV1OpenApiDocument(version?: string): {
2492
2589
  additionalProperties: boolean;
2493
2590
  minProperties: number;
2494
2591
  properties: {
2592
+ status: {
2593
+ type: string;
2594
+ enum: string[];
2595
+ };
2596
+ short_id: {
2597
+ type: string;
2598
+ nullable: boolean;
2599
+ maxLength: number;
2600
+ pattern: string;
2601
+ };
2602
+ metadata: {
2603
+ type: string;
2604
+ additionalProperties: boolean;
2605
+ };
2495
2606
  name: {
2496
2607
  type: string;
2497
2608
  minLength: number;
@@ -2603,6 +2714,33 @@ export declare function buildV1OpenApiDocument(version?: string): {
2603
2714
  };
2604
2715
  };
2605
2716
  };
2717
+ PlanProjectLinkConflictResponse: {
2718
+ type: string;
2719
+ required: string[];
2720
+ properties: {
2721
+ error: {
2722
+ type: string;
2723
+ };
2724
+ code: {
2725
+ type: string;
2726
+ };
2727
+ conflict: {
2728
+ type: string;
2729
+ };
2730
+ operation_committed: {
2731
+ type: string;
2732
+ enum: boolean[];
2733
+ description: string;
2734
+ };
2735
+ current_state_matches_receipt: {
2736
+ type: string;
2737
+ enum: boolean[];
2738
+ };
2739
+ receipt: {
2740
+ $ref: string;
2741
+ };
2742
+ };
2743
+ };
2606
2744
  ErrorResponse: {
2607
2745
  type: string;
2608
2746
  required: string[];
@@ -2623,6 +2761,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
2623
2761
  additionalProperties: boolean;
2624
2762
  required: string[];
2625
2763
  properties: {
2764
+ status: {
2765
+ type: string;
2766
+ enum: string[];
2767
+ };
2626
2768
  name: {
2627
2769
  type: string;
2628
2770
  minLength: number;
@@ -2650,6 +2792,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
2650
2792
  additionalProperties: boolean;
2651
2793
  minProperties: number;
2652
2794
  properties: {
2795
+ status: {
2796
+ type: string;
2797
+ enum: string[];
2798
+ };
2653
2799
  slug: {
2654
2800
  type: string;
2655
2801
  minLength: number;
@@ -2723,6 +2869,16 @@ export declare function buildV1OpenApiDocument(version?: string): {
2723
2869
  type: string;
2724
2870
  minLength: number;
2725
2871
  };
2872
+ start_date: {
2873
+ type: string;
2874
+ format: string;
2875
+ nullable: boolean;
2876
+ };
2877
+ end_date: {
2878
+ type: string;
2879
+ format: string;
2880
+ nullable: boolean;
2881
+ };
2726
2882
  status: {
2727
2883
  type: string;
2728
2884
  enum: string[];
@@ -2754,6 +2910,16 @@ export declare function buildV1OpenApiDocument(version?: string): {
2754
2910
  type: string;
2755
2911
  minLength: number;
2756
2912
  };
2913
+ start_date: {
2914
+ type: string;
2915
+ format: string;
2916
+ nullable: boolean;
2917
+ };
2918
+ end_date: {
2919
+ type: string;
2920
+ format: string;
2921
+ nullable: boolean;
2922
+ };
2757
2923
  status: {
2758
2924
  type: string;
2759
2925
  enum: string[];
@@ -2821,6 +2987,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
2821
2987
  additionalProperties: boolean;
2822
2988
  minProperties: number;
2823
2989
  properties: {
2990
+ expected_version: {
2991
+ type: string;
2992
+ minimum: number;
2993
+ };
2824
2994
  name: {
2825
2995
  type: string;
2826
2996
  minLength: number;
@@ -3914,6 +4084,120 @@ export declare function buildV1OpenApiDocument(version?: string): {
3914
4084
  apiKey: never[];
3915
4085
  }[];
3916
4086
  paths: {
4087
+ "/v1/machines": {
4088
+ get: {
4089
+ operationId: string;
4090
+ summary: string;
4091
+ responses: {
4092
+ "200": {
4093
+ description: string;
4094
+ content: {
4095
+ "application/json": {
4096
+ schema: {
4097
+ type: string;
4098
+ required: string[];
4099
+ properties: {
4100
+ authority: {
4101
+ $ref: string;
4102
+ };
4103
+ schema_version: {
4104
+ type: string;
4105
+ enum: number[];
4106
+ };
4107
+ machines: {
4108
+ type: string;
4109
+ items: {
4110
+ $ref: string;
4111
+ };
4112
+ };
4113
+ };
4114
+ };
4115
+ };
4116
+ };
4117
+ };
4118
+ };
4119
+ };
4120
+ post: {
4121
+ operationId: string;
4122
+ summary: string;
4123
+ requestBody: {
4124
+ required: boolean;
4125
+ content: {
4126
+ "application/json": {
4127
+ schema: {
4128
+ type: string;
4129
+ required: string[];
4130
+ properties: {
4131
+ expected_authority: {
4132
+ $ref: string;
4133
+ };
4134
+ action: {
4135
+ type: string;
4136
+ enum: string[];
4137
+ };
4138
+ name: {
4139
+ type: string;
4140
+ };
4141
+ id: {
4142
+ type: string;
4143
+ };
4144
+ options: {
4145
+ type: string;
4146
+ };
4147
+ machines: {
4148
+ type: string;
4149
+ maxItems: number;
4150
+ items: {
4151
+ $ref: string;
4152
+ };
4153
+ };
4154
+ };
4155
+ };
4156
+ };
4157
+ };
4158
+ };
4159
+ responses: {
4160
+ "200": {
4161
+ description: string;
4162
+ content: {
4163
+ "application/json": {
4164
+ schema: {
4165
+ type: string;
4166
+ required: string[];
4167
+ properties: {
4168
+ authority: {
4169
+ $ref: string;
4170
+ };
4171
+ schema_version: {
4172
+ type: string;
4173
+ enum: number[];
4174
+ };
4175
+ machines: {
4176
+ type: string;
4177
+ items: {
4178
+ $ref: string;
4179
+ };
4180
+ };
4181
+ machine: {
4182
+ $ref: string;
4183
+ };
4184
+ inserted: {
4185
+ type: string;
4186
+ };
4187
+ skipped: {
4188
+ type: string;
4189
+ };
4190
+ deleted: {
4191
+ type: string;
4192
+ };
4193
+ };
4194
+ };
4195
+ };
4196
+ };
4197
+ };
4198
+ };
4199
+ };
4200
+ };
3917
4201
  "/v1/project-registration/capability": {
3918
4202
  get: {
3919
4203
  operationId: string;
@@ -4993,6 +5277,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
4993
5277
  })[];
4994
5278
  type?: undefined;
4995
5279
  nullable?: undefined;
5280
+ enum?: undefined;
4996
5281
  format?: undefined;
4997
5282
  minimum?: undefined;
4998
5283
  };
@@ -5017,6 +5302,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5017
5302
  })[];
5018
5303
  type?: undefined;
5019
5304
  nullable?: undefined;
5305
+ enum?: undefined;
5020
5306
  format?: undefined;
5021
5307
  minimum?: undefined;
5022
5308
  };
@@ -5027,6 +5313,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5027
5313
  type: string;
5028
5314
  oneOf?: undefined;
5029
5315
  nullable?: undefined;
5316
+ enum?: undefined;
5030
5317
  format?: undefined;
5031
5318
  minimum?: undefined;
5032
5319
  };
@@ -5040,6 +5327,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5040
5327
  type: string;
5041
5328
  nullable: boolean;
5042
5329
  oneOf?: undefined;
5330
+ enum?: undefined;
5043
5331
  format?: undefined;
5044
5332
  minimum?: undefined;
5045
5333
  };
@@ -5053,6 +5341,21 @@ export declare function buildV1OpenApiDocument(version?: string): {
5053
5341
  type: string;
5054
5342
  oneOf?: undefined;
5055
5343
  nullable?: undefined;
5344
+ enum?: undefined;
5345
+ format?: undefined;
5346
+ minimum?: undefined;
5347
+ };
5348
+ description: string;
5349
+ style?: undefined;
5350
+ explode?: undefined;
5351
+ } | {
5352
+ name: string;
5353
+ in: string;
5354
+ schema: {
5355
+ type: string;
5356
+ enum: string[];
5357
+ oneOf?: undefined;
5358
+ nullable?: undefined;
5056
5359
  format?: undefined;
5057
5360
  minimum?: undefined;
5058
5361
  };
@@ -5067,6 +5370,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5067
5370
  format: string;
5068
5371
  oneOf?: undefined;
5069
5372
  nullable?: undefined;
5373
+ enum?: undefined;
5070
5374
  minimum?: undefined;
5071
5375
  };
5072
5376
  description: string;
@@ -5080,6 +5384,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5080
5384
  minimum: number;
5081
5385
  oneOf?: undefined;
5082
5386
  nullable?: undefined;
5387
+ enum?: undefined;
5083
5388
  format?: undefined;
5084
5389
  };
5085
5390
  description?: undefined;
@@ -5108,15 +5413,35 @@ export declare function buildV1OpenApiDocument(version?: string): {
5108
5413
  type: string;
5109
5414
  minimum: number;
5110
5415
  };
5111
- };
5112
- };
5113
- };
5114
- };
5115
- };
5116
- };
5117
- };
5118
- post: {
5119
- operationId: string;
5416
+ selection: {
5417
+ type: string;
5418
+ required: string[];
5419
+ properties: {
5420
+ schema_version: {
5421
+ type: string;
5422
+ enum: number[];
5423
+ };
5424
+ plan_id: {
5425
+ type: string;
5426
+ };
5427
+ include_subtasks: {
5428
+ type: string;
5429
+ enum: boolean[];
5430
+ };
5431
+ include_archived: {
5432
+ type: string;
5433
+ };
5434
+ };
5435
+ };
5436
+ };
5437
+ };
5438
+ };
5439
+ };
5440
+ };
5441
+ };
5442
+ };
5443
+ post: {
5444
+ operationId: string;
5120
5445
  summary: string;
5121
5446
  requestBody: {
5122
5447
  required: boolean;
@@ -5865,6 +6190,142 @@ export declare function buildV1OpenApiDocument(version?: string): {
5865
6190
  };
5866
6191
  };
5867
6192
  };
6193
+ "/v1/projects/{id}/delete-preserving": {
6194
+ post: {
6195
+ operationId: string;
6196
+ summary: string;
6197
+ parameters: {
6198
+ name: string;
6199
+ in: string;
6200
+ required: boolean;
6201
+ schema: {
6202
+ type: string;
6203
+ };
6204
+ }[];
6205
+ requestBody: {
6206
+ required: boolean;
6207
+ content: {
6208
+ "application/json": {
6209
+ schema: {
6210
+ type: string;
6211
+ additionalProperties: boolean;
6212
+ properties: {
6213
+ force: {
6214
+ type: string;
6215
+ };
6216
+ require_completed_tasks: {
6217
+ type: string;
6218
+ };
6219
+ };
6220
+ };
6221
+ };
6222
+ };
6223
+ };
6224
+ responses: {
6225
+ "200": {
6226
+ content: {
6227
+ "application/json": {
6228
+ schema: {
6229
+ type: string;
6230
+ required: string[];
6231
+ properties: {
6232
+ schema_version: {
6233
+ type: string;
6234
+ enum: number[];
6235
+ };
6236
+ project_id: {
6237
+ type: string;
6238
+ };
6239
+ deleted: {
6240
+ type: string;
6241
+ };
6242
+ preserved_tasks: {
6243
+ type: string;
6244
+ minimum: number;
6245
+ };
6246
+ preserved_plans: {
6247
+ type: string;
6248
+ minimum: number;
6249
+ };
6250
+ detached_task_lists: {
6251
+ type: string;
6252
+ minimum: number;
6253
+ };
6254
+ detached_child_projects: {
6255
+ type: string;
6256
+ minimum: number;
6257
+ };
6258
+ };
6259
+ };
6260
+ };
6261
+ };
6262
+ };
6263
+ "400": {
6264
+ content: {
6265
+ "application/json": {
6266
+ schema: {
6267
+ $ref: string;
6268
+ };
6269
+ };
6270
+ };
6271
+ };
6272
+ "401": {
6273
+ content: {
6274
+ "application/json": {
6275
+ schema: {
6276
+ $ref: string;
6277
+ };
6278
+ };
6279
+ };
6280
+ };
6281
+ "403": {
6282
+ content: {
6283
+ "application/json": {
6284
+ schema: {
6285
+ $ref: string;
6286
+ };
6287
+ };
6288
+ };
6289
+ };
6290
+ "404": {
6291
+ content: {
6292
+ "application/json": {
6293
+ schema: {
6294
+ $ref: string;
6295
+ };
6296
+ };
6297
+ };
6298
+ };
6299
+ "405": {
6300
+ content: {
6301
+ "application/json": {
6302
+ schema: {
6303
+ $ref: string;
6304
+ };
6305
+ };
6306
+ };
6307
+ };
6308
+ "409": {
6309
+ content: {
6310
+ "application/json": {
6311
+ schema: {
6312
+ $ref: string;
6313
+ };
6314
+ };
6315
+ };
6316
+ };
6317
+ "501": {
6318
+ content: {
6319
+ "application/json": {
6320
+ schema: {
6321
+ $ref: string;
6322
+ };
6323
+ };
6324
+ };
6325
+ };
6326
+ };
6327
+ };
6328
+ };
5868
6329
  "/v1/projects/{id}/task-list/ensure": {
5869
6330
  get: {
5870
6331
  operationId: string;
@@ -6273,48 +6734,106 @@ export declare function buildV1OpenApiDocument(version?: string): {
6273
6734
  };
6274
6735
  };
6275
6736
  };
6276
- "/v1/plans/{id}/project-link": {
6737
+ "/v1/plans/{id}/comments": {
6277
6738
  get: {
6278
6739
  operationId: string;
6279
6740
  summary: string;
6280
- parameters: {
6741
+ parameters: ({
6281
6742
  name: string;
6282
6743
  in: string;
6283
6744
  required: boolean;
6284
6745
  schema: {
6285
6746
  type: string;
6747
+ enum?: undefined;
6286
6748
  };
6287
- }[];
6749
+ description?: undefined;
6750
+ } | {
6751
+ name: string;
6752
+ in: string;
6753
+ schema: {
6754
+ type: string;
6755
+ enum: string[];
6756
+ };
6757
+ description: string;
6758
+ required?: undefined;
6759
+ })[];
6288
6760
  responses: {
6289
6761
  "200": {
6290
6762
  content: {
6291
6763
  "application/json": {
6292
6764
  schema: {
6293
- $ref: string;
6294
- };
6295
- };
6296
- };
6297
- };
6298
- "404": {
6299
- content: {
6300
- "application/json": {
6301
- schema: {
6302
- $ref: string;
6303
- };
6304
- };
6305
- };
6306
- };
6307
- "409": {
6308
- content: {
6309
- "application/json": {
6310
- schema: {
6311
- $ref: string;
6765
+ type: string;
6766
+ required: string[];
6767
+ properties: {
6768
+ count: {
6769
+ type: string;
6770
+ minimum: number;
6771
+ };
6772
+ comments: {
6773
+ type: string;
6774
+ items: {
6775
+ type: string;
6776
+ required: string[];
6777
+ properties: {
6778
+ id: {
6779
+ type: string;
6780
+ };
6781
+ plan_id: {
6782
+ type: string;
6783
+ };
6784
+ content: {
6785
+ type: string;
6786
+ };
6787
+ created_at: {
6788
+ type: string;
6789
+ };
6790
+ agent_id: {
6791
+ type: string;
6792
+ nullable: boolean;
6793
+ };
6794
+ session_id: {
6795
+ type: string;
6796
+ nullable: boolean;
6797
+ };
6798
+ type: {
6799
+ type: string;
6800
+ enum: string[];
6801
+ };
6802
+ progress_pct: {
6803
+ type: string;
6804
+ nullable: boolean;
6805
+ minimum: number;
6806
+ maximum: number;
6807
+ };
6808
+ };
6809
+ };
6810
+ };
6811
+ history_selection: {
6812
+ type: string;
6813
+ required: string[];
6814
+ properties: {
6815
+ schema_version: {
6816
+ type: string;
6817
+ enum: number[];
6818
+ };
6819
+ plan_id: {
6820
+ type: string;
6821
+ };
6822
+ complete: {
6823
+ type: string;
6824
+ enum: boolean[];
6825
+ };
6826
+ };
6827
+ };
6828
+ };
6312
6829
  };
6313
6830
  };
6314
6831
  };
6315
6832
  };
6316
6833
  };
6317
6834
  };
6835
+ };
6836
+ "/v1/plans/{id}/delete-preserving": {
6318
6837
  post: {
6319
6838
  operationId: string;
6320
6839
  summary: string;
@@ -6331,13 +6850,477 @@ export declare function buildV1OpenApiDocument(version?: string): {
6331
6850
  content: {
6332
6851
  "application/json": {
6333
6852
  schema: {
6334
- $ref: string;
6853
+ type: string;
6854
+ additionalProperties: boolean;
6855
+ properties: {
6856
+ force: {
6857
+ type: string;
6858
+ };
6859
+ };
6335
6860
  };
6336
6861
  };
6337
6862
  };
6338
6863
  };
6339
6864
  responses: {
6340
6865
  "200": {
6866
+ content: {
6867
+ "application/json": {
6868
+ schema: {
6869
+ type: string;
6870
+ required: string[];
6871
+ properties: {
6872
+ schema_version: {
6873
+ type: string;
6874
+ enum: number[];
6875
+ };
6876
+ plan_id: {
6877
+ type: string;
6878
+ };
6879
+ deleted: {
6880
+ type: string;
6881
+ };
6882
+ detached_task_ids: {
6883
+ type: string;
6884
+ items: {
6885
+ type: string;
6886
+ };
6887
+ };
6888
+ detached_task_list_ids: {
6889
+ type: string;
6890
+ items: {
6891
+ type: string;
6892
+ };
6893
+ };
6894
+ detached_tasks: {
6895
+ type: string;
6896
+ minimum: number;
6897
+ };
6898
+ detached_task_lists: {
6899
+ type: string;
6900
+ minimum: number;
6901
+ };
6902
+ };
6903
+ };
6904
+ };
6905
+ };
6906
+ };
6907
+ "409": {
6908
+ description: string;
6909
+ };
6910
+ "501": {
6911
+ description: string;
6912
+ };
6913
+ };
6914
+ };
6915
+ };
6916
+ "/v1/plans/{id}/project-link": {
6917
+ get: {
6918
+ operationId: string;
6919
+ summary: string;
6920
+ parameters: {
6921
+ name: string;
6922
+ in: string;
6923
+ required: boolean;
6924
+ schema: {
6925
+ type: string;
6926
+ };
6927
+ }[];
6928
+ responses: {
6929
+ "200": {
6930
+ content: {
6931
+ "application/json": {
6932
+ schema: {
6933
+ $ref: string;
6934
+ };
6935
+ };
6936
+ };
6937
+ };
6938
+ "404": {
6939
+ content: {
6940
+ "application/json": {
6941
+ schema: {
6942
+ $ref: string;
6943
+ };
6944
+ };
6945
+ };
6946
+ };
6947
+ "409": {
6948
+ content: {
6949
+ "application/json": {
6950
+ schema: {
6951
+ $ref: string;
6952
+ };
6953
+ };
6954
+ };
6955
+ };
6956
+ };
6957
+ };
6958
+ post: {
6959
+ operationId: string;
6960
+ summary: string;
6961
+ parameters: {
6962
+ name: string;
6963
+ in: string;
6964
+ required: boolean;
6965
+ schema: {
6966
+ type: string;
6967
+ };
6968
+ }[];
6969
+ requestBody: {
6970
+ required: boolean;
6971
+ content: {
6972
+ "application/json": {
6973
+ schema: {
6974
+ $ref: string;
6975
+ };
6976
+ };
6977
+ };
6978
+ };
6979
+ responses: {
6980
+ "200": {
6981
+ content: {
6982
+ "application/json": {
6983
+ schema: {
6984
+ $ref: string;
6985
+ };
6986
+ };
6987
+ };
6988
+ };
6989
+ "201": {
6990
+ content: {
6991
+ "application/json": {
6992
+ schema: {
6993
+ $ref: string;
6994
+ };
6995
+ };
6996
+ };
6997
+ };
6998
+ "400": {
6999
+ content: {
7000
+ "application/json": {
7001
+ schema: {
7002
+ $ref: string;
7003
+ };
7004
+ };
7005
+ };
7006
+ };
7007
+ "404": {
7008
+ content: {
7009
+ "application/json": {
7010
+ schema: {
7011
+ $ref: string;
7012
+ };
7013
+ };
7014
+ };
7015
+ };
7016
+ "409": {
7017
+ content: {
7018
+ "application/json": {
7019
+ schema: {
7020
+ $ref: string;
7021
+ };
7022
+ };
7023
+ };
7024
+ };
7025
+ };
7026
+ };
7027
+ };
7028
+ "/v1/plans/{id}/project-link/rollback": {
7029
+ post: {
7030
+ operationId: string;
7031
+ summary: string;
7032
+ parameters: {
7033
+ name: string;
7034
+ in: string;
7035
+ required: boolean;
7036
+ schema: {
7037
+ type: string;
7038
+ };
7039
+ }[];
7040
+ requestBody: {
7041
+ required: boolean;
7042
+ content: {
7043
+ "application/json": {
7044
+ schema: {
7045
+ $ref: string;
7046
+ };
7047
+ };
7048
+ };
7049
+ };
7050
+ responses: {
7051
+ "200": {
7052
+ content: {
7053
+ "application/json": {
7054
+ schema: {
7055
+ $ref: string;
7056
+ };
7057
+ };
7058
+ };
7059
+ };
7060
+ "400": {
7061
+ content: {
7062
+ "application/json": {
7063
+ schema: {
7064
+ $ref: string;
7065
+ };
7066
+ };
7067
+ };
7068
+ };
7069
+ "404": {
7070
+ content: {
7071
+ "application/json": {
7072
+ schema: {
7073
+ $ref: string;
7074
+ };
7075
+ };
7076
+ };
7077
+ };
7078
+ "409": {
7079
+ content: {
7080
+ "application/json": {
7081
+ schema: {
7082
+ $ref: string;
7083
+ };
7084
+ };
7085
+ };
7086
+ };
7087
+ };
7088
+ };
7089
+ };
7090
+ "/v1/templates/initialize": {
7091
+ post: {
7092
+ operationId: string;
7093
+ summary: string;
7094
+ requestBody: {
7095
+ required: boolean;
7096
+ content: {
7097
+ "application/json": {
7098
+ schema: {
7099
+ type: string;
7100
+ additionalProperties: boolean;
7101
+ };
7102
+ };
7103
+ };
7104
+ };
7105
+ responses: {
7106
+ "200": {
7107
+ content: {
7108
+ "application/json": {
7109
+ schema: {
7110
+ type: string;
7111
+ required: string[];
7112
+ properties: {
7113
+ schema_version: {
7114
+ type: string;
7115
+ enum: number[];
7116
+ };
7117
+ created: {
7118
+ type: string;
7119
+ minimum: number;
7120
+ };
7121
+ skipped: {
7122
+ type: string;
7123
+ minimum: number;
7124
+ };
7125
+ names: {
7126
+ type: string;
7127
+ items: {
7128
+ type: string;
7129
+ };
7130
+ };
7131
+ records: {
7132
+ type: string;
7133
+ items: {
7134
+ type: string;
7135
+ required: string[];
7136
+ properties: {
7137
+ definition_index: {
7138
+ type: string;
7139
+ minimum: number;
7140
+ };
7141
+ ids: {
7142
+ type: string;
7143
+ items: {
7144
+ type: string;
7145
+ };
7146
+ };
7147
+ name: {
7148
+ type: string;
7149
+ };
7150
+ status: {
7151
+ type: string;
7152
+ enum: string[];
7153
+ };
7154
+ };
7155
+ };
7156
+ };
7157
+ };
7158
+ };
7159
+ };
7160
+ };
7161
+ };
7162
+ "400": {
7163
+ content: {
7164
+ "application/json": {
7165
+ schema: {
7166
+ $ref: string;
7167
+ };
7168
+ };
7169
+ };
7170
+ };
7171
+ "401": {
7172
+ content: {
7173
+ "application/json": {
7174
+ schema: {
7175
+ $ref: string;
7176
+ };
7177
+ };
7178
+ };
7179
+ };
7180
+ "403": {
7181
+ content: {
7182
+ "application/json": {
7183
+ schema: {
7184
+ $ref: string;
7185
+ };
7186
+ };
7187
+ };
7188
+ };
7189
+ "404": {
7190
+ content: {
7191
+ "application/json": {
7192
+ schema: {
7193
+ $ref: string;
7194
+ };
7195
+ };
7196
+ };
7197
+ };
7198
+ "405": {
7199
+ content: {
7200
+ "application/json": {
7201
+ schema: {
7202
+ $ref: string;
7203
+ };
7204
+ };
7205
+ };
7206
+ };
7207
+ "409": {
7208
+ content: {
7209
+ "application/json": {
7210
+ schema: {
7211
+ $ref: string;
7212
+ };
7213
+ };
7214
+ };
7215
+ };
7216
+ "500": {
7217
+ content: {
7218
+ "application/json": {
7219
+ schema: {
7220
+ $ref: string;
7221
+ };
7222
+ };
7223
+ };
7224
+ };
7225
+ "501": {
7226
+ content: {
7227
+ "application/json": {
7228
+ schema: {
7229
+ $ref: string;
7230
+ };
7231
+ };
7232
+ };
7233
+ };
7234
+ };
7235
+ };
7236
+ };
7237
+ "/v1/templates/{id}/history": {
7238
+ get: {
7239
+ operationId: string;
7240
+ summary: string;
7241
+ parameters: {
7242
+ name: string;
7243
+ in: string;
7244
+ required: boolean;
7245
+ schema: {
7246
+ type: string;
7247
+ };
7248
+ }[];
7249
+ responses: {
7250
+ "200": {
7251
+ content: {
7252
+ "application/json": {
7253
+ schema: {
7254
+ type: string;
7255
+ required: string[];
7256
+ properties: {
7257
+ current_version: {
7258
+ type: string;
7259
+ minimum: number;
7260
+ };
7261
+ versions: {
7262
+ type: string;
7263
+ items: {
7264
+ type: string;
7265
+ required: string[];
7266
+ properties: {
7267
+ id: {
7268
+ type: string;
7269
+ };
7270
+ template_id: {
7271
+ type: string;
7272
+ };
7273
+ version: {
7274
+ type: string;
7275
+ minimum: number;
7276
+ };
7277
+ snapshot: {
7278
+ type: string;
7279
+ };
7280
+ created_at: {
7281
+ type: string;
7282
+ };
7283
+ };
7284
+ };
7285
+ };
7286
+ selection: {
7287
+ type: string;
7288
+ required: string[];
7289
+ properties: {
7290
+ schema_version: {
7291
+ type: string;
7292
+ enum: number[];
7293
+ };
7294
+ template_id: {
7295
+ type: string;
7296
+ };
7297
+ complete: {
7298
+ type: string;
7299
+ };
7300
+ missing_versions: {
7301
+ type: string;
7302
+ items: {
7303
+ type: string;
7304
+ minimum: number;
7305
+ };
7306
+ };
7307
+ };
7308
+ };
7309
+ };
7310
+ };
7311
+ };
7312
+ };
7313
+ };
7314
+ "400": {
7315
+ content: {
7316
+ "application/json": {
7317
+ schema: {
7318
+ $ref: string;
7319
+ };
7320
+ };
7321
+ };
7322
+ };
7323
+ "401": {
6341
7324
  content: {
6342
7325
  "application/json": {
6343
7326
  schema: {
@@ -6346,25 +7329,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6346
7329
  };
6347
7330
  };
6348
7331
  };
6349
- "201": {
6350
- content: {
6351
- "application/json": {
6352
- schema: {
6353
- $ref: string;
6354
- };
6355
- };
6356
- };
6357
- };
6358
- "400": {
6359
- content: {
6360
- "application/json": {
6361
- schema: {
6362
- $ref: string;
6363
- };
6364
- };
6365
- };
6366
- };
6367
- "404": {
7332
+ "403": {
6368
7333
  content: {
6369
7334
  "application/json": {
6370
7335
  schema: {
@@ -6373,7 +7338,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6373
7338
  };
6374
7339
  };
6375
7340
  };
6376
- "409": {
7341
+ "404": {
6377
7342
  content: {
6378
7343
  "application/json": {
6379
7344
  schema: {
@@ -6382,33 +7347,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6382
7347
  };
6383
7348
  };
6384
7349
  };
6385
- };
6386
- };
6387
- };
6388
- "/v1/plans/{id}/project-link/rollback": {
6389
- post: {
6390
- operationId: string;
6391
- summary: string;
6392
- parameters: {
6393
- name: string;
6394
- in: string;
6395
- required: boolean;
6396
- schema: {
6397
- type: string;
6398
- };
6399
- }[];
6400
- requestBody: {
6401
- required: boolean;
6402
- content: {
6403
- "application/json": {
6404
- schema: {
6405
- $ref: string;
6406
- };
6407
- };
6408
- };
6409
- };
6410
- responses: {
6411
- "200": {
7350
+ "405": {
6412
7351
  content: {
6413
7352
  "application/json": {
6414
7353
  schema: {
@@ -6417,7 +7356,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6417
7356
  };
6418
7357
  };
6419
7358
  };
6420
- "400": {
7359
+ "409": {
6421
7360
  content: {
6422
7361
  "application/json": {
6423
7362
  schema: {
@@ -6426,7 +7365,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6426
7365
  };
6427
7366
  };
6428
7367
  };
6429
- "404": {
7368
+ "500": {
6430
7369
  content: {
6431
7370
  "application/json": {
6432
7371
  schema: {
@@ -6435,7 +7374,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6435
7374
  };
6436
7375
  };
6437
7376
  };
6438
- "409": {
7377
+ "501": {
6439
7378
  content: {
6440
7379
  "application/json": {
6441
7380
  schema: {
@@ -6572,6 +7511,31 @@ export declare function buildV1OpenApiDocument(version?: string): {
6572
7511
  template: {
6573
7512
  $ref: string;
6574
7513
  };
7514
+ history_write: {
7515
+ type: string;
7516
+ required: string[];
7517
+ properties: {
7518
+ schema_version: {
7519
+ type: string;
7520
+ enum: number[];
7521
+ };
7522
+ template_id: {
7523
+ type: string;
7524
+ };
7525
+ previous_version: {
7526
+ type: string;
7527
+ minimum: number;
7528
+ };
7529
+ version: {
7530
+ type: string;
7531
+ minimum: number;
7532
+ };
7533
+ recorded: {
7534
+ type: string;
7535
+ enum: boolean[];
7536
+ };
7537
+ };
7538
+ };
6575
7539
  };
6576
7540
  };
6577
7541
  };
@@ -6685,6 +7649,100 @@ export declare function buildV1OpenApiDocument(version?: string): {
6685
7649
  };
6686
7650
  };
6687
7651
  };
7652
+ "/v1/task-lists/{id}/delete-preserving": {
7653
+ post: {
7654
+ operationId: string;
7655
+ summary: string;
7656
+ parameters: {
7657
+ name: string;
7658
+ in: string;
7659
+ required: boolean;
7660
+ schema: {
7661
+ type: string;
7662
+ };
7663
+ }[];
7664
+ requestBody: {
7665
+ required: boolean;
7666
+ content: {
7667
+ "application/json": {
7668
+ schema: {
7669
+ type: string;
7670
+ additionalProperties: boolean;
7671
+ properties: {
7672
+ force: {
7673
+ type: string;
7674
+ default: boolean;
7675
+ };
7676
+ };
7677
+ };
7678
+ };
7679
+ };
7680
+ };
7681
+ responses: {
7682
+ "200": {
7683
+ content: {
7684
+ "application/json": {
7685
+ schema: {
7686
+ type: string;
7687
+ additionalProperties: boolean;
7688
+ required: string[];
7689
+ properties: {
7690
+ schema_version: {
7691
+ type: string;
7692
+ enum: number[];
7693
+ };
7694
+ task_list_id: {
7695
+ type: string;
7696
+ };
7697
+ deleted: {
7698
+ type: string;
7699
+ };
7700
+ detached_task_ids: {
7701
+ type: string;
7702
+ items: {
7703
+ type: string;
7704
+ };
7705
+ };
7706
+ detached_plan_ids: {
7707
+ type: string;
7708
+ items: {
7709
+ type: string;
7710
+ };
7711
+ };
7712
+ detached_tasks: {
7713
+ type: string;
7714
+ minimum: number;
7715
+ };
7716
+ detached_plans: {
7717
+ type: string;
7718
+ minimum: number;
7719
+ };
7720
+ };
7721
+ };
7722
+ };
7723
+ };
7724
+ };
7725
+ "409": {
7726
+ content: {
7727
+ "application/json": {
7728
+ schema: {
7729
+ $ref: string;
7730
+ };
7731
+ };
7732
+ };
7733
+ };
7734
+ "501": {
7735
+ content: {
7736
+ "application/json": {
7737
+ schema: {
7738
+ $ref: string;
7739
+ };
7740
+ };
7741
+ };
7742
+ };
7743
+ };
7744
+ };
7745
+ };
6688
7746
  "/v1/task-lists/{id}": {
6689
7747
  get: {
6690
7748
  operationId: string;
@@ -7028,6 +8086,193 @@ export declare function buildV1OpenApiDocument(version?: string): {
7028
8086
  };
7029
8087
  };
7030
8088
  };
8089
+ "/v1/project-migrations": {
8090
+ get: {
8091
+ operationId: string;
8092
+ summary: string;
8093
+ responses: {
8094
+ "200": {
8095
+ content: {
8096
+ "application/json": {
8097
+ schema: {
8098
+ type: string;
8099
+ required: string[];
8100
+ properties: {
8101
+ schema_version: {
8102
+ type: string;
8103
+ enum: number[];
8104
+ };
8105
+ authority: {
8106
+ readonly type: "object";
8107
+ readonly required: readonly ["tenant_id", "kid", "deployment_id"];
8108
+ readonly properties: {
8109
+ readonly tenant_id: {
8110
+ readonly type: "string";
8111
+ };
8112
+ readonly kid: {
8113
+ readonly type: "string";
8114
+ };
8115
+ readonly deployment_id: {
8116
+ readonly type: "string";
8117
+ readonly format: "uuid";
8118
+ };
8119
+ };
8120
+ };
8121
+ supported_families: {
8122
+ type: string;
8123
+ items: {
8124
+ type: string;
8125
+ };
8126
+ };
8127
+ supported_tombstones: {
8128
+ type: string;
8129
+ items: {
8130
+ type: string;
8131
+ };
8132
+ };
8133
+ max_records: {
8134
+ type: string;
8135
+ };
8136
+ max_bytes: {
8137
+ type: string;
8138
+ };
8139
+ atomic: {
8140
+ type: string;
8141
+ enum: boolean[];
8142
+ };
8143
+ };
8144
+ };
8145
+ };
8146
+ };
8147
+ };
8148
+ };
8149
+ };
8150
+ post: {
8151
+ operationId: string;
8152
+ summary: string;
8153
+ description: string;
8154
+ requestBody: {
8155
+ required: boolean;
8156
+ content: {
8157
+ "application/json": {
8158
+ schema: {
8159
+ type: string;
8160
+ required: string[];
8161
+ properties: {
8162
+ schema_version: {
8163
+ type: string;
8164
+ enum: number[];
8165
+ };
8166
+ operation_id: {
8167
+ type: string;
8168
+ minLength: number;
8169
+ maxLength: number;
8170
+ };
8171
+ expected_authority: {
8172
+ readonly type: "object";
8173
+ readonly required: readonly ["tenant_id", "kid", "deployment_id"];
8174
+ readonly properties: {
8175
+ readonly tenant_id: {
8176
+ readonly type: "string";
8177
+ };
8178
+ readonly kid: {
8179
+ readonly type: "string";
8180
+ };
8181
+ readonly deployment_id: {
8182
+ readonly type: "string";
8183
+ readonly format: "uuid";
8184
+ };
8185
+ };
8186
+ };
8187
+ snapshot_hash: {
8188
+ type: string;
8189
+ pattern: string;
8190
+ };
8191
+ snapshot: {
8192
+ type: string;
8193
+ description: string;
8194
+ additionalProperties: boolean;
8195
+ };
8196
+ };
8197
+ };
8198
+ };
8199
+ };
8200
+ };
8201
+ responses: {
8202
+ "200": {
8203
+ content: {
8204
+ "application/json": {
8205
+ schema: {
8206
+ readonly type: "object";
8207
+ readonly required: readonly ["schema_version", "operation_id", "snapshot_hash", "authority", "status", "records"];
8208
+ readonly properties: {
8209
+ readonly schema_version: {
8210
+ readonly type: "integer";
8211
+ readonly enum: readonly [1];
8212
+ };
8213
+ readonly operation_id: {
8214
+ readonly type: "string";
8215
+ };
8216
+ readonly snapshot_hash: {
8217
+ readonly type: "string";
8218
+ };
8219
+ readonly authority: {
8220
+ readonly type: "object";
8221
+ readonly required: readonly ["tenant_id", "kid", "deployment_id"];
8222
+ readonly properties: {
8223
+ readonly tenant_id: {
8224
+ readonly type: "string";
8225
+ };
8226
+ readonly kid: {
8227
+ readonly type: "string";
8228
+ };
8229
+ readonly deployment_id: {
8230
+ readonly type: "string";
8231
+ readonly format: "uuid";
8232
+ };
8233
+ };
8234
+ };
8235
+ readonly status: {
8236
+ readonly type: "string";
8237
+ readonly enum: readonly ["complete"];
8238
+ };
8239
+ readonly records: {
8240
+ readonly type: "array";
8241
+ readonly items: {
8242
+ readonly type: "object";
8243
+ readonly required: readonly ["object_type", "object_id", "outcome", "before_hash", "after_hash", "source_hash"];
8244
+ readonly properties: {
8245
+ readonly object_type: {
8246
+ readonly type: "string";
8247
+ };
8248
+ readonly object_id: {
8249
+ readonly type: "string";
8250
+ };
8251
+ readonly outcome: {
8252
+ readonly type: "string";
8253
+ readonly enum: readonly ["inserted", "updated", "identical", "superseded", "deleted", "detached"];
8254
+ };
8255
+ readonly before_hash: {
8256
+ readonly type: "string";
8257
+ readonly nullable: true;
8258
+ };
8259
+ readonly after_hash: {
8260
+ readonly type: "string";
8261
+ };
8262
+ readonly source_hash: {
8263
+ readonly type: "string";
8264
+ };
8265
+ };
8266
+ };
8267
+ };
8268
+ };
8269
+ };
8270
+ };
8271
+ };
8272
+ };
8273
+ };
8274
+ };
8275
+ };
7031
8276
  "/v1/import": {
7032
8277
  post: {
7033
8278
  operationId: string;
@@ -7064,6 +8309,16 @@ export declare function buildV1OpenApiDocument(version?: string): {
7064
8309
  type: string;
7065
8310
  };
7066
8311
  };
8312
+ machines: {
8313
+ type: string;
8314
+ maxItems: number;
8315
+ items: {
8316
+ $ref: string;
8317
+ };
8318
+ };
8319
+ expected_machine_authority: {
8320
+ $ref: string;
8321
+ };
7067
8322
  plans: {
7068
8323
  type: string;
7069
8324
  items: {
@@ -7144,6 +8399,9 @@ export declare function buildV1OpenApiDocument(version?: string): {
7144
8399
  received: {
7145
8400
  type: string;
7146
8401
  };
8402
+ machine_authority: {
8403
+ $ref: string;
8404
+ };
7147
8405
  result: {
7148
8406
  type: string;
7149
8407
  properties: {