@happier-dev/stack 0.2.0 → 0.2.11

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 (2613) hide show
  1. package/README.md +4 -4
  2. package/bin/happier.mjs +8 -1
  3. package/bin/hstack.mjs +51 -36
  4. package/bin/localBundledWorkspacePreflight.mjs +48 -0
  5. package/docs/server-flavors.md +10 -13
  6. package/node_modules/@happier-dev/agents/dist/advancedModes.d.ts +1 -1
  7. package/node_modules/@happier-dev/agents/dist/advancedModes.d.ts.map +1 -1
  8. package/node_modules/@happier-dev/agents/dist/advancedModes.js.map +1 -1
  9. package/node_modules/@happier-dev/agents/dist/auth.d.ts +2 -2
  10. package/node_modules/@happier-dev/agents/dist/auth.d.ts.map +1 -1
  11. package/node_modules/@happier-dev/agents/dist/auth.js +25 -5
  12. package/node_modules/@happier-dev/agents/dist/auth.js.map +1 -1
  13. package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.d.ts +16 -0
  14. package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.d.ts.map +1 -0
  15. package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.js +56 -0
  16. package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.js.map +1 -0
  17. package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.d.ts +114 -0
  18. package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.d.ts.map +1 -0
  19. package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.js +318 -0
  20. package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.js.map +1 -0
  21. package/node_modules/@happier-dev/agents/dist/index.d.ts +29 -14
  22. package/node_modules/@happier-dev/agents/dist/index.d.ts.map +1 -1
  23. package/node_modules/@happier-dev/agents/dist/index.js +25 -11
  24. package/node_modules/@happier-dev/agents/dist/index.js.map +1 -1
  25. package/node_modules/@happier-dev/agents/dist/localCli.d.ts +2 -1
  26. package/node_modules/@happier-dev/agents/dist/localCli.d.ts.map +1 -1
  27. package/node_modules/@happier-dev/agents/dist/localCli.js +68 -43
  28. package/node_modules/@happier-dev/agents/dist/localCli.js.map +1 -1
  29. package/node_modules/@happier-dev/agents/dist/manifest.d.ts +419 -162
  30. package/node_modules/@happier-dev/agents/dist/manifest.d.ts.map +1 -1
  31. package/node_modules/@happier-dev/agents/dist/manifest.js +221 -6
  32. package/node_modules/@happier-dev/agents/dist/manifest.js.map +1 -1
  33. package/node_modules/@happier-dev/agents/dist/mediaCapabilities.d.ts +5 -0
  34. package/node_modules/@happier-dev/agents/dist/mediaCapabilities.d.ts.map +1 -0
  35. package/node_modules/@happier-dev/agents/dist/mediaCapabilities.js +11 -0
  36. package/node_modules/@happier-dev/agents/dist/mediaCapabilities.js.map +1 -0
  37. package/node_modules/@happier-dev/agents/dist/models.d.ts +25 -0
  38. package/node_modules/@happier-dev/agents/dist/models.d.ts.map +1 -1
  39. package/node_modules/@happier-dev/agents/dist/models.js +99 -68
  40. package/node_modules/@happier-dev/agents/dist/models.js.map +1 -1
  41. package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.d.ts +20 -0
  42. package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.d.ts.map +1 -0
  43. package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.js +35 -0
  44. package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.js.map +1 -0
  45. package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.d.ts +2 -0
  46. package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.d.ts.map +1 -0
  47. package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.js +12 -0
  48. package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.js.map +1 -0
  49. package/node_modules/@happier-dev/agents/dist/permissions/index.d.ts +5 -0
  50. package/node_modules/@happier-dev/agents/dist/permissions/index.d.ts.map +1 -1
  51. package/node_modules/@happier-dev/agents/dist/permissions/index.js +23 -59
  52. package/node_modules/@happier-dev/agents/dist/permissions/index.js.map +1 -1
  53. package/node_modules/@happier-dev/agents/dist/permissions/privilege.d.ts +33 -0
  54. package/node_modules/@happier-dev/agents/dist/permissions/privilege.d.ts.map +1 -0
  55. package/node_modules/@happier-dev/agents/dist/permissions/privilege.js +95 -0
  56. package/node_modules/@happier-dev/agents/dist/permissions/privilege.js.map +1 -0
  57. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.d.ts +171 -80
  58. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.d.ts.map +1 -1
  59. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.js +62 -0
  60. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.js.map +1 -1
  61. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.d.ts +10 -10
  62. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.d.ts.map +1 -1
  63. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.d.ts +65 -0
  64. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.d.ts.map +1 -0
  65. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.js +81 -0
  66. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.js.map +1 -0
  67. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.d.ts +36 -0
  68. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.d.ts.map +1 -0
  69. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.js +33 -0
  70. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.js.map +1 -0
  71. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts +16 -16
  72. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts.map +1 -1
  73. package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts +4 -1
  74. package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts.map +1 -1
  75. package/node_modules/@happier-dev/agents/dist/providerSettings/index.js +3 -1
  76. package/node_modules/@happier-dev/agents/dist/providerSettings/index.js.map +1 -1
  77. package/node_modules/@happier-dev/agents/dist/providerSettings/registry.d.ts.map +1 -1
  78. package/node_modules/@happier-dev/agents/dist/providerSettings/registry.js +4 -0
  79. package/node_modules/@happier-dev/agents/dist/providerSettings/registry.js.map +1 -1
  80. package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.d.ts +49 -0
  81. package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.d.ts.map +1 -0
  82. package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.js +102 -0
  83. package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.js.map +1 -0
  84. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts +9 -2
  85. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts.map +1 -1
  86. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js +52 -20
  87. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js.map +1 -1
  88. package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.d.ts +13 -0
  89. package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.d.ts.map +1 -0
  90. package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.js +13 -0
  91. package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.js.map +1 -0
  92. package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts +7 -2
  93. package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts.map +1 -1
  94. package/node_modules/@happier-dev/agents/dist/providers/claude/index.js +7 -2
  95. package/node_modules/@happier-dev/agents/dist/providers/claude/index.js.map +1 -1
  96. package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.d.ts +9 -0
  97. package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.d.ts.map +1 -0
  98. package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.js +13 -0
  99. package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.js.map +1 -0
  100. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.d.ts +14 -0
  101. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.d.ts.map +1 -0
  102. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.js +37 -0
  103. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.js.map +1 -0
  104. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.d.ts +5 -0
  105. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.d.ts.map +1 -0
  106. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.js +18 -0
  107. package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.js.map +1 -0
  108. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts +7 -1
  109. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts.map +1 -1
  110. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.js +8 -0
  111. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.js.map +1 -1
  112. package/node_modules/@happier-dev/agents/dist/providers/codex/index.d.ts +3 -0
  113. package/node_modules/@happier-dev/agents/dist/providers/codex/index.d.ts.map +1 -0
  114. package/node_modules/@happier-dev/agents/dist/providers/codex/index.js +3 -0
  115. package/node_modules/@happier-dev/agents/dist/providers/codex/index.js.map +1 -0
  116. package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.d.ts +12 -0
  117. package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.d.ts.map +1 -0
  118. package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.js +17 -0
  119. package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.js.map +1 -0
  120. package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.d.ts +3 -0
  121. package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.d.ts.map +1 -0
  122. package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.js +26 -0
  123. package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.js.map +1 -0
  124. package/node_modules/@happier-dev/agents/dist/providers/gemini/index.d.ts +2 -0
  125. package/node_modules/@happier-dev/agents/dist/providers/gemini/index.d.ts.map +1 -0
  126. package/node_modules/@happier-dev/agents/dist/providers/gemini/index.js +2 -0
  127. package/node_modules/@happier-dev/agents/dist/providers/gemini/index.js.map +1 -0
  128. package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.d.ts +7 -0
  129. package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.d.ts.map +1 -0
  130. package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.js +11 -0
  131. package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.js.map +1 -0
  132. package/node_modules/@happier-dev/agents/dist/providers/index.d.ts +2 -0
  133. package/node_modules/@happier-dev/agents/dist/providers/index.d.ts.map +1 -1
  134. package/node_modules/@happier-dev/agents/dist/providers/index.js +2 -0
  135. package/node_modules/@happier-dev/agents/dist/providers/index.js.map +1 -1
  136. package/node_modules/@happier-dev/agents/dist/providers/pi/thinking.d.ts +3 -3
  137. package/node_modules/@happier-dev/agents/dist/providers/pi/thinking.d.ts.map +1 -1
  138. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts +38 -1
  139. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts.map +1 -1
  140. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js +145 -26
  141. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js.map +1 -1
  142. package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.d.ts +3 -0
  143. package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.d.ts.map +1 -0
  144. package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.js +9 -0
  145. package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.js.map +1 -0
  146. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts +26 -0
  147. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts.map +1 -1
  148. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js +52 -10
  149. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js.map +1 -1
  150. package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.d.ts +16 -0
  151. package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.d.ts.map +1 -0
  152. package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.js +120 -0
  153. package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.js.map +1 -0
  154. package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.d.ts +82 -0
  155. package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.d.ts.map +1 -0
  156. package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.js +16 -0
  157. package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.js.map +1 -0
  158. package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.d.ts +66 -0
  159. package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.d.ts.map +1 -0
  160. package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.js +2 -0
  161. package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.js.map +1 -0
  162. package/node_modules/@happier-dev/agents/dist/runtimeInput.d.ts +5 -0
  163. package/node_modules/@happier-dev/agents/dist/runtimeInput.d.ts.map +1 -0
  164. package/node_modules/@happier-dev/agents/dist/runtimeInput.js +16 -0
  165. package/node_modules/@happier-dev/agents/dist/runtimeInput.js.map +1 -0
  166. package/node_modules/@happier-dev/agents/dist/runtimeKinds.d.ts.map +1 -1
  167. package/node_modules/@happier-dev/agents/dist/runtimeKinds.js +2 -0
  168. package/node_modules/@happier-dev/agents/dist/runtimeKinds.js.map +1 -1
  169. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts +20 -0
  170. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts.map +1 -1
  171. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js +13 -0
  172. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js.map +1 -1
  173. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts +6 -0
  174. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts.map +1 -1
  175. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js +12 -1
  176. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js.map +1 -1
  177. package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.d.ts +79 -0
  178. package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.d.ts.map +1 -1
  179. package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.js +180 -10
  180. package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.js.map +1 -1
  181. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts +9 -0
  182. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts.map +1 -1
  183. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js +16 -0
  184. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js.map +1 -1
  185. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.d.ts +10 -0
  186. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.d.ts.map +1 -1
  187. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.js +66 -10
  188. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.js.map +1 -1
  189. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts +1 -1
  190. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts.map +1 -1
  191. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js +7 -0
  192. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js.map +1 -1
  193. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts +14 -0
  194. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts.map +1 -1
  195. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js +43 -0
  196. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js.map +1 -1
  197. package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts +3 -0
  198. package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts.map +1 -1
  199. package/node_modules/@happier-dev/agents/dist/sessionModes.js +14 -0
  200. package/node_modules/@happier-dev/agents/dist/sessionModes.js.map +1 -1
  201. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.d.ts +262 -4
  202. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.d.ts.map +1 -1
  203. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.js +1619 -45
  204. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.js.map +1 -1
  205. package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.d.ts +66 -0
  206. package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.d.ts.map +1 -0
  207. package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.js +194 -0
  208. package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.js.map +1 -0
  209. package/node_modules/@happier-dev/agents/dist/types.d.ts +62 -4
  210. package/node_modules/@happier-dev/agents/dist/types.d.ts.map +1 -1
  211. package/node_modules/@happier-dev/agents/dist/types.js +2 -2
  212. package/node_modules/@happier-dev/agents/dist/types.js.map +1 -1
  213. package/node_modules/@happier-dev/cli-common/cliDistBuildManifest.cjs +708 -0
  214. package/node_modules/@happier-dev/cli-common/cliDistBuildManifest.d.cts +94 -0
  215. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts +4 -1
  216. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts.map +1 -1
  217. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js +162 -72
  218. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js.map +1 -1
  219. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts +6 -1
  220. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts.map +1 -1
  221. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js +71 -3
  222. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js.map +1 -1
  223. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts +7 -3
  224. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts.map +1 -1
  225. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js +84 -9
  226. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js.map +1 -1
  227. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.d.ts +10 -0
  228. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.d.ts.map +1 -0
  229. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.js +13 -0
  230. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.js.map +1 -0
  231. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts +9 -6
  232. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts.map +1 -1
  233. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js +63 -9
  234. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js.map +1 -1
  235. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.d.ts +2 -0
  236. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.d.ts.map +1 -0
  237. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.js +45 -0
  238. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.js.map +1 -0
  239. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts +2 -0
  240. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts.map +1 -1
  241. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js +2 -0
  242. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js.map +1 -1
  243. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.d.ts +8 -0
  244. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.d.ts.map +1 -0
  245. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.js +16 -0
  246. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.js.map +1 -0
  247. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.d.ts +4 -0
  248. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.d.ts.map +1 -0
  249. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.js +33 -0
  250. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.js.map +1 -0
  251. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts +11 -1
  252. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts.map +1 -1
  253. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js +222 -12
  254. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js.map +1 -1
  255. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.d.ts +6 -0
  256. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.d.ts.map +1 -0
  257. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.js +48 -0
  258. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.js.map +1 -0
  259. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts +3 -0
  260. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts.map +1 -1
  261. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js +7 -97
  262. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js.map +1 -1
  263. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts +31 -31
  264. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts.map +1 -1
  265. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.d.ts +9 -0
  266. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.d.ts.map +1 -0
  267. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.js +216 -0
  268. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.js.map +1 -0
  269. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.d.ts +20 -0
  270. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.d.ts.map +1 -0
  271. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.js +46 -0
  272. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.js.map +1 -0
  273. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.d.ts.map +1 -1
  274. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js +16 -28
  275. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js.map +1 -1
  276. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts +12 -3
  277. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts.map +1 -1
  278. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js +8 -2
  279. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js.map +1 -1
  280. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.d.ts.map +1 -1
  281. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js +7 -7
  282. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js.map +1 -1
  283. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts +1 -0
  284. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts.map +1 -1
  285. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js +156 -0
  286. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js.map +1 -1
  287. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts +1 -0
  288. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts.map +1 -1
  289. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js +1 -1
  290. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js.map +1 -1
  291. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts +2 -0
  292. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts.map +1 -1
  293. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js +13 -3
  294. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js.map +1 -1
  295. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts +1 -0
  296. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts.map +1 -1
  297. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js +38 -4
  298. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js.map +1 -1
  299. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.d.ts +12 -0
  300. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.d.ts.map +1 -1
  301. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js +81 -22
  302. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js.map +1 -1
  303. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts +15 -0
  304. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts.map +1 -1
  305. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js +829 -76
  306. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js.map +1 -1
  307. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.d.ts +14 -0
  308. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.d.ts.map +1 -0
  309. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.js +29 -0
  310. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.js.map +1 -0
  311. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts +32 -0
  312. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts.map +1 -1
  313. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js +21 -4
  314. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js.map +1 -1
  315. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.d.ts +34 -0
  316. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.d.ts.map +1 -0
  317. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.js +49 -0
  318. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.js.map +1 -0
  319. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.d.ts +29 -0
  320. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.d.ts.map +1 -0
  321. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.js +177 -0
  322. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.js.map +1 -0
  323. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.d.ts +39 -0
  324. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.d.ts.map +1 -0
  325. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.js +112 -0
  326. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.js.map +1 -0
  327. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts +1 -1
  328. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts.map +1 -1
  329. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts +53 -0
  330. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts.map +1 -1
  331. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js +285 -36
  332. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js.map +1 -1
  333. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts +32 -0
  334. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts.map +1 -0
  335. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js +93 -0
  336. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js.map +1 -0
  337. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts +1 -0
  338. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts.map +1 -1
  339. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js +23 -10
  340. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js.map +1 -1
  341. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.d.ts.map +1 -1
  342. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js +66 -6
  343. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js.map +1 -1
  344. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.d.ts +10 -0
  345. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.d.ts.map +1 -0
  346. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.js +61 -0
  347. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.js.map +1 -0
  348. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts +12 -0
  349. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts.map +1 -1
  350. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js +24 -0
  351. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js.map +1 -1
  352. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.d.ts +35 -0
  353. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.d.ts.map +1 -0
  354. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.js +222 -0
  355. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.js.map +1 -0
  356. package/node_modules/@happier-dev/cli-common/dist/links/index.d.ts +6 -0
  357. package/node_modules/@happier-dev/cli-common/dist/links/index.d.ts.map +1 -1
  358. package/node_modules/@happier-dev/cli-common/dist/links/index.js +30 -15
  359. package/node_modules/@happier-dev/cli-common/dist/links/index.js.map +1 -1
  360. package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts +2 -0
  361. package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts.map +1 -0
  362. package/node_modules/@happier-dev/cli-common/dist/output/index.js +2 -0
  363. package/node_modules/@happier-dev/cli-common/dist/output/index.js.map +1 -0
  364. package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts +28 -0
  365. package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts.map +1 -0
  366. package/node_modules/@happier-dev/cli-common/dist/output/progress.js +126 -0
  367. package/node_modules/@happier-dev/cli-common/dist/output/progress.js.map +1 -0
  368. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.d.ts +2 -0
  369. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.d.ts.map +1 -0
  370. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.js +2 -0
  371. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.js.map +1 -0
  372. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.d.ts +5 -0
  373. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.d.ts.map +1 -0
  374. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.js +31 -0
  375. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.js.map +1 -0
  376. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.d.ts.map +1 -1
  377. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js +12 -6
  378. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js.map +1 -1
  379. package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts +2 -1
  380. package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts.map +1 -1
  381. package/node_modules/@happier-dev/cli-common/dist/process/index.js +2 -1
  382. package/node_modules/@happier-dev/cli-common/dist/process/index.js.map +1 -1
  383. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.d.ts +9 -0
  384. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.d.ts.map +1 -0
  385. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.js +64 -0
  386. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.js.map +1 -0
  387. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts +1 -0
  388. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts.map +1 -1
  389. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js +58 -12
  390. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js.map +1 -1
  391. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.d.ts.map +1 -1
  392. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js +42 -20
  393. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js.map +1 -1
  394. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts +12 -0
  395. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts.map +1 -1
  396. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js +86 -16
  397. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js.map +1 -1
  398. package/node_modules/@happier-dev/cli-common/dist/providers/index.d.ts +1 -1
  399. package/node_modules/@happier-dev/cli-common/dist/providers/index.d.ts.map +1 -1
  400. package/node_modules/@happier-dev/cli-common/dist/providers/index.js +1 -1
  401. package/node_modules/@happier-dev/cli-common/dist/providers/index.js.map +1 -1
  402. package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts +3 -0
  403. package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts.map +1 -1
  404. package/node_modules/@happier-dev/cli-common/dist/providers/install.js +554 -79
  405. package/node_modules/@happier-dev/cli-common/dist/providers/install.js.map +1 -1
  406. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.d.ts.map +1 -1
  407. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js +13 -3
  408. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js.map +1 -1
  409. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.d.ts.map +1 -1
  410. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js +34 -3
  411. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js.map +1 -1
  412. package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.js.map +1 -1
  413. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.d.ts.map +1 -1
  414. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js +37 -12
  415. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js.map +1 -1
  416. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts +3 -1
  417. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts.map +1 -1
  418. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js +197 -38
  419. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js.map +1 -1
  420. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.d.ts.map +1 -1
  421. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js +18 -4
  422. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js.map +1 -1
  423. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.d.ts +8 -0
  424. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.d.ts.map +1 -0
  425. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.js +40 -0
  426. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.js.map +1 -0
  427. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts +3 -2
  428. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts.map +1 -1
  429. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js +1442 -365
  430. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js.map +1 -1
  431. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts +8 -0
  432. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts.map +1 -0
  433. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js +33 -0
  434. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js.map +1 -0
  435. package/node_modules/@happier-dev/cli-common/dist/service/launchd.d.ts +1 -0
  436. package/node_modules/@happier-dev/cli-common/dist/service/launchd.d.ts.map +1 -1
  437. package/node_modules/@happier-dev/cli-common/dist/service/launchd.js +4 -0
  438. package/node_modules/@happier-dev/cli-common/dist/service/launchd.js.map +1 -1
  439. package/node_modules/@happier-dev/cli-common/dist/service/manager.d.ts +30 -0
  440. package/node_modules/@happier-dev/cli-common/dist/service/manager.d.ts.map +1 -1
  441. package/node_modules/@happier-dev/cli-common/dist/service/manager.js +197 -24
  442. package/node_modules/@happier-dev/cli-common/dist/service/manager.js.map +1 -1
  443. package/node_modules/@happier-dev/cli-common/dist/service/path.js.map +1 -1
  444. package/node_modules/@happier-dev/cli-common/dist/service/systemd.d.ts +2 -0
  445. package/node_modules/@happier-dev/cli-common/dist/service/systemd.d.ts.map +1 -1
  446. package/node_modules/@happier-dev/cli-common/dist/service/systemd.js +7 -1
  447. package/node_modules/@happier-dev/cli-common/dist/service/systemd.js.map +1 -1
  448. package/node_modules/@happier-dev/cli-common/dist/service/windows.d.ts +49 -0
  449. package/node_modules/@happier-dev/cli-common/dist/service/windows.d.ts.map +1 -1
  450. package/node_modules/@happier-dev/cli-common/dist/service/windows.js +167 -0
  451. package/node_modules/@happier-dev/cli-common/dist/service/windows.js.map +1 -1
  452. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.d.ts +7 -0
  453. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.d.ts.map +1 -0
  454. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.js +41 -0
  455. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.js.map +1 -0
  456. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.d.ts +5 -0
  457. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.d.ts.map +1 -0
  458. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.js +51 -0
  459. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.js.map +1 -0
  460. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts +2 -0
  461. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts.map +1 -1
  462. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js +1 -0
  463. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js.map +1 -1
  464. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts +1 -0
  465. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts.map +1 -1
  466. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js +104 -61
  467. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js.map +1 -1
  468. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.d.ts.map +1 -1
  469. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.d.ts +2 -0
  470. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.d.ts.map +1 -0
  471. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.js +13 -0
  472. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.js.map +1 -0
  473. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.d.ts.map +1 -1
  474. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js +20 -2
  475. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js.map +1 -1
  476. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts +2 -2
  477. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts.map +1 -1
  478. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js +2 -2
  479. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js.map +1 -1
  480. package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.js.map +1 -1
  481. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts +15 -0
  482. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts.map +1 -1
  483. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js +50 -1
  484. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js.map +1 -1
  485. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts +29 -0
  486. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts.map +1 -1
  487. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js +42 -0
  488. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js.map +1 -1
  489. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts +2 -2
  490. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts.map +1 -1
  491. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts +16 -1
  492. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts.map +1 -1
  493. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js +113 -24
  494. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js.map +1 -1
  495. package/node_modules/@happier-dev/cli-common/expandHomeDirPath.cjs +41 -0
  496. package/node_modules/@happier-dev/cli-common/expandHomeDirPath.d.cts +10 -0
  497. package/node_modules/@happier-dev/cli-common/jsonOwnerBuildLockState.cjs +54 -0
  498. package/node_modules/@happier-dev/cli-common/package.json +57 -0
  499. package/node_modules/@happier-dev/cli-common/processInstance.d.mts +10 -0
  500. package/node_modules/@happier-dev/cli-common/processInstance.mjs +67 -0
  501. package/node_modules/@happier-dev/cli-common/runtimeImportProbePolicy.d.mts +1 -0
  502. package/node_modules/@happier-dev/cli-common/runtimeImportProbePolicy.mjs +5 -0
  503. package/node_modules/@happier-dev/cli-common/workspaceBundleLock.d.mts +39 -0
  504. package/node_modules/@happier-dev/cli-common/workspaceBundleLock.mjs +380 -0
  505. package/node_modules/@happier-dev/cli-common/workspaceLockLease.d.mts +21 -0
  506. package/node_modules/@happier-dev/cli-common/workspaceLockLease.mjs +57 -0
  507. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.d.ts.map +1 -1
  508. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js +47 -9
  509. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js.map +1 -1
  510. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.d.ts.map +1 -1
  511. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js +33 -0
  512. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js.map +1 -1
  513. package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts +1 -1
  514. package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts.map +1 -1
  515. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js +1 -1
  516. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js.map +1 -1
  517. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts +8 -0
  518. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts.map +1 -1
  519. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts +3 -0
  520. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts.map +1 -1
  521. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts +419 -213
  522. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts.map +1 -1
  523. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js +21 -3
  524. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js.map +1 -1
  525. package/node_modules/@happier-dev/protocol/dist/account/encryptionMode.d.ts +2 -2
  526. package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts +102 -4
  527. package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts.map +1 -1
  528. package/node_modules/@happier-dev/protocol/dist/account/profile.js +19 -2
  529. package/node_modules/@happier-dev/protocol/dist/account/profile.js.map +1 -1
  530. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts +249 -41
  531. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts.map +1 -1
  532. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js +180 -18
  533. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js.map +1 -1
  534. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts +3 -576
  535. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts.map +1 -1
  536. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.d.ts +4 -0
  537. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.d.ts.map +1 -0
  538. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.js +3 -0
  539. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.js.map +1 -0
  540. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts +1 -192
  541. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts.map +1 -1
  542. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js +2 -2
  543. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js.map +1 -1
  544. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.d.ts +79 -0
  545. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.d.ts.map +1 -0
  546. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.js +80 -0
  547. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.js.map +1 -0
  548. package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts +3 -1
  549. package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts.map +1 -1
  550. package/node_modules/@happier-dev/protocol/dist/account/settings/index.js +3 -1
  551. package/node_modules/@happier-dev/protocol/dist/account/settings/index.js.map +1 -1
  552. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts +35 -14
  553. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts.map +1 -1
  554. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js +21 -2
  555. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js.map +1 -1
  556. package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.d.ts +29 -29
  557. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.d.ts +26 -0
  558. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.d.ts.map +1 -0
  559. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.js +24 -0
  560. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.js.map +1 -0
  561. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts +15 -0
  562. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts.map +1 -1
  563. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js +17 -0
  564. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js.map +1 -1
  565. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts +4 -0
  566. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts.map +1 -1
  567. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js +4 -0
  568. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js.map +1 -1
  569. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts +269 -17
  570. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts.map +1 -1
  571. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js +1200 -130
  572. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js.map +1 -1
  573. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts +64 -44
  574. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts.map +1 -1
  575. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js +21 -0
  576. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js.map +1 -1
  577. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.d.ts.map +1 -1
  578. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js +13 -4
  579. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js.map +1 -1
  580. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.d.ts +28 -0
  581. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.d.ts.map +1 -0
  582. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.js +77 -0
  583. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.js.map +1 -0
  584. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts +73 -35
  585. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts.map +1 -1
  586. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js +24 -1
  587. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js.map +1 -1
  588. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts +487 -65
  589. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts.map +1 -1
  590. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js +1373 -135
  591. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js.map +1 -1
  592. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.d.ts +24 -0
  593. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.d.ts.map +1 -0
  594. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.js +139 -0
  595. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.js.map +1 -0
  596. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.d.ts +14 -0
  597. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.d.ts.map +1 -0
  598. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.js +46 -0
  599. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.js.map +1 -0
  600. package/node_modules/@happier-dev/protocol/dist/actions/actionUiPlacements.d.ts +5 -5
  601. package/node_modules/@happier-dev/protocol/dist/actions/actionUiPlacements.d.ts.map +1 -1
  602. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.d.ts +11 -0
  603. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.d.ts.map +1 -0
  604. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.js +12 -0
  605. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.js.map +1 -0
  606. package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts +8 -3
  607. package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts.map +1 -1
  608. package/node_modules/@happier-dev/protocol/dist/actions/index.js +7 -2
  609. package/node_modules/@happier-dev/protocol/dist/actions/index.js.map +1 -1
  610. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.d.ts +11 -0
  611. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.d.ts.map +1 -0
  612. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.js +9 -0
  613. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.js.map +1 -0
  614. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.d.ts +299 -0
  615. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.d.ts.map +1 -0
  616. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.js +180 -0
  617. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.js.map +1 -0
  618. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.d.ts +3 -0
  619. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.d.ts.map +1 -0
  620. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.js +3 -0
  621. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.js.map +1 -0
  622. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts +37 -0
  623. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts.map +1 -0
  624. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js +121 -0
  625. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js.map +1 -0
  626. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js +5 -5
  627. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js.map +1 -1
  628. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.d.ts +37 -0
  629. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.d.ts.map +1 -0
  630. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.js +80 -0
  631. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.js.map +1 -0
  632. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.d.ts +94 -0
  633. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.d.ts.map +1 -0
  634. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.js +125 -0
  635. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.js.map +1 -0
  636. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.d.ts +40 -0
  637. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.d.ts.map +1 -0
  638. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.js +94 -0
  639. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.js.map +1 -0
  640. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts +10 -2
  641. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts.map +1 -1
  642. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js +4 -0
  643. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js.map +1 -1
  644. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts +105 -53
  645. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts.map +1 -1
  646. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js +64 -0
  647. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js.map +1 -1
  648. package/node_modules/@happier-dev/protocol/dist/auth/errors.d.ts +15 -14
  649. package/node_modules/@happier-dev/protocol/dist/auth/errors.d.ts.map +1 -1
  650. package/node_modules/@happier-dev/protocol/dist/auth/errors.js +1 -0
  651. package/node_modules/@happier-dev/protocol/dist/auth/errors.js.map +1 -1
  652. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.d.ts +52 -0
  653. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.d.ts.map +1 -0
  654. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.js +13 -0
  655. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.js.map +1 -0
  656. package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.d.ts.map +1 -1
  657. package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.js +406 -10
  658. package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.js.map +1 -1
  659. package/node_modules/@happier-dev/protocol/dist/changes.d.ts +11 -29
  660. package/node_modules/@happier-dev/protocol/dist/changes.d.ts.map +1 -1
  661. package/node_modules/@happier-dev/protocol/dist/changes.js +6 -1
  662. package/node_modules/@happier-dev/protocol/dist/changes.js.map +1 -1
  663. package/node_modules/@happier-dev/protocol/dist/checklists.d.ts +2 -2
  664. package/node_modules/@happier-dev/protocol/dist/checklists.d.ts.map +1 -1
  665. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts +4 -0
  666. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts.map +1 -0
  667. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js +4 -0
  668. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js.map +1 -0
  669. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts +18 -0
  670. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts.map +1 -0
  671. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js +45 -0
  672. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js.map +1 -0
  673. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.d.ts +36 -0
  674. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.d.ts.map +1 -0
  675. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.js +19 -0
  676. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.js.map +1 -0
  677. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.d.ts +35 -0
  678. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.d.ts.map +1 -0
  679. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.js +41 -0
  680. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.js.map +1 -0
  681. package/node_modules/@happier-dev/protocol/dist/common/asyncTtlCache.d.ts.map +1 -1
  682. package/node_modules/@happier-dev/protocol/dist/common/probedResourceCache.d.ts.map +1 -1
  683. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts +382 -0
  684. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts.map +1 -0
  685. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js +264 -0
  686. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js.map +1 -0
  687. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.d.ts +12 -0
  688. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.d.ts.map +1 -1
  689. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.js +25 -1
  690. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.js.map +1 -1
  691. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.d.ts +7 -0
  692. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.d.ts.map +1 -0
  693. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.js +40 -0
  694. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.js.map +1 -0
  695. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.d.ts +74 -0
  696. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.d.ts.map +1 -0
  697. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.js +75 -0
  698. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.js.map +1 -0
  699. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.d.ts +0 -5
  700. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.d.ts.map +1 -1
  701. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.js +0 -8
  702. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.js.map +1 -1
  703. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.d.ts +19 -0
  704. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.d.ts.map +1 -0
  705. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.js +19 -0
  706. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.js.map +1 -0
  707. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts +25 -15
  708. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts.map +1 -1
  709. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js +10 -0
  710. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js.map +1 -1
  711. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.d.ts +43 -0
  712. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.d.ts.map +1 -0
  713. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.js +53 -0
  714. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.js.map +1 -0
  715. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts +1331 -27
  716. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts.map +1 -1
  717. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js +534 -13
  718. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js.map +1 -1
  719. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.d.ts +184 -0
  720. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.d.ts.map +1 -0
  721. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.js +142 -0
  722. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.js.map +1 -0
  723. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.d.ts +61 -0
  724. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.d.ts.map +1 -0
  725. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.js +148 -0
  726. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.js.map +1 -0
  727. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.d.ts +2 -1
  728. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.d.ts.map +1 -1
  729. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js +19 -0
  730. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js.map +1 -1
  731. package/node_modules/@happier-dev/protocol/dist/crypto/base64.d.ts +1 -0
  732. package/node_modules/@happier-dev/protocol/dist/crypto/base64.d.ts.map +1 -1
  733. package/node_modules/@happier-dev/protocol/dist/crypto/base64.js +34 -0
  734. package/node_modules/@happier-dev/protocol/dist/crypto/base64.js.map +1 -1
  735. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.d.ts +3 -0
  736. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.d.ts.map +1 -0
  737. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.js +21 -0
  738. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.js.map +1 -0
  739. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.d.ts +93 -0
  740. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.d.ts.map +1 -0
  741. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.js +99 -0
  742. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.js.map +1 -0
  743. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.d.ts +6 -0
  744. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.d.ts.map +1 -0
  745. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.js +8 -0
  746. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.js.map +1 -0
  747. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.d.ts +17 -0
  748. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.d.ts.map +1 -0
  749. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.js +34 -0
  750. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.js.map +1 -0
  751. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.d.ts +18 -0
  752. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.d.ts.map +1 -1
  753. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.js +85 -0
  754. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.js.map +1 -1
  755. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.d.ts +52 -0
  756. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.d.ts.map +1 -0
  757. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.js +34 -0
  758. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.js.map +1 -0
  759. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts +12 -12
  760. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts +47 -26
  761. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts.map +1 -1
  762. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js +26 -14
  763. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js.map +1 -1
  764. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts +352 -0
  765. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts.map +1 -1
  766. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js +159 -0
  767. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js.map +1 -1
  768. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts +209 -28
  769. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts.map +1 -1
  770. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js +94 -0
  771. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js.map +1 -1
  772. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.d.ts +35 -0
  773. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.d.ts.map +1 -0
  774. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.js +157 -0
  775. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.js.map +1 -0
  776. package/node_modules/@happier-dev/protocol/dist/drafts/index.d.ts +2 -0
  777. package/node_modules/@happier-dev/protocol/dist/drafts/index.d.ts.map +1 -0
  778. package/node_modules/@happier-dev/protocol/dist/drafts/index.js +2 -0
  779. package/node_modules/@happier-dev/protocol/dist/drafts/index.js.map +1 -0
  780. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts +1016 -0
  781. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts.map +1 -0
  782. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js +152 -0
  783. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js.map +1 -0
  784. package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.d.ts +7 -7
  785. package/node_modules/@happier-dev/protocol/dist/e2e/providerSpec.d.ts +4 -4
  786. package/node_modules/@happier-dev/protocol/dist/ephemeralTasks.d.ts +4 -4
  787. package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.d.ts +2 -2
  788. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts +37 -12
  789. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts.map +1 -1
  790. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js +33 -3
  791. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js.map +1 -1
  792. package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts +85 -27
  793. package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts.map +1 -1
  794. package/node_modules/@happier-dev/protocol/dist/executionRuns.js +24 -0
  795. package/node_modules/@happier-dev/protocol/dist/executionRuns.js.map +1 -1
  796. package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts +288 -168
  797. package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts.map +1 -1
  798. package/node_modules/@happier-dev/protocol/dist/features/catalog.js +128 -0
  799. package/node_modules/@happier-dev/protocol/dist/features/catalog.js.map +1 -1
  800. package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts +91 -71
  801. package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts.map +1 -1
  802. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.d.ts +1 -1
  803. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.d.ts.map +1 -1
  804. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js +1 -1
  805. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js.map +1 -1
  806. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.d.ts +6 -6
  807. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.d.ts +1 -1
  808. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.d.ts.map +1 -1
  809. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.js +3 -0
  810. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.js.map +1 -1
  811. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts +71 -6
  812. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts.map +1 -1
  813. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js +10 -0
  814. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js.map +1 -1
  815. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.d.ts +19 -0
  816. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.d.ts.map +1 -0
  817. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.js +18 -0
  818. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.js.map +1 -0
  819. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.d.ts +4 -4
  820. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.d.ts +84 -0
  821. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.d.ts.map +1 -0
  822. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.js +56 -0
  823. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.js.map +1 -0
  824. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts +6 -0
  825. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts.map +1 -1
  826. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.d.ts +9 -0
  827. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.d.ts.map +1 -0
  828. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.js +18 -0
  829. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.js.map +1 -0
  830. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts +6 -0
  831. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts.map +1 -1
  832. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js +1 -0
  833. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js.map +1 -1
  834. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.d.ts +50 -0
  835. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.d.ts.map +1 -0
  836. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.js +35 -0
  837. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.js.map +1 -0
  838. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.d.ts +16 -0
  839. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.d.ts.map +1 -0
  840. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.js +16 -0
  841. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.js.map +1 -0
  842. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts +36 -0
  843. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts.map +1 -1
  844. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js +40 -2
  845. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js.map +1 -1
  846. package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts +107 -6
  847. package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts.map +1 -1
  848. package/node_modules/@happier-dev/protocol/dist/features.d.ts +5 -0
  849. package/node_modules/@happier-dev/protocol/dist/features.d.ts.map +1 -1
  850. package/node_modules/@happier-dev/protocol/dist/features.js +5 -0
  851. package/node_modules/@happier-dev/protocol/dist/features.js.map +1 -1
  852. package/node_modules/@happier-dev/protocol/dist/index.d.ts +111 -36
  853. package/node_modules/@happier-dev/protocol/dist/index.d.ts.map +1 -1
  854. package/node_modules/@happier-dev/protocol/dist/index.js +109 -35
  855. package/node_modules/@happier-dev/protocol/dist/index.js.map +1 -1
  856. package/node_modules/@happier-dev/protocol/dist/installables.d.ts +43 -5
  857. package/node_modules/@happier-dev/protocol/dist/installables.d.ts.map +1 -1
  858. package/node_modules/@happier-dev/protocol/dist/installables.js +29 -2
  859. package/node_modules/@happier-dev/protocol/dist/installables.js.map +1 -1
  860. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts +2 -2
  861. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts.map +1 -1
  862. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js +3 -1
  863. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js.map +1 -1
  864. package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.d.ts +2 -2
  865. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.d.ts +8 -0
  866. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.d.ts.map +1 -0
  867. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.js +45 -0
  868. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.js.map +1 -0
  869. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.d.ts +3 -0
  870. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.d.ts.map +1 -0
  871. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.js +3 -0
  872. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.js.map +1 -0
  873. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.d.ts +17 -0
  874. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.d.ts.map +1 -0
  875. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.js +18 -0
  876. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.js.map +1 -0
  877. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.d.ts +8 -0
  878. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.d.ts.map +1 -0
  879. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.js +73 -0
  880. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.js.map +1 -0
  881. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.d.ts +96 -0
  882. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.d.ts.map +1 -0
  883. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.js +107 -0
  884. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.js.map +1 -0
  885. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts +1 -1
  886. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts.map +1 -1
  887. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js +9 -2
  888. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js.map +1 -1
  889. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.d.ts +57 -0
  890. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.d.ts.map +1 -0
  891. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.js +88 -0
  892. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.js.map +1 -0
  893. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.d.ts +42 -0
  894. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.d.ts.map +1 -0
  895. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.js +145 -0
  896. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.js.map +1 -0
  897. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.d.ts +14 -0
  898. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.d.ts.map +1 -0
  899. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.js +21 -0
  900. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.js.map +1 -0
  901. package/node_modules/@happier-dev/protocol/dist/machines/index.d.ts +4 -0
  902. package/node_modules/@happier-dev/protocol/dist/machines/index.d.ts.map +1 -0
  903. package/node_modules/@happier-dev/protocol/dist/machines/index.js +4 -0
  904. package/node_modules/@happier-dev/protocol/dist/machines/index.js.map +1 -0
  905. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.d.ts +21 -0
  906. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.d.ts.map +1 -0
  907. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.js +23 -0
  908. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.js.map +1 -0
  909. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts +30 -24
  910. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts.map +1 -1
  911. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts +38 -36
  912. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts.map +1 -1
  913. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts +25 -2
  914. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts.map +1 -1
  915. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js +30 -0
  916. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js.map +1 -1
  917. package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.d.ts +3 -3
  918. package/node_modules/@happier-dev/protocol/dist/memory/memorySearch.d.ts +8 -8
  919. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts +58 -12
  920. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts.map +1 -1
  921. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js +46 -5
  922. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js.map +1 -1
  923. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts +101 -2
  924. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts.map +1 -1
  925. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js +53 -0
  926. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js.map +1 -1
  927. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.d.ts +107 -0
  928. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.d.ts.map +1 -0
  929. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.js +191 -0
  930. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.js.map +1 -0
  931. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.d.ts +258 -0
  932. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.d.ts.map +1 -0
  933. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.js +131 -0
  934. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.js.map +1 -0
  935. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.d.ts +52 -0
  936. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.d.ts.map +1 -0
  937. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.js +45 -0
  938. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.js.map +1 -0
  939. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.d.ts +13 -0
  940. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.d.ts.map +1 -0
  941. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.js +51 -0
  942. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.js.map +1 -0
  943. package/node_modules/@happier-dev/protocol/dist/pets/constants.d.ts +85 -0
  944. package/node_modules/@happier-dev/protocol/dist/pets/constants.d.ts.map +1 -0
  945. package/node_modules/@happier-dev/protocol/dist/pets/constants.js +59 -0
  946. package/node_modules/@happier-dev/protocol/dist/pets/constants.js.map +1 -0
  947. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.d.ts +610 -0
  948. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.d.ts.map +1 -0
  949. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.js +265 -0
  950. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.js.map +1 -0
  951. package/node_modules/@happier-dev/protocol/dist/pets/index.d.ts +8 -0
  952. package/node_modules/@happier-dev/protocol/dist/pets/index.d.ts.map +1 -0
  953. package/node_modules/@happier-dev/protocol/dist/pets/index.js +8 -0
  954. package/node_modules/@happier-dev/protocol/dist/pets/index.js.map +1 -0
  955. package/node_modules/@happier-dev/protocol/dist/pets/manifest.d.ts +20 -0
  956. package/node_modules/@happier-dev/protocol/dist/pets/manifest.d.ts.map +1 -0
  957. package/node_modules/@happier-dev/protocol/dist/pets/manifest.js +17 -0
  958. package/node_modules/@happier-dev/protocol/dist/pets/manifest.js.map +1 -0
  959. package/node_modules/@happier-dev/protocol/dist/pets/source.d.ts +79 -0
  960. package/node_modules/@happier-dev/protocol/dist/pets/source.d.ts.map +1 -0
  961. package/node_modules/@happier-dev/protocol/dist/pets/source.js +62 -0
  962. package/node_modules/@happier-dev/protocol/dist/pets/source.js.map +1 -0
  963. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts +22 -8
  964. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts.map +1 -1
  965. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js +5 -0
  966. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js.map +1 -1
  967. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.d.ts +41 -41
  968. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.d.ts +3 -3
  969. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.d.ts +1 -1
  970. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.d.ts +8 -8
  971. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts +3 -0
  972. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts.map +1 -1
  973. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js +1 -1
  974. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js.map +1 -1
  975. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.d.ts +2 -2
  976. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.d.ts +18 -18
  977. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.d.ts +18 -18
  978. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts +2 -0
  979. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts.map +1 -1
  980. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js +7 -2
  981. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js.map +1 -1
  982. package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.js.map +1 -1
  983. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.d.ts +54 -0
  984. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.d.ts.map +1 -0
  985. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.js +67 -0
  986. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.js.map +1 -0
  987. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts.map +1 -1
  988. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js +15 -15
  989. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js.map +1 -1
  990. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts +10 -0
  991. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts.map +1 -1
  992. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js +28 -4
  993. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js.map +1 -1
  994. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts +3 -2
  995. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts.map +1 -1
  996. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js +1 -1
  997. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js.map +1 -1
  998. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.d.ts.map +1 -1
  999. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js +60 -0
  1000. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js.map +1 -1
  1001. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.d.ts +4 -0
  1002. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.d.ts.map +1 -0
  1003. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.js +4 -0
  1004. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.js.map +1 -0
  1005. package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.d.ts +1 -1
  1006. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.d.ts +6 -0
  1007. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.d.ts.map +1 -0
  1008. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.js +17 -0
  1009. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.js.map +1 -0
  1010. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.d.ts +100 -0
  1011. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.d.ts.map +1 -0
  1012. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.js +301 -0
  1013. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.js.map +1 -0
  1014. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.d.ts +37 -0
  1015. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.d.ts.map +1 -0
  1016. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.js +60 -0
  1017. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.js.map +1 -0
  1018. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.d.ts +10 -0
  1019. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.d.ts.map +1 -0
  1020. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.js +11 -0
  1021. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.js.map +1 -0
  1022. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.d.ts +35 -0
  1023. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.d.ts.map +1 -0
  1024. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.js +74 -0
  1025. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.js.map +1 -0
  1026. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.d.ts +12 -0
  1027. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.d.ts.map +1 -0
  1028. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.js +21 -0
  1029. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.js.map +1 -0
  1030. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.d.ts +15 -0
  1031. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.d.ts.map +1 -0
  1032. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.js +48 -0
  1033. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.js.map +1 -0
  1034. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.d.ts +65 -0
  1035. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.d.ts.map +1 -0
  1036. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.js +43 -0
  1037. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.js.map +1 -0
  1038. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts +1 -1
  1039. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts.map +1 -1
  1040. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.d.ts.map +1 -1
  1041. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js +3 -0
  1042. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js.map +1 -1
  1043. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.d.ts +7 -0
  1044. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.d.ts.map +1 -0
  1045. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.js +7 -0
  1046. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.js.map +1 -0
  1047. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts +2 -2
  1048. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts.map +1 -1
  1049. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.d.ts.map +1 -1
  1050. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js +4 -2
  1051. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js.map +1 -1
  1052. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.d.ts +5 -0
  1053. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.d.ts.map +1 -0
  1054. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.js +5 -0
  1055. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.js.map +1 -0
  1056. package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.d.ts +2 -2
  1057. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.d.ts +11 -0
  1058. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.d.ts.map +1 -0
  1059. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.js +26 -0
  1060. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.js.map +1 -0
  1061. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.d.ts +4 -0
  1062. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.d.ts.map +1 -0
  1063. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.js +4 -0
  1064. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.js.map +1 -0
  1065. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.d.ts +17 -0
  1066. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.d.ts.map +1 -0
  1067. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.js +58 -0
  1068. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.js.map +1 -0
  1069. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts +8 -8
  1070. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts.map +1 -1
  1071. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.d.ts +48 -0
  1072. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.d.ts.map +1 -0
  1073. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.js +60 -0
  1074. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.js.map +1 -0
  1075. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.d.ts +43 -0
  1076. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.d.ts.map +1 -0
  1077. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.js +17 -0
  1078. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.js.map +1 -0
  1079. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.d.ts +10 -10
  1080. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.d.ts +2 -2
  1081. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.d.ts +10 -1
  1082. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.d.ts.map +1 -1
  1083. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js +3 -1
  1084. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js.map +1 -1
  1085. package/node_modules/@happier-dev/protocol/dist/rpc.d.ts +231 -126
  1086. package/node_modules/@happier-dev/protocol/dist/rpc.d.ts.map +1 -1
  1087. package/node_modules/@happier-dev/protocol/dist/rpc.js +168 -0
  1088. package/node_modules/@happier-dev/protocol/dist/rpc.js.map +1 -1
  1089. package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts +16 -0
  1090. package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts.map +1 -1
  1091. package/node_modules/@happier-dev/protocol/dist/rpcErrors.js +44 -0
  1092. package/node_modules/@happier-dev/protocol/dist/rpcErrors.js.map +1 -1
  1093. package/node_modules/@happier-dev/protocol/dist/scm.d.ts +555 -173
  1094. package/node_modules/@happier-dev/protocol/dist/scm.d.ts.map +1 -1
  1095. package/node_modules/@happier-dev/protocol/dist/scm.js +232 -45
  1096. package/node_modules/@happier-dev/protocol/dist/scm.js.map +1 -1
  1097. package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts +112 -37
  1098. package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts.map +1 -1
  1099. package/node_modules/@happier-dev/protocol/dist/scmBranches.js +15 -1
  1100. package/node_modules/@happier-dev/protocol/dist/scmBranches.js.map +1 -1
  1101. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.d.ts.map +1 -1
  1102. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js +38 -0
  1103. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js.map +1 -1
  1104. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.d.ts +43 -0
  1105. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.d.ts.map +1 -0
  1106. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.js +42 -0
  1107. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.js.map +1 -0
  1108. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.d.ts +594 -0
  1109. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.d.ts.map +1 -0
  1110. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.js +192 -0
  1111. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.js.map +1 -0
  1112. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts +878 -0
  1113. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts.map +1 -0
  1114. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.js +109 -0
  1115. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.js.map +1 -0
  1116. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.d.ts +26 -0
  1117. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.d.ts.map +1 -0
  1118. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.js +11 -0
  1119. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.js.map +1 -0
  1120. package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts +60 -45
  1121. package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts.map +1 -1
  1122. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.d.ts +52 -0
  1123. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.d.ts.map +1 -0
  1124. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.js +85 -0
  1125. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.js.map +1 -0
  1126. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts +49 -37
  1127. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts.map +1 -1
  1128. package/node_modules/@happier-dev/protocol/dist/sentFrom.d.ts +10 -10
  1129. package/node_modules/@happier-dev/protocol/dist/sentFrom.d.ts.map +1 -1
  1130. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts +22 -18
  1131. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts.map +1 -1
  1132. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts +1 -0
  1133. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts.map +1 -1
  1134. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js +1 -0
  1135. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js.map +1 -1
  1136. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.d.ts +36 -0
  1137. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.d.ts.map +1 -0
  1138. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.js +65 -0
  1139. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.js.map +1 -0
  1140. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts +21 -1
  1141. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts.map +1 -1
  1142. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js +26 -0
  1143. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js.map +1 -1
  1144. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts +1 -1
  1145. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts.map +1 -1
  1146. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.d.ts +74 -0
  1147. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.d.ts.map +1 -0
  1148. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.js +66 -0
  1149. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.js.map +1 -0
  1150. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.d.ts +14 -0
  1151. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.d.ts.map +1 -0
  1152. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.js +29 -0
  1153. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.js.map +1 -0
  1154. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.d.ts +34 -0
  1155. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.d.ts.map +1 -0
  1156. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.js +54 -0
  1157. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.js.map +1 -0
  1158. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.d.ts +10 -0
  1159. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.d.ts.map +1 -0
  1160. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.js +30 -0
  1161. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.js.map +1 -0
  1162. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.d.ts +10 -0
  1163. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.d.ts.map +1 -0
  1164. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.js +33 -0
  1165. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.js.map +1 -0
  1166. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.d.ts +5 -0
  1167. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.d.ts.map +1 -0
  1168. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.js +5 -0
  1169. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.js.map +1 -0
  1170. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.d.ts +71 -0
  1171. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.d.ts.map +1 -0
  1172. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.js +119 -0
  1173. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.js.map +1 -0
  1174. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.d.ts +81 -0
  1175. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.d.ts.map +1 -0
  1176. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.js +143 -0
  1177. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.js.map +1 -0
  1178. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.d.ts +41 -0
  1179. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.d.ts.map +1 -0
  1180. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.js +77 -0
  1181. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.js.map +1 -0
  1182. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.d.ts +115 -0
  1183. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.d.ts.map +1 -0
  1184. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.js +113 -0
  1185. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.js.map +1 -0
  1186. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.d.ts +32 -0
  1187. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.d.ts.map +1 -0
  1188. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.js +31 -0
  1189. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.js.map +1 -0
  1190. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.d.ts +100 -0
  1191. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.d.ts.map +1 -0
  1192. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.js +129 -0
  1193. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.js.map +1 -0
  1194. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.d.ts +25 -0
  1195. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.d.ts.map +1 -0
  1196. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.js +46 -0
  1197. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.js.map +1 -0
  1198. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.d.ts +10 -0
  1199. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.d.ts.map +1 -0
  1200. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.js +10 -0
  1201. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.js.map +1 -0
  1202. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.d.ts +33 -0
  1203. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.d.ts.map +1 -0
  1204. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.js +38 -0
  1205. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.js.map +1 -0
  1206. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.d.ts +409 -0
  1207. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.d.ts.map +1 -0
  1208. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.js +457 -0
  1209. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.js.map +1 -0
  1210. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.d.ts +110 -0
  1211. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.d.ts.map +1 -0
  1212. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.js +184 -0
  1213. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.js.map +1 -0
  1214. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.d.ts +2 -0
  1215. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.d.ts.map +1 -0
  1216. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.js +2 -0
  1217. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.js.map +1 -0
  1218. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.d.ts +155 -0
  1219. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.d.ts.map +1 -0
  1220. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.js +54 -0
  1221. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.js.map +1 -0
  1222. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.d.ts +808 -0
  1223. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.d.ts.map +1 -0
  1224. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.js +577 -0
  1225. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.js.map +1 -0
  1226. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts +12 -1
  1227. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts.map +1 -1
  1228. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js +10 -0
  1229. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js.map +1 -1
  1230. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts +1 -1
  1231. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts.map +1 -1
  1232. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts +537 -330
  1233. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts.map +1 -1
  1234. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js +111 -1
  1235. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js.map +1 -1
  1236. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts +6 -4
  1237. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts.map +1 -1
  1238. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.js.map +1 -1
  1239. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts +757 -440
  1240. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts.map +1 -1
  1241. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js +5 -1
  1242. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js.map +1 -1
  1243. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.d.ts.map +1 -1
  1244. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js +90 -3
  1245. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js.map +1 -1
  1246. package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.d.ts +76 -76
  1247. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts +8 -8
  1248. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts.map +1 -1
  1249. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js +3 -2
  1250. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js.map +1 -1
  1251. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts +2723 -359
  1252. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts.map +1 -1
  1253. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js +190 -10
  1254. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js.map +1 -1
  1255. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts +1 -1
  1256. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts.map +1 -1
  1257. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js +1 -1
  1258. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js.map +1 -1
  1259. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts +401 -91
  1260. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts.map +1 -1
  1261. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js +66 -0
  1262. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js.map +1 -1
  1263. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts +32 -31
  1264. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts.map +1 -1
  1265. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts +10 -5
  1266. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts.map +1 -1
  1267. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js +1 -1
  1268. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js.map +1 -1
  1269. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.d.ts +30 -0
  1270. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.d.ts.map +1 -0
  1271. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.js +42 -0
  1272. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.js.map +1 -0
  1273. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.d.ts +49 -0
  1274. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.d.ts.map +1 -0
  1275. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.js +35 -0
  1276. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.js.map +1 -0
  1277. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.d.ts +48 -0
  1278. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.d.ts.map +1 -0
  1279. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.js +49 -0
  1280. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.js.map +1 -0
  1281. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.d.ts +236 -0
  1282. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.d.ts.map +1 -0
  1283. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.js +318 -0
  1284. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.js.map +1 -0
  1285. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts +258 -0
  1286. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts.map +1 -0
  1287. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.js +27 -0
  1288. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.js.map +1 -0
  1289. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.d.ts +63 -0
  1290. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.d.ts.map +1 -0
  1291. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.js +52 -0
  1292. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.js.map +1 -0
  1293. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.d.ts +3 -0
  1294. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.d.ts.map +1 -0
  1295. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.js +3 -0
  1296. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.js.map +1 -0
  1297. package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts +36 -15
  1298. package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts.map +1 -1
  1299. package/node_modules/@happier-dev/protocol/dist/sessionFork.js +42 -12
  1300. package/node_modules/@happier-dev/protocol/dist/sessionFork.js.map +1 -1
  1301. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.d.ts +25 -0
  1302. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.d.ts.map +1 -0
  1303. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.js +27 -0
  1304. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.js.map +1 -0
  1305. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.d.ts +2 -0
  1306. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.d.ts.map +1 -0
  1307. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.js +2 -0
  1308. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.js.map +1 -0
  1309. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.d.ts +304 -0
  1310. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.d.ts.map +1 -0
  1311. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.js +117 -0
  1312. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.js.map +1 -0
  1313. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.d.ts +104 -0
  1314. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.d.ts.map +1 -0
  1315. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.js +72 -0
  1316. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.js.map +1 -0
  1317. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.d.ts +30 -0
  1318. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.d.ts.map +1 -0
  1319. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.js +33 -0
  1320. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.js.map +1 -0
  1321. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.d.ts +44 -0
  1322. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.d.ts.map +1 -0
  1323. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.js +115 -0
  1324. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.js.map +1 -0
  1325. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.d.ts +7 -0
  1326. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.d.ts.map +1 -0
  1327. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.js +12 -0
  1328. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.js.map +1 -0
  1329. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.d.ts +8 -0
  1330. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.d.ts.map +1 -0
  1331. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.js +7 -0
  1332. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.js.map +1 -0
  1333. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.d.ts +17 -0
  1334. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.d.ts.map +1 -0
  1335. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.js +11 -0
  1336. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.js.map +1 -0
  1337. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.d.ts +7 -0
  1338. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.d.ts.map +1 -0
  1339. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.js +6 -0
  1340. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.js.map +1 -0
  1341. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.d.ts +20 -14
  1342. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.d.ts.map +1 -1
  1343. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.js +24 -0
  1344. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.js.map +1 -1
  1345. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.d.ts +10 -0
  1346. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.d.ts.map +1 -0
  1347. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.js +4 -0
  1348. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.js.map +1 -0
  1349. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.d.ts +18 -0
  1350. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.d.ts.map +1 -0
  1351. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.js +51 -0
  1352. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.js.map +1 -0
  1353. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.d.ts +81 -0
  1354. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.d.ts.map +1 -0
  1355. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.js +62 -0
  1356. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.js.map +1 -0
  1357. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts +1103 -22
  1358. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts.map +1 -1
  1359. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js +621 -17
  1360. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js.map +1 -1
  1361. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts +14 -3
  1362. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts.map +1 -1
  1363. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js +22 -3
  1364. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js.map +1 -1
  1365. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.d.ts +19 -0
  1366. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.d.ts.map +1 -0
  1367. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.js +56 -0
  1368. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.js.map +1 -0
  1369. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts +2 -2
  1370. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.d.ts +17 -0
  1371. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.d.ts.map +1 -0
  1372. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.js +60 -0
  1373. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.js.map +1 -0
  1374. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.d.ts +25 -0
  1375. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.d.ts.map +1 -0
  1376. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.js +21 -0
  1377. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.js.map +1 -0
  1378. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.d.ts +25 -0
  1379. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.d.ts.map +1 -0
  1380. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.js +37 -0
  1381. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.js.map +1 -0
  1382. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.d.ts +31 -5
  1383. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.d.ts.map +1 -1
  1384. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.js +64 -0
  1385. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.js.map +1 -1
  1386. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.d.ts +159 -0
  1387. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.d.ts.map +1 -0
  1388. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.js +75 -0
  1389. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.js.map +1 -0
  1390. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.d.ts +37 -0
  1391. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.d.ts.map +1 -0
  1392. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.js +48 -0
  1393. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.js.map +1 -0
  1394. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts +57 -14
  1395. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts.map +1 -1
  1396. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js +47 -4
  1397. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js.map +1 -1
  1398. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts +2 -2
  1399. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts.map +1 -1
  1400. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.d.ts +5 -0
  1401. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.d.ts.map +1 -0
  1402. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.js +16 -0
  1403. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.js.map +1 -0
  1404. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts +21 -0
  1405. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts.map +1 -0
  1406. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js +27 -0
  1407. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js.map +1 -0
  1408. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.d.ts +10 -0
  1409. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.d.ts.map +1 -0
  1410. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.js +29 -0
  1411. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.js.map +1 -0
  1412. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.d.ts +30 -0
  1413. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.d.ts.map +1 -0
  1414. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.js +33 -0
  1415. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.js.map +1 -0
  1416. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.d.ts +10 -0
  1417. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.d.ts.map +1 -0
  1418. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.js +10 -0
  1419. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.js.map +1 -0
  1420. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.d.ts +325 -0
  1421. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.d.ts.map +1 -0
  1422. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.js +184 -0
  1423. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.js.map +1 -0
  1424. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.d.ts +61 -0
  1425. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.d.ts.map +1 -0
  1426. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.js +29 -0
  1427. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.js.map +1 -0
  1428. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.d.ts +8 -0
  1429. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.d.ts.map +1 -0
  1430. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.js +12 -0
  1431. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.js.map +1 -0
  1432. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.d.ts +208 -0
  1433. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.d.ts.map +1 -0
  1434. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.js +46 -0
  1435. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.js.map +1 -0
  1436. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.d.ts +20 -0
  1437. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.d.ts.map +1 -0
  1438. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.js +21 -0
  1439. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.js.map +1 -0
  1440. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.d.ts +23 -0
  1441. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.d.ts.map +1 -0
  1442. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.js +25 -0
  1443. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.js.map +1 -0
  1444. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.d.ts +352 -0
  1445. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.d.ts.map +1 -0
  1446. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.js +207 -0
  1447. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.js.map +1 -0
  1448. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.d.ts +2 -0
  1449. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.d.ts.map +1 -0
  1450. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.js +2 -0
  1451. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.js.map +1 -0
  1452. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.d.ts +11 -0
  1453. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.d.ts.map +1 -0
  1454. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.js +14 -0
  1455. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.js.map +1 -0
  1456. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.d.ts +4 -0
  1457. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.d.ts.map +1 -0
  1458. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.js +4 -0
  1459. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.js.map +1 -0
  1460. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.d.ts +49 -0
  1461. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.d.ts.map +1 -0
  1462. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.js +125 -0
  1463. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.js.map +1 -0
  1464. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.d.ts +113 -0
  1465. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.d.ts.map +1 -0
  1466. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.js +79 -0
  1467. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.js.map +1 -0
  1468. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.d.ts +47 -0
  1469. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.d.ts.map +1 -0
  1470. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.js +44 -0
  1471. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.js.map +1 -0
  1472. package/node_modules/@happier-dev/protocol/dist/sessionStop.d.ts +45 -0
  1473. package/node_modules/@happier-dev/protocol/dist/sessionStop.d.ts.map +1 -0
  1474. package/node_modules/@happier-dev/protocol/dist/sessionStop.js +27 -0
  1475. package/node_modules/@happier-dev/protocol/dist/sessionStop.js.map +1 -0
  1476. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.d.ts +36 -0
  1477. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.d.ts.map +1 -0
  1478. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.js +40 -0
  1479. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.js.map +1 -0
  1480. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.d.ts +303 -0
  1481. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.d.ts.map +1 -0
  1482. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.js +28 -0
  1483. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.js.map +1 -0
  1484. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.d.ts +12 -0
  1485. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.d.ts.map +1 -0
  1486. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.js +12 -0
  1487. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.js.map +1 -0
  1488. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.d.ts +9 -0
  1489. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.d.ts.map +1 -0
  1490. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.js +8 -0
  1491. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.js.map +1 -0
  1492. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.d.ts +69 -0
  1493. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.d.ts.map +1 -0
  1494. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.js +28 -0
  1495. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.js.map +1 -0
  1496. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.d.ts +28 -0
  1497. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.d.ts.map +1 -0
  1498. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.js +20 -0
  1499. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.js.map +1 -0
  1500. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.d.ts +150 -0
  1501. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.d.ts.map +1 -0
  1502. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.js +69 -0
  1503. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.js.map +1 -0
  1504. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.d.ts +10 -0
  1505. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.d.ts.map +1 -0
  1506. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.js +3 -0
  1507. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.js.map +1 -0
  1508. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.d.ts +10 -0
  1509. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.d.ts.map +1 -0
  1510. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.js +9 -0
  1511. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.js.map +1 -0
  1512. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.d.ts +8 -0
  1513. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.d.ts.map +1 -0
  1514. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.js +9 -0
  1515. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.js.map +1 -0
  1516. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.d.ts +114 -0
  1517. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.d.ts.map +1 -0
  1518. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.js +8 -0
  1519. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.js.map +1 -0
  1520. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.d.ts +174 -0
  1521. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.d.ts.map +1 -0
  1522. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.js +68 -0
  1523. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.js.map +1 -0
  1524. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts +67 -3
  1525. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts.map +1 -1
  1526. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js +290 -2
  1527. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js.map +1 -1
  1528. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.d.ts +8 -0
  1529. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.d.ts.map +1 -0
  1530. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.js +8 -0
  1531. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.js.map +1 -0
  1532. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.d.ts +9 -0
  1533. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.d.ts.map +1 -0
  1534. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.js +16 -0
  1535. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.js.map +1 -0
  1536. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.d.ts +8 -0
  1537. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.d.ts.map +1 -0
  1538. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.js +25 -0
  1539. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.js.map +1 -0
  1540. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.d.ts +18 -0
  1541. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.d.ts.map +1 -0
  1542. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.js +87 -0
  1543. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.js.map +1 -0
  1544. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.d.ts +21 -0
  1545. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.d.ts.map +1 -0
  1546. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.js +91 -0
  1547. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.js.map +1 -0
  1548. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts +1574 -0
  1549. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts.map +1 -0
  1550. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js +397 -0
  1551. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js.map +1 -0
  1552. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.d.ts +165 -0
  1553. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.d.ts.map +1 -0
  1554. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.js +124 -0
  1555. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.js.map +1 -0
  1556. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.d.ts +33 -0
  1557. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.d.ts.map +1 -0
  1558. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.js +73 -0
  1559. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.js.map +1 -0
  1560. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.d.ts +6 -0
  1561. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.d.ts.map +1 -0
  1562. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.js +6 -0
  1563. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.js.map +1 -0
  1564. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.d.ts +44 -0
  1565. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.d.ts.map +1 -0
  1566. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.js +123 -0
  1567. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.js.map +1 -0
  1568. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.d.ts +101 -0
  1569. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.d.ts.map +1 -0
  1570. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.js +49 -0
  1571. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.js.map +1 -0
  1572. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.d.ts +17 -0
  1573. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.d.ts.map +1 -0
  1574. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.js +29 -0
  1575. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.js.map +1 -0
  1576. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.d.ts +20 -0
  1577. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.d.ts.map +1 -0
  1578. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.js +101 -0
  1579. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.js.map +1 -0
  1580. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.d.ts +159 -0
  1581. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.d.ts.map +1 -0
  1582. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.js +125 -0
  1583. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.js.map +1 -0
  1584. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.d.ts +280 -0
  1585. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.d.ts.map +1 -0
  1586. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.js +125 -0
  1587. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.js.map +1 -0
  1588. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.d.ts +336 -0
  1589. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.d.ts.map +1 -0
  1590. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.js +138 -0
  1591. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.js.map +1 -0
  1592. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.d.ts +224 -0
  1593. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.d.ts.map +1 -0
  1594. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.js +96 -0
  1595. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.js.map +1 -0
  1596. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.d.ts +188 -0
  1597. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.d.ts.map +1 -0
  1598. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.js +24 -0
  1599. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.js.map +1 -0
  1600. package/node_modules/@happier-dev/protocol/dist/social/friends.d.ts +16 -16
  1601. package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts +36 -8
  1602. package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts.map +1 -1
  1603. package/node_modules/@happier-dev/protocol/dist/socketRpc.js +13 -0
  1604. package/node_modules/@happier-dev/protocol/dist/socketRpc.js.map +1 -1
  1605. package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts +91 -14
  1606. package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts.map +1 -1
  1607. package/node_modules/@happier-dev/protocol/dist/spawnSession.js +233 -0
  1608. package/node_modules/@happier-dev/protocol/dist/spawnSession.js.map +1 -1
  1609. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.d.ts +66 -0
  1610. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.d.ts.map +1 -0
  1611. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.js +131 -0
  1612. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.js.map +1 -0
  1613. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.d.ts +8 -8
  1614. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.d.ts +7 -7
  1615. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.d.ts +6 -6
  1616. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.d.ts +5 -5
  1617. package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.d.ts +1 -1
  1618. package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.js.map +1 -1
  1619. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts +2 -2
  1620. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts.map +1 -1
  1621. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.d.ts +7 -0
  1622. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.d.ts.map +1 -0
  1623. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.js +32 -0
  1624. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.js.map +1 -0
  1625. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.d.ts.map +1 -1
  1626. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js +95 -39
  1627. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js.map +1 -1
  1628. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.d.ts +99 -0
  1629. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.d.ts.map +1 -0
  1630. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.js +246 -0
  1631. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.js.map +1 -0
  1632. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts +11 -11
  1633. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts.map +1 -1
  1634. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts +2 -1
  1635. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts.map +1 -1
  1636. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js +2 -1
  1637. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js.map +1 -1
  1638. package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.d.ts +5 -5
  1639. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts +45 -39
  1640. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts.map +1 -1
  1641. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js +9 -0
  1642. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js.map +1 -1
  1643. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.d.ts +9 -0
  1644. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.d.ts.map +1 -0
  1645. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.js +343 -0
  1646. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.js.map +1 -0
  1647. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts +284 -100
  1648. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts.map +1 -1
  1649. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js +62 -0
  1650. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js.map +1 -1
  1651. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts +1 -1
  1652. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts.map +1 -1
  1653. package/node_modules/@happier-dev/protocol/dist/updates.d.ts +813 -24
  1654. package/node_modules/@happier-dev/protocol/dist/updates.d.ts.map +1 -1
  1655. package/node_modules/@happier-dev/protocol/dist/updates.js +148 -1
  1656. package/node_modules/@happier-dev/protocol/dist/updates.js.map +1 -1
  1657. package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts +2 -2
  1658. package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts.map +1 -1
  1659. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.d.ts +310 -0
  1660. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.d.ts.map +1 -0
  1661. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.js +108 -0
  1662. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.js.map +1 -0
  1663. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.d.ts +39 -0
  1664. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.d.ts.map +1 -0
  1665. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.js +33 -0
  1666. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.js.map +1 -0
  1667. package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.d.ts +1 -1
  1668. package/node_modules/@happier-dev/protocol/package.json +8 -0
  1669. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts +38 -0
  1670. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts.map +1 -0
  1671. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js +1123 -0
  1672. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js.map +1 -0
  1673. package/node_modules/@happier-dev/release-runtime/dist/assets.d.ts.map +1 -1
  1674. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts +2 -0
  1675. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts.map +1 -1
  1676. package/node_modules/@happier-dev/release-runtime/dist/github.js +17 -15
  1677. package/node_modules/@happier-dev/release-runtime/dist/github.js.map +1 -1
  1678. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts +1 -1
  1679. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts.map +1 -1
  1680. package/node_modules/@happier-dev/release-runtime/dist/index.js +1 -1
  1681. package/node_modules/@happier-dev/release-runtime/dist/index.js.map +1 -1
  1682. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts +3 -2
  1683. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts.map +1 -1
  1684. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js +5 -0
  1685. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js.map +1 -1
  1686. package/node_modules/@happier-dev/release-runtime/node_modules/tar/LICENSE.md +55 -0
  1687. package/node_modules/@happier-dev/release-runtime/node_modules/tar/README.md +1233 -0
  1688. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts +3 -0
  1689. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
  1690. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js +82 -0
  1691. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js.map +1 -0
  1692. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
  1693. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
  1694. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  1695. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
  1696. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
  1697. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
  1698. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js +88 -0
  1699. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js.map +1 -0
  1700. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
  1701. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
  1702. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  1703. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
  1704. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts +53 -0
  1705. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
  1706. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js +348 -0
  1707. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js.map +1 -0
  1708. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts +20 -0
  1709. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
  1710. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js +64 -0
  1711. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js.map +1 -0
  1712. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js +4 -0
  1713. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
  1714. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
  1715. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
  1716. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  1717. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
  1718. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts +7 -0
  1719. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
  1720. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js +153 -0
  1721. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js.map +1 -0
  1722. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
  1723. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
  1724. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js +52 -0
  1725. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
  1726. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
  1727. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
  1728. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  1729. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
  1730. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
  1731. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
  1732. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  1733. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
  1734. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
  1735. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
  1736. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  1737. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
  1738. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
  1739. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
  1740. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  1741. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
  1742. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts +604 -0
  1743. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
  1744. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js +66 -0
  1745. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js.map +1 -0
  1746. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
  1747. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
  1748. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js +544 -0
  1749. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js.map +1 -0
  1750. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/package.json +3 -0
  1751. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts +92 -0
  1752. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
  1753. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js +655 -0
  1754. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js.map +1 -0
  1755. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
  1756. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
  1757. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  1758. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
  1759. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
  1760. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
  1761. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js +182 -0
  1762. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js.map +1 -0
  1763. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
  1764. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
  1765. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  1766. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
  1767. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
  1768. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
  1769. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  1770. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
  1771. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
  1772. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
  1773. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js +227 -0
  1774. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js.map +1 -0
  1775. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
  1776. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
  1777. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  1778. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
  1779. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
  1780. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
  1781. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  1782. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
  1783. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
  1784. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
  1785. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  1786. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
  1787. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts +16 -0
  1788. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
  1789. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js +70 -0
  1790. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js.map +1 -0
  1791. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
  1792. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
  1793. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js +932 -0
  1794. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
  1795. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts +2 -0
  1796. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
  1797. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js +33 -0
  1798. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js.map +1 -0
  1799. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
  1800. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
  1801. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  1802. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
  1803. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
  1804. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
  1805. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js +14 -0
  1806. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
  1807. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
  1808. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
  1809. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  1810. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
  1811. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts +3 -0
  1812. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts.map +1 -0
  1813. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js +76 -0
  1814. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js.map +1 -0
  1815. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
  1816. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
  1817. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js +14 -0
  1818. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
  1819. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts +3 -0
  1820. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
  1821. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js +49 -0
  1822. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js.map +1 -0
  1823. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
  1824. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
  1825. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  1826. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
  1827. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts +53 -0
  1828. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts.map +1 -0
  1829. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js +311 -0
  1830. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js.map +1 -0
  1831. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts +20 -0
  1832. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts.map +1 -0
  1833. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js +20 -0
  1834. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js.map +1 -0
  1835. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js +4 -0
  1836. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js.map +7 -0
  1837. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
  1838. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
  1839. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js +94 -0
  1840. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
  1841. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts +7 -0
  1842. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts.map +1 -0
  1843. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js +113 -0
  1844. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js.map +1 -0
  1845. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts +49 -0
  1846. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
  1847. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js +48 -0
  1848. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js.map +1 -0
  1849. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
  1850. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
  1851. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js +179 -0
  1852. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js.map +1 -0
  1853. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
  1854. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
  1855. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js +25 -0
  1856. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
  1857. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
  1858. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
  1859. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  1860. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
  1861. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
  1862. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
  1863. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  1864. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
  1865. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts +604 -0
  1866. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts.map +1 -0
  1867. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js +54 -0
  1868. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js.map +1 -0
  1869. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts +105 -0
  1870. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
  1871. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js +502 -0
  1872. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js.map +1 -0
  1873. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/package.json +3 -0
  1874. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts +92 -0
  1875. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
  1876. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js +651 -0
  1877. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js.map +1 -0
  1878. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
  1879. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
  1880. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js +166 -0
  1881. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
  1882. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts +26 -0
  1883. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
  1884. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js +178 -0
  1885. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js.map +1 -0
  1886. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
  1887. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
  1888. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js +3 -0
  1889. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js.map +1 -0
  1890. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
  1891. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
  1892. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js +132 -0
  1893. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js.map +1 -0
  1894. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts +2 -0
  1895. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
  1896. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js +221 -0
  1897. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js.map +1 -0
  1898. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
  1899. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
  1900. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  1901. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
  1902. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
  1903. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
  1904. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  1905. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
  1906. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
  1907. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
  1908. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js +15 -0
  1909. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
  1910. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts +16 -0
  1911. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts.map +1 -0
  1912. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js +65 -0
  1913. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js.map +1 -0
  1914. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts +101 -0
  1915. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
  1916. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js +891 -0
  1917. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js.map +1 -0
  1918. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts +2 -0
  1919. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts.map +1 -0
  1920. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js +30 -0
  1921. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js.map +1 -0
  1922. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
  1923. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
  1924. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js +27 -0
  1925. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js.map +1 -0
  1926. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts +3 -0
  1927. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
  1928. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js +9 -0
  1929. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js.map +1 -0
  1930. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
  1931. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
  1932. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js +656 -0
  1933. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js.map +1 -0
  1934. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  1935. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/README.md +71 -0
  1936. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
  1937. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
  1938. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  1939. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
  1940. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  1941. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
  1942. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
  1943. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  1944. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
  1945. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  1946. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/LICENSE +15 -0
  1947. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/README.md +825 -0
  1948. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  1949. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  1950. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js +1028 -0
  1951. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  1952. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/package.json +3 -0
  1953. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts +549 -0
  1954. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  1955. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js +1018 -0
  1956. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js.map +1 -0
  1957. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/package.json +3 -0
  1958. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/package.json +82 -0
  1959. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/package.json +72 -0
  1960. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/LICENSE.md +63 -0
  1961. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/README.md +3 -0
  1962. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
  1963. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
  1964. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js +93 -0
  1965. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js.map +1 -0
  1966. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/package.json +3 -0
  1967. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts +3 -0
  1968. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
  1969. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js +85 -0
  1970. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js.map +1 -0
  1971. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/package.json +3 -0
  1972. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/package.json +69 -0
  1973. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/LICENSE +15 -0
  1974. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/README.md +825 -0
  1975. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  1976. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  1977. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js +1028 -0
  1978. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  1979. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/package.json +3 -0
  1980. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts +549 -0
  1981. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  1982. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js +1018 -0
  1983. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js.map +1 -0
  1984. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/package.json +3 -0
  1985. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/package.json +82 -0
  1986. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/LICENSE +26 -0
  1987. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/README.md +64 -0
  1988. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
  1989. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
  1990. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  1991. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
  1992. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
  1993. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
  1994. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js +416 -0
  1995. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
  1996. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/package.json +3 -0
  1997. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
  1998. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
  1999. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js +117 -0
  2000. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js.map +1 -0
  2001. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts +99 -0
  2002. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
  2003. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js +363 -0
  2004. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js.map +1 -0
  2005. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/package.json +3 -0
  2006. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
  2007. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/README.md +825 -0
  2008. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  2009. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  2010. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js +1028 -0
  2011. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  2012. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/package.json +3 -0
  2013. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts +549 -0
  2014. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  2015. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js +1018 -0
  2016. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js.map +1 -0
  2017. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/package.json +3 -0
  2018. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/package.json +82 -0
  2019. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/package.json +80 -0
  2020. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/LICENSE.md +63 -0
  2021. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/README.md +205 -0
  2022. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
  2023. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
  2024. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
  2025. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js.map +1 -0
  2026. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
  2027. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts +39 -0
  2028. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
  2029. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
  2030. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js.map +1 -0
  2031. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
  2032. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/package.json +68 -0
  2033. package/node_modules/@happier-dev/release-runtime/node_modules/tar/package.json +298 -0
  2034. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/README.md +72 -0
  2035. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.js +273 -0
  2036. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.min.js +6 -0
  2037. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/package.json +55 -0
  2038. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/types.d.ts +3 -0
  2039. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/LICENSE +21 -0
  2040. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/README.md +658 -0
  2041. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/index.js +796 -0
  2042. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/LICENSE +19 -0
  2043. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/README.md +47 -0
  2044. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/index.js +111 -0
  2045. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/package.json +39 -0
  2046. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.npmignore +2 -0
  2047. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.travis.yml +7 -0
  2048. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/CHANGELOG.md +49 -0
  2049. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/LICENSE +21 -0
  2050. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/README.md +199 -0
  2051. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/index.js +296 -0
  2052. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/LICENSE +23 -0
  2053. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/README.md +41 -0
  2054. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/index.js +55 -0
  2055. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/package.json +18 -0
  2056. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/test.js +137 -0
  2057. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/package.json +36 -0
  2058. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/test/test.js +350 -0
  2059. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/package.json +40 -0
  2060. package/node_modules/@happier-dev/release-runtime/package.json +8 -3
  2061. package/node_modules/@happier-dev/release-runtime/releaseRings.cjs +204 -0
  2062. package/package.json +5 -3
  2063. package/scripts/auth.mjs +219 -230
  2064. package/scripts/auth_copy_from_runCapture.integration.test.mjs +39 -20
  2065. package/scripts/auth_login_force_cleans_server_scoped_credentials.integration.test.mjs +41 -8
  2066. package/scripts/auth_login_guided_server_no_expo.test.mjs +543 -25
  2067. package/scripts/auth_login_print_includes_configure_links.test.mjs +23 -4
  2068. package/scripts/auth_login_respects_pinned_stack_port.test.mjs +68 -17
  2069. package/scripts/build/build_server_artifact.mjs +1 -0
  2070. package/scripts/build/collect_build_source_metadata.mjs +6 -5
  2071. package/scripts/build/collect_build_source_metadata.test.mjs +21 -0
  2072. package/scripts/build/runtime_build_lock.mjs +3 -1
  2073. package/scripts/build/runtime_build_lock.test.mjs +18 -0
  2074. package/scripts/build.mjs +8 -0
  2075. package/scripts/bundleWorkspaceDeps.mjs +427 -16
  2076. package/scripts/bundleWorkspaceDeps.test.mjs +419 -11
  2077. package/scripts/claude_hooks.test.mjs +50 -0
  2078. package/scripts/daemon.getDaemonEnv.test.mjs +106 -2
  2079. package/scripts/daemon.mjs +1195 -292
  2080. package/scripts/daemon.status_scope.test.mjs +2 -1
  2081. package/scripts/daemon_dist_guard.test.mjs +2800 -97
  2082. package/scripts/daemon_invalid_auth_reseed_stack_name.integration.test.mjs +64 -2
  2083. package/scripts/daemon_server_scope_commands.test.mjs +158 -49
  2084. package/scripts/daemon_server_scoped_state.test.mjs +59 -12
  2085. package/scripts/daemon_start_verification.integration.test.mjs +856 -65
  2086. package/scripts/daemon_stop_expected_pid.test.mjs +336 -12
  2087. package/scripts/dev.mjs +590 -93
  2088. package/scripts/dev_cli_build_ownership.test.mjs +191 -0
  2089. package/scripts/dev_external_server_flags.test.mjs +142 -2
  2090. package/scripts/dev_preserve_daemon_shutdown.integration.test.mjs +238 -0
  2091. package/scripts/dev_reload_composition.integration.test.mjs +392 -0
  2092. package/scripts/dev_target_placement.test.mjs +97 -0
  2093. package/scripts/dev_targets.mjs +159 -0
  2094. package/scripts/dev_targets_cmd.test.mjs +81 -0
  2095. package/scripts/direct_start_cleanup_dry_run.test.mjs +66 -0
  2096. package/scripts/doctor.mjs +10 -2
  2097. package/scripts/doctor_runtime_snapshot.test.mjs +3 -2
  2098. package/scripts/eas.mjs +3 -2
  2099. package/scripts/eas_platform_parsing.test.mjs +9 -0
  2100. package/scripts/env.mjs +2 -5
  2101. package/scripts/env_cmd.test.mjs +32 -0
  2102. package/scripts/ghops.test.mjs +515 -3
  2103. package/scripts/happier.mjs +1 -429
  2104. package/scripts/happier_defaults_from_settings.test.mjs +56 -83
  2105. package/scripts/happier_main.mjs +433 -0
  2106. package/scripts/happier_runtime_snapshot.test.mjs +186 -14
  2107. package/scripts/happier_server_url_scope.test.mjs +3 -1
  2108. package/scripts/happier_tsx_fallback.test.mjs +5 -4
  2109. package/scripts/happier_wrapper_bootstrap.test.mjs +208 -0
  2110. package/scripts/hstack_wrapper_bundled_workspace_sync.test.mjs +351 -0
  2111. package/scripts/init_shim_invoked_cwd.test.mjs +10 -2
  2112. package/scripts/lifecycle_authority_inventory.test.mjs +40 -0
  2113. package/scripts/lint.mjs +3 -2
  2114. package/scripts/localBundledWorkspacePreflight.test.mjs +330 -0
  2115. package/scripts/menubar.mjs +2 -2
  2116. package/scripts/migrate.mjs +30 -5
  2117. package/scripts/migrate_effective_db_provider.test.mjs +68 -0
  2118. package/scripts/mobile.mjs +59 -13
  2119. package/scripts/mobile_dev_client.mjs +12 -7
  2120. package/scripts/mobile_dev_client_android_falls_back_to_pipeline_in_test_stub.test.mjs +30 -1
  2121. package/scripts/mobile_dev_client_android_reuse_existing_apk_in_test_stub.test.mjs +62 -1
  2122. package/scripts/mobile_dev_client_android_reuse_falls_back_to_cached_apk_in_test_stub.test.mjs +1 -1
  2123. package/scripts/mobile_dev_client_help_smoke.test.mjs +2 -0
  2124. package/scripts/mobile_memory_profiling_prebuild_patches_podfile_autolinking.test.mjs +94 -0
  2125. package/scripts/mobile_profiling_runtime_uses_simulator_selection.test.mjs +116 -0
  2126. package/scripts/mobile_run_android_passes_port.test.mjs +120 -2
  2127. package/scripts/orchestrated_stack_auth_flow.test.mjs +40 -4
  2128. package/scripts/orchestrated_stack_auth_flow_webapp_url.test.mjs +76 -4
  2129. package/scripts/pack.mjs +53 -8
  2130. package/scripts/pack.test.mjs +113 -2
  2131. package/scripts/pglite_lock.integration.test.mjs +46 -2
  2132. package/scripts/profile_mobile_scenario.mjs +235 -0
  2133. package/scripts/profile_processes.mjs +138 -0
  2134. package/scripts/profiling/ios_xctrace_memory_diagnostics.mjs +91 -0
  2135. package/scripts/profiling/ios_xctrace_memory_diagnostics.test.mjs +72 -0
  2136. package/scripts/profiling/mobile_profile_scenarios.mjs +830 -0
  2137. package/scripts/profiling/mobile_profile_scenarios.test.mjs +379 -0
  2138. package/scripts/profiling/process_profiler.mjs +424 -0
  2139. package/scripts/profiling/process_profiler.test.mjs +214 -0
  2140. package/scripts/provider_projection_owners.test.mjs +29 -0
  2141. package/scripts/provision/linux-ubuntu-provision.sh +33 -0
  2142. package/scripts/provision/linux-ubuntu-provision.test.mjs +19 -1
  2143. package/scripts/release_binary_smoke.integration.test.mjs +24 -12
  2144. package/scripts/remote_cmd.mjs +56 -13
  2145. package/scripts/remote_cmd.test.mjs +84 -1
  2146. package/scripts/repo_local.mjs +82 -130
  2147. package/scripts/repo_local_effective_db_provider.test.mjs +161 -0
  2148. package/scripts/repo_local_wrapper.test.mjs +75 -1
  2149. package/scripts/review_pr.mjs +8 -17
  2150. package/scripts/review_pr.warm_base_deps.test.mjs +8 -1
  2151. package/scripts/review_pr.workspace_cache.test.mjs +16 -0
  2152. package/scripts/root_package_repo_local_scripts.test.mjs +1 -0
  2153. package/scripts/run.mjs +283 -82
  2154. package/scripts/run_effective_db_provider.test.mjs +79 -0
  2155. package/scripts/run_script_with_stack_env.restart_port_reuse.test.mjs +80 -0
  2156. package/scripts/run_source_server_workspace_deps.test.mjs +18 -0
  2157. package/scripts/run_startup_topology_side_effects.test.mjs +196 -0
  2158. package/scripts/runtime/launch/inspectActiveRuntimeSnapshot.mjs +40 -13
  2159. package/scripts/runtime/launch/resolveActiveRuntimeSnapshot.test.mjs +119 -0
  2160. package/scripts/runtime/launch/resolveCliRuntimeLaunchSpec.mjs +51 -0
  2161. package/scripts/runtime/launch/resolveLaunchSpecs.test.mjs +153 -9
  2162. package/scripts/runtime/launch/resolveServerRuntimeLaunchSpec.mjs +61 -4
  2163. package/scripts/runtime/launch/resolveStackRuntimeLaunchContext.mjs +2 -2
  2164. package/scripts/runtime/launch/runServerRuntimeMigration.mjs +116 -0
  2165. package/scripts/runtime/launch/runServerRuntimeMigration.test.mjs +211 -0
  2166. package/scripts/runtime/launch/runtimeProvenanceConsumerInventory.test.mjs +36 -0
  2167. package/scripts/runtime/shared/runtime_mode.mjs +10 -1
  2168. package/scripts/runtime/shared/runtime_mode.test.mjs +22 -0
  2169. package/scripts/self_host/install_companion_cli.mjs +3 -17
  2170. package/scripts/self_host_runtime.mjs +470 -484
  2171. package/scripts/self_host_runtime.test.mjs +709 -36
  2172. package/scripts/self_host_schtasks.real.integration.test.mjs +2 -1
  2173. package/scripts/self_host_service_e2e_harness.mjs +7 -1
  2174. package/scripts/self_host_systemd.real.integration.test.mjs +31 -5
  2175. package/scripts/self_host_systemd_harness.test.mjs +33 -0
  2176. package/scripts/server_flavor.mjs +39 -17
  2177. package/scripts/server_flavor_provider.test.mjs +126 -0
  2178. package/scripts/service.mjs +85 -87
  2179. package/scripts/service.post_start_diagnostics_scope.test.mjs +97 -0
  2180. package/scripts/service_cleanup_ownership.test.mjs +41 -0
  2181. package/scripts/setup.mjs +26 -1
  2182. package/scripts/setup_dev_child_env.test.mjs +23 -2
  2183. package/scripts/sqlite_snapshot.mjs +86 -0
  2184. package/scripts/sqlite_snapshot.test.mjs +1032 -0
  2185. package/scripts/stack/help_text.mjs +5 -3
  2186. package/scripts/stack/run_script_with_stack_env.mjs +396 -189
  2187. package/scripts/stack/run_script_with_stack_env.test.mjs +368 -0
  2188. package/scripts/stack/stack_daemon_command.mjs +74 -48
  2189. package/scripts/stack/stack_daemon_runtime_provenance.test.mjs +40 -0
  2190. package/scripts/stack/stack_environment.mjs +57 -19
  2191. package/scripts/stack/stack_environment.sanitization.test.mjs +64 -0
  2192. package/scripts/stack/stack_happier_passthrough_command.mjs +21 -1
  2193. package/scripts/stack/stack_info_snapshot.mjs +317 -68
  2194. package/scripts/stack/stack_install_command.mjs +295 -0
  2195. package/scripts/stack/stack_mobile_install_command.mjs +19 -5
  2196. package/scripts/stack/stack_mobile_install_command.test.mjs +44 -0
  2197. package/scripts/stack/stack_stop_command.mjs +12 -4
  2198. package/scripts/stack/stack_stop_command.test.mjs +16 -0
  2199. package/scripts/stack.mjs +247 -96
  2200. package/scripts/stack_archive_cmd.integration.test.mjs +29 -1
  2201. package/scripts/stack_audit_fix_light_env.test.mjs +10 -7
  2202. package/scripts/stack_audit_mysql_provider.test.mjs +194 -0
  2203. package/scripts/stack_background_pinned_stack_json.test.mjs +59 -1
  2204. package/scripts/stack_copy_auth_server_scoped.test.mjs +30 -15
  2205. package/scripts/stack_daemon_cmd.integration.test.mjs +112 -5
  2206. package/scripts/stack_guided_login_inner_invocation.test.mjs +17 -7
  2207. package/scripts/stack_happy_cmd.integration.test.mjs +70 -15
  2208. package/scripts/stack_info_snapshot_running_status.test.mjs +789 -25
  2209. package/scripts/stack_install_command.test.mjs +125 -0
  2210. package/scripts/stack_new_name_normalize_cmd.test.mjs +31 -0
  2211. package/scripts/stack_new_port_policy.test.mjs +128 -0
  2212. package/scripts/stack_owner_death_watchdog.integration.test.mjs +227 -4
  2213. package/scripts/stack_package_scripts.test.mjs +3 -1
  2214. package/scripts/stack_runtime_start.integration.test.mjs +435 -12
  2215. package/scripts/stack_runtime_start_listener_proof.integration.test.mjs +119 -0
  2216. package/scripts/stack_server_flavors_defaults.test.mjs +126 -0
  2217. package/scripts/stack_stop_sweeps_legacy_infra_without_kind.integration.test.mjs +2 -0
  2218. package/scripts/stackless_startup_topology.test.mjs +111 -0
  2219. package/scripts/start_proxy_runtime_state.test.mjs +686 -0
  2220. package/scripts/start_runtime_mode_json.test.mjs +6 -3
  2221. package/scripts/stopStackWithEnv_daemonControlToken.integration.test.mjs +123 -6
  2222. package/scripts/stopStackWithEnv_daemonPidSet.integration.test.mjs +1008 -0
  2223. package/scripts/stopStackWithEnv_home_relative_env_file.integration.test.mjs +94 -0
  2224. package/scripts/stopStackWithEnv_kills_ephemeral_runtime_pids_without_env_markers.integration.test.mjs +346 -8
  2225. package/scripts/stopStackWithEnv_sweeps_repo_local_stack_by_stackName_when_runtime_missing.integration.test.mjs +280 -15
  2226. package/scripts/tailscale.mjs +2 -2
  2227. package/scripts/tauri_dev.mjs +46 -5
  2228. package/scripts/tauri_dev.test.mjs +111 -30
  2229. package/scripts/test_ci.mjs +14 -1
  2230. package/scripts/test_cmd.mjs +4 -3
  2231. package/scripts/test_integration.mjs +13 -2
  2232. package/scripts/testkit/core/env_scope.mjs +5 -1
  2233. package/scripts/testkit/core/expo_command_shims.mjs +29 -0
  2234. package/scripts/testkit/core/minimal_monorepo_layout.mjs +2 -0
  2235. package/scripts/testkit/core/owner_death_watchdog_fixture.mjs +36 -0
  2236. package/scripts/testkit/core/owner_death_watchdog_fixture.test.mjs +43 -0
  2237. package/scripts/testkit/core/runtime_snapshot_layout.mjs +11 -0
  2238. package/scripts/testkit/core/spawn_daemon_like_process.mjs +193 -0
  2239. package/scripts/testkit/core/spawn_daemon_like_process.test.mjs +85 -0
  2240. package/scripts/testkit/core/spawn_test_process.mjs +30 -0
  2241. package/scripts/testkit/core/spawn_test_process.test.mjs +38 -1
  2242. package/scripts/testkit/core/stub_happier_cli_files.mjs +13 -0
  2243. package/scripts/testkit/core/workspace_package_build_owner.mjs +29 -0
  2244. package/scripts/testkit/runtime_snapshot_start_testkit.mjs +128 -31
  2245. package/scripts/testkit/runtime_snapshot_testkit.mjs +3 -0
  2246. package/scripts/testkit/stack_happier_cli_command_testkit.mjs +4 -0
  2247. package/scripts/tools.mjs +20 -1
  2248. package/scripts/tools_profile_processes_help.test.mjs +131 -0
  2249. package/scripts/tui.mjs +245 -280
  2250. package/scripts/tui_restart_delegation.test.mjs +257 -0
  2251. package/scripts/tui_stopStackForTuiExit_no_autosweep.integration.test.mjs +57 -1
  2252. package/scripts/typecheck.mjs +3 -2
  2253. package/scripts/ui_gateway.mjs +2 -2
  2254. package/scripts/ui_gateway.test.mjs +119 -0
  2255. package/scripts/utils/auth/clearStackForceLoginCredentialPaths.mjs +11 -1
  2256. package/scripts/utils/auth/credentials_paths.mjs +110 -36
  2257. package/scripts/utils/auth/credentials_paths.test.mjs +283 -26
  2258. package/scripts/utils/auth/daemon_gate.test.mjs +3 -2
  2259. package/scripts/utils/auth/ensure_active_access_key_valid.mjs +31 -8
  2260. package/scripts/utils/auth/ensure_active_access_key_valid.test.mjs +115 -1
  2261. package/scripts/utils/auth/orchestrated_stack_auth_flow.mjs +34 -3
  2262. package/scripts/utils/auth/stable_scope_id.mjs +11 -0
  2263. package/scripts/utils/auth/stable_scope_id.test.mjs +16 -0
  2264. package/scripts/utils/auth/stack_guided_login.mjs +32 -15
  2265. package/scripts/utils/cli/args.mjs +33 -7
  2266. package/scripts/utils/cli/args.test.mjs +51 -0
  2267. package/scripts/utils/cli/cli.mjs +3 -4
  2268. package/scripts/utils/cli/cliDistIntegrity.mjs +130 -53
  2269. package/scripts/utils/cli/cliDistIntegrity.test.mjs +157 -0
  2270. package/scripts/utils/cli/cli_registry.mjs +107 -11
  2271. package/scripts/utils/cli/prereqs.test.mjs +2 -2
  2272. package/scripts/utils/dev/daemon.mjs +395 -151
  2273. package/scripts/utils/dev/daemonLifecycleReconciler.mjs +98 -0
  2274. package/scripts/utils/dev/daemonLifecycleReconciler.test.mjs +187 -0
  2275. package/scripts/utils/dev/daemon_watch_resilience.test.mjs +817 -166
  2276. package/scripts/utils/dev/devProxy.mjs +310 -0
  2277. package/scripts/utils/dev/devProxy.test.mjs +406 -0
  2278. package/scripts/utils/dev/devProxyLifecycle.mjs +27 -0
  2279. package/scripts/utils/dev/devProxyLifecycle.test.mjs +32 -0
  2280. package/scripts/utils/dev/devProxyRuntime.mjs +96 -0
  2281. package/scripts/utils/dev/devReloadComposition.mjs +50 -0
  2282. package/scripts/utils/dev/devReloadCoordinator.mjs +557 -0
  2283. package/scripts/utils/dev/devReloadCoordinator.test.mjs +1685 -0
  2284. package/scripts/utils/dev/devReloadTargets.mjs +11 -0
  2285. package/scripts/utils/dev/devRuntimeInputPolicy.mjs +31 -0
  2286. package/scripts/utils/dev/devStartupTopology.mjs +131 -0
  2287. package/scripts/utils/dev/devStartupTopology.test.mjs +181 -0
  2288. package/scripts/utils/dev/expo_dev.buildEnv.test.mjs +21 -0
  2289. package/scripts/utils/dev/expo_dev.ensure_workspace_built.test.mjs +169 -3
  2290. package/scripts/utils/dev/expo_dev.mjs +735 -259
  2291. package/scripts/utils/dev/expo_dev.tailscale.test.mjs +415 -0
  2292. package/scripts/utils/dev/expo_dev.test.mjs +72 -1
  2293. package/scripts/utils/dev/expo_dev_crash_supervision.test.mjs +341 -0
  2294. package/scripts/utils/dev/expo_dev_restart_port_reservation.test.mjs +521 -64
  2295. package/scripts/utils/dev/expo_dev_runtime_metadata.test.mjs +142 -4
  2296. package/scripts/utils/dev/expo_dev_supervision.mjs +116 -0
  2297. package/scripts/utils/dev/expo_dev_tailscale.mjs +153 -0
  2298. package/scripts/utils/dev/expo_dev_verbose_logs.test.mjs +24 -3
  2299. package/scripts/utils/dev/reloadPollInterval.mjs +18 -0
  2300. package/scripts/utils/dev/resolveDevServerConnection.mjs +5 -2
  2301. package/scripts/utils/dev/resolveDevServerConnection.test.mjs +20 -3
  2302. package/scripts/utils/dev/server.mjs +2251 -81
  2303. package/scripts/utils/dev/server_watch.exclusive.test.mjs +1986 -0
  2304. package/scripts/utils/dev/server_watch.test.mjs +1254 -0
  2305. package/scripts/utils/dev/tauri_dev.mjs +2 -1
  2306. package/scripts/utils/dev/tauri_dev.test.mjs +23 -18
  2307. package/scripts/utils/dev/watchSignature.mjs +95 -0
  2308. package/scripts/utils/dev_targets/config.mjs +266 -0
  2309. package/scripts/utils/dev_targets/config.test.mjs +224 -0
  2310. package/scripts/utils/dev_targets/doctor.mjs +61 -0
  2311. package/scripts/utils/dev_targets/doctor.test.mjs +67 -0
  2312. package/scripts/utils/dev_targets/mutagen_project.mjs +125 -0
  2313. package/scripts/utils/dev_targets/mutagen_project.test.mjs +121 -0
  2314. package/scripts/utils/dev_targets/remote_commands.mjs +478 -0
  2315. package/scripts/utils/dev_targets/remote_commands.test.mjs +389 -0
  2316. package/scripts/utils/dev_targets/remote_dependency_bootstrap.mjs +103 -0
  2317. package/scripts/utils/dev_targets/remote_dependency_bootstrap.test.mjs +38 -0
  2318. package/scripts/utils/dev_targets/service_placement.mjs +45 -0
  2319. package/scripts/utils/dev_targets/service_placement.test.mjs +61 -0
  2320. package/scripts/utils/dev_targets/supervisor.mjs +863 -0
  2321. package/scripts/utils/dev_targets/supervisor.test.mjs +1382 -0
  2322. package/scripts/utils/env/config.mjs +2 -7
  2323. package/scripts/utils/env/env.mjs +9 -5
  2324. package/scripts/utils/env/env_file.mjs +88 -16
  2325. package/scripts/utils/env/env_file.test.mjs +46 -1
  2326. package/scripts/utils/env/env_local.mjs +8 -7
  2327. package/scripts/utils/env/scrub_env.mjs +2 -0
  2328. package/scripts/utils/env/scrub_env.test.mjs +4 -0
  2329. package/scripts/utils/execution_host_adapter.mjs +87 -0
  2330. package/scripts/utils/execution_host_adapter.test.mjs +69 -0
  2331. package/scripts/utils/expo/command.mjs +6 -0
  2332. package/scripts/utils/expo/command_export_max_workers.test.mjs +2 -0
  2333. package/scripts/utils/expo/command_heap_limit_env.test.mjs +87 -25
  2334. package/scripts/utils/expo/command_workspace_deps_built.test.mjs +75 -29
  2335. package/scripts/utils/expo/expo.mjs +340 -14
  2336. package/scripts/utils/expo/expo_state_running.test.mjs +104 -2
  2337. package/scripts/utils/expo/expo_wait_for_metro.test.mjs +187 -0
  2338. package/scripts/utils/expo/metro_ports.mjs +160 -1
  2339. package/scripts/utils/expo/metro_ports.test.mjs +198 -1
  2340. package/scripts/utils/fs/atomic_dir_swap.mjs +44 -31
  2341. package/scripts/utils/fs/atomic_dir_swap.test.mjs +69 -0
  2342. package/scripts/utils/fs/atomic_rename.mjs +33 -0
  2343. package/scripts/utils/fs/json.mjs +5 -4
  2344. package/scripts/utils/fs/json.test.mjs +33 -0
  2345. package/scripts/utils/fs/tail.mjs +4 -0
  2346. package/scripts/utils/fs/tail.test.mjs +32 -0
  2347. package/scripts/utils/mobile/android_generated_build_state.mjs +87 -0
  2348. package/scripts/utils/mobile/config.mjs +14 -0
  2349. package/scripts/utils/mobile/dev_client_install_invocation.android.test.mjs +21 -0
  2350. package/scripts/utils/mobile/dev_client_install_invocation.mjs +39 -2
  2351. package/scripts/utils/mobile/dev_client_install_invocation.test.mjs +34 -0
  2352. package/scripts/utils/mobile/identifiers.mjs +29 -8
  2353. package/scripts/utils/mobile/identifiers.test.mjs +17 -1
  2354. package/scripts/utils/mobile/ios_podfile_autolinking.mjs +74 -0
  2355. package/scripts/utils/mobile/ios_podfile_autolinking.test.mjs +79 -0
  2356. package/scripts/utils/mobile/ios_podfile_properties.mjs +50 -0
  2357. package/scripts/utils/mobile/ios_podfile_properties.test.mjs +88 -0
  2358. package/scripts/utils/mobile/ios_profiling_runtime.mjs +171 -0
  2359. package/scripts/utils/mobile/ios_profiling_runtime.test.mjs +145 -0
  2360. package/scripts/utils/mobile/ios_xcodeproj_patch.mjs +6 -1
  2361. package/scripts/utils/mobile/ios_xcodeproj_patch.test.mjs +41 -0
  2362. package/scripts/utils/mobile/profiling_runtime_mode.mjs +35 -0
  2363. package/scripts/utils/mobile/profiling_runtime_mode.test.mjs +28 -0
  2364. package/scripts/utils/net/ports.mjs +419 -40
  2365. package/scripts/utils/net/ports.test.mjs +639 -1
  2366. package/scripts/utils/net/tcp_forward.mjs +117 -9
  2367. package/scripts/utils/net/tcp_forward.test.mjs +255 -0
  2368. package/scripts/utils/paths/canonical_home.mjs +11 -3
  2369. package/scripts/utils/paths/canonical_home.test.mjs +11 -3
  2370. package/scripts/utils/paths/paths.mjs +17 -5
  2371. package/scripts/utils/paths/paths_home_env.test.mjs +43 -0
  2372. package/scripts/utils/pglite_lock.mjs +84 -3
  2373. package/scripts/utils/proc/cliDistBuildLock.mjs +62 -81
  2374. package/scripts/utils/proc/cliDistBuildLock.test.mjs +400 -0
  2375. package/scripts/utils/proc/cli_runtime_inputs.mjs +109 -0
  2376. package/scripts/utils/proc/command_dependency_admission.test.mjs +54 -0
  2377. package/scripts/utils/proc/dependency_refresh.mjs +263 -0
  2378. package/scripts/utils/proc/dependency_refresh.test.mjs +125 -0
  2379. package/scripts/utils/proc/ensureWorkspacePackagesBuilt.test.mjs +569 -18
  2380. package/scripts/utils/proc/exit_cleanup.mjs +2 -2
  2381. package/scripts/utils/proc/jsonOwnerFileLock.mjs +194 -0
  2382. package/scripts/utils/proc/jsonOwnerFileLock.test.mjs +428 -0
  2383. package/scripts/utils/proc/ownership.mjs +411 -52
  2384. package/scripts/utils/proc/ownership_killProcessGroupOwnedByStack.test.mjs +348 -1
  2385. package/scripts/utils/proc/ownership_listPidsWithEnvNeedles.test.mjs +196 -1
  2386. package/scripts/utils/proc/pids.mjs +11 -6
  2387. package/scripts/utils/proc/pids.test.mjs +29 -0
  2388. package/scripts/utils/proc/pm.mjs +415 -372
  2389. package/scripts/utils/proc/pm_stack_cache_env.test.mjs +1299 -97
  2390. package/scripts/utils/proc/proc.mjs +342 -89
  2391. package/scripts/utils/proc/proc.test.mjs +362 -3
  2392. package/scripts/utils/proc/pruneLogsByCount.mjs +49 -0
  2393. package/scripts/utils/proc/pruneLogsByCount.test.mjs +132 -0
  2394. package/scripts/utils/proc/terminate.mjs +203 -20
  2395. package/scripts/utils/proc/terminate.test.mjs +207 -1
  2396. package/scripts/utils/proc/watch.mjs +139 -19
  2397. package/scripts/utils/proc/watch.test.mjs +230 -0
  2398. package/scripts/utils/proc/workspace_dependencies.mjs +21 -0
  2399. package/scripts/utils/proc/workspace_package_manifests.mjs +108 -0
  2400. package/scripts/utils/remote/install_remote_first_party_component.mjs +112 -43
  2401. package/scripts/utils/remote/install_remote_first_party_component.test.mjs +46 -35
  2402. package/scripts/utils/review/augment_runner_integration.test.mjs +10 -3
  2403. package/scripts/utils/review/targets.mjs +2 -2
  2404. package/scripts/utils/server/apply_runtime_server_sqlite_env.mjs +36 -0
  2405. package/scripts/utils/server/apply_runtime_server_sqlite_env.test.mjs +46 -0
  2406. package/scripts/utils/server/apply_server_preset_env_defaults.mjs +32 -0
  2407. package/scripts/utils/server/apply_server_preset_env_defaults.test.mjs +95 -0
  2408. package/scripts/utils/server/effective_db_provider.mjs +138 -0
  2409. package/scripts/utils/server/effective_db_provider.test.mjs +249 -0
  2410. package/scripts/utils/server/flavor_scripts.mjs +12 -78
  2411. package/scripts/utils/server/flavor_scripts.test.mjs +39 -47
  2412. package/scripts/utils/server/infra/happy_server_infra.mjs +92 -39
  2413. package/scripts/utils/server/infra/happy_server_infra_provider.test.mjs +290 -0
  2414. package/scripts/utils/server/listener_ownership.mjs +488 -0
  2415. package/scripts/utils/server/listener_ownership.test.mjs +473 -0
  2416. package/scripts/utils/server/logging_env.mjs +20 -0
  2417. package/scripts/utils/server/logging_env.test.mjs +29 -0
  2418. package/scripts/utils/server/mobile_api_url.mjs +17 -3
  2419. package/scripts/utils/server/mobile_api_url.test.mjs +21 -1
  2420. package/scripts/utils/server/prisma_client_import.mjs +18 -0
  2421. package/scripts/utils/server/prisma_import.mjs +0 -15
  2422. package/scripts/utils/server/prisma_import.test.mjs +0 -37
  2423. package/scripts/utils/server/resolve_stack_server_port.mjs +131 -43
  2424. package/scripts/utils/server/resolve_stack_server_port.test.mjs +696 -5
  2425. package/scripts/utils/server/server.mjs +146 -39
  2426. package/scripts/utils/server/server.test.mjs +252 -4
  2427. package/scripts/utils/server/server_migrations.mjs +17 -0
  2428. package/scripts/utils/server/shutdown_grace.mjs +14 -0
  2429. package/scripts/utils/server/shutdown_grace.test.mjs +29 -0
  2430. package/scripts/utils/server/source_server_workspace_deps.mjs +27 -0
  2431. package/scripts/utils/server/source_server_workspace_deps.test.mjs +71 -0
  2432. package/scripts/utils/server/urls.mjs +3 -5
  2433. package/scripts/utils/server/urls.test.mjs +22 -1
  2434. package/scripts/utils/server/validate.mjs +4 -43
  2435. package/scripts/utils/server/validate.test.mjs +4 -4
  2436. package/scripts/utils/service/archive_service_lifecycle.mjs +59 -0
  2437. package/scripts/utils/service/archive_service_lifecycle.test.mjs +88 -0
  2438. package/scripts/utils/service/daemon_autostart.mjs +1 -1
  2439. package/scripts/utils/service/daemon_autostart.test.mjs +34 -0
  2440. package/scripts/utils/service/service_manager.mjs +26 -1
  2441. package/scripts/utils/service/service_manager.plan.test.mjs +187 -1
  2442. package/scripts/utils/service/stack_autostart_resolution.mjs +6 -2
  2443. package/scripts/utils/service/stack_autostart_resolution.test.mjs +13 -1
  2444. package/scripts/utils/sqlite/sqlite_snapshot.mjs +820 -0
  2445. package/scripts/utils/stack/context.mjs +2 -3
  2446. package/scripts/utils/stack/context.test.mjs +18 -0
  2447. package/scripts/utils/stack/daemonControlClient.mjs +426 -0
  2448. package/scripts/utils/stack/daemonControlClient.test.mjs +567 -0
  2449. package/scripts/utils/stack/daemon_lifecycle_lock.mjs +49 -0
  2450. package/scripts/utils/stack/daemon_lifecycle_lock.test.mjs +220 -0
  2451. package/scripts/utils/stack/dirs.mjs +10 -6
  2452. package/scripts/utils/stack/dirs.test.mjs +33 -0
  2453. package/scripts/utils/stack/owner_death_watchdog.mjs +6 -1
  2454. package/scripts/utils/stack/owner_death_watchdog_runner.mjs +130 -2
  2455. package/scripts/utils/stack/repo_stack_identity.mjs +113 -0
  2456. package/scripts/utils/stack/repo_stack_identity.test.mjs +23 -0
  2457. package/scripts/utils/stack/restart_args.mjs +22 -0
  2458. package/scripts/utils/stack/runtime_daemon_state.mjs +474 -23
  2459. package/scripts/utils/stack/runtime_daemon_state.test.mjs +838 -0
  2460. package/scripts/utils/stack/runtime_owner_incarnation.mjs +9 -0
  2461. package/scripts/utils/stack/runtime_state.mjs +896 -37
  2462. package/scripts/utils/stack/runtime_state.test.mjs +1152 -2
  2463. package/scripts/utils/stack/server_profile_reconciliation.mjs +92 -0
  2464. package/scripts/utils/stack/startup.mjs +75 -81
  2465. package/scripts/utils/stack/startup_runtime_probe.test.mjs +115 -0
  2466. package/scripts/utils/stack/startup_server_light_dirs.test.mjs +10 -3
  2467. package/scripts/utils/stack/startup_server_light_generate.test.mjs +115 -4
  2468. package/scripts/utils/stack/startup_server_light_legacy.test.mjs +17 -15
  2469. package/scripts/utils/stack/startup_server_light_testkit.mjs +8 -1
  2470. package/scripts/utils/stack/stop.mjs +643 -146
  2471. package/scripts/utils/stack/stop_lock_timeout.test.mjs +13 -0
  2472. package/scripts/utils/tauri/desktop_install.mjs +81 -0
  2473. package/scripts/utils/tauri/desktop_install.test.mjs +43 -0
  2474. package/scripts/utils/tauri/dev_runtime.mjs +10 -1
  2475. package/scripts/utils/tauri/dev_runtime.test.mjs +2 -1
  2476. package/scripts/utils/tauri/stack_overrides.mjs +28 -4
  2477. package/scripts/utils/tauri/stack_overrides.test.mjs +26 -0
  2478. package/scripts/utils/test/test_env.mjs +44 -0
  2479. package/scripts/utils/test/test_env.test.mjs +99 -0
  2480. package/scripts/utils/tui/actions.mjs +4 -13
  2481. package/scripts/utils/tui/actions.test.mjs +5 -16
  2482. package/scripts/utils/tui/args.mjs +8 -2
  2483. package/scripts/utils/tui/args.test.mjs +14 -1
  2484. package/scripts/utils/tui/cleanup.mjs +16 -1
  2485. package/scripts/utils/tui/daemon_pane_reconcile.mjs +27 -1
  2486. package/scripts/utils/tui/daemon_pane_reconcile.test.mjs +18 -0
  2487. package/scripts/utils/tui/dev_target_panes.mjs +22 -0
  2488. package/scripts/utils/tui/dev_target_panes.test.mjs +26 -0
  2489. package/scripts/utils/tui/rescue_priority.mjs +37 -0
  2490. package/scripts/utils/tui/rescue_priority.test.mjs +24 -0
  2491. package/scripts/utils/tui/restart_operation.mjs +151 -0
  2492. package/scripts/utils/tui/stack_scope_env.mjs +8 -3
  2493. package/scripts/utils/tui/stack_scope_env.test.mjs +7 -2
  2494. package/scripts/utils/tui/stdin_handoff.mjs +13 -40
  2495. package/scripts/utils/tui/stdin_handoff.test.mjs +36 -1
  2496. package/scripts/utils/tui/tauri_mode.mjs +178 -6
  2497. package/scripts/utils/tui/tauri_mode.test.mjs +222 -4
  2498. package/scripts/utils/workspaces/workspaceBundleLock.mjs +39 -0
  2499. package/scripts/utils/worktrees/yarn_install_guard.mjs +7 -49
  2500. package/scripts/utils/worktrees/yarn_install_guard.test.mjs +139 -4
  2501. package/scripts/where.mjs +15 -4
  2502. package/scripts/worktrees.mjs +18 -17
  2503. package/node_modules/@happier-dev/agents/dist/.tsbuildinfo +0 -1
  2504. package/node_modules/@happier-dev/cli-common/dist/.tsbuildinfo +0 -1
  2505. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts +0 -2
  2506. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts.map +0 -1
  2507. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js +0 -29
  2508. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js.map +0 -1
  2509. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts +0 -2
  2510. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts.map +0 -1
  2511. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js +0 -76
  2512. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js.map +0 -1
  2513. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts +0 -2
  2514. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts.map +0 -1
  2515. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js +0 -151
  2516. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js.map +0 -1
  2517. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts +0 -2
  2518. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts.map +0 -1
  2519. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js +0 -145
  2520. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js.map +0 -1
  2521. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts +0 -2
  2522. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts.map +0 -1
  2523. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js +0 -96
  2524. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js.map +0 -1
  2525. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts +0 -9
  2526. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts.map +0 -1
  2527. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js +0 -72
  2528. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js.map +0 -1
  2529. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts +0 -2
  2530. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts.map +0 -1
  2531. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js +0 -178
  2532. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js.map +0 -1
  2533. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts +0 -2
  2534. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts.map +0 -1
  2535. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js +0 -119
  2536. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js.map +0 -1
  2537. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts +0 -2
  2538. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts.map +0 -1
  2539. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js +0 -138
  2540. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js.map +0 -1
  2541. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts +0 -2
  2542. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts.map +0 -1
  2543. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js +0 -44
  2544. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js.map +0 -1
  2545. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts +0 -2
  2546. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts.map +0 -1
  2547. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js +0 -20
  2548. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js.map +0 -1
  2549. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts +0 -2
  2550. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts.map +0 -1
  2551. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js +0 -19
  2552. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js.map +0 -1
  2553. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts +0 -2
  2554. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts.map +0 -1
  2555. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js +0 -177
  2556. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js.map +0 -1
  2557. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts +0 -2
  2558. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts.map +0 -1
  2559. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js +0 -173
  2560. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js.map +0 -1
  2561. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts +0 -2
  2562. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts.map +0 -1
  2563. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js +0 -98
  2564. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js.map +0 -1
  2565. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts +0 -2
  2566. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts.map +0 -1
  2567. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js +0 -549
  2568. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js.map +0 -1
  2569. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts +0 -2
  2570. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts.map +0 -1
  2571. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js +0 -37
  2572. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js.map +0 -1
  2573. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts +0 -2
  2574. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts.map +0 -1
  2575. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js +0 -243
  2576. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js.map +0 -1
  2577. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts +0 -2
  2578. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts.map +0 -1
  2579. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js +0 -204
  2580. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js.map +0 -1
  2581. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts +0 -2
  2582. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts.map +0 -1
  2583. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js +0 -58
  2584. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js.map +0 -1
  2585. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts +0 -2
  2586. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts.map +0 -1
  2587. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js +0 -29
  2588. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js.map +0 -1
  2589. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts +0 -2
  2590. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts.map +0 -1
  2591. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js +0 -94
  2592. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js.map +0 -1
  2593. package/node_modules/@happier-dev/protocol/dist/.tsbuildinfo +0 -1
  2594. package/node_modules/@happier-dev/release-runtime/dist/.tsbuildinfo +0 -1
  2595. package/node_modules/@happier-dev/release-runtime/dist/_cjs/releaseRings.js +0 -134
  2596. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts +0 -14
  2597. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts.map +0 -1
  2598. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js +0 -48
  2599. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js.map +0 -1
  2600. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.cjs +0 -134
  2601. package/scripts/daemon_cleanup_lsof_unavailable.test.mjs +0 -112
  2602. package/scripts/ghops.mjs +0 -80
  2603. package/scripts/stack_guided_login_does_not_preopen_browser.test.mjs +0 -17
  2604. package/scripts/utils/auth/guided_stack_web_login.mjs +0 -56
  2605. package/scripts/utils/auth/login_ux.mjs +0 -113
  2606. package/scripts/utils/cli/smoke_help.mjs +0 -44
  2607. package/scripts/utils/dev_auth_key.mjs +0 -7
  2608. package/scripts/utils/server/apply_runtime_server_light_sqlite_env.mjs +0 -25
  2609. package/scripts/utils/server/apply_server_light_env_defaults.mjs +0 -14
  2610. package/scripts/utils/stack_context.mjs +0 -1
  2611. package/scripts/utils/stack_runtime_state.mjs +0 -1
  2612. package/scripts/utils/tui/daemon_autostart.mjs +0 -36
  2613. package/scripts/utils/tui/daemon_autostart.test.mjs +0 -173
