@wenathlan/saddle 2.1.6 → 2.1.7

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 (291) hide show
  1. package/Dockerfile +158 -60
  2. package/LICENSE +0 -0
  3. package/README.md +68 -53
  4. package/alternatives.ts +0 -0
  5. package/biome.jsonc +134 -0
  6. package/boards.json +2 -2
  7. package/compute.ts +4 -4
  8. package/cores.json +2 -2
  9. package/docker.config +37 -9
  10. package/docs/.gitkeep +0 -0
  11. package/docs/actionrecorder.md +0 -0
  12. package/docs/actionsincident.md +0 -0
  13. package/docs/alternatives.md +0 -0
  14. package/docs/architecture.md +0 -0
  15. package/docs/{architecture-1.8.19.md → architecture1819.md} +0 -0
  16. package/docs/{architecture-1.8.19.mmd → architecture1819.mmd} +0 -0
  17. package/docs/artifactavailability.md +2 -2
  18. package/docs/{artifactresearch-1.8.9.md → artifactresearch189.md} +0 -0
  19. package/docs/{batches-1816-1820.md → batches1816to1820.md} +0 -0
  20. package/docs/{brancharchive-2026-08-18.md → brancharchive20260818.md} +0 -0
  21. package/docs/branchaudit.md +0 -0
  22. package/docs/browser.md +0 -0
  23. package/docs/capabilityreport.md +0 -0
  24. package/docs/comparativeaudit.md +0 -0
  25. package/docs/consolidation.md +0 -0
  26. package/docs/{containerplatforms-1.8.17.md → containerplatforms1817.md} +0 -0
  27. package/docs/{containerplatforms-2.1.0.md → containerplatforms210.md} +1 -1
  28. package/docs/{documentmap-1.8.12.md → documentmap1812.md} +1 -1
  29. package/docs/{e2ugh-engine.md → e2ughengine.md} +0 -0
  30. package/docs/ecosystemplan.md +0 -0
  31. package/docs/enginearchitecture.md +0 -0
  32. package/docs/extension.md +0 -0
  33. package/docs/featureaudit.md +0 -0
  34. package/docs/{flatbuildresearch-1.8.11.md → flatbuildresearch1811.md} +0 -0
  35. package/docs/gapmatrix.md +0 -0
  36. package/docs/hardware.md +0 -0
  37. package/docs/libraryapi.md +0 -0
  38. package/docs/{licenseaudit-1.8.12.md → licenseaudit1812.md} +0 -0
  39. package/docs/logs/examplesession.json +54 -0
  40. package/docs/memoryengine.md +0 -0
  41. package/docs/{mobileconversionresearch-1.8.10.md → mobileconversionresearch1810.md} +0 -0
  42. package/docs/modes.md +0 -0
  43. package/docs/{nativeidentityresearch-1.8.11.md → nativeidentityresearch1811.md} +0 -0
  44. package/docs/{native-wrappers.md → nativewrappers.md} +0 -0
  45. package/docs/ninetymodalities.md +191 -0
  46. package/docs/optimization.md +0 -0
  47. package/docs/packageaudit185.md +0 -0
  48. package/docs/performance.md +0 -0
  49. package/docs/{planning.1.8.18.md → planning1818.md} +0 -0
  50. package/docs/{planning.1.8.19.md → planning1819.md} +0 -0
  51. package/docs/planningengine.md +186 -0
  52. package/docs/planningninety.md +391 -0
  53. package/docs/platformpipelineaudit.md +0 -0
  54. package/docs/platformpipelines.md +0 -0
  55. package/docs/productindex.md +0 -0
  56. package/docs/registryresearch.md +0 -0
  57. package/docs/release.md +0 -0
  58. package/docs/release17notes.md +0 -0
  59. package/docs/release181notes.md +0 -0
  60. package/docs/release182notes.md +0 -0
  61. package/docs/release184notes.md +0 -0
  62. package/docs/release185notes.md +0 -0
  63. package/docs/release18notes.md +0 -0
  64. package/docs/releaseassets.md +0 -0
  65. package/docs/{releasenotes-1.8.12.md → releasenotes1812.md} +0 -0
  66. package/docs/{releasenotes-1.8.13.md → releasenotes1813.md} +2 -2
  67. package/docs/{releasenotes-1.8.14.md → releasenotes1814.md} +1 -1
  68. package/docs/{releasenotes-1.8.15.md → releasenotes1815.md} +0 -0
  69. package/docs/{releasenotes-1.8.16.md → releasenotes1816.md} +0 -0
  70. package/docs/{releasenotes-1.8.17.md → releasenotes1817.md} +0 -0
  71. package/docs/{releasenotes-1.8.18.md → releasenotes1818.md} +0 -0
  72. package/docs/{releasenotes-1.8.19.md → releasenotes1819.md} +0 -0
  73. package/docs/{reorganization-1.8.8.md → reorganization188.md} +0 -0
  74. package/docs/{reorganization-1.8.9.md → reorganization189.md} +0 -0
  75. package/docs/{repo-analysis-1.8.21.json → repoanalysis1821.json} +0 -0
  76. package/docs/{repo-candidates-1.8.21.jsonl → repocandidates1821.jsonl} +0 -0
  77. package/docs/{repo-research-1.8.16.md → reporesearch1816.md} +0 -0
  78. package/docs/{repo-research-1.8.21.md → reporesearch1821.md} +0 -0
  79. package/docs/{repo-selected-1.8.21.json → reposelected1821.json} +0 -0
  80. package/docs/{repo-synthesis-1.8.16.md → reposynthesis1816.md} +1 -1
  81. package/docs/{repo-synthesis-1.8.21.md → reposynthesis1821.md} +0 -0
  82. package/docs/{research-1.8.18-isolation.md → research1818isolation.md} +0 -0
  83. package/docs/{research-1.8.19-virtual-browser.md → research1819virtualbrowser.md} +0 -0
  84. package/docs/roadmapp2p3.md +0 -0
  85. package/docs/s3compatible.md +0 -0
  86. package/docs/{scanningresearch-1.8.11.md → scanningresearch1811.md} +0 -0
  87. package/docs/security.md +0 -0
  88. package/docs/{securityaudit-1.8.7.md → securityaudit187.md} +0 -0
  89. package/docs/{securityreferences-1.8.11.md → securityreferences1811.md} +0 -0
  90. package/docs/{securityresearch-1.8.11.md → securityresearch1811.md} +0 -0
  91. package/docs/{signingresearch-1.8.12.md → signingresearch1812.md} +0 -0
  92. package/docs/signingwithoutcertificates.md +0 -0
  93. package/docs/signpathapplication.md +0 -0
  94. package/docs/sitemap.md +0 -0
  95. package/docs/{tauri-glib-risk-1.8.11.md → tauriglibrisk1811.md} +0 -0
  96. package/docs/todo.md +2 -2
  97. package/docs/{todo-1.8.15.md → todo1815.md} +1 -1
  98. package/docs/{todo-1.8.16.md → todo1816.md} +5 -5
  99. package/docs/{todo-1.8.18.md → todo1818.md} +0 -0
  100. package/docs/{todo-1.8.19.md → todo1819.md} +0 -0
  101. package/docs/{toolchainresearch-1.8.9.md → toolchainresearch189.md} +0 -0
  102. package/docs/toolchains.md +0 -0
  103. package/docs/usage.md +0 -0
  104. package/docs/viability.md +0 -0
  105. package/docs/virtualization.md +0 -0
  106. package/docs/{web-duplicatecleanup.md → webduplicatecleanup.md} +0 -0
  107. package/docs/{web-ideas.md → webideas.md} +0 -0
  108. package/docs/{workflowimprovements-2026-08-19.md → workflowimprovements20260819.md} +0 -0
  109. package/docs/workflowinputs.md +0 -0
  110. package/docs/workflowoperations.md +0 -0
  111. package/docs/workloadlaw.md +104 -0
  112. package/gpumonitor.cpp +0 -0
  113. package/gpus.json +1 -1
  114. package/index.ts +19 -10
  115. package/manifest.json +20 -0
  116. package/modalityregistry.ts +1493 -0
  117. package/mttg.config +1 -1
  118. package/orchestrator.ts +52 -15
  119. package/package.json +192 -99
  120. package/passage.config +0 -0
  121. package/performance.ts +0 -0
  122. package/processors.json +1 -1
  123. package/qemu.config +2 -2
  124. package/qemubridge.py +0 -0
  125. package/quantum.ts +0 -0
  126. package/render.ts +0 -0
  127. package/scheduler.ts +0 -0
  128. package/security.ts +0 -0
  129. package/tiers.ts +9 -3
  130. package/tsconfig.json +21 -11
  131. package/virtualcpu.ts +1 -0
  132. package/virtualgpu.ts +1 -0
  133. package/virtualhardware.c +0 -0
  134. package/virtualhardware.json +2 -2
  135. package/virtualization.ts +0 -0
  136. package/virtualizationcore.cpp +0 -0
  137. package/virtualmemory.ts +0 -0
  138. package/vm.config.json +2 -2
  139. package/biome.json +0 -151
  140. package/dist/acquisition.d.ts +0 -359
  141. package/dist/acquisition.d.ts.map +0 -1
  142. package/dist/acquisition.js +0 -629
  143. package/dist/acquisition.js.map +0 -1
  144. package/dist/alternatives.d.ts +0 -509
  145. package/dist/alternatives.d.ts.map +0 -1
  146. package/dist/alternatives.js +0 -951
  147. package/dist/alternatives.js.map +0 -1
  148. package/dist/automation.d.ts +0 -426
  149. package/dist/automation.d.ts.map +0 -1
  150. package/dist/automation.js +0 -561
  151. package/dist/automation.js.map +0 -1
  152. package/dist/browser.d.ts +0 -562
  153. package/dist/browser.d.ts.map +0 -1
  154. package/dist/browser.js +0 -1057
  155. package/dist/browser.js.map +0 -1
  156. package/dist/cli.d.ts +0 -17
  157. package/dist/cli.d.ts.map +0 -1
  158. package/dist/cli.js +0 -169
  159. package/dist/cli.js.map +0 -1
  160. package/dist/communication.d.ts +0 -192
  161. package/dist/communication.d.ts.map +0 -1
  162. package/dist/communication.js +0 -418
  163. package/dist/communication.js.map +0 -1
  164. package/dist/compute.d.ts +0 -1161
  165. package/dist/compute.d.ts.map +0 -1
  166. package/dist/compute.js +0 -2273
  167. package/dist/compute.js.map +0 -1
  168. package/dist/distribution.d.ts +0 -529
  169. package/dist/distribution.d.ts.map +0 -1
  170. package/dist/distribution.js +0 -811
  171. package/dist/distribution.js.map +0 -1
  172. package/dist/docs/example-localjob.d.ts +0 -2
  173. package/dist/docs/example-localjob.d.ts.map +0 -1
  174. package/dist/docs/example-localjob.js +0 -15
  175. package/dist/docs/example-localjob.js.map +0 -1
  176. package/dist/docs/example-publicapi.d.ts +0 -2
  177. package/dist/docs/example-publicapi.d.ts.map +0 -1
  178. package/dist/docs/example-publicapi.js +0 -7
  179. package/dist/docs/example-publicapi.js.map +0 -1
  180. package/dist/execution.d.ts +0 -530
  181. package/dist/execution.d.ts.map +0 -1
  182. package/dist/execution.js +0 -761
  183. package/dist/execution.js.map +0 -1
  184. package/dist/format.d.ts +0 -19
  185. package/dist/format.d.ts.map +0 -1
  186. package/dist/format.js +0 -60
  187. package/dist/format.js.map +0 -1
  188. package/dist/foundation.d.ts +0 -176
  189. package/dist/foundation.d.ts.map +0 -1
  190. package/dist/foundation.js +0 -309
  191. package/dist/foundation.js.map +0 -1
  192. package/dist/index.d.ts +0 -735
  193. package/dist/index.d.ts.map +0 -1
  194. package/dist/index.js +0 -1020
  195. package/dist/index.js.map +0 -1
  196. package/dist/integration.d.ts +0 -236
  197. package/dist/integration.d.ts.map +0 -1
  198. package/dist/integration.js +0 -236
  199. package/dist/integration.js.map +0 -1
  200. package/dist/intelligence.d.ts +0 -94
  201. package/dist/intelligence.d.ts.map +0 -1
  202. package/dist/intelligence.js +0 -145
  203. package/dist/intelligence.js.map +0 -1
  204. package/dist/isolation.d.ts +0 -129
  205. package/dist/isolation.d.ts.map +0 -1
  206. package/dist/isolation.js +0 -96
  207. package/dist/isolation.js.map +0 -1
  208. package/dist/media.d.ts +0 -344
  209. package/dist/media.d.ts.map +0 -1
  210. package/dist/media.js +0 -986
  211. package/dist/media.js.map +0 -1
  212. package/dist/modes.d.ts +0 -359
  213. package/dist/modes.d.ts.map +0 -1
  214. package/dist/modes.js +0 -134
  215. package/dist/modes.js.map +0 -1
  216. package/dist/operations.d.ts +0 -67
  217. package/dist/operations.d.ts.map +0 -1
  218. package/dist/operations.js +0 -94
  219. package/dist/operations.js.map +0 -1
  220. package/dist/orchestrator.d.ts +0 -1339
  221. package/dist/orchestrator.d.ts.map +0 -1
  222. package/dist/orchestrator.js +0 -4308
  223. package/dist/orchestrator.js.map +0 -1
  224. package/dist/packager/targetcli.js +0 -4
  225. package/dist/performance.d.ts +0 -416
  226. package/dist/performance.d.ts.map +0 -1
  227. package/dist/performance.js +0 -827
  228. package/dist/performance.js.map +0 -1
  229. package/dist/quantum.d.ts +0 -810
  230. package/dist/quantum.d.ts.map +0 -1
  231. package/dist/quantum.js +0 -2073
  232. package/dist/quantum.js.map +0 -1
  233. package/dist/render.d.ts +0 -381
  234. package/dist/render.d.ts.map +0 -1
  235. package/dist/render.js +0 -1073
  236. package/dist/render.js.map +0 -1
  237. package/dist/scheduler.d.ts +0 -596
  238. package/dist/scheduler.d.ts.map +0 -1
  239. package/dist/scheduler.js +0 -1259
  240. package/dist/scheduler.js.map +0 -1
  241. package/dist/security.d.ts +0 -501
  242. package/dist/security.d.ts.map +0 -1
  243. package/dist/security.js +0 -1170
  244. package/dist/security.js.map +0 -1
  245. package/dist/server.d.ts +0 -21
  246. package/dist/server.d.ts.map +0 -1
  247. package/dist/server.js +0 -52
  248. package/dist/server.js.map +0 -1
  249. package/dist/tiers.d.ts +0 -1002
  250. package/dist/tiers.d.ts.map +0 -1
  251. package/dist/tiers.js +0 -2165
  252. package/dist/tiers.js.map +0 -1
  253. package/dist/virtual.d.ts +0 -641
  254. package/dist/virtual.d.ts.map +0 -1
  255. package/dist/virtual.js +0 -1285
  256. package/dist/virtual.js.map +0 -1
  257. package/dist/virtualcpu.d.ts +0 -316
  258. package/dist/virtualcpu.d.ts.map +0 -1
  259. package/dist/virtualcpu.js +0 -1180
  260. package/dist/virtualcpu.js.map +0 -1
  261. package/dist/virtualgpu.d.ts +0 -345
  262. package/dist/virtualgpu.d.ts.map +0 -1
  263. package/dist/virtualgpu.js +0 -1000
  264. package/dist/virtualgpu.js.map +0 -1
  265. package/dist/virtualization.d.ts +0 -607
  266. package/dist/virtualization.d.ts.map +0 -1
  267. package/dist/virtualization.js +0 -1187
  268. package/dist/virtualization.js.map +0 -1
  269. package/dist/virtualmemory.d.ts +0 -818
  270. package/dist/virtualmemory.d.ts.map +0 -1
  271. package/dist/virtualmemory.js +0 -1796
  272. package/dist/virtualmemory.js.map +0 -1
  273. package/dist/vitest.config.d.ts +0 -3
  274. package/dist/vitest.config.d.ts.map +0 -1
  275. package/dist/vitest.config.js +0 -26
  276. package/dist/vitest.config.js.map +0 -1
  277. package/dist/webscrape.d.ts +0 -720
  278. package/dist/webscrape.d.ts.map +0 -1
  279. package/dist/webscrape.js +0 -2697
  280. package/dist/webscrape.js.map +0 -1
  281. package/docs/CONVERSA.txt +0 -1523
  282. package/docs/architecture-1.8.19.png +0 -0
  283. package/docs/assets/architecture.svg +0 -45
  284. package/docs/assets/saddlemark.svg +0 -13
  285. package/docs/example-localjob.ts +0 -15
  286. package/docs/example-publicapi.ts +0 -7
  287. package/docs/saddle.archive.1.8.17.tar.gz.gpg +0 -0
  288. package/media.ts +0 -1337
  289. package/web/manifest.json +0 -30
  290. package/web/readme.md +0 -383
  291. package/web/tsconfig.json +0 -25
