@happier-dev/stack 0.1.0 → 0.2.0

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 (1922) hide show
  1. package/README.md +13 -9
  2. package/bin/happier.mjs +3 -0
  3. package/bin/hstack.mjs +96 -14
  4. package/docs/happy-development.md +2 -2
  5. package/docs/isolated-linux-vm.md +11 -3
  6. package/docs/mobile-ios.md +3 -1
  7. package/docs/paths-and-env.md +1 -1
  8. package/docs/remote-access.md +5 -2
  9. package/docs/stacks.md +2 -1
  10. package/docs/worktrees-and-forks.md +1 -1
  11. package/extras/swiftbar/hstack.5s.sh +38 -14
  12. package/extras/swiftbar/install.sh +12 -0
  13. package/extras/swiftbar/lib/system.sh +159 -7
  14. package/extras/swiftbar/lib/utils.sh +2 -2
  15. package/node_modules/@happier-dev/agents/dist/.tsbuildinfo +1 -0
  16. package/node_modules/@happier-dev/agents/dist/acp.d.ts +19 -0
  17. package/node_modules/@happier-dev/agents/dist/acp.d.ts.map +1 -0
  18. package/node_modules/@happier-dev/agents/dist/acp.js +37 -0
  19. package/node_modules/@happier-dev/agents/dist/acp.js.map +1 -0
  20. package/node_modules/@happier-dev/agents/dist/advancedModes.d.ts.map +1 -1
  21. package/node_modules/@happier-dev/agents/dist/advancedModes.js +4 -8
  22. package/node_modules/@happier-dev/agents/dist/advancedModes.js.map +1 -1
  23. package/node_modules/@happier-dev/agents/dist/auth.d.ts +16 -0
  24. package/node_modules/@happier-dev/agents/dist/auth.d.ts.map +1 -0
  25. package/node_modules/@happier-dev/agents/dist/auth.js +109 -0
  26. package/node_modules/@happier-dev/agents/dist/auth.js.map +1 -0
  27. package/node_modules/@happier-dev/agents/dist/backendTargets.d.ts +2 -0
  28. package/node_modules/@happier-dev/agents/dist/backendTargets.d.ts.map +1 -0
  29. package/node_modules/@happier-dev/agents/dist/backendTargets.js +2 -0
  30. package/node_modules/@happier-dev/agents/dist/backendTargets.js.map +1 -0
  31. package/node_modules/@happier-dev/agents/dist/index.d.ts +29 -4
  32. package/node_modules/@happier-dev/agents/dist/index.d.ts.map +1 -1
  33. package/node_modules/@happier-dev/agents/dist/index.js +28 -3
  34. package/node_modules/@happier-dev/agents/dist/index.js.map +1 -1
  35. package/node_modules/@happier-dev/agents/dist/localCli.d.ts +17 -0
  36. package/node_modules/@happier-dev/agents/dist/localCli.d.ts.map +1 -0
  37. package/node_modules/@happier-dev/agents/dist/localCli.js +107 -0
  38. package/node_modules/@happier-dev/agents/dist/localCli.js.map +1 -0
  39. package/node_modules/@happier-dev/agents/dist/localControl.d.ts +9 -0
  40. package/node_modules/@happier-dev/agents/dist/localControl.d.ts.map +1 -0
  41. package/node_modules/@happier-dev/agents/dist/localControl.js +16 -0
  42. package/node_modules/@happier-dev/agents/dist/localControl.js.map +1 -0
  43. package/node_modules/@happier-dev/agents/dist/manifest.d.ts +385 -31
  44. package/node_modules/@happier-dev/agents/dist/manifest.d.ts.map +1 -1
  45. package/node_modules/@happier-dev/agents/dist/manifest.js +200 -30
  46. package/node_modules/@happier-dev/agents/dist/manifest.js.map +1 -1
  47. package/node_modules/@happier-dev/agents/dist/models.d.ts +21 -0
  48. package/node_modules/@happier-dev/agents/dist/models.d.ts.map +1 -1
  49. package/node_modules/@happier-dev/agents/dist/models.js +170 -24
  50. package/node_modules/@happier-dev/agents/dist/models.js.map +1 -1
  51. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.d.ts +246 -14
  52. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.d.ts.map +1 -1
  53. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.js +222 -40
  54. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.js.map +1 -1
  55. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.d.ts +41 -8
  56. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.d.ts.map +1 -1
  57. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.js +43 -18
  58. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.js.map +1 -1
  59. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts +75 -0
  60. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts.map +1 -0
  61. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.js +120 -0
  62. package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.js.map +1 -0
  63. package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts +6 -4
  64. package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts.map +1 -1
  65. package/node_modules/@happier-dev/agents/dist/providerSettings/index.js +4 -3
  66. package/node_modules/@happier-dev/agents/dist/providerSettings/index.js.map +1 -1
  67. package/node_modules/@happier-dev/agents/dist/providerSettings/registry.d.ts +2 -1
  68. package/node_modules/@happier-dev/agents/dist/providerSettings/registry.d.ts.map +1 -1
  69. package/node_modules/@happier-dev/agents/dist/providerSettings/registry.js +8 -15
  70. package/node_modules/@happier-dev/agents/dist/providerSettings/registry.js.map +1 -1
  71. package/node_modules/@happier-dev/agents/dist/providerSettings/types.d.ts +2 -5
  72. package/node_modules/@happier-dev/agents/dist/providerSettings/types.d.ts.map +1 -1
  73. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts +6 -0
  74. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts.map +1 -0
  75. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js +30 -0
  76. package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js.map +1 -0
  77. package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts +3 -0
  78. package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts.map +1 -0
  79. package/node_modules/@happier-dev/agents/dist/providers/claude/index.js +3 -0
  80. package/node_modules/@happier-dev/agents/dist/providers/claude/index.js.map +1 -0
  81. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts +7 -0
  82. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts.map +1 -0
  83. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.js +8 -0
  84. package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.js.map +1 -0
  85. package/node_modules/@happier-dev/agents/dist/providers/index.d.ts +1 -0
  86. package/node_modules/@happier-dev/agents/dist/providers/index.d.ts.map +1 -1
  87. package/node_modules/@happier-dev/agents/dist/providers/index.js +1 -0
  88. package/node_modules/@happier-dev/agents/dist/providers/index.js.map +1 -1
  89. package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.d.ts +4 -0
  90. package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.d.ts.map +1 -0
  91. package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.js +56 -0
  92. package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.js.map +1 -0
  93. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts +36 -0
  94. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts.map +1 -0
  95. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js +212 -0
  96. package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js.map +1 -0
  97. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.d.ts +3 -0
  98. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.d.ts.map +1 -0
  99. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.js +24 -0
  100. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.js.map +1 -0
  101. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts +4 -0
  102. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts.map +1 -0
  103. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js +39 -0
  104. package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js.map +1 -0
  105. package/node_modules/@happier-dev/agents/dist/runtimeKinds.d.ts +30 -0
  106. package/node_modules/@happier-dev/agents/dist/runtimeKinds.d.ts.map +1 -0
  107. package/node_modules/@happier-dev/agents/dist/runtimeKinds.js +51 -0
  108. package/node_modules/@happier-dev/agents/dist/runtimeKinds.js.map +1 -0
  109. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts +87 -0
  110. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts.map +1 -0
  111. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js +151 -0
  112. package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js.map +1 -0
  113. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts +30 -0
  114. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts.map +1 -0
  115. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js +63 -0
  116. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js.map +1 -0
  117. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.d.ts +12 -0
  118. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.d.ts.map +1 -0
  119. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.js +80 -0
  120. package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.js.map +1 -0
  121. package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.d.ts +16 -0
  122. package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.d.ts.map +1 -0
  123. package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.js +57 -0
  124. package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.js.map +1 -0
  125. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts +13 -0
  126. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts.map +1 -0
  127. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js +41 -0
  128. package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js.map +1 -0
  129. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.d.ts +24 -0
  130. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.d.ts.map +1 -0
  131. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.js +56 -0
  132. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.js.map +1 -0
  133. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.d.ts +12 -0
  134. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.d.ts.map +1 -0
  135. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.js +48 -0
  136. package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.js.map +1 -0
  137. package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.d.ts +29 -0
  138. package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.d.ts.map +1 -0
  139. package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.js +87 -0
  140. package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.js.map +1 -0
  141. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.d.ts.map +1 -1
  142. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.js +23 -14
  143. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.js.map +1 -1
  144. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts +13 -0
  145. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts.map +1 -0
  146. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js +54 -0
  147. package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js.map +1 -0
  148. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.d.ts +18 -0
  149. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.d.ts.map +1 -0
  150. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.js +56 -0
  151. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.js.map +1 -0
  152. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts +16 -0
  153. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts.map +1 -0
  154. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js +79 -0
  155. package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js.map +1 -0
  156. package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts +11 -1
  157. package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts.map +1 -1
  158. package/node_modules/@happier-dev/agents/dist/sessionModes.js +42 -11
  159. package/node_modules/@happier-dev/agents/dist/sessionModes.js.map +1 -1
  160. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.d.ts +8 -0
  161. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.d.ts.map +1 -1
  162. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.js +60 -19
  163. package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.js.map +1 -1
  164. package/node_modules/@happier-dev/agents/dist/tools.d.ts +10 -0
  165. package/node_modules/@happier-dev/agents/dist/tools.d.ts.map +1 -0
  166. package/node_modules/@happier-dev/agents/dist/tools.js +14 -0
  167. package/node_modules/@happier-dev/agents/dist/tools.js.map +1 -0
  168. package/node_modules/@happier-dev/agents/dist/types.d.ts +53 -27
  169. package/node_modules/@happier-dev/agents/dist/types.d.ts.map +1 -1
  170. package/node_modules/@happier-dev/agents/dist/types.js +3 -10
  171. package/node_modules/@happier-dev/agents/dist/types.js.map +1 -1
  172. package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.d.ts +2 -0
  173. package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.d.ts.map +1 -0
  174. package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.js +36 -0
  175. package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.js.map +1 -0
  176. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.d.ts +4 -0
  177. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.d.ts.map +1 -1
  178. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.js +127 -60
  179. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.js.map +1 -1
  180. package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.d.ts +9 -0
  181. package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.d.ts.map +1 -0
  182. package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.js +88 -0
  183. package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.js.map +1 -0
  184. package/node_modules/@happier-dev/agents/package.json +0 -1
  185. package/node_modules/@happier-dev/cli-common/dist/.tsbuildinfo +1 -0
  186. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts +15 -0
  187. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts.map +1 -0
  188. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js +157 -0
  189. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js.map +1 -0
  190. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts +29 -0
  191. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts.map +1 -0
  192. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js +84 -0
  193. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js.map +1 -0
  194. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts +35 -0
  195. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts.map +1 -0
  196. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js +105 -0
  197. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js.map +1 -0
  198. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts +2 -0
  199. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts.map +1 -0
  200. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js +29 -0
  201. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js.map +1 -0
  202. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts +15 -0
  203. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts.map +1 -0
  204. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js +34 -0
  205. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js.map +1 -0
  206. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts +2 -0
  207. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts.map +1 -0
  208. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js +76 -0
  209. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js.map +1 -0
  210. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts +6 -0
  211. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts.map +1 -0
  212. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js +6 -0
  213. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js.map +1 -0
  214. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts +13 -0
  215. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts.map +1 -0
  216. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js +65 -0
  217. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js.map +1 -0
  218. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.d.ts +18 -0
  219. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.d.ts.map +1 -0
  220. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.js +30 -0
  221. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.js.map +1 -0
  222. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts +9 -0
  223. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts.map +1 -0
  224. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js +101 -0
  225. package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js.map +1 -0
  226. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts +93 -0
  227. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts.map +1 -0
  228. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.js +98 -0
  229. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.js.map +1 -0
  230. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.d.ts +6 -0
  231. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.d.ts.map +1 -0
  232. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js +40 -0
  233. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js.map +1 -0
  234. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts +30 -0
  235. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts.map +1 -0
  236. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js +18 -0
  237. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js.map +1 -0
  238. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.d.ts +28 -0
  239. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.d.ts.map +1 -0
  240. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js +35 -0
  241. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js.map +1 -0
  242. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts +12 -0
  243. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts.map +1 -0
  244. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js +37 -0
  245. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js.map +1 -0
  246. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.d.ts +9 -0
  247. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.d.ts.map +1 -0
  248. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.js +17 -0
  249. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.js.map +1 -0
  250. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts +28 -0
  251. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts.map +1 -0
  252. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js +186 -0
  253. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js.map +1 -0
  254. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts +2 -0
  255. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts.map +1 -0
  256. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js +151 -0
  257. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js.map +1 -0
  258. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts +16 -0
  259. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts.map +1 -0
  260. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js +65 -0
  261. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js.map +1 -0
  262. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts +17 -0
  263. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts.map +1 -0
  264. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js +26 -0
  265. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js.map +1 -0
  266. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.d.ts +96 -0
  267. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.d.ts.map +1 -0
  268. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js +163 -0
  269. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js.map +1 -0
  270. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts +2 -0
  271. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts.map +1 -0
  272. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js +145 -0
  273. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js.map +1 -0
  274. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts +16 -0
  275. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts.map +1 -0
  276. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js +191 -0
  277. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js.map +1 -0
  278. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.d.ts +17 -0
  279. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.d.ts.map +1 -0
  280. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.js +90 -0
  281. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.js.map +1 -0
  282. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts +2 -0
  283. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts.map +1 -0
  284. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js +96 -0
  285. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js.map +1 -0
  286. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts +18 -0
  287. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts.map +1 -0
  288. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js +24 -0
  289. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js.map +1 -0
  290. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.d.ts +11 -0
  291. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.d.ts.map +1 -0
  292. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.js +23 -0
  293. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.js.map +1 -0
  294. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.d.ts +13 -0
  295. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.d.ts.map +1 -0
  296. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.js +65 -0
  297. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.js.map +1 -0
  298. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts +4 -0
  299. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts.map +1 -0
  300. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.js +5 -0
  301. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.js.map +1 -0
  302. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts +14 -0
  303. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts.map +1 -0
  304. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js +114 -0
  305. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js.map +1 -0
  306. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts +12 -0
  307. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts.map +1 -0
  308. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js +24 -0
  309. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js.map +1 -0
  310. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.d.ts +7 -0
  311. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.d.ts.map +1 -0
  312. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js +13 -0
  313. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js.map +1 -0
  314. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts +11 -0
  315. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts.map +1 -0
  316. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js +31 -0
  317. package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js.map +1 -0
  318. package/node_modules/@happier-dev/cli-common/dist/index.d.ts +4 -0
  319. package/node_modules/@happier-dev/cli-common/dist/index.d.ts.map +1 -1
  320. package/node_modules/@happier-dev/cli-common/dist/index.js +4 -0
  321. package/node_modules/@happier-dev/cli-common/dist/index.js.map +1 -1
  322. package/node_modules/@happier-dev/cli-common/dist/links/index.d.ts.map +1 -1
  323. package/node_modules/@happier-dev/cli-common/dist/links/index.js +72 -8
  324. package/node_modules/@happier-dev/cli-common/dist/links/index.js.map +1 -1
  325. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.d.ts +5 -0
  326. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.d.ts.map +1 -0
  327. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js +24 -0
  328. package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js.map +1 -0
  329. package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts +4 -0
  330. package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts.map +1 -0
  331. package/node_modules/@happier-dev/cli-common/dist/process/index.js +3 -0
  332. package/node_modules/@happier-dev/cli-common/dist/process/index.js.map +1 -0
  333. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts +14 -0
  334. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts.map +1 -0
  335. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js +128 -0
  336. package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js.map +1 -0
  337. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts +9 -0
  338. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts.map +1 -0
  339. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js +72 -0
  340. package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js.map +1 -0
  341. package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.d.ts +5 -0
  342. package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.d.ts.map +1 -0
  343. package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.js +16 -0
  344. package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.js.map +1 -0
  345. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.d.ts +7 -0
  346. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.d.ts.map +1 -0
  347. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js +87 -0
  348. package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js.map +1 -0
  349. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts +7 -0
  350. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts.map +1 -0
  351. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js +37 -0
  352. package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js.map +1 -0
  353. package/node_modules/@happier-dev/cli-common/dist/providers/index.d.ts +9 -50
  354. package/node_modules/@happier-dev/cli-common/dist/providers/index.d.ts.map +1 -1
  355. package/node_modules/@happier-dev/cli-common/dist/providers/index.js +7 -128
  356. package/node_modules/@happier-dev/cli-common/dist/providers/index.js.map +1 -1
  357. package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts +70 -0
  358. package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts.map +1 -0
  359. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts +2 -0
  360. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts.map +1 -0
  361. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js +178 -0
  362. package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js.map +1 -0
  363. package/node_modules/@happier-dev/cli-common/dist/providers/install.js +444 -0
  364. package/node_modules/@happier-dev/cli-common/dist/providers/install.js.map +1 -0
  365. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.d.ts +25 -0
  366. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.d.ts.map +1 -0
  367. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js +279 -0
  368. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js.map +1 -0
  369. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts +2 -0
  370. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts.map +1 -0
  371. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js +119 -0
  372. package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js.map +1 -0
  373. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.d.ts +14 -0
  374. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.d.ts.map +1 -0
  375. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js +232 -0
  376. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js.map +1 -0
  377. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts +2 -0
  378. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts.map +1 -0
  379. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js +138 -0
  380. package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js.map +1 -0
  381. package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.d.ts +13 -0
  382. package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.d.ts.map +1 -0
  383. package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.js +109 -0
  384. package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.js.map +1 -0
  385. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.d.ts +11 -0
  386. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.d.ts.map +1 -0
  387. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js +68 -0
  388. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js.map +1 -0
  389. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts +2 -0
  390. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts.map +1 -0
  391. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js +44 -0
  392. package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js.map +1 -0
  393. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts +23 -0
  394. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts.map +1 -0
  395. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js +206 -0
  396. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js.map +1 -0
  397. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts +2 -0
  398. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts.map +1 -0
  399. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js +20 -0
  400. package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js.map +1 -0
  401. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.d.ts +2 -0
  402. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.d.ts.map +1 -0
  403. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js +23 -0
  404. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js.map +1 -0
  405. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts +2 -0
  406. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts.map +1 -0
  407. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js +19 -0
  408. package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js.map +1 -0
  409. package/node_modules/@happier-dev/cli-common/dist/relayHost/index.d.ts +2 -0
  410. package/node_modules/@happier-dev/cli-common/dist/relayHost/index.d.ts.map +1 -0
  411. package/node_modules/@happier-dev/cli-common/dist/relayHost/index.js +2 -0
  412. package/node_modules/@happier-dev/cli-common/dist/relayHost/index.js.map +1 -0
  413. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts +65 -0
  414. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts.map +1 -0
  415. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js +719 -0
  416. package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js.map +1 -0
  417. package/node_modules/@happier-dev/cli-common/dist/service/index.d.ts +1 -0
  418. package/node_modules/@happier-dev/cli-common/dist/service/index.d.ts.map +1 -1
  419. package/node_modules/@happier-dev/cli-common/dist/service/index.js +1 -0
  420. package/node_modules/@happier-dev/cli-common/dist/service/index.js.map +1 -1
  421. package/node_modules/@happier-dev/cli-common/dist/service/launchd.d.ts.map +1 -1
  422. package/node_modules/@happier-dev/cli-common/dist/service/launchd.js +2 -25
  423. package/node_modules/@happier-dev/cli-common/dist/service/launchd.js.map +1 -1
  424. package/node_modules/@happier-dev/cli-common/dist/service/manager.d.ts.map +1 -1
  425. package/node_modules/@happier-dev/cli-common/dist/service/manager.js +61 -19
  426. package/node_modules/@happier-dev/cli-common/dist/service/manager.js.map +1 -1
  427. package/node_modules/@happier-dev/cli-common/dist/service/path.d.ts +16 -0
  428. package/node_modules/@happier-dev/cli-common/dist/service/path.d.ts.map +1 -0
  429. package/node_modules/@happier-dev/cli-common/dist/service/path.js +86 -0
  430. package/node_modules/@happier-dev/cli-common/dist/service/path.js.map +1 -0
  431. package/node_modules/@happier-dev/cli-common/dist/service/systemd.d.ts.map +1 -1
  432. package/node_modules/@happier-dev/cli-common/dist/service/systemd.js +18 -10
  433. package/node_modules/@happier-dev/cli-common/dist/service/systemd.js.map +1 -1
  434. package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.d.ts +4 -0
  435. package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.d.ts.map +1 -0
  436. package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.js +72 -0
  437. package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.js.map +1 -0
  438. package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.d.ts +5 -0
  439. package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.d.ts.map +1 -0
  440. package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.js +5 -0
  441. package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.js.map +1 -0
  442. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.d.ts +56 -0
  443. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.d.ts.map +1 -0
  444. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.js +159 -0
  445. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.js.map +1 -0
  446. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts +2 -0
  447. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts.map +1 -0
  448. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js +177 -0
  449. package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js.map +1 -0
  450. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.d.ts +6 -0
  451. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.d.ts.map +1 -0
  452. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.js +6 -0
  453. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.js.map +1 -0
  454. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts +65 -0
  455. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts.map +1 -0
  456. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js +148 -0
  457. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js.map +1 -0
  458. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts +2 -0
  459. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts.map +1 -0
  460. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js +173 -0
  461. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js.map +1 -0
  462. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts +55 -0
  463. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts.map +1 -0
  464. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js +160 -0
  465. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js.map +1 -0
  466. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts +2 -0
  467. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts.map +1 -0
  468. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js +98 -0
  469. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js.map +1 -0
  470. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.d.ts +86 -0
  471. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.d.ts.map +1 -0
  472. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.js +303 -0
  473. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.js.map +1 -0
  474. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts +2 -0
  475. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts.map +1 -0
  476. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js +549 -0
  477. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js.map +1 -0
  478. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.d.ts +32 -0
  479. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.d.ts.map +1 -0
  480. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.js +109 -0
  481. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.js.map +1 -0
  482. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts +2 -0
  483. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts.map +1 -0
  484. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js +37 -0
  485. package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js.map +1 -0
  486. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.d.ts +25 -0
  487. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.d.ts.map +1 -0
  488. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.js +141 -0
  489. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.js.map +1 -0
  490. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts +2 -0
  491. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts.map +1 -0
  492. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js +243 -0
  493. package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js.map +1 -0
  494. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.d.ts +66 -0
  495. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.d.ts.map +1 -0
  496. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js +324 -0
  497. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js.map +1 -0
  498. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts +2 -0
  499. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts.map +1 -0
  500. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js +204 -0
  501. package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js.map +1 -0
  502. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts +6 -0
  503. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts.map +1 -0
  504. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js +6 -0
  505. package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js.map +1 -0
  506. package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.d.ts +20 -0
  507. package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.d.ts.map +1 -0
  508. package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.js +109 -0
  509. package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.js.map +1 -0
  510. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts +5 -0
  511. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts.map +1 -0
  512. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js +119 -0
  513. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js.map +1 -0
  514. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts +2 -0
  515. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts.map +1 -0
  516. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js +58 -0
  517. package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js.map +1 -0
  518. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts +11 -0
  519. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts.map +1 -0
  520. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js +63 -0
  521. package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js.map +1 -0
  522. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts +34 -0
  523. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts.map +1 -0
  524. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.js +21 -0
  525. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.js.map +1 -0
  526. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts +2 -0
  527. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts.map +1 -0
  528. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js +29 -0
  529. package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js.map +1 -0
  530. package/node_modules/@happier-dev/cli-common/dist/update/index.d.ts.map +1 -1
  531. package/node_modules/@happier-dev/cli-common/dist/update/index.js +23 -2
  532. package/node_modules/@happier-dev/cli-common/dist/update/index.js.map +1 -1
  533. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts +34 -0
  534. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts.map +1 -1
  535. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js +255 -17
  536. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js.map +1 -1
  537. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts +2 -0
  538. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts.map +1 -0
  539. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js +94 -0
  540. package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js.map +1 -0
  541. package/node_modules/@happier-dev/cli-common/package.json +33 -3
  542. package/node_modules/@happier-dev/connection-supervisor/README.md +3 -0
  543. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.d.ts +3 -0
  544. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.d.ts.map +1 -0
  545. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js +315 -0
  546. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js.map +1 -0
  547. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.d.ts +3 -0
  548. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.d.ts.map +1 -0
  549. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js +248 -0
  550. package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js.map +1 -0
  551. package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.d.ts +8 -0
  552. package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.d.ts.map +1 -0
  553. package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.js +8 -0
  554. package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.js.map +1 -0
  555. package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts +8 -0
  556. package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts.map +1 -0
  557. package/node_modules/@happier-dev/connection-supervisor/dist/index.js +6 -0
  558. package/node_modules/@happier-dev/connection-supervisor/dist/index.js.map +1 -0
  559. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.d.ts +7 -0
  560. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.d.ts.map +1 -0
  561. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js +14 -0
  562. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js.map +1 -0
  563. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts +88 -0
  564. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts.map +1 -0
  565. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.js +2 -0
  566. package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.js.map +1 -0
  567. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts +23 -0
  568. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts.map +1 -0
  569. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.js +2 -0
  570. package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.js.map +1 -0
  571. package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.d.ts +8 -0
  572. package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.d.ts.map +1 -0
  573. package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.js +14 -0
  574. package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.js.map +1 -0
  575. package/node_modules/@happier-dev/connection-supervisor/package.json +16 -0
  576. package/node_modules/@happier-dev/protocol/dist/.tsbuildinfo +1 -0
  577. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts +488 -0
  578. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts.map +1 -0
  579. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js +130 -0
  580. package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js.map +1 -0
  581. package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts +4 -0
  582. package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts.map +1 -1
  583. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts +154 -9
  584. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts.map +1 -1
  585. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js +144 -4
  586. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js.map +1 -1
  587. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts +613 -0
  588. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts.map +1 -0
  589. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.js +27 -0
  590. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.js.map +1 -0
  591. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts +201 -0
  592. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts.map +1 -0
  593. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js +13 -0
  594. package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js.map +1 -0
  595. package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts +3 -1
  596. package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts.map +1 -1
  597. package/node_modules/@happier-dev/protocol/dist/account/settings/index.js +3 -1
  598. package/node_modules/@happier-dev/protocol/dist/account/settings/index.js.map +1 -1
  599. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts +115 -0
  600. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts.map +1 -0
  601. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js +68 -0
  602. package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js.map +1 -0
  603. package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.d.ts +222 -0
  604. package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.d.ts.map +1 -0
  605. package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.js +87 -0
  606. package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.js.map +1 -0
  607. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts +13 -0
  608. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts.map +1 -0
  609. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js +17 -0
  610. package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js.map +1 -0
  611. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts +52 -0
  612. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts.map +1 -0
  613. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js +146 -0
  614. package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js.map +1 -0
  615. package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.d.ts +2 -0
  616. package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.d.ts.map +1 -1
  617. package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.js +129 -5
  618. package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.js.map +1 -1
  619. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts +180 -5
  620. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts.map +1 -1
  621. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js +1183 -268
  622. package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js.map +1 -1
  623. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts +31 -4
  624. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts.map +1 -1
  625. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js +40 -3
  626. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js.map +1 -1
  627. package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.d.ts +2 -1
  628. package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.d.ts.map +1 -1
  629. package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.js +8 -6
  630. package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.js.map +1 -1
  631. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.d.ts +9 -0
  632. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.d.ts.map +1 -0
  633. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js +279 -0
  634. package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js.map +1 -0
  635. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts +38 -13
  636. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts.map +1 -1
  637. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js +21 -6
  638. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js.map +1 -1
  639. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts +52 -5
  640. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts.map +1 -1
  641. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js +1340 -130
  642. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js.map +1 -1
  643. package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.d.ts +3 -0
  644. package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.d.ts.map +1 -0
  645. package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.js +14 -0
  646. package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.js.map +1 -0
  647. package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts +8 -2
  648. package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts.map +1 -1
  649. package/node_modules/@happier-dev/protocol/dist/actions/index.js +7 -2
  650. package/node_modules/@happier-dev/protocol/dist/actions/index.js.map +1 -1
  651. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.d.ts +8 -0
  652. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.d.ts.map +1 -0
  653. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js +17 -0
  654. package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js.map +1 -0
  655. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts +61 -0
  656. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts.map +1 -0
  657. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js +63 -0
  658. package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js.map +1 -0
  659. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts +139 -0
  660. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts.map +1 -0
  661. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js +71 -0
  662. package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js.map +1 -0
  663. package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.d.ts +1 -0
  664. package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.d.ts.map +1 -1
  665. package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.js +1 -0
  666. package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.js.map +1 -1
  667. package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.d.ts +30 -0
  668. package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.d.ts.map +1 -0
  669. package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.js +31 -0
  670. package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.js.map +1 -0
  671. package/node_modules/@happier-dev/protocol/dist/capabilities.d.ts +1 -0
  672. package/node_modules/@happier-dev/protocol/dist/capabilities.d.ts.map +1 -1
  673. package/node_modules/@happier-dev/protocol/dist/checklists.d.ts +1 -1
  674. package/node_modules/@happier-dev/protocol/dist/checklists.d.ts.map +1 -1
  675. package/node_modules/@happier-dev/protocol/dist/checklists.js.map +1 -1
  676. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts +6 -0
  677. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts.map +1 -1
  678. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js +6 -0
  679. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js.map +1 -1
  680. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts +8 -0
  681. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts.map +1 -1
  682. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js +2 -0
  683. package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js.map +1 -1
  684. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.d.ts.map +1 -1
  685. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js +5 -23
  686. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js.map +1 -1
  687. package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.d.ts +2 -0
  688. package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.d.ts.map +1 -0
  689. package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.js +28 -0
  690. package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.js.map +1 -0
  691. package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.d.ts +3 -0
  692. package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.d.ts.map +1 -0
  693. package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.js +43 -0
  694. package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.js.map +1 -0
  695. package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.d.ts +40 -0
  696. package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.d.ts.map +1 -0
  697. package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.js +281 -0
  698. package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.js.map +1 -0
  699. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts +78 -31
  700. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts.map +1 -1
  701. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js +7 -4
  702. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js.map +1 -1
  703. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts +224 -0
  704. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts.map +1 -0
  705. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js +103 -0
  706. package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js.map +1 -0
  707. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts +99 -0
  708. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts.map +1 -0
  709. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js +111 -0
  710. package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js.map +1 -0
  711. package/node_modules/@happier-dev/protocol/dist/diff/splitUnifiedDiffByFile.d.ts.map +1 -1
  712. package/node_modules/@happier-dev/protocol/dist/diff/splitUnifiedDiffByFile.js +34 -16
  713. package/node_modules/@happier-dev/protocol/dist/diff/splitUnifiedDiffByFile.js.map +1 -1
  714. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts +379 -0
  715. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts.map +1 -0
  716. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js +246 -0
  717. package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js.map +1 -0
  718. package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.d.ts +40 -0
  719. package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.d.ts.map +1 -1
  720. package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.js +11 -0
  721. package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.js.map +1 -1
  722. package/node_modules/@happier-dev/protocol/dist/ephemeralTasks.d.ts +2 -2
  723. package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.d.ts +29 -0
  724. package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.d.ts.map +1 -0
  725. package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.js +16 -0
  726. package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.js.map +1 -0
  727. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts +205 -0
  728. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts.map +1 -0
  729. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js +96 -0
  730. package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js.map +1 -0
  731. package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts +211 -127
  732. package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts.map +1 -1
  733. package/node_modules/@happier-dev/protocol/dist/executionRuns.js +15 -63
  734. package/node_modules/@happier-dev/protocol/dist/executionRuns.js.map +1 -1
  735. package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts +115 -19
  736. package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts.map +1 -1
  737. package/node_modules/@happier-dev/protocol/dist/features/catalog.js +115 -19
  738. package/node_modules/@happier-dev/protocol/dist/features/catalog.js.map +1 -1
  739. package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts +22 -6
  740. package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts.map +1 -1
  741. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.d.ts +4 -4
  742. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js +4 -4
  743. package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js.map +1 -1
  744. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.d.ts +64 -0
  745. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.d.ts.map +1 -1
  746. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.js +57 -0
  747. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.js.map +1 -1
  748. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts +146 -0
  749. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts.map +1 -1
  750. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js +9 -0
  751. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js.map +1 -1
  752. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.d.ts +13 -0
  753. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.d.ts.map +1 -1
  754. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.js +5 -0
  755. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.js.map +1 -1
  756. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.d.ts +18 -0
  757. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.d.ts.map +1 -0
  758. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.js +39 -0
  759. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.js.map +1 -0
  760. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts +93 -0
  761. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts.map +1 -0
  762. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.js +12 -0
  763. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.js.map +1 -0
  764. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts +101 -0
  765. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts.map +1 -0
  766. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js +39 -0
  767. package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js.map +1 -0
  768. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts +42 -0
  769. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts.map +1 -1
  770. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js +64 -0
  771. package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js.map +1 -1
  772. package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts +188 -0
  773. package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts.map +1 -1
  774. package/node_modules/@happier-dev/protocol/dist/features.d.ts +1 -0
  775. package/node_modules/@happier-dev/protocol/dist/features.d.ts.map +1 -1
  776. package/node_modules/@happier-dev/protocol/dist/features.js +1 -0
  777. package/node_modules/@happier-dev/protocol/dist/features.js.map +1 -1
  778. package/node_modules/@happier-dev/protocol/dist/index.d.ts +94 -8
  779. package/node_modules/@happier-dev/protocol/dist/index.d.ts.map +1 -1
  780. package/node_modules/@happier-dev/protocol/dist/index.js +94 -8
  781. package/node_modules/@happier-dev/protocol/dist/index.js.map +1 -1
  782. package/node_modules/@happier-dev/protocol/dist/installables.d.ts +5 -25
  783. package/node_modules/@happier-dev/protocol/dist/installables.d.ts.map +1 -1
  784. package/node_modules/@happier-dev/protocol/dist/installables.js +3 -17
  785. package/node_modules/@happier-dev/protocol/dist/installables.js.map +1 -1
  786. package/node_modules/@happier-dev/protocol/dist/installablesPolicy.d.ts +18 -0
  787. package/node_modules/@happier-dev/protocol/dist/installablesPolicy.d.ts.map +1 -0
  788. package/node_modules/@happier-dev/protocol/dist/installablesPolicy.js +58 -0
  789. package/node_modules/@happier-dev/protocol/dist/installablesPolicy.js.map +1 -0
  790. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts +20 -0
  791. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts.map +1 -0
  792. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js +12 -0
  793. package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js.map +1 -0
  794. package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.d.ts +60 -0
  795. package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.d.ts.map +1 -0
  796. package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.js +43 -0
  797. package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.js.map +1 -0
  798. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts +109 -0
  799. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts.map +1 -0
  800. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js +117 -0
  801. package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js.map +1 -0
  802. package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.d.ts +4 -0
  803. package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.d.ts.map +1 -0
  804. package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.js +22 -0
  805. package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.js.map +1 -0
  806. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts +237 -0
  807. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts.map +1 -0
  808. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.js +112 -0
  809. package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.js.map +1 -0
  810. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts +226 -0
  811. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts.map +1 -0
  812. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.js +88 -0
  813. package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.js.map +1 -0
  814. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.d.ts +19 -0
  815. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.d.ts.map +1 -0
  816. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.js +22 -0
  817. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.js.map +1 -0
  818. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.d.ts +34 -0
  819. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.d.ts.map +1 -0
  820. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.js +100 -0
  821. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.js.map +1 -0
  822. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.d.ts +21 -0
  823. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.d.ts.map +1 -0
  824. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.js +190 -0
  825. package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.js.map +1 -0
  826. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts +21 -0
  827. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts.map +1 -0
  828. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js +50 -0
  829. package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js.map +1 -0
  830. package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.d.ts +206 -0
  831. package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.d.ts.map +1 -0
  832. package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.js +143 -0
  833. package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.js.map +1 -0
  834. package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.d.ts +16 -0
  835. package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.d.ts.map +1 -0
  836. package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.js +61 -0
  837. package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.js.map +1 -0
  838. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts +161 -9
  839. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts.map +1 -1
  840. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js +112 -3
  841. package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js.map +1 -1
  842. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts +41 -0
  843. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts.map +1 -0
  844. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js +24 -0
  845. package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js.map +1 -0
  846. package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.d.ts +11 -0
  847. package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.d.ts.map +1 -0
  848. package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.js +41 -0
  849. package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.js.map +1 -0
  850. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts +105 -0
  851. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts.map +1 -0
  852. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js +110 -0
  853. package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js.map +1 -0
  854. package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.d.ts +4 -0
  855. package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.d.ts.map +1 -0
  856. package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.js +15 -0
  857. package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.js.map +1 -0
  858. package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.d.ts +2 -0
  859. package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.d.ts.map +1 -0
  860. package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.js +2 -0
  861. package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.js.map +1 -0
  862. package/node_modules/@happier-dev/protocol/dist/profiles/index.d.ts +7 -0
  863. package/node_modules/@happier-dev/protocol/dist/profiles/index.d.ts.map +1 -0
  864. package/node_modules/@happier-dev/protocol/dist/profiles/index.js +7 -0
  865. package/node_modules/@happier-dev/protocol/dist/profiles/index.js.map +1 -0
  866. package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.d.ts +5 -0
  867. package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.d.ts.map +1 -0
  868. package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.js +17 -0
  869. package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.js.map +1 -0
  870. package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.d.ts +5 -0
  871. package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.d.ts.map +1 -0
  872. package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.js +21 -0
  873. package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.js.map +1 -0
  874. package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.d.ts +25 -0
  875. package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.d.ts.map +1 -0
  876. package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.js +47 -0
  877. package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.js.map +1 -0
  878. package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.d.ts +57 -0
  879. package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.d.ts.map +1 -0
  880. package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.js +97 -0
  881. package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.js.map +1 -0
  882. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.d.ts +457 -0
  883. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.d.ts.map +1 -0
  884. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.js +174 -0
  885. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.js.map +1 -0
  886. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.d.ts +50 -0
  887. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.d.ts.map +1 -0
  888. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.js +104 -0
  889. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.js.map +1 -0
  890. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.d.ts +23 -0
  891. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.d.ts.map +1 -0
  892. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.js +21 -0
  893. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.js.map +1 -0
  894. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.d.ts +55 -0
  895. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.d.ts.map +1 -0
  896. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.js +22 -0
  897. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.js.map +1 -0
  898. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.d.ts +17 -0
  899. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.d.ts.map +1 -0
  900. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.js +11 -0
  901. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.js.map +1 -0
  902. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts +62 -0
  903. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts.map +1 -0
  904. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js +31 -0
  905. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js.map +1 -0
  906. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.d.ts +4 -0
  907. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.d.ts.map +1 -0
  908. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.js +23 -0
  909. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.js.map +1 -0
  910. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.d.ts +9 -0
  911. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.d.ts.map +1 -0
  912. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.js +8 -0
  913. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.js.map +1 -0
  914. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.d.ts +304 -0
  915. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.d.ts.map +1 -0
  916. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.js +130 -0
  917. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.js.map +1 -0
  918. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.d.ts +110 -0
  919. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.d.ts.map +1 -0
  920. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.js +31 -0
  921. package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.js.map +1 -0
  922. package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.d.ts +8 -0
  923. package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.d.ts.map +1 -0
  924. package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.js +89 -0
  925. package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.js.map +1 -0
  926. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts +14 -0
  927. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts.map +1 -0
  928. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js +98 -0
  929. package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js.map +1 -0
  930. package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.d.ts +12 -0
  931. package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.d.ts.map +1 -0
  932. package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.js +32 -0
  933. package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.js.map +1 -0
  934. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts +23 -0
  935. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts.map +1 -0
  936. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js +152 -0
  937. package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js.map +1 -0
  938. package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.d.ts +8 -0
  939. package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.d.ts.map +1 -0
  940. package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.js +10 -0
  941. package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.js.map +1 -0
  942. package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.d.ts +3 -0
  943. package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.d.ts.map +1 -0
  944. package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.js +18 -0
  945. package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.js.map +1 -0
  946. package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.d.ts +25 -0
  947. package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.d.ts.map +1 -0
  948. package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.js +54 -0
  949. package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.js.map +1 -0
  950. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts +2 -0
  951. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts.map +1 -0
  952. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js +46 -0
  953. package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js.map +1 -0
  954. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts +9 -0
  955. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts.map +1 -0
  956. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js +6 -0
  957. package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js.map +1 -0
  958. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.d.ts +3 -0
  959. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.d.ts.map +1 -0
  960. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js +69 -0
  961. package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js.map +1 -0
  962. package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.d.ts +2 -0
  963. package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.d.ts.map +1 -0
  964. package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.js +2 -0
  965. package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.js.map +1 -0
  966. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts +4 -0
  967. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts.map +1 -0
  968. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.js +15 -0
  969. package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.js.map +1 -0
  970. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.d.ts +3 -0
  971. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.d.ts.map +1 -0
  972. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js +65 -0
  973. package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js.map +1 -0
  974. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts +7 -0
  975. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts.map +1 -0
  976. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.js +6 -0
  977. package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.js.map +1 -0
  978. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.d.ts +3 -0
  979. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.d.ts.map +1 -0
  980. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js +60 -0
  981. package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js.map +1 -0
  982. package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.d.ts +3 -0
  983. package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.d.ts.map +1 -0
  984. package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.js +3 -0
  985. package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.js.map +1 -0
  986. package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.d.ts +3 -0
  987. package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.d.ts.map +1 -0
  988. package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.js +11 -0
  989. package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.js.map +1 -0
  990. package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.d.ts +12 -0
  991. package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.d.ts.map +1 -0
  992. package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.js +57 -0
  993. package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.js.map +1 -0
  994. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts +15 -0
  995. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts.map +1 -0
  996. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.js +15 -0
  997. package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.js.map +1 -0
  998. package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.d.ts +14 -0
  999. package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.d.ts.map +1 -0
  1000. package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.js +20 -0
  1001. package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.js.map +1 -0
  1002. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.d.ts +8 -0
  1003. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.d.ts.map +1 -0
  1004. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.js +7 -0
  1005. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.js.map +1 -0
  1006. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.d.ts +3 -0
  1007. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.d.ts.map +1 -1
  1008. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.js +3 -0
  1009. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.js.map +1 -1
  1010. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.d.ts +19 -0
  1011. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.d.ts.map +1 -0
  1012. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.js +13 -0
  1013. package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.js.map +1 -0
  1014. package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.d.ts +9 -0
  1015. package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.d.ts.map +1 -0
  1016. package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.js +8 -0
  1017. package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.js.map +1 -0
  1018. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.d.ts.map +1 -1
  1019. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js +3 -1
  1020. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js.map +1 -1
  1021. package/node_modules/@happier-dev/protocol/dist/rpc.d.ts +71 -0
  1022. package/node_modules/@happier-dev/protocol/dist/rpc.d.ts.map +1 -1
  1023. package/node_modules/@happier-dev/protocol/dist/rpc.js +71 -0
  1024. package/node_modules/@happier-dev/protocol/dist/rpc.js.map +1 -1
  1025. package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts +7 -2
  1026. package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts.map +1 -1
  1027. package/node_modules/@happier-dev/protocol/dist/rpcErrors.js +25 -15
  1028. package/node_modules/@happier-dev/protocol/dist/rpcErrors.js.map +1 -1
  1029. package/node_modules/@happier-dev/protocol/dist/scm.d.ts +123 -16
  1030. package/node_modules/@happier-dev/protocol/dist/scm.d.ts.map +1 -1
  1031. package/node_modules/@happier-dev/protocol/dist/scm.js +43 -2
  1032. package/node_modules/@happier-dev/protocol/dist/scm.js.map +1 -1
  1033. package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts +183 -0
  1034. package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts.map +1 -0
  1035. package/node_modules/@happier-dev/protocol/dist/scmBranches.js +51 -0
  1036. package/node_modules/@happier-dev/protocol/dist/scmBranches.js.map +1 -0
  1037. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.d.ts.map +1 -1
  1038. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js +24 -3
  1039. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js.map +1 -1
  1040. package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts +209 -0
  1041. package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts.map +1 -0
  1042. package/node_modules/@happier-dev/protocol/dist/scmStash.js +63 -0
  1043. package/node_modules/@happier-dev/protocol/dist/scmStash.js.map +1 -0
  1044. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts +140 -0
  1045. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts.map +1 -0
  1046. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.js +30 -0
  1047. package/node_modules/@happier-dev/protocol/dist/scmWorktrees.js.map +1 -0
  1048. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts +6 -6
  1049. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts +2 -0
  1050. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts.map +1 -0
  1051. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js +2 -0
  1052. package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js.map +1 -0
  1053. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts +8 -0
  1054. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts.map +1 -0
  1055. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js +61 -0
  1056. package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js.map +1 -0
  1057. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts +8 -0
  1058. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts.map +1 -0
  1059. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.js +7 -0
  1060. package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.js.map +1 -0
  1061. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts +17 -0
  1062. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts.map +1 -0
  1063. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js +30 -0
  1064. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js.map +1 -0
  1065. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts +3 -0
  1066. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts.map +1 -0
  1067. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.js +7 -0
  1068. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.js.map +1 -0
  1069. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts +446 -0
  1070. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts.map +1 -0
  1071. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js +424 -0
  1072. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js.map +1 -0
  1073. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts +32 -0
  1074. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts.map +1 -0
  1075. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.js +4 -0
  1076. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.js.map +1 -0
  1077. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts +523 -0
  1078. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts.map +1 -0
  1079. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js +15 -0
  1080. package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js.map +1 -0
  1081. package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.d.ts +6 -0
  1082. package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.d.ts.map +1 -0
  1083. package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.js +5 -0
  1084. package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.js.map +1 -0
  1085. package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.d.ts +7 -0
  1086. package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.d.ts.map +1 -0
  1087. package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.js +66 -0
  1088. package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.js.map +1 -0
  1089. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.d.ts +7 -0
  1090. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.d.ts.map +1 -0
  1091. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js +45 -0
  1092. package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js.map +1 -0
  1093. package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.d.ts +7 -0
  1094. package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.d.ts.map +1 -0
  1095. package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.js +10 -0
  1096. package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.js.map +1 -0
  1097. package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.d.ts +399 -0
  1098. package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.d.ts.map +1 -0
  1099. package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.js +84 -0
  1100. package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.js.map +1 -0
  1101. package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.d.ts +66 -0
  1102. package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.d.ts.map +1 -0
  1103. package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.js +2 -0
  1104. package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.js.map +1 -0
  1105. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts +36 -1
  1106. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts.map +1 -1
  1107. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js +5 -2
  1108. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js.map +1 -1
  1109. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts +359 -69
  1110. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts.map +1 -1
  1111. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js +14 -0
  1112. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js.map +1 -1
  1113. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts +7 -0
  1114. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts.map +1 -0
  1115. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js +6 -0
  1116. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js.map +1 -0
  1117. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts +807 -0
  1118. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts.map +1 -0
  1119. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js +206 -0
  1120. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js.map +1 -0
  1121. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts +175 -0
  1122. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts.map +1 -0
  1123. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.js +128 -0
  1124. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.js.map +1 -0
  1125. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts +70 -0
  1126. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts.map +1 -0
  1127. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js +16 -0
  1128. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js.map +1 -0
  1129. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.d.ts +14 -0
  1130. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.d.ts.map +1 -0
  1131. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.js +125 -0
  1132. package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.js.map +1 -0
  1133. package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts +60 -0
  1134. package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts.map +1 -0
  1135. package/node_modules/@happier-dev/protocol/dist/sessionFork.js +27 -0
  1136. package/node_modules/@happier-dev/protocol/dist/sessionFork.js.map +1 -0
  1137. package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.d.ts +4 -0
  1138. package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.d.ts.map +1 -0
  1139. package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.js +37 -0
  1140. package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.js.map +1 -0
  1141. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.d.ts +2 -2
  1142. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.d.ts.map +1 -1
  1143. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.js +17 -2
  1144. package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.js.map +1 -1
  1145. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts +404 -0
  1146. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts.map +1 -0
  1147. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js +373 -0
  1148. package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js.map +1 -0
  1149. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.d.ts +21 -0
  1150. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.d.ts.map +1 -0
  1151. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.js +26 -0
  1152. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.js.map +1 -0
  1153. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts +126 -0
  1154. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts.map +1 -0
  1155. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js +201 -0
  1156. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js.map +1 -0
  1157. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts +26 -4
  1158. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts.map +1 -1
  1159. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.js +24 -2
  1160. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.js.map +1 -1
  1161. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.d.ts +61 -0
  1162. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.d.ts.map +1 -0
  1163. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.js +40 -0
  1164. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.js.map +1 -0
  1165. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts +28 -0
  1166. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts.map +1 -1
  1167. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js +13 -2
  1168. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js.map +1 -1
  1169. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts +9 -0
  1170. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts.map +1 -0
  1171. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.js +4 -0
  1172. package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.js.map +1 -0
  1173. package/node_modules/@happier-dev/protocol/dist/sessionRollback.d.ts +34 -0
  1174. package/node_modules/@happier-dev/protocol/dist/sessionRollback.d.ts.map +1 -0
  1175. package/node_modules/@happier-dev/protocol/dist/sessionRollback.js +33 -0
  1176. package/node_modules/@happier-dev/protocol/dist/sessionRollback.js.map +1 -0
  1177. package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.d.ts +19 -0
  1178. package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.d.ts.map +1 -0
  1179. package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.js +35 -0
  1180. package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.js.map +1 -0
  1181. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts +18 -0
  1182. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts.map +1 -0
  1183. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js +20 -0
  1184. package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js.map +1 -0
  1185. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.d.ts +20 -0
  1186. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.d.ts.map +1 -0
  1187. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.js +88 -0
  1188. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.js.map +1 -0
  1189. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.d.ts +43 -0
  1190. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.d.ts.map +1 -0
  1191. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.js +4 -0
  1192. package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.js.map +1 -0
  1193. package/node_modules/@happier-dev/protocol/dist/social/friends.d.ts +22 -22
  1194. package/node_modules/@happier-dev/protocol/dist/social/friends.d.ts.map +1 -1
  1195. package/node_modules/@happier-dev/protocol/dist/social/friends.js +2 -1
  1196. package/node_modules/@happier-dev/protocol/dist/social/friends.js.map +1 -1
  1197. package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts +1 -0
  1198. package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts.map +1 -1
  1199. package/node_modules/@happier-dev/protocol/dist/socketRpc.js +1 -0
  1200. package/node_modules/@happier-dev/protocol/dist/socketRpc.js.map +1 -1
  1201. package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts +1 -0
  1202. package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts.map +1 -1
  1203. package/node_modules/@happier-dev/protocol/dist/spawnSession.js +1 -0
  1204. package/node_modules/@happier-dev/protocol/dist/spawnSession.js.map +1 -1
  1205. package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.d.ts +10 -0
  1206. package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.d.ts.map +1 -0
  1207. package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.js +17 -0
  1208. package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.js.map +1 -0
  1209. package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.d.ts +2 -0
  1210. package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.d.ts.map +1 -0
  1211. package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.js +17 -0
  1212. package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.js.map +1 -0
  1213. package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.d.ts +11 -0
  1214. package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.d.ts.map +1 -1
  1215. package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.js +2 -5
  1216. package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.js.map +1 -1
  1217. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.d.ts +19 -0
  1218. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.d.ts.map +1 -0
  1219. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.js +11 -0
  1220. package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.js.map +1 -0
  1221. package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.d.ts +41 -0
  1222. package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.d.ts.map +1 -0
  1223. package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.js +34 -0
  1224. package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.js.map +1 -0
  1225. package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.d.ts +11 -0
  1226. package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.d.ts.map +1 -1
  1227. package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.js +2 -5
  1228. package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.js.map +1 -1
  1229. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.d.ts +14 -0
  1230. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.d.ts.map +1 -1
  1231. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.js +2 -5
  1232. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.js.map +1 -1
  1233. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.d.ts +102 -0
  1234. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.d.ts.map +1 -0
  1235. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.js +36 -0
  1236. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.js.map +1 -0
  1237. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.d.ts +61 -0
  1238. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.d.ts.map +1 -0
  1239. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.js +27 -0
  1240. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.js.map +1 -0
  1241. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.d.ts +42 -0
  1242. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.d.ts.map +1 -0
  1243. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.js +19 -0
  1244. package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.js.map +1 -0
  1245. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.d.ts +13 -0
  1246. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.d.ts.map +1 -0
  1247. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.js +20 -0
  1248. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.js.map +1 -0
  1249. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.d.ts +15 -0
  1250. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.d.ts.map +1 -0
  1251. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.js +22 -0
  1252. package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.js.map +1 -0
  1253. package/node_modules/@happier-dev/protocol/dist/systemTasks/index.d.ts +3 -0
  1254. package/node_modules/@happier-dev/protocol/dist/systemTasks/index.d.ts.map +1 -0
  1255. package/node_modules/@happier-dev/protocol/dist/systemTasks/index.js +3 -0
  1256. package/node_modules/@happier-dev/protocol/dist/systemTasks/index.js.map +1 -0
  1257. package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.d.ts +55 -0
  1258. package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.d.ts.map +1 -0
  1259. package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.js +84 -0
  1260. package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.js.map +1 -0
  1261. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts +34 -0
  1262. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts.map +1 -0
  1263. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.js +21 -0
  1264. package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.js.map +1 -0
  1265. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.d.ts +19 -0
  1266. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.d.ts.map +1 -0
  1267. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js +158 -0
  1268. package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js.map +1 -0
  1269. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts +34 -0
  1270. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts.map +1 -0
  1271. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.js +53 -0
  1272. package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.js.map +1 -0
  1273. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts +3 -1
  1274. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts.map +1 -1
  1275. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js +3 -1
  1276. package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js.map +1 -1
  1277. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts +9 -1
  1278. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts.map +1 -1
  1279. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js +5 -0
  1280. package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js.map +1 -1
  1281. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts +281 -0
  1282. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts.map +1 -1
  1283. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js +66 -0
  1284. package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js.map +1 -1
  1285. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts +8 -0
  1286. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts.map +1 -0
  1287. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.js +12 -0
  1288. package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.js.map +1 -0
  1289. package/node_modules/@happier-dev/protocol/dist/updates.d.ts +177 -36
  1290. package/node_modules/@happier-dev/protocol/dist/updates.d.ts.map +1 -1
  1291. package/node_modules/@happier-dev/protocol/dist/updates.js +47 -18
  1292. package/node_modules/@happier-dev/protocol/dist/updates.js.map +1 -1
  1293. package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts +5 -2
  1294. package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts.map +1 -1
  1295. package/node_modules/@happier-dev/protocol/dist/voiceActions.js +142 -13
  1296. package/node_modules/@happier-dev/protocol/dist/voiceActions.js.map +1 -1
  1297. package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.d.ts +7 -0
  1298. package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.d.ts.map +1 -0
  1299. package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.js +6 -0
  1300. package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.js.map +1 -0
  1301. package/node_modules/@happier-dev/protocol/dist/workspaces/index.d.ts +4 -0
  1302. package/node_modules/@happier-dev/protocol/dist/workspaces/index.d.ts.map +1 -0
  1303. package/node_modules/@happier-dev/protocol/dist/workspaces/index.js +4 -0
  1304. package/node_modules/@happier-dev/protocol/dist/workspaces/index.js.map +1 -0
  1305. package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.d.ts +8 -0
  1306. package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.d.ts.map +1 -0
  1307. package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.js +23 -0
  1308. package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.js.map +1 -0
  1309. package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.d.ts +43 -0
  1310. package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.d.ts.map +1 -0
  1311. package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.js +46 -0
  1312. package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.js.map +1 -0
  1313. package/node_modules/@happier-dev/protocol/package.json +8 -0
  1314. package/node_modules/@happier-dev/release-runtime/dist/.tsbuildinfo +1 -0
  1315. package/node_modules/@happier-dev/release-runtime/dist/_cjs/releaseRings.js +134 -0
  1316. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts.map +1 -1
  1317. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js +9 -0
  1318. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js.map +1 -1
  1319. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts +6 -0
  1320. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts.map +1 -1
  1321. package/node_modules/@happier-dev/release-runtime/dist/github.js +86 -5
  1322. package/node_modules/@happier-dev/release-runtime/dist/github.js.map +1 -1
  1323. package/node_modules/@happier-dev/release-runtime/dist/http.d.ts +18 -0
  1324. package/node_modules/@happier-dev/release-runtime/dist/http.d.ts.map +1 -0
  1325. package/node_modules/@happier-dev/release-runtime/dist/http.js +112 -0
  1326. package/node_modules/@happier-dev/release-runtime/dist/http.js.map +1 -0
  1327. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts +2 -1
  1328. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts.map +1 -1
  1329. package/node_modules/@happier-dev/release-runtime/dist/index.js +2 -1
  1330. package/node_modules/@happier-dev/release-runtime/dist/index.js.map +1 -1
  1331. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.cjs +134 -0
  1332. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts +27 -0
  1333. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts.map +1 -0
  1334. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js +124 -0
  1335. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js.map +1 -0
  1336. package/node_modules/@happier-dev/release-runtime/dist/verifiedDownload.d.ts.map +1 -1
  1337. package/node_modules/@happier-dev/release-runtime/dist/verifiedDownload.js +3 -9
  1338. package/node_modules/@happier-dev/release-runtime/dist/verifiedDownload.js.map +1 -1
  1339. package/node_modules/@happier-dev/release-runtime/package.json +5 -0
  1340. package/package.json +10 -3
  1341. package/scripts/auth.mjs +327 -65
  1342. package/scripts/auth_copy_from_pglite_lock_in_use.integration.test.mjs +4 -4
  1343. package/scripts/auth_copy_from_runCapture.integration.test.mjs +376 -15
  1344. package/scripts/auth_dev_key_cmd.test.mjs +35 -0
  1345. package/scripts/auth_login_force_cleans_server_scoped_credentials.integration.test.mjs +189 -0
  1346. package/scripts/auth_login_force_default.test.mjs +41 -1
  1347. package/scripts/auth_login_guided_server_no_expo.test.mjs +458 -34
  1348. package/scripts/auth_login_print_includes_configure_links.test.mjs +63 -5
  1349. package/scripts/build/activate_runtime_snapshot.mjs +210 -0
  1350. package/scripts/build/activate_runtime_snapshot.test.mjs +250 -0
  1351. package/scripts/build/build_daemon_artifact.mjs +50 -0
  1352. package/scripts/build/build_mode.mjs +20 -0
  1353. package/scripts/build/build_mode.test.mjs +46 -0
  1354. package/scripts/build/build_server_artifact.mjs +64 -0
  1355. package/scripts/build/build_stack_artifacts.mjs +141 -0
  1356. package/scripts/build/build_stack_artifacts.test.mjs +119 -0
  1357. package/scripts/build/build_targets.mjs +63 -0
  1358. package/scripts/build/build_targets.test.mjs +58 -0
  1359. package/scripts/build/build_web_artifact.mjs +73 -0
  1360. package/scripts/build/collect_build_source_metadata.mjs +76 -0
  1361. package/scripts/build/collect_build_source_metadata.test.mjs +41 -0
  1362. package/scripts/build/resolve_latest_component_artifact.mjs +31 -0
  1363. package/scripts/build/runtime_build_lock.mjs +80 -0
  1364. package/scripts/build/runtime_build_lock.test.mjs +95 -0
  1365. package/scripts/build/runtime_retention.mjs +170 -0
  1366. package/scripts/build/runtime_retention.test.mjs +183 -0
  1367. package/scripts/build/workspace_build_sandbox.mjs +49 -0
  1368. package/scripts/build/workspace_build_sandbox.test.mjs +37 -0
  1369. package/scripts/build.mjs +39 -12
  1370. package/scripts/bundleWorkspaceDeps.mjs +77 -38
  1371. package/scripts/bundleWorkspaceDeps.test.mjs +145 -11
  1372. package/scripts/daemon.getDaemonEnv.test.mjs +53 -0
  1373. package/scripts/daemon.mjs +629 -168
  1374. package/scripts/daemon_cleanup_lsof_unavailable.test.mjs +112 -0
  1375. package/scripts/daemon_dist_guard.test.mjs +612 -21
  1376. package/scripts/daemon_invalid_auth_reseed_stack_name.integration.test.mjs +9 -11
  1377. package/scripts/daemon_server_scope_commands.test.mjs +196 -0
  1378. package/scripts/daemon_server_scoped_state.test.mjs +41 -0
  1379. package/scripts/daemon_start_verification.integration.test.mjs +482 -14
  1380. package/scripts/daemon_stop_expected_pid.test.mjs +69 -9
  1381. package/scripts/dev.mjs +80 -12
  1382. package/scripts/dev_external_server_flags.test.mjs +16 -0
  1383. package/scripts/dev_rn_devtools_flag.test.mjs +24 -0
  1384. package/scripts/dev_runtime_mode_reject.test.mjs +22 -0
  1385. package/scripts/dev_tauri_flag.test.mjs +35 -0
  1386. package/scripts/doctor.mjs +17 -1
  1387. package/scripts/doctor_runtime_snapshot.test.mjs +68 -0
  1388. package/scripts/happier.mjs +379 -32
  1389. package/scripts/happier_defaults_from_settings.test.mjs +402 -0
  1390. package/scripts/happier_help_passthrough.test.mjs +47 -0
  1391. package/scripts/happier_runtime_snapshot.test.mjs +107 -0
  1392. package/scripts/happier_server_url_scope.test.mjs +61 -0
  1393. package/scripts/happier_tsx_fallback.test.mjs +75 -0
  1394. package/scripts/import.mjs +1 -1
  1395. package/scripts/init.mjs +42 -9
  1396. package/scripts/init_shim_invoked_cwd.test.mjs +342 -1
  1397. package/scripts/logs.mjs +7 -8
  1398. package/scripts/logs_cmd.test.mjs +26 -0
  1399. package/scripts/menubar.mjs +93 -6
  1400. package/scripts/menubar_install_stack_scoped_dry_run.test.mjs +117 -0
  1401. package/scripts/mobile.mjs +23 -8
  1402. package/scripts/mobile_dev_client.mjs +238 -12
  1403. package/scripts/mobile_dev_client_android_eas_profile_avoids_bundle_prompt.test.mjs +45 -0
  1404. package/scripts/mobile_dev_client_android_falls_back_to_pipeline_in_test_stub.test.mjs +39 -0
  1405. package/scripts/mobile_dev_client_android_prefers_expo_run_android_in_test_stub.test.mjs +23 -0
  1406. package/scripts/mobile_dev_client_android_reuse_existing_apk_in_test_stub.test.mjs +38 -0
  1407. package/scripts/mobile_dev_client_android_reuse_falls_back_to_cached_apk_in_test_stub.test.mjs +35 -0
  1408. package/scripts/mobile_dev_client_autopick_android_in_test_stub.test.mjs +25 -0
  1409. package/scripts/mobile_dev_client_autopick_android_serial_when_platform_explicit_in_test_stub.test.mjs +22 -0
  1410. package/scripts/mobile_dev_client_autopick_ios_in_test_stub.test.mjs +31 -0
  1411. package/scripts/mobile_dev_client_help_smoke.test.mjs +2 -1
  1412. package/scripts/mobile_run_android_passes_port.test.mjs +85 -0
  1413. package/scripts/orchestrated_stack_auth_flow_resolve_port.test.mjs +10 -15
  1414. package/scripts/orchestrated_stack_auth_flow_webapp_url.test.mjs +115 -0
  1415. package/scripts/pack.test.mjs +28 -1
  1416. package/scripts/providers_cmd.mjs +19 -74
  1417. package/scripts/provision/linux-ubuntu-provision.sh +1 -2
  1418. package/scripts/provision/macos-lima-hstack-repeat-validation.sh +309 -0
  1419. package/scripts/provision/macos-lima-hstack-repeat-validation.test.mjs +369 -0
  1420. package/scripts/provision/playwright-wsrepl-matrix-url.test.mjs +143 -0
  1421. package/scripts/provision/resolveStackAuthPaths.test.mjs +68 -0
  1422. package/scripts/provision/wsreplMatrixCredentials.test.mjs +44 -0
  1423. package/scripts/release.mjs +15 -2
  1424. package/scripts/remote_cmd.mjs +106 -182
  1425. package/scripts/remote_cmd.test.mjs +54 -0
  1426. package/scripts/repo_cli_activate.test.mjs +1 -14
  1427. package/scripts/repo_local.mjs +8 -2
  1428. package/scripts/repo_local_wrapper.test.mjs +55 -14
  1429. package/scripts/review_pr.mjs +232 -11
  1430. package/scripts/review_pr.warm_base_deps.test.mjs +138 -0
  1431. package/scripts/review_pr.workspace_cache.test.mjs +197 -0
  1432. package/scripts/root_package_repo_local_scripts.test.mjs +8 -1
  1433. package/scripts/run.mjs +257 -79
  1434. package/scripts/run_script_with_stack_env.partial_runtime_recovery.test.mjs +265 -0
  1435. package/scripts/runtime/launch/inspectActiveRuntimeSnapshot.mjs +126 -0
  1436. package/scripts/runtime/launch/resolveActiveRuntimeSnapshot.mjs +19 -0
  1437. package/scripts/runtime/launch/resolveActiveRuntimeSnapshot.test.mjs +161 -0
  1438. package/scripts/runtime/launch/resolveCliRuntimeLaunchSpec.mjs +23 -0
  1439. package/scripts/runtime/launch/resolveLaunchSpecs.test.mjs +110 -0
  1440. package/scripts/runtime/launch/resolveServerRuntimeLaunchSpec.mjs +19 -0
  1441. package/scripts/runtime/launch/resolveStackRuntimeLaunchContext.mjs +17 -0
  1442. package/scripts/runtime/readBundledWorkspaceSyncConfig.mjs +35 -0
  1443. package/scripts/runtime/readBundledWorkspaceSyncConfig.test.mjs +33 -0
  1444. package/scripts/runtime/resolveBundledWorkspaceSyncModulePath.mjs +10 -0
  1445. package/scripts/runtime/resolveBundledWorkspaceSyncModulePath.test.mjs +20 -0
  1446. package/scripts/runtime/shared/artifact_manifest.mjs +48 -0
  1447. package/scripts/runtime/shared/ensureStackRuntimeModePrefer.mjs +30 -0
  1448. package/scripts/runtime/shared/ensureStackRuntimeModePrefer.test.mjs +35 -0
  1449. package/scripts/runtime/shared/runtime_fingerprint.mjs +24 -0
  1450. package/scripts/runtime/shared/runtime_fingerprint.test.mjs +69 -0
  1451. package/scripts/runtime/shared/runtime_manifest.mjs +85 -0
  1452. package/scripts/runtime/shared/runtime_manifest.test.mjs +120 -0
  1453. package/scripts/runtime/shared/runtime_mode.mjs +32 -0
  1454. package/scripts/runtime/shared/runtime_mode.test.mjs +48 -0
  1455. package/scripts/runtime/shared/runtime_paths.mjs +30 -0
  1456. package/scripts/runtime/shared/runtime_paths.test.mjs +42 -0
  1457. package/scripts/runtime_activate.mjs +135 -0
  1458. package/scripts/sandbox_workspace_override.test.mjs +47 -0
  1459. package/scripts/self.mjs +68 -12
  1460. package/scripts/self_host/findExtractedExecutableByName.mjs +20 -0
  1461. package/scripts/self_host/install_companion_cli.mjs +156 -0
  1462. package/scripts/self_host/install_companion_cli.test.mjs +119 -0
  1463. package/scripts/self_host/version_retention.mjs +69 -0
  1464. package/scripts/self_host/version_retention.test.mjs +100 -0
  1465. package/scripts/self_host_launchd.real.integration.test.mjs +33 -11
  1466. package/scripts/self_host_runtime.mjs +477 -184
  1467. package/scripts/self_host_runtime.test.mjs +633 -5
  1468. package/scripts/service.mjs +127 -138
  1469. package/scripts/service_autostart_program_args.test.mjs +32 -0
  1470. package/scripts/service_mode_help.test.mjs +1 -0
  1471. package/scripts/setup.mjs +39 -11
  1472. package/scripts/setup_deprecation_warning.test.mjs +47 -0
  1473. package/scripts/setup_from_source_stable_branch_flag.test.mjs +129 -0
  1474. package/scripts/setup_local_repo_profile.test.mjs +3 -36
  1475. package/scripts/setup_pr.mjs +27 -16
  1476. package/scripts/setup_pr.mobile_scheme.test.mjs +332 -0
  1477. package/scripts/setup_pr_orchestrated_auth_flow_util_import.test.mjs +8 -0
  1478. package/scripts/stack/delegated_script_commands.mjs +11 -2
  1479. package/scripts/stack/help_text.mjs +4 -2
  1480. package/scripts/stack/run_script_with_stack_env.mjs +112 -16
  1481. package/scripts/stack/stack_daemon_command.mjs +51 -28
  1482. package/scripts/stack/stack_environment.mjs +19 -1
  1483. package/scripts/stack/stack_environment.sanitization.test.mjs +25 -0
  1484. package/scripts/stack/stack_info_snapshot.mjs +59 -3
  1485. package/scripts/stack/stack_mobile_install_command.mjs +92 -25
  1486. package/scripts/stack/stack_mobile_install_command.test.mjs +53 -0
  1487. package/scripts/stack.mjs +78 -37
  1488. package/scripts/stack_copy_auth_server_scoped.test.mjs +7 -3
  1489. package/scripts/stack_create_dev_auth_seed_repo_pin.test.mjs +43 -0
  1490. package/scripts/stack_daemon_cmd.integration.test.mjs +109 -70
  1491. package/scripts/stack_editor_workspace_monorepo_root.test.mjs +9 -19
  1492. package/scripts/stack_guided_login_bundle_timeout.test.mjs +210 -0
  1493. package/scripts/stack_guided_login_inner_invocation.test.mjs +99 -12
  1494. package/scripts/stack_happy_cmd.integration.test.mjs +184 -60
  1495. package/scripts/stack_info_runtime_snapshot.test.mjs +64 -0
  1496. package/scripts/stack_info_snapshot_running_status.test.mjs +84 -22
  1497. package/scripts/stack_interactive_monorepo_group.test.mjs +16 -44
  1498. package/scripts/stack_owner_death_watchdog.integration.test.mjs +144 -0
  1499. package/scripts/stack_package_scripts.test.mjs +17 -0
  1500. package/scripts/stack_resume_cmd.integration.test.mjs +13 -53
  1501. package/scripts/stack_runtime_activate_command.test.mjs +130 -0
  1502. package/scripts/stack_runtime_start.integration.test.mjs +147 -0
  1503. package/scripts/stack_service_passthrough.test.mjs +48 -0
  1504. package/scripts/start_runtime_mode_json.test.mjs +34 -0
  1505. package/scripts/stopStackWithEnv_daemonControlToken.integration.test.mjs +140 -0
  1506. package/scripts/swiftbar_primary_stack_header.test.mjs +56 -0
  1507. package/scripts/swiftbar_stack_status_runtime.test.mjs +429 -0
  1508. package/scripts/tailscale.mjs +46 -142
  1509. package/scripts/tailscale_cmd_output.test.mjs +49 -1
  1510. package/scripts/tauri_dev.mjs +291 -0
  1511. package/scripts/tauri_dev.test.mjs +117 -0
  1512. package/scripts/test_ci.mjs +22 -18
  1513. package/scripts/test_cmd.mjs +7 -23
  1514. package/scripts/test_cmd.test.mjs +39 -28
  1515. package/scripts/test_integration.mjs +31 -18
  1516. package/scripts/testkit/auth_testkit.mjs +20 -54
  1517. package/scripts/testkit/core/env_scope.mjs +88 -0
  1518. package/scripts/testkit/core/fake_bin_harness.mjs +53 -0
  1519. package/scripts/testkit/core/minimal_monorepo_layout.mjs +54 -0
  1520. package/scripts/testkit/core/run_node_capture.mjs +69 -0
  1521. package/scripts/testkit/core/runtime_snapshot_layout.mjs +135 -0
  1522. package/scripts/testkit/core/spawn_test_process.mjs +27 -0
  1523. package/scripts/testkit/core/spawn_test_process.test.mjs +52 -0
  1524. package/scripts/testkit/core/stack_root.mjs +26 -0
  1525. package/scripts/testkit/core/stub_happier_cli_files.mjs +46 -0
  1526. package/scripts/testkit/core/stub_happier_cli_files.test.mjs +20 -0
  1527. package/scripts/testkit/core/sync_logged_command_harness.mjs +49 -0
  1528. package/scripts/testkit/core/temp_fixture.mjs +42 -0
  1529. package/scripts/testkit/doctor_testkit.mjs +24 -52
  1530. package/scripts/testkit/happier_cli_monorepo_testkit.mjs +31 -0
  1531. package/scripts/testkit/mobile_dev_client_testkit.mjs +136 -0
  1532. package/scripts/testkit/mobile_dev_client_testkit_env_sanitization.test.mjs +32 -0
  1533. package/scripts/testkit/monorepo_port_testkit.mjs +9 -26
  1534. package/scripts/testkit/runtime_snapshot_start_testkit.mjs +281 -0
  1535. package/scripts/testkit/runtime_snapshot_testkit.mjs +57 -0
  1536. package/scripts/testkit/stack_archive_command_testkit.mjs +23 -17
  1537. package/scripts/testkit/stack_happier_cli_command_testkit.mjs +75 -0
  1538. package/scripts/testkit/stack_new_monorepo_testkit.mjs +19 -37
  1539. package/scripts/testkit/stack_script_command_testkit.mjs +1 -27
  1540. package/scripts/testkit/stack_stop_sweeps_testkit.mjs +39 -42
  1541. package/scripts/testkit/worktrees_monorepo_testkit.mjs +22 -35
  1542. package/scripts/tui.mjs +194 -58
  1543. package/scripts/tui_args_default_cmd.test.mjs +1 -0
  1544. package/scripts/utils/auth/clearStackForceLoginCredentialPaths.mjs +20 -0
  1545. package/scripts/utils/auth/credentials_paths.mjs +209 -21
  1546. package/scripts/utils/auth/credentials_paths.test.mjs +141 -1
  1547. package/scripts/utils/auth/ensure_active_access_key_valid.mjs +157 -0
  1548. package/scripts/utils/auth/ensure_active_access_key_valid.test.mjs +208 -0
  1549. package/scripts/utils/auth/format_daemon_auth_scope_diagnostic.mjs +43 -0
  1550. package/scripts/utils/auth/format_daemon_auth_scope_diagnostic.test.mjs +56 -0
  1551. package/scripts/utils/auth/interactive_stack_auth.mjs +8 -0
  1552. package/scripts/utils/auth/interactive_stack_auth.test.mjs +29 -0
  1553. package/scripts/utils/auth/login_ux.mjs +8 -0
  1554. package/scripts/utils/auth/orchestrated_stack_auth_flow.mjs +123 -16
  1555. package/scripts/utils/auth/orchestrated_stack_auth_flow_start_timeout.test.mjs +68 -0
  1556. package/scripts/utils/auth/stack_guided_login.mjs +180 -28
  1557. package/scripts/utils/cli/cliDistIntegrity.mjs +86 -0
  1558. package/scripts/utils/cli/cli_registry.mjs +14 -5
  1559. package/scripts/utils/cli/cwd_scope.mjs +9 -1
  1560. package/scripts/utils/cli/cwd_scope.test.mjs +26 -31
  1561. package/scripts/utils/dev/daemon.mjs +26 -10
  1562. package/scripts/utils/dev/daemon_watch_resilience.test.mjs +64 -0
  1563. package/scripts/utils/dev/expo_dev.buildEnv.test.mjs +20 -0
  1564. package/scripts/utils/dev/expo_dev.ensure_workspace_built.test.mjs +74 -0
  1565. package/scripts/utils/dev/expo_dev.mjs +89 -25
  1566. package/scripts/utils/dev/expo_dev_restart_port_reservation.test.mjs +104 -16
  1567. package/scripts/utils/dev/react_native_devtools.mjs +27 -0
  1568. package/scripts/utils/dev/react_native_devtools.test.mjs +26 -0
  1569. package/scripts/utils/dev/server.mjs +9 -3
  1570. package/scripts/utils/dev/tauri_dev.mjs +377 -0
  1571. package/scripts/utils/dev/tauri_dev.test.mjs +490 -0
  1572. package/scripts/utils/env/scrub_env.mjs +21 -0
  1573. package/scripts/utils/expo/command.mjs +83 -6
  1574. package/scripts/utils/expo/command_export_max_workers.test.mjs +137 -0
  1575. package/scripts/utils/expo/command_heap_limit_env.test.mjs +244 -0
  1576. package/scripts/utils/expo/command_workspace_deps_built.test.mjs +92 -0
  1577. package/scripts/utils/expo/expo.mjs +127 -3
  1578. package/scripts/utils/expo/expoNodeHeapEnv.mjs +42 -0
  1579. package/scripts/utils/expo/expo_shared_tmpdir.test.mjs +38 -0
  1580. package/scripts/utils/expo/expo_state_running.test.mjs +66 -0
  1581. package/scripts/utils/expo/expo_wait_for_metro.test.mjs +50 -0
  1582. package/scripts/utils/expo/metro_ports.mjs +10 -3
  1583. package/scripts/utils/git/default_branch.mjs +22 -0
  1584. package/scripts/utils/git/default_branch.test.mjs +45 -0
  1585. package/scripts/utils/git/dev_checkout.mjs +1 -1
  1586. package/scripts/utils/git/fast_forward_to_remote.mjs +136 -0
  1587. package/scripts/utils/git/fast_forward_to_remote.test.mjs +90 -0
  1588. package/scripts/utils/git/refs.mjs +18 -1
  1589. package/scripts/utils/git/refs.test.mjs +37 -0
  1590. package/scripts/utils/git/worktrees_monorepo.test.mjs +8 -16
  1591. package/scripts/utils/menubar/swiftbar.mjs +2 -2
  1592. package/scripts/utils/mobile/config.mjs +1 -1
  1593. package/scripts/utils/mobile/config.test.mjs +9 -0
  1594. package/scripts/utils/mobile/copy_artifact.mjs +42 -0
  1595. package/scripts/utils/mobile/copy_artifact.test.mjs +24 -0
  1596. package/scripts/utils/mobile/dev_client_android_strategy.mjs +54 -0
  1597. package/scripts/utils/mobile/dev_client_android_strategy.test.mjs +56 -0
  1598. package/scripts/utils/mobile/dev_client_autopick.mjs +201 -0
  1599. package/scripts/utils/mobile/dev_client_install_invocation.android.test.mjs +37 -0
  1600. package/scripts/utils/mobile/dev_client_install_invocation.mjs +33 -7
  1601. package/scripts/utils/mobile/dev_client_install_invocation.test.mjs +65 -1
  1602. package/scripts/utils/mobile/dev_client_links.mjs +13 -3
  1603. package/scripts/utils/mobile/dev_client_links.test.mjs +28 -0
  1604. package/scripts/utils/mobile/identifiers.mjs +7 -4
  1605. package/scripts/utils/mobile/identifiers.test.mjs +3 -3
  1606. package/scripts/utils/mobile/ios_xcodeproj_patch.test.mjs +1 -1
  1607. package/scripts/utils/net/ports.mjs +83 -7
  1608. package/scripts/utils/net/ports.test.mjs +46 -0
  1609. package/scripts/utils/paths/paths.mjs +6 -2
  1610. package/scripts/utils/paths/paths_monorepo.test.mjs +30 -26
  1611. package/scripts/utils/proc/cliDistBuildLock.mjs +102 -0
  1612. package/scripts/utils/proc/cliDistBuildLock.test.mjs +42 -0
  1613. package/scripts/utils/proc/commands.mjs +34 -3
  1614. package/scripts/utils/proc/commands_commandExists_respects_path_env.test.mjs +25 -0
  1615. package/scripts/utils/proc/ensureWorkspacePackagesBuilt.test.mjs +179 -8
  1616. package/scripts/utils/proc/ownership.mjs +7 -0
  1617. package/scripts/utils/proc/ownership_killProcessGroupOwnedByStack.test.mjs +83 -7
  1618. package/scripts/utils/proc/ownership_listPidsWithEnvNeedles.test.mjs +2 -4
  1619. package/scripts/utils/proc/pm.mjs +440 -125
  1620. package/scripts/utils/proc/pm_spawn.integration.test.mjs +54 -0
  1621. package/scripts/utils/proc/pm_stack_cache_env.test.mjs +455 -1
  1622. package/scripts/utils/proc/pm_yarn_ready_auto_yes.test.mjs +92 -0
  1623. package/scripts/utils/proc/proc.mjs +38 -14
  1624. package/scripts/utils/proc/proc.test.mjs +8 -0
  1625. package/scripts/utils/proc/terminate.test.mjs +3 -4
  1626. package/scripts/utils/process/resolveCommandInvocation.mjs +14 -0
  1627. package/scripts/utils/process/resolveCommandInvocation.win32CmdShim.test.mjs +35 -0
  1628. package/scripts/utils/remote/install_remote_first_party_component.mjs +170 -0
  1629. package/scripts/utils/remote/install_remote_first_party_component.test.mjs +63 -0
  1630. package/scripts/utils/review/detached_worktree.test.mjs +2 -16
  1631. package/scripts/utils/review/head_slice.test.mjs +3 -17
  1632. package/scripts/utils/review/uncommitted_ops.test.mjs +3 -17
  1633. package/scripts/utils/server/apply_runtime_server_light_sqlite_env.mjs +25 -0
  1634. package/scripts/utils/server/resolve_stack_server_port.test.mjs +37 -0
  1635. package/scripts/utils/server/server.mjs +82 -25
  1636. package/scripts/utils/server/server.test.mjs +183 -0
  1637. package/scripts/utils/server/urls.mjs +5 -2
  1638. package/scripts/utils/server/urls.test.mjs +51 -0
  1639. package/scripts/utils/service/auth_guidance.mjs +56 -0
  1640. package/scripts/utils/service/auth_guidance.test.mjs +65 -0
  1641. package/scripts/utils/service/daemon_autostart.mjs +190 -0
  1642. package/scripts/utils/service/daemon_autostart.test.mjs +257 -0
  1643. package/scripts/utils/service/stack_autostart_resolution.mjs +77 -0
  1644. package/scripts/utils/service/stack_autostart_resolution.test.mjs +117 -0
  1645. package/scripts/utils/stack/owner_death_watchdog.mjs +73 -0
  1646. package/scripts/utils/stack/owner_death_watchdog_runner.mjs +128 -0
  1647. package/scripts/utils/stack/runtime_daemon_state.mjs +175 -0
  1648. package/scripts/utils/stack/runtime_daemon_state.test.mjs +193 -0
  1649. package/scripts/utils/stack/runtime_state.mjs +28 -2
  1650. package/scripts/utils/stack/runtime_state.test.mjs +70 -0
  1651. package/scripts/utils/stack/startup.mjs +22 -0
  1652. package/scripts/utils/stack/startup_runtime_probe.test.mjs +46 -0
  1653. package/scripts/utils/stack/stop.mjs +50 -5
  1654. package/scripts/utils/stack/terminal_usage_instructions.mjs +52 -0
  1655. package/scripts/utils/stack/terminal_usage_instructions.test.mjs +25 -0
  1656. package/scripts/utils/tailscale/extract_https_url_from_status.mjs +5 -0
  1657. package/scripts/utils/tailscale/ip.mjs +15 -54
  1658. package/scripts/utils/tailscale/ip.test.mjs +37 -0
  1659. package/scripts/utils/tauri/createStackTauriDevConfig.mjs +34 -0
  1660. package/scripts/utils/tauri/createStackTauriDevConfig.test.mjs +39 -0
  1661. package/scripts/utils/tauri/dev_runtime.mjs +45 -0
  1662. package/scripts/utils/tauri/dev_runtime.test.mjs +79 -0
  1663. package/scripts/utils/test/collect_test_files.mjs +3 -1
  1664. package/scripts/utils/test/collect_test_files.test.mjs +73 -0
  1665. package/scripts/utils/test/integration_test_runner.mjs +35 -0
  1666. package/scripts/utils/test/integration_test_runner.test.mjs +42 -0
  1667. package/scripts/utils/test/lane_contract.test.mjs +12 -0
  1668. package/scripts/utils/test/test_cleanup.mjs +21 -0
  1669. package/scripts/utils/test/test_collection.mjs +54 -0
  1670. package/scripts/utils/test/test_collection.test.mjs +64 -0
  1671. package/scripts/utils/test/test_env.mjs +17 -0
  1672. package/scripts/utils/test/test_paths.mjs +42 -0
  1673. package/scripts/utils/test/test_process.mjs +37 -0
  1674. package/scripts/utils/test/test_process.test.mjs +20 -0
  1675. package/scripts/utils/tui/args.mjs +11 -0
  1676. package/scripts/utils/tui/args.test.mjs +20 -0
  1677. package/scripts/utils/tui/child_termination_plan.mjs +28 -0
  1678. package/scripts/utils/tui/child_termination_plan.test.mjs +25 -0
  1679. package/scripts/utils/tui/daemon_auth_notice.mjs +4 -1
  1680. package/scripts/utils/tui/daemon_auth_notice.test.mjs +12 -0
  1681. package/scripts/utils/tui/daemon_autostart.mjs +5 -3
  1682. package/scripts/utils/tui/daemon_autostart.test.mjs +17 -1
  1683. package/scripts/utils/tui/daemon_pane_reconcile.mjs +6 -4
  1684. package/scripts/utils/tui/daemon_pane_reconcile.test.mjs +10 -0
  1685. package/scripts/utils/tui/pane_routing.mjs +12 -0
  1686. package/scripts/utils/tui/pane_routing.test.mjs +18 -0
  1687. package/scripts/utils/tui/stdin_error_guard.mjs +47 -0
  1688. package/scripts/utils/tui/stdin_error_guard.test.mjs +17 -0
  1689. package/scripts/utils/tui/tauri_mode.mjs +61 -0
  1690. package/scripts/utils/tui/tauri_mode.test.mjs +109 -0
  1691. package/scripts/utils/ui/ui_export_env.mjs +5 -3
  1692. package/scripts/utils/ui/ui_export_env.test.mjs +2 -1
  1693. package/scripts/utils/worktrees/reflink_copy_dir.mjs +35 -0
  1694. package/scripts/utils/worktrees/seed_node_modules.mjs +35 -0
  1695. package/scripts/utils/worktrees/seed_node_modules.test.mjs +82 -0
  1696. package/scripts/utils/worktrees/yarn_install_guard.mjs +53 -0
  1697. package/scripts/utils/worktrees/yarn_install_guard.test.mjs +73 -0
  1698. package/scripts/where.mjs +3 -0
  1699. package/scripts/worktrees.mjs +16 -0
  1700. package/scripts/worktrees_archive_cmd.integration.test.mjs +23 -108
  1701. package/docs/codex-mcp-resume.md +0 -129
  1702. package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.d.ts +0 -28
  1703. package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.d.ts.map +0 -1
  1704. package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.js +0 -143
  1705. package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.js.map +0 -1
  1706. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.d.ts +0 -2
  1707. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.d.ts.map +0 -1
  1708. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.js +0 -112
  1709. package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.js.map +0 -1
  1710. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.d.ts +0 -2
  1711. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.d.ts.map +0 -1
  1712. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.js +0 -30
  1713. package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.js.map +0 -1
  1714. package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.d.ts +0 -10
  1715. package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.d.ts.map +0 -1
  1716. package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.js +0 -54
  1717. package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.js.map +0 -1
  1718. package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.d.ts +0 -17
  1719. package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.d.ts.map +0 -1
  1720. package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.js +0 -65
  1721. package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.js.map +0 -1
  1722. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.d.ts +0 -2
  1723. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.d.ts.map +0 -1
  1724. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.js +0 -12
  1725. package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.js.map +0 -1
  1726. package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.d.ts +0 -2
  1727. package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.d.ts.map +0 -1
  1728. package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.js +0 -35
  1729. package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.js.map +0 -1
  1730. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.d.ts +0 -2
  1731. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.d.ts.map +0 -1
  1732. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.js +0 -18
  1733. package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.js.map +0 -1
  1734. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.d.ts +0 -2
  1735. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.d.ts.map +0 -1
  1736. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.js +0 -184
  1737. package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.js.map +0 -1
  1738. package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.d.ts +0 -2
  1739. package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.d.ts.map +0 -1
  1740. package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.js +0 -33
  1741. package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.js.map +0 -1
  1742. package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.d.ts +0 -2
  1743. package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.d.ts.map +0 -1
  1744. package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.js +0 -12
  1745. package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.js.map +0 -1
  1746. package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.d.ts +0 -2
  1747. package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.d.ts.map +0 -1
  1748. package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.js +0 -68
  1749. package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.js.map +0 -1
  1750. package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.d.ts +0 -2
  1751. package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.d.ts.map +0 -1
  1752. package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.js +0 -382
  1753. package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.js.map +0 -1
  1754. package/node_modules/@happier-dev/protocol/dist/changes.automation.test.d.ts +0 -2
  1755. package/node_modules/@happier-dev/protocol/dist/changes.automation.test.d.ts.map +0 -1
  1756. package/node_modules/@happier-dev/protocol/dist/changes.automation.test.js +0 -19
  1757. package/node_modules/@happier-dev/protocol/dist/changes.automation.test.js.map +0 -1
  1758. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.d.ts +0 -2
  1759. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.d.ts.map +0 -1
  1760. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.js +0 -105
  1761. package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.js.map +0 -1
  1762. package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.d.ts +0 -2
  1763. package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.d.ts.map +0 -1
  1764. package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.js +0 -42
  1765. package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.js.map +0 -1
  1766. package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.d.ts +0 -2
  1767. package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.d.ts.map +0 -1
  1768. package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.js +0 -65
  1769. package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.js.map +0 -1
  1770. package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.d.ts +0 -2
  1771. package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.d.ts.map +0 -1
  1772. package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.js +0 -68
  1773. package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.js.map +0 -1
  1774. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.d.ts +0 -2
  1775. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.d.ts.map +0 -1
  1776. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.js +0 -67
  1777. package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.js.map +0 -1
  1778. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.d.ts +0 -2
  1779. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.d.ts.map +0 -1
  1780. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.js +0 -53
  1781. package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.js.map +0 -1
  1782. package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.d.ts +0 -2
  1783. package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.d.ts.map +0 -1
  1784. package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.js +0 -16
  1785. package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.js.map +0 -1
  1786. package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.d.ts +0 -2
  1787. package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.d.ts.map +0 -1
  1788. package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.js +0 -23
  1789. package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.js.map +0 -1
  1790. package/node_modules/@happier-dev/protocol/dist/executionRuns.test.d.ts +0 -2
  1791. package/node_modules/@happier-dev/protocol/dist/executionRuns.test.d.ts.map +0 -1
  1792. package/node_modules/@happier-dev/protocol/dist/executionRuns.test.js +0 -174
  1793. package/node_modules/@happier-dev/protocol/dist/executionRuns.test.js.map +0 -1
  1794. package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.d.ts +0 -2
  1795. package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.d.ts.map +0 -1
  1796. package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.js +0 -22
  1797. package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.js.map +0 -1
  1798. package/node_modules/@happier-dev/protocol/dist/features/catalog.test.d.ts +0 -2
  1799. package/node_modules/@happier-dev/protocol/dist/features/catalog.test.d.ts.map +0 -1
  1800. package/node_modules/@happier-dev/protocol/dist/features/catalog.test.js +0 -31
  1801. package/node_modules/@happier-dev/protocol/dist/features/catalog.test.js.map +0 -1
  1802. package/node_modules/@happier-dev/protocol/dist/features/decision.test.d.ts +0 -2
  1803. package/node_modules/@happier-dev/protocol/dist/features/decision.test.d.ts.map +0 -1
  1804. package/node_modules/@happier-dev/protocol/dist/features/decision.test.js +0 -31
  1805. package/node_modules/@happier-dev/protocol/dist/features/decision.test.js.map +0 -1
  1806. package/node_modules/@happier-dev/protocol/dist/features.compat.test.d.ts +0 -2
  1807. package/node_modules/@happier-dev/protocol/dist/features.compat.test.d.ts.map +0 -1
  1808. package/node_modules/@happier-dev/protocol/dist/features.compat.test.js +0 -150
  1809. package/node_modules/@happier-dev/protocol/dist/features.compat.test.js.map +0 -1
  1810. package/node_modules/@happier-dev/protocol/dist/index.exports.test.d.ts +0 -2
  1811. package/node_modules/@happier-dev/protocol/dist/index.exports.test.d.ts.map +0 -1
  1812. package/node_modules/@happier-dev/protocol/dist/index.exports.test.js +0 -57
  1813. package/node_modules/@happier-dev/protocol/dist/index.exports.test.js.map +0 -1
  1814. package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.d.ts +0 -2
  1815. package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.d.ts.map +0 -1
  1816. package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.js +0 -10
  1817. package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.js.map +0 -1
  1818. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.d.ts +0 -2
  1819. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.d.ts.map +0 -1
  1820. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.js +0 -15
  1821. package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.js.map +0 -1
  1822. package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.d.ts +0 -2
  1823. package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.d.ts.map +0 -1
  1824. package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.js +0 -8
  1825. package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.js.map +0 -1
  1826. package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.d.ts +0 -2
  1827. package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.d.ts.map +0 -1
  1828. package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.js +0 -11
  1829. package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.js.map +0 -1
  1830. package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.d.ts +0 -2
  1831. package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.d.ts.map +0 -1
  1832. package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.js +0 -22
  1833. package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.js.map +0 -1
  1834. package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.d.ts +0 -2
  1835. package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.d.ts.map +0 -1
  1836. package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.js +0 -8
  1837. package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.js.map +0 -1
  1838. package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.d.ts +0 -2
  1839. package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.d.ts.map +0 -1
  1840. package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.js +0 -10
  1841. package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.js.map +0 -1
  1842. package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.d.ts +0 -2
  1843. package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.d.ts.map +0 -1
  1844. package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.js +0 -10
  1845. package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.js.map +0 -1
  1846. package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.d.ts +0 -2
  1847. package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.d.ts.map +0 -1
  1848. package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.js +0 -39
  1849. package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.js.map +0 -1
  1850. package/node_modules/@happier-dev/protocol/dist/scm.contract.test.d.ts +0 -2
  1851. package/node_modules/@happier-dev/protocol/dist/scm.contract.test.d.ts.map +0 -1
  1852. package/node_modules/@happier-dev/protocol/dist/scm.contract.test.js +0 -197
  1853. package/node_modules/@happier-dev/protocol/dist/scm.contract.test.js.map +0 -1
  1854. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.d.ts +0 -2
  1855. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.d.ts.map +0 -1
  1856. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.js +0 -23
  1857. package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.js.map +0 -1
  1858. package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.d.ts +0 -2
  1859. package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.d.ts.map +0 -1
  1860. package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.js +0 -29
  1861. package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.js.map +0 -1
  1862. package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.d.ts +0 -2
  1863. package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.d.ts.map +0 -1
  1864. package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.js +0 -183
  1865. package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.js.map +0 -1
  1866. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.d.ts +0 -2
  1867. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.d.ts.map +0 -1
  1868. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.js +0 -23
  1869. package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.js.map +0 -1
  1870. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.d.ts +0 -2
  1871. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.d.ts.map +0 -1
  1872. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.js +0 -33
  1873. package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.js.map +0 -1
  1874. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.d.ts +0 -2
  1875. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.d.ts.map +0 -1
  1876. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.js +0 -54
  1877. package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.js.map +0 -1
  1878. package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.d.ts +0 -2
  1879. package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.d.ts.map +0 -1
  1880. package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.js +0 -16
  1881. package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.js.map +0 -1
  1882. package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.d.ts +0 -2
  1883. package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.d.ts.map +0 -1
  1884. package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.js +0 -43
  1885. package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.js.map +0 -1
  1886. package/node_modules/@happier-dev/protocol/dist/updates.automation.test.d.ts +0 -2
  1887. package/node_modules/@happier-dev/protocol/dist/updates.automation.test.d.ts.map +0 -1
  1888. package/node_modules/@happier-dev/protocol/dist/updates.automation.test.js +0 -50
  1889. package/node_modules/@happier-dev/protocol/dist/updates.automation.test.js.map +0 -1
  1890. package/node_modules/@happier-dev/protocol/dist/voiceActions.test.d.ts +0 -2
  1891. package/node_modules/@happier-dev/protocol/dist/voiceActions.test.d.ts.map +0 -1
  1892. package/node_modules/@happier-dev/protocol/dist/voiceActions.test.js +0 -124
  1893. package/node_modules/@happier-dev/protocol/dist/voiceActions.test.js.map +0 -1
  1894. package/node_modules/@happier-dev/protocol/dist/voiceAgent.d.ts +0 -427
  1895. package/node_modules/@happier-dev/protocol/dist/voiceAgent.d.ts.map +0 -1
  1896. package/node_modules/@happier-dev/protocol/dist/voiceAgent.js +0 -118
  1897. package/node_modules/@happier-dev/protocol/dist/voiceAgent.js.map +0 -1
  1898. package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.d.ts +0 -2
  1899. package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.d.ts.map +0 -1
  1900. package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.js +0 -43
  1901. package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.js.map +0 -1
  1902. package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.d.ts +0 -2
  1903. package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.d.ts.map +0 -1
  1904. package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.js +0 -16
  1905. package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.js.map +0 -1
  1906. package/node_modules/@happier-dev/protocol/dist/voiceMediator.d.ts +0 -2737
  1907. package/node_modules/@happier-dev/protocol/dist/voiceMediator.d.ts.map +0 -1
  1908. package/node_modules/@happier-dev/protocol/dist/voiceMediator.js +0 -118
  1909. package/node_modules/@happier-dev/protocol/dist/voiceMediator.js.map +0 -1
  1910. package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.d.ts +0 -2
  1911. package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.d.ts.map +0 -1
  1912. package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.js +0 -43
  1913. package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.js.map +0 -1
  1914. package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.d.ts +0 -2
  1915. package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.d.ts.map +0 -1
  1916. package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.js +0 -16
  1917. package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.js.map +0 -1
  1918. package/scripts/provision/macos-lima-vm.sh +0 -257
  1919. package/scripts/provision/macos-lima-vm.test.mjs +0 -133
  1920. package/scripts/utils/service/autostart_darwin.mjs +0 -198
  1921. package/scripts/utils/service/autostart_darwin.test.mjs +0 -49
  1922. package/scripts/utils/service/autostart_darwin_keepalive.test.mjs +0 -19