@@ -1,5 +1,5 @@
1
1
  import { spawnSync } from 'node:child_process';
2
- import { createHash, randomUUID } from 'node:crypto';
2
+ import { randomUUID } from 'node:crypto';
3
3
  import { existsSync } from 'node:fs';
4
4
  import {
5
5
  cp,
@@ -16,27 +16,44 @@ import {
16
16
  writeFile,
17
17
  } from 'node:fs/promises';
18
18
  import { homedir, tmpdir } from 'node:os';
19
- import { dirname, join, win32 as win32Path } from 'node:path';
19
+ import { basename, dirname, join, win32 as win32Path } from 'node:path';
20
20
 
21
21
  import { parseArgs } from './utils/cli/args.mjs';
22
22
  import { printResult, wantsHelp, wantsJson } from './utils/cli/cli.mjs';
23
23
  import { banner, sectionTitle } from './utils/ui/layout.mjs';
24
24
  import { cyan, dim, green, yellow } from './utils/ui/ansi.mjs';
25
- import { installService as installManagedService, restartService as restartManagedService, uninstallService as uninstallManagedService } from './utils/service/service_manager.mjs';
25
+ import {
26
+ installService as installManagedService,
27
+ restartService as restartManagedService,
28
+ stopService as stopManagedService,
29
+ uninstallService as uninstallManagedService,
30
+ } from './utils/service/service_manager.mjs';
26
31
  import {
27
32
  applyServicePlan,
28
33
  buildLaunchdPath,
29
34
  buildLaunchdPlistXml,
30
35
  buildServiceDefinition,
36
+ buildWindowsScheduledTaskPowerShellAction,
31
37
  planServiceAction,
32
38
  renderSystemdServiceUnit,
33
39
  renderWindowsScheduledTaskWrapperPs1,
34
40
  resolveServiceBackend,
35
41
  } from '@happier-dev/cli-common/service';
36
42
  import {
43
+ resolveConfiguredRelayRuntimeBinaryOverride,
44
+ resolveConfiguredRelayRuntimePaths,
45
+ } from '@happier-dev/cli-common/firstPartyRuntime/relayRuntime';
46
+ import {
47
+ mergeSelfHostServerEnvText,
37
48
  parseEnvText as parseEnvTextShared,
38
49
  renderSelfHostServerEnvText as renderSelfHostServerEnvTextShared,
39
- } from '@happier-dev/cli-common/firstPartyRuntime';
50
+ resolveSelfHostServerMigrationPlan,
51
+ } from '@happier-dev/cli-common/firstPartyRuntime/selfHostServerEnv';
52
+ import {
53
+ assertPackagedServerRuntimeClosure,
54
+ relocateServerRuntimeArtifactClosure,
55
+ } from '@happier-dev/cli-common/firstPartyRuntime/serverRuntimeArtifactLayout';
56
+ import { commandExistsOnPath } from '@happier-dev/cli-common/process';
40
57
  import { DEFAULT_MINISIGN_PUBLIC_KEY } from '@happier-dev/release-runtime/minisign';
