akanjs 3.0.0-beta.2 → 3.0.0-beta.21

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 (1940) hide show
  1. package/README.ko.md +0 -1
  2. package/README.md +0 -1
  3. package/base/base.ts +6 -11
  4. package/base/baseEnv.ts +57 -14
  5. package/base/databaseModes.ts +75 -0
  6. package/base/index.ts +1 -0
  7. package/base/primitiveRegistry.ts +38 -47
  8. package/base/symbols.ts +1 -1
  9. package/base/types.ts +1 -1
  10. package/base/utils.ts +3 -6
  11. package/client/cn.ts +3 -13
  12. package/client/cookie.ts +61 -34
  13. package/client/createFont.ts +0 -2
  14. package/client/csrTypes.ts +6 -59
  15. package/client/decorators.ts +1 -1
  16. package/client/device.ts +85 -125
  17. package/client/frameConfig.ts +17 -28
  18. package/client/index.ts +0 -1
  19. package/client/makePageProto.tsx +3 -4
  20. package/client/native.ts +44 -0
  21. package/client/route/RootLayoutDefinition.ts +0 -6
  22. package/client/route/RouteDefinition.ts +5 -30
  23. package/client/route/resolveRouteModule.ts +1 -5
  24. package/client/router.ts +46 -40
  25. package/client/rscNavigation.ts +9 -5
  26. package/client/sharedContext.ts +2 -19
  27. package/client/storage.ts +66 -46
  28. package/client/translator.ts +5 -6
  29. package/client/types.ts +0 -3
  30. package/common/CodeAgentClient.ts +91 -0
  31. package/common/CodeTranscript.ts +325 -0
  32. package/common/Logger.ts +9 -34
  33. package/common/TrustedProxy.ts +6 -34
  34. package/common/applyMixins.ts +13 -2
  35. package/common/authToken.ts +0 -11
  36. package/common/capitalize.ts +3 -4
  37. package/common/clamp.ts +0 -1
  38. package/common/clientAddress.ts +1 -15
  39. package/common/codeAgentProfile.ts +181 -0
  40. package/common/codeAgentWire.ts +305 -0
  41. package/common/eventStream.ts +88 -0
  42. package/common/fileUpload.ts +1 -12
  43. package/common/formatNumber.ts +3 -12
  44. package/common/index.ts +104 -19
  45. package/common/interpolateTranslation.ts +1 -6
  46. package/common/isEmail.ts +0 -1
  47. package/common/isRecord.ts +2 -0
  48. package/common/isThenable.ts +1 -8
  49. package/common/isValidDate.ts +3 -5
  50. package/common/logContext.ts +1 -1
  51. package/common/markdownBlocks.ts +134 -0
  52. package/common/markdownSpans.ts +47 -0
  53. package/common/markdownTable.ts +50 -0
  54. package/common/mcpExposure.ts +4 -27
  55. package/common/objectPath.ts +67 -0
  56. package/common/objectify.ts +52 -0
  57. package/common/phone.ts +14 -0
  58. package/common/randomPick.ts +13 -0
  59. package/common/requestOrigin.ts +0 -17
  60. package/common/restClient.ts +8 -13
  61. package/common/round.ts +4 -0
  62. package/common/routeConvention.ts +21 -14
  63. package/common/sleep.ts +1 -8
  64. package/common/subRoute.ts +4 -7
  65. package/common/toError.ts +1 -0
  66. package/common/tunnelWire.ts +263 -0
  67. package/common/types.ts +6 -7
  68. package/common/version.ts +8 -0
  69. package/common/websocketContract.ts +80 -0
  70. package/constant/cascadePaths.ts +6 -9
  71. package/constant/constantRegistry.ts +21 -57
  72. package/constant/crystalize.ts +2 -12
  73. package/constant/dateSlot.ts +0 -15
  74. package/constant/fieldInfo.ts +30 -109
  75. package/constant/fieldQueryMeta.ts +2 -10
  76. package/constant/getDefault.ts +16 -8
  77. package/constant/hydrationPlan.ts +1 -9
  78. package/constant/index.ts +0 -1
  79. package/constant/labelOf.ts +1 -6
  80. package/constant/mask.ts +36 -38
  81. package/constant/purify.ts +6 -14
  82. package/constant/serialize.ts +82 -5
  83. package/constant/textFieldPaths.ts +2 -3
  84. package/constant/types.ts +2 -6
  85. package/constant/via.ts +20 -60
  86. package/dictionary/DictionaryLookup.ts +1 -7
  87. package/dictionary/agent.dictionary.ts +43 -11
  88. package/dictionary/base.dictionary.ts +11 -0
  89. package/dictionary/dictInfo.ts +145 -626
  90. package/dictionary/dictShape.ts +54 -0
  91. package/dictionary/dictionary.ts +1 -2
  92. package/dictionary/dictionaryRegistry.ts +7 -28
  93. package/dictionary/locale.ts +24 -116
  94. package/dictionary/trans.ts +18 -56
  95. package/document/dataLoader.ts +77 -78
  96. package/document/database.ts +52 -56
  97. package/document/documentQuery.ts +32 -32
  98. package/document/documentSchema.ts +21 -26
  99. package/document/filterMeta.ts +11 -31
  100. package/document/index.ts +0 -1
  101. package/document/into.ts +8 -18
  102. package/document/loaderInfo.ts +28 -7
  103. package/document/noDocumentError.ts +2 -7
  104. package/document/queryEvaluator.ts +21 -43
  105. package/document/types.ts +0 -1
  106. package/fetch/client/fetchClient.ts +78 -108
  107. package/fetch/client/fetchHandle.ts +4 -12
  108. package/fetch/client/httpClient.ts +35 -68
  109. package/fetch/client/remoteError.ts +2 -8
  110. package/fetch/client/sliceInitHandle.ts +3 -6
  111. package/fetch/client/sliceQueryArgs.ts +11 -0
  112. package/fetch/client/wsClient.ts +75 -64
  113. package/fetch/fetchType/appliedReturn.type.ts +5 -24
  114. package/fetch/fetchType/buildFetch.type.ts +28 -1
  115. package/fetch/fetchType/index.ts +0 -1
  116. package/fetch/requestStorage.ts +7 -28
  117. package/fetch/types.ts +0 -1
  118. package/index.ts +77 -109
  119. package/package.json +24 -91
  120. package/server/akanApp.ts +138 -289
  121. package/server/akanAppHeaders.ts +2 -3
  122. package/server/akanOption.ts +25 -27
  123. package/server/akanServer.ts +98 -219
  124. package/server/animatedImage.ts +2 -11
  125. package/server/artifact/builderRpc.ts +24 -64
  126. package/server/artifact/index.ts +0 -1
  127. package/server/artifact/ipcTypes.ts +27 -30
  128. package/server/artifact/routeClientCache.ts +18 -37
  129. package/server/artifact/routeSeedIndexStore.ts +2 -35
  130. package/server/artifact/routesManifestStore.ts +13 -38
  131. package/server/binaryPubsub.ts +0 -9
  132. package/server/cachePolicy.ts +10 -44
  133. package/server/console.ts +12 -16
  134. package/server/consoleSession.ts +55 -12
  135. package/server/contentEncoding.ts +42 -27
  136. package/server/decorators.ts +4 -70
  137. package/server/devtools/constantSerializer.ts +2 -14
  138. package/server/devtools/depsSerializer.ts +14 -46
  139. package/server/devtools/devtoolsJson.ts +6 -18
  140. package/server/devtools/devtoolsRouter.ts +2 -12
  141. package/server/devtools/signalSerializer.ts +4 -44
  142. package/server/devtools/types.ts +0 -12
  143. package/server/di/diLifecycle.ts +141 -221
  144. package/server/di/predefinedAdaptor.ts +11 -5
  145. package/server/di/resolveHierarchy.ts +114 -5
  146. package/server/di/utils.ts +13 -29
  147. package/server/head.tsx +53 -0
  148. package/server/hmr/clientScript.ts +2 -8
  149. package/server/hmr/devHmrController.ts +55 -41
  150. package/server/hmr/wsHub.ts +9 -7
  151. package/server/imageOptimizer.ts +5 -26
  152. package/server/index.ts +1 -1
  153. package/server/lifecycle/portInUse.ts +1 -4
  154. package/server/lifecycle/runtimeDir.ts +0 -4
  155. package/server/lifecycle/shutdownManager.ts +4 -29
  156. package/server/logging/childOutputReader.ts +0 -12
  157. package/server/logging/hubFileSink.ts +10 -6
  158. package/server/logging/logControlSocket.ts +13 -7
  159. package/server/logging/logForwarder.ts +19 -22
  160. package/server/logging/logHub.ts +0 -0
  161. package/server/logging/logQuery.ts +4 -7
  162. package/server/logging/logStdoutWriter.ts +1 -11
  163. package/server/logging/logStreamRoute.ts +4 -21
  164. package/server/logging/logTailClient.ts +1 -8
  165. package/server/logging/rotatingLogWriter.ts +4 -6
  166. package/server/mcp/McpAuth.ts +5 -79
  167. package/server/mcp/McpDispatcher.ts +13 -90
  168. package/server/mcp/McpEventStream.ts +2 -12
  169. package/server/mcp/McpExecutionContext.ts +1 -42
  170. package/server/mcp/McpRateLimiter.ts +61 -30
  171. package/server/mcp/McpRouter.ts +49 -208
  172. package/server/mcp/PagePromptComposer.ts +7 -29
  173. package/server/memoryLimit.ts +1 -13
  174. package/server/oauth/OAuthAuthorize.ts +3 -7
  175. package/server/oauth/OAuthClientIdMetadata.ts +2 -27
  176. package/server/oauth/OAuthErrors.ts +0 -13
  177. package/server/oauth/OAuthMetadata.ts +1 -7
  178. package/server/oauth/OAuthPkce.ts +0 -2
  179. package/server/oauth/OAuthRedirect.ts +0 -9
  180. package/server/oauth/OAuthRegistration.ts +0 -2
  181. package/server/oauth/OAuthRevocation.ts +1 -11
  182. package/server/oauth/OAuthToken.ts +3 -14
  183. package/server/oauth/oauthTypes.ts +1 -2
  184. package/server/ops/ageEncryption.ts +317 -0
  185. package/server/ops/appInfo.ts +92 -0
  186. package/server/ops/opsCommand.ts +116 -0
  187. package/server/ops/opsRoute.ts +151 -0
  188. package/server/ops/opsToken.ts +93 -0
  189. package/server/ops/snapshotJobs.ts +133 -0
  190. package/server/ops/snapshotRestore.ts +118 -0
  191. package/server/ops/snapshotTypes.ts +52 -0
  192. package/server/ops/sqliteFiles.ts +20 -0
  193. package/server/ops/sqliteSnapshot.ts +149 -0
  194. package/server/processMetricsCollector.ts +12 -14
  195. package/server/proxy/hostBasePathWebProxy.ts +20 -13
  196. package/server/proxy/index.ts +2 -3
  197. package/server/proxy/localeWebProxy.ts +3 -17
  198. package/server/proxy/types.ts +14 -0
  199. package/server/proxy/webProxyRunner.ts +13 -1
  200. package/server/resolver/CascadeRunner.ts +7 -23
  201. package/server/resolver/database.resolver.ts +57 -123
  202. package/server/resolver/service.resolver.ts +9 -161
  203. package/server/resolver/signal.resolver.ts +72 -106
  204. package/server/routeElementComposer.tsx +23 -52
  205. package/server/routeState.ts +15 -34
  206. package/server/routeTreeBuilder.ts +32 -94
  207. package/server/routing/apiRouter.ts +31 -50
  208. package/server/routing/appWsData.ts +4 -28
  209. package/server/routing/soloAppRoutes.ts +5 -5
  210. package/server/rscClient.tsx +32 -39
  211. package/server/rscClientFetch.ts +7 -3
  212. package/server/rscClientPatch.ts +4 -25
  213. package/server/rscHttp.ts +1 -1
  214. package/server/rscNavigationState.ts +10 -25
  215. package/server/rscPagePrompts.ts +4 -24
  216. package/server/rscSegmentOutlet.tsx +1 -5
  217. package/server/rscWorker.tsx +146 -285
  218. package/server/rscWorkerCache.ts +74 -8
  219. package/server/rscWorkerHost.ts +45 -192
  220. package/server/semaphore.ts +1 -1
  221. package/server/sitemap.ts +1 -3
  222. package/server/ssrFromRscRenderer.tsx +33 -124
  223. package/server/ssrTypes.ts +3 -29
  224. package/server/staticPath.ts +0 -16
  225. package/server/systemPageDocument.tsx +65 -2
  226. package/server/systemPages.tsx +4 -2
  227. package/server/tunnel/TunnelAgent.ts +237 -0
  228. package/server/tunnel/TunnelDataSocket.ts +146 -0
  229. package/server/tunnel/TunnelHttpStream.ts +86 -0
  230. package/server/tunnel/TunnelTcpStream.ts +96 -0
  231. package/server/tunnel/TunnelWebsocketStream.ts +110 -0
  232. package/server/tunnel/index.ts +6 -0
  233. package/server/tunnel/tunnelStream.ts +32 -0
  234. package/server/types.tsx +2 -9
  235. package/server/webRouter.ts +89 -306
  236. package/service/agent.service.ts +66 -35
  237. package/service/injectInfo.ts +106 -75
  238. package/service/ipcTypes.ts +4 -1
  239. package/service/liveSyncHub.ts +4 -34
  240. package/service/predefinedAdaptor/anthropicLlm.ts +65 -75
  241. package/service/predefinedAdaptor/cache.adaptor.ts +257 -75
  242. package/service/predefinedAdaptor/database.adaptor.ts +366 -108
  243. package/service/predefinedAdaptor/documentTransfer.ts +89 -0
  244. package/service/predefinedAdaptor/index.ts +2 -1
  245. package/service/predefinedAdaptor/insightQuery.ts +89 -79
  246. package/service/predefinedAdaptor/llm.adaptor.ts +64 -54
  247. package/service/predefinedAdaptor/llmOverflow.ts +63 -0
  248. package/service/predefinedAdaptor/openaiDialect.ts +56 -64
  249. package/service/predefinedAdaptor/openaiLlm.ts +24 -27
  250. package/service/predefinedAdaptor/queue.adaptor.ts +41 -22
  251. package/service/predefinedAdaptor/schedule.adaptor.ts +69 -9
  252. package/service/predefinedAdaptor/searchIndex.ts +76 -325
  253. package/service/predefinedAdaptor/solidCache.adaptor.ts +135 -12
  254. package/service/predefinedAdaptor/solidPubsub.adaptor.ts +28 -16
  255. package/service/predefinedAdaptor/solidQueue.adaptor.ts +61 -10
  256. package/service/predefinedAdaptor/solidSqlite.ts +10 -16
  257. package/service/predefinedAdaptor/sql/PendingStoreEnsures.ts +1 -0
  258. package/service/predefinedAdaptor/sql/PostgresInsightSession.ts +113 -0
  259. package/service/predefinedAdaptor/sql/QueryCompiler.ts +50 -30
  260. package/service/predefinedAdaptor/sql/SqlDocumentStore.ts +290 -138
  261. package/service/predefinedAdaptor/sql/SqliteInsightSession.ts +85 -0
  262. package/service/predefinedAdaptor/sql/UpdateCompiler.ts +1 -7
  263. package/service/predefinedAdaptor/sql/dialect/postgres.ts +138 -53
  264. package/service/predefinedAdaptor/sql/dialect/sqlite.ts +18 -15
  265. package/service/predefinedAdaptor/sql/driver/bunSqlite.ts +31 -4
  266. package/service/predefinedAdaptor/sql/driver/libsql.ts +20 -12
  267. package/service/predefinedAdaptor/sql/driver/postgres.ts +13 -7
  268. package/service/predefinedAdaptor/sql/search/fts5.ts +249 -0
  269. package/service/predefinedAdaptor/sql/search/mirror.ts +76 -0
  270. package/service/predefinedAdaptor/sql/search/postgres.ts +453 -0
  271. package/service/predefinedAdaptor/sql/search/types.ts +50 -0
  272. package/service/predefinedAdaptor/sql/types.ts +76 -17
  273. package/service/predefinedAdaptor/sql/values.ts +40 -2
  274. package/service/predefinedAdaptor/sqlitePath.ts +12 -0
  275. package/service/predefinedAdaptor/sseData.ts +23 -0
  276. package/service/predefinedAdaptor/storage.adaptor.ts +19 -7
  277. package/service/predefinedAdaptor/websocket.adaptor.ts +154 -184
  278. package/service/serve.ts +1 -2
  279. package/service/serviceModule.ts +52 -70
  280. package/service/toolNames.ts +5 -22
  281. package/service/types.ts +3 -9
  282. package/signal/CrossSiteGuard.ts +39 -42
  283. package/signal/SignalFailure.ts +2 -15
  284. package/signal/agent/AgentCatalogue.ts +9 -55
  285. package/signal/agent.signal.ts +9 -6
  286. package/signal/agentMeter.ts +45 -0
  287. package/signal/agentTurnStream.ts +48 -46
  288. package/signal/endpoint.ts +23 -8
  289. package/signal/endpointCache.ts +59 -0
  290. package/signal/endpointInfo.ts +26 -27
  291. package/signal/exception.ts +3 -34
  292. package/signal/guard.ts +4 -21
  293. package/signal/guards.ts +2 -10
  294. package/signal/index.ts +1 -0
  295. package/signal/internal.ts +12 -12
  296. package/signal/internalArg.ts +10 -13
  297. package/signal/internalInfo.ts +1 -1
  298. package/signal/mcp/McpDocument.ts +21 -90
  299. package/signal/mcp/McpProgress.ts +6 -19
  300. package/signal/mcp/McpUriTemplate.ts +1 -27
  301. package/signal/mcp/Msg.ts +13 -122
  302. package/signal/mcp/mcpProtocol.ts +3 -26
  303. package/signal/mcp/pagePrompt.ts +3 -9
  304. package/signal/middleware.ts +15 -65
  305. package/signal/openapi/openapi.ts +0 -4
  306. package/signal/schema/JsonSchemaBuilder.ts +32 -46
  307. package/signal/serializer/fetch.serializer.ts +42 -45
  308. package/signal/serverSignal.ts +6 -8
  309. package/signal/signalContext.ts +70 -161
  310. package/signal/signalRegistry.ts +11 -17
  311. package/signal/slice.ts +40 -36
  312. package/signal/sliceInfo.ts +5 -30
  313. package/signal/trace.ts +11 -84
  314. package/signal/types.ts +27 -57
  315. package/store/SliceRequest.ts +1 -11
  316. package/store/action.ts +153 -395
  317. package/store/actionTag.ts +1 -10
  318. package/store/agent/AgentBridge.ts +3 -25
  319. package/store/agent/AgentContext.ts +2 -9
  320. package/store/agent/AgentCursor.ts +160 -0
  321. package/store/agent/AgentPrompts.ts +0 -15
  322. package/store/agent/AgentVisual.ts +152 -0
  323. package/store/agent/ScreenFlash.ts +67 -0
  324. package/store/agent/ScreenReader.ts +3 -52
  325. package/store/agent/ScreenSettle.ts +1 -13
  326. package/store/agent/ScreenTarget.ts +15 -32
  327. package/store/agent/StoreCatalogue.ts +12 -24
  328. package/store/agent/StoreSurfaceSource.ts +35 -65
  329. package/store/agent/index.ts +4 -4
  330. package/store/agentic/AgentValue.ts +9 -26
  331. package/store/agentic/StExposeBuilder.ts +3 -12
  332. package/store/agentic/StExposeDraft.ts +0 -6
  333. package/store/agentic/StStateBuilder.ts +3 -11
  334. package/store/agentic/StStateDraft.ts +0 -5
  335. package/store/agentic/StToolBuilder.ts +48 -41
  336. package/store/agentic/StToolDraft.ts +0 -7
  337. package/store/agentic/attachAgentic.ts +2 -10
  338. package/store/agentic/formFields.ts +8 -42
  339. package/store/agentic/index.ts +1 -1
  340. package/store/agentic/useAgentReference.ts +31 -0
  341. package/store/agentic/useFieldTool.ts +176 -58
  342. package/store/agentic/useFormTools.ts +4 -21
  343. package/store/agentic/useRelationFieldTool.ts +2 -15
  344. package/store/baseSt.ts +0 -1
  345. package/store/databaseStateNames.ts +0 -9
  346. package/store/draftStore.ts +4 -54
  347. package/store/formSetterNames.ts +2 -19
  348. package/store/hooks.ts +1 -1
  349. package/store/liveInsert.ts +1 -30
  350. package/store/sliceKeys.ts +37 -0
  351. package/store/sliceRole.ts +1 -10
  352. package/store/state.ts +4 -50
  353. package/store/stateBuilder.ts +1 -23
  354. package/store/storeInstance.ts +50 -131
  355. package/store/storeRegistry.ts +1 -8
  356. package/store/types.ts +1 -1
  357. package/test/conformance.ts +299 -0
  358. package/test/index.ts +2 -2
  359. package/test/sampleOf.ts +52 -28
  360. package/test/signalTestRuntime.ts +6 -10
  361. package/test/testServer.ts +66 -31
  362. package/types/base/base.d.ts +2 -3
  363. package/types/base/baseEnv.d.ts +7 -10
  364. package/types/base/databaseModes.d.ts +28 -0
  365. package/types/base/index.d.ts +1 -0
  366. package/types/base/primitiveRegistry.d.ts +23 -10
  367. package/types/base/symbols.d.ts +1 -1
  368. package/types/client/cn.d.ts +3 -13
  369. package/types/client/cookie.d.ts +8 -15
  370. package/types/client/csrTypes.d.ts +6 -57
  371. package/types/client/decorators.d.ts +1 -1
  372. package/types/client/device.d.ts +9 -11
  373. package/types/client/index.d.ts +0 -1
  374. package/types/client/native.d.ts +26 -0
  375. package/types/client/route/RootLayoutDefinition.d.ts +0 -1
  376. package/types/client/route/RouteDefinition.d.ts +4 -16
  377. package/types/client/route/resolveRouteModule.d.ts +1 -5
  378. package/types/client/router.d.ts +8 -4
  379. package/types/client/rscNavigation.d.ts +8 -5
  380. package/types/client/sharedContext.d.ts +2 -19
  381. package/types/client/storage.d.ts +9 -2
  382. package/types/client/types.d.ts +0 -3
  383. package/types/common/CodeAgentClient.d.ts +20 -0
  384. package/types/common/CodeTranscript.d.ts +72 -0
  385. package/types/common/Logger.d.ts +4 -20
  386. package/types/common/TrustedProxy.d.ts +2 -28
  387. package/types/common/applyMixins.d.ts +3 -0
  388. package/types/common/authToken.d.ts +0 -11
  389. package/types/common/capitalize.d.ts +1 -1
  390. package/types/common/clamp.d.ts +0 -1
  391. package/types/common/clientAddress.d.ts +1 -15
  392. package/types/common/codeAgentProfile.d.ts +115 -0
  393. package/types/common/codeAgentWire.d.ts +279 -0
  394. package/types/common/eventStream.d.ts +18 -0
  395. package/types/common/fileUpload.d.ts +6 -11
  396. package/types/common/index.d.ts +20 -19
  397. package/types/common/interpolateTranslation.d.ts +1 -6
  398. package/types/common/isEmail.d.ts +0 -1
  399. package/types/common/isRecord.d.ts +1 -0
  400. package/types/common/isThenable.d.ts +0 -8
  401. package/types/common/logContext.d.ts +1 -1
  402. package/types/common/markdownBlocks.d.ts +32 -0
  403. package/types/common/markdownSpans.d.ts +30 -0
  404. package/types/common/markdownTable.d.ts +14 -0
  405. package/types/common/mcpExposure.d.ts +3 -23
  406. package/types/common/objectPath.d.ts +10 -0
  407. package/types/common/objectify.d.ts +7 -0
  408. package/types/common/phone.d.ts +2 -0
  409. package/types/common/randomPick.d.ts +1 -0
  410. package/types/common/requestOrigin.d.ts +0 -17
  411. package/types/common/restClient.d.ts +0 -7
  412. package/types/common/round.d.ts +1 -0
  413. package/types/common/routeConvention.d.ts +2 -5
  414. package/types/common/sleep.d.ts +0 -1
  415. package/types/common/subRoute.d.ts +4 -6
  416. package/types/common/toError.d.ts +1 -0
  417. package/types/common/tunnelWire.d.ts +161 -0
  418. package/types/common/types.d.ts +7 -7
  419. package/types/common/version.d.ts +6 -0
  420. package/types/common/websocketContract.d.ts +41 -0
  421. package/types/constant/cascadePaths.d.ts +2 -5
  422. package/types/constant/constantRegistry.d.ts +4 -4
  423. package/types/constant/dateSlot.d.ts +0 -5
  424. package/types/constant/fieldInfo.d.ts +2 -21
  425. package/types/constant/fieldQueryMeta.d.ts +2 -10
  426. package/types/constant/getDefault.d.ts +5 -7
  427. package/types/constant/hydrationPlan.d.ts +0 -8
  428. package/types/constant/index.d.ts +0 -1
  429. package/types/constant/labelOf.d.ts +1 -6
  430. package/types/constant/mask.d.ts +11 -36
  431. package/types/constant/serialize.d.ts +10 -2
  432. package/types/constant/types.d.ts +2 -6
  433. package/types/constant/via.d.ts +0 -1
  434. package/types/dictionary/DictionaryLookup.d.ts +1 -7
  435. package/types/dictionary/agent.dictionary.d.ts +2 -1
  436. package/types/dictionary/base.dictionary.d.ts +1 -1
  437. package/types/dictionary/dictInfo.d.ts +25 -92
  438. package/types/dictionary/dictShape.d.ts +26 -0
  439. package/types/dictionary/dictionary.d.ts +9 -9
  440. package/types/dictionary/dictionaryRegistry.d.ts +1 -15
  441. package/types/dictionary/locale.d.ts +9 -28
  442. package/types/dictionary/trans.d.ts +5 -14
  443. package/types/document/dataLoader.d.ts +2 -2
  444. package/types/document/database.d.ts +21 -14
  445. package/types/document/documentQuery.d.ts +6 -1
  446. package/types/document/documentSchema.d.ts +3 -7
  447. package/types/document/filterMeta.d.ts +3 -8
  448. package/types/document/index.d.ts +0 -1
  449. package/types/document/into.d.ts +3 -2
  450. package/types/document/loaderInfo.d.ts +9 -4
  451. package/types/document/noDocumentError.d.ts +2 -7
  452. package/types/document/queryEvaluator.d.ts +7 -24
  453. package/types/document/types.d.ts +0 -1
  454. package/types/fetch/client/fetchClient.d.ts +6 -9
  455. package/types/fetch/client/fetchHandle.d.ts +3 -11
  456. package/types/fetch/client/httpClient.d.ts +5 -1
  457. package/types/fetch/client/remoteError.d.ts +2 -8
  458. package/types/fetch/client/sliceInitHandle.d.ts +2 -5
  459. package/types/fetch/client/sliceQueryArgs.d.ts +3 -0
  460. package/types/fetch/client/wsClient.d.ts +10 -15
  461. package/types/fetch/fetchType/appliedReturn.type.d.ts +5 -23
  462. package/types/fetch/fetchType/buildFetch.type.d.ts +15 -1
  463. package/types/fetch/fetchType/index.d.ts +0 -1
  464. package/types/fetch/requestStorage.d.ts +3 -16
  465. package/types/fetch/types.d.ts +0 -1
  466. package/types/index.d.ts +78 -108
  467. package/types/server/akanApp.d.ts +5 -28
  468. package/types/server/akanAppHeaders.d.ts +0 -1
  469. package/types/server/akanOption.d.ts +12 -24
  470. package/types/server/akanServer.d.ts +16 -56
  471. package/types/server/animatedImage.d.ts +0 -6
  472. package/types/server/artifact/builderRpc.d.ts +7 -30
  473. package/types/server/artifact/index.d.ts +0 -1
  474. package/types/server/artifact/ipcTypes.d.ts +22 -29
  475. package/types/server/artifact/routeClientCache.d.ts +3 -11
  476. package/types/server/artifact/routeSeedIndexStore.d.ts +0 -16
  477. package/types/server/artifact/routesManifestStore.d.ts +1 -1
  478. package/types/server/binaryPubsub.d.ts +0 -8
  479. package/types/server/cachePolicy.d.ts +2 -21
  480. package/types/server/console.d.ts +3 -6
  481. package/types/server/consoleSession.d.ts +2 -2
  482. package/types/server/contentEncoding.d.ts +6 -14
  483. package/types/server/decorators.d.ts +0 -12
  484. package/types/server/devtools/constantSerializer.d.ts +1 -6
  485. package/types/server/devtools/depsSerializer.d.ts +1 -7
  486. package/types/server/devtools/devtoolsJson.d.ts +1 -7
  487. package/types/server/devtools/devtoolsRouter.d.ts +2 -11
  488. package/types/server/devtools/signalSerializer.d.ts +1 -9
  489. package/types/server/devtools/types.d.ts +0 -11
  490. package/types/server/di/diLifecycle.d.ts +0 -36
  491. package/types/server/di/predefinedAdaptor.d.ts +3 -2
  492. package/types/server/di/resolveHierarchy.d.ts +22 -5
  493. package/types/server/di/utils.d.ts +4 -17
  494. package/types/server/head.d.ts +9 -0
  495. package/types/server/hmr/devHmrController.d.ts +2 -3
  496. package/types/server/hmr/wsHub.d.ts +6 -1
  497. package/types/server/index.d.ts +1 -1
  498. package/types/server/lifecycle/portInUse.d.ts +1 -4
  499. package/types/server/lifecycle/runtimeDir.d.ts +0 -4
  500. package/types/server/lifecycle/shutdownManager.d.ts +0 -9
  501. package/types/server/logging/childOutputReader.d.ts +0 -12
  502. package/types/server/logging/hubFileSink.d.ts +1 -5
  503. package/types/server/logging/logControlSocket.d.ts +2 -7
  504. package/types/server/logging/logForwarder.d.ts +3 -15
  505. package/types/server/logging/logHub.d.ts +1 -15
  506. package/types/server/logging/logQuery.d.ts +3 -6
  507. package/types/server/logging/logStdoutWriter.d.ts +0 -6
  508. package/types/server/logging/logStreamRoute.d.ts +0 -9
  509. package/types/server/logging/logTailClient.d.ts +0 -5
  510. package/types/server/mcp/McpAuth.d.ts +3 -71
  511. package/types/server/mcp/McpDispatcher.d.ts +0 -23
  512. package/types/server/mcp/McpEventStream.d.ts +1 -12
  513. package/types/server/mcp/McpExecutionContext.d.ts +0 -33
  514. package/types/server/mcp/McpRateLimiter.d.ts +10 -13
  515. package/types/server/mcp/McpRouter.d.ts +1 -47
  516. package/types/server/mcp/PagePromptComposer.d.ts +1 -13
  517. package/types/server/memoryLimit.d.ts +1 -13
  518. package/types/server/oauth/OAuthAuthorize.d.ts +1 -6
  519. package/types/server/oauth/OAuthClientIdMetadata.d.ts +2 -26
  520. package/types/server/oauth/OAuthErrors.d.ts +0 -13
  521. package/types/server/oauth/OAuthMetadata.d.ts +1 -7
  522. package/types/server/oauth/OAuthPkce.d.ts +0 -1
  523. package/types/server/oauth/OAuthRedirect.d.ts +0 -9
  524. package/types/server/oauth/OAuthRegistration.d.ts +0 -1
  525. package/types/server/oauth/OAuthRevocation.d.ts +1 -11
  526. package/types/server/oauth/OAuthToken.d.ts +1 -13
  527. package/types/server/oauth/oauthTypes.d.ts +1 -2
  528. package/types/server/ops/ageEncryption.d.ts +19 -0
  529. package/types/server/ops/appInfo.d.ts +36 -0
  530. package/types/server/ops/opsCommand.d.ts +5 -0
  531. package/types/server/ops/opsRoute.d.ts +24 -0
  532. package/types/server/ops/opsToken.d.ts +26 -0
  533. package/types/server/ops/snapshotJobs.d.ts +24 -0
  534. package/types/server/ops/snapshotRestore.d.ts +24 -0
  535. package/types/server/ops/snapshotTypes.d.ts +45 -0
  536. package/types/server/ops/sqliteFiles.d.ts +5 -0
  537. package/types/server/ops/sqliteSnapshot.d.ts +32 -0
  538. package/types/server/processMetricsCollector.d.ts +3 -1
  539. package/types/server/proxy/hostBasePathWebProxy.d.ts +7 -1
  540. package/types/server/proxy/index.d.ts +2 -3
  541. package/types/server/proxy/localeWebProxy.d.ts +1 -1
  542. package/types/server/proxy/types.d.ts +5 -0
  543. package/types/server/proxy/webProxyRunner.d.ts +1 -0
  544. package/types/server/resolver/CascadeRunner.d.ts +0 -4
  545. package/types/server/resolver/database.resolver.d.ts +1 -1
  546. package/types/server/resolver/service.resolver.d.ts +2 -2
  547. package/types/server/resolver/signal.resolver.d.ts +0 -15
  548. package/types/server/routeElementComposer.d.ts +2 -8
  549. package/types/server/routeState.d.ts +1 -1
  550. package/types/server/routing/apiRouter.d.ts +2 -20
  551. package/types/server/routing/appWsData.d.ts +0 -26
  552. package/types/server/routing/soloAppRoutes.d.ts +2 -6
  553. package/types/server/rscClient.d.ts +0 -12
  554. package/types/server/rscClientFetch.d.ts +6 -6
  555. package/types/server/rscClientPatch.d.ts +1 -1
  556. package/types/server/rscHttp.d.ts +1 -0
  557. package/types/server/rscNavigationState.d.ts +3 -2
  558. package/types/server/rscPagePrompts.d.ts +0 -9
  559. package/types/server/rscWorkerCache.d.ts +41 -3
  560. package/types/server/rscWorkerHost.d.ts +5 -61
  561. package/types/server/ssrFromRscRenderer.d.ts +0 -12
  562. package/types/server/ssrTypes.d.ts +2 -29
  563. package/types/server/staticPath.d.ts +0 -16
  564. package/types/server/systemPageDocument.d.ts +8 -0
  565. package/types/server/systemPages.d.ts +2 -3
  566. package/types/server/tunnel/TunnelAgent.d.ts +29 -0
  567. package/types/server/tunnel/TunnelDataSocket.d.ts +22 -0
  568. package/types/server/tunnel/TunnelHttpStream.d.ts +10 -0
  569. package/types/server/tunnel/TunnelTcpStream.d.ts +11 -0
  570. package/types/server/tunnel/TunnelWebsocketStream.d.ts +10 -0
  571. package/types/server/tunnel/index.d.ts +6 -0
  572. package/types/server/tunnel/tunnelStream.d.ts +19 -0
  573. package/types/server/tunnel.d.ts +1 -0
  574. package/types/server/types.d.ts +2 -9
  575. package/types/server/webRouter.d.ts +2 -19
  576. package/types/service/agent.service.d.ts +16 -29
  577. package/types/service/injectInfo.d.ts +26 -15
  578. package/types/service/ipcTypes.d.ts +6 -0
  579. package/types/service/liveSyncHub.d.ts +4 -22
  580. package/types/service/predefinedAdaptor/anthropicLlm.d.ts +20 -29
  581. package/types/service/predefinedAdaptor/cache.adaptor.d.ts +42 -12
  582. package/types/service/predefinedAdaptor/database.adaptor.d.ts +20 -16
  583. package/types/service/predefinedAdaptor/documentTransfer.d.ts +15 -0
  584. package/types/service/predefinedAdaptor/index.d.ts +2 -1
  585. package/types/service/predefinedAdaptor/insightQuery.d.ts +7 -30
  586. package/types/service/predefinedAdaptor/llm.adaptor.d.ts +54 -54
  587. package/types/service/predefinedAdaptor/llmOverflow.d.ts +16 -0
  588. package/types/service/predefinedAdaptor/openaiDialect.d.ts +19 -29
  589. package/types/service/predefinedAdaptor/openaiLlm.d.ts +9 -14
  590. package/types/service/predefinedAdaptor/queue.adaptor.d.ts +12 -7
  591. package/types/service/predefinedAdaptor/schedule.adaptor.d.ts +7 -2
  592. package/types/service/predefinedAdaptor/searchIndex.d.ts +17 -47
  593. package/types/service/predefinedAdaptor/solidCache.adaptor.d.ts +15 -6
  594. package/types/service/predefinedAdaptor/solidPubsub.adaptor.d.ts +6 -4
  595. package/types/service/predefinedAdaptor/solidSqlite.d.ts +2 -1
  596. package/types/service/predefinedAdaptor/sql/PostgresInsightSession.d.ts +20 -0
  597. package/types/service/predefinedAdaptor/sql/QueryCompiler.d.ts +9 -11
  598. package/types/service/predefinedAdaptor/sql/SqlDocumentStore.d.ts +11 -25
  599. package/types/service/predefinedAdaptor/sql/SqliteInsightSession.d.ts +15 -0
  600. package/types/service/predefinedAdaptor/sql/UpdateCompiler.d.ts +0 -4
  601. package/types/service/predefinedAdaptor/sql/dialect/postgres.d.ts +18 -10
  602. package/types/service/predefinedAdaptor/sql/dialect/sqlite.d.ts +5 -2
  603. package/types/service/predefinedAdaptor/sql/driver/bunSqlite.d.ts +9 -3
  604. package/types/service/predefinedAdaptor/sql/driver/libsql.d.ts +8 -5
  605. package/types/service/predefinedAdaptor/sql/driver/postgres.d.ts +4 -4
  606. package/types/service/predefinedAdaptor/sql/search/fts5.d.ts +28 -0
  607. package/types/service/predefinedAdaptor/sql/search/mirror.d.ts +20 -0
  608. package/types/service/predefinedAdaptor/sql/search/postgres.d.ts +53 -0
  609. package/types/service/predefinedAdaptor/sql/search/types.d.ts +45 -0
  610. package/types/service/predefinedAdaptor/sql/types.d.ts +69 -15
  611. package/types/service/predefinedAdaptor/sql/values.d.ts +8 -0
  612. package/types/service/predefinedAdaptor/sqlitePath.d.ts +1 -0
  613. package/types/service/predefinedAdaptor/sseData.d.ts +1 -0
  614. package/types/service/predefinedAdaptor/storage.adaptor.d.ts +3 -2
  615. package/types/service/predefinedAdaptor/websocket.adaptor.d.ts +26 -26
  616. package/types/service/serviceModule.d.ts +7 -7
  617. package/types/service/toolNames.d.ts +4 -21
  618. package/types/service/types.d.ts +3 -3
  619. package/types/signal/CrossSiteGuard.d.ts +10 -30
  620. package/types/signal/SignalFailure.d.ts +1 -15
  621. package/types/signal/agent/AgentCatalogue.d.ts +8 -54
  622. package/types/signal/agent.signal.d.ts +4 -1
  623. package/types/signal/agentMeter.d.ts +24 -0
  624. package/types/signal/agentTurnStream.d.ts +10 -11
  625. package/types/signal/endpoint.d.ts +1 -2
  626. package/types/signal/endpointCache.d.ts +5 -0
  627. package/types/signal/endpointInfo.d.ts +4 -9
  628. package/types/signal/exception.d.ts +1 -34
  629. package/types/signal/guard.d.ts +4 -15
  630. package/types/signal/guards.d.ts +2 -10
  631. package/types/signal/index.d.ts +1 -0
  632. package/types/signal/internal.d.ts +1 -5
  633. package/types/signal/internalArg.d.ts +7 -13
  634. package/types/signal/mcp/McpDocument.d.ts +5 -45
  635. package/types/signal/mcp/McpProgress.d.ts +6 -19
  636. package/types/signal/mcp/McpUriTemplate.d.ts +1 -19
  637. package/types/signal/mcp/Msg.d.ts +13 -70
  638. package/types/signal/mcp/mcpProtocol.d.ts +1 -26
  639. package/types/signal/mcp/pagePrompt.d.ts +3 -9
  640. package/types/signal/middleware.d.ts +0 -18
  641. package/types/signal/schema/JsonSchemaBuilder.d.ts +15 -43
  642. package/types/signal/serializer/fetch.serializer.d.ts +1 -6
  643. package/types/signal/serverSignal.d.ts +0 -1
  644. package/types/signal/signalContext.d.ts +14 -61
  645. package/types/signal/signalRegistry.d.ts +0 -1
  646. package/types/signal/slice.d.ts +6 -11
  647. package/types/signal/sliceInfo.d.ts +5 -30
  648. package/types/signal/trace.d.ts +2 -30
  649. package/types/signal/types.d.ts +27 -57
  650. package/types/store/SliceRequest.d.ts +1 -11
  651. package/types/store/action.d.ts +2 -6
  652. package/types/store/actionTag.d.ts +1 -10
  653. package/types/store/agent/AgentBridge.d.ts +3 -22
  654. package/types/store/agent/AgentContext.d.ts +1 -7
  655. package/types/store/agent/AgentCursor.d.ts +24 -0
  656. package/types/store/agent/AgentPrompts.d.ts +0 -5
  657. package/types/store/agent/AgentVisual.d.ts +25 -0
  658. package/types/store/agent/ScreenFlash.d.ts +23 -0
  659. package/types/store/agent/ScreenReader.d.ts +3 -26
  660. package/types/store/agent/ScreenSettle.d.ts +1 -12
  661. package/types/store/agent/ScreenTarget.d.ts +3 -23
  662. package/types/store/agent/StoreCatalogue.d.ts +12 -16
  663. package/types/store/agent/StoreSurfaceSource.d.ts +11 -23
  664. package/types/store/agent/index.d.ts +4 -3
  665. package/types/store/agentic/AgentValue.d.ts +3 -23
  666. package/types/store/agentic/StExposeBuilder.d.ts +2 -11
  667. package/types/store/agentic/StExposeDraft.d.ts +0 -6
  668. package/types/store/agentic/StStateBuilder.d.ts +1 -7
  669. package/types/store/agentic/StStateDraft.d.ts +0 -5
  670. package/types/store/agentic/StToolBuilder.d.ts +14 -37
  671. package/types/store/agentic/StToolDraft.d.ts +0 -7
  672. package/types/store/agentic/attachAgentic.d.ts +2 -10
  673. package/types/store/agentic/formFields.d.ts +5 -41
  674. package/types/store/agentic/index.d.ts +1 -1
  675. package/types/store/agentic/useAgentReference.d.ts +14 -0
  676. package/types/store/agentic/useFieldTool.d.ts +19 -16
  677. package/types/store/agentic/useFormTools.d.ts +1 -18
  678. package/types/store/agentic/useRelationFieldTool.d.ts +1 -14
  679. package/types/store/baseSt.d.ts +2 -15
  680. package/types/store/databaseStateNames.d.ts +0 -9
  681. package/types/store/draftStore.d.ts +4 -30
  682. package/types/store/formSetterNames.d.ts +0 -19
  683. package/types/store/hooks.d.ts +1 -1
  684. package/types/store/liveInsert.d.ts +0 -23
  685. package/types/store/sliceKeys.d.ts +31 -0
  686. package/types/store/sliceRole.d.ts +1 -10
  687. package/types/store/state.d.ts +2 -9
  688. package/types/store/stateBuilder.d.ts +0 -14
  689. package/types/store/storeInstance.d.ts +6 -20
  690. package/types/store/storeRegistry.d.ts +0 -2
  691. package/types/test/conformance.d.ts +73 -0
  692. package/types/test/index.d.ts +2 -2
  693. package/types/test/sampleOf.d.ts +17 -2
  694. package/types/test/signalTestRuntime.d.ts +1 -1
  695. package/types/test/testServer.d.ts +4 -3
  696. package/types/ui/Agent/Attach.d.ts +2 -2
  697. package/types/ui/Agent/Bubble.d.ts +3 -14
  698. package/types/ui/Agent/Chat.d.ts +31 -64
  699. package/types/ui/Agent/ChatCommands.d.ts +4 -14
  700. package/types/ui/Agent/Composer.d.ts +18 -5
  701. package/types/ui/Agent/Dock.d.ts +38 -10
  702. package/types/ui/Agent/Guide.d.ts +1 -5
  703. package/types/ui/Agent/History.d.ts +1 -18
  704. package/types/ui/Agent/Launcher.d.ts +2 -2
  705. package/types/ui/Agent/Markdown.d.ts +2 -6
  706. package/types/ui/Agent/MentionNode.d.ts +18 -0
  707. package/types/ui/Agent/Menu.d.ts +4 -4
  708. package/types/ui/Agent/Question.d.ts +1 -6
  709. package/types/ui/Agent/Queued.d.ts +1 -6
  710. package/types/ui/Agent/Refer.d.ts +9 -0
  711. package/types/ui/Agent/RichInput.d.ts +14 -0
  712. package/types/ui/Agent/Skip.d.ts +3 -15
  713. package/types/ui/Agent/Steps.d.ts +17 -0
  714. package/types/ui/Agent/ToolCard.d.ts +9 -0
  715. package/types/ui/Agent/Zone.d.ts +13 -30
  716. package/types/ui/Agent/agentSessionOf.d.ts +20 -16
  717. package/types/ui/Agent/attachment.d.ts +4 -38
  718. package/types/ui/Agent/fetchRunner.d.ts +1 -8
  719. package/types/ui/Agent/index.d.ts +2 -6
  720. package/types/ui/Agent/mentionDraft.d.ts +9 -0
  721. package/types/ui/Agent/tokenCount.d.ts +1 -5
  722. package/types/ui/Agent/useChatAttachments.d.ts +0 -5
  723. package/types/ui/Agent/useChatQueue.d.ts +3 -14
  724. package/types/ui/Agent/useChatReferences.d.ts +15 -0
  725. package/types/ui/Agent/useChatVoice.d.ts +0 -12
  726. package/types/ui/Agent/useDraftRecall.d.ts +0 -8
  727. package/types/ui/Agent/useKeyboardInset.d.ts +0 -7
  728. package/types/ui/Agent/useReferenceMenu.d.ts +35 -0
  729. package/types/ui/Agent/useSlashMenu.d.ts +0 -2
  730. package/types/ui/Agent/voice.d.ts +8 -42
  731. package/types/ui/Badge.d.ts +0 -1
  732. package/types/ui/BottomSheet.d.ts +2 -5
  733. package/types/ui/Button.d.ts +6 -23
  734. package/types/ui/ClientSide.d.ts +0 -2
  735. package/types/ui/Constant/schemaGraph.d.ts +0 -4
  736. package/types/ui/Copy.d.ts +2 -3
  737. package/types/ui/CsrImage.d.ts +2 -1
  738. package/types/ui/Data/Dashboard.d.ts +1 -4
  739. package/types/ui/Data/Item.d.ts +1 -1
  740. package/types/ui/Data/ListContainer.d.ts +1 -10
  741. package/types/ui/Data/Pagination.d.ts +0 -2
  742. package/types/ui/Data/QueryMaker.d.ts +0 -7
  743. package/types/ui/Data/RefPicker.d.ts +0 -7
  744. package/types/ui/DatePicker.d.ts +0 -11
  745. package/types/ui/Dialog/LegacyModal.d.ts +1 -4
  746. package/types/ui/Dialog/Provider.d.ts +37 -4
  747. package/types/ui/Dialog/index.d.ts +4 -4
  748. package/types/ui/Dropdown.d.ts +1 -9
  749. package/types/ui/Empty.d.ts +3 -10
  750. package/types/ui/Field/Collection.d.ts +1 -16
  751. package/types/ui/Field/Relation.d.ts +10 -37
  752. package/types/ui/Field/Text.d.ts +9 -66
  753. package/types/ui/Field/index.d.ts +0 -9
  754. package/types/ui/Field/lightRefCache.d.ts +11 -0
  755. package/types/ui/Field/useRelationOptions.d.ts +28 -0
  756. package/types/ui/Image.d.ts +8 -12
  757. package/types/ui/InfiniteScroll.d.ts +2 -6
  758. package/types/ui/Input.d.ts +8 -15
  759. package/types/ui/Layout/Role.d.ts +23 -0
  760. package/types/ui/Layout/Sider.d.ts +21 -0
  761. package/types/ui/Layout/TopInset.d.ts +5 -0
  762. package/types/ui/Layout/index.d.ts +7 -7
  763. package/types/ui/LegacyModal.d.ts +1 -12
  764. package/types/ui/Link/Action.d.ts +11 -0
  765. package/types/ui/Link/Anchor.d.ts +20 -0
  766. package/types/ui/Link/index.d.ts +4 -7
  767. package/types/ui/Load/Edit_Client.d.ts +1 -1
  768. package/types/ui/Load/Page.d.ts +3 -5
  769. package/types/ui/Load/Stream.d.ts +0 -12
  770. package/types/ui/Load/Units.d.ts +1 -1
  771. package/types/ui/Load/View.d.ts +2 -7
  772. package/types/ui/Loading/ProgressBar.d.ts +0 -4
  773. package/types/ui/Loading/Skeleton.d.ts +2 -0
  774. package/types/ui/Loading/Spin.d.ts +12 -2
  775. package/types/ui/Loading/index.d.ts +3 -8
  776. package/types/ui/Loading/index_.d.ts +3 -10
  777. package/types/ui/Menu.d.ts +0 -5
  778. package/types/ui/Modal.d.ts +0 -17
  779. package/types/ui/Model/AdminPanel.d.ts +1 -4
  780. package/types/ui/Model/DraftBar.d.ts +2 -7
  781. package/types/ui/Model/EditModal.d.ts +7 -22
  782. package/types/ui/Model/LoadStore.d.ts +18 -0
  783. package/types/ui/Model/Remove.d.ts +0 -2
  784. package/types/ui/Model/SureToRemove.d.ts +0 -3
  785. package/types/ui/Model/ViewEditModal.d.ts +0 -2
  786. package/types/ui/Model/draftScope.d.ts +0 -7
  787. package/types/ui/Model/index.d.ts +2 -2
  788. package/types/ui/Model/index_.d.ts +2 -2
  789. package/types/ui/Pagination.d.ts +4 -12
  790. package/types/ui/Popconfirm.d.ts +3 -17
  791. package/types/ui/Radio.d.ts +0 -4
  792. package/types/ui/RecentTime.d.ts +5 -9
  793. package/types/ui/Reference/Panel.d.ts +44 -6
  794. package/types/ui/Reference/Segmented.d.ts +0 -3
  795. package/types/ui/Reference/docUi.d.ts +24 -0
  796. package/types/ui/Reference/index.d.ts +3 -7
  797. package/types/ui/Refresh.d.ts +1 -1
  798. package/types/ui/ScreenNavigator.d.ts +2 -2
  799. package/types/ui/Select.d.ts +4 -19
  800. package/types/ui/Signal/Endpoint.d.ts +43 -0
  801. package/types/ui/Signal/WebSocket.d.ts +23 -0
  802. package/types/ui/Signal/endpointEntries.d.ts +2 -4
  803. package/types/ui/Signal/index.d.ts +1 -3
  804. package/types/ui/Signal/style.d.ts +1 -2
  805. package/types/ui/Switch.d.ts +1 -5
  806. package/types/ui/System/CSR.d.ts +2 -2
  807. package/types/ui/System/Client.d.ts +2 -6
  808. package/types/ui/System/Common.d.ts +11 -22
  809. package/types/ui/System/Root.d.ts +1 -4
  810. package/types/ui/System/SSR.d.ts +2 -2
  811. package/types/ui/System/ThemeToggle.d.ts +1 -0
  812. package/types/ui/System/index.d.ts +1 -0
  813. package/types/ui/Tab/Provider.d.ts +24 -4
  814. package/types/ui/Tab/index.d.ts +3 -3
  815. package/types/ui/Table.d.ts +7 -23
  816. package/types/ui/Toast.d.ts +9 -16
  817. package/types/ui/ToggleSelect.d.ts +0 -5
  818. package/types/ui/Tooltip.d.ts +1 -2
  819. package/types/ui/UiOverride/UiOverride.d.ts +111 -0
  820. package/types/ui/UiOverride/index.d.ts +2 -5
  821. package/types/ui/UiOverride/override.d.ts +2 -18
  822. package/types/ui/Unauthorized.d.ts +0 -6
  823. package/types/ui/agentAttrs.d.ts +4 -11
  824. package/types/ui/index.d.ts +9 -5
  825. package/types/ui/overlayLayer.d.ts +4 -24
  826. package/types/ui/overlayPosition.d.ts +0 -12
  827. package/types/ui/recipe/badgeRecipe.d.ts +2 -2
  828. package/types/ui/recipe/buttonRecipe.d.ts +2 -2
  829. package/types/ui/recipe/factory.d.ts +1 -21
  830. package/types/ui/recipe/index.d.ts +0 -14
  831. package/types/ui/recipe/inputRecipe.d.ts +3 -3
  832. package/types/ui/sliceNamesOf.d.ts +78 -0
  833. package/types/ui/triggerSlot.d.ts +2 -12
  834. package/types/vendor/@akanjs/native/packages/cli/src/api.d.ts +182 -0
  835. package/types/vendor/@akanjs/native/packages/cli/src/commands/build.d.ts +28 -0
  836. package/types/vendor/@akanjs/native/packages/cli/src/commands/compat.d.ts +2 -0
  837. package/types/vendor/@akanjs/native/packages/cli/src/commands/dev.d.ts +2 -0
  838. package/types/vendor/@akanjs/native/packages/cli/src/commands/doctor.d.ts +37 -0
  839. package/types/vendor/@akanjs/native/packages/cli/src/commands/plugin.d.ts +2 -0
  840. package/types/vendor/@akanjs/native/packages/cli/src/commands/signing.d.ts +2 -0
  841. package/types/vendor/@akanjs/native/packages/cli/src/commands/test.d.ts +2 -0
  842. package/types/vendor/@akanjs/native/packages/cli/src/commands/toolchain.d.ts +2 -0
  843. package/types/vendor/@akanjs/native/packages/cli/src/commands/update.d.ts +2 -0
  844. package/types/vendor/@akanjs/native/packages/cli/src/config.d.ts +278 -0
  845. package/types/vendor/@akanjs/native/packages/cli/src/index.d.ts +2 -0
  846. package/types/vendor/@akanjs/native/packages/cli/src/lib/acl.d.ts +21 -0
  847. package/types/vendor/@akanjs/native/packages/cli/src/lib/apilevel.d.ts +40 -0
  848. package/types/vendor/@akanjs/native/packages/cli/src/lib/apk.d.ts +36 -0
  849. package/types/vendor/@akanjs/native/packages/cli/src/lib/args.d.ts +9 -0
  850. package/types/vendor/@akanjs/native/packages/cli/src/lib/boot.d.ts +32 -0
  851. package/types/vendor/@akanjs/native/packages/cli/src/lib/chrome.d.ts +6 -0
  852. package/types/vendor/@akanjs/native/packages/cli/src/lib/codegen.d.ts +94 -0
  853. package/types/vendor/@akanjs/native/packages/cli/src/lib/compat.d.ts +49 -0
  854. package/types/vendor/@akanjs/native/packages/cli/src/lib/configkeys.d.ts +2 -0
  855. package/types/vendor/@akanjs/native/packages/cli/src/lib/csp.d.ts +51 -0
  856. package/types/vendor/@akanjs/native/packages/cli/src/lib/env.d.ts +44 -0
  857. package/types/vendor/@akanjs/native/packages/cli/src/lib/exec.d.ts +31 -0
  858. package/types/vendor/@akanjs/native/packages/cli/src/lib/googleservices.d.ts +2 -0
  859. package/types/vendor/@akanjs/native/packages/cli/src/lib/hmr.d.ts +120 -0
  860. package/types/vendor/@akanjs/native/packages/cli/src/lib/html.d.ts +20 -0
  861. package/types/vendor/@akanjs/native/packages/cli/src/lib/icons.d.ts +44 -0
  862. package/types/vendor/@akanjs/native/packages/cli/src/lib/image.d.ts +21 -0
  863. package/types/vendor/@akanjs/native/packages/cli/src/lib/iossigning.d.ts +81 -0
  864. package/types/vendor/@akanjs/native/packages/cli/src/lib/launch.d.ts +51 -0
  865. package/types/vendor/@akanjs/native/packages/cli/src/lib/log.d.ts +42 -0
  866. package/types/vendor/@akanjs/native/packages/cli/src/lib/manifestmerge.d.ts +18 -0
  867. package/types/vendor/@akanjs/native/packages/cli/src/lib/maven.d.ts +97 -0
  868. package/types/vendor/@akanjs/native/packages/cli/src/lib/names.d.ts +45 -0
  869. package/types/vendor/@akanjs/native/packages/cli/src/lib/native-plugins.d.ts +67 -0
  870. package/types/vendor/@akanjs/native/packages/cli/src/lib/nativeconfig.d.ts +11 -0
  871. package/types/vendor/@akanjs/native/packages/cli/src/lib/permissions.d.ts +10 -0
  872. package/types/vendor/@akanjs/native/packages/cli/src/lib/plist.d.ts +11 -0
  873. package/types/vendor/@akanjs/native/packages/cli/src/lib/png.d.ts +11 -0
  874. package/types/vendor/@akanjs/native/packages/cli/src/lib/prepare.d.ts +138 -0
  875. package/types/vendor/@akanjs/native/packages/cli/src/lib/privacy.d.ts +13 -0
  876. package/types/vendor/@akanjs/native/packages/cli/src/lib/project.d.ts +208 -0
  877. package/types/vendor/@akanjs/native/packages/cli/src/lib/root.d.ts +1 -0
  878. package/types/vendor/@akanjs/native/packages/cli/src/lib/routes.d.ts +1 -0
  879. package/types/vendor/@akanjs/native/packages/cli/src/lib/serve.d.ts +17 -0
  880. package/types/vendor/@akanjs/native/packages/cli/src/lib/signing.d.ts +14 -0
  881. package/types/vendor/@akanjs/native/packages/cli/src/lib/spec.d.ts +96 -0
  882. package/types/vendor/@akanjs/native/packages/cli/src/lib/toolchains.d.ts +150 -0
  883. package/types/vendor/@akanjs/native/packages/cli/src/lib/updates.d.ts +77 -0
  884. package/types/vendor/@akanjs/native/packages/cli/src/lib/vectors.d.ts +13 -0
  885. package/types/vendor/@akanjs/native/packages/cli/src/lib/xml.d.ts +13 -0
  886. package/types/vendor/@akanjs/native/packages/cli/src/platforms/android.d.ts +57 -0
  887. package/types/vendor/@akanjs/native/packages/cli/src/platforms/desktop-update.d.ts +4 -0
  888. package/types/vendor/@akanjs/native/packages/cli/src/platforms/desktop.d.ts +40 -0
  889. package/types/vendor/@akanjs/native/packages/cli/src/platforms/index.d.ts +14 -0
  890. package/types/vendor/@akanjs/native/packages/cli/src/platforms/ios.d.ts +44 -0
  891. package/types/vendor/@akanjs/native/packages/cli/src/platforms/linux.d.ts +6 -0
  892. package/types/vendor/@akanjs/native/packages/cli/src/platforms/macos.d.ts +7 -0
  893. package/types/vendor/@akanjs/native/packages/cli/src/platforms/targets.d.ts +4 -0
  894. package/types/vendor/@akanjs/native/packages/cli/src/platforms/web-run.d.ts +15 -0
  895. package/types/vendor/@akanjs/native/packages/cli/src/platforms/web.d.ts +2 -0
  896. package/types/vendor/@akanjs/native/packages/cli/src/platforms/windows.d.ts +8 -0
  897. package/types/vendor/@akanjs/native/packages/cli/src/platforms.d.ts +1 -0
  898. package/types/vendor/@akanjs/native/packages/cli/src.d.ts +1 -0
  899. package/types/vendor/@akanjs/native/packages/core/src/acl.d.ts +97 -0
  900. package/types/vendor/@akanjs/native/packages/core/src/boot.d.ts +66 -0
  901. package/types/vendor/@akanjs/native/packages/core/src/contract.d.ts +35 -0
  902. package/types/vendor/@akanjs/native/packages/core/src/errors.d.ts +27 -0
  903. package/types/vendor/@akanjs/native/packages/core/src/files.d.ts +23 -0
  904. package/types/vendor/@akanjs/native/packages/core/src/index.d.ts +14 -0
  905. package/types/vendor/@akanjs/native/packages/core/src/kernel.d.ts +112 -0
  906. package/types/vendor/@akanjs/native/packages/core/src/live.d.ts +12 -0
  907. package/types/vendor/@akanjs/native/packages/core/src/mime.d.ts +2 -0
  908. package/types/vendor/@akanjs/native/packages/core/src/plugin.d.ts +71 -0
  909. package/types/vendor/@akanjs/native/packages/core/src/protocol.d.ts +109 -0
  910. package/types/vendor/@akanjs/native/packages/core/src/runtime.d.ts +66 -0
  911. package/types/vendor/@akanjs/native/packages/core/src/state.d.ts +28 -0
  912. package/types/vendor/@akanjs/native/packages/core/src/testing.d.ts +41 -0
  913. package/types/vendor/@akanjs/native/packages/core/src/version.d.ts +2 -0
  914. package/types/vendor/@akanjs/native/packages/core/src/veto.d.ts +17 -0
  915. package/types/vendor/@akanjs/native/packages/core/src.d.ts +1 -0
  916. package/types/vendor/@akanjs/native/packages/desktop/src/deeplinks.d.ts +24 -0
  917. package/types/vendor/@akanjs/native/packages/desktop/src/delta.d.ts +2 -0
  918. package/types/vendor/@akanjs/native/packages/desktop/src/dispatcher.d.ts +95 -0
  919. package/types/vendor/@akanjs/native/packages/desktop/src/ffi.d.ts +144 -0
  920. package/types/vendor/@akanjs/native/packages/desktop/src/host.d.ts +11 -0
  921. package/types/vendor/@akanjs/native/packages/desktop/src/lifecycle.d.ts +40 -0
  922. package/types/vendor/@akanjs/native/packages/desktop/src/main.d.ts +4 -0
  923. package/types/vendor/@akanjs/native/packages/desktop/src/page-veto.d.ts +17 -0
  924. package/types/vendor/@akanjs/native/packages/desktop/src/paths.d.ts +25 -0
  925. package/types/vendor/@akanjs/native/packages/desktop/src/plugin.d.ts +179 -0
  926. package/types/vendor/@akanjs/native/packages/react/src/index.d.ts +8 -0
  927. package/types/vendor/@akanjs/native/packages/react/src.d.ts +1 -0
  928. package/types/vendor/@akanjs/native/plugins/accessibility/src/announce.d.ts +8 -0
  929. package/types/vendor/@akanjs/native/plugins/accessibility/src/index.d.ts +47 -0
  930. package/types/vendor/@akanjs/native/plugins/accessibility/src/web.d.ts +4 -0
  931. package/types/vendor/@akanjs/native/plugins/accessibility/src.d.ts +1 -0
  932. package/types/vendor/@akanjs/native/plugins/app/src/desktop.d.ts +3 -0
  933. package/types/vendor/@akanjs/native/plugins/app/src/index.d.ts +66 -0
  934. package/types/vendor/@akanjs/native/plugins/app/src/web.d.ts +2 -0
  935. package/types/vendor/@akanjs/native/plugins/app/src.d.ts +1 -0
  936. package/types/vendor/@akanjs/native/plugins/app-state/src/index.d.ts +19 -0
  937. package/types/vendor/@akanjs/native/plugins/app-state/src/web.d.ts +2 -0
  938. package/types/vendor/@akanjs/native/plugins/app-state/src.d.ts +1 -0
  939. package/types/vendor/@akanjs/native/plugins/appearance/src/desktop.d.ts +9 -0
  940. package/types/vendor/@akanjs/native/plugins/appearance/src/index.d.ts +32 -0
  941. package/types/vendor/@akanjs/native/plugins/appearance/src/setting.d.ts +6 -0
  942. package/types/vendor/@akanjs/native/plugins/appearance/src/web.d.ts +3 -0
  943. package/types/vendor/@akanjs/native/plugins/appearance/src.d.ts +1 -0
  944. package/types/vendor/@akanjs/native/plugins/auth-session/src/args.d.ts +18 -0
  945. package/types/vendor/@akanjs/native/plugins/auth-session/src/desktop.d.ts +17 -0
  946. package/types/vendor/@akanjs/native/plugins/auth-session/src/index.d.ts +41 -0
  947. package/types/vendor/@akanjs/native/plugins/auth-session/src.d.ts +1 -0
  948. package/types/vendor/@akanjs/native/plugins/autostart/src/desktop.d.ts +44 -0
  949. package/types/vendor/@akanjs/native/plugins/autostart/src/index.d.ts +44 -0
  950. package/types/vendor/@akanjs/native/plugins/autostart/src.d.ts +1 -0
  951. package/types/vendor/@akanjs/native/plugins/badge/src/count.d.ts +4 -0
  952. package/types/vendor/@akanjs/native/plugins/badge/src/desktop.d.ts +3 -0
  953. package/types/vendor/@akanjs/native/plugins/badge/src/index.d.ts +37 -0
  954. package/types/vendor/@akanjs/native/plugins/badge/src/web.d.ts +2 -0
  955. package/types/vendor/@akanjs/native/plugins/badge/src.d.ts +1 -0
  956. package/types/vendor/@akanjs/native/plugins/biometric/src/index.d.ts +53 -0
  957. package/types/vendor/@akanjs/native/plugins/biometric/src.d.ts +1 -0
  958. package/types/vendor/@akanjs/native/plugins/browser/src/args.d.ts +8 -0
  959. package/types/vendor/@akanjs/native/plugins/browser/src/desktop.d.ts +9 -0
  960. package/types/vendor/@akanjs/native/plugins/browser/src/index.d.ts +36 -0
  961. package/types/vendor/@akanjs/native/plugins/browser/src/web.d.ts +2 -0
  962. package/types/vendor/@akanjs/native/plugins/browser/src.d.ts +1 -0
  963. package/types/vendor/@akanjs/native/plugins/camera/src/desktop.d.ts +5 -0
  964. package/types/vendor/@akanjs/native/plugins/camera/src/index.d.ts +55 -0
  965. package/types/vendor/@akanjs/native/plugins/camera/src/web.d.ts +2 -0
  966. package/types/vendor/@akanjs/native/plugins/camera/src.d.ts +1 -0
  967. package/types/vendor/@akanjs/native/plugins/clipboard/src/desktop.d.ts +8 -0
  968. package/types/vendor/@akanjs/native/plugins/clipboard/src/index.d.ts +40 -0
  969. package/types/vendor/@akanjs/native/plugins/clipboard/src/web.d.ts +2 -0
  970. package/types/vendor/@akanjs/native/plugins/clipboard/src.d.ts +1 -0
  971. package/types/vendor/@akanjs/native/plugins/device/src/desktop.d.ts +33 -0
  972. package/types/vendor/@akanjs/native/plugins/device/src/index.d.ts +55 -0
  973. package/types/vendor/@akanjs/native/plugins/device/src/web.d.ts +22 -0
  974. package/types/vendor/@akanjs/native/plugins/device/src.d.ts +1 -0
  975. package/types/vendor/@akanjs/native/plugins/dialog/src/desktop.d.ts +3 -0
  976. package/types/vendor/@akanjs/native/plugins/dialog/src/index.d.ts +60 -0
  977. package/types/vendor/@akanjs/native/plugins/dialog/src/options.d.ts +29 -0
  978. package/types/vendor/@akanjs/native/plugins/dialog/src/web.d.ts +2 -0
  979. package/types/vendor/@akanjs/native/plugins/dialog/src.d.ts +1 -0
  980. package/types/vendor/@akanjs/native/plugins/dock/src/desktop.d.ts +3 -0
  981. package/types/vendor/@akanjs/native/plugins/dock/src/index.d.ts +46 -0
  982. package/types/vendor/@akanjs/native/plugins/dock/src.d.ts +1 -0
  983. package/types/vendor/@akanjs/native/plugins/file-picker/src/common.d.ts +33 -0
  984. package/types/vendor/@akanjs/native/plugins/file-picker/src/desktop.d.ts +9 -0
  985. package/types/vendor/@akanjs/native/plugins/file-picker/src/index.d.ts +84 -0
  986. package/types/vendor/@akanjs/native/plugins/file-picker/src/web.d.ts +6 -0
  987. package/types/vendor/@akanjs/native/plugins/file-picker/src.d.ts +1 -0
  988. package/types/vendor/@akanjs/native/plugins/filesystem/src/common.d.ts +49 -0
  989. package/types/vendor/@akanjs/native/plugins/filesystem/src/desktop.d.ts +8 -0
  990. package/types/vendor/@akanjs/native/plugins/filesystem/src/index.d.ts +123 -0
  991. package/types/vendor/@akanjs/native/plugins/filesystem/src/web.d.ts +2 -0
  992. package/types/vendor/@akanjs/native/plugins/filesystem/src.d.ts +1 -0
  993. package/types/vendor/@akanjs/native/plugins/geolocation/src/index.d.ts +93 -0
  994. package/types/vendor/@akanjs/native/plugins/geolocation/src/web.d.ts +11 -0
  995. package/types/vendor/@akanjs/native/plugins/geolocation/src.d.ts +1 -0
  996. package/types/vendor/@akanjs/native/plugins/global-shortcut/src/desktop.d.ts +3 -0
  997. package/types/vendor/@akanjs/native/plugins/global-shortcut/src/index.d.ts +52 -0
  998. package/types/vendor/@akanjs/native/plugins/global-shortcut/src.d.ts +1 -0
  999. package/types/vendor/@akanjs/native/plugins/haptics/src/index.d.ts +31 -0
  1000. package/types/vendor/@akanjs/native/plugins/haptics/src/web.d.ts +2 -0
  1001. package/types/vendor/@akanjs/native/plugins/haptics/src.d.ts +1 -0
  1002. package/types/vendor/@akanjs/native/plugins/http/src/common.d.ts +71 -0
  1003. package/types/vendor/@akanjs/native/plugins/http/src/desktop.d.ts +5 -0
  1004. package/types/vendor/@akanjs/native/plugins/http/src/index.d.ts +104 -0
  1005. package/types/vendor/@akanjs/native/plugins/http/src/web.d.ts +2 -0
  1006. package/types/vendor/@akanjs/native/plugins/http/src.d.ts +1 -0
  1007. package/types/vendor/@akanjs/native/plugins/iap/src/index.d.ts +171 -0
  1008. package/types/vendor/@akanjs/native/plugins/iap/src.d.ts +1 -0
  1009. package/types/vendor/@akanjs/native/plugins/keep-awake/src/desktop.d.ts +15 -0
  1010. package/types/vendor/@akanjs/native/plugins/keep-awake/src/index.d.ts +33 -0
  1011. package/types/vendor/@akanjs/native/plugins/keep-awake/src/web.d.ts +2 -0
  1012. package/types/vendor/@akanjs/native/plugins/keep-awake/src.d.ts +1 -0
  1013. package/types/vendor/@akanjs/native/plugins/keyboard/src/index.d.ts +42 -0
  1014. package/types/vendor/@akanjs/native/plugins/keyboard/src/web.d.ts +2 -0
  1015. package/types/vendor/@akanjs/native/plugins/keyboard/src.d.ts +1 -0
  1016. package/types/vendor/@akanjs/native/plugins/local-notifications/src/desktop.d.ts +29 -0
  1017. package/types/vendor/@akanjs/native/plugins/local-notifications/src/index.d.ts +126 -0
  1018. package/types/vendor/@akanjs/native/plugins/local-notifications/src/schedule.d.ts +38 -0
  1019. package/types/vendor/@akanjs/native/plugins/local-notifications/src/timers.d.ts +25 -0
  1020. package/types/vendor/@akanjs/native/plugins/local-notifications/src/web.d.ts +4 -0
  1021. package/types/vendor/@akanjs/native/plugins/local-notifications/src.d.ts +1 -0
  1022. package/types/vendor/@akanjs/native/plugins/menu/src/desktop.d.ts +3 -0
  1023. package/types/vendor/@akanjs/native/plugins/menu/src/index.d.ts +85 -0
  1024. package/types/vendor/@akanjs/native/plugins/menu/src.d.ts +1 -0
  1025. package/types/vendor/@akanjs/native/plugins/network/src/index.d.ts +22 -0
  1026. package/types/vendor/@akanjs/native/plugins/network/src/web.d.ts +3 -0
  1027. package/types/vendor/@akanjs/native/plugins/network/src.d.ts +1 -0
  1028. package/types/vendor/@akanjs/native/plugins/opener/src/desktop.d.ts +14 -0
  1029. package/types/vendor/@akanjs/native/plugins/opener/src/index.d.ts +33 -0
  1030. package/types/vendor/@akanjs/native/plugins/opener/src/url.d.ts +16 -0
  1031. package/types/vendor/@akanjs/native/plugins/opener/src/web.d.ts +2 -0
  1032. package/types/vendor/@akanjs/native/plugins/opener/src.d.ts +1 -0
  1033. package/types/vendor/@akanjs/native/plugins/preferences/src/desktop.d.ts +3 -0
  1034. package/types/vendor/@akanjs/native/plugins/preferences/src/index.d.ts +26 -0
  1035. package/types/vendor/@akanjs/native/plugins/preferences/src/web.d.ts +2 -0
  1036. package/types/vendor/@akanjs/native/plugins/preferences/src.d.ts +1 -0
  1037. package/types/vendor/@akanjs/native/plugins/push/src/index.d.ts +57 -0
  1038. package/types/vendor/@akanjs/native/plugins/push/src.d.ts +1 -0
  1039. package/types/vendor/@akanjs/native/plugins/screen/src/desktop.d.ts +3 -0
  1040. package/types/vendor/@akanjs/native/plugins/screen/src/index.d.ts +70 -0
  1041. package/types/vendor/@akanjs/native/plugins/screen/src/web.d.ts +18 -0
  1042. package/types/vendor/@akanjs/native/plugins/screen/src.d.ts +1 -0
  1043. package/types/vendor/@akanjs/native/plugins/screen-orientation/src/index.d.ts +32 -0
  1044. package/types/vendor/@akanjs/native/plugins/screen-orientation/src/types.d.ts +8 -0
  1045. package/types/vendor/@akanjs/native/plugins/screen-orientation/src/web.d.ts +3 -0
  1046. package/types/vendor/@akanjs/native/plugins/screen-orientation/src.d.ts +1 -0
  1047. package/types/vendor/@akanjs/native/plugins/secure-storage/src/desktop.d.ts +16 -0
  1048. package/types/vendor/@akanjs/native/plugins/secure-storage/src/index.d.ts +39 -0
  1049. package/types/vendor/@akanjs/native/plugins/secure-storage/src.d.ts +1 -0
  1050. package/types/vendor/@akanjs/native/plugins/share/src/index.d.ts +55 -0
  1051. package/types/vendor/@akanjs/native/plugins/share/src/options.d.ts +6 -0
  1052. package/types/vendor/@akanjs/native/plugins/share/src/web.d.ts +5 -0
  1053. package/types/vendor/@akanjs/native/plugins/share/src.d.ts +1 -0
  1054. package/types/vendor/@akanjs/native/plugins/single-instance/src/desktop.d.ts +8 -0
  1055. package/types/vendor/@akanjs/native/plugins/single-instance/src/index.d.ts +25 -0
  1056. package/types/vendor/@akanjs/native/plugins/single-instance/src/socket.d.ts +46 -0
  1057. package/types/vendor/@akanjs/native/plugins/single-instance/src.d.ts +1 -0
  1058. package/types/vendor/@akanjs/native/plugins/splash-screen/src/index.d.ts +19 -0
  1059. package/types/vendor/@akanjs/native/plugins/splash-screen/src/web.d.ts +4 -0
  1060. package/types/vendor/@akanjs/native/plugins/splash-screen/src.d.ts +1 -0
  1061. package/types/vendor/@akanjs/native/plugins/sqlite/src/common.d.ts +34 -0
  1062. package/types/vendor/@akanjs/native/plugins/sqlite/src/desktop.d.ts +6 -0
  1063. package/types/vendor/@akanjs/native/plugins/sqlite/src/index.d.ts +115 -0
  1064. package/types/vendor/@akanjs/native/plugins/sqlite/src.d.ts +1 -0
  1065. package/types/vendor/@akanjs/native/plugins/toast/src/index.d.ts +30 -0
  1066. package/types/vendor/@akanjs/native/plugins/toast/src/queue.d.ts +23 -0
  1067. package/types/vendor/@akanjs/native/plugins/toast/src/web.d.ts +2 -0
  1068. package/types/vendor/@akanjs/native/plugins/toast/src.d.ts +1 -0
  1069. package/types/vendor/@akanjs/native/plugins/tray/src/desktop.d.ts +3 -0
  1070. package/types/vendor/@akanjs/native/plugins/tray/src/index.d.ts +113 -0
  1071. package/types/vendor/@akanjs/native/plugins/tray/src.d.ts +1 -0
  1072. package/types/vendor/@akanjs/native/plugins/updates/src/desktop.d.ts +4 -0
  1073. package/types/vendor/@akanjs/native/plugins/updates/src/index.d.ts +68 -0
  1074. package/types/vendor/@akanjs/native/plugins/updates/src.d.ts +1 -0
  1075. package/types/vendor/@akanjs/native/plugins/window/src/desktop.d.ts +6 -0
  1076. package/types/vendor/@akanjs/native/plugins/window/src/index.d.ts +185 -0
  1077. package/types/vendor/@akanjs/native/plugins/window/src/web.d.ts +2 -0
  1078. package/types/vendor/@akanjs/native/plugins/window/src.d.ts +1 -0
  1079. package/types/vendor/@akanjs/native/plugins/window-state/src/desktop.d.ts +7 -0
  1080. package/types/vendor/@akanjs/native/plugins/window-state/src/index.d.ts +33 -0
  1081. package/types/vendor/@akanjs/native/plugins/window-state/src/state.d.ts +39 -0
  1082. package/types/vendor/@akanjs/native/plugins/window-state/src.d.ts +1 -0
  1083. package/types/vendor/use-agentic/AgentProgress.d.ts +12 -0
  1084. package/types/vendor/use-agentic/AgentSession.d.ts +94 -2
  1085. package/types/vendor/use-agentic/Compaction.d.ts +42 -5
  1086. package/types/vendor/use-agentic/Reference.d.ts +56 -0
  1087. package/types/vendor/use-agentic/ToolRunner.d.ts +31 -1
  1088. package/types/vendor/use-agentic/Transcript.d.ts +4 -1
  1089. package/types/vendor/use-agentic/index.d.ts +1 -0
  1090. package/types/vendor/use-agentic/types.d.ts +109 -7
  1091. package/types/webkit/RenderLayer.d.ts +11 -0
  1092. package/types/webkit/index.d.ts +1 -4
  1093. package/types/webkit/lazy.d.ts +3 -12
  1094. package/types/webkit/nativeNavigation.d.ts +25 -0
  1095. package/types/webkit/nativePurchase.d.ts +37 -0
  1096. package/types/webkit/seoPages.d.ts +19 -0
  1097. package/types/webkit/useBodyScrollLock.d.ts +0 -1
  1098. package/types/webkit/useCamera.d.ts +13 -15
  1099. package/types/webkit/useDebounce.d.ts +0 -1
  1100. package/types/webkit/useEscapeKey.d.ts +1 -4
  1101. package/types/webkit/useFetch.d.ts +1 -6
  1102. package/types/webkit/useFrameRuntime.d.ts +1 -1
  1103. package/types/webkit/useGeoLocation.d.ts +5 -6
  1104. package/types/webkit/usePageTool.d.ts +2 -9
  1105. package/types/webkit/usePurchase.d.ts +12 -19
  1106. package/types/webkit/useScreenScope.d.ts +2 -13
  1107. package/ui/Agent/Attach.tsx +5 -4
  1108. package/ui/Agent/Bubble.tsx +51 -31
  1109. package/ui/Agent/Chat.tsx +114 -102
  1110. package/ui/Agent/ChatCommands.ts +5 -21
  1111. package/ui/Agent/Composer.tsx +110 -28
  1112. package/ui/Agent/Dock.tsx +176 -16
  1113. package/ui/Agent/Guide.tsx +1 -5
  1114. package/ui/Agent/History.tsx +1 -18
  1115. package/ui/Agent/Launcher.tsx +2 -2
  1116. package/ui/Agent/Markdown.tsx +40 -14
  1117. package/ui/Agent/MentionNode.ts +54 -0
  1118. package/ui/Agent/Menu.tsx +8 -5
  1119. package/ui/Agent/Question.tsx +1 -6
  1120. package/ui/Agent/Queued.tsx +3 -6
  1121. package/ui/Agent/Refer.tsx +40 -0
  1122. package/ui/Agent/RichInput.tsx +146 -0
  1123. package/ui/Agent/Skip.tsx +3 -15
  1124. package/ui/Agent/Steps.tsx +33 -0
  1125. package/ui/Agent/ToolCard.tsx +32 -0
  1126. package/ui/Agent/Zone.tsx +15 -31
  1127. package/ui/Agent/agentSessionOf.ts +115 -15
  1128. package/ui/Agent/attachment.ts +5 -42
  1129. package/ui/Agent/fetchRunner.ts +3 -15
  1130. package/ui/Agent/index.ts +1 -6
  1131. package/ui/Agent/mentionDraft.ts +91 -0
  1132. package/ui/Agent/tokenCount.ts +1 -5
  1133. package/ui/Agent/useChatAttachments.ts +2 -9
  1134. package/ui/Agent/useChatQueue.ts +12 -14
  1135. package/ui/Agent/useChatReferences.ts +51 -0
  1136. package/ui/Agent/useChatVoice.ts +2 -23
  1137. package/ui/Agent/useDraftRecall.ts +0 -9
  1138. package/ui/Agent/useKeyboardInset.ts +0 -7
  1139. package/ui/Agent/useReferenceMenu.ts +93 -0
  1140. package/ui/Agent/useSlashMenu.ts +0 -3
  1141. package/ui/Agent/voice.ts +8 -43
  1142. package/ui/Badge.tsx +0 -2
  1143. package/ui/BottomSheet.tsx +2 -5
  1144. package/ui/Button.tsx +9 -45
  1145. package/ui/ClientSide.tsx +0 -2
  1146. package/ui/Clipboard.tsx +0 -1
  1147. package/ui/Constant/Doc.tsx +274 -265
  1148. package/ui/Constant/Graph.tsx +11 -3
  1149. package/ui/Constant/schemaGraph.ts +0 -9
  1150. package/ui/Copy.tsx +2 -3
  1151. package/ui/CsrImage.tsx +9 -9
  1152. package/ui/Data/CardList.tsx +2 -17
  1153. package/ui/Data/Dashboard.tsx +2 -5
  1154. package/ui/Data/Item.tsx +2 -3
  1155. package/ui/Data/ListContainer.tsx +15 -61
  1156. package/ui/Data/Pagination.tsx +3 -22
  1157. package/ui/Data/QueryMaker.tsx +1 -8
  1158. package/ui/Data/RefPicker.tsx +1 -8
  1159. package/ui/Data/TableList.tsx +2 -15
  1160. package/ui/DatePicker.tsx +1 -12
  1161. package/ui/Dialog/LegacyModal.tsx +3 -7
  1162. package/ui/Dialog/Modal.tsx +3 -4
  1163. package/ui/Dialog/Provider.tsx +85 -7
  1164. package/ui/Dialog/index.tsx +1 -5
  1165. package/ui/DraggableList.tsx +1 -4
  1166. package/ui/Dropdown.tsx +4 -17
  1167. package/ui/Empty.tsx +4 -12
  1168. package/ui/Field/Choice.tsx +1 -1
  1169. package/ui/Field/Collection.tsx +7 -29
  1170. package/ui/Field/DateField.tsx +2 -7
  1171. package/ui/Field/Label.tsx +0 -1
  1172. package/ui/Field/NumberField.tsx +0 -1
  1173. package/ui/Field/Relation.tsx +79 -199
  1174. package/ui/Field/Text.tsx +25 -86
  1175. package/ui/Field/index.tsx +0 -9
  1176. package/ui/Field/lightRefCache.ts +61 -0
  1177. package/ui/Field/useRelationOptions.ts +97 -0
  1178. package/ui/Image.tsx +35 -65
  1179. package/ui/InfiniteScroll.tsx +3 -21
  1180. package/ui/Input.tsx +82 -174
  1181. package/ui/Layout/Role.tsx +42 -0
  1182. package/ui/Layout/Sider.tsx +82 -1
  1183. package/ui/Layout/TopInset.tsx +23 -1
  1184. package/ui/Layout/index.ts +3 -9
  1185. package/ui/LegacyModal.tsx +1 -12
  1186. package/ui/Link/Action.tsx +29 -0
  1187. package/ui/Link/Anchor.tsx +115 -0
  1188. package/ui/Link/index.tsx +7 -8
  1189. package/ui/Load/Edit_Client.tsx +2 -37
  1190. package/ui/Load/Page.tsx +3 -6
  1191. package/ui/Load/Pagination.tsx +4 -19
  1192. package/ui/Load/Stream.tsx +0 -12
  1193. package/ui/Load/Units.tsx +13 -86
  1194. package/ui/Load/View.tsx +4 -21
  1195. package/ui/Loading/ProgressBar.tsx +0 -4
  1196. package/ui/Loading/Skeleton.tsx +14 -0
  1197. package/ui/Loading/Spin.tsx +34 -5
  1198. package/ui/Loading/index.ts +0 -5
  1199. package/ui/Loading/index_.tsx +2 -12
  1200. package/ui/Menu.tsx +3 -21
  1201. package/ui/Modal.tsx +0 -17
  1202. package/ui/Model/AdminPanel.tsx +2 -5
  1203. package/ui/Model/DraftBar.tsx +3 -14
  1204. package/ui/Model/EditModal.tsx +11 -48
  1205. package/ui/Model/EditWrapper.tsx +2 -3
  1206. package/ui/Model/LoadStore.tsx +18 -0
  1207. package/ui/Model/NewWrapper_Client.tsx +1 -1
  1208. package/ui/Model/Remove.tsx +4 -12
  1209. package/ui/Model/RemoveWrapper.tsx +2 -3
  1210. package/ui/Model/SureToRemove.tsx +4 -13
  1211. package/ui/Model/ViewEditModal.tsx +0 -6
  1212. package/ui/Model/ViewModal.tsx +1 -5
  1213. package/ui/Model/ViewWrapper.tsx +1 -2
  1214. package/ui/Model/draftScope.ts +0 -7
  1215. package/ui/Model/index_.tsx +2 -22
  1216. package/ui/Pagination.tsx +4 -12
  1217. package/ui/Popconfirm.tsx +3 -18
  1218. package/ui/Portal.tsx +2 -3
  1219. package/ui/Radio.tsx +1 -5
  1220. package/ui/RecentTime.tsx +19 -31
  1221. package/ui/Reference/Panel.tsx +102 -6
  1222. package/ui/Reference/Segmented.tsx +5 -11
  1223. package/ui/Reference/docUi.ts +53 -0
  1224. package/ui/Reference/index.ts +3 -7
  1225. package/ui/Refresh.tsx +79 -13
  1226. package/ui/ScreenNavigator.tsx +8 -13
  1227. package/ui/Select.tsx +29 -37
  1228. package/ui/Signal/Endpoint.tsx +154 -0
  1229. package/ui/Signal/Listener.tsx +1 -4
  1230. package/ui/Signal/Object.tsx +67 -73
  1231. package/ui/Signal/RestApi.tsx +30 -76
  1232. package/ui/Signal/WebSocket.tsx +253 -2
  1233. package/ui/Signal/endpointEntries.ts +3 -5
  1234. package/ui/Signal/index.ts +1 -3
  1235. package/ui/Signal/style.ts +1 -2
  1236. package/ui/Switch.tsx +1 -5
  1237. package/ui/System/CSR.tsx +29 -109
  1238. package/ui/System/Client.tsx +17 -25
  1239. package/ui/System/Common.tsx +31 -22
  1240. package/ui/System/Messages.tsx +2 -2
  1241. package/ui/System/Reconnect.tsx +1 -6
  1242. package/ui/System/Root.tsx +1 -4
  1243. package/ui/System/SSR.tsx +10 -16
  1244. package/ui/System/ThemeToggle.tsx +15 -0
  1245. package/ui/System/index.tsx +2 -2
  1246. package/ui/Tab/Provider.tsx +115 -7
  1247. package/ui/Tab/index.tsx +1 -4
  1248. package/ui/Table.tsx +7 -23
  1249. package/ui/Toast.tsx +9 -16
  1250. package/ui/ToggleSelect.tsx +10 -24
  1251. package/ui/Tooltip.tsx +2 -8
  1252. package/ui/UiOverride/UiOverride.tsx +155 -0
  1253. package/ui/UiOverride/index.ts +9 -6
  1254. package/ui/UiOverride/override.ts +2 -18
  1255. package/ui/Unauthorized.tsx +1 -8
  1256. package/ui/agentAttrs.ts +9 -12
  1257. package/ui/index.ts +20 -5
  1258. package/ui/overlayLayer.ts +4 -25
  1259. package/ui/overlayPosition.ts +2 -14
  1260. package/ui/recipe/badgeRecipe.ts +1 -1
  1261. package/ui/recipe/buttonRecipe.ts +4 -4
  1262. package/ui/recipe/factory.ts +1 -22
  1263. package/ui/recipe/index.ts +1 -14
  1264. package/ui/recipe/inputRecipe.ts +2 -2
  1265. package/ui/sliceNamesOf.ts +26 -0
  1266. package/ui/styles.css +195 -1
  1267. package/ui/triggerSlot.tsx +2 -12
  1268. package/vendor/@akanjs/native/LICENSE +21 -0
  1269. package/vendor/@akanjs/native/README.ko.md +88 -0
  1270. package/vendor/@akanjs/native/README.md +93 -0
  1271. package/vendor/@akanjs/native/THIRD_PARTY_NOTICES.md +237 -0
  1272. package/vendor/@akanjs/native/native/android/maven.lock.json +1751 -0
  1273. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeAcl.kt +243 -0
  1274. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeActivity.kt +936 -0
  1275. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeApplication.kt +189 -0
  1276. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeAssetServer.kt +225 -0
  1277. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeBridge.kt +444 -0
  1278. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeCompat.kt +55 -0
  1279. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeContract.kt +99 -0
  1280. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeEd25519.kt +100 -0
  1281. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeFileProvider.kt +71 -0
  1282. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeKernel.kt +324 -0
  1283. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativePlugin.kt +361 -0
  1284. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeSpec.kt +100 -0
  1285. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeUpdates.kt +305 -0
  1286. package/vendor/@akanjs/native/native/android/src/com/akanjs/runtime/AkanNativeVectors.kt +132 -0
  1287. package/vendor/@akanjs/native/native/desktop/Cargo.lock +2565 -0
  1288. package/vendor/@akanjs/native/native/desktop/Cargo.toml +49 -0
  1289. package/vendor/@akanjs/native/native/desktop/build.rs +19 -0
  1290. package/vendor/@akanjs/native/native/desktop/rust-toolchain.toml +7 -0
  1291. package/vendor/@akanjs/native/native/desktop/src/accelerator.rs +466 -0
  1292. package/vendor/@akanjs/native/native/desktop/src/autostart.rs +158 -0
  1293. package/vendor/@akanjs/native/native/desktop/src/camera.rs +53 -0
  1294. package/vendor/@akanjs/native/native/desktop/src/chrome.rs +710 -0
  1295. package/vendor/@akanjs/native/native/desktop/src/contract.rs +105 -0
  1296. package/vendor/@akanjs/native/native/desktop/src/devproxy.rs +234 -0
  1297. package/vendor/@akanjs/native/native/desktop/src/dialog_args.rs +189 -0
  1298. package/vendor/@akanjs/native/native/desktop/src/dock.rs +209 -0
  1299. package/vendor/@akanjs/native/native/desktop/src/hotkey.rs +209 -0
  1300. package/vendor/@akanjs/native/native/desktop/src/js_panels.rs +125 -0
  1301. package/vendor/@akanjs/native/native/desktop/src/json.rs +272 -0
  1302. package/vendor/@akanjs/native/native/desktop/src/keychain.rs +151 -0
  1303. package/vendor/@akanjs/native/native/desktop/src/lib.rs +2185 -0
  1304. package/vendor/@akanjs/native/native/desktop/src/linux/appearance.rs +177 -0
  1305. package/vendor/@akanjs/native/native/desktop/src/linux/camera.rs +11 -0
  1306. package/vendor/@akanjs/native/native/desktop/src/linux/clipboard.rs +48 -0
  1307. package/vendor/@akanjs/native/native/desktop/src/linux/device.rs +9 -0
  1308. package/vendor/@akanjs/native/native/desktop/src/linux/dialogs.rs +348 -0
  1309. package/vendor/@akanjs/native/native/desktop/src/linux/dock.rs +146 -0
  1310. package/vendor/@akanjs/native/native/desktop/src/linux/hotkey.rs +228 -0
  1311. package/vendor/@akanjs/native/native/desktop/src/linux/keychain.rs +243 -0
  1312. package/vendor/@akanjs/native/native/desktop/src/linux/menu.rs +445 -0
  1313. package/vendor/@akanjs/native/native/desktop/src/linux/mod.rs +116 -0
  1314. package/vendor/@akanjs/native/native/desktop/src/linux/notify.rs +211 -0
  1315. package/vendor/@akanjs/native/native/desktop/src/linux/open.rs +79 -0
  1316. package/vendor/@akanjs/native/native/desktop/src/linux/power.rs +155 -0
  1317. package/vendor/@akanjs/native/native/desktop/src/linux/screen.rs +158 -0
  1318. package/vendor/@akanjs/native/native/desktop/src/linux/tray.rs +604 -0
  1319. package/vendor/@akanjs/native/native/desktop/src/menu.rs +517 -0
  1320. package/vendor/@akanjs/native/native/desktop/src/navigation.rs +381 -0
  1321. package/vendor/@akanjs/native/native/desktop/src/notify.rs +411 -0
  1322. package/vendor/@akanjs/native/native/desktop/src/notify_schedule.rs +382 -0
  1323. package/vendor/@akanjs/native/native/desktop/src/page_menu.rs +287 -0
  1324. package/vendor/@akanjs/native/native/desktop/src/panels.rs +333 -0
  1325. package/vendor/@akanjs/native/native/desktop/src/placement.rs +92 -0
  1326. package/vendor/@akanjs/native/native/desktop/src/routes.rs +153 -0
  1327. package/vendor/@akanjs/native/native/desktop/src/screen.rs +190 -0
  1328. package/vendor/@akanjs/native/native/desktop/src/tray.rs +279 -0
  1329. package/vendor/@akanjs/native/native/desktop/src/vectors.rs +126 -0
  1330. package/vendor/@akanjs/native/native/desktop/src/win/appearance.rs +51 -0
  1331. package/vendor/@akanjs/native/native/desktop/src/win/autostart.rs +77 -0
  1332. package/vendor/@akanjs/native/native/desktop/src/win/camera.rs +34 -0
  1333. package/vendor/@akanjs/native/native/desktop/src/win/clipboard.rs +106 -0
  1334. package/vendor/@akanjs/native/native/desktop/src/win/device.rs +80 -0
  1335. package/vendor/@akanjs/native/native/desktop/src/win/dialogs.rs +917 -0
  1336. package/vendor/@akanjs/native/native/desktop/src/win/dock.rs +228 -0
  1337. package/vendor/@akanjs/native/native/desktop/src/win/hotkey.rs +110 -0
  1338. package/vendor/@akanjs/native/native/desktop/src/win/keychain.rs +103 -0
  1339. package/vendor/@akanjs/native/native/desktop/src/win/menu.rs +500 -0
  1340. package/vendor/@akanjs/native/native/desktop/src/win/mod.rs +100 -0
  1341. package/vendor/@akanjs/native/native/desktop/src/win/msgwin.rs +86 -0
  1342. package/vendor/@akanjs/native/native/desktop/src/win/notify.rs +334 -0
  1343. package/vendor/@akanjs/native/native/desktop/src/win/open.rs +127 -0
  1344. package/vendor/@akanjs/native/native/desktop/src/win/power.rs +64 -0
  1345. package/vendor/@akanjs/native/native/desktop/src/win/registry.rs +87 -0
  1346. package/vendor/@akanjs/native/native/desktop/src/win/screen.rs +127 -0
  1347. package/vendor/@akanjs/native/native/desktop/src/win/tray.rs +280 -0
  1348. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeAcl.swift +241 -0
  1349. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeApp.swift +285 -0
  1350. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeBridge.swift +407 -0
  1351. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeContract.swift +106 -0
  1352. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeKernel.swift +317 -0
  1353. package/vendor/@akanjs/native/native/ios/Sources/AkanNativePlugin.swift +250 -0
  1354. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeSchemeHandler.swift +209 -0
  1355. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeShell.swift +161 -0
  1356. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeSpec.swift +143 -0
  1357. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeUpdates.swift +270 -0
  1358. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeVectors.swift +155 -0
  1359. package/vendor/@akanjs/native/native/ios/Sources/AkanNativeViewController.swift +371 -0
  1360. package/vendor/@akanjs/native/packages/cli/src/api.ts +600 -0
  1361. package/vendor/@akanjs/native/packages/cli/src/commands/build.ts +101 -0
  1362. package/vendor/@akanjs/native/packages/cli/src/commands/compat.ts +53 -0
  1363. package/vendor/@akanjs/native/packages/cli/src/commands/dev.ts +249 -0
  1364. package/vendor/@akanjs/native/packages/cli/src/commands/doctor.ts +536 -0
  1365. package/vendor/@akanjs/native/packages/cli/src/commands/plugin.ts +164 -0
  1366. package/vendor/@akanjs/native/packages/cli/src/commands/signing.ts +32 -0
  1367. package/vendor/@akanjs/native/packages/cli/src/commands/test.ts +130 -0
  1368. package/vendor/@akanjs/native/packages/cli/src/commands/toolchain.ts +143 -0
  1369. package/vendor/@akanjs/native/packages/cli/src/commands/update.ts +168 -0
  1370. package/vendor/@akanjs/native/packages/cli/src/config.ts +257 -0
  1371. package/vendor/@akanjs/native/packages/cli/src/index.ts +77 -0
  1372. package/vendor/@akanjs/native/packages/cli/src/lib/acl.ts +420 -0
  1373. package/vendor/@akanjs/native/packages/cli/src/lib/apilevel.ts +245 -0
  1374. package/vendor/@akanjs/native/packages/cli/src/lib/apk.ts +203 -0
  1375. package/vendor/@akanjs/native/packages/cli/src/lib/args.ts +44 -0
  1376. package/vendor/@akanjs/native/packages/cli/src/lib/boot.ts +73 -0
  1377. package/vendor/@akanjs/native/packages/cli/src/lib/chrome.ts +89 -0
  1378. package/vendor/@akanjs/native/packages/cli/src/lib/codegen.ts +1128 -0
  1379. package/vendor/@akanjs/native/packages/cli/src/lib/compat.ts +185 -0
  1380. package/vendor/@akanjs/native/packages/cli/src/lib/configkeys.ts +91 -0
  1381. package/vendor/@akanjs/native/packages/cli/src/lib/csp.ts +198 -0
  1382. package/vendor/@akanjs/native/packages/cli/src/lib/env.ts +257 -0
  1383. package/vendor/@akanjs/native/packages/cli/src/lib/exec.ts +104 -0
  1384. package/vendor/@akanjs/native/packages/cli/src/lib/googleservices.ts +53 -0
  1385. package/vendor/@akanjs/native/packages/cli/src/lib/hmr.ts +534 -0
  1386. package/vendor/@akanjs/native/packages/cli/src/lib/html.ts +63 -0
  1387. package/vendor/@akanjs/native/packages/cli/src/lib/icons.ts +316 -0
  1388. package/vendor/@akanjs/native/packages/cli/src/lib/image.ts +175 -0
  1389. package/vendor/@akanjs/native/packages/cli/src/lib/iossigning.ts +295 -0
  1390. package/vendor/@akanjs/native/packages/cli/src/lib/launch.ts +98 -0
  1391. package/vendor/@akanjs/native/packages/cli/src/lib/log.ts +105 -0
  1392. package/vendor/@akanjs/native/packages/cli/src/lib/manifestmerge.ts +107 -0
  1393. package/vendor/@akanjs/native/packages/cli/src/lib/maven.ts +244 -0
  1394. package/vendor/@akanjs/native/packages/cli/src/lib/names.ts +202 -0
  1395. package/vendor/@akanjs/native/packages/cli/src/lib/native-plugins.ts +326 -0
  1396. package/vendor/@akanjs/native/packages/cli/src/lib/nativeconfig.ts +68 -0
  1397. package/vendor/@akanjs/native/packages/cli/src/lib/permissions.ts +80 -0
  1398. package/vendor/@akanjs/native/packages/cli/src/lib/plist.ts +139 -0
  1399. package/vendor/@akanjs/native/packages/cli/src/lib/png.ts +240 -0
  1400. package/vendor/@akanjs/native/packages/cli/src/lib/prepare.ts +290 -0
  1401. package/vendor/@akanjs/native/packages/cli/src/lib/privacy.ts +64 -0
  1402. package/vendor/@akanjs/native/packages/cli/src/lib/project.ts +710 -0
  1403. package/vendor/@akanjs/native/packages/cli/src/lib/root.ts +18 -0
  1404. package/vendor/@akanjs/native/packages/cli/src/lib/routes.ts +3 -0
  1405. package/vendor/@akanjs/native/packages/cli/src/lib/serve.ts +83 -0
  1406. package/vendor/@akanjs/native/packages/cli/src/lib/signing.ts +117 -0
  1407. package/vendor/@akanjs/native/packages/cli/src/lib/spec.ts +521 -0
  1408. package/vendor/@akanjs/native/packages/cli/src/lib/toolchains.ts +579 -0
  1409. package/vendor/@akanjs/native/packages/cli/src/lib/updates.ts +160 -0
  1410. package/vendor/@akanjs/native/packages/cli/src/lib/vectors.ts +121 -0
  1411. package/vendor/@akanjs/native/packages/cli/src/lib/xml.ts +72 -0
  1412. package/vendor/@akanjs/native/packages/cli/src/platforms/android.ts +1320 -0
  1413. package/vendor/@akanjs/native/packages/cli/src/platforms/desktop-update.ts +78 -0
  1414. package/vendor/@akanjs/native/packages/cli/src/platforms/desktop.ts +279 -0
  1415. package/vendor/@akanjs/native/packages/cli/src/platforms/index.ts +31 -0
  1416. package/vendor/@akanjs/native/packages/cli/src/platforms/ios.ts +801 -0
  1417. package/vendor/@akanjs/native/packages/cli/src/platforms/linux.ts +52 -0
  1418. package/vendor/@akanjs/native/packages/cli/src/platforms/macos.ts +97 -0
  1419. package/vendor/@akanjs/native/packages/cli/src/platforms/targets.ts +12 -0
  1420. package/vendor/@akanjs/native/packages/cli/src/platforms/web-run.ts +69 -0
  1421. package/vendor/@akanjs/native/packages/cli/src/platforms/web.ts +28 -0
  1422. package/vendor/@akanjs/native/packages/cli/src/platforms/windows.ts +82 -0
  1423. package/vendor/@akanjs/native/packages/core/contract.json +96 -0
  1424. package/vendor/@akanjs/native/packages/core/src/acl.ts +272 -0
  1425. package/vendor/@akanjs/native/packages/core/src/boot.ts +97 -0
  1426. package/vendor/@akanjs/native/packages/core/src/contract.ts +100 -0
  1427. package/vendor/@akanjs/native/packages/core/src/errors.ts +95 -0
  1428. package/vendor/@akanjs/native/packages/core/src/files.ts +105 -0
  1429. package/vendor/@akanjs/native/packages/core/src/index.ts +35 -0
  1430. package/vendor/@akanjs/native/packages/core/src/kernel.ts +281 -0
  1431. package/vendor/@akanjs/native/packages/core/src/live.ts +62 -0
  1432. package/vendor/@akanjs/native/packages/core/src/mime.ts +8 -0
  1433. package/vendor/@akanjs/native/packages/core/src/plugin.ts +358 -0
  1434. package/vendor/@akanjs/native/packages/core/src/protocol.ts +194 -0
  1435. package/vendor/@akanjs/native/packages/core/src/runtime.ts +520 -0
  1436. package/vendor/@akanjs/native/packages/core/src/state.ts +46 -0
  1437. package/vendor/@akanjs/native/packages/core/src/testing.ts +176 -0
  1438. package/vendor/@akanjs/native/packages/core/src/version.ts +2 -0
  1439. package/vendor/@akanjs/native/packages/core/src/veto.ts +55 -0
  1440. package/vendor/@akanjs/native/packages/core/vectors/acl.json +57 -0
  1441. package/vendor/@akanjs/native/packages/core/vectors/bridge.json +76 -0
  1442. package/vendor/@akanjs/native/packages/core/vectors/ed25519.json +29 -0
  1443. package/vendor/@akanjs/native/packages/core/vectors/ids.json +73 -0
  1444. package/vendor/@akanjs/native/packages/core/vectors/navigation.json +75 -0
  1445. package/vendor/@akanjs/native/packages/core/vectors/ranges.json +39 -0
  1446. package/vendor/@akanjs/native/packages/core/vectors/retained.json +17 -0
  1447. package/vendor/@akanjs/native/packages/core/vectors/routes.json +66 -0
  1448. package/vendor/@akanjs/native/packages/core/vectors/scope.json +143 -0
  1449. package/vendor/@akanjs/native/packages/desktop/src/deeplinks.ts +143 -0
  1450. package/vendor/@akanjs/native/packages/desktop/src/delta.ts +174 -0
  1451. package/vendor/@akanjs/native/packages/desktop/src/dispatcher.ts +679 -0
  1452. package/vendor/@akanjs/native/packages/desktop/src/ffi.ts +76 -0
  1453. package/vendor/@akanjs/native/packages/desktop/src/host.ts +355 -0
  1454. package/vendor/@akanjs/native/packages/desktop/src/lifecycle.ts +142 -0
  1455. package/vendor/@akanjs/native/packages/desktop/src/main.ts +133 -0
  1456. package/vendor/@akanjs/native/packages/desktop/src/page-veto.ts +103 -0
  1457. package/vendor/@akanjs/native/packages/desktop/src/paths.ts +59 -0
  1458. package/vendor/@akanjs/native/packages/desktop/src/plugin.ts +232 -0
  1459. package/vendor/@akanjs/native/packages/react/src/index.ts +23 -0
  1460. package/vendor/@akanjs/native/plugins/accessibility/android/AccessibilityPlugin.kt +96 -0
  1461. package/vendor/@akanjs/native/plugins/accessibility/ios/AccessibilityPlugin.swift +92 -0
  1462. package/vendor/@akanjs/native/plugins/accessibility/native-plugin.json +21 -0
  1463. package/vendor/@akanjs/native/plugins/accessibility/src/announce.ts +71 -0
  1464. package/vendor/@akanjs/native/plugins/accessibility/src/index.ts +77 -0
  1465. package/vendor/@akanjs/native/plugins/accessibility/src/web.ts +52 -0
  1466. package/vendor/@akanjs/native/plugins/app/android/AppPlugin.kt +72 -0
  1467. package/vendor/@akanjs/native/plugins/app/ios/AppPlugin.swift +52 -0
  1468. package/vendor/@akanjs/native/plugins/app/native-plugin.json +21 -0
  1469. package/vendor/@akanjs/native/plugins/app/src/desktop.ts +64 -0
  1470. package/vendor/@akanjs/native/plugins/app/src/index.ts +77 -0
  1471. package/vendor/@akanjs/native/plugins/app/src/web.ts +12 -0
  1472. package/vendor/@akanjs/native/plugins/app-state/android/AppStatePlugin.kt +54 -0
  1473. package/vendor/@akanjs/native/plugins/app-state/ios/AppStatePlugin.swift +58 -0
  1474. package/vendor/@akanjs/native/plugins/app-state/native-plugin.json +17 -0
  1475. package/vendor/@akanjs/native/plugins/app-state/src/index.ts +42 -0
  1476. package/vendor/@akanjs/native/plugins/app-state/src/web.ts +33 -0
  1477. package/vendor/@akanjs/native/plugins/appearance/android/AppearancePlugin.kt +133 -0
  1478. package/vendor/@akanjs/native/plugins/appearance/ios/AppearancePlugin.swift +109 -0
  1479. package/vendor/@akanjs/native/plugins/appearance/native-plugin.json +18 -0
  1480. package/vendor/@akanjs/native/plugins/appearance/src/desktop.ts +133 -0
  1481. package/vendor/@akanjs/native/plugins/appearance/src/index.ts +62 -0
  1482. package/vendor/@akanjs/native/plugins/appearance/src/setting.ts +18 -0
  1483. package/vendor/@akanjs/native/plugins/appearance/src/web.ts +25 -0
  1484. package/vendor/@akanjs/native/plugins/auth-session/android/AuthSessionPlugin.kt +171 -0
  1485. package/vendor/@akanjs/native/plugins/auth-session/ios/AuthSessionPlugin.swift +112 -0
  1486. package/vendor/@akanjs/native/plugins/auth-session/native-plugin.json +19 -0
  1487. package/vendor/@akanjs/native/plugins/auth-session/src/args.ts +62 -0
  1488. package/vendor/@akanjs/native/plugins/auth-session/src/desktop.ts +133 -0
  1489. package/vendor/@akanjs/native/plugins/auth-session/src/index.ts +39 -0
  1490. package/vendor/@akanjs/native/plugins/autostart/native-plugin.json +10 -0
  1491. package/vendor/@akanjs/native/plugins/autostart/src/desktop.ts +189 -0
  1492. package/vendor/@akanjs/native/plugins/autostart/src/index.ts +51 -0
  1493. package/vendor/@akanjs/native/plugins/badge/ios/BadgePlugin.swift +92 -0
  1494. package/vendor/@akanjs/native/plugins/badge/native-plugin.json +15 -0
  1495. package/vendor/@akanjs/native/plugins/badge/src/count.ts +12 -0
  1496. package/vendor/@akanjs/native/plugins/badge/src/desktop.ts +24 -0
  1497. package/vendor/@akanjs/native/plugins/badge/src/index.ts +40 -0
  1498. package/vendor/@akanjs/native/plugins/badge/src/web.ts +37 -0
  1499. package/vendor/@akanjs/native/plugins/biometric/android/BiometricPlugin.kt +179 -0
  1500. package/vendor/@akanjs/native/plugins/biometric/ios/BiometricPlugin.swift +129 -0
  1501. package/vendor/@akanjs/native/plugins/biometric/native-plugin.json +22 -0
  1502. package/vendor/@akanjs/native/plugins/biometric/src/index.ts +100 -0
  1503. package/vendor/@akanjs/native/plugins/browser/android/BrowserPlugin.kt +178 -0
  1504. package/vendor/@akanjs/native/plugins/browser/ios/BrowserPlugin.swift +63 -0
  1505. package/vendor/@akanjs/native/plugins/browser/native-plugin.json +22 -0
  1506. package/vendor/@akanjs/native/plugins/browser/src/args.ts +34 -0
  1507. package/vendor/@akanjs/native/plugins/browser/src/desktop.ts +40 -0
  1508. package/vendor/@akanjs/native/plugins/browser/src/index.ts +47 -0
  1509. package/vendor/@akanjs/native/plugins/browser/src/web.ts +60 -0
  1510. package/vendor/@akanjs/native/plugins/camera/android/CameraPlugin.kt +365 -0
  1511. package/vendor/@akanjs/native/plugins/camera/ios/CameraPlugin.swift +296 -0
  1512. package/vendor/@akanjs/native/plugins/camera/native-plugin.json +32 -0
  1513. package/vendor/@akanjs/native/plugins/camera/src/desktop.ts +27 -0
  1514. package/vendor/@akanjs/native/plugins/camera/src/index.ts +85 -0
  1515. package/vendor/@akanjs/native/plugins/camera/src/web.ts +267 -0
  1516. package/vendor/@akanjs/native/plugins/clipboard/android/ClipboardPlugin.kt +51 -0
  1517. package/vendor/@akanjs/native/plugins/clipboard/ios/ClipboardPlugin.swift +35 -0
  1518. package/vendor/@akanjs/native/plugins/clipboard/native-plugin.json +17 -0
  1519. package/vendor/@akanjs/native/plugins/clipboard/src/desktop.ts +66 -0
  1520. package/vendor/@akanjs/native/plugins/clipboard/src/index.ts +72 -0
  1521. package/vendor/@akanjs/native/plugins/clipboard/src/web.ts +69 -0
  1522. package/vendor/@akanjs/native/plugins/device/android/DevicePlugin.kt +70 -0
  1523. package/vendor/@akanjs/native/plugins/device/ios/DevicePlugin.swift +80 -0
  1524. package/vendor/@akanjs/native/plugins/device/native-plugin.json +18 -0
  1525. package/vendor/@akanjs/native/plugins/device/src/desktop.ts +276 -0
  1526. package/vendor/@akanjs/native/plugins/device/src/index.ts +72 -0
  1527. package/vendor/@akanjs/native/plugins/device/src/web.ts +162 -0
  1528. package/vendor/@akanjs/native/plugins/dialog/android/DialogPlugin.kt +260 -0
  1529. package/vendor/@akanjs/native/plugins/dialog/ios/DialogPlugin.swift +198 -0
  1530. package/vendor/@akanjs/native/plugins/dialog/native-plugin.json +18 -0
  1531. package/vendor/@akanjs/native/plugins/dialog/src/desktop.ts +80 -0
  1532. package/vendor/@akanjs/native/plugins/dialog/src/index.ts +87 -0
  1533. package/vendor/@akanjs/native/plugins/dialog/src/options.ts +111 -0
  1534. package/vendor/@akanjs/native/plugins/dialog/src/web.ts +296 -0
  1535. package/vendor/@akanjs/native/plugins/dock/native-plugin.json +10 -0
  1536. package/vendor/@akanjs/native/plugins/dock/src/desktop.ts +34 -0
  1537. package/vendor/@akanjs/native/plugins/dock/src/index.ts +46 -0
  1538. package/vendor/@akanjs/native/plugins/file-picker/android/FilePickerPlugin.kt +316 -0
  1539. package/vendor/@akanjs/native/plugins/file-picker/ios/FilePickerPlugin.swift +366 -0
  1540. package/vendor/@akanjs/native/plugins/file-picker/native-plugin.json +18 -0
  1541. package/vendor/@akanjs/native/plugins/file-picker/src/common.ts +125 -0
  1542. package/vendor/@akanjs/native/plugins/file-picker/src/desktop.ts +164 -0
  1543. package/vendor/@akanjs/native/plugins/file-picker/src/index.ts +187 -0
  1544. package/vendor/@akanjs/native/plugins/file-picker/src/web.ts +158 -0
  1545. package/vendor/@akanjs/native/plugins/filesystem/android/FilesystemPlugin.kt +561 -0
  1546. package/vendor/@akanjs/native/plugins/filesystem/ios/FilesystemPlugin.swift +596 -0
  1547. package/vendor/@akanjs/native/plugins/filesystem/native-plugin.json +45 -0
  1548. package/vendor/@akanjs/native/plugins/filesystem/src/common.ts +150 -0
  1549. package/vendor/@akanjs/native/plugins/filesystem/src/desktop.ts +438 -0
  1550. package/vendor/@akanjs/native/plugins/filesystem/src/index.ts +179 -0
  1551. package/vendor/@akanjs/native/plugins/filesystem/src/web.ts +334 -0
  1552. package/vendor/@akanjs/native/plugins/geolocation/android/GeolocationPlugin.kt +360 -0
  1553. package/vendor/@akanjs/native/plugins/geolocation/ios/GeolocationPlugin.swift +284 -0
  1554. package/vendor/@akanjs/native/plugins/geolocation/native-plugin.json +23 -0
  1555. package/vendor/@akanjs/native/plugins/geolocation/src/index.ts +155 -0
  1556. package/vendor/@akanjs/native/plugins/geolocation/src/web.ts +132 -0
  1557. package/vendor/@akanjs/native/plugins/global-shortcut/native-plugin.json +10 -0
  1558. package/vendor/@akanjs/native/plugins/global-shortcut/src/desktop.ts +36 -0
  1559. package/vendor/@akanjs/native/plugins/global-shortcut/src/index.ts +55 -0
  1560. package/vendor/@akanjs/native/plugins/haptics/android/HapticsPlugin.kt +127 -0
  1561. package/vendor/@akanjs/native/plugins/haptics/ios/HapticsPlugin.swift +127 -0
  1562. package/vendor/@akanjs/native/plugins/haptics/native-plugin.json +19 -0
  1563. package/vendor/@akanjs/native/plugins/haptics/src/index.ts +34 -0
  1564. package/vendor/@akanjs/native/plugins/haptics/src/web.ts +53 -0
  1565. package/vendor/@akanjs/native/plugins/http/android/HttpPlugin.kt +234 -0
  1566. package/vendor/@akanjs/native/plugins/http/android/HttpUrl.kt +182 -0
  1567. package/vendor/@akanjs/native/plugins/http/ios/HttpPlugin.swift +228 -0
  1568. package/vendor/@akanjs/native/plugins/http/ios/HttpUrl.swift +166 -0
  1569. package/vendor/@akanjs/native/plugins/http/native-plugin.json +27 -0
  1570. package/vendor/@akanjs/native/plugins/http/src/common.ts +294 -0
  1571. package/vendor/@akanjs/native/plugins/http/src/desktop.ts +69 -0
  1572. package/vendor/@akanjs/native/plugins/http/src/index.ts +181 -0
  1573. package/vendor/@akanjs/native/plugins/http/src/web.ts +40 -0
  1574. package/vendor/@akanjs/native/plugins/iap/android/IapPlugin.kt +358 -0
  1575. package/vendor/@akanjs/native/plugins/iap/ios/IapPlugin.swift +306 -0
  1576. package/vendor/@akanjs/native/plugins/iap/native-plugin.json +28 -0
  1577. package/vendor/@akanjs/native/plugins/iap/src/index.ts +206 -0
  1578. package/vendor/@akanjs/native/plugins/keep-awake/android/KeepAwakePlugin.kt +48 -0
  1579. package/vendor/@akanjs/native/plugins/keep-awake/ios/KeepAwakePlugin.swift +36 -0
  1580. package/vendor/@akanjs/native/plugins/keep-awake/native-plugin.json +17 -0
  1581. package/vendor/@akanjs/native/plugins/keep-awake/src/desktop.ts +127 -0
  1582. package/vendor/@akanjs/native/plugins/keep-awake/src/index.ts +79 -0
  1583. package/vendor/@akanjs/native/plugins/keep-awake/src/web.ts +78 -0
  1584. package/vendor/@akanjs/native/plugins/keyboard/android/KeyboardPlugin.kt +77 -0
  1585. package/vendor/@akanjs/native/plugins/keyboard/ios/KeyboardPlugin.swift +93 -0
  1586. package/vendor/@akanjs/native/plugins/keyboard/native-plugin.json +18 -0
  1587. package/vendor/@akanjs/native/plugins/keyboard/src/index.ts +78 -0
  1588. package/vendor/@akanjs/native/plugins/keyboard/src/web.ts +57 -0
  1589. package/vendor/@akanjs/native/plugins/local-notifications/android/LocalNotificationReceiver.kt +38 -0
  1590. package/vendor/@akanjs/native/plugins/local-notifications/android/LocalNotifications.kt +284 -0
  1591. package/vendor/@akanjs/native/plugins/local-notifications/android/LocalNotificationsPlugin.kt +248 -0
  1592. package/vendor/@akanjs/native/plugins/local-notifications/ios/LocalNotificationsPlugin.swift +279 -0
  1593. package/vendor/@akanjs/native/plugins/local-notifications/native-plugin.json +35 -0
  1594. package/vendor/@akanjs/native/plugins/local-notifications/src/desktop.ts +196 -0
  1595. package/vendor/@akanjs/native/plugins/local-notifications/src/index.ts +174 -0
  1596. package/vendor/@akanjs/native/plugins/local-notifications/src/schedule.ts +164 -0
  1597. package/vendor/@akanjs/native/plugins/local-notifications/src/timers.ts +72 -0
  1598. package/vendor/@akanjs/native/plugins/local-notifications/src/web.ts +158 -0
  1599. package/vendor/@akanjs/native/plugins/menu/native-plugin.json +10 -0
  1600. package/vendor/@akanjs/native/plugins/menu/src/desktop.ts +52 -0
  1601. package/vendor/@akanjs/native/plugins/menu/src/index.ts +107 -0
  1602. package/vendor/@akanjs/native/plugins/network/android/NetworkPlugin.kt +124 -0
  1603. package/vendor/@akanjs/native/plugins/network/ios/NetworkPlugin.swift +82 -0
  1604. package/vendor/@akanjs/native/plugins/network/native-plugin.json +19 -0
  1605. package/vendor/@akanjs/native/plugins/network/src/index.ts +59 -0
  1606. package/vendor/@akanjs/native/plugins/network/src/web.ts +43 -0
  1607. package/vendor/@akanjs/native/plugins/opener/android/OpenerPlugin.kt +81 -0
  1608. package/vendor/@akanjs/native/plugins/opener/ios/OpenerPlugin.swift +83 -0
  1609. package/vendor/@akanjs/native/plugins/opener/native-plugin.json +25 -0
  1610. package/vendor/@akanjs/native/plugins/opener/src/desktop.ts +88 -0
  1611. package/vendor/@akanjs/native/plugins/opener/src/index.ts +35 -0
  1612. package/vendor/@akanjs/native/plugins/opener/src/url.ts +39 -0
  1613. package/vendor/@akanjs/native/plugins/opener/src/web.ts +33 -0
  1614. package/vendor/@akanjs/native/plugins/preferences/android/PreferencesPlugin.kt +44 -0
  1615. package/vendor/@akanjs/native/plugins/preferences/ios/PreferencesPlugin.swift +47 -0
  1616. package/vendor/@akanjs/native/plugins/preferences/native-plugin.json +18 -0
  1617. package/vendor/@akanjs/native/plugins/preferences/src/desktop.ts +59 -0
  1618. package/vendor/@akanjs/native/plugins/preferences/src/index.ts +75 -0
  1619. package/vendor/@akanjs/native/plugins/preferences/src/web.ts +55 -0
  1620. package/vendor/@akanjs/native/plugins/push/android/AkanNativeMessagingService.kt +17 -0
  1621. package/vendor/@akanjs/native/plugins/push/android/PushPlugin.kt +257 -0
  1622. package/vendor/@akanjs/native/plugins/push/ios/PushPlugin.swift +169 -0
  1623. package/vendor/@akanjs/native/plugins/push/native-plugin.json +23 -0
  1624. package/vendor/@akanjs/native/plugins/push/src/index.ts +73 -0
  1625. package/vendor/@akanjs/native/plugins/screen/native-plugin.json +10 -0
  1626. package/vendor/@akanjs/native/plugins/screen/src/desktop.ts +50 -0
  1627. package/vendor/@akanjs/native/plugins/screen/src/index.ts +107 -0
  1628. package/vendor/@akanjs/native/plugins/screen/src/web.ts +92 -0
  1629. package/vendor/@akanjs/native/plugins/screen-orientation/android/ScreenOrientationPlugin.kt +113 -0
  1630. package/vendor/@akanjs/native/plugins/screen-orientation/ios/ScreenOrientationPlugin.swift +150 -0
  1631. package/vendor/@akanjs/native/plugins/screen-orientation/native-plugin.json +17 -0
  1632. package/vendor/@akanjs/native/plugins/screen-orientation/src/index.ts +69 -0
  1633. package/vendor/@akanjs/native/plugins/screen-orientation/src/types.ts +26 -0
  1634. package/vendor/@akanjs/native/plugins/screen-orientation/src/web.ts +67 -0
  1635. package/vendor/@akanjs/native/plugins/secure-storage/android/SecureStoragePlugin.kt +184 -0
  1636. package/vendor/@akanjs/native/plugins/secure-storage/ios/SecureStoragePlugin.swift +145 -0
  1637. package/vendor/@akanjs/native/plugins/secure-storage/native-plugin.json +18 -0
  1638. package/vendor/@akanjs/native/plugins/secure-storage/src/desktop.ts +332 -0
  1639. package/vendor/@akanjs/native/plugins/secure-storage/src/index.ts +33 -0
  1640. package/vendor/@akanjs/native/plugins/share/android/SharePlugin.kt +218 -0
  1641. package/vendor/@akanjs/native/plugins/share/ios/SharePlugin.swift +142 -0
  1642. package/vendor/@akanjs/native/plugins/share/native-plugin.json +18 -0
  1643. package/vendor/@akanjs/native/plugins/share/src/index.ts +87 -0
  1644. package/vendor/@akanjs/native/plugins/share/src/options.ts +43 -0
  1645. package/vendor/@akanjs/native/plugins/share/src/web.ts +116 -0
  1646. package/vendor/@akanjs/native/plugins/single-instance/native-plugin.json +10 -0
  1647. package/vendor/@akanjs/native/plugins/single-instance/src/desktop.ts +63 -0
  1648. package/vendor/@akanjs/native/plugins/single-instance/src/index.ts +32 -0
  1649. package/vendor/@akanjs/native/plugins/single-instance/src/socket.ts +248 -0
  1650. package/vendor/@akanjs/native/plugins/splash-screen/android/SplashScreenPlugin.kt +19 -0
  1651. package/vendor/@akanjs/native/plugins/splash-screen/ios/SplashScreenPlugin.swift +20 -0
  1652. package/vendor/@akanjs/native/plugins/splash-screen/native-plugin.json +17 -0
  1653. package/vendor/@akanjs/native/plugins/splash-screen/src/index.ts +24 -0
  1654. package/vendor/@akanjs/native/plugins/splash-screen/src/web.ts +17 -0
  1655. package/vendor/@akanjs/native/plugins/sqlite/android/SqlStatements.kt +121 -0
  1656. package/vendor/@akanjs/native/plugins/sqlite/android/SqlitePlugin.kt +327 -0
  1657. package/vendor/@akanjs/native/plugins/sqlite/ios/SqlitePlugin.swift +361 -0
  1658. package/vendor/@akanjs/native/plugins/sqlite/native-plugin.json +18 -0
  1659. package/vendor/@akanjs/native/plugins/sqlite/src/common.ts +221 -0
  1660. package/vendor/@akanjs/native/plugins/sqlite/src/desktop.ts +140 -0
  1661. package/vendor/@akanjs/native/plugins/sqlite/src/index.ts +114 -0
  1662. package/vendor/@akanjs/native/plugins/toast/android/ToastPlugin.kt +27 -0
  1663. package/vendor/@akanjs/native/plugins/toast/native-plugin.json +14 -0
  1664. package/vendor/@akanjs/native/plugins/toast/src/index.ts +41 -0
  1665. package/vendor/@akanjs/native/plugins/toast/src/queue.ts +77 -0
  1666. package/vendor/@akanjs/native/plugins/toast/src/web.ts +130 -0
  1667. package/vendor/@akanjs/native/plugins/tray/native-plugin.json +10 -0
  1668. package/vendor/@akanjs/native/plugins/tray/src/desktop.ts +73 -0
  1669. package/vendor/@akanjs/native/plugins/tray/src/index.ts +111 -0
  1670. package/vendor/@akanjs/native/plugins/updates/android/UpdatesPlugin.kt +290 -0
  1671. package/vendor/@akanjs/native/plugins/updates/ios/UpdatesPlugin.swift +292 -0
  1672. package/vendor/@akanjs/native/plugins/updates/native-plugin.json +19 -0
  1673. package/vendor/@akanjs/native/plugins/updates/src/desktop.ts +558 -0
  1674. package/vendor/@akanjs/native/plugins/updates/src/index.ts +95 -0
  1675. package/vendor/@akanjs/native/plugins/window/native-plugin.json +32 -0
  1676. package/vendor/@akanjs/native/plugins/window/src/desktop.ts +170 -0
  1677. package/vendor/@akanjs/native/plugins/window/src/index.ts +342 -0
  1678. package/vendor/@akanjs/native/plugins/window/src/web.ts +43 -0
  1679. package/vendor/@akanjs/native/plugins/window-state/native-plugin.json +10 -0
  1680. package/vendor/@akanjs/native/plugins/window-state/src/desktop.ts +73 -0
  1681. package/vendor/@akanjs/native/plugins/window-state/src/index.ts +35 -0
  1682. package/vendor/@akanjs/native/plugins/window-state/src/state.ts +146 -0
  1683. package/vendor/use-agentic/AgentProgress.ts +13 -1
  1684. package/vendor/use-agentic/AgentSession.ts +313 -29
  1685. package/vendor/use-agentic/AgenticSurface.ts +2 -0
  1686. package/vendor/use-agentic/Compaction.ts +91 -9
  1687. package/vendor/use-agentic/Reference.ts +99 -0
  1688. package/vendor/use-agentic/ToolRunner.ts +77 -2
  1689. package/vendor/use-agentic/Transcript.ts +15 -4
  1690. package/vendor/use-agentic/WIRE.md +16 -2
  1691. package/vendor/use-agentic/httpRunner.ts +19 -4
  1692. package/vendor/use-agentic/index.ts +1 -1
  1693. package/vendor/use-agentic/types.ts +121 -10
  1694. package/webkit/RenderLayer.tsx +45 -0
  1695. package/webkit/bootCsr.tsx +30 -71
  1696. package/webkit/index.ts +1 -4
  1697. package/webkit/lazy.tsx +3 -13
  1698. package/webkit/nativeNavigation.ts +116 -0
  1699. package/webkit/nativePurchase.ts +93 -0
  1700. package/webkit/seoPages.ts +20 -0
  1701. package/webkit/useBodyScrollLock.tsx +0 -6
  1702. package/webkit/useCamera.tsx +76 -89
  1703. package/webkit/useCsrValues.ts +213 -552
  1704. package/webkit/useDebounce.ts +0 -3
  1705. package/webkit/useEscapeKey.tsx +1 -12
  1706. package/webkit/useFetch.ts +7 -13
  1707. package/webkit/useFrameRuntime.ts +5 -43
  1708. package/webkit/useGeoLocation.tsx +12 -14
  1709. package/webkit/useLocation.ts +5 -8
  1710. package/webkit/usePageTool.tsx +2 -9
  1711. package/webkit/usePurchase.tsx +69 -140
  1712. package/webkit/useScreenScope.tsx +2 -13
  1713. package/capacitor.base.config.ts +0 -141
  1714. package/client/capacitor.ts +0 -297
  1715. package/client/fetch.ts +0 -1
  1716. package/client/frameDebug.ts +0 -29
  1717. package/common/deepObjectify.ts +0 -42
  1718. package/common/dynamicRecord.ts +0 -12
  1719. package/common/formatPhone.ts +0 -7
  1720. package/common/getAllPropertyDescriptors.ts +0 -13
  1721. package/common/isPhoneNumber.ts +0 -8
  1722. package/common/lowerlize.ts +0 -4
  1723. package/common/mergeVersion.ts +0 -10
  1724. package/common/pathGet.ts +0 -13
  1725. package/common/pathGetLoose.ts +0 -31
  1726. package/common/pathSet.ts +0 -28
  1727. package/common/plainFieldsOf.ts +0 -13
  1728. package/common/randomPicks.ts +0 -12
  1729. package/common/splitVersion.ts +0 -11
  1730. package/common/websocketAuth.ts +0 -24
  1731. package/common/websocketBinaryFrame.ts +0 -46
  1732. package/constant/deserialize.ts +0 -98
  1733. package/dictionary/agentTurn.dictionary.ts +0 -33
  1734. package/document/schema.ts +0 -24
  1735. package/fetch/fetchType/clientSignal.type.ts +0 -22
  1736. package/local/apps/akan/akan-local.db +0 -0
  1737. package/local/apps/akan/akan-local.db-shm +0 -0
  1738. package/local/apps/akan/akan-local.db-wal +0 -0
  1739. package/local/apps/akan/akan-local_solid.db +0 -0
  1740. package/local/apps/akan/akan-local_solid.db-shm +0 -0
  1741. package/local/apps/akan/akan-local_solid.db-wal +0 -0
  1742. package/local/apps/serverLifecycle/serverLifecycle-local.db +0 -0
  1743. package/local/apps/serverLifecycle/serverLifecycle-local.db-shm +0 -0
  1744. package/local/apps/serverLifecycle/serverLifecycle-local.db-wal +0 -0
  1745. package/local/apps/serverLifecycle/serverLifecycle-local_solid.db +0 -0
  1746. package/local/apps/serverLifecycle/serverLifecycle-local_solid.db-shm +0 -0
  1747. package/local/apps/serverLifecycle/serverLifecycle-local_solid.db-wal +0 -0
  1748. package/server/artifact/manifestTypes.ts +0 -19
  1749. package/server/assetEncoding.ts +0 -27
  1750. package/server/consoleEvaluator.ts +0 -51
  1751. package/server/di/index.ts +0 -4
  1752. package/server/di/resolveAdaptorHierarchy.ts +0 -91
  1753. package/server/di/resolveServiceHierarchy.ts +0 -47
  1754. package/server/hmr/changeBatch.ts +0 -14
  1755. package/server/hmr/index.ts +0 -4
  1756. package/server/metadata.tsx +0 -198
  1757. package/server/proxy/akanResponse.ts +0 -16
  1758. package/server/proxy/bunRequestFields.ts +0 -12
  1759. package/server/routing/eventStream.ts +0 -93
  1760. package/server/rscPartialCommit.ts +0 -3
  1761. package/server/rscPatchSafety.ts +0 -57
  1762. package/server/rscWorkerReplay.ts +0 -49
  1763. package/server/subRouteIndexDocument.tsx +0 -61
  1764. package/service/predefinedAdaptor/deepseekLlm.ts +0 -82
  1765. package/service/predefinedAdaptor/sqlDescriptor.ts +0 -25
  1766. package/store/agent/storeSurface.ts +0 -28
  1767. package/store/agent/types.ts +0 -16
  1768. package/store/agentic/useFileFieldTool.ts +0 -221
  1769. package/store/stateInfo.ts +0 -66
  1770. package/test/playwright.config.base.ts +0 -48
  1771. package/test/playwright.pageAgent.ts +0 -41
  1772. package/test/sample.ts +0 -19
  1773. package/types/capacitor.base.config.d.ts +0 -3
  1774. package/types/client/capacitor.d.ts +0 -290
  1775. package/types/client/fetch.d.ts +0 -1
  1776. package/types/client/frameDebug.d.ts +0 -3
  1777. package/types/common/deepObjectify.d.ts +0 -6
  1778. package/types/common/dynamicRecord.d.ts +0 -14
  1779. package/types/common/formatPhone.d.ts +0 -2
  1780. package/types/common/getAllPropertyDescriptors.d.ts +0 -5
  1781. package/types/common/isPhoneNumber.d.ts +0 -2
  1782. package/types/common/lowerlize.d.ts +0 -2
  1783. package/types/common/mergeVersion.d.ts +0 -10
  1784. package/types/common/pathGet.d.ts +0 -1
  1785. package/types/common/pathGetLoose.d.ts +0 -8
  1786. package/types/common/pathSet.d.ts +0 -3
  1787. package/types/common/plainFieldsOf.d.ts +0 -6
  1788. package/types/common/randomPicks.d.ts +0 -1
  1789. package/types/common/splitVersion.d.ts +0 -11
  1790. package/types/common/websocketAuth.d.ts +0 -19
  1791. package/types/common/websocketBinaryFrame.d.ts +0 -17
  1792. package/types/constant/deserialize.d.ts +0 -10
  1793. package/types/dictionary/agentTurn.dictionary.d.ts +0 -1
  1794. package/types/document/schema.d.ts +0 -5
  1795. package/types/fetch/fetchType/clientSignal.type.d.ts +0 -16
  1796. package/types/server/artifact/manifestTypes.d.ts +0 -16
  1797. package/types/server/assetEncoding.d.ts +0 -7
  1798. package/types/server/consoleEvaluator.d.ts +0 -2
  1799. package/types/server/di/index.d.ts +0 -4
  1800. package/types/server/di/resolveAdaptorHierarchy.d.ts +0 -21
  1801. package/types/server/di/resolveServiceHierarchy.d.ts +0 -13
  1802. package/types/server/di.d.ts +0 -1
  1803. package/types/server/hmr/changeBatch.d.ts +0 -13
  1804. package/types/server/hmr/index.d.ts +0 -4
  1805. package/types/server/hmr.d.ts +0 -1
  1806. package/types/server/metadata.d.ts +0 -22
  1807. package/types/server/proxy/akanResponse.d.ts +0 -7
  1808. package/types/server/proxy/bunRequestFields.d.ts +0 -1
  1809. package/types/server/routing/eventStream.d.ts +0 -23
  1810. package/types/server/rscPartialCommit.d.ts +0 -1
  1811. package/types/server/rscPatchSafety.d.ts +0 -8
  1812. package/types/server/rscWorkerReplay.d.ts +0 -32
  1813. package/types/server/subRouteIndexDocument.d.ts +0 -8
  1814. package/types/service/predefinedAdaptor/deepseekLlm.d.ts +0 -19
  1815. package/types/service/predefinedAdaptor/sqlDescriptor.d.ts +0 -5
  1816. package/types/store/agent/storeSurface.d.ts +0 -14
  1817. package/types/store/agent/types.d.ts +0 -15
  1818. package/types/store/agentic/useFileFieldTool.d.ts +0 -41
  1819. package/types/store/stateInfo.d.ts +0 -23
  1820. package/types/test/playwright.config.base.d.ts +0 -9
  1821. package/types/test/playwright.pageAgent.d.ts +0 -12
  1822. package/types/test/sample.d.ts +0 -15
  1823. package/types/ui/Agent/Context.d.ts +0 -13
  1824. package/types/ui/Agent/Mic.d.ts +0 -8
  1825. package/types/ui/Agent/Section.d.ts +0 -10
  1826. package/types/ui/Agent/StateKey.d.ts +0 -16
  1827. package/types/ui/Agent/Tool.d.ts +0 -15
  1828. package/types/ui/Agent/Transcript.d.ts +0 -13
  1829. package/types/ui/Agent/markdownBlocks.d.ts +0 -35
  1830. package/types/ui/Agent/markdownSpans.d.ts +0 -2
  1831. package/types/ui/Agent/markdownTable.d.ts +0 -16
  1832. package/types/ui/Agent/sessionHistory.d.ts +0 -14
  1833. package/types/ui/Agent/sessionView.d.ts +0 -15
  1834. package/types/ui/Dialog/Action.d.ts +0 -5
  1835. package/types/ui/Dialog/Close.d.ts +0 -6
  1836. package/types/ui/Dialog/Content.d.ts +0 -6
  1837. package/types/ui/Dialog/Title.d.ts +0 -5
  1838. package/types/ui/Dialog/Trigger.d.ts +0 -6
  1839. package/types/ui/Dialog/context.d.ts +0 -18
  1840. package/types/ui/Layout/LeftSider.d.ts +0 -11
  1841. package/types/ui/Layout/RightSider.d.ts +0 -12
  1842. package/types/ui/Layout/Template.d.ts +0 -7
  1843. package/types/ui/Layout/TopLeftAction.d.ts +0 -6
  1844. package/types/ui/Layout/Unit.d.ts +0 -9
  1845. package/types/ui/Layout/View.d.ts +0 -8
  1846. package/types/ui/Layout/Zone.d.ts +0 -6
  1847. package/types/ui/Link/Back.d.ts +0 -7
  1848. package/types/ui/Link/Close.d.ts +0 -7
  1849. package/types/ui/Link/CsrLink.d.ts +0 -2
  1850. package/types/ui/Link/Lang.d.ts +0 -8
  1851. package/types/ui/Link/SsrLink.d.ts +0 -2
  1852. package/types/ui/Link/types.d.ts +0 -50
  1853. package/types/ui/Loading/Area.d.ts +0 -9
  1854. package/types/ui/Loading/Button.d.ts +0 -7
  1855. package/types/ui/Loading/Input.d.ts +0 -7
  1856. package/types/ui/Model/LoadInit.d.ts +0 -10
  1857. package/types/ui/Model/LoadView.d.ts +0 -10
  1858. package/types/ui/Reference/Collapse.d.ts +0 -11
  1859. package/types/ui/Reference/Summary.d.ts +0 -13
  1860. package/types/ui/Reference/Toolbar.d.ts +0 -21
  1861. package/types/ui/Reference/dictText.d.ts +0 -6
  1862. package/types/ui/Reference/style.d.ts +0 -20
  1863. package/types/ui/Signal/Message.d.ts +0 -23
  1864. package/types/ui/Signal/PubSub.d.ts +0 -24
  1865. package/types/ui/Signal/Request.d.ts +0 -8
  1866. package/types/ui/System/DevModeToggle.d.ts +0 -1
  1867. package/types/ui/System/Gtag.d.ts +0 -4
  1868. package/types/ui/System/frameCssVars.d.ts +0 -5
  1869. package/types/ui/Tab/Menu.d.ts +0 -12
  1870. package/types/ui/Tab/Menus.d.ts +0 -6
  1871. package/types/ui/Tab/Panel.d.ts +0 -8
  1872. package/types/ui/Tab/context.d.ts +0 -11
  1873. package/types/ui/UiOverride/Provider.d.ts +0 -15
  1874. package/types/ui/UiOverride/context.d.ts +0 -127
  1875. package/types/ui/UiOverride/createOverridable.d.ts +0 -9
  1876. package/types/ui/UiOverride/useUiOverride.d.ts +0 -7
  1877. package/types/ui/UiOverride/useUiRecipe.d.ts +0 -8
  1878. package/types/webkit/createRobotPage.d.ts +0 -15
  1879. package/types/webkit/createSitemapPage.d.ts +0 -4
  1880. package/types/webkit/useCodepush.d.ts +0 -16
  1881. package/types/webkit/useContact.d.ts +0 -11
  1882. package/ui/Agent/Context.tsx +0 -49
  1883. package/ui/Agent/Mic.tsx +0 -27
  1884. package/ui/Agent/Section.tsx +0 -24
  1885. package/ui/Agent/StateKey.tsx +0 -46
  1886. package/ui/Agent/Tool.tsx +0 -59
  1887. package/ui/Agent/Transcript.tsx +0 -33
  1888. package/ui/Agent/markdownBlocks.ts +0 -137
  1889. package/ui/Agent/markdownSpans.tsx +0 -49
  1890. package/ui/Agent/markdownTable.ts +0 -54
  1891. package/ui/Agent/sessionHistory.ts +0 -62
  1892. package/ui/Agent/sessionView.ts +0 -38
  1893. package/ui/Dialog/Action.tsx +0 -15
  1894. package/ui/Dialog/Close.tsx +0 -18
  1895. package/ui/Dialog/Content.tsx +0 -11
  1896. package/ui/Dialog/Title.tsx +0 -15
  1897. package/ui/Dialog/Trigger.tsx +0 -18
  1898. package/ui/Dialog/context.ts +0 -32
  1899. package/ui/Layout/LeftSider.tsx +0 -43
  1900. package/ui/Layout/RightSider.tsx +0 -47
  1901. package/ui/Layout/Template.tsx +0 -11
  1902. package/ui/Layout/TopLeftAction.tsx +0 -28
  1903. package/ui/Layout/Unit.tsx +0 -19
  1904. package/ui/Layout/View.tsx +0 -12
  1905. package/ui/Layout/Zone.tsx +0 -10
  1906. package/ui/Link/Back.tsx +0 -15
  1907. package/ui/Link/Close.tsx +0 -20
  1908. package/ui/Link/CsrLink.tsx +0 -46
  1909. package/ui/Link/Lang.tsx +0 -16
  1910. package/ui/Link/SsrLink.tsx +0 -72
  1911. package/ui/Link/types.ts +0 -55
  1912. package/ui/Loading/Area.tsx +0 -27
  1913. package/ui/Loading/Button.tsx +0 -15
  1914. package/ui/Loading/Input.tsx +0 -15
  1915. package/ui/Model/LoadInit.tsx +0 -11
  1916. package/ui/Model/LoadView.tsx +0 -11
  1917. package/ui/Reference/Collapse.tsx +0 -26
  1918. package/ui/Reference/Summary.tsx +0 -25
  1919. package/ui/Reference/Toolbar.tsx +0 -44
  1920. package/ui/Reference/dictText.ts +0 -9
  1921. package/ui/Reference/style.ts +0 -45
  1922. package/ui/Signal/Message.tsx +0 -215
  1923. package/ui/Signal/PubSub.tsx +0 -201
  1924. package/ui/Signal/Request.tsx +0 -11
  1925. package/ui/System/DevModeToggle.tsx +0 -19
  1926. package/ui/System/Gtag.tsx +0 -69
  1927. package/ui/System/frameCssVars.ts +0 -25
  1928. package/ui/Tab/Menu.tsx +0 -70
  1929. package/ui/Tab/Menus.tsx +0 -13
  1930. package/ui/Tab/Panel.tsx +0 -25
  1931. package/ui/Tab/context.ts +0 -20
  1932. package/ui/UiOverride/Provider.tsx +0 -26
  1933. package/ui/UiOverride/context.ts +0 -143
  1934. package/ui/UiOverride/createOverridable.tsx +0 -25
  1935. package/ui/UiOverride/useUiOverride.ts +0 -15
  1936. package/ui/UiOverride/useUiRecipe.ts +0 -15
  1937. package/webkit/createRobotPage.ts +0 -15
  1938. package/webkit/createSitemapPage.ts +0 -4
  1939. package/webkit/useCodepush.tsx +0 -99
  1940. package/webkit/useContact.tsx +0 -52
