akanjs 3.0.0-alpha.7 → 3.0.0-alpha.71
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.
- package/CHANGELOG.md +103 -0
- package/README.ko.md +1 -1
- package/README.md +1 -1
- package/base/baseEnv.ts +7 -4
- package/base/primitiveRegistry.ts +59 -12
- package/base/symbols.ts +4 -0
- package/client/capacitor.ts +34 -0
- package/client/clientRuntime.ts +5 -0
- package/client/csrTypes.ts +4 -3
- package/client/index.ts +1 -0
- package/client/locale.ts +2 -2
- package/client/router.ts +7 -7
- package/client/sharedContext.ts +31 -0
- package/client/translator.ts +2 -2
- package/client/types.ts +3 -3
- package/common/Logger.ts +280 -67
- package/common/clientAddress.ts +40 -0
- package/common/deepObjectify.ts +24 -9
- package/common/index.ts +42 -1
- package/common/logContext.ts +27 -0
- package/common/mcpExposure.ts +114 -0
- package/common/pathGetLoose.ts +31 -0
- package/common/pathSet.ts +17 -5
- package/common/plainFieldsOf.ts +13 -0
- package/common/routeConvention.ts +22 -12
- package/common/websocketBinaryFrame.ts +46 -0
- package/constant/crystalize.ts +94 -28
- package/constant/dateSlot.ts +62 -0
- package/constant/deserialize.ts +3 -2
- package/constant/fieldInfo.ts +43 -3
- package/constant/fieldQueryMeta.ts +35 -0
- package/constant/getDefault.ts +16 -11
- package/constant/hydrationPlan.ts +72 -0
- package/constant/immerify.ts +4 -6
- package/constant/index.ts +5 -0
- package/constant/labelOf.ts +26 -0
- package/constant/mask.ts +67 -0
- package/constant/purify.ts +17 -11
- package/constant/textFieldPaths.ts +13 -7
- package/constant/types.ts +19 -13
- package/constant/via.ts +24 -17
- package/dictionary/DictionaryLookup.ts +30 -0
- package/dictionary/agent.dictionary.ts +31 -0
- package/dictionary/agentTurn.dictionary.ts +29 -0
- package/dictionary/base.dictionary.ts +81 -0
- package/dictionary/dictInfo.ts +11 -2
- package/dictionary/dictionary.ts +9 -3
- package/dictionary/index.ts +1 -0
- package/dictionary/trans.ts +2 -2
- package/document/documentQuery.ts +1 -0
- package/document/filterMeta.ts +77 -12
- package/document/index.ts +1 -0
- package/document/noDocumentError.ts +12 -0
- package/document/types.ts +0 -1
- package/fetch/agentTurn.ts +19 -0
- package/fetch/client/fetchClient.ts +137 -37
- package/fetch/client/httpClient.ts +95 -20
- package/fetch/client/wsClient.ts +27 -12
- package/fetch/fetchType/appliedReturn.type.ts +65 -44
- package/fetch/fetchType/endpointFetch.type.ts +17 -8
- package/fetch/fetchType/sliceFetch.type.ts +27 -50
- package/fetch/index.ts +1 -0
- package/index.ts +80 -6
- package/local/apps/akan/akan-local.db +0 -0
- package/local/apps/akan/akan-local.db-shm +0 -0
- package/local/apps/akan/akan-local.db-wal +0 -0
- package/local/apps/akan/akan-local_solid.db +0 -0
- package/local/apps/akan/akan-local_solid.db-shm +0 -0
- package/local/apps/akan/akan-local_solid.db-wal +0 -0
- package/local/apps/serverLifecycle/serverLifecycle-local.db +0 -0
- package/local/apps/serverLifecycle/serverLifecycle-local.db-shm +0 -0
- package/local/apps/serverLifecycle/serverLifecycle-local.db-wal +0 -0
- package/local/apps/serverLifecycle/serverLifecycle-local_solid.db +0 -0
- package/local/apps/serverLifecycle/serverLifecycle-local_solid.db-shm +0 -0
- package/local/apps/serverLifecycle/serverLifecycle-local_solid.db-wal +0 -0
- package/package.json +27 -18
- package/server/akanApp.ts +278 -138
- package/server/akanAppHeaders.ts +16 -2
- package/server/akanOption.ts +63 -8
- package/server/akanServer.ts +387 -32
- package/server/animatedImage.ts +83 -0
- package/server/assetEncoding.ts +4 -24
- package/server/binaryPubsub.ts +55 -0
- package/server/console.ts +110 -101
- package/server/consoleEvaluator.ts +51 -0
- package/server/consolePasteFilter.ts +91 -0
- package/server/consoleSession.ts +242 -0
- package/server/contentEncoding.ts +83 -0
- package/server/devtools/signalSerializer.ts +2 -2
- package/server/devtools/types.ts +4 -4
- package/server/di/diLifecycle.ts +123 -13
- package/server/di/predefinedAdaptor.ts +6 -0
- package/server/di/utils.ts +40 -0
- package/server/imageOptimizer.ts +154 -57
- package/server/lifecycle/runtimeDir.ts +14 -0
- package/server/lifecycle/shutdownManager.ts +1 -1
- package/server/logging/childOutputReader.ts +137 -0
- package/server/logging/hubFileSink.ts +39 -0
- package/server/logging/logControlSocket.ts +173 -0
- package/server/logging/logForwarder.ts +131 -0
- package/server/logging/logHub.ts +0 -0
- package/server/logging/logQuery.ts +130 -0
- package/server/logging/logStdoutWriter.ts +39 -0
- package/server/logging/logStreamRoute.ts +87 -0
- package/server/logging/logTailClient.ts +161 -0
- package/server/mcp/McpAuth.ts +177 -0
- package/server/mcp/McpDispatcher.ts +289 -0
- package/server/mcp/McpEventStream.ts +24 -0
- package/server/mcp/McpExecutionContext.ts +105 -0
- package/server/mcp/McpRouter.ts +621 -0
- package/server/mcp/index.ts +5 -0
- package/server/processMetricsCollector.ts +1 -1
- package/server/resolver/database.resolver.ts +5 -4
- package/server/resolver/signal.resolver.ts +208 -86
- package/server/routeTreeBuilder.ts +10 -8
- package/server/routing/apiRouter.ts +44 -14
- package/server/routing/appWsData.ts +24 -2
- package/server/routing/eventStream.ts +93 -0
- package/server/routing/soloAppRoutes.ts +50 -0
- package/server/rscWorker.tsx +36 -22
- package/server/rscWorkerHost.ts +59 -8
- package/server/semaphore.ts +22 -0
- package/server/subRouteIndexDocument.tsx +61 -0
- package/server/systemPageDocument.tsx +3 -3
- package/server/systemPages.tsx +49 -16
- package/server/types.tsx +28 -0
- package/server/vendor/akanjs-fetch.ts +1 -0
- package/server/webRouter.ts +96 -39
- package/service/adapt.ts +4 -4
- package/service/agent.service.ts +81 -0
- package/service/base.service.ts +2 -1
- package/service/index.ts +1 -0
- package/service/injectInfo.ts +8 -3
- package/service/ipcTypes.ts +6 -0
- package/service/predefinedAdaptor/compress.adaptor.ts +5 -1
- package/service/predefinedAdaptor/database.adaptor.ts +68 -37
- package/service/predefinedAdaptor/deepseekLlm.ts +271 -0
- package/service/predefinedAdaptor/index.ts +3 -0
- package/service/predefinedAdaptor/insightQuery.ts +183 -0
- package/service/predefinedAdaptor/llm.adaptor.ts +115 -0
- package/service/predefinedAdaptor/logging.adaptor.ts +1 -1
- package/service/predefinedAdaptor/queue.adaptor.ts +5 -2
- package/service/predefinedAdaptor/role.adaptor.ts +2 -0
- package/service/predefinedAdaptor/schedule.adaptor.ts +12 -5
- package/service/predefinedAdaptor/solidPubsub.adaptor.ts +10 -6
- package/service/predefinedAdaptor/solidQueue.adaptor.ts +6 -2
- package/service/predefinedAdaptor/solidSqlite.ts +11 -9
- package/service/predefinedAdaptor/websocket.adaptor.ts +6 -1
- package/service/serve.ts +16 -9
- package/service/toolNames.ts +119 -0
- package/signal/agent/AgentCatalogue.ts +165 -0
- package/signal/agent/index.ts +1 -0
- package/signal/agent.signal.ts +38 -0
- package/signal/agentTurn.ts +8 -0
- package/signal/agentTurnStream.ts +60 -0
- package/signal/base.signal.ts +2 -1
- package/signal/endpointInfo.ts +38 -2
- package/signal/guard.ts +28 -1
- package/signal/guards.ts +49 -1
- package/signal/index.ts +6 -0
- package/signal/intercept.ts +4 -4
- package/signal/internalArg.ts +21 -4
- package/signal/mcp/McpDocument.ts +326 -0
- package/signal/mcp/McpProgress.ts +106 -0
- package/signal/mcp/McpUriTemplate.ts +80 -0
- package/signal/mcp/Msg.ts +368 -0
- package/signal/mcp/index.ts +5 -0
- package/signal/mcp/mcpProtocol.ts +120 -0
- package/signal/middleware.ts +3 -3
- package/signal/openapi/openapi.ts +36 -173
- package/signal/schema/JsonSchemaBuilder.ts +221 -0
- package/signal/schema/index.ts +1 -0
- package/signal/serializer/fetch.serializer.ts +51 -0
- package/signal/signalContext.ts +324 -76
- package/signal/slice.ts +62 -27
- package/signal/trace.ts +268 -9
- package/signal/types.ts +55 -4
- package/store/action.ts +34 -41
- package/store/actionTag.ts +33 -0
- package/store/agent/AgentBridge.ts +87 -0
- package/store/agent/AgentContext.ts +71 -0
- package/store/agent/AgentPrompts.ts +111 -0
- package/store/agent/ScreenReader.ts +349 -0
- package/store/agent/ScreenSettle.ts +45 -0
- package/store/agent/ScreenTarget.ts +135 -0
- package/store/agent/StoreCatalogue.ts +116 -0
- package/store/agent/StoreSurfaceSource.ts +225 -0
- package/store/agent/index.ts +13 -0
- package/store/agent/storeSurface.ts +28 -0
- package/store/agent/types.ts +16 -0
- package/store/agentic/AgentValue.ts +119 -0
- package/store/agentic/StExposeBuilder.ts +47 -0
- package/store/agentic/StExposeDraft.ts +24 -0
- package/store/agentic/StStateBuilder.ts +85 -0
- package/store/agentic/StStateDraft.ts +23 -0
- package/store/agentic/StToolBuilder.ts +279 -0
- package/store/agentic/StToolDraft.ts +22 -0
- package/store/agentic/attachAgentic.ts +33 -0
- package/store/agentic/formFields.ts +194 -0
- package/store/agentic/index.ts +12 -0
- package/store/agentic/useFieldTool.ts +183 -0
- package/store/agentic/useFormTools.ts +77 -0
- package/store/agentic/useRelationFieldTool.ts +113 -0
- package/store/baseSt.ts +1 -1
- package/store/databaseStateNames.ts +31 -0
- package/store/formSetterNames.ts +35 -0
- package/store/index.ts +8 -0
- package/store/rootStore.ts +3 -1
- package/store/sliceRole.ts +36 -0
- package/store/state.ts +2 -12
- package/store/store.ts +9 -0
- package/store/storeInstance.ts +185 -20
- package/store/storeRegistry.ts +39 -1
- package/store/types.ts +5 -0
- package/store/withSelector.ts +5 -4
- package/test/index.ts +1 -1
- package/test/registerDom.ts +4 -0
- package/test/sampleOf.ts +2 -0
- package/test/signalTestRuntime.ts +5 -5
- package/test/testServer.ts +14 -11
- package/types/base/baseEnv.d.ts +1 -1
- package/types/base/primitiveRegistry.d.ts +20 -8
- package/types/base/symbols.d.ts +4 -0
- package/types/client/capacitor.d.ts +39 -0
- package/types/client/clientRuntime.d.ts +7 -0
- package/types/client/index.d.ts +1 -0
- package/types/client/sharedContext.d.ts +21 -0
- package/types/client/types.d.ts +5 -3
- package/types/common/Logger.d.ts +88 -6
- package/types/common/clientAddress.d.ts +19 -0
- package/types/common/deepObjectify.d.ts +4 -2
- package/types/common/index.d.ts +8 -2
- package/types/common/logContext.d.ts +17 -0
- package/types/common/mcpExposure.d.ts +64 -0
- package/types/common/pathGetLoose.d.ts +8 -0
- package/types/common/plainFieldsOf.d.ts +6 -0
- package/types/common/routeConvention.d.ts +6 -0
- package/types/common/websocketBinaryFrame.d.ts +17 -0
- package/types/constant/constantRegistry.d.ts +2 -10
- package/types/constant/crystalize.d.ts +5 -0
- package/types/constant/dateSlot.d.ts +14 -0
- package/types/constant/fieldInfo.d.ts +20 -3
- package/types/constant/fieldQueryMeta.d.ts +17 -0
- package/types/constant/getDefault.d.ts +8 -0
- package/types/constant/hydrationPlan.d.ts +24 -0
- package/types/constant/index.d.ts +5 -0
- package/types/constant/labelOf.d.ts +7 -0
- package/types/constant/mask.d.ts +41 -0
- package/types/constant/purify.d.ts +2 -2
- package/types/constant/types.d.ts +5 -5
- package/types/dictionary/DictionaryLookup.d.ts +14 -0
- package/types/dictionary/agent.dictionary.d.ts +1 -0
- package/types/dictionary/agentTurn.dictionary.d.ts +1 -0
- package/types/dictionary/base.dictionary.d.ts +1 -1
- package/types/dictionary/dictInfo.d.ts +7 -1
- package/types/dictionary/dictionary.d.ts +11 -9
- package/types/dictionary/index.d.ts +1 -0
- package/types/document/filterMeta.d.ts +24 -4
- package/types/document/index.d.ts +1 -0
- package/types/document/noDocumentError.d.ts +12 -0
- package/types/document/types.d.ts +0 -1
- package/types/fetch/agentTurn.d.ts +475 -0
- package/types/fetch/client/fetchClient.d.ts +12 -0
- package/types/fetch/client/httpClient.d.ts +2 -1
- package/types/fetch/fetchType/appliedReturn.type.d.ts +37 -18
- package/types/fetch/fetchType/endpointFetch.type.d.ts +8 -5
- package/types/fetch/fetchType/sliceFetch.type.d.ts +11 -15
- package/types/fetch/index.d.ts +1 -0
- package/types/index.d.ts +74 -10
- package/types/server/akanApp.d.ts +12 -0
- package/types/server/akanAppHeaders.d.ts +7 -1
- package/types/server/akanOption.d.ts +36 -6
- package/types/server/akanServer.d.ts +67 -9
- package/types/server/animatedImage.d.ts +7 -0
- package/types/server/assetEncoding.d.ts +1 -1
- package/types/server/binaryPubsub.d.ts +18 -0
- package/types/server/console.d.ts +11 -1
- package/types/server/consoleEvaluator.d.ts +2 -0
- package/types/server/consolePasteFilter.d.ts +11 -0
- package/types/server/consoleSession.d.ts +22 -0
- package/types/server/contentEncoding.d.ts +28 -0
- package/types/server/devtools/types.d.ts +4 -4
- package/types/server/di/diLifecycle.d.ts +10 -2
- package/types/server/di/predefinedAdaptor.d.ts +4 -1
- package/types/server/di/utils.d.ts +16 -0
- package/types/server/lifecycle/runtimeDir.d.ts +5 -0
- package/types/server/logging/childOutputReader.d.ts +40 -0
- package/types/server/logging/hubFileSink.d.ts +18 -0
- package/types/server/logging/logControlSocket.d.ts +60 -0
- package/types/server/logging/logForwarder.d.ts +37 -0
- package/types/server/logging/logHub.d.ts +70 -0
- package/types/server/logging/logQuery.d.ts +31 -0
- package/types/server/logging/logStdoutWriter.d.ts +35 -0
- package/types/server/logging/logStreamRoute.d.ts +20 -0
- package/types/server/logging/logTailClient.d.ts +42 -0
- package/types/server/mcp/McpAuth.d.ts +62 -0
- package/types/server/mcp/McpDispatcher.d.ts +61 -0
- package/types/server/mcp/McpEventStream.d.ts +17 -0
- package/types/server/mcp/McpExecutionContext.d.ts +44 -0
- package/types/server/mcp/McpRouter.d.ts +65 -0
- package/types/server/mcp/index.d.ts +5 -0
- package/types/server/mcp.d.ts +1 -0
- package/types/server/resolver/signal.resolver.d.ts +7 -4
- package/types/server/routing/apiRouter.d.ts +2 -1
- package/types/server/routing/appWsData.d.ts +13 -1
- package/types/server/routing/eventStream.d.ts +23 -0
- package/types/server/routing/soloAppRoutes.d.ts +17 -0
- package/types/server/rscWorkerHost.d.ts +4 -1
- package/types/server/semaphore.d.ts +5 -0
- package/types/server/subRouteIndexDocument.d.ts +8 -0
- package/types/server/systemPageDocument.d.ts +1 -0
- package/types/server/systemPages.d.ts +5 -0
- package/types/server/types.d.ts +16 -0
- package/types/server/vendor/akanjs-fetch.d.ts +1 -0
- package/types/server/webRouter.d.ts +15 -4
- package/types/service/adapt.d.ts +2 -2
- package/types/service/agent.service.d.ts +32 -0
- package/types/service/base.service.d.ts +4 -0
- package/types/service/index.d.ts +1 -0
- package/types/service/injectInfo.d.ts +2 -2
- package/types/service/ipcTypes.d.ts +12 -0
- package/types/service/predefinedAdaptor/compress.adaptor.d.ts +1 -1
- package/types/service/predefinedAdaptor/database.adaptor.d.ts +9 -3
- package/types/service/predefinedAdaptor/deepseekLlm.d.ts +76 -0
- package/types/service/predefinedAdaptor/index.d.ts +3 -0
- package/types/service/predefinedAdaptor/insightQuery.d.ts +50 -0
- package/types/service/predefinedAdaptor/llm.adaptor.d.ts +105 -0
- package/types/service/predefinedAdaptor/queue.adaptor.d.ts +3 -2
- package/types/service/predefinedAdaptor/role.adaptor.d.ts +2 -0
- package/types/service/predefinedAdaptor/schedule.adaptor.d.ts +10 -6
- package/types/service/predefinedAdaptor/solidQueue.adaptor.d.ts +6 -2
- package/types/service/predefinedAdaptor/solidSqlite.d.ts +2 -2
- package/types/service/serve.d.ts +3 -3
- package/types/service/toolNames.d.ts +35 -0
- package/types/signal/agent/AgentCatalogue.d.ts +100 -0
- package/types/signal/agent/index.d.ts +1 -0
- package/types/signal/agent.d.ts +1 -0
- package/types/signal/agent.signal.d.ts +24 -0
- package/types/signal/agentTurn.d.ts +9 -0
- package/types/signal/agentTurnStream.d.ts +24 -0
- package/types/signal/base.signal.d.ts +1 -1
- package/types/signal/endpointInfo.d.ts +21 -3
- package/types/signal/guard.d.ts +12 -0
- package/types/signal/guards.d.ts +23 -1
- package/types/signal/index.d.ts +6 -0
- package/types/signal/intercept.d.ts +2 -2
- package/types/signal/internalArg.d.ts +22 -6
- package/types/signal/mcp/McpDocument.d.ts +84 -0
- package/types/signal/mcp/McpProgress.d.ts +40 -0
- package/types/signal/mcp/McpUriTemplate.d.ts +25 -0
- package/types/signal/mcp/Msg.d.ts +143 -0
- package/types/signal/mcp/index.d.ts +5 -0
- package/types/signal/mcp/mcpProtocol.d.ts +107 -0
- package/types/signal/mcp.d.ts +1 -0
- package/types/signal/middleware.d.ts +7 -7
- package/types/signal/openapi/openapi.d.ts +3 -3
- package/types/signal/schema/JsonSchemaBuilder.d.ts +51 -0
- package/types/signal/schema/index.d.ts +1 -0
- package/types/signal/schema.d.ts +1 -0
- package/types/signal/signalContext.d.ts +67 -8
- package/types/signal/slice.d.ts +42 -15
- package/types/signal/trace.d.ts +52 -2
- package/types/signal/types.d.ts +53 -4
- package/types/store/action.d.ts +7 -5
- package/types/store/actionTag.d.ts +21 -0
- package/types/store/agent/AgentBridge.d.ts +37 -0
- package/types/store/agent/AgentContext.d.ts +16 -0
- package/types/store/agent/AgentPrompts.d.ts +31 -0
- package/types/store/agent/ScreenReader.d.ts +29 -0
- package/types/store/agent/ScreenSettle.d.ts +22 -0
- package/types/store/agent/ScreenTarget.d.ts +34 -0
- package/types/store/agent/StoreCatalogue.d.ts +26 -0
- package/types/store/agent/StoreSurfaceSource.d.ts +30 -0
- package/types/store/agent/index.d.ts +11 -0
- package/types/store/agent/storeSurface.d.ts +14 -0
- package/types/store/agent/types.d.ts +15 -0
- package/types/store/agent.d.ts +1 -0
- package/types/store/agentic/AgentValue.d.ts +43 -0
- package/types/store/agentic/StExposeBuilder.d.ts +21 -0
- package/types/store/agentic/StExposeDraft.d.ts +13 -0
- package/types/store/agentic/StStateBuilder.d.ts +21 -0
- package/types/store/agentic/StStateDraft.d.ts +12 -0
- package/types/store/agentic/StToolBuilder.d.ts +56 -0
- package/types/store/agentic/StToolDraft.d.ts +13 -0
- package/types/store/agentic/attachAgentic.d.ts +25 -0
- package/types/store/agentic/formFields.d.ts +53 -0
- package/types/store/agentic/index.d.ts +12 -0
- package/types/store/agentic/useFieldTool.d.ts +22 -0
- package/types/store/agentic/useFormTools.d.ts +19 -0
- package/types/store/agentic/useRelationFieldTool.d.ts +27 -0
- package/types/store/agentic.d.ts +1 -0
- package/types/store/baseSt.d.ts +35 -39
- package/types/store/databaseStateNames.d.ts +25 -0
- package/types/store/formSetterNames.d.ts +30 -0
- package/types/store/index.d.ts +7 -0
- package/types/store/rootStore.d.ts +5 -1
- package/types/store/sliceRole.d.ts +25 -0
- package/types/store/store.d.ts +5 -1
- package/types/store/storeInstance.d.ts +33 -1
- package/types/store/storeRegistry.d.ts +5 -0
- package/types/store/types.d.ts +4 -0
- package/types/store/withSelector.d.ts +5 -4
- package/types/test/index.d.ts +1 -1
- package/types/test/registerDom.d.ts +1 -0
- package/types/test/signalTestRuntime.d.ts +2 -3
- package/types/test/testServer.d.ts +6 -4
- package/types/ui/Agent/Approval.d.ts +8 -0
- package/types/ui/Agent/Attach.d.ts +16 -0
- package/types/ui/Agent/Bubble.d.ts +26 -0
- package/types/ui/Agent/Chat.d.ts +91 -0
- package/types/ui/Agent/ChatCommands.d.ts +34 -0
- package/types/ui/Agent/Composer.d.ts +23 -0
- package/types/ui/Agent/Context.d.ts +13 -0
- package/types/ui/Agent/Dock.d.ts +17 -0
- package/types/ui/Agent/Guide.d.ts +9 -0
- package/types/ui/Agent/History.d.ts +26 -0
- package/types/ui/Agent/Launcher.d.ts +16 -0
- package/types/ui/Agent/Markdown.d.ts +19 -0
- package/types/ui/Agent/Menu.d.ts +18 -0
- package/types/ui/Agent/Mic.d.ts +8 -0
- package/types/ui/Agent/Question.d.ts +14 -0
- package/types/ui/Agent/Section.d.ts +10 -0
- package/types/ui/Agent/Skip.d.ts +22 -0
- package/types/ui/Agent/StateKey.d.ts +16 -0
- package/types/ui/Agent/Tool.d.ts +15 -0
- package/types/ui/Agent/Transcript.d.ts +13 -0
- package/types/ui/Agent/Zone.d.ts +48 -0
- package/types/ui/Agent/agentSessionOf.d.ts +27 -0
- package/types/ui/Agent/attachment.d.ts +34 -0
- package/types/ui/Agent/fetchRunner.d.ts +12 -0
- package/types/ui/Agent/index.d.ts +19 -0
- package/types/ui/Agent/index_.d.ts +1 -0
- package/types/ui/Agent/markdownBlocks.d.ts +35 -0
- package/types/ui/Agent/markdownSpans.d.ts +2 -0
- package/types/ui/Agent/markdownTable.d.ts +16 -0
- package/types/ui/Agent/sessionHistory.d.ts +14 -0
- package/types/ui/Agent/sessionView.d.ts +15 -0
- package/types/ui/Agent/tokenCount.d.ts +6 -0
- package/types/ui/Agent/useChatAttachments.d.ts +24 -0
- package/types/ui/Agent/useChatVoice.d.ts +30 -0
- package/types/ui/Agent/useDraftRecall.d.ts +14 -0
- package/types/ui/Agent/useKeyboardInset.d.ts +8 -0
- package/types/ui/Agent/useSlashMenu.d.ts +24 -0
- package/types/ui/Agent/voice.d.ts +71 -0
- package/types/ui/Agent.d.ts +1 -0
- package/types/ui/Badge.d.ts +1 -1
- package/types/ui/Button.d.ts +1 -1
- package/types/ui/Constant/Graph.d.ts +10 -0
- package/types/ui/Constant/index.d.ts +2 -1
- package/types/ui/Constant/schemaGraph.d.ts +39 -0
- package/types/ui/Data/Dashboard.d.ts +16 -3
- package/types/ui/Data/Insight.d.ts +1 -1
- package/types/ui/Data/ListContainer.d.ts +15 -7
- package/types/ui/Data/QueryMaker.d.ts +45 -3
- package/types/ui/Data/RefPicker.d.ts +16 -0
- package/types/ui/Data/dataExport.d.ts +5 -0
- package/types/ui/Data/dataText.d.ts +6 -0
- package/types/ui/Data/index.d.ts +2 -0
- package/types/ui/Data/index_.d.ts +1 -0
- package/types/ui/DatePicker.d.ts +15 -11
- package/types/ui/Dialog/LegacyModal.d.ts +13 -0
- package/types/ui/Dialog/Provider.d.ts +3 -1
- package/types/ui/Dialog/context.d.ts +9 -1
- package/types/ui/Dialog/index.d.ts +1 -0
- package/types/ui/DraggableList.d.ts +1 -1
- package/types/ui/Dropdown.d.ts +5 -1
- package/types/ui/Field.d.ts +13 -12
- package/types/ui/Layout/BottomTab.d.ts +3 -2
- package/types/ui/LegacyModal.d.ts +24 -0
- package/types/ui/Loading/ProgressBar.d.ts +4 -0
- package/types/ui/Loading/Spin.d.ts +2 -1
- package/types/ui/Model/AdminPanel.d.ts +15 -3
- package/types/ui/Model/EditModal.d.ts +1 -1
- package/types/ui/Model/New.d.ts +3 -1
- package/types/ui/Model/NewWrapper.d.ts +2 -0
- package/types/ui/Model/NewWrapper_Client.d.ts +2 -1
- package/types/ui/Pagination.d.ts +2 -2
- package/types/ui/Radio.d.ts +1 -1
- package/types/ui/RecentTime.d.ts +18 -1
- package/types/ui/Reference/Collapse.d.ts +11 -0
- package/types/ui/Reference/Panel.d.ts +29 -0
- package/types/ui/Reference/Segmented.d.ts +17 -0
- package/types/ui/Reference/Summary.d.ts +13 -0
- package/types/ui/Reference/Toolbar.d.ts +21 -0
- package/types/ui/Reference/dictText.d.ts +6 -0
- package/types/ui/Reference/index.d.ts +7 -0
- package/types/ui/Reference/style.d.ts +20 -0
- package/types/ui/Reference.d.ts +1 -0
- package/types/ui/ScreenNavigator.d.ts +3 -1
- package/types/ui/Signal/Arg.d.ts +7 -3
- package/types/ui/Signal/Doc.d.ts +4 -6
- package/types/ui/Signal/Object.d.ts +2 -1
- package/types/ui/Signal/RestApi.d.ts +2 -1
- package/types/ui/Signal/WebSocket.d.ts +2 -1
- package/types/ui/Signal/endpointEntries.d.ts +20 -0
- package/types/ui/Signal/style.d.ts +9 -8
- package/types/ui/System/Client.d.ts +1 -2
- package/types/ui/System/Common.d.ts +3 -4
- package/types/ui/System/Messages.d.ts +1 -1
- package/types/ui/Tab/Provider.d.ts +3 -1
- package/types/ui/Tab/context.d.ts +4 -2
- package/types/ui/ToggleSelect.d.ts +1 -0
- package/types/ui/UiOverride/context.d.ts +18 -1
- package/types/ui/agentAttrs.d.ts +14 -0
- package/types/ui/index.d.ts +22 -1
- package/types/ui/overlayLayer.d.ts +13 -0
- package/types/ui/overlayPosition.d.ts +28 -0
- package/types/ui/recipe/badgeRecipe.d.ts +2 -2
- package/types/ui/recipe/buttonRecipe.d.ts +2 -2
- package/types/vendor/use-agentic/AgentAbort.d.ts +17 -0
- package/types/vendor/use-agentic/AgentProgress.d.ts +27 -0
- package/types/vendor/use-agentic/AgentProvider.d.ts +17 -0
- package/types/vendor/use-agentic/AgentScope.d.ts +9 -0
- package/types/vendor/use-agentic/AgentSession.d.ts +163 -0
- package/types/vendor/use-agentic/Agentic.d.ts +21 -0
- package/types/vendor/use-agentic/AgenticSurface.d.ts +58 -0
- package/types/vendor/use-agentic/Compaction.d.ts +48 -0
- package/types/vendor/use-agentic/ToolOutput.d.ts +21 -0
- package/types/vendor/use-agentic/Transcript.d.ts +18 -0
- package/types/vendor/use-agentic/httpRunner.d.ts +15 -0
- package/types/vendor/use-agentic/index.d.ts +19 -0
- package/types/vendor/use-agentic/sharedContext.d.ts +15 -0
- package/types/vendor/use-agentic/surfaceContext.d.ts +5 -0
- package/types/vendor/use-agentic/types.d.ts +182 -0
- package/types/vendor/use-agentic/useAgent.d.ts +4 -0
- package/types/vendor/use-agentic/useAgentGuide.d.ts +6 -0
- package/types/vendor/use-agentic/useAgentResource.d.ts +12 -0
- package/types/vendor/use-agentic/useAgentState.d.ts +16 -0
- package/types/vendor/use-agentic/useAgentTool.d.ts +16 -0
- package/types/vendor/use-agentic.d.ts +1 -0
- package/types/webkit/index.d.ts +4 -0
- package/types/webkit/useBodyScrollLock.d.ts +2 -0
- package/types/webkit/usePageTool.d.ts +19 -0
- package/types/webkit/useScreenScope.d.ts +25 -0
- package/ui/Agent/Approval.tsx +32 -0
- package/ui/Agent/Attach.tsx +77 -0
- package/ui/Agent/Bubble.tsx +192 -0
- package/ui/Agent/Chat.tsx +525 -0
- package/ui/Agent/ChatCommands.ts +141 -0
- package/ui/Agent/Composer.tsx +94 -0
- package/ui/Agent/Context.tsx +49 -0
- package/ui/Agent/Dock.tsx +77 -0
- package/ui/Agent/Guide.tsx +16 -0
- package/ui/Agent/History.tsx +49 -0
- package/ui/Agent/Launcher.tsx +60 -0
- package/ui/Agent/Markdown.tsx +142 -0
- package/ui/Agent/Menu.tsx +55 -0
- package/ui/Agent/Mic.tsx +27 -0
- package/ui/Agent/Question.tsx +63 -0
- package/ui/Agent/Section.tsx +24 -0
- package/ui/Agent/Skip.tsx +30 -0
- package/ui/Agent/StateKey.tsx +46 -0
- package/ui/Agent/Tool.tsx +59 -0
- package/ui/Agent/Transcript.tsx +33 -0
- package/ui/Agent/Zone.tsx +116 -0
- package/ui/Agent/agentSessionOf.ts +60 -0
- package/ui/Agent/attachment.ts +73 -0
- package/ui/Agent/fetchRunner.ts +44 -0
- package/ui/Agent/index.ts +27 -0
- package/ui/Agent/index_.tsx +4 -0
- package/ui/Agent/markdownBlocks.ts +137 -0
- package/ui/Agent/markdownSpans.tsx +49 -0
- package/ui/Agent/markdownTable.ts +54 -0
- package/ui/Agent/sessionHistory.ts +62 -0
- package/ui/Agent/sessionView.ts +38 -0
- package/ui/Agent/tokenCount.ts +10 -0
- package/ui/Agent/useChatAttachments.ts +84 -0
- package/ui/Agent/useChatVoice.ts +129 -0
- package/ui/Agent/useDraftRecall.ts +42 -0
- package/ui/Agent/useKeyboardInset.ts +26 -0
- package/ui/Agent/useSlashMenu.ts +58 -0
- package/ui/Agent/voice.ts +177 -0
- package/ui/Badge.tsx +1 -1
- package/ui/BottomSheet.tsx +32 -36
- package/ui/Button.tsx +3 -1
- package/ui/Clipboard.tsx +3 -6
- package/ui/Constant/Doc.tsx +265 -254
- package/ui/Constant/Graph.tsx +151 -0
- package/ui/Constant/index.ts +3 -2
- package/ui/Constant/schemaGraph.ts +232 -0
- package/ui/Data/CardList.tsx +14 -3
- package/ui/Data/Dashboard.tsx +70 -52
- package/ui/Data/Insight.tsx +18 -12
- package/ui/Data/Item.tsx +42 -56
- package/ui/Data/ListContainer.tsx +246 -132
- package/ui/Data/Pagination.tsx +10 -3
- package/ui/Data/QueryMaker.tsx +160 -11
- package/ui/Data/RefPicker.tsx +202 -0
- package/ui/Data/TableList.tsx +22 -13
- package/ui/Data/dataExport.ts +54 -0
- package/ui/Data/dataText.ts +22 -0
- package/ui/Data/index.ts +13 -1
- package/ui/Data/index_.tsx +1 -0
- package/ui/DatePicker.tsx +110 -128
- package/ui/Dialog/Close.tsx +3 -7
- package/ui/Dialog/LegacyModal.tsx +241 -0
- package/ui/Dialog/Modal.tsx +62 -195
- package/ui/Dialog/Provider.tsx +47 -3
- package/ui/Dialog/Trigger.tsx +3 -7
- package/ui/Dialog/context.ts +14 -2
- package/ui/Dialog/index.tsx +2 -0
- package/ui/DragAction.tsx +3 -2
- package/ui/DraggableList.tsx +9 -4
- package/ui/Dropdown.tsx +89 -27
- package/ui/Empty.tsx +6 -4
- package/ui/Field.tsx +128 -58
- package/ui/Input.tsx +27 -5
- package/ui/KeyboardAvoiding.tsx +2 -2
- package/ui/Layout/BottomTab.tsx +32 -37
- package/ui/Layout/Sider.tsx +37 -14
- package/ui/LegacyModal.tsx +53 -0
- package/ui/Link/CsrLink.tsx +1 -1
- package/ui/Load/Pagination.tsx +15 -8
- package/ui/Load/Units.tsx +30 -7
- package/ui/Load/View.tsx +10 -3
- package/ui/Loading/Area.tsx +7 -6
- package/ui/Loading/Button.tsx +7 -9
- package/ui/Loading/Input.tsx +7 -9
- package/ui/Loading/ProgressBar.tsx +16 -7
- package/ui/Loading/Skeleton.tsx +8 -13
- package/ui/Loading/Spin.tsx +20 -14
- package/ui/Menu.tsx +1 -1
- package/ui/Model/AdminPanel.tsx +52 -12
- package/ui/Model/EditModal.tsx +28 -6
- package/ui/Model/EditWrapper.tsx +16 -4
- package/ui/Model/New.tsx +4 -0
- package/ui/Model/NewWrapper.tsx +2 -0
- package/ui/Model/NewWrapper_Client.tsx +20 -6
- package/ui/Model/Remove.tsx +18 -6
- package/ui/Model/RemoveWrapper.tsx +12 -2
- package/ui/Model/SureToRemove.tsx +18 -6
- package/ui/Model/ViewEditModal.tsx +64 -15
- package/ui/Model/ViewModal.tsx +25 -11
- package/ui/Model/ViewWrapper.tsx +15 -4
- package/ui/Model/index_.tsx +1 -1
- package/ui/Pagination.tsx +51 -66
- package/ui/Popconfirm.tsx +88 -78
- package/ui/Radio.tsx +53 -24
- package/ui/RecentTime.tsx +83 -35
- package/ui/Reference/Collapse.tsx +26 -0
- package/ui/Reference/Panel.tsx +79 -0
- package/ui/Reference/Segmented.tsx +41 -0
- package/ui/Reference/Summary.tsx +25 -0
- package/ui/Reference/Toolbar.tsx +44 -0
- package/ui/Reference/dictText.ts +9 -0
- package/ui/Reference/index.ts +7 -0
- package/ui/Reference/style.ts +45 -0
- package/ui/ScreenNavigator.tsx +17 -2
- package/ui/Select.tsx +96 -57
- package/ui/Signal/Arg.tsx +83 -68
- package/ui/Signal/Doc.tsx +163 -129
- package/ui/Signal/Listener.tsx +40 -29
- package/ui/Signal/Message.tsx +87 -135
- package/ui/Signal/Object.tsx +79 -57
- package/ui/Signal/PubSub.tsx +72 -113
- package/ui/Signal/Request.tsx +2 -22
- package/ui/Signal/Response.tsx +19 -45
- package/ui/Signal/RestApi.tsx +170 -200
- package/ui/Signal/WebSocket.tsx +29 -26
- package/ui/Signal/endpointEntries.ts +59 -0
- package/ui/Signal/makeExample.ts +10 -3
- package/ui/Signal/style.ts +34 -29
- package/ui/Switch.tsx +4 -0
- package/ui/System/CSR.tsx +1 -1
- package/ui/System/Client.tsx +31 -15
- package/ui/System/Common.tsx +3 -4
- package/ui/System/DevModeToggle.tsx +1 -1
- package/ui/System/Gtag.tsx +2 -2
- package/ui/System/Messages.tsx +52 -31
- package/ui/System/Reconnect.tsx +22 -56
- package/ui/System/SelectLanguage.tsx +24 -15
- package/ui/System/ThemeToggle.tsx +25 -13
- package/ui/Tab/Menu.tsx +24 -12
- package/ui/Tab/Menus.tsx +6 -3
- package/ui/Tab/Provider.tsx +30 -3
- package/ui/Tab/context.ts +8 -4
- package/ui/Table.tsx +66 -60
- package/ui/ToggleSelect.tsx +8 -7
- package/ui/Tooltip.tsx +15 -1
- package/ui/UiOverride/context.ts +21 -2
- package/ui/Unauthorized.tsx +6 -4
- package/ui/agentAttrs.ts +19 -0
- package/ui/index.ts +49 -1
- package/ui/overlayLayer.ts +12 -2
- package/ui/overlayPosition.ts +104 -0
- package/ui/recipe/buttonRecipe.ts +2 -2
- package/ui/styles.css +31 -0
- package/vendor/use-agentic/AgentAbort.ts +29 -0
- package/vendor/use-agentic/AgentProgress.ts +40 -0
- package/vendor/use-agentic/AgentProvider.tsx +39 -0
- package/vendor/use-agentic/AgentScope.tsx +20 -0
- package/vendor/use-agentic/AgentSession.ts +750 -0
- package/vendor/use-agentic/Agentic.tsx +44 -0
- package/vendor/use-agentic/AgenticSurface.ts +333 -0
- package/vendor/use-agentic/Compaction.ts +120 -0
- package/vendor/use-agentic/ToolOutput.ts +60 -0
- package/vendor/use-agentic/Transcript.ts +50 -0
- package/vendor/use-agentic/WIRE.md +86 -0
- package/vendor/use-agentic/httpRunner.ts +131 -0
- package/vendor/use-agentic/index.ts +20 -0
- package/vendor/use-agentic/sharedContext.ts +25 -0
- package/vendor/use-agentic/surfaceContext.ts +10 -0
- package/vendor/use-agentic/types.ts +192 -0
- package/vendor/use-agentic/useAgent.ts +18 -0
- package/vendor/use-agentic/useAgentGuide.ts +16 -0
- package/vendor/use-agentic/useAgentResource.ts +36 -0
- package/vendor/use-agentic/useAgentState.ts +64 -0
- package/vendor/use-agentic/useAgentTool.ts +55 -0
- package/webkit/bootCsr.tsx +10 -8
- package/webkit/index.ts +4 -0
- package/webkit/lazy.tsx +5 -1
- package/webkit/useBodyScrollLock.tsx +29 -0
- package/webkit/useFrameRuntime.ts +1 -1
- package/webkit/usePageTool.tsx +37 -0
- package/webkit/useScreenScope.tsx +60 -0
- package/types/ui/Constant/Mermaid.d.ts +0 -8
- package/types/ui/Signal/Collapse.d.ts +0 -12
- package/ui/Constant/Mermaid.tsx +0 -149
- package/ui/Signal/Collapse.tsx +0 -29
|
@@ -8,33 +8,62 @@ export type SliceMeta = {
|
|
|
8
8
|
argLength: number;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
/** What the root slice takes: one of the model's declared filter queries, and the args that filter asks for. */
|
|
12
|
+
export interface QuerySetting {
|
|
13
|
+
queryKey: string;
|
|
14
|
+
/**
|
|
15
|
+
* Read when the query is applied rather than when the setting is written, so a thunk keeps an arg relative to
|
|
16
|
+
* now — `() => [dayjs().subtract(1, "hour")]` — current at the moment the user asks for it.
|
|
17
|
+
*/
|
|
18
|
+
args?: unknown[] | (() => unknown[]);
|
|
19
|
+
/**
|
|
20
|
+
* The same list under the name the rest of the framework already uses for it — the `queryArgsOf<Model>` state
|
|
21
|
+
* key, `refresh<Model>({ queryArgs })`, and a field's own `.meta(...)` declaration. Accepted so a query a
|
|
22
|
+
* field declares is one of these as it stands, rather than something every caller has to rename by hand.
|
|
23
|
+
* `args` wins when both are given.
|
|
24
|
+
*/
|
|
25
|
+
queryArgs?: unknown[] | (() => unknown[]);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type ServerInitShape<
|
|
12
29
|
RefName extends string,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
_LightObj = GetStateObject<Light>,
|
|
19
|
-
_InsightObj = GetStateObject<Insight>,
|
|
20
|
-
_Sort = ExtractSort<Filter>,
|
|
30
|
+
QueryArgs,
|
|
31
|
+
CapRefName extends string,
|
|
32
|
+
LightObj,
|
|
33
|
+
InsightObj,
|
|
34
|
+
Sort,
|
|
21
35
|
> = SliceMeta & {
|
|
22
|
-
[K in `${RefName}ObjList`]:
|
|
36
|
+
[K in `${RefName}ObjList`]: LightObj[];
|
|
23
37
|
} & {
|
|
24
|
-
[K in `${RefName}ObjInsight`]:
|
|
38
|
+
[K in `${RefName}ObjInsight`]: InsightObj;
|
|
25
39
|
} & {
|
|
26
|
-
[K in `pageOf${
|
|
40
|
+
[K in `pageOf${CapRefName}`]: number;
|
|
27
41
|
} & {
|
|
28
|
-
[K in `lastPageOf${
|
|
42
|
+
[K in `lastPageOf${CapRefName}`]: number;
|
|
29
43
|
} & {
|
|
30
|
-
[K in `limitOf${
|
|
44
|
+
[K in `limitOf${CapRefName}`]: number;
|
|
31
45
|
} & {
|
|
32
|
-
[K in `queryArgsOf${
|
|
46
|
+
[K in `queryArgsOf${CapRefName}`]: QueryArgs;
|
|
33
47
|
} & {
|
|
34
|
-
[K in `sortOf${
|
|
48
|
+
[K in `sortOf${CapRefName}`]: Sort;
|
|
35
49
|
} & {
|
|
36
50
|
[K in `${RefName}InitAt`]: Date;
|
|
37
51
|
};
|
|
52
|
+
|
|
53
|
+
export type ServerInit<
|
|
54
|
+
RefName extends string,
|
|
55
|
+
Light,
|
|
56
|
+
Insight = any,
|
|
57
|
+
QueryArgs = any,
|
|
58
|
+
Filter extends FilterInstance = any,
|
|
59
|
+
> = ServerInitShape<
|
|
60
|
+
RefName,
|
|
61
|
+
QueryArgs,
|
|
62
|
+
Capitalize<RefName>,
|
|
63
|
+
GetStateObject<Light>,
|
|
64
|
+
GetStateObject<Insight>,
|
|
65
|
+
ExtractSort<Filter>
|
|
66
|
+
>;
|
|
38
67
|
/** Client/server-friendly return type for initialized list and insight data. */
|
|
39
68
|
export type ClientInit<
|
|
40
69
|
RefName extends string,
|
|
@@ -42,13 +71,7 @@ export type ClientInit<
|
|
|
42
71
|
Insight = any,
|
|
43
72
|
QueryArgs = any,
|
|
44
73
|
Filter extends FilterInstance = any,
|
|
45
|
-
|
|
46
|
-
_LightObj = GetStateObject<Light>,
|
|
47
|
-
_InsightObj = GetStateObject<Insight>,
|
|
48
|
-
_Sort = ExtractSort<Filter>,
|
|
49
|
-
> = PromiseOrObject<
|
|
50
|
-
ServerInit<RefName, Light, Insight, QueryArgs, Filter, _CapitalizedRefName, _LightObj, _InsightObj, _Sort>
|
|
51
|
-
>;
|
|
74
|
+
> = PromiseOrObject<ServerInit<RefName, Light, Insight, QueryArgs, Filter>>;
|
|
52
75
|
|
|
53
76
|
export type ServerView<RefName extends string, Model> = { refName: RefName } & {
|
|
54
77
|
[K in `${RefName}Obj`]: GetStateObject<Model>;
|
|
@@ -77,6 +100,18 @@ export type EditReturn<RefName extends string, Full> = {
|
|
|
77
100
|
[K in `${RefName}Edit`]: ServerEdit<RefName, Full>;
|
|
78
101
|
};
|
|
79
102
|
|
|
103
|
+
type InitReturnShape<
|
|
104
|
+
RefName extends string,
|
|
105
|
+
CapSuffix extends string,
|
|
106
|
+
Init,
|
|
107
|
+
ListItem extends { id: string },
|
|
108
|
+
Insight,
|
|
109
|
+
> = {
|
|
110
|
+
[K in `${RefName}Init${CapSuffix}`]: Init;
|
|
111
|
+
} & {
|
|
112
|
+
[K in `${RefName}List${CapSuffix}`]: DataList<ListItem>;
|
|
113
|
+
} & { [K in `${RefName}Insight${CapSuffix}`]: Insight };
|
|
114
|
+
|
|
80
115
|
export type InitReturn<
|
|
81
116
|
RefName extends string,
|
|
82
117
|
Suffix extends string,
|
|
@@ -84,25 +119,11 @@ export type InitReturn<
|
|
|
84
119
|
Insight,
|
|
85
120
|
Args,
|
|
86
121
|
Filter extends FilterInstance,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
[K in `${RefName}Init${_CapitalizedSuffix}`]: ServerInit<
|
|
95
|
-
RefName,
|
|
96
|
-
Light,
|
|
97
|
-
Insight,
|
|
98
|
-
Args,
|
|
99
|
-
Filter,
|
|
100
|
-
_CapitalizedRefName,
|
|
101
|
-
_LightObj,
|
|
102
|
-
_InsightObj,
|
|
103
|
-
_Sort
|
|
104
|
-
>;
|
|
105
|
-
} & {
|
|
106
|
-
[K in `${RefName}List${_CapitalizedSuffix}`]: DataList<_Light>;
|
|
107
|
-
} & { [K in `${RefName}Insight${_CapitalizedSuffix}`]: Insight };
|
|
122
|
+
> = InitReturnShape<
|
|
123
|
+
RefName,
|
|
124
|
+
Capitalize<Suffix>,
|
|
125
|
+
ServerInit<RefName, Light, Insight, Args, Filter>,
|
|
126
|
+
Light extends { id: string } ? Light : { id: string },
|
|
127
|
+
Insight
|
|
128
|
+
>;
|
|
108
129
|
|
|
@@ -7,6 +7,7 @@ import type {
|
|
|
7
7
|
EndpInfoReqType,
|
|
8
8
|
EndpointCls,
|
|
9
9
|
EndpointInfo,
|
|
10
|
+
PromptMessage,
|
|
10
11
|
SlceCnstFull,
|
|
11
12
|
SlceCnstInsight,
|
|
12
13
|
SlceCnstLight,
|
|
@@ -32,15 +33,21 @@ type EndpointClientReturns<E, SlceCls extends SliceCls | never> = [SlceCls] exte
|
|
|
32
33
|
SlceCnstInsight<SlceCls>
|
|
33
34
|
>;
|
|
34
35
|
|
|
35
|
-
type
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
type OrNull<T, Nullable> = Nullable extends true ? T | null : T;
|
|
37
|
+
|
|
38
|
+
type EndpInfoReturns<E, SlceCls extends SliceCls | never> = OrNull<
|
|
39
|
+
EndpointClientReturns<E, SlceCls>,
|
|
40
|
+
EndpInfoNullable<E>
|
|
41
|
+
>;
|
|
38
42
|
|
|
39
43
|
type QueryOrMutationFetchFn<E, SlceCls extends SliceCls | never> = (
|
|
40
44
|
...args: [...EndpInfoArgs<E>, fetchPolicy?: FetchPolicy]
|
|
41
45
|
) => Promise<EndpInfoReturns<E, SlceCls>>;
|
|
42
46
|
|
|
43
|
-
|
|
47
|
+
/** Typed off `PromptResult` rather than the endpoint's return ref, which is the `Any` carrier a prompt rides on. */
|
|
48
|
+
type PromptFetchFn<E> = (...args: [...EndpInfoArgs<E>, fetchPolicy?: FetchPolicy]) => Promise<PromptMessage[]>;
|
|
49
|
+
|
|
50
|
+
type MessageEmitFn<E> = (...args: [...EndpInfoArgs<E>, fetchPolicy?: FetchPolicy]) => void;
|
|
44
51
|
|
|
45
52
|
type MessageListenFn<E, SlceCls extends SliceCls | never> = (
|
|
46
53
|
handleEvent: (data: EndpInfoReturns<E, SlceCls>) => PromiseOrObject<void>,
|
|
@@ -58,12 +65,14 @@ type PubsubSubscribeFn<E, SlceCls extends SliceCls | never> = (
|
|
|
58
65
|
type PrimaryFetchFn<E, SlceCls extends SliceCls | never> =
|
|
59
66
|
EndpInfoReqType<E> extends "query" | "mutation"
|
|
60
67
|
? QueryOrMutationFetchFn<E, SlceCls>
|
|
61
|
-
: EndpInfoReqType<E> extends "
|
|
62
|
-
?
|
|
63
|
-
:
|
|
68
|
+
: EndpInfoReqType<E> extends "prompt"
|
|
69
|
+
? PromptFetchFn<E>
|
|
70
|
+
: EndpInfoReqType<E> extends "message"
|
|
71
|
+
? MessageEmitFn<E>
|
|
72
|
+
: never;
|
|
64
73
|
|
|
65
74
|
type PrimaryFetchType<EInfoObj extends { [key: string]: EndpointInfo }, SlceCls extends SliceCls | never> = {
|
|
66
|
-
[K in keyof EInfoObj as EndpInfoReqType<EInfoObj[K]> extends "query" | "mutation" | "message"
|
|
75
|
+
[K in keyof EInfoObj as EndpInfoReqType<EInfoObj[K]> extends "query" | "mutation" | "prompt" | "message"
|
|
67
76
|
? K
|
|
68
77
|
: never]: PrimaryFetchFn<EInfoObj[K], SlceCls>;
|
|
69
78
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SLICE_META } from "akanjs/base";
|
|
2
2
|
import type { FetchPolicy } from "akanjs/common";
|
|
3
3
|
import type { ConstantModel, DefaultOf, ProtoFile, PurifiedModel } from "akanjs/constant";
|
|
4
4
|
import type { DatabaseModel, ExtractSort, FilterInstance } from "akanjs/document";
|
|
5
5
|
import type {
|
|
6
6
|
SlceCnstCapitalizedRefName,
|
|
7
|
-
SlceCnstDefaultInput,
|
|
8
7
|
SlceCnstFull,
|
|
9
8
|
SlceCnstInput,
|
|
10
9
|
SlceCnstInsight,
|
|
@@ -26,11 +25,9 @@ type _Full<S extends SliceCls> = SlceCnstFull<S>;
|
|
|
26
25
|
type _Light<S extends SliceCls> = SlceCnstLight<S>;
|
|
27
26
|
type _Insight<S extends SliceCls> = SlceCnstInsight<S>;
|
|
28
27
|
type _PurifiedInput<S extends SliceCls> = SlceCnstPurifiedInput<S>;
|
|
29
|
-
type _DefaultInput<S extends SliceCls> = SlceCnstDefaultInput<S>;
|
|
30
28
|
type _Filter<S extends SliceCls> = SlceDbFilter<S>;
|
|
31
29
|
type _Sort<S extends SliceCls> = SlceDbSort<S>;
|
|
32
|
-
type
|
|
33
|
-
type _SliceFetchInitOption<S extends SliceCls> = FetchInitOption<_Input<S>, _Filter<S>, _DefaultInput<S>, _Sort<S>>;
|
|
30
|
+
type SliceInitOption<S extends SliceCls> = FetchInitOption<_Input<S>, _Filter<S>>;
|
|
34
31
|
|
|
35
32
|
type SliceListFetch<S extends SliceCls> = {
|
|
36
33
|
[Suffix in keyof _SliceMap<S> as Suffix extends string ? `${_RefName<S>}List${Capitalize<Suffix>}` : never]: (
|
|
@@ -50,43 +47,33 @@ type SliceInsightFetch<S extends SliceCls> = {
|
|
|
50
47
|
) => Promise<_Insight<S>>;
|
|
51
48
|
};
|
|
52
49
|
|
|
50
|
+
type SliceInit<S extends SliceCls, Suffix extends keyof _SliceMap<S>> = InitReturn<
|
|
51
|
+
_RefName<S>,
|
|
52
|
+
Suffix & string,
|
|
53
|
+
_Light<S>,
|
|
54
|
+
_Insight<S>,
|
|
55
|
+
SliceInfoArgs<_SliceMap<S>[Suffix]>,
|
|
56
|
+
_Filter<S>
|
|
57
|
+
>;
|
|
58
|
+
|
|
59
|
+
type SliceServerInit<S extends SliceCls, Suffix extends keyof _SliceMap<S>> = ServerInit<
|
|
60
|
+
_RefName<S>,
|
|
61
|
+
_Light<S>,
|
|
62
|
+
_Insight<S>,
|
|
63
|
+
SliceInfoArgs<_SliceMap<S>[Suffix]>,
|
|
64
|
+
_Filter<S>
|
|
65
|
+
>;
|
|
66
|
+
|
|
53
67
|
type SliceInitFetch<S extends SliceCls> = {
|
|
54
68
|
[Suffix in keyof _SliceMap<S> as Suffix extends string ? `init${_Cap<S>}${Capitalize<Suffix>}` : never]: (
|
|
55
|
-
...args: [...SliceInfoArgs<_SliceMap<S>[Suffix]>, option?:
|
|
56
|
-
) => Promise<
|
|
57
|
-
InitReturn<
|
|
58
|
-
_RefName<S>,
|
|
59
|
-
Suffix & string,
|
|
60
|
-
_Light<S>,
|
|
61
|
-
_Insight<S>,
|
|
62
|
-
SliceInfoArgs<_SliceMap<S>[Suffix]>,
|
|
63
|
-
_Filter<S>,
|
|
64
|
-
_Cap<S>,
|
|
65
|
-
Suffix extends string ? Capitalize<Suffix> : never,
|
|
66
|
-
_LightWithId<S>,
|
|
67
|
-
GetStateObject<_LightWithId<S>>,
|
|
68
|
-
GetStateObject<_Insight<S>>,
|
|
69
|
-
_Sort<S>
|
|
70
|
-
>
|
|
71
|
-
>;
|
|
69
|
+
...args: [...SliceInfoArgs<_SliceMap<S>[Suffix]>, option?: SliceInitOption<S>]
|
|
70
|
+
) => Promise<SliceInit<S, Suffix>>;
|
|
72
71
|
};
|
|
73
72
|
|
|
74
73
|
type SliceGetInitFetch<S extends SliceCls> = {
|
|
75
74
|
[Suffix in keyof _SliceMap<S> as Suffix extends string ? `get${_Cap<S>}Init${Capitalize<Suffix>}` : never]: (
|
|
76
|
-
...args: [...SliceInfoArgs<_SliceMap<S>[Suffix]>, option?:
|
|
77
|
-
) => Promise<
|
|
78
|
-
ServerInit<
|
|
79
|
-
_RefName<S>,
|
|
80
|
-
_Light<S>,
|
|
81
|
-
_Insight<S>,
|
|
82
|
-
SliceInfoArgs<_SliceMap<S>[Suffix]>,
|
|
83
|
-
_Filter<S>,
|
|
84
|
-
_Cap<S>,
|
|
85
|
-
GetStateObject<_LightWithId<S>>,
|
|
86
|
-
GetStateObject<_Insight<S>>,
|
|
87
|
-
_Sort<S>
|
|
88
|
-
>
|
|
89
|
-
>;
|
|
75
|
+
...args: [...SliceInfoArgs<_SliceMap<S>[Suffix]>, option?: SliceInitOption<S>]
|
|
76
|
+
) => Promise<SliceServerInit<S, Suffix>>;
|
|
90
77
|
};
|
|
91
78
|
|
|
92
79
|
export type GetFetchTypeFromSlice<SlceCls extends SliceCls> = SlceCls["srv"]["cnst"] extends ConstantModel
|
|
@@ -164,23 +151,13 @@ type AppliedBaseSliceFetchType<
|
|
|
164
151
|
) => Promise<Full>;
|
|
165
152
|
};
|
|
166
153
|
|
|
167
|
-
export interface FetchInitForm<
|
|
168
|
-
Input,
|
|
169
|
-
Filter extends FilterInstance,
|
|
170
|
-
_DefaultInput = DefaultOf<Input>,
|
|
171
|
-
_Sort = ExtractSort<Filter>,
|
|
172
|
-
> {
|
|
154
|
+
export interface FetchInitForm<Input, Filter extends FilterInstance> {
|
|
173
155
|
page?: number;
|
|
174
156
|
limit?: number;
|
|
175
|
-
sort?:
|
|
176
|
-
default?: Partial<
|
|
157
|
+
sort?: ExtractSort<Filter>;
|
|
158
|
+
default?: Partial<DefaultOf<Input>>;
|
|
177
159
|
invalidate?: boolean;
|
|
178
160
|
insight?: boolean;
|
|
179
161
|
}
|
|
180
162
|
|
|
181
|
-
type FetchInitOption<
|
|
182
|
-
Input,
|
|
183
|
-
Filter extends FilterInstance,
|
|
184
|
-
_DefaultInput = DefaultOf<Input>,
|
|
185
|
-
_Sort = ExtractSort<Filter>,
|
|
186
|
-
> = FetchPolicy & FetchInitForm<Input, Filter, _DefaultInput, _Sort>;
|
|
163
|
+
type FetchInitOption<Input, Filter extends FilterInstance> = FetchPolicy & FetchInitForm<Input, Filter>;
|
package/fetch/index.ts
CHANGED
package/index.ts
CHANGED
|
@@ -4,14 +4,37 @@ import type { AkanImageConfig } from "akanjs/server";
|
|
|
4
4
|
export const archs = ["amd64", "arm64"] as const;
|
|
5
5
|
export type Arch = (typeof archs)[number];
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/** One image step. The object form runs only on the matching `TARGETARCH` leg of a multi-arch build. */
|
|
8
|
+
export type DockerRun = string | { [key in Arch]?: string };
|
|
9
|
+
|
|
10
|
+
/** The pieces Akan assembles a Dockerfile from. */
|
|
11
|
+
export interface DockerImageConfig {
|
|
9
12
|
image: string | { [key in Arch]?: string };
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
/** Runs before `bun install`, so a system package a native dependency needs is there for the install. */
|
|
14
|
+
preRuns: DockerRun[];
|
|
15
|
+
/** Runs after `bun install`, before the app files are copied. */
|
|
16
|
+
postRuns: DockerRun[];
|
|
12
17
|
command: string[];
|
|
13
18
|
}
|
|
14
19
|
|
|
20
|
+
/**
|
|
21
|
+
* A whole Dockerfile as a string, or the parts Akan assembles one from. The string form is taken verbatim —
|
|
22
|
+
* nothing is merged into it, including the steps a lib contributes through its own `docker`.
|
|
23
|
+
*/
|
|
24
|
+
export type DockerConfig = string | DockerImageConfig;
|
|
25
|
+
|
|
26
|
+
/** What an `akan.config.ts` may write for `docker`: a whole Dockerfile, or any subset of the parts. */
|
|
27
|
+
export type DockerOption = string | Partial<DockerImageConfig>;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* A lib's contribution to the image of every app that mounts it — a lib never picks the base image or the
|
|
31
|
+
* command, only the steps its own runtime needs.
|
|
32
|
+
*/
|
|
33
|
+
export interface LibDockerConfig {
|
|
34
|
+
preRuns: DockerRun[];
|
|
35
|
+
postRuns: DockerRun[];
|
|
36
|
+
}
|
|
37
|
+
|
|
15
38
|
export interface AkanRouteDomains {
|
|
16
39
|
main?: string[];
|
|
17
40
|
develop?: string[];
|
|
@@ -24,9 +47,48 @@ export interface AkanRouteConfig {
|
|
|
24
47
|
domains: AkanRouteDomains;
|
|
25
48
|
}
|
|
26
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Which web surfaces an app serves, resolved. `ssr` is the RSC/SSR route renderer and everything it needs —
|
|
52
|
+
* the pages bundle, the client bundles, the RSC worker process. `csr` is the single-file SPA shell that the
|
|
53
|
+
* Capacitor mobile build ships and that `/__csr` serves.
|
|
54
|
+
*/
|
|
55
|
+
export interface AkanWebConfig {
|
|
56
|
+
ssr: boolean;
|
|
57
|
+
csr: boolean;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* What an `akan.config.ts` may write. `false` is an API-only app — no web artifact is built and no web route
|
|
62
|
+
* is mounted; `true` (the default) is both surfaces. The object form keeps SSR and toggles only the CSR
|
|
63
|
+
* bundle, which is the whole range there is: the CSR bundle inlines the stylesheet the SSR build compiles, so
|
|
64
|
+
* CSR without SSR would ship an unstyled app and is not expressible here.
|
|
65
|
+
*/
|
|
66
|
+
export type AkanWebOption = boolean | { csr: boolean };
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* How `akan build` trims the `public/` tree it copies into `dist`. Source trees are never touched: an app's
|
|
70
|
+
* and a lib's `public/` keep every file, and only the build's own copy is trimmed.
|
|
71
|
+
*/
|
|
72
|
+
export interface AkanAssetsConfig {
|
|
73
|
+
/**
|
|
74
|
+
* Drop font files from the build's `public/` that no built surface references. A font with `optimize` on is
|
|
75
|
+
* served from `/_akan/fonts` after subsetting, so its source is a build input the image never reads.
|
|
76
|
+
*/
|
|
77
|
+
pruneFonts: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Font files to keep whatever the scan concludes, as globs relative to this app's or lib's own `public/`
|
|
80
|
+
* (`"fonts/Assistant-*.woff2"`). For the case a scan cannot see: a URL assembled at runtime. Declare it in
|
|
81
|
+
* the `akan.config.ts` that owns the font, so the reason travels with the lib rather than with the app.
|
|
82
|
+
*/
|
|
83
|
+
keepFonts: string[];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** A lib picks only which of its own fonts must survive; whether to prune at all belongs to the app. */
|
|
87
|
+
export type LibAssetsConfig = Pick<AkanAssetsConfig, "keepFonts">;
|
|
88
|
+
|
|
27
89
|
export type DatabaseMode = "single" | "multiple" | "cluster";
|
|
28
90
|
export type MobileEnv = "local" | "debug" | "develop" | "main";
|
|
29
|
-
export type MobilePermission = "camera" | "contacts" | "location" | "push";
|
|
91
|
+
export type MobilePermission = "camera" | "contacts" | "location" | "push" | "speech";
|
|
30
92
|
|
|
31
93
|
export interface AkanMobileTargetAssets {
|
|
32
94
|
icon?: string;
|
|
@@ -162,6 +224,8 @@ export interface AkanPlugin {
|
|
|
162
224
|
export interface AppConfigResult {
|
|
163
225
|
docker: DockerConfig;
|
|
164
226
|
defaultDatabaseMode: DatabaseMode;
|
|
227
|
+
/** Web surfaces built into the app and mounted at boot. Both default to `true`. */
|
|
228
|
+
web: AkanWebConfig;
|
|
165
229
|
routes?: AkanRouteConfig[];
|
|
166
230
|
/**
|
|
167
231
|
* Mounts `libs/<lib>/page` into this app under `page/(libs)/(<lib>)` on sync. `true` takes every lib
|
|
@@ -177,10 +241,16 @@ export interface AppConfigResult {
|
|
|
177
241
|
publicEnv: string[];
|
|
178
242
|
mobile: AkanMobileConfig;
|
|
179
243
|
secrets: string[];
|
|
244
|
+
/** How the build trims the `public/` copy it ships. */
|
|
245
|
+
assets: AkanAssetsConfig;
|
|
180
246
|
}
|
|
181
247
|
|
|
182
248
|
export interface LibConfigResult {
|
|
183
249
|
externalLibs: string[];
|
|
250
|
+
/** Image steps every app that mounts this lib inherits, unless that app declares a whole Dockerfile. */
|
|
251
|
+
docker: LibDockerConfig;
|
|
252
|
+
/** Which of this lib's own public fonts every app that mounts it must keep. */
|
|
253
|
+
assets: LibAssetsConfig;
|
|
184
254
|
}
|
|
185
255
|
|
|
186
256
|
export type DeepPartial<T> = {
|
|
@@ -197,7 +267,11 @@ export interface LibConfigContext {
|
|
|
197
267
|
readonly type: "lib";
|
|
198
268
|
}
|
|
199
269
|
|
|
200
|
-
export type AppConfigInput = DeepPartial<AppConfigResult> & {
|
|
270
|
+
export type AppConfigInput = Omit<DeepPartial<AppConfigResult>, "docker" | "web"> & {
|
|
271
|
+
docker?: DockerOption;
|
|
272
|
+
web?: AkanWebOption;
|
|
273
|
+
plugins?: AkanPlugin[];
|
|
274
|
+
};
|
|
201
275
|
export type LibConfigInput = DeepPartial<LibConfigResult> & { plugins?: AkanPlugin[] };
|
|
202
276
|
export type AppConfig = AppConfigInput | ((app: AppConfigContext) => AppConfigInput);
|
|
203
277
|
export type LibConfig = LibConfigInput | ((lib: LibConfigContext) => LibConfigInput);
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akanjs",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.71",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -166,6 +166,11 @@
|
|
|
166
166
|
"import": "./server/rscWorker.tsx",
|
|
167
167
|
"default": "./server/rscWorker.tsx"
|
|
168
168
|
},
|
|
169
|
+
"./server/akanApp": {
|
|
170
|
+
"types": "./types/server/akanApp.d.ts",
|
|
171
|
+
"import": "./server/akanApp.ts",
|
|
172
|
+
"default": "./server/akanApp.ts"
|
|
173
|
+
},
|
|
169
174
|
"./server/memoryLimit": {
|
|
170
175
|
"types": "./types/server/memoryLimit.d.ts",
|
|
171
176
|
"import": "./server/memoryLimit.ts",
|
|
@@ -175,12 +180,21 @@
|
|
|
175
180
|
"types": "./types/server/lifecycle/portInUse.d.ts",
|
|
176
181
|
"import": "./server/lifecycle/portInUse.ts",
|
|
177
182
|
"default": "./server/lifecycle/portInUse.ts"
|
|
183
|
+
},
|
|
184
|
+
"./server/logging/logQuery": {
|
|
185
|
+
"types": "./types/server/logging/logQuery.d.ts",
|
|
186
|
+
"import": "./server/logging/logQuery.ts",
|
|
187
|
+
"default": "./server/logging/logQuery.ts"
|
|
188
|
+
},
|
|
189
|
+
"./server/logging/logTailClient": {
|
|
190
|
+
"types": "./types/server/logging/logTailClient.d.ts",
|
|
191
|
+
"import": "./server/logging/logTailClient.ts",
|
|
192
|
+
"default": "./server/logging/logTailClient.ts"
|
|
178
193
|
}
|
|
179
194
|
},
|
|
180
195
|
"dependencies": {
|
|
181
196
|
"dayjs": "^1.11.20",
|
|
182
197
|
"immer": "^11.1.8",
|
|
183
|
-
"sharp": "^0.34.5",
|
|
184
198
|
"tailwind-merge": "^3.3.1",
|
|
185
199
|
"tailwind-variants": "^3.3.0"
|
|
186
200
|
},
|
|
@@ -202,6 +216,7 @@
|
|
|
202
216
|
"@capacitor/preferences": "^8.0.1",
|
|
203
217
|
"@capacitor/push-notifications": "^8.1.1",
|
|
204
218
|
"@capgo/capacitor-updater": "^8.46.1",
|
|
219
|
+
"@happy-dom/global-registrator": "^20.11.2",
|
|
205
220
|
"@libsql/client": "^0.17.3",
|
|
206
221
|
"@playwright/test": "^1.60.0",
|
|
207
222
|
"@react-spring/web": "^10.1.0",
|
|
@@ -210,14 +225,12 @@
|
|
|
210
225
|
"capacitor-plugin-safe-area": "^5.0.0",
|
|
211
226
|
"chance": "^1.1.13",
|
|
212
227
|
"cordova-plugin-purchase": "^13.16.0",
|
|
213
|
-
"croner": "^10.0.1",
|
|
214
228
|
"firebase": "^12.13.0",
|
|
229
|
+
"happy-dom": "^20.11.2",
|
|
215
230
|
"ioredis": "^5.10.1",
|
|
216
|
-
"mermaid": "^11.15.0",
|
|
217
231
|
"postgres": "^3.4.9",
|
|
218
232
|
"protobufjs": "^8.4.0",
|
|
219
233
|
"react": "19.2.7",
|
|
220
|
-
"react-datepicker": "^9.1.0",
|
|
221
234
|
"react-dom": "19.2.7",
|
|
222
235
|
"react-icons": "^5.6.0",
|
|
223
236
|
"react-refresh": "^0.18.0",
|
|
@@ -225,7 +238,6 @@
|
|
|
225
238
|
"react-simple-pull-to-refresh": "^1.3.4",
|
|
226
239
|
"react-spring": "^10.0.4",
|
|
227
240
|
"scheduler": "^0.27.0",
|
|
228
|
-
"sharp": "^0.34.5",
|
|
229
241
|
"tailwind-scrollbar": "^4.0.2",
|
|
230
242
|
"typescript": "^6.0.3"
|
|
231
243
|
},
|
|
@@ -281,6 +293,9 @@
|
|
|
281
293
|
"@capgo/capacitor-updater": {
|
|
282
294
|
"optional": true
|
|
283
295
|
},
|
|
296
|
+
"@happy-dom/global-registrator": {
|
|
297
|
+
"optional": true
|
|
298
|
+
},
|
|
284
299
|
"@libsql/client": {
|
|
285
300
|
"optional": true
|
|
286
301
|
},
|
|
@@ -305,16 +320,13 @@
|
|
|
305
320
|
"cordova-plugin-purchase": {
|
|
306
321
|
"optional": true
|
|
307
322
|
},
|
|
308
|
-
"croner": {
|
|
309
|
-
"optional": true
|
|
310
|
-
},
|
|
311
323
|
"firebase": {
|
|
312
324
|
"optional": true
|
|
313
325
|
},
|
|
314
|
-
"
|
|
326
|
+
"happy-dom": {
|
|
315
327
|
"optional": true
|
|
316
328
|
},
|
|
317
|
-
"
|
|
329
|
+
"ioredis": {
|
|
318
330
|
"optional": true
|
|
319
331
|
},
|
|
320
332
|
"postgres": {
|
|
@@ -326,9 +338,6 @@
|
|
|
326
338
|
"react": {
|
|
327
339
|
"optional": true
|
|
328
340
|
},
|
|
329
|
-
"react-datepicker": {
|
|
330
|
-
"optional": true
|
|
331
|
-
},
|
|
332
341
|
"react-dom": {
|
|
333
342
|
"optional": true
|
|
334
343
|
},
|
|
@@ -358,14 +367,14 @@
|
|
|
358
367
|
}
|
|
359
368
|
},
|
|
360
369
|
"devDependencies": {
|
|
361
|
-
"@biomejs/biome": "2.
|
|
362
|
-
"@types/bun": "^1.
|
|
370
|
+
"@biomejs/biome": "2.5.8",
|
|
371
|
+
"@types/bun": "^1.4.0"
|
|
363
372
|
},
|
|
364
373
|
"bun": {
|
|
365
374
|
"platform": "bun"
|
|
366
375
|
},
|
|
367
376
|
"engines": {
|
|
368
|
-
"bun": ">=1.
|
|
377
|
+
"bun": ">=1.4.0"
|
|
369
378
|
},
|
|
370
379
|
"main": "./index.ts"
|
|
371
|
-
}
|
|
380
|
+
}
|