@maiaos/protocol 0.1.0-canary.2 → 0.1.0-canary.4

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 (266) hide show
  1. package/README.md +25 -135
  2. package/dist/agent/definition.d.ts +2 -2
  3. package/dist/agent/worker-operation.d.ts +1 -0
  4. package/dist/agent/worker-operation.d.ts.map +1 -1
  5. package/dist/agents/contract.d.ts +341 -0
  6. package/dist/agents/contract.d.ts.map +1 -0
  7. package/dist/agents/contract.js +18 -0
  8. package/dist/agents/contract.js.map +1 -0
  9. package/dist/agents/effect-schema.d.ts +604 -0
  10. package/dist/agents/effect-schema.d.ts.map +1 -0
  11. package/dist/agents/effect-schema.js +164 -0
  12. package/dist/agents/effect-schema.js.map +1 -0
  13. package/dist/agents/feature.d.ts +113 -0
  14. package/dist/agents/feature.d.ts.map +1 -0
  15. package/dist/agents/feature.js +111 -0
  16. package/dist/agents/feature.js.map +1 -0
  17. package/dist/agents/index.d.ts +3 -0
  18. package/dist/agents/index.d.ts.map +1 -0
  19. package/dist/agents/index.js +3 -0
  20. package/dist/agents/index.js.map +1 -0
  21. package/dist/connection/access-effect-schema.d.ts +502 -0
  22. package/dist/connection/access-effect-schema.d.ts.map +1 -0
  23. package/dist/connection/access-effect-schema.js +196 -0
  24. package/dist/connection/access-effect-schema.js.map +1 -0
  25. package/dist/connection/contract.d.ts +402 -1
  26. package/dist/connection/contract.d.ts.map +1 -1
  27. package/dist/connection/contract.js +24 -1
  28. package/dist/connection/contract.js.map +1 -1
  29. package/dist/connection/effect-schema.d.ts +342 -0
  30. package/dist/connection/effect-schema.d.ts.map +1 -1
  31. package/dist/connection/effect-schema.js +3 -0
  32. package/dist/connection/effect-schema.js.map +1 -1
  33. package/dist/connection/feature.d.ts +225 -0
  34. package/dist/connection/feature.d.ts.map +1 -1
  35. package/dist/connection/feature.js +149 -0
  36. package/dist/connection/feature.js.map +1 -1
  37. package/dist/connection/index.d.ts +1 -1
  38. package/dist/connection/index.d.ts.map +1 -1
  39. package/dist/connection/index.js +1 -1
  40. package/dist/connection/index.js.map +1 -1
  41. package/dist/connection/system-effect-schema.d.ts +261 -1
  42. package/dist/connection/system-effect-schema.d.ts.map +1 -1
  43. package/dist/connection/system-effect-schema.js +101 -1
  44. package/dist/connection/system-effect-schema.js.map +1 -1
  45. package/dist/coordinator-tool/registry.d.ts +3 -1
  46. package/dist/coordinator-tool/registry.d.ts.map +1 -1
  47. package/dist/coordinator-tool/registry.js +66 -10
  48. package/dist/coordinator-tool/registry.js.map +1 -1
  49. package/dist/discovery/contract.d.ts +1 -0
  50. package/dist/discovery/contract.d.ts.map +1 -1
  51. package/dist/discovery/effect-schema.d.ts +2 -0
  52. package/dist/discovery/effect-schema.d.ts.map +1 -1
  53. package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
  54. package/dist/execution/worktree/effect-schema.js +10 -2
  55. package/dist/execution/worktree/effect-schema.js.map +1 -1
  56. package/dist/feature/registry.d.ts +7 -1
  57. package/dist/feature/registry.d.ts.map +1 -1
  58. package/dist/feature/registry.js +6 -0
  59. package/dist/feature/registry.js.map +1 -1
  60. package/dist/index.d.ts +11 -5
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +11 -5
  63. package/dist/index.js.map +1 -1
  64. package/dist/invocation-context/contract.d.ts +11 -1
  65. package/dist/invocation-context/contract.d.ts.map +1 -1
  66. package/dist/invocation-context/effect-schema.d.ts +24 -2
  67. package/dist/invocation-context/effect-schema.d.ts.map +1 -1
  68. package/dist/invocation-context/effect-schema.js +19 -1
  69. package/dist/invocation-context/effect-schema.js.map +1 -1
  70. package/dist/local-node/contract.d.ts +16 -8
  71. package/dist/local-node/contract.d.ts.map +1 -1
  72. package/dist/local-node/contract.js.map +1 -1
  73. package/dist/local-node/effect-schema.d.ts +714 -9
  74. package/dist/local-node/effect-schema.d.ts.map +1 -1
  75. package/dist/local-node/effect-schema.js +33 -0
  76. package/dist/local-node/effect-schema.js.map +1 -1
  77. package/dist/local-node/node-api/methods.d.ts +32 -3
  78. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  79. package/dist/local-node/node-api/methods.js +58 -0
  80. package/dist/local-node/node-api/methods.js.map +1 -1
  81. package/dist/local-node/receipt-list.d.ts +1 -1
  82. package/dist/local-node/receipt-list.d.ts.map +1 -1
  83. package/dist/local-node/receipt-list.js +12 -0
  84. package/dist/local-node/receipt-list.js.map +1 -1
  85. package/dist/machine-lease/contract.d.ts +90 -0
  86. package/dist/machine-lease/contract.d.ts.map +1 -0
  87. package/dist/machine-lease/contract.js +8 -0
  88. package/dist/machine-lease/contract.js.map +1 -0
  89. package/dist/machine-lease/effect-schema.d.ts +85 -0
  90. package/dist/machine-lease/effect-schema.d.ts.map +1 -0
  91. package/dist/machine-lease/effect-schema.js +78 -0
  92. package/dist/machine-lease/effect-schema.js.map +1 -0
  93. package/dist/machine-lease/index.d.ts +3 -0
  94. package/dist/machine-lease/index.d.ts.map +1 -0
  95. package/dist/machine-lease/index.js +3 -0
  96. package/dist/machine-lease/index.js.map +1 -0
  97. package/dist/machine-lease/policy.d.ts +12 -0
  98. package/dist/machine-lease/policy.d.ts.map +1 -0
  99. package/dist/machine-lease/policy.js +12 -0
  100. package/dist/machine-lease/policy.js.map +1 -0
  101. package/dist/machine-principal/contract.d.ts +14 -0
  102. package/dist/machine-principal/contract.d.ts.map +1 -0
  103. package/dist/machine-principal/contract.js +5 -0
  104. package/dist/machine-principal/contract.js.map +1 -0
  105. package/dist/machine-principal/effect-schema.d.ts +12 -0
  106. package/dist/machine-principal/effect-schema.d.ts.map +1 -0
  107. package/dist/machine-principal/effect-schema.js +25 -0
  108. package/dist/machine-principal/effect-schema.js.map +1 -0
  109. package/dist/machine-principal/index.d.ts +2 -0
  110. package/dist/machine-principal/index.d.ts.map +1 -0
  111. package/dist/machine-principal/index.js +2 -0
  112. package/dist/machine-principal/index.js.map +1 -0
  113. package/dist/machine-principal/policy.d.ts +5 -0
  114. package/dist/machine-principal/policy.d.ts.map +1 -0
  115. package/dist/machine-principal/policy.js +5 -0
  116. package/dist/machine-principal/policy.js.map +1 -0
  117. package/dist/presentation/contract.d.ts +1 -0
  118. package/dist/presentation/contract.d.ts.map +1 -1
  119. package/dist/presentation/effect-schema.d.ts +1 -0
  120. package/dist/presentation/effect-schema.d.ts.map +1 -1
  121. package/dist/presentation/session-list-effect-schema.d.ts +1 -0
  122. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  123. package/dist/release/contract.d.ts +2 -0
  124. package/dist/release/contract.d.ts.map +1 -0
  125. package/dist/release/contract.js +4 -0
  126. package/dist/release/contract.js.map +1 -0
  127. package/dist/release/effect-schema.d.ts +3 -0
  128. package/dist/release/effect-schema.d.ts.map +1 -0
  129. package/dist/release/effect-schema.js +4 -0
  130. package/dist/release/effect-schema.js.map +1 -0
  131. package/dist/release/index.d.ts +3 -0
  132. package/dist/release/index.d.ts.map +1 -0
  133. package/dist/release/index.js +3 -0
  134. package/dist/release/index.js.map +1 -0
  135. package/dist/release/version.d.ts +29 -0
  136. package/dist/release/version.d.ts.map +1 -0
  137. package/dist/release/version.js +77 -0
  138. package/dist/release/version.js.map +1 -0
  139. package/dist/remote-node/bridge-effect-schema.d.ts +72 -2
  140. package/dist/remote-node/bridge-effect-schema.d.ts.map +1 -1
  141. package/dist/remote-node/bridge-effect-schema.js +64 -3
  142. package/dist/remote-node/bridge-effect-schema.js.map +1 -1
  143. package/dist/remote-node/contract.d.ts +163 -10
  144. package/dist/remote-node/contract.d.ts.map +1 -1
  145. package/dist/remote-node/contract.js +22 -3
  146. package/dist/remote-node/contract.js.map +1 -1
  147. package/dist/remote-node/index.d.ts +1 -1
  148. package/dist/remote-node/index.d.ts.map +1 -1
  149. package/dist/remote-node/index.js +1 -1
  150. package/dist/remote-node/index.js.map +1 -1
  151. package/dist/remote-node/request-effect-schema.d.ts +42 -0
  152. package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
  153. package/dist/remote-node/request-effect-schema.js +25 -0
  154. package/dist/remote-node/request-effect-schema.js.map +1 -1
  155. package/dist/remote-node/result-effect-schema.d.ts +196 -21
  156. package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
  157. package/dist/remote-node/result-effect-schema.js +42 -8
  158. package/dist/remote-node/result-effect-schema.js.map +1 -1
  159. package/dist/routine/contract.d.ts +470 -0
  160. package/dist/routine/contract.d.ts.map +1 -0
  161. package/dist/routine/contract.js +27 -0
  162. package/dist/routine/contract.js.map +1 -0
  163. package/dist/routine/effect-schema.d.ts +923 -0
  164. package/dist/routine/effect-schema.d.ts.map +1 -0
  165. package/dist/routine/effect-schema.js +268 -0
  166. package/dist/routine/effect-schema.js.map +1 -0
  167. package/dist/routine/feature.d.ts +263 -0
  168. package/dist/routine/feature.d.ts.map +1 -0
  169. package/dist/routine/feature.js +249 -0
  170. package/dist/routine/feature.js.map +1 -0
  171. package/dist/routine/index.d.ts +3 -0
  172. package/dist/routine/index.d.ts.map +1 -0
  173. package/dist/routine/index.js +3 -0
  174. package/dist/routine/index.js.map +1 -0
  175. package/dist/routine/policy.d.ts +15 -0
  176. package/dist/routine/policy.d.ts.map +1 -0
  177. package/dist/routine/policy.js +31 -0
  178. package/dist/routine/policy.js.map +1 -0
  179. package/dist/session/agent-permission-contract.d.ts +5 -5
  180. package/dist/session/agent-permission-effect-schema.d.ts +9 -9
  181. package/dist/session/contract.d.ts +13 -0
  182. package/dist/session/contract.d.ts.map +1 -1
  183. package/dist/session/effect-schema.d.ts +40 -5
  184. package/dist/session/effect-schema.d.ts.map +1 -1
  185. package/dist/session/effect-schema.js +33 -12
  186. package/dist/session/effect-schema.js.map +1 -1
  187. package/dist/session/feature.d.ts +58 -0
  188. package/dist/session/feature.d.ts.map +1 -1
  189. package/dist/session/feature.js +54 -0
  190. package/dist/session/feature.js.map +1 -1
  191. package/dist/session/index.d.ts +1 -1
  192. package/dist/session/index.d.ts.map +1 -1
  193. package/dist/session/index.js +1 -1
  194. package/dist/session/index.js.map +1 -1
  195. package/dist/session/policy.d.ts +23 -0
  196. package/dist/session/policy.d.ts.map +1 -1
  197. package/dist/session/policy.js +23 -0
  198. package/dist/session/policy.js.map +1 -1
  199. package/dist/session/stop-resume-contract.d.ts +2 -0
  200. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  201. package/dist/session-guard/contract.d.ts +5 -2
  202. package/dist/session-guard/contract.d.ts.map +1 -1
  203. package/dist/session-guard/contract.js +13 -2
  204. package/dist/session-guard/contract.js.map +1 -1
  205. package/dist/team-workspace/contract.d.ts +77 -0
  206. package/dist/team-workspace/contract.d.ts.map +1 -0
  207. package/dist/team-workspace/contract.js +8 -0
  208. package/dist/team-workspace/contract.js.map +1 -0
  209. package/dist/team-workspace/effect-schema.d.ts +142 -0
  210. package/dist/team-workspace/effect-schema.d.ts.map +1 -0
  211. package/dist/team-workspace/effect-schema.js +102 -0
  212. package/dist/team-workspace/effect-schema.js.map +1 -0
  213. package/dist/team-workspace/feature.d.ts +54 -0
  214. package/dist/team-workspace/feature.d.ts.map +1 -0
  215. package/dist/team-workspace/feature.js +59 -0
  216. package/dist/team-workspace/feature.js.map +1 -0
  217. package/dist/team-workspace/index.d.ts +3 -0
  218. package/dist/team-workspace/index.d.ts.map +1 -0
  219. package/dist/team-workspace/index.js +3 -0
  220. package/dist/team-workspace/index.js.map +1 -0
  221. package/dist/team-workspace/policy.d.ts +9 -0
  222. package/dist/team-workspace/policy.d.ts.map +1 -0
  223. package/dist/team-workspace/policy.js +19 -0
  224. package/dist/team-workspace/policy.js.map +1 -0
  225. package/dist/terminal/contract.d.ts +65 -56
  226. package/dist/terminal/contract.d.ts.map +1 -1
  227. package/dist/terminal/effect-schema.d.ts +400 -382
  228. package/dist/terminal/effect-schema.d.ts.map +1 -1
  229. package/dist/terminal/effect-schema.js +12 -0
  230. package/dist/terminal/effect-schema.js.map +1 -1
  231. package/dist/terminal/index.d.ts +1 -1
  232. package/dist/terminal/index.d.ts.map +1 -1
  233. package/dist/terminal/index.js +1 -1
  234. package/dist/terminal/index.js.map +1 -1
  235. package/dist/terminal/live-effect-schema.d.ts +630 -621
  236. package/dist/terminal/live-effect-schema.d.ts.map +1 -1
  237. package/dist/terminal/live-effect-schema.js +15 -2
  238. package/dist/terminal/live-effect-schema.js.map +1 -1
  239. package/dist/terminal/live-policy.d.ts +9 -0
  240. package/dist/terminal/live-policy.d.ts.map +1 -1
  241. package/dist/terminal/live-policy.js +9 -0
  242. package/dist/terminal/live-policy.js.map +1 -1
  243. package/dist/terminal/live-types.d.ts +7 -1
  244. package/dist/terminal/live-types.d.ts.map +1 -1
  245. package/dist/turn/contract.d.ts +166 -1
  246. package/dist/turn/contract.d.ts.map +1 -1
  247. package/dist/turn/contract.js +10 -1
  248. package/dist/turn/contract.js.map +1 -1
  249. package/dist/turn/effect-schema.d.ts +325 -0
  250. package/dist/turn/effect-schema.d.ts.map +1 -1
  251. package/dist/turn/effect-schema.js +50 -2
  252. package/dist/turn/effect-schema.js.map +1 -1
  253. package/dist/turn/index.d.ts +2 -2
  254. package/dist/turn/index.d.ts.map +1 -1
  255. package/dist/turn/index.js +2 -2
  256. package/dist/turn/index.js.map +1 -1
  257. package/dist/turn/policy.d.ts +7 -0
  258. package/dist/turn/policy.d.ts.map +1 -1
  259. package/dist/turn/policy.js +7 -0
  260. package/dist/turn/policy.js.map +1 -1
  261. package/dist/voice/contract.d.ts +4 -4
  262. package/dist/voice/effect-schema.d.ts +6 -6
  263. package/dist/voice/effect-schema.d.ts.map +1 -1
  264. package/dist/voice/effect-schema.js +2 -0
  265. package/dist/voice/effect-schema.js.map +1 -1
  266. package/package.json +9 -9