@@ -0,0 +1,15 @@
1
+ import type { DatabaseAdaptor } from "./sql/types.d.ts";
2
+ export interface TransferReport {
3
+ table: string;
4
+ rows: number;
5
+ }
6
+ /**
7
+ * Model tables to one NDJSON file each and back, rows as stored. `_akan_meta`, the search mirror, the cache and the
8
+ * queue stay behind: the target writes its own meta and rebuilds the mirror; sessions and pending jobs do not move.
9
+ */
10
+ export declare class DocumentTransfer {
11
+ #private;
12
+ constructor(database: DatabaseAdaptor);
13
+ exportTo(dir: string): Promise<TransferReport[]>;
14
+ importFrom(dir: string): Promise<TransferReport[]>;
15
+ }
@@ -2,9 +2,10 @@ export * from "./anthropicLlm.d.ts";
2
2
  export * from "./cache.adaptor";
3
3
  export * from "./compress.adaptor";
4
4
  export * from "./database.adaptor";
5
- export * from "./deepseekLlm.d.ts";
5
+ export * from "./documentTransfer.d.ts";
6
6
  export * from "./insightQuery.d.ts";
7
7
  export * from "./llm.adaptor";
8
+ export * from "./llmOverflow.d.ts";
8
9
  export * from "./logging.adaptor";
