openmeld 0.3.262 → 0.3.264

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 (154) hide show
  1. package/README.md +7 -0
  2. package/dist/{add-me-membership-wBqBUZN7.js → add-me-membership-EPcbBXio.js} +2 -2
  3. package/dist/{add-me-membership-wBqBUZN7.js.map → add-me-membership-EPcbBXio.js.map} +1 -1
  4. package/dist/{agents-DzQ6NTFH.js → agents-c6vjR3-E.js} +13 -13
  5. package/dist/{agents-DzQ6NTFH.js.map → agents-c6vjR3-E.js.map} +1 -1
  6. package/dist/{api-client-foundation-C3A2-JkQ.js → api-client-foundation-BqzfXt-g.js} +1 -1
  7. package/dist/{api-client-foundation-Dqxsa_3V.js → api-client-foundation-a7D_P57X.js} +4 -4
  8. package/dist/{api-client-foundation-Dqxsa_3V.js.map → api-client-foundation-a7D_P57X.js.map} +1 -1
  9. package/dist/{auth-session-VWQoz03f.js → auth-session-BpRplB8x.js} +7 -7
  10. package/dist/auth-session-BpRplB8x.js.map +1 -0
  11. package/dist/auth-session-D2gF0lru.js +4 -0
  12. package/dist/{auth-url-BVvdeI3F.js → auth-url-0Y8BrR9l.js} +2 -2
  13. package/dist/{auth-url-BVvdeI3F.js.map → auth-url-0Y8BrR9l.js.map} +1 -1
  14. package/dist/{base-url-uaTFrave.js → base-url-B7zX2h2d.js} +1 -1
  15. package/dist/{base-url-C0AOV6je.js → base-url-Cno_Uo8f.js} +3 -3
  16. package/dist/{base-url-C0AOV6je.js.map → base-url-Cno_Uo8f.js.map} +1 -1
  17. package/dist/{channel-5TzyWtoj.js → channel-D-a2qCEW.js} +2 -2
  18. package/dist/{channel-5TzyWtoj.js.map → channel-D-a2qCEW.js.map} +1 -1
  19. package/dist/{cloud-computer-DujgiSkS.js → cloud-computer-CSK4RYD2.js} +6 -6
  20. package/dist/{cloud-computer-DujgiSkS.js.map → cloud-computer-CSK4RYD2.js.map} +1 -1
  21. package/dist/{command-ZxD_qNik.js → command-pywjcxYD.js} +71 -19
  22. package/dist/command-pywjcxYD.js.map +1 -0
  23. package/dist/{computer-connection-review-BoQqWowI.js → computer-connection-review-BDhdk1ne.js} +8 -8
  24. package/dist/computer-connection-review-BDhdk1ne.js.map +1 -0
  25. package/dist/{computer-disconnect-DSDiFVq_.js → computer-disconnect-Bu5HPoJH.js} +9 -9
  26. package/dist/{computer-disconnect-DSDiFVq_.js.map → computer-disconnect-Bu5HPoJH.js.map} +1 -1
  27. package/dist/{computer-setup-continuation-D1rKfaKP.js → computer-setup-continuation-DDx2bdZv.js} +3 -3
  28. package/dist/{computer-setup-continuation-D1rKfaKP.js.map → computer-setup-continuation-DDx2bdZv.js.map} +1 -1
  29. package/dist/{context-nHpubzcZ.js → context-NLQSSnf9.js} +7 -7
  30. package/dist/{context-nHpubzcZ.js.map → context-NLQSSnf9.js.map} +1 -1
  31. package/dist/{daemon-device-id-CefXWPiF.js → daemon-device-id-Dd-E5NjT.js} +4 -4
  32. package/dist/{daemon-device-id-CefXWPiF.js.map → daemon-device-id-Dd-E5NjT.js.map} +1 -1
  33. package/dist/{daemon-lifecycle-journal-DbRJ216n.js → daemon-lifecycle-journal-DfYlngmT.js} +9 -11
  34. package/dist/daemon-lifecycle-journal-DfYlngmT.js.map +1 -0
  35. package/dist/{daemon-runtime-lease-y8RoGvTS.js → daemon-runtime-lease-Bu1vPY5k.js} +3 -3
  36. package/dist/{daemon-runtime-lease-y8RoGvTS.js.map → daemon-runtime-lease-Bu1vPY5k.js.map} +1 -1
  37. package/dist/{daemon-runtime-lease-7sd11Cv3.js → daemon-runtime-lease-DJx3N2Sa.js} +1 -1
  38. package/dist/{daemon-service-contract-Cik2oi9W.js → daemon-service-contract-D9Gs4YVs.js} +31 -5
  39. package/dist/daemon-service-contract-D9Gs4YVs.js.map +1 -0
  40. package/dist/{daemon-service-manager-BnMEtAYp.js → daemon-service-manager-ChWTp6s8.js} +5 -5
  41. package/dist/{daemon-service-manager-BnMEtAYp.js.map → daemon-service-manager-ChWTp6s8.js.map} +1 -1
  42. package/dist/{daemon-service-manager-DWM3I_pP.js → daemon-service-manager-Df537dYj.js} +1 -1
  43. package/dist/{daemon-service-runtime-BhIfwyN9.js → daemon-service-runtime-Dk8OyRtf.js} +14 -14
  44. package/dist/{daemon-service-runtime-BhIfwyN9.js.map → daemon-service-runtime-Dk8OyRtf.js.map} +1 -1
  45. package/dist/{daemon-service-update-coordinator-DUsnRsrg.js → daemon-service-update-coordinator-CyvjkmsR.js} +22 -24
  46. package/dist/daemon-service-update-coordinator-CyvjkmsR.js.map +1 -0
  47. package/dist/{daemon-state-DjfcQFlF.js → daemon-state-CiTQcAWA.js} +3 -3
  48. package/dist/{daemon-state-DjfcQFlF.js.map → daemon-state-CiTQcAWA.js.map} +1 -1
  49. package/dist/{dispatch-owned-runtime-Bcz_DYAR.js → dispatch-owned-runtime-rL1dMpSL.js} +77 -29
  50. package/dist/dispatch-owned-runtime-rL1dMpSL.js.map +1 -0
  51. package/dist/{dist-DRUbg0Z2.js → dist-BOBe5eOZ.js} +32 -3
  52. package/dist/dist-BOBe5eOZ.js.map +1 -0
  53. package/dist/{dist-BnSaxfXN.js → dist-CP5KSxWw.js} +2 -2
  54. package/dist/{dist-BnSaxfXN.js.map → dist-CP5KSxWw.js.map} +1 -1
  55. package/dist/dist-DyKCU9Uu.js +4 -0
  56. package/dist/{dist-DaKpDnJa.js → dist-LObwcebd.js} +1 -1
  57. package/dist/{dual-view-guide-catalog-BOopzFeg.js → dual-view-guide-catalog-CSV_FNr4.js} +3 -3
  58. package/dist/{dual-view-guide-catalog-BOopzFeg.js.map → dual-view-guide-catalog-CSV_FNr4.js.map} +1 -1
  59. package/dist/{elapsed-time-Dx4ZdxI7.js → elapsed-time-DFp-tAB8.js} +4 -4
  60. package/dist/{elapsed-time-Dx4ZdxI7.js.map → elapsed-time-DFp-tAB8.js.map} +1 -1
  61. package/dist/{entry-B8GRBYAI.js → entry-DnUl6Ms1.js} +12 -12
  62. package/dist/{entry-B8GRBYAI.js.map → entry-DnUl6Ms1.js.map} +1 -1
  63. package/dist/{installation-inventory-Ds2Q1XoG.js → installation-inventory-87Vo7lnz.js} +4 -4
  64. package/dist/{installation-inventory-Ds2Q1XoG.js.map → installation-inventory-87Vo7lnz.js.map} +1 -1
  65. package/dist/{installer-CFubHwmq.js → installer-CbmSCmp3.js} +2 -2
  66. package/dist/{installer-CFubHwmq.js.map → installer-CbmSCmp3.js.map} +1 -1
  67. package/dist/{lock-tTXKrDmv.js → lock-y1PCtVSn.js} +3 -3
  68. package/dist/{lock-tTXKrDmv.js.map → lock-y1PCtVSn.js.map} +1 -1
  69. package/dist/{meta-api-uKt0ERL5.js → meta-api-CBfmjR2R.js} +7 -7
  70. package/dist/{meta-api-uKt0ERL5.js.map → meta-api-CBfmjR2R.js.map} +1 -1
  71. package/dist/{openmeld-BORFxyod.js → openmeld-NTZxD9-J.js} +45 -43
  72. package/dist/{openmeld-BORFxyod.js.map → openmeld-NTZxD9-J.js.map} +1 -1
  73. package/dist/{openmeld-dev-environment-IxwblJHw.js → openmeld-dev-environment-Bx6D1B6_.js} +3 -3
  74. package/dist/{openmeld-dev-environment-IxwblJHw.js.map → openmeld-dev-environment-Bx6D1B6_.js.map} +1 -1
  75. package/dist/openmeld-dev.js +1 -1
  76. package/dist/{openmeld-environment-target-BnzzM5fh.js → openmeld-environment-target-oDaSSRO3.js} +3 -3
  77. package/dist/{openmeld-environment-target-BnzzM5fh.js.map → openmeld-environment-target-oDaSSRO3.js.map} +1 -1
  78. package/dist/{openmeld-maintenance-worker-CCvqxpZv.js → openmeld-maintenance-worker-DKV1YZ77.js} +14 -14
  79. package/dist/{openmeld-maintenance-worker-CCvqxpZv.js.map → openmeld-maintenance-worker-DKV1YZ77.js.map} +1 -1
  80. package/dist/{openmeld-tools-update-join-CCogwfR2.js → openmeld-tools-update-join-DC_rkVk4.js} +4 -4
  81. package/dist/{openmeld-tools-update-join-CCogwfR2.js.map → openmeld-tools-update-join-DC_rkVk4.js.map} +1 -1
  82. package/dist/{openmeld-tools-update-process-frame-BARWpgIm.js → openmeld-tools-update-process-frame-BOdfnz6g.js} +2 -2
  83. package/dist/{openmeld-tools-update-process-frame-BARWpgIm.js.map → openmeld-tools-update-process-frame-BOdfnz6g.js.map} +1 -1
  84. package/dist/{openmeld-tools-update-process-frame-C5p9EEV0.js → openmeld-tools-update-process-frame-CHxv33b4.js} +1 -1
  85. package/dist/openmeld.js +23 -7
  86. package/dist/openmeld.js.map +1 -1
  87. package/dist/{prepare-provider-runtime-B0gBhnir.js → prepare-provider-runtime-BbJnigvx.js} +572 -483
  88. package/dist/prepare-provider-runtime-BbJnigvx.js.map +1 -0
  89. package/dist/{prepare-session-executor-CgZTF3OV.js → prepare-session-executor-DtrZ5-G9.js} +25 -25
  90. package/dist/{prepare-session-executor-CgZTF3OV.js.map → prepare-session-executor-DtrZ5-G9.js.map} +1 -1
  91. package/dist/{process-channel-ehx69w9I.js → process-channel-B6Y2-Xau.js} +2 -2
  92. package/dist/{process-channel-ehx69w9I.js.map → process-channel-B6Y2-Xau.js.map} +1 -1
  93. package/dist/{process-identity-BAAdyYwE.js → process-identity-DCYUeRGI.js} +2 -2
  94. package/dist/{process-identity-BAAdyYwE.js.map → process-identity-DCYUeRGI.js.map} +1 -1
  95. package/dist/{runtime-CJOlAkvc.js → runtime-CMUFvQzB.js} +154 -294
  96. package/dist/runtime-CMUFvQzB.js.map +1 -0
  97. package/dist/{runtime-agent-controller-reporting-submission-Gf49imkB.js → runtime-agent-controller-reporting-submission-COEd2PQD.js} +9 -9
  98. package/dist/{runtime-agent-controller-reporting-submission-Gf49imkB.js.map → runtime-agent-controller-reporting-submission-COEd2PQD.js.map} +1 -1
  99. package/dist/{service-Dm_v88Dc.js → service-Cz9hwU7z.js} +163 -53
  100. package/dist/service-Cz9hwU7z.js.map +1 -0
  101. package/dist/{service-account-authorization-CrbUG0-l.js → service-account-authorization-Dh5cBGYr.js} +5 -5
  102. package/dist/{service-account-authorization-CrbUG0-l.js.map → service-account-authorization-Dh5cBGYr.js.map} +1 -1
  103. package/dist/{service-account-control-BbcqY1fg.js → service-account-control-Bgady7sO.js} +32 -22
  104. package/dist/service-account-control-Bgady7sO.js.map +1 -0
  105. package/dist/{service-control-capabilities-B5x3VYZQ.js → service-control-capabilities-CJVtLeLz.js} +6 -6
  106. package/dist/{service-control-capabilities-B5x3VYZQ.js.map → service-control-capabilities-CJVtLeLz.js.map} +1 -1
  107. package/dist/{service-control-capabilities-B5p5Ut1j.js → service-control-capabilities-DMzx-Tde.js} +1 -1
  108. package/dist/{service-control-carrier-capability-QQBqqI65.js → service-control-carrier-capability-DT97FTao.js} +3 -3
  109. package/dist/{service-control-carrier-capability-QQBqqI65.js.map → service-control-carrier-capability-DT97FTao.js.map} +1 -1
  110. package/dist/setup-node-runtime-n0iHzmDA.js +19 -0
  111. package/dist/setup-node-runtime-n0iHzmDA.js.map +1 -0
  112. package/dist/{state-CIM8ibMZ.js → state-B3ORUW8a.js} +3 -3
  113. package/dist/{state-CIM8ibMZ.js.map → state-B3ORUW8a.js.map} +1 -1
  114. package/dist/{updates-api-Dol3lksp.js → updates-api-Dc2hLgXj.js} +14 -14
  115. package/dist/{updates-api-Dol3lksp.js.map → updates-api-Dc2hLgXj.js.map} +1 -1
  116. package/dist/upgrade-Cb9hoK5-.js +4 -0
  117. package/dist/{upgrade-BVBR7r1Z.js → upgrade-CeUhMgzW.js} +9 -9
  118. package/dist/{upgrade-BVBR7r1Z.js.map → upgrade-CeUhMgzW.js.map} +1 -1
  119. package/dist/windows/openmeld-windows-process.exe +0 -0
  120. package/dist/{windows-managed-install-BDPy9F0T.js → windows-managed-install-Do1KTI4o.js} +2 -2
  121. package/dist/{windows-managed-install-BDPy9F0T.js.map → windows-managed-install-Do1KTI4o.js.map} +1 -1
  122. package/dist/{windows-preview-channel-Drg1mvkM.js → windows-preview-channel-7qDoCslK.js} +3 -3
  123. package/dist/{windows-preview-channel-Drg1mvkM.js.map → windows-preview-channel-7qDoCslK.js.map} +1 -1
  124. package/dist/{windows-task-command-2-jau1ni.js → windows-task-command-DR3N78Zm.js} +2 -2
  125. package/dist/{windows-task-command-2-jau1ni.js.map → windows-task-command-DR3N78Zm.js.map} +1 -1
  126. package/dist/{windows-task-entry-C4eBoHXQ.js → windows-task-entry-2RQM6JR9.js} +3 -3
  127. package/dist/{windows-task-entry-C4eBoHXQ.js.map → windows-task-entry-2RQM6JR9.js.map} +1 -1
  128. package/dist/{windows-user-task-DzDWScE1.js → windows-user-task-BX4n6qHn.js} +6 -6
  129. package/dist/{windows-user-task-DzDWScE1.js.map → windows-user-task-BX4n6qHn.js.map} +1 -1
  130. package/dist/{windows-user-task-BYF03jMQ.js → windows-user-task-DBahPxza.js} +1 -1
  131. package/package.json +7 -7
  132. package/skills/openmeld-cli/SKILL.md +6 -0
  133. package/skills/openmeld-cli/playbooks/agent-onboarding.md +8 -0
  134. package/skills/openmeld-cli/playbooks/computer.md +6 -0
  135. package/skills/openmeld-cli/playbooks/plugins.md +6 -0
  136. package/skills/openmeld-cli/playbooks/space-ops.md +20 -0
  137. package/skills/openmeld-cli/playbooks/space-reads.md +6 -0
  138. package/skills/openmeld-cli/references/commands.md +6 -0
  139. package/skills/openmeld-cli/references/runtime-resolution.md +6 -0
  140. package/dist/auth-session-BbeGpa9b.js +0 -4
  141. package/dist/auth-session-VWQoz03f.js.map +0 -1
  142. package/dist/command-ZxD_qNik.js.map +0 -1
  143. package/dist/computer-connection-review-BoQqWowI.js.map +0 -1
  144. package/dist/daemon-lifecycle-journal-DbRJ216n.js.map +0 -1
  145. package/dist/daemon-service-contract-Cik2oi9W.js.map +0 -1
  146. package/dist/daemon-service-update-coordinator-DUsnRsrg.js.map +0 -1
  147. package/dist/dispatch-owned-runtime-Bcz_DYAR.js.map +0 -1
  148. package/dist/dist-CGGiwcMv.js +0 -4
  149. package/dist/dist-DRUbg0Z2.js.map +0 -1
  150. package/dist/prepare-provider-runtime-B0gBhnir.js.map +0 -1
  151. package/dist/runtime-CJOlAkvc.js.map +0 -1
  152. package/dist/service-Dm_v88Dc.js.map +0 -1
  153. package/dist/service-account-control-BbcqY1fg.js.map +0 -1
  154. package/dist/upgrade-ChqQ_KDy.js +0 -4
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { C as updateConfiguredDeviceRuntimeState, T as updateConfiguredSkillsConfig, a as resolveBaseUrl, d as createDefaultRuntimeAgentControllerSettings, g as getConfiguredSkillsConfig, p as getConfiguredDeviceRuntimeState, v as getRuntimeConfigReadHealth, y as resolveRuntimeSkillsCustomTargetId } from "./base-url-C0AOV6je.js";
3
+ import { C as updateConfiguredDeviceRuntimeState, T as updateConfiguredSkillsConfig, a as resolveBaseUrl, d as createDefaultRuntimeAgentControllerSettings, g as getConfiguredSkillsConfig, p as getConfiguredDeviceRuntimeState, v as getRuntimeConfigReadHealth, y as resolveRuntimeSkillsCustomTargetId } from "./base-url-Cno_Uo8f.js";
4
4
  import { F as resolveOpenMeldRootDir, P as resolveOpenMeldEnvPreset, a as accountProfileWorkspacePath, b as normalizeOpenMeldProfileId, c as deviceOpenClawProfileBootstrapPath, h as isPublishedOpenMeldHome, l as deviceOpenClawProfileDir, n as accountProfileLocalMetaPath, u as deviceOpenClawProfileWorkspaceDir } from "./paths-De9xdA2h.js";