41
58
  import {
42
59
  PUBLIC_RELEASE_RING_IDS,
@@ -45,7 +62,7 @@ import {
45
62
  } from '@happier-dev/release-runtime/releaseRings';
46
63
  import { resolveReleaseAssetBundle } from '@happier-dev/release-runtime/assets';
47
64
  import { downloadVerifiedReleaseAssetBundle } from '@happier-dev/release-runtime/verifiedDownload';
48
- import { planArchiveExtraction } from '@happier-dev/release-runtime/extractPlan';
65
+ import { extractFirstPartyReleaseArchiveToDirectory } from '@happier-dev/release-runtime/archiveExtraction';
49
66
  import { fetchFirstGitHubReleaseByTags, fetchGitHubReleaseByTag } from '@happier-dev/release-runtime/github';
50
67
  import { findExtractedExecutableByName } from './self_host/findExtractedExecutableByName.mjs';
51
68
  import { maybeInstallCompanionCli } from './self_host/install_companion_cli.mjs';
@@ -237,8 +254,7 @@ function commandExists(cmd) {
237
254
  const name = String(cmd ?? '').trim();
238
255
  if (!name) return false;
239
256
  if (process.platform === 'win32') {
240
- const result = runCommand('where', [name], { allowFail: true, stdio: 'ignore' });
241
- return (result.status ?? 1) === 0;
257
+ return commandExistsOnPath(name);
242
258
  }
243
259
  const result = runCommand('sh', ['-lc', `command -v ${name} >/dev/null 2>&1`], { allowFail: true, stdio: 'ignore' });
244
260
  return (result.status ?? 1) === 0;
@@ -290,11 +306,6 @@ export function resolveSelfHostReleaseTargets(channel) {
290
306
  channel: normalizedChannel,
291
307
  serverTag: serverTags[0],
292
308
  serverTags,
293
- uiWebTags: normalizedChannel === 'stable'
294
- ? ['ui-web-stable']
295
- : normalizedChannel === 'preview'
296
- ? ['ui-web-preview', 'ui-web-stable']
297
- : ['ui-web-dev', 'ui-web-preview', 'ui-web-stable'],
298
309
  };
299
310
  }
300
311
 
@@ -335,148 +346,33 @@ export function pickReleaseAsset({ assets, product, os, arch }) {
335
346
  };
336
347
  }
