@astrosheep/keiyaku 4.6.8 → 4.6.9

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 (253) hide show
  1. package/README.md +40 -14
  2. package/build/plugins/claude/.claude-plugin/plugin.json +1 -1
  3. package/build/plugins/claude/skills/keiyaku/SKILL.md +5 -6
  4. package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +1 -1
  5. package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +8 -8
  6. package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +1 -1
  7. package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +9 -9
  8. package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +91 -0
  9. package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +2 -2
  10. package/build/plugins/codex/.codex-plugin/plugin.json +1 -1
  11. package/build/plugins/codex/skills/keiyaku/SKILL.md +5 -6
  12. package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +1 -1
  13. package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +8 -8
  14. package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +1 -1
  15. package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +9 -9
  16. package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +91 -0
  17. package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +2 -2
  18. package/build/plugins/opencode/index.js +1 -1
  19. package/build/plugins/opencode/skills/keiyaku/SKILL.md +5 -6
  20. package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +1 -1
  21. package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +8 -8
  22. package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +1 -1
  23. package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +9 -9
  24. package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +91 -0
  25. package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +2 -2
  26. package/build/skills/keiyaku/SKILL.md +5 -6
  27. package/build/skills/keiyaku-akuma/SKILL.md +1 -1
  28. package/build/skills/keiyaku-akuma/references/automation.md +8 -8
  29. package/build/skills/keiyaku-babysit/SKILL.md +1 -1
  30. package/build/skills/keiyaku-bind/SKILL.md +9 -9
  31. package/build/skills/keiyaku-debt/SKILL.md +91 -0
  32. package/build/skills/keiyaku-workflow/SKILL.md +2 -2
  33. package/build/src/akuma/akuma-instance.d.ts +2 -0
  34. package/build/src/akuma/akuma-instance.js +10 -0
  35. package/build/src/akuma/akuma-observe.d.ts +33 -8
  36. package/build/src/akuma/akuma-observe.js +88 -64
  37. package/build/src/akuma/akuma-owner.d.ts +11 -2
  38. package/build/src/akuma/akuma-owner.js +45 -35
  39. package/build/src/akuma/akuma-selection-execution.js +9 -1
  40. package/build/src/akuma/akuma-stream.d.ts +22 -0
  41. package/build/src/akuma/akuma-stream.js +116 -0
  42. package/build/src/akuma/akuma-wait.d.ts +1 -40
  43. package/build/src/akuma/akuma-wait.js +23 -84
  44. package/build/src/akuma/akuma.d.ts +17 -11
  45. package/build/src/akuma/akuma.js +2 -0
  46. package/build/src/akuma/allowed.d.ts +7 -12
  47. package/build/src/akuma/allowed.js +13 -4
  48. package/build/src/akuma/body-supervisor.d.ts +5 -5
  49. package/build/src/akuma/body-supervisor.js +22 -20
  50. package/build/src/akuma/body.js +28 -1
  51. package/build/src/akuma/call-request.d.ts +12 -22
  52. package/build/src/akuma/heart/activity-schema.d.ts +12 -0
  53. package/build/src/akuma/heart/activity-schema.js +6 -0
  54. package/build/src/akuma/heart/index.d.ts +59 -2
  55. package/build/src/akuma/heart/index.js +87 -8
  56. package/build/src/akuma/heart/rows.js +5 -3
  57. package/build/src/akuma/heart/soul.d.ts +9 -0
  58. package/build/src/akuma/heart/soul.js +29 -0
  59. package/build/src/akuma/heart/storage.d.ts +15 -0
  60. package/build/src/akuma/heart/storage.js +55 -0
  61. package/build/src/akuma/heart/timeline.d.ts +7 -0
  62. package/build/src/akuma/heart/timeline.js +10 -0
  63. package/build/src/akuma/index.d.ts +1 -0
  64. package/build/src/akuma/projection.d.ts +25 -0
  65. package/build/src/akuma/projection.js +24 -7
  66. package/build/src/akuma/provider-recipe.d.ts +11 -0
  67. package/build/src/akuma/provider-recipe.js +23 -0
  68. package/build/src/akuma/provider.d.ts +25 -0
  69. package/build/src/akuma/provider.js +99 -7
  70. package/build/src/akuma/providers/acp/events.js +25 -2
  71. package/build/src/akuma/providers/claude/events.js +76 -10
  72. package/build/src/akuma/providers/claude/index.js +2 -5
  73. package/build/src/akuma/providers/codex-app-server/events.js +17 -2
  74. package/build/src/akuma/providers/codex-app-server/index.js +15 -9
  75. package/build/src/akuma/providers/decode.d.ts +8 -0
  76. package/build/src/akuma/providers/decode.js +21 -0
  77. package/build/src/akuma/providers/grok-build/index.js +10 -26
  78. package/build/src/akuma/providers/opencode-sdk/event-stream.d.ts +3 -3
  79. package/build/src/akuma/providers/opencode-sdk/event-stream.js +2 -25
  80. package/build/src/akuma/providers/opencode-sdk/events.d.ts +7 -43
  81. package/build/src/akuma/providers/opencode-sdk/events.js +147 -284
  82. package/build/src/akuma/providers/opencode-sdk/index.js +267 -421
  83. package/build/src/akuma/providers/opencode-sdk/native-http.d.ts +9 -0
  84. package/build/src/akuma/providers/opencode-sdk/native-http.js +69 -0
  85. package/build/src/akuma/providers/opencode-sdk/session.d.ts +42 -36
  86. package/build/src/akuma/providers/opencode-sdk/session.js +75 -82
  87. package/build/src/akuma/providers/paseo/events.d.ts +8 -0
  88. package/build/src/akuma/providers/paseo/events.js +58 -11
  89. package/build/src/akuma/providers/paseo/index.js +11 -7
  90. package/build/src/akuma/providers/pi/events.d.ts +2 -0
  91. package/build/src/akuma/providers/pi/events.js +32 -24
  92. package/build/src/akuma/providers/pi/index.js +21 -35
  93. package/build/src/akuma/request-lifecycle.d.ts +1 -2
  94. package/build/src/akuma/request-lifecycle.js +2 -8
  95. package/build/src/akuma/request-rendezvous.js +38 -55
  96. package/build/src/akuma/request-serve.d.ts +1 -1
  97. package/build/src/akuma/request-serve.js +77 -113
  98. package/build/src/akuma/selection-observation.d.ts +57 -51
  99. package/build/src/akuma/selection-observation.js +3 -3
  100. package/build/src/akuma/turn-drive.d.ts +3 -0
  101. package/build/src/akuma/turn-drive.js +26 -5
  102. package/build/src/akuma-body.js +12 -22
  103. package/build/src/cli/akuma-caller.js +10 -0
  104. package/build/src/cli/commands/akuma-grammar.js +3 -4
  105. package/build/src/cli/commands/akuma.js +13 -51
  106. package/build/src/cli/commands/contract-grammar.d.ts +7 -6
  107. package/build/src/cli/commands/contract-grammar.js +27 -32
  108. package/build/src/cli/commands/contract-help.d.ts +16 -7
  109. package/build/src/cli/commands/contract-help.js +20 -11
  110. package/build/src/cli/commands/contract.js +11 -11
  111. package/build/src/cli/commands/debt-grammar.d.ts +19 -0
  112. package/build/src/cli/commands/debt-grammar.js +323 -0
  113. package/build/src/cli/commands/debt-query.d.ts +5 -0
  114. package/build/src/cli/commands/{task-query.js → debt-query.js} +9 -9
  115. package/build/src/cli/commands/{task.d.ts → debt.d.ts} +2 -2
  116. package/build/src/cli/commands/{task.js → debt.js} +83 -143
  117. package/build/src/cli/coordinates.d.ts +1 -1
  118. package/build/src/cli/coordinates.js +1 -1
  119. package/build/src/cli/parse.d.ts +4 -4
  120. package/build/src/cli/parse.js +17 -16
  121. package/build/src/cli/render/akuma-activity.d.ts +11 -83
  122. package/build/src/cli/render/akuma-activity.js +20 -382
  123. package/build/src/cli/render/catalog.d.ts +2 -2
  124. package/build/src/cli/render/catalog.js +5 -5
  125. package/build/src/cli/render/contract.js +2 -2
  126. package/build/src/cli/render/debt.d.ts +28 -0
  127. package/build/src/cli/render/{task.js → debt.js} +51 -112
  128. package/build/src/cli/render/kanshi.js +28 -28
  129. package/build/src/cli/render/marks.d.ts +5 -5
  130. package/build/src/cli/render/marks.js +4 -10
  131. package/build/src/cli/render/nuke.js +1 -1
  132. package/build/src/cli/runtime.js +3 -3
  133. package/build/src/cli/scan.d.ts +1 -1
  134. package/build/src/cli/usage.d.ts +1 -1
  135. package/build/src/cli/usage.js +4 -4
  136. package/build/src/contract-worktree.js +3 -3
  137. package/build/src/debt/board.d.ts +160 -0
  138. package/build/src/{task → debt}/board.js +89 -89
  139. package/build/src/debt/catalog.d.ts +11 -0
  140. package/build/src/debt/catalog.js +59 -0
  141. package/build/src/{task → debt}/context.d.ts +1 -1
  142. package/build/src/{task → debt}/context.js +1 -1
  143. package/build/src/{task → debt}/created-observation.d.ts +6 -10
  144. package/build/src/{task → debt}/created-observation.js +7 -7
  145. package/build/src/debt/document.d.ts +37 -0
  146. package/build/src/{task → debt}/document.js +37 -37
  147. package/build/src/debt/identity.d.ts +21 -0
  148. package/build/src/{task → debt}/identity.js +35 -35
  149. package/build/src/debt/index.d.ts +111 -0
  150. package/build/src/debt/index.js +203 -0
  151. package/build/src/{task → debt}/input.d.ts +8 -8
  152. package/build/src/{task → debt}/input.js +21 -21
  153. package/build/src/debt/lifecycle-operations.d.ts +6 -0
  154. package/build/src/{task → debt}/lifecycle-operations.js +27 -31
  155. package/build/src/debt/mutation-result.d.ts +981 -0
  156. package/build/src/debt/mutation-result.js +109 -0
  157. package/build/src/debt/mutation.d.ts +424 -0
  158. package/build/src/debt/mutation.js +223 -0
  159. package/build/src/debt/operation-types.d.ts +71 -0
  160. package/build/src/debt/operations.d.ts +28 -0
  161. package/build/src/{task → debt}/operations.js +59 -60
  162. package/build/src/debt/query.d.ts +76 -0
  163. package/build/src/{task → debt}/query.js +55 -55
  164. package/build/src/{task → debt}/store.d.ts +13 -13
  165. package/build/src/{task → debt}/store.js +58 -49
  166. package/build/src/debt/view.d.ts +4 -0
  167. package/build/src/debt/view.js +7 -0
  168. package/build/src/identity/coordinates.d.ts +1 -1
  169. package/build/src/index.d.ts +13 -13
  170. package/build/src/index.js +9 -9
  171. package/build/src/kanshi/index.d.ts +1 -1
  172. package/build/src/kanshi/read.js +33 -33
  173. package/build/src/kanshi/report.d.ts +7 -7
  174. package/build/src/kanshi/select.js +4 -4
  175. package/build/src/library/akumas.d.ts +2 -3
  176. package/build/src/library/bind.d.ts +3 -3
  177. package/build/src/library/bind.js +5 -5
  178. package/build/src/library/contract-creation.js +5 -5
  179. package/build/src/library/contract-execution.js +4 -4
  180. package/build/src/library/contract-types.d.ts +2 -2
  181. package/build/src/library/input.d.ts +2 -2
  182. package/build/src/library/input.js +5 -5
  183. package/build/src/library/invocation.js +2 -2
  184. package/build/src/library/nuke.js +3 -3
  185. package/build/src/library/outcome.d.ts +126 -126
  186. package/build/src/library/outcome.js +3 -3
  187. package/build/src/library/selection.d.ts +1 -4
  188. package/build/src/library/selection.js +11 -62
  189. package/build/src/plugin/public.d.ts +5 -0
  190. package/build/src/plugin/runtime.js +3 -1
  191. package/build/src/runtime/proc/windows-launch.exe +0 -0
  192. package/build/src/settlement/fence.d.ts +3 -3
  193. package/build/src/settlement/fence.js +4 -4
  194. package/build/src/settlement/holder.d.ts +16 -16
  195. package/build/src/settlement/holder.js +69 -63
  196. package/build/src/settlement/settle.d.ts +5 -5
  197. package/build/src/settlement/settle.js +53 -53
  198. package/package.json +12 -6
  199. package/plugins/paseo/plugin/index.server.ts +17 -0
  200. package/plugins/paseo/plugin/paseo-plugin.json +4 -0
  201. package/plugins/paseo/plugin/server/attach.ts +52 -0
  202. package/plugins/paseo/plugin/server/keiyaku.ts +44 -0
  203. package/plugins/paseo/plugin/server/message.ts +60 -0
  204. package/plugins/paseo/plugin/server/mirror.ts +193 -0
  205. package/plugins/paseo/plugin/server/model.ts +14 -0
  206. package/plugins/paseo/plugin/server/provider.ts +276 -0
  207. package/plugins/paseo/plugin/server/sdk-worker.ts +237 -0
  208. package/plugins/paseo/plugin/server/sdk.ts +289 -0
  209. package/plugins/paseo/plugin/server/stop.ts +26 -0
  210. package/plugins/paseo/plugin/server/transport.ts +35 -0
  211. package/plugins/paseo/plugin/shared/attach-rpc.ts +10 -0
  212. package/plugins/paseo/plugin/shared/refresh-rpc.ts +6 -0
  213. package/plugins/paseo/plugin/tsconfig.json +6 -0
  214. package/skills/keiyaku/SKILL.md +5 -6
  215. package/skills/keiyaku-akuma/SKILL.md +1 -1
  216. package/skills/keiyaku-akuma/references/automation.md +8 -8
  217. package/skills/keiyaku-babysit/SKILL.md +1 -1
  218. package/skills/keiyaku-bind/SKILL.md +9 -9
  219. package/skills/keiyaku-debt/SKILL.md +91 -0
  220. package/skills/keiyaku-workflow/SKILL.md +2 -2
  221. package/build/plugins/claude/skills/keiyaku-task/SKILL.md +0 -104
  222. package/build/plugins/codex/skills/keiyaku-task/SKILL.md +0 -104
  223. package/build/plugins/opencode/skills/keiyaku-task/SKILL.md +0 -104
  224. package/build/skills/keiyaku-task/SKILL.md +0 -104
  225. package/build/src/cli/commands/task-grammar.d.ts +0 -19
  226. package/build/src/cli/commands/task-grammar.js +0 -384
  227. package/build/src/cli/commands/task-query.d.ts +0 -5
  228. package/build/src/cli/render/task.d.ts +0 -39
  229. package/build/src/task/board.d.ts +0 -168
  230. package/build/src/task/catalog.d.ts +0 -11
  231. package/build/src/task/catalog.js +0 -59
  232. package/build/src/task/compose-language.d.ts +0 -57
  233. package/build/src/task/compose-language.js +0 -364
  234. package/build/src/task/compose-parser.d.ts +0 -32
  235. package/build/src/task/compose-parser.js +0 -180
  236. package/build/src/task/compose.d.ts +0 -16
  237. package/build/src/task/compose.js +0 -189
  238. package/build/src/task/document.d.ts +0 -39
  239. package/build/src/task/identity.d.ts +0 -21
  240. package/build/src/task/index.d.ts +0 -138
  241. package/build/src/task/index.js +0 -269
  242. package/build/src/task/lifecycle-operations.d.ts +0 -6
  243. package/build/src/task/mutation-result.d.ts +0 -1726
  244. package/build/src/task/mutation-result.js +0 -198
  245. package/build/src/task/mutation.d.ts +0 -590
  246. package/build/src/task/mutation.js +0 -262
  247. package/build/src/task/operation-types.d.ts +0 -71
  248. package/build/src/task/operations.d.ts +0 -28
  249. package/build/src/task/query.d.ts +0 -76
  250. package/build/src/task/view.d.ts +0 -4
  251. package/build/src/task/view.js +0 -7
  252. package/skills/keiyaku-task/SKILL.md +0 -104
  253. /package/build/src/{task → debt}/operation-types.js +0 -0