@@ -4,6 +4,13 @@ import { ActionUiPlacementSchema } from './actionUiPlacements.js';
4
4
  import { ReviewStartInputSchema } from '../reviews/reviewStart.js';
5
5
  import { ActionInputPredicateSchema } from './actionInputPredicates.js';
6
6
  import { MemorySearchQueryV1Schema } from '../memory/memorySearch.js';
7
+ import { ApprovalRequestCreatedBySchema } from '../approvals/approvalRequestV1.js';
8
+ import { PromptRegistryConfiguredSourceV1Schema } from '../promptLibrary/promptRegistriesV1.js';
9
+ import { PromptAssetInstallModeV1Schema, PromptAssetScopeV1Schema } from '../promptLibrary/promptAssetsV1.js';
10
+ import { BackendTargetKeySchema, BackendTargetRefSchema, parseBackendTargetKey } from '../backendTargets/backendTargetRef.js';
11
+ import { ExecutionRunListRequestSchema } from '../executionRunListRequest.js';
12
+ import { SessionRollbackTargetSchema } from '../sessionRollback.js';
13
+ import { SessionHandoffWorkspaceTransferSchema } from '../sessionControl/handoff/handoffSchemas.js';
7
14
  const ZodSchemaLike = z.custom((value) => {
8
15
  if (!value || typeof value !== 'object')
9
16
  return false;
@@ -15,8 +22,9 @@ export const ActionSurfaceSchema = z.object({
15
22
  ui_slash_command: z.boolean(),
16
23
  voice_tool: z.boolean(),
17
24
  voice_action_block: z.boolean(),
25
+ session_agent: z.boolean(),
18
26
  mcp: z.boolean(),
19
- session_control_cli: z.boolean(),
27
+ cli: z.boolean(),
20
28
  }).strict();
21
29
  export const ActionSafetySchema = z.enum(['safe', 'danger']);
22
30
  export const ActionInputWidgetSchema = z.enum(['text', 'textarea', 'text_list', 'select', 'multiselect', 'toggle', 'checkbox']);
@@ -25,6 +33,7 @@ export const ActionInputOptionSchema = z
25
33
  value: z.string().min(1),
26
34
  label: z.string().min(1),
27
35
  description: z.string().min(1).optional(),
36
+ disabled: z.boolean().optional(),
28
37
  })