337
348
 
338
- function resolveSqliteDatabaseFilePath(databaseUrl) {
339
- const raw = String(databaseUrl ?? '').trim();
340
- if (!raw) return '';
341
- if (!raw.startsWith('file:')) return '';
342
- try {
343
- const url = new URL(raw);
344
- if (url.protocol !== 'file:') return '';
345
- const pathname = url.pathname || '';
346
- // On Windows, URL.pathname can start with /C:/...
347
- return pathname.startsWith('/') && /^[A-Za-z]:\//.test(pathname.slice(1))
348
- ? pathname.slice(1)
349
- : pathname;
350
- } catch {
351
- const value = raw.slice('file:'.length);
352
- return value.startsWith('//') ? value.replace(/^\/+/, '/') : value;
353
- }
354
- }
355
-
356
- async function applySelfHostSqliteMigrationsAtInstallTime({ env }) {
357
- if (typeof globalThis.Bun === 'undefined') {
358
- return { applied: [], skipped: true, reason: 'bun-unavailable' };
359
- }
360
- const databaseUrl = String(env?.DATABASE_URL ?? '').trim();
361
- const migrationsDir = String(env?.HAPPIER_SQLITE_MIGRATIONS_DIR ?? env?.HAPPY_SQLITE_MIGRATIONS_DIR ?? '').trim();
362
- if (!databaseUrl || !migrationsDir) {
363
- return { applied: [], skipped: true, reason: 'missing-config' };
364
- }
365
- const dbPath = resolveSqliteDatabaseFilePath(databaseUrl);
366
- if (!dbPath) {
367
- return { applied: [], skipped: true, reason: 'unsupported-database-url' };
368
- }
369
- const migrationsInfo = await stat(migrationsDir).catch(() => null);
370
- if (!migrationsInfo?.isDirectory()) {
371
- return { applied: [], skipped: true, reason: 'migrations-dir-missing' };
372
- }
373
-
374
- const mod = await import('bun:sqlite');
375
- const Database = mod?.Database;
376
- if (!Database) {
377
- return { applied: [], skipped: true, reason: 'bun-sqlite-unavailable' };
378
- }
379
- const db = new Database(dbPath);
380
- db.exec(
381
- [
382
- 'CREATE TABLE IF NOT EXISTS _prisma_migrations (',
383
- ' id TEXT PRIMARY KEY,',
384
- ' checksum TEXT NOT NULL,',
385
- ' finished_at DATETIME,',
386
- ' migration_name TEXT NOT NULL,',
387
- ' logs TEXT,',
388
- ' rolled_back_at DATETIME,',
389
- ' started_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,',
390
- ' applied_steps_count INTEGER NOT NULL DEFAULT 0',
391
- ');',
392
- ].join('\n'),
393
- );
394
-
395
- const tableNamesQuery = db.query(`SELECT name FROM sqlite_master WHERE type='table'`);
396
- const appliedQuery = db.query(
397
- `SELECT migration_name FROM _prisma_migrations WHERE rolled_back_at IS NULL AND finished_at IS NOT NULL`,
398
- );
399
- const insertQuery = db.query(
400
- `INSERT INTO _prisma_migrations (id, checksum, finished_at, migration_name, applied_steps_count) VALUES (?, ?, CURRENT_TIMESTAMP, ?, 1)`,
401
- );
402
-
403
- const applied = new Set(
404
- appliedQuery.all().map((row) => String(row?.migration_name ?? '').trim()).filter(Boolean),
405
- );
406
-
407
- const existingTables = new Set(
408
- tableNamesQuery.all().map((row) => String(row?.name ?? '').trim()).filter(Boolean),
409
- );
410
- const hasCoreTables =
411
- existingTables.has('Account')
412
- || existingTables.has('account')
413
- || existingTables.has('accounts');
414
- const legacyMode = applied.size === 0 && hasCoreTables;
415
-
416
- const isLikelyAlreadyAppliedError = (err) => {
417
- const msg = String(err?.message ?? err ?? '').toLowerCase();
418
- return msg.includes('already exists') || msg.includes('duplicate column') || msg.includes('duplicate');
419
- };
420
-
421
- const entries = await readdir(migrationsDir, { withFileTypes: true }).catch(() => []);
422
- const dirs = entries
423
- .filter((e) => e.isDirectory())
424
- .map((e) => e.name)
425
- .sort((a, b) => a.localeCompare(b));
426
-
427
- const sha256Hex = (input) => createHash('sha256').update(String(input)).digest('hex');
428
- const appliedNow = [];
429
- for (const name of dirs) {
430
- if (applied.has(name)) continue;
431
- const sqlPath = join(migrationsDir, name, 'migration.sql');
432
- const sql = await readFile(sqlPath, 'utf8').catch(() => '');
433
- if (!sql.trim()) continue;
434
- const checksum = sha256Hex(sql);
435
- db.exec('BEGIN');
436
- try {
437
- db.exec(sql);
438
- insertQuery.run(randomUUID(), checksum, name);
439
- db.exec('COMMIT');
440
- appliedNow.push(name);
441
- applied.add(name);
442
- } catch (e) {
443
- try {
444
- db.exec('ROLLBACK');
445
- } catch {
446
- // ignore
447
- }
448
- if (legacyMode && isLikelyAlreadyAppliedError(e)) {
449
- db.exec('BEGIN');
450
- try {
451
- insertQuery.run(randomUUID(), checksum, name);
452
- db.exec('COMMIT');
453
- } catch (inner) {
454
- try {
455
- db.exec('ROLLBACK');
456
- } catch {
457
- // ignore
458
- }
459
- throw inner;
460
- }
461
- appliedNow.push(name);
462
- applied.add(name);
463
- continue;
464
- }
465
- throw e;
466
- }
467
- }
468
-
469
- return { applied: appliedNow, skipped: false, reason: 'ok' };
349
+ export async function applySelfHostServerMigrationsAtInstallTime({
350
+ config,
351
+ env,
352
+ runCommandImpl = runCommand,
353
+ }) {
354
+ const plan = resolveSelfHostServerMigrationPlan({
355
+ serverBinaryPath: config.serverBinaryPath,
356
+ env,
357
+ platform: config.platform ?? process.platform,
358
+ });
359
+ if (!plan) return null;
360
+ return runCommandImpl(plan.command, [...plan.args], {
361
+ cwd: config.installRoot,
362
+ env,
363
+ stdio: 'pipe',
364
+ });
470
365
  }
471
366
 
472
- function resolveConfig({ channel, mode = 'user', platform = process.platform } = {}) {
367
+ export function resolveConfig({ channel, mode = 'user', platform = process.platform } = {}) {
473
368
  const defaults = resolveSelfHostDefaults({ platform, mode, channel, homeDir: homedir() });
474
- const installRoot = String(process.env.HAPPIER_SELF_HOST_INSTALL_ROOT ?? defaults.installRoot).trim();
475
- const binDir = String(process.env.HAPPIER_SELF_HOST_BIN_DIR ?? defaults.binDir).trim();
476
- const configDir = String(process.env.HAPPIER_SELF_HOST_CONFIG_DIR ?? defaults.configDir).trim();
477
- const dataDir = String(process.env.HAPPIER_SELF_HOST_DATA_DIR ?? defaults.dataDir).trim();
478
- const logDir = String(process.env.HAPPIER_SELF_HOST_LOG_DIR ?? defaults.logDir).trim();
479
- const serviceName = String(process.env.HAPPIER_SELF_HOST_SERVICE_NAME ?? DEFAULTS.serviceName).trim();
369
+ const configuredPaths = resolveConfiguredRelayRuntimePaths({ defaults, env: process.env });
370
+ const installRoot = configuredPaths.installRoot;
371
+ const binDir = configuredPaths.binDir;
372
+ const configDir = configuredPaths.configDir;
373
+ const dataDir = configuredPaths.dataDir;
374
+ const logDir = configuredPaths.logDir;
375
+ const serviceName = String(process.env.HAPPIER_SELF_HOST_SERVICE_NAME ?? defaults.serviceName).trim() || defaults.serviceName;
480
376
  const serverHost = String(process.env.HAPPIER_SERVER_HOST ?? DEFAULTS.serverHost).trim();
481
377
  const serverPort = parsePort(process.env.HAPPIER_SERVER_PORT, DEFAULTS.serverPort);
482
378
  const githubRepo = String(process.env.HAPPIER_GITHUB_REPO ?? DEFAULTS.githubRepo).trim();
@@ -660,6 +556,14 @@ export function applyEnvOverridesToEnvText(envText, overrides) {
660
556
  return `${lines.join('\n')}\n`;
661
557
  }
662
558
 
559
+ export function mergeSelfHostServerRuntimeEnvText({ baseEnvText, existingEnvText = '', envOverrides = [] } = {}) {
560
+ return mergeSelfHostServerEnvText({
561
+ baseEnvText: String(baseEnvText ?? ''),
562
+ existingEnvText: String(existingEnvText ?? ''),
563
+ overrides: Object.fromEntries((Array.isArray(envOverrides) ? envOverrides : []).map(({ key, value }) => [key, value])),
564
+ });
565
+ }
566
+
663
567
  export function mergeEnvTextWithDefaults(existingText, defaultsText) {
664
568
  const existingRaw = String(existingText ?? '');
665
569
  const defaultsRaw = String(defaultsText ?? '');
@@ -823,7 +727,6 @@ export function buildSelfHostDoctorChecks(config, { state, commandExists: comman
823
727
  { name: 'platform', ok: ['linux', 'darwin', 'windows'].includes(os) },
824
728
  { name: 'mode', ok: mode === 'user' || (mode === 'system' && platform !== 'win32') },
825
729
  // We verify minisign signatures using the bundled public key + node:crypto, so no external `minisign` dependency.
826
- { name: 'tar', ok: commandExistsFn('tar') },
827
730
  { name: 'powershell', ok: os === 'windows' ? commandExistsFn('powershell') : true },
828
731
  { name: 'systemctl', ok: os === 'linux' ? commandExistsFn('systemctl') : true },
829
732
  { name: 'launchctl', ok: os === 'darwin' ? commandExistsFn('launchctl') : true },
@@ -996,7 +899,7 @@ export function buildUpdaterScheduledTaskCreateArgs({ backend, taskName, definit
996
899
  const parsedAt = parseDailyAtTime(at);
997
900
  const minutesRaw = Number(intervalMinutes);
998
901
  const minutes = Number.isFinite(minutesRaw) ? Math.max(15, Math.floor(minutesRaw)) : 1440;
999
- const ps = `powershell.exe -NoProfile -ExecutionPolicy Bypass -File "${definition}"`;
902
+ const ps = buildWindowsScheduledTaskPowerShellAction({ definitionPath: definition });
1000
903
 
1001
904
  return [
1002
905
  '/Create',
@@ -1319,91 +1222,35 @@ async function syncSelfHostSqliteMigrations({ artifactRootDir, targetDir }) {
1319
1222
  return { copied: true, reason: 'ok' };
1320
1223
  }
1321
1224
 
1322
- async function syncSelfHostGeneratedClients({ artifactRootDir, targetDir }) {
1323
- const root = String(artifactRootDir ?? '').trim();
1324
- const dest = String(targetDir ?? '').trim();
1325
- if (!root || !dest) return { copied: false, reason: 'missing-paths' };
1326
-
1327
- const source = join(root, 'generated');
1328
- if (!existsSync(source)) return { copied: false, reason: 'missing-source' };
1329
-
1330
- await rm(dest, { recursive: true, force: true });
1331
- await mkdir(dirname(dest), { recursive: true });
1332
- await cp(source, dest, { recursive: true });
1333
- return { copied: true, reason: 'ok' };
1334
- }
1335
-
1336
- async function syncSelfHostNodeModules({ artifactRootDir, targetDir }) {
1337
- const root = String(artifactRootDir ?? '').trim();
1338
- const dest = String(targetDir ?? '').trim();
1339
- if (!root || !dest) return { copied: false, reason: 'missing-paths', copiedEntries: [], missingEntries: [] };
1340
-
1341
- const sourceRoot = join(root, 'node_modules');
1342
- if (!existsSync(sourceRoot)) return { copied: false, reason: 'missing-source-root', copiedEntries: [], missingEntries: [] };
1343
-
1344
- const sidecars = [
1345
- { sourcePath: join(sourceRoot, '.prisma'), targetPath: join(dest, '.prisma') },
1346
- { sourcePath: join(sourceRoot, '@prisma'), targetPath: join(dest, '@prisma') },
1347
- ];
1348
- const missingEntries = sidecars
1349
- .filter((sidecar) => !existsSync(sidecar.sourcePath))
1350
- .map((sidecar) => sidecar.sourcePath);
1351
- if (missingEntries.length > 0) {
1352
- return { copied: false, reason: 'incomplete-sidecars', copiedEntries: [], missingEntries };
1353
- }
1354
-
1355
- const copiedEntries = [];
1356
-
1357
- await rm(dest, { recursive: true, force: true });
1358
- await mkdir(dest, { recursive: true });
1359
- for (const sidecar of sidecars) {
1360
- await mkdir(dirname(sidecar.targetPath), { recursive: true });
1361
- await cp(sidecar.sourcePath, sidecar.targetPath, { recursive: true });
1362
- copiedEntries.push(sidecar.targetPath);
1363
- }
1364
-
1365
- return copiedEntries.length > 0
1366
- ? { copied: true, reason: 'ok', copiedEntries, missingEntries: [] }
1367
- : { copied: false, reason: 'missing-sidecars', copiedEntries, missingEntries: [] };
1368
- }
1369
-
1370
- function assertSelfHostNodeModulesSync(result) {
1371
- if (result?.copied) return;
1372
- const reason = String(result?.reason ?? 'unknown');
1373
- throw new Error(`[self-host] server runtime is missing packaged node_modules sidecars (${reason})`);
1374
- }
1375
-
1376
1225
  async function stageSelfHostRuntimePayload({ artifactRootDir, stageRootDir }) {
1377
1226
  const stageRoot = String(stageRootDir ?? '').trim();
1378
1227
  if (!stageRoot) {
1379
1228
  throw new Error('[self-host] missing runtime staging directory');
1380
1229
  }
1381
1230
 
1382
- const sqliteMigrationsDir = join(stageRoot, 'migrations', 'sqlite');
1231
+ await cp(artifactRootDir, stageRoot, { recursive: true });
1232
+ const relocated = await relocateServerRuntimeArtifactClosure({
1233
+ payloadRoot: stageRoot,
1234
+ platform: process.platform,
1235
+ });
1236
+ await assertPackagedServerRuntimeClosure({ runtimeRoot: relocated.runtimeRoot });
1237
+
1238
+ const sqliteMigrationsDir = join(stageRoot, 'managed-data', 'migrations', 'sqlite');
1383
1239
  await syncSelfHostSqliteMigrations({
1384
- artifactRootDir,
1240
+ artifactRootDir: relocated.runtimeRoot,
1385
1241
  targetDir: sqliteMigrationsDir,
1386
1242
  }).catch(() => {});
1387
1243
 
1388
- const generatedDir = join(stageRoot, 'generated');
1389
- const generated = await syncSelfHostGeneratedClients({
1390
- artifactRootDir,
1391
- targetDir: generatedDir,
1392
- });
1393
- if (!generated.copied) {
1394
- throw new Error('[self-host] server runtime is missing packaged generated clients');
1395
- }
1396
-
1397
- const nodeModulesDir = join(stageRoot, 'node_modules');
1398
- const nodeModules = await syncSelfHostNodeModules({
1399
- artifactRootDir,
1400
- targetDir: nodeModulesDir,
1401
- });
1402
- assertSelfHostNodeModulesSync(nodeModules);
1244
+ const embeddedUiDir = join(stageRoot, 'ui-web', 'current');
1245
+ const embeddedUiIndex = await stat(join(embeddedUiDir, 'index.html')).catch(() => null);
1403
1246
 
1404
1247
  return {
1405
- generatedDir,
1406
- nodeModulesDir,
1248
+ embeddedUiDir: embeddedUiIndex?.isFile() ? embeddedUiDir : '',
1249
+ generatedDir: join(relocated.runtimeRoot, 'generated'),
1250
+ nodeModulesDir: join(relocated.runtimeRoot, 'node_modules'),
1251
+ prismaDir: join(relocated.runtimeRoot, 'prisma'),
1252
+ runtimeDir: join(relocated.runtimeRoot, 'runtime'),
1253
+ migrationBinaryPath: relocated.migrationBinaryPath || '',
1407
1254
  sqliteMigrationsDir: existsSync(sqliteMigrationsDir) ? sqliteMigrationsDir : '',
1408
1255
  };
1409
1256
  }
@@ -1496,7 +1343,14 @@ async function rollbackFailClosedBinaryPromotionWindow(window) {
1496
1343
  }
1497
1344
  }
1498
1345
 
1499
- async function promoteStagedSelfHostRuntimePayload({ stagedRuntime, config, beforeOnPromoted, onPromoted }) {
1346
+ async function promoteStagedSelfHostRuntimePayload({
1347
+ stagedRuntime,
1348
+ config,
1349
+ beforePromote,
1350
+ beforeOnPromoted,
1351
+ onPromoted,
1352
+ afterPromoted,
1353
+ }) {
1500
1354
  const promotions = [
1501
1355
  {
1502
1356
  stagedDir: stagedRuntime.sqliteMigrationsDir,
@@ -1510,18 +1364,37 @@ async function promoteStagedSelfHostRuntimePayload({ stagedRuntime, config, befo
1510
1364
  stagedDir: stagedRuntime.nodeModulesDir,
1511
1365
  targetDir: join(dirname(config.serverBinaryPath), 'node_modules'),
1512
1366
  },
1367
+ {
1368
+ stagedDir: stagedRuntime.prismaDir,
1369
+ targetDir: join(dirname(config.serverBinaryPath), 'prisma'),
1370
+ },
1371
+ {
1372
+ stagedDir: stagedRuntime.runtimeDir,
1373
+ targetDir: join(dirname(config.serverBinaryPath), 'runtime'),
1374
+ },
1375
+ {
1376
+ stagedDir: stagedRuntime.migrationBinaryPath,
1377
+ targetDir: stagedRuntime.migrationBinaryPath
1378
+ ? join(dirname(config.serverBinaryPath), basename(stagedRuntime.migrationBinaryPath))
1379
+ : '',
1380
+ },
1513
1381
  ].filter(({ stagedDir }) => {
1514
1382
  const staged = String(stagedDir ?? '').trim();
1515
1383
  return staged && existsSync(staged);
1516
1384
  });
1517
1385
 
1518
- const binaryPromotionWindow = await prepareFailClosedBinaryPromotionWindow({
1519
- targetBinaryPath: config.serverBinaryPath,
1520
- previousBinaryPath: config.serverPreviousBinaryPath,
1521
- });
1522
-
1386
+ let binaryPromotionWindow = null;
1523
1387
  const promoted = [];
1524
1388
  try {
1389
+ if (typeof beforePromote === 'function') {
1390
+ await beforePromote();
1391
+ }
1392
+
1393
+ binaryPromotionWindow = await prepareFailClosedBinaryPromotionWindow({
1394
+ targetBinaryPath: config.serverBinaryPath,
1395
+ previousBinaryPath: config.serverPreviousBinaryPath,
1396
+ });
1397
+
1525
1398
  for (const promotion of promotions) {
1526
1399
  const target = String(promotion.targetDir ?? '').trim();
1527
1400
  await mkdir(dirname(target), { recursive: true });
@@ -1551,6 +1424,9 @@ async function promoteStagedSelfHostRuntimePayload({ stagedRuntime, config, befo
1551
1424
  if (typeof onPromoted === 'function') {
1552
1425
  await onPromoted();
1553
1426
  }
1427
+ if (typeof afterPromoted === 'function') {
1428
+ await afterPromoted(stagedRuntime);
1429
+ }
1554
1430
  await finalizeFailClosedBinaryPromotionWindow(binaryPromotionWindow);
1555
1431
 
1556
1432
  for (const promotion of promoted) {
@@ -1573,7 +1449,9 @@ export async function installSelfHostBinaryFromBundle({
1573
1449
  config,
1574
1450
  pubkeyFile = resolveMinisignPublicKeyText(process.env),
1575
1451
  userAgent = 'happier-self-host-installer',
1452
+ beforeRuntimePromote,
1576
1453
  beforeBinaryInstall,
1454
+ afterPromote,
1577
1455
  } = {}) {
1578
1456
  const resolvedBundle = bundle;
1579
1457
  const name = String(binaryName ?? '').trim();
@@ -1605,16 +1483,11 @@ export async function installSelfHostBinaryFromBundle({
1605
1483
 
1606
1484
  const extractDir = join(tempDir, 'extract');
1607
1485
  await mkdir(extractDir, { recursive: true });
1608
- const plan = planArchiveExtraction({
1486
+ await extractFirstPartyReleaseArchiveToDirectory({
1609
1487
  archiveName: downloaded.archiveName,
1610
1488
  archivePath: downloaded.archivePath,
1611
- destDir: extractDir,
1612
- os,
1489
+ extractDir,
1613
1490
  });
1614
- if (!commandExists(plan.requiredCommand)) {
1615
- throw new Error(`[self-host] ${plan.requiredCommand} is required to extract release artifacts`);
1616
- }
1617
- runCommand(plan.command.cmd, plan.command.args, { stdio: 'ignore' });
1618
1491
  const extractedBinary = await findExtractedExecutableByName(extractDir, name);
1619
1492
  if (!extractedBinary) {
1620
1493
  throw new Error('[self-host] failed to locate extracted server binary');
@@ -1629,6 +1502,7 @@ export async function installSelfHostBinaryFromBundle({
1629
1502
  await promoteStagedSelfHostRuntimePayload({
1630
1503
  stagedRuntime,
1631
1504
  config,
1505
+ beforePromote: beforeRuntimePromote,
1632
1506
  beforeOnPromoted: beforeBinaryInstall,
1633
1507
  onPromoted: async () => installBinaryAtomically({
1634
1508
  sourceBinaryPath: extractedBinary,
@@ -1636,6 +1510,9 @@ export async function installSelfHostBinaryFromBundle({
1636
1510
  previousBinaryPath: config.serverPreviousBinaryPath,
1637
1511
  versionedTargetPath: join(config.versionsDir, `${name}-${version}`),
1638
1512
  }),
1513
+ afterPromoted: typeof afterPromote === 'function'
1514
+ ? async (runtime) => afterPromote({ ...runtime, version })
1515
+ : undefined,
1639
1516
  });
1640
1517
  await pruneVersionedDirectories({
1641
1518
  versionsDir: config.versionsDir,
@@ -1653,6 +1530,8 @@ export async function installSelfHostBinaryFromLocalPath({
1653
1530
  sourceBinaryPath,
1654
1531
  binaryName,
1655
1532
  config,
1533
+ beforeRuntimePromote,
1534
+ afterPromote,
1656
1535
  } = {}) {
1657
1536
  const srcPath = String(sourceBinaryPath ?? '').trim();
1658
1537
  const name = String(binaryName ?? '').trim();
@@ -1682,12 +1561,16 @@ export async function installSelfHostBinaryFromLocalPath({
1682
1561
  await promoteStagedSelfHostRuntimePayload({
1683
1562
  stagedRuntime,
1684
1563
  config,
1564
+ beforePromote: beforeRuntimePromote,
1685
1565
  onPromoted: async () => installBinaryAtomically({
1686
1566
  sourceBinaryPath: srcPath,
1687
1567
  targetBinaryPath: config.serverBinaryPath,
1688
1568
  previousBinaryPath: config.serverPreviousBinaryPath,
1689
1569
  versionedTargetPath: join(config.versionsDir, `${name}-${version}`),
1690
1570
  }),
1571
+ afterPromoted: typeof afterPromote === 'function'
1572
+ ? async (runtime) => afterPromote({ ...runtime, version })
1573
+ : undefined,
1691
1574
  });
1692
1575
  await pruneVersionedDirectories({
1693
1576
  versionsDir: config.versionsDir,
@@ -1701,12 +1584,22 @@ export async function installSelfHostBinaryFromLocalPath({
1701
1584
  }
1702
1585
  }
1703
1586
 
1704
- async function installFromRelease({ product, binaryName, config, explicitBinaryPath = '' }) {
1587
+ async function installFromRelease({
1588
+ product,
1589
+ binaryName,
1590
+ config,
1591
+ explicitBinaryPath = '',
1592
+ beforeRuntimePromote,
1593
+ beforeBinaryInstall,
1594
+ afterPromote,
1595
+ } = {}) {
1705
1596
  if (explicitBinaryPath) {
1706
1597
  return installSelfHostBinaryFromLocalPath({
1707
1598
  sourceBinaryPath: explicitBinaryPath,
1708
1599
  binaryName,
1709
1600
  config,
1601
+ beforeRuntimePromote,
1602
+ afterPromote,
1710
1603
  });
1711
1604
  }
1712
1605
 
@@ -1740,10 +1633,43 @@ async function installFromRelease({ product, binaryName, config, explicitBinaryP
1740
1633
  config,
1741
1634
  pubkeyFile: resolveMinisignPublicKeyText(process.env),
1742
1635
  userAgent: 'happier-self-host-installer',
1636
+ beforeRuntimePromote,
1637
+ beforeBinaryInstall,
1638
+ afterPromote,
1743
1639
  });
1744
1640
  return { version: result.version || resolved.version || String(release?.tag_name ?? '').replace(/^server-v/, ''), source: result.source };
1745
1641
  }
1746
1642
 
1643
+ async function stopSelfHostServiceBeforeRuntimePromote({ config }) {
1644
+ const currentEnvText = existsSync(config.configEnvPath)
1645
+ ? await readFile(config.configEnvPath, 'utf-8').catch(() => '')
1646
+ : '';
1647
+ await stopManagedService({
1648
+ platform: config.platform,
1649
+ mode: config.mode,
1650
+ homeDir: homedir(),
1651
+ spec: buildSelfHostServerServiceSpec({ config, envText: currentEnvText }),
1652
+ persistent: true,
1653
+ }).catch(() => {});
1654
+ }
1655
+
1656
+ export function resolveSelfHostServerInstallFromReleaseParams({
1657
+ product,
1658
+ binaryName,
1659
+ config,
1660
+ env = process.env,
1661
+ ...rest
1662
+ } = {}) {
1663
+ const explicitBinaryPath = resolveConfiguredRelayRuntimeBinaryOverride(env);
1664
+ return {
1665
+ product,
1666
+ binaryName,
1667
+ config,
1668
+ ...(explicitBinaryPath ? { explicitBinaryPath } : {}),
1669
+ ...rest,
1670
+ };
1671
+ }
1672
+
1747
1673
  async function assertUiWebBundleIsValid(rootDir) {
1748
1674
  const indexPath = join(rootDir, 'index.html');
1749
1675
  const info = await stat(indexPath).catch(() => null);
@@ -1752,124 +1678,37 @@ async function assertUiWebBundleIsValid(rootDir) {
1752
1678
  }
1753
1679
  }
1754
1680
 
1755
- export async function resolveExtractedUiWebBundleRootDir({ extractDir } = {}) {
1756
- const root = String(extractDir ?? '').trim();
1757
- if (!root) {
1758
- throw new Error('[self-host] missing ui web bundle extractDir');
1759
- }
1760
-
1761
- // Some archives extract index.html directly into extractDir.
1762
- try {
1763
- await assertUiWebBundleIsValid(root);
1764
- return root;
1765
- } catch {
1766
- // continue
1767
- }
1768
-
1769
- const roots = await readdir(root).catch(() => []);
1770
- for (const entry of roots) {
1771
- const candidate = join(root, entry);
1772
- const info = await stat(candidate).catch(() => null);
1773
- if (!info?.isDirectory()) continue;
1774
- try {
1775
- await assertUiWebBundleIsValid(candidate);
1776
- return candidate;
1777
- } catch {
1778
- // continue
1779
- }
1681
+ export async function installUiWebFromEmbeddedRuntime({ config, embeddedUiDir, version }) {
1682
+ const sourceDir = String(embeddedUiDir ?? '').trim();
1683
+ const runtimeVersion = String(version ?? '').trim();
1684
+ if (!sourceDir || !existsSync(sourceDir)) {
1685
+ throw new Error('[self-host] managed UI was requested, but the server payload is missing its embedded UI');
1780
1686
  }
1687
+ await assertUiWebBundleIsValid(sourceDir);
1781
1688
 
1782
- // Preserve the existing missing-index.html error shape, but anchor it to the extraction root
1783
- // instead of whatever random entry came first (e.g. AppleDouble `._*` files).
1784
- throw new Error(`[self-host] UI web bundle is missing index.html: ${join(root, 'index.html')}`);
1785
- }
1786
-
1787
- async function installUiWebFromRelease({ config }) {
1788
- const { uiWebTags: tags } = resolveSelfHostReleaseTargets(config.channel);
1789
-
1790
- const resolvedRelease = await fetchFirstGitHubReleaseByTags({
1791
- githubRepo: config.githubRepo,
1792
- tags,
1793
- userAgent: 'happier-self-host-installer',
1794
- githubToken: String(process.env.GITHUB_TOKEN ?? process.env.GH_TOKEN ?? ''),
1795
- }).catch((e) => {
1796
- const status = Number(e?.status);
1797
- if (status === 404) return null;
1798
- throw e;
1799
- });
1800
-
1801
- if (!resolvedRelease) {
1802
- return {
1803
- installed: false,
1804
- version: null,
1805
- source: null,
1806
- reason: `ui web release tag not found (${tags.join(', ')})`,
1807
- };
1808
- }
1809
- const { release, tag: channelTag } = resolvedRelease;
1810
1689
  const existingVersionIds = await listVersionedDirectoryIdsNewestFirst({
1811
1690
  versionsDir: config.uiWebVersionsDir,
1812
1691
  entryPrefix: `${config.uiWebProduct}-`,
1813
1692
  });
1814
-
1815
- const resolved = resolveReleaseAssetBundle({
1816
- assets: release?.assets,
1817
- product: config.uiWebProduct,
1818
- os: config.uiWebOs,
1819
- arch: config.uiWebArch,
1693
+ const uiVersion = runtimeVersion || `${Date.now()}`;
1694
+ const versionedTargetDir = join(config.uiWebVersionsDir, `${config.uiWebProduct}-${uiVersion}`);
1695
+ const previousVersionId = existingVersionIds.find((candidate) => candidate !== uiVersion) ?? null;
1696
+
1697
+ await rm(versionedTargetDir, { recursive: true, force: true });
1698
+ await mkdir(dirname(versionedTargetDir), { recursive: true });
1699
+ await cp(sourceDir, versionedTargetDir, { recursive: true });
1700
+ await rm(config.uiWebCurrentDir, { recursive: true, force: true }).catch(() => {});
1701
+ await symlink(versionedTargetDir, config.uiWebCurrentDir, config.platform === 'win32' ? 'junction' : 'dir').catch(async () => {
1702
+ await cp(versionedTargetDir, config.uiWebCurrentDir, { recursive: true });
1703
+ });
1704
+ await pruneVersionedDirectories({
1705
+ versionsDir: config.uiWebVersionsDir,
1706
+ entryPrefix: `${config.uiWebProduct}-`,
1707
+ currentVersionId: uiVersion,
1708
+ previousVersionId,
1820
1709
  });
1821
1710
 
1822
- const tempDir = await mkdtemp(join(tmpdir(), 'happier-self-host-ui-web-'));
1823
- try {
1824
- const pubkeyFile = resolveMinisignPublicKeyText(process.env);
1825
- const downloaded = await downloadVerifiedReleaseAssetBundle({
1826
- bundle: resolved,
1827
- destDir: tempDir,
1828
- pubkeyFile,
1829
- userAgent: 'happier-self-host-installer',
1830
- });
1831
-
1832
- const extractDir = join(tempDir, 'extract');
1833
- await mkdir(extractDir, { recursive: true });
1834
- const plan = planArchiveExtraction({
1835
- archiveName: downloaded.archiveName,
1836
- archivePath: downloaded.archivePath,
1837
- destDir: extractDir,
1838
- os: normalizeOs(config.platform),
1839
- });
1840
- if (!commandExists(plan.requiredCommand)) {
1841
- throw new Error(`[self-host] ${plan.requiredCommand} is required to extract ui web bundle artifacts`);
1842
- }
1843
- runCommand(plan.command.cmd, plan.command.args, { stdio: 'ignore' });
1844
-
1845
- const roots = await readdir(extractDir).catch(() => []);
1846
- if (roots.length === 0) {
1847
- throw new Error('[self-host] extracted ui web bundle is empty');
1848
- }
1849
- const artifactRootDir = await resolveExtractedUiWebBundleRootDir({ extractDir });
1850
-
1851
- const version = resolved.version || String(release?.tag_name ?? '').replace(/^ui-web-v/, '') || `${Date.now()}`;
1852
- const versionedTargetDir = join(config.uiWebVersionsDir, `${config.uiWebProduct}-${version}`);
1853
- const previousVersionId = existingVersionIds.find((candidate) => candidate !== version) ?? null;
1854
- await rm(versionedTargetDir, { recursive: true, force: true });
1855
- await mkdir(dirname(versionedTargetDir), { recursive: true });
1856
- await cp(artifactRootDir, versionedTargetDir, { recursive: true });
1857
-
1858
- await rm(config.uiWebCurrentDir, { recursive: true, force: true }).catch(() => {});
1859
- await symlink(versionedTargetDir, config.uiWebCurrentDir, config.platform === 'win32' ? 'junction' : 'dir').catch(async () => {
1860
- await cp(versionedTargetDir, config.uiWebCurrentDir, { recursive: true });
1861
- });
1862
- await pruneVersionedDirectories({
1863
- versionsDir: config.uiWebVersionsDir,
1864
- entryPrefix: `${config.uiWebProduct}-`,
1865
- currentVersionId: version,
1866
- previousVersionId,
1867
- });
1868
-
1869
- return { installed: true, version, source: downloaded.source.archiveUrl, tag: channelTag };
1870
- } finally {
1871
- await rm(tempDir, { recursive: true, force: true });
1872
- }
1711
+ return { installed: true, version: uiVersion, source: 'embedded-server-archive' };
1873
1712
  }
1874
1713
 
1875
1714
  async function writeSelfHostState(config, statePatch) {
@@ -1897,6 +1736,214 @@ function buildSelfHostServerServiceSpec({ config, envText }) {
1897
1736
  };
1898
1737
  }
1899
1738
 
1739
+ export async function runSelfHostRuntimeMutationWithServiceRecovery({
1740
+ config,
1741
+ mutateRuntime,
1742
+ } = {}) {
1743
+ if (typeof mutateRuntime !== 'function') {
1744
+ throw new Error('[self-host] mutateRuntime is required');
1745
+ }
1746
+
1747
+ const previousEnvText = existsSync(config.configEnvPath)
1748
+ ? await readFile(config.configEnvPath, 'utf-8').catch(() => '')
1749
+ : '';
1750
+ const previousEnvExisted = existsSync(config.configEnvPath);
1751
+ const backend = resolveServiceBackend({ platform: config.platform, mode: config.mode });
1752
+ const previousServiceSpec = buildSelfHostServerServiceSpec({ config, envText: previousEnvText });
1753
+ const previousDefinition = buildServiceDefinition({
1754
+ backend,
1755
+ homeDir: homedir(),
1756
+ spec: previousServiceSpec,
1757
+ });
1758
+ const previousDefinitionExisted = existsSync(previousDefinition.path);
1759
+ const previousDefinitionContents = existsSync(previousDefinition.path)
1760
+ ? await readFile(previousDefinition.path, 'utf-8').catch(() => previousDefinition.contents)
1761
+ : previousDefinition.contents;
1762
+
1763
+ try {
1764
+ return await mutateRuntime({
1765
+ beforeRuntimePromote: async () => stopSelfHostServiceBeforeRuntimePromote({ config }),
1766
+ });
1767
+ } catch (error) {
1768
+ if (previousEnvExisted) {
1769
+ await mkdir(dirname(config.configEnvPath), { recursive: true });
1770
+ await writeFile(config.configEnvPath, previousEnvText, 'utf-8');
1771
+ } else {
1772
+ await rm(config.configEnvPath, { force: true }).catch(() => {});
1773
+ }
1774
+ if (previousDefinitionExisted) {
1775
+ await mkdir(dirname(previousDefinition.path), { recursive: true });
1776
+ await writeFile(previousDefinition.path, previousDefinitionContents, 'utf-8');
1777
+ } else {
1778
+ await rm(previousDefinition.path, { force: true }).catch(() => {});
1779
+ }
1780
+ if (previousEnvExisted || previousDefinitionExisted) {
1781
+ await installManagedService({
1782
+ platform: config.platform,
1783
+ mode: config.mode,
1784
+ homeDir: homedir(),
1785
+ spec: previousServiceSpec,
1786
+ persistent: true,
1787
+ }).catch(() => {});
1788
+ }
1789
+ throw error;
1790
+ }
1791
+ }
1792
+
1793
+ export async function runSelfHostUiWebMutationWithRollback({
1794
+ config,
1795
+ mutateUi,
1796
+ } = {}) {
1797
+ if (typeof mutateUi !== 'function') {
1798
+ throw new Error('[self-host] mutateUi is required');
1799
+ }
1800
+
1801
+ const uiCurrentDir = String(config?.uiWebCurrentDir ?? '').trim();
1802
+ const uiVersionsDir = String(config?.uiWebVersionsDir ?? '').trim();
1803
+ const uiProduct = String(config?.uiWebProduct ?? DEFAULTS.uiWebProduct).trim() || DEFAULTS.uiWebProduct;
1804
+ const entryPrefix = `${uiProduct}-`;
1805
+ const previousVersionIds = uiVersionsDir
1806
+ ? await listVersionedDirectoryIdsNewestFirst({
1807
+ versionsDir: uiVersionsDir,
1808
+ entryPrefix,
1809
+ }).catch(() => [])
1810
+ : [];
1811
+ const currentBackupDir = uiCurrentDir && existsSync(uiCurrentDir)
1812
+ ? `${uiCurrentDir}.rollback-${randomUUID()}`
1813
+ : '';
1814
+
1815
+ if (currentBackupDir) {
1816
+ await rename(uiCurrentDir, currentBackupDir);
1817
+ }
1818
+
1819
+ try {
1820
+ const result = await mutateUi();
1821
+ if (currentBackupDir) {
1822
+ await rm(currentBackupDir, { recursive: true, force: true }).catch(() => {});
1823
+ }
1824
+ return result;
1825
+ } catch (error) {
1826
+ if (uiCurrentDir) {
1827
+ await rm(uiCurrentDir, { recursive: true, force: true }).catch(() => {});
1828
+ }
1829
+ if (currentBackupDir && existsSync(currentBackupDir)) {
1830
+ await rename(currentBackupDir, uiCurrentDir).catch(() => {});
1831
+ }
1832
+ if (uiVersionsDir) {
1833
+ const nextVersionIds = await listVersionedDirectoryIdsNewestFirst({
1834
+ versionsDir: uiVersionsDir,
1835
+ entryPrefix,
1836
+ }).catch(() => []);
1837
+ const previousVersionIdSet = new Set(previousVersionIds);
1838
+ for (const versionId of nextVersionIds) {
1839
+ if (previousVersionIdSet.has(versionId)) continue;
1840
+ await rm(join(uiVersionsDir, versionId), { recursive: true, force: true }).catch(() => {});
1841
+ }
1842
+ }
1843
+ if (currentBackupDir) {
1844
+ await rm(currentBackupDir, { recursive: true, force: true }).catch(() => {});
1845
+ }
1846
+ throw error;
1847
+ }
1848
+ }
1849
+
1850
+ async function performSelfHostPostPromoteSteps({
1851
+ config,
1852
+ embeddedUiDir,
1853
+ runtimeVersion,
1854
+ withUi,
1855
+ envOverrides,
1856
+ autoUpdateMode,
1857
+ autoUpdateEnabled,
1858
+ autoUpdateIntervalMinutes,
1859
+ autoUpdateAt,
1860
+ autoUpdateReconcile,
1861
+ }) {
1862
+ const uiResult = withUi
1863
+ ? await runSelfHostUiWebMutationWithRollback({
1864
+ config,
1865
+ mutateUi: async () => installUiWebFromEmbeddedRuntime({
1866
+ config,
1867
+ embeddedUiDir,
1868
+ version: runtimeVersion,
1869
+ }),
1870
+ })
1871
+ : { installed: false, version: null, source: null, reason: 'disabled' };
1872
+ const uiInstalled = Boolean(uiResult?.installed);
1873
+
1874
+ const envText = renderServerEnvFile({
1875
+ port: config.serverPort,
1876
+ host: config.serverHost,
1877
+ dataDir: config.dataDir,
1878
+ filesDir: config.filesDir,
1879
+ dbDir: config.dbDir,
1880
+ uiDir: uiInstalled ? config.uiWebCurrentDir : '',
1881
+ serverBinDir: dirname(config.serverBinaryPath),
1882
+ arch: process.arch,
1883
+ platform: config.platform,
1884
+ });
1885
+ const existingEnvText = existsSync(config.configEnvPath)
1886
+ ? await readFile(config.configEnvPath, 'utf-8').catch(() => '')
1887
+ : '';
1888
+ const envTextWithOverrides = mergeSelfHostServerRuntimeEnvText({
1889
+ baseEnvText: envText,
1890
+ existingEnvText,
1891
+ envOverrides,
1892
+ });
1893
+ await writeFile(config.configEnvPath, envTextWithOverrides, 'utf-8');
1894
+ const installEnv = parseEnvText(envTextWithOverrides);
1895
+ const healthPort = resolveSelfHostEffectiveServerPort({ config, env: installEnv });
1896
+ await applySelfHostServerMigrationsAtInstallTime({ config, env: installEnv }).catch((e) => {
1897
+ throw new Error(`[self-host] failed to apply database migrations at install time: ${String(e?.message ?? e)}`);
1898
+ });
1899
+
1900
+ const serverShimPath = join(config.binDir, config.serverBinaryName);
1901
+ await mkdir(config.binDir, { recursive: true });
1902
+ await rm(serverShimPath, { force: true });
1903
+ await symlink(config.serverBinaryPath, serverShimPath).catch(async () => {
1904
+ await copyFile(config.serverBinaryPath, serverShimPath);
1905
+ await chmod(serverShimPath, 0o755).catch(() => {});
1906
+ });
1907
+
1908
+ const serviceSpec = buildSelfHostServerServiceSpec({ config, envText: envTextWithOverrides });
1909
+ await installManagedService({
1910
+ platform: config.platform,
1911
+ mode: config.mode,
1912
+ homeDir: homedir(),
1913
+ spec: serviceSpec,
1914
+ persistent: true,
1915
+ });
1916
+
1917
+ const healthy = await restartAndCheckHealth({ config, serviceSpec, port: healthPort });
1918
+ if (!healthy) {
1919
+ throw new Error('[self-host] service failed health checks after install');
1920
+ }
1921
+
1922
+ const autoUpdateResult = autoUpdateMode === 'install'
1923
+ ? await installAutoUpdateJob({
1924
+ config: { ...config, autoUpdateAt },
1925
+ enabled: autoUpdateEnabled,
1926
+ intervalMinutes: autoUpdateIntervalMinutes,
1927
+ at: autoUpdateAt,
1928
+ }).catch((e) => ({
1929
+ installed: false,
1930
+ reason: String(e?.message ?? e),
1931
+ }))
1932
+ : autoUpdateReconcile.action === 'install'
1933
+ ? await installAutoUpdateJob({
1934
+ config: { ...config, autoUpdateAt: autoUpdateReconcile.at },
1935
+ enabled: true,
1936
+ intervalMinutes: autoUpdateReconcile.intervalMinutes,
1937
+ at: autoUpdateReconcile.at,
1938
+ }).catch(() => null)
1939
+ : await uninstallAutoUpdateJob({ config }).catch(() => null);
1940
+
1941
+ return {
1942
+ uiResult,
1943
+ autoUpdateResult,
1944
+ };
1945
+ }
1946
+
1900
1947
  async function cmdInstall({ channel, mode, argv, json }) {
1901
1948
  if (mode === 'system' && process.platform !== 'win32') {
1902
1949
  assertRoot();
@@ -1914,17 +1961,10 @@ async function cmdInstall({ channel, mode, argv, json }) {
1914
1961
  || parseBoolean(process.env.HAPPIER_WITH_UI, true) === false
1915
1962
  || parseBoolean(process.env.HAPPIER_SELF_HOST_WITH_UI, true) === false);
1916
1963
  const nonInteractive = argvSansEnv.includes('--non-interactive') || parseBoolean(process.env.HAPPIER_NONINTERACTIVE, false);
1917
- const serverBinaryOverride = String(process.env.HAPPIER_SELF_HOST_SERVER_BINARY ?? '').trim();
1918
1964
 
1919
- if (normalizeOs(config.platform) !== 'windows' && !commandExists('tar')) {
1920
- throw new Error('[self-host] tar is required to extract release artifacts');
1921
- }
1922
1965
  if (normalizeOs(config.platform) === 'windows' && !commandExists('powershell')) {
1923
1966
  throw new Error('[self-host] powershell is required on Windows');
1924
1967
  }
1925
- if (withUi && !commandExists('tar')) {
1926
- throw new Error('[self-host] tar is required to extract ui web bundle artifacts');
1927
- }
1928
1968
  if (normalizeOs(config.platform) === 'linux' && !commandExists('systemctl')) {
1929
1969
  throw new Error('[self-host] systemctl is required on Linux');
1930
1970
  }
@@ -1946,70 +1986,39 @@ async function cmdInstall({ channel, mode, argv, json }) {
1946
1986
  await mkdir(config.uiWebRootDir, { recursive: true });
1947
1987
  await mkdir(config.uiWebVersionsDir, { recursive: true });
1948
1988
 
1949
- const installResult = await installFromRelease({
1950
- product: 'happier-server',
1951
- binaryName: config.serverBinaryName,
1989
+ let postPromoteResult = null;
1990
+ const installResult = await runSelfHostRuntimeMutationWithServiceRecovery({
1952
1991
  config,
1953
- explicitBinaryPath: serverBinaryOverride,
1992
+ mutateRuntime: async ({ beforeRuntimePromote }) => await installFromRelease(
1993
+ resolveSelfHostServerInstallFromReleaseParams({
1994
+ product: 'happier-server',
1995
+ binaryName: config.serverBinaryName,
1996
+ config,
1997
+ env: process.env,
1998
+ beforeRuntimePromote,
1999
+ afterPromote: async ({ embeddedUiDir, version }) => {
2000
+ postPromoteResult = await performSelfHostPostPromoteSteps({
2001
+ config,
2002
+ embeddedUiDir,
2003
+ runtimeVersion: version,
2004
+ withUi,
2005
+ envOverrides,
2006
+ autoUpdateMode: 'install',
2007
+ autoUpdateEnabled,
2008
+ autoUpdateIntervalMinutes,
2009
+ autoUpdateAt,
2010
+ });
2011
+ },
2012
+ }),
2013
+ ),
1954
2014
  });
1955
2015
 
1956
- const uiResult = withUi
1957
- ? await installUiWebFromRelease({ config })
1958
- : { installed: false, version: null, source: null, reason: 'disabled' };
2016
+ const uiResult = postPromoteResult?.uiResult ?? { installed: false, version: null, source: null, reason: 'disabled' };
1959
2017
  const uiInstalled = Boolean(uiResult?.installed);
1960
-
1961
- const envText = renderServerEnvFile({
1962
- port: config.serverPort,
1963
- host: config.serverHost,
1964
- dataDir: config.dataDir,
1965
- filesDir: config.filesDir,
1966
- dbDir: config.dbDir,
1967
- uiDir: uiInstalled ? config.uiWebCurrentDir : '',
1968
- serverBinDir: dirname(config.serverBinaryPath),
1969
- arch: process.arch,
1970
- platform: config.platform,
1971
- });
1972
- const envTextWithOverrides = envOverrides.length ? applyEnvOverridesToEnvText(envText, envOverrides) : envText;
1973
- await writeFile(config.configEnvPath, envTextWithOverrides, 'utf-8');
1974
- const installEnv = parseEnvText(envTextWithOverrides);
1975
- const healthPort = resolveSelfHostEffectiveServerPort({ config, env: installEnv });
1976
- if (!parseBoolean(installEnv.HAPPIER_SQLITE_AUTO_MIGRATE ?? installEnv.HAPPY_SQLITE_AUTO_MIGRATE, true)) {
1977
- await applySelfHostSqliteMigrationsAtInstallTime({ env: installEnv }).catch((e) => {
1978
- throw new Error(`[self-host] failed to apply sqlite migrations at install time: ${String(e?.message ?? e)}`);
1979
- });
1980
- }
1981
-
1982
- const serverShimPath = join(config.binDir, config.serverBinaryName);
1983
- await mkdir(config.binDir, { recursive: true });
1984
- await rm(serverShimPath, { force: true });
1985
- await symlink(config.serverBinaryPath, serverShimPath).catch(async () => {
1986
- await copyFile(config.serverBinaryPath, serverShimPath);
1987
- await chmod(serverShimPath, 0o755).catch(() => {});
1988
- });
1989
-
1990
- const serviceSpec = buildSelfHostServerServiceSpec({ config, envText: envTextWithOverrides });
1991
- await installManagedService({
1992
- platform: config.platform,
1993
- mode: config.mode,
1994
- homeDir: homedir(),
1995
- spec: serviceSpec,
1996
- persistent: true,
1997
- });
1998
-
1999
- const healthy = await restartAndCheckHealth({ config, serviceSpec, port: healthPort });
2000
- if (!healthy) {
2001
- throw new Error('[self-host] service failed health checks after install');
2002
- }
2003
-
2004
- const autoUpdateResult = await installAutoUpdateJob({
2005
- config: { ...config, autoUpdateAt },
2006
- enabled: autoUpdateEnabled,
2007
- intervalMinutes: autoUpdateIntervalMinutes,
2008
- at: autoUpdateAt,
2009
- }).catch((e) => ({
2018
+ const autoUpdateResult = postPromoteResult?.autoUpdateResult ?? {
2010
2019
  installed: false,
2011
- reason: String(e?.message ?? e),
2012
- }));
2020
+ reason: 'missing-post-promote-result',
2021
+ };
2013
2022
 
2014
2023
  const cliResult = await maybeInstallCompanionCli({
2015
2024
  channel,
@@ -2205,71 +2214,33 @@ async function cmdUpdate({ channel, mode, json }) {
2205
2214
  const withUi =
2206
2215
  parseBoolean(process.env.HAPPIER_WITH_UI, true) !== false
2207
2216
  && parseBoolean(process.env.HAPPIER_SELF_HOST_WITH_UI, true) !== false;
2208
- const installResult = await installFromRelease({
2209
- product: 'happier-server',
2210
- binaryName: config.serverBinaryName,
2217
+ let postPromoteResult = null;
2218
+ const installResult = await runSelfHostRuntimeMutationWithServiceRecovery({
2211
2219
  config,
2220
+ mutateRuntime: async ({ beforeRuntimePromote }) => await installFromRelease(
2221
+ resolveSelfHostServerInstallFromReleaseParams({
2222
+ product: 'happier-server',
2223
+ binaryName: config.serverBinaryName,
2224
+ config,
2225
+ env: process.env,
2226
+ beforeRuntimePromote,
2227
+ afterPromote: async ({ embeddedUiDir, version }) => {
2228
+ postPromoteResult = await performSelfHostPostPromoteSteps({
2229
+ config,
2230
+ embeddedUiDir,
2231
+ runtimeVersion: version,
2232
+ withUi,
2233
+ envOverrides: [],
2234
+ autoUpdateMode: 'reconcile',
2235
+ autoUpdateReconcile,
2236
+ });
2237
+ },
2238
+ }),
2239
+ ),
2212
2240
  });
2213
- const uiResult = withUi
2214
- ? await installUiWebFromRelease({ config })
2215
- : { installed: false, version: null, source: null, reason: 'disabled' };
2241
+ const uiResult = postPromoteResult?.uiResult ?? { installed: false, version: null, source: null, reason: 'disabled' };
2216
2242
  const uiInstalled = Boolean(uiResult?.installed);
2217
-
2218
- const envText = existsSync(config.configEnvPath)
2219
- ? await readFile(config.configEnvPath, 'utf-8').catch(() => '')
2220
- : '';
2221
- const parsedEnv = parseEnvText(envText);
2222
- const effectivePort = parsePort(parsedEnv.PORT, config.serverPort);
2223
- const configWithPort = effectivePort === config.serverPort ? config : { ...config, serverPort: effectivePort };
2224
- const defaultsEnvText = renderServerEnvFile({
2225
- port: configWithPort.serverPort,
2226
- host: configWithPort.serverHost,
2227
- dataDir: configWithPort.dataDir,
2228
- filesDir: configWithPort.filesDir,
2229
- dbDir: configWithPort.dbDir,
2230
- uiDir: uiInstalled ? configWithPort.uiWebCurrentDir : '',
2231
- serverBinDir: dirname(configWithPort.serverBinaryPath),
2232
- arch: process.arch,
2233
- platform: configWithPort.platform,
2234
- });
2235
- const nextEnvText = envText ? mergeEnvTextWithDefaults(envText, defaultsEnvText) : defaultsEnvText;
2236
- await mkdir(configWithPort.configDir, { recursive: true });
2237
- await writeFile(configWithPort.configEnvPath, nextEnvText, 'utf-8');
2238
- const nextEnv = parseEnvText(nextEnvText);
2239
- if (!parseBoolean(nextEnv.HAPPIER_SQLITE_AUTO_MIGRATE ?? nextEnv.HAPPY_SQLITE_AUTO_MIGRATE, true)) {
2240
- await applySelfHostSqliteMigrationsAtInstallTime({ env: nextEnv }).catch((e) => {
2241
- throw new Error(`[self-host] failed to apply sqlite migrations at update time: ${String(e?.message ?? e)}`);
2242
- });
2243
- }
2244
-
2245
- const serviceSpec = buildSelfHostServerServiceSpec({ config: configWithPort, envText: nextEnvText });
2246
- await installManagedService({
2247
- platform: configWithPort.platform,
2248
- mode: configWithPort.mode,
2249
- homeDir: homedir(),
2250
- spec: serviceSpec,
2251
- persistent: true,
2252
- }).catch(() => {});
2253
- const healthy = await restartAndCheckHealth({ config: configWithPort, serviceSpec });
2254
- if (!healthy) {
2255
- if (existsSync(config.serverPreviousBinaryPath)) {
2256
- await copyFile(config.serverPreviousBinaryPath, config.serverBinaryPath);
2257
- await chmod(config.serverBinaryPath, 0o755).catch(() => {});
2258
- await restartAndCheckHealth({ config: configWithPort, serviceSpec });
2259
- }
2260
- throw new Error('[self-host] update failed health checks and was rolled back to previous binary');
2261
- }
2262
-
2263
- if (autoUpdateReconcile.action === 'install') {
2264
- await installAutoUpdateJob({
2265
- config: { ...configWithPort, autoUpdateAt: autoUpdateReconcile.at },
2266
- enabled: true,
2267
- intervalMinutes: autoUpdateReconcile.intervalMinutes,
2268
- at: autoUpdateReconcile.at,
2269
- }).catch(() => {});
2270
- } else {
2271
- await uninstallAutoUpdateJob({ config: configWithPort }).catch(() => {});
2272
- }
2243
+ const autoUpdateResult = postPromoteResult?.autoUpdateResult ?? null;
2273
2244
 
2274
2245
  await writeSelfHostState(config, {
2275
2246
  channel,
@@ -2465,7 +2436,7 @@ function redactEnvForDisplay(env) {
2465
2436
  return out;
2466
2437
  }
2467
2438
 
2468
- async function cmdConfig({ channel, mode, argv, json }) {
2439
+ async function cmdConfig({ channel, mode, argv, json, output }) {
2469
2440
  const args = Array.isArray(argv) ? argv.map(String) : [];
2470
2441
  const sub = pickFirstPositional(args) || 'view';
2471
2442
  const subIndex = args.indexOf(sub);
@@ -2486,6 +2457,7 @@ async function cmdConfig({ channel, mode, argv, json }) {
2486
2457
  if (sub === 'view') {
2487
2458
  printResult({
2488
2459
  json,
2460
+ output,
2489
2461
  data: {
2490
2462
  ok: true,
2491
2463
  channel,
@@ -2594,6 +2566,7 @@ async function cmdConfig({ channel, mode, argv, json }) {
2594
2566
 
2595
2567
  printResult({
2596
2568
  json,
2569
+ output,
2597
2570
  data: {
2598
2571
  ok: true,
2599
2572
  channel,
@@ -2637,6 +2610,15 @@ export function usageText() {
2637
2610
  }
2638
2611
 
2639
2612
  let cachedRelayHostForwardSupport = null;
2613
+ const RELAY_HOST_FORWARDABLE_SUBCOMMANDS = new Set(['install', 'status', 'update', 'uninstall']);
2614
+
2615
+ export function resolveRelayHostForwardedArgv(argv) {
2616
+ const args = Array.isArray(argv) ? [...argv] : [];
2617
+ if (String(args[0] ?? '').trim() === 'update') {
2618
+ args[0] = 'install';
2619
+ }
2620
+ return args;
2621
+ }
2640
2622
 
2641
2623
  function shouldAttemptRelayHostForward(env = process.env) {
2642
2624
  const raw = String(env?.HAPPIER_STACK_SELF_HOST_FORWARD ?? '1').trim().toLowerCase();
@@ -2664,9 +2646,14 @@ function resolveRelayHostForwardSupport(env = process.env) {
2664
2646
  return cachedRelayHostForwardSupport;
2665
2647
  }
2666
2648
 
2667
- export async function runSelfHostCli(argv = process.argv.slice(2)) {
2668
- if (shouldAttemptRelayHostForward(process.env) && resolveRelayHostForwardSupport(process.env)) {
2669
- const forwarded = spawnSync('happier', ['relay', 'host', ...argv], {
2649
+ export async function runSelfHostCli(argv = process.argv.slice(2), { configOutput = process.stdout } = {}) {
2650
+ const parsed = parseSelfHostInvocation(argv);
2651
+ if (
2652
+ RELAY_HOST_FORWARDABLE_SUBCOMMANDS.has(parsed.subcommand)
2653
+ && shouldAttemptRelayHostForward(process.env)
2654
+ && resolveRelayHostForwardSupport(process.env)
2655
+ ) {
2656
+ const forwarded = spawnSync('happier', ['relay', 'host', ...resolveRelayHostForwardedArgv(argv)], {
2670
2657
  env: process.env,
2671
2658
  stdio: 'inherit',
2672
2659
  encoding: 'utf-8',
@@ -2680,7 +2667,6 @@ export async function runSelfHostCli(argv = process.argv.slice(2)) {
2680
2667
  return;
2681
2668
  }
2682
2669
 
2683
- const parsed = parseSelfHostInvocation(argv);
2684
2670
  const { flags, kv } = parseArgs(argv);
2685
2671
  const json = wantsJson(argv, { flags });
2686
2672
  const channel = normalizeChannel(String(kv.get('--channel') ?? process.env.HAPPIER_CHANNEL ?? 'stable'));
@@ -2728,7 +2714,7 @@ export async function runSelfHostCli(argv = process.argv.slice(2)) {
2728
2714
  return;
2729
2715
  }
2730
2716
  if (parsed.subcommand === 'config') {
2731
- await cmdConfig({ channel, mode, argv: parsed.rest, json });
2717
+ await cmdConfig({ channel, mode, argv: parsed.rest, json, output: configOutput });
2732
2718
  return;
2733
2719
  }
2734
2720