@@ -0,0 +1,470 @@
1
+ import type { InferRuntimeSchema } from "../runtime-schema/index.js";
2
+ export declare const routineSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
3
+ readonly confirmedBy: string;
4
+ readonly createdAt: string;
5
+ readonly id: string;
6
+ readonly name: string;
7
+ readonly nextFireAt?: string | undefined;
8
+ readonly revision: string;
9
+ readonly schedule: {
10
+ readonly expression: string;
11
+ readonly timezone: string;
12
+ };
13
+ readonly schemaVersion: "maia.routine/v1";
14
+ readonly state: "active" | "disabled" | "paused";
15
+ readonly template: {
16
+ readonly connectionId?: string | undefined;
17
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
18
+ readonly model?: string | undefined;
19
+ readonly projectId: string;
20
+ readonly prompt: string;
21
+ };
22
+ readonly updatedAt: string;
23
+ }>;
24
+ export type Routine = InferRuntimeSchema<typeof routineSchema>;
25
+ export declare const routineFireSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
26
+ readonly failure?: {
27
+ readonly code: string;
28
+ readonly message: string;
29
+ } | undefined;
30
+ readonly failureReason?: "approval_required" | "output_limit_exceeded" | "protocol_invalid" | "repository_changed" | "runtime_exited" | "runtime_failed" | "turn_deadline_exceeded" | "turn_rejected" | undefined;
31
+ readonly id: string;
32
+ readonly missed?: number | undefined;
33
+ readonly outcome: "failed" | "launching" | "skipped" | "started";
34
+ readonly reason?: "connection_disabled" | "held" | "launch_failed" | "outcome_unknown" | "overlap" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
35
+ readonly recordedAt: string;
36
+ readonly routineId: string;
37
+ readonly scheduledAt: string;
38
+ readonly sessionId?: string | undefined;
39
+ readonly triggerKind: "cron" | "manual";
40
+ readonly turnId?: string | undefined;
41
+ readonly turnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
42
+ }>;
43
+ export type RoutineFire = InferRuntimeSchema<typeof routineFireSchema>;
44
+ export declare const routineScheduleSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
45
+ readonly expression: string;
46
+ readonly timezone: string;
47
+ }>;
48
+ export type RoutineSchedule = InferRuntimeSchema<typeof routineScheduleSchema>;
49
+ export declare const routineTemplateSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
50
+ readonly connectionId?: string | undefined;
51
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
52
+ readonly model?: string | undefined;
53
+ readonly projectId: string;
54
+ readonly prompt: string;
55
+ }>;
56
+ export type RoutineTemplate = InferRuntimeSchema<typeof routineTemplateSchema>;
57
+ export declare const routineListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
58
+ readonly afterCursor?: string | undefined;
59
+ readonly limit: number;
60
+ readonly projectId?: string | undefined;
61
+ readonly state?: "active" | "disabled" | "paused" | undefined;
62
+ }>;
63
+ export type RoutineListParameters = InferRuntimeSchema<typeof routineListParametersSchema>;
64
+ export declare const routineListResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
65
+ readonly items: readonly {
66
+ readonly confirmedBy: string;
67
+ readonly createdAt: string;
68
+ readonly id: string;
69
+ readonly name: string;
70
+ readonly nextFireAt?: string | undefined;
71
+ readonly revision: string;
72
+ readonly schedule: {
73
+ readonly expression: string;
74
+ readonly timezone: string;
75
+ };
76
+ readonly schemaVersion: "maia.routine/v1";
77
+ readonly state: "active" | "disabled" | "paused";
78
+ readonly template: {
79
+ readonly connectionId?: string | undefined;
80
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
81
+ readonly model?: string | undefined;
82
+ readonly projectId: string;
83
+ readonly prompt: string;
84
+ };
85
+ readonly updatedAt: string;
86
+ }[];
87
+ readonly method: "routine.list";
88
+ readonly nextCursor?: string | undefined;
89
+ }>;
90
+ export type RoutineListResult = InferRuntimeSchema<typeof routineListResultSchema>;
91
+ export declare const routineShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
92
+ readonly routineId: string;
93
+ }>;
94
+ export type RoutineShowParameters = InferRuntimeSchema<typeof routineShowParametersSchema>;
95
+ export declare const routineShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
96
+ readonly fires: readonly {
97
+ readonly failure?: {
98
+ readonly code: string;
99
+ readonly message: string;
100
+ } | undefined;
101
+ readonly failureReason?: "approval_required" | "output_limit_exceeded" | "protocol_invalid" | "repository_changed" | "runtime_exited" | "runtime_failed" | "turn_deadline_exceeded" | "turn_rejected" | undefined;
102
+ readonly id: string;
103
+ readonly missed?: number | undefined;
104
+ readonly outcome: "failed" | "launching" | "skipped" | "started";
105
+ readonly reason?: "connection_disabled" | "held" | "launch_failed" | "outcome_unknown" | "overlap" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
106
+ readonly recordedAt: string;
107
+ readonly routineId: string;
108
+ readonly scheduledAt: string;
109
+ readonly sessionId?: string | undefined;
110
+ readonly triggerKind: "cron" | "manual";
111
+ readonly turnId?: string | undefined;
112
+ readonly turnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
113
+ }[];
114
+ readonly method: "routine.show";
115
+ readonly routine: {
116
+ readonly confirmedBy: string;
117
+ readonly createdAt: string;
118
+ readonly id: string;
119
+ readonly name: string;
120
+ readonly nextFireAt?: string | undefined;
121
+ readonly revision: string;
122
+ readonly schedule: {
123
+ readonly expression: string;
124
+ readonly timezone: string;
125
+ };
126
+ readonly schemaVersion: "maia.routine/v1";
127
+ readonly state: "active" | "disabled" | "paused";
128
+ readonly template: {
129
+ readonly connectionId?: string | undefined;
130
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
131
+ readonly model?: string | undefined;
132
+ readonly projectId: string;
133
+ readonly prompt: string;
134
+ };
135
+ readonly updatedAt: string;
136
+ };
137
+ }>;
138
+ export type RoutineShowResult = InferRuntimeSchema<typeof routineShowResultSchema>;
139
+ export declare const routineCreatePreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
140
+ readonly commandId: string;
141
+ readonly name: string;
142
+ readonly paused?: boolean | undefined;
143
+ readonly schedule: {
144
+ readonly expression: string;
145
+ readonly timezone: string;
146
+ };
147
+ readonly template: {
148
+ readonly connectionId?: string | undefined;
149
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
150
+ readonly model?: string | undefined;
151
+ readonly projectId: string;
152
+ readonly prompt: string;
153
+ };
154
+ }>;
155
+ export type RoutineCreatePreviewParameters = InferRuntimeSchema<typeof routineCreatePreviewParametersSchema>;
156
+ export declare const routineCreatePreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
157
+ readonly commandId: string;
158
+ readonly name: string;
159
+ readonly paused?: boolean | undefined;
160
+ readonly schedule: {
161
+ readonly expression: string;
162
+ readonly timezone: string;
163
+ };
164
+ readonly template: {
165
+ readonly connectionId?: string | undefined;
166
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
167
+ readonly model?: string | undefined;
168
+ readonly projectId: string;
169
+ readonly prompt: string;
170
+ };
171
+ readonly inputDigest: string;
172
+ readonly proof: string;
173
+ readonly actorId: string;
174
+ readonly expiresAt: string;
175
+ readonly issuedAt: string;
176
+ readonly method: "routine.create.preview";
177
+ readonly nextFires: readonly string[];
178
+ readonly routineId: string;
179
+ }>;
180
+ export type RoutineCreatePreviewResult = InferRuntimeSchema<typeof routineCreatePreviewResultSchema>;
181
+ export declare const routineCreateConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
182
+ readonly commandId: string;
183
+ readonly name: string;
184
+ readonly paused?: boolean | undefined;
185
+ readonly schedule: {
186
+ readonly expression: string;
187
+ readonly timezone: string;
188
+ };
189
+ readonly template: {
190
+ readonly connectionId?: string | undefined;
191
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
192
+ readonly model?: string | undefined;
193
+ readonly projectId: string;
194
+ readonly prompt: string;
195
+ };
196
+ readonly inputDigest: string;
197
+ readonly proof: string;
198
+ }>;
199
+ export type RoutineCreateConfirmParameters = InferRuntimeSchema<typeof routineCreateConfirmParametersSchema>;
200
+ export declare const routineCreateConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
201
+ readonly actorId: string;
202
+ readonly commandId: string;
203
+ readonly delivery: "duplicate" | "new";
204
+ readonly inputDigest: string;
205
+ readonly method: "routine.create.confirm";
206
+ readonly receipt: {
207
+ readonly actorId: string;
208
+ readonly aggregateRevision: string;
209
+ readonly commandId: string;
210
+ readonly createdAt: string;
211
+ readonly eventCursor: string;
212
+ readonly method: string;
213
+ readonly receiptId: string;
214
+ readonly schemaVersion: 1;
215
+ readonly state: "succeeded";
216
+ readonly target: {
217
+ readonly id: string;
218
+ readonly type: string;
219
+ };
220
+ readonly updatedAt: string;
221
+ };
222
+ readonly routine: {
223
+ readonly confirmedBy: string;
224
+ readonly createdAt: string;
225
+ readonly id: string;
226
+ readonly name: string;
227
+ readonly nextFireAt?: string | undefined;
228
+ readonly revision: string;
229
+ readonly schedule: {
230
+ readonly expression: string;
231
+ readonly timezone: string;
232
+ };
233
+ readonly schemaVersion: "maia.routine/v1";
234
+ readonly state: "active" | "disabled" | "paused";
235
+ readonly template: {
236
+ readonly connectionId?: string | undefined;
237
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
238
+ readonly model?: string | undefined;
239
+ readonly projectId: string;
240
+ readonly prompt: string;
241
+ };
242
+ readonly updatedAt: string;
243
+ };
244
+ }>;
245
+ export type RoutineCreateConfirmResult = InferRuntimeSchema<typeof routineCreateConfirmResultSchema>;
246
+ export declare const routineTransitionParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
247
+ readonly commandId: string;
248
+ readonly expectedRevision: string;
249
+ readonly routineId: string;
250
+ }>;
251
+ export type RoutineTransitionParameters = InferRuntimeSchema<typeof routineTransitionParametersSchema>;
252
+ export declare const routinePauseResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
253
+ readonly delivery: "duplicate" | "new";
254
+ readonly method: "routine.pause";
255
+ readonly receipt: {
256
+ readonly actorId: string;
257
+ readonly aggregateRevision: string;
258
+ readonly commandId: string;
259
+ readonly createdAt: string;
260
+ readonly eventCursor: string;
261
+ readonly method: string;
262
+ readonly receiptId: string;
263
+ readonly schemaVersion: 1;
264
+ readonly state: "succeeded";
265
+ readonly target: {
266
+ readonly id: string;
267
+ readonly type: string;
268
+ };
269
+ readonly updatedAt: string;
270
+ };
271
+ readonly routine: {
272
+ readonly confirmedBy: string;
273
+ readonly createdAt: string;
274
+ readonly id: string;
275
+ readonly name: string;
276
+ readonly nextFireAt?: string | undefined;
277
+ readonly revision: string;
278
+ readonly schedule: {
279
+ readonly expression: string;
280
+ readonly timezone: string;
281
+ };
282
+ readonly schemaVersion: "maia.routine/v1";
283
+ readonly state: "active" | "disabled" | "paused";
284
+ readonly template: {
285
+ readonly connectionId?: string | undefined;
286
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
287
+ readonly model?: string | undefined;
288
+ readonly projectId: string;
289
+ readonly prompt: string;
290
+ };
291
+ readonly updatedAt: string;
292
+ };
293
+ }>;
294
+ export type RoutinePauseResult = InferRuntimeSchema<typeof routinePauseResultSchema>;
295
+ export declare const routineResumeResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
296
+ readonly delivery: "duplicate" | "new";
297
+ readonly method: "routine.resume";
298
+ readonly receipt: {
299
+ readonly actorId: string;
300
+ readonly aggregateRevision: string;
301
+ readonly commandId: string;
302
+ readonly createdAt: string;
303
+ readonly eventCursor: string;
304
+ readonly method: string;
305
+ readonly receiptId: string;
306
+ readonly schemaVersion: 1;
307
+ readonly state: "succeeded";
308
+ readonly target: {
309
+ readonly id: string;
310
+ readonly type: string;
311
+ };
312
+ readonly updatedAt: string;
313
+ };
314
+ readonly routine: {
315
+ readonly confirmedBy: string;
316
+ readonly createdAt: string;
317
+ readonly id: string;
318
+ readonly name: string;
319
+ readonly nextFireAt?: string | undefined;
320
+ readonly revision: string;
321
+ readonly schedule: {
322
+ readonly expression: string;
323
+ readonly timezone: string;
324
+ };
325
+ readonly schemaVersion: "maia.routine/v1";
326
+ readonly state: "active" | "disabled" | "paused";
327
+ readonly template: {
328
+ readonly connectionId?: string | undefined;
329
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
330
+ readonly model?: string | undefined;
331
+ readonly projectId: string;
332
+ readonly prompt: string;
333
+ };
334
+ readonly updatedAt: string;
335
+ };
336
+ }>;
337
+ export type RoutineResumeResult = InferRuntimeSchema<typeof routineResumeResultSchema>;
338
+ export declare const routineDisablePreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
339
+ readonly commandId: string;
340
+ readonly expectedRevision: string;
341
+ readonly routineId: string;
342
+ }>;
343
+ export type RoutineDisablePreviewParameters = InferRuntimeSchema<typeof routineDisablePreviewParametersSchema>;
344
+ export declare const routineDisablePreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
345
+ readonly inputDigest: string;
346
+ readonly proof: string;
347
+ readonly actorId: string;
348
+ readonly expiresAt: string;
349
+ readonly issuedAt: string;
350
+ readonly commandId: string;
351
+ readonly expectedRevision: string;
352
+ readonly routineId: string;
353
+ readonly method: "routine.disable.preview";
354
+ readonly name: string;
355
+ }>;
356
+ export type RoutineDisablePreviewResult = InferRuntimeSchema<typeof routineDisablePreviewResultSchema>;
357
+ export declare const routineDisableConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
358
+ readonly inputDigest: string;
359
+ readonly proof: string;
360
+ readonly commandId: string;
361
+ readonly expectedRevision: string;
362
+ readonly routineId: string;
363
+ }>;
364
+ export type RoutineDisableConfirmParameters = InferRuntimeSchema<typeof routineDisableConfirmParametersSchema>;
365
+ export declare const routineDisableConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
366
+ readonly delivery: "duplicate" | "new";
367
+ readonly method: "routine.disable.confirm";
368
+ readonly receipt: {
369
+ readonly actorId: string;
370
+ readonly aggregateRevision: string;
371
+ readonly commandId: string;
372
+ readonly createdAt: string;
373
+ readonly eventCursor: string;
374
+ readonly method: string;
375
+ readonly receiptId: string;
376
+ readonly schemaVersion: 1;
377
+ readonly state: "succeeded";
378
+ readonly target: {
379
+ readonly id: string;
380
+ readonly type: string;
381
+ };
382
+ readonly updatedAt: string;
383
+ };
384
+ readonly routine: {
385
+ readonly confirmedBy: string;
386
+ readonly createdAt: string;
387
+ readonly id: string;
388
+ readonly name: string;
389
+ readonly nextFireAt?: string | undefined;
390
+ readonly revision: string;
391
+ readonly schedule: {
392
+ readonly expression: string;
393
+ readonly timezone: string;
394
+ };
395
+ readonly schemaVersion: "maia.routine/v1";
396
+ readonly state: "active" | "disabled" | "paused";
397
+ readonly template: {
398
+ readonly connectionId?: string | undefined;
399
+ readonly executor?: "claude-code" | "codex-cli" | undefined;
400
+ readonly model?: string | undefined;
401
+ readonly projectId: string;
402
+ readonly prompt: string;
403
+ };
404
+ readonly updatedAt: string;
405
+ };
406
+ }>;
407
+ export type RoutineDisableConfirmResult = InferRuntimeSchema<typeof routineDisableConfirmResultSchema>;
408
+ /** A run preview takes the transition input; its confirmation adds the proof. */
409
+ export declare const routineRunPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
410
+ readonly inputDigest: string;
411
+ readonly proof: string;
412
+ readonly actorId: string;
413
+ readonly expiresAt: string;
414
+ readonly issuedAt: string;
415
+ readonly commandId: string;
416
+ readonly expectedRevision: string;
417
+ readonly routineId: string;
418
+ readonly method: "routine.run.preview";
419
+ readonly name: string;
420
+ }>;
421
+ export type RoutineRunPreviewResult = InferRuntimeSchema<typeof routineRunPreviewResultSchema>;
422
+ export declare const routineRunConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
423
+ readonly inputDigest: string;
424
+ readonly proof: string;
425
+ readonly commandId: string;
426
+ readonly expectedRevision: string;
427
+ readonly routineId: string;
428
+ }>;
429
+ export type RoutineRunConfirmParameters = InferRuntimeSchema<typeof routineRunConfirmParametersSchema>;
430
+ export declare const routineRunConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
431
+ readonly delivery: "duplicate" | "new";
432
+ readonly fire: {
433
+ readonly failure?: {
434
+ readonly code: string;
435
+ readonly message: string;
436
+ } | undefined;
437
+ readonly failureReason?: "approval_required" | "output_limit_exceeded" | "protocol_invalid" | "repository_changed" | "runtime_exited" | "runtime_failed" | "turn_deadline_exceeded" | "turn_rejected" | undefined;
438
+ readonly id: string;
439
+ readonly missed?: number | undefined;
440
+ readonly outcome: "failed" | "launching" | "skipped" | "started";
441
+ readonly reason?: "connection_disabled" | "held" | "launch_failed" | "outcome_unknown" | "overlap" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
442
+ readonly recordedAt: string;
443
+ readonly routineId: string;
444
+ readonly scheduledAt: string;
445
+ readonly sessionId?: string | undefined;
446
+ readonly triggerKind: "cron" | "manual";
447
+ readonly turnId?: string | undefined;
448
+ readonly turnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
449
+ };
450
+ readonly method: "routine.run.confirm";
451
+ readonly receipt: {
452
+ readonly actorId: string;
453
+ readonly aggregateRevision: string;
454
+ readonly commandId: string;
455
+ readonly createdAt: string;
456
+ readonly eventCursor: string;
457
+ readonly method: string;
458
+ readonly receiptId: string;
459
+ readonly schemaVersion: 1;
460
+ readonly state: "succeeded";
461
+ readonly target: {
462
+ readonly id: string;
463
+ readonly type: string;
464
+ };
465
+ readonly updatedAt: string;
466
+ };
467
+ }>;
468
+ export type RoutineRunConfirmResult = InferRuntimeSchema<typeof routineRunConfirmResultSchema>;
469
+ export { MAX_LIVE_ROUTINES_PER_PROJECT, MAX_ROUTINE_PAGE_SIZE, MAX_ROUTINE_PREVIEW_FIRES, MAX_ROUTINE_SHOWN_FIRES, MIN_ROUTINE_INTERVAL_MINUTES, ROUTINE_ERROR_CODES, ROUTINE_FIRE_REASONS, ROUTINE_SCHEMA_VERSION, } from "./policy.js";
470
+ //# sourceMappingURL=contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/routine/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AA2BrE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAC;AAC1E,MAAM,MAAM,OAAO,GAAG,kBAA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MAAM,6BAA6B;;;;;;;;;;;EAEzC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CACtD,OAAO,6BAA6B,CACrC,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;EAE7C,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,kBAAkB,CAC1D,OAAO,iCAAiC,CACzC,CAAC;AACF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CACtD,OAAO,6BAA6B,CACrC,CAAC;AAEF,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,yBAAyB,EACzB,uBAAuB,EACvB,4BAA4B,EAC5B,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,aAAa,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { makeEffectRuntimeSchema } from "../runtime-schema/effect-schema.js";
2
+ import { routineCreateConfirmParametersEffectSchema, routineCreateConfirmResultEffectSchema, routineCreatePreviewParametersEffectSchema, routineCreatePreviewResultEffectSchema, routineDisableConfirmParametersEffectSchema, routineDisableConfirmResultEffectSchema, routineDisablePreviewParametersEffectSchema, routineDisablePreviewResultEffectSchema, routineEffectSchema, routineFireEffectSchema, routineListParametersEffectSchema, routineListResultEffectSchema, routinePauseResultEffectSchema, routineResumeResultEffectSchema, routineRunConfirmParametersEffectSchema, routineRunConfirmResultEffectSchema, routineRunPreviewResultEffectSchema, routineScheduleEffectSchema, routineShowParametersEffectSchema, routineShowResultEffectSchema, routineTemplateEffectSchema, routineTransitionParametersEffectSchema, } from "./effect-schema.js";
3
+ export const routineSchema = makeEffectRuntimeSchema(routineEffectSchema);
4
+ export const routineFireSchema = makeEffectRuntimeSchema(routineFireEffectSchema);
5
+ export const routineScheduleSchema = makeEffectRuntimeSchema(routineScheduleEffectSchema);
6
+ export const routineTemplateSchema = makeEffectRuntimeSchema(routineTemplateEffectSchema);
7
+ export const routineListParametersSchema = makeEffectRuntimeSchema(routineListParametersEffectSchema);
8
+ export const routineListResultSchema = makeEffectRuntimeSchema(routineListResultEffectSchema);
9
+ export const routineShowParametersSchema = makeEffectRuntimeSchema(routineShowParametersEffectSchema);
10
+ export const routineShowResultSchema = makeEffectRuntimeSchema(routineShowResultEffectSchema);
11
+ export const routineCreatePreviewParametersSchema = makeEffectRuntimeSchema(routineCreatePreviewParametersEffectSchema);
12
+ export const routineCreatePreviewResultSchema = makeEffectRuntimeSchema(routineCreatePreviewResultEffectSchema);
13
+ export const routineCreateConfirmParametersSchema = makeEffectRuntimeSchema(routineCreateConfirmParametersEffectSchema);
14
+ export const routineCreateConfirmResultSchema = makeEffectRuntimeSchema(routineCreateConfirmResultEffectSchema);
15
+ export const routineTransitionParametersSchema = makeEffectRuntimeSchema(routineTransitionParametersEffectSchema);
16
+ export const routinePauseResultSchema = makeEffectRuntimeSchema(routinePauseResultEffectSchema);
17
+ export const routineResumeResultSchema = makeEffectRuntimeSchema(routineResumeResultEffectSchema);
18
+ export const routineDisablePreviewParametersSchema = makeEffectRuntimeSchema(routineDisablePreviewParametersEffectSchema);
19
+ export const routineDisablePreviewResultSchema = makeEffectRuntimeSchema(routineDisablePreviewResultEffectSchema);
20
+ export const routineDisableConfirmParametersSchema = makeEffectRuntimeSchema(routineDisableConfirmParametersEffectSchema);
21
+ export const routineDisableConfirmResultSchema = makeEffectRuntimeSchema(routineDisableConfirmResultEffectSchema);
22
+ /** A run preview takes the transition input; its confirmation adds the proof. */
23
+ export const routineRunPreviewResultSchema = makeEffectRuntimeSchema(routineRunPreviewResultEffectSchema);
24
+ export const routineRunConfirmParametersSchema = makeEffectRuntimeSchema(routineRunConfirmParametersEffectSchema);
25
+ export const routineRunConfirmResultSchema = makeEffectRuntimeSchema(routineRunConfirmResultEffectSchema);
26
+ export { MAX_LIVE_ROUTINES_PER_PROJECT, MAX_ROUTINE_PAGE_SIZE, MAX_ROUTINE_PREVIEW_FIRES, MAX_ROUTINE_SHOWN_FIRES, MIN_ROUTINE_INTERVAL_MINUTES, ROUTINE_ERROR_CODES, ROUTINE_FIRE_REASONS, ROUTINE_SCHEMA_VERSION, } from "./policy.js";
27
+ //# sourceMappingURL=contract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.js","sourceRoot":"","sources":["../../src/routine/contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAG7E,OAAO,EACL,0CAA0C,EAC1C,sCAAsC,EACtC,0CAA0C,EAC1C,sCAAsC,EACtC,2CAA2C,EAC3C,uCAAuC,EACvC,2CAA2C,EAC3C,uCAAuC,EACvC,mBAAmB,EACnB,uBAAuB,EACvB,iCAAiC,EACjC,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAC/B,uCAAuC,EACvC,mCAAmC,EACnC,mCAAmC,EACnC,2BAA2B,EAC3B,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,EAC3B,uCAAuC,GACxC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,aAAa,GAAG,uBAAuB,CAAC,mBAAmB,CAAC,CAAC;AAE1E,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CACtD,uBAAuB,CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAC1D,2BAA2B,CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAC1D,2BAA2B,CAC5B,CAAC;AAGF,MAAM,CAAC,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,iCAAiC,CAClC,CAAC;AAIF,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,CAC5D,6BAA6B,CAC9B,CAAC;AAIF,MAAM,CAAC,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,iCAAiC,CAClC,CAAC;AAIF,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,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