5
- import { $P as agentControllerCollaborationModeSchema, $a as daemonRouteCatalogCacheSchema, AI as buildAgentControllerRoutingKey, CM as daemonServiceLaneSchema, DE as resolveBuiltinAgentControllerConversationKind, DI as HOSTED_CENTER_AGENT_CONTROLLER_REF, DS as aiUsageObservationSchema, Dv as grokBotMessageReceiptSchema, Ev as grokBotEntriesSchema, FI as parseAgentControllerRef$1, JR as profileWorkspaceModeSchema, MI as canonicalizeBuiltinAgentControllerRef, Nb as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, OI as HOSTED_CENTER_AGENT_CONTROLLER_REF_ID, Ov as grokBotStoredCredentialSchema, Pa as windowsNativeProcessRequestSchema, QP as agentControllerPermissionModeSchema, Sv as agentExecutionSteerRequestSchema, TE as buildAgentControllerConversationRef, TO as agentInteractionResolutionSchema, Tv as grokBotConversationIdSchema, VR as normalizeOptionalWorkingDirectory, YR as profileWorkspaceOriginSchema, YT as providerDispatchRuntimeContextSchema, Za as DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME, aT as openMeldDaemonControlPlaneResponseSchema, dI as resolveCommandAgentWorkActivity, fS as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, gD as normalizeMessageEnvelope, iT as openMeldDaemonControlPlaneRequestSchema, jI as canonicalizeAgentControllerRef, jg as modelCatalogSchema, kI as HOSTED_REMOTE_AGENT_CONTROLLER_REF, nS as OPENMELD_ORIGINAL_ERROR_MAX_LENGTH, rE as conversationExecutionStateSchema, rS as isOriginalErrorSafeForMessageDetails, sS as openMeldDaemonProviderAccessEvidenceSchema, uD as formatCanonicalMentionLiteral, uS as openMeldDaemonTaskResultEnvelopeWriteSchema, wI as compareAgentControllerRefsForDisplay, wv as grokBotAccountSchema, xE as runtimeTransportModeSchema, zR as MAX_PROFILE_WORKING_DIRECTORY_LENGTH } from "./dist-DRUbg0Z2.js";
6
- import { a as isOpenMeldOrphanedLockError, d as runWithHeldLock, i as isOpenMeldLockError, t as acquireLock } from "./lock-tTXKrDmv.js";
5
+ import { $P as agentControllerPermissionModeSchema, $a as daemonRouteCatalogCacheSchema, AI as HOSTED_REMOTE_AGENT_CONTROLLER_REF, BR as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, Dv as grokBotMessageReceiptSchema, EE as buildAgentControllerConversationRef, EO as agentInteractionResolutionSchema, Ev as grokBotEntriesSchema, HR as normalizeOptionalWorkingDirectory, II as parseAgentControllerRef$1, MI as canonicalizeAgentControllerRef, NI as canonicalizeBuiltinAgentControllerRef, Nb as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, OE as resolveBuiltinAgentControllerConversationKind, OI as HOSTED_CENTER_AGENT_CONTROLLER_REF, OS as aiUsageObservationSchema, Ov as grokBotStoredCredentialSchema, Pa as windowsNativeProcessRequestSchema, SE as runtimeTransportModeSchema, Sv as agentExecutionSteerRequestSchema, TI as compareAgentControllerRefsForDisplay, Tv as grokBotConversationIdSchema, XR as profileWorkspaceOriginSchema, XT as providerDispatchRuntimeContextSchema, YR as profileWorkspaceModeSchema, Za as DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME, _D as normalizeMessageEnvelope, aT as openMeldDaemonControlPlaneRequestSchema, cS as openMeldDaemonProviderAccessEvidenceSchema, dD as formatCanonicalMentionLiteral, dS as openMeldDaemonTaskResultEnvelopeWriteSchema, eF as agentControllerCollaborationModeSchema, fI as resolveCommandAgentWorkActivity, iE as conversationExecutionStateSchema, iS as isOriginalErrorSafeForMessageDetails, jI as buildAgentControllerRoutingKey, jg as modelCatalogSchema, kI as HOSTED_CENTER_AGENT_CONTROLLER_REF_ID, oT as openMeldDaemonControlPlaneResponseSchema, pS as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, rS as OPENMELD_ORIGINAL_ERROR_MAX_LENGTH, wM as daemonServiceLaneSchema, wv as grokBotAccountSchema } from "./dist-BOBe5eOZ.js";
6
+ import { a as isOpenMeldOrphanedLockError, d as runWithHeldLock, i as isOpenMeldLockError, t as acquireLock } from "./lock-y1PCtVSn.js";
7
7
  import { n as normalizeCommandEnvironment } from "./process-environment-BWSFeUu6.js";