9
10
  export * from "./openaiDialect.d.ts";
10
11
  export * from "./openaiLlm.d.ts";
@@ -1,47 +1,24 @@
1
- import type { AkanSqlClient } from "./database.adaptor";
1
+ import type { DatabaseAdaptor } from "./database.adaptor";
2
2
  export interface InsightQueryOptions {
3
- /** Rows to return at most. Clamped to `InsightQuery.maxRows`, which no caller can raise. */
3
+ /** Clamped to `InsightQuery.maxRows`, which no caller can raise. */
4
4
  limit?: number;
5
- /** How long to wait for the driver, in ms. See the note on `#raced` for which dialects this can actually stop. */
5
+ /** In ms. Only Postgres stops the query (`statement_timeout`); a synchronous `bun:sqlite` read runs to the end. */
6
6
  timeoutMs?: number;
7
7
  }
8
8
  export interface InsightQueryResult {
9
9
  columns: string[];
10
10
  rows: Record<string, unknown>[];
11
- /** The ceiling cut the answer short, so the caller knows not to read it as complete. */
12
11
  truncated: boolean;
13
12
  }
14
13
  /**
15
- * One read-only SQL statement, for an agent or an operator asking a question the domain endpoints cannot express.
16
- *
17
- * This is the layer-bypassing read, and every safeguard the framework has is bypassed with it — guards, soft delete,
18
- * cascade, `_postRemove`, and the `hidden`/`secret` masking every other response path performs. So it is read-only
19
- * by construction rather than by convention, and it is deliberately *not* wired to an endpoint here: the framework
20
- * owns no guard strong enough to sit in front of it. An app that wants it writes the endpoint with its own
21
- * `SuperAdmin`, the same way guards ship with the library that owns the model.
22
- *
23
- * Three things enforce read-only, and only the third is ours:
24
- *
25
- * 1. The statement is wrapped as a derived table — `SELECT * FROM (<sql>) AS "akanInsight" LIMIT ?`. Nothing but a
26
- * query is legal in that position, in either dialect, so a write is a syntax error from the engine rather than a
27
- * pattern this code had to recognise. A second statement smuggled behind `;` is a syntax error for the same
28
- * reason, and the row ceiling rides along on the same wrapper.
29
- * 2. A rejection before execution, so the caller reads why rather than a syntax error. It runs on the statement with
30
- * comments and string literals removed, because that is what makes `-- ` and `'…'` unable to hide anything.
31
- * 3. **`_doc` never crosses the boundary.** Every non-base field lives in that one JSON column, which is where the
32
- * plan's "re-apply schema-based masking" runs into the fact that an arbitrary SELECT has no model to mask by. So
33
- * the enforceable rule is the column itself: unnameable in the statement, dropped from the rows, and any cell
34
- * that still arrives holding a JSON object or array is refused. An insight is made of scalars; a value that is
35
- * not one is either a document or indistinguishable from it.
36
- *
37
- * What that costs is real and worth saying: this answers "how many, since when, grouped how" over base columns and
38
- * the search mirror, and it cannot read a domain field. Field-level reads go through the domain tools, which mask.
14
+ * One read-only statement that bypasses guards, soft delete and `hidden`/`secret` masking, so no endpoint is wired
15
+ * here: an app fronts it with its own `SuperAdmin`. `_doc` is withheld by the engine — `openInsight()` opens a
16
+ * read-only connection lacking the column, since no text check catches `*`, whole-row values or quoted names.
39
17
  */