29
38
  .strict();
30
39
  export const ActionInputFieldHintSchema = z
@@ -45,6 +54,11 @@ export const ActionInputFieldHintSchema = z
45
54
  */
46
55
  listSeparator: z.enum(['comma', 'newline']).optional(),
47
56
  required: z.boolean().optional(),
57
+ /**
58
+ * When true, draft/launcher UIs should keep this field empty until the user
59
+ * explicitly picks a value instead of auto-seeding or auto-selecting one.
60
+ */
61
+ requireExplicitSelection: z.boolean().optional(),
48
62
  options: z.array(ActionInputOptionSchema).optional(),
49
63
  optionsSourceId: z.string().min(1).optional(),
50
64
  visibleWhen: ActionInputPredicateSchema.optional(),
@@ -85,11 +99,17 @@ export const ActionInputHintsSchema = z
85
99
  fields: z.array(ActionInputFieldHintSchema).default([]),
86
100
  })
87
101
  .strict();
102
+ export const ActionPromptingSchema = z
103
+ .object({
104
+ voiceHotPath: z.boolean().optional(),
105
+ })
106
+ .strict();
88
107
  export const ActionSpecSchema = z.object({
89
108
  id: ActionIdSchema,
90
109
  title: z.string().min(1),
91
110
  description: z.string().min(1).optional(),
92
111
  safety: ActionSafetySchema,
112
+ // UI placements where the action can appear when the relevant surface is enabled.
93
113
  placements: z.array(ActionUiPlacementSchema).default([]),
94
114
  // Optional stable slash command token for ui_slash_command.
95
115
  slash: z.object({
@@ -118,14 +138,48 @@ export const ActionSpecSchema = z.object({
118
138
  })
119
139
  .passthrough()
120
140
  .optional(),
141
+ prompting: ActionPromptingSchema.optional(),
121
142
  surfaces: ActionSurfaceSchema,
122
143
  inputSchema: ZodSchemaLike,
123
144
  inputHints: ActionInputHintsSchema.optional(),
124
145
  }).passthrough();
125
146
  const EmptyObjectSchema = z.object({}).strict();
147
+ const OptionalSessionIdInputSchema = z.object({
148
+ sessionId: z.string().min(1).optional(),
149
+ }).passthrough();
150
+ const SessionIdRequiredInputSchema = z.object({
151
+ sessionId: z.string().min(1),
152
+ }).passthrough();
153
+ const SessionTitleSetInputSchema = z.object({
154
+ sessionId: z.string().min(1).optional(),
155
+ title: z.string().trim().min(1),
156
+ }).passthrough();
157
+ const SessionPermissionModeSetInputSchema = z.object({
158
+ sessionId: z.string().min(1),
159
+ permissionMode: z.string().trim().min(1),
160
+ }).passthrough();
161
+ const SessionModelSetInputSchema = z.object({
162
+ sessionId: z.string().min(1),
163
+ modelId: z.string().trim().min(1),
164
+ }).passthrough();
165
+ const SessionStatusGetInputSchema = z.object({
166
+ sessionId: z.string().min(1),
167
+ live: z.boolean().optional(),
168
+ }).passthrough();
169
+ const SessionHistoryGetInputSchema = z.object({
170
+ sessionId: z.string().min(1),
171
+ limit: z.number().int().min(1).max(250).optional(),
172
+ format: z.enum(['compact', 'raw']).optional(),
173
+ includeMeta: z.boolean().optional(),
174
+ includeStructuredPayload: z.boolean().optional(),
175
+ }).passthrough();
176
+ const SessionWaitIdleInputSchema = z.object({
177
+ sessionId: z.string().min(1),
178
+ timeoutSeconds: z.number().int().min(1).max(3600).optional(),
179
+ }).passthrough();
126
180
  const IntentStartCommonSchema = z.object({
127
181
  sessionId: z.string().min(1).optional(),
128
- backendIds: z.array(z.string().min(1)).min(1),
182
+ backendTargetKeys: z.array(BackendTargetKeySchema).min(1),
129
183
  instructions: z.string().trim().min(1),
130
184
  permissionMode: z.string().min(1).optional(),
131
185
  retentionPolicy: z.enum(['ephemeral', 'resumable']).optional(),
@@ -154,6 +208,20 @@ const ExecutionRunIdInputSchema = z.object({
154
208
  sessionId: z.string().min(1).optional(),
155
209
  runId: z.string().min(1),
156
210
  }).passthrough();
211
+ const ExecutionRunStartInputSchema = z.object({
212
+ sessionId: z.string().min(1).optional(),
213
+ intent: z.enum(['review', 'plan', 'delegate', 'voice_agent', 'memory_hints']),
214
+ backendTarget: BackendTargetRefSchema,
215
+ instructions: z.string().optional(),
216
+ display: z.unknown().optional(),
217
+ permissionMode: z.string().min(1),
218
+ retentionPolicy: z.enum(['ephemeral', 'resumable']),
219
+ runClass: z.enum(['bounded', 'long_lived']),
220
+ ioMode: z.enum(['request_response', 'streaming']),
221
+ initialContextMode: z.enum(['bootstrap', 'first_turn']).optional(),
222
+ resumeHandle: z.unknown().nullable().optional(),
223
+ replay: z.unknown().optional(),
224
+ }).passthrough();
157
225
  const ExecutionRunGetInputSchema = ExecutionRunIdInputSchema.extend({
158
226
  includeStructured: z.boolean().optional(),
159
227
  }).passthrough();
@@ -165,14 +233,41 @@ const ExecutionRunActionInputSchema = ExecutionRunIdInputSchema.extend({
165
233
  actionId: z.string().min(1),
166
234
  input: z.unknown().optional(),
167
235
  }).passthrough();
236
+ const ExecutionRunWaitInputSchema = ExecutionRunIdInputSchema.extend({
237
+ timeoutSeconds: z.number().int().min(1).max(3600).optional(),
238
+ pollIntervalMs: z.number().int().min(100).max(60_000).optional(),
239
+ }).passthrough();
168
240
  const SessionOpenInputSchema = z.object({
169
- sessionId: z.string().min(1),
241
+ sessionId: z.string().min(1).optional(),
242
+ sessionTitle: z.string().trim().min(1).optional(),
243
+ }).passthrough().superRefine((value, ctx) => {
244
+ if (!(typeof value.sessionId === 'string' && value.sessionId.trim().length > 0) && !(typeof value.sessionTitle === 'string' && value.sessionTitle.trim().length > 0)) {
245
+ ctx.addIssue({
246
+ code: z.ZodIssueCode.custom,
247
+ message: 'sessionId or sessionTitle is required',
248
+ path: ['sessionId'],
249
+ });
250
+ }
251
+ });
252
+ const SessionForkInputSchema = z.object({
253
+ sessionId: z.string().min(1).optional(),
254
+ }).passthrough();
255
+ const SessionRollbackInputSchema = z.object({
256
+ sessionId: z.string().min(1).optional(),
257
+ target: SessionRollbackTargetSchema.optional(),
258
+ }).passthrough();
259
+ const SessionHandoffInputSchema = z.object({
260
+ sessionId: z.string().min(1).optional(),
261
+ targetMachineId: z.string().min(1).optional(),
262
+ targetSessionStorageMode: z.enum(['direct', 'persisted']).optional(),
263
+ workspaceTransfer: SessionHandoffWorkspaceTransferSchema.optional(),
170
264
  }).passthrough();
171
265
  const SessionSpawnNewInputSchema = z.object({
172
266
  tag: z.string().min(1).optional(),
173
- workspaceId: z.string().min(1).optional(),
174
267
  agentId: z.string().min(1).optional(),
175
268
  modelId: z.string().min(1).optional(),
269
+ backendTargetKey: z.string().min(1).optional(),
270
+ title: z.string().min(1).optional(),
176
271
  path: z.string().min(1).optional(),
177
272
  host: z.string().min(1).optional(),
178
273
  initialMessage: z.string().min(1).optional(),
@@ -183,9 +278,6 @@ const SessionSpawnPickerInputSchema = z.object({
183
278
  modelId: z.string().min(1).optional(),
184
279
  initialMessage: z.string().min(1).optional(),
185
280
  }).passthrough();
186
- const WorkspacesListRecentInputSchema = z.object({
187
- limit: z.number().int().min(1).max(50).optional(),
188
- }).passthrough();
189
281
  const PathsListRecentInputSchema = z.object({
190
282
  machineId: z.string().min(1).optional(),
191
283
  limit: z.number().int().min(1).max(50).optional(),
@@ -196,32 +288,143 @@ const MachinesListInputSchema = z.object({
196
288
  const ServersListInputSchema = z.object({
197
289
  limit: z.number().int().min(1).max(200).optional(),
198
290
  }).passthrough();
291
+ const ReviewEnginesListInputSchema = z.object({
292
+ sessionId: z.string().min(1).optional(),
293
+ includeDisabled: z.boolean().optional(),
294
+ }).passthrough();
199
295
  const AgentsBackendsListInputSchema = z.object({
200
296
  includeDisabled: z.boolean().optional(),
297
+ limit: z.number().int().min(1).max(200).optional(),
201
298
  }).passthrough();
202
299
  const AgentsModelsListInputSchema = z.object({
203
- agentId: z.string().min(1),
300
+ agentId: z.string().min(1).optional(),
301
+ backendTargetKey: BackendTargetKeySchema.optional(),
204
302
  machineId: z.string().min(1).optional(),
303
+ limit: z.number().int().min(1).max(200).optional(),
304
+ }).passthrough().superRefine((value, ctx) => {
305
+ if (!value.agentId && !value.backendTargetKey) {
306
+ ctx.addIssue({
307
+ code: z.ZodIssueCode.custom,
308
+ message: 'agentId or backendTargetKey is required',
309
+ path: ['agentId'],
310
+ });
311
+ }
312
+ if (value.agentId === 'customAcp' && !value.backendTargetKey) {
313
+ ctx.addIssue({
314
+ code: z.ZodIssueCode.custom,
315
+ message: 'backendTargetKey is required for customAcp',
316
+ path: ['backendTargetKey'],
317
+ });
318
+ }
319
+ if (value.agentId && value.backendTargetKey) {
320
+ const parsedTarget = parseBackendTargetKey(value.backendTargetKey);
321
+ const derivedAgentId = parsedTarget.kind === 'builtInAgent' ? parsedTarget.agentId : 'customAcp';
322
+ if (value.agentId !== derivedAgentId) {
323
+ ctx.addIssue({
324
+ code: z.ZodIssueCode.custom,
325
+ message: 'agentId must match backendTargetKey when both are provided',
326
+ path: ['agentId'],
327
+ });
328
+ }
329
+ }
330
+ });
331
+ const ActionSpecSearchInputSchema = z.object({
332
+ query: z.string().trim().optional(),
333
+ limit: z.number().int().min(1).max(100).optional(),
205
334
  }).passthrough();
335
+ const ActionSpecGetInputSchema = z.object({
336
+ id: z.string().min(1),
337
+ }).passthrough();
338
+ const ActionOptionsResolveInputSchema = z.object({
339
+ actionId: z.string().min(1).optional(),
340
+ fieldPath: z.string().min(1).optional(),
341
+ optionsSourceId: z.string().min(1).optional(),
342
+ sessionId: z.string().min(1).optional(),
343
+ limit: z.number().int().min(1).max(200).optional(),
344
+ query: z.string().trim().optional(),
345
+ }).passthrough().superRefine((value, ctx) => {
346
+ const actionId = typeof value.actionId === 'string' ? value.actionId.trim() : '';
347
+ const fieldPath = typeof value.fieldPath === 'string' ? value.fieldPath.trim() : '';
348
+ const optionsSourceId = typeof value.optionsSourceId === 'string' ? value.optionsSourceId.trim() : '';
349
+ if (!optionsSourceId && !(actionId && fieldPath)) {
350
+ ctx.addIssue({
351
+ code: z.ZodIssueCode.custom,
352
+ message: 'actionId + fieldPath or optionsSourceId is required',
353
+ path: ['actionId'],
354
+ });
355
+ }
356
+ });
206
357
  const SessionSendMessageInputSchema = z.object({
207
358
  sessionId: z.string().min(1).optional(),
208
359
  message: z.string().min(1),
360
+ permissionModeOverride: z.string().trim().min(1).optional(),
361
+ modelOverride: z.union([z.string().trim().min(1), z.null()]).optional(),
362
+ wait: z.boolean().optional(),
363
+ timeoutSeconds: z.number().int().min(1).max(3600).optional(),
209
364
  }).passthrough();
210
365
  const SessionPermissionRespondInputSchema = z.object({
211
366
  sessionId: z.string().min(1).optional(),
212
367
  decision: z.enum(['allow', 'deny']),
213
368
  requestId: z.string().min(1).optional(),
214
369
  }).passthrough();
215
- const SessionPrimaryTargetInputSchema = z.object({
216
- sessionId: z.string().min(1).nullable(),
370
+ const SessionUserActionAnswerItemSchema = z.object({
371
+ question: z.string().trim().min(1),
372
+ answer: z.string().trim().min(1),
373
+ }).strict();
374
+ const SessionUserActionAnswerInputSchema = z.object({
375
+ sessionId: z.string().min(1).optional(),
376
+ requestId: z.string().min(1).optional(),
377
+ decision: z.enum(['approve', 'reject', 'request_changes']).optional(),
378
+ reason: z.string().trim().min(1).optional(),
379
+ answers: z.array(SessionUserActionAnswerItemSchema).min(1).optional(),
380
+ updatedPermissions: z.unknown().optional(),
381
+ }).passthrough().superRefine((value, ctx) => {
382
+ const hasAnswers = Array.isArray(value.answers) && value.answers.length > 0;
383
+ const decision = typeof value.decision === 'string' ? value.decision : null;
384
+ if (!hasAnswers && !decision) {
385
+ ctx.addIssue({
386
+ code: z.ZodIssueCode.custom,
387
+ message: 'decision or answers is required',
388
+ path: ['decision'],
389
+ });
390
+ }
391
+ if (decision === 'request_changes' && !(typeof value.reason === 'string' && value.reason.trim().length > 0)) {
392
+ ctx.addIssue({
393
+ code: z.ZodIssueCode.custom,
394
+ message: 'reason is required when decision=request_changes',
395
+ path: ['reason'],
396
+ });
397
+ }
398
+ });
399
+ const SessionModeSetInputSchema = z.object({
400
+ sessionId: z.string().min(1).optional(),
401
+ modeId: z.string().min(1),
217
402
  }).passthrough();
403
+ const SessionPrimaryTargetInputSchema = z.object({
404
+ sessionId: z.string().min(1).nullable().optional(),
405
+ sessionTitle: z.string().trim().min(1).optional(),
406
+ }).passthrough().superRefine((value, ctx) => {
407
+ const hasSessionId = value.sessionId === null || (typeof value.sessionId === 'string' && value.sessionId.trim().length > 0);
408
+ const hasSessionTitle = typeof value.sessionTitle === 'string' && value.sessionTitle.trim().length > 0;
409
+ if (!hasSessionId && !hasSessionTitle) {
410
+ ctx.addIssue({
411
+ code: z.ZodIssueCode.custom,
412
+ message: 'sessionId or sessionTitle is required',
413
+ path: ['sessionId'],
414
+ });
415
+ }
416
+ });
218
417
  const SessionTrackedTargetsInputSchema = z.object({
219
418
  sessionIds: z.array(z.string().min(1)).max(50),
220
419
  }).passthrough();
221
420
  const SessionListInputSchema = z.object({
222
- limit: z.number().int().min(1).max(50).optional(),
421
+ limit: z.number().int().min(1).max(200).optional(),
223
422
  cursor: z.string().min(1).nullable().optional(),
224
423
  includeLastMessagePreview: z.boolean().optional(),
424
+ activeOnly: z.boolean().optional(),
425
+ archivedOnly: z.boolean().optional(),
426
+ includeSystem: z.boolean().optional(),
427
+ resumableOnly: z.boolean().optional(),
225
428
  }).passthrough();
226
429
  const SessionActivityInputSchema = z.object({
227
430
  sessionId: z.string().min(1),
@@ -253,13 +456,164 @@ const MemoryEnsureUpToDateInputSchema = z.object({
253
456
  machineId: z.string().min(1),
254
457
  sessionId: z.string().min(1).optional(),
255
458
  }).passthrough();
459
+ const ApprovalRequestCreateInputSchema = z.object({
460
+ actionId: ActionIdSchema,
461
+ actionArgs: z.unknown(),
462
+ summary: z.string().min(1),
463
+ createdBy: ApprovalRequestCreatedBySchema,
464
+ preview: z.unknown().optional(),
465
+ }).passthrough();
466
+ const ApprovalRequestDecideInputSchema = z.object({
467
+ artifactId: z.string().min(1),
468
+ decision: z.enum(['approve', 'reject']),
469
+ }).passthrough();
470
+ const PromptDocUpdateInputSchema = z.object({
471
+ artifactId: z.string().min(1),
472
+ title: z.string().min(1),
473
+ markdown: z.string(),
474
+ folderId: z.string().min(1).nullable().optional(),
475
+ tags: z.array(z.string().min(1)).optional(),
476
+ }).passthrough();
477
+ const PromptBundleUpdateInputSchema = z.object({
478
+ artifactId: z.string().min(1),
479
+ title: z.string().min(1),
480
+ skillMarkdown: z.string(),
481
+ folderId: z.string().min(1).nullable().optional(),
482
+ tags: z.array(z.string().min(1)).optional(),
483
+ }).passthrough();
484
+ const PromptAssetExportInputSchema = z.object({
485
+ artifactId: z.string().min(1),
486
+ machineId: z.string().min(1),
487
+ assetTypeId: z.string().min(1),
488
+ scope: PromptAssetScopeV1Schema,
489
+ directory: z.string().min(1).optional(),
490
+ targetPath: z.string().min(1).optional(),
491
+ targetName: z.string().min(1).optional(),
492
+ installMode: PromptAssetInstallModeV1Schema.optional(),
493
+ }).passthrough().superRefine((value, ctx) => {
494
+ const hasDocTarget = typeof value.targetPath === 'string' && value.targetPath.trim().length > 0;
495
+ const hasBundleTarget = typeof value.targetName === 'string' && value.targetName.trim().length > 0;
496
+ if (!hasDocTarget && !hasBundleTarget) {
497
+ ctx.addIssue({
498
+ code: z.ZodIssueCode.custom,
499
+ message: 'targetPath or targetName is required',
500
+ path: ['targetPath'],
501
+ });
502
+ }
503
+ });
504
+ const PromptRegistryInstallInputSchema = z.object({
505
+ machineId: z.string().min(1),
506
+ sourceId: z.string().min(1),
507
+ itemId: z.string().min(1),
508
+ configuredSources: z.array(PromptRegistryConfiguredSourceV1Schema).default([]),
509
+ installTarget: z.object({
510
+ assetTypeId: z.string().min(1),
511
+ scope: PromptAssetScopeV1Schema,
512
+ directory: z.string().min(1).optional(),
513
+ targetName: z.string().min(1),
514
+ installMode: PromptAssetInstallModeV1Schema.optional(),
515
+ }).optional(),
516
+ }).passthrough();
256
517
  export const ACTION_SPECS = Object.freeze([
518
+ {
519
+ id: 'action.spec.search',
520
+ title: 'Search action specs',
521
+ description: 'Search available Happier action specs by name, description, bindings, and field hints.',
522
+ safety: 'safe',
523
+ placements: ['voice_panel'],
524
+ prompting: { voiceHotPath: true },
525
+ bindings: { voiceClientToolName: 'searchActionSpecs', mcpToolName: 'action_spec_search' },
526
+ examples: {
527
+ voice: { argsExample: '{"query":"plan mode","limit":5}' },
528
+ },
529
+ surfaces: {
530
+ ui_button: false,
531
+ ui_slash_command: false,
532
+ voice_tool: true,
533
+ voice_action_block: true,
534
+ session_agent: true,
535
+ mcp: true,
536
+ cli: false,
537
+ },
538
+ inputHints: {
539
+ title: 'Search action specs',
540
+ description: 'Use this before guessing action ids or tool names.',
541
+ fields: [
542
+ { path: 'query', title: 'Query', description: 'Natural-language search text.', widget: 'text' },
543
+ { path: 'limit', title: 'Limit', description: 'Maximum number of action specs to return.', widget: 'text' },
544
+ ],
545
+ },
546
+ inputSchema: ActionSpecSearchInputSchema,
547
+ },
548
+ {
549
+ id: 'action.spec.get',
550
+ title: 'Get action spec',
551
+ description: 'Get one Happier action spec with input hints and examples.',
552
+ safety: 'safe',
553
+ placements: ['voice_panel'],
554
+ prompting: { voiceHotPath: true },
555
+ bindings: { voiceClientToolName: 'getActionSpec', mcpToolName: 'action_spec_get' },
556
+ examples: {
557
+ voice: { argsExample: '{"id":"subagents.plan.start"}' },
558
+ },
559
+ surfaces: {
560
+ ui_button: false,
561
+ ui_slash_command: false,
562
+ voice_tool: true,
563
+ voice_action_block: true,
564
+ session_agent: true,
565
+ mcp: true,
566
+ cli: false,
567
+ },
568
+ inputHints: {
569
+ title: 'Get action spec',
570
+ fields: [
571
+ { path: 'id', title: 'Action id', description: 'The exact Happier action id.', widget: 'text', required: true },
572
+ ],
573
+ },
574
+ inputSchema: ActionSpecGetInputSchema,
575
+ },
576
+ {
577
+ id: 'action.options.resolve',
578
+ title: 'Resolve action options',
579
+ description: 'Resolve valid options for an action field, including dynamic options sources.',
580
+ safety: 'safe',
581
+ placements: ['voice_panel'],
582
+ prompting: { voiceHotPath: true },
583
+ bindings: { voiceClientToolName: 'resolveActionOptions', mcpToolName: 'action_options_resolve' },
584
+ examples: {
585
+ voice: { argsExample: '{"actionId":"subagents.plan.start","fieldPath":"backendTargetKeys","sessionId":"{{sessionId}}"}' },
586
+ },
587
+ surfaces: {
588
+ ui_button: false,
589
+ ui_slash_command: false,
590
+ voice_tool: true,
591
+ voice_action_block: true,
592
+ session_agent: true,
593
+ mcp: true,
594
+ cli: false,
595
+ },
596
+ inputHints: {
597
+ title: 'Resolve action options',
598
+ description: 'Use this when an action field has static options or an optionsSourceId.',
599
+ fields: [
600
+ { path: 'actionId', title: 'Action id', description: 'Optional when optionsSourceId is provided directly.', widget: 'text' },
601
+ { path: 'fieldPath', title: 'Field path', description: 'Dot-path for the action input field.', widget: 'text' },
602
+ { path: 'optionsSourceId', title: 'Options source id', description: 'Direct options source lookup when known.', widget: 'text' },
603
+ { path: 'sessionId', title: 'Session id', description: 'Needed for session-scoped option sources.', widget: 'text' },
604
+ { path: 'query', title: 'Query filter', description: 'Optional search text to filter the returned options.', widget: 'text' },
605
+ { path: 'limit', title: 'Limit', description: 'Maximum number of options to return.', widget: 'text' },
606
+ ],
607
+ },
608
+ inputSchema: ActionOptionsResolveInputSchema,
609
+ },
257
610
  {
258
611
  id: 'review.start',
259
612
  title: 'Start review',
260
613
  safety: 'safe',
261
614
  placements: ['agent_input_chips', 'session_action_menu', 'command_palette', 'slash_command', 'voice_panel'],
262
- slash: { tokens: ['/h.review'] },
615
+ prompting: { voiceHotPath: true },
616
+ slash: { tokens: ['/review', '/h.review'] },
263
617
  bindings: { voiceClientToolName: 'startReview', mcpToolName: 'review_start' },
264
618
  inputHints: {
265
619
  title: 'Start a code review',
@@ -271,6 +625,7 @@ export const ACTION_SPECS = Object.freeze([
271
625
  description: 'Select one or more engines. Each engine runs as its own execution run.',
272
626
  widget: 'multiselect',
273
627
  required: true,
628
+ requireExplicitSelection: true,
274
629
  optionsSourceId: 'review.engines.available',
275
630
  },
276
631
  {
@@ -331,31 +686,33 @@ export const ACTION_SPECS = Object.freeze([
331
686
  ],
332
687
  },
333
688
  examples: {
334
- voice: { argsExample: '{"sessionId":"{{sessionId}}","engineIds":["codex"],"instructions":"Review this.","changeType":"committed","base":{"kind":"none"}}' },
689
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","engineIds":["codex"],"instructions":"Review this.","changeType":"uncommitted","base":{"kind":"none"}}' },
335
690
  },
336
691
  surfaces: {
337
692
  ui_button: true,
338
693
  ui_slash_command: true,
339
694
  voice_tool: true,
340
695
  voice_action_block: true,
696
+ session_agent: true,
341
697
  mcp: true,
342
- session_control_cli: true,
698
+ cli: true,
343
699
  },
344
700
  inputSchema: ReviewStartInputSchema,
345
701
  },
346
702
  {
347
- id: 'plan.start',
703
+ id: 'subagents.plan.start',
348
704
  title: 'Start plan run',
349
705
  safety: 'safe',
350
706
  placements: ['agent_input_chips', 'session_action_menu', 'command_palette', 'slash_command', 'voice_panel'],
707
+ prompting: { voiceHotPath: true },
351
708
  slash: { tokens: ['/h.plan'] },
352
- bindings: { voiceClientToolName: 'startPlan', mcpToolName: 'plan_start' },
709
+ bindings: { voiceClientToolName: 'startPlan', mcpToolName: 'subagents_plan_start' },
353
710
  inputHints: {
354
711
  title: 'Start a planning run',
355
712
  description: 'Start one or more parallel planning runs using selected backends.',
356
713
  fields: [
357
714
  {
358
- path: 'backendIds',
715
+ path: 'backendTargetKeys',
359
716
  title: 'Backends',
360
717
  description: 'Select one or more backends. Each backend runs as its own execution run.',
361
718
  widget: 'multiselect',
@@ -372,31 +729,33 @@ export const ACTION_SPECS = Object.freeze([
372
729
  ],
373
730
  },
374
731
  examples: {
375
- voice: { argsExample: '{"sessionId":"{{sessionId}}","backendIds":["codex"],"instructions":"Plan the changes."}' },
732
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","backendTargetKeys":["agent:codex"],"instructions":"Plan the changes."}' },
376
733
  },
377
734
  surfaces: {
378
735
  ui_button: true,
379
736
  ui_slash_command: true,
380
737
  voice_tool: true,
381
738
  voice_action_block: true,
739
+ session_agent: true,
382
740
  mcp: true,
383
- session_control_cli: true,
741
+ cli: true,
384
742
  },
385
743
  inputSchema: PlanStartInputSchema,
386
744
  },
387
745
  {
388
- id: 'delegate.start',
746
+ id: 'subagents.delegate.start',
389
747
  title: 'Start delegate run',
390
748
  safety: 'safe',
391
749
  placements: ['agent_input_chips', 'session_action_menu', 'command_palette', 'slash_command', 'voice_panel'],
750
+ prompting: { voiceHotPath: true },
392
751
  slash: { tokens: ['/h.delegate'] },
393
- bindings: { voiceClientToolName: 'startDelegate', mcpToolName: 'delegate_start' },
752
+ bindings: { voiceClientToolName: 'startDelegate', mcpToolName: 'subagents_delegate_start' },
394
753
  inputHints: {
395
754
  title: 'Start a delegation run',
396
755
  description: 'Start one or more parallel delegation runs using selected backends.',
397
756
  fields: [
398
757
  {
399
- path: 'backendIds',
758
+ path: 'backendTargetKeys',
400
759
  title: 'Backends',
401
760
  description: 'Select one or more backends. Each backend runs as its own execution run.',
402
761
  widget: 'multiselect',
@@ -413,15 +772,16 @@ export const ACTION_SPECS = Object.freeze([
413
772
  ],
414
773
  },
415
774
  examples: {
416
- voice: { argsExample: '{"sessionId":"{{sessionId}}","backendIds":["codex"],"instructions":"Delegate the task."}' },
775
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","backendTargetKeys":["agent:codex"],"instructions":"Delegate the task."}' },
417
776
  },
418
777
  surfaces: {
419
778
  ui_button: true,
420
779
  ui_slash_command: true,
421
780
  voice_tool: true,
422
781
  voice_action_block: true,
782
+ session_agent: true,
423
783
  mcp: true,
424
- session_control_cli: true,
784
+ cli: true,
425
785
  },
426
786
  inputSchema: DelegateStartInputSchema,
427
787
  },
@@ -437,7 +797,7 @@ export const ACTION_SPECS = Object.freeze([
437
797
  description: 'Start a voice agent execution run (typically used by the voice control plane).',
438
798
  fields: [
439
799
  {
440
- path: 'backendIds',
800
+ path: 'backendTargetKeys',
441
801
  title: 'Backends',
442
802
  description: 'Select one or more backends.',
443
803
  widget: 'multiselect',
@@ -454,58 +814,118 @@ export const ACTION_SPECS = Object.freeze([
454
814
  ],
455
815
  },
456
816
  examples: {
457
- voice: { argsExample: '{"sessionId":"{{sessionId}}","backendIds":["codex"],"instructions":"..."}' },
817
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","backendTargetKeys":["agent:codex"],"instructions":"Start the voice assistant for this workspace."}' },
458
818
  },
459
819
  surfaces: {
460
820
  ui_button: false,
461
821
  ui_slash_command: false,
462
822
  voice_tool: true,
463
823
  voice_action_block: true,
824
+ session_agent: true,
464
825
  mcp: true,
465
- session_control_cli: true,
826
+ cli: true,
466
827
  },
467
828
  inputSchema: VoiceAgentStartInputSchema,
468
829
  },
830
+ {
831
+ id: 'execution.run.start',
832
+ title: 'Start execution run',
833
+ description: 'Start a new execution run within a session.',
834
+ safety: 'safe',
835
+ placements: [],
836
+ bindings: { mcpToolName: 'execution_run_start' },
837
+ examples: {
838
+ mcp: {
839
+ argsExample: '{"sessionId":"{{sessionId}}","intent":"voice_agent","backendTarget":{"kind":"builtInAgent","agentId":"codex"},"instructions":"Summarize recent changes.","permissionMode":"read_only","retentionPolicy":"ephemeral","runClass":"bounded","ioMode":"request_response"}',
840
+ },
841
+ },
842
+ surfaces: {
843
+ ui_button: false,
844
+ ui_slash_command: false,
845
+ voice_tool: false,
846
+ voice_action_block: false,
847
+ session_agent: true,
848
+ mcp: true,
849
+ cli: true,
850
+ },
851
+ inputHints: {
852
+ title: 'Start a run',
853
+ fields: [
854
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
855
+ { path: 'intent', title: 'Intent', widget: 'text', required: true },
856
+ { path: 'backendTarget', title: 'Backend target (json)', widget: 'textarea', required: true },
857
+ { path: 'instructions', title: 'Instructions', widget: 'textarea' },
858
+ { path: 'permissionMode', title: 'Permission mode', widget: 'text', required: true },
859
+ { path: 'retentionPolicy', title: 'Retention policy', widget: 'text', required: true },
860
+ { path: 'runClass', title: 'Run class', widget: 'text', required: true },
861
+ { path: 'ioMode', title: 'IO mode', widget: 'text', required: true },
862
+ { path: 'initialContextMode', title: 'Initial context mode', widget: 'text' },
863
+ ],
864
+ },
865
+ inputSchema: ExecutionRunStartInputSchema,
866
+ },
469
867
  {
470
868
  id: 'execution.run.list',
471
869
  title: 'List execution runs',
472
870
  safety: 'safe',
473
871
  placements: ['run_list', 'command_palette', 'slash_command', 'voice_panel'],
872
+ prompting: { voiceHotPath: true },
474
873
  slash: { tokens: ['/h.runs'] },
475
874
  bindings: { voiceClientToolName: 'listExecutionRuns', mcpToolName: 'execution_run_list' },
476
875
  inputHints: {
477
876
  title: 'List execution runs',
478
- fields: [{ path: 'sessionId', title: 'Session id', widget: 'text' }],
877
+ fields: [
878
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
879
+ { path: 'backendTarget', title: 'Backend target', widget: 'text' },
880
+ {
881
+ path: 'status',
882
+ title: 'Status',
883
+ widget: 'select',
884
+ options: [
885
+ { value: 'running', label: 'Running' },
886
+ { value: 'succeeded', label: 'Succeeded' },
887
+ { value: 'failed', label: 'Failed' },
888
+ { value: 'cancelled', label: 'Cancelled' },
889
+ { value: 'timeout', label: 'Timeout' },
890
+ ],
891
+ },
892
+ { path: 'limit', title: 'Max runs', widget: 'text' },
893
+ ],
479
894
  },
480
895
  examples: {
481
- voice: { argsExample: '{"sessionId":"{{sessionId}}"}' },
896
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","status":"running","limit":10}' },
482
897
  },
483
898
  surfaces: {
484
899
  ui_button: true,
485
900
  ui_slash_command: true,
486
901
  voice_tool: true,
487
902
  voice_action_block: true,
903
+ session_agent: true,
488
904
  mcp: true,
489
- session_control_cli: true,
905
+ cli: true,
490
906
  },
491
- inputSchema: z.object({ sessionId: z.string().min(1).optional() }).passthrough(),
907
+ inputSchema: ExecutionRunListRequestSchema.extend({
908
+ sessionId: z.string().min(1).optional(),
909
+ }),
492
910
  },
493
911
  {
494
912
  id: 'execution.run.get',
495
913
  title: 'Get execution run',
496
914
  safety: 'safe',
497
915
  placements: ['run_list', 'run_card', 'command_palette'],
916
+ prompting: { voiceHotPath: true },
498
917
  bindings: { voiceClientToolName: 'getExecutionRun', mcpToolName: 'execution_run_get' },
499
918
  examples: {
500
- voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"...","includeStructured":false}' },
919
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"run_123","includeStructured":false}' },
501
920
  },
502
921
  surfaces: {
503
922
  ui_button: false,
504
923
  ui_slash_command: false,
505
924
  voice_tool: true,
506
925
  voice_action_block: true,
926
+ session_agent: true,
507
927
  mcp: true,
508
- session_control_cli: true,
928
+ cli: true,
509
929
  },
510
930
  inputHints: {
511
931
  title: 'Get a run',
@@ -523,15 +943,16 @@ export const ACTION_SPECS = Object.freeze([
523
943
  placements: ['run_card'],
524
944
  bindings: { voiceClientToolName: 'sendExecutionRunMessage', mcpToolName: 'execution_run_send' },
525
945
  examples: {
526
- voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"...","message":"...","resume":false}' },
946
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"run_123","message":"Continue and summarize what changed.","resume":false}' },
527
947
  },
528
948
  surfaces: {
529
949
  ui_button: false,
530
950
  ui_slash_command: false,
531
951
  voice_tool: true,
532
952
  voice_action_block: true,
953
+ session_agent: true,
533
954
  mcp: true,
534
- session_control_cli: true,
955
+ cli: true,
535
956
  },
536
957
  inputHints: {
537
958
  title: 'Send to run',
@@ -550,15 +971,16 @@ export const ACTION_SPECS = Object.freeze([
550
971
  placements: ['run_card', 'run_list'],
551
972
  bindings: { voiceClientToolName: 'stopExecutionRun', mcpToolName: 'execution_run_stop' },
552
973
  examples: {
553
- voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"..."}' },
974
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"run_123"}' },
554
975
  },
555
976
  surfaces: {
556
977
  ui_button: true,
557
978
  ui_slash_command: false,
558
979
  voice_tool: true,
559
980
  voice_action_block: true,
981
+ session_agent: true,
560
982
  mcp: true,
561
- session_control_cli: true,
983
+ cli: true,
562
984
  },
563
985
  inputHints: {
564
986
  title: 'Stop a run',
@@ -573,15 +995,16 @@ export const ACTION_SPECS = Object.freeze([
573
995
  placements: ['run_card'],
574
996
  bindings: { voiceClientToolName: 'actionExecutionRun', mcpToolName: 'execution_run_action' },
575
997
  examples: {
576
- voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"...","actionId":"...","input":{}}' },
998
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","runId":"run_123","actionId":"voice_agent.commit","input":{"maxChars":1200}}' },
577
999
  },
578
1000
  surfaces: {
579
1001
  ui_button: false,
580
1002
  ui_slash_command: false,
581
1003
  voice_tool: true,
582
1004
  voice_action_block: true,
1005
+ session_agent: true,
583
1006
  mcp: true,
584
- session_control_cli: true,
1007
+ cli: true,
585
1008
  },
586
1009
  inputHints: {
587
1010
  title: 'Run action',
@@ -593,6 +1016,36 @@ export const ACTION_SPECS = Object.freeze([
593
1016
  },
594
1017
  inputSchema: ExecutionRunActionInputSchema,
595
1018
  },
1019
+ {
1020
+ id: 'execution.run.wait',
1021
+ title: 'Wait for execution run',
1022
+ description: 'Wait until an execution run reaches a terminal status (succeeded/failed/cancelled/timeout).',
1023
+ safety: 'safe',
1024
+ placements: [],
1025
+ bindings: { mcpToolName: 'execution_run_wait' },
1026
+ examples: {
1027
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}","runId":"run_123","timeoutSeconds":300}' },
1028
+ },
1029
+ surfaces: {
1030
+ ui_button: false,
1031
+ ui_slash_command: false,
1032
+ voice_tool: false,
1033
+ voice_action_block: false,
1034
+ session_agent: true,
1035
+ mcp: true,
1036
+ cli: true,
1037
+ },
1038
+ inputHints: {
1039
+ title: 'Wait for a run',
1040
+ fields: [
1041
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
1042
+ { path: 'runId', title: 'Run id', widget: 'text', required: true },
1043
+ { path: 'timeoutSeconds', title: 'Timeout seconds', widget: 'text' },
1044
+ { path: 'pollIntervalMs', title: 'Poll interval (ms)', widget: 'text' },
1045
+ ],
1046
+ },
1047
+ inputSchema: ExecutionRunWaitInputSchema,
1048
+ },
596
1049
  {
597
1050
  id: 'session.open',
598
1051
  title: 'Open session',
@@ -600,46 +1053,130 @@ export const ACTION_SPECS = Object.freeze([
600
1053
  placements: ['command_palette', 'session_info', 'voice_panel'],
601
1054
  bindings: { voiceClientToolName: 'openSession' },
602
1055
  examples: {
603
- voice: { argsExample: '{"sessionId":"..."}' },
1056
+ voice: { argsExample: '{"sessionTitle":"Session Setup"}' },
604
1057
  },
605
1058
  surfaces: {
606
1059
  ui_button: true,
607
1060
  ui_slash_command: false,
608
1061
  voice_tool: true,
609
1062
  voice_action_block: true,
1063
+ session_agent: false,
610
1064
  mcp: false,
611
- session_control_cli: false,
1065
+ cli: false,
612
1066
  },
613
1067
  inputHints: {
614
1068
  title: 'Open a session',
615
- fields: [{ path: 'sessionId', title: 'Session id', widget: 'text', required: true }],
1069
+ fields: [
1070
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
1071
+ { path: 'sessionTitle', title: 'Session title', widget: 'text' },
1072
+ ],
616
1073
  },
617
1074
  inputSchema: SessionOpenInputSchema,
618
1075
  },
1076
+ {
1077
+ id: 'session.fork',
1078
+ title: 'Fork session',
1079
+ description: 'Create a new session from the latest state of the selected session.',
1080
+ safety: 'safe',
1081
+ placements: ['session_action_menu', 'session_info', 'command_palette', 'slash_command', 'voice_panel', 'agent_input_chips'],
1082
+ slash: { tokens: ['fork'] },
1083
+ bindings: { voiceClientToolName: 'forkSession' },
1084
+ examples: {
1085
+ voice: { argsExample: '{"sessionId":"{{sessionId}}"}' },
1086
+ },
1087
+ surfaces: {
1088
+ ui_button: true,
1089
+ ui_slash_command: true,
1090
+ voice_tool: true,
1091
+ voice_action_block: true,
1092
+ session_agent: false,
1093
+ mcp: false,
1094
+ cli: false,
1095
+ },
1096
+ inputHints: {
1097
+ title: 'Fork a session',
1098
+ description: 'Forks from the latest message in the session.',
1099
+ fields: [{ path: 'sessionId', title: 'Session id', widget: 'text' }],
1100
+ },
1101
+ inputSchema: SessionForkInputSchema,
1102
+ },
1103
+ {
1104
+ id: 'session.rollback',
1105
+ title: 'Rollback conversation',
1106
+ description: 'Roll back conversation state in the selected session.',
1107
+ safety: 'danger',
1108
+ placements: ['session_action_menu', 'session_info'],
1109
+ surfaces: {
1110
+ ui_button: true,
1111
+ ui_slash_command: false,
1112
+ voice_tool: false,
1113
+ voice_action_block: false,
1114
+ session_agent: false,
1115
+ mcp: false,
1116
+ cli: false,
1117
+ },
1118
+ inputHints: {
1119
+ title: 'Rollback a session conversation',
1120
+ description: 'Rewinds conversation state for the selected session.',
1121
+ fields: [{ path: 'sessionId', title: 'Session id', widget: 'text' }],
1122
+ },
1123
+ inputSchema: SessionRollbackInputSchema,
1124
+ },
1125
+ {
1126
+ id: 'session.handoff',
1127
+ title: 'Hand off session',
1128
+ description: 'Move the current session to another machine while keeping the same session id.',
1129
+ safety: 'safe',
1130
+ placements: ['session_action_menu', 'session_info'],
1131
+ examples: {
1132
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","targetMachineId":"{{machineId}}"}' },
1133
+ },
1134
+ surfaces: {
1135
+ ui_button: true,
1136
+ ui_slash_command: false,
1137
+ voice_tool: false,
1138
+ voice_action_block: false,
1139
+ session_agent: false,
1140
+ mcp: false,
1141
+ cli: false,
1142
+ },
1143
+ inputHints: {
1144
+ title: 'Hand off a session',
1145
+ description: 'Moves the current session to another machine.',
1146
+ fields: [
1147
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
1148
+ { path: 'targetMachineId', title: 'Target machine id', widget: 'text' },
1149
+ ],
1150
+ },
1151
+ inputSchema: SessionHandoffInputSchema,
1152
+ },
619
1153
  {
620
1154
  id: 'session.spawn_new',
621
1155
  title: 'Create session',
622
1156
  safety: 'safe',
623
1157
  placements: ['command_palette', 'session_info', 'voice_panel'],
624
- bindings: { voiceClientToolName: 'spawnSession' },
1158
+ prompting: { voiceHotPath: true },
1159
+ bindings: { voiceClientToolName: 'spawnSession', mcpToolName: 'session_spawn_new' },
625
1160
  examples: {
626
- voice: { argsExample: '{"tag":"...optional...","workspaceId":"...optional...","agentId":"...optional...","modelId":"...optional...","path":"...optional...","host":"...optional...","initialMessage":"...optional..."}' },
1161
+ voice: { argsExample: '{"tag":"voice-qa","agentId":"claude","modelId":"default","initialMessage":"Help me inspect this workspace."}' },
627
1162
  },
628
1163
  surfaces: {
629
1164
  ui_button: true,
630
1165
  ui_slash_command: false,
631
1166
  voice_tool: true,
632
1167
  voice_action_block: true,
633
- mcp: false,
634
- session_control_cli: true,
1168
+ session_agent: false,
1169
+ mcp: true,
1170
+ cli: true,
635
1171
  },
636
1172
  inputHints: {
637
1173
  title: 'Create a new session',
638
1174
  fields: [
639
1175
  { path: 'tag', title: 'Tag', widget: 'text' },
640
- { path: 'workspaceId', title: 'Workspace id', widget: 'text' },
641
1176
  { path: 'agentId', title: 'Agent id', widget: 'text' },
642
1177
  { path: 'modelId', title: 'Model id', widget: 'text' },
1178
+ { path: 'backendTargetKey', title: 'Backend target key', widget: 'text' },
1179
+ { path: 'title', title: 'Title', widget: 'text' },
643
1180
  { path: 'path', title: 'Path', widget: 'text' },
644
1181
  { path: 'host', title: 'Host', widget: 'text' },
645
1182
  { path: 'initialMessage', title: 'Initial message', widget: 'textarea' },
@@ -653,17 +1190,19 @@ export const ACTION_SPECS = Object.freeze([
653
1190
  description: 'Open the in-app machine + directory picker and create a new session from the user selection.',
654
1191
  safety: 'safe',
655
1192
  placements: ['voice_panel'],
1193
+ prompting: { voiceHotPath: true },
656
1194
  bindings: { voiceClientToolName: 'spawnSessionPicker' },
657
1195
  examples: {
658
- voice: { argsExample: '{"tag":"...optional...","agentId":"...optional...","modelId":"...optional...","initialMessage":"...optional..."}' },
1196
+ voice: { argsExample: '{"tag":"voice-qa","agentId":"claude","modelId":"default","initialMessage":"Help me inspect this workspace."}' },
659
1197
  },
660
1198
  surfaces: {
661
1199
  ui_button: false,
662
1200
  ui_slash_command: false,
663
1201
  voice_tool: true,
664
1202
  voice_action_block: true,
665
- mcp: false,
666
- session_control_cli: false,
1203
+ session_agent: false,
1204
+ mcp: true,
1205
+ cli: true,
667
1206
  },
668
1207
  inputHints: {
669
1208
  title: 'Create a new session (picker)',
@@ -676,30 +1215,6 @@ export const ACTION_SPECS = Object.freeze([
676
1215
  },
677
1216
  inputSchema: SessionSpawnPickerInputSchema,
678
1217
  },
679
- {
680
- id: 'workspaces.list_recent',
681
- title: 'List recent workspaces',
682
- description: 'List recent workspace handles for discovery without exposing raw paths to remote providers.',
683
- safety: 'safe',
684
- placements: ['voice_panel'],
685
- bindings: { voiceClientToolName: 'listRecentWorkspaces' },
686
- examples: {
687
- voice: { argsExample: '{"limit":10}' },
688
- },
689
- surfaces: {
690
- ui_button: false,
691
- ui_slash_command: false,
692
- voice_tool: true,
693
- voice_action_block: true,
694
- mcp: false,
695
- session_control_cli: false,
696
- },
697
- inputHints: {
698
- title: 'List recent workspaces',
699
- fields: [{ path: 'limit', title: 'Limit', widget: 'text' }],
700
- },
701
- inputSchema: WorkspacesListRecentInputSchema,
702
- },
703
1218
  {
704
1219
  id: 'paths.list_recent',
705
1220
  title: 'List recent paths',
@@ -708,15 +1223,16 @@ export const ACTION_SPECS = Object.freeze([
708
1223
  placements: ['voice_panel'],
709
1224
  bindings: { voiceClientToolName: 'listRecentPaths' },
710
1225
  examples: {
711
- voice: { argsExample: '{"machineId":"...optional...","limit":10}' },
1226
+ voice: { argsExample: '{"limit":10}' },
712
1227
  },
713
1228
  surfaces: {
714
1229
  ui_button: false,
715
1230
  ui_slash_command: false,
716
1231
  voice_tool: true,
717
1232
  voice_action_block: true,
718
- mcp: false,
719
- session_control_cli: false,
1233
+ session_agent: false,
1234
+ mcp: true,
1235
+ cli: true,
720
1236
  },
721
1237
  inputHints: {
722
1238
  title: 'List recent paths',
@@ -742,8 +1258,9 @@ export const ACTION_SPECS = Object.freeze([
742
1258
  ui_slash_command: false,
743
1259
  voice_tool: true,
744
1260
  voice_action_block: true,
1261
+ session_agent: false,
745
1262
  mcp: false,
746
- session_control_cli: false,
1263
+ cli: false,
747
1264
  },
748
1265
  inputHints: {
749
1266
  title: 'List machines',
@@ -766,8 +1283,9 @@ export const ACTION_SPECS = Object.freeze([
766
1283
  ui_slash_command: false,
767
1284
  voice_tool: true,
768
1285
  voice_action_block: true,
1286
+ session_agent: false,
769
1287
  mcp: false,
770
- session_control_cli: false,
1288
+ cli: false,
771
1289
  },
772
1290
  inputHints: {
773
1291
  title: 'List servers',
@@ -776,28 +1294,61 @@ export const ACTION_SPECS = Object.freeze([
776
1294
  inputSchema: ServersListInputSchema,
777
1295
  },
778
1296
  {
779
- id: 'agents.backends.list',
780
- title: 'List agent backends',
781
- description: 'List available agent backends (providers) for spawning sessions.',
1297
+ id: 'review.engines.list',
1298
+ title: 'List review engines',
1299
+ description: 'List review engines currently available for the active session.',
782
1300
  safety: 'safe',
783
1301
  placements: ['voice_panel'],
784
- bindings: { voiceClientToolName: 'listAgentBackends' },
1302
+ bindings: { voiceClientToolName: 'listReviewEngines' },
785
1303
  examples: {
786
- voice: { argsExample: '{"includeDisabled":false}' },
1304
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","includeDisabled":false}' },
787
1305
  },
788
1306
  surfaces: {
789
1307
  ui_button: false,
790
1308
  ui_slash_command: false,
791
1309
  voice_tool: true,
792
1310
  voice_action_block: true,
1311
+ session_agent: false,
793
1312
  mcp: false,
794
- session_control_cli: false,
1313
+ cli: false,
795
1314
  },
796
1315
  inputHints: {
797
- title: 'List agent backends',
798
- fields: [{ path: 'includeDisabled', title: 'Include disabled', widget: 'toggle' }],
1316
+ title: 'List review engines',
1317
+ fields: [
1318
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
1319
+ { path: 'includeDisabled', title: 'Include disabled', widget: 'toggle' },
1320
+ ],
799
1321
  },
800
- inputSchema: AgentsBackendsListInputSchema,
1322
+ inputSchema: ReviewEnginesListInputSchema,
1323
+ },
1324
+ {
1325
+ id: 'agents.backends.list',
1326
+ title: 'List agent backends',
1327
+ description: 'List available agent backends (providers) for spawning sessions.',
1328
+ safety: 'safe',
1329
+ placements: ['voice_panel'],
1330
+ prompting: { voiceHotPath: true },
1331
+ bindings: { voiceClientToolName: 'listAgentBackends', mcpToolName: 'agents_backends_list' },
1332
+ examples: {
1333
+ voice: { argsExample: '{"includeDisabled":false,"limit":10}' },
1334
+ },
1335
+ surfaces: {
1336
+ ui_button: false,
1337
+ ui_slash_command: false,
1338
+ voice_tool: true,
1339
+ voice_action_block: true,
1340
+ session_agent: true,
1341
+ mcp: true,
1342
+ cli: true,
1343
+ },
1344
+ inputHints: {
1345
+ title: 'List agent backends',
1346
+ fields: [
1347
+ { path: 'includeDisabled', title: 'Include disabled', widget: 'toggle' },
1348
+ { path: 'limit', title: 'Max results', widget: 'text' },
1349
+ ],
1350
+ },
1351
+ inputSchema: AgentsBackendsListInputSchema,
801
1352
  },
802
1353
  {
803
1354
  id: 'agents.models.list',
@@ -805,23 +1356,27 @@ export const ACTION_SPECS = Object.freeze([
805
1356
  description: 'List available models for an agent backend.',
806
1357
  safety: 'safe',
807
1358
  placements: ['voice_panel'],
808
- bindings: { voiceClientToolName: 'listAgentModels' },
1359
+ prompting: { voiceHotPath: true },
1360
+ bindings: { voiceClientToolName: 'listAgentModels', mcpToolName: 'agents_models_list' },
809
1361
  examples: {
810
- voice: { argsExample: '{"agentId":"claude","machineId":"...optional..."}' },
1362
+ voice: { argsExample: '{"backendTargetKey":"agent:claude","limit":10}' },
811
1363
  },
812
1364
  surfaces: {
813
1365
  ui_button: false,
814
1366
  ui_slash_command: false,
815
1367
  voice_tool: true,
816
1368
  voice_action_block: true,
817
- mcp: false,
818
- session_control_cli: false,
1369
+ session_agent: true,
1370
+ mcp: true,
1371
+ cli: true,
819
1372
  },
820
1373
  inputHints: {
821
1374
  title: 'List agent models',
822
1375
  fields: [
823
- { path: 'agentId', title: 'Agent id', widget: 'text', required: true },
1376
+ { path: 'agentId', title: 'Agent id', widget: 'text' },
1377
+ { path: 'backendTargetKey', title: 'Backend target key', widget: 'text' },
824
1378
  { path: 'machineId', title: 'Machine id (optional)', widget: 'text' },
1379
+ { path: 'limit', title: 'Max results', widget: 'text' },
825
1380
  ],
826
1381
  },
827
1382
  inputSchema: AgentsModelsListInputSchema,
@@ -832,44 +1387,306 @@ export const ACTION_SPECS = Object.freeze([
832
1387
  description: 'Send a user message to the AI coding assistant inside the specified session.',
833
1388
  safety: 'safe',
834
1389
  placements: ['voice_panel'],
835
- bindings: { voiceClientToolName: 'sendSessionMessage' },
1390
+ prompting: { voiceHotPath: true },
1391
+ bindings: { voiceClientToolName: 'sendSessionMessage', mcpToolName: 'session_message_send' },
836
1392
  examples: {
837
- voice: { argsExample: '{"sessionId":"{{sessionId}}","message":"..."}' },
1393
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","message":"Please inspect the latest changes."}' },
838
1394
  },
839
1395
  surfaces: {
840
1396
  ui_button: false,
841
1397
  ui_slash_command: false,
842
1398
  voice_tool: true,
843
1399
  voice_action_block: true,
844
- mcp: false,
845
- session_control_cli: false,
1400
+ session_agent: true,
1401
+ mcp: true,
1402
+ cli: true,
846
1403
  },
847
1404
  inputHints: {
848
1405
  title: 'Send a message',
849
1406
  fields: [
850
1407
  { path: 'sessionId', title: 'Session id', widget: 'text' },
851
1408
  { path: 'message', title: 'Message', widget: 'textarea', required: true },
1409
+ { path: 'permissionModeOverride', title: 'Permission mode override (optional)', widget: 'text' },
1410
+ { path: 'modelOverride', title: 'Model override (optional)', widget: 'text' },
1411
+ { path: 'wait', title: 'Wait for idle (optional)', widget: 'toggle' },
1412
+ { path: 'timeoutSeconds', title: 'Timeout seconds (optional)', widget: 'text' },
852
1413
  ],
853
1414
  },
854
1415
  inputSchema: SessionSendMessageInputSchema,
855
1416
  },
1417
+ {
1418
+ id: 'session.stop',
1419
+ title: 'Stop session',
1420
+ description: 'Request that the local daemon stops the specified session.',
1421
+ safety: 'safe',
1422
+ placements: [],
1423
+ bindings: { mcpToolName: 'session_stop' },
1424
+ examples: {
1425
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}"}' },
1426
+ },
1427
+ surfaces: {
1428
+ ui_button: false,
1429
+ ui_slash_command: false,
1430
+ voice_tool: false,
1431
+ voice_action_block: false,
1432
+ session_agent: true,
1433
+ mcp: true,
1434
+ cli: true,
1435
+ },
1436
+ inputHints: {
1437
+ title: 'Stop a session',
1438
+ fields: [{ path: 'sessionId', title: 'Session id', widget: 'text', required: true }],
1439
+ },
1440
+ inputSchema: SessionIdRequiredInputSchema,
1441
+ },
1442
+ {
1443
+ id: 'session.title.set',
1444
+ title: 'Set session title',
1445
+ description: 'Set the title (summary text) shown for a session.',
1446
+ safety: 'safe',
1447
+ placements: [],
1448
+ bindings: { mcpToolName: 'session_title_set' },
1449
+ examples: {
1450
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","title":"Fix flaky tests"}' },
1451
+ },
1452
+ surfaces: {
1453
+ ui_button: false,
1454
+ ui_slash_command: false,
1455
+ voice_tool: false,
1456
+ voice_action_block: false,
1457
+ session_agent: true,
1458
+ mcp: true,
1459
+ cli: true,
1460
+ },
1461
+ inputHints: {
1462
+ title: 'Set title',
1463
+ fields: [
1464
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
1465
+ { path: 'title', title: 'Title', widget: 'text', required: true },
1466
+ ],
1467
+ },
1468
+ inputSchema: SessionTitleSetInputSchema,
1469
+ },
1470
+ {
1471
+ id: 'session.permission_mode.set',
1472
+ title: 'Set session permission mode',
1473
+ description: 'Update the permission intent (read_only/workspace_write/etc) for the specified session.',
1474
+ safety: 'safe',
1475
+ placements: [],
1476
+ bindings: { mcpToolName: 'session_permission_mode_set' },
1477
+ examples: {
1478
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}","permissionMode":"read_only"}' },
1479
+ },
1480
+ surfaces: {
1481
+ ui_button: false,
1482
+ ui_slash_command: false,
1483
+ voice_tool: false,
1484
+ voice_action_block: false,
1485
+ session_agent: true,
1486
+ mcp: true,
1487
+ cli: true,
1488
+ },
1489
+ inputHints: {
1490
+ title: 'Set permission mode',
1491
+ fields: [
1492
+ { path: 'sessionId', title: 'Session id', widget: 'text', required: true },
1493
+ { path: 'permissionMode', title: 'Permission mode', widget: 'text', required: true },
1494
+ ],
1495
+ },
1496
+ inputSchema: SessionPermissionModeSetInputSchema,
1497
+ },
1498
+ {
1499
+ id: 'session.model.set',
1500
+ title: 'Set session model',
1501
+ description: 'Set the model override for the specified session.',
1502
+ safety: 'safe',
1503
+ placements: [],
1504
+ bindings: { mcpToolName: 'session_model_set' },
1505
+ examples: {
1506
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}","modelId":"default"}' },
1507
+ },
1508
+ surfaces: {
1509
+ ui_button: false,
1510
+ ui_slash_command: false,
1511
+ voice_tool: false,
1512
+ voice_action_block: false,
1513
+ session_agent: true,
1514
+ mcp: true,
1515
+ cli: true,
1516
+ },
1517
+ inputHints: {
1518
+ title: 'Set session model',
1519
+ fields: [
1520
+ { path: 'sessionId', title: 'Session id', widget: 'text', required: true },
1521
+ { path: 'modelId', title: 'Model id', widget: 'text', required: true },
1522
+ ],
1523
+ },
1524
+ inputSchema: SessionModelSetInputSchema,
1525
+ },
1526
+ {
1527
+ id: 'session.archive',
1528
+ title: 'Archive session',
1529
+ description: 'Archive the specified session.',
1530
+ safety: 'safe',
1531
+ placements: [],
1532
+ bindings: { mcpToolName: 'session_archive' },
1533
+ examples: {
1534
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}"}' },
1535
+ },
1536
+ surfaces: {
1537
+ ui_button: false,
1538
+ ui_slash_command: false,
1539
+ voice_tool: false,
1540
+ voice_action_block: false,
1541
+ session_agent: true,
1542
+ mcp: true,
1543
+ cli: true,
1544
+ },
1545
+ inputHints: {
1546
+ title: 'Archive a session',
1547
+ fields: [{ path: 'sessionId', title: 'Session id', widget: 'text', required: true }],
1548
+ },
1549
+ inputSchema: SessionIdRequiredInputSchema,
1550
+ },
1551
+ {
1552
+ id: 'session.unarchive',
1553
+ title: 'Unarchive session',
1554
+ description: 'Unarchive the specified session.',
1555
+ safety: 'safe',
1556
+ placements: [],
1557
+ bindings: { mcpToolName: 'session_unarchive' },
1558
+ examples: {
1559
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}"}' },
1560
+ },
1561
+ surfaces: {
1562
+ ui_button: false,
1563
+ ui_slash_command: false,
1564
+ voice_tool: false,
1565
+ voice_action_block: false,
1566
+ session_agent: true,
1567
+ mcp: true,
1568
+ cli: true,
1569
+ },
1570
+ inputHints: {
1571
+ title: 'Unarchive a session',
1572
+ fields: [{ path: 'sessionId', title: 'Session id', widget: 'text', required: true }],
1573
+ },
1574
+ inputSchema: SessionIdRequiredInputSchema,
1575
+ },
1576
+ {
1577
+ id: 'session.status.get',
1578
+ title: 'Get session status',
1579
+ description: 'Get summary status for a session, optionally refreshing live agent state.',
1580
+ safety: 'safe',
1581
+ placements: [],
1582
+ bindings: { mcpToolName: 'session_status_get' },
1583
+ examples: {
1584
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}","live":true}' },
1585
+ },
1586
+ surfaces: {
1587
+ ui_button: false,
1588
+ ui_slash_command: false,
1589
+ voice_tool: false,
1590
+ voice_action_block: false,
1591
+ session_agent: true,
1592
+ mcp: true,
1593
+ cli: true,
1594
+ },
1595
+ inputHints: {
1596
+ title: 'Get session status',
1597
+ fields: [
1598
+ { path: 'sessionId', title: 'Session id', widget: 'text', required: true },
1599
+ { path: 'live', title: 'Live', widget: 'toggle' },
1600
+ ],
1601
+ },
1602
+ inputSchema: SessionStatusGetInputSchema,
1603
+ },
1604
+ {
1605
+ id: 'session.history.get',
1606
+ title: 'Get session history',
1607
+ description: 'Fetch a slice of session history/transcript records.',
1608
+ safety: 'safe',
1609
+ placements: [],
1610
+ bindings: { mcpToolName: 'session_history_get' },
1611
+ examples: {
1612
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}","limit":50,"format":"compact"}' },
1613
+ },
1614
+ surfaces: {
1615
+ ui_button: false,
1616
+ ui_slash_command: false,
1617
+ voice_tool: false,
1618
+ voice_action_block: false,
1619
+ session_agent: true,
1620
+ mcp: true,
1621
+ cli: true,
1622
+ },
1623
+ inputHints: {
1624
+ title: 'Get session history',
1625
+ fields: [
1626
+ { path: 'sessionId', title: 'Session id', widget: 'text', required: true },
1627
+ { path: 'limit', title: 'Limit', widget: 'text' },
1628
+ {
1629
+ path: 'format',
1630
+ title: 'Format',
1631
+ widget: 'select',
1632
+ options: [
1633
+ { value: 'compact', label: 'Compact' },
1634
+ { value: 'raw', label: 'Raw' },
1635
+ ],
1636
+ },
1637
+ { path: 'includeMeta', title: 'Include meta', widget: 'toggle' },
1638
+ { path: 'includeStructuredPayload', title: 'Include structured payload', widget: 'toggle' },
1639
+ ],
1640
+ },
1641
+ inputSchema: SessionHistoryGetInputSchema,
1642
+ },
1643
+ {
1644
+ id: 'session.wait.idle',
1645
+ title: 'Wait for session idle',
1646
+ description: 'Wait until the session becomes idle or the timeout elapses.',
1647
+ safety: 'safe',
1648
+ placements: [],
1649
+ bindings: { mcpToolName: 'session_wait_idle' },
1650
+ examples: {
1651
+ mcp: { argsExample: '{"sessionId":"{{sessionId}}","timeoutSeconds":300}' },
1652
+ },
1653
+ surfaces: {
1654
+ ui_button: false,
1655
+ ui_slash_command: false,
1656
+ voice_tool: false,
1657
+ voice_action_block: false,
1658
+ session_agent: true,
1659
+ mcp: true,
1660
+ cli: true,
1661
+ },
1662
+ inputHints: {
1663
+ title: 'Wait for idle',
1664
+ fields: [
1665
+ { path: 'sessionId', title: 'Session id', widget: 'text', required: true },
1666
+ { path: 'timeoutSeconds', title: 'Timeout seconds', widget: 'text' },
1667
+ ],
1668
+ },
1669
+ inputSchema: SessionWaitIdleInputSchema,
1670
+ },
856
1671
  {
857
1672
  id: 'session.permission.respond',
858
1673
  title: 'Respond to permission request',
859
1674
  description: 'Approve or deny an active permission request in a session.',
860
1675
  safety: 'safe',
861
1676
  placements: ['voice_panel'],
862
- bindings: { voiceClientToolName: 'processPermissionRequest' },
1677
+ prompting: { voiceHotPath: true },
1678
+ bindings: { voiceClientToolName: 'processPermissionRequest', mcpToolName: 'session_permission_respond' },
863
1679
  examples: {
864
- voice: { argsExample: '{"sessionId":"{{sessionId}}","decision":"allow|deny","requestId":"...optional..."}' },
1680
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","decision":"allow"}' },
865
1681
  },
866
1682
  surfaces: {
867
1683
  ui_button: false,
868
1684
  ui_slash_command: false,
869
1685
  voice_tool: true,
870
1686
  voice_action_block: true,
871
- mcp: false,
872
- session_control_cli: false,
1687
+ session_agent: true,
1688
+ mcp: true,
1689
+ cli: true,
873
1690
  },
874
1691
  inputHints: {
875
1692
  title: 'Respond to permission request',
@@ -890,27 +1707,142 @@ export const ACTION_SPECS = Object.freeze([
890
1707
  },
891
1708
  inputSchema: SessionPermissionRespondInputSchema,
892
1709
  },
1710
+ {
1711
+ id: 'session.user_action.answer',
1712
+ title: 'Respond to user-action request',
1713
+ description: 'Approve, reject, request changes, or provide structured answers for an active user-action request.',
1714
+ safety: 'safe',
1715
+ placements: ['voice_panel'],
1716
+ prompting: { voiceHotPath: true },
1717
+ bindings: { voiceClientToolName: 'answerUserActionRequest', mcpToolName: 'session_user_action_answer' },
1718
+ examples: {
1719
+ voice: {
1720
+ argsExample: '{"sessionId":"{{sessionId}}","answers":[{"question":"Continue?","answer":"Yes"}]}',
1721
+ },
1722
+ },
1723
+ surfaces: {
1724
+ ui_button: false,
1725
+ ui_slash_command: false,
1726
+ voice_tool: true,
1727
+ voice_action_block: true,
1728
+ session_agent: true,
1729
+ mcp: true,
1730
+ cli: true,
1731
+ },
1732
+ inputHints: {
1733
+ title: 'Respond to user-action request',
1734
+ fields: [
1735
+ { path: 'sessionId', title: 'Session id', widget: 'text' },
1736
+ { path: 'requestId', title: 'Request id', widget: 'text' },
1737
+ {
1738
+ path: 'decision',
1739
+ title: 'Decision',
1740
+ description: 'Use approve or reject for general user actions, or request_changes when you need the coding assistant to revise something first.',
1741
+ widget: 'select',
1742
+ options: [
1743
+ { value: 'approve', label: 'Approve' },
1744
+ { value: 'reject', label: 'Reject' },
1745
+ { value: 'request_changes', label: 'Request changes' },
1746
+ ],
1747
+ },
1748
+ {
1749
+ path: 'reason',
1750
+ title: 'Reason',
1751
+ description: 'Required when requesting changes. Optional extra context for a rejection.',
1752
+ widget: 'textarea',
1753
+ },
1754
+ {
1755
+ path: 'answers',
1756
+ title: 'Answers',
1757
+ description: 'Structured answers for question-style user-action requests such as AskUserQuestion.',
1758
+ widget: 'textarea',
1759
+ },
1760
+ {
1761
+ path: 'answers.[]',
1762
+ title: 'Answer entry',
1763
+ description: 'One question/answer pair for the pending request.',
1764
+ widget: 'textarea',
1765
+ },
1766
+ {
1767
+ path: 'answers.[].question',
1768
+ title: 'Question',
1769
+ description: 'The exact question text to answer.',
1770
+ widget: 'text',
1771
+ required: true,
1772
+ },
1773
+ {
1774
+ path: 'answers.[].answer',
1775
+ title: 'Answer',
1776
+ description: 'The answer text to send back for that question.',
1777
+ widget: 'text',
1778
+ required: true,
1779
+ },
1780
+ ],
1781
+ },
1782
+ inputSchema: SessionUserActionAnswerInputSchema,
1783
+ },
1784
+ {
1785
+ id: 'session.mode.set',
1786
+ title: 'Set session mode',
1787
+ description: 'Request a new ACP session mode for the current session when the active provider supports session modes.',
1788
+ safety: 'safe',
1789
+ placements: ['voice_panel'],
1790
+ prompting: { voiceHotPath: true },
1791
+ bindings: { voiceClientToolName: 'setSessionMode' },
1792
+ examples: {
1793
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","modeId":"plan"}' },
1794
+ },
1795
+ surfaces: {
1796
+ ui_button: false,
1797
+ ui_slash_command: false,
1798
+ voice_tool: true,
1799
+ voice_action_block: true,
1800
+ session_agent: true,
1801
+ mcp: true,
1802
+ cli: true,
1803
+ },
1804
+ inputHints: {
1805
+ title: 'Set session mode',
1806
+ fields: [
1807
+ { path: 'sessionId', title: 'Session id', description: 'Optional when the active target session is already correct.', widget: 'text' },
1808
+ {
1809
+ path: 'modeId',
1810
+ title: 'Mode id',
1811
+ description: 'Use default to clear the override and return to the provider default mode.',
1812
+ widget: 'select',
1813
+ required: true,
1814
+ optionsSourceId: 'session.modes.available',
1815
+ },
1816
+ ],
1817
+ },
1818
+ inputSchema: SessionModeSetInputSchema,
1819
+ },
893
1820
  {
894
1821
  id: 'session.target.primary.set',
895
1822
  title: 'Set primary action session',
896
1823
  description: 'Set which session the voice assistant should target by default.',
897
1824
  safety: 'safe',
898
1825
  placements: ['voice_panel'],
899
- bindings: { voiceClientToolName: 'setPrimaryActionSession' },
1826
+ prompting: { voiceHotPath: true },
1827
+ bindings: { voiceClientToolName: 'setPrimaryActionSession', mcpToolName: 'session_target_primary_set' },
900
1828
  examples: {
901
- voice: { argsExample: '{"sessionId":"...|null"}' },
1829
+ voice: { argsExample: '{"sessionTitle":"Session Setup"}' },
902
1830
  },
903
1831
  surfaces: {
904
1832
  ui_button: false,
905
1833
  ui_slash_command: false,
906
1834
  voice_tool: true,
907
1835
  voice_action_block: true,
908
- mcp: false,
909
- session_control_cli: false,
1836
+ session_agent: false,
1837
+ mcp: true,
1838
+ cli: true,
910
1839
  },
911
1840
  inputHints: {
912
1841
  title: 'Set primary action session',
913
- fields: [{ path: 'sessionId', title: 'Session id (or null)', widget: 'text' }],
1842
+ fields: [
1843
+ { path: 'sessionId', title: 'Session id (or null)', widget: 'text' },
1844
+ { path: 'sessionTitle', title: 'Session title', widget: 'text' },
1845
+ ],
914
1846
  },
915
1847
  inputSchema: SessionPrimaryTargetInputSchema,
916
1848
  },
@@ -920,17 +1852,18 @@ export const ACTION_SPECS = Object.freeze([
920
1852
  description: 'Set which sessions should be treated as tracked for updates/snippets.',
921
1853
  safety: 'safe',
922
1854
  placements: ['voice_panel'],
923
- bindings: { voiceClientToolName: 'setTrackedSessions' },
1855
+ bindings: { voiceClientToolName: 'setTrackedSessions', mcpToolName: 'session_target_tracked_set' },
924
1856
  examples: {
925
- voice: { argsExample: '{"sessionIds":["..."]}' },
1857
+ voice: { argsExample: '{"sessionIds":["{{sessionId}}"]}' },
926
1858
  },
927
1859
  surfaces: {
928
1860
  ui_button: false,
929
1861
  ui_slash_command: false,
930
1862
  voice_tool: true,
931
1863
  voice_action_block: true,
932
- mcp: false,
933
- session_control_cli: false,
1864
+ session_agent: false,
1865
+ mcp: true,
1866
+ cli: true,
934
1867
  },
935
1868
  inputHints: {
936
1869
  title: 'Set tracked sessions',
@@ -944,7 +1877,8 @@ export const ACTION_SPECS = Object.freeze([
944
1877
  description: 'List recent sessions the user can target.',
945
1878
  safety: 'safe',
946
1879
  placements: ['voice_panel'],
947
- bindings: { voiceClientToolName: 'listSessions' },
1880
+ prompting: { voiceHotPath: true },
1881
+ bindings: { voiceClientToolName: 'listSessions', mcpToolName: 'session_list' },
948
1882
  examples: {
949
1883
  voice: { argsExample: '{"limit":20,"cursor":null,"includeLastMessagePreview":true}' },
950
1884
  },
@@ -953,8 +1887,9 @@ export const ACTION_SPECS = Object.freeze([
953
1887
  ui_slash_command: false,
954
1888
  voice_tool: true,
955
1889
  voice_action_block: true,
956
- mcp: false,
957
- session_control_cli: false,
1890
+ session_agent: true,
1891
+ mcp: true,
1892
+ cli: true,
958
1893
  },
959
1894
  inputHints: {
960
1895
  title: 'List sessions',
@@ -972,17 +1907,18 @@ export const ACTION_SPECS = Object.freeze([
972
1907
  description: 'Get a short activity digest for a session without transcript content.',
973
1908
  safety: 'safe',
974
1909
  placements: ['voice_panel'],
975
- bindings: { voiceClientToolName: 'getSessionActivity' },
1910
+ bindings: { voiceClientToolName: 'getSessionActivity', mcpToolName: 'session_activity_get' },
976
1911
  examples: {
977
- voice: { argsExample: '{"sessionId":"..."}' },
1912
+ voice: { argsExample: '{"sessionId":"{{sessionId}}"}' },
978
1913
  },
979
1914
  surfaces: {
980
1915
  ui_button: false,
981
1916
  ui_slash_command: false,
982
1917
  voice_tool: true,
983
1918
  voice_action_block: true,
984
- mcp: false,
985
- session_control_cli: false,
1919
+ session_agent: true,
1920
+ mcp: true,
1921
+ cli: true,
986
1922
  },
987
1923
  inputHints: {
988
1924
  title: 'Get session activity',
@@ -999,17 +1935,18 @@ export const ACTION_SPECS = Object.freeze([
999
1935
  description: 'Get a small slice of recent messages for a session (privacy guarded).',
1000
1936
  safety: 'safe',
1001
1937
  placements: ['voice_panel'],
1002
- bindings: { voiceClientToolName: 'getSessionRecentMessages' },
1938
+ bindings: { voiceClientToolName: 'getSessionRecentMessages', mcpToolName: 'session_messages_recent_get' },
1003
1939
  examples: {
1004
- voice: { argsExample: '{"sessionId":"...","limit":3,"cursor":null}' },
1940
+ voice: { argsExample: '{"sessionId":"{{sessionId}}","limit":3,"cursor":null}' },
1005
1941
  },
1006
1942
  surfaces: {
1007
1943
  ui_button: false,
1008
1944
  ui_slash_command: false,
1009
1945
  voice_tool: true,
1010
1946
  voice_action_block: true,
1011
- mcp: false,
1012
- session_control_cli: false,
1947
+ session_agent: true,
1948
+ mcp: true,
1949
+ cli: true,
1013
1950
  },
1014
1951
  inputHints: {
1015
1952
  title: 'Get recent messages',
@@ -1043,17 +1980,45 @@ export const ACTION_SPECS = Object.freeze([
1043
1980
  ui_slash_command: true,
1044
1981
  voice_tool: true,
1045
1982
  voice_action_block: true,
1983
+ session_agent: false,
1046
1984
  mcp: false,
1047
- session_control_cli: false,
1985
+ cli: false,
1048
1986
  },
1049
1987
  inputSchema: EmptyObjectSchema,
1050
1988
  },
1989
+ {
1990
+ id: 'ui.voice_agent.teleport',
1991
+ title: 'Teleport voice agent to session root',
1992
+ description: 'Move the daemon-backed voice agent into the current or specified session root.',
1993
+ safety: 'safe',
1994
+ placements: ['voice_panel'],
1995
+ bindings: { voiceClientToolName: 'teleportVoiceAgentToSessionRoot' },
1996
+ inputHints: {
1997
+ title: 'Teleport voice agent',
1998
+ description: 'Teleport the active voice agent into a session root. Defaults to the current action session when omitted.',
1999
+ fields: [{ path: 'sessionId', title: 'Session id', widget: 'text' }],
2000
+ },
2001
+ examples: {
2002
+ voice: { argsExample: '{"sessionId":"{{sessionId}}"}' },
2003
+ },
2004
+ surfaces: {
2005
+ ui_button: false,
2006
+ ui_slash_command: false,
2007
+ voice_tool: true,
2008
+ voice_action_block: true,
2009
+ session_agent: false,
2010
+ mcp: false,
2011
+ cli: false,
2012
+ },
2013
+ inputSchema: OptionalSessionIdInputSchema,
2014
+ },
1051
2015
  {
1052
2016
  id: 'memory.search',
1053
2017
  title: 'Search memory',
1054
2018
  description: 'Search the local daemon memory index (opt-in).',
1055
2019
  safety: 'safe',
1056
2020
  placements: ['voice_panel', 'command_palette'],
2021
+ prompting: { voiceHotPath: true },
1057
2022
  bindings: { voiceClientToolName: 'memorySearch', mcpToolName: 'memory_search' },
1058
2023
  inputHints: {
1059
2024
  title: 'Search memory',
@@ -1096,8 +2061,9 @@ export const ACTION_SPECS = Object.freeze([
1096
2061
  ui_slash_command: false,
1097
2062
  voice_tool: true,
1098
2063
  voice_action_block: true,
1099
- mcp: true,
1100
- session_control_cli: false,
2064
+ session_agent: true,
2065
+ mcp: false,
2066
+ cli: false,
1101
2067
  },
1102
2068
  inputSchema: MemorySearchInputSchema,
1103
2069
  },
@@ -1123,8 +2089,13 @@ export const ACTION_SPECS = Object.freeze([
1123
2089
  ui_slash_command: false,
1124
2090
  voice_tool: true,
1125
2091
  voice_action_block: true,
1126
- mcp: true,
1127
- session_control_cli: false,
2092
+ session_agent: true,
2093
+ mcp: false,
2094
+ cli: false,
2095
+ },
2096
+ examples: {
2097
+ voice: { argsExample: '{"machineId":"{{machineId}}","sessionId":"{{sessionId}}","seqFrom":120,"seqTo":124}' },
2098
+ mcp: { argsExample: '{"machineId":"{{machineId}}","sessionId":"{{sessionId}}","seqFrom":120,"seqTo":124}' },
1128
2099
  },
1129
2100
  inputSchema: MemoryGetWindowInputSchema,
1130
2101
  },
@@ -1148,11 +2119,223 @@ export const ACTION_SPECS = Object.freeze([
1148
2119
  ui_slash_command: false,
1149
2120
  voice_tool: true,
1150
2121
  voice_action_block: true,
1151
- mcp: true,
1152
- session_control_cli: false,
2122
+ session_agent: true,
2123
+ mcp: false,
2124
+ cli: false,
2125
+ },
2126
+ examples: {
2127
+ voice: { argsExample: '{"machineId":"{{machineId}}","sessionId":"{{sessionId}}"}' },
2128
+ mcp: { argsExample: '{"machineId":"{{machineId}}","sessionId":"{{sessionId}}"}' },
1153
2129
  },
1154
2130
  inputSchema: MemoryEnsureUpToDateInputSchema,
1155
2131
  },
2132
+ {
2133
+ id: 'prompt_doc.update',
2134
+ title: 'Update prompt document',
2135
+ description: 'Update a prompt document stored in the Happier prompt library.',
2136
+ safety: 'danger',
2137
+ placements: [],
2138
+ surfaces: {
2139
+ ui_button: false,
2140
+ ui_slash_command: false,
2141
+ voice_tool: false,
2142
+ voice_action_block: false,
2143
+ session_agent: true,
2144
+ mcp: true,
2145
+ cli: true,
2146
+ },
2147
+ inputSchema: PromptDocUpdateInputSchema,
2148
+ inputHints: {
2149
+ title: 'Update prompt document',
2150
+ fields: [
2151
+ { path: 'artifactId', title: 'Prompt artifact id', widget: 'text', required: true },
2152
+ { path: 'title', title: 'Title', widget: 'text', required: true },
2153
+ { path: 'markdown', title: 'Markdown', widget: 'textarea', required: true },
2154
+ { path: 'folderId', title: 'Folder id', widget: 'text' },
2155
+ { path: 'tags', title: 'Tags', widget: 'text_list', listSeparator: 'comma' },
2156
+ ],
2157
+ },
2158
+ },
2159
+ {
2160
+ id: 'prompt_bundle.update',
2161
+ title: 'Update prompt bundle',
2162
+ description: 'Update a skill bundle stored in the Happier prompt library.',
2163
+ safety: 'danger',
2164
+ placements: [],
2165
+ surfaces: {
2166
+ ui_button: false,
2167
+ ui_slash_command: false,
2168
+ voice_tool: false,
2169
+ voice_action_block: false,
2170
+ session_agent: false,
2171
+ mcp: false,
2172
+ cli: false,
2173
+ },
2174
+ inputSchema: PromptBundleUpdateInputSchema,
2175
+ inputHints: {
2176
+ title: 'Update prompt bundle',
2177
+ fields: [
2178
+ { path: 'artifactId', title: 'Bundle artifact id', widget: 'text', required: true },
2179
+ { path: 'title', title: 'Title', widget: 'text', required: true },
2180
+ { path: 'skillMarkdown', title: 'SKILL.md markdown', widget: 'textarea', required: true },
2181
+ { path: 'folderId', title: 'Folder id', widget: 'text' },
2182
+ { path: 'tags', title: 'Tags', widget: 'text_list', listSeparator: 'comma' },
2183
+ ],
2184
+ },
2185
+ },
2186
+ {
2187
+ id: 'prompt_asset.export',
2188
+ title: 'Export prompt asset',
2189
+ description: 'Export a prompt doc or skill bundle from the Happier library to a provider-native asset.',
2190
+ safety: 'danger',
2191
+ placements: [],
2192
+ surfaces: {
2193
+ ui_button: false,
2194
+ ui_slash_command: false,
2195
+ voice_tool: false,
2196
+ voice_action_block: false,
2197
+ session_agent: false,
2198
+ mcp: false,
2199
+ cli: false,
2200
+ },
2201
+ inputSchema: PromptAssetExportInputSchema,
2202
+ inputHints: {
2203
+ title: 'Export prompt asset',
2204
+ fields: [
2205
+ { path: 'artifactId', title: 'Artifact id', widget: 'text', required: true },
2206
+ { path: 'machineId', title: 'Machine id', widget: 'text', required: true },
2207
+ { path: 'assetTypeId', title: 'Asset type id', widget: 'text', required: true },
2208
+ {
2209
+ path: 'scope',
2210
+ title: 'Scope',
2211
+ widget: 'select',
2212
+ required: true,
2213
+ options: [
2214
+ { value: 'project', label: 'Project' },
2215
+ { value: 'user', label: 'User' },
2216
+ ],
2217
+ },
2218
+ { path: 'directory', title: 'Project directory', widget: 'text' },
2219
+ { path: 'targetPath', title: 'Document path', widget: 'text' },
2220
+ { path: 'targetName', title: 'Skill name', widget: 'text' },
2221
+ {
2222
+ path: 'installMode',
2223
+ title: 'Install mode',
2224
+ widget: 'select',
2225
+ options: [
2226
+ { value: 'copy', label: 'Copy' },
2227
+ { value: 'symlink', label: 'Symlink' },
2228
+ ],
2229
+ },
2230
+ ],
2231
+ },
2232
+ },
2233
+ {
2234
+ id: 'prompt_registry.install',
2235
+ title: 'Install prompt registry skill',
2236
+ description: 'Import a skill bundle from a registry and optionally export it to an external skills location.',
2237
+ safety: 'danger',
2238
+ placements: [],
2239
+ surfaces: {
2240
+ ui_button: false,
2241
+ ui_slash_command: false,
2242
+ voice_tool: false,
2243
+ voice_action_block: false,
2244
+ session_agent: false,
2245
+ mcp: false,
2246
+ cli: false,
2247
+ },
2248
+ inputSchema: PromptRegistryInstallInputSchema,
2249
+ inputHints: {
2250
+ title: 'Install prompt registry skill',
2251
+ fields: [
2252
+ { path: 'machineId', title: 'Machine id', widget: 'text', required: true },
2253
+ { path: 'sourceId', title: 'Source id', widget: 'text', required: true },
2254
+ { path: 'itemId', title: 'Item id', widget: 'text', required: true },
2255
+ { path: 'configuredSources', title: 'Configured sources (json)', widget: 'textarea' },
2256
+ { path: 'installTarget.assetTypeId', title: 'Target asset type', widget: 'text' },
2257
+ {
2258
+ path: 'installTarget.scope',
2259
+ title: 'Target scope',
2260
+ widget: 'select',
2261
+ options: [
2262
+ { value: 'project', label: 'Project' },
2263
+ { value: 'user', label: 'User' },
2264
+ ],
2265
+ },
2266
+ { path: 'installTarget.directory', title: 'Project directory', widget: 'text' },
2267
+ { path: 'installTarget.targetName', title: 'Target skill name', widget: 'text' },
2268
+ {
2269
+ path: 'installTarget.installMode',
2270
+ title: 'Install mode',
2271
+ widget: 'select',
2272
+ options: [
2273
+ { value: 'copy', label: 'Copy' },
2274
+ { value: 'symlink', label: 'Symlink' },
2275
+ ],
2276
+ },
2277
+ ],
2278
+ },
2279
+ },
2280
+ {
2281
+ id: 'approval.request.create',
2282
+ title: 'Create approval request',
2283
+ description: 'Create an approval request for another action to run.',
2284
+ safety: 'danger',
2285
+ placements: [],
2286
+ surfaces: {
2287
+ ui_button: false,
2288
+ ui_slash_command: false,
2289
+ voice_tool: false,
2290
+ voice_action_block: false,
2291
+ session_agent: true,
2292
+ mcp: true,
2293
+ cli: true,
2294
+ },
2295
+ inputSchema: ApprovalRequestCreateInputSchema,
2296
+ inputHints: {
2297
+ title: 'Request approval',
2298
+ description: 'Create an approval request in the global inbox.',
2299
+ fields: [
2300
+ { path: 'summary', title: 'Summary', widget: 'textarea', required: true },
2301
+ { path: 'actionId', title: 'Action id', widget: 'text', required: true },
2302
+ { path: 'actionArgs', title: 'Action args (json)', widget: 'textarea', required: true },
2303
+ ],
2304
+ },
2305
+ },
2306
+ {
2307
+ id: 'approval.request.decide',
2308
+ title: 'Decide approval request',
2309
+ description: 'Approve or reject an approval request.',
2310
+ safety: 'danger',
2311
+ placements: [],
2312
+ surfaces: {
2313
+ ui_button: true,
2314
+ ui_slash_command: false,
2315
+ voice_tool: false,
2316
+ voice_action_block: false,
2317
+ session_agent: false,
2318
+ mcp: true,
2319
+ cli: true,
2320
+ },
2321
+ inputSchema: ApprovalRequestDecideInputSchema,
2322
+ inputHints: {
2323
+ title: 'Approve or reject',
2324
+ fields: [
2325
+ { path: 'artifactId', title: 'Approval artifact id', widget: 'text', required: true },
2326
+ {
2327
+ path: 'decision',
2328
+ title: 'Decision',
2329
+ widget: 'select',
2330
+ required: true,
2331
+ options: [
2332
+ { value: 'approve', label: 'Approve' },
2333
+ { value: 'reject', label: 'Reject' },
2334
+ ],
2335
+ },
2336
+ ],
2337
+ },
2338
+ },
1156
2339
  ]);
1157
2340
  export function listActionSpecs() {
1158
2341
  return ACTION_SPECS;
@@ -1165,11 +2348,25 @@ export function getActionSpec(id) {
1165
2348
  }
1166
2349
  return spec;
1167
2350
  }
2351
+ export function isActionSpecSurfacedOn(spec, surface) {
2352
+ if (!surface)
2353
+ return true;
2354
+ return spec.surfaces[surface] === true;
2355
+ }
2356
+ export function listActionSpecsForSurface(surface) {
2357
+ return ACTION_SPECS.filter((spec) => isActionSpecSurfacedOn(spec, surface));
2358
+ }
1168
2359
  export function listVoiceToolActionSpecs() {
1169
- return ACTION_SPECS.filter((spec) => spec.surfaces.voice_tool === true && Boolean(spec.bindings?.voiceClientToolName));
2360
+ return listActionSpecsForSurface('voice_tool').filter((spec) => Boolean(spec.bindings?.voiceClientToolName));
2361
+ }
2362
+ export function isVoicePromptHotPathSpec(spec) {
2363
+ return spec.prompting?.voiceHotPath === true;
2364
+ }
2365
+ export function listVoicePromptHotPathSpecs() {
2366
+ return listVoiceToolActionSpecs().filter(isVoicePromptHotPathSpec);
1170
2367
  }
1171
2368
  export function listVoiceActionBlockSpecs() {
1172
- return ACTION_SPECS.filter((spec) => spec.surfaces.voice_action_block === true && Boolean(spec.bindings?.voiceClientToolName));
2369
+ return listActionSpecsForSurface('voice_action_block').filter((spec) => Boolean(spec.bindings?.voiceClientToolName));
1173
2370
  }
1174
2371
  export function listVoiceClientToolNames() {
1175
2372
  const names = listVoiceToolActionSpecs()
@@ -1178,4 +2375,17 @@ export function listVoiceClientToolNames() {
1178
2375
  names.sort();
1179
2376
  return names;
1180
2377
  }
2378
+ export function resolveVoiceClientToolNameAlias(value) {
2379
+ const normalized = String(value ?? '').trim();
2380
+ if (!normalized)
2381
+ return null;
2382
+ for (const spec of listVoiceToolActionSpecs()) {
2383
+ const toolName = String(spec.bindings?.voiceClientToolName ?? '').trim();
2384
+ if (!toolName)
2385
+ continue;
2386
+ if (toolName === normalized || spec.id === normalized)
2387
+ return toolName;
2388
+ }
2389
+ return null;
2390
+ }
1181
2391
  //# sourceMappingURL=actionSpecs.js.map