8
- import { c as readWindowsProcessStartFileTime, d as WINDOWS_NATIVE_PROCESS_REQUEST_ENV, f as resolveWindowsNativeProcessHelper, l as resolveWindowsPowerShellPath, o as powerShellEncodedArguments, r as isProcessIdentityAlive, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-BAAdyYwE.js";
9
- import { Vt as createAgentProfileBindingApi, an as createLocalRuntimeExpectedRoutesApi, t as OpenMeldApiClientHttpError } from "./dist-BnSaxfXN.js";
10
- import { F as resolveCurrentOpenMeldAccountContext, _ as touchDaemonCatalogSyncSignal, d as listOpenMeldProfiles } from "./context-nHpubzcZ.js";
11
- import { Y as OPENCLAW_CLI_TIMEOUT_MS$1, d as getAuthSessionState } from "./auth-session-VWQoz03f.js";
8
+ import { c as readWindowsProcessStartFileTime, d as WINDOWS_NATIVE_PROCESS_REQUEST_ENV, f as resolveWindowsNativeProcessHelper, l as resolveWindowsPowerShellPath, o as powerShellEncodedArguments, r as isProcessIdentityAlive, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-DCYUeRGI.js";
9
+ import { Vt as createAgentProfileBindingApi, an as createLocalRuntimeExpectedRoutesApi, t as OpenMeldApiClientHttpError } from "./dist-CP5KSxWw.js";
10
+ import { F as resolveCurrentOpenMeldAccountContext, _ as touchDaemonCatalogSyncSignal, d as listOpenMeldProfiles } from "./context-NLQSSnf9.js";
11
+ import { Y as OPENCLAW_CLI_TIMEOUT_MS$1, d as getAuthSessionState } from "./auth-session-BpRplB8x.js";
12
12
  import { n as writeDaemonLocalStateFile, t as readDaemonLocalStateFile } from "./daemon-local-state-file-jOXuXrky.js";
13
- import { m as daemonRuntimeDataPath } from "./daemon-state-DjfcQFlF.js";
14
- import { d as buildOpenMeldRequestContextFromProfile, t as createCliApiClientFoundation } from "./api-client-foundation-Dqxsa_3V.js";
15
- import { i as readDaemonServiceContract } from "./daemon-service-contract-Cik2oi9W.js";
16
- import { C as requestLocalSyncRouteCatalog } from "./daemon-lifecycle-journal-DbRJ216n.js";
13
+ import { m as daemonRuntimeDataPath } from "./daemon-state-CiTQcAWA.js";
14
+ import { d as buildOpenMeldRequestContextFromProfile, t as createCliApiClientFoundation } from "./api-client-foundation-a7D_P57X.js";
15
+ import { i as readDaemonServiceContract } from "./daemon-service-contract-D9Gs4YVs.js";
16
+ import { C as requestLocalSyncRouteCatalog } from "./daemon-lifecycle-journal-DfYlngmT.js";
17
17
  import { i as resolveWindowsCommandPath, n as quoteWindowsProcessArgument, r as resolvePlatformCommand, t as execPlatformFile } from "./process-launch-B0pHlkV_.js";
18
- import { _ as toErrorMessage$20, d as normalizeText$11, g as parseTransportMode$1, h as parseStreamingMode$1, m as parseRuntimeTransportMode, p as parseContextIdMappingSpec, s as emitRunLine, u as normalizeOptionalText$49 } from "./daemon-device-id-CefXWPiF.js";
18
+ import { _ as toErrorMessage$20, d as normalizeText$11, g as parseTransportMode$1, h as parseStreamingMode$1, m as parseRuntimeTransportMode, p as parseContextIdMappingSpec, s as emitRunLine, u as normalizeOptionalText$49 } from "./daemon-device-id-Dd-E5NjT.js";
19
19
  import { createRequire } from "node:module";
20
20
  import { createHash, randomBytes, randomUUID } from "node:crypto";
21
21
  import { homedir, loadavg, tmpdir } from "node:os";
@@ -20606,117 +20606,7 @@ function toRecord$3(value) {
20606
20606
  return value && typeof value === "object" && !Array.isArray(value) ? value : null;
20607
20607
  }
20608
20608
  //#endregion
20609
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/date.js
20610
- /*!
20611
- * Copyright (c) Squirrel Chat et al., All rights reserved.
20612
- * SPDX-License-Identifier: BSD-3-Clause
20613
- *
20614
- * Redistribution and use in source and binary forms, with or without
20615
- * modification, are permitted provided that the following conditions are met:
20616
- *
20617
- * 1. Redistributions of source code must retain the above copyright notice, this
20618
- * list of conditions and the following disclaimer.
20619
- * 2. Redistributions in binary form must reproduce the above copyright notice,
20620
- * this list of conditions and the following disclaimer in the
20621
- * documentation and/or other materials provided with the distribution.
20622
- * 3. Neither the name of the copyright holder nor the names of its contributors
20623
- * may be used to endorse or promote products derived from this software without
20624
- * specific prior written permission.
20625
- *
20626
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20627
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20628
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20629
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20630
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20631
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20632
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20633
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
20634
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
20635
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20636
- */
20637
- let DATE_TIME_RE = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;
20638
- var TomlDate = class TomlDate extends Date {
20639
- #hasDate = false;
20640
- #hasTime = false;
20641
- #offset = null;
20642
- constructor(date) {
20643
- let hasDate = true;
20644
- let hasTime = true;
20645
- let offset = "Z";
20646
- if (typeof date === "string") {
20647
- let match = date.match(DATE_TIME_RE);
20648
- if (match) {
20649
- if (!match[1]) {
20650
- hasDate = false;
20651
- date = `0000-01-01T${date}`;
20652
- }
20653
- hasTime = !!match[2];
20654
- hasTime && date[10] === " " && (date = date.replace(" ", "T"));
20655
- if (match[2] && +match[2] > 23) date = "";
20656
- else {
20657
- offset = match[3] || null;
20658
- date = date.toUpperCase();
20659
- if (!offset && hasTime) date += "Z";
20660
- }
20661
- } else date = "";
20662
- }
20663
- super(date);
20664
- if (!isNaN(this.getTime())) {
20665
- this.#hasDate = hasDate;
20666
- this.#hasTime = hasTime;
20667
- this.#offset = offset;
20668
- }
20669
- }
20670
- isDateTime() {
20671
- return this.#hasDate && this.#hasTime;
20672
- }
20673
- isLocal() {
20674
- return !this.#hasDate || !this.#hasTime || !this.#offset;
20675
- }
20676
- isDate() {
20677
- return this.#hasDate && !this.#hasTime;
20678
- }
20679
- isTime() {
20680
- return this.#hasTime && !this.#hasDate;
20681
- }
20682
- isValid() {
20683
- return this.#hasDate || this.#hasTime;
20684
- }
20685
- toISOString() {
20686
- let iso = super.toISOString();
20687
- if (this.isDate()) return iso.slice(0, 10);
20688
- if (this.isTime()) return iso.slice(11, 23);
20689
- if (this.#offset === null) return iso.slice(0, -1);
20690
- if (this.#offset === "Z") return iso;
20691
- let offset = +this.#offset.slice(1, 3) * 60 + +this.#offset.slice(4, 6);
20692
- offset = this.#offset[0] === "-" ? offset : -offset;
20693
- return (/* @__PURE__ */ new Date(this.getTime() - offset * 6e4)).toISOString().slice(0, -1) + this.#offset;
20694
- }
20695
- static wrapAsOffsetDateTime(jsDate, offset = "Z") {
20696
- let date = new TomlDate(jsDate);
20697
- date.#offset = offset;
20698
- return date;
20699
- }
20700
- static wrapAsLocalDateTime(jsDate) {
20701
- let date = new TomlDate(jsDate);
20702
- date.#offset = null;
20703
- return date;
20704
- }
20705
- static wrapAsLocalDate(jsDate) {
20706
- let date = new TomlDate(jsDate);
20707
- date.#hasTime = false;
20708
- date.#offset = null;
20709
- return date;
20710
- }
20711
- static wrapAsLocalTime(jsDate) {
20712
- let date = new TomlDate(jsDate);
20713
- date.#hasDate = false;
20714
- date.#offset = null;
20715
- return date;
20716
- }
20717
- };
20718
- //#endregion
20719
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/error.js
20609
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/error.js
20720
20610
  /*!
20721
20611
  * Copyright (c) Squirrel Chat et al., All rights reserved.
20722
20612
  * SPDX-License-Identifier: BSD-3-Clause
@@ -20745,11 +20635,11 @@ var TomlDate = class TomlDate extends Date {
20745
20635
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20746
20636
  */
20747
20637
  function getLineColFromPtr(string, ptr) {
20748
- let lines = string.slice(0, ptr).split(/\r\n|\n|\r/g);
20638
+ let lines = string.slice(0, ptr).split(/\r?\n/);
20749
20639
  return [lines.length, lines.pop().length + 1];
20750
20640
  }
20751
20641
  function makeCodeBlock(string, line, column) {
20752
- let lines = string.split(/\r\n|\n|\r/g);
20642
+ let lines = string.split(/\r?\n/);
20753
20643
  let codeblock = "";
20754
20644
  let numberLen = (Math.log10(line + 1) | 0) + 1;
20755
20645
  for (let i = line - 1; i <= line + 1; i++) {
@@ -20766,7 +20656,7 @@ function makeCodeBlock(string, line, column) {
20766
20656
  }
20767
20657
  return codeblock;
20768
20658
  }
20769
- var TomlError = class extends Error {
20659
+ var TomlError = class TomlError extends Error {
20770
20660
  line;
20771
20661
  column;
20772
20662
  codeblock;
@@ -20778,9 +20668,16 @@ var TomlError = class extends Error {
20778
20668
  this.column = column;
20779
20669
  this.codeblock = codeblock;
20780
20670
  }
20671
+ /** @internal */
20672
+ static x(message, ctx, ptr) {
20673
+ throw new TomlError(message, {
20674
+ toml: ctx.s,
20675
+ ptr: ptr ?? ctx.p
20676
+ });
20677
+ }
20781
20678
  };
20782
20679
  //#endregion
20783
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/primitive.js
20680
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/primitive.js
20784
20681
  /*!
20785
20682
  * Copyright (c) Squirrel Chat et al., All rights reserved.
20786
20683
  * SPDX-License-Identifier: BSD-3-Clause
@@ -20808,126 +20705,78 @@ var TomlError = class extends Error {
20808
20705
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
20809
20706
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20810
20707
  */
20811
- let INT_REGEX = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/;
20812
- let FLOAT_REGEX = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/;
20813
- let LEADING_ZERO = /^[+-]?0[0-9_]/;
20814
- function parseString(str, ptr) {
20815
- let c = str[ptr++];
20708
+ /** @internal */
20709
+ function parseString(ctx) {
20710
+ let startPtr = ctx.p;
20711
+ let c = ctx.s.charCodeAt(ctx.p++);
20816
20712
  let first = c;
20817
- let isLiteral = c === "'";
20818
- let isMultiline = c === str[ptr] && c === str[ptr + 1];
20713
+ let isLiteral = c === 39;
20714
+ let isMultiline = c === ctx.s.charCodeAt(ctx.p) && c === ctx.s.charCodeAt(ctx.p + 1);
20819
20715
  if (isMultiline) {
20820
- if (str[ptr += 2] === "\n") ptr++;
20821
- else if (str[ptr] === "\r" && str[ptr + 1] === "\n") ptr += 2;
20716
+ if ((c = ctx.s.charCodeAt(ctx.p += 2)) === 10) ctx.p++;
20717
+ else if (c === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10) ctx.p += 2;
20822
20718
  }
20823
20719
  let parsed = "";
20824
- let sliceStart = ptr;
20720
+ let sliceStart = ctx.p;
20825
20721
  let state = 0;
20826
- for (let i = ptr; i < str.length; i++) {
20827
- c = str[i];
20828
- if (isMultiline && (c === "\n" || c === "\r" && str[i + 1] === "\n")) state = state && 3;
20829
- else if (c < " " && c !== " " || c === "") throw new TomlError("control characters are not allowed in strings", {
20830
- toml: str,
20831
- ptr: i
20832
- });
20833
- else if ((!state || state === 3) && c === first && (!isMultiline || str[i + 1] === first && str[i + 2] === first)) {
20722
+ for (; ctx.p < ctx.s.length; ctx.p++) {
20723
+ c = ctx.s.charCodeAt(ctx.p);
20724
+ if (isMultiline && (c === 10 || c === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10)) state = state && 3;
20725
+ else if (c < 32 && c !== 9 || c === 127) TomlError.x("control characters are not allowed in strings", ctx);
20726
+ else if ((!state || state === 3) && c === first && (!isMultiline || ctx.s.charCodeAt(ctx.p + 1) === first && ctx.s.charCodeAt(ctx.p + 2) === first)) {
20834
20727
  if (isMultiline) {
20835
- if (str[i + 3] === first) i++;
20836
- if (str[i + 3] === first) i++;
20728
+ if (ctx.s.charCodeAt(ctx.p + 3) === first) ctx.p++;
20729
+ if (ctx.s.charCodeAt(ctx.p + 3) === first) ctx.p++;
20837
20730
  }
20838
- return [state ? parsed : parsed + str.slice(sliceStart, i), i + (isMultiline ? 3 : 1)];
20731
+ if (!state) {
20732
+ let s = ctx.s.slice(sliceStart, ctx.p);
20733
+ parsed = parsed ? parsed + s : s;
20734
+ }
20735
+ ctx.p += isMultiline ? 3 : 1;
20736
+ return parsed;
20839
20737
  } else if (!state) {
20840
- if (!isLiteral && c === "\\") {
20841
- parsed += str.slice(sliceStart, sliceStart = i);
20738
+ if (!isLiteral && c === 92) {
20739
+ parsed += ctx.s.slice(sliceStart, sliceStart = ctx.p);
20842
20740
  state = 1;
20843
20741
  }
20844
- } else if (state === 1) if (c === "x" || c === "u" || c === "U") {
20742
+ } else if (state === 1) if (c === 120 || c === 117 || c === 85) {
20743
+ let errPtr = ctx.p++ - 1;
20845
20744
  let value = 0;
20846
- let len = c === "x" ? 2 : c === "u" ? 4 : 8;
20847
- for (let j = 0; j < len; j++, i++) {
20848
- let hex = str.charCodeAt(i + 1);
20745
+ let len = c === 120 ? 2 : c === 117 ? 4 : 8;
20746
+ for (let j = 0; j < len; j++, ctx.p++) {
20747
+ let hex = ctx.s.charCodeAt(ctx.p);
20849
20748
  let digit = hex >= 48 && hex <= 57 ? hex - 48 : hex >= 65 && hex <= 70 ? hex - 65 + 10 : hex >= 97 && hex <= 102 ? hex - 97 + 10 : -1;
20850
- if (digit < 0) throw new TomlError("invalid non-hex character in unicode escape", {
20851
- toml: str,
20852
- ptr: i + 1
20853
- });
20749
+ if (digit < 0) TomlError.x("invalid non-hex character in unicode escape", ctx);
20854
20750
  value = value << 4 | digit;
20855
20751
  }
20856
- if (value < 0 || value > 1114111 || value >= 55296 && value <= 57343) throw new TomlError("invalid unicode escape", {
20857
- toml: str,
20858
- ptr: i
20859
- });
20752
+ if (value < 0 || value > 1114111 || value >= 55296 && value <= 57343) TomlError.x("invalid unicode escape", ctx, errPtr);
20860
20753
  parsed += String.fromCodePoint(value);
20861
- sliceStart = i + 1;
20754
+ sliceStart = ctx.p--;
20862
20755
  state = 0;
20863
- } else if (c === " " || c === " ") state = 2;
20756
+ } else if (isMultiline && (c === 32 || c === 9)) state = 2;
20864
20757
  else {
20865
- if (c === "b") parsed += "\b";
20866
- else if (c === "t") parsed += " ";
20867
- else if (c === "n") parsed += "\n";
20868
- else if (c === "f") parsed += "\f";
20869
- else if (c === "r") parsed += "\r";
20870
- else if (c === "e") parsed += "\x1B";
20871
- else if (c === "\"") parsed += "\"";
20872
- else if (c === "\\") parsed += "\\";
20873
- else throw new TomlError("unrecognized escape sequence", {
20874
- toml: str,
20875
- ptr: i
20876
- });
20877
- sliceStart = i + 1;
20758
+ if (c === 98) parsed += "\b";
20759
+ else if (c === 116) parsed += " ";
20760
+ else if (c === 110) parsed += "\n";
20761
+ else if (c === 102) parsed += "\f";
20762
+ else if (c === 114) parsed += "\r";
20763
+ else if (c === 101) parsed += "\x1B";
20764
+ else if (c === 34) parsed += "\"";
20765
+ else if (c === 92) parsed += "\\";
20766
+ else TomlError.x("unrecognised escape sequence", ctx);
20767
+ sliceStart = ctx.p + 1;
20878
20768
  state = 0;
20879
20769
  }
20880
- else if (c !== " " && c !== " ") {
20881
- if (state === 2) throw new TomlError("invalid escape: only line-ending whitespace may be escaped", {
20882
- toml: str,
20883
- ptr: sliceStart
20884
- });
20885
- state = !isLiteral && c === "\\" ? 1 : 0;
20886
- sliceStart = i;
20887
- }
20888
- }
20889
- throw new TomlError("unfinished string", {
20890
- toml: str,
20891
- ptr
20892
- });
20893
- }
20894
- function parseValue(value, toml, ptr, integersAsBigInt) {
20895
- if (value === "true") return true;
20896
- if (value === "false") return false;
20897
- if (value === "-inf") return -Infinity;
20898
- if (value === "inf" || value === "+inf") return Infinity;
20899
- if (value === "nan" || value === "+nan" || value === "-nan") return NaN;
20900
- if (value === "-0") return integersAsBigInt ? 0n : 0;
20901
- let isInt = INT_REGEX.test(value);
20902
- if (isInt || FLOAT_REGEX.test(value)) {
20903
- if (LEADING_ZERO.test(value)) throw new TomlError("leading zeroes are not allowed", {
20904
- toml,
20905
- ptr
20906
- });
20907
- value = value.replace(/_/g, "");
20908
- let numeric = +value;
20909
- if (isNaN(numeric)) throw new TomlError("invalid number", {
20910
- toml,
20911
- ptr
20912
- });
20913
- if (isInt) {
20914
- if ((isInt = !Number.isSafeInteger(numeric)) && !integersAsBigInt) throw new TomlError("integer value cannot be represented losslessly", {
20915
- toml,
20916
- ptr
20917
- });
20918
- if (isInt || integersAsBigInt === true) numeric = BigInt(value);
20770
+ else if (c !== 32 && c !== 9) {
20771
+ if (state === 2) TomlError.x("invalid escape: only line-ending whitespace may be escaped", ctx, sliceStart);
20772
+ state = !isLiteral && c === 92 ? 1 : 0;
20773
+ sliceStart = ctx.p;
20919
20774
  }
20920
- return numeric;
20921
20775
  }
20922
- const date = new TomlDate(value);
20923
- if (!date.isValid()) throw new TomlError("invalid value", {
20924
- toml,
20925
- ptr
20926
- });
20927
- return date;
20776
+ TomlError.x("unfinished string", ctx, startPtr);
20928
20777
  }
20929
20778
  //#endregion
20930
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/util.js
20779
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/date.js
20931
20780
  /*!
20932
20781
  * Copyright (c) Squirrel Chat et al., All rights reserved.
20933
20782
  * SPDX-License-Identifier: BSD-3-Clause
@@ -20955,50 +20804,104 @@ function parseValue(value, toml, ptr, integersAsBigInt) {
20955
20804
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
20956
20805
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20957
20806
  */
20958
- function indexOfNewline(str, start = 0, end = str.length) {
20959
- let idx = str.indexOf("\n", start);
20960
- if (str[idx - 1] === "\r") idx--;
20961
- return idx <= end ? idx : -1;
20962
- }
20963
- function skipComment(str, ptr) {
20964
- for (let i = ptr; i < str.length; i++) {
20965
- let c = str[i];
20966
- if (c === "\n") return i;
20967
- if (c === "\r" && str[i + 1] === "\n") return i + 1;
20968
- if (c < " " && c !== " " || c === "") throw new TomlError("control characters are not allowed in comments", {
20969
- toml: str,
20970
- ptr
20971
- });
20807
+ let DATE_TIME_RE = /^(\d{4}-\d{2}-\d{2})?[Tt ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|z|[-+]\d{2}:\d{2})?$/i;
20808
+ var TomlDate = class TomlDate extends Date {
20809
+ #hasDate = false;
20810
+ #hasTime = false;
20811
+ #offset = null;
20812
+ constructor(date, fasttype, unsafeDelim) {
20813
+ let hasDate = true;
20814
+ let hasTime = true;
20815
+ let offset = "Z";
20816
+ let c;
20817
+ if (typeof date === "string") if (fasttype) prep: {
20818
+ if (fasttype < 3) {
20819
+ if (+date.slice(11, 13) > 23) {
20820
+ date = "";
20821
+ break prep;
20822
+ }
20823
+ if (fasttype === 2) {
20824
+ offset = null;
20825
+ date += "Z";
20826
+ } else if ((c = date.charCodeAt(date.length - 1)) !== 90 && c !== 122) offset = date.slice(date.length - 6);
20827
+ if (unsafeDelim) date = date.slice(0, 10) + "T" + date.slice(11);
20828
+ } else if (fasttype === 4) date = +date.slice(0, 2) > 23 ? "" : `0000-01-01T${date}Z`;
20829
+ hasDate = fasttype !== 4;
20830
+ hasTime = fasttype !== 3;
20831
+ }
20832
+ else {
20833
+ let match = date.match(DATE_TIME_RE);
20834
+ if (match) {
20835
+ if (!match[1]) {
20836
+ hasDate = false;
20837
+ date = `0000-01-01T${date}`;
20838
+ }
20839
+ hasTime = !!match[2];
20840
+ hasTime && date[10] === " " && (date = date.replace(" ", "T"));
20841
+ if (match[2] && +match[2] > 23) date = "";
20842
+ else {
20843
+ offset = match[3] || null;
20844
+ if (!offset && hasTime) date += "Z";
20845
+ }
20846
+ } else date = "";
20847
+ }
20848
+ super(date);
20849
+ if (!isNaN(this.getTime())) {
20850
+ this.#hasDate = hasDate;
20851
+ this.#hasTime = hasTime;
20852
+ this.#offset = offset;
20853
+ }
20972
20854
  }
20973
- return str.length;
20974
- }
20975
- function skipVoid(str, ptr, banNewLines, banComments) {
20976
- let c;
20977
- while (1) {
20978
- while ((c = str[ptr]) === " " || c === " " || !banNewLines && (c === "\n" || c === "\r" && str[ptr + 1] === "\n")) ptr++;
20979
- if (banComments || c !== "#") break;
20980
- ptr = skipComment(str, ptr);
20855
+ isDateTime() {
20856
+ return this.#hasDate && this.#hasTime;
20981
20857
  }
20982
- return ptr;
20983
- }
20984
- function skipUntil(str, ptr, sep, end, banNewLines = false) {
20985
- if (!end) {
20986
- ptr = indexOfNewline(str, ptr);
20987
- return ptr < 0 ? str.length : ptr;
20858
+ isLocal() {
20859
+ return !this.#hasDate || !this.#hasTime || !this.#offset;
20988
20860
  }
20989
- for (let i = ptr; i < str.length; i++) {
20990
- let c = str[i];
20991
- if (c === "#") i = indexOfNewline(str, i);
20992
- else if (c === sep) return i + 1;
20993
- else if (c === end || banNewLines && (c === "\n" || c === "\r" && str[i + 1] === "\n")) return i;
20861
+ isDate() {
20862
+ return this.#hasDate && !this.#hasTime;
20994
20863
  }
20995
- throw new TomlError("cannot find end of structure", {
20996
- toml: str,
20997
- ptr
20998
- });
20999
- }
20864
+ isTime() {
20865
+ return this.#hasTime && !this.#hasDate;
20866
+ }
20867
+ isValid() {
20868
+ return this.#hasDate || this.#hasTime;
20869
+ }
20870
+ toISOString() {
20871
+ let iso = super.toISOString();
20872
+ if (this.isDate()) return iso.slice(0, 10);
20873
+ if (this.isTime()) return iso.slice(11, 23);
20874
+ if (this.#offset === null) return iso.slice(0, -1);
20875
+ if (this.#offset === "Z" || this.#offset === "z") return iso;
20876
+ let offset = +this.#offset.slice(1, 3) * 60 + +this.#offset.slice(4, 6);
20877
+ offset = this.#offset[0] === "-" ? offset : -offset;
20878
+ return (/* @__PURE__ */ new Date(this.getTime() - offset * 6e4)).toISOString().slice(0, -1) + this.#offset;
20879
+ }
20880
+ static wrapAsOffsetDateTime(jsDate, offset = "Z") {
20881
+ let date = new TomlDate(jsDate);
20882
+ date.#offset = offset;
20883
+ return date;
20884
+ }
20885
+ static wrapAsLocalDateTime(jsDate) {
20886
+ let date = new TomlDate(jsDate);
20887
+ date.#offset = null;
20888
+ return date;
20889
+ }
20890
+ static wrapAsLocalDate(jsDate) {
20891
+ let date = new TomlDate(jsDate);
20892
+ date.#hasTime = false;
20893
+ date.#offset = null;
20894
+ return date;
20895
+ }
20896
+ static wrapAsLocalTime(jsDate) {
20897
+ let date = new TomlDate(jsDate);
20898
+ date.#hasDate = false;
20899
+ date.#offset = null;
20900
+ return date;
20901
+ }
20902
+ };
21000
20903
  //#endregion
21001
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/extract.js
20904
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/extract.js
21002
20905
  /*!
21003
20906
  * Copyright (c) Squirrel Chat et al., All rights reserved.
21004
20907
  * SPDX-License-Identifier: BSD-3-Clause
@@ -21026,59 +20929,195 @@ function skipUntil(str, ptr, sep, end, banNewLines = false) {
21026
20929
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21027
20930
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21028
20931
  */
21029
- function sliceAndTrimEndOf(str, startPtr, endPtr) {
21030
- let value = str.slice(startPtr, endPtr);
21031
- let commentIdx = value.indexOf("#");
21032
- if (commentIdx > -1) {
21033
- skipComment(str, commentIdx);
21034
- value = value.slice(0, commentIdx);
21035
- }
21036
- return [value.trimEnd(), commentIdx];
21037
- }
21038
- function extractValue(str, ptr, end, depth, integersAsBigInt) {
21039
- if (depth === 0) throw new TomlError("document contains excessively nested structures. aborting.", {
21040
- toml: str,
21041
- ptr
21042
- });
21043
- let c = str[ptr];
21044
- if (c === "[" || c === "{") {
21045
- let [value, endPtr] = c === "[" ? parseArray(str, ptr, depth, integersAsBigInt) : parseInlineTable(str, ptr, depth, integersAsBigInt);
21046
- if (end) {
21047
- endPtr = skipVoid(str, endPtr);
21048
- if (str[endPtr] === ",") endPtr++;
21049
- else if (str[endPtr] !== end) throw new TomlError("expected comma or end of structure", {
21050
- toml: str,
21051
- ptr: endPtr
21052
- });
20932
+ function isDigit(char, base = 10) {
20933
+ return base === 16 ? char > 47 && char < 58 || char > 64 && char < 71 || char > 96 && char < 103 : char > 47 && char < 48 + base;
20934
+ }
20935
+ function isEndOfValue(char, delim) {
20936
+ return char === 32 || char === 9 || char === 10 || char === 13 || delim && (char === delim || char === 44) || char === 35;
20937
+ }
20938
+ /** @internal */
20939
+ function extractValue(ctx, end) {
20940
+ let errPtr = ctx.p;
20941
+ let c = ctx.s.charCodeAt(ctx.p);
20942
+ if (c === 91 || c === 123) {
20943
+ ctx.d-- || TomlError.x("document contains excessively nested structures. aborting.", ctx);
20944
+ let value = c === 91 ? parseArray(ctx) : parseInlineTable(ctx);
20945
+ ctx.d++;
20946
+ return value;
20947
+ }
20948
+ if (c === 34 || c === 39) return parseString(ctx);
20949
+ if (c === 116) {
20950
+ if (ctx.s.charCodeAt(++ctx.p) !== 114 || ctx.s.charCodeAt(++ctx.p) !== 117 || ctx.s.charCodeAt(++ctx.p) !== 101) TomlError.x("invalid value", ctx, errPtr);
20951
+ return ctx.p++, true;
20952
+ }
20953
+ if (c === 102) {
20954
+ if (ctx.s.charCodeAt(++ctx.p) !== 97 || ctx.s.charCodeAt(++ctx.p) !== 108 || ctx.s.charCodeAt(++ctx.p) !== 115 || ctx.s.charCodeAt(++ctx.p) !== 101) TomlError.x("invalid value", ctx, errPtr);
20955
+ return ctx.p++, false;
20956
+ }
20957
+ if (c === 43 || c === 45) return parseNumber(ctx, ctx.p, ctx.s.charCodeAt(++ctx.p), 44 - c, end);
20958
+ if (ctx.s.charCodeAt(ctx.p + 4) === 45 && ctx.s.charCodeAt(ctx.p + 7) === 45) return parseDate(ctx, c, end);
20959
+ if (ctx.s.charCodeAt(ctx.p + 2) === 58) return parseTime(ctx, c, end);
20960
+ return parseNumber(ctx, ctx.p, c, 0, end);
20961
+ }
20962
+ function parseNumber(ctx, startPtr, startChr, sign, endChr) {
20963
+ let c = startChr;
20964
+ let state = 0;
20965
+ let hasUnderscores = false;
20966
+ if (c === 105) {
20967
+ if (ctx.s.charCodeAt(++ctx.p) !== 110 || ctx.s.charCodeAt(++ctx.p) !== 102) TomlError.x("invalid value", ctx, startPtr);
20968
+ return ctx.p++, (sign || 1) / 0;
20969
+ }
20970
+ if (c === 110) {
20971
+ if (ctx.s.charCodeAt(++ctx.p) !== 97 || ctx.s.charCodeAt(++ctx.p) !== 110) TomlError.x("invalid value", ctx, startPtr);
20972
+ return ctx.p++, NaN;
20973
+ }
20974
+ if (c === 48) {
20975
+ if (++ctx.p >= ctx.s.length || isEndOfValue(c = ctx.s.charCodeAt(ctx.p), endChr)) return ctx.bi === true ? 0n : 0;
20976
+ if (!sign) {
20977
+ if (c === 120) return parseIntegerBaseN(ctx, startPtr, 16, endChr);
20978
+ else if (c === 98) return parseIntegerBaseN(ctx, startPtr, 2, endChr);
20979
+ else if (c === 111) return parseIntegerBaseN(ctx, startPtr, 8, endChr);
20980
+ }
20981
+ if (c === 46) state = 2;
20982
+ else if (c === 101 || c === 69) state = 4;
20983
+ else TomlError.x("illegal leading zero", ctx, startPtr);
20984
+ } else if (!isDigit(c)) TomlError.x("invalid value", ctx, startPtr);
20985
+ while (++ctx.p < ctx.s.length && (c = ctx.s.charCodeAt(ctx.p), !isEndOfValue(c, endChr))) {
20986
+ if (!state) state = 1;
20987
+ if (c === 95) {
20988
+ if (!(state & 1)) TomlError.x("illegal underscore", ctx);
20989
+ state += 11;
20990
+ hasUnderscores = true;
20991
+ } else if (state === 1 && c === 46) state = 2;
20992
+ else if ((state === 1 || state === 3) && (c === 101 || c === 69)) state = 4;
20993
+ else if (state === 4 && (c === 43 || c === 45)) {} else if (!isDigit(c)) TomlError.x(`illegal character in numeric literal`, ctx);
20994
+ else if (state > 9) state -= 11;
20995
+ else if (!(state & 1)) state++;
20996
+ }
20997
+ if (!state) {
20998
+ let val = (startChr - 48) * (sign || 1);
20999
+ return ctx.bi === true ? BigInt(val) : val;
21000
+ }
21001
+ if (!(state & 1)) TomlError.x("unfinished numeric value", ctx, startPtr);
21002
+ let str = ctx.s.slice(startPtr, ctx.p);
21003
+ if (hasUnderscores) str = str.replaceAll("_", "");
21004
+ return state > 1 ? parseFloat(str) : parseInteger(ctx, str, 10, startPtr);
21005
+ }
21006
+ function parseIntegerBaseN(ctx, startPtr, base, endChr) {
21007
+ let c, underscore = 1;
21008
+ while (++ctx.p < ctx.s.length && (c = ctx.s.charCodeAt(ctx.p), !isEndOfValue(c, endChr))) if (c === 95) {
21009
+ if (underscore & 1) TomlError.x("illegal underscore", ctx);
21010
+ underscore = 3;
21011
+ } else if (!isDigit(c, base)) TomlError.x(`illegal character in numeric literal`, ctx);
21012
+ else if (underscore & 1) underscore--;
21013
+ if (underscore & 1) TomlError.x("unfinished numeric value", ctx);
21014
+ let str = ctx.s.slice(startPtr + 2, ctx.p);
21015
+ if (underscore) str = str.replaceAll("_", "");
21016
+ return parseInteger(ctx, str, base, startPtr);
21017
+ }
21018
+ function parseInteger(ctx, str, base, startPtr) {
21019
+ if (ctx.bi !== true) int: {
21020
+ let val = parseInt(str, base);
21021
+ if (!Number.isSafeInteger(val)) {
21022
+ if (ctx.bi) break int;
21023
+ TomlError.x("integer value cannot be represented losslessly", ctx, startPtr);
21024
+ }
21025
+ return val;
21026
+ }
21027
+ return base === 10 ? BigInt(str) : BigInt((base === 2 ? "0b" : base === 8 ? "0o" : "0x") + str);
21028
+ }
21029
+ function parseDate(ctx, c, endChr) {
21030
+ let startPtr = ctx.p++, unsafeSeparator;
21031
+ if (!isDigit(c) || !isDigit(ctx.s.charCodeAt(ctx.p++)) || !isDigit(ctx.s.charCodeAt(ctx.p++)) || !isDigit(ctx.s.charCodeAt(ctx.p++))) return parseNumber(ctx, ctx.p = startPtr, c, 0, endChr);
21032
+ ctx.p += 5;
21033
+ if (!isDigit(ctx.s.charCodeAt(ctx.p++))) TomlError.x("invalid date-time: date part is malformed", ctx, startPtr);
21034
+ if (ctx.p >= ctx.s.length || ((c = ctx.s.charCodeAt(ctx.p)) !== 32 || (unsafeSeparator = true, !isDigit(ctx.s.charCodeAt(ctx.p + 1)))) && c !== 84 && c !== 116) return readDate(ctx, ctx.s.slice(startPtr, ctx.p), 3, false, startPtr);
21035
+ if (ctx.s.charCodeAt(ctx.p += 3) !== 58) TomlError.x("invalid date-time: time part is malformed", ctx, startPtr);
21036
+ if (ctx.s.charCodeAt(ctx.p += 3) === 58) ctx.p += 3;
21037
+ if (ctx.s.charCodeAt(ctx.p) === 46) while (isDigit(ctx.s.charCodeAt(++ctx.p)));
21038
+ if (c = ctx.s.charCodeAt(ctx.p)) {
21039
+ if (c === 90 || c === 122) return readDate(ctx, ctx.s.slice(startPtr, ++ctx.p), 1, unsafeSeparator, startPtr, "[+00:00]");
21040
+ if (c === 43 || c === 45) return readDate(ctx, ctx.s.slice(startPtr, ctx.p += 6), 1, unsafeSeparator, startPtr, !ctx.ld && "[" + ctx.s.slice(ctx.p - 6, ctx.p) + "]");
21041
+ }
21042
+ return readDate(ctx, ctx.s.slice(startPtr, ctx.p), 2, unsafeSeparator, startPtr);
21043
+ }
21044
+ function parseTime(ctx, c, endChr) {
21045
+ let start = ctx.p;
21046
+ if (!isDigit(c) || !isDigit(ctx.s.charCodeAt(++ctx.p))) return parseNumber(ctx, --ctx.p, c, 0, endChr);
21047
+ if (ctx.s.charCodeAt(ctx.p += 4) === 58) ctx.p += 3;
21048
+ if (ctx.s.charCodeAt(ctx.p) === 46) while (isDigit(ctx.s.charCodeAt(++ctx.p)));
21049
+ return readDate(ctx, ctx.s.slice(start, ctx.p), 4, false, start);
21050
+ }
21051
+ function readDate(ctx, str, type, unsafeDelim, errPtr, temporalSuffix) {
21052
+ if (ctx.ld) {
21053
+ let date = new TomlDate(str, type, unsafeDelim);
21054
+ if (!date.isValid()) TomlError.x("invalid date", ctx, errPtr);
21055
+ return date;
21056
+ }
21057
+ try {
21058
+ if (temporalSuffix) str += temporalSuffix;
21059
+ switch (type) {
21060
+ case 1: return Temporal.ZonedDateTime.from(str);
21061
+ case 2: return Temporal.PlainDateTime.from(str);
21062
+ case 3: return Temporal.PlainDate.from(str);
21063
+ case 4: return Temporal.PlainTime.from(str);
21053
21064
  }
21054
- return [value, endPtr];
21065
+ } catch (e) {
21066
+ TomlError.x(e instanceof Error ? e.message : "" + e, ctx, errPtr);
21055
21067
  }
21056
- if (c === "\"" || c === "'") {
21057
- let [parsed, endPtr] = parseString(str, ptr);
21058
- if (end) {
21059
- endPtr = skipVoid(str, endPtr);
21060
- if (str[endPtr] && str[endPtr] !== "," && str[endPtr] !== end && str[endPtr] !== "\n" && str[endPtr] !== "\r") throw new TomlError("unexpected character encountered", {
21061
- toml: str,
21062
- ptr: endPtr
21063
- });
21064
- if (str[endPtr] === ",") endPtr++;
21068
+ }
21069
+ //#endregion
21070
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/util.js
21071
+ /*!
21072
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
21073
+ * SPDX-License-Identifier: BSD-3-Clause
21074
+ *
21075
+ * Redistribution and use in source and binary forms, with or without
21076
+ * modification, are permitted provided that the following conditions are met:
21077
+ *
21078
+ * 1. Redistributions of source code must retain the above copyright notice, this
21079
+ * list of conditions and the following disclaimer.
21080
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
21081
+ * this list of conditions and the following disclaimer in the
21082
+ * documentation and/or other materials provided with the distribution.
21083
+ * 3. Neither the name of the copyright holder nor the names of its contributors
21084
+ * may be used to endorse or promote products derived from this software without
21085
+ * specific prior written permission.
21086
+ *
21087
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
21088
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21089
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21090
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21091
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21092
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21093
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21094
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21095
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21096
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21097
+ */
21098
+ /** @internal */
21099
+ function skipComment(ctx) {
21100
+ for (; ctx.p < ctx.s.length; ctx.p++) {
21101
+ let c = ctx.s.charCodeAt(ctx.p);
21102
+ if (c === 10) break;
21103
+ if (c === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10) {
21104
+ ctx.p++;
21105
+ break;
21065
21106
  }
21066
- return [parsed, endPtr];
21107
+ if (c < 32 && c !== 9 || c === 127) TomlError.x("control characters are not allowed in comments", ctx);
21067
21108
  }
21068
- let endPtr = skipUntil(str, ptr, ",", end);
21069
- let slice = sliceAndTrimEndOf(str, ptr, endPtr - (str[endPtr - 1] === "," ? 1 : 0));
21070
- if (!slice[0]) throw new TomlError("incomplete key-value declaration: no value specified", {
21071
- toml: str,
21072
- ptr
21073
- });
21074
- if (end && slice[1] > -1) {
21075
- endPtr = skipVoid(str, ptr + slice[1]);
21076
- if (str[endPtr] === ",") endPtr++;
21109
+ }
21110
+ /** @internal */
21111
+ function skipVoid(ctx, banNewLines, banComments) {
21112
+ let c;
21113
+ while (ctx.p < ctx.s.length) {
21114
+ while (ctx.p < ctx.s.length && ((c = ctx.s.charCodeAt(ctx.p)) === 32 || c === 9 || !banNewLines && (c === 10 || c === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10))) ctx.p++;
21115
+ if (banComments || c !== 35) break;
21116
+ skipComment(ctx);
21077
21117
  }
21078
- return [parseValue(slice[0], str, ptr, integersAsBigInt), endPtr];
21079
21118
  }
21080
21119
  //#endregion
21081
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/struct.js
21120
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/struct.js
21082
21121
  /*!
21083
21122
  * Copyright (c) Squirrel Chat et al., All rights reserved.
21084
21123
  * SPDX-License-Identifier: BSD-3-Clause
@@ -21106,119 +21145,102 @@ function extractValue(str, ptr, end, depth, integersAsBigInt) {
21106
21145
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21107
21146
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21108
21147
  */
21109
- let KEY_PART_RE = /^[a-zA-Z0-9-_]+[ \t]*$/;
21110
- function parseKey(str, ptr, end = "=") {
21111
- let dot = ptr - 1;
21148
+ /** @internal */
21149
+ function parseKey(ctx, end = 61) {
21150
+ let startPtr;
21151
+ let state = 0;
21112
21152
  let parsed = [];
21113
- let endPtr = str.indexOf(end, ptr);
21114
- if (endPtr < 0) throw new TomlError("incomplete key-value: cannot find end of key", {
21115
- toml: str,
21116
- ptr
21117
- });
21118
- do {
21119
- let c = str[ptr = ++dot];
21120
- if (c !== " " && c !== " ") if (c === "\"" || c === "'") {
21121
- if (c === str[ptr + 1] && c === str[ptr + 2]) throw new TomlError("multiline strings are not allowed in keys", {
21122
- toml: str,
21123
- ptr
21124
- });
21125
- let [part, eos] = parseString(str, ptr);
21126
- dot = str.indexOf(".", eos);
21127
- let strEnd = str.slice(eos, dot < 0 || dot > endPtr ? endPtr : dot);
21128
- let newLine = indexOfNewline(strEnd);
21129
- if (newLine > -1) throw new TomlError("newlines are not allowed in keys", {
21130
- toml: str,
21131
- ptr: ptr + dot + newLine
21132
- });
21133
- if (strEnd.trimStart()) throw new TomlError("found extra tokens after the string part", {
21134
- toml: str,
21135
- ptr: eos
21136
- });
21137
- if (endPtr < eos) {
21138
- endPtr = str.indexOf(end, eos);
21139
- if (endPtr < 0) throw new TomlError("incomplete key-value: cannot find end of key", {
21140
- toml: str,
21141
- ptr
21142
- });
21153
+ let sliceStart;
21154
+ let c = ctx.s.charCodeAt(startPtr = ctx.p);
21155
+ do
21156
+ if (c === end) {
21157
+ if (!state) TomlError.x("unexpected end of key", ctx);
21158
+ if (state === 1) parsed.push(ctx.s.slice(sliceStart, ctx.p));
21159
+ return ctx.p++, parsed;
21160
+ } else if (c === 46) {
21161
+ if (!state) TomlError.x("illegal empty bare key", ctx);
21162
+ if (state === 1) parsed.push(ctx.s.slice(sliceStart, ctx.p));
21163
+ state = 0;
21164
+ } else if (!state && (c === 34 || c === 39)) {
21165
+ if (c === ctx.s.charCodeAt(ctx.p + 1) && c === ctx.s.charCodeAt(ctx.p + 2)) TomlError.x("illegal quoted key: multiline strings are not allowed", ctx);
21166
+ parsed.push(parseString(ctx));
21167
+ state = 2;
21168
+ ctx.p--;
21169
+ } else if (c === 32 || c === 9) {
21170
+ if (state === 1) {
21171
+ parsed.push(ctx.s.slice(sliceStart, ctx.p));
21172
+ state = 2;
21143
21173
  }
21144
- parsed.push(part);
21145
- } else {
21146
- dot = str.indexOf(".", ptr);
21147
- let part = str.slice(ptr, dot < 0 || dot > endPtr ? endPtr : dot);
21148
- if (!KEY_PART_RE.test(part)) throw new TomlError("only letter, numbers, dashes and underscores are allowed in keys", {
21149
- toml: str,
21150
- ptr
21151
- });
21152
- parsed.push(part.trimEnd());
21153
- }
21154
- } while (dot + 1 && dot < endPtr);
21155
- return [parsed, skipVoid(str, endPtr + 1, true, true)];
21156
- }
21157
- function parseInlineTable(str, ptr, depth, integersAsBigInt) {
21158
- let res = {};
21174
+ } else if (state === 2 || c < 48 && c !== 45 || c > 57 && c < 65 || c > 90 && c < 97 && c !== 95 || c > 122) TomlError.x("illegal character in key", ctx);
21175
+ else if (!state) {
21176
+ state = 1;
21177
+ sliceStart = ctx.p;
21178
+ }
21179
+ while (c = ctx.s.charCodeAt(++ctx.p));
21180
+ TomlError.x("incomplete key-value: cannot find end of key", ctx, startPtr);
21181
+ }
21182
+ /** @internal */
21183
+ function parseInlineTable(ctx) {
21184
+ let startPtr = ctx.p++;
21185
+ let res = Object.create(null);
21159
21186
  let seen = /* @__PURE__ */ new Set();
21160
21187
  let c;
21161
- ptr++;
21162
- while ((c = str[ptr++]) !== "}" && c) if (c === ",") throw new TomlError("expected value, found comma", {
21163
- toml: str,
21164
- ptr: ptr - 1
21165
- });
21166
- else if (c === "#") ptr = skipComment(str, ptr);
21167
- else if (c !== " " && c !== " " && c !== "\n" && c !== "\r") {
21188
+ while (ctx.p < ctx.s.length) {
21189
+ skipVoid(ctx);
21190
+ if ((c = ctx.s.charCodeAt(ctx.p)) === 125) {
21191
+ ctx.p++;
21192
+ return res;
21193
+ }
21168
21194
  let k;
21169
21195
  let t = res;
21170
21196
  let hasOwn = false;
21171
- let [key, keyEndPtr] = parseKey(str, ptr - 1);
21197
+ let errPtr = ctx.p;
21198
+ let key = parseKey(ctx);
21172
21199
  for (let i = 0; i < key.length; i++) {
21173
- if (i) t = hasOwn ? t[k] : t[k] = {};
21200
+ if (i) t = hasOwn ? t[k] : t[k] = Object.create(null);
21174
21201
  k = key[i];
21175
- if ((hasOwn = Object.hasOwn(t, k)) && (typeof t[k] !== "object" || seen.has(t[k]))) throw new TomlError("trying to redefine an already defined value", {
21176
- toml: str,
21177
- ptr
21178
- });
21179
- if (!hasOwn && k === "__proto__") Object.defineProperty(t, k, {
21202
+ if ((hasOwn = Object.hasOwn(t, k)) && (typeof t[k] !== "object" || seen.has(t[k]))) TomlError.x("trying to redefine an already defined value", ctx, errPtr);
21203
+ let unsafe = k === "__proto__";
21204
+ if (ctx.uk && (unsafe || k === "constructor")) {
21205
+ t = ctx.uk !== 1 && TomlError.x("document contains an unsafe property", ctx, errPtr);
21206
+ break;
21207
+ }
21208
+ if (!hasOwn && unsafe) Object.defineProperty(t, k, {
21180
21209
  enumerable: true,
21181
21210
  configurable: true,
21182
21211
  writable: true
21183
21212
  });
21184
21213
  }
21185
- if (hasOwn) throw new TomlError("trying to redefine an already defined value", {
21186
- toml: str,
21187
- ptr
21188
- });
21189
- let [value, valueEndPtr] = extractValue(str, keyEndPtr, "}", depth - 1, integersAsBigInt);
21190
- seen.add(value);
21191
- t[k] = value;
21192
- ptr = valueEndPtr;
21214
+ if (hasOwn) TomlError.x("trying to redefine an already defined value", ctx, errPtr);
21215
+ skipVoid(ctx, true, true);
21216
+ let value = extractValue(ctx, 125);
21217
+ if (t && typeof (t[k] = value) === "object") seen.add(value);
21218
+ skipVoid(ctx);
21219
+ if ((c = ctx.s.charCodeAt(ctx.p++)) === 125) return res;
21220
+ if (c !== 44) TomlError.x("expected comma or end of structure", ctx, ctx.p - 1);
21193
21221
  }
21194
- if (!c) throw new TomlError("unfinished table encountered", {
21195
- toml: str,
21196
- ptr
21197
- });
21198
- return [res, ptr];
21222
+ TomlError.x("unfinished table", ctx, startPtr);
21199
21223
  }
21200
- function parseArray(str, ptr, depth, integersAsBigInt) {
21224
+ /** @internal */
21225
+ function parseArray(ctx) {
21226
+ let startPtr = ctx.p++;
21201
21227
  let res = [];
21202
21228
  let c;
21203
- ptr++;
21204
- while ((c = str[ptr++]) !== "]" && c) if (c === ",") throw new TomlError("expected value, found comma", {
21205
- toml: str,
21206
- ptr: ptr - 1
21207
- });
21208
- else if (c === "#") ptr = skipComment(str, ptr);
21209
- else if (c !== " " && c !== " " && c !== "\n" && c !== "\r") {
21210
- let e = extractValue(str, ptr - 1, "]", depth - 1, integersAsBigInt);
21211
- res.push(e[0]);
21212
- ptr = e[1];
21229
+ while (ctx.p < ctx.s.length) {
21230
+ skipVoid(ctx);
21231
+ if ((c = ctx.s.charCodeAt(ctx.p)) === 93) {
21232
+ ctx.p++;
21233
+ return res;
21234
+ }
21235
+ res.push(extractValue(ctx, 93));
21236
+ skipVoid(ctx);
21237
+ if ((c = ctx.s.charCodeAt(ctx.p++)) === 93) return res;
21238
+ if (c !== 44) TomlError.x("expected comma or end of structure", ctx, ctx.p - 1);
21213
21239
  }
21214
- if (!c) throw new TomlError("unfinished array encountered", {
21215
- toml: str,
21216
- ptr
21217
- });
21218
- return [res, ptr];
21240
+ TomlError.x("unfinished array", ctx, startPtr);
21219
21241
  }
21220
21242
  //#endregion
21221
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/parse.js
21243
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/parse.js
21222
21244
  /*!
21223
21245
  * Copyright (c) Squirrel Chat et al., All rights reserved.
21224
21246
  * SPDX-License-Identifier: BSD-3-Clause
@@ -21246,7 +21268,7 @@ function parseArray(str, ptr, depth, integersAsBigInt) {
21246
21268
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21247
21269
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21248
21270
  */
21249
- function peekTable(key, table, meta, type) {
21271
+ function peekTable(ctx, key, table, meta, type) {
21250
21272
  let t = table;
21251
21273
  let m = meta;
21252
21274
  let k;
@@ -21254,7 +21276,7 @@ function peekTable(key, table, meta, type) {
21254
21276
  let state;
21255
21277
  for (let i = 0; i < key.length; i++) {
21256
21278
  if (i) {
21257
- t = hasOwn ? t[k] : t[k] = {};
21279
+ t = hasOwn ? t[k] : t[k] = Object.create(null);
21258
21280
  m = (state = m[k]).c;
21259
21281
  if (type === 0 && (state.t === 1 || state.t === 2)) return null;
21260
21282
  if (state.t === 2) {
@@ -21266,7 +21288,9 @@ function peekTable(key, table, meta, type) {
21266
21288
  k = key[i];
21267
21289
  if ((hasOwn = Object.hasOwn(t, k)) && m[k]?.t === 0 && m[k]?.d) return null;
21268
21290
  if (!hasOwn) {
21269
- if (k === "__proto__") {
21291
+ let unsafe = k === "__proto__";
21292
+ if (ctx.uk && (unsafe || k === "constructor")) return false;
21293
+ if (unsafe) {
21270
21294
  Object.defineProperty(t, k, {
21271
21295
  enumerable: true,
21272
21296
  configurable: true,
@@ -21282,7 +21306,7 @@ function peekTable(key, table, meta, type) {
21282
21306
  t: i < key.length - 1 && type === 2 ? 3 : type,
21283
21307
  d: false,
21284
21308
  i: 0,
21285
- c: {}
21309
+ c: Object.create(null)
21286
21310
  };
21287
21311
  }
21288
21312
  }
@@ -21293,17 +21317,17 @@ function peekTable(key, table, meta, type) {
21293
21317
  state.d = true;
21294
21318
  t[k] = [];
21295
21319
  }
21296
- t[k].push(t = {});
21320
+ t[k].push(t = Object.create(null));
21297
21321
  state.c[state.i++] = state = {
21298
21322
  t: 1,
21299
21323
  d: false,
21300
21324
  i: 0,
21301
- c: {}
21325
+ c: Object.create(null)
21302
21326
  };
21303
21327
  }
21304
21328
  if (state.d) return null;
21305
21329
  state.d = true;
21306
- if (type === 1) t = hasOwn ? t[k] : t[k] = {};
21330
+ if (type === 1) t = hasOwn ? t[k] : t[k] = Object.create(null);
21307
21331
  else if (type === 0 && hasOwn) return null;
21308
21332
  return [
21309
21333
  k,
@@ -21311,52 +21335,60 @@ function peekTable(key, table, meta, type) {
21311
21335
  state.c
21312
21336
  ];
21313
21337
  }
21314
- function parse$1(toml, { maxDepth = 1e3, integersAsBigInt } = {}) {
21315
- let res = {};
21316
- let meta = {};
21338
+ function validateTablePeek(ctx, peek, ptr) {
21339
+ if (peek === null || ctx.uk === 2) TomlError.x(peek === null ? "trying to redefine an already defined table or value" : "document contains an unsafe property", ctx, ptr);
21340
+ }
21341
+ function parse$1(toml, options = {}) {
21342
+ let ctx = {
21343
+ s: toml,
21344
+ p: 0,
21345
+ d: options.maxDepth ?? 1e3,
21346
+ bi: options.integersAsBigInt ?? false,
21347
+ ld: options.useLegacyDate ?? true,
21348
+ uk: options.unsafeKeyBehaviour === "throw" ? 2 : options.unsafeKeyBehaviour === "drop" ? 1 : 0
21349
+ };
21350
+ let res = Object.create(null);
21351
+ let meta = Object.create(null);
21352
+ let tmp;
21353
+ let skipping = false;
21317
21354
  let tbl = res;
21318
21355
  let m = meta;
21319
- for (let ptr = skipVoid(toml, 0); ptr < toml.length;) {
21320
- if (toml[ptr] === "[") {
21321
- let isTableArray = toml[++ptr] === "[";
21322
- let k = parseKey(toml, ptr += +isTableArray, "]");
21356
+ if (toml.charCodeAt(0) === 65279) ctx.p++;
21357
+ skipVoid(ctx);
21358
+ while (ctx.p < toml.length) {
21359
+ if (toml.charCodeAt(ctx.p) === 91) {
21360
+ let isTableArray = toml.charCodeAt(++ctx.p) === 91;
21361
+ tmp = ctx.p += +isTableArray;
21362
+ skipping = false;
21363
+ let k = parseKey(ctx, 93);
21323
21364
  if (isTableArray) {
21324
- if (toml[k[1] - 1] !== "]") throw new TomlError("expected end of table declaration", {
21325
- toml,
21326
- ptr: k[1] - 1
21327
- });
21328
- k[1]++;
21365
+ if (toml.charCodeAt(ctx.p) !== 93) TomlError.x("expected end of table array declaration", ctx);
21366
+ ctx.p++;
21367
+ }
21368
+ let p = peekTable(ctx, k, res, meta, isTableArray ? 2 : 1);
21369
+ if (!p) {
21370
+ validateTablePeek(ctx, p, tmp);
21371
+ skipping = true;
21372
+ } else {
21373
+ m = p[2];
21374
+ tbl = p[1];
21329
21375
  }
21330
- let p = peekTable(k[0], res, meta, isTableArray ? 2 : 1);
21331
- if (!p) throw new TomlError("trying to redefine an already defined table or value", {
21332
- toml,
21333
- ptr
21334
- });
21335
- m = p[2];
21336
- tbl = p[1];
21337
- ptr = k[1];
21338
21376
  } else {
21339
- let k = parseKey(toml, ptr);
21340
- let p = peekTable(k[0], tbl, m, 0);
21341
- if (!p) throw new TomlError("trying to redefine an already defined table or value", {
21342
- toml,
21343
- ptr
21344
- });
21345
- let v = extractValue(toml, k[1], void 0, maxDepth, integersAsBigInt);
21346
- p[1][p[0]] = v[0];
21347
- ptr = v[1];
21377
+ tmp = ctx.p;
21378
+ let p = peekTable(ctx, parseKey(ctx), tbl, m, 0);
21379
+ if (!p && !skipping) validateTablePeek(ctx, p, tmp);
21380
+ skipVoid(ctx, true, true);
21381
+ let v = extractValue(ctx, void 0);
21382
+ if (p && !skipping) p[1][p[0]] = v;
21348
21383
  }
21349
- ptr = skipVoid(toml, ptr, true);
21350
- if (toml[ptr] && toml[ptr] !== "\n" && toml[ptr] !== "\r") throw new TomlError("each key-value declaration must be followed by an end-of-line", {
21351
- toml,
21352
- ptr
21353
- });
21354
- ptr = skipVoid(toml, ptr);
21384
+ skipVoid(ctx, true);
21385
+ if (ctx.p < toml.length && (tmp = toml.charCodeAt(ctx.p)) !== 10 && (tmp !== 13 || toml.charCodeAt(ctx.p + 1) !== 10)) TomlError.x("each key-value declaration must be followed by an end-of-line", ctx);
21386
+ skipVoid(ctx);
21355
21387
  }
21356
21388
  return res;
21357
21389
  }
21358
21390
  //#endregion
21359
- //#region ../../node_modules/.pnpm/smol-toml@1.7.0/node_modules/smol-toml/dist/stringify.js
21391
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/stringify.js
21360
21392
  /*!
21361
21393
  * Copyright (c) Squirrel Chat et al., All rights reserved.
21362
21394
  * SPDX-License-Identifier: BSD-3-Clause
@@ -21385,11 +21417,20 @@ function parse$1(toml, { maxDepth = 1e3, integersAsBigInt } = {}) {
21385
21417
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21386
21418
  */
21387
21419
  let BARE_KEY = /^[a-z0-9-_]+$/i;
21420
+ let HAS_WELLFORMED = !!"".isWellFormed;
21388
21421
  function extendedTypeOf(obj) {
21389
21422
  let type = typeof obj;
21390
21423
  if (type === "object") {
21391
21424
  if (Array.isArray(obj)) return "array";
21392
- if (obj instanceof Date) return "date";
21425
+ if (typeof obj.getUTCDate === "function" && obj instanceof Date) return "date";
21426
+ if (globalThis.Temporal) {
21427
+ if (obj.until) {
21428
+ if (obj instanceof Temporal.ZonedDateTime) return "temporal/tz+uc";
21429
+ if (obj instanceof Temporal.PlainDateTime || obj instanceof Temporal.PlainDate) return "temporal/uc";
21430
+ if (obj instanceof Temporal.PlainTime || obj instanceof Temporal.Instant) return "temporal";
21431
+ if (obj instanceof Temporal.PlainYearMonth) return "temporal/x";
21432
+ } else if (obj.toPlainDate && obj instanceof Temporal.PlainMonthDay || obj.negated && obj instanceof Temporal.Duration) return "temporal/x";
21433
+ }
21393
21434
  }
21394
21435
  return type;
21395
21436
  }
@@ -21397,60 +21438,79 @@ function isArrayOfTables(obj) {
21397
21438
  for (let i = 0; i < obj.length; i++) if (extendedTypeOf(obj[i]) !== "object") return false;
21398
21439
  return obj.length != 0;
21399
21440
  }
21441
+ function formatWellFormedStringUnchecked(s) {
21442
+ return JSON.stringify(s).replaceAll("", "\\u007f");
21443
+ }
21400
21444
  function formatString(s) {
21401
- return JSON.stringify(s).replace(/\x7f/g, "\\u007f");
21445
+ return formatWellFormedStringUnchecked(HAS_WELLFORMED ? s.toWellFormed() : s);
21402
21446
  }
21403
- function stringifyValue(val, type, depth, numberAsFloat) {
21447
+ function formatKey(s) {
21448
+ if (BARE_KEY.test(s)) return s;
21449
+ if (HAS_WELLFORMED && !s.isWellFormed()) throw new RangeError("key contains illegal lone surrogates");
21450
+ return formatWellFormedStringUnchecked(s);
21451
+ }
21452
+ function stringifyValue(val, type, depth, numberAsFloat, strictTemporal) {
21404
21453
  if (depth === 0) throw new Error("Could not stringify the object: maximum object depth exceeded");
21405
- if (type === "number") {
21406
- if (isNaN(val)) return "nan";
21407
- if (val === Infinity) return "inf";
21408
- if (val === -Infinity) return "-inf";
21409
- if (Number.isInteger(val) && (numberAsFloat || !Number.isSafeInteger(val))) return val.toFixed(1);
21410
- return val.toString();
21411
- }
21412
- if (type === "bigint" || type === "boolean") return val.toString();
21413
- if (type === "string") return formatString(val);
21414
- if (type === "date") {
21415
- if (isNaN(val.getTime())) throw new TypeError("cannot serialize invalid date");
21416
- return val.toISOString();
21417
- }
21418
- if (type === "object") return stringifyInlineTable(val, depth, numberAsFloat);
21419
- if (type === "array") return stringifyArray(val, depth, numberAsFloat);
21420
- }
21421
- function stringifyInlineTable(obj, depth, numberAsFloat) {
21454
+ switch (type) {
21455
+ case "number":
21456
+ if (isNaN(val)) return "nan";
21457
+ if (val === Infinity) return "inf";
21458
+ if (val === -Infinity) return "-inf";
21459
+ if (Number.isInteger(val) && (numberAsFloat || !Number.isSafeInteger(val))) return val.toFixed(1);
21460
+ case "bigint":
21461
+ case "boolean":
21462
+ case "temporal": return val.toString();
21463
+ case "string": return formatString(val);
21464
+ case "date":
21465
+ if (isNaN(val.getTime())) throw new TypeError("cannot serialize invalid date");
21466
+ return val.toISOString();
21467
+ case "object": return stringifyInlineTable(val, depth, numberAsFloat, strictTemporal);
21468
+ case "array": return stringifyArray(val, depth, numberAsFloat, strictTemporal);
21469
+ case "temporal/tz+uc": if (strictTemporal) {
21470
+ let tz = val.timeZoneId;
21471
+ let tzc = tz.charCodeAt(0);
21472
+ if (tzc !== 43 && tzc !== 45 && (tzc !== 85 && tzc !== 71 && tzc !== 90 && tzc !== 69 || tz !== "UTC" && tz !== "UCT" && tz !== "Universal" && tz !== "Zulu" && !tz.startsWith("GMT") && tz !== "Greenwich" && !tz.startsWith("Etc/"))) throw new TypeError("Temporal objects with an IANA timezone are not allowed in Temporal strict mode");
21473
+ }
21474
+ case "temporal/uc":
21475
+ if (strictTemporal && val.calendarId !== "iso8601") throw new TypeError("Temporal objects with a non-default calendar are not allowed in Temporal strict mode");
21476
+ return val.toString({
21477
+ calendarName: "never",
21478
+ timeZoneName: "never"
21479
+ });
21480
+ case "temporal/x": throw new TypeError("Unsupported " + val[Symbol.toStringTag]);
21481
+ }
21482
+ }
21483
+ function stringifyInlineTable(obj, depth, numberAsFloat, strictTemporal) {
21422
21484
  let keys = Object.keys(obj);
21423
21485
  if (keys.length === 0) return "{}";
21424
21486
  let res = "{ ";
21425
21487
  for (let i = 0; i < keys.length; i++) {
21426
21488
  let k = keys[i];
21427
21489
  if (i) res += ", ";
21428
- res += BARE_KEY.test(k) ? k : formatString(k);
21429
- res += " = ";
21430
- res += stringifyValue(obj[k], extendedTypeOf(obj[k]), depth - 1, numberAsFloat);
21490
+ res += formatKey(k) + " = " + stringifyValue(obj[k], extendedTypeOf(obj[k]), depth - 1, numberAsFloat, strictTemporal);
21431
21491
  }
21432
21492
  return res + " }";
21433
21493
  }
21434
- function stringifyArray(array, depth, numberAsFloat) {
21494
+ function stringifyArray(array, depth, numberAsFloat, strictTemporal) {
21435
21495
  if (array.length === 0) return "[]";
21436
21496
  let res = "[ ";
21437
21497
  for (let i = 0; i < array.length; i++) {
21438
21498
  if (i) res += ", ";
21439
21499
  if (array[i] === null || array[i] === void 0) throw new TypeError("arrays cannot contain null or undefined values");
21440
- res += stringifyValue(array[i], extendedTypeOf(array[i]), depth - 1, numberAsFloat);
21500
+ res += stringifyValue(array[i], extendedTypeOf(array[i]), depth - 1, numberAsFloat, strictTemporal);
21441
21501
  }
21442
21502
  return res + " ]";
21443
21503
  }
21444
- function stringifyArrayTable(array, key, depth, numberAsFloat) {
21504
+ function stringifyArrayTable(array, key, depth, numberAsFloat, strictTemporal) {
21445
21505
  if (depth === 0) throw new Error("Could not stringify the object: maximum object depth exceeded");
21446
21506
  let res = "";
21447
21507
  for (let i = 0; i < array.length; i++) {
21448
21508
  res += `${res && "\n"}[[${key}]]\n`;
21449
- res += stringifyTable(0, array[i], key, depth, numberAsFloat);
21509
+ res += stringifyTable(0, array[i], key, depth, numberAsFloat, strictTemporal);
21450
21510
  }
21451
21511
  return res;
21452
21512
  }
21453
- function stringifyTable(tableKey, obj, prefix, depth, numberAsFloat) {
21513
+ function stringifyTable(tableKey, obj, prefix, depth, numberAsFloat, strictTemporal) {
21454
21514
  if (depth === 0) throw new Error("Could not stringify the object: maximum object depth exceeded");
21455
21515
  let preamble = "";
21456
21516
  let tables = "";
@@ -21460,15 +21520,15 @@ function stringifyTable(tableKey, obj, prefix, depth, numberAsFloat) {
21460
21520
  if (obj[k] !== null && obj[k] !== void 0) {
21461
21521
  let type = extendedTypeOf(obj[k]);
21462
21522
  if (type === "symbol" || type === "function") throw new TypeError(`cannot serialize values of type '${type}'`);
21463
- let key = BARE_KEY.test(k) ? k : formatString(k);
21464
- if (type === "array" && isArrayOfTables(obj[k])) tables += (tables && "\n") + stringifyArrayTable(obj[k], prefix ? `${prefix}.${key}` : key, depth - 1, numberAsFloat);
21523
+ let key = formatKey(k);
21524
+ if (type === "array" && isArrayOfTables(obj[k])) tables += (tables && "\n") + stringifyArrayTable(obj[k], prefix ? `${prefix}.${key}` : key, depth - 1, numberAsFloat, strictTemporal);
21465
21525
  else if (type === "object") {
21466
21526
  let tblKey = prefix ? `${prefix}.${key}` : key;
21467
- tables += (tables && "\n") + stringifyTable(tblKey, obj[k], tblKey, depth - 1, numberAsFloat);
21527
+ tables += (tables && "\n") + stringifyTable(tblKey, obj[k], tblKey, depth - 1, numberAsFloat, strictTemporal);
21468
21528
  } else {
21469
21529
  preamble += key;
21470
21530
  preamble += " = ";
21471
- preamble += stringifyValue(obj[k], type, depth, numberAsFloat);
21531
+ preamble += stringifyValue(obj[k], type, depth, numberAsFloat, strictTemporal);
21472
21532
  preamble += "\n";
21473
21533
  }
21474
21534
  }
@@ -21476,13 +21536,42 @@ function stringifyTable(tableKey, obj, prefix, depth, numberAsFloat) {
21476
21536
  if (tableKey && (preamble || !tables)) preamble = preamble ? `[${tableKey}]\n${preamble}` : `[${tableKey}]`;
21477
21537
  return preamble && tables ? `${preamble}\n${tables}` : preamble || tables;
21478
21538
  }
21479
- function stringify(obj, { maxDepth = 1e3, numbersAsFloat = false } = {}) {
21539
+ function stringify(obj, { maxDepth = 1e3, numbersAsFloat = false, strictTemporal = false } = {}) {
21480
21540
  if (extendedTypeOf(obj) !== "object") throw new TypeError("stringify can only be called with an object");
21481
- let str = stringifyTable(0, obj, "", maxDepth, numbersAsFloat);
21541
+ let str = stringifyTable(0, obj, "", maxDepth, numbersAsFloat, strictTemporal);
21482
21542
  if (str[str.length - 1] !== "\n") return str + "\n";
21483
21543
  return str;
21484
21544
  }
21485
21545
  //#endregion
21546
+ //#region ../../node_modules/.pnpm/smol-toml@1.9.0/node_modules/smol-toml/dist/index.js
21547
+ /*!
21548
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
21549
+ * SPDX-License-Identifier: BSD-3-Clause
21550
+ *
21551
+ * Redistribution and use in source and binary forms, with or without
21552
+ * modification, are permitted provided that the following conditions are met:
21553
+ *
21554
+ * 1. Redistributions of source code must retain the above copyright notice, this
21555
+ * list of conditions and the following disclaimer.
21556
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
21557
+ * this list of conditions and the following disclaimer in the
21558
+ * documentation and/or other materials provided with the distribution.
21559
+ * 3. Neither the name of the copyright holder nor the names of its contributors
21560
+ * may be used to endorse or promote products derived from this software without
21561
+ * specific prior written permission.
21562
+ *
21563
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
21564
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21565
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21566
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21567
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21568
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21569
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21570
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21571
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21572
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21573
+ */
21574
+ //#endregion
21486
21575
  //#region ../../runtime/adapters/grok-build/dist/transport/grok-build-delivery-only.js
21487
21576
  const FINAL_TOOLS = [
21488
21577
  "read_receipt",
@@ -34127,9 +34216,9 @@ function createModelCatalogReadSession(input) {
34127
34216
  async function readModelCatalogOnce(baseUrl) {
34128
34217
  try {
34129
34218
  const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
34130
- import("./dist-DaKpDnJa.js"),
34131
- import("./base-url-uaTFrave.js"),
34132
- import("./api-client-foundation-C3A2-JkQ.js")
34219
+ import("./dist-LObwcebd.js"),
34220
+ import("./base-url-B7zX2h2d.js"),
34221
+ import("./api-client-foundation-BqzfXt-g.js")
34133
34222
  ]);
34134
34223
  if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
34135
34224
  const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
@@ -35973,6 +36062,6 @@ async function prepareProviderRuntime(input, options = {}) {
35973
36062
  return await preparer(input);
35974
36063
  }
35975
36064
  //#endregion
35976
- export { canManageRegistryAgentSkillTargets as $, loadLedgerState as $n, applyAcceptedLeases as $r, buildDispatchReplyContextSummary as $t, createExpectedRoutesReadSession as A, resolveInstalledCodexLaunchCandidates as An, getAgentControllerPermissionModeFieldLabel as Ar, resolveRegistryRuntimeAdapterContractByAgentControllerRef as At, reconcileNewRunnableBuiltinAgentsForSetup as B, updateClaudeNativeInstallation as Bn, renderWorkingLanguagePrompt as Br, validateCustomProfileWorkspacePath as Bt, createModelCatalogReadSession as C, installGrokBotTools as Cn, buildInformationProtectionPromptPlan as Cr, canonicalizeLocalProjectPath as Ct, NO_LOCAL_AGENTS_NEED_OPENMELD_SERVICE_REASON as D, supportsGrokBotSetup as Dn, createAgentExecutionStatusDisplayRows as Dr, listBuiltinAgentsRegistryEntries as Dt, resolveProfileWorkspaceRuntime as E, readManagedGrokBotCandidate as En, createAgentControllerInterfaceDisplayRows as Er, withAgentActivityLocalStateLock as Et, listAgentRegistrations as F, projectCodexUsageObservation as Fn, parseAgentControllerRef as Fr, readSavedProfileWorkspaceForAccount as Ft, updateAgentRegistrations as G, emitReconcileCompletedEvidence as Gn, resolveNativeAgentControllerPermissionModeForController as Gr, summarizeSkippedDaemonProfiles as Gt, resolveAgentTargetState as H, checkAntigravityAcpAccount as Hn, resolveAgentExecutionStatus as Hr, createMutableRouteCatalogState as Ht, listAgentTargetStates as I, readCodexAccountUsageObservation as In, peopleComputerContainsDevice as Ir, resolveConfiguredProfileWorkspacePath as It, normalizeAgentIds as J, runRuntimeTask as Jn, supportsSpaceWorkHandoff as Jr, syncRuntimeEventToInflightTaskControlRegistry as Jt, notifyDaemonRouteCatalogChanged as K, emitReconcileStartedEvidence as Kn, resolveSelectableCandidates as Kr, syncDaemonRouteCatalogState as Kt, manageAgentRegistrationInstallation as L, probeClaudeCodeUsageLimits as Ln, projectPeopleComputersToLegacyLocalRuntimes as Lr, resolveConfiguredProfileWorkspacePathForAccount as Lt, addAgentCustomTarget as M, probeCodexAppServerAccount as Mn, isAgentControllerUsageRefreshUnavailable as Mr, normalizeCustomProfileWorkspacePath as Mt, createRegistrationFromCatalogTarget as N, resolveCodexAppServerCompletedTurn as Nn, isAgentExecutionReadyOrConnecting as Nr, readProfileWorkspaceConfig as Nt, syncDeviceRuntimeStateProjection as O, projectCursorUsageLimits as On, createAuthorityOpenMeldServiceRuntimeId as Or, resolveRegistryOriginLaunchCommand as Ot, listAgentCustomTargets as P, verifyCodexAppServerThread as Pn, listAgentControllerPermissionModeOptions as Pr, readProfileWorkspaceConfigForAccount as Pt, resolveLocalRegistryAgentIdFromAgentControllerRef as Q, commitResolvedAgentContext as Qn, MIN_HEARTBEAT_INTERVAL_MS as Qr, createSerialAgentInteractionCallback as Qt, readAgentRuntimeConfigHealth as R, readClaudeNativeVersion as Rn, renderInformationProtectionPrompt as Rr, setCustomProfileWorkspace as Rt, syncProfileWorkspaceState as S, resolveInstalledGrokBuildLaunchCandidates as Sn, buildAgentControllerRef as Sr, unbindProject as St, resolveEffectiveProfileWorkingFolderRuntime as T, loginManagedGrokBot as Tn, compareAgentControllerVersions as Tr, withAgentActivityDeliveryLock as Tt, setAgentRegistrationEnabled as U, isAntigravityAcpLaunchContract as Un, resolveAgentProfileEditCapabilities as Ur, createRouteCatalogFromMutableState as Ut, removeAgentCustomTarget as V, resolveInstalledClaudeCodeLaunchCandidates as Vn, resolveAgentControllerPermissionModeForController as Vr, describeProfileWorkspacePathValidationFailure as Vt, updateAgentCustomTarget as W, emitDriftDetectedEvidence as Wn, resolveEvidenceSyncHealth as Wr, replaceMutableRouteCatalogState as Wt, sortAgentRegistrations as X, buildTaskResultEnvelope as Xn, ADAPTIVE_HEARTBEAT_JITTER_RATIO as Xr, SPACE_ACTION_TARGET_GUIDANCE_LINES as Xt, parseAgentEnabledOption as Y, buildRuntimeWorkspaceFingerprint as Yn, resolveRouteRegistrationReconcileDecision as Yr, SPACE_ACTION_CONTEXT_GUIDANCE_LINES as Yt, repairBuiltinControllerInstall as Z, appendLedgerHistoryEntry as Zn, MAX_HEARTBEAT_INTERVAL_MS as Zr, isDaemonReconcileInProgressError as Zt, loadDaemonRouteCatalog as _, forkOpenCodeServerSession as _n, DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV as _r, removeMissingProjectConnections as _t, buildOpenClawSpaceSessionKey as a, createLocalExecutionSlots as an, withLedgerStateTransaction as ar, isHomebrewCommandPath as at, resolveLocalController as b, GrokBuildAcpTransportError as bn, TASK_KNOWLEDGE_GUIDANCE as br, runIfAgentActivityBindingGenerationIsCurrent as bt, findOpenClawAgentById as c, resolveDispatchContinuityObservation as cn, buildAgentContextLookupKey as cr, ProjectBindingOperationError as ct, resolveOpenClawAuthStatus as d, resolveLatestScopedConversationExecutionState as dn, resolveDispatchSpaceActionMcpServer as dr, hasProjectBindingForPath as dt, applyIntervalJitterMs as ei, normalizeDispatchPostMessageAction as en, removeConversationExecutionState as er, detectInstalledSkillsAgents as et, resolveOpenClawProviderRuntimeWorkingDirectory as f, resolveCatalogSyncSkippedProfilesLogState as fn, buildCliLaunchInvocation as fr, isProjectBound as ft, writeDaemonRouteCatalogCache as g, parseOpenCodeGoUsageResponse as gn, createProviderOriginalError as gr, removeAgentActivityBindingsWhileDeliveryLocked as gt, readDaemonRouteCatalogCache as h, parseOpenRouterUsageResponse as hn, listAgentControllerSupervisedProcessIds as hr, migrateProjectBindingStore as ht, listOpenClawGatewayAgents as i, __toESM as ii, buildLocalServiceDiagnosticsPayload as in, upsertConversationExecutionState as ir, isBunGlobalCommandPath as it, resolveAgentProfilePrimaryAgentControllerReport as j, forkCodexAppServerThread as jn, isAgentControllerUsageAccountUnavailable as jr, ensureOpenMeldManagedProfileWorkspace as jt, createPrimaryBindingReadSession as k, resolveCodexTimeoutMs as kn, getAgentControllerPermissionModeDisplayMetadata as kr, resolveRegistryRuntimeAdapterCapabilitySnapshot as kt, findOpenClawAgentsByWorkspace as l, resolveCompatibleAgentContextMatch as ln, createUnavailableProviderUsageLimits as lr, ProjectBindingStoreUpdateRequiredError as lt, resolveOpenClawLocalBootstrapPaths as m, createLocalAdapterEntries as mn, resolveExecutablePathsOnPath as mr, listProjectConnectionsWithStatus as mt, fetchOpenClawGatewayHealth as n, resolveAdaptiveHeartbeatIntervalMs as ni, mergeOpenClawGatewayVisibility as nn, seedLegacyAgentContext as nr, EMPTY_AGENT_CONTROLLER_INTERFACE_CAPABILITIES as nt, normalizeOpenClawSpaceIdPrefix as o, createInflightTaskControlRegistry as on, buildAuthenticatedControlPlaneResponse as or, isNpmGlobalCommandPath as ot, readOpenClawLocalBootstrapState as p, createLocalAdapterContainer as pn, materializeCliLaunchCommand as pr, listProjectBindings as pt, normalizeAgentId as q, DaemonServiceRunError as qn, supportsExecutionContextSelection as qr, normalizeDispatchThreadAction as qt, listOpenClawAgents as r, resolveCatalogSyncIntervalMs as ri, createLocalTaskInterruptSender as rn, settleInflightTask as rr, resolveBuiltinAgentControllerDefinition as rt, slugifyOpenClawNamePart as s, resolveDispatchQueueLogMeta as sn, assertLegacyAgentContextAssociation as sr, isPnpmGlobalCommandPath as st, prepareProviderRuntime as t, pruneStaleLeases as ti, createPendingAgentInteractionRegistry as tn, resolveConversationExecutionStateByLookupKey as tr, resolveSkillsAgentRegistry as tt, matchesExpectedWorkspace as u, resolveCompatibleConversationExecutionState as un, createUnsupportedProviderUsageLimits as ur, bindProject as ut, buildRuntimeRouteTargets as v, readOpenCode2Inventory as vn, isDispatchSpaceActionDeliveryOnly as vr, removeProjectConnection as vt, resolveCurrentEffectiveProfileWorkingFolderRuntime as w, isManagedGrokBotSignedIn as wn, buildWorkingLanguagePromptPlan as wr, resolveLocalProjectConnectionForPath as wt, resolveLocalRuntimeControllerSupport as x, probeGrokBuildAcpInterface as xn, areAgentControllerInterfaceAccountsSame as xr, setDefaultProjectConnection as xt, readLocalEnabledControllers as y, resolveInstalledOpenCodeLaunchCandidates as yn, DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS as yr, resolveProjectBindingForPath as yt, reconcileNewRunnableBuiltinAgentRegistrations as z, resolveClaudeNativeUpdateCommand as zn, renderTaskKnowledgeIndex as zr, setOpenMeldManagedProfileWorkspace as zt };
36065
+ export { canManageRegistryAgentSkillTargets as $, removeConversationExecutionState as $n, pruneStaleLeases as $r, buildDispatchReplyContextSummary as $t, createExpectedRoutesReadSession as A, resolveInstalledCodexLaunchCandidates as An, isAgentControllerUsageRefreshUnavailable as Ar, resolveRegistryRuntimeAdapterContractByAgentControllerRef as At, reconcileNewRunnableBuiltinAgentsForSetup as B, updateClaudeNativeInstallation as Bn, resolveAgentExecutionStatus as Br, validateCustomProfileWorkspacePath as Bt, createModelCatalogReadSession as C, installGrokBotTools as Cn, compareAgentControllerVersions as Cr, canonicalizeLocalProjectPath as Ct, NO_LOCAL_AGENTS_NEED_OPENMELD_SERVICE_REASON as D, supportsGrokBotSetup as Dn, getAgentControllerPermissionModeDisplayMetadata as Dr, listBuiltinAgentsRegistryEntries as Dt, resolveProfileWorkspaceRuntime as E, readManagedGrokBotCandidate as En, createAuthorityOpenMeldServiceRuntimeId as Er, withAgentActivityLocalStateLock as Et, listAgentRegistrations as F, projectCodexUsageObservation as Fn, projectPeopleComputersToLegacyLocalRuntimes as Fr, readSavedProfileWorkspaceForAccount as Ft, updateAgentRegistrations as G, emitReconcileCompletedEvidence as Gn, supportsExecutionContextSelection as Gr, summarizeSkippedDaemonProfiles as Gt, resolveAgentTargetState as H, checkAntigravityAcpAccount as Hn, resolveEvidenceSyncHealth as Hr, createMutableRouteCatalogState as Ht, listAgentTargetStates as I, readCodexAccountUsageObservation as In, renderInformationProtectionPrompt as Ir, resolveConfiguredProfileWorkspacePath as It, normalizeAgentIds as J, runRuntimeTask as Jn, ADAPTIVE_HEARTBEAT_JITTER_RATIO as Jr, syncRuntimeEventToInflightTaskControlRegistry as Jt, notifyDaemonRouteCatalogChanged as K, emitReconcileStartedEvidence as Kn, supportsSpaceWorkHandoff as Kr, syncDaemonRouteCatalogState as Kt, manageAgentRegistrationInstallation as L, probeClaudeCodeUsageLimits as Ln, renderTaskKnowledgeIndex as Lr, resolveConfiguredProfileWorkspacePathForAccount as Lt, addAgentCustomTarget as M, probeCodexAppServerAccount as Mn, listAgentControllerPermissionModeOptions as Mr, normalizeCustomProfileWorkspacePath as Mt, createRegistrationFromCatalogTarget as N, resolveCodexAppServerCompletedTurn as Nn, parseAgentControllerRef as Nr, readProfileWorkspaceConfig as Nt, syncDeviceRuntimeStateProjection as O, projectCursorUsageLimits as On, getAgentControllerPermissionModeFieldLabel as Or, resolveRegistryOriginLaunchCommand as Ot, listAgentCustomTargets as P, verifyCodexAppServerThread as Pn, peopleComputerContainsDevice as Pr, readProfileWorkspaceConfigForAccount as Pt, resolveLocalRegistryAgentIdFromAgentControllerRef as Q, loadLedgerState as Qn, applyIntervalJitterMs as Qr, createSerialAgentInteractionCallback as Qt, readAgentRuntimeConfigHealth as R, readClaudeNativeVersion as Rn, renderWorkingLanguagePrompt as Rr, setCustomProfileWorkspace as Rt, syncProfileWorkspaceState as S, resolveInstalledGrokBuildLaunchCandidates as Sn, buildWorkingLanguagePromptPlan as Sr, unbindProject as St, resolveEffectiveProfileWorkingFolderRuntime as T, loginManagedGrokBot as Tn, createAgentExecutionStatusDisplayRows as Tr, withAgentActivityDeliveryLock as Tt, setAgentRegistrationEnabled as U, isAntigravityAcpLaunchContract as Un, resolveNativeAgentControllerPermissionModeForController as Ur, createRouteCatalogFromMutableState as Ut, removeAgentCustomTarget as V, resolveInstalledClaudeCodeLaunchCandidates as Vn, resolveAgentProfileEditCapabilities as Vr, describeProfileWorkspacePathValidationFailure as Vt, updateAgentCustomTarget as W, emitDriftDetectedEvidence as Wn, resolveSelectableCandidates as Wr, replaceMutableRouteCatalogState as Wt, sortAgentRegistrations as X, buildTaskResultEnvelope as Xn, MIN_HEARTBEAT_INTERVAL_MS as Xr, SPACE_ACTION_TARGET_GUIDANCE_LINES as Xt, parseAgentEnabledOption as Y, buildRuntimeWorkspaceFingerprint as Yn, MAX_HEARTBEAT_INTERVAL_MS as Yr, SPACE_ACTION_CONTEXT_GUIDANCE_LINES as Yt, repairBuiltinControllerInstall as Z, commitResolvedAgentContext as Zn, applyAcceptedLeases as Zr, isDaemonReconcileInProgressError as Zt, loadDaemonRouteCatalog as _, forkOpenCodeServerSession as _n, DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS as _r, removeMissingProjectConnections as _t, buildOpenClawSpaceSessionKey as a, createLocalExecutionSlots as an, assertLegacyAgentContextAssociation as ar, isHomebrewCommandPath as at, resolveLocalController as b, GrokBuildAcpTransportError as bn, buildAgentControllerRef as br, runIfAgentActivityBindingGenerationIsCurrent as bt, findOpenClawAgentById as c, resolveDispatchContinuityObservation as cn, createUnsupportedProviderUsageLimits as cr, ProjectBindingOperationError as ct, resolveOpenClawAuthStatus as d, resolveLatestScopedConversationExecutionState as dn, materializeCliLaunchCommand as dr, hasProjectBindingForPath as dt, resolveAdaptiveHeartbeatIntervalMs as ei, normalizeDispatchPostMessageAction as en, resolveConversationExecutionStateByLookupKey as er, detectInstalledSkillsAgents as et, resolveOpenClawProviderRuntimeWorkingDirectory as f, resolveCatalogSyncSkippedProfilesLogState as fn, resolveExecutablePathsOnPath as fr, isProjectBound as ft, writeDaemonRouteCatalogCache as g, parseOpenCodeGoUsageResponse as gn, isDispatchSpaceActionDeliveryOnly as gr, removeAgentActivityBindingsWhileDeliveryLocked as gt, readDaemonRouteCatalogCache as h, parseOpenRouterUsageResponse as hn, DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV as hr, migrateProjectBindingStore as ht, listOpenClawGatewayAgents as i, buildLocalServiceDiagnosticsPayload as in, buildAuthenticatedControlPlaneResponse as ir, isBunGlobalCommandPath as it, resolveAgentProfilePrimaryAgentControllerReport as j, forkCodexAppServerThread as jn, isAgentExecutionReadyOrConnecting as jr, ensureOpenMeldManagedProfileWorkspace as jt, createPrimaryBindingReadSession as k, resolveCodexTimeoutMs as kn, isAgentControllerUsageAccountUnavailable as kr, resolveRegistryRuntimeAdapterCapabilitySnapshot as kt, findOpenClawAgentsByWorkspace as l, resolveCompatibleAgentContextMatch as ln, resolveDispatchSpaceActionMcpServer as lr, ProjectBindingStoreUpdateRequiredError as lt, resolveOpenClawLocalBootstrapPaths as m, createLocalAdapterEntries as mn, createProviderOriginalError as mr, listProjectConnectionsWithStatus as mt, fetchOpenClawGatewayHealth as n, __toESM as ni, mergeOpenClawGatewayVisibility as nn, upsertConversationExecutionState as nr, EMPTY_AGENT_CONTROLLER_INTERFACE_CAPABILITIES as nt, normalizeOpenClawSpaceIdPrefix as o, createInflightTaskControlRegistry as on, buildAgentContextLookupKey as or, isNpmGlobalCommandPath as ot, readOpenClawLocalBootstrapState as p, createLocalAdapterContainer as pn, listAgentControllerSupervisedProcessIds as pr, listProjectBindings as pt, normalizeAgentId as q, DaemonServiceRunError as qn, resolveRouteRegistrationReconcileDecision as qr, normalizeDispatchThreadAction as qt, listOpenClawAgents as r, createLocalTaskInterruptSender as rn, withLedgerStateTransaction as rr, resolveBuiltinAgentControllerDefinition as rt, slugifyOpenClawNamePart as s, resolveDispatchQueueLogMeta as sn, createUnavailableProviderUsageLimits as sr, isPnpmGlobalCommandPath as st, prepareProviderRuntime as t, resolveCatalogSyncIntervalMs as ti, createPendingAgentInteractionRegistry as tn, seedLegacyAgentContext as tr, resolveSkillsAgentRegistry as tt, matchesExpectedWorkspace as u, resolveCompatibleConversationExecutionState as un, buildCliLaunchInvocation as ur, bindProject as ut, buildRuntimeRouteTargets as v, readOpenCode2Inventory as vn, TASK_KNOWLEDGE_GUIDANCE as vr, removeProjectConnection as vt, resolveCurrentEffectiveProfileWorkingFolderRuntime as w, isManagedGrokBotSignedIn as wn, createAgentControllerInterfaceDisplayRows as wr, resolveLocalProjectConnectionForPath as wt, resolveLocalRuntimeControllerSupport as x, probeGrokBuildAcpInterface as xn, buildInformationProtectionPromptPlan as xr, setDefaultProjectConnection as xt, readLocalEnabledControllers as y, resolveInstalledOpenCodeLaunchCandidates as yn, areAgentControllerInterfaceAccountsSame as yr, resolveProjectBindingForPath as yt, reconcileNewRunnableBuiltinAgentRegistrations as z, resolveClaudeNativeUpdateCommand as zn, resolveAgentControllerPermissionModeForController as zr, setOpenMeldManagedProfileWorkspace as zt };
35977
36066
 
35978
- //# sourceMappingURL=prepare-provider-runtime-B0gBhnir.js.map
36067
+ //# sourceMappingURL=prepare-provider-runtime-BbJnigvx.js.map