40
18
  export declare class InsightQuery {
41
19
  #private;
42
- /** Not an option. A caller asking for more gets this, because the point is that no caller sets the ceiling. */
43
20
  static readonly maxRows = 1000;
44
- constructor(client: AkanSqlClient);
21
+ constructor(database: DatabaseAdaptor);
45
22
  run(sql: string, { limit, timeoutMs }?: InsightQueryOptions): Promise<{
46
23
  columns: string[];
47
24
  rows: Record<string, unknown>[];
@@ -10,11 +10,7 @@ export interface AgentWireToolResult {
10
10
  changes?: unknown[];
11
11
  error?: string;
12
12
  }
13
- /**
14
- * A file the caller attached to one message. Exactly one carrier reaches the model — `data` as inlined bytes, `url`
15
- * as something the provider fetches, `text` as content already extracted — and which of them a given provider can
16
- * read is what `LlmAccepts` answers.
17
- */
13
+ /** Exactly one carrier reaches the model: `data` (inlined bytes), `url` (fetched by the provider) or `text`. */
18
14
  export interface AgentWireAttachment {
19
15
  name: string;
20
16
  mimeType: string;
@@ -22,24 +18,32 @@ export interface AgentWireAttachment {
22
18
  data?: string;
23
19
  url?: string;
24
20
  text?: string;
25
- /** The host's own handle on this file, carried so a relay can act on it. A provider mapping ignores it. */
21
+ /** The host's own handle on this file, for a relay; a provider mapping ignores it. */
26
22
  ref?: string;
27
23
  }
28
24
  /**
29
- * One transcript message of the in-page agent wire (`use-agentic`'s WIRE.md), typed at both ends independently —
30
- * the wire is the contract, so the server never imports the client package.
25
+ * `value` is a send-time snapshot the host already masked — the server has no model class to mask it with — and
26
+ * `refName`/`refId`/`path` lead back to the current value.
31
27
  */
28
+ export interface AgentWireReference {
29
+ refName: string;
30
+ refId: string;
31
+ label: string;
32
+ path?: string;
33
+ value?: unknown;
34
+ /** Read by the model in place of a value there is none of — clipped, unreadable, or gone from a restored chat. */
35
+ note?: string;
36
+ }
37
+ /** `use-agentic`'s WIRE.md, typed at both ends independently so the server never imports the client package. */
32
38
  export interface AgentWireMessage {
33
39
  role: "user" | "assistant" | "tool";
34
40
  text?: string;
35
41
  attachments?: AgentWireAttachment[];
42
+ references?: AgentWireReference[];
36
43
  toolCalls?: AgentWireToolCall[];
37
44
  toolResults?: AgentWireToolResult[];
38
45
  error?: string;
39
- /**
40
- * Stands in for the messages the client's own compaction replaced. It arrives with the user's role because the
41
- * wire has no other, but it is history rather than an ask, so a provider mapping frames it as one.
42
- */
46
+ /** A compaction summary: it arrives with the user's role but is history, not an ask, and a provider frames it so. */
43
47
  summary?: boolean;
44
48
  }
45
49
  export interface AgentWireTool {
@@ -61,71 +65,67 @@ export interface LlmTurnRequest {
61
65
  export interface LlmTurnAnswer {
62
66
  text?: string;
63
67
  toolCalls?: AgentWireToolCall[];
64
- /**
65
- * Why the turn ended. `"length"` is the provider's ceiling — `finish_reason: "length"`, `stop_reason:
66
- * "max_tokens"` — and it is distinguished from `"end"` because the two are indistinguishable downstream
67
- * otherwise: a truncated answer reads as a complete one, and a turn cut off mid tool call carries no complete
68
- * call at all, so it would end the loop looking exactly like a model that chose to stop.
69
- */
68
+ /** `"length"` is the provider's ceiling; a turn cut off mid tool call must not read as a model that chose to stop. */
70
69
  stop: "end" | "toolUse" | "length";
70
+ /** Absent when the provider reported nothing. */
71
+ usage?: LlmUsage;
72
+ /** The model that answered, as the adaptor named it to the provider. */
73
+ model?: string;
74
+ }
75
+ /** `inputTokens` is the whole prompt, cached part included; `cachedTokens` is the share billed at the cache rate. */
76
+ export interface LlmUsage {
77
+ inputTokens: number;
78
+ outputTokens: number;
79
+ cachedTokens: number;
71
80
  }
72
81
  /**
73
- * The provider seam for one stateless agent turn: the whole transcript in, one assistant answer out. The server
74
- * relays — it never executes a client tool — so this is the only surface a provider integration fills. An
75
- * implementation is an `adapt()` class in a lib's `srvkit/`.
76
- *
77
- * `null` means this provider is not configured, and the caller turns it into the one sentence that says so. A
78
- * failure the provider explained is logged and **thrown** instead, as an `Err` whose text the chat prints: a
79
- * refused turn and an unconfigured app are different things to be told, and collapsing both into `null` left a
80
- * user reading "no model is configured" about a conversation that had merely outgrown the context window.
82
+ * The provider seam for one stateless agent turn; the server relays and never executes a client tool. `chat`
83
+ * resolves `null` only when unconfigured — a refusal the provider explained is thrown as an `Err` the chat prints.
81
84
  */
82
85
  export interface LlmAdaptor {
83
- /**
84
- * `onDelta` opts into streaming: the adapter reports assistant text as it arrives and still resolves the full
85
- * answer. An adapter may ignore it — the caller treats zero reported deltas as "answered whole".
86
- */
86
+ /** `onDelta` opts into streaming and the full answer still resolves; an adaptor may ignore it. */
87
87
  chat(request: LlmTurnRequest, onDelta?: (delta: string) => void): Promise<LlmTurnAnswer | null>;
88
- /** Which attachment carriers this provider's model can read. Omitted means text only. */
88
+ /** Omitted means text only. */
89
89
  readonly accepts?: LlmAccepts;
90
+ /** Omitted means nothing is known. */
91
+ readonly limits?: LlmLimits;
92
+ }
93
+ /** Relayed to the browser on every turn, so the chat compacts its transcript before the provider refuses it. */
94
+ export interface LlmLimits {
95
+ /** The model's context window, prompt and answer together. */
96
+ window?: number;
97
+ /** The answer ceiling the adaptor actually requests; left out when it sends none. */
98
+ output?: number;
90
99
  }
91
100
  /**
92
- * What an adaptor's model reads beyond text. Declared rather than defaulted to true, because the failure of
93
- * guessing wrong is the worst one available: a provider handed bytes it cannot decode either rejects the whole
94
- * turn or accepts it having seen nothing, and the model then answers confidently about a file it never read.
95
- * `AgentService` degrades what is not accepted into a note the model can repeat back, so a text-only provider
96
- * needs no attachment code at all — which is every provider until somebody swaps one in for vision.
101
+ * Declared, never defaulted to true: a provider handed bytes it cannot decode refuses the turn or answers about a
102
+ * file it never read. `AgentService` degrades what is not accepted into a note.
97
103
  */
98
104
  export interface LlmAccepts {
99
- /** Inlined or linked image bytes. */
100
105
  image?: boolean;
101
106
  /** Non-image bytes handed over whole — a PDF the model parses itself. */
102
107
  document?: boolean;
103
108
  }
104
109
  /**
105
- * Settings for whichever adaptor fills `LlmAdaptorRole`, registered with `option.setLlm(...)` and injected as the
106
- * `llmOption` use. It belongs to the role rather than to one provider: swapping the default for another `adapt()`
107
- * class re-reads the same three fields under that provider's own defaults.
110
+ * Registered with `option.setLlm(...)` for whichever adaptor fills `LlmAdaptorRole`. `setLlm` keeps extra fields, so
111
+ * a custom adaptor extends this interface and reads it with `use<MyLlmOption>()`.
108
112
  */
109
113
  export interface LlmOption {
110
114
  apiKey?: string;
111
115
  model?: string;
112
116
  host?: string;
113
- /**
114
- * What the *configured* model reads beyond text, overriding what the adaptor claims for its provider. It rides
115
- * beside `model` because that is what capability belongs to: an adaptor answers for an API, and one API serves
116
- * models that differ. Declared here rather than as a table the framework keeps, because a table is a claim about
117
- * models that ship after it and goes quietly wrong — and getting this wrong is the worst failure available, a
118
- * provider handed bytes it cannot decode either refusing the turn or accepting it having seen nothing.
119
- */
117
+ /** Overrides what the adaptor claims for its provider: one API serves models that read different things. */
120
118
  accepts?: LlmAccepts;
121
119
  /**
122
- * The answer ceiling, for an API that requires one. A fixed default is a hazard on a model that thinks before
123
- * it writes: the budget goes on reasoning and the turn comes back empty with a length stop, which reads as the
124
- * model refusing rather than as a number being too small.
125
- *
126
- * Sampling knobs are deliberately absent from this option. They are the one place a per-model difference is a
127
- * hard failure rather than a nuance — `temperature` is a 400 on some models rather than an ignored field — so
128
- * the role carries nothing it would have to guess the legality of per model.
120
+ * The answer ceiling, for an API that requires one. Sampling knobs are absent on purpose: `temperature` is a 400
121
+ * on some models.
129
122
  */
130
123
  maxTokens?: number;
124
+ /** In tokens. Left out, the chat learns it from the first refusal that names it. */
125
+ contextWindow?: number;
131
126
  }
127
+ /**
128
+ * The refusing party printed on `agent.error.llmRequestFailed`: the host, not the adaptor's name, since one dialect
129
+ * class serves many hosts. A host that is not a URL is printed as written.
130
+ */
131
+ export declare const llmProviderOf: (host: string) => string;
@@ -0,0 +1,16 @@
1
+ /** Each field is present only when the refusal named it. */
2
+ export interface LlmOverflowFacts {
3
+ limit?: number;
4
+ requested?: number;
5
+ }
6
+ /** Matches each provider's own too-long-prompt sentence; a status code cannot tell it from any other bad request. */
7
+ export declare class LlmOverflow {
8
+ #private;
9
+ static readonly patterns: RegExp[];
10
+ /** A quota borrows the same words, and compacting a conversation that fit loses detail for nothing. */
11
+ static readonly quotas: RegExp[];
12
+ static readonly measured: RegExp[];
13
+ static match(reason: string): LlmOverflowFacts | null;
14
+ /** `contextOverflow` when the prompt did not fit (the chat compacts and asks again), else `llmRequestFailed`. */
15
+ static refusal(host: string, status: number, reason: string): Error;
16
+ }
@@ -1,4 +1,4 @@
1
- import type { AgentWireMessage, LlmAccepts, LlmTurnAnswer, LlmTurnRequest } from "./llm.adaptor";
1
+ import type { AgentWireMessage, LlmAccepts, LlmTurnAnswer, LlmTurnRequest, LlmUsage } from "./llm.adaptor";
2
2
  export interface OpenaiToolCall {
3
3
  id?: string;
4
4
  function?: {
@@ -6,6 +6,14 @@ export interface OpenaiToolCall {
6
6
  arguments?: string;
7
7
  };
8
8
  }
9
+ interface OpenaiUsage {
10
+ prompt_tokens?: number;
11
+ completion_tokens?: number;
12
+ prompt_tokens_details?: {
13
+ cached_tokens?: number;
14
+ } | null;
15
+ prompt_cache_hit_tokens?: number;
16
+ }
9
17
  export interface OpenaiAnswer {
10
18
  choices?: {
11
19
  message?: {
@@ -14,6 +22,7 @@ export interface OpenaiAnswer {
14
22
  };
15
23
  finish_reason?: string;
16
24
  }[];
25
+ usage?: OpenaiUsage | null;
17
26
  }
18
27
  type OpenaiContentPart = {
19
28
  type: "text";
@@ -37,16 +46,10 @@ export interface OpenaiMessage {
37
46
  }[];
38
47
  tool_call_id?: string;
39
48
  }
40
- /**
41
- * The OpenAI chat-completions wire format, which several providers speak — OpenAI's own endpoint, DeepSeek, and
42
- * every gateway that copied it. It lives apart from any one of them because a protocol fix belongs in one place:
43
- * the SSE tool-call assembly below is the subtle part, and two copies of it drift silently.
44
- *
45
- * `accepts` decides the shape of a user turn, and nothing else here reads it. A provider that takes no image gets
46
- * one string, exactly as before, because `AgentService.readable` has already reduced every attachment it cannot
47
- * read to a note in the text.
48
- */
49
+ /** The chat-completions wire that OpenAI, DeepSeek and every gateway copying them speak. */
49
50
  export declare class OpenaiDialect {
51
+ /** Apart from Anthropic's identical set: each is one provider's list, and an unlisted type is a refused request. */
52
+ static readonly imageTypes: Set<string>;
50
53
  static requestBody(model: string, request: LlmTurnRequest, { accepts, stream }?: {
51
54
  accepts?: LlmAccepts;
52
55
  stream?: boolean;
@@ -61,36 +64,23 @@ export declare class OpenaiDialect {
61
64
  }[] | undefined;
62
65
  messages: OpenaiMessage[];
63
66
  stream?: boolean | undefined;
67
+ stream_options?: {
68
+ include_usage: boolean;
69
+ } | undefined;
64
70
  model: string;
65
71
  };
66
72
  /** Context rides below the instructions framed as data — screen state must never read as directives. */
67
73
  static systemPrompt({ instructions, context }: LlmTurnRequest): string;
68
74
  static providerMessages(message: AgentWireMessage, accepts?: LlmAccepts): OpenaiMessage[];
69
- /**
70
- * Text attachments are labelled into the message, because a model handed two unlabelled documents can no longer
71
- * cite either one. Images become their own parts only when the provider said it reads them; the dialect carries
72
- * one as a `data:` URL, which is the same encoding whether the bytes were inlined or already addressable, so
73
- * both carriers take one branch.
74
- */
75
75
  static userContent(message: AgentWireMessage, accepts?: LlmAccepts): string | OpenaiContentPart[];
76
- /**
77
- * The dialect streams `data: {chunk}` SSE lines ending with `data: [DONE]`. Tool calls arrive fragmented — the
78
- * first fragment of an index carries id/name, later ones append to the arguments string — so they are assembled
79
- * by index and parsed once at the end; only assistant text is worth reporting as it arrives.
80
- */
81
76
  static consumeStream(body: ReadableStream<Uint8Array>, onDelta: (delta: string) => void): Promise<LlmTurnAnswer>;
82
- /**
83
- * The ceiling wins over the calls that did arrive. A turn the provider cut short is one whose last call may be
84
- * missing, so running the batch it did finish is acting on half an intention.
85
- */
77
+ static usageOf(usage: OpenaiUsage): LlmUsage;
78
+ /** The ceiling wins over the calls that did arrive: a cut-off turn's last call may be missing. */
86
79
  static stopOf(finish: string | null | undefined, calls: number): LlmTurnAnswer["stop"];
87
80
  static turnAnswer(answer: OpenaiAnswer): LlmTurnAnswer;
88
81
  /** The provider sends arguments as a JSON string; an unparsable one becomes an empty call rather than a crash. */
89
82
  static parsedArgs(raw: string | undefined): Record<string, unknown>;
90
- /**
91
- * The dialect answers a refusal as `{ error: { message } }`, and that sentence is the useful half — a request
92
- * past the context window says exactly which limit it passed.
93
- */
83
+ /** The dialect refuses as `{ error: { message } }`, and that sentence names the limit a long prompt passed. */
94
84
  static reasonOf(response: Response): Promise<string>;
95
85
  }
96
86
  export {};
@@ -1,24 +1,19 @@
1
- import type { LlmAccepts, LlmAdaptor, LlmOption, LlmTurnAnswer, LlmTurnRequest } from "./llm.adaptor";
1
+ import type { LlmAccepts, LlmAdaptor, LlmLimits, LlmOption, LlmTurnAnswer, LlmTurnRequest } from "./llm.adaptor";
2
2
  declare const OpenaiLlm_base: import("..").AdaptorCls<{}, {
3
3
  llmOption: import("..").InjectInfo<"use", LlmOption, never, never>;
4
4
  }>;
5
5
  /**
6
- * OpenAI's chat-completions endpoint, and every gateway that serves the same dialect — `host` is what points it
7
- * at one. It is `DeepseekLlm`'s sibling rather than its replacement: same wire, and the difference that earns a
8
- * second class is that this one declares `accepts`, so an attached image reaches the model as an image part
9
- * instead of a note saying it could not be read.
10
- *
11
- * `model` is required and has no default. A default would be a model name that ages out of the provider's
12
- * catalogue into a 404 at the first turn, and — worse here than for a text-only adaptor — it would decide the
13
- * vision claim below on the app's behalf. Name the model in `option.setLlm({ model })`, and name
14
- * `accepts: { image: false }` beside it when that model is one of the provider's text-only ones.
6
+ * The default `LlmAdaptorRole` fill, for every host serving the chat-completions wire. `model` has no default: one
7
+ * would age into a 404 and decide the vision claim on the app's behalf.
15
8
  */
16
9
  export declare class OpenaiLlm extends OpenaiLlm_base implements LlmAdaptor {
17
10
  #private;
18
- /** The endpoint takes image parts, so that is the provider's answer; a model that does not takes the override. */
19
- get accepts(): LlmAccepts;
11
+ static readonly defaultHost = "https://api.openai.com/v1";
12
+ /** No answer ceiling: the dialect sends none, so the provider's own default is the one that applies. */
13
+ get limits(): LlmLimits;
14
+ /** A named host is text-only until `setLlm({ accepts })` says otherwise: undecodable bytes fail the whole turn. */
15
+ get accepts(): LlmAccepts | undefined;
20
16
  chat(request: LlmTurnRequest, onDelta?: (delta: string) => void): Promise<LlmTurnAnswer | null>;
21
- /** Carried on the `Err` so the chat prints the provider's own sentence rather than a status number. */
22
- static refusal(response: Response): Promise<Error>;
17
+ static refusal(host: string, response: Response): Promise<Error>;
23
18
  }
24
19
  export {};
@@ -1,21 +1,26 @@
1
+ import type { Redis } from "ioredis";
1
2
  import type { AkanJob, AkanJobOptions, AkanWorker } from "../ipcTypes.d.ts";
2
- type QueueLike = {
3
+ interface BullEmitter {
4
+ on(event: "error", listener: (error: Error) => void): unknown;
5
+ waitUntilReady(): Promise<unknown>;
6
+ close(): Promise<void>;
7
+ }
8
+ interface QueueLike extends BullEmitter {
3
9
  add(name: string, args: unknown[], options?: AkanJobOptions): Promise<unknown>;
4
- };
5
- type WorkerLike = AkanWorker;
10
+ }
11
+ type WorkerLike = AkanWorker & BullEmitter;
6
12
  export interface QueueAdaptor {
7
13
  registerProcessWorker(key: string, handler: (job: AkanJob) => Promise<unknown>): AkanWorker;
8
14
  registerProcessQueue(key: string, args: unknown[], jobOptions?: AkanJobOptions): Promise<AkanJob>;
9
15
  }
10
16
  declare const BullQueue_base: import("..").AdaptorCls<{}, {
11
- redis: import("..").InjectInfo<"plug", import("ioredis").default, never, never>;
12
- prefix: import("..").InjectInfo<"env", string, {
13
- [key: string]: any;
14
- }, never>;
17
+ redis: import("..").InjectInfo<"plug", Redis, never, never>;
18
+ prefix: import("..").InjectInfo<"plug", string, never, never>;
15
19
  }>;
16
20
  export declare class BullQueue extends BullQueue_base implements QueueAdaptor {
17
21
  #private;
18
22
  onInit(): Promise<void>;
23
+ onDestroy(): Promise<void>;
19
24
  getQueue(key: string): QueueLike;
20
25
  registerProcessWorker(key: string, handler: (job: AkanJob) => Promise<unknown>): WorkerLike;
21
26
  registerProcessQueue(key: string, args: unknown[], jobOptions?: AkanJobOptions): Promise<AkanJob>;
@@ -20,7 +20,9 @@ export interface ScheduleAdaptor {
20
20
  }): NodeJS.Timeout;
21
21
  unregisterTimeout(key: string): void;
22
22
  getInit(key: string): (() => Promise<void>) | undefined;
23
- registerInit(key: string, callback: () => Promise<void>): void;
23
+ registerInit(key: string, callback: () => Promise<void>, option?: {
24
+ once?: boolean;
25
+ }): void;
24
26
  unregisterInit(key: string): void;
25
27
  _runInit(): Promise<void>;
26
28
  getDestroy(key: string): (() => Promise<void>) | undefined;
@@ -32,6 +34,7 @@ declare const Scheduler_base: import("..").AdaptorCls<{}, {
32
34
  cache: import("..").InjectInfo<"plug", import("./cache.adaptor").CacheAdaptor, never, never>;
33
35
  }>;
34
36
  export declare class Scheduler extends Scheduler_base implements ScheduleAdaptor {
37
+ #private;
35
38
  readonly lockMap: Map<string, boolean>;
36
39
  readonly cronMap: Map<string, AkanCronJob>;
37
40
  readonly intervalMap: Map<string, NodeJS.Timeout>;
@@ -52,7 +55,9 @@ export declare class Scheduler extends Scheduler_base implements ScheduleAdaptor
52
55
  registerTimeout(key: string, scheduleTime: number, callback: () => Promise<void>): NodeJS.Timeout;
53
56
  unregisterTimeout(key: string): void;
54
57
  getInit(key: string): (() => Promise<void>) | undefined;
55
- registerInit(key: string, callback: () => Promise<void>): void;
58
+ registerInit(key: string, callback: () => Promise<void>, { once }?: {
59
+ once?: boolean;
60
+ }): void;
56
61
  unregisterInit(key: string): void;
57
62
  _runInit(): Promise<void>;
58
63
  getDestroy(key: string): (() => Promise<void>) | undefined;
@@ -1,73 +1,43 @@
1
- import { type ConstantModel, textFieldRoles } from "akanjs/constant";
2
- import { type DatabaseModel, type SearchColumn } from "akanjs/document";
3
- import type { AkanSqlClient } from "./database.adaptor";
4
- export declare const DOC_TABLE = "search_doc";
5
- export declare const FTS_TABLE = "search_fts";
1
+ import type { ConstantModel } from "akanjs/constant";
2
+ import type { DatabaseModel } from "akanjs/document";
3
+ import { type SearchColumns, type SearchEngine, type SearchIndexOwner, type SearchQuery } from "./sql/search/types.d.ts";
4
+ export { Fts5SearchEngine } from "./sql/search/fts5.d.ts";
5
+ export { PostgresSearchEngine } from "./sql/search/postgres.d.ts";
6
+ export type { SearchEngine, SearchIndexOwner, SearchQuery } from "./sql/search/types.d.ts";
7
+ export { DOC_TABLE, FTS_TABLE } from "./sql/search/types.d.ts";
6
8
  export declare const DEFAULT_TOKENIZER = "unicode61 remove_diacritics 2";
7
9
  export declare const OPTIMIZE_CRON_KEY = "searchIndexOptimize";
8
10
  export declare const OPTIMIZE_CRON = "17 4 * * *";
9
11
  export declare const RETRY_INTERVAL_KEY = "searchIndexRetry";
10
12
  export declare const RETRY_INTERVAL_MS = 60000;
11
13
  export declare const DEFAULT_SEARCH_WEIGHTS: number[];
12
- export interface SearchIndexOwner {
13
- getConnection(): AkanSqlClient;
14
- getMeta(key: string): Promise<string | undefined> | string | undefined;
15
- setMeta(key: string, value: string): Promise<void>;
16
- }
17
14
  export interface SearchIndexOptions {
18
15
  enabled: boolean;
19
16
  tokenizer: string;
20
17
  }
21
- type SearchColumns = Record<(typeof textFieldRoles)[number], string>;
22
- /**
23
- * Reads `AKAN_SEARCH_ENABLED`. Unset means enabled; an unrecognised value fails the boot rather than
24
- * silently falling back, because a typo like `ture` would otherwise look identical to the default.
25
- */
18
+ /** Unset means enabled; an unrecognised value fails the boot, since a typo like `ture` would look like the default. */
26
19
  export declare const parseSearchEnabled: (value: string | undefined) => boolean;
27
- /**
28
- * Turns raw user input into an fts5 MATCH expression.
29
- *
30
- * Raw text cannot be passed through: `-`, `:`, `*`, `"` and a trailing `AND` are all fts5 syntax and each
31
- * raises `SQLiteError` instead of returning no rows. Quoting every term makes the whole input literal.
32
- */
33
- export declare const toMatchExpression: (text: string, { prefix, columns }?: {
34
- prefix?: boolean;
35
- columns?: readonly SearchColumn[];
36
- }) => string | null;
37
- /**
38
- * Owns the `search_doc` mirror and its fts5 index.
39
- *
40
- * The mirror is maintained by SQL triggers rather than document hooks because `updateOneByQuery` and friends
41
- * deliberately fire no hooks — most searchable-field mutations go through exactly that path, so an app-level
42
- * hook would miss them silently.
43
- */
20
+ /** The `search_doc` mirror is trigger-maintained, not hook-maintained: `updateOneByQuery` and friends fire no hooks. */
44
21
  export declare class SearchIndex {
45
22
  #private;
46
- constructor(owner: SearchIndexOwner, { enabled, tokenizer }: SearchIndexOptions);
23
+ constructor(owner: SearchIndexOwner, { enabled, tokenizer }: SearchIndexOptions, engine?: SearchEngine);
47
24
  get enabled(): boolean;
48
25
  ensureSchema(): Promise<void>;
49
26
  /** Returns whether this ref's mirror is now current. `false` means another process is rebuilding it. */
50
27
  ensureRef(constant: ConstantModel, database: DatabaseModel): Promise<boolean>;
51
- /** Re-runs the refs another process was holding. Returns how many are still outstanding. */
28
+ /** Returns how many held refs are still outstanding. */
52
29
  retryPending(): Promise<number>;
53
30
  /**
54
- * Rebuilds one ref's mirror rows in id-ordered chunks so a large table does not block the boot. `onChunk` runs
55
- * between chunks and reports whether this process still holds the claim: a backfill that outlives the lock TTL
56
- * would otherwise keep writing rows underneath the `DELETE` of the process that took over. Returns whether the
57
- * whole table was covered.
31
+ * `onChunk` reports whether this process still holds the claim, or an outlived backfill writes under the new holder's
32
+ * `DELETE`. Returns whether the whole table was covered.
58
33
  */
59
34
  reconcileRef(ref: string, columns: SearchColumns, onChunk?: () => Promise<boolean>): Promise<boolean>;
60
- /** Merges accumulated fts5 segments. Returns whether this process was the one that did the work. */
35
+ /** Returns whether this process was the one that merged. */
61
36
  optimize(): Promise<boolean>;
62
- /**
63
- * Drops a ref's triggers so a bulk import skips the per-row mirror write. Pair with `resume`.
64
- *
65
- * The hash is cleared here rather than in `resume` alone: a process that dies mid-import never reaches `resume`,
66
- * and a boot that finds the hash intact recreates the triggers and skips the backfill, leaving everything
67
- * written in between missing from the mirror for good.
68
- */
37
+ /** Pair with `resume`. The hash is cleared here too: a process dying mid-import must not skip the backfill. */
69
38
  suspend(database: DatabaseModel): Promise<void>;
70
39
  /** Returns whether the mirror is current again; `false` means another process holds the rebuild. */
71
40
  resume(constant: ConstantModel, database: DatabaseModel): Promise<boolean>;
41
+ /** The subquery `q.search()` joins; null when the text holds nothing to match, which matches no row. */
42
+ join(query: SearchQuery): import("./sql/types.d.ts").SqlFrag | null;
72
43
  }
73
- export {};
@@ -1,4 +1,4 @@
1
- import type { CacheAdaptor, CacheSetOptions } from "./cache.adaptor";
1
+ import type { CacheAdaptor, CacheSetOptions, CacheValue } from "./cache.adaptor";
2
2
  import { type SolidConfig, type SolidEnv } from "./solidSqlite.d.ts";
3
3
  declare const SolidCache_base: import("..").AdaptorCls<{}, {
4
4
  config: import("..").InjectInfo<"env", Required<SolidConfig>, SolidEnv, never>;
@@ -7,14 +7,23 @@ export declare class SolidCache extends SolidCache_base implements CacheAdaptor
7
7
  #private;
8
8
  onInit(): Promise<void>;
9
9
  onDestroy(): Promise<void>;
10
- set(topic: string, key: string, value: string | number | Buffer, option?: CacheSetOptions): Promise<void>;
11
- get<T extends string | number | Buffer>(topic: string, key: string): Promise<T | undefined>;
10
+ set(topic: string, key: string, value: CacheValue, option?: CacheSetOptions): Promise<void>;
11
+ get<T extends CacheValue = CacheValue>(topic: string, key: string): Promise<T | undefined>;
12
12
  delete(topic: string, key: string): Promise<void>;
13
- hset(topic: string, key: string, subKey: string, value: string | number | Buffer, option?: CacheSetOptions): Promise<void>;
14
- hget<T extends string | number | Buffer>(topic: string, key: string, subKey: string): Promise<T | undefined>;
13
+ getDel<T extends CacheValue = CacheValue>(topic: string, key: string): Promise<T | undefined>;
14
+ setIfAbsent(topic: string, key: string, value: CacheValue, option?: CacheSetOptions): Promise<boolean>;
15
+ incr(topic: string, key: string, by?: number, option?: CacheSetOptions): Promise<number>;
16
+ acquireLease(topic: string, key: string, owner: string, ttlMs: number): Promise<boolean>;
17
+ renewLease(topic: string, key: string, owner: string, ttlMs: number): Promise<boolean>;
18
+ releaseLease(topic: string, key: string, owner: string): Promise<void>;
19
+ hset(topic: string, key: string, subKey: string, value: CacheValue, option?: CacheSetOptions): Promise<void>;
20
+ hget<T extends CacheValue = CacheValue>(topic: string, key: string, subKey: string): Promise<T | undefined>;
15
21
  hdelete(topic: string, key: string, subKey: string): Promise<void>;
16
22
  hkeys(topic: string, key: string): Promise<string[]>;
17
- hentries<T extends string | number | Buffer>(topic: string, key: string): Promise<[string, T][]>;
23
+ hentries<T extends CacheValue = CacheValue>(topic: string, key: string): Promise<[string, T][]>;
18
24
  hclear(topic: string, key: string): Promise<void>;
25
+ hgetDel<T extends CacheValue = CacheValue>(topic: string, key: string, subKey: string): Promise<T | undefined>;
26
+ hsetIfAbsent(topic: string, key: string, subKey: string, value: CacheValue, option?: CacheSetOptions): Promise<boolean>;
27
+ hincr(topic: string, key: string, subKey: string, by?: number, option?: CacheSetOptions): Promise<number>;
19
28
  }
20
29
  export {};
@@ -1,16 +1,18 @@
1
- import type { BaseEnv, Cls } from "akanjs/base";
2
- import type { WebsocketAdaptor, WsRedisEventHandler } from "./websocket.adaptor";
1
+ import type { LiveChange, LiveChangeHandler, WebsocketAdaptor, WsRedisEventHandler } from "./websocket.adaptor";
3
2
  declare const SolidPubSub_base: import("..").AdaptorCls<{}, {
4
- serverId: import("..").InjectInfo<"env", string, BaseEnv, never>;
3
+ serverId: import("..").InjectInfo<"env", string, {
4
+ [key: string]: any;
5
+ }, never>;
5
6
  }>;
6
7
  export declare class SolidPubSub extends SolidPubSub_base implements WebsocketAdaptor {
7
8
  #private;
8
9
  onInit(): Promise<void>;
9
10
  onDestroy(): Promise<void>;
10
11
  publish(roomId: string, data: unknown): void;
12
+ publishChange(change: LiveChange): void;
13
+ onChange(handler: LiveChangeHandler): void;
11
14
  setEventHandler(handler: WsRedisEventHandler): void;
12
15
  clearEventHandler(): void;
13
- registerEndpoint(key: string, returnRef: Cls, arrDepth: number): void;
14
16
  joinRoom(ws: Bun.ServerWebSocket<unknown>, room: string): Promise<void>;
15
17
  leaveRoom(ws: Bun.ServerWebSocket<unknown>, room: string): Promise<void>;
16
18
  leaveAllRooms(ws: Bun.ServerWebSocket<unknown>): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import { Database } from "bun:sqlite";
2
- import { type Dayjs } from "akanjs/base";
2
+ import type { Dayjs } from "akanjs/base";
3
3
  export interface SolidConfig {
4
4
  filePath?: string;
5
5
  journalMode?: "WAL" | "DELETE" | "TRUNCATE" | "PERSIST" | "MEMORY" | "OFF";
@@ -8,6 +8,7 @@ export interface SolidConfig {
8
8
  cleanupIntervalMs?: number;
9
9
  queuePollIntervalMs?: number;
10
10
  queueLeaseMs?: number;
11
+ queueFailedRetentionMs?: number;
11
12
  }
12
13
  export interface SolidEnv {
13
14
  workspaceRoot?: string;