@happier-dev/stack 0.2.1-preview.1775586714.26562 → 0.2.12-preview.1

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 (2641) 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 +17 -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 +59 -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 +420 -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 +222 -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 +24 -0
  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 +121 -15
  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 +18 -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 +63 -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 +161 -71
  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 +58 -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 +83 -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 +224 -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 +11 -1
  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 -1
  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.map +1 -1
  300. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js +64 -23
  301. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js.map +1 -1
  302. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts +15 -0
  303. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts.map +1 -1
  304. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js +829 -76
  305. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js.map +1 -1
  306. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.d.ts +14 -0
  307. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.d.ts.map +1 -0
  308. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.js +29 -0
  309. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.js.map +1 -0
  310. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts +32 -0
  311. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts.map +1 -1
  312. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js +21 -4
  313. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js.map +1 -1
  314. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.d.ts +34 -0
  315. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.d.ts.map +1 -0
  316. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.js +49 -0
  317. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.js.map +1 -0
  318. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.d.ts +29 -0
  319. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.d.ts.map +1 -0
  320. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.js +177 -0
  321. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.js.map +1 -0
  322. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.d.ts +39 -0
  323. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.d.ts.map +1 -0
  324. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.js +112 -0
  325. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.js.map +1 -0
  326. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts +1 -1
  327. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts.map +1 -1
  328. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts +53 -0
  329. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts.map +1 -1
  330. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js +284 -41
  331. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js.map +1 -1
  332. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts +36 -0
  333. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts.map +1 -0
  334. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js +113 -0
  335. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js.map +1 -0
  336. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts +1 -0
  337. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts.map +1 -1
  338. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js +23 -10
  339. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js.map +1 -1
  340. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.d.ts.map +1 -1
  341. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js +66 -6
  342. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js.map +1 -1
  343. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.d.ts +10 -0
  344. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.d.ts.map +1 -0
  345. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.js +61 -0
  346. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.js.map +1 -0
  347. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts +12 -0
  348. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts.map +1 -1
  349. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js +24 -0
  350. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js.map +1 -1
  351. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.d.ts +35 -0
  352. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.d.ts.map +1 -0
  353. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.js +222 -0
  354. package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.js.map +1 -0
  355. package/node_modules/@happier-dev/cli-common/dist/links/index.d.ts +6 -0
  356. package/node_modules/@happier-dev/cli-common/dist/links/index.d.ts.map +1 -1
  357. package/node_modules/@happier-dev/cli-common/dist/links/index.js +30 -15
  358. package/node_modules/@happier-dev/cli-common/dist/links/index.js.map +1 -1
  359. package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts +3 -0
  360. package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts.map +1 -0
  361. package/node_modules/@happier-dev/cli-common/dist/output/index.js +3 -0
  362. package/node_modules/@happier-dev/cli-common/dist/output/index.js.map +1 -0
  363. package/node_modules/@happier-dev/cli-common/dist/output/planet.d.ts +47 -0
  364. package/node_modules/@happier-dev/cli-common/dist/output/planet.d.ts.map +1 -0
  365. package/node_modules/@happier-dev/cli-common/dist/output/planet.js +183 -0
  366. package/node_modules/@happier-dev/cli-common/dist/output/planet.js.map +1 -0
  367. package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts +30 -0
  368. package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts.map +1 -0
  369. package/node_modules/@happier-dev/cli-common/dist/output/progress.js +200 -0
  370. package/node_modules/@happier-dev/cli-common/dist/output/progress.js.map +1 -0
  371. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.d.ts +2 -0
  372. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.d.ts.map +1 -0
  373. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.js +2 -0
  374. package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.js.map +1 -0
  375. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.d.ts +5 -0
  376. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.d.ts.map +1 -0
  377. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.js +31 -0
  378. package/node_modules/@happier-dev/cli-common/dist/path/pathShape.js.map +1 -0
  379. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.d.ts.map +1 -1
  380. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js +12 -6
  381. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js.map +1 -1
  382. package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts +1 -0
  383. package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts.map +1 -1
  384. package/node_modules/@happier-dev/cli-common/dist/process/index.js +1 -0
  385. package/node_modules/@happier-dev/cli-common/dist/process/index.js.map +1 -1
  386. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.d.ts +9 -0
  387. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.d.ts.map +1 -0
  388. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.js +64 -0
  389. package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.js.map +1 -0
  390. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts.map +1 -1
  391. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js +35 -7
  392. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js.map +1 -1
  393. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.d.ts.map +1 -1
  394. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js +42 -20
  395. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js.map +1 -1
  396. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts +12 -0
  397. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts.map +1 -1
  398. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js +86 -16
  399. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js.map +1 -1
  400. package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts +3 -0
  401. package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts.map +1 -1
  402. package/node_modules/@happier-dev/cli-common/dist/providers/install.js +551 -78
  403. package/node_modules/@happier-dev/cli-common/dist/providers/install.js.map +1 -1
  404. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.d.ts.map +1 -1
  405. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js +4 -3
  406. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js.map +1 -1
  407. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.d.ts.map +1 -1
  408. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js +34 -3
  409. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js.map +1 -1
  410. package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.js.map +1 -1
  411. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.d.ts.map +1 -1
  412. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js +37 -12
  413. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js.map +1 -1
  414. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts +3 -3
  415. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts.map +1 -1
  416. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js +109 -38
  417. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js.map +1 -1
  418. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.d.ts.map +1 -1
  419. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js +10 -5
  420. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js.map +1 -1
  421. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.d.ts +8 -0
  422. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.d.ts.map +1 -0
  423. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.js +40 -0
  424. package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.js.map +1 -0
  425. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts +3 -2
  426. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts.map +1 -1
  427. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js +1413 -373
  428. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js.map +1 -1
  429. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts +13 -0
  430. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts.map +1 -0
  431. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js +45 -0
  432. package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js.map +1 -0
  433. package/node_modules/@happier-dev/cli-common/dist/service/launchd.d.ts +1 -0
  434. package/node_modules/@happier-dev/cli-common/dist/service/launchd.d.ts.map +1 -1
  435. package/node_modules/@happier-dev/cli-common/dist/service/launchd.js +4 -0
  436. package/node_modules/@happier-dev/cli-common/dist/service/launchd.js.map +1 -1
  437. package/node_modules/@happier-dev/cli-common/dist/service/manager.d.ts +30 -0
  438. package/node_modules/@happier-dev/cli-common/dist/service/manager.d.ts.map +1 -1
  439. package/node_modules/@happier-dev/cli-common/dist/service/manager.js +197 -24
  440. package/node_modules/@happier-dev/cli-common/dist/service/manager.js.map +1 -1
  441. package/node_modules/@happier-dev/cli-common/dist/service/path.js.map +1 -1
  442. package/node_modules/@happier-dev/cli-common/dist/service/systemd.d.ts +2 -0
  443. package/node_modules/@happier-dev/cli-common/dist/service/systemd.d.ts.map +1 -1
  444. package/node_modules/@happier-dev/cli-common/dist/service/systemd.js +7 -1
  445. package/node_modules/@happier-dev/cli-common/dist/service/systemd.js.map +1 -1
  446. package/node_modules/@happier-dev/cli-common/dist/service/windows.d.ts +49 -0
  447. package/node_modules/@happier-dev/cli-common/dist/service/windows.d.ts.map +1 -1
  448. package/node_modules/@happier-dev/cli-common/dist/service/windows.js +194 -5
  449. package/node_modules/@happier-dev/cli-common/dist/service/windows.js.map +1 -1
  450. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.d.ts +7 -0
  451. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.d.ts.map +1 -0
  452. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.js +41 -0
  453. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.js.map +1 -0
  454. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.d.ts +5 -0
  455. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.d.ts.map +1 -0
  456. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.js +51 -0
  457. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.js.map +1 -0
  458. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts +2 -0
  459. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts.map +1 -1
  460. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js +1 -0
  461. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js.map +1 -1
  462. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts +1 -0
  463. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts.map +1 -1
  464. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js +104 -61
  465. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js.map +1 -1
  466. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.d.ts.map +1 -1
  467. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.d.ts +2 -0
  468. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.d.ts.map +1 -0
  469. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.js +13 -0
  470. package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.js.map +1 -0
  471. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.d.ts.map +1 -1
  472. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js +20 -2
  473. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js.map +1 -1
  474. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts +2 -2
  475. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts.map +1 -1
  476. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js +2 -2
  477. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js.map +1 -1
  478. package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.js.map +1 -1
  479. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts +15 -0
  480. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts.map +1 -1
  481. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js +50 -1
  482. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js.map +1 -1
  483. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts +29 -0
  484. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts.map +1 -1
  485. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js +42 -0
  486. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js.map +1 -1
  487. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts +2 -2
  488. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts.map +1 -1
  489. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts +16 -1
  490. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts.map +1 -1
  491. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js +113 -24
  492. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js.map +1 -1
  493. package/node_modules/@happier-dev/cli-common/expandHomeDirPath.cjs +41 -0
  494. package/node_modules/@happier-dev/cli-common/expandHomeDirPath.d.cts +10 -0
  495. package/node_modules/@happier-dev/cli-common/jsonOwnerBuildLockState.cjs +54 -0
  496. package/node_modules/@happier-dev/cli-common/node_modules/chalk/license +9 -0
  497. package/node_modules/@happier-dev/cli-common/node_modules/chalk/package.json +83 -0
  498. package/node_modules/@happier-dev/cli-common/node_modules/chalk/readme.md +297 -0
  499. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/index.d.ts +325 -0
  500. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/index.js +225 -0
  501. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/utilities.js +33 -0
  502. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  503. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  504. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  505. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  506. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  507. package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  508. package/node_modules/@happier-dev/cli-common/package.json +60 -1
  509. package/node_modules/@happier-dev/cli-common/processInstance.d.mts +10 -0
  510. package/node_modules/@happier-dev/cli-common/processInstance.mjs +67 -0
  511. package/node_modules/@happier-dev/cli-common/runtimeImportProbePolicy.d.mts +1 -0
  512. package/node_modules/@happier-dev/cli-common/runtimeImportProbePolicy.mjs +5 -0
  513. package/node_modules/@happier-dev/cli-common/workspaceBundleLock.d.mts +39 -0
  514. package/node_modules/@happier-dev/cli-common/workspaceBundleLock.mjs +380 -0
  515. package/node_modules/@happier-dev/cli-common/workspaceLockLease.d.mts +21 -0
  516. package/node_modules/@happier-dev/cli-common/workspaceLockLease.mjs +57 -0
  517. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.d.ts.map +1 -1
  518. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js +47 -9
  519. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js.map +1 -1
  520. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.d.ts.map +1 -1
  521. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js +33 -0
  522. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js.map +1 -1
  523. package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts +1 -1
  524. package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts.map +1 -1
  525. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js +1 -1
  526. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js.map +1 -1
  527. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts +8 -0
  528. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts.map +1 -1
  529. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts +3 -0
  530. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts.map +1 -1
  531. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts +443 -213
  532. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts.map +1 -1
  533. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js +21 -3
  534. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js.map +1 -1
  535. package/node_modules/@happier-dev/protocol/dist/account/encryptionMode.d.ts +2 -2
  536. package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts +102 -4
  537. package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts.map +1 -1
  538. package/node_modules/@happier-dev/protocol/dist/account/profile.js +19 -2
  539. package/node_modules/@happier-dev/protocol/dist/account/profile.js.map +1 -1
  540. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts +254 -41
  541. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts.map +1 -1
  542. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js +183 -18
  543. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js.map +1 -1
  544. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts +3 -576
  545. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts.map +1 -1
  546. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.d.ts +4 -0
  547. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.d.ts.map +1 -0
  548. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.js +3 -0
  549. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.js.map +1 -0
  550. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts +1 -192
  551. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts.map +1 -1
  552. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js +2 -2
  553. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js.map +1 -1
  554. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.d.ts +79 -0
  555. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.d.ts.map +1 -0
  556. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.js +80 -0
  557. package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.js.map +1 -0
  558. package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts +3 -1
  559. package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts.map +1 -1
  560. package/node_modules/@happier-dev/protocol/dist/account/settings/index.js +3 -1
  561. package/node_modules/@happier-dev/protocol/dist/account/settings/index.js.map +1 -1
  562. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts +41 -14
  563. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts.map +1 -1
  564. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js +23 -2
  565. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js.map +1 -1
  566. package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.d.ts +29 -29
  567. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.d.ts +26 -0
  568. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.d.ts.map +1 -0
  569. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.js +24 -0
  570. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.js.map +1 -0
  571. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts +15 -0
  572. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts.map +1 -1
  573. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js +17 -0
  574. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js.map +1 -1
  575. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts +4 -0
  576. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts.map +1 -1
  577. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js +4 -0
  578. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js.map +1 -1
  579. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts +269 -17
  580. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts.map +1 -1
  581. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js +1301 -134
  582. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js.map +1 -1
  583. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts +64 -44
  584. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts.map +1 -1
  585. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js +21 -0
  586. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js.map +1 -1
  587. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.d.ts.map +1 -1
  588. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js +13 -4
  589. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js.map +1 -1
  590. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.d.ts +28 -0
  591. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.d.ts.map +1 -0
  592. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.js +77 -0
  593. package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.js.map +1 -0
  594. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts +73 -35
  595. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts.map +1 -1
  596. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js +24 -1
  597. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js.map +1 -1
  598. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts +487 -65
  599. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts.map +1 -1
  600. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js +1390 -138
  601. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js.map +1 -1
  602. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.d.ts +24 -0
  603. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.d.ts.map +1 -0
  604. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.js +139 -0
  605. package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.js.map +1 -0
  606. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.d.ts +14 -0
  607. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.d.ts.map +1 -0
  608. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.js +46 -0
  609. package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.js.map +1 -0
  610. package/node_modules/@happier-dev/protocol/dist/actions/actionUiPlacements.d.ts +5 -5
  611. package/node_modules/@happier-dev/protocol/dist/actions/actionUiPlacements.d.ts.map +1 -1
  612. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.d.ts +11 -0
  613. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.d.ts.map +1 -0
  614. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.js +12 -0
  615. package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.js.map +1 -0
  616. package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts +8 -3
  617. package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts.map +1 -1
  618. package/node_modules/@happier-dev/protocol/dist/actions/index.js +7 -2
  619. package/node_modules/@happier-dev/protocol/dist/actions/index.js.map +1 -1
  620. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.d.ts +11 -0
  621. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.d.ts.map +1 -0
  622. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.js +9 -0
  623. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.js.map +1 -0
  624. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.d.ts +299 -0
  625. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.d.ts.map +1 -0
  626. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.js +180 -0
  627. package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.js.map +1 -0
  628. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.d.ts +3 -0
  629. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.d.ts.map +1 -0
  630. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.js +3 -0
  631. package/node_modules/@happier-dev/protocol/dist/actions/operations/index.js.map +1 -0
  632. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts +37 -0
  633. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts.map +1 -0
  634. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js +133 -0
  635. package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js.map +1 -0
  636. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js +5 -5
  637. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js.map +1 -1
  638. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.d.ts +37 -0
  639. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.d.ts.map +1 -0
  640. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.js +80 -0
  641. package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.js.map +1 -0
  642. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.d.ts +12 -0
  643. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.d.ts.map +1 -0
  644. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.js +68 -0
  645. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.js.map +1 -0
  646. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.d.ts +8 -0
  647. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.d.ts.map +1 -0
  648. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.js +100 -0
  649. package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.js.map +1 -0
  650. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.d.ts +94 -0
  651. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.d.ts.map +1 -0
  652. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.js +125 -0
  653. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.js.map +1 -0
  654. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.d.ts +40 -0
  655. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.d.ts.map +1 -0
  656. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.js +94 -0
  657. package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.js.map +1 -0
  658. package/node_modules/@happier-dev/protocol/dist/activity/parseJson.d.ts +2 -0
  659. package/node_modules/@happier-dev/protocol/dist/activity/parseJson.d.ts.map +1 -0
  660. package/node_modules/@happier-dev/protocol/dist/activity/parseJson.js +32 -0
  661. package/node_modules/@happier-dev/protocol/dist/activity/parseJson.js.map +1 -0
  662. package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.d.ts +12 -0
  663. package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.d.ts.map +1 -0
  664. package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.js +120 -0
  665. package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.js.map +1 -0
  666. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts +10 -2
  667. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts.map +1 -1
  668. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js +4 -0
  669. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js.map +1 -1
  670. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts +105 -53
  671. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts.map +1 -1
  672. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js +64 -0
  673. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js.map +1 -1
  674. package/node_modules/@happier-dev/protocol/dist/auth/errors.d.ts +15 -14
  675. package/node_modules/@happier-dev/protocol/dist/auth/errors.d.ts.map +1 -1
  676. package/node_modules/@happier-dev/protocol/dist/auth/errors.js +1 -0
  677. package/node_modules/@happier-dev/protocol/dist/auth/errors.js.map +1 -1
  678. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.d.ts +52 -0
  679. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.d.ts.map +1 -0
  680. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.js +13 -0
  681. package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.js.map +1 -0
  682. package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.d.ts.map +1 -1
  683. package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.js +406 -10
  684. package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.js.map +1 -1
  685. package/node_modules/@happier-dev/protocol/dist/changes.d.ts +11 -29
  686. package/node_modules/@happier-dev/protocol/dist/changes.d.ts.map +1 -1
  687. package/node_modules/@happier-dev/protocol/dist/changes.js +6 -1
  688. package/node_modules/@happier-dev/protocol/dist/changes.js.map +1 -1
  689. package/node_modules/@happier-dev/protocol/dist/checklists.d.ts +2 -2
  690. package/node_modules/@happier-dev/protocol/dist/checklists.d.ts.map +1 -1
  691. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts +4 -0
  692. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts.map +1 -0
  693. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js +4 -0
  694. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js.map +1 -0
  695. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts +19 -0
  696. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts.map +1 -0
  697. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js +46 -0
  698. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js.map +1 -0
  699. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.d.ts +36 -0
  700. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.d.ts.map +1 -0
  701. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.js +19 -0
  702. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.js.map +1 -0
  703. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.d.ts +35 -0
  704. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.d.ts.map +1 -0
  705. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.js +41 -0
  706. package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.js.map +1 -0
  707. package/node_modules/@happier-dev/protocol/dist/common/asyncTtlCache.d.ts.map +1 -1
  708. package/node_modules/@happier-dev/protocol/dist/common/probedResourceCache.d.ts.map +1 -1
  709. package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.d.ts +36 -0
  710. package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.d.ts.map +1 -0
  711. package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.js +36 -0
  712. package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.js.map +1 -0
  713. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts +525 -0
  714. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts.map +1 -0
  715. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js +310 -0
  716. package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js.map +1 -0
  717. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.d.ts +12 -0
  718. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.d.ts.map +1 -1
  719. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.js +25 -1
  720. package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.js.map +1 -1
  721. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.d.ts +7 -0
  722. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.d.ts.map +1 -0
  723. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.js +40 -0
  724. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.js.map +1 -0
  725. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.d.ts +74 -0
  726. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.d.ts.map +1 -0
  727. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.js +75 -0
  728. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.js.map +1 -0
  729. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.d.ts +0 -5
  730. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.d.ts.map +1 -1
  731. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.js +0 -8
  732. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.js.map +1 -1
  733. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.d.ts +19 -0
  734. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.d.ts.map +1 -0
  735. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.js +19 -0
  736. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.js.map +1 -0
  737. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts +25 -15
  738. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts.map +1 -1
  739. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js +10 -0
  740. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js.map +1 -1
  741. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.d.ts +43 -0
  742. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.d.ts.map +1 -0
  743. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.js +53 -0
  744. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.js.map +1 -0
  745. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts +1371 -27
  746. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts.map +1 -1
  747. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js +543 -13
  748. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js.map +1 -1
  749. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.d.ts +184 -0
  750. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.d.ts.map +1 -0
  751. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.js +142 -0
  752. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.js.map +1 -0
  753. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.d.ts +61 -0
  754. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.d.ts.map +1 -0
  755. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.js +148 -0
  756. package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.js.map +1 -0
  757. package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.d.ts +8 -0
  758. package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.d.ts.map +1 -0
  759. package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js +22 -0
  760. package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js.map +1 -0
  761. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.d.ts +2 -1
  762. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.d.ts.map +1 -1
  763. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js +19 -0
  764. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js.map +1 -1
  765. package/node_modules/@happier-dev/protocol/dist/crypto/base64.d.ts +1 -0
  766. package/node_modules/@happier-dev/protocol/dist/crypto/base64.d.ts.map +1 -1
  767. package/node_modules/@happier-dev/protocol/dist/crypto/base64.js +34 -0
  768. package/node_modules/@happier-dev/protocol/dist/crypto/base64.js.map +1 -1
  769. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.d.ts +3 -0
  770. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.d.ts.map +1 -0
  771. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.js +21 -0
  772. package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.js.map +1 -0
  773. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.d.ts +93 -0
  774. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.d.ts.map +1 -0
  775. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.js +99 -0
  776. package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.js.map +1 -0
  777. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.d.ts +6 -0
  778. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.d.ts.map +1 -0
  779. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.js +8 -0
  780. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.js.map +1 -0
  781. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.d.ts +17 -0
  782. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.d.ts.map +1 -0
  783. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.js +34 -0
  784. package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.js.map +1 -0
  785. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.d.ts +18 -0
  786. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.d.ts.map +1 -1
  787. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.js +85 -0
  788. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.js.map +1 -1
  789. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.d.ts +52 -0
  790. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.d.ts.map +1 -0
  791. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.js +34 -0
  792. package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.js.map +1 -0
  793. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts +51 -12
  794. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts.map +1 -1
  795. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js +4 -1
  796. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js.map +1 -1
  797. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts +47 -26
  798. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts.map +1 -1
  799. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js +26 -14
  800. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js.map +1 -1
  801. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts +352 -0
  802. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts.map +1 -1
  803. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js +159 -0
  804. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js.map +1 -1
  805. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts +209 -28
  806. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts.map +1 -1
  807. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js +94 -0
  808. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js.map +1 -1
  809. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.d.ts +35 -0
  810. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.d.ts.map +1 -0
  811. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.js +157 -0
  812. package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.js.map +1 -0
  813. package/node_modules/@happier-dev/protocol/dist/drafts/index.d.ts +2 -0
  814. package/node_modules/@happier-dev/protocol/dist/drafts/index.d.ts.map +1 -0
  815. package/node_modules/@happier-dev/protocol/dist/drafts/index.js +2 -0
  816. package/node_modules/@happier-dev/protocol/dist/drafts/index.js.map +1 -0
  817. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts +1076 -0
  818. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts.map +1 -0
  819. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js +169 -0
  820. package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js.map +1 -0
  821. package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.d.ts +7 -7
  822. package/node_modules/@happier-dev/protocol/dist/e2e/providerSpec.d.ts +4 -4
  823. package/node_modules/@happier-dev/protocol/dist/ephemeralTasks.d.ts +4 -4
  824. package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.d.ts +2 -2
  825. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts +62 -12
  826. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts.map +1 -1
  827. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js +51 -3
  828. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js.map +1 -1
  829. package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts +136 -30
  830. package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts.map +1 -1
  831. package/node_modules/@happier-dev/protocol/dist/executionRuns.js +29 -2
  832. package/node_modules/@happier-dev/protocol/dist/executionRuns.js.map +1 -1
  833. package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts +300 -168
  834. package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts.map +1 -1
  835. package/node_modules/@happier-dev/protocol/dist/features/catalog.js +140 -0
  836. package/node_modules/@happier-dev/protocol/dist/features/catalog.js.map +1 -1
  837. package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts +93 -71
  838. package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts.map +1 -1
  839. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.d.ts.map +1 -1
  840. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.d.ts +5 -5
  841. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.d.ts +1 -1
  842. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.d.ts.map +1 -1
  843. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.js +3 -0
  844. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.js.map +1 -1
  845. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts +70 -5
  846. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts.map +1 -1
  847. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js +10 -0
  848. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js.map +1 -1
  849. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.d.ts +19 -0
  850. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.d.ts.map +1 -0
  851. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.js +18 -0
  852. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.js.map +1 -0
  853. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.d.ts +4 -4
  854. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.d.ts +84 -0
  855. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.d.ts.map +1 -0
  856. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.js +56 -0
  857. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.js.map +1 -0
  858. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts +6 -0
  859. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts.map +1 -1
  860. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.d.ts +9 -0
  861. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.d.ts.map +1 -0
  862. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.js +18 -0
  863. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.js.map +1 -0
  864. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts +6 -0
  865. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts.map +1 -1
  866. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js +1 -0
  867. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js.map +1 -1
  868. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.d.ts +50 -0
  869. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.d.ts.map +1 -0
  870. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.js +35 -0
  871. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.js.map +1 -0
  872. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.d.ts +16 -0
  873. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.d.ts.map +1 -0
  874. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.js +16 -0
  875. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.js.map +1 -0
  876. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts +42 -0
  877. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts.map +1 -1
  878. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js +44 -2
  879. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js.map +1 -1
  880. package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts +112 -5
  881. package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts.map +1 -1
  882. package/node_modules/@happier-dev/protocol/dist/features.d.ts +5 -0
  883. package/node_modules/@happier-dev/protocol/dist/features.d.ts.map +1 -1
  884. package/node_modules/@happier-dev/protocol/dist/features.js +5 -0
  885. package/node_modules/@happier-dev/protocol/dist/features.js.map +1 -1
  886. package/node_modules/@happier-dev/protocol/dist/index.d.ts +119 -36
  887. package/node_modules/@happier-dev/protocol/dist/index.d.ts.map +1 -1
  888. package/node_modules/@happier-dev/protocol/dist/index.js +117 -35
  889. package/node_modules/@happier-dev/protocol/dist/index.js.map +1 -1
  890. package/node_modules/@happier-dev/protocol/dist/installables.d.ts +43 -5
  891. package/node_modules/@happier-dev/protocol/dist/installables.d.ts.map +1 -1
  892. package/node_modules/@happier-dev/protocol/dist/installables.js +29 -2
  893. package/node_modules/@happier-dev/protocol/dist/installables.js.map +1 -1
  894. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts +2 -2
  895. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts.map +1 -1
  896. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js +3 -1
  897. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js.map +1 -1
  898. package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.d.ts +2 -2
  899. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.d.ts +8 -0
  900. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.d.ts.map +1 -0
  901. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.js +45 -0
  902. package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.js.map +1 -0
  903. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.d.ts +3 -0
  904. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.d.ts.map +1 -0
  905. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.js +3 -0
  906. package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.js.map +1 -0
  907. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.d.ts +17 -0
  908. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.d.ts.map +1 -0
  909. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.js +18 -0
  910. package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.js.map +1 -0
  911. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.d.ts +8 -0
  912. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.d.ts.map +1 -0
  913. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.js +73 -0
  914. package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.js.map +1 -0
  915. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.d.ts +96 -0
  916. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.d.ts.map +1 -0
  917. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.js +107 -0
  918. package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.js.map +1 -0
  919. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts +1 -1
  920. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts.map +1 -1
  921. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js +9 -2
  922. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js.map +1 -1
  923. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.d.ts +57 -0
  924. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.d.ts.map +1 -0
  925. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.js +88 -0
  926. package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.js.map +1 -0
  927. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.d.ts +42 -0
  928. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.d.ts.map +1 -0
  929. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.js +145 -0
  930. package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.js.map +1 -0
  931. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.d.ts +14 -0
  932. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.d.ts.map +1 -0
  933. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.js +21 -0
  934. package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.js.map +1 -0
  935. package/node_modules/@happier-dev/protocol/dist/machines/index.d.ts +4 -0
  936. package/node_modules/@happier-dev/protocol/dist/machines/index.d.ts.map +1 -0
  937. package/node_modules/@happier-dev/protocol/dist/machines/index.js +4 -0
  938. package/node_modules/@happier-dev/protocol/dist/machines/index.js.map +1 -0
  939. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.d.ts +21 -0
  940. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.d.ts.map +1 -0
  941. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.js +23 -0
  942. package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.js.map +1 -0
  943. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts +30 -24
  944. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts.map +1 -1
  945. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts +38 -36
  946. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts.map +1 -1
  947. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts +25 -2
  948. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts.map +1 -1
  949. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js +30 -0
  950. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js.map +1 -1
  951. package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.d.ts +3 -3
  952. package/node_modules/@happier-dev/protocol/dist/memory/memorySearch.d.ts +8 -8
  953. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts +58 -12
  954. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts.map +1 -1
  955. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js +46 -5
  956. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js.map +1 -1
  957. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts +101 -2
  958. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts.map +1 -1
  959. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js +53 -0
  960. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js.map +1 -1
  961. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.d.ts +107 -0
  962. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.d.ts.map +1 -0
  963. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.js +191 -0
  964. package/node_modules/@happier-dev/protocol/dist/mentionRefV1.js.map +1 -0
  965. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.d.ts +258 -0
  966. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.d.ts.map +1 -0
  967. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.js +131 -0
  968. package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.js.map +1 -0
  969. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.d.ts +52 -0
  970. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.d.ts.map +1 -0
  971. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.js +45 -0
  972. package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.js.map +1 -0
  973. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.d.ts +13 -0
  974. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.d.ts.map +1 -0
  975. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.js +51 -0
  976. package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.js.map +1 -0
  977. package/node_modules/@happier-dev/protocol/dist/pets/constants.d.ts +85 -0
  978. package/node_modules/@happier-dev/protocol/dist/pets/constants.d.ts.map +1 -0
  979. package/node_modules/@happier-dev/protocol/dist/pets/constants.js +59 -0
  980. package/node_modules/@happier-dev/protocol/dist/pets/constants.js.map +1 -0
  981. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.d.ts +610 -0
  982. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.d.ts.map +1 -0
  983. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.js +265 -0
  984. package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.js.map +1 -0
  985. package/node_modules/@happier-dev/protocol/dist/pets/index.d.ts +8 -0
  986. package/node_modules/@happier-dev/protocol/dist/pets/index.d.ts.map +1 -0
  987. package/node_modules/@happier-dev/protocol/dist/pets/index.js +8 -0
  988. package/node_modules/@happier-dev/protocol/dist/pets/index.js.map +1 -0
  989. package/node_modules/@happier-dev/protocol/dist/pets/manifest.d.ts +20 -0
  990. package/node_modules/@happier-dev/protocol/dist/pets/manifest.d.ts.map +1 -0
  991. package/node_modules/@happier-dev/protocol/dist/pets/manifest.js +17 -0
  992. package/node_modules/@happier-dev/protocol/dist/pets/manifest.js.map +1 -0
  993. package/node_modules/@happier-dev/protocol/dist/pets/source.d.ts +79 -0
  994. package/node_modules/@happier-dev/protocol/dist/pets/source.d.ts.map +1 -0
  995. package/node_modules/@happier-dev/protocol/dist/pets/source.js +62 -0
  996. package/node_modules/@happier-dev/protocol/dist/pets/source.js.map +1 -0
  997. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts +22 -8
  998. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts.map +1 -1
  999. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js +5 -0
  1000. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js.map +1 -1
  1001. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.d.ts +41 -41
  1002. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.d.ts +3 -3
  1003. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.d.ts +1 -1
  1004. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.d.ts +8 -8
  1005. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts +3 -0
  1006. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts.map +1 -1
  1007. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js +1 -1
  1008. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js.map +1 -1
  1009. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.d.ts +2 -2
  1010. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.d.ts +18 -18
  1011. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.d.ts +18 -18
  1012. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts +2 -0
  1013. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts.map +1 -1
  1014. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js +8 -3
  1015. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js.map +1 -1
  1016. package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.js.map +1 -1
  1017. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.d.ts +54 -0
  1018. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.d.ts.map +1 -0
  1019. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.js +67 -0
  1020. package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.js.map +1 -0
  1021. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts.map +1 -1
  1022. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js +34 -44
  1023. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js.map +1 -1
  1024. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts +10 -0
  1025. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts.map +1 -1
  1026. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js +28 -4
  1027. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js.map +1 -1
  1028. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts +3 -2
  1029. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts.map +1 -1
  1030. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js +1 -1
  1031. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js.map +1 -1
  1032. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.d.ts.map +1 -1
  1033. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js +60 -0
  1034. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js.map +1 -1
  1035. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.d.ts +4 -0
  1036. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.d.ts.map +1 -0
  1037. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.js +4 -0
  1038. package/node_modules/@happier-dev/protocol/dist/providers/claude/index.js.map +1 -0
  1039. package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.d.ts +1 -1
  1040. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.d.ts +6 -0
  1041. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.d.ts.map +1 -0
  1042. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.js +17 -0
  1043. package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.js.map +1 -0
  1044. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.d.ts +100 -0
  1045. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.d.ts.map +1 -0
  1046. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.js +301 -0
  1047. package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.js.map +1 -0
  1048. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.d.ts +37 -0
  1049. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.d.ts.map +1 -0
  1050. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.js +60 -0
  1051. package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.js.map +1 -0
  1052. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.d.ts +10 -0
  1053. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.d.ts.map +1 -0
  1054. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.js +11 -0
  1055. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.js.map +1 -0
  1056. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.d.ts +35 -0
  1057. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.d.ts.map +1 -0
  1058. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.js +74 -0
  1059. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.js.map +1 -0
  1060. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.d.ts +12 -0
  1061. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.d.ts.map +1 -0
  1062. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.js +21 -0
  1063. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.js.map +1 -0
  1064. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.d.ts +15 -0
  1065. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.d.ts.map +1 -0
  1066. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.js +48 -0
  1067. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.js.map +1 -0
  1068. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.d.ts +65 -0
  1069. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.d.ts.map +1 -0
  1070. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.js +43 -0
  1071. package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.js.map +1 -0
  1072. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts +1 -1
  1073. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts.map +1 -1
  1074. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.d.ts.map +1 -1
  1075. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js +3 -0
  1076. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js.map +1 -1
  1077. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.d.ts +7 -0
  1078. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.d.ts.map +1 -0
  1079. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.js +7 -0
  1080. package/node_modules/@happier-dev/protocol/dist/providers/codex/index.js.map +1 -0
  1081. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts +2 -2
  1082. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts.map +1 -1
  1083. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.d.ts.map +1 -1
  1084. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js +4 -2
  1085. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js.map +1 -1
  1086. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.d.ts +5 -0
  1087. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.d.ts.map +1 -0
  1088. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.js +5 -0
  1089. package/node_modules/@happier-dev/protocol/dist/providers/github/installables.js.map +1 -0
  1090. package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.d.ts +2 -2
  1091. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.d.ts +11 -0
  1092. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.d.ts.map +1 -0
  1093. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.js +26 -0
  1094. package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.js.map +1 -0
  1095. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.d.ts +4 -0
  1096. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.d.ts.map +1 -0
  1097. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.js +4 -0
  1098. package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.js.map +1 -0
  1099. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.d.ts +17 -0
  1100. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.d.ts.map +1 -0
  1101. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.js +58 -0
  1102. package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.js.map +1 -0
  1103. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts +8 -8
  1104. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts.map +1 -1
  1105. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.d.ts +48 -0
  1106. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.d.ts.map +1 -0
  1107. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.js +60 -0
  1108. package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.js.map +1 -0
  1109. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.d.ts +43 -0
  1110. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.d.ts.map +1 -0
  1111. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.js +17 -0
  1112. package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.js.map +1 -0
  1113. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.d.ts +10 -10
  1114. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.d.ts +2 -2
  1115. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.d.ts +10 -1
  1116. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.d.ts.map +1 -1
  1117. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js +3 -1
  1118. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js.map +1 -1
  1119. package/node_modules/@happier-dev/protocol/dist/rpc.d.ts +231 -126
  1120. package/node_modules/@happier-dev/protocol/dist/rpc.d.ts.map +1 -1
  1121. package/node_modules/@happier-dev/protocol/dist/rpc.js +168 -0
  1122. package/node_modules/@happier-dev/protocol/dist/rpc.js.map +1 -1
  1123. package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts +16 -0
  1124. package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts.map +1 -1
  1125. package/node_modules/@happier-dev/protocol/dist/rpcErrors.js +44 -0
  1126. package/node_modules/@happier-dev/protocol/dist/rpcErrors.js.map +1 -1
  1127. package/node_modules/@happier-dev/protocol/dist/scm.d.ts +561 -173
  1128. package/node_modules/@happier-dev/protocol/dist/scm.d.ts.map +1 -1
  1129. package/node_modules/@happier-dev/protocol/dist/scm.js +235 -45
  1130. package/node_modules/@happier-dev/protocol/dist/scm.js.map +1 -1
  1131. package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts +112 -37
  1132. package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts.map +1 -1
  1133. package/node_modules/@happier-dev/protocol/dist/scmBranches.js +15 -1
  1134. package/node_modules/@happier-dev/protocol/dist/scmBranches.js.map +1 -1
  1135. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.d.ts.map +1 -1
  1136. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js +38 -0
  1137. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js.map +1 -1
  1138. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.d.ts +43 -0
  1139. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.d.ts.map +1 -0
  1140. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.js +42 -0
  1141. package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.js.map +1 -0
  1142. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.d.ts +594 -0
  1143. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.d.ts.map +1 -0
  1144. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.js +192 -0
  1145. package/node_modules/@happier-dev/protocol/dist/scmPullRequests.js.map +1 -0
  1146. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts +884 -0
  1147. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts.map +1 -0
  1148. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.js +109 -0
  1149. package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.js.map +1 -0
  1150. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.d.ts +26 -0
  1151. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.d.ts.map +1 -0
  1152. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.js +11 -0
  1153. package/node_modules/@happier-dev/protocol/dist/scmRequestBase.js.map +1 -0
  1154. package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts +60 -45
  1155. package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts.map +1 -1
  1156. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.d.ts +52 -0
  1157. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.d.ts.map +1 -0
  1158. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.js +85 -0
  1159. package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.js.map +1 -0
  1160. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts +49 -37
  1161. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts.map +1 -1
  1162. package/node_modules/@happier-dev/protocol/dist/sentFrom.d.ts +10 -10
  1163. package/node_modules/@happier-dev/protocol/dist/sentFrom.d.ts.map +1 -1
  1164. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts +22 -18
  1165. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts.map +1 -1
  1166. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts +1 -0
  1167. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts.map +1 -1
  1168. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js +1 -0
  1169. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js.map +1 -1
  1170. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.d.ts +36 -0
  1171. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.d.ts.map +1 -0
  1172. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.js +65 -0
  1173. package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.js.map +1 -0
  1174. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts +21 -1
  1175. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts.map +1 -1
  1176. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js +26 -0
  1177. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js.map +1 -1
  1178. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts +1 -1
  1179. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts.map +1 -1
  1180. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.d.ts +74 -0
  1181. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.d.ts.map +1 -0
  1182. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.js +66 -0
  1183. package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.js.map +1 -0
  1184. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.d.ts +14 -0
  1185. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.d.ts.map +1 -0
  1186. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.js +29 -0
  1187. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.js.map +1 -0
  1188. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.d.ts +34 -0
  1189. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.d.ts.map +1 -0
  1190. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.js +54 -0
  1191. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.js.map +1 -0
  1192. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.d.ts +10 -0
  1193. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.d.ts.map +1 -0
  1194. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.js +30 -0
  1195. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.js.map +1 -0
  1196. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.d.ts +10 -0
  1197. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.d.ts.map +1 -0
  1198. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.js +33 -0
  1199. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.js.map +1 -0
  1200. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.d.ts +5 -0
  1201. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.d.ts.map +1 -0
  1202. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.js +5 -0
  1203. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.js.map +1 -0
  1204. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.d.ts +71 -0
  1205. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.d.ts.map +1 -0
  1206. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.js +119 -0
  1207. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.js.map +1 -0
  1208. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.d.ts +81 -0
  1209. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.d.ts.map +1 -0
  1210. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.js +143 -0
  1211. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.js.map +1 -0
  1212. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.d.ts +41 -0
  1213. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.d.ts.map +1 -0
  1214. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.js +77 -0
  1215. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.js.map +1 -0
  1216. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.d.ts +115 -0
  1217. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.d.ts.map +1 -0
  1218. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.js +113 -0
  1219. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.js.map +1 -0
  1220. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.d.ts +32 -0
  1221. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.d.ts.map +1 -0
  1222. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.js +31 -0
  1223. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.js.map +1 -0
  1224. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.d.ts +100 -0
  1225. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.d.ts.map +1 -0
  1226. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.js +129 -0
  1227. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.js.map +1 -0
  1228. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.d.ts +25 -0
  1229. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.d.ts.map +1 -0
  1230. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.js +46 -0
  1231. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.js.map +1 -0
  1232. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.d.ts +10 -0
  1233. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.d.ts.map +1 -0
  1234. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.js +10 -0
  1235. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.js.map +1 -0
  1236. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.d.ts +33 -0
  1237. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.d.ts.map +1 -0
  1238. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.js +38 -0
  1239. package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.js.map +1 -0
  1240. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.d.ts +409 -0
  1241. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.d.ts.map +1 -0
  1242. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.js +457 -0
  1243. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.js.map +1 -0
  1244. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.d.ts +110 -0
  1245. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.d.ts.map +1 -0
  1246. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.js +184 -0
  1247. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.js.map +1 -0
  1248. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.d.ts +2 -0
  1249. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.d.ts.map +1 -0
  1250. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.js +2 -0
  1251. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.js.map +1 -0
  1252. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.d.ts +155 -0
  1253. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.d.ts.map +1 -0
  1254. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.js +54 -0
  1255. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.js.map +1 -0
  1256. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.d.ts +808 -0
  1257. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.d.ts.map +1 -0
  1258. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.js +577 -0
  1259. package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.js.map +1 -0
  1260. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts +12 -1
  1261. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts.map +1 -1
  1262. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js +10 -0
  1263. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js.map +1 -1
  1264. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts +1 -1
  1265. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts.map +1 -1
  1266. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts +537 -330
  1267. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts.map +1 -1
  1268. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js +111 -1
  1269. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js.map +1 -1
  1270. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts +6 -4
  1271. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts.map +1 -1
  1272. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.js.map +1 -1
  1273. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts +757 -440
  1274. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts.map +1 -1
  1275. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js +5 -1
  1276. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js.map +1 -1
  1277. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.d.ts.map +1 -1
  1278. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js +90 -3
  1279. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js.map +1 -1
  1280. package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.d.ts +76 -76
  1281. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts +8 -8
  1282. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts.map +1 -1
  1283. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js +3 -2
  1284. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js.map +1 -1
  1285. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts +2902 -374
  1286. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts.map +1 -1
  1287. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js +193 -10
  1288. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js.map +1 -1
  1289. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts +1 -1
  1290. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts.map +1 -1
  1291. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js +1 -1
  1292. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js.map +1 -1
  1293. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts +401 -91
  1294. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts.map +1 -1
  1295. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js +66 -0
  1296. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js.map +1 -1
  1297. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts +32 -31
  1298. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts.map +1 -1
  1299. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts +10 -5
  1300. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts.map +1 -1
  1301. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js +1 -1
  1302. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js.map +1 -1
  1303. package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.d.ts +32 -0
  1304. package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.d.ts.map +1 -0
  1305. package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.js +23 -0
  1306. package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.js.map +1 -0
  1307. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.d.ts +30 -0
  1308. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.d.ts.map +1 -0
  1309. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.js +42 -0
  1310. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.js.map +1 -0
  1311. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.d.ts +49 -0
  1312. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.d.ts.map +1 -0
  1313. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.js +35 -0
  1314. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.js.map +1 -0
  1315. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.d.ts +48 -0
  1316. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.d.ts.map +1 -0
  1317. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.js +49 -0
  1318. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.js.map +1 -0
  1319. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.d.ts +236 -0
  1320. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.d.ts.map +1 -0
  1321. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.js +318 -0
  1322. package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.js.map +1 -0
  1323. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts +270 -0
  1324. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts.map +1 -0
  1325. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.js +27 -0
  1326. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.js.map +1 -0
  1327. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.d.ts +63 -0
  1328. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.d.ts.map +1 -0
  1329. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.js +52 -0
  1330. package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.js.map +1 -0
  1331. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.d.ts +3 -0
  1332. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.d.ts.map +1 -0
  1333. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.js +3 -0
  1334. package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.js.map +1 -0
  1335. package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts +36 -15
  1336. package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts.map +1 -1
  1337. package/node_modules/@happier-dev/protocol/dist/sessionFork.js +42 -12
  1338. package/node_modules/@happier-dev/protocol/dist/sessionFork.js.map +1 -1
  1339. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.d.ts +25 -0
  1340. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.d.ts.map +1 -0
  1341. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.js +27 -0
  1342. package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.js.map +1 -0
  1343. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.d.ts +2 -0
  1344. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.d.ts.map +1 -0
  1345. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.js +2 -0
  1346. package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.js.map +1 -0
  1347. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.d.ts +304 -0
  1348. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.d.ts.map +1 -0
  1349. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.js +117 -0
  1350. package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.js.map +1 -0
  1351. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.d.ts +104 -0
  1352. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.d.ts.map +1 -0
  1353. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.js +72 -0
  1354. package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.js.map +1 -0
  1355. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.d.ts +30 -0
  1356. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.d.ts.map +1 -0
  1357. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.js +33 -0
  1358. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.js.map +1 -0
  1359. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.d.ts +44 -0
  1360. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.d.ts.map +1 -0
  1361. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.js +115 -0
  1362. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.js.map +1 -0
  1363. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.d.ts +7 -0
  1364. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.d.ts.map +1 -0
  1365. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.js +12 -0
  1366. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.js.map +1 -0
  1367. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.d.ts +8 -0
  1368. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.d.ts.map +1 -0
  1369. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.js +7 -0
  1370. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.js.map +1 -0
  1371. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.d.ts +17 -0
  1372. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.d.ts.map +1 -0
  1373. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.js +11 -0
  1374. package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.js.map +1 -0
  1375. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.d.ts +7 -0
  1376. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.d.ts.map +1 -0
  1377. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.js +6 -0
  1378. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.js.map +1 -0
  1379. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.d.ts +20 -14
  1380. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.d.ts.map +1 -1
  1381. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.js +24 -0
  1382. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.js.map +1 -1
  1383. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.d.ts +10 -0
  1384. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.d.ts.map +1 -0
  1385. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.js +4 -0
  1386. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.js.map +1 -0
  1387. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.d.ts +18 -0
  1388. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.d.ts.map +1 -0
  1389. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.js +51 -0
  1390. package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.js.map +1 -0
  1391. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.d.ts +81 -0
  1392. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.d.ts.map +1 -0
  1393. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.js +62 -0
  1394. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.js.map +1 -0
  1395. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts +1103 -22
  1396. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts.map +1 -1
  1397. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js +621 -17
  1398. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js.map +1 -1
  1399. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts +14 -3
  1400. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts.map +1 -1
  1401. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js +22 -3
  1402. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js.map +1 -1
  1403. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.d.ts +19 -0
  1404. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.d.ts.map +1 -0
  1405. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.js +56 -0
  1406. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.js.map +1 -0
  1407. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts +2 -2
  1408. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.d.ts +17 -0
  1409. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.d.ts.map +1 -0
  1410. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.js +60 -0
  1411. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.js.map +1 -0
  1412. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.d.ts +25 -0
  1413. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.d.ts.map +1 -0
  1414. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.js +21 -0
  1415. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.js.map +1 -0
  1416. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.d.ts +25 -0
  1417. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.d.ts.map +1 -0
  1418. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.js +37 -0
  1419. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.js.map +1 -0
  1420. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.d.ts +31 -5
  1421. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.d.ts.map +1 -1
  1422. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.js +64 -0
  1423. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.js.map +1 -1
  1424. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.d.ts +159 -0
  1425. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.d.ts.map +1 -0
  1426. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.js +75 -0
  1427. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.js.map +1 -0
  1428. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.d.ts +37 -0
  1429. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.d.ts.map +1 -0
  1430. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.js +48 -0
  1431. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.js.map +1 -0
  1432. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts +57 -14
  1433. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts.map +1 -1
  1434. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js +47 -4
  1435. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js.map +1 -1
  1436. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts +2 -2
  1437. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts.map +1 -1
  1438. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.d.ts +5 -0
  1439. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.d.ts.map +1 -0
  1440. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.js +16 -0
  1441. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.js.map +1 -0
  1442. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts +21 -0
  1443. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts.map +1 -0
  1444. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js +27 -0
  1445. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js.map +1 -0
  1446. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.d.ts +10 -0
  1447. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.d.ts.map +1 -0
  1448. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.js +29 -0
  1449. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.js.map +1 -0
  1450. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.d.ts +30 -0
  1451. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.d.ts.map +1 -0
  1452. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.js +33 -0
  1453. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.js.map +1 -0
  1454. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.d.ts +10 -0
  1455. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.d.ts.map +1 -0
  1456. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.js +10 -0
  1457. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.js.map +1 -0
  1458. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.d.ts +325 -0
  1459. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.d.ts.map +1 -0
  1460. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.js +184 -0
  1461. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.js.map +1 -0
  1462. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.d.ts +61 -0
  1463. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.d.ts.map +1 -0
  1464. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.js +29 -0
  1465. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.js.map +1 -0
  1466. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.d.ts +8 -0
  1467. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.d.ts.map +1 -0
  1468. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.js +12 -0
  1469. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.js.map +1 -0
  1470. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.d.ts +208 -0
  1471. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.d.ts.map +1 -0
  1472. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.js +46 -0
  1473. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.js.map +1 -0
  1474. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.d.ts +20 -0
  1475. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.d.ts.map +1 -0
  1476. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.js +21 -0
  1477. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.js.map +1 -0
  1478. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.d.ts +23 -0
  1479. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.d.ts.map +1 -0
  1480. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.js +25 -0
  1481. package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.js.map +1 -0
  1482. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.d.ts +352 -0
  1483. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.d.ts.map +1 -0
  1484. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.js +207 -0
  1485. package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.js.map +1 -0
  1486. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.d.ts +2 -0
  1487. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.d.ts.map +1 -0
  1488. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.js +2 -0
  1489. package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.js.map +1 -0
  1490. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.d.ts +11 -0
  1491. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.d.ts.map +1 -0
  1492. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.js +14 -0
  1493. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.js.map +1 -0
  1494. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.d.ts +4 -0
  1495. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.d.ts.map +1 -0
  1496. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.js +4 -0
  1497. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.js.map +1 -0
  1498. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.d.ts +49 -0
  1499. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.d.ts.map +1 -0
  1500. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.js +125 -0
  1501. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.js.map +1 -0
  1502. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.d.ts +113 -0
  1503. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.d.ts.map +1 -0
  1504. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.js +79 -0
  1505. package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.js.map +1 -0
  1506. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.d.ts +47 -0
  1507. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.d.ts.map +1 -0
  1508. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.js +44 -0
  1509. package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.js.map +1 -0
  1510. package/node_modules/@happier-dev/protocol/dist/sessionStop.d.ts +45 -0
  1511. package/node_modules/@happier-dev/protocol/dist/sessionStop.d.ts.map +1 -0
  1512. package/node_modules/@happier-dev/protocol/dist/sessionStop.js +27 -0
  1513. package/node_modules/@happier-dev/protocol/dist/sessionStop.js.map +1 -0
  1514. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.d.ts +36 -0
  1515. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.d.ts.map +1 -0
  1516. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.js +40 -0
  1517. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.js.map +1 -0
  1518. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.d.ts +303 -0
  1519. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.d.ts.map +1 -0
  1520. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.js +28 -0
  1521. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.js.map +1 -0
  1522. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.d.ts +12 -0
  1523. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.d.ts.map +1 -0
  1524. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.js +12 -0
  1525. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.js.map +1 -0
  1526. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.d.ts +9 -0
  1527. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.d.ts.map +1 -0
  1528. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.js +8 -0
  1529. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.js.map +1 -0
  1530. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.d.ts +69 -0
  1531. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.d.ts.map +1 -0
  1532. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.js +28 -0
  1533. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.js.map +1 -0
  1534. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.d.ts +28 -0
  1535. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.d.ts.map +1 -0
  1536. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.js +20 -0
  1537. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.js.map +1 -0
  1538. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.d.ts +150 -0
  1539. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.d.ts.map +1 -0
  1540. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.js +69 -0
  1541. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.js.map +1 -0
  1542. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.d.ts +10 -0
  1543. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.d.ts.map +1 -0
  1544. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.js +3 -0
  1545. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.js.map +1 -0
  1546. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.d.ts +10 -0
  1547. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.d.ts.map +1 -0
  1548. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.js +9 -0
  1549. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.js.map +1 -0
  1550. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.d.ts +8 -0
  1551. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.d.ts.map +1 -0
  1552. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.js +9 -0
  1553. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.js.map +1 -0
  1554. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.d.ts +114 -0
  1555. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.d.ts.map +1 -0
  1556. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.js +8 -0
  1557. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.js.map +1 -0
  1558. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.d.ts +174 -0
  1559. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.d.ts.map +1 -0
  1560. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.js +68 -0
  1561. package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.js.map +1 -0
  1562. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts +80 -3
  1563. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts.map +1 -1
  1564. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js +292 -2
  1565. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js.map +1 -1
  1566. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.d.ts +8 -0
  1567. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.d.ts.map +1 -0
  1568. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.js +8 -0
  1569. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.js.map +1 -0
  1570. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.d.ts +9 -0
  1571. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.d.ts.map +1 -0
  1572. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.js +16 -0
  1573. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.js.map +1 -0
  1574. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.d.ts +8 -0
  1575. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.d.ts.map +1 -0
  1576. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.js +25 -0
  1577. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.js.map +1 -0
  1578. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.d.ts +18 -0
  1579. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.d.ts.map +1 -0
  1580. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.js +87 -0
  1581. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.js.map +1 -0
  1582. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.d.ts +21 -0
  1583. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.d.ts.map +1 -0
  1584. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.js +91 -0
  1585. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.js.map +1 -0
  1586. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts +1600 -0
  1587. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts.map +1 -0
  1588. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js +396 -0
  1589. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js.map +1 -0
  1590. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.d.ts +165 -0
  1591. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.d.ts.map +1 -0
  1592. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.js +124 -0
  1593. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.js.map +1 -0
  1594. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.d.ts +33 -0
  1595. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.d.ts.map +1 -0
  1596. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.js +73 -0
  1597. package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.js.map +1 -0
  1598. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.d.ts +6 -0
  1599. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.d.ts.map +1 -0
  1600. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.js +6 -0
  1601. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.js.map +1 -0
  1602. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.d.ts +44 -0
  1603. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.d.ts.map +1 -0
  1604. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.js +123 -0
  1605. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.js.map +1 -0
  1606. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.d.ts +101 -0
  1607. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.d.ts.map +1 -0
  1608. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.js +49 -0
  1609. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.js.map +1 -0
  1610. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.d.ts +17 -0
  1611. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.d.ts.map +1 -0
  1612. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.js +29 -0
  1613. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.js.map +1 -0
  1614. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.d.ts +20 -0
  1615. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.d.ts.map +1 -0
  1616. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.js +101 -0
  1617. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.js.map +1 -0
  1618. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.d.ts +159 -0
  1619. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.d.ts.map +1 -0
  1620. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.js +125 -0
  1621. package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.js.map +1 -0
  1622. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.d.ts +280 -0
  1623. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.d.ts.map +1 -0
  1624. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.js +125 -0
  1625. package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.js.map +1 -0
  1626. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.d.ts +336 -0
  1627. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.d.ts.map +1 -0
  1628. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.js +138 -0
  1629. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.js.map +1 -0
  1630. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.d.ts +224 -0
  1631. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.d.ts.map +1 -0
  1632. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.js +96 -0
  1633. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.js.map +1 -0
  1634. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.d.ts +188 -0
  1635. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.d.ts.map +1 -0
  1636. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.js +24 -0
  1637. package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.js.map +1 -0
  1638. package/node_modules/@happier-dev/protocol/dist/social/friends.d.ts +16 -16
  1639. package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts +36 -8
  1640. package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts.map +1 -1
  1641. package/node_modules/@happier-dev/protocol/dist/socketRpc.js +13 -0
  1642. package/node_modules/@happier-dev/protocol/dist/socketRpc.js.map +1 -1
  1643. package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts +92 -14
  1644. package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts.map +1 -1
  1645. package/node_modules/@happier-dev/protocol/dist/spawnSession.js +234 -0
  1646. package/node_modules/@happier-dev/protocol/dist/spawnSession.js.map +1 -1
  1647. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.d.ts +66 -0
  1648. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.d.ts.map +1 -0
  1649. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.js +131 -0
  1650. package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.js.map +1 -0
  1651. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.d.ts +20 -0
  1652. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.d.ts.map +1 -0
  1653. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.js +21 -0
  1654. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.js.map +1 -0
  1655. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.d.ts +8 -8
  1656. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.d.ts +7 -7
  1657. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.d.ts +6 -6
  1658. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.d.ts +5 -5
  1659. package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.d.ts +1 -1
  1660. package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.js.map +1 -1
  1661. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts +2 -2
  1662. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts.map +1 -1
  1663. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.d.ts +7 -0
  1664. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.d.ts.map +1 -0
  1665. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.js +32 -0
  1666. package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.js.map +1 -0
  1667. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.d.ts.map +1 -1
  1668. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js +95 -39
  1669. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js.map +1 -1
  1670. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.d.ts +99 -0
  1671. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.d.ts.map +1 -0
  1672. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.js +246 -0
  1673. package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.js.map +1 -0
  1674. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts +11 -11
  1675. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts.map +1 -1
  1676. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts +2 -1
  1677. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts.map +1 -1
  1678. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js +2 -1
  1679. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js.map +1 -1
  1680. package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.d.ts +5 -5
  1681. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts +45 -39
  1682. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts.map +1 -1
  1683. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js +9 -0
  1684. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js.map +1 -1
  1685. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.d.ts +9 -0
  1686. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.d.ts.map +1 -0
  1687. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.js +343 -0
  1688. package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.js.map +1 -0
  1689. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts +284 -100
  1690. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts.map +1 -1
  1691. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js +62 -0
  1692. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js.map +1 -1
  1693. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts +1 -1
  1694. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts.map +1 -1
  1695. package/node_modules/@happier-dev/protocol/dist/updates.d.ts +848 -24
  1696. package/node_modules/@happier-dev/protocol/dist/updates.d.ts.map +1 -1
  1697. package/node_modules/@happier-dev/protocol/dist/updates.js +150 -1
  1698. package/node_modules/@happier-dev/protocol/dist/updates.js.map +1 -1
  1699. package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts +2 -2
  1700. package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts.map +1 -1
  1701. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.d.ts +310 -0
  1702. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.d.ts.map +1 -0
  1703. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.js +108 -0
  1704. package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.js.map +1 -0
  1705. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.d.ts +39 -0
  1706. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.d.ts.map +1 -0
  1707. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.js +33 -0
  1708. package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.js.map +1 -0
  1709. package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.d.ts +1 -1
  1710. package/node_modules/@happier-dev/protocol/package.json +8 -0
  1711. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts +38 -0
  1712. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts.map +1 -0
  1713. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js +1123 -0
  1714. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js.map +1 -0
  1715. package/node_modules/@happier-dev/release-runtime/dist/assets.d.ts.map +1 -1
  1716. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts +2 -0
  1717. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts.map +1 -1
  1718. package/node_modules/@happier-dev/release-runtime/dist/github.js +17 -15
  1719. package/node_modules/@happier-dev/release-runtime/dist/github.js.map +1 -1
  1720. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts +1 -1
  1721. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts.map +1 -1
  1722. package/node_modules/@happier-dev/release-runtime/dist/index.js +1 -1
  1723. package/node_modules/@happier-dev/release-runtime/dist/index.js.map +1 -1
  1724. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts +3 -2
  1725. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts.map +1 -1
  1726. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js +5 -0
  1727. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js.map +1 -1
  1728. package/node_modules/@happier-dev/release-runtime/node_modules/tar/LICENSE.md +55 -0
  1729. package/node_modules/@happier-dev/release-runtime/node_modules/tar/README.md +1233 -0
  1730. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts +3 -0
  1731. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
  1732. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js +82 -0
  1733. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js.map +1 -0
  1734. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
  1735. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
  1736. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  1737. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
  1738. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
  1739. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
  1740. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js +88 -0
  1741. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js.map +1 -0
  1742. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
  1743. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
  1744. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  1745. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
  1746. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts +53 -0
  1747. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
  1748. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js +348 -0
  1749. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js.map +1 -0
  1750. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts +20 -0
  1751. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
  1752. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js +64 -0
  1753. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js.map +1 -0
  1754. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js +4 -0
  1755. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
  1756. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
  1757. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
  1758. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  1759. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
  1760. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts +7 -0
  1761. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
  1762. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js +153 -0
  1763. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js.map +1 -0
  1764. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
  1765. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
  1766. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js +52 -0
  1767. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
  1768. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
  1769. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
  1770. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  1771. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
  1772. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
  1773. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
  1774. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  1775. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
  1776. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
  1777. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
  1778. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  1779. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
  1780. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
  1781. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
  1782. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  1783. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
  1784. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts +604 -0
  1785. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
  1786. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js +66 -0
  1787. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js.map +1 -0
  1788. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
  1789. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
  1790. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js +544 -0
  1791. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js.map +1 -0
  1792. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/package.json +3 -0
  1793. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts +92 -0
  1794. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
  1795. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js +655 -0
  1796. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js.map +1 -0
  1797. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
  1798. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
  1799. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  1800. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
  1801. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
  1802. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
  1803. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js +182 -0
  1804. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js.map +1 -0
  1805. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
  1806. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
  1807. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  1808. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
  1809. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
  1810. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
  1811. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  1812. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
  1813. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
  1814. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
  1815. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js +227 -0
  1816. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js.map +1 -0
  1817. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
  1818. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
  1819. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  1820. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
  1821. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
  1822. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
  1823. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  1824. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
  1825. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
  1826. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
  1827. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  1828. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
  1829. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts +16 -0
  1830. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
  1831. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js +70 -0
  1832. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js.map +1 -0
  1833. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
  1834. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
  1835. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js +932 -0
  1836. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
  1837. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts +2 -0
  1838. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
  1839. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js +33 -0
  1840. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js.map +1 -0
  1841. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
  1842. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
  1843. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  1844. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
  1845. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
  1846. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
  1847. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js +14 -0
  1848. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
  1849. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
  1850. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
  1851. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  1852. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
  1853. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts +3 -0
  1854. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts.map +1 -0
  1855. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js +76 -0
  1856. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js.map +1 -0
  1857. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
  1858. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
  1859. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js +14 -0
  1860. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
  1861. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts +3 -0
  1862. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
  1863. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js +49 -0
  1864. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js.map +1 -0
  1865. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
  1866. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
  1867. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  1868. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
  1869. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts +53 -0
  1870. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts.map +1 -0
  1871. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js +311 -0
  1872. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js.map +1 -0
  1873. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts +20 -0
  1874. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts.map +1 -0
  1875. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js +20 -0
  1876. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js.map +1 -0
  1877. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js +4 -0
  1878. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js.map +7 -0
  1879. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
  1880. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
  1881. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js +94 -0
  1882. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
  1883. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts +7 -0
  1884. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts.map +1 -0
  1885. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js +113 -0
  1886. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js.map +1 -0
  1887. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts +49 -0
  1888. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
  1889. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js +48 -0
  1890. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js.map +1 -0
  1891. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
  1892. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
  1893. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js +179 -0
  1894. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js.map +1 -0
  1895. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
  1896. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
  1897. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js +25 -0
  1898. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
  1899. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
  1900. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
  1901. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  1902. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
  1903. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
  1904. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
  1905. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  1906. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
  1907. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts +604 -0
  1908. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts.map +1 -0
  1909. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js +54 -0
  1910. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js.map +1 -0
  1911. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts +105 -0
  1912. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
  1913. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js +502 -0
  1914. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js.map +1 -0
  1915. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/package.json +3 -0
  1916. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts +92 -0
  1917. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
  1918. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js +651 -0
  1919. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js.map +1 -0
  1920. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
  1921. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
  1922. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js +166 -0
  1923. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
  1924. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts +26 -0
  1925. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
  1926. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js +178 -0
  1927. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js.map +1 -0
  1928. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
  1929. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
  1930. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js +3 -0
  1931. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js.map +1 -0
  1932. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
  1933. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
  1934. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js +132 -0
  1935. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js.map +1 -0
  1936. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts +2 -0
  1937. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
  1938. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js +221 -0
  1939. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js.map +1 -0
  1940. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
  1941. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
  1942. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  1943. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
  1944. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
  1945. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
  1946. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  1947. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
  1948. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
  1949. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
  1950. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js +15 -0
  1951. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
  1952. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts +16 -0
  1953. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts.map +1 -0
  1954. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js +65 -0
  1955. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js.map +1 -0
  1956. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts +101 -0
  1957. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
  1958. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js +891 -0
  1959. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js.map +1 -0
  1960. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts +2 -0
  1961. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts.map +1 -0
  1962. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js +30 -0
  1963. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js.map +1 -0
  1964. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
  1965. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
  1966. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js +27 -0
  1967. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js.map +1 -0
  1968. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts +3 -0
  1969. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
  1970. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js +9 -0
  1971. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js.map +1 -0
  1972. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
  1973. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
  1974. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js +656 -0
  1975. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js.map +1 -0
  1976. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  1977. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/README.md +71 -0
  1978. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
  1979. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
  1980. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  1981. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
  1982. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  1983. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
  1984. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
  1985. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  1986. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
  1987. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  1988. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/LICENSE +15 -0
  1989. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/README.md +825 -0
  1990. 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
  1991. 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
  1992. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js +1028 -0
  1993. 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
  1994. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/package.json +3 -0
  1995. 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
  1996. 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
  1997. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js +1018 -0
  1998. 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
  1999. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/package.json +3 -0
  2000. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/package.json +82 -0
  2001. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/package.json +72 -0
  2002. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/LICENSE.md +63 -0
  2003. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/README.md +3 -0
  2004. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
  2005. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
  2006. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js +93 -0
  2007. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js.map +1 -0
  2008. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/package.json +3 -0
  2009. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts +3 -0
  2010. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
  2011. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js +85 -0
  2012. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js.map +1 -0
  2013. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/package.json +3 -0
  2014. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/package.json +69 -0
  2015. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/LICENSE +15 -0
  2016. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/README.md +825 -0
  2017. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  2018. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  2019. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js +1028 -0
  2020. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  2021. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/package.json +3 -0
  2022. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts +549 -0
  2023. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  2024. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js +1018 -0
  2025. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js.map +1 -0
  2026. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/package.json +3 -0
  2027. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/package.json +82 -0
  2028. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/LICENSE +26 -0
  2029. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/README.md +64 -0
  2030. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
  2031. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
  2032. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  2033. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
  2034. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
  2035. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
  2036. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js +416 -0
  2037. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
  2038. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/package.json +3 -0
  2039. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
  2040. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
  2041. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js +117 -0
  2042. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js.map +1 -0
  2043. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts +99 -0
  2044. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
  2045. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js +363 -0
  2046. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js.map +1 -0
  2047. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/package.json +3 -0
  2048. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
  2049. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/README.md +825 -0
  2050. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  2051. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  2052. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js +1028 -0
  2053. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  2054. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/package.json +3 -0
  2055. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts +549 -0
  2056. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  2057. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js +1018 -0
  2058. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js.map +1 -0
  2059. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/package.json +3 -0
  2060. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/package.json +82 -0
  2061. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/package.json +80 -0
  2062. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/LICENSE.md +63 -0
  2063. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/README.md +205 -0
  2064. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
  2065. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
  2066. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
  2067. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js.map +1 -0
  2068. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
  2069. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts +39 -0
  2070. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
  2071. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
  2072. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js.map +1 -0
  2073. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
  2074. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/package.json +68 -0
  2075. package/node_modules/@happier-dev/release-runtime/node_modules/tar/package.json +298 -0
  2076. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/README.md +72 -0
  2077. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.js +273 -0
  2078. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.min.js +6 -0
  2079. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/package.json +55 -0
  2080. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/types.d.ts +3 -0
  2081. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/LICENSE +21 -0
  2082. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/README.md +658 -0
  2083. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/index.js +796 -0
  2084. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/LICENSE +19 -0
  2085. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/README.md +47 -0
  2086. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/index.js +111 -0
  2087. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/package.json +39 -0
  2088. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.npmignore +2 -0
  2089. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.travis.yml +7 -0
  2090. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/CHANGELOG.md +49 -0
  2091. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/LICENSE +21 -0
  2092. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/README.md +199 -0
  2093. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/index.js +296 -0
  2094. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/LICENSE +23 -0
  2095. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/README.md +41 -0
  2096. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/index.js +55 -0
  2097. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/package.json +18 -0
  2098. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/test.js +137 -0
  2099. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/package.json +36 -0
  2100. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/test/test.js +350 -0
  2101. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/package.json +40 -0
  2102. package/node_modules/@happier-dev/release-runtime/package.json +8 -3
  2103. package/node_modules/@happier-dev/release-runtime/releaseRings.cjs +204 -0
  2104. package/package.json +5 -3
  2105. package/scripts/auth.mjs +219 -230
  2106. package/scripts/auth_copy_from_runCapture.integration.test.mjs +39 -20
  2107. package/scripts/auth_login_force_cleans_server_scoped_credentials.integration.test.mjs +41 -8
  2108. package/scripts/auth_login_guided_server_no_expo.test.mjs +543 -25
  2109. package/scripts/auth_login_print_includes_configure_links.test.mjs +23 -4
  2110. package/scripts/auth_login_respects_pinned_stack_port.test.mjs +68 -17
  2111. package/scripts/build/build_server_artifact.mjs +1 -0
  2112. package/scripts/build/collect_build_source_metadata.mjs +6 -5
  2113. package/scripts/build/collect_build_source_metadata.test.mjs +21 -0
  2114. package/scripts/build/runtime_build_lock.mjs +3 -1
  2115. package/scripts/build/runtime_build_lock.test.mjs +18 -0
  2116. package/scripts/build.mjs +8 -0
  2117. package/scripts/bundleWorkspaceDeps.mjs +427 -16
  2118. package/scripts/bundleWorkspaceDeps.test.mjs +419 -11
  2119. package/scripts/claude_hooks.test.mjs +50 -0
  2120. package/scripts/daemon.getDaemonEnv.test.mjs +106 -2
  2121. package/scripts/daemon.mjs +1195 -292
  2122. package/scripts/daemon.status_scope.test.mjs +2 -1
  2123. package/scripts/daemon_dist_guard.test.mjs +2800 -97
  2124. package/scripts/daemon_invalid_auth_reseed_stack_name.integration.test.mjs +64 -2
  2125. package/scripts/daemon_server_scope_commands.test.mjs +158 -49
  2126. package/scripts/daemon_server_scoped_state.test.mjs +59 -12
  2127. package/scripts/daemon_start_verification.integration.test.mjs +856 -65
  2128. package/scripts/daemon_stop_expected_pid.test.mjs +336 -12
  2129. package/scripts/dev.mjs +590 -93
  2130. package/scripts/dev_cli_build_ownership.test.mjs +193 -0
  2131. package/scripts/dev_external_server_flags.test.mjs +165 -7
  2132. package/scripts/dev_preserve_daemon_shutdown.integration.test.mjs +238 -0
  2133. package/scripts/dev_reload_composition.integration.test.mjs +392 -0
  2134. package/scripts/dev_target_placement.test.mjs +97 -0
  2135. package/scripts/dev_targets.mjs +159 -0
  2136. package/scripts/dev_targets_cmd.test.mjs +81 -0
  2137. package/scripts/direct_start_cleanup_dry_run.test.mjs +66 -0
  2138. package/scripts/doctor_runtime_snapshot.test.mjs +3 -2
  2139. package/scripts/eas.mjs +3 -2
  2140. package/scripts/eas_platform_parsing.test.mjs +9 -0
  2141. package/scripts/ghops.test.mjs +483 -6
  2142. package/scripts/happier.mjs +1 -429
  2143. package/scripts/happier_defaults_from_settings.test.mjs +56 -83
  2144. package/scripts/happier_main.mjs +433 -0
  2145. package/scripts/happier_runtime_snapshot.test.mjs +186 -14
  2146. package/scripts/happier_server_url_scope.test.mjs +3 -1
  2147. package/scripts/happier_tsx_fallback.test.mjs +5 -4
  2148. package/scripts/happier_wrapper_bootstrap.test.mjs +208 -0
  2149. package/scripts/hstack_wrapper_bundled_workspace_sync.test.mjs +351 -0
  2150. package/scripts/init_shim_invoked_cwd.test.mjs +10 -2
  2151. package/scripts/lifecycle_authority_inventory.test.mjs +40 -0
  2152. package/scripts/lint.mjs +3 -2
  2153. package/scripts/localBundledWorkspacePreflight.test.mjs +330 -0
  2154. package/scripts/migrate.mjs +30 -5
  2155. package/scripts/migrate_effective_db_provider.test.mjs +68 -0
  2156. package/scripts/mobile.mjs +59 -13
  2157. package/scripts/mobile_dev_client.mjs +12 -7
  2158. package/scripts/mobile_dev_client_android_falls_back_to_pipeline_in_test_stub.test.mjs +30 -1
  2159. package/scripts/mobile_dev_client_android_reuse_existing_apk_in_test_stub.test.mjs +62 -1
  2160. package/scripts/mobile_dev_client_android_reuse_falls_back_to_cached_apk_in_test_stub.test.mjs +1 -1
  2161. package/scripts/mobile_dev_client_help_smoke.test.mjs +2 -0
  2162. package/scripts/mobile_memory_profiling_prebuild_patches_podfile_autolinking.test.mjs +94 -0
  2163. package/scripts/mobile_profiling_runtime_uses_simulator_selection.test.mjs +116 -0
  2164. package/scripts/mobile_run_android_passes_port.test.mjs +120 -2
  2165. package/scripts/orchestrated_stack_auth_flow.test.mjs +40 -4
  2166. package/scripts/orchestrated_stack_auth_flow_webapp_url.test.mjs +76 -4
  2167. package/scripts/pack.mjs +53 -8
  2168. package/scripts/pack.test.mjs +113 -2
  2169. package/scripts/pglite_lock.integration.test.mjs +46 -2
  2170. package/scripts/profile_mobile_scenario.mjs +235 -0
  2171. package/scripts/profile_processes.mjs +138 -0
  2172. package/scripts/profiling/ios_xctrace_memory_diagnostics.mjs +91 -0
  2173. package/scripts/profiling/ios_xctrace_memory_diagnostics.test.mjs +72 -0
  2174. package/scripts/profiling/mobile_profile_scenarios.mjs +830 -0
  2175. package/scripts/profiling/mobile_profile_scenarios.test.mjs +379 -0
  2176. package/scripts/profiling/process_profiler.mjs +424 -0
  2177. package/scripts/profiling/process_profiler.test.mjs +214 -0
  2178. package/scripts/provider_projection_owners.test.mjs +29 -0
  2179. package/scripts/provision/linux-ubuntu-provision.sh +38 -0
  2180. package/scripts/provision/linux-ubuntu-provision.test.mjs +21 -1
  2181. package/scripts/release_binary_smoke.integration.test.mjs +24 -12
  2182. package/scripts/remote_cmd.mjs +56 -13
  2183. package/scripts/remote_cmd.test.mjs +84 -1
  2184. package/scripts/repo_local.mjs +82 -130
  2185. package/scripts/repo_local_effective_db_provider.test.mjs +161 -0
  2186. package/scripts/repo_local_wrapper.test.mjs +75 -1
  2187. package/scripts/review_pr.mjs +8 -17
  2188. package/scripts/review_pr.warm_base_deps.test.mjs +8 -1
  2189. package/scripts/review_pr.workspace_cache.test.mjs +16 -0
  2190. package/scripts/root_package_repo_local_scripts.test.mjs +1 -0
  2191. package/scripts/run.mjs +281 -80
  2192. package/scripts/run_effective_db_provider.test.mjs +79 -0
  2193. package/scripts/run_script_with_stack_env.restart_port_reuse.test.mjs +80 -0
  2194. package/scripts/run_source_server_workspace_deps.test.mjs +18 -0
  2195. package/scripts/run_startup_topology_side_effects.test.mjs +196 -0
  2196. package/scripts/runtime/launch/inspectActiveRuntimeSnapshot.mjs +40 -13
  2197. package/scripts/runtime/launch/resolveActiveRuntimeSnapshot.test.mjs +119 -0
  2198. package/scripts/runtime/launch/resolveCliRuntimeLaunchSpec.mjs +51 -0
  2199. package/scripts/runtime/launch/resolveLaunchSpecs.test.mjs +153 -9
  2200. package/scripts/runtime/launch/resolveServerRuntimeLaunchSpec.mjs +61 -4
  2201. package/scripts/runtime/launch/resolveStackRuntimeLaunchContext.mjs +2 -2
  2202. package/scripts/runtime/launch/runServerRuntimeMigration.mjs +116 -0
  2203. package/scripts/runtime/launch/runServerRuntimeMigration.test.mjs +211 -0
  2204. package/scripts/runtime/launch/runtimeProvenanceConsumerInventory.test.mjs +36 -0
  2205. package/scripts/runtime/shared/runtime_mode.mjs +10 -1
  2206. package/scripts/runtime/shared/runtime_mode.test.mjs +22 -0
  2207. package/scripts/self_host/install_companion_cli.mjs +3 -17
  2208. package/scripts/self_host_launchd.real.integration.test.mjs +5 -3
  2209. package/scripts/self_host_runtime.mjs +472 -488
  2210. package/scripts/self_host_runtime.test.mjs +661 -35
  2211. package/scripts/self_host_schtasks.real.integration.test.mjs +2 -1
  2212. package/scripts/self_host_service_e2e_harness.mjs +7 -1
  2213. package/scripts/self_host_systemd.real.integration.test.mjs +31 -5
  2214. package/scripts/self_host_systemd_harness.test.mjs +33 -0
  2215. package/scripts/server_flavor.mjs +39 -17
  2216. package/scripts/server_flavor_provider.test.mjs +126 -0
  2217. package/scripts/service.mjs +76 -85
  2218. package/scripts/service.post_start_diagnostics_scope.test.mjs +97 -0
  2219. package/scripts/service_cleanup_ownership.test.mjs +41 -0
  2220. package/scripts/setup.mjs +26 -1
  2221. package/scripts/setup_dev_child_env.test.mjs +23 -2
  2222. package/scripts/sqlite_snapshot.mjs +86 -0
  2223. package/scripts/sqlite_snapshot.test.mjs +1032 -0
  2224. package/scripts/stack/help_text.mjs +5 -3
  2225. package/scripts/stack/run_script_with_stack_env.mjs +396 -189
  2226. package/scripts/stack/run_script_with_stack_env.test.mjs +368 -0
  2227. package/scripts/stack/stack_daemon_command.mjs +74 -48
  2228. package/scripts/stack/stack_daemon_runtime_provenance.test.mjs +40 -0
  2229. package/scripts/stack/stack_environment.mjs +57 -19
  2230. package/scripts/stack/stack_environment.sanitization.test.mjs +64 -0
  2231. package/scripts/stack/stack_happier_passthrough_command.mjs +21 -1
  2232. package/scripts/stack/stack_info_snapshot.mjs +317 -68
  2233. package/scripts/stack/stack_install_command.mjs +295 -0
  2234. package/scripts/stack/stack_mobile_install_command.mjs +19 -5
  2235. package/scripts/stack/stack_mobile_install_command.test.mjs +44 -0
  2236. package/scripts/stack/stack_stop_command.mjs +12 -4
  2237. package/scripts/stack/stack_stop_command.test.mjs +16 -0
  2238. package/scripts/stack.mjs +244 -94
  2239. package/scripts/stack_archive_cmd.integration.test.mjs +29 -1
  2240. package/scripts/stack_audit_fix_light_env.test.mjs +10 -7
  2241. package/scripts/stack_audit_mysql_provider.test.mjs +194 -0
  2242. package/scripts/stack_background_pinned_stack_json.test.mjs +59 -1
  2243. package/scripts/stack_copy_auth_server_scoped.test.mjs +30 -15
  2244. package/scripts/stack_daemon_cmd.integration.test.mjs +112 -5
  2245. package/scripts/stack_guided_login_inner_invocation.test.mjs +17 -7
  2246. package/scripts/stack_happy_cmd.integration.test.mjs +70 -15
  2247. package/scripts/stack_info_snapshot_running_status.test.mjs +789 -25
  2248. package/scripts/stack_install_command.test.mjs +125 -0
  2249. package/scripts/stack_new_name_normalize_cmd.test.mjs +31 -0
  2250. package/scripts/stack_new_port_policy.test.mjs +128 -0
  2251. package/scripts/stack_owner_death_watchdog.integration.test.mjs +227 -4
  2252. package/scripts/stack_package_scripts.test.mjs +3 -1
  2253. package/scripts/stack_runtime_start.integration.test.mjs +435 -12
  2254. package/scripts/stack_runtime_start_listener_proof.integration.test.mjs +119 -0
  2255. package/scripts/stack_server_flavors_defaults.test.mjs +126 -0
  2256. package/scripts/stack_stop_sweeps_legacy_infra_without_kind.integration.test.mjs +2 -0
  2257. package/scripts/stackless_startup_topology.test.mjs +111 -0
  2258. package/scripts/start_proxy_runtime_state.test.mjs +686 -0
  2259. package/scripts/start_runtime_mode_json.test.mjs +6 -3
  2260. package/scripts/stopStackWithEnv_daemonControlToken.integration.test.mjs +123 -6
  2261. package/scripts/stopStackWithEnv_daemonPidSet.integration.test.mjs +1008 -0
  2262. package/scripts/stopStackWithEnv_home_relative_env_file.integration.test.mjs +94 -0
  2263. package/scripts/stopStackWithEnv_kills_ephemeral_runtime_pids_without_env_markers.integration.test.mjs +346 -8
  2264. package/scripts/stopStackWithEnv_sweeps_repo_local_stack_by_stackName_when_runtime_missing.integration.test.mjs +280 -15
  2265. package/scripts/tauri_dev.mjs +46 -5
  2266. package/scripts/tauri_dev.test.mjs +111 -30
  2267. package/scripts/test_ci.mjs +14 -1
  2268. package/scripts/test_cmd.mjs +4 -3
  2269. package/scripts/test_integration.mjs +13 -2
  2270. package/scripts/testkit/core/env_scope.mjs +5 -1
  2271. package/scripts/testkit/core/expo_command_shims.mjs +29 -0
  2272. package/scripts/testkit/core/minimal_monorepo_layout.mjs +2 -0
  2273. package/scripts/testkit/core/owner_death_watchdog_fixture.mjs +36 -0
  2274. package/scripts/testkit/core/owner_death_watchdog_fixture.test.mjs +43 -0
  2275. package/scripts/testkit/core/runtime_snapshot_layout.mjs +11 -0
  2276. package/scripts/testkit/core/spawn_daemon_like_process.mjs +193 -0
  2277. package/scripts/testkit/core/spawn_daemon_like_process.test.mjs +85 -0
  2278. package/scripts/testkit/core/spawn_test_process.mjs +30 -0
  2279. package/scripts/testkit/core/spawn_test_process.test.mjs +38 -1
  2280. package/scripts/testkit/core/stub_happier_cli_files.mjs +13 -0
  2281. package/scripts/testkit/core/workspace_package_build_owner.mjs +29 -0
  2282. package/scripts/testkit/runtime_snapshot_start_testkit.mjs +128 -31
  2283. package/scripts/testkit/runtime_snapshot_testkit.mjs +3 -0
  2284. package/scripts/testkit/stack_happier_cli_command_testkit.mjs +4 -0
  2285. package/scripts/tools.mjs +20 -1
  2286. package/scripts/tools_profile_processes_help.test.mjs +131 -0
  2287. package/scripts/tui.mjs +245 -280
  2288. package/scripts/tui_restart_delegation.test.mjs +257 -0
  2289. package/scripts/tui_stopStackForTuiExit_no_autosweep.integration.test.mjs +57 -1
  2290. package/scripts/typecheck.mjs +3 -2
  2291. package/scripts/ui_gateway.mjs +2 -2
  2292. package/scripts/ui_gateway.test.mjs +119 -0
  2293. package/scripts/utils/auth/clearStackForceLoginCredentialPaths.mjs +11 -1
  2294. package/scripts/utils/auth/credentials_paths.mjs +110 -36
  2295. package/scripts/utils/auth/credentials_paths.test.mjs +283 -26
  2296. package/scripts/utils/auth/daemon_gate.test.mjs +3 -2
  2297. package/scripts/utils/auth/ensure_active_access_key_valid.mjs +31 -8
  2298. package/scripts/utils/auth/ensure_active_access_key_valid.test.mjs +115 -1
  2299. package/scripts/utils/auth/orchestrated_stack_auth_flow.mjs +34 -3
  2300. package/scripts/utils/auth/stable_scope_id.mjs +11 -0
  2301. package/scripts/utils/auth/stable_scope_id.test.mjs +16 -0
  2302. package/scripts/utils/auth/stack_guided_login.mjs +32 -15
  2303. package/scripts/utils/cli/args.mjs +33 -7
  2304. package/scripts/utils/cli/args.test.mjs +51 -0
  2305. package/scripts/utils/cli/cli.mjs +3 -4
  2306. package/scripts/utils/cli/cliDistIntegrity.mjs +130 -53
  2307. package/scripts/utils/cli/cliDistIntegrity.test.mjs +157 -0
  2308. package/scripts/utils/cli/cli_registry.mjs +107 -11
  2309. package/scripts/utils/cli/prereqs.test.mjs +2 -2
  2310. package/scripts/utils/dev/daemon.mjs +395 -151
  2311. package/scripts/utils/dev/daemonLifecycleReconciler.mjs +98 -0
  2312. package/scripts/utils/dev/daemonLifecycleReconciler.test.mjs +187 -0
  2313. package/scripts/utils/dev/daemon_watch_resilience.test.mjs +817 -166
  2314. package/scripts/utils/dev/devProxy.mjs +310 -0
  2315. package/scripts/utils/dev/devProxy.test.mjs +406 -0
  2316. package/scripts/utils/dev/devProxyLifecycle.mjs +27 -0
  2317. package/scripts/utils/dev/devProxyLifecycle.test.mjs +32 -0
  2318. package/scripts/utils/dev/devProxyRuntime.mjs +96 -0
  2319. package/scripts/utils/dev/devReloadComposition.mjs +50 -0
  2320. package/scripts/utils/dev/devReloadCoordinator.mjs +557 -0
  2321. package/scripts/utils/dev/devReloadCoordinator.test.mjs +1685 -0
  2322. package/scripts/utils/dev/devReloadTargets.mjs +11 -0
  2323. package/scripts/utils/dev/devRuntimeInputPolicy.mjs +31 -0
  2324. package/scripts/utils/dev/devStartupTopology.mjs +131 -0
  2325. package/scripts/utils/dev/devStartupTopology.test.mjs +181 -0
  2326. package/scripts/utils/dev/expo_dev.buildEnv.test.mjs +35 -0
  2327. package/scripts/utils/dev/expo_dev.ensure_workspace_built.test.mjs +169 -3
  2328. package/scripts/utils/dev/expo_dev.mjs +758 -259
  2329. package/scripts/utils/dev/expo_dev.tailscale.test.mjs +415 -0
  2330. package/scripts/utils/dev/expo_dev.test.mjs +72 -1
  2331. package/scripts/utils/dev/expo_dev_crash_supervision.test.mjs +341 -0
  2332. package/scripts/utils/dev/expo_dev_restart_port_reservation.test.mjs +521 -64
  2333. package/scripts/utils/dev/expo_dev_runtime_metadata.test.mjs +142 -4
  2334. package/scripts/utils/dev/expo_dev_supervision.mjs +116 -0
  2335. package/scripts/utils/dev/expo_dev_tailscale.mjs +153 -0
  2336. package/scripts/utils/dev/expo_dev_verbose_logs.test.mjs +24 -3
  2337. package/scripts/utils/dev/reloadPollInterval.mjs +18 -0
  2338. package/scripts/utils/dev/resolveDevServerConnection.mjs +5 -2
  2339. package/scripts/utils/dev/resolveDevServerConnection.test.mjs +20 -3
  2340. package/scripts/utils/dev/server.mjs +2251 -81
  2341. package/scripts/utils/dev/server_watch.exclusive.test.mjs +1986 -0
  2342. package/scripts/utils/dev/server_watch.test.mjs +1254 -0
  2343. package/scripts/utils/dev/tauri_dev.mjs +2 -1
  2344. package/scripts/utils/dev/tauri_dev.test.mjs +23 -18
  2345. package/scripts/utils/dev/watchSignature.mjs +95 -0
  2346. package/scripts/utils/dev_targets/config.mjs +266 -0
  2347. package/scripts/utils/dev_targets/config.test.mjs +224 -0
  2348. package/scripts/utils/dev_targets/doctor.mjs +61 -0
  2349. package/scripts/utils/dev_targets/doctor.test.mjs +67 -0
  2350. package/scripts/utils/dev_targets/mutagen_project.mjs +128 -0
  2351. package/scripts/utils/dev_targets/mutagen_project.test.mjs +122 -0
  2352. package/scripts/utils/dev_targets/remote_commands.mjs +481 -0
  2353. package/scripts/utils/dev_targets/remote_commands.test.mjs +392 -0
  2354. package/scripts/utils/dev_targets/remote_dependency_bootstrap.mjs +103 -0
  2355. package/scripts/utils/dev_targets/remote_dependency_bootstrap.test.mjs +38 -0
  2356. package/scripts/utils/dev_targets/service_placement.mjs +45 -0
  2357. package/scripts/utils/dev_targets/service_placement.test.mjs +61 -0
  2358. package/scripts/utils/dev_targets/supervisor.mjs +864 -0
  2359. package/scripts/utils/dev_targets/supervisor.test.mjs +1387 -0
  2360. package/scripts/utils/env/env_file.mjs +88 -16
  2361. package/scripts/utils/env/env_file.test.mjs +46 -1
  2362. package/scripts/utils/env/env_local.mjs +6 -6
  2363. package/scripts/utils/env/scrub_env.mjs +2 -0
  2364. package/scripts/utils/env/scrub_env.test.mjs +4 -0
  2365. package/scripts/utils/execution_host_adapter.mjs +87 -0
  2366. package/scripts/utils/execution_host_adapter.test.mjs +69 -0
  2367. package/scripts/utils/expo/command.mjs +6 -0
  2368. package/scripts/utils/expo/command_export_max_workers.test.mjs +2 -0
  2369. package/scripts/utils/expo/command_heap_limit_env.test.mjs +87 -25
  2370. package/scripts/utils/expo/command_workspace_deps_built.test.mjs +75 -29
  2371. package/scripts/utils/expo/expo.mjs +340 -14
  2372. package/scripts/utils/expo/expo_state_running.test.mjs +104 -2
  2373. package/scripts/utils/expo/expo_wait_for_metro.test.mjs +187 -0
  2374. package/scripts/utils/expo/metro_ports.mjs +160 -1
  2375. package/scripts/utils/expo/metro_ports.test.mjs +198 -1
  2376. package/scripts/utils/fs/atomic_dir_swap.mjs +44 -31
  2377. package/scripts/utils/fs/atomic_dir_swap.test.mjs +69 -0
  2378. package/scripts/utils/fs/atomic_rename.mjs +33 -0
  2379. package/scripts/utils/fs/json.mjs +5 -4
  2380. package/scripts/utils/fs/json.test.mjs +33 -0
  2381. package/scripts/utils/fs/tail.mjs +4 -0
  2382. package/scripts/utils/fs/tail.test.mjs +32 -0
  2383. package/scripts/utils/mobile/android_generated_build_state.mjs +87 -0
  2384. package/scripts/utils/mobile/config.mjs +14 -0
  2385. package/scripts/utils/mobile/dev_client_install_invocation.android.test.mjs +21 -0
  2386. package/scripts/utils/mobile/dev_client_install_invocation.mjs +39 -2
  2387. package/scripts/utils/mobile/dev_client_install_invocation.test.mjs +34 -0
  2388. package/scripts/utils/mobile/identifiers.mjs +29 -8
  2389. package/scripts/utils/mobile/identifiers.test.mjs +17 -1
  2390. package/scripts/utils/mobile/ios_podfile_autolinking.mjs +74 -0
  2391. package/scripts/utils/mobile/ios_podfile_autolinking.test.mjs +79 -0
  2392. package/scripts/utils/mobile/ios_podfile_properties.mjs +50 -0
  2393. package/scripts/utils/mobile/ios_podfile_properties.test.mjs +88 -0
  2394. package/scripts/utils/mobile/ios_profiling_runtime.mjs +171 -0
  2395. package/scripts/utils/mobile/ios_profiling_runtime.test.mjs +145 -0
  2396. package/scripts/utils/mobile/ios_xcodeproj_patch.mjs +6 -1
  2397. package/scripts/utils/mobile/ios_xcodeproj_patch.test.mjs +41 -0
  2398. package/scripts/utils/mobile/profiling_runtime_mode.mjs +35 -0
  2399. package/scripts/utils/mobile/profiling_runtime_mode.test.mjs +28 -0
  2400. package/scripts/utils/net/ports.mjs +419 -40
  2401. package/scripts/utils/net/ports.test.mjs +639 -1
  2402. package/scripts/utils/net/tcp_forward.mjs +117 -9
  2403. package/scripts/utils/net/tcp_forward.test.mjs +255 -0
  2404. package/scripts/utils/pglite_lock.mjs +84 -3
  2405. package/scripts/utils/proc/cliDistBuildLock.mjs +62 -81
  2406. package/scripts/utils/proc/cliDistBuildLock.test.mjs +400 -0
  2407. package/scripts/utils/proc/cli_runtime_inputs.mjs +109 -0
  2408. package/scripts/utils/proc/command_dependency_admission.test.mjs +54 -0
  2409. package/scripts/utils/proc/dependency_refresh.mjs +263 -0
  2410. package/scripts/utils/proc/dependency_refresh.test.mjs +125 -0
  2411. package/scripts/utils/proc/ensureWorkspacePackagesBuilt.test.mjs +569 -18
  2412. package/scripts/utils/proc/exit_cleanup.mjs +2 -2
  2413. package/scripts/utils/proc/jsonOwnerFileLock.mjs +194 -0
  2414. package/scripts/utils/proc/jsonOwnerFileLock.test.mjs +428 -0
  2415. package/scripts/utils/proc/ownership.mjs +411 -52
  2416. package/scripts/utils/proc/ownership_killProcessGroupOwnedByStack.test.mjs +348 -1
  2417. package/scripts/utils/proc/ownership_listPidsWithEnvNeedles.test.mjs +196 -1
  2418. package/scripts/utils/proc/pids.mjs +11 -6
  2419. package/scripts/utils/proc/pids.test.mjs +29 -0
  2420. package/scripts/utils/proc/pm.mjs +406 -368
  2421. package/scripts/utils/proc/pm_stack_cache_env.test.mjs +1295 -121
  2422. package/scripts/utils/proc/proc.mjs +342 -89
  2423. package/scripts/utils/proc/proc.test.mjs +362 -3
  2424. package/scripts/utils/proc/pruneLogsByCount.mjs +49 -0
  2425. package/scripts/utils/proc/pruneLogsByCount.test.mjs +132 -0
  2426. package/scripts/utils/proc/terminate.mjs +203 -20
  2427. package/scripts/utils/proc/terminate.test.mjs +207 -1
  2428. package/scripts/utils/proc/watch.mjs +139 -19
  2429. package/scripts/utils/proc/watch.test.mjs +230 -0
  2430. package/scripts/utils/proc/workspace_dependencies.mjs +21 -0
  2431. package/scripts/utils/proc/workspace_package_manifests.mjs +108 -0
  2432. package/scripts/utils/remote/install_remote_first_party_component.mjs +112 -43
  2433. package/scripts/utils/remote/install_remote_first_party_component.test.mjs +46 -35
  2434. package/scripts/utils/review/augment_runner_integration.test.mjs +10 -3
  2435. package/scripts/utils/server/apply_runtime_server_sqlite_env.mjs +36 -0
  2436. package/scripts/utils/server/apply_runtime_server_sqlite_env.test.mjs +46 -0
  2437. package/scripts/utils/server/apply_server_preset_env_defaults.mjs +32 -0
  2438. package/scripts/utils/server/apply_server_preset_env_defaults.test.mjs +95 -0
  2439. package/scripts/utils/server/effective_db_provider.mjs +138 -0
  2440. package/scripts/utils/server/effective_db_provider.test.mjs +249 -0
  2441. package/scripts/utils/server/flavor_scripts.mjs +12 -78
  2442. package/scripts/utils/server/flavor_scripts.test.mjs +39 -47
  2443. package/scripts/utils/server/infra/happy_server_infra.mjs +92 -39
  2444. package/scripts/utils/server/infra/happy_server_infra_provider.test.mjs +290 -0
  2445. package/scripts/utils/server/listener_ownership.mjs +488 -0
  2446. package/scripts/utils/server/listener_ownership.test.mjs +473 -0
  2447. package/scripts/utils/server/logging_env.mjs +20 -0
  2448. package/scripts/utils/server/logging_env.test.mjs +29 -0
  2449. package/scripts/utils/server/mobile_api_url.mjs +17 -3
  2450. package/scripts/utils/server/mobile_api_url.test.mjs +21 -1
  2451. package/scripts/utils/server/prisma_client_import.mjs +18 -0
  2452. package/scripts/utils/server/prisma_import.mjs +0 -15
  2453. package/scripts/utils/server/prisma_import.test.mjs +0 -37
  2454. package/scripts/utils/server/resolve_stack_server_port.mjs +131 -43
  2455. package/scripts/utils/server/resolve_stack_server_port.test.mjs +696 -5
  2456. package/scripts/utils/server/server.mjs +146 -39
  2457. package/scripts/utils/server/server.test.mjs +252 -4
  2458. package/scripts/utils/server/server_migrations.mjs +17 -0
  2459. package/scripts/utils/server/shutdown_grace.mjs +14 -0
  2460. package/scripts/utils/server/shutdown_grace.test.mjs +29 -0
  2461. package/scripts/utils/server/source_server_workspace_deps.mjs +27 -0
  2462. package/scripts/utils/server/source_server_workspace_deps.test.mjs +71 -0
  2463. package/scripts/utils/server/validate.mjs +4 -43
  2464. package/scripts/utils/server/validate.test.mjs +4 -4
  2465. package/scripts/utils/service/archive_service_lifecycle.mjs +59 -0
  2466. package/scripts/utils/service/archive_service_lifecycle.test.mjs +88 -0
  2467. package/scripts/utils/service/daemon_autostart.mjs +1 -1
  2468. package/scripts/utils/service/daemon_autostart.test.mjs +34 -0
  2469. package/scripts/utils/service/service_manager.mjs +26 -1
  2470. package/scripts/utils/service/service_manager.plan.test.mjs +187 -1
  2471. package/scripts/utils/sqlite/sqlite_snapshot.mjs +820 -0
  2472. package/scripts/utils/stack/daemonControlClient.mjs +426 -0
  2473. package/scripts/utils/stack/daemonControlClient.test.mjs +567 -0
  2474. package/scripts/utils/stack/daemon_lifecycle_lock.mjs +49 -0
  2475. package/scripts/utils/stack/daemon_lifecycle_lock.test.mjs +220 -0
  2476. package/scripts/utils/stack/dirs.mjs +6 -2
  2477. package/scripts/utils/stack/owner_death_watchdog.mjs +6 -1
  2478. package/scripts/utils/stack/owner_death_watchdog_runner.mjs +130 -2
  2479. package/scripts/utils/stack/repo_stack_identity.mjs +113 -0
  2480. package/scripts/utils/stack/repo_stack_identity.test.mjs +23 -0
  2481. package/scripts/utils/stack/restart_args.mjs +22 -0
  2482. package/scripts/utils/stack/runtime_daemon_state.mjs +474 -23
  2483. package/scripts/utils/stack/runtime_daemon_state.test.mjs +838 -0
  2484. package/scripts/utils/stack/runtime_owner_incarnation.mjs +9 -0
  2485. package/scripts/utils/stack/runtime_state.mjs +896 -37
  2486. package/scripts/utils/stack/runtime_state.test.mjs +1152 -2
  2487. package/scripts/utils/stack/server_profile_reconciliation.mjs +92 -0
  2488. package/scripts/utils/stack/startup.mjs +75 -81
  2489. package/scripts/utils/stack/startup_runtime_probe.test.mjs +115 -0
  2490. package/scripts/utils/stack/startup_server_light_dirs.test.mjs +10 -3
  2491. package/scripts/utils/stack/startup_server_light_generate.test.mjs +115 -4
  2492. package/scripts/utils/stack/startup_server_light_legacy.test.mjs +17 -15
  2493. package/scripts/utils/stack/startup_server_light_testkit.mjs +8 -1
  2494. package/scripts/utils/stack/stop.mjs +641 -144
  2495. package/scripts/utils/stack/stop_lock_timeout.test.mjs +13 -0
  2496. package/scripts/utils/tauri/desktop_install.mjs +81 -0
  2497. package/scripts/utils/tauri/desktop_install.test.mjs +43 -0
  2498. package/scripts/utils/tauri/dev_runtime.mjs +10 -1
  2499. package/scripts/utils/tauri/dev_runtime.test.mjs +2 -1
  2500. package/scripts/utils/tauri/stack_overrides.mjs +28 -4
  2501. package/scripts/utils/tauri/stack_overrides.test.mjs +26 -0
  2502. package/scripts/utils/test/test_env.mjs +44 -0
  2503. package/scripts/utils/test/test_env.test.mjs +99 -0
  2504. package/scripts/utils/tui/actions.mjs +4 -13
  2505. package/scripts/utils/tui/actions.test.mjs +5 -16
  2506. package/scripts/utils/tui/args.mjs +8 -2
  2507. package/scripts/utils/tui/args.test.mjs +14 -1
  2508. package/scripts/utils/tui/cleanup.mjs +16 -1
  2509. package/scripts/utils/tui/daemon_pane_reconcile.mjs +27 -1
  2510. package/scripts/utils/tui/daemon_pane_reconcile.test.mjs +18 -0
  2511. package/scripts/utils/tui/dev_target_panes.mjs +22 -0
  2512. package/scripts/utils/tui/dev_target_panes.test.mjs +26 -0
  2513. package/scripts/utils/tui/rescue_priority.mjs +37 -0
  2514. package/scripts/utils/tui/rescue_priority.test.mjs +24 -0
  2515. package/scripts/utils/tui/restart_operation.mjs +151 -0
  2516. package/scripts/utils/tui/stack_scope_env.mjs +8 -3
  2517. package/scripts/utils/tui/stack_scope_env.test.mjs +7 -2
  2518. package/scripts/utils/tui/stdin_handoff.mjs +13 -40
  2519. package/scripts/utils/tui/stdin_handoff.test.mjs +36 -1
  2520. package/scripts/utils/tui/tauri_mode.mjs +178 -6
  2521. package/scripts/utils/tui/tauri_mode.test.mjs +222 -4
  2522. package/scripts/utils/workspaces/workspaceBundleLock.mjs +39 -0
  2523. package/scripts/utils/worktrees/yarn_install_guard.mjs +7 -49
  2524. package/scripts/utils/worktrees/yarn_install_guard.test.mjs +139 -4
  2525. package/scripts/worktrees.mjs +16 -16
  2526. package/node_modules/@happier-dev/agents/dist/.tsbuildinfo +0 -1
  2527. package/node_modules/@happier-dev/cli-common/dist/.tsbuildinfo +0 -1
  2528. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts +0 -2
  2529. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts.map +0 -1
  2530. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js +0 -51
  2531. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js.map +0 -1
  2532. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts +0 -2
  2533. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts.map +0 -1
  2534. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js +0 -76
  2535. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js.map +0 -1
  2536. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts +0 -2
  2537. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts.map +0 -1
  2538. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js +0 -151
  2539. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js.map +0 -1
  2540. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts +0 -2
  2541. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts.map +0 -1
  2542. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js +0 -184
  2543. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js.map +0 -1
  2544. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts +0 -2
  2545. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts.map +0 -1
  2546. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js +0 -96
  2547. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js.map +0 -1
  2548. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.d.ts +0 -2
  2549. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.d.ts.map +0 -1
  2550. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.js +0 -64
  2551. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.js.map +0 -1
  2552. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts +0 -9
  2553. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts.map +0 -1
  2554. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js +0 -72
  2555. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js.map +0 -1
  2556. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts +0 -2
  2557. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts.map +0 -1
  2558. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js +0 -178
  2559. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js.map +0 -1
  2560. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts +0 -2
  2561. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts.map +0 -1
  2562. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js +0 -176
  2563. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js.map +0 -1
  2564. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts +0 -2
  2565. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts.map +0 -1
  2566. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js +0 -138
  2567. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js.map +0 -1
  2568. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts +0 -2
  2569. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts.map +0 -1
  2570. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js +0 -44
  2571. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js.map +0 -1
  2572. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts +0 -2
  2573. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts.map +0 -1
  2574. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js +0 -20
  2575. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js.map +0 -1
  2576. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts +0 -2
  2577. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts.map +0 -1
  2578. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js +0 -25
  2579. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js.map +0 -1
  2580. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts +0 -2
  2581. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts.map +0 -1
  2582. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js +0 -177
  2583. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js.map +0 -1
  2584. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts +0 -2
  2585. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts.map +0 -1
  2586. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js +0 -173
  2587. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js.map +0 -1
  2588. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts +0 -2
  2589. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts.map +0 -1
  2590. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js +0 -98
  2591. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js.map +0 -1
  2592. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts +0 -2
  2593. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts.map +0 -1
  2594. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js +0 -549
  2595. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js.map +0 -1
  2596. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts +0 -2
  2597. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts.map +0 -1
  2598. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js +0 -37
  2599. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js.map +0 -1
  2600. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts +0 -2
  2601. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts.map +0 -1
  2602. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js +0 -243
  2603. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js.map +0 -1
  2604. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts +0 -2
  2605. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts.map +0 -1
  2606. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js +0 -204
  2607. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js.map +0 -1
  2608. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts +0 -2
  2609. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts.map +0 -1
  2610. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js +0 -58
  2611. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js.map +0 -1
  2612. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts +0 -2
  2613. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts.map +0 -1
  2614. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js +0 -29
  2615. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js.map +0 -1
  2616. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts +0 -2
  2617. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts.map +0 -1
  2618. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js +0 -94
  2619. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js.map +0 -1
  2620. package/node_modules/@happier-dev/protocol/dist/.tsbuildinfo +0 -1
  2621. package/node_modules/@happier-dev/release-runtime/dist/.tsbuildinfo +0 -1
  2622. package/node_modules/@happier-dev/release-runtime/dist/_cjs/releaseRings.js +0 -134
  2623. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts +0 -14
  2624. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts.map +0 -1
  2625. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js +0 -48
  2626. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js.map +0 -1
  2627. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.cjs +0 -134
  2628. package/scripts/daemon_cleanup_lsof_unavailable.test.mjs +0 -112
  2629. package/scripts/ghops.mjs +0 -83
  2630. package/scripts/stack_guided_login_does_not_preopen_browser.test.mjs +0 -17
  2631. package/scripts/utils/auth/guided_stack_web_login.mjs +0 -56
  2632. package/scripts/utils/auth/login_ux.mjs +0 -113
  2633. package/scripts/utils/cli/smoke_help.mjs +0 -44
  2634. package/scripts/utils/dev_auth_key.mjs +0 -7
  2635. package/scripts/utils/server/apply_runtime_server_light_sqlite_env.mjs +0 -25
  2636. package/scripts/utils/server/apply_server_light_env_defaults.mjs +0 -15
  2637. package/scripts/utils/server/apply_server_light_env_defaults.test.mjs +0 -25
  2638. package/scripts/utils/stack_context.mjs +0 -1
  2639. package/scripts/utils/stack_runtime_state.mjs +0 -1
  2640. package/scripts/utils/tui/daemon_autostart.mjs +0 -36
  2641. package/scripts/utils/tui/daemon_autostart.test.mjs +0 -173
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse.js","sourceRoot":"","sources":["../../src/parse.ts"],"names":[],"mappings":"AAAA,gEAAg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I,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBAChB,qBAAqB;gBACrB,IAAI,KAAK,EAAE,CAAC;oBACV,IAAI,CAAC,mBAAmB,CAAC,IAAI,KAAK,CAAC,MAAM,CAAA;oBACzC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAC1B,CAAC;gBACD,oBAAoB;gBACpB,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAA;YACnB,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAA;gBAClB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS;oBACtD,KAAK,GAAG,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;gBAClC,IAAI,KAAK;oBAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAC5B,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAA;YAClB,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAA;IACb,CAAC;CACF","sourcesContent":["// this[BUFFER] is the remainder of a chunk if we're waiting for\n// the full 512 bytes of a header to come in. We will Buffer.concat()\n// it to the next write(), which is a mem copy, but a small one.\n//\n// this[QUEUE] is a list of entries that haven't been emitted\n// yet this can only get filled up if the user keeps write()ing after\n// a write() returns false, or does a write() with more than one entry\n//\n// We don't buffer chunks, we always parse them and either create an\n// entry, or push it into the active entry. The ReadEntry class knows\n// to throw data away if .ignore=true\n//\n// Shift entry off the buffer when it emits 'end', and emit 'entry' for\n// the next one in the list.\n//\n// At any time, we're pushing body chunks into the entry at WRITEENTRY,\n// and waiting for 'end' on the entry at READENTRY\n//\n// ignored entries get .resume() called on them straight away\n\nimport { EventEmitter as EE } from 'events'\nimport { BrotliDecompress, Unzip, ZstdDecompress } from 'minizlib'\nimport { Header } from './header.js'\nimport type { TarOptions } from './options.js'\nimport { Pax } from './pax.js'\nimport { ReadEntry } from './read-entry.js'\nimport { warnMethod, type WarnData, type Warner } from './warn-method.js'\n\nconst maxMetaEntrySize = 1024 * 1024\nconst gzipHeader = Buffer.from([0x1f, 0x8b])\nconst zstdHeader = Buffer.from([0x28, 0xb5, 0x2f, 0xfd])\nconst ZIP_HEADER_LEN = Math.max(gzipHeader.length, zstdHeader.length)\n\nconst STATE = Symbol('state')\nconst WRITEENTRY = Symbol('writeEntry')\nconst READENTRY = Symbol('readEntry')\nconst NEXTENTRY = Symbol('nextEntry')\nconst PROCESSENTRY = Symbol('processEntry')\nconst EX = Symbol('extendedHeader')\nconst GEX = Symbol('globalExtendedHeader')\nconst META = Symbol('meta')\nconst EMITMETA = Symbol('emitMeta')\nconst BUFFER = Symbol('buffer')\nconst QUEUE = Symbol('queue')\nconst ENDED = Symbol('ended')\nconst EMITTEDEND = Symbol('emittedEnd')\nconst EMIT = Symbol('emit')\nconst UNZIP = Symbol('unzip')\nconst CONSUMECHUNK = Symbol('consumeChunk')\nconst CONSUMECHUNKSUB = Symbol('consumeChunkSub')\nconst CONSUMEBODY = Symbol('consumeBody')\nconst CONSUMEMETA = Symbol('consumeMeta')\nconst CONSUMEHEADER = Symbol('consumeHeader')\nconst CONSUMING = Symbol('consuming')\nconst BUFFERCONCAT = Symbol('bufferConcat')\nconst MAYBEEND = Symbol('maybeEnd')\nconst WRITING = Symbol('writing')\nconst ABORTED = Symbol('aborted')\nconst DONE = Symbol('onDone')\nconst SAW_VALID_ENTRY = Symbol('sawValidEntry')\nconst SAW_NULL_BLOCK = Symbol('sawNullBlock')\nconst SAW_EOF = Symbol('sawEOF')\nconst CLOSESTREAM = Symbol('closeStream')\nconst MAX_DECOMPRESSION_RATIO = 1000\nconst COMPRESSEDBYTESREAD = Symbol('compressedBytesRead')\nconst DECOMPRESSEDBYTESREAD = Symbol('decompressedBytesRead')\nconst CHECKDECOMPRESSIONRATIO = Symbol('checkDecompressionRatio')\n\nconst noop = () => true\n\nexport type State = 'begin' | 'header' | 'ignore' | 'meta' | 'body'\n\nexport class Parser extends EE implements Warner {\n file: string\n strict: boolean\n maxMetaEntrySize: number\n filter: Exclude<TarOptions['filter'], undefined>\n brotli?: TarOptions['brotli']\n zstd?: TarOptions['zstd']\n maxDecompressionRatio: number\n\n writable: true = true\n readable: false = false;\n\n [QUEUE]: (ReadEntry | [string | symbol, unknown, unknown])[] = [];\n [BUFFER]?: Buffer;\n [READENTRY]?: ReadEntry;\n [WRITEENTRY]?: ReadEntry;\n [STATE]: State = 'begin';\n [META]: string = '';\n [EX]?: Pax;\n [GEX]?: Pax;\n [ENDED]: boolean = false;\n [UNZIP]?: false | Unzip | BrotliDecompress | ZstdDecompress;\n [ABORTED]: boolean = false;\n [SAW_VALID_ENTRY]?: boolean;\n [SAW_NULL_BLOCK]: boolean = false;\n [SAW_EOF]: boolean = false;\n [WRITING]: boolean = false;\n [CONSUMING]: boolean = false;\n [EMITTEDEND]: boolean = false;\n [COMPRESSEDBYTESREAD]: number = 0;\n [DECOMPRESSEDBYTESREAD]: number = 0\n\n constructor(opt: TarOptions = {}) {\n super()\n\n this.file = opt.file || ''\n\n // these BADARCHIVE errors can't be detected early. listen on DONE.\n this.on(DONE, () => {\n if (this[STATE] === 'begin' || this[SAW_VALID_ENTRY] === false) {\n // either less than 1 block of data, or all entries were invalid.\n // Either way, probably not even a tarball.\n this.warn('TAR_BAD_ARCHIVE', 'Unrecognized archive format')\n }\n })\n\n if (opt.ondone) {\n this.on(DONE, opt.ondone)\n } else {\n this.on(DONE, () => {\n this.emit('prefinish')\n this.emit('finish')\n this.emit('end')\n })\n }\n\n this.strict = !!opt.strict\n this.maxDecompressionRatio =\n typeof opt.maxDecompressionRatio === 'number' ?\n opt.maxDecompressionRatio\n : MAX_DECOMPRESSION_RATIO\n this.maxMetaEntrySize = opt.maxMetaEntrySize || maxMetaEntrySize\n this.filter = typeof opt.filter === 'function' ? opt.filter : noop\n // Unlike gzip, brotli doesn't have any magic bytes to identify it\n // Users need to explicitly tell us they're extracting a brotli file\n // Or we infer from the file extension\n const isTBR =\n opt.file &&\n (opt.file.endsWith('.tar.br') || opt.file.endsWith('.tbr'))\n // if it's a tbr file it MIGHT be brotli, but we don't know until\n // we look at it and verify it's not a valid tar file.\n this.brotli =\n !(opt.gzip || opt.zstd) && opt.brotli !== undefined ? opt.brotli\n : isTBR ? undefined\n : false\n\n // zstd has magic bytes to identify it, but we also support explicit options\n // and file extension detection\n const isTZST =\n opt.file &&\n (opt.file.endsWith('.tar.zst') || opt.file.endsWith('.tzst'))\n this.zstd =\n !(opt.gzip || opt.brotli) && opt.zstd !== undefined ? opt.zstd\n : isTZST ? true\n : undefined\n\n // have to set this so that streams are ok piping into it\n this.on('end', () => this[CLOSESTREAM]())\n\n if (typeof opt.onwarn === 'function') {\n this.on('warn', opt.onwarn)\n }\n if (typeof opt.onReadEntry === 'function') {\n this.on('entry', opt.onReadEntry)\n }\n }\n\n warn(code: string, message: string | Error, data: WarnData = {}): void {\n warnMethod(this, code, message, data)\n }\n\n [CONSUMEHEADER](chunk: Buffer, position: number) {\n if (this[SAW_VALID_ENTRY] === undefined) {\n this[SAW_VALID_ENTRY] = false\n }\n let header\n try {\n header = new Header(chunk, position, this[EX], this[GEX])\n } catch (er) {\n return this.warn('TAR_ENTRY_INVALID', er as Error)\n }\n\n if (header.nullBlock) {\n if (this[SAW_NULL_BLOCK]) {\n this[SAW_EOF] = true\n // ending an archive with no entries. pointless, but legal.\n if (this[STATE] === 'begin') {\n this[STATE] = 'header'\n }\n this[EMIT]('eof')\n } else {\n this[SAW_NULL_BLOCK] = true\n this[EMIT]('nullBlock')\n }\n } else {\n this[SAW_NULL_BLOCK] = false\n if (!header.cksumValid) {\n this.warn('TAR_ENTRY_INVALID', 'checksum failure', { header })\n } else if (!header.path) {\n this.warn('TAR_ENTRY_INVALID', 'path is required', { header })\n } else {\n const type = header.type\n if (/^(Symbolic)?Link$/.test(type) && !header.linkpath) {\n this.warn('TAR_ENTRY_INVALID', 'linkpath required', {\n header,\n })\n } else if (\n !/^(Symbolic)?Link$/.test(type) &&\n !/^(Global)?ExtendedHeader$/.test(type) &&\n header.linkpath\n ) {\n this.warn('TAR_ENTRY_INVALID', 'linkpath forbidden', {\n header,\n })\n } else {\n const entry = (this[WRITEENTRY] = new ReadEntry(\n header,\n this[EX],\n this[GEX],\n ))\n\n // we do this for meta & ignored entries as well, because they\n // are still valid tar, or else we wouldn't know to ignore them\n if (!this[SAW_VALID_ENTRY]) {\n if (entry.remain) {\n // this might be the one!\n const onend = () => {\n if (!entry.invalid) {\n this[SAW_VALID_ENTRY] = true\n }\n }\n entry.on('end', onend)\n } else {\n this[SAW_VALID_ENTRY] = true\n }\n }\n\n if (entry.meta) {\n if (entry.size > this.maxMetaEntrySize) {\n entry.ignore = true\n this[EMIT]('ignoredEntry', entry)\n this[STATE] = 'ignore'\n entry.resume()\n } else if (entry.size > 0) {\n this[META] = ''\n entry.on('data', c => (this[META] += c))\n this[STATE] = 'meta'\n }\n } else {\n this[EX] = undefined\n entry.ignore = entry.ignore || !this.filter(entry.path, entry)\n\n if (entry.ignore) {\n // probably valid, just not something we care about\n this[EMIT]('ignoredEntry', entry)\n this[STATE] = entry.remain ? 'ignore' : 'header'\n entry.resume()\n } else {\n if (entry.remain) {\n this[STATE] = 'body'\n } else {\n this[STATE] = 'header'\n entry.end()\n }\n\n if (!this[READENTRY]) {\n this[QUEUE].push(entry)\n this[NEXTENTRY]()\n } else {\n this[QUEUE].push(entry)\n }\n }\n }\n }\n }\n }\n }\n\n [CLOSESTREAM]() {\n queueMicrotask(() => this.emit('close'))\n }\n\n [PROCESSENTRY](entry?: ReadEntry | [string | symbol, unknown, unknown]) {\n let go = true\n\n if (!entry) {\n this[READENTRY] = undefined\n go = false\n } else if (Array.isArray(entry)) {\n const [ev, ...args]: [string | symbol, unknown, unknown] = entry\n this.emit(ev, ...args)\n } else {\n this[READENTRY] = entry\n this.emit('entry', entry)\n if (!entry.emittedEnd) {\n entry.on('end', () => this[NEXTENTRY]())\n go = false\n }\n }\n\n return go\n }\n\n [NEXTENTRY]() {\n do {} while (this[PROCESSENTRY](this[QUEUE].shift()))\n\n if (this[QUEUE].length === 0) {\n // At this point, there's nothing in the queue, but we may have an\n // entry which is being consumed (readEntry).\n // If we don't, then we definitely can handle more data.\n // If we do, and either it's flowing, or it has never had any data\n // written to it, then it needs more.\n // The only other possibility is that it has returned false from a\n // write() call, so we wait for the next drain to continue.\n const re = this[READENTRY]\n const drainNow = !re || re.flowing || re.size === re.remain\n if (drainNow) {\n if (!this[WRITING]) {\n this.emit('drain')\n }\n } else {\n re.once('drain', () => this.emit('drain'))\n }\n }\n }\n\n [CONSUMEBODY](chunk: Buffer, position: number) {\n // write up to but no more than writeEntry.blockRemain\n const entry = this[WRITEENTRY]\n /* c8 ignore start */\n if (!entry) {\n throw new Error('attempt to consume body without entry??')\n }\n const br = entry.blockRemain ?? 0\n /* c8 ignore stop */\n const c =\n br >= chunk.length && position === 0 ?\n chunk\n : chunk.subarray(position, position + br)\n\n entry.write(c)\n\n if (!entry.blockRemain) {\n this[STATE] = 'header'\n this[WRITEENTRY] = undefined\n entry.end()\n }\n\n return c.length\n }\n\n [CONSUMEMETA](chunk: Buffer, position: number) {\n const entry = this[WRITEENTRY]\n const ret = this[CONSUMEBODY](chunk, position)\n\n // if we finished, then the entry is reset\n if (!this[WRITEENTRY] && entry) {\n this[EMITMETA](entry)\n }\n\n return ret\n }\n\n [EMIT](ev: string | symbol, data?: unknown, extra?: unknown) {\n if (this[QUEUE].length === 0 && !this[READENTRY]) {\n this.emit(ev, data, extra)\n } else {\n this[QUEUE].push([ev, data, extra])\n }\n }\n\n [EMITMETA](entry: ReadEntry) {\n this[EMIT]('meta', this[META])\n switch (entry.type) {\n case 'ExtendedHeader':\n case 'OldExtendedHeader':\n this[EX] = Pax.parse(this[META], this[EX], false)\n break\n\n case 'GlobalExtendedHeader':\n this[GEX] = Pax.parse(this[META], this[GEX], true)\n break\n\n case 'NextFileHasLongPath':\n case 'OldGnuLongPath': {\n const ex: Pax = this[EX] ?? Object.create(null)\n this[EX] = ex\n ex.path = this[META].replace(/\\0.*/, '')\n break\n }\n\n case 'NextFileHasLongLinkpath': {\n const ex: Pax = this[EX] || Object.create(null)\n this[EX] = ex\n ex.linkpath = this[META].replace(/\\0.*/, '')\n break\n }\n\n /* c8 ignore start */\n default:\n throw new Error('unknown meta: ' + entry.type)\n /* c8 ignore stop */\n }\n }\n\n abort(error: Error) {\n if (this[ABORTED]) {\n return\n }\n if (this[UNZIP]) {\n // fully nerf the decompressor and close its underlying binding\n const u = this[UNZIP]\n /* c8 ignore start */\n u.write = () => true\n u.end = () => u\n u.emit = () => false\n /* c8 ignore stop */\n u.destroy?.()\n }\n this[ABORTED] = true\n this.emit('abort', error)\n // always throws, even in non-strict mode\n this.warn('TAR_ABORT', error, { recoverable: false })\n }\n\n [CHECKDECOMPRESSIONRATIO](chunk: Buffer) {\n this[DECOMPRESSEDBYTESREAD] += chunk.length\n const ratio = this[DECOMPRESSEDBYTESREAD] / this[COMPRESSEDBYTESREAD]\n if (ratio > this.maxDecompressionRatio) {\n this.abort(\n new Error(\n `max decompression ratio exceeded: ${ratio.toFixed(2)} > ${\n this.maxDecompressionRatio\n }`,\n ),\n )\n return false\n }\n return true\n }\n\n write(\n buffer: Uint8Array | string,\n cb?: (err?: Error | null) => void,\n ): boolean\n write(\n str: string,\n encoding?: BufferEncoding,\n cb?: (err?: Error | null) => void,\n ): boolean\n write(\n chunk: Buffer | string,\n encoding?: BufferEncoding | (() => unknown),\n cb?: () => unknown,\n ): boolean {\n if (typeof encoding === 'function') {\n cb = encoding\n encoding = undefined\n }\n if (typeof chunk === 'string') {\n chunk = Buffer.from(\n chunk,\n /* c8 ignore next */\n typeof encoding === 'string' ? encoding : 'utf8',\n )\n }\n if (this[ABORTED]) {\n /* c8 ignore next */\n cb?.()\n return false\n }\n\n // first write, might be gzipped, zstd, or brotli compressed\n const needSniff =\n this[UNZIP] === undefined ||\n (this.brotli === undefined && this[UNZIP] === false)\n if (needSniff && chunk) {\n if (this[BUFFER]) {\n chunk = Buffer.concat([this[BUFFER], chunk])\n this[BUFFER] = undefined\n }\n if (chunk.length < ZIP_HEADER_LEN) {\n this[BUFFER] = chunk\n /* c8 ignore next */\n cb?.()\n return true\n }\n\n // look for gzip header\n for (\n let i = 0;\n this[UNZIP] === undefined && i < gzipHeader.length;\n i++\n ) {\n if (chunk[i] !== gzipHeader[i]) {\n this[UNZIP] = false\n }\n }\n\n // look for zstd header if gzip header not found\n let isZstd = false\n if (this[UNZIP] === false && this.zstd !== false) {\n isZstd = true\n for (let i = 0; i < zstdHeader.length; i++) {\n if (chunk[i] !== zstdHeader[i]) {\n isZstd = false\n break\n }\n }\n }\n\n const maybeBrotli = this.brotli === undefined && !isZstd\n if (this[UNZIP] === false && maybeBrotli) {\n // read the first header to see if it's a valid tar file. If so,\n // we can safely assume that it's not actually brotli, despite the\n // .tbr or .tar.br file extension.\n // if we ended before getting a full chunk, yes, def brotli\n if (chunk.length < 512) {\n if (this[ENDED]) {\n this.brotli = true\n } else {\n this[BUFFER] = chunk\n /* c8 ignore next */\n cb?.()\n return true\n }\n } else {\n // if it's tar, it's pretty reliably not brotli, chances of\n // that happening are astronomical.\n try {\n new Header(chunk.subarray(0, 512))\n this.brotli = false\n } catch (_) {\n this.brotli = true\n }\n }\n }\n\n if (\n this[UNZIP] === undefined ||\n (this[UNZIP] === false && (this.brotli || isZstd))\n ) {\n const ended = this[ENDED]\n this[ENDED] = false\n this[UNZIP] =\n this[UNZIP] === undefined ? new Unzip({})\n : isZstd ? new ZstdDecompress({})\n : new BrotliDecompress({})\n this[UNZIP].on('data', chunk => {\n if (this[CHECKDECOMPRESSIONRATIO](chunk)) {\n this[CONSUMECHUNK](chunk)\n }\n })\n this[UNZIP].on('error', er => {\n if (!this[ABORTED]) {\n this.abort(er as Error)\n }\n })\n this[UNZIP].on('end', () => {\n this[ENDED] = true\n this[CONSUMECHUNK]()\n })\n this[WRITING] = true\n this[COMPRESSEDBYTESREAD] += chunk.length\n const ret = !!this[UNZIP][ended ? 'end' : 'write'](chunk)\n this[WRITING] = false\n cb?.()\n return ret\n }\n }\n\n this[WRITING] = true\n if (this[UNZIP]) {\n this[COMPRESSEDBYTESREAD] += chunk.length\n this[UNZIP].write(chunk)\n } else {\n this[CONSUMECHUNK](chunk)\n }\n this[WRITING] = false\n\n // return false if there's a queue, or if the current entry isn't flowing\n const ret =\n this[QUEUE].length > 0 ? false\n : this[READENTRY] ? this[READENTRY].flowing\n : true\n\n // if we have no queue, then that means a clogged READENTRY\n if (!ret && this[QUEUE].length === 0) {\n this[READENTRY]?.once('drain', () => this.emit('drain'))\n }\n\n /* c8 ignore next */\n cb?.()\n return ret\n }\n\n [BUFFERCONCAT](c: Buffer) {\n if (c && !this[ABORTED]) {\n this[BUFFER] = this[BUFFER] ? Buffer.concat([this[BUFFER], c]) : c\n }\n }\n\n [MAYBEEND]() {\n if (\n this[ENDED] &&\n !this[EMITTEDEND] &&\n !this[ABORTED] &&\n !this[CONSUMING]\n ) {\n this[EMITTEDEND] = true\n const entry = this[WRITEENTRY]\n if (entry?.blockRemain) {\n // truncated, likely a damaged file\n const have = this[BUFFER] ? this[BUFFER].length : 0\n this.warn(\n 'TAR_BAD_ARCHIVE',\n `Truncated input (needed ${entry.blockRemain} more bytes, only ${have} available)`,\n { entry },\n )\n if (this[BUFFER]) {\n entry.write(this[BUFFER])\n }\n entry.end()\n }\n this[EMIT](DONE)\n }\n }\n\n [CONSUMECHUNK](chunk?: Buffer) {\n if (this[CONSUMING] && chunk) {\n this[BUFFERCONCAT](chunk)\n } else if (!chunk && !this[BUFFER]) {\n this[MAYBEEND]()\n } else if (chunk) {\n this[CONSUMING] = true\n if (this[BUFFER]) {\n this[BUFFERCONCAT](chunk)\n const c = this[BUFFER]\n this[BUFFER] = undefined\n this[CONSUMECHUNKSUB](c)\n } else {\n this[CONSUMECHUNKSUB](chunk)\n }\n\n while (\n this[BUFFER] &&\n (this[BUFFER] as Buffer)?.length >= 512 &&\n !this[ABORTED] &&\n !this[SAW_EOF]\n ) {\n const c = this[BUFFER]\n this[BUFFER] = undefined\n this[CONSUMECHUNKSUB](c)\n }\n this[CONSUMING] = false\n }\n\n if (!this[BUFFER] || this[ENDED]) {\n this[MAYBEEND]()\n }\n }\n\n [CONSUMECHUNKSUB](chunk: Buffer) {\n // we know that we are in CONSUMING mode, so anything written goes into\n // the buffer. Advance the position and put any remainder in the buffer.\n let position = 0\n const length = chunk.length\n while (position + 512 <= length && !this[ABORTED] && !this[SAW_EOF]) {\n switch (this[STATE]) {\n case 'begin':\n case 'header':\n this[CONSUMEHEADER](chunk, position)\n position += 512\n break\n\n case 'ignore':\n case 'body':\n position += this[CONSUMEBODY](chunk, position)\n break\n\n case 'meta':\n position += this[CONSUMEMETA](chunk, position)\n break\n\n /* c8 ignore start */\n default:\n throw new Error('invalid state: ' + this[STATE])\n /* c8 ignore stop */\n }\n }\n\n if (position < length) {\n this[BUFFER] =\n this[BUFFER] ?\n Buffer.concat([chunk.subarray(position), this[BUFFER]])\n : chunk.subarray(position)\n }\n }\n\n end(cb?: () => void): this\n end(data: string | Buffer, cb?: () => void): this\n end(str: string, encoding?: BufferEncoding, cb?: () => void): this\n end(\n chunk?: string | Buffer | (() => void),\n encoding?: BufferEncoding | (() => void),\n cb?: () => void,\n ) {\n if (typeof chunk === 'function') {\n cb = chunk\n encoding = undefined\n chunk = undefined\n }\n if (typeof encoding === 'function') {\n cb = encoding\n encoding = undefined\n }\n if (typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding)\n }\n if (cb) this.once('finish', cb)\n if (!this[ABORTED]) {\n if (this[UNZIP]) {\n /* c8 ignore start */\n if (chunk) {\n this[COMPRESSEDBYTESREAD] += chunk.length\n this[UNZIP].write(chunk)\n }\n /* c8 ignore stop */\n this[UNZIP].end()\n } else {\n this[ENDED] = true\n if (this.brotli === undefined || this.zstd === undefined)\n chunk = chunk || Buffer.alloc(0)\n if (chunk) this.write(chunk)\n this[MAYBEEND]()\n }\n }\n return this\n }\n}\n"]}
@@ -0,0 +1,11 @@
1
+ export type Reservation = {
2
+ paths: string[];
3
+ dirs: Set<string>;
4
+ };
5
+ export type Handler = (clear: () => void) => void;
6
+ export declare class PathReservations {
7
+ #private;
8
+ reserve(paths: string[], fn: Handler): boolean;
9
+ check(fn: Handler): boolean;
10
+ }
11
+ //# sourceMappingURL=path-reservations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"path-reservations.d.ts","sourceRoot":"","sources":["../../src/path-reservations.ts"],"names":[],"mappings":"AAeA,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAA;AAmBjD,qBAAa,gBAAgB;;IAY3B,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,OAAO;IA8DpC,KAAK,CAAC,EAAE,EAAE,OAAO;CA8ElB"}
@@ -0,0 +1,166 @@
1
+ // A path exclusive reservation system
2
+ // reserve([list, of, paths], fn)
3
+ // When the fn is first in line for all its paths, it
4
+ // is called with a cb that clears the reservation.
5
+ //
6
+ // Used by async unpack to avoid clobbering paths in use,
7
+ // while still allowing maximal safe parallelization.
8
+ import { join } from 'node:path';
9
+ import { normalizeUnicode } from './normalize-unicode.js';
10
+ import { stripTrailingSlashes } from './strip-trailing-slashes.js';
11
+ const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
12
+ const isWindows = platform === 'win32';
13
+ // return a set of parent dirs for a given path
14
+ // '/a/b/c/d' -> ['/', '/a', '/a/b', '/a/b/c', '/a/b/c/d']
15
+ const getDirs = (path) => {
16
+ const dirs = path
17
+ .split('/')
18
+ .slice(0, -1)
19
+ .reduce((set, path) => {
20
+ const s = set.at(-1);
21
+ if (s !== undefined) {
22
+ path = join(s, path);
23
+ }
24
+ set.push(path || '/');
25
+ return set;
26
+ }, []);
27
+ return dirs;
28
+ };
29
+ export class PathReservations {
30
+ // path => [function or Set]
31
+ // A Set object means a directory reservation
32
+ // A fn is a direct reservation on that path
33
+ #queues = new Map();
34
+ // fn => {paths:[path,...], dirs:[path, ...]}
35
+ #reservations = new Map();
36
+ // functions currently running
37
+ #running = new Set();
38
+ reserve(paths, fn) {
39
+ paths =
40
+ isWindows ?
41
+ ['win32 parallelization disabled']
42
+ : paths.map(p => {
43
+ // don't need normPath, because we skip this entirely for windows
44
+ return stripTrailingSlashes(join(normalizeUnicode(p)));
45
+ });
46
+ const dirs = new Set(paths.map(path => getDirs(path)).reduce((a, b) => a.concat(b)));
47
+ this.#reservations.set(fn, { dirs, paths });
48
+ for (const p of paths) {
49
+ const q = this.#queues.get(p);
50
+ if (!q) {
51
+ this.#queues.set(p, [fn]);
52
+ }
53
+ else {
54
+ q.push(fn);
55
+ }
56
+ }
57
+ for (const dir of dirs) {
58
+ const q = this.#queues.get(dir);
59
+ if (!q) {
60
+ this.#queues.set(dir, [new Set([fn])]);
61
+ }
62
+ else {
63
+ const l = q.at(-1);
64
+ if (l instanceof Set) {
65
+ l.add(fn);
66
+ }
67
+ else {
68
+ q.push(new Set([fn]));
69
+ }
70
+ }
71
+ }
72
+ return this.#run(fn);
73
+ }
74
+ // return the queues for each path the function cares about
75
+ // fn => {paths, dirs}
76
+ #getQueues(fn) {
77
+ const res = this.#reservations.get(fn);
78
+ /* c8 ignore start */
79
+ if (!res) {
80
+ throw new Error('function does not have any path reservations');
81
+ }
82
+ /* c8 ignore stop */
83
+ return {
84
+ paths: res.paths.map((path) => this.#queues.get(path)),
85
+ dirs: [...res.dirs].map(path => this.#queues.get(path)),
86
+ };
87
+ }
88
+ // check if fn is first in line for all its paths, and is
89
+ // included in the first set for all its dir queues
90
+ check(fn) {
91
+ const { paths, dirs } = this.#getQueues(fn);
92
+ return (paths.every(q => q && q[0] === fn) &&
93
+ dirs.every(q => q && q[0] instanceof Set && q[0].has(fn)));
94
+ }
95
+ // run the function if it's first in line and not already running
96
+ #run(fn) {
97
+ if (this.#running.has(fn) || !this.check(fn)) {
98
+ return false;
99
+ }
100
+ this.#running.add(fn);
101
+ fn(() => this.#clear(fn));
102
+ return true;
103
+ }
104
+ #clear(fn) {
105
+ if (!this.#running.has(fn)) {
106
+ return false;
107
+ }
108
+ const res = this.#reservations.get(fn);
109
+ /* c8 ignore start */
110
+ if (!res) {
111
+ throw new Error('invalid reservation');
112
+ }
113
+ /* c8 ignore stop */
114
+ const { paths, dirs } = res;
115
+ const next = new Set();
116
+ for (const path of paths) {
117
+ const q = this.#queues.get(path);
118
+ /* c8 ignore start */
119
+ if (!q || q?.[0] !== fn) {
120
+ continue;
121
+ }
122
+ /* c8 ignore stop */
123
+ const q0 = q[1];
124
+ if (!q0) {
125
+ this.#queues.delete(path);
126
+ continue;
127
+ }
128
+ q.shift();
129
+ if (typeof q0 === 'function') {
130
+ next.add(q0);
131
+ }
132
+ else {
133
+ for (const f of q0) {
134
+ next.add(f);
135
+ }
136
+ }
137
+ }
138
+ for (const dir of dirs) {
139
+ const q = this.#queues.get(dir);
140
+ const q0 = q?.[0];
141
+ /* c8 ignore next - type safety only */
142
+ if (!q || !(q0 instanceof Set))
143
+ continue;
144
+ if (q0.size === 1 && q.length === 1) {
145
+ this.#queues.delete(dir);
146
+ continue;
147
+ }
148
+ else if (q0.size === 1) {
149
+ q.shift();
150
+ // next one must be a function,
151
+ // or else the Set would've been reused
152
+ const n = q[0];
153
+ if (typeof n === 'function') {
154
+ next.add(n);
155
+ }
156
+ }
157
+ else {
158
+ q0.delete(fn);
159
+ }
160
+ }
161
+ this.#running.delete(fn);
162
+ next.forEach(fn => this.#run(fn));
163
+ return true;
164
+ }
165
+ }
166
+ //# sourceMappingURL=path-reservations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"path-reservations.js","sourceRoot":"","sources":["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AC5B,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;gBACb,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;YACf,CAAC;QACH,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;QACxB,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAA;QACjC,OAAO,IAAI,CAAA;IACb,CAAC;CACF","sourcesContent":["// A path exclusive reservation system\n// reserve([list, of, paths], fn)\n// When the fn is first in line for all its paths, it\n// is called with a cb that clears the reservation.\n//\n// Used by async unpack to avoid clobbering paths in use,\n// while still allowing maximal safe parallelization.\n\nimport { join } from 'node:path'\nimport { normalizeUnicode } from './normalize-unicode.js'\nimport { stripTrailingSlashes } from './strip-trailing-slashes.js'\n\nconst platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform\nconst isWindows = platform === 'win32'\n\nexport type Reservation = {\n paths: string[]\n dirs: Set<string>\n}\n\nexport type Handler = (clear: () => void) => void\n\n// return a set of parent dirs for a given path\n// '/a/b/c/d' -> ['/', '/a', '/a/b', '/a/b/c', '/a/b/c/d']\nconst getDirs = (path: string) => {\n const dirs = path\n .split('/')\n .slice(0, -1)\n .reduce((set: string[], path) => {\n const s = set.at(-1)\n if (s !== undefined) {\n path = join(s, path)\n }\n set.push(path || '/')\n return set\n }, [])\n return dirs\n}\n\nexport class PathReservations {\n // path => [function or Set]\n // A Set object means a directory reservation\n // A fn is a direct reservation on that path\n #queues = new Map<string, (Handler | Set<Handler>)[]>()\n\n // fn => {paths:[path,...], dirs:[path, ...]}\n #reservations = new Map<Handler, Reservation>()\n\n // functions currently running\n #running = new Set<Handler>()\n\n reserve(paths: string[], fn: Handler) {\n paths =\n isWindows ?\n ['win32 parallelization disabled']\n : paths.map(p => {\n // don't need normPath, because we skip this entirely for windows\n return stripTrailingSlashes(join(normalizeUnicode(p)))\n })\n\n const dirs = new Set<string>(\n paths.map(path => getDirs(path)).reduce((a, b) => a.concat(b)),\n )\n this.#reservations.set(fn, { dirs, paths })\n for (const p of paths) {\n const q = this.#queues.get(p)\n if (!q) {\n this.#queues.set(p, [fn])\n } else {\n q.push(fn)\n }\n }\n for (const dir of dirs) {\n const q = this.#queues.get(dir)\n if (!q) {\n this.#queues.set(dir, [new Set([fn])])\n } else {\n const l = q.at(-1)\n if (l instanceof Set) {\n l.add(fn)\n } else {\n q.push(new Set([fn]))\n }\n }\n }\n return this.#run(fn)\n }\n\n // return the queues for each path the function cares about\n // fn => {paths, dirs}\n #getQueues(fn: Handler): {\n paths: Handler[][]\n dirs: (Handler | Set<Handler>)[][]\n } {\n const res = this.#reservations.get(fn)\n /* c8 ignore start */\n if (!res) {\n throw new Error('function does not have any path reservations')\n }\n /* c8 ignore stop */\n return {\n paths: res.paths.map((path: string) =>\n this.#queues.get(path),\n ) as Handler[][],\n dirs: [...res.dirs].map(path => this.#queues.get(path)) as (\n | Handler\n | Set<Handler>\n )[][],\n }\n }\n\n // check if fn is first in line for all its paths, and is\n // included in the first set for all its dir queues\n check(fn: Handler) {\n const { paths, dirs } = this.#getQueues(fn)\n return (\n paths.every(q => q && q[0] === fn) &&\n dirs.every(q => q && q[0] instanceof Set && q[0].has(fn))\n )\n }\n\n // run the function if it's first in line and not already running\n #run(fn: Handler) {\n if (this.#running.has(fn) || !this.check(fn)) {\n return false\n }\n this.#running.add(fn)\n fn(() => this.#clear(fn))\n return true\n }\n\n #clear(fn: Handler) {\n if (!this.#running.has(fn)) {\n return false\n }\n const res = this.#reservations.get(fn)\n /* c8 ignore start */\n if (!res) {\n throw new Error('invalid reservation')\n }\n /* c8 ignore stop */\n const { paths, dirs } = res\n\n const next = new Set<Handler>()\n for (const path of paths) {\n const q = this.#queues.get(path)\n /* c8 ignore start */\n if (!q || q?.[0] !== fn) {\n continue\n }\n /* c8 ignore stop */\n const q0 = q[1]\n if (!q0) {\n this.#queues.delete(path)\n continue\n }\n q.shift()\n if (typeof q0 === 'function') {\n next.add(q0)\n } else {\n for (const f of q0) {\n next.add(f)\n }\n }\n }\n\n for (const dir of dirs) {\n const q = this.#queues.get(dir)\n const q0 = q?.[0]\n /* c8 ignore next - type safety only */\n if (!q || !(q0 instanceof Set)) continue\n if (q0.size === 1 && q.length === 1) {\n this.#queues.delete(dir)\n continue\n } else if (q0.size === 1) {\n q.shift()\n // next one must be a function,\n // or else the Set would've been reused\n const n = q[0]\n if (typeof n === 'function') {\n next.add(n)\n }\n } else {\n q0.delete(fn)\n }\n }\n\n this.#running.delete(fn)\n next.forEach(fn => this.#run(fn))\n return true\n }\n}\n"]}
@@ -0,0 +1,26 @@
1
+ import type { HeaderData } from './header.js';
2
+ export declare class Pax implements HeaderData {
3
+ atime?: Date;
4
+ mtime?: Date;
5
+ ctime?: Date;
6
+ charset?: string;
7
+ comment?: string;
8
+ gid?: number;
9
+ uid?: number;
10
+ gname?: string;
11
+ uname?: string;
12
+ linkpath?: string;
13
+ dev?: number;
14
+ ino?: number;
15
+ nlink?: number;
16
+ path?: string;
17
+ size?: number;
18
+ mode?: number;
19
+ global: boolean;
20
+ constructor(obj: HeaderData, global?: boolean);
21
+ encode(): Buffer<ArrayBuffer>;
22
+ encodeBody(): string;
23
+ encodeField(field: keyof Pax): string;
24
+ static parse(str: string, ex?: HeaderData, g?: boolean): Pax;
25
+ }
26
+ //# sourceMappingURL=pax.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pax.d.ts","sourceRoot":"","sources":["../../src/pax.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAG7C,qBAAa,GAAI,YAAW,UAAU;IACpC,KAAK,CAAC,EAAE,IAAI,CAAA;IACZ,KAAK,CAAC,EAAE,IAAI,CAAA;IACZ,KAAK,CAAC,EAAE,IAAI,CAAA;IAEZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,MAAM,EAAE,OAAO,CAAA;gBAEH,GAAG,EAAE,UAAU,EAAE,MAAM,GAAE,OAAe;IAmBpD,MAAM;IAiDN,UAAU;IAoBV,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,MAAM;IA2BrC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,GAAE,OAAe;CAG9D"}
@@ -0,0 +1,178 @@
1
+ import { basename } from 'node:path';
2
+ import { Header } from './header.js';
3
+ export class Pax {
4
+ atime;
5
+ mtime;
6
+ ctime;
7
+ charset;
8
+ comment;
9
+ gid;
10
+ uid;
11
+ gname;
12
+ uname;
13
+ linkpath;
14
+ dev;
15
+ ino;
16
+ nlink;
17
+ path;
18
+ size;
19
+ mode;
20
+ global;
21
+ constructor(obj, global = false) {
22
+ this.atime = obj.atime;
23
+ this.charset = obj.charset;
24
+ this.comment = obj.comment;
25
+ this.ctime = obj.ctime;
26
+ this.dev = obj.dev;
27
+ this.gid = obj.gid;
28
+ this.global = global;
29
+ this.gname = obj.gname;
30
+ this.ino = obj.ino;
31
+ this.linkpath = obj.linkpath;
32
+ this.mtime = obj.mtime;
33
+ this.nlink = obj.nlink;
34
+ this.path = obj.path;
35
+ this.size = obj.size;
36
+ this.uid = obj.uid;
37
+ this.uname = obj.uname;
38
+ }
39
+ encode() {
40
+ const body = this.encodeBody();
41
+ if (body === '') {
42
+ return Buffer.allocUnsafe(0);
43
+ }
44
+ const bodyLen = Buffer.byteLength(body);
45
+ // round up to 512 bytes
46
+ // add 512 for header
47
+ const bufLen = 512 * Math.ceil(1 + bodyLen / 512);
48
+ const buf = Buffer.allocUnsafe(bufLen);
49
+ // 0-fill the header section, it might not hit every field
50
+ for (let i = 0; i < 512; i++) {
51
+ buf[i] = 0;
52
+ }
53
+ new Header({
54
+ // XXX split the path
55
+ // then the path should be PaxHeader + basename, but less than 99,
56
+ // prepend with the dirname
57
+ /* c8 ignore start */
58
+ path: ('PaxHeader/' + basename(this.path ?? '')).slice(0, 99),
59
+ /* c8 ignore stop */
60
+ mode: this.mode || 0o644,
61
+ uid: this.uid,
62
+ gid: this.gid,
63
+ size: bodyLen,
64
+ mtime: this.mtime,
65
+ type: this.global ? 'GlobalExtendedHeader' : 'ExtendedHeader',
66
+ linkpath: '',
67
+ uname: this.uname || '',
68
+ gname: this.gname || '',
69
+ devmaj: 0,
70
+ devmin: 0,
71
+ atime: this.atime,
72
+ ctime: this.ctime,
73
+ }).encode(buf);
74
+ buf.write(body, 512, bodyLen, 'utf8');
75
+ // null pad after the body
76
+ for (let i = bodyLen + 512; i < buf.length; i++) {
77
+ buf[i] = 0;
78
+ }
79
+ return buf;
80
+ }
81
+ encodeBody() {
82
+ return (this.encodeField('path') +
83
+ this.encodeField('ctime') +
84
+ this.encodeField('atime') +
85
+ this.encodeField('dev') +
86
+ this.encodeField('ino') +
87
+ this.encodeField('nlink') +
88
+ this.encodeField('charset') +
89
+ this.encodeField('comment') +
90
+ this.encodeField('gid') +
91
+ this.encodeField('gname') +
92
+ this.encodeField('linkpath') +
93
+ this.encodeField('mtime') +
94
+ this.encodeField('size') +
95
+ this.encodeField('uid') +
96
+ this.encodeField('uname'));
97
+ }
98
+ encodeField(field) {
99
+ if (this[field] === undefined) {
100
+ return '';
101
+ }
102
+ const r = this[field];
103
+ const v = r instanceof Date ? r.getTime() / 1000 : r;
104
+ const s = ' ' +
105
+ (field === 'dev' || field === 'ino' || field === 'nlink' ?
106
+ 'SCHILY.'
107
+ : '') +
108
+ field +
109
+ '=' +
110
+ v +
111
+ '\n';
112
+ const byteLen = Buffer.byteLength(s);
113
+ // the digits includes the length of the digits in ascii base-10
114
+ // so if it's 9 characters, then adding 1 for the 9 makes it 10
115
+ // which makes it 11 chars.
116
+ let digits = Math.floor(Math.log(byteLen) / Math.log(10)) + 1;
117
+ if (byteLen + digits >= Math.pow(10, digits)) {
118
+ digits += 1;
119
+ }
120
+ const len = digits + byteLen;
121
+ return len + s;
122
+ }
123
+ static parse(str, ex, g = false) {
124
+ return new Pax(merge(parseKV(str), ex), g);
125
+ }
126
+ }
127
+ const merge = (a, b) => b ? Object.assign({}, b, a) : a;
128
+ const parseKV = (str) => str
129
+ .replace(/\n$/, '')
130
+ .split('\n')
131
+ .reduce(parseKVLine, Object.create(null));
132
+ const parseKVLine = (set, line) => {
133
+ const n = parseInt(line, 10);
134
+ // XXX Values with \n in them will fail this.
135
+ // Refactor to not be a naive line-by-line parse.
136
+ if (n !== Buffer.byteLength(line) + 1) {
137
+ return set;
138
+ }
139
+ line = line.slice((n + ' ').length);
140
+ const kv = line.split('=');
141
+ const r = kv.shift();
142
+ if (!r) {
143
+ return set;
144
+ }
145
+ const k = r.replace(/^SCHILY\.(dev|ino|nlink)/, '$1');
146
+ const v = kv.join('=').replace(/\0.*/, '');
147
+ switch (k) {
148
+ case 'path':
149
+ case 'linkpath':
150
+ case 'type':
151
+ case 'charset':
152
+ case 'comment':
153
+ case 'gname':
154
+ case 'uname':
155
+ set[k] = v;
156
+ break;
157
+ case 'ctime':
158
+ case 'atime':
159
+ case 'mtime':
160
+ set[k] = new Date(Number(v) * 1000);
161
+ break;
162
+ case 'size':
163
+ const s = +v;
164
+ if (s >= 0)
165
+ set[k] = s;
166
+ break;
167
+ case 'gid':
168
+ case 'uid':
169
+ case 'dev':
170
+ case 'ino':
171
+ case 'nlink':
172
+ case 'mode':
173
+ set[k] = +v;
174
+ break;
175
+ }
176
+ return set;
177
+ };
178
+ //# sourceMappingURL=pax.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pax.js","sourceRoot":"","sources":["../../src/pax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,MAAM,OAAO,GAAG;IACd,KAAK,CAAO;IACZ,KAAK,CAAO;IACZ,KAAK,CAAO;IAEZ,OAAO,CAAS;IAChB,OAAO,CAAS;IAEhB,GAAG,CAAS;IACZ,GAAG,CAAS;IAEZ,KAAK,CAAS;IACd,KAAK,CAAS;IACd,QAAQ,CAAS;IACjB,GAAG,CAAS;IACZ,GAAG,CAAS;IACZ,KAAK,CAAS;IACd,IAAI,CAAS;IACb,IAAI,CAAS;IACb,IAAI,CAAS;IAEb,MAAM,CAAS;IAEf,YAAY,GAAe,EAAE,SAAkB,KAAK;QAClD,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAA;QAC1B,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAA;QAC1B,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;QACtB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAA;QAClB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAA;QAClB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;QACtB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAA;QAClB,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,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OAAO,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAA;IAErD,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;IAC1C,QAAQ,CAAC,EAAE,CAAC;QACV,KAAK,MAAM,CAAC;QACZ,KAAK,UAAU,CAAC;QAChB,KAAK,MAAM,CAAC;QACZ,KAAK,SAAS,CAAC;QACf,KAAK,SAAS,CAAC;QACf,KAAK,OAAO,CAAC;QACb,KAAK,OAAO;YACV,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;YACV,MAAK;QACP,KAAK,OAAO,CAAC;QACb,KAAK,OAAO,CAAC;QACb,KAAK,OAAO;YACV,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;YACnC,MAAK;QACP,KAAK,MAAM;YACT,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;YACZ,IAAI,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;YACtB,MAAK;QACP,KAAK,KAAK,CAAC;QACX,KAAK,KAAK,CAAC;QACX,KAAK,KAAK,CAAC;QACX,KAAK,KAAK,CAAC;QACX,KAAK,OAAO,CAAC;QACb,KAAK,MAAM;YACT,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;YACX,MAAK;IACT,CAAC;IACD,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA","sourcesContent":["import { basename } from 'node:path'\nimport type { HeaderData } from './header.js'\nimport { Header } from './header.js'\n\nexport class Pax implements HeaderData {\n atime?: Date\n mtime?: Date\n ctime?: Date\n\n charset?: string\n comment?: string\n\n gid?: number\n uid?: number\n\n gname?: string\n uname?: string\n linkpath?: string\n dev?: number\n ino?: number\n nlink?: number\n path?: string\n size?: number\n mode?: number\n\n global: boolean\n\n constructor(obj: HeaderData, global: boolean = false) {\n this.atime = obj.atime\n this.charset = obj.charset\n this.comment = obj.comment\n this.ctime = obj.ctime\n this.dev = obj.dev\n this.gid = obj.gid\n this.global = global\n this.gname = obj.gname\n this.ino = obj.ino\n this.linkpath = obj.linkpath\n this.mtime = obj.mtime\n this.nlink = obj.nlink\n this.path = obj.path\n this.size = obj.size\n this.uid = obj.uid\n this.uname = obj.uname\n }\n\n encode() {\n const body = this.encodeBody()\n if (body === '') {\n return Buffer.allocUnsafe(0)\n }\n\n const bodyLen = Buffer.byteLength(body)\n // round up to 512 bytes\n // add 512 for header\n const bufLen = 512 * Math.ceil(1 + bodyLen / 512)\n const buf = Buffer.allocUnsafe(bufLen)\n\n // 0-fill the header section, it might not hit every field\n for (let i = 0; i < 512; i++) {\n buf[i] = 0\n }\n\n new Header({\n // XXX split the path\n // then the path should be PaxHeader + basename, but less than 99,\n // prepend with the dirname\n /* c8 ignore start */\n path: ('PaxHeader/' + basename(this.path ?? '')).slice(0, 99),\n /* c8 ignore stop */\n mode: this.mode || 0o644,\n uid: this.uid,\n gid: this.gid,\n size: bodyLen,\n mtime: this.mtime,\n type: this.global ? 'GlobalExtendedHeader' : 'ExtendedHeader',\n linkpath: '',\n uname: this.uname || '',\n gname: this.gname || '',\n devmaj: 0,\n devmin: 0,\n atime: this.atime,\n ctime: this.ctime,\n }).encode(buf)\n\n buf.write(body, 512, bodyLen, 'utf8')\n\n // null pad after the body\n for (let i = bodyLen + 512; i < buf.length; i++) {\n buf[i] = 0\n }\n\n return buf\n }\n\n encodeBody() {\n return (\n this.encodeField('path') +\n this.encodeField('ctime') +\n this.encodeField('atime') +\n this.encodeField('dev') +\n this.encodeField('ino') +\n this.encodeField('nlink') +\n this.encodeField('charset') +\n this.encodeField('comment') +\n this.encodeField('gid') +\n this.encodeField('gname') +\n this.encodeField('linkpath') +\n this.encodeField('mtime') +\n this.encodeField('size') +\n this.encodeField('uid') +\n this.encodeField('uname')\n )\n }\n\n encodeField(field: keyof Pax): string {\n if (this[field] === undefined) {\n return ''\n }\n const r = this[field]\n const v = r instanceof Date ? r.getTime() / 1000 : r\n const s =\n ' ' +\n (field === 'dev' || field === 'ino' || field === 'nlink' ?\n 'SCHILY.'\n : '') +\n field +\n '=' +\n v +\n '\\n'\n const byteLen = Buffer.byteLength(s)\n // the digits includes the length of the digits in ascii base-10\n // so if it's 9 characters, then adding 1 for the 9 makes it 10\n // which makes it 11 chars.\n let digits = Math.floor(Math.log(byteLen) / Math.log(10)) + 1\n if (byteLen + digits >= Math.pow(10, digits)) {\n digits += 1\n }\n const len = digits + byteLen\n return len + s\n }\n\n static parse(str: string, ex?: HeaderData, g: boolean = false) {\n return new Pax(merge(parseKV(str), ex), g)\n }\n}\n\nconst merge = (a: HeaderData, b?: HeaderData) =>\n b ? Object.assign({}, b, a) : a\n\nconst parseKV = (str: string) =>\n str\n .replace(/\\n$/, '')\n .split('\\n')\n .reduce(parseKVLine, Object.create(null))\n\nconst parseKVLine = (\n set: Record<string, string | number | Date>,\n line: string,\n) => {\n const n = parseInt(line, 10)\n\n // XXX Values with \\n in them will fail this.\n // Refactor to not be a naive line-by-line parse.\n if (n !== Buffer.byteLength(line) + 1) {\n return set\n }\n\n line = line.slice((n + ' ').length)\n const kv = line.split('=')\n const r = kv.shift()\n\n if (!r) {\n return set\n }\n\n const k = r.replace(/^SCHILY\\.(dev|ino|nlink)/, '$1')\n\n const v = kv.join('=').replace(/\\0.*/, '')\n switch (k) {\n case 'path':\n case 'linkpath':\n case 'type':\n case 'charset':\n case 'comment':\n case 'gname':\n case 'uname':\n set[k] = v\n break\n case 'ctime':\n case 'atime':\n case 'mtime':\n set[k] = new Date(Number(v) * 1000)\n break\n case 'size':\n const s = +v\n if (s >= 0) set[k] = s\n break\n case 'gid':\n case 'uid':\n case 'dev':\n case 'ino':\n case 'nlink':\n case 'mode':\n set[k] = +v\n break\n }\n return set\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export declare const umask: () => number;
2
+ //# sourceMappingURL=process-umask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-umask.d.ts","sourceRoot":"","sources":["../../src/process-umask.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,KAAK,cAAwB,CAAA"}
@@ -0,0 +1,3 @@
1
+ // separate file so I stop getting nagged in vim about deprecated API.
2
+ export const umask = () => process.umask();
3
+ //# sourceMappingURL=process-umask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-umask.js","sourceRoot":"","sources":["../../src/process-umask.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA","sourcesContent":["// separate file so I stop getting nagged in vim about deprecated API.\nexport const umask = () => process.umask()\n"]}
@@ -0,0 +1,36 @@
1
+ import { Minipass } from 'minipass';
2
+ import type { Header } from './header.js';
3
+ import type { Pax } from './pax.js';
4
+ import type { EntryTypeName } from './types.js';
5
+ export declare class ReadEntry extends Minipass<Buffer, Buffer> {
6
+ #private;
7
+ extended?: Pax;
8
+ globalExtended?: Pax;
9
+ header: Header;
10
+ startBlockSize: number;
11
+ blockRemain: number;
12
+ remain: number;
13
+ type: EntryTypeName;
14
+ meta: boolean;
15
+ ignore: boolean;
16
+ path: string;
17
+ mode?: number;
18
+ uid?: number;
19
+ gid?: number;
20
+ uname?: string;
21
+ gname?: string;
22
+ size: number;
23
+ mtime?: Date;
24
+ atime?: Date;
25
+ ctime?: Date;
26
+ linkpath?: string;
27
+ dev?: number;
28
+ ino?: number;
29
+ nlink?: number;
30
+ invalid: boolean;
31
+ absolute?: string;
32
+ unsupported: boolean;
33
+ constructor(header: Header, ex?: Pax, gex?: Pax);
34
+ write(data: Buffer): boolean;
35
+ }
36
+ //# sourceMappingURL=read-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-entry.d.ts","sourceRoot":"","sources":["../../src/read-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EA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