@wenathlan/saddle 2.0.153 → 2.0.155

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 (307) hide show
  1. package/Dockerfile +139 -55
  2. package/README.md +58 -59
  3. package/browser.ts +482 -0
  4. package/cli.ts +274 -0
  5. package/distribution.ts +731 -0
  6. package/docker.config +29 -8
  7. package/docs/artifactavailability.md +2 -2
  8. package/docs/browser.md +18 -1
  9. package/docs/{containerplatforms.2.1.0.md → containerplatforms210.md} +1 -1
  10. package/docs/{documentmap.1.8.12.md → documentmap1812.md} +1 -1
  11. package/docs/extension.md +13 -2
  12. package/docs/libraryapi.md +1 -1
  13. package/docs/{ninety.modalities.md → ninetymodalities.md} +87 -4
  14. package/docs/{planning.ninety.md → planningninety.md} +6 -6
  15. package/docs/{releasenotes.1.8.13.md → releasenotes1813.md} +2 -2
  16. package/docs/{releasenotes.1.8.14.md → releasenotes1814.md} +1 -1
  17. package/docs/{repo.synthesis.1.8.16.md → reposynthesis1816.md} +1 -1
  18. package/docs/todo.md +2 -2
  19. package/docs/{todo.1.8.15.md → todo1815.md} +1 -1
  20. package/docs/{todo.1.8.16.md → todo1816.md} +5 -5
  21. package/execution.ts +677 -0
  22. package/foundation.ts +314 -0
  23. package/index.ts +35 -27
  24. package/isolation.ts +84 -0
  25. package/modes.ts +170 -0
  26. package/mttg.config +1 -1
  27. package/orchestrator.ts +49 -15
  28. package/package.json +90 -75
  29. package/qemu.config +2 -2
  30. package/sandbox.ts +2094 -0
  31. package/scheduler.ts +1 -1
  32. package/server.ts +52 -0
  33. package/tsconfig.json +11 -12
  34. package/virtual.ts +1105 -0
  35. package/virtualgpu.ts +1 -1
  36. package/virtualization.ts +1 -1
  37. package/workloadlaw.ts +293 -0
  38. package/dist/App.d.ts +0 -5
  39. package/dist/App.js +0 -52
  40. package/dist/Sol/Sol.d.ts +0 -3
  41. package/dist/Sol/Sol.js +0 -46
  42. package/dist/Sol/agentbrowser/agentbrowser.d.ts +0 -9
  43. package/dist/Sol/agentbrowser/agentbrowser.js +0 -121
  44. package/dist/Sol/architecture/architecture.d.ts +0 -9
  45. package/dist/Sol/architecture/architecture.js +0 -93
  46. package/dist/Sol/compute/compute.d.ts +0 -9
  47. package/dist/Sol/compute/compute.js +0 -22
  48. package/dist/Sol/console/console.d.ts +0 -15
  49. package/dist/Sol/console/console.js +0 -292
  50. package/dist/Sol/dashboard/dashboard.d.ts +0 -10
  51. package/dist/Sol/dashboard/dashboard.js +0 -181
  52. package/dist/Sol/docs/docs.d.ts +0 -9
  53. package/dist/Sol/docs/docs.js +0 -28
  54. package/dist/Sol/home/home.d.ts +0 -35
  55. package/dist/Sol/home/home.js +0 -239
  56. package/dist/Sol/integrations/integrations.d.ts +0 -9
  57. package/dist/Sol/integrations/integrations.js +0 -83
  58. package/dist/Sol/intro/intro.d.ts +0 -7
  59. package/dist/Sol/intro/intro.js +0 -102
  60. package/dist/Sol/login/login.d.ts +0 -16
  61. package/dist/Sol/login/login.js +0 -49
  62. package/dist/Sol/notfound/notfound.d.ts +0 -9
  63. package/dist/Sol/notfound/notfound.js +0 -15
  64. package/dist/Sol/onboarding/onboarding.d.ts +0 -25
  65. package/dist/Sol/onboarding/onboarding.js +0 -60
  66. package/dist/Sol/playground/playground.d.ts +0 -9
  67. package/dist/Sol/playground/playground.js +0 -127
  68. package/dist/Sol/register/register.d.ts +0 -16
  69. package/dist/Sol/register/register.js +0 -193
  70. package/dist/Sol/shell/Shell.d.ts +0 -124
  71. package/dist/Sol/shell/Shell.js +0 -335
  72. package/dist/Sol/wingets/ComputeBootladder.d.ts +0 -6
  73. package/dist/Sol/wingets/ComputeBootladder.js +0 -71
  74. package/dist/Sol/wingets/ComputeModalitycatalog.d.ts +0 -7
  75. package/dist/Sol/wingets/ComputeModalitycatalog.js +0 -71
  76. package/dist/Sol/wingets/ConsoleApibadge.d.ts +0 -7
  77. package/dist/Sol/wingets/ConsoleApibadge.js +0 -5
  78. package/dist/Sol/wingets/ConsoleEdgelaw.d.ts +0 -6
  79. package/dist/Sol/wingets/ConsoleEdgelaw.js +0 -36
  80. package/dist/Sol/wingets/ConsoleEventstimeline.d.ts +0 -19
  81. package/dist/Sol/wingets/ConsoleEventstimeline.js +0 -12
  82. package/dist/Sol/wingets/ConsoleSnapshotcontrols.d.ts +0 -8
  83. package/dist/Sol/wingets/ConsoleSnapshotcontrols.js +0 -8
  84. package/dist/Sol/wingets/ConsoleSpecpanel.d.ts +0 -21
  85. package/dist/Sol/wingets/ConsoleSpecpanel.js +0 -75
  86. package/dist/Sol/wingets/ConsoleTerminal.d.ts +0 -22
  87. package/dist/Sol/wingets/ConsoleTerminal.js +0 -77
  88. package/dist/Sol/wingets/DashboardAccountpanel.d.ts +0 -18
  89. package/dist/Sol/wingets/DashboardAccountpanel.js +0 -65
  90. package/dist/Sol/wingets/DashboardAdminpanel.d.ts +0 -6
  91. package/dist/Sol/wingets/DashboardAdminpanel.js +0 -90
  92. package/dist/Sol/wingets/DashboardAuditlog.d.ts +0 -8
  93. package/dist/Sol/wingets/DashboardAuditlog.js +0 -50
  94. package/dist/Sol/wingets/DashboardCreatesandboxform.d.ts +0 -10
  95. package/dist/Sol/wingets/DashboardCreatesandboxform.js +0 -71
  96. package/dist/Sol/wingets/DashboardEventstimeline.d.ts +0 -8
  97. package/dist/Sol/wingets/DashboardEventstimeline.js +0 -83
  98. package/dist/Sol/wingets/DashboardGlobalsandboxestable.d.ts +0 -8
  99. package/dist/Sol/wingets/DashboardGlobalsandboxestable.js +0 -57
  100. package/dist/Sol/wingets/DashboardMeshnodestable.d.ts +0 -8
  101. package/dist/Sol/wingets/DashboardMeshnodestable.js +0 -103
  102. package/dist/Sol/wingets/DashboardSandboxlist.d.ts +0 -10
  103. package/dist/Sol/wingets/DashboardSandboxlist.js +0 -163
  104. package/dist/Sol/wingets/DashboardUserstable.d.ts +0 -8
  105. package/dist/Sol/wingets/DashboardUserstable.js +0 -78
  106. package/dist/Sol/wingets/HomeEntrygate.d.ts +0 -23
  107. package/dist/Sol/wingets/HomeEntrygate.js +0 -73
  108. package/dist/Sol/wingets/HomeMetricstrip.d.ts +0 -9
  109. package/dist/Sol/wingets/HomeMetricstrip.js +0 -4
  110. package/dist/Sol/wingets/HomeRuntimediagram.d.ts +0 -1
  111. package/dist/Sol/wingets/HomeRuntimediagram.js +0 -22
  112. package/dist/Sol/wingets/LoginForm.d.ts +0 -19
  113. package/dist/Sol/wingets/LoginForm.js +0 -141
  114. package/dist/Sol/wingets/RegisterPasswordconfirm.d.ts +0 -13
  115. package/dist/Sol/wingets/RegisterPasswordconfirm.js +0 -16
  116. package/dist/Sol/wingets/RegisterPasswordmeter.d.ts +0 -19
  117. package/dist/Sol/wingets/RegisterPasswordmeter.js +0 -65
  118. package/dist/Sol/wingets/RegisterUsernamerules.d.ts +0 -11
  119. package/dist/Sol/wingets/RegisterUsernamerules.js +0 -16
  120. package/dist/Sol/wingets/index.d.ts +0 -39
  121. package/dist/Sol/wingets/index.js +0 -39
  122. package/dist/alternatives.d.ts +0 -508
  123. package/dist/alternatives.js +0 -950
  124. package/dist/api.d.ts +0 -154
  125. package/dist/api.js +0 -174
  126. package/dist/auth.d.ts +0 -268
  127. package/dist/auth.js +0 -476
  128. package/dist/automation.d.ts +0 -425
  129. package/dist/automation.js +0 -566
  130. package/dist/browser.d.ts +0 -561
  131. package/dist/browser.js +0 -1058
  132. package/dist/capacitor.config.d.ts +0 -45
  133. package/dist/capacitor.config.js +0 -48
  134. package/dist/catalog.d.ts +0 -43
  135. package/dist/catalog.js +0 -44
  136. package/dist/cli.d.ts +0 -16
  137. package/dist/cli.js +0 -168
  138. package/dist/communication.d.ts +0 -181
  139. package/dist/communication.js +0 -376
  140. package/dist/compute.d.ts +0 -1160
  141. package/dist/compute.js +0 -2272
  142. package/dist/dashboardlib.d.ts +0 -58
  143. package/dist/dashboardlib.js +0 -161
  144. package/dist/db.d.ts +0 -569
  145. package/dist/db.js +0 -1080
  146. package/dist/distribution.d.ts +0 -528
  147. package/dist/distribution.js +0 -810
  148. package/dist/drizzle.config.d.ts +0 -20
  149. package/dist/drizzle.config.js +0 -18
  150. package/dist/edgelandes.d.ts +0 -70
  151. package/dist/edgelandes.host.d.ts +0 -26
  152. package/dist/edgelandes.host.js +0 -1089
  153. package/dist/edgelandes.inproc.d.ts +0 -27
  154. package/dist/edgelandes.inproc.js +0 -952
  155. package/dist/edgelandes.js +0 -1133
  156. package/dist/edgelandes.ninety.d.ts +0 -31
  157. package/dist/edgelandes.ninety.js +0 -174
  158. package/dist/edgelandes.virtual.d.ts +0 -25
  159. package/dist/edgelandes.virtual.js +0 -629
  160. package/dist/edgeplane.d.ts +0 -114
  161. package/dist/edgeplane.js +0 -305
  162. package/dist/examplelocaljob.d.ts +0 -1
  163. package/dist/examplelocaljob.js +0 -14
  164. package/dist/execution.d.ts +0 -529
  165. package/dist/execution.js +0 -760
  166. package/dist/family.d.ts +0 -16
  167. package/dist/family.js +0 -42
  168. package/dist/familyurl.d.ts +0 -21
  169. package/dist/familyurl.js +0 -24
  170. package/dist/format.d.ts +0 -18
  171. package/dist/format.js +0 -59
  172. package/dist/foundation.d.ts +0 -172
  173. package/dist/foundation.js +0 -312
  174. package/dist/index.d.ts +0 -735
  175. package/dist/index.js +0 -1020
  176. package/dist/integration.d.ts +0 -235
  177. package/dist/integration.js +0 -228
  178. package/dist/intelligence.d.ts +0 -93
  179. package/dist/intelligence.js +0 -144
  180. package/dist/isolation.d.ts +0 -128
  181. package/dist/isolation.js +0 -95
  182. package/dist/labels.d.ts +0 -665
  183. package/dist/labels.js +0 -751
  184. package/dist/localauth.d.ts +0 -127
  185. package/dist/localauth.js +0 -413
  186. package/dist/media.d.ts +0 -343
  187. package/dist/media.js +0 -985
  188. package/dist/mesh.d.ts +0 -177
  189. package/dist/mesh.js +0 -468
  190. package/dist/modalityregistry.d.ts +0 -109
  191. package/dist/modalityregistry.js +0 -1386
  192. package/dist/modes.d.ts +0 -358
  193. package/dist/modes.js +0 -133
  194. package/dist/onboardingstate.d.ts +0 -79
  195. package/dist/onboardingstate.js +0 -282
  196. package/dist/orchestrator.d.ts +0 -1338
  197. package/dist/orchestrator.js +0 -4310
  198. package/dist/packager/targetcli.js +0 -4
  199. package/dist/paths.d.ts +0 -2
  200. package/dist/paths.js +0 -14
  201. package/dist/performance.d.ts +0 -415
  202. package/dist/performance.js +0 -826
  203. package/dist/quantum.d.ts +0 -809
  204. package/dist/quantum.js +0 -2072
  205. package/dist/render.d.ts +0 -380
  206. package/dist/render.js +0 -1072
  207. package/dist/runall.d.ts +0 -2
  208. package/dist/runall.js +0 -39
  209. package/dist/runtimeprobe.d.ts +0 -4
  210. package/dist/runtimeprobe.js +0 -8
  211. package/dist/sandbox.d.ts +0 -355
  212. package/dist/sandbox.js +0 -1721
  213. package/dist/sandboxenvprofile.d.ts +0 -29
  214. package/dist/sandboxenvprofile.js +0 -89
  215. package/dist/sandboxprofile.d.ts +0 -137
  216. package/dist/sandboxprofile.js +0 -241
  217. package/dist/sandboxqueue.d.ts +0 -108
  218. package/dist/sandboxqueue.js +0 -201
  219. package/dist/sandboxquota.d.ts +0 -121
  220. package/dist/sandboxquota.js +0 -236
  221. package/dist/scheduler.d.ts +0 -595
  222. package/dist/scheduler.js +0 -1258
  223. package/dist/scriptlanes.d.ts +0 -182
  224. package/dist/scriptlanes.js +0 -660
  225. package/dist/scripts.buildengine.d.ts +0 -1
  226. package/dist/scripts.buildengine.js +0 -39
  227. package/dist/scripts.securitygate.d.ts +0 -1
  228. package/dist/scripts.securitygate.js +0 -68
  229. package/dist/scripts.validateflatnative.d.ts +0 -1
  230. package/dist/scripts.validateflatnative.js +0 -72
  231. package/dist/security.d.ts +0 -500
  232. package/dist/security.js +0 -1169
  233. package/dist/seedcatalog.d.ts +0 -13
  234. package/dist/seedcatalog.js +0 -46
  235. package/dist/server.d.ts +0 -20
  236. package/dist/server.js +0 -53
  237. package/dist/speccatalog.d.ts +0 -31
  238. package/dist/speccatalog.js +0 -163
  239. package/dist/tiers.d.ts +0 -1001
  240. package/dist/tiers.js +0 -2169
  241. package/dist/utils.d.ts +0 -2
  242. package/dist/utils.js +0 -5
  243. package/dist/vaulthandoff.d.ts +0 -141
  244. package/dist/vaulthandoff.js +0 -444
  245. package/dist/virtual.d.ts +0 -640
  246. package/dist/virtual.js +0 -1284
  247. package/dist/virtualcpu.d.ts +0 -315
  248. package/dist/virtualcpu.js +0 -1180
  249. package/dist/virtualgpu.d.ts +0 -344
  250. package/dist/virtualgpu.js +0 -1000
  251. package/dist/virtualization.d.ts +0 -606
  252. package/dist/virtualization.js +0 -1186
  253. package/dist/virtualmemory.d.ts +0 -817
  254. package/dist/virtualmemory.js +0 -1795
  255. package/dist/vite.config.d.ts +0 -3
  256. package/dist/vite.config.js +0 -43
  257. package/dist/vitest.config.d.ts +0 -2
  258. package/dist/vitest.config.js +0 -25
  259. package/dist/webserver.d.ts +0 -166
  260. package/dist/webserver.js +0 -2226
  261. package/dist/workloadlaw.d.ts +0 -133
  262. package/dist/workloadlaw.js +0 -193
  263. package/manifest.json +0 -20
  264. package/media.ts +0 -1337
  265. /package/docs/{architecture.1.8.19.md → architecture1819.md} +0 -0
  266. /package/docs/{architecture.1.8.19.mmd → architecture1819.mmd} +0 -0
  267. /package/docs/{artifactresearch.1.8.9.md → artifactresearch189.md} +0 -0
  268. /package/docs/{batches.1816.to.1820.md → batches1816to1820.md} +0 -0
  269. /package/docs/{brancharchive.2026.08.18.md → brancharchive20260818.md} +0 -0
  270. /package/docs/{containerplatforms.1.8.17.md → containerplatforms1817.md} +0 -0
  271. /package/docs/{e2ugh.engine.md → e2ughengine.md} +0 -0
  272. /package/docs/{flatbuildresearch.1.8.11.md → flatbuildresearch1811.md} +0 -0
  273. /package/docs/{licenseaudit.1.8.12.md → licenseaudit1812.md} +0 -0
  274. /package/docs/{mobileconversionresearch.1.8.10.md → mobileconversionresearch1810.md} +0 -0
  275. /package/docs/{nativeidentityresearch.1.8.11.md → nativeidentityresearch1811.md} +0 -0
  276. /package/docs/{native.wrappers.md → nativewrappers.md} +0 -0
  277. /package/docs/{planning.1.8.18.md → planning1818.md} +0 -0
  278. /package/docs/{planning.1.8.19.md → planning1819.md} +0 -0
  279. /package/docs/{planning.engine.md → planningengine.md} +0 -0
  280. /package/docs/{releasenotes.1.8.12.md → releasenotes1812.md} +0 -0
  281. /package/docs/{releasenotes.1.8.15.md → releasenotes1815.md} +0 -0
  282. /package/docs/{releasenotes.1.8.16.md → releasenotes1816.md} +0 -0
  283. /package/docs/{releasenotes.1.8.17.md → releasenotes1817.md} +0 -0
  284. /package/docs/{releasenotes.1.8.18.md → releasenotes1818.md} +0 -0
  285. /package/docs/{releasenotes.1.8.19.md → releasenotes1819.md} +0 -0
  286. /package/docs/{reorganization.1.8.8.md → reorganization188.md} +0 -0
  287. /package/docs/{reorganization.1.8.9.md → reorganization189.md} +0 -0
  288. /package/docs/{repo.analysis.1.8.21.json → repoanalysis1821.json} +0 -0
  289. /package/docs/{repo.candidates.1.8.21.jsonl → repocandidates1821.jsonl} +0 -0
  290. /package/docs/{repo.research.1.8.16.md → reporesearch1816.md} +0 -0
  291. /package/docs/{repo.research.1.8.21.md → reporesearch1821.md} +0 -0
  292. /package/docs/{repo.selected.1.8.21.json → reposelected1821.json} +0 -0
  293. /package/docs/{repo.synthesis.1.8.21.md → reposynthesis1821.md} +0 -0
  294. /package/docs/{research.1.8.18.isolation.md → research1818isolation.md} +0 -0
  295. /package/docs/{research.1.8.19.virtual.browser.md → research1819virtualbrowser.md} +0 -0
  296. /package/docs/{scanningresearch.1.8.11.md → scanningresearch1811.md} +0 -0
  297. /package/docs/{securityaudit.1.8.7.md → securityaudit187.md} +0 -0
  298. /package/docs/{securityreferences.1.8.11.md → securityreferences1811.md} +0 -0
  299. /package/docs/{securityresearch.1.8.11.md → securityresearch1811.md} +0 -0
  300. /package/docs/{signingresearch.1.8.12.md → signingresearch1812.md} +0 -0
  301. /package/docs/{tauri.glib.risk.1.8.11.md → tauriglibrisk1811.md} +0 -0
  302. /package/docs/{todo.1.8.18.md → todo1818.md} +0 -0
  303. /package/docs/{todo.1.8.19.md → todo1819.md} +0 -0
  304. /package/docs/{toolchainresearch.1.8.9.md → toolchainresearch189.md} +0 -0
  305. /package/docs/{web.duplicatecleanup.md → webduplicatecleanup.md} +0 -0
  306. /package/docs/{web.ideas.md → webideas.md} +0 -0
  307. /package/docs/{workflowimprovements.2026.08.19.md → workflowimprovements20260819.md} +0 -0
