@wenathlan/saddle 2.0.154 → 2.0.159

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 (314) hide show
  1. package/Dockerfile +167 -1334
  2. package/README.md +59 -60
  3. package/biome.jsonc +3 -3
  4. package/browser.ts +482 -0
  5. package/cli.ts +274 -0
  6. package/distribution.ts +731 -0
  7. package/docker.config +29 -8
  8. package/docs/{architecture.1.8.19.mmd → architecture1819.md} +6 -0
  9. package/docs/artifactavailability.md +2 -2
  10. package/docs/browser.md +18 -1
  11. package/docs/{containerplatforms.2.1.0.md → containerplatforms210.md} +1 -1
  12. package/docs/{documentmap.1.8.12.md → documentmap1812.md} +1 -1
  13. package/docs/extension.md +13 -2
  14. package/docs/features.md +5 -0
  15. package/docs/libraryapi.md +1 -1
  16. package/docs/{ninety.modalities.md → ninetymodalities.md} +87 -4
  17. package/docs/{planning.ninety.md → planningninety.md} +6 -6
  18. package/docs/{releasenotes.1.8.13.md → releasenotes1813.md} +2 -2
  19. package/docs/{releasenotes.1.8.14.md → releasenotes1814.md} +1 -1
  20. package/docs/{repo.synthesis.1.8.16.md → reposynthesis1816.md} +1 -1
  21. package/docs/todo.md +2 -2
  22. package/docs/{todo.1.8.15.md → todo1815.md} +1 -1
  23. package/docs/{todo.1.8.16.md → todo1816.md} +5 -5
  24. package/execution.ts +677 -0
  25. package/foundation.ts +314 -0
  26. package/index.ts +36 -34
  27. package/isolation.ts +84 -0
  28. package/modalityregistry.ts +189 -145
  29. package/modes.ts +170 -0
  30. package/mttg.config +1 -1
  31. package/orchestrator.ts +49 -15
  32. package/package.json +105 -89
  33. package/qemu.config +2 -2
  34. package/sandbox.ts +3279 -0
  35. package/scheduler.ts +1 -1
  36. package/server.ts +52 -0
  37. package/tsconfig.json +12 -13
  38. package/virtual.ts +7528 -0
  39. package/workloadlaw.ts +293 -0
  40. package/dist/App.d.ts +0 -5
  41. package/dist/App.js +0 -52
  42. package/dist/Sol/Sol.d.ts +0 -3
  43. package/dist/Sol/Sol.js +0 -46
  44. package/dist/Sol/agentbrowser/agentbrowser.d.ts +0 -9
  45. package/dist/Sol/agentbrowser/agentbrowser.js +0 -121
  46. package/dist/Sol/architecture/architecture.d.ts +0 -9
  47. package/dist/Sol/architecture/architecture.js +0 -93
  48. package/dist/Sol/compute/compute.d.ts +0 -9
  49. package/dist/Sol/compute/compute.js +0 -22
  50. package/dist/Sol/console/console.d.ts +0 -15
  51. package/dist/Sol/console/console.js +0 -292
  52. package/dist/Sol/dashboard/dashboard.d.ts +0 -10
  53. package/dist/Sol/dashboard/dashboard.js +0 -181
  54. package/dist/Sol/docs/docs.d.ts +0 -9
  55. package/dist/Sol/docs/docs.js +0 -28
  56. package/dist/Sol/home/home.d.ts +0 -35
  57. package/dist/Sol/home/home.js +0 -239
  58. package/dist/Sol/integrations/integrations.d.ts +0 -9
  59. package/dist/Sol/integrations/integrations.js +0 -83
  60. package/dist/Sol/intro/intro.d.ts +0 -7
  61. package/dist/Sol/intro/intro.js +0 -102
  62. package/dist/Sol/login/login.d.ts +0 -16
  63. package/dist/Sol/login/login.js +0 -49
  64. package/dist/Sol/notfound/notfound.d.ts +0 -9
  65. package/dist/Sol/notfound/notfound.js +0 -15
  66. package/dist/Sol/onboarding/onboarding.d.ts +0 -25
  67. package/dist/Sol/onboarding/onboarding.js +0 -60
  68. package/dist/Sol/playground/playground.d.ts +0 -9
  69. package/dist/Sol/playground/playground.js +0 -127
  70. package/dist/Sol/register/register.d.ts +0 -16
  71. package/dist/Sol/register/register.js +0 -193
  72. package/dist/Sol/shell/Shell.d.ts +0 -124
  73. package/dist/Sol/shell/Shell.js +0 -335
  74. package/dist/Sol/wingets/ComputeBootladder.d.ts +0 -6
  75. package/dist/Sol/wingets/ComputeBootladder.js +0 -71
  76. package/dist/Sol/wingets/ComputeModalitycatalog.d.ts +0 -7
  77. package/dist/Sol/wingets/ComputeModalitycatalog.js +0 -71
  78. package/dist/Sol/wingets/ConsoleApibadge.d.ts +0 -7
  79. package/dist/Sol/wingets/ConsoleApibadge.js +0 -5
  80. package/dist/Sol/wingets/ConsoleEdgelaw.d.ts +0 -6
  81. package/dist/Sol/wingets/ConsoleEdgelaw.js +0 -36
  82. package/dist/Sol/wingets/ConsoleEventstimeline.d.ts +0 -19
  83. package/dist/Sol/wingets/ConsoleEventstimeline.js +0 -12
  84. package/dist/Sol/wingets/ConsoleSnapshotcontrols.d.ts +0 -8
  85. package/dist/Sol/wingets/ConsoleSnapshotcontrols.js +0 -8
  86. package/dist/Sol/wingets/ConsoleSpecpanel.d.ts +0 -21
  87. package/dist/Sol/wingets/ConsoleSpecpanel.js +0 -75
  88. package/dist/Sol/wingets/ConsoleTerminal.d.ts +0 -22
  89. package/dist/Sol/wingets/ConsoleTerminal.js +0 -77
  90. package/dist/Sol/wingets/DashboardAccountpanel.d.ts +0 -18
  91. package/dist/Sol/wingets/DashboardAccountpanel.js +0 -65
  92. package/dist/Sol/wingets/DashboardAdminpanel.d.ts +0 -6
  93. package/dist/Sol/wingets/DashboardAdminpanel.js +0 -90
  94. package/dist/Sol/wingets/DashboardAuditlog.d.ts +0 -8
  95. package/dist/Sol/wingets/DashboardAuditlog.js +0 -50
  96. package/dist/Sol/wingets/DashboardCreatesandboxform.d.ts +0 -10
  97. package/dist/Sol/wingets/DashboardCreatesandboxform.js +0 -71
  98. package/dist/Sol/wingets/DashboardEventstimeline.d.ts +0 -8
  99. package/dist/Sol/wingets/DashboardEventstimeline.js +0 -83
  100. package/dist/Sol/wingets/DashboardGlobalsandboxestable.d.ts +0 -8
  101. package/dist/Sol/wingets/DashboardGlobalsandboxestable.js +0 -57
  102. package/dist/Sol/wingets/DashboardMeshnodestable.d.ts +0 -8
  103. package/dist/Sol/wingets/DashboardMeshnodestable.js +0 -103
  104. package/dist/Sol/wingets/DashboardSandboxlist.d.ts +0 -10
  105. package/dist/Sol/wingets/DashboardSandboxlist.js +0 -163
  106. package/dist/Sol/wingets/DashboardUserstable.d.ts +0 -8
  107. package/dist/Sol/wingets/DashboardUserstable.js +0 -78
  108. package/dist/Sol/wingets/HomeEntrygate.d.ts +0 -23
  109. package/dist/Sol/wingets/HomeEntrygate.js +0 -73
  110. package/dist/Sol/wingets/HomeMetricstrip.d.ts +0 -9
  111. package/dist/Sol/wingets/HomeMetricstrip.js +0 -4
  112. package/dist/Sol/wingets/HomeRuntimediagram.d.ts +0 -1
  113. package/dist/Sol/wingets/HomeRuntimediagram.js +0 -22
  114. package/dist/Sol/wingets/LoginForm.d.ts +0 -19
  115. package/dist/Sol/wingets/LoginForm.js +0 -141
  116. package/dist/Sol/wingets/RegisterPasswordconfirm.d.ts +0 -13
  117. package/dist/Sol/wingets/RegisterPasswordconfirm.js +0 -16
  118. package/dist/Sol/wingets/RegisterPasswordmeter.d.ts +0 -19
  119. package/dist/Sol/wingets/RegisterPasswordmeter.js +0 -65
  120. package/dist/Sol/wingets/RegisterUsernamerules.d.ts +0 -11
  121. package/dist/Sol/wingets/RegisterUsernamerules.js +0 -16
  122. package/dist/Sol/wingets/index.d.ts +0 -39
  123. package/dist/Sol/wingets/index.js +0 -39
  124. package/dist/alternatives.d.ts +0 -508
  125. package/dist/alternatives.js +0 -950
  126. package/dist/api.d.ts +0 -154
  127. package/dist/api.js +0 -174
  128. package/dist/auth.d.ts +0 -268
  129. package/dist/auth.js +0 -476
  130. package/dist/automation.d.ts +0 -425
  131. package/dist/automation.js +0 -566
  132. package/dist/browser.d.ts +0 -561
  133. package/dist/browser.js +0 -1058
  134. package/dist/capacitor.config.d.ts +0 -45
  135. package/dist/capacitor.config.js +0 -48
  136. package/dist/catalog.d.ts +0 -43
  137. package/dist/catalog.js +0 -44
  138. package/dist/cli.d.ts +0 -16
  139. package/dist/cli.js +0 -168
  140. package/dist/communication.d.ts +0 -181
  141. package/dist/communication.js +0 -376
  142. package/dist/compute.d.ts +0 -1160
  143. package/dist/compute.js +0 -2272
  144. package/dist/dashboardlib.d.ts +0 -58
  145. package/dist/dashboardlib.js +0 -161
  146. package/dist/db.d.ts +0 -569
  147. package/dist/db.js +0 -1080
  148. package/dist/distribution.d.ts +0 -528
  149. package/dist/distribution.js +0 -810
  150. package/dist/drizzle.config.d.ts +0 -20
  151. package/dist/drizzle.config.js +0 -18
  152. package/dist/edgelandes.d.ts +0 -70
  153. package/dist/edgelandes.host.d.ts +0 -26
  154. package/dist/edgelandes.host.js +0 -1089
  155. package/dist/edgelandes.inproc.d.ts +0 -27
  156. package/dist/edgelandes.inproc.js +0 -952
  157. package/dist/edgelandes.js +0 -1133
  158. package/dist/edgelandes.ninety.d.ts +0 -31
  159. package/dist/edgelandes.ninety.js +0 -174
  160. package/dist/edgelandes.virtual.d.ts +0 -25
  161. package/dist/edgelandes.virtual.js +0 -629
  162. package/dist/edgeplane.d.ts +0 -121
  163. package/dist/edgeplane.js +0 -341
  164. package/dist/examplelocaljob.d.ts +0 -1
  165. package/dist/examplelocaljob.js +0 -14
  166. package/dist/execution.d.ts +0 -529
  167. package/dist/execution.js +0 -760
  168. package/dist/family.d.ts +0 -16
  169. package/dist/family.js +0 -42
  170. package/dist/familyurl.d.ts +0 -21
  171. package/dist/familyurl.js +0 -24
  172. package/dist/format.d.ts +0 -18
  173. package/dist/format.js +0 -59
  174. package/dist/foundation.d.ts +0 -172
  175. package/dist/foundation.js +0 -312
  176. package/dist/index.d.ts +0 -735
  177. package/dist/index.js +0 -1020
  178. package/dist/integration.d.ts +0 -235
  179. package/dist/integration.js +0 -228
  180. package/dist/intelligence.d.ts +0 -93
  181. package/dist/intelligence.js +0 -144
  182. package/dist/isolation.d.ts +0 -128
  183. package/dist/isolation.js +0 -95
  184. package/dist/labels.d.ts +0 -665
  185. package/dist/labels.js +0 -707
  186. package/dist/localauth.d.ts +0 -127
  187. package/dist/localauth.js +0 -413
  188. package/dist/media.d.ts +0 -343
  189. package/dist/media.js +0 -985
  190. package/dist/mesh.d.ts +0 -177
  191. package/dist/mesh.js +0 -468
  192. package/dist/modalityregistry.d.ts +0 -109
  193. package/dist/modalityregistry.js +0 -1386
  194. package/dist/modes.d.ts +0 -358
  195. package/dist/modes.js +0 -133
  196. package/dist/onboardingstate.d.ts +0 -79
  197. package/dist/onboardingstate.js +0 -282
  198. package/dist/orchestrator.d.ts +0 -1338
  199. package/dist/orchestrator.js +0 -4310
  200. package/dist/packager/targetcli.js +0 -4
  201. package/dist/paths.d.ts +0 -2
  202. package/dist/paths.js +0 -14
  203. package/dist/performance.d.ts +0 -415
  204. package/dist/performance.js +0 -826
  205. package/dist/quantum.d.ts +0 -809
  206. package/dist/quantum.js +0 -2072
  207. package/dist/render.d.ts +0 -380
  208. package/dist/render.js +0 -1072
  209. package/dist/runall.d.ts +0 -2
  210. package/dist/runall.js +0 -39
  211. package/dist/runtimeprobe.d.ts +0 -4
  212. package/dist/runtimeprobe.js +0 -8
  213. package/dist/sandbox.d.ts +0 -355
  214. package/dist/sandbox.js +0 -1721
  215. package/dist/sandboxenvprofile.d.ts +0 -29
  216. package/dist/sandboxenvprofile.js +0 -89
  217. package/dist/sandboxprofile.d.ts +0 -137
  218. package/dist/sandboxprofile.js +0 -241
  219. package/dist/sandboxqueue.d.ts +0 -108
  220. package/dist/sandboxqueue.js +0 -201
  221. package/dist/sandboxquota.d.ts +0 -121
  222. package/dist/sandboxquota.js +0 -236
  223. package/dist/scheduler.d.ts +0 -595
  224. package/dist/scheduler.js +0 -1258
  225. package/dist/scriptlanes.d.ts +0 -182
  226. package/dist/scriptlanes.js +0 -660
  227. package/dist/scripts.buildengine.d.ts +0 -1
  228. package/dist/scripts.buildengine.js +0 -39
  229. package/dist/scripts.securitygate.d.ts +0 -1
  230. package/dist/scripts.securitygate.js +0 -68
  231. package/dist/scripts.validateflatnative.d.ts +0 -1
  232. package/dist/scripts.validateflatnative.js +0 -72
  233. package/dist/security.d.ts +0 -500
  234. package/dist/security.js +0 -1169
  235. package/dist/seedcatalog.d.ts +0 -13
  236. package/dist/seedcatalog.js +0 -46
  237. package/dist/server.d.ts +0 -20
  238. package/dist/server.js +0 -53
  239. package/dist/speccatalog.d.ts +0 -31
  240. package/dist/speccatalog.js +0 -163
  241. package/dist/tiers.d.ts +0 -1001
  242. package/dist/tiers.js +0 -2169
  243. package/dist/utils.d.ts +0 -2
  244. package/dist/utils.js +0 -5
  245. package/dist/vaulthandoff.d.ts +0 -141
  246. package/dist/vaulthandoff.js +0 -444
  247. package/dist/virtual.d.ts +0 -640
  248. package/dist/virtual.js +0 -1284
  249. package/dist/virtualcpu.d.ts +0 -315
  250. package/dist/virtualcpu.js +0 -1180
  251. package/dist/virtualgpu.d.ts +0 -344
  252. package/dist/virtualgpu.js +0 -1000
  253. package/dist/virtualization.d.ts +0 -606
  254. package/dist/virtualization.js +0 -1186
  255. package/dist/virtualmemory.d.ts +0 -817
  256. package/dist/virtualmemory.js +0 -1795
  257. package/dist/vite.config.d.ts +0 -3
  258. package/dist/vite.config.js +0 -48
  259. package/dist/vitest.config.d.ts +0 -2
  260. package/dist/vitest.config.js +0 -25
  261. package/dist/webserver.d.ts +0 -166
  262. package/dist/webserver.js +0 -2226
  263. package/dist/workloadlaw.d.ts +0 -133
  264. package/dist/workloadlaw.js +0 -193
  265. package/docs/.gitkeep +0 -0
  266. package/docs/architecture.1.8.19.md +0 -76
  267. package/docs/logs/examplesession.json +0 -54
  268. package/docs/repo.analysis.1.8.21.json +0 -2617
  269. package/docs/repo.candidates.1.8.21.jsonl +0 -666
  270. package/docs/repo.selected.1.8.21.json +0 -786
  271. package/manifest.json +0 -20
  272. package/media.ts +0 -1337
  273. package/virtualcpu.ts +0 -1274
  274. package/virtualgpu.ts +0 -1182
  275. package/virtualization.ts +0 -1628
  276. package/virtualmemory.ts +0 -2303
  277. /package/docs/{artifactresearch.1.8.9.md → artifactresearch189.md} +0 -0
  278. /package/docs/{batches.1816.to.1820.md → batches1816to1820.md} +0 -0
  279. /package/docs/{brancharchive.2026.08.18.md → brancharchive20260818.md} +0 -0
  280. /package/docs/{containerplatforms.1.8.17.md → containerplatforms1817.md} +0 -0
  281. /package/docs/{e2ugh.engine.md → e2ughengine.md} +0 -0
  282. /package/docs/{flatbuildresearch.1.8.11.md → flatbuildresearch1811.md} +0 -0
  283. /package/docs/{licenseaudit.1.8.12.md → licenseaudit1812.md} +0 -0
  284. /package/docs/{mobileconversionresearch.1.8.10.md → mobileconversionresearch1810.md} +0 -0
  285. /package/docs/{nativeidentityresearch.1.8.11.md → nativeidentityresearch1811.md} +0 -0
  286. /package/docs/{native.wrappers.md → nativewrappers.md} +0 -0
  287. /package/docs/{planning.1.8.18.md → planning1818.md} +0 -0
  288. /package/docs/{planning.1.8.19.md → planning1819.md} +0 -0
  289. /package/docs/{planning.engine.md → planningengine.md} +0 -0
  290. /package/docs/{releasenotes.1.8.12.md → releasenotes1812.md} +0 -0
  291. /package/docs/{releasenotes.1.8.15.md → releasenotes1815.md} +0 -0
  292. /package/docs/{releasenotes.1.8.16.md → releasenotes1816.md} +0 -0
  293. /package/docs/{releasenotes.1.8.17.md → releasenotes1817.md} +0 -0
  294. /package/docs/{releasenotes.1.8.18.md → releasenotes1818.md} +0 -0
  295. /package/docs/{releasenotes.1.8.19.md → releasenotes1819.md} +0 -0
  296. /package/docs/{reorganization.1.8.8.md → reorganization188.md} +0 -0
  297. /package/docs/{reorganization.1.8.9.md → reorganization189.md} +0 -0
  298. /package/docs/{repo.research.1.8.16.md → reporesearch1816.md} +0 -0
  299. /package/docs/{repo.research.1.8.21.md → reporesearch1821.md} +0 -0
  300. /package/docs/{repo.synthesis.1.8.21.md → reposynthesis1821.md} +0 -0
  301. /package/docs/{research.1.8.18.isolation.md → research1818isolation.md} +0 -0
  302. /package/docs/{research.1.8.19.virtual.browser.md → research1819virtualbrowser.md} +0 -0
  303. /package/docs/{scanningresearch.1.8.11.md → scanningresearch1811.md} +0 -0
  304. /package/docs/{securityaudit.1.8.7.md → securityaudit187.md} +0 -0
  305. /package/docs/{securityreferences.1.8.11.md → securityreferences1811.md} +0 -0
  306. /package/docs/{securityresearch.1.8.11.md → securityresearch1811.md} +0 -0
  307. /package/docs/{signingresearch.1.8.12.md → signingresearch1812.md} +0 -0
  308. /package/docs/{tauri.glib.risk.1.8.11.md → tauriglibrisk1811.md} +0 -0
  309. /package/docs/{todo.1.8.18.md → todo1818.md} +0 -0
  310. /package/docs/{todo.1.8.19.md → todo1819.md} +0 -0
  311. /package/docs/{toolchainresearch.1.8.9.md → toolchainresearch189.md} +0 -0
  312. /package/docs/{web.duplicatecleanup.md → webduplicatecleanup.md} +0 -0
  313. /package/docs/{web.ideas.md → webideas.md} +0 -0
  314. /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;