@@ -1,530 +0,0 @@
1
- /**
2
- * execution.ts — runtime, runner, queue, dispatch and session execution planning.
3
- *
4
- * This file is the v2.0.0 grand-merge consolidation of the former nested
5
- * folders of the repository (runners, runtime) into the single
6
- * root-level domain file of the saddle family standard: one optimized
7
- * TypeScript file per correlated domain, ordinal sections, JSDoc on every
8
- * block, intra-domain imports dissolved, cross-domain imports rewritten to
9
- * ./<domain>.js. Every capability of every source file is preserved here;
10
- * the pure re-export barrels (none in this domain) folded their surface into this file directly.
11
- */
12
- /**
13
- * the in process runner is the deterministic baseline for local execution.
14
- */
15
- export declare function inprocess(options?: {}): {
16
- descriptor(): {
17
- id: any;
18
- name: any;
19
- priority: any;
20
- maxconcurrent: any;
21
- capabilities: any;
22
- status: string;
23
- };
24
- setavailable(value: any): void;
25
- canrun(): Promise<boolean>;
26
- execute(context: any, handler: any): Promise<any>;
27
- };
28
- /**
29
- * runner health checks describe provider capacity without selecting infrastructure.
30
- */
31
- /** Checks provider readiness and returns a serializable health report. */
32
- export declare function runnerhealth(provider: any, job?: {}): Promise<{
33
- id: string;
34
- status: any;
35
- healthy: boolean;
36
- checkedat: number;
37
- capacity: {
38
- maxconcurrent: any;
39
- capabilities: any[];
40
- };
41
- error?: undefined;
42
- } | {
43
- id: string;
44
- status: string;
45
- healthy: boolean;
46
- checkedat: number;
47
- capacity: {
48
- maxconcurrent: any;
49
- capabilities: any[];
50
- };
51
- error: {
52
- code: string;
53
- message: string;
54
- };
55
- }>;
56
- /** Checks a provider list in stable order and summarizes available capacity. */
57
- export declare function runnerhealthall(providers?: any[], job?: {}): Promise<{
58
- checkedat: number;
59
- reports: any[];
60
- available: number;
61
- total: number;
62
- }>;
63
- /**
64
- * heartbeat manages cooperative liveness signals for long-running local or remote jobs.
65
- */
66
- /** Creates a heartbeat controller with manual ticks and optional interval execution. */
67
- export declare function heartbeat(options?: {}): {
68
- tick: (input?: {}) => Promise<{
69
- id: string;
70
- sequence: number;
71
- at: number;
72
- status: string;
73
- metadata: any;
74
- }>;
75
- on: (listener: any) => () => boolean;
76
- start: (input?: {}) => boolean;
77
- stop: () => boolean;
78
- status: () => {
79
- running: boolean;
80
- interval: number;
81
- sequence: number;
82
- last: any;
83
- };
84
- };
85
- /**
86
- * provider chains rank caller-authorized execution candidates without dispatching remote work.
87
- */
88
- /** Creates a stable provider chain over declarative capability reports. */
89
- export declare function providerchain(input?: {}): Readonly<{
90
- select(request?: {}): Readonly<{
91
- version: 1;
92
- selected: Readonly<{
93
- id: any;
94
- priority: any;
95
- capabilities: readonly any[];
96
- architecture: any;
97
- operatingSystem: any;
98
- networkpolicy: any;
99
- storagepolicy: any;
100
- cpu: any;
101
- memorybytes: any;
102
- maxmilliseconds: any;
103
- }>;
104
- rejected: readonly any[];
105
- request: Readonly<{
106
- capabilities: readonly string[];
107
- preferredids: readonly string[];
108
- architecture: string;
109
- operatingSystem: string;
110
- networkpolicy: string;
111
- storagepolicy: string;
112
- mincpu: number;
113
- minmemorybytes: number;
114
- minmilliseconds: number;
115
- }>;
116
- }>;
117
- dispatchplan(request?: {}): Readonly<{
118
- version: 1;
119
- state: "caller-dispatches";
120
- provider: Readonly<{
121
- id: any;
122
- priority: any;
123
- capabilities: readonly any[];
124
- architecture: any;
125
- operatingSystem: any;
126
- networkpolicy: any;
127
- storagepolicy: any;
128
- cpu: any;
129
- memorybytes: any;
130
- maxmilliseconds: any;
131
- }>;
132
- request: Readonly<{
133
- capabilities: readonly string[];
134
- preferredids: readonly string[];
135
- architecture: string;
136
- operatingSystem: string;
137
- networkpolicy: string;
138
- storagepolicy: string;
139
- mincpu: number;
140
- minmemorybytes: number;
141
- minmilliseconds: number;
142
- }>;
143
- rejected: readonly any[];
144
- }>;
145
- providers: () => {
146
- capabilities: string[];
147
- id: string;
148
- priority: number;
149
- status: string;
150
- architecture: string;
151
- operatingSystem: string;
152
- networkpolicy: string;
153
- storagepolicy: string;
154
- cpu: number;
155
- memorybytes: number;
156
- maxmilliseconds: number;
157
- }[];
158
- }>;
159
- /** Selects the first eligible provider under stable priority and returns every exclusion reason. */
160
- export declare function selectprovider(providers: any, request?: {}): Readonly<{
161
- version: 1;
162
- selected: Readonly<{
163
- id: any;
164
- priority: any;
165
- capabilities: readonly any[];
166
- architecture: any;
167
- operatingSystem: any;
168
- networkpolicy: any;
169
- storagepolicy: any;
170
- cpu: any;
171
- memorybytes: any;
172
- maxmilliseconds: any;
173
- }>;
174
- rejected: readonly any[];
175
- request: Readonly<{
176
- capabilities: readonly string[];
177
- preferredids: readonly string[];
178
- architecture: string;
179
- operatingSystem: string;
180
- networkpolicy: string;
181
- storagepolicy: string;
182
- mincpu: number;
183
- minmemorybytes: number;
184
- minmilliseconds: number;
185
- }>;
186
- }>;
187
- /** Produces a verified runner-to-storage handoff record without writing an artifact. */
188
- export declare function artifacthandoff(input?: {}): Readonly<{
189
- version: 1;
190
- key: string;
191
- sha256: string;
192
- sizebytes: number;
193
- providerid: string;
194
- retention: string;
195
- state: "caller-transfers";
196
- }>;
197
- /** Creates a cancellation intent without claiming that a remote runner has stopped or cleaned up. */
198
- export declare function cancellationplan(input?: {}): Readonly<{
199
- version: 1;
200
- runid: string;
201
- providerid: string;
202
- reason: string;
203
- state: "caller-cancels";
204
- remotestate: "unknown";
205
- compensation: "caller-evaluates" | "not-requested";
206
- }>;
207
- /** Renders a caller-dispatches plan through an injected forge adapter without sending it. */
208
- export declare function renderdispatch(plan: any, adapter: any): Promise<any>;
209
- /**
210
- * scheduling uses stable priority order and selects the first available runner.
211
- */
212
- export declare function scheduler(providers: any): {
213
- select(job: any): Promise<any>;
214
- list(): any[];
215
- };
216
- /**
217
- * runtime detection uses standard globals and keeps node specific modules outside the core.
218
- */
219
- export declare function runtimename(scope?: typeof globalThis): "browser" | "bun" | "deno" | "node" | "unknown";
220
- export declare function runtimefeatures(scope?: typeof globalThis): {
221
- runtime: string;
222
- fetch: boolean;
223
- streams: boolean;
224
- crypto: boolean;
225
- websocket: boolean;
226
- filesystem: boolean;
227
- };
228
- /**
229
- * the engine coordinates job intent, working memory, runner execution, and commit.
230
- */
231
- export declare function engine(options: any): {
232
- events: any;
233
- run(spec: any, handler: any): Promise<{
234
- job: {
235
- id: any;
236
- name: any;
237
- input: any;
238
- priority: any;
239
- outputkey: any;
240
- metadata: any;
241
- status: string;
242
- createdat: any;
243
- };
244
- output: any;
245
- runnerid: any;
246
- artifact: any;
247
- sync: any;
248
- }>;
249
- };
250
- /**
251
- * abort helpers unify deadlines without depending on a server framework.
252
- */
253
- export declare function deadline(milliseconds: any, parent: any): {
254
- signal: AbortSignal;
255
- cancel(): void;
256
- };
257
- /**
258
- * retry context groups transient retry policy and circuit protection for runners,
259
- * storage adapters and network-facing surfaces.
260
- */
261
- /** Creates bounded exponential retry behavior for retryable failures. */
262
- export declare function retrypolicy(options?: {}): {
263
- run(handler: any): Promise<any>;
264
- };
265
- /** Creates a circuit breaker that opens after repeated handler failures. */
266
- export declare function circuitbreaker(options?: {}): {
267
- execute: (handler: any) => Promise<any>;
268
- status(): {
269
- state: string;
270
- failures: number;
271
- openedat: number;
272
- };
273
- reset(): void;
274
- };
275
- /**
276
- * job queue groups concurrency retry timeout and idempotency at one boundary.
277
- */
278
- export declare function jobqueue(options?: {}): {
279
- add(payload: any, handler: any, options?: {}): Promise<unknown>;
280
- size(): number;
281
- active(): number;
282
- idle(): Promise<void>;
283
- };
284
- /**
285
- * idempotency keys prevent duplicate delivery from at least once transports.
286
- */
287
- export declare function idempotency(): {
288
- has(key: any): boolean;
289
- get(key: any): any;
290
- set(key: any, value: any): any;
291
- delete(key: any): void;
292
- };
293
- /**
294
- * saga executes compensations in reverse order when a multi step operation fails.
295
- */
296
- export declare function saga(steps: any, context?: {}): Promise<any[]>;
297
- /**
298
- * resumable runs keep remote execution state explicit and recoverable across process restarts.
299
- */
300
- export declare const runstatuses: readonly string[];
301
- /** Creates a validated run record with explicit transition history. */
302
- export declare function runrecord(input?: {}): {
303
- version: number;
304
- requestid: string;
305
- name: string;
306
- status: any;
307
- runid: any;
308
- attempt: number;
309
- createdat: number;
310
- updatedat: number;
311
- history: any;
312
- metadata: any;
313
- };
314
- /** Moves a run through a legal state transition and appends an auditable event. */
315
- export declare function transitionrun(record: any, status: any, options?: {}): {
316
- version: number;
317
- requestid: string;
318
- name: string;
319
- createdat: number;
320
- metadata: any;
321
- status: any;
322
- runid: any;
323
- attempt: number;
324
- updatedat: number;
325
- history: any[];
326
- };
327
- /** Coordinates submit, status, resume and cancel operations through an injected remote adapter. */
328
- export declare function resumablerun(adapter: any, input?: {}): {
329
- submit: () => Promise<{
330
- version: number;
331
- requestid: string;
332
- name: string;
333
- status: any;
334
- runid: any;
335
- attempt: number;
336
- createdat: number;
337
- updatedat: number;
338
- history: any;
339
- metadata: any;
340
- response: any;
341
- }>;
342
- resume: () => Promise<{
343
- version: number;
344
- requestid: string;
345
- name: string;
346
- status: any;
347
- runid: any;
348
- attempt: number;
349
- createdat: number;
350
- updatedat: number;
351
- history: any;
352
- metadata: any;
353
- response: any;
354
- }>;
355
- cancel: (options?: {}) => Promise<{
356
- version: number;
357
- requestid: string;
358
- name: string;
359
- status: any;
360
- runid: any;
361
- attempt: number;
362
- createdat: number;
363
- updatedat: number;
364
- history: any;
365
- metadata: any;
366
- compensation: {
367
- status: string;
368
- };
369
- } | {
370
- version: number;
371
- requestid: string;
372
- name: string;
373
- status: any;
374
- runid: any;
375
- attempt: number;
376
- createdat: number;
377
- updatedat: number;
378
- history: any;
379
- metadata: any;
380
- response: any;
381
- compensation: {
382
- status: string;
383
- };
384
- }>;
385
- get: () => {
386
- version: number;
387
- requestid: string;
388
- name: string;
389
- status: any;
390
- runid: any;
391
- attempt: number;
392
- createdat: number;
393
- updatedat: number;
394
- history: any;
395
- metadata: any;
396
- };
397
- };
398
- /**
399
- * workflow dispatch keeps remote execution explicit and records a stable request identity.
400
- */
401
- export declare function workflowdispatch(adapter: any, options?: {}): {
402
- submit(spec: any): Promise<any>;
403
- get(requestid: any): any;
404
- };
405
- export declare function waitforrun(adapter: any, owner: any, repository: any, runid: any, options?: {}): Promise<any>;
406
- /**
407
- * replay maps validated session events to an injected browser adapter.
408
- */
409
- export declare function replay(session: any, adapter: any, options?: {}): Promise<{
410
- events: any;
411
- duration: number;
412
- contextswitches: number;
413
- }>;
414
- /**
415
- * worker bridge translates message events through an injected dispatcher without owning a worker runtime.
416
- */
417
- /** Attaches a bounded message bridge to a caller-owned worker scope. */
418
- export declare function workerbridge(options?: {}): {
419
- event: string;
420
- listener: (message: any) => Promise<void>;
421
- close(): void;
422
- };
423
- /**
424
- * persistent queue stores job state in a caller selected file.
425
- * running items return to queued when a process restores after a crash.
426
- */
427
- /** Creates a crash recoverable queue with idempotent item identifiers. */
428
- export declare function persistentqueue(options?: {}): {
429
- restore: () => Promise<{
430
- version: number;
431
- items: any[];
432
- }>;
433
- enqueue: (payload: any, metadata?: {}) => Promise<any>;
434
- claim: (claimoptions?: {}) => Promise<any>;
435
- renew: (id: any, leasems?: any) => Promise<any>;
436
- complete: (id: any, result: any) => Promise<any>;
437
- fail: (id: any, error: any) => Promise<any>;
438
- list: (filter: any) => Promise<any[]>;
439
- };
440
- /**
441
- * file session persistence writes one validated JSON document per session.
442
- */
443
- export declare function filesessions(root: any): {
444
- save(session: any): Promise<{
445
- version: number;
446
- id: any;
447
- agentname: any;
448
- originurl: any;
449
- seed: any;
450
- status: any;
451
- startedat: any;
452
- finishedat: any;
453
- events: any;
454
- }>;
455
- load(id: any): Promise<{
456
- version: number;
457
- id: any;
458
- agentname: any;
459
- originurl: any;
460
- seed: any;
461
- status: any;
462
- startedat: any;
463
- finishedat: any;
464
- events: any;
465
- }>;
466
- };
467
- /**
468
- * jsonl session storage keeps append only traces independent from browser adapters.
469
- */
470
- export declare function sessionstore(root: any): {
471
- append(session: any): Promise<{
472
- version: number;
473
- id: any;
474
- agentname: any;
475
- originurl: any;
476
- seed: any;
477
- status: any;
478
- startedat: any;
479
- finishedat: any;
480
- events: any;
481
- }>;
482
- read(id: any): Promise<{
483
- version: number;
484
- id: any;
485
- agentname: any;
486
- originurl: any;
487
- seed: any;
488
- status: any;
489
- startedat: any;
490
- finishedat: any;
491
- events: any;
492
- }[]>;
493
- };
494
- /**
495
- * compatibility contracts describe core capabilities without importing a runtime-specific adapter.
496
- */
497
- export declare const corecapabilities: readonly string[];
498
- /** Reports the runtime capabilities expected by the transport-neutral root entry. */
499
- export declare function runtimecontract(scope?: typeof globalThis): {
500
- runtime: string;
501
- core: boolean;
502
- capabilities: {
503
- esm: boolean;
504
- fetch: boolean;
505
- streams: boolean;
506
- textencoding: boolean;
507
- webcrypto: boolean;
508
- };
509
- nodeonly: {
510
- filesystem: boolean;
511
- server: boolean;
512
- };
513
- };
514
- /** Returns a structured unsupported-mode error for a missing runtime capability. */
515
- export declare function unsupportedruntime(feature: any, contract?: {
516
- runtime: string;
517
- core: boolean;
518
- capabilities: {
519
- esm: boolean;
520
- fetch: boolean;
521
- streams: boolean;
522
- textencoding: boolean;
523
- webcrypto: boolean;
524
- };
525
- nodeonly: {
526
- filesystem: boolean;
527
- server: boolean;
528
- };
529
- }): Error;
530
- //# sourceMappingURL=execution.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../execution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH;;GAEG;AACH,wBAAgB,SAAS,CAAC,OAAO,KAAK;;;;;;;;;;;;EAerC;AAKD;;GAEG;AAEH,0EAA0E;AAC1E,wBAAsB,YAAY,CAAC,QAAQ,KAAA,EAAE,GAAG,KAAK;;;;;;QAKkH,aAAa;QAA4B,YAAY;;;;;;;;;QAE9G,aAAa;QAA4B,YAAY;;;QAAmD,IAAI;QAAgD,OAAO;;GAEhR;AAED,gFAAgF;AAChF,wBAAsB,eAAe,CAAC,SAAS,QAAK,EAAE,GAAG,KAAK;;;;;GAK7D;AAKD;;GAEG;AAEH,wFAAwF;AACxF,wBAAgB,SAAS,CAAC,OAAO,KAAK;;;;;;;;;;;;;;;;;EAoBrC;AAKD;;GAEG;AAEH,2EAA2E;AAC3E,wBAAgB,aAAa,CAAC,KAAK,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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