package/dist/virtual.d.ts DELETED
@@ -1,640 +0,0 @@
1
- /**
2
- * virtual.ts — isolation, internal memory, storage and optional persistence contracts.
3
- *
4
- * This file is the v2.0.0 grand-merge consolidation of the former nested
5
- * folders of the repository (memory, storage, persistence) 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 (storage/index.ts) folded their surface into this file directly.
11
- */
12
- import { sha256 } from "./foundation.js";
13
- /**
14
- * memory objects and compute results are serializable contracts between storage and runtime.
15
- */
16
- export declare function memoryobject(options?: {}): {
17
- id: any;
18
- buffer: Uint8Array<ArrayBufferLike>;
19
- size: number;
20
- type: any;
21
- createdat: any;
22
- metadata: any;
23
- };
24
- export declare function computeresult(options?: {}): {
25
- id: any;
26
- payload: any;
27
- mimetype: any;
28
- metadata: any;
29
- processingtimems: any;
30
- memoryusedbytes: any;
31
- };
32
- export declare function tobytes(value: any): Uint8Array<ArrayBufferLike>;
33
- /**
34
- * transforms annotate byte movement without pretending remote storage is physical vram.
35
- */
36
- export declare function transformtocompute(value: any, options?: {}): {
37
- id: any;
38
- buffer: Uint8Array<ArrayBufferLike>;
39
- size: number;
40
- type: any;
41
- createdat: any;
42
- metadata: any;
43
- processingtimems: number;
44
- memoryusedbytes: number;
45
- };
46
- export declare function transformtostorage(value: any, options?: {}): {
47
- id: any;
48
- payload: any;
49
- mimetype: any;
50
- metadata: any;
51
- processingtimems: any;
52
- memoryusedbytes: any;
53
- };
54
- /**
55
- * memory modes expose the same byte contract with different backing choices.
56
- */
57
- export declare function internalmemory(initial?: {}): {
58
- mode: string;
59
- put(key: any, value: any): Promise<{
60
- key: any;
61
- bytes: number;
62
- }>;
63
- get(key: any): Promise<Uint8Array<ArrayBufferLike>>;
64
- delete(key: any): Promise<void>;
65
- list(): Promise<string[]>;
66
- };
67
- export declare function externalmemory(storage: any): {
68
- mode: string;
69
- put(key: any, value: any): Promise<any>;
70
- get(key: any): Promise<any>;
71
- delete(key: any): Promise<any>;
72
- list(prefix: any): Promise<any>;
73
- };
74
- export declare function physicalmemory(options?: {}): {
75
- mode: string;
76
- path: any;
77
- put: any;
78
- get: any;
79
- delete: any;
80
- list: any;
81
- };
82
- export declare function vectorizedmemory(): {
83
- mode: string;
84
- put(key: any, vector: any): Promise<{
85
- key: any;
86
- dimensions: any;
87
- }>;
88
- get(key: any): Promise<any>;
89
- average(keys: any): Promise<number[]>;
90
- list(): Promise<any[]>;
91
- };
92
- export declare function librarymemory(factory: any): {
93
- mode: string;
94
- load(options: any): Promise<any>;
95
- };
96
- export declare function targetfactory(type: any, options?: {}): {
97
- type: any;
98
- platform: any;
99
- owner: any;
100
- repo: any;
101
- branch: any;
102
- path: any;
103
- token: any;
104
- space?: undefined;
105
- dataset?: undefined;
106
- sslverification?: undefined;
107
- namespace?: undefined;
108
- revision?: undefined;
109
- host?: undefined;
110
- method?: undefined;
111
- } | {
112
- platform?: undefined;
113
- owner?: undefined;
114
- branch?: undefined;
115
- type: any;
116
- space: any;
117
- revision: any;
118
- path: any;
119
- token: any;
120
- dataset?: undefined;
121
- sslverification?: undefined;
122
- namespace?: undefined;
123
- repo?: undefined;
124
- host?: undefined;
125
- method?: undefined;
126
- } | {
127
- platform?: undefined;
128
- owner?: undefined;
129
- branch?: undefined;
130
- space?: undefined;
131
- type: any;
132
- dataset: any;
133
- sslverification: any;
134
- path: any;
135
- token: any;
136
- namespace?: undefined;
137
- repo?: undefined;
138
- revision?: undefined;
139
- host?: undefined;
140
- method?: undefined;
141
- } | {
142
- platform?: undefined;
143
- owner?: undefined;
144
- branch?: undefined;
145
- space?: undefined;
146
- dataset?: undefined;
147
- sslverification?: undefined;
148
- type: any;
149
- namespace: any;
150
- repo: any;
151
- revision: any;
152
- path: any;
153
- token: any;
154
- host?: undefined;
155
- method?: undefined;
156
- } | {
157
- platform?: undefined;
158
- owner?: undefined;
159
- branch?: undefined;
160
- space?: undefined;
161
- dataset?: undefined;
162
- sslverification?: undefined;
163
- namespace?: undefined;
164
- repo?: undefined;
165
- revision?: undefined;
166
- type: any;
167
- host: any;
168
- path: any;
169
- method: any;
170
- token: any;
171
- };
172
- export declare function targeturi(target: any): string;
173
- /**
174
- * memory engine loads from the first backend, persists to every backend and
175
- * bounds the hot working set without changing the default unbounded behavior.
176
- */
177
- /** Creates a storage-backed memory engine with optional LRU working-set limits. */
178
- export declare function memoryengine(options?: {}): {
179
- load: (key: any) => Promise<any>;
180
- persist: (key: any, data: any, options?: {}) => Promise<{
181
- id: any;
182
- buffer: Uint8Array<ArrayBufferLike>;
183
- size: number;
184
- type: any;
185
- createdat: any;
186
- metadata: any;
187
- }>;
188
- release: (key: any) => void;
189
- safeload: (key: any) => Promise<{
190
- success: boolean;
191
- data: any;
192
- error?: undefined;
193
- } | {
194
- data?: undefined;
195
- success: boolean;
196
- error: any;
197
- }>;
198
- sync: (key: any, options?: {}) => Promise<any[]>;
199
- capabilities: () => any;
200
- stats: () => {
201
- entries: number;
202
- bytes: number;
203
- hits: number;
204
- misses: number;
205
- evictions: number;
206
- maxentries: number;
207
- maxbytes: number;
208
- };
209
- transformtocompute: typeof transformtocompute;
210
- transformtostorage: typeof transformtostorage;
211
- list(): any[];
212
- };
213
- /**
214
- * working-set planning keeps host memory operations declarative and caller-executed.
215
- */
216
- /** Validates a serializable working-set capacity budget. */
217
- export declare function workingbudget(input?: {}): Readonly<{
218
- maxbytes: number;
219
- maxentries: number;
220
- maxage: number;
221
- }>;
222
- /** Selects bounded working-set candidates without materializing data or probing a host. */
223
- export declare function workingadmission(items: any, options?: {}): Readonly<{
224
- version: 1;
225
- policy: any;
226
- budget: Readonly<{
227
- maxbytes: number;
228
- maxentries: number;
229
- maxage: number;
230
- }>;
231
- usedbytes: number;
232
- admitted: readonly any[];
233
- deferred: readonly any[];
234
- }>;
235
- /** Produces a host bridge plan that an explicit privileged adapter may execute. */
236
- export declare function bridgeplan(input?: {}): Readonly<{
237
- version: 1;
238
- operation: string;
239
- sizebytes: number;
240
- state: "caller-executes" | "unsupported";
241
- preconditions: readonly string[];
242
- cleanup: Readonly<{
243
- required: boolean;
244
- owner: "caller";
245
- }>;
246
- }>;
247
- /** Validates a materialized object record without reading storage or the local filesystem. */
248
- export declare function materializationrecord(input?: {}): Readonly<{
249
- version: 1;
250
- id: string;
251
- sha256: string;
252
- sizebytes: number;
253
- tier: any;
254
- state: any;
255
- createdat: number;
256
- }>;
257
- /** Tracks materialization transitions and emits caller-owned cleanup plans without deleting resources. */
258
- export declare function materializationledger(input?: {}): Readonly<{
259
- add: (record: any) => Readonly<{
260
- version: 1;
261
- id: string;
262
- sha256: string;
263
- sizebytes: number;
264
- tier: any;
265
- state: any;
266
- createdat: number;
267
- }>;
268
- transition: (id: any, state: any) => any;
269
- cleanupplan: (id: any) => Readonly<{
270
- version: 1;
271
- id: any;
272
- sha256: any;
273
- state: "caller-cleans";
274
- reason: "already-cleaned" | "release-working-set";
275
- }>;
276
- list: () => readonly any[];
277
- }>;
278
- /**
279
- * memory bridges materialize and clear temporary working sets.
280
- */
281
- export declare function localmemory(options?: {}): {
282
- prepare(job: any): Promise<{
283
- jobid: any;
284
- location: any;
285
- resultpath: any;
286
- createdat: number;
287
- }>;
288
- sync(set: any, bytes: any): Promise<{
289
- bytes: any;
290
- location: any;
291
- }>;
292
- cleanup(set: any): Promise<void>;
293
- };
294
- /**
295
- * storage adapters keep remote services out of the engine core.
296
- */
297
- export declare function storageadapter(methods: any): any;
298
- /**
299
- * memory storage keeps bytes in a bounded process-local map for browser workers, Deno, Bun and tests.
300
- */
301
- /** Creates a transport-neutral in-memory storage adapter with optional capacity limits. */
302
- export declare function memorystorage(options?: {}): any;
303
- /**
304
- * tiered cache keeps a bounded hot tier and an optional persistent cold tier with stale-while-revalidate.
305
- */
306
- /** Creates a cache with caller supplied encode, decode, clock and persistent storage policies. */
307
- export declare function tieredcache(options?: {}): {
308
- get: (key: any, options?: {}) => Promise<any>;
309
- set: (key: any, value: any, valueoptions?: {}) => Promise<any>;
310
- getorload: (key: any, loader: any, options?: {}) => Promise<any>;
311
- delete: (key: any) => Promise<void>;
312
- clear: () => void;
313
- inspect: () => {
314
- hits: number;
315
- misses: number;
316
- stalehits: number;
317
- evictions: number;
318
- revalidations: number;
319
- hotentries: number;
320
- maxentries: number;
321
- ttl: number;
322
- stale: number;
323
- };
324
- };
325
- /**
326
- * byte collection and hashing are grouped because every storage adapter uses them.
327
- */
328
- export { sha256 };
329
- export declare function collectbytes(input: any): Promise<Uint8Array<ArrayBufferLike>>;
330
- /**
331
- * content addressed storage deduplicates immutable bytes while keeping logical references separate.
332
- */
333
- /** Creates a content-addressed view over a caller supplied storage adapter. */
334
- export declare function contentstorage(storage: any, options?: {}): {
335
- put: (input?: {}) => Promise<{
336
- version: number;
337
- key: string;
338
- objectkey: string;
339
- sha256: string;
340
- sizebytes: number;
341
- contenttype: any;
342
- metadata: any;
343
- }>;
344
- get: (key: any) => Promise<any>;
345
- head: (key: any) => Promise<any>;
346
- delete: (key: any) => Promise<boolean>;
347
- capabilities: {
348
- immutableobjects: boolean;
349
- dedupe: boolean;
350
- references: boolean;
351
- };
352
- };
353
- /**
354
- * storage synchronization compares versioned manifests and keeps conflict policy explicit.
355
- */
356
- /** Describes capabilities exposed by a storage adapter without forcing optional methods. */
357
- export declare function storagecapabilities(storage: any): Readonly<{
358
- range: boolean;
359
- conditional: boolean;
360
- metadata: boolean;
361
- delete: boolean;
362
- }>;
363
- /** Creates a comparable object manifest from bytes and caller metadata. */
364
- export declare function objectmanifest(key: any, data: any, options?: {}): Promise<{
365
- version: number;
366
- key: string;
367
- sizebytes: number;
368
- sha256: string;
369
- updatedat: number;
370
- etag: any;
371
- metadata: any;
372
- }>;
373
- /** Compares two manifests and classifies an update or conflict. */
374
- export declare function comparemanifests(local: any, remote: any): {
375
- state: string;
376
- local?: undefined;
377
- remote?: undefined;
378
- } | {
379
- state: string;
380
- remote: any;
381
- local?: undefined;
382
- } | {
383
- state: string;
384
- local: any;
385
- remote?: undefined;
386
- } | {
387
- state: string;
388
- local: any;
389
- remote: any;
390
- };
391
- /** Synchronizes one logical object between two adapters with explicit conflict handling. */
392
- export declare function syncobject(source: any, target: any, key: any, options?: {}): Promise<{
393
- key: string;
394
- state: string;
395
- manifest: any;
396
- }>;
397
- /** Synchronizes one object to multiple backends and returns each outcome. */
398
- export declare function syncbackends(source: any, targets: any[], key: any, options?: {}): Promise<any[]>;
399
- /**
400
- * chunked storage keeps large payloads split without forcing a database blob.
401
- */
402
- export declare function chunkedstorage(storage: any, options?: {}): {
403
- put(input: any): Promise<{
404
- version: number;
405
- key: any;
406
- sizebytes: number;
407
- chunks: any[];
408
- chunkbytes: any;
409
- sha256: string;
410
- contenttype: any;
411
- status: string;
412
- completed: number;
413
- updatedat: number;
414
- metadata: any;
415
- }>;
416
- get(key: any): Promise<Uint8Array<any>>;
417
- getrange(key: any, start: number, end: any): Promise<Uint8Array<ArrayBuffer>>;
418
- head(key: any): Promise<any>;
419
- delete(key: any): Promise<void>;
420
- list(prefix: any): Promise<any>;
421
- };
422
- /**
423
- * local storage is explicit, temporary friendly, and protected against traversal.
424
- */
425
- export declare function localstorage(root: any): any;
426
- /**
427
- * storage pools combine caller-owned adapters without selecting a provider or creating background work.
428
- */
429
- /** Creates a deterministic pool over explicit caller-owned storage adapters. */
430
- export declare function storagepool(options?: {}): Readonly<{
431
- read: (key: any, options?: {}) => Promise<Readonly<{
432
- version: 1;
433
- key: string;
434
- memberid: any;
435
- data: Uint8Array<ArrayBufferLike>;
436
- sha256: string;
437
- verified: boolean;
438
- manifest: any;
439
- attempts: readonly any[];
440
- budget: Readonly<{
441
- maxattempts: number;
442
- maxbytes: number;
443
- maxmilliseconds: number;
444
- }>;
445
- readat: number;
446
- }>>;
447
- readrange: (key: any, start: any, end: any, options?: {}) => Promise<Readonly<{
448
- version: 1;
449
- key: string;
450
- range: Readonly<{
451
- start: number;
452
- end: number;
453
- }>;
454
- memberid: any;
455
- data: Uint8Array<ArrayBufferLike>;
456
- sha256: string;
457
- verified: boolean;
458
- attempts: readonly any[];
459
- budget: Readonly<{
460
- maxattempts: number;
461
- maxbytes: number;
462
- maxmilliseconds: number;
463
- }>;
464
- readat: number;
465
- }>>;
466
- put: (input?: {}, options?: {}) => Promise<Readonly<{
467
- version: 1;
468
- key: string;
469
- sha256: string;
470
- sizebytes: number;
471
- mode: any;
472
- quorum: number;
473
- state: "complete" | "partial";
474
- results: readonly any[];
475
- written: number;
476
- budget: Readonly<{
477
- maxattempts: number;
478
- maxbytes: number;
479
- maxmilliseconds: number;
480
- }>;
481
- writtenat: number;
482
- }>>;
483
- repairplan: (key: any, options?: {}) => Readonly<{
484
- version: 1;
485
- key: string;
486
- sourceid: string;
487
- sha256: string;
488
- targets: any;
489
- action: "caller-executes";
490
- }>;
491
- restoreplan: (key: any, options?: {}) => Readonly<{
492
- version: 1;
493
- key: string;
494
- sha256: string;
495
- action: "caller-restores";
496
- candidates: any;
497
- }>;
498
- members: () => Readonly<{
499
- id: any;
500
- priority: any;
501
- }>[];
502
- capabilities: () => {
503
- id: string;
504
- priority: number;
505
- capabilities: Readonly<{
506
- range: boolean;
507
- conditional: boolean;
508
- metadata: boolean;
509
- delete: boolean;
510
- }>;
511
- }[];
512
- metrics: () => {
513
- reads: number;
514
- writes: number;
515
- hits: number;
516
- misses: number;
517
- mismatches: number;
518
- bytes: number;
519
- attempts: number;
520
- elapsedms: number;
521
- };
522
- }>;
523
- /**
524
- * s3 compatible storage stays open by accepting a caller supplied signer.
525
- * List operations use the S3 ListObjectsV2 contract without owning credentials.
526
- */
527
- /** Creates an S3-compatible adapter with signed CRUD and paginated listing. */
528
- export declare function s3compatible(options?: {}): any;
529
- /**
530
- * github contents storage maps artifacts to repository files through an injected token.
531
- */
532
- export declare function githubcontents(options?: {}): any;
533
- /**
534
- * file hosting adapter accepts a caller supplied request function for s3compatible or webdav.
535
- */
536
- export declare function filehosting(options?: {}): any;
537
- /**
538
- * the schema descriptor is neutral so prisma drizzle mysql2 or another driver can map it.
539
- */
540
- export declare const schemadefinition: Readonly<{
541
- jobs: {
542
- id: string;
543
- name: string;
544
- status: string;
545
- priority: string;
546
- input: string;
547
- outputkey: string;
548
- createdat: string;
549
- updatedat: string;
550
- };
551
- events: {
552
- id: string;
553
- jobid: string;
554
- type: string;
555
- at: string;
556
- data: string;
557
- };
558
- sessions: {
559
- id: string;
560
- version: string;
561
- agentname: string;
562
- originurl: string;
563
- seed: string;
564
- status: string;
565
- startedat: string;
566
- finishedat: string;
567
- events: string;
568
- };
569
- artifacts: {
570
- key: string;
571
- sizebytes: string;
572
- sha256: string;
573
- contenttype: string;
574
- createdat: string;
575
- metadata: string;
576
- };
577
- chunks: {
578
- id: string;
579
- artifactkey: string;
580
- index: string;
581
- offset: string;
582
- sizebytes: string;
583
- sha256: string;
584
- storagekey: string;
585
- };
586
- queueitems: {
587
- id: string;
588
- status: string;
589
- attempts: string;
590
- payload: string;
591
- result: string;
592
- error: string;
593
- createdat: string;
594
- updatedat: string;
595
- };
596
- }>;
597
- export declare function schemasql(options?: {}): string[];
598
- export declare function prismaschema(): string;
599
- /**
600
- * persistence adapters keep database and remote state outside the runtime core.
601
- */
602
- export declare function persistenceadapter(methods: any): any;
603
- /**
604
- * memory persistence is the local baseline for tests and offline operation.
605
- */
606
- export declare function memorypersistence(): any;
607
- /**
608
- * sql persistence keeps query execution injected for mysql2 drizzle or another sql client.
609
- */
610
- export declare function sqlpersistence(options?: {}): any;
611
- export declare function mysql2persistence(pool: any, options?: {}): any;
612
- /**
613
- * drizzle persistence accepts a small repository object generated by the caller's schema.
614
- */
615
- export declare function drizzlepersistence(repository: any): any;
616
- /**
617
- * prisma persistence maps model delegates through an explicit model configuration.
618
- */
619
- export declare function prismapersistence(client: any, options?: {}): any;
620
- /**
621
- * migration plans stay neutral so Prisma, Drizzle, MySQL2, Turso, and another SQL driver can map them.
622
- */
623
- export declare const migrationlist: readonly {
624
- version: number;
625
- name: string;
626
- tables: string[];
627
- }[];
628
- /** Returns pending migration statements for a dialect. */
629
- export declare function migrationplan(options?: {
630
- current?: number;
631
- dialect?: string;
632
- }): {
633
- version: number;
634
- name: string;
635
- tables: string[];
636
- statements: string[];
637
- dialect: string;
638
- }[];
639
- /** Returns the latest schema version. */
640
- export declare function latestmigration(): number;