@@ -1,590 +0,0 @@
1
- import { type WorldRoot } from "../world.js";
2
- import { type ErasedRequestCommand, type RequestProtocol, type ServiceRequestCommand } from "../akuma/request-wire.js";
3
- import type { AddTaskDocumentInput, AddTaskInput, TaskBatchResult, TaskMutationResult, TaskUpdateResult, UpdateTaskInput } from "./operations.js";
4
- import type { TaskCompositionResult } from "./compose.js";
5
- import { type TaskMutationExecutionResult } from "./mutation-result.js";
6
- import { z } from "zod";
7
- export declare const TASK_MUTATION_ACTIONS: readonly ["task.add", "task.addDocument", "task.compose", "task.done", "task.drop", "task.hold", "task.resume", "task.start", "task.stop", "task.update"];
8
- declare const taskMutationActionSchema: z.ZodEnum<{
9
- "task.add": "task.add";
10
- "task.addDocument": "task.addDocument";
11
- "task.compose": "task.compose";
12
- "task.done": "task.done";
13
- "task.drop": "task.drop";
14
- "task.hold": "task.hold";
15
- "task.resume": "task.resume";
16
- "task.start": "task.start";
17
- "task.stop": "task.stop";
18
- "task.update": "task.update";
19
- }>;
20
- export type TaskMutationAction = z.infer<typeof taskMutationActionSchema>;
21
- declare const taskRequestSchemas: {
22
- readonly "task.add": z.ZodPipe<z.ZodObject<{
23
- input: z.ZodObject<{
24
- title: z.ZodString;
25
- namespace: z.ZodReadonly<z.ZodArray<z.ZodString>>;
26
- body: z.ZodOptional<z.ZodString>;
27
- note: z.ZodOptional<z.ZodString>;
28
- state: z.ZodOptional<z.ZodEnum<{
29
- open: "open";
30
- in_progress: "in_progress";
31
- on_hold: "on_hold";
32
- done: "done";
33
- drop: "drop";
34
- }>>;
35
- priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
36
- needs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
37
- parent: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
38
- supersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
39
- relates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
40
- }, z.core.$strict>;
41
- }, z.core.$strict>, z.ZodTransform<{
42
- action: "task.add";
43
- input: {
44
- title: string;
45
- namespace: readonly string[];
46
- body?: string | undefined;
47
- note?: string | undefined;
48
- state?: "open" | "in_progress" | "on_hold" | "done" | "drop" | undefined;
49
- priority?: 0 | 1 | 2 | 3 | undefined;
50
- needs?: readonly `task/${string}`[] | undefined;
51
- parent?: `task/${string}` | null | undefined;
52
- supersedes?: readonly `task/${string}`[] | undefined;
53
- relates?: readonly `task/${string}`[] | undefined;
54
- };
55
- }, {
56
- input: {
57
- title: string;
58
- namespace: readonly string[];
59
- body?: string | undefined;
60
- note?: string | undefined;
61
- state?: "open" | "in_progress" | "on_hold" | "done" | "drop" | undefined;
62
- priority?: 0 | 1 | 2 | 3 | undefined;
63
- needs?: readonly `task/${string}`[] | undefined;
64
- parent?: `task/${string}` | null | undefined;
65
- supersedes?: readonly `task/${string}`[] | undefined;
66
- relates?: readonly `task/${string}`[] | undefined;
67
- };
68
- }>>;
69
- readonly "task.addDocument": z.ZodPipe<z.ZodObject<{
70
- input: z.ZodObject<{
71
- markdown: z.ZodString;
72
- namespace: z.ZodReadonly<z.ZodArray<z.ZodString>>;
73
- }, z.core.$strict>;
74
- }, z.core.$strict>, z.ZodTransform<{
75
- action: "task.addDocument";
76
- input: {
77
- markdown: string;
78
- namespace: readonly string[];
79
- };
80
- }, {
81
- input: {
82
- markdown: string;
83
- namespace: readonly string[];
84
- };
85
- }>>;
86
- readonly "task.compose": z.ZodPipe<z.ZodObject<{
87
- markdown: z.ZodString;
88
- namespace: z.ZodReadonly<z.ZodArray<z.ZodString>>;
89
- }, z.core.$strict>, z.ZodTransform<{
90
- markdown: string;
91
- namespace: readonly string[];
92
- action: "task.compose";
93
- }, {
94
- markdown: string;
95
- namespace: readonly string[];
96
- }>>;
97
- readonly "task.done": z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
98
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
99
- note: z.ZodOptional<z.ZodString>;
100
- }, z.core.$strict>, z.ZodTransform<{
101
- note?: string;
102
- action: "task.done";
103
- id: `task/${string}`;
104
- }, {
105
- id: `task/${string}`;
106
- note?: string | undefined;
107
- }>>, z.ZodPipe<z.ZodObject<{
108
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
109
- note: z.ZodOptional<z.ZodString>;
110
- }, z.core.$strict>, z.ZodTransform<{
111
- note?: string;
112
- action: "task.done";
113
- ids: readonly `task/${string}`[];
114
- }, {
115
- ids: readonly `task/${string}`[];
116
- note?: string | undefined;
117
- }>>]>;
118
- readonly "task.drop": z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
119
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
120
- note: z.ZodOptional<z.ZodString>;
121
- }, z.core.$strict>, z.ZodTransform<{
122
- note?: string;
123
- action: "task.drop";
124
- id: `task/${string}`;
125
- }, {
126
- id: `task/${string}`;
127
- note?: string | undefined;
128
- }>>, z.ZodPipe<z.ZodObject<{
129
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
130
- note: z.ZodOptional<z.ZodString>;
131
- }, z.core.$strict>, z.ZodTransform<{
132
- note?: string;
133
- action: "task.drop";
134
- ids: readonly `task/${string}`[];
135
- }, {
136
- ids: readonly `task/${string}`[];
137
- note?: string | undefined;
138
- }>>]>;
139
- readonly "task.hold": z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
140
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
141
- }, z.core.$strict>, z.ZodTransform<{
142
- action: "task.hold";
143
- id: `task/${string}`;
144
- }, {
145
- id: `task/${string}`;
146
- }>>, z.ZodPipe<z.ZodObject<{
147
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
148
- }, z.core.$strict>, z.ZodTransform<{
149
- action: "task.hold";
150
- ids: readonly `task/${string}`[];
151
- }, {
152
- ids: readonly `task/${string}`[];
153
- }>>]>;
154
- readonly "task.resume": z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
155
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
156
- }, z.core.$strict>, z.ZodTransform<{
157
- action: "task.resume";
158
- id: `task/${string}`;
159
- }, {
160
- id: `task/${string}`;
161
- }>>, z.ZodPipe<z.ZodObject<{
162
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
163
- }, z.core.$strict>, z.ZodTransform<{
164
- action: "task.resume";
165
- ids: readonly `task/${string}`[];
166
- }, {
167
- ids: readonly `task/${string}`[];
168
- }>>]>;
169
- readonly "task.start": z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
170
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
171
- }, z.core.$strict>, z.ZodTransform<{
172
- action: "task.start";
173
- id: `task/${string}`;
174
- }, {
175
- id: `task/${string}`;
176
- }>>, z.ZodPipe<z.ZodObject<{
177
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
178
- }, z.core.$strict>, z.ZodTransform<{
179
- action: "task.start";
180
- ids: readonly `task/${string}`[];
181
- }, {
182
- ids: readonly `task/${string}`[];
183
- }>>]>;
184
- readonly "task.stop": z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
185
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
186
- }, z.core.$strict>, z.ZodTransform<{
187
- action: "task.stop";
188
- id: `task/${string}`;
189
- }, {
190
- id: `task/${string}`;
191
- }>>, z.ZodPipe<z.ZodObject<{
192
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
193
- }, z.core.$strict>, z.ZodTransform<{
194
- action: "task.stop";
195
- ids: readonly `task/${string}`[];
196
- }, {
197
- ids: readonly `task/${string}`[];
198
- }>>]>;
199
- readonly "task.update": z.ZodPipe<z.ZodObject<{
200
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
201
- input: z.ZodObject<{
202
- title: z.ZodOptional<z.ZodString>;
203
- body: z.ZodOptional<z.ZodString>;
204
- appendBody: z.ZodOptional<z.ZodString>;
205
- note: z.ZodOptional<z.ZodString>;
206
- priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
207
- needs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
208
- addNeeds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
209
- dropNeeds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
210
- parent: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
211
- supersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
212
- addSupersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
213
- dropSupersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
214
- relates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
215
- addRelates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
216
- dropRelates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
217
- }, z.core.$strict>;
218
- }, z.core.$strict>, z.ZodTransform<{
219
- id: `task/${string}`;
220
- input: {
221
- title?: string | undefined;
222
- body?: string | undefined;
223
- appendBody?: string | undefined;
224
- note?: string | undefined;
225
- priority?: 0 | 1 | 2 | 3 | undefined;
226
- needs?: readonly `task/${string}`[] | undefined;
227
- addNeeds?: readonly `task/${string}`[] | undefined;
228
- dropNeeds?: readonly `task/${string}`[] | undefined;
229
- parent?: `task/${string}` | null | undefined;
230
- supersedes?: readonly `task/${string}`[] | undefined;
231
- addSupersedes?: readonly `task/${string}`[] | undefined;
232
- dropSupersedes?: readonly `task/${string}`[] | undefined;
233
- relates?: readonly `task/${string}`[] | undefined;
234
- addRelates?: readonly `task/${string}`[] | undefined;
235
- dropRelates?: readonly `task/${string}`[] | undefined;
236
- };
237
- action: "task.update";
238
- }, {
239
- id: `task/${string}`;
240
- input: {
241
- title?: string | undefined;
242
- body?: string | undefined;
243
- appendBody?: string | undefined;
244
- note?: string | undefined;
245
- priority?: 0 | 1 | 2 | 3 | undefined;
246
- needs?: readonly `task/${string}`[] | undefined;
247
- addNeeds?: readonly `task/${string}`[] | undefined;
248
- dropNeeds?: readonly `task/${string}`[] | undefined;
249
- parent?: `task/${string}` | null | undefined;
250
- supersedes?: readonly `task/${string}`[] | undefined;
251
- addSupersedes?: readonly `task/${string}`[] | undefined;
252
- dropSupersedes?: readonly `task/${string}`[] | undefined;
253
- relates?: readonly `task/${string}`[] | undefined;
254
- addRelates?: readonly `task/${string}`[] | undefined;
255
- dropRelates?: readonly `task/${string}`[] | undefined;
256
- };
257
- }>>;
258
- };
259
- export type TaskMutationRequest = z.infer<(typeof taskRequestSchemas)[TaskMutationAction]>;
260
- declare const taskBodyRequestSchema: z.ZodObject<{
261
- world: z.ZodString;
262
- request: z.ZodUnion<(z.ZodPipe<z.ZodObject<{
263
- input: z.ZodObject<{
264
- title: z.ZodString;
265
- namespace: z.ZodReadonly<z.ZodArray<z.ZodString>>;
266
- body: z.ZodOptional<z.ZodString>;
267
- note: z.ZodOptional<z.ZodString>;
268
- state: z.ZodOptional<z.ZodEnum<{
269
- open: "open";
270
- in_progress: "in_progress";
271
- on_hold: "on_hold";
272
- done: "done";
273
- drop: "drop";
274
- }>>;
275
- priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
276
- needs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
277
- parent: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
278
- supersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
279
- relates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
280
- }, z.core.$strict>;
281
- }, z.core.$strict>, z.ZodTransform<{
282
- action: "task.add";
283
- input: {
284
- title: string;
285
- namespace: readonly string[];
286
- body?: string | undefined;
287
- note?: string | undefined;
288
- state?: "open" | "in_progress" | "on_hold" | "done" | "drop" | undefined;
289
- priority?: 0 | 1 | 2 | 3 | undefined;
290
- needs?: readonly `task/${string}`[] | undefined;
291
- parent?: `task/${string}` | null | undefined;
292
- supersedes?: readonly `task/${string}`[] | undefined;
293
- relates?: readonly `task/${string}`[] | undefined;
294
- };
295
- }, {
296
- input: {
297
- title: string;
298
- namespace: readonly string[];
299
- body?: string | undefined;
300
- note?: string | undefined;
301
- state?: "open" | "in_progress" | "on_hold" | "done" | "drop" | undefined;
302
- priority?: 0 | 1 | 2 | 3 | undefined;
303
- needs?: readonly `task/${string}`[] | undefined;
304
- parent?: `task/${string}` | null | undefined;
305
- supersedes?: readonly `task/${string}`[] | undefined;
306
- relates?: readonly `task/${string}`[] | undefined;
307
- };
308
- }>> | z.ZodPipe<z.ZodObject<{
309
- input: z.ZodObject<{
310
- markdown: z.ZodString;
311
- namespace: z.ZodReadonly<z.ZodArray<z.ZodString>>;
312
- }, z.core.$strict>;
313
- }, z.core.$strict>, z.ZodTransform<{
314
- action: "task.addDocument";
315
- input: {
316
- markdown: string;
317
- namespace: readonly string[];
318
- };
319
- }, {
320
- input: {
321
- markdown: string;
322
- namespace: readonly string[];
323
- };
324
- }>> | z.ZodPipe<z.ZodObject<{
325
- markdown: z.ZodString;
326
- namespace: z.ZodReadonly<z.ZodArray<z.ZodString>>;
327
- }, z.core.$strict>, z.ZodTransform<{
328
- markdown: string;
329
- namespace: readonly string[];
330
- action: "task.compose";
331
- }, {
332
- markdown: string;
333
- namespace: readonly string[];
334
- }>> | z.ZodPipe<z.ZodObject<{
335
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
336
- input: z.ZodObject<{
337
- title: z.ZodOptional<z.ZodString>;
338
- body: z.ZodOptional<z.ZodString>;
339
- appendBody: z.ZodOptional<z.ZodString>;
340
- note: z.ZodOptional<z.ZodString>;
341
- priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
342
- needs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
343
- addNeeds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
344
- dropNeeds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
345
- parent: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
346
- supersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
347
- addSupersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
348
- dropSupersedes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
349
- relates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
350
- addRelates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
351
- dropRelates: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>>;
352
- }, z.core.$strict>;
353
- }, z.core.$strict>, z.ZodTransform<{
354
- id: `task/${string}`;
355
- input: {
356
- title?: string | undefined;
357
- body?: string | undefined;
358
- appendBody?: string | undefined;
359
- note?: string | undefined;
360
- priority?: 0 | 1 | 2 | 3 | undefined;
361
- needs?: readonly `task/${string}`[] | undefined;
362
- addNeeds?: readonly `task/${string}`[] | undefined;
363
- dropNeeds?: readonly `task/${string}`[] | undefined;
364
- parent?: `task/${string}` | null | undefined;
365
- supersedes?: readonly `task/${string}`[] | undefined;
366
- addSupersedes?: readonly `task/${string}`[] | undefined;
367
- dropSupersedes?: readonly `task/${string}`[] | undefined;
368
- relates?: readonly `task/${string}`[] | undefined;
369
- addRelates?: readonly `task/${string}`[] | undefined;
370
- dropRelates?: readonly `task/${string}`[] | undefined;
371
- };
372
- action: "task.update";
373
- }, {
374
- id: `task/${string}`;
375
- input: {
376
- title?: string | undefined;
377
- body?: string | undefined;
378
- appendBody?: string | undefined;
379
- note?: string | undefined;
380
- priority?: 0 | 1 | 2 | 3 | undefined;
381
- needs?: readonly `task/${string}`[] | undefined;
382
- addNeeds?: readonly `task/${string}`[] | undefined;
383
- dropNeeds?: readonly `task/${string}`[] | undefined;
384
- parent?: `task/${string}` | null | undefined;
385
- supersedes?: readonly `task/${string}`[] | undefined;
386
- addSupersedes?: readonly `task/${string}`[] | undefined;
387
- dropSupersedes?: readonly `task/${string}`[] | undefined;
388
- relates?: readonly `task/${string}`[] | undefined;
389
- addRelates?: readonly `task/${string}`[] | undefined;
390
- dropRelates?: readonly `task/${string}`[] | undefined;
391
- };
392
- }>> | z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
393
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
394
- note: z.ZodOptional<z.ZodString>;
395
- }, z.core.$strict>, z.ZodTransform<{
396
- note?: string;
397
- action: "task.done";
398
- id: `task/${string}`;
399
- }, {
400
- id: `task/${string}`;
401
- note?: string | undefined;
402
- }>>, z.ZodPipe<z.ZodObject<{
403
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
404
- note: z.ZodOptional<z.ZodString>;
405
- }, z.core.$strict>, z.ZodTransform<{
406
- note?: string;
407
- action: "task.done";
408
- ids: readonly `task/${string}`[];
409
- }, {
410
- ids: readonly `task/${string}`[];
411
- note?: string | undefined;
412
- }>>]> | z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
413
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
414
- note: z.ZodOptional<z.ZodString>;
415
- }, z.core.$strict>, z.ZodTransform<{
416
- note?: string;
417
- action: "task.drop";
418
- id: `task/${string}`;
419
- }, {
420
- id: `task/${string}`;
421
- note?: string | undefined;
422
- }>>, z.ZodPipe<z.ZodObject<{
423
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
424
- note: z.ZodOptional<z.ZodString>;
425
- }, z.core.$strict>, z.ZodTransform<{
426
- note?: string;
427
- action: "task.drop";
428
- ids: readonly `task/${string}`[];
429
- }, {
430
- ids: readonly `task/${string}`[];
431
- note?: string | undefined;
432
- }>>]> | z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
433
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
434
- }, z.core.$strict>, z.ZodTransform<{
435
- action: "task.hold";
436
- id: `task/${string}`;
437
- }, {
438
- id: `task/${string}`;
439
- }>>, z.ZodPipe<z.ZodObject<{
440
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
441
- }, z.core.$strict>, z.ZodTransform<{
442
- action: "task.hold";
443
- ids: readonly `task/${string}`[];
444
- }, {
445
- ids: readonly `task/${string}`[];
446
- }>>]> | z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
447
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
448
- }, z.core.$strict>, z.ZodTransform<{
449
- action: "task.resume";
450
- id: `task/${string}`;
451
- }, {
452
- id: `task/${string}`;
453
- }>>, z.ZodPipe<z.ZodObject<{
454
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
455
- }, z.core.$strict>, z.ZodTransform<{
456
- action: "task.resume";
457
- ids: readonly `task/${string}`[];
458
- }, {
459
- ids: readonly `task/${string}`[];
460
- }>>]> | z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
461
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
462
- }, z.core.$strict>, z.ZodTransform<{
463
- action: "task.start";
464
- id: `task/${string}`;
465
- }, {
466
- id: `task/${string}`;
467
- }>>, z.ZodPipe<z.ZodObject<{
468
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
469
- }, z.core.$strict>, z.ZodTransform<{
470
- action: "task.start";
471
- ids: readonly `task/${string}`[];
472
- }, {
473
- ids: readonly `task/${string}`[];
474
- }>>]> | z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
475
- id: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
476
- }, z.core.$strict>, z.ZodTransform<{
477
- action: "task.stop";
478
- id: `task/${string}`;
479
- }, {
480
- id: `task/${string}`;
481
- }>>, z.ZodPipe<z.ZodObject<{
482
- ids: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>>;
483
- }, z.core.$strict>, z.ZodTransform<{
484
- action: "task.stop";
485
- ids: readonly `task/${string}`[];
486
- }, {
487
- ids: readonly `task/${string}`[];
488
- }>>]>)[]>;
489
- }, z.core.$strict>;
490
- export type TaskMutationBodyRequest = z.infer<typeof taskBodyRequestSchema>;
491
- declare const taskMutationServiceSchema: z.ZodObject<{
492
- action: z.ZodEnum<{
493
- "task.add": "task.add";
494
- "task.addDocument": "task.addDocument";
495
- "task.compose": "task.compose";
496
- "task.done": "task.done";
497
- "task.drop": "task.drop";
498
- "task.hold": "task.hold";
499
- "task.resume": "task.resume";
500
- "task.start": "task.start";
501
- "task.stop": "task.stop";
502
- "task.update": "task.update";
503
- }>;
504
- }, z.core.$strict>;
505
- type TaskMutationService = z.infer<typeof taskMutationServiceSchema>;
506
- export declare const forwardedTaskReferenceSchema: z.ZodObject<{
507
- kind: z.ZodLiteral<"served-reference">;
508
- action: z.ZodEnum<{
509
- "task.add": "task.add";
510
- "task.addDocument": "task.addDocument";
511
- "task.compose": "task.compose";
512
- "task.done": "task.done";
513
- "task.drop": "task.drop";
514
- "task.hold": "task.hold";
515
- "task.resume": "task.resume";
516
- "task.start": "task.start";
517
- "task.stop": "task.stop";
518
- "task.update": "task.update";
519
- }>;
520
- }, z.core.$strict>;
521
- export type ForwardedTaskReference = z.infer<typeof forwardedTaskReferenceSchema>;
522
- export type TaskMutationResultForRequest<Request extends TaskMutationRequest> = Request extends Readonly<{
523
- action: "task.compose";
524
- }> ? TaskCompositionResult : Request extends Readonly<{
525
- action: "task.update";
526
- }> ? TaskUpdateResult : Request extends Readonly<{
527
- ids: readonly string[];
528
- }> ? TaskBatchResult : TaskMutationResult;
529
- export type TaskLifecycleVerb = "start" | "stop" | "hold" | "resume" | "done" | "drop";
530
- /**
531
- * The forced-local Tasks SDK abilities one descriptor execution entry consumes.
532
- * They are composed at the upper Body edge from the same `Tasks.of(world)`
533
- * product an ordinary local caller uses; this module never imports that product
534
- * because the product consumes this descriptor protocol.
535
- */
536
- export type TaskMutationRequestPort = Readonly<{
537
- add(input: Readonly<{
538
- world: WorldRoot;
539
- options: AddTaskInput;
540
- }>): Promise<TaskMutationResult>;
541
- addDocument(input: Readonly<{
542
- world: WorldRoot;
543
- document: AddTaskDocumentInput;
544
- }>): Promise<TaskMutationResult>;
545
- compose(input: Readonly<{
546
- world: WorldRoot;
547
- markdown: string;
548
- defaultNamespace: readonly string[];
549
- actor: string;
550
- signal?: AbortSignal;
551
- }>): Promise<TaskCompositionResult>;
552
- update(input: Readonly<{
553
- world: WorldRoot;
554
- id: string;
555
- options: UpdateTaskInput;
556
- }>): Promise<TaskUpdateResult>;
557
- lifecycle(input: Readonly<{
558
- world: WorldRoot;
559
- verb: TaskLifecycleVerb;
560
- id: string;
561
- note?: string;
562
- signal?: AbortSignal;
563
- }>): Promise<TaskMutationResult>;
564
- batch(input: Readonly<{
565
- world: WorldRoot;
566
- verb: TaskLifecycleVerb;
567
- ids: readonly string[];
568
- note?: string;
569
- signal?: AbortSignal;
570
- }>): Promise<TaskBatchResult>;
571
- }>;
572
- /** Task owns forwarded mutation payload, live result, and durable service evidence. */
573
- export declare function taskMutationRequestProtocol(action: TaskMutationAction, batch?: boolean): RequestProtocol<TaskMutationBodyRequest, TaskMutationExecutionResult, ForwardedTaskReference>;
574
- export declare function taskMutationRequestCommand(action: TaskMutationAction, port: TaskMutationRequestPort): ServiceRequestCommand<TaskMutationBodyRequest, TaskMutationExecutionResult, TaskMutationService, ForwardedTaskReference>;
575
- export declare function taskMutationRequestCommands(port: TaskMutationRequestPort): Readonly<Record<TaskMutationAction, ErasedRequestCommand>>;
576
- export declare function requestForwardedTask<Request extends TaskMutationRequest>(input: Readonly<{
577
- directory: string;
578
- id?: never;
579
- world: WorldRoot;
580
- request: Request;
581
- signal?: AbortSignal;
582
- }>): Promise<TaskMutationResultForRequest<Request>>;
583
- export declare function requestForwardedTask<Request extends TaskMutationRequest>(input: Readonly<{
584
- directory: string;
585
- id: string;
586
- world: WorldRoot;
587
- request: Request;
588
- signal?: AbortSignal;
589
- }>): Promise<TaskMutationResultForRequest<Request> | ForwardedTaskReference>;
590
- export {};