@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.
- package/README.md +13 -9
- package/bin/happier.mjs +3 -0
- package/bin/hstack.mjs +96 -14
- package/docs/happy-development.md +2 -2
- package/docs/isolated-linux-vm.md +11 -3
- package/docs/mobile-ios.md +3 -1
- package/docs/paths-and-env.md +1 -1
- package/docs/remote-access.md +5 -2
- package/docs/stacks.md +2 -1
- package/docs/worktrees-and-forks.md +1 -1
- package/extras/swiftbar/hstack.5s.sh +38 -14
- package/extras/swiftbar/install.sh +12 -0
- package/extras/swiftbar/lib/system.sh +159 -7
- package/extras/swiftbar/lib/utils.sh +2 -2
- package/node_modules/@happier-dev/agents/dist/.tsbuildinfo +1 -0
- package/node_modules/@happier-dev/agents/dist/acp.d.ts +19 -0
- package/node_modules/@happier-dev/agents/dist/acp.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/acp.js +37 -0
- package/node_modules/@happier-dev/agents/dist/acp.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/advancedModes.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/advancedModes.js +4 -8
- package/node_modules/@happier-dev/agents/dist/advancedModes.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/auth.d.ts +16 -0
- package/node_modules/@happier-dev/agents/dist/auth.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/auth.js +109 -0
- package/node_modules/@happier-dev/agents/dist/auth.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/backendTargets.d.ts +2 -0
- package/node_modules/@happier-dev/agents/dist/backendTargets.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/backendTargets.js +2 -0
- package/node_modules/@happier-dev/agents/dist/backendTargets.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/index.d.ts +29 -4
- package/node_modules/@happier-dev/agents/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/index.js +28 -3
- package/node_modules/@happier-dev/agents/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/localCli.d.ts +17 -0
- package/node_modules/@happier-dev/agents/dist/localCli.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/localCli.js +107 -0
- package/node_modules/@happier-dev/agents/dist/localCli.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/localControl.d.ts +9 -0
- package/node_modules/@happier-dev/agents/dist/localControl.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/localControl.js +16 -0
- package/node_modules/@happier-dev/agents/dist/localControl.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/manifest.d.ts +385 -31
- package/node_modules/@happier-dev/agents/dist/manifest.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/manifest.js +200 -30
- package/node_modules/@happier-dev/agents/dist/manifest.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/models.d.ts +21 -0
- package/node_modules/@happier-dev/agents/dist/models.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/models.js +170 -24
- package/node_modules/@happier-dev/agents/dist/models.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.d.ts +246 -14
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.js +222 -40
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.d.ts +41 -8
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.js +43 -18
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts +75 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.js +120 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts +6 -4
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.js +4 -3
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/registry.d.ts +2 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/registry.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/registry.js +8 -15
- package/node_modules/@happier-dev/agents/dist/providerSettings/registry.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/types.d.ts +2 -5
- package/node_modules/@happier-dev/agents/dist/providerSettings/types.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts +6 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js +30 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts +3 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.js +3 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts +7 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.js +8 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/index.d.ts +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/index.js +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/index.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.d.ts +4 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.js +56 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliInstallGuidance.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts +36 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js +212 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.d.ts +3 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.js +24 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromFlavor.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts +4 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js +39 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtimeKinds.d.ts +30 -0
- package/node_modules/@happier-dev/agents/dist/runtimeKinds.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtimeKinds.js +51 -0
- package/node_modules/@happier-dev/agents/dist/runtimeKinds.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts +87 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js +151 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts +30 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js +63 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.d.ts +12 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.js +80 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeIdentity.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.d.ts +16 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.js +57 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/existingSessionAutomationPolicy.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts +13 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js +41 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.d.ts +24 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.js +56 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeRuntimeDescriptorExtra.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.d.ts +12 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.js +48 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/opencodeSessionRuntimeHandle.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.d.ts +29 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.js +87 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/providerSessionBackends.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.js +23 -14
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts +13 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js +54 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.d.ts +18 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.js +56 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorHandoffPolicy.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts +16 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js +79 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts +11 -1
- package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionModes.js +42 -11
- package/node_modules/@happier-dev/agents/dist/sessionModes.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.d.ts +8 -0
- package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.js +60 -19
- package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/tools.d.ts +10 -0
- package/node_modules/@happier-dev/agents/dist/tools.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/tools.js +14 -0
- package/node_modules/@happier-dev/agents/dist/tools.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/types.d.ts +53 -27
- package/node_modules/@happier-dev/agents/dist/types.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/types.js +3 -10
- package/node_modules/@happier-dev/agents/dist/types.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.d.ts +2 -0
- package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.js +36 -0
- package/node_modules/@happier-dev/agents/dist/voice/normalizeVoiceAgentTurnTranscriptText.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.d.ts +4 -0
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.js +127 -60
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.d.ts +9 -0
- package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.js +88 -0
- package/node_modules/@happier-dev/agents/dist/voice/voiceToolDocumentation.js.map +1 -0
- package/node_modules/@happier-dev/agents/package.json +0 -1
- package/node_modules/@happier-dev/cli-common/dist/.tsbuildinfo +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts +15 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js +157 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts +29 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js +84 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts +35 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js +105 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js +29 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts +15 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js +34 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js +76 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts +6 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js +6 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts +13 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js +65 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.d.ts +18 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.js +30 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/targets.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts +9 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js +101 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts +93 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.js +98 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.d.ts +6 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js +40 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts +30 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js +18 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.d.ts +28 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js +35 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts +12 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js +37 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.d.ts +9 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.js +17 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/listInstalledVersionIdsNewestFirst.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts +28 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js +186 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js +151 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts +16 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js +65 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts +17 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js +26 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.d.ts +96 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js +163 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js +145 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts +16 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js +191 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.d.ts +17 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.js +90 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js +96 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts +18 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js +24 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.d.ts +11 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.js +23 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/retentionPolicy.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.d.ts +13 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.js +65 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/rollbackVersionedPayload.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts +4 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.js +5 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts +14 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js +114 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts +12 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js +24 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.d.ts +7 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js +13 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts +11 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js +31 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/index.d.ts +4 -0
- package/node_modules/@happier-dev/cli-common/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/index.js +4 -0
- package/node_modules/@happier-dev/cli-common/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/links/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/links/index.js +72 -8
- package/node_modules/@happier-dev/cli-common/dist/links/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/process/commandExists.d.ts +5 -0
- package/node_modules/@happier-dev/cli-common/dist/process/commandExists.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js +24 -0
- package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts +4 -0
- package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/index.js +3 -0
- package/node_modules/@happier-dev/cli-common/dist/process/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts +14 -0
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js +128 -0
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts +9 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js +72 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.d.ts +5 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.js +16 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/createManagedToolScratchDir.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.d.ts +7 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js +87 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts +7 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js +37 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/index.d.ts +9 -50
- package/node_modules/@happier-dev/cli-common/dist/providers/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/index.js +7 -128
- package/node_modules/@happier-dev/cli-common/dist/providers/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts +70 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js +178 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.js +444 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.d.ts +25 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js +279 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js +119 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.d.ts +14 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js +232 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js +138 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.d.ts +13 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.js +109 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.d.ts +11 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js +68 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js +44 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts +23 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js +206 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js +20 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js +23 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js +19 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/index.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/index.js +2 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts +65 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js +719 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/service/index.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/service/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/index.js +1 -0
- package/node_modules/@happier-dev/cli-common/dist/service/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/launchd.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/launchd.js +2 -25
- package/node_modules/@happier-dev/cli-common/dist/service/launchd.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/manager.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/manager.js +61 -19
- package/node_modules/@happier-dev/cli-common/dist/service/manager.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/path.d.ts +16 -0
- package/node_modules/@happier-dev/cli-common/dist/service/path.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/service/path.js +86 -0
- package/node_modules/@happier-dev/cli-common/dist/service/path.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/service/systemd.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/systemd.js +18 -10
- package/node_modules/@happier-dev/cli-common/dist/service/systemd.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.d.ts +4 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.js +72 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/createExecutionRunnerFromKind.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.d.ts +5 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.js +5 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.d.ts +56 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.js +159 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js +177 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.d.ts +6 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.js +6 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts +65 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js +148 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js +173 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts +55 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js +160 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js +98 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.d.ts +86 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.js +303 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js +549 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.d.ts +32 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.js +109 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js +37 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.d.ts +25 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.js +141 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js +243 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.d.ts +66 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js +324 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js +204 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts +6 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js +6 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.d.ts +20 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.js +109 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts +5 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js +119 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js +58 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts +11 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js +63 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts +34 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.js +21 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js +29 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/update/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/update/index.js +23 -2
- package/node_modules/@happier-dev/cli-common/dist/update/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts +34 -0
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js +255 -17
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js +94 -0
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/package.json +33 -3
- package/node_modules/@happier-dev/connection-supervisor/README.md +3 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.d.ts +3 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js +315 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.d.ts +3 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js +248 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.d.ts +8 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.js +8 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/defaultManagedConnectionPolicy.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts +8 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/index.js +6 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/index.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.d.ts +7 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js +14 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts +88 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.js +2 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts +23 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.js +2 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.d.ts +8 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.d.ts.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.js +14 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/reconnectBackoff.js.map +1 -0
- package/node_modules/@happier-dev/connection-supervisor/package.json +16 -0
- package/node_modules/@happier-dev/protocol/dist/.tsbuildinfo +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts +488 -0
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js +130 -0
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts +154 -9
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js +144 -4
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts +613 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.js +27 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts +201 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js +13 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts +3 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/index.js +3 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts +115 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js +68 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.d.ts +222 -0
- package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.js +87 -0
- package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts +13 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts +52 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js +146 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.js +129 -5
- package/node_modules/@happier-dev/protocol/dist/actions/actionDraftSeed.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts +180 -5
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js +1183 -268
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts +31 -4
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js +40 -3
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.d.ts +2 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.js +8 -6
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputElevenLabsToolSchema.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js +279 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts +38 -13
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js +21 -6
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts +52 -5
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js +1340 -130
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.js +14 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionVoiceToolSummary.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts +8 -2
- package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/index.js +7 -2
- package/node_modules/@happier-dev/protocol/dist/actions/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts +61 -0
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js +63 -0
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts +139 -0
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js +71 -0
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.d.ts +1 -0
- package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.js +1 -0
- package/node_modules/@happier-dev/protocol/dist/auth/externalOAuth.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.d.ts +30 -0
- package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.js +31 -0
- package/node_modules/@happier-dev/protocol/dist/backendTargets/backendTargetRef.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/capabilities.d.ts +1 -0
- package/node_modules/@happier-dev/protocol/dist/capabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/checklists.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/checklists.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/checklists.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js +6 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js +5 -23
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.js +28 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/keyDerivation.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.js +43 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/serializedJsonValue.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.d.ts +40 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.js +281 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/settingsSecretStringsV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts +78 -31
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js +7 -4
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts +224 -0
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js +103 -0
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts +99 -0
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js +111 -0
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/diff/splitUnifiedDiffByFile.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/diff/splitUnifiedDiffByFile.js +34 -16
- package/node_modules/@happier-dev/protocol/dist/diff/splitUnifiedDiffByFile.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts +379 -0
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js +246 -0
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.d.ts +40 -0
- package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.js +11 -0
- package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/ephemeralTasks.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.d.ts +29 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.js +16 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts +205 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js +96 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts +211 -127
- package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.js +15 -63
- package/node_modules/@happier-dev/protocol/dist/executionRuns.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts +115 -19
- package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.js +115 -19
- package/node_modules/@happier-dev/protocol/dist/features/catalog.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts +22 -6
- package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.d.ts +4 -4
- package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js +4 -4
- package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.d.ts +64 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.js +57 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts +146 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js +9 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.d.ts +13 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.js +5 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.d.ts +18 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.js +39 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/machineTransferCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts +93 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts +101 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js +39 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts +42 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js +64 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts +188 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features.d.ts +1 -0
- package/node_modules/@happier-dev/protocol/dist/features.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features.js +1 -0
- package/node_modules/@happier-dev/protocol/dist/features.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/index.d.ts +94 -8
- package/node_modules/@happier-dev/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/index.js +94 -8
- package/node_modules/@happier-dev/protocol/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/installables.d.ts +5 -25
- package/node_modules/@happier-dev/protocol/dist/installables.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/installables.js +3 -17
- package/node_modules/@happier-dev/protocol/dist/installables.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/installablesPolicy.d.ts +18 -0
- package/node_modules/@happier-dev/protocol/dist/installablesPolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/installablesPolicy.js +58 -0
- package/node_modules/@happier-dev/protocol/dist/installablesPolicy.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts +20 -0
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.d.ts +60 -0
- package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.js +43 -0
- package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts +109 -0
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js +117 -0
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.js +22 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/authModeV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts +237 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.js +112 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts +226 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.js +88 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.js +22 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveEffectiveServersV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.d.ts +34 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.js +100 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveManagedSessionMcpSelectionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.d.ts +21 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.js +190 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/resolveServerBindingV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts +21 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js +50 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.d.ts +206 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.js +143 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.d.ts +16 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.js +61 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryEmbeddingsProfiles.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts +161 -9
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js +112 -3
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts +41 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js +24 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.d.ts +11 -0
- package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.js +41 -0
- package/node_modules/@happier-dev/protocol/dist/memory/resolveMemoryEmbeddingsConfig.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts +105 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js +110 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.js +15 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInBackendProfiles.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/builtInProfileVersion.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/index.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/index.js +7 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.d.ts +5 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileCompatibility.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.d.ts +5 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/profileRequirements.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.d.ts +25 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.js +47 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/resolveBackendProfile.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.d.ts +57 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.js +97 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/secretSatisfaction.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.d.ts +457 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.js +174 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.d.ts +50 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.js +104 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.d.ts +23 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.d.ts +55 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.js +22 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.js +11 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptFoldersV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts +62 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js +31 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.js +23 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptLibraryDigests.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.js +8 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.d.ts +304 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.js +130 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.d.ts +110 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.js +31 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.js +89 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/resolvePromptStackSystemAppendBlocksV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts +14 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js +98 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.js +32 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts +23 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js +152 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.js +10 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/isMemoryRecallGuidanceSupported.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.js +18 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/memoryRecallGuidanceV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.d.ts +25 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.js +54 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/promptPlanV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js +46 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js +6 -0
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js +69 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.js +15 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js +65 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.js +6 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js +60 -0
- package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.js +11 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/backendMode.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.js +57 -0
- package/node_modules/@happier-dev/protocol/dist/push/expoPushDelivery.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts +15 -0
- package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.js +15 -0
- package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.d.ts +14 -0
- package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.js +20 -0
- package/node_modules/@happier-dev/protocol/dist/push/readyNotificationContent.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.js +7 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewAssumption.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.js +13 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.js +8 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewFollowUp.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js +3 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.d.ts +71 -0
- package/node_modules/@happier-dev/protocol/dist/rpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.js +71 -0
- package/node_modules/@happier-dev/protocol/dist/rpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts +7 -2
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.js +25 -15
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scm.d.ts +123 -16
- package/node_modules/@happier-dev/protocol/dist/scm.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scm.js +43 -2
- package/node_modules/@happier-dev/protocol/dist/scm.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts +183 -0
- package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmBranches.js +51 -0
- package/node_modules/@happier-dev/protocol/dist/scmBranches.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js +24 -3
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts +209 -0
- package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmStash.js +63 -0
- package/node_modules/@happier-dev/protocol/dist/scmStash.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts +140 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktrees.js +30 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktrees.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts +6 -6
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js +61 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.js +7 -0
- package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js +30 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.js +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts +446 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js +424 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts +32 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts +523 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js +15 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.js +5 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.js +66 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/mergeTurnChangeSets.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js +45 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.js +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/rollbacks.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.d.ts +399 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.js +84 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.d.ts +66 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/types.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts +36 -1
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js +5 -2
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts +359 -69
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js +14 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js +6 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts +807 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js +206 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts +175 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.js +128 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts +70 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js +16 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.d.ts +14 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.js +125 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/workspaceTransferSourcePathSafety.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts +60 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFork.js +27 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFork.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.js +37 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/coerceSessionUserPromptV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.js +17 -2
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionStoredMessageContent.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts +404 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js +373 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.d.ts +21 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.js +26 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/acpConfiguredBackendV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts +126 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js +201 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts +26 -4
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.js +24 -2
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.d.ts +61 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.js +40 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts +28 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js +13 -2
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollback.d.ts +34 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollback.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollback.js +33 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollback.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.js +35 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRollbackPlanning.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts +18 -0
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js +20 -0
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.d.ts +20 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.js +88 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/buildSettingArtifacts.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.d.ts +43 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/settingsRegistry/settingDefinition.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/social/friends.d.ts +22 -22
- package/node_modules/@happier-dev/protocol/dist/social/friends.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/social/friends.js +2 -1
- package/node_modules/@happier-dev/protocol/dist/social/friends.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts +1 -0
- package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/socketRpc.js +1 -0
- package/node_modules/@happier-dev/protocol/dist/socketRpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts +1 -0
- package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.js +1 -0
- package/node_modules/@happier-dev/protocol/dist/spawnSession.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/storage/storedJsonContentEnvelope.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/strings/trimIdent.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.d.ts +11 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.js +2 -5
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/delegateOutputV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.js +11 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunStructuredRunRef.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.d.ts +41 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.js +34 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/participantMessageV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.d.ts +11 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.js +2 -5
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/planOutputV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.d.ts +14 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.js +2 -5
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.d.ts +102 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.js +36 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.d.ts +61 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.js +27 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.d.ts +42 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.js +19 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.d.ts +13 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.js +20 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentCommandV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.d.ts +15 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.js +22 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/subagentLaunchV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/index.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/index.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.d.ts +55 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.js +84 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts +34 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js +158 -0
- package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts +34 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.js +53 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts +3 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js +3 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts +9 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js +5 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts +281 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js +66 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/updates.d.ts +177 -36
- package/node_modules/@happier-dev/protocol/dist/updates.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/updates.js +47 -18
- package/node_modules/@happier-dev/protocol/dist/updates.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts +5 -2
- package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/voiceActions.js +142 -13
- package/node_modules/@happier-dev/protocol/dist/voiceActions.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.js +6 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/checkoutKindSchema.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/index.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/index.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.js +23 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/locationSchema.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.d.ts +43 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.js +46 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.js.map +1 -0
- package/node_modules/@happier-dev/protocol/package.json +8 -0
- package/node_modules/@happier-dev/release-runtime/dist/.tsbuildinfo +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/_cjs/releaseRings.js +134 -0
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js +9 -0
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/github.d.ts +6 -0
- package/node_modules/@happier-dev/release-runtime/dist/github.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/github.js +86 -5
- package/node_modules/@happier-dev/release-runtime/dist/github.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/http.d.ts +18 -0
- package/node_modules/@happier-dev/release-runtime/dist/http.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/http.js +112 -0
- package/node_modules/@happier-dev/release-runtime/dist/http.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/index.d.ts +2 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.js +2 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.cjs +134 -0
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts +27 -0
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js +124 -0
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/verifiedDownload.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/verifiedDownload.js +3 -9
- package/node_modules/@happier-dev/release-runtime/dist/verifiedDownload.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/package.json +5 -0
- package/package.json +10 -3
- package/scripts/auth.mjs +327 -65
- package/scripts/auth_copy_from_pglite_lock_in_use.integration.test.mjs +4 -4
- package/scripts/auth_copy_from_runCapture.integration.test.mjs +376 -15
- package/scripts/auth_dev_key_cmd.test.mjs +35 -0
- package/scripts/auth_login_force_cleans_server_scoped_credentials.integration.test.mjs +189 -0
- package/scripts/auth_login_force_default.test.mjs +41 -1
- package/scripts/auth_login_guided_server_no_expo.test.mjs +458 -34
- package/scripts/auth_login_print_includes_configure_links.test.mjs +63 -5
- package/scripts/build/activate_runtime_snapshot.mjs +210 -0
- package/scripts/build/activate_runtime_snapshot.test.mjs +250 -0
- package/scripts/build/build_daemon_artifact.mjs +50 -0
- package/scripts/build/build_mode.mjs +20 -0
- package/scripts/build/build_mode.test.mjs +46 -0
- package/scripts/build/build_server_artifact.mjs +64 -0
- package/scripts/build/build_stack_artifacts.mjs +141 -0
- package/scripts/build/build_stack_artifacts.test.mjs +119 -0
- package/scripts/build/build_targets.mjs +63 -0
- package/scripts/build/build_targets.test.mjs +58 -0
- package/scripts/build/build_web_artifact.mjs +73 -0
- package/scripts/build/collect_build_source_metadata.mjs +76 -0
- package/scripts/build/collect_build_source_metadata.test.mjs +41 -0
- package/scripts/build/resolve_latest_component_artifact.mjs +31 -0
- package/scripts/build/runtime_build_lock.mjs +80 -0
- package/scripts/build/runtime_build_lock.test.mjs +95 -0
- package/scripts/build/runtime_retention.mjs +170 -0
- package/scripts/build/runtime_retention.test.mjs +183 -0
- package/scripts/build/workspace_build_sandbox.mjs +49 -0
- package/scripts/build/workspace_build_sandbox.test.mjs +37 -0
- package/scripts/build.mjs +39 -12
- package/scripts/bundleWorkspaceDeps.mjs +77 -38
- package/scripts/bundleWorkspaceDeps.test.mjs +145 -11
- package/scripts/daemon.getDaemonEnv.test.mjs +53 -0
- package/scripts/daemon.mjs +629 -168
- package/scripts/daemon_cleanup_lsof_unavailable.test.mjs +112 -0
- package/scripts/daemon_dist_guard.test.mjs +612 -21
- package/scripts/daemon_invalid_auth_reseed_stack_name.integration.test.mjs +9 -11
- package/scripts/daemon_server_scope_commands.test.mjs +196 -0
- package/scripts/daemon_server_scoped_state.test.mjs +41 -0
- package/scripts/daemon_start_verification.integration.test.mjs +482 -14
- package/scripts/daemon_stop_expected_pid.test.mjs +69 -9
- package/scripts/dev.mjs +80 -12
- package/scripts/dev_external_server_flags.test.mjs +16 -0
- package/scripts/dev_rn_devtools_flag.test.mjs +24 -0
- package/scripts/dev_runtime_mode_reject.test.mjs +22 -0
- package/scripts/dev_tauri_flag.test.mjs +35 -0
- package/scripts/doctor.mjs +17 -1
- package/scripts/doctor_runtime_snapshot.test.mjs +68 -0
- package/scripts/happier.mjs +379 -32
- package/scripts/happier_defaults_from_settings.test.mjs +402 -0
- package/scripts/happier_help_passthrough.test.mjs +47 -0
- package/scripts/happier_runtime_snapshot.test.mjs +107 -0
- package/scripts/happier_server_url_scope.test.mjs +61 -0
- package/scripts/happier_tsx_fallback.test.mjs +75 -0
- package/scripts/import.mjs +1 -1
- package/scripts/init.mjs +42 -9
- package/scripts/init_shim_invoked_cwd.test.mjs +342 -1
- package/scripts/logs.mjs +7 -8
- package/scripts/logs_cmd.test.mjs +26 -0
- package/scripts/menubar.mjs +93 -6
- package/scripts/menubar_install_stack_scoped_dry_run.test.mjs +117 -0
- package/scripts/mobile.mjs +23 -8
- package/scripts/mobile_dev_client.mjs +238 -12
- package/scripts/mobile_dev_client_android_eas_profile_avoids_bundle_prompt.test.mjs +45 -0
- package/scripts/mobile_dev_client_android_falls_back_to_pipeline_in_test_stub.test.mjs +39 -0
- package/scripts/mobile_dev_client_android_prefers_expo_run_android_in_test_stub.test.mjs +23 -0
- package/scripts/mobile_dev_client_android_reuse_existing_apk_in_test_stub.test.mjs +38 -0
- package/scripts/mobile_dev_client_android_reuse_falls_back_to_cached_apk_in_test_stub.test.mjs +35 -0
- package/scripts/mobile_dev_client_autopick_android_in_test_stub.test.mjs +25 -0
- package/scripts/mobile_dev_client_autopick_android_serial_when_platform_explicit_in_test_stub.test.mjs +22 -0
- package/scripts/mobile_dev_client_autopick_ios_in_test_stub.test.mjs +31 -0
- package/scripts/mobile_dev_client_help_smoke.test.mjs +2 -1
- package/scripts/mobile_run_android_passes_port.test.mjs +85 -0
- package/scripts/orchestrated_stack_auth_flow_resolve_port.test.mjs +10 -15
- package/scripts/orchestrated_stack_auth_flow_webapp_url.test.mjs +115 -0
- package/scripts/pack.test.mjs +28 -1
- package/scripts/providers_cmd.mjs +19 -74
- package/scripts/provision/linux-ubuntu-provision.sh +1 -2
- package/scripts/provision/macos-lima-hstack-repeat-validation.sh +309 -0
- package/scripts/provision/macos-lima-hstack-repeat-validation.test.mjs +369 -0
- package/scripts/provision/playwright-wsrepl-matrix-url.test.mjs +143 -0
- package/scripts/provision/resolveStackAuthPaths.test.mjs +68 -0
- package/scripts/provision/wsreplMatrixCredentials.test.mjs +44 -0
- package/scripts/release.mjs +15 -2
- package/scripts/remote_cmd.mjs +106 -182
- package/scripts/remote_cmd.test.mjs +54 -0
- package/scripts/repo_cli_activate.test.mjs +1 -14
- package/scripts/repo_local.mjs +8 -2
- package/scripts/repo_local_wrapper.test.mjs +55 -14
- package/scripts/review_pr.mjs +232 -11
- package/scripts/review_pr.warm_base_deps.test.mjs +138 -0
- package/scripts/review_pr.workspace_cache.test.mjs +197 -0
- package/scripts/root_package_repo_local_scripts.test.mjs +8 -1
- package/scripts/run.mjs +257 -79
- package/scripts/run_script_with_stack_env.partial_runtime_recovery.test.mjs +265 -0
- package/scripts/runtime/launch/inspectActiveRuntimeSnapshot.mjs +126 -0
- package/scripts/runtime/launch/resolveActiveRuntimeSnapshot.mjs +19 -0
- package/scripts/runtime/launch/resolveActiveRuntimeSnapshot.test.mjs +161 -0
- package/scripts/runtime/launch/resolveCliRuntimeLaunchSpec.mjs +23 -0
- package/scripts/runtime/launch/resolveLaunchSpecs.test.mjs +110 -0
- package/scripts/runtime/launch/resolveServerRuntimeLaunchSpec.mjs +19 -0
- package/scripts/runtime/launch/resolveStackRuntimeLaunchContext.mjs +17 -0
- package/scripts/runtime/readBundledWorkspaceSyncConfig.mjs +35 -0
- package/scripts/runtime/readBundledWorkspaceSyncConfig.test.mjs +33 -0
- package/scripts/runtime/resolveBundledWorkspaceSyncModulePath.mjs +10 -0
- package/scripts/runtime/resolveBundledWorkspaceSyncModulePath.test.mjs +20 -0
- package/scripts/runtime/shared/artifact_manifest.mjs +48 -0
- package/scripts/runtime/shared/ensureStackRuntimeModePrefer.mjs +30 -0
- package/scripts/runtime/shared/ensureStackRuntimeModePrefer.test.mjs +35 -0
- package/scripts/runtime/shared/runtime_fingerprint.mjs +24 -0
- package/scripts/runtime/shared/runtime_fingerprint.test.mjs +69 -0
- package/scripts/runtime/shared/runtime_manifest.mjs +85 -0
- package/scripts/runtime/shared/runtime_manifest.test.mjs +120 -0
- package/scripts/runtime/shared/runtime_mode.mjs +32 -0
- package/scripts/runtime/shared/runtime_mode.test.mjs +48 -0
- package/scripts/runtime/shared/runtime_paths.mjs +30 -0
- package/scripts/runtime/shared/runtime_paths.test.mjs +42 -0
- package/scripts/runtime_activate.mjs +135 -0
- package/scripts/sandbox_workspace_override.test.mjs +47 -0
- package/scripts/self.mjs +68 -12
- package/scripts/self_host/findExtractedExecutableByName.mjs +20 -0
- package/scripts/self_host/install_companion_cli.mjs +156 -0
- package/scripts/self_host/install_companion_cli.test.mjs +119 -0
- package/scripts/self_host/version_retention.mjs +69 -0
- package/scripts/self_host/version_retention.test.mjs +100 -0
- package/scripts/self_host_launchd.real.integration.test.mjs +33 -11
- package/scripts/self_host_runtime.mjs +477 -184
- package/scripts/self_host_runtime.test.mjs +633 -5
- package/scripts/service.mjs +127 -138
- package/scripts/service_autostart_program_args.test.mjs +32 -0
- package/scripts/service_mode_help.test.mjs +1 -0
- package/scripts/setup.mjs +39 -11
- package/scripts/setup_deprecation_warning.test.mjs +47 -0
- package/scripts/setup_from_source_stable_branch_flag.test.mjs +129 -0
- package/scripts/setup_local_repo_profile.test.mjs +3 -36
- package/scripts/setup_pr.mjs +27 -16
- package/scripts/setup_pr.mobile_scheme.test.mjs +332 -0
- package/scripts/setup_pr_orchestrated_auth_flow_util_import.test.mjs +8 -0
- package/scripts/stack/delegated_script_commands.mjs +11 -2
- package/scripts/stack/help_text.mjs +4 -2
- package/scripts/stack/run_script_with_stack_env.mjs +112 -16
- package/scripts/stack/stack_daemon_command.mjs +51 -28
- package/scripts/stack/stack_environment.mjs +19 -1
- package/scripts/stack/stack_environment.sanitization.test.mjs +25 -0
- package/scripts/stack/stack_info_snapshot.mjs +59 -3
- package/scripts/stack/stack_mobile_install_command.mjs +92 -25
- package/scripts/stack/stack_mobile_install_command.test.mjs +53 -0
- package/scripts/stack.mjs +78 -37
- package/scripts/stack_copy_auth_server_scoped.test.mjs +7 -3
- package/scripts/stack_create_dev_auth_seed_repo_pin.test.mjs +43 -0
- package/scripts/stack_daemon_cmd.integration.test.mjs +109 -70
- package/scripts/stack_editor_workspace_monorepo_root.test.mjs +9 -19
- package/scripts/stack_guided_login_bundle_timeout.test.mjs +210 -0
- package/scripts/stack_guided_login_inner_invocation.test.mjs +99 -12
- package/scripts/stack_happy_cmd.integration.test.mjs +184 -60
- package/scripts/stack_info_runtime_snapshot.test.mjs +64 -0
- package/scripts/stack_info_snapshot_running_status.test.mjs +84 -22
- package/scripts/stack_interactive_monorepo_group.test.mjs +16 -44
- package/scripts/stack_owner_death_watchdog.integration.test.mjs +144 -0
- package/scripts/stack_package_scripts.test.mjs +17 -0
- package/scripts/stack_resume_cmd.integration.test.mjs +13 -53
- package/scripts/stack_runtime_activate_command.test.mjs +130 -0
- package/scripts/stack_runtime_start.integration.test.mjs +147 -0
- package/scripts/stack_service_passthrough.test.mjs +48 -0
- package/scripts/start_runtime_mode_json.test.mjs +34 -0
- package/scripts/stopStackWithEnv_daemonControlToken.integration.test.mjs +140 -0
- package/scripts/swiftbar_primary_stack_header.test.mjs +56 -0
- package/scripts/swiftbar_stack_status_runtime.test.mjs +429 -0
- package/scripts/tailscale.mjs +46 -142
- package/scripts/tailscale_cmd_output.test.mjs +49 -1
- package/scripts/tauri_dev.mjs +291 -0
- package/scripts/tauri_dev.test.mjs +117 -0
- package/scripts/test_ci.mjs +22 -18
- package/scripts/test_cmd.mjs +7 -23
- package/scripts/test_cmd.test.mjs +39 -28
- package/scripts/test_integration.mjs +31 -18
- package/scripts/testkit/auth_testkit.mjs +20 -54
- package/scripts/testkit/core/env_scope.mjs +88 -0
- package/scripts/testkit/core/fake_bin_harness.mjs +53 -0
- package/scripts/testkit/core/minimal_monorepo_layout.mjs +54 -0
- package/scripts/testkit/core/run_node_capture.mjs +69 -0
- package/scripts/testkit/core/runtime_snapshot_layout.mjs +135 -0
- package/scripts/testkit/core/spawn_test_process.mjs +27 -0
- package/scripts/testkit/core/spawn_test_process.test.mjs +52 -0
- package/scripts/testkit/core/stack_root.mjs +26 -0
- package/scripts/testkit/core/stub_happier_cli_files.mjs +46 -0
- package/scripts/testkit/core/stub_happier_cli_files.test.mjs +20 -0
- package/scripts/testkit/core/sync_logged_command_harness.mjs +49 -0
- package/scripts/testkit/core/temp_fixture.mjs +42 -0
- package/scripts/testkit/doctor_testkit.mjs +24 -52
- package/scripts/testkit/happier_cli_monorepo_testkit.mjs +31 -0
- package/scripts/testkit/mobile_dev_client_testkit.mjs +136 -0
- package/scripts/testkit/mobile_dev_client_testkit_env_sanitization.test.mjs +32 -0
- package/scripts/testkit/monorepo_port_testkit.mjs +9 -26
- package/scripts/testkit/runtime_snapshot_start_testkit.mjs +281 -0
- package/scripts/testkit/runtime_snapshot_testkit.mjs +57 -0
- package/scripts/testkit/stack_archive_command_testkit.mjs +23 -17
- package/scripts/testkit/stack_happier_cli_command_testkit.mjs +75 -0
- package/scripts/testkit/stack_new_monorepo_testkit.mjs +19 -37
- package/scripts/testkit/stack_script_command_testkit.mjs +1 -27
- package/scripts/testkit/stack_stop_sweeps_testkit.mjs +39 -42
- package/scripts/testkit/worktrees_monorepo_testkit.mjs +22 -35
- package/scripts/tui.mjs +194 -58
- package/scripts/tui_args_default_cmd.test.mjs +1 -0
- package/scripts/utils/auth/clearStackForceLoginCredentialPaths.mjs +20 -0
- package/scripts/utils/auth/credentials_paths.mjs +209 -21
- package/scripts/utils/auth/credentials_paths.test.mjs +141 -1
- package/scripts/utils/auth/ensure_active_access_key_valid.mjs +157 -0
- package/scripts/utils/auth/ensure_active_access_key_valid.test.mjs +208 -0
- package/scripts/utils/auth/format_daemon_auth_scope_diagnostic.mjs +43 -0
- package/scripts/utils/auth/format_daemon_auth_scope_diagnostic.test.mjs +56 -0
- package/scripts/utils/auth/interactive_stack_auth.mjs +8 -0
- package/scripts/utils/auth/interactive_stack_auth.test.mjs +29 -0
- package/scripts/utils/auth/login_ux.mjs +8 -0
- package/scripts/utils/auth/orchestrated_stack_auth_flow.mjs +123 -16
- package/scripts/utils/auth/orchestrated_stack_auth_flow_start_timeout.test.mjs +68 -0
- package/scripts/utils/auth/stack_guided_login.mjs +180 -28
- package/scripts/utils/cli/cliDistIntegrity.mjs +86 -0
- package/scripts/utils/cli/cli_registry.mjs +14 -5
- package/scripts/utils/cli/cwd_scope.mjs +9 -1
- package/scripts/utils/cli/cwd_scope.test.mjs +26 -31
- package/scripts/utils/dev/daemon.mjs +26 -10
- package/scripts/utils/dev/daemon_watch_resilience.test.mjs +64 -0
- package/scripts/utils/dev/expo_dev.buildEnv.test.mjs +20 -0
- package/scripts/utils/dev/expo_dev.ensure_workspace_built.test.mjs +74 -0
- package/scripts/utils/dev/expo_dev.mjs +89 -25
- package/scripts/utils/dev/expo_dev_restart_port_reservation.test.mjs +104 -16
- package/scripts/utils/dev/react_native_devtools.mjs +27 -0
- package/scripts/utils/dev/react_native_devtools.test.mjs +26 -0
- package/scripts/utils/dev/server.mjs +9 -3
- package/scripts/utils/dev/tauri_dev.mjs +377 -0
- package/scripts/utils/dev/tauri_dev.test.mjs +490 -0
- package/scripts/utils/env/scrub_env.mjs +21 -0
- package/scripts/utils/expo/command.mjs +83 -6
- package/scripts/utils/expo/command_export_max_workers.test.mjs +137 -0
- package/scripts/utils/expo/command_heap_limit_env.test.mjs +244 -0
- package/scripts/utils/expo/command_workspace_deps_built.test.mjs +92 -0
- package/scripts/utils/expo/expo.mjs +127 -3
- package/scripts/utils/expo/expoNodeHeapEnv.mjs +42 -0
- package/scripts/utils/expo/expo_shared_tmpdir.test.mjs +38 -0
- package/scripts/utils/expo/expo_state_running.test.mjs +66 -0
- package/scripts/utils/expo/expo_wait_for_metro.test.mjs +50 -0
- package/scripts/utils/expo/metro_ports.mjs +10 -3
- package/scripts/utils/git/default_branch.mjs +22 -0
- package/scripts/utils/git/default_branch.test.mjs +45 -0
- package/scripts/utils/git/dev_checkout.mjs +1 -1
- package/scripts/utils/git/fast_forward_to_remote.mjs +136 -0
- package/scripts/utils/git/fast_forward_to_remote.test.mjs +90 -0
- package/scripts/utils/git/refs.mjs +18 -1
- package/scripts/utils/git/refs.test.mjs +37 -0
- package/scripts/utils/git/worktrees_monorepo.test.mjs +8 -16
- package/scripts/utils/menubar/swiftbar.mjs +2 -2
- package/scripts/utils/mobile/config.mjs +1 -1
- package/scripts/utils/mobile/config.test.mjs +9 -0
- package/scripts/utils/mobile/copy_artifact.mjs +42 -0
- package/scripts/utils/mobile/copy_artifact.test.mjs +24 -0
- package/scripts/utils/mobile/dev_client_android_strategy.mjs +54 -0
- package/scripts/utils/mobile/dev_client_android_strategy.test.mjs +56 -0
- package/scripts/utils/mobile/dev_client_autopick.mjs +201 -0
- package/scripts/utils/mobile/dev_client_install_invocation.android.test.mjs +37 -0
- package/scripts/utils/mobile/dev_client_install_invocation.mjs +33 -7
- package/scripts/utils/mobile/dev_client_install_invocation.test.mjs +65 -1
- package/scripts/utils/mobile/dev_client_links.mjs +13 -3
- package/scripts/utils/mobile/dev_client_links.test.mjs +28 -0
- package/scripts/utils/mobile/identifiers.mjs +7 -4
- package/scripts/utils/mobile/identifiers.test.mjs +3 -3
- package/scripts/utils/mobile/ios_xcodeproj_patch.test.mjs +1 -1
- package/scripts/utils/net/ports.mjs +83 -7
- package/scripts/utils/net/ports.test.mjs +46 -0
- package/scripts/utils/paths/paths.mjs +6 -2
- package/scripts/utils/paths/paths_monorepo.test.mjs +30 -26
- package/scripts/utils/proc/cliDistBuildLock.mjs +102 -0
- package/scripts/utils/proc/cliDistBuildLock.test.mjs +42 -0
- package/scripts/utils/proc/commands.mjs +34 -3
- package/scripts/utils/proc/commands_commandExists_respects_path_env.test.mjs +25 -0
- package/scripts/utils/proc/ensureWorkspacePackagesBuilt.test.mjs +179 -8
- package/scripts/utils/proc/ownership.mjs +7 -0
- package/scripts/utils/proc/ownership_killProcessGroupOwnedByStack.test.mjs +83 -7
- package/scripts/utils/proc/ownership_listPidsWithEnvNeedles.test.mjs +2 -4
- package/scripts/utils/proc/pm.mjs +440 -125
- package/scripts/utils/proc/pm_spawn.integration.test.mjs +54 -0
- package/scripts/utils/proc/pm_stack_cache_env.test.mjs +455 -1
- package/scripts/utils/proc/pm_yarn_ready_auto_yes.test.mjs +92 -0
- package/scripts/utils/proc/proc.mjs +38 -14
- package/scripts/utils/proc/proc.test.mjs +8 -0
- package/scripts/utils/proc/terminate.test.mjs +3 -4
- package/scripts/utils/process/resolveCommandInvocation.mjs +14 -0
- package/scripts/utils/process/resolveCommandInvocation.win32CmdShim.test.mjs +35 -0
- package/scripts/utils/remote/install_remote_first_party_component.mjs +170 -0
- package/scripts/utils/remote/install_remote_first_party_component.test.mjs +63 -0
- package/scripts/utils/review/detached_worktree.test.mjs +2 -16
- package/scripts/utils/review/head_slice.test.mjs +3 -17
- package/scripts/utils/review/uncommitted_ops.test.mjs +3 -17
- package/scripts/utils/server/apply_runtime_server_light_sqlite_env.mjs +25 -0
- package/scripts/utils/server/resolve_stack_server_port.test.mjs +37 -0
- package/scripts/utils/server/server.mjs +82 -25
- package/scripts/utils/server/server.test.mjs +183 -0
- package/scripts/utils/server/urls.mjs +5 -2
- package/scripts/utils/server/urls.test.mjs +51 -0
- package/scripts/utils/service/auth_guidance.mjs +56 -0
- package/scripts/utils/service/auth_guidance.test.mjs +65 -0
- package/scripts/utils/service/daemon_autostart.mjs +190 -0
- package/scripts/utils/service/daemon_autostart.test.mjs +257 -0
- package/scripts/utils/service/stack_autostart_resolution.mjs +77 -0
- package/scripts/utils/service/stack_autostart_resolution.test.mjs +117 -0
- package/scripts/utils/stack/owner_death_watchdog.mjs +73 -0
- package/scripts/utils/stack/owner_death_watchdog_runner.mjs +128 -0
- package/scripts/utils/stack/runtime_daemon_state.mjs +175 -0
- package/scripts/utils/stack/runtime_daemon_state.test.mjs +193 -0
- package/scripts/utils/stack/runtime_state.mjs +28 -2
- package/scripts/utils/stack/runtime_state.test.mjs +70 -0
- package/scripts/utils/stack/startup.mjs +22 -0
- package/scripts/utils/stack/startup_runtime_probe.test.mjs +46 -0
- package/scripts/utils/stack/stop.mjs +50 -5
- package/scripts/utils/stack/terminal_usage_instructions.mjs +52 -0
- package/scripts/utils/stack/terminal_usage_instructions.test.mjs +25 -0
- package/scripts/utils/tailscale/extract_https_url_from_status.mjs +5 -0
- package/scripts/utils/tailscale/ip.mjs +15 -54
- package/scripts/utils/tailscale/ip.test.mjs +37 -0
- package/scripts/utils/tauri/createStackTauriDevConfig.mjs +34 -0
- package/scripts/utils/tauri/createStackTauriDevConfig.test.mjs +39 -0
- package/scripts/utils/tauri/dev_runtime.mjs +45 -0
- package/scripts/utils/tauri/dev_runtime.test.mjs +79 -0
- package/scripts/utils/test/collect_test_files.mjs +3 -1
- package/scripts/utils/test/collect_test_files.test.mjs +73 -0
- package/scripts/utils/test/integration_test_runner.mjs +35 -0
- package/scripts/utils/test/integration_test_runner.test.mjs +42 -0
- package/scripts/utils/test/lane_contract.test.mjs +12 -0
- package/scripts/utils/test/test_cleanup.mjs +21 -0
- package/scripts/utils/test/test_collection.mjs +54 -0
- package/scripts/utils/test/test_collection.test.mjs +64 -0
- package/scripts/utils/test/test_env.mjs +17 -0
- package/scripts/utils/test/test_paths.mjs +42 -0
- package/scripts/utils/test/test_process.mjs +37 -0
- package/scripts/utils/test/test_process.test.mjs +20 -0
- package/scripts/utils/tui/args.mjs +11 -0
- package/scripts/utils/tui/args.test.mjs +20 -0
- package/scripts/utils/tui/child_termination_plan.mjs +28 -0
- package/scripts/utils/tui/child_termination_plan.test.mjs +25 -0
- package/scripts/utils/tui/daemon_auth_notice.mjs +4 -1
- package/scripts/utils/tui/daemon_auth_notice.test.mjs +12 -0
- package/scripts/utils/tui/daemon_autostart.mjs +5 -3
- package/scripts/utils/tui/daemon_autostart.test.mjs +17 -1
- package/scripts/utils/tui/daemon_pane_reconcile.mjs +6 -4
- package/scripts/utils/tui/daemon_pane_reconcile.test.mjs +10 -0
- package/scripts/utils/tui/pane_routing.mjs +12 -0
- package/scripts/utils/tui/pane_routing.test.mjs +18 -0
- package/scripts/utils/tui/stdin_error_guard.mjs +47 -0
- package/scripts/utils/tui/stdin_error_guard.test.mjs +17 -0
- package/scripts/utils/tui/tauri_mode.mjs +61 -0
- package/scripts/utils/tui/tauri_mode.test.mjs +109 -0
- package/scripts/utils/ui/ui_export_env.mjs +5 -3
- package/scripts/utils/ui/ui_export_env.test.mjs +2 -1
- package/scripts/utils/worktrees/reflink_copy_dir.mjs +35 -0
- package/scripts/utils/worktrees/seed_node_modules.mjs +35 -0
- package/scripts/utils/worktrees/seed_node_modules.test.mjs +82 -0
- package/scripts/utils/worktrees/yarn_install_guard.mjs +53 -0
- package/scripts/utils/worktrees/yarn_install_guard.test.mjs +73 -0
- package/scripts/where.mjs +3 -0
- package/scripts/worktrees.mjs +16 -0
- package/scripts/worktrees_archive_cmd.integration.test.mjs +23 -108
- package/docs/codex-mcp-resume.md +0 -129
- package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.d.ts +0 -28
- package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.d.ts.map +0 -1
- package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.js +0 -143
- package/node_modules/@happier-dev/agents/dist/providers/cliInstallSpecs.js.map +0 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.d.ts +0 -2
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.d.ts.map +0 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.js +0 -112
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.spec.js.map +0 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.d.ts +0 -2
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.d.ts.map +0 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.js +0 -30
- package/node_modules/@happier-dev/agents/dist/voice/voiceAgentPrompt.spec.js.map +0 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.d.ts +0 -10
- package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.d.ts.map +0 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.js +0 -54
- package/node_modules/@happier-dev/agents/dist/voice/voiceClientTools.js.map +0 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.d.ts +0 -17
- package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.d.ts.map +0 -1
- package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.js +0 -65
- package/node_modules/@happier-dev/agents/dist/voice/voiceMediatorPrompt.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.js +0 -12
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.js +0 -35
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputHintsRuntime.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.js +0 -18
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.js +0 -184
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.js +0 -33
- package/node_modules/@happier-dev/protocol/dist/bugReports.reporter.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.js +0 -12
- package/node_modules/@happier-dev/protocol/dist/bugReports.serverDiagnostics.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.js +0 -68
- package/node_modules/@happier-dev/protocol/dist/bugReports.similarIssues.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.js +0 -382
- package/node_modules/@happier-dev/protocol/dist/bugReports.submit.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/changes.automation.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/changes.automation.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/changes.automation.test.js +0 -19
- package/node_modules/@happier-dev/protocol/dist/changes.automation.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.js +0 -105
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.js +0 -42
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.js +0 -65
- package/node_modules/@happier-dev/protocol/dist/crypto/boxBundle.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.js +0 -68
- package/node_modules/@happier-dev/protocol/dist/crypto/encryptedDataKeyEnvelopeV1.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.js +0 -67
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.js +0 -53
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.js +0 -16
- package/node_modules/@happier-dev/protocol/dist/esmImportCycle.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.js +0 -23
- package/node_modules/@happier-dev/protocol/dist/executionRuns.streaming.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/executionRuns.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.test.js +0 -174
- package/node_modules/@happier-dev/protocol/dist/executionRuns.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.js +0 -22
- package/node_modules/@happier-dev/protocol/dist/features/buildPolicy.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/features/catalog.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.test.js +0 -31
- package/node_modules/@happier-dev/protocol/dist/features/catalog.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features/decision.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/features/decision.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features/decision.test.js +0 -31
- package/node_modules/@happier-dev/protocol/dist/features/decision.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features.compat.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/features.compat.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/features.compat.test.js +0 -150
- package/node_modules/@happier-dev/protocol/dist/features.compat.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/index.exports.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/index.exports.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/index.exports.test.js +0 -57
- package/node_modules/@happier-dev/protocol/dist/index.exports.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.js +0 -10
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewEngines.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.js +0 -15
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.js +0 -8
- package/node_modules/@happier-dev/protocol/dist/rpc.daemonExecutionRuns.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.js +0 -11
- package/node_modules/@happier-dev/protocol/dist/rpc.executionRuns.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.js +0 -22
- package/node_modules/@happier-dev/protocol/dist/rpc.scm.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.js +0 -8
- package/node_modules/@happier-dev/protocol/dist/rpc.sessionReplay.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.js +0 -10
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceAgentStreaming.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.js +0 -10
- package/node_modules/@happier-dev/protocol/dist/rpc.voiceMediatorStreaming.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.js +0 -39
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scm.contract.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/scm.contract.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scm.contract.test.js +0 -197
- package/node_modules/@happier-dev/protocol/dist/scm.contract.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.js +0 -23
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.js +0 -29
- package/node_modules/@happier-dev/protocol/dist/scmPathScope.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.js +0 -183
- package/node_modules/@happier-dev/protocol/dist/scmPolicy.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.js +0 -23
- package/node_modules/@happier-dev/protocol/dist/serverControl/contract.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.js +0 -33
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.js +0 -54
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.js +0 -16
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.js +0 -43
- package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.backcompat.spec.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/updates.automation.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/updates.automation.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/updates.automation.test.js +0 -50
- package/node_modules/@happier-dev/protocol/dist/updates.automation.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceActions.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/voiceActions.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceActions.test.js +0 -124
- package/node_modules/@happier-dev/protocol/dist/voiceActions.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.d.ts +0 -427
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.js +0 -118
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.js +0 -43
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.streaming.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.js +0 -16
- package/node_modules/@happier-dev/protocol/dist/voiceAgent.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.d.ts +0 -2737
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.js +0 -118
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.js +0 -43
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.streaming.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.d.ts +0 -2
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.js +0 -16
- package/node_modules/@happier-dev/protocol/dist/voiceMediator.test.js.map +0 -1
- package/scripts/provision/macos-lima-vm.sh +0 -257
- package/scripts/provision/macos-lima-vm.test.mjs +0 -133
- package/scripts/utils/service/autostart_darwin.mjs +0 -198
- package/scripts/utils/service/autostart_darwin.test.mjs +0 -49
- package/scripts/utils/service/autostart_darwin_keepalive.test.mjs +0 -19
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { normalizeCodexBackendMode } from '../providers/codex/backendMode.js';
|
|
3
|
+
import { normalizeOpenCodeBackendMode } from '../providers/opencode/backendMode.js';
|
|
4
|
+
function asRecord(value) {
|
|
5
|
+
if (!value || typeof value !== 'object' || Array.isArray(value))
|
|
6
|
+
return null;
|
|
7
|
+
return value;
|
|
8
|
+
}
|
|
9
|
+
function normalizeTrimmedString(value) {
|
|
10
|
+
if (typeof value !== 'string')
|
|
11
|
+
return null;
|
|
12
|
+
const trimmed = value.trim();
|
|
13
|
+
return trimmed || null;
|
|
14
|
+
}
|
|
15
|
+
function normalizeCodexHome(value) {
|
|
16
|
+
return value === 'user' || value === 'connectedService' ? value : null;
|
|
17
|
+
}
|
|
18
|
+
function normalizeOpenCodeServerBaseUrlExplicit(value) {
|
|
19
|
+
return value === true;
|
|
20
|
+
}
|
|
21
|
+
function readCanonicalCodexProviderExtra(value) {
|
|
22
|
+
const extra = asRecord(value);
|
|
23
|
+
if (!extra || extra.v !== 1)
|
|
24
|
+
return null;
|
|
25
|
+
const runtimeAffinity = asRecord(extra.runtimeAffinity);
|
|
26
|
+
if (!runtimeAffinity)
|
|
27
|
+
return null;
|
|
28
|
+
const home = normalizeCodexHome(runtimeAffinity.home);
|
|
29
|
+
return {
|
|
30
|
+
backendMode: normalizeCodexBackendMode(runtimeAffinity.backendMode),
|
|
31
|
+
vendorSessionId: normalizeTrimmedString(runtimeAffinity.vendorSessionId),
|
|
32
|
+
home,
|
|
33
|
+
connectedServiceId: home === 'connectedService' ? normalizeTrimmedString(runtimeAffinity.connectedServiceId) : null,
|
|
34
|
+
connectedServiceProfileId: home === 'connectedService'
|
|
35
|
+
? normalizeTrimmedString(runtimeAffinity.connectedServiceProfileId)
|
|
36
|
+
: null,
|
|
37
|
+
homePath: normalizeTrimmedString(runtimeAffinity.homePath),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function readCanonicalOpenCodeProviderExtra(value) {
|
|
41
|
+
const extra = asRecord(value);
|
|
42
|
+
if (!extra || extra.v !== 1)
|
|
43
|
+
return null;
|
|
44
|
+
const runtimeHandle = asRecord(extra.runtimeHandle);
|
|
45
|
+
if (!runtimeHandle)
|
|
46
|
+
return null;
|
|
47
|
+
return {
|
|
48
|
+
backendMode: normalizeOpenCodeBackendMode(runtimeHandle.backendMode),
|
|
49
|
+
vendorSessionId: normalizeTrimmedString(runtimeHandle.vendorSessionId),
|
|
50
|
+
serverBaseUrl: normalizeTrimmedString(runtimeHandle.serverBaseUrl),
|
|
51
|
+
serverBaseUrlExplicit: normalizeOpenCodeServerBaseUrlExplicit(runtimeHandle.serverBaseUrlExplicit),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function createAgentRuntimeDescriptorProviderSchema(zod) {
|
|
55
|
+
return zod.object({
|
|
56
|
+
providerExtra: createAgentRuntimeDescriptorProviderExtraV1Schema(zod).optional(),
|
|
57
|
+
}).passthrough();
|
|
58
|
+
}
|
|
59
|
+
function createAgentRuntimeDescriptorProviderExtraV1Schema(zod) {
|
|
60
|
+
return zod.object({
|
|
61
|
+
owner: zod.string().min(1),
|
|
62
|
+
schemaId: zod.string().min(1),
|
|
63
|
+
v: zod.number().int().min(1),
|
|
64
|
+
}).passthrough();
|
|
65
|
+
}
|
|
66
|
+
export function createAgentRuntimeDescriptorV1Schema(zod) {
|
|
67
|
+
return zod.object({
|
|
68
|
+
v: zod.literal(1),
|
|
69
|
+
providerId: zod.string().min(1),
|
|
70
|
+
provider: createAgentRuntimeDescriptorProviderSchema(zod),
|
|
71
|
+
}).passthrough();
|
|
72
|
+
}
|
|
73
|
+
export const AgentRuntimeDescriptorV1Schema = createAgentRuntimeDescriptorV1Schema(z);
|
|
74
|
+
function buildCodexRuntimeAffinityProviderExtra(params) {
|
|
75
|
+
return {
|
|
76
|
+
owner: 'codex',
|
|
77
|
+
schemaId: 'codex.agentRuntimeDescriptorExtra',
|
|
78
|
+
v: 1,
|
|
79
|
+
runtimeAffinity: {
|
|
80
|
+
backendMode: params.backendMode,
|
|
81
|
+
...(params.vendorSessionId ? { vendorSessionId: params.vendorSessionId } : {}),
|
|
82
|
+
...(params.homePath ? { homePath: params.homePath } : {}),
|
|
83
|
+
...(params.home ? { home: params.home } : {}),
|
|
84
|
+
...(params.home === 'connectedService' && params.connectedServiceId
|
|
85
|
+
? { connectedServiceId: params.connectedServiceId }
|
|
86
|
+
: {}),
|
|
87
|
+
...(params.home === 'connectedService' && params.connectedServiceProfileId
|
|
88
|
+
? { connectedServiceProfileId: params.connectedServiceProfileId }
|
|
89
|
+
: {}),
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export function buildCodexAgentRuntimeDescriptorV1(params) {
|
|
94
|
+
return {
|
|
95
|
+
v: 1,
|
|
96
|
+
providerId: 'codex',
|
|
97
|
+
provider: {
|
|
98
|
+
backendMode: params.backendMode,
|
|
99
|
+
...(params.vendorSessionId ? { vendorSessionId: params.vendorSessionId } : {}),
|
|
100
|
+
...(params.homePath ? { homePath: params.homePath } : {}),
|
|
101
|
+
...(params.home ? { home: params.home } : {}),
|
|
102
|
+
...(params.home === 'connectedService' && params.connectedServiceId
|
|
103
|
+
? { connectedServiceId: params.connectedServiceId }
|
|
104
|
+
: {}),
|
|
105
|
+
...(params.home === 'connectedService' && params.connectedServiceProfileId
|
|
106
|
+
? { connectedServiceProfileId: params.connectedServiceProfileId }
|
|
107
|
+
: {}),
|
|
108
|
+
providerExtra: buildCodexRuntimeAffinityProviderExtra(params),
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
export function buildOpenCodeAgentRuntimeDescriptorV1(params) {
|
|
113
|
+
const providerExtraRuntimeHandle = {
|
|
114
|
+
backendMode: params.backendMode,
|
|
115
|
+
...(params.vendorSessionId ? { vendorSessionId: params.vendorSessionId } : {}),
|
|
116
|
+
...(params.serverBaseUrl ? { serverBaseUrl: params.serverBaseUrl } : {}),
|
|
117
|
+
...(params.serverBaseUrlExplicit ? { serverBaseUrlExplicit: true } : {}),
|
|
118
|
+
};
|
|
119
|
+
return {
|
|
120
|
+
v: 1,
|
|
121
|
+
providerId: 'opencode',
|
|
122
|
+
provider: {
|
|
123
|
+
backendMode: params.backendMode,
|
|
124
|
+
...(params.vendorSessionId ? { vendorSessionId: params.vendorSessionId } : {}),
|
|
125
|
+
...(params.serverBaseUrl ? { serverBaseUrl: params.serverBaseUrl } : {}),
|
|
126
|
+
...(params.serverBaseUrlExplicit ? { serverBaseUrlExplicit: true } : {}),
|
|
127
|
+
providerExtra: {
|
|
128
|
+
owner: 'opencode',
|
|
129
|
+
schemaId: 'opencode.agentRuntimeDescriptorExtra',
|
|
130
|
+
v: 1,
|
|
131
|
+
runtimeHandle: providerExtraRuntimeHandle,
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
export function buildPiAgentRuntimeDescriptorV1(params) {
|
|
137
|
+
return {
|
|
138
|
+
v: 1,
|
|
139
|
+
providerId: 'pi',
|
|
140
|
+
provider: {
|
|
141
|
+
resumeStrategy: params.resumeStrategy,
|
|
142
|
+
...(params.vendorSessionId ? { vendorSessionId: params.vendorSessionId } : {}),
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
export function readAgentRuntimeDescriptorV1(value) {
|
|
147
|
+
const parsed = AgentRuntimeDescriptorV1Schema.safeParse(value);
|
|
148
|
+
return parsed.success ? parsed.data : null;
|
|
149
|
+
}
|
|
150
|
+
export function readAgentRuntimeDescriptorV1ForProvider(value, providerId) {
|
|
151
|
+
const parsed = readAgentRuntimeDescriptorV1(value);
|
|
152
|
+
return parsed?.providerId === providerId ? parsed : null;
|
|
153
|
+
}
|
|
154
|
+
export function readCanonicalAgentRuntimeDescriptorV1ForProvider(value, providerId) {
|
|
155
|
+
switch (providerId) {
|
|
156
|
+
case 'codex': {
|
|
157
|
+
const descriptor = readAgentRuntimeDescriptorV1ForProvider(value, 'codex');
|
|
158
|
+
if (!descriptor)
|
|
159
|
+
return null;
|
|
160
|
+
const providerExtra = readCanonicalCodexProviderExtra(descriptor.provider.providerExtra);
|
|
161
|
+
const home = providerExtra?.home ?? normalizeCodexHome(descriptor.provider.home);
|
|
162
|
+
return {
|
|
163
|
+
providerId: 'codex',
|
|
164
|
+
backendMode: providerExtra?.backendMode ?? normalizeCodexBackendMode(descriptor.provider.backendMode),
|
|
165
|
+
vendorSessionId: providerExtra?.vendorSessionId ?? normalizeTrimmedString(descriptor.provider.vendorSessionId),
|
|
166
|
+
home,
|
|
167
|
+
connectedServiceId: providerExtra?.connectedServiceId
|
|
168
|
+
?? (home === 'connectedService' ? normalizeTrimmedString(descriptor.provider.connectedServiceId) : null),
|
|
169
|
+
connectedServiceProfileId: providerExtra?.connectedServiceProfileId
|
|
170
|
+
?? (home === 'connectedService' ? normalizeTrimmedString(descriptor.provider.connectedServiceProfileId) : null),
|
|
171
|
+
homePath: providerExtra?.homePath ?? normalizeTrimmedString(descriptor.provider.homePath),
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
case 'opencode': {
|
|
175
|
+
const descriptor = readAgentRuntimeDescriptorV1ForProvider(value, 'opencode');
|
|
176
|
+
if (!descriptor)
|
|
177
|
+
return null;
|
|
178
|
+
const providerExtra = readCanonicalOpenCodeProviderExtra(descriptor.provider.providerExtra);
|
|
179
|
+
return {
|
|
180
|
+
providerId: 'opencode',
|
|
181
|
+
backendMode: providerExtra?.backendMode ?? normalizeOpenCodeBackendMode(descriptor.provider.backendMode),
|
|
182
|
+
vendorSessionId: providerExtra?.vendorSessionId ?? normalizeTrimmedString(descriptor.provider.vendorSessionId),
|
|
183
|
+
serverBaseUrl: providerExtra?.serverBaseUrl ?? normalizeTrimmedString(descriptor.provider.serverBaseUrl),
|
|
184
|
+
serverBaseUrlExplicit: providerExtra?.serverBaseUrlExplicit ?? normalizeOpenCodeServerBaseUrlExplicit(descriptor.provider.serverBaseUrlExplicit),
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
case 'pi': {
|
|
188
|
+
const descriptor = readAgentRuntimeDescriptorV1ForProvider(value, 'pi');
|
|
189
|
+
if (!descriptor)
|
|
190
|
+
return null;
|
|
191
|
+
return {
|
|
192
|
+
providerId: 'pi',
|
|
193
|
+
resumeStrategy: descriptor.provider.resumeStrategy === 'sessionFileBySessionId'
|
|
194
|
+
? 'sessionFileBySessionId'
|
|
195
|
+
: null,
|
|
196
|
+
vendorSessionId: normalizeTrimmedString(descriptor.provider.vendorSessionId),
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
//# sourceMappingURL=agentRuntimeDescriptorV1.js.map
|
package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentRuntimeDescriptorV1.js","sourceRoot":"","sources":["../../src/sessionMetadata/agentRuntimeDescriptorV1.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { type CodexBackendMode } from '../providers/codex/backendMode.js';
|
|
2
3
|
/**
|
|
3
4
|
* Session metadata override payloads (V1).
|
|
4
5
|
*
|
|
@@ -11,12 +12,12 @@ import { z } from 'zod';
|
|
|
11
12
|
export declare function createModelOverrideV1Schema(zod: typeof z): z.ZodObject<{
|
|
12
13
|
v: z.ZodLiteral<1>;
|
|
13
14
|
updatedAt: z.ZodNumber;
|
|
14
|
-
modelId: z.ZodString
|
|
15
|
+
modelId: z.ZodNullable<z.ZodString>;
|
|
15
16
|
}, z.core.$loose>;
|
|
16
17
|
export declare const ModelOverrideV1Schema: z.ZodObject<{
|
|
17
18
|
v: z.ZodLiteral<1>;
|
|
18
19
|
updatedAt: z.ZodNumber;
|
|
19
|
-
modelId: z.ZodString
|
|
20
|
+
modelId: z.ZodNullable<z.ZodString>;
|
|
20
21
|
}, z.core.$loose>;
|
|
21
22
|
export type ModelOverrideV1 = z.infer<typeof ModelOverrideV1Schema>;
|
|
22
23
|
export declare function buildModelOverrideV1(params: Readonly<{
|
|
@@ -26,12 +27,12 @@ export declare function buildModelOverrideV1(params: Readonly<{
|
|
|
26
27
|
export declare function createAcpSessionModeOverrideV1Schema(zod: typeof z): z.ZodObject<{
|
|
27
28
|
v: z.ZodLiteral<1>;
|
|
28
29
|
updatedAt: z.ZodNumber;
|
|
29
|
-
modeId: z.ZodString
|
|
30
|
+
modeId: z.ZodNullable<z.ZodString>;
|
|
30
31
|
}, z.core.$loose>;
|
|
31
32
|
export declare const AcpSessionModeOverrideV1Schema: z.ZodObject<{
|
|
32
33
|
v: z.ZodLiteral<1>;
|
|
33
34
|
updatedAt: z.ZodNumber;
|
|
34
|
-
modeId: z.ZodString
|
|
35
|
+
modeId: z.ZodNullable<z.ZodString>;
|
|
35
36
|
}, z.core.$loose>;
|
|
36
37
|
export type AcpSessionModeOverrideV1 = z.infer<typeof AcpSessionModeOverrideV1Schema>;
|
|
37
38
|
export declare function buildAcpSessionModeOverrideV1(params: Readonly<{
|
|
@@ -62,4 +63,25 @@ export declare function buildAcpConfigOptionOverridesV1(params: Readonly<{
|
|
|
62
63
|
value: string | number | boolean | null;
|
|
63
64
|
}>;
|
|
64
65
|
}>): AcpConfigOptionOverridesV1;
|
|
66
|
+
export declare function createCodexRuntimeDescriptorV1Schema(zod: typeof z): z.ZodObject<{
|
|
67
|
+
v: z.ZodLiteral<1>;
|
|
68
|
+
backendMode: z.ZodEnum<{
|
|
69
|
+
mcp: "mcp";
|
|
70
|
+
acp: "acp";
|
|
71
|
+
appServer: "appServer";
|
|
72
|
+
}>;
|
|
73
|
+
}, z.core.$loose>;
|
|
74
|
+
export declare const CodexRuntimeDescriptorV1Schema: z.ZodObject<{
|
|
75
|
+
v: z.ZodLiteral<1>;
|
|
76
|
+
backendMode: z.ZodEnum<{
|
|
77
|
+
mcp: "mcp";
|
|
78
|
+
acp: "acp";
|
|
79
|
+
appServer: "appServer";
|
|
80
|
+
}>;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
|
+
export type CodexRuntimeDescriptorV1 = z.infer<typeof CodexRuntimeDescriptorV1Schema>;
|
|
83
|
+
export declare function buildCodexRuntimeDescriptorV1(params: Readonly<{
|
|
84
|
+
backendMode: CodexBackendMode;
|
|
85
|
+
}>): CodexRuntimeDescriptorV1;
|
|
86
|
+
export declare function readCodexRuntimeDescriptorV1BackendMode(value: unknown): CodexBackendMode | null;
|
|
65
87
|
//# sourceMappingURL=metadataOverridesV1.d.ts.map
|
package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadataOverridesV1.d.ts","sourceRoot":"","sources":["../../src/sessionMetadata/metadataOverridesV1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AAEH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,OAAO,CAAC;;;;
|
|
1
|
+
{"version":3,"file":"metadataOverridesV1.d.ts","sourceRoot":"","sources":["../../src/sessionMetadata/metadataOverridesV1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAuB,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAE/F;;;;;;;;GAQG;AAEH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,OAAO,CAAC;;;;kBASxD;AAED,eAAO,MAAM,qBAAqB;;;;iBAAiC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,eAAe,CAM9G;AAED,wBAAgB,oCAAoC,CAAC,GAAG,EAAE,OAAO,CAAC;;;;kBASjE;AAED,eAAO,MAAM,8BAA8B;;;;iBAA0C,CAAC;AACtF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,QAAQ,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,wBAAwB,CAM/H;AAED,wBAAgB,sCAAsC,CAAC,GAAG,EAAE,OAAO,CAAC;;;;;;;kBAiBnE;AAED,eAAO,MAAM,gCAAgC;;;;;;;iBAA4C,CAAC;AAC1F,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CAC3F,CAAC,GAAG,0BAA0B,CAM9B;AAED,wBAAgB,oCAAoC,CAAC,GAAG,EAAE,OAAO,CAAC;;;;;;;kBAOjE;AAED,eAAO,MAAM,8BAA8B;;;;;;;iBAA0C,CAAC;AACtF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC7D,WAAW,EAAE,gBAAgB,CAAC;CAC/B,CAAC,GAAG,wBAAwB,CAK5B;AAED,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,GAAG,IAAI,CAG/F"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { CODEX_BACKEND_MODES } from '../providers/codex/backendMode.js';
|
|
2
3
|
/**
|
|
3
4
|
* Session metadata override payloads (V1).
|
|
4
5
|
*
|
|
@@ -13,7 +14,8 @@ export function createModelOverrideV1Schema(zod) {
|
|
|
13
14
|
.object({
|
|
14
15
|
v: zod.literal(1),
|
|
15
16
|
updatedAt: zod.number().finite(),
|
|
16
|
-
|
|
17
|
+
// Cleared overrides are represented as `null` (see computeNextMetadataStringOverrideV1).
|
|
18
|
+
modelId: zod.string().nullable(),
|
|
17
19
|
})
|
|
18
20
|
.passthrough();
|
|
19
21
|
}
|
|
@@ -30,7 +32,8 @@ export function createAcpSessionModeOverrideV1Schema(zod) {
|
|
|
30
32
|
.object({
|
|
31
33
|
v: zod.literal(1),
|
|
32
34
|
updatedAt: zod.number().finite(),
|
|
33
|
-
|
|
35
|
+
// Cleared overrides are represented as `null` (see computeNextMetadataStringOverrideV1).
|
|
36
|
+
modeId: zod.string().nullable(),
|
|
34
37
|
})
|
|
35
38
|
.passthrough();
|
|
36
39
|
}
|
|
@@ -65,4 +68,23 @@ export function buildAcpConfigOptionOverridesV1(params) {
|
|
|
65
68
|
overrides: params.overrides,
|
|
66
69
|
};
|
|
67
70
|
}
|
|
71
|
+
export function createCodexRuntimeDescriptorV1Schema(zod) {
|
|
72
|
+
return zod
|
|
73
|
+
.object({
|
|
74
|
+
v: zod.literal(1),
|
|
75
|
+
backendMode: zod.enum(CODEX_BACKEND_MODES),
|
|
76
|
+
})
|
|
77
|
+
.passthrough();
|
|
78
|
+
}
|
|
79
|
+
export const CodexRuntimeDescriptorV1Schema = createCodexRuntimeDescriptorV1Schema(z);
|
|
80
|
+
export function buildCodexRuntimeDescriptorV1(params) {
|
|
81
|
+
return {
|
|
82
|
+
v: 1,
|
|
83
|
+
backendMode: params.backendMode,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
export function readCodexRuntimeDescriptorV1BackendMode(value) {
|
|
87
|
+
const parsed = CodexRuntimeDescriptorV1Schema.safeParse(value);
|
|
88
|
+
return parsed.success ? parsed.data.backendMode : null;
|
|
89
|
+
}
|
|
68
90
|
//# sourceMappingURL=metadataOverridesV1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadataOverridesV1.js","sourceRoot":"","sources":["../../src/sessionMetadata/metadataOverridesV1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AAEH,MAAM,UAAU,2BAA2B,CAAC,GAAa;IACvD,OAAO,GAAG;SACP,MAAM,CAAC;QACN,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;QACjB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE;QAChC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"metadataOverridesV1.js","sourceRoot":"","sources":["../../src/sessionMetadata/metadataOverridesV1.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare function createSessionRollbackRangeV1Schema(zod: typeof z): z.ZodObject<{
|
|
3
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"latest_turn">;
|
|
5
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6
|
+
type: z.ZodLiteral<"before_user_message">;
|
|
7
|
+
userMessageSeq: z.ZodNumber;
|
|
8
|
+
}, z.core.$strict>], "type">;
|
|
9
|
+
startSeqInclusive: z.ZodNumber;
|
|
10
|
+
endSeqInclusive: z.ZodNumber;
|
|
11
|
+
rolledBackAt: z.ZodNumber;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
export declare const SessionRollbackRangeV1Schema: z.ZodObject<{
|
|
14
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15
|
+
type: z.ZodLiteral<"latest_turn">;
|
|
16
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17
|
+
type: z.ZodLiteral<"before_user_message">;
|
|
18
|
+
userMessageSeq: z.ZodNumber;
|
|
19
|
+
}, z.core.$strict>], "type">;
|
|
20
|
+
startSeqInclusive: z.ZodNumber;
|
|
21
|
+
endSeqInclusive: z.ZodNumber;
|
|
22
|
+
rolledBackAt: z.ZodNumber;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
export type SessionRollbackRangeV1 = z.infer<typeof SessionRollbackRangeV1Schema>;
|
|
25
|
+
export declare function createSessionRollbackRangesV1Schema(zod: typeof z): z.ZodObject<{
|
|
26
|
+
v: z.ZodLiteral<1>;
|
|
27
|
+
updatedAt: z.ZodNumber;
|
|
28
|
+
ranges: z.ZodArray<z.ZodObject<{
|
|
29
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30
|
+
type: z.ZodLiteral<"latest_turn">;
|
|
31
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32
|
+
type: z.ZodLiteral<"before_user_message">;
|
|
33
|
+
userMessageSeq: z.ZodNumber;
|
|
34
|
+
}, z.core.$strict>], "type">;
|
|
35
|
+
startSeqInclusive: z.ZodNumber;
|
|
36
|
+
endSeqInclusive: z.ZodNumber;
|
|
37
|
+
rolledBackAt: z.ZodNumber;
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
export declare const SessionRollbackRangesV1Schema: z.ZodObject<{
|
|
41
|
+
v: z.ZodLiteral<1>;
|
|
42
|
+
updatedAt: z.ZodNumber;
|
|
43
|
+
ranges: z.ZodArray<z.ZodObject<{
|
|
44
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45
|
+
type: z.ZodLiteral<"latest_turn">;
|
|
46
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47
|
+
type: z.ZodLiteral<"before_user_message">;
|
|
48
|
+
userMessageSeq: z.ZodNumber;
|
|
49
|
+
}, z.core.$strict>], "type">;
|
|
50
|
+
startSeqInclusive: z.ZodNumber;
|
|
51
|
+
endSeqInclusive: z.ZodNumber;
|
|
52
|
+
rolledBackAt: z.ZodNumber;
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
|
+
}, z.core.$loose>;
|
|
55
|
+
export type SessionRollbackRangesV1 = z.infer<typeof SessionRollbackRangesV1Schema>;
|
|
56
|
+
export declare function buildSessionRollbackRangesV1(params: Readonly<{
|
|
57
|
+
updatedAt: number;
|
|
58
|
+
ranges: ReadonlyArray<SessionRollbackRangeV1>;
|
|
59
|
+
}>): SessionRollbackRangesV1;
|
|
60
|
+
export declare function readSessionRollbackRangesV1FromMetadata(metadata: unknown): SessionRollbackRangesV1 | null;
|
|
61
|
+
//# sourceMappingURL=sessionRollbackRangesV1.d.ts.map
|
package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessionRollbackRangesV1.d.ts","sourceRoot":"","sources":["../../src/sessionMetadata/sessionRollbackRangesV1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,OAAO,CAAC;;;;;;;;;;kBAa/D;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;iBAAwC,CAAC;AAClF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,wBAAgB,mCAAmC,CAAC,GAAG,EAAE,OAAO,CAAC;;;;;;;;;;;;;;kBAMhE;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;iBAAyC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAC;CAC/C,CAAC,GAAG,uBAAuB,CAM3B;AAED,wBAAgB,uCAAuC,CAAC,QAAQ,EAAE,OAAO,GAAG,uBAAuB,GAAG,IAAI,CAKzG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SessionRollbackTargetSchema } from '../sessionRollback.js';
|
|
3
|
+
export function createSessionRollbackRangeV1Schema(zod) {
|
|
4
|
+
return zod
|
|
5
|
+
.object({
|
|
6
|
+
target: SessionRollbackTargetSchema,
|
|
7
|
+
startSeqInclusive: zod.number().int().nonnegative(),
|
|
8
|
+
endSeqInclusive: zod.number().int().nonnegative(),
|
|
9
|
+
rolledBackAt: zod.number().finite(),
|
|
10
|
+
})
|
|
11
|
+
.refine((value) => value.endSeqInclusive >= value.startSeqInclusive, {
|
|
12
|
+
message: 'endSeqInclusive must be greater than or equal to startSeqInclusive',
|
|
13
|
+
path: ['endSeqInclusive'],
|
|
14
|
+
})
|
|
15
|
+
.passthrough();
|
|
16
|
+
}
|
|
17
|
+
export const SessionRollbackRangeV1Schema = createSessionRollbackRangeV1Schema(z);
|
|
18
|
+
export function createSessionRollbackRangesV1Schema(zod) {
|
|
19
|
+
return zod.object({
|
|
20
|
+
v: zod.literal(1),
|
|
21
|
+
updatedAt: zod.number().finite(),
|
|
22
|
+
ranges: zod.array(createSessionRollbackRangeV1Schema(zod)),
|
|
23
|
+
}).passthrough();
|
|
24
|
+
}
|
|
25
|
+
export const SessionRollbackRangesV1Schema = createSessionRollbackRangesV1Schema(z);
|
|
26
|
+
export function buildSessionRollbackRangesV1(params) {
|
|
27
|
+
return {
|
|
28
|
+
v: 1,
|
|
29
|
+
updatedAt: params.updatedAt,
|
|
30
|
+
ranges: [...params.ranges],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function readSessionRollbackRangesV1FromMetadata(metadata) {
|
|
34
|
+
if (!metadata || typeof metadata !== 'object' || Array.isArray(metadata))
|
|
35
|
+
return null;
|
|
36
|
+
const raw = metadata.sessionRollbackRangesV1;
|
|
37
|
+
const parsed = SessionRollbackRangesV1Schema.safeParse(raw);
|
|
38
|
+
return parsed.success ? parsed.data : null;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=sessionRollbackRangesV1.js.map
|
package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionRollbackRangesV1.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessionRollbackRangesV1.js","sourceRoot":"","sources":["../../src/sessionMetadata/sessionRollbackRangesV1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAEpE,MAAM,UAAU,kCAAkC,CAAC,GAAa;IAC9D,OAAO,GAAG;SACP,MAAM,CAAC;QACN,MAAM,EAAE,2BAA2B;QACnC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;QACnD,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;QACjD,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE;KACpC,CAAC;SACD,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,eAAe,IAAI,KAAK,CAAC,iBAAiB,EAAE;QACnE,OAAO,EAAE,oEAAoE;QAC7E,IAAI,EAAE,CAAC,iBAAiB,CAAC;KAC1B,CAAC;SACD,WAAW,EAAE,CAAC;AACnB,CAAC;AAED,MAAM,CAAC,MAAM,4BAA4B,GAAG,kCAAkC,CAAC,CAAC,CAAC,CAAC;AAGlF,MAAM,UAAU,mCAAmC,CAAC,GAAa;IAC/D,OAAO,GAAG,CAAC,MAAM,CAAC;QAChB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;QACjB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE;QAChC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,kCAAkC,CAAC,GAAG,CAAC,CAAC;KAC3D,CAAC,CAAC,WAAW,EAAE,CAAC;AACnB,CAAC;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,mCAAmC,CAAC,CAAC,CAAC,CAAC;AAGpF,MAAM,UAAU,4BAA4B,CAAC,MAG3C;IACA,OAAO;QACL,CAAC,EAAE,CAAC;QACJ,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,MAAM,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,QAAiB;IACvE,IAAI,CAAC,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;QAAE,OAAO,IAAI,CAAC;IACtF,MAAM,GAAG,GAAI,QAAoC,CAAC,uBAAuB,CAAC;IAC1E,MAAM,MAAM,GAAG,6BAA6B,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC5D,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7C,CAAC"}
|
|
@@ -8,10 +8,15 @@ import { z } from 'zod';
|
|
|
8
8
|
export declare function createSessionTerminalMetadataSchema(zod: typeof z): z.ZodObject<{
|
|
9
9
|
mode: z.ZodEnum<{
|
|
10
10
|
plain: "plain";
|
|
11
|
+
windows_terminal: "windows_terminal";
|
|
11
12
|
tmux: "tmux";
|
|
13
|
+
windows_console: "windows_console";
|
|
12
14
|
}>;
|
|
13
15
|
requested: z.ZodOptional<z.ZodEnum<{
|
|
14
16
|
plain: "plain";
|
|
17
|
+
hidden: "hidden";
|
|
18
|
+
windows_terminal: "windows_terminal";
|
|
19
|
+
console: "console";
|
|
15
20
|
tmux: "tmux";
|
|
16
21
|
}>>;
|
|
17
22
|
fallbackReason: z.ZodOptional<z.ZodString>;
|
|
@@ -19,14 +24,28 @@ export declare function createSessionTerminalMetadataSchema(zod: typeof z): z.Zo
|
|
|
19
24
|
target: z.ZodString;
|
|
20
25
|
tmpDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
26
|
}, z.core.$strip>>;
|
|
27
|
+
windows: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
host: z.ZodEnum<{
|
|
29
|
+
windows_terminal: "windows_terminal";
|
|
30
|
+
console: "console";
|
|
31
|
+
}>;
|
|
32
|
+
windowId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
title: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
22
36
|
}, z.core.$loose>;
|
|
23
37
|
export declare const SessionTerminalMetadataSchema: z.ZodObject<{
|
|
24
38
|
mode: z.ZodEnum<{
|
|
25
39
|
plain: "plain";
|
|
40
|
+
windows_terminal: "windows_terminal";
|
|
26
41
|
tmux: "tmux";
|
|
42
|
+
windows_console: "windows_console";
|
|
27
43
|
}>;
|
|
28
44
|
requested: z.ZodOptional<z.ZodEnum<{
|
|
29
45
|
plain: "plain";
|
|
46
|
+
hidden: "hidden";
|
|
47
|
+
windows_terminal: "windows_terminal";
|
|
48
|
+
console: "console";
|
|
30
49
|
tmux: "tmux";
|
|
31
50
|
}>>;
|
|
32
51
|
fallbackReason: z.ZodOptional<z.ZodString>;
|
|
@@ -34,6 +53,15 @@ export declare const SessionTerminalMetadataSchema: z.ZodObject<{
|
|
|
34
53
|
target: z.ZodString;
|
|
35
54
|
tmpDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
55
|
}, z.core.$strip>>;
|
|
56
|
+
windows: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
host: z.ZodEnum<{
|
|
58
|
+
windows_terminal: "windows_terminal";
|
|
59
|
+
console: "console";
|
|
60
|
+
}>;
|
|
61
|
+
windowId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
title: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
37
65
|
}, z.core.$loose>;
|
|
38
66
|
export type SessionTerminalMetadata = z.infer<typeof SessionTerminalMetadataSchema>;
|
|
39
67
|
//# sourceMappingURL=terminalMetadata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminalMetadata.d.ts","sourceRoot":"","sources":["../../src/sessionMetadata/terminalMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"terminalMetadata.d.ts","sourceRoot":"","sources":["../../src/sessionMetadata/terminalMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AAEH,wBAAgB,mCAAmC,CAAC,GAAG,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwBhE;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { WINDOWS_REMOTE_SESSION_LAUNCH_MODES } from './windowsRemoteSessionLaunchMode.js';
|
|
2
3
|
/**
|
|
3
4
|
* Session terminal attachment metadata (stored in encrypted `session.metadata`).
|
|
4
5
|
*
|
|
@@ -6,10 +7,12 @@ import { z } from 'zod';
|
|
|
6
7
|
* Use factory forms for nohoist/multi-Zod repos.
|
|
7
8
|
*/
|
|
8
9
|
export function createSessionTerminalMetadataSchema(zod) {
|
|
10
|
+
const terminalModeSchema = zod.enum(['plain', 'tmux', 'windows_terminal', 'windows_console']);
|
|
11
|
+
const requestedModeSchema = zod.enum(['plain', 'tmux', ...WINDOWS_REMOTE_SESSION_LAUNCH_MODES]);
|
|
9
12
|
return zod
|
|
10
13
|
.object({
|
|
11
|
-
mode:
|
|
12
|
-
requested:
|
|
14
|
+
mode: terminalModeSchema,
|
|
15
|
+
requested: requestedModeSchema.optional(),
|
|
13
16
|
fallbackReason: zod.string().optional(),
|
|
14
17
|
tmux: zod
|
|
15
18
|
.object({
|
|
@@ -17,6 +20,14 @@ export function createSessionTerminalMetadataSchema(zod) {
|
|
|
17
20
|
tmpDir: zod.string().nullable().optional(),
|
|
18
21
|
})
|
|
19
22
|
.optional(),
|
|
23
|
+
windows: zod
|
|
24
|
+
.object({
|
|
25
|
+
host: zod.enum(['windows_terminal', 'console']),
|
|
26
|
+
windowId: zod.string().optional(),
|
|
27
|
+
pid: zod.number().int().optional(),
|
|
28
|
+
title: zod.string().optional(),
|
|
29
|
+
})
|
|
30
|
+
.optional(),
|
|
20
31
|
})
|
|
21
32
|
.passthrough();
|
|
22
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminalMetadata.js","sourceRoot":"","sources":["../../src/sessionMetadata/terminalMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"terminalMetadata.js","sourceRoot":"","sources":["../../src/sessionMetadata/terminalMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mCAAmC,EAAE,MAAM,qCAAqC,CAAC;AAE1F;;;;;GAKG;AAEH,MAAM,UAAU,mCAAmC,CAAC,GAAa;IAC/D,MAAM,kBAAkB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAC9F,MAAM,mBAAmB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,mCAAmC,CAAC,CAAC,CAAC;IAChG,OAAO,GAAG;SACP,MAAM,CAAC;QACN,IAAI,EAAE,kBAAkB;QACxB,SAAS,EAAE,mBAAmB,CAAC,QAAQ,EAAE;QACzC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,IAAI,EAAE,GAAG;aACN,MAAM,CAAC;YACN,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE;YACpB,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAC3C,CAAC;aACD,QAAQ,EAAE;QACb,OAAO,EAAE,GAAG;aACT,MAAM,CAAC;YACN,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAC;YAC/C,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACjC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;YAClC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC/B,CAAC;aACD,QAAQ,EAAE;KACd,CAAC;SACD,WAAW,EAAE,CAAC;AACnB,CAAC;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,mCAAmC,CAAC,CAAC,CAAC,CAAC"}
|
package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const WINDOWS_REMOTE_SESSION_LAUNCH_MODES: readonly ["hidden", "windows_terminal", "console"];
|
|
3
|
+
export type WindowsRemoteSessionLaunchMode = (typeof WINDOWS_REMOTE_SESSION_LAUNCH_MODES)[number];
|
|
4
|
+
export declare const WindowsRemoteSessionLaunchModeSchema: z.ZodEnum<{
|
|
5
|
+
hidden: "hidden";
|
|
6
|
+
windows_terminal: "windows_terminal";
|
|
7
|
+
console: "console";
|
|
8
|
+
}>;
|
|
9
|
+
//# sourceMappingURL=windowsRemoteSessionLaunchMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windowsRemoteSessionLaunchMode.d.ts","sourceRoot":"","sources":["../../src/sessionMetadata/windowsRemoteSessionLaunchMode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mCAAmC,oDAAqD,CAAC;AACtG,MAAM,MAAM,8BAA8B,GAAG,CAAC,OAAO,mCAAmC,CAAC,CAAC,MAAM,CAAC,CAAC;AAElG,eAAO,MAAM,oCAAoC;;;;EAA8C,CAAC"}
|
package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const WINDOWS_REMOTE_SESSION_LAUNCH_MODES = ['hidden', 'windows_terminal', 'console'];
|
|
3
|
+
export const WindowsRemoteSessionLaunchModeSchema = z.enum(WINDOWS_REMOTE_SESSION_LAUNCH_MODES);
|
|
4
|
+
//# sourceMappingURL=windowsRemoteSessionLaunchMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windowsRemoteSessionLaunchMode.js","sourceRoot":"","sources":["../../src/sessionMetadata/windowsRemoteSessionLaunchMode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,QAAQ,EAAE,kBAAkB,EAAE,SAAS,CAAU,CAAC;AAGtG,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SessionRollbackTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"latest_turn">;
|
|
4
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5
|
+
type: z.ZodLiteral<"before_user_message">;
|
|
6
|
+
userMessageSeq: z.ZodNumber;
|
|
7
|
+
}, z.core.$strict>], "type">;
|
|
8
|
+
export type SessionRollbackTarget = z.infer<typeof SessionRollbackTargetSchema>;
|
|
9
|
+
export declare const SessionRollbackRpcParamsSchema: z.ZodObject<{
|
|
10
|
+
v: z.ZodLiteral<1>;
|
|
11
|
+
target: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12
|
+
type: z.ZodLiteral<"latest_turn">;
|
|
13
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14
|
+
type: z.ZodLiteral<"before_user_message">;
|
|
15
|
+
userMessageSeq: z.ZodNumber;
|
|
16
|
+
}, z.core.$strict>], "type">>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export type SessionRollbackRpcParams = z.infer<typeof SessionRollbackRpcParamsSchema>;
|
|
19
|
+
export declare const SessionRollbackRpcResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
20
|
+
ok: z.ZodLiteral<true>;
|
|
21
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22
|
+
type: z.ZodLiteral<"latest_turn">;
|
|
23
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
24
|
+
type: z.ZodLiteral<"before_user_message">;
|
|
25
|
+
userMessageSeq: z.ZodNumber;
|
|
26
|
+
}, z.core.$strict>], "type">;
|
|
27
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
29
|
+
ok: z.ZodLiteral<false>;
|
|
30
|
+
errorCode: z.ZodString;
|
|
31
|
+
errorMessage: z.ZodString;
|
|
32
|
+
}, z.core.$loose>]>;
|
|
33
|
+
export type SessionRollbackRpcResult = z.infer<typeof SessionRollbackRpcResultSchema>;
|
|
34
|
+
//# sourceMappingURL=sessionRollback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessionRollback.d.ts","sourceRoot":"","sources":["../src/sessionRollback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;;;4BAQtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,8BAA8B;;;;;;;;kBAKhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;mBAezC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|