@happier-dev/stack 0.2.1-preview.1775586714.26562 → 0.2.12-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/bin/happier.mjs +8 -1
- package/bin/hstack.mjs +51 -36
- package/bin/localBundledWorkspacePreflight.mjs +48 -0
- package/docs/server-flavors.md +10 -13
- package/node_modules/@happier-dev/agents/dist/advancedModes.d.ts +1 -1
- package/node_modules/@happier-dev/agents/dist/advancedModes.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/advancedModes.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/auth.d.ts +2 -2
- package/node_modules/@happier-dev/agents/dist/auth.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/auth.js +25 -5
- package/node_modules/@happier-dev/agents/dist/auth.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.d.ts +17 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.js +59 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.d.ts +114 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.js +318 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/sessionOptions.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/index.d.ts +29 -14
- package/node_modules/@happier-dev/agents/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/index.js +25 -11
- package/node_modules/@happier-dev/agents/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/localCli.d.ts +2 -1
- package/node_modules/@happier-dev/agents/dist/localCli.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/localCli.js +68 -43
- package/node_modules/@happier-dev/agents/dist/localCli.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/manifest.d.ts +420 -162
- package/node_modules/@happier-dev/agents/dist/manifest.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/manifest.js +222 -6
- package/node_modules/@happier-dev/agents/dist/manifest.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/mediaCapabilities.d.ts +5 -0
- package/node_modules/@happier-dev/agents/dist/mediaCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/mediaCapabilities.js +11 -0
- package/node_modules/@happier-dev/agents/dist/mediaCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/models.d.ts +25 -0
- package/node_modules/@happier-dev/agents/dist/models.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/models.js +99 -68
- package/node_modules/@happier-dev/agents/dist/models.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.d.ts +20 -0
- package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.js +35 -0
- package/node_modules/@happier-dev/agents/dist/nativeLaunchSelection.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.d.ts +2 -0
- package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.js +12 -0
- package/node_modules/@happier-dev/agents/dist/path/isAbsolutePathLike.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/permissions/index.d.ts +5 -0
- package/node_modules/@happier-dev/agents/dist/permissions/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/permissions/index.js +23 -59
- package/node_modules/@happier-dev/agents/dist/permissions/index.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/permissions/privilege.d.ts +33 -0
- package/node_modules/@happier-dev/agents/dist/permissions/privilege.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/permissions/privilege.js +95 -0
- package/node_modules/@happier-dev/agents/dist/permissions/privilege.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/claudeRemote.d.ts +171 -80
- 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 +62 -0
- 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 +10 -10
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/codex.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.d.ts +65 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.js +81 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/cursor.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.d.ts +36 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.js +33 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/kimi.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts +16 -16
- package/node_modules/@happier-dev/agents/dist/providerSettings/definitions/opencode.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts +4 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.js +3 -1
- package/node_modules/@happier-dev/agents/dist/providerSettings/index.js.map +1 -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 +4 -0
- package/node_modules/@happier-dev/agents/dist/providerSettings/registry.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.d.ts +49 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.js +102 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/contextWindow.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts +9 -2
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js +52 -20
- package/node_modules/@happier-dev/agents/dist/providers/claude/effort.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.d.ts +13 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.js +13 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/flagshipModel.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts +7 -2
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.js +7 -2
- package/node_modules/@happier-dev/agents/dist/providers/claude/index.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.d.ts +9 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.js +13 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/modelDisplayName.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.d.ts +14 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.js +37 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthProfile.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.d.ts +5 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.js +18 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/oauthScopes.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts +7 -1
- package/node_modules/@happier-dev/agents/dist/providers/claude/permissionRequestSource.d.ts.map +1 -1
- 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 -1
- package/node_modules/@happier-dev/agents/dist/providers/codex/index.d.ts +3 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/index.js +3 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/index.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.d.ts +12 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.js +17 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/oauth.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.d.ts +3 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.js +26 -0
- package/node_modules/@happier-dev/agents/dist/providers/codex/readSessionMetadataConnectedServiceBindings.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/index.d.ts +2 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/index.js +2 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/index.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.d.ts +7 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.js +11 -0
- package/node_modules/@happier-dev/agents/dist/providers/gemini/oauth.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/index.d.ts +2 -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 +2 -0
- package/node_modules/@happier-dev/agents/dist/providers/index.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/pi/thinking.d.ts +3 -3
- package/node_modules/@happier-dev/agents/dist/providers/pi/thinking.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts +24 -0
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js +121 -15
- package/node_modules/@happier-dev/agents/dist/providers/providerCliRuntime.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.d.ts +3 -0
- package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.js +9 -0
- package/node_modules/@happier-dev/agents/dist/providers/readSessionMetadataConnectedServiceBindings.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts +26 -0
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js +52 -10
- package/node_modules/@happier-dev/agents/dist/resolveAgentIdFromSessionMetadata.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.d.ts +16 -0
- package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.js +120 -0
- package/node_modules/@happier-dev/agents/dist/runtime/agentStateRequestCoverage.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.d.ts +82 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.js +18 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.d.ts +66 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.js +2 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/inputInjection.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtimeInput.d.ts +5 -0
- package/node_modules/@happier-dev/agents/dist/runtimeInput.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtimeInput.js +16 -0
- package/node_modules/@happier-dev/agents/dist/runtimeInput.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/runtimeKinds.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/runtimeKinds.js +2 -0
- package/node_modules/@happier-dev/agents/dist/runtimeKinds.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts +20 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js +13 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/agentRuntimeDescriptor.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts +6 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js +12 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/codexRuntimeDescriptorExtra.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.d.ts +79 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.js +180 -10
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadata.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts +9 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js +16 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/metadataKeys.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.d.ts +10 -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 +66 -10
- package/node_modules/@happier-dev/agents/dist/sessionControls/publish.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js +7 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/sessionCapabilities.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts +14 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js +43 -0
- package/node_modules/@happier-dev/agents/dist/sessionControls/vendorResumePolicy.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts +3 -0
- package/node_modules/@happier-dev/agents/dist/sessionModes.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessionModes.js +14 -0
- package/node_modules/@happier-dev/agents/dist/sessionModes.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.d.ts +262 -4
- 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 +1619 -45
- package/node_modules/@happier-dev/agents/dist/sessions/replay/happierReplayPrompt.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.d.ts +66 -0
- package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.d.ts.map +1 -0
- package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.js +194 -0
- package/node_modules/@happier-dev/agents/dist/sessions/state/projectCurrentAgentSessionView.js.map +1 -0
- package/node_modules/@happier-dev/agents/dist/types.d.ts +63 -4
- package/node_modules/@happier-dev/agents/dist/types.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/types.js +2 -2
- package/node_modules/@happier-dev/agents/dist/types.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/cliDistBuildManifest.cjs +708 -0
- package/node_modules/@happier-dev/cli-common/cliDistBuildManifest.d.cts +94 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts +4 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js +161 -71
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildCliBinaryArtifactPayload.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts +6 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js +58 -3
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts +7 -3
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js +83 -9
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.d.ts +10 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.js +13 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/compilePrismaMigrateBinary.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts +9 -6
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js +63 -9
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.js +45 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/finalizeRuntimeArtifactPayload.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js +2 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.d.ts +8 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.js +16 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/refreshCliBinaryArtifactRuntimeAssetBuildManifest.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.d.ts +4 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.js +33 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverBuildDbProviders.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts +11 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js +222 -12
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/serverSidecars.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.d.ts +6 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.js +48 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/shouldReuseCliDistSnapshot.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts +3 -0
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js +7 -97
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/withCliDistBuildLock.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts +31 -31
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/componentCatalog.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.d.ts +9 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.js +224 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.d.ts +20 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.js +46 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/defaultReleaseChannelState.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js +16 -28
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/extractReleasePayloadRootFromArchive.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts +11 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js +8 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js +7 -7
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installLayout.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js +156 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/installVersionedPayload.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js +13 -3
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/promoteVersionedPayload.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js +38 -4
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/pruneRetainedVersions.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js +64 -23
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts +15 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js +829 -76
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntimeInstall.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.d.ts +14 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.js +29 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveDesiredShimTargets.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts +32 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js +21 -4
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveInstalledComponentPaths.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.d.ts +34 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.js +49 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveJunctionFreeCurrentPath.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.d.ts +29 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.js +177 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveManagedCliReleaseChannel.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.d.ts +39 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.js +112 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/resolveNonCollidingRelayPort.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/runtimeKinds.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts +53 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js +284 -41
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts +36 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js +113 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js +23 -10
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledFirstPartyShims.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js +66 -6
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/syncInstalledPayloadPointer.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.d.ts +10 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.js +61 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/uiDeploymentIdentity.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts +12 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js +24 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/versionMarkers.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.d.ts +35 -0
- package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.js +222 -0
- package/node_modules/@happier-dev/cli-common/dist/fs/windowsProtectedAcl.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/links/index.d.ts +6 -0
- 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 +30 -15
- package/node_modules/@happier-dev/cli-common/dist/links/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts +3 -0
- package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/index.js +3 -0
- package/node_modules/@happier-dev/cli-common/dist/output/index.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/planet.d.ts +47 -0
- package/node_modules/@happier-dev/cli-common/dist/output/planet.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/planet.js +183 -0
- package/node_modules/@happier-dev/cli-common/dist/output/planet.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts +30 -0
- package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/progress.js +200 -0
- package/node_modules/@happier-dev/cli-common/dist/output/progress.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.js +2 -0
- package/node_modules/@happier-dev/cli-common/dist/path/expandHomeDirPath.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/path/pathShape.d.ts +5 -0
- package/node_modules/@happier-dev/cli-common/dist/path/pathShape.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/path/pathShape.js +31 -0
- package/node_modules/@happier-dev/cli-common/dist/path/pathShape.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/commandExists.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js +12 -6
- package/node_modules/@happier-dev/cli-common/dist/process/commandExists.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/process/index.js +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.d.ts +9 -0
- package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.js +64 -0
- package/node_modules/@happier-dev/cli-common/dist/process/runCommandStreaming.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js +35 -7
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js +42 -20
- package/node_modules/@happier-dev/cli-common/dist/providers/downloadGitHubReleaseAsset.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts +12 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js +86 -16
- package/node_modules/@happier-dev/cli-common/dist/providers/extractGitHubReleaseAsset.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts +3 -0
- package/node_modules/@happier-dev/cli-common/dist/providers/install.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/install.js +551 -78
- package/node_modules/@happier-dev/cli-common/dist/providers/install.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js +4 -3
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js +34 -3
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/nodeRelease.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js +37 -12
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts +3 -3
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js +109 -38
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js +10 -5
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.d.ts +8 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.js +40 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/buildRelayRuntimeHealthProbeCommand.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts +3 -2
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js +1413 -373
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts +13 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js +45 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/service/launchd.d.ts +1 -0
- 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 +4 -0
- 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 +30 -0
- 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 +197 -24
- package/node_modules/@happier-dev/cli-common/dist/service/manager.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/path.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/systemd.d.ts +2 -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 +7 -1
- package/node_modules/@happier-dev/cli-common/dist/service/systemd.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/windows.d.ts +49 -0
- package/node_modules/@happier-dev/cli-common/dist/service/windows.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/windows.js +194 -5
- package/node_modules/@happier-dev/cli-common/dist/service/windows.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.d.ts +7 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.js +41 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadArchive.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.d.ts +5 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.js +51 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/createScpReadyPayloadCopy.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js +104 -61
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.d.ts +2 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.js +13 -0
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/ssh/scpRemotePath.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js +20 -2
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts +2 -2
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js +2 -2
- package/node_modules/@happier-dev/cli-common/dist/tailscale/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/installStrategy.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts +15 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js +50 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts +29 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js +42 -0
- package/node_modules/@happier-dev/cli-common/dist/tailscale/statusSnapshot.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts +2 -2
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.d.ts +16 -1
- 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 +113 -24
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/expandHomeDirPath.cjs +41 -0
- package/node_modules/@happier-dev/cli-common/expandHomeDirPath.d.cts +10 -0
- package/node_modules/@happier-dev/cli-common/jsonOwnerBuildLockState.cjs +54 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/license +9 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/package.json +83 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/readme.md +297 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/index.d.ts +325 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/index.js +225 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/utilities.js +33 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/node_modules/@happier-dev/cli-common/package.json +60 -1
- package/node_modules/@happier-dev/cli-common/processInstance.d.mts +10 -0
- package/node_modules/@happier-dev/cli-common/processInstance.mjs +67 -0
- package/node_modules/@happier-dev/cli-common/runtimeImportProbePolicy.d.mts +1 -0
- package/node_modules/@happier-dev/cli-common/runtimeImportProbePolicy.mjs +5 -0
- package/node_modules/@happier-dev/cli-common/workspaceBundleLock.d.mts +39 -0
- package/node_modules/@happier-dev/cli-common/workspaceBundleLock.mjs +380 -0
- package/node_modules/@happier-dev/cli-common/workspaceLockLease.d.mts +21 -0
- package/node_modules/@happier-dev/cli-common/workspaceLockLease.mjs +57 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.d.ts.map +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js +47 -9
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedConnectionSupervisor.js.map +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.d.ts.map +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js +33 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/createManagedEndpointSupervisor.js.map +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionEvents.js.map +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts +8 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedConnectionTypes.d.ts.map +1 -1
- package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts +3 -0
- package/node_modules/@happier-dev/connection-supervisor/dist/managedEndpointSupervisorTypes.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts +443 -213
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js +21 -3
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMode.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts +102 -4
- package/node_modules/@happier-dev/protocol/dist/account/profile.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/profile.js +19 -2
- package/node_modules/@happier-dev/protocol/dist/account/profile.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts +254 -41
- 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 +183 -18
- 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 +3 -576
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsApiV2.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsPersistedObject.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts +1 -192
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js +2 -2
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettingsStoredContentEnvelope.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.d.ts +79 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.js +80 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/connectedServicesSettings.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 +41 -14
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js +23 -2
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/acpCatalog/settingsV1.d.ts +29 -29
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.d.ts +26 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.js +24 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalMetadata.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts +15 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionApprovalPolicy.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionCatalog.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts +269 -17
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js +1301 -134
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts +64 -44
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionIds.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js +13 -4
- package/node_modules/@happier-dev/protocol/dist/actions/actionInputVoiceGuidance.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.d.ts +28 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.js +77 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionOptionSources.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts +73 -35
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js +24 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSettings.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts +487 -65
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js +1390 -138
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.d.ts +24 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.js +139 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionSurfaceAvailability.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.d.ts +14 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.js +46 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionToolExposure.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/actionUiPlacements.d.ts +5 -5
- package/node_modules/@happier-dev/protocol/dist/actions/actionUiPlacements.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.d.ts +11 -0
- package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/actions/executionRunActionPermissionMode.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/index.d.ts +8 -3
- 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/operations/actionOperationDeclarationV1.d.ts +11 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.js +9 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationDeclarationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.d.ts +299 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.js +180 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/actionOperationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/index.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/index.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/actions/operations/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts +37 -0
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js +133 -0
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js +5 -5
- package/node_modules/@happier-dev/protocol/dist/actions/sessionModeIds.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.d.ts +37 -0
- package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.js +80 -0
- package/node_modules/@happier-dev/protocol/dist/actions/sessionSpawnConfigOptions.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.js +68 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.js +100 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.d.ts +94 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.js +125 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRecordV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.d.ts +40 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.js +94 -0
- package/node_modules/@happier-dev/protocol/dist/activity/backgroundTask/backgroundTaskRedaction.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.js +32 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.js +120 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts +10 -2
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/activity/webhookPayload.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts +105 -53
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js +64 -0
- package/node_modules/@happier-dev/protocol/dist/approvals/approvalRequestV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/auth/errors.d.ts +15 -14
- package/node_modules/@happier-dev/protocol/dist/auth/errors.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/auth/errors.js +1 -0
- package/node_modules/@happier-dev/protocol/dist/auth/errors.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.d.ts +52 -0
- package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.js +13 -0
- package/node_modules/@happier-dev/protocol/dist/backendSurface/declarationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.js +406 -10
- package/node_modules/@happier-dev/protocol/dist/bugReports/redaction.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/changes.d.ts +11 -29
- package/node_modules/@happier-dev/protocol/dist/changes.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/changes.js +6 -1
- package/node_modules/@happier-dev/protocol/dist/changes.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/checklists.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/checklists.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js +46 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.d.ts +36 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.js +19 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/upgradeRequiredV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.d.ts +35 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.js +41 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/versionEndpointV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/common/asyncTtlCache.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/common/probedResourceCache.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.d.ts +36 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.js +36 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts +525 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js +310 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.js +25 -1
- package/node_modules/@happier-dev/protocol/dist/connect/buildConnectedServiceCredentialRecord.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.js +40 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceAuthGroupMemberRuntimeStatePolicy.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.d.ts +74 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.js +75 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceBindings.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.d.ts +0 -5
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.js +0 -8
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCipher.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.js +19 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceCredentialBinding.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts +25 -15
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js +10 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceErrors.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.d.ts +43 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.js +53 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceLimitCategory.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts +1371 -27
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js +543 -13
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.d.ts +184 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.js +142 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceUxDiagnostics.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.d.ts +61 -0
- package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.js +148 -0
- package/node_modules/@happier-dev/protocol/dist/connect/normalizeConnectedServiceSelectionInput.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js +22 -0
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.d.ts +2 -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 +19 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/accountScopedCipher.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.d.ts +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.js +34 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/base64.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/canonicalDigest.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.d.ts +93 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.js +99 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/cryptoGoldenVectors.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.js +8 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareCapabilityUrl.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.js +34 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/publicShareEncryptedDataKeyEnvelopeV0.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.d.ts +18 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.js +85 -0
- package/node_modules/@happier-dev/protocol/dist/crypto/terminalProvisioningV2.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.d.ts +52 -0
- package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.js +34 -0
- package/node_modules/@happier-dev/protocol/dist/daemon/serverWorkStatus.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts +51 -12
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js +4 -1
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts +47 -26
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js +26 -14
- package/node_modules/@happier-dev/protocol/dist/daemonTerminal.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts +352 -0
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js +159 -0
- package/node_modules/@happier-dev/protocol/dist/diagnostics/doctorSnapshot.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts +209 -28
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js +94 -0
- package/node_modules/@happier-dev/protocol/dist/directSessions/daemonRpcV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.d.ts +35 -0
- package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.js +157 -0
- package/node_modules/@happier-dev/protocol/dist/directSessions/linkedSessionMetadata.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/index.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/index.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts +1076 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js +169 -0
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/e2e/providerScenarios.d.ts +7 -7
- package/node_modules/@happier-dev/protocol/dist/e2e/providerSpec.d.ts +4 -4
- package/node_modules/@happier-dev/protocol/dist/ephemeralTasks.d.ts +4 -4
- package/node_modules/@happier-dev/protocol/dist/executionRunListRequest.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts +62 -12
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js +51 -3
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts +136 -30
- package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.js +29 -2
- package/node_modules/@happier-dev/protocol/dist/executionRuns.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts +300 -168
- package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.js +140 -0
- package/node_modules/@happier-dev/protocol/dist/features/catalog.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts +93 -71
- 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.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/authCapabilities.d.ts +5 -5
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/bugReportsCapabilities.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/capabilitiesSchema.d.ts +70 -5
- 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 +10 -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/connectedServicesCapabilities.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.js +18 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/connectedServicesCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/encryptionCapabilities.d.ts +4 -4
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.d.ts +84 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.js +56 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/petsCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.js +18 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverIdentityCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/serverRetentionCapabilities.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.d.ts +50 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.js +35 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sessionCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.d.ts +16 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.js +16 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/capabilities/sharingCapabilities.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 +44 -2
- 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 +112 -5
- 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 +5 -0
- package/node_modules/@happier-dev/protocol/dist/features.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features.js +5 -0
- package/node_modules/@happier-dev/protocol/dist/features.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/index.d.ts +119 -36
- package/node_modules/@happier-dev/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/index.js +117 -35
- package/node_modules/@happier-dev/protocol/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/installables.d.ts +43 -5
- package/node_modules/@happier-dev/protocol/dist/installables.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/installables.js +29 -2
- package/node_modules/@happier-dev/protocol/dist/installables.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js +3 -1
- package/node_modules/@happier-dev/protocol/dist/llmTasks/llmTaskRunnerConfigV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/machineFileBrowser.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.js +45 -0
- package/node_modules/@happier-dev/protocol/dist/machineHost/normalizeMachineHost.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.js +18 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/machineLocality.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.js +73 -0
- package/node_modules/@happier-dev/protocol/dist/machineIdentity/normalizeMachineHomeDir.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.d.ts +96 -0
- package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.js +107 -0
- package/node_modules/@happier-dev/protocol/dist/machineOwnership/daemonOwnership.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js +9 -2
- package/node_modules/@happier-dev/protocol/dist/machineTransfer/transferStream.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.d.ts +57 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.js +88 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/canonicalMachineId.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.d.ts +42 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.js +145 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/installationIdentity.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.d.ts +14 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/machines/identity/machineReplacement.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/index.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/machines/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/index.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/machines/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.d.ts +21 -0
- package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.js +23 -0
- package/node_modules/@happier-dev/protocol/dist/machines/metadataUpdate.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts +30 -24
- package/node_modules/@happier-dev/protocol/dist/mcpServers/daemonRpcV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts +38 -36
- package/node_modules/@happier-dev/protocol/dist/mcpServers/previewV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts +25 -2
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js +30 -0
- package/node_modules/@happier-dev/protocol/dist/mcpServers/sessionSelectionV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/mcpServers/settingsV1.d.ts +3 -3
- package/node_modules/@happier-dev/protocol/dist/memory/memorySearch.d.ts +8 -8
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts +58 -12
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js +46 -5
- package/node_modules/@happier-dev/protocol/dist/memory/memorySettings.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts +101 -2
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js +53 -0
- package/node_modules/@happier-dev/protocol/dist/memory/memoryStatus.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/mentionRefV1.d.ts +107 -0
- package/node_modules/@happier-dev/protocol/dist/mentionRefV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/mentionRefV1.js +191 -0
- package/node_modules/@happier-dev/protocol/dist/mentionRefV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.d.ts +258 -0
- package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.js +131 -0
- package/node_modules/@happier-dev/protocol/dist/pets/accountLibrary.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.d.ts +52 -0
- package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.js +45 -0
- package/node_modules/@happier-dev/protocol/dist/pets/assetFormats.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.d.ts +13 -0
- package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.js +51 -0
- package/node_modules/@happier-dev/protocol/dist/pets/atlasPixelInspection.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/constants.d.ts +85 -0
- package/node_modules/@happier-dev/protocol/dist/pets/constants.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/constants.js +59 -0
- package/node_modules/@happier-dev/protocol/dist/pets/constants.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.d.ts +610 -0
- package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.js +265 -0
- package/node_modules/@happier-dev/protocol/dist/pets/daemonRpc.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/index.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/pets/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/index.js +8 -0
- package/node_modules/@happier-dev/protocol/dist/pets/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/manifest.d.ts +20 -0
- package/node_modules/@happier-dev/protocol/dist/pets/manifest.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/manifest.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/pets/manifest.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/source.d.ts +79 -0
- package/node_modules/@happier-dev/protocol/dist/pets/source.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/pets/source.js +62 -0
- package/node_modules/@happier-dev/protocol/dist/pets/source.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts +22 -8
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js +5 -0
- package/node_modules/@happier-dev/protocol/dist/profiles/backendProfileSchema.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptAssetsV1.d.ts +41 -41
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptBundleSchemas.d.ts +3 -3
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptDocV2.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptExternalLinksV1.d.ts +8 -8
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptInvocationsV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptPlacementV1.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptRegistriesV1.d.ts +18 -18
- package/node_modules/@happier-dev/protocol/dist/promptLibrary/promptStacksV1.d.ts +18 -18
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js +8 -3
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/changeTitleInstructionV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.d.ts +54 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.js +67 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/codingPromptBehaviorV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js +34 -44
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js +28 -4
- package/node_modules/@happier-dev/protocol/dist/prompts/systemPromptBaseV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts +3 -2
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/agentProviderIdsV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js +60 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/builtInBackendProfiles.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/claude/index.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/index.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/memoryDefaults.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sdkSkills.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.d.ts +100 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.js +301 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/sessionTasks.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.d.ts +37 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.js +60 -0
- package/node_modules/@happier-dev/protocol/dist/providers/claude/slashCommands.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.js +11 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerCapabilities.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.d.ts +35 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.js +74 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerGoal.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPermissions.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.d.ts +15 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.js +48 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerPlugin.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.d.ts +65 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.js +43 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/appServerTurnInput.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/codex/backendMode.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/builtInBackendProfiles.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/codex/index.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/index.js +7 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/providers/codex/installables.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js +4 -2
- package/node_modules/@happier-dev/protocol/dist/providers/gemini/builtInBackendProfiles.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/providers/github/installables.d.ts +5 -0
- package/node_modules/@happier-dev/protocol/dist/providers/github/installables.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/github/installables.js +5 -0
- package/node_modules/@happier-dev/protocol/dist/providers/github/installables.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/kiro/acpCatalog.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.d.ts +11 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.js +26 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/appSkills.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.js +58 -0
- package/node_modules/@happier-dev/protocol/dist/providers/opencode/sessionTodo.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts +8 -8
- package/node_modules/@happier-dev/protocol/dist/push/pushNotificationActions.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.d.ts +48 -0
- package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.js +60 -0
- package/node_modules/@happier-dev/protocol/dist/replaySeedBudget.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.d.ts +43 -0
- package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.js +17 -0
- package/node_modules/@happier-dev/protocol/dist/retention/serverRetentionPolicyV2.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewFinding.d.ts +10 -10
- package/node_modules/@happier-dev/protocol/dist/reviews/ReviewQuestion.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/reviews/reviewStart.d.ts +10 -1
- 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 +231 -126
- package/node_modules/@happier-dev/protocol/dist/rpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/rpc.js +168 -0
- package/node_modules/@happier-dev/protocol/dist/rpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts +16 -0
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.js +44 -0
- package/node_modules/@happier-dev/protocol/dist/rpcErrors.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scm.d.ts +561 -173
- package/node_modules/@happier-dev/protocol/dist/scm.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scm.js +235 -45
- package/node_modules/@happier-dev/protocol/dist/scm.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts +112 -37
- package/node_modules/@happier-dev/protocol/dist/scmBranches.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmBranches.js +15 -1
- package/node_modules/@happier-dev/protocol/dist/scmBranches.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js +38 -0
- package/node_modules/@happier-dev/protocol/dist/scmCapabilities.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.d.ts +43 -0
- package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.js +42 -0
- package/node_modules/@happier-dev/protocol/dist/scmErrorCodes.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmPullRequests.d.ts +594 -0
- package/node_modules/@happier-dev/protocol/dist/scmPullRequests.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmPullRequests.js +192 -0
- package/node_modules/@happier-dev/protocol/dist/scmPullRequests.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts +884 -0
- package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.js +109 -0
- package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmRequestBase.d.ts +26 -0
- package/node_modules/@happier-dev/protocol/dist/scmRequestBase.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmRequestBase.js +11 -0
- package/node_modules/@happier-dev/protocol/dist/scmRequestBase.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts +60 -45
- package/node_modules/@happier-dev/protocol/dist/scmStash.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.d.ts +52 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.js +85 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktreeName.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts +49 -37
- package/node_modules/@happier-dev/protocol/dist/scmWorktrees.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sentFrom.d.ts +10 -10
- package/node_modules/@happier-dev/protocol/dist/sentFrom.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts +22 -18
- package/node_modules/@happier-dev/protocol/dist/serverControl/contract.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.d.ts +36 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.js +65 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/loopbackHostname.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts +21 -1
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js +26 -0
- package/node_modules/@happier-dev/protocol/dist/serverUrls/serverUrlComparableKey.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/session/attachMetadataIdentityPolicy.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.d.ts +74 -0
- package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.js +66 -0
- package/node_modules/@happier-dev/protocol/dist/sessionActivityHeadlineOrdering.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.d.ts +14 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.js +29 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromExecutionRunStatus.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.d.ts +34 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.js +54 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromSubagentStatus.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.js +30 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowAgentStatus.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.js +33 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/fromWorkflowRunStatus.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.d.ts +5 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.js +5 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/adapters/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.d.ts +71 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.js +119 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryId.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.d.ts +81 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.js +143 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityEntryV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.d.ts +41 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.js +77 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineBuild.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.d.ts +115 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.js +113 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityHeadlineV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.d.ts +32 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.js +31 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityKindV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.d.ts +100 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.js +129 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityStatusV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.d.ts +25 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.js +46 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/agentActivityToneV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.js +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.d.ts +33 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.js +38 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentActivity/workflowAgentSidechainId.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.d.ts +409 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.js +457 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransition.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.d.ts +110 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.js +184 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionDivider.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.contract.test-d.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.d.ts +155 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.js +54 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionEffectStage.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.d.ts +808 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.js +577 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAgentTransitionVectors.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts +12 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/buildFieldArtifacts.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/contextKinds.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts +537 -330
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js +111 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldCatalog.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts +6 -4
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/fieldDefinition.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts +757 -440
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js +5 -1
- package/node_modules/@happier-dev/protocol/dist/sessionAuthoring/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js +90 -3
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/reconcileWithScmSnapshot.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionChanges/schemas.d.ts +76 -76
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts +8 -8
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js +3 -2
- package/node_modules/@happier-dev/protocol/dist/sessionContinueWithReplay.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts +2902 -374
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js +193 -10
- 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 +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffRpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts +401 -91
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js +66 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffSchemas.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts +32 -31
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffStatus.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts +10 -5
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/handoff/handoffTypes.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.d.ts +32 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.js +23 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.d.ts +30 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.js +42 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingInputInterruptAndRunV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.d.ts +49 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.js +35 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionPendingQueueWakeV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.d.ts +48 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.js +49 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionTerminalComposerClearV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.d.ts +236 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.js +318 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/sessionUsageLimitRecoveryOperationResultV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts +270 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.js +27 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.d.ts +63 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.js +52 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderSettings.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.d.ts +3 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts +36 -15
- package/node_modules/@happier-dev/protocol/dist/sessionFork.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionFork.js +42 -12
- package/node_modules/@happier-dev/protocol/dist/sessionFork.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.d.ts +25 -0
- package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.js +27 -0
- package/node_modules/@happier-dev/protocol/dist/sessionForkPoint.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.d.ts +304 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.js +117 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMedia/sessionMediaSchemas.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.d.ts +104 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.js +72 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/acceptedPendingSettlementV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.d.ts +30 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.js +33 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryBlockedReason.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.d.ts +44 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.js +115 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingDeliveryStatusV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingLocalId.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.js +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingProviderAction.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.js +11 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/pendingRequestedActionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.js +6 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageDeliveryResolutionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.d.ts +20 -14
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.js +24 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageMeta.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/sessionMessageRole.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.d.ts +18 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.js +51 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/specialCommands.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.d.ts +81 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.js +62 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptObservationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts +1103 -22
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js +621 -17
- package/node_modules/@happier-dev/protocol/dist/sessionMessages/transcriptRawRecordV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts +14 -3
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js +22 -3
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/agentRuntimeDescriptorV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.d.ts +19 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.js +56 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/connectedServiceMaterializationIdentityV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/metadataOverridesV1.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.js +60 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerAccountUsageRefsV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.d.ts +25 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/providerSessionInfoV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.d.ts +25 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.js +37 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionContinuationRecoveryIdentityV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.d.ts +31 -5
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.js +64 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionPermissionModes.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.d.ts +159 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.js +75 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionUsageLimitRecoveryV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.d.ts +37 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.js +48 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/sessionWorkspaceLocationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts +57 -14
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js +47 -4
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/terminalMetadata.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsRemoteSessionLaunchMode.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.d.ts +5 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.js +16 -0
- package/node_modules/@happier-dev/protocol/dist/sessionMetadata/windowsTerminalWindowName.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts +21 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js +27 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.js +29 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/content.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.d.ts +30 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.js +33 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/folders.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.js +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.d.ts +325 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.js +184 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/mutations.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.d.ts +61 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.js +29 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/ordering.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/pins.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.d.ts +208 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.js +46 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/snapshot.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.d.ts +20 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/standings.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.d.ts +23 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.js +25 -0
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/tags.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.d.ts +352 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.js +207 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/contract.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRunner/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.d.ts +11 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.js +14 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/admission.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.d.ts +4 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.d.ts +49 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.js +125 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/projection.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.d.ts +113 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.js +79 -0
- package/node_modules/@happier-dev/protocol/dist/sessionRuntimeActivity/transport.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.d.ts +47 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.js +44 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSpawnSourceContextV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionStop.d.ts +45 -0
- package/node_modules/@happier-dev/protocol/dist/sessionStop.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionStop.js +27 -0
- package/node_modules/@happier-dev/protocol/dist/sessionStop.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.d.ts +36 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.js +40 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordKinds.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.d.ts +303 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.js +28 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/activity/activitySystemRecordPayload.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.js +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordKinds.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.d.ts +69 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.js +28 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/memory/memorySystemRecordPayload.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.d.ts +28 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.js +20 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecord.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.d.ts +150 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.js +69 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordCatalog.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordContent.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.d.ts +10 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.js +9 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordKind.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.js +9 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordNamespace.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.d.ts +114 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.js +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordPayloads.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.d.ts +174 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.js +68 -0
- package/node_modules/@happier-dev/protocol/dist/sessionSystemRecords/sessionSystemRecordRoutes.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts +80 -3
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js +292 -2
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.js +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.js +16 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateBounds.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.js +25 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateItemIds.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.d.ts +18 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.js +87 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateMerge.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.d.ts +21 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.js +91 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStatePrimary.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts +1600 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js +396 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.d.ts +165 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.js +124 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.d.ts +33 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.js +73 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/skillCatalogItemIdentityV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.js +6 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/index.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.d.ts +44 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.js +123 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineBuild.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.d.ts +101 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.js +49 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowActivityHeadlineV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.d.ts +17 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.js +29 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowPhases.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.d.ts +20 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.js +101 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunRecordRevision.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.d.ts +159 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.js +125 -0
- package/node_modules/@happier-dev/protocol/dist/sessionWorkflowActivity/sessionWorkflowRunSnapshotV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.d.ts +280 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.js +125 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/control/runtimeIssueV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.d.ts +336 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.js +138 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnMutationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.d.ts +224 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.js +96 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.d.ts +188 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.js +24 -0
- package/node_modules/@happier-dev/protocol/dist/sessions/turns/sessionTurnsProjectionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/social/friends.d.ts +16 -16
- package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts +36 -8
- package/node_modules/@happier-dev/protocol/dist/socketRpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/socketRpc.js +13 -0
- package/node_modules/@happier-dev/protocol/dist/socketRpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts +92 -14
- package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.js +234 -0
- package/node_modules/@happier-dev/protocol/dist/spawnSession.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.d.ts +66 -0
- package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.js +131 -0
- package/node_modules/@happier-dev/protocol/dist/spawnSessionNonce.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.d.ts +20 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV1.d.ts +8 -8
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFindingsV2.d.ts +7 -7
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewFollowUpV1.d.ts +6 -6
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/reviewPublishRequestV1.d.ts +5 -5
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/voiceAgentTurnV1.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/systemTasks/spec.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/systemTasks/tailscaleSecureAccessTaskContract.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.d.ts +7 -0
- package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.js +32 -0
- package/node_modules/@happier-dev/protocol/dist/testing/accountScopedCipherFixtures.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js +95 -39
- package/node_modules/@happier-dev/protocol/dist/tools/happierToolsShellBridge.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.d.ts +99 -0
- package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.js +246 -0
- package/node_modules/@happier-dev/protocol/dist/tools/structuredQuestionAnswersV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts +11 -11
- package/node_modules/@happier-dev/protocol/dist/tools/v2/aliases.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/index.d.ts +2 -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 +2 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/meta.d.ts +5 -5
- package/node_modules/@happier-dev/protocol/dist/tools/v2/names.d.ts +45 -39
- 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 +9 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/names.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.d.ts +9 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.js +343 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/patch.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/tools/v2/schemas.d.ts +284 -100
- 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 +62 -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 +1 -1
- package/node_modules/@happier-dev/protocol/dist/tools/v2/subAgentFamilies.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/updates.d.ts +848 -24
- package/node_modules/@happier-dev/protocol/dist/updates.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/updates.js +150 -1
- package/node_modules/@happier-dev/protocol/dist/updates.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts +2 -2
- package/node_modules/@happier-dev/protocol/dist/voiceActions.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.d.ts +310 -0
- package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.js +108 -0
- package/node_modules/@happier-dev/protocol/dist/workspace/anchors/v1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.d.ts +39 -0
- package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.js +33 -0
- package/node_modules/@happier-dev/protocol/dist/workspace/favicon/v1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/workspaces/manifestSchema.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/package.json +8 -0
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts +38 -0
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js +1123 -0
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/assets.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/github.d.ts +2 -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 +17 -15
- package/node_modules/@happier-dev/release-runtime/dist/github.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.d.ts +1 -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 +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts +3 -2
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js +5 -0
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/LICENSE.md +55 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/README.md +1233 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js +88 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts +53 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js +348 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts +20 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js +64 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js +4 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js +153 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js +52 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js +187 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts +604 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js +66 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js +544 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts +92 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js +655 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js +182 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js +136 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js +227 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts +16 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js +70 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js +932 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js +33 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js +31 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js +14 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js +698 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js +76 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js +14 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts +53 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js +311 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts +20 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js +20 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js +4 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js.map +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js +94 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js +113 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js +48 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js +179 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts +604 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js +54 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts +105 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js +502 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts +92 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js +651 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js +166 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js +178 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js +132 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js +221 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts +16 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js +65 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts +101 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js +891 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js +30 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js +27 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js +656 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/README.md +71 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/README.md +825 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js +1018 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/package.json +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/package.json +72 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/LICENSE.md +63 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/README.md +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js +93 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js +85 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/package.json +69 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/README.md +825 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js +1018 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/package.json +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/LICENSE +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/README.md +64 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts +99 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js +363 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/README.md +825 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js +1018 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/package.json +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/package.json +80 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/LICENSE.md +63 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/README.md +205 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts +39 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/package.json +68 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/package.json +298 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/README.md +72 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.js +273 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.min.js +6 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/package.json +55 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/types.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/LICENSE +21 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/README.md +658 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/index.js +796 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/LICENSE +19 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/README.md +47 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/index.js +111 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/package.json +39 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.npmignore +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.travis.yml +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/CHANGELOG.md +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/LICENSE +21 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/README.md +199 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/index.js +296 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/LICENSE +23 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/README.md +41 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/index.js +55 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/package.json +18 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/test.js +137 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/package.json +36 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/test/test.js +350 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/package.json +40 -0
- package/node_modules/@happier-dev/release-runtime/package.json +8 -3
- package/node_modules/@happier-dev/release-runtime/releaseRings.cjs +204 -0
- package/package.json +5 -3
- package/scripts/auth.mjs +219 -230
- package/scripts/auth_copy_from_runCapture.integration.test.mjs +39 -20
- package/scripts/auth_login_force_cleans_server_scoped_credentials.integration.test.mjs +41 -8
- package/scripts/auth_login_guided_server_no_expo.test.mjs +543 -25
- package/scripts/auth_login_print_includes_configure_links.test.mjs +23 -4
- package/scripts/auth_login_respects_pinned_stack_port.test.mjs +68 -17
- package/scripts/build/build_server_artifact.mjs +1 -0
- package/scripts/build/collect_build_source_metadata.mjs +6 -5
- package/scripts/build/collect_build_source_metadata.test.mjs +21 -0
- package/scripts/build/runtime_build_lock.mjs +3 -1
- package/scripts/build/runtime_build_lock.test.mjs +18 -0
- package/scripts/build.mjs +8 -0
- package/scripts/bundleWorkspaceDeps.mjs +427 -16
- package/scripts/bundleWorkspaceDeps.test.mjs +419 -11
- package/scripts/claude_hooks.test.mjs +50 -0
- package/scripts/daemon.getDaemonEnv.test.mjs +106 -2
- package/scripts/daemon.mjs +1195 -292
- package/scripts/daemon.status_scope.test.mjs +2 -1
- package/scripts/daemon_dist_guard.test.mjs +2800 -97
- package/scripts/daemon_invalid_auth_reseed_stack_name.integration.test.mjs +64 -2
- package/scripts/daemon_server_scope_commands.test.mjs +158 -49
- package/scripts/daemon_server_scoped_state.test.mjs +59 -12
- package/scripts/daemon_start_verification.integration.test.mjs +856 -65
- package/scripts/daemon_stop_expected_pid.test.mjs +336 -12
- package/scripts/dev.mjs +590 -93
- package/scripts/dev_cli_build_ownership.test.mjs +193 -0
- package/scripts/dev_external_server_flags.test.mjs +165 -7
- package/scripts/dev_preserve_daemon_shutdown.integration.test.mjs +238 -0
- package/scripts/dev_reload_composition.integration.test.mjs +392 -0
- package/scripts/dev_target_placement.test.mjs +97 -0
- package/scripts/dev_targets.mjs +159 -0
- package/scripts/dev_targets_cmd.test.mjs +81 -0
- package/scripts/direct_start_cleanup_dry_run.test.mjs +66 -0
- package/scripts/doctor_runtime_snapshot.test.mjs +3 -2
- package/scripts/eas.mjs +3 -2
- package/scripts/eas_platform_parsing.test.mjs +9 -0
- package/scripts/ghops.test.mjs +483 -6
- package/scripts/happier.mjs +1 -429
- package/scripts/happier_defaults_from_settings.test.mjs +56 -83
- package/scripts/happier_main.mjs +433 -0
- package/scripts/happier_runtime_snapshot.test.mjs +186 -14
- package/scripts/happier_server_url_scope.test.mjs +3 -1
- package/scripts/happier_tsx_fallback.test.mjs +5 -4
- package/scripts/happier_wrapper_bootstrap.test.mjs +208 -0
- package/scripts/hstack_wrapper_bundled_workspace_sync.test.mjs +351 -0
- package/scripts/init_shim_invoked_cwd.test.mjs +10 -2
- package/scripts/lifecycle_authority_inventory.test.mjs +40 -0
- package/scripts/lint.mjs +3 -2
- package/scripts/localBundledWorkspacePreflight.test.mjs +330 -0
- package/scripts/migrate.mjs +30 -5
- package/scripts/migrate_effective_db_provider.test.mjs +68 -0
- package/scripts/mobile.mjs +59 -13
- package/scripts/mobile_dev_client.mjs +12 -7
- package/scripts/mobile_dev_client_android_falls_back_to_pipeline_in_test_stub.test.mjs +30 -1
- package/scripts/mobile_dev_client_android_reuse_existing_apk_in_test_stub.test.mjs +62 -1
- package/scripts/mobile_dev_client_android_reuse_falls_back_to_cached_apk_in_test_stub.test.mjs +1 -1
- package/scripts/mobile_dev_client_help_smoke.test.mjs +2 -0
- package/scripts/mobile_memory_profiling_prebuild_patches_podfile_autolinking.test.mjs +94 -0
- package/scripts/mobile_profiling_runtime_uses_simulator_selection.test.mjs +116 -0
- package/scripts/mobile_run_android_passes_port.test.mjs +120 -2
- package/scripts/orchestrated_stack_auth_flow.test.mjs +40 -4
- package/scripts/orchestrated_stack_auth_flow_webapp_url.test.mjs +76 -4
- package/scripts/pack.mjs +53 -8
- package/scripts/pack.test.mjs +113 -2
- package/scripts/pglite_lock.integration.test.mjs +46 -2
- package/scripts/profile_mobile_scenario.mjs +235 -0
- package/scripts/profile_processes.mjs +138 -0
- package/scripts/profiling/ios_xctrace_memory_diagnostics.mjs +91 -0
- package/scripts/profiling/ios_xctrace_memory_diagnostics.test.mjs +72 -0
- package/scripts/profiling/mobile_profile_scenarios.mjs +830 -0
- package/scripts/profiling/mobile_profile_scenarios.test.mjs +379 -0
- package/scripts/profiling/process_profiler.mjs +424 -0
- package/scripts/profiling/process_profiler.test.mjs +214 -0
- package/scripts/provider_projection_owners.test.mjs +29 -0
- package/scripts/provision/linux-ubuntu-provision.sh +38 -0
- package/scripts/provision/linux-ubuntu-provision.test.mjs +21 -1
- package/scripts/release_binary_smoke.integration.test.mjs +24 -12
- package/scripts/remote_cmd.mjs +56 -13
- package/scripts/remote_cmd.test.mjs +84 -1
- package/scripts/repo_local.mjs +82 -130
- package/scripts/repo_local_effective_db_provider.test.mjs +161 -0
- package/scripts/repo_local_wrapper.test.mjs +75 -1
- package/scripts/review_pr.mjs +8 -17
- package/scripts/review_pr.warm_base_deps.test.mjs +8 -1
- package/scripts/review_pr.workspace_cache.test.mjs +16 -0
- package/scripts/root_package_repo_local_scripts.test.mjs +1 -0
- package/scripts/run.mjs +281 -80
- package/scripts/run_effective_db_provider.test.mjs +79 -0
- package/scripts/run_script_with_stack_env.restart_port_reuse.test.mjs +80 -0
- package/scripts/run_source_server_workspace_deps.test.mjs +18 -0
- package/scripts/run_startup_topology_side_effects.test.mjs +196 -0
- package/scripts/runtime/launch/inspectActiveRuntimeSnapshot.mjs +40 -13
- package/scripts/runtime/launch/resolveActiveRuntimeSnapshot.test.mjs +119 -0
- package/scripts/runtime/launch/resolveCliRuntimeLaunchSpec.mjs +51 -0
- package/scripts/runtime/launch/resolveLaunchSpecs.test.mjs +153 -9
- package/scripts/runtime/launch/resolveServerRuntimeLaunchSpec.mjs +61 -4
- package/scripts/runtime/launch/resolveStackRuntimeLaunchContext.mjs +2 -2
- package/scripts/runtime/launch/runServerRuntimeMigration.mjs +116 -0
- package/scripts/runtime/launch/runServerRuntimeMigration.test.mjs +211 -0
- package/scripts/runtime/launch/runtimeProvenanceConsumerInventory.test.mjs +36 -0
- package/scripts/runtime/shared/runtime_mode.mjs +10 -1
- package/scripts/runtime/shared/runtime_mode.test.mjs +22 -0
- package/scripts/self_host/install_companion_cli.mjs +3 -17
- package/scripts/self_host_launchd.real.integration.test.mjs +5 -3
- package/scripts/self_host_runtime.mjs +472 -488
- package/scripts/self_host_runtime.test.mjs +661 -35
- package/scripts/self_host_schtasks.real.integration.test.mjs +2 -1
- package/scripts/self_host_service_e2e_harness.mjs +7 -1
- package/scripts/self_host_systemd.real.integration.test.mjs +31 -5
- package/scripts/self_host_systemd_harness.test.mjs +33 -0
- package/scripts/server_flavor.mjs +39 -17
- package/scripts/server_flavor_provider.test.mjs +126 -0
- package/scripts/service.mjs +76 -85
- package/scripts/service.post_start_diagnostics_scope.test.mjs +97 -0
- package/scripts/service_cleanup_ownership.test.mjs +41 -0
- package/scripts/setup.mjs +26 -1
- package/scripts/setup_dev_child_env.test.mjs +23 -2
- package/scripts/sqlite_snapshot.mjs +86 -0
- package/scripts/sqlite_snapshot.test.mjs +1032 -0
- package/scripts/stack/help_text.mjs +5 -3
- package/scripts/stack/run_script_with_stack_env.mjs +396 -189
- package/scripts/stack/run_script_with_stack_env.test.mjs +368 -0
- package/scripts/stack/stack_daemon_command.mjs +74 -48
- package/scripts/stack/stack_daemon_runtime_provenance.test.mjs +40 -0
- package/scripts/stack/stack_environment.mjs +57 -19
- package/scripts/stack/stack_environment.sanitization.test.mjs +64 -0
- package/scripts/stack/stack_happier_passthrough_command.mjs +21 -1
- package/scripts/stack/stack_info_snapshot.mjs +317 -68
- package/scripts/stack/stack_install_command.mjs +295 -0
- package/scripts/stack/stack_mobile_install_command.mjs +19 -5
- package/scripts/stack/stack_mobile_install_command.test.mjs +44 -0
- package/scripts/stack/stack_stop_command.mjs +12 -4
- package/scripts/stack/stack_stop_command.test.mjs +16 -0
- package/scripts/stack.mjs +244 -94
- package/scripts/stack_archive_cmd.integration.test.mjs +29 -1
- package/scripts/stack_audit_fix_light_env.test.mjs +10 -7
- package/scripts/stack_audit_mysql_provider.test.mjs +194 -0
- package/scripts/stack_background_pinned_stack_json.test.mjs +59 -1
- package/scripts/stack_copy_auth_server_scoped.test.mjs +30 -15
- package/scripts/stack_daemon_cmd.integration.test.mjs +112 -5
- package/scripts/stack_guided_login_inner_invocation.test.mjs +17 -7
- package/scripts/stack_happy_cmd.integration.test.mjs +70 -15
- package/scripts/stack_info_snapshot_running_status.test.mjs +789 -25
- package/scripts/stack_install_command.test.mjs +125 -0
- package/scripts/stack_new_name_normalize_cmd.test.mjs +31 -0
- package/scripts/stack_new_port_policy.test.mjs +128 -0
- package/scripts/stack_owner_death_watchdog.integration.test.mjs +227 -4
- package/scripts/stack_package_scripts.test.mjs +3 -1
- package/scripts/stack_runtime_start.integration.test.mjs +435 -12
- package/scripts/stack_runtime_start_listener_proof.integration.test.mjs +119 -0
- package/scripts/stack_server_flavors_defaults.test.mjs +126 -0
- package/scripts/stack_stop_sweeps_legacy_infra_without_kind.integration.test.mjs +2 -0
- package/scripts/stackless_startup_topology.test.mjs +111 -0
- package/scripts/start_proxy_runtime_state.test.mjs +686 -0
- package/scripts/start_runtime_mode_json.test.mjs +6 -3
- package/scripts/stopStackWithEnv_daemonControlToken.integration.test.mjs +123 -6
- package/scripts/stopStackWithEnv_daemonPidSet.integration.test.mjs +1008 -0
- package/scripts/stopStackWithEnv_home_relative_env_file.integration.test.mjs +94 -0
- package/scripts/stopStackWithEnv_kills_ephemeral_runtime_pids_without_env_markers.integration.test.mjs +346 -8
- package/scripts/stopStackWithEnv_sweeps_repo_local_stack_by_stackName_when_runtime_missing.integration.test.mjs +280 -15
- package/scripts/tauri_dev.mjs +46 -5
- package/scripts/tauri_dev.test.mjs +111 -30
- package/scripts/test_ci.mjs +14 -1
- package/scripts/test_cmd.mjs +4 -3
- package/scripts/test_integration.mjs +13 -2
- package/scripts/testkit/core/env_scope.mjs +5 -1
- package/scripts/testkit/core/expo_command_shims.mjs +29 -0
- package/scripts/testkit/core/minimal_monorepo_layout.mjs +2 -0
- package/scripts/testkit/core/owner_death_watchdog_fixture.mjs +36 -0
- package/scripts/testkit/core/owner_death_watchdog_fixture.test.mjs +43 -0
- package/scripts/testkit/core/runtime_snapshot_layout.mjs +11 -0
- package/scripts/testkit/core/spawn_daemon_like_process.mjs +193 -0
- package/scripts/testkit/core/spawn_daemon_like_process.test.mjs +85 -0
- package/scripts/testkit/core/spawn_test_process.mjs +30 -0
- package/scripts/testkit/core/spawn_test_process.test.mjs +38 -1
- package/scripts/testkit/core/stub_happier_cli_files.mjs +13 -0
- package/scripts/testkit/core/workspace_package_build_owner.mjs +29 -0
- package/scripts/testkit/runtime_snapshot_start_testkit.mjs +128 -31
- package/scripts/testkit/runtime_snapshot_testkit.mjs +3 -0
- package/scripts/testkit/stack_happier_cli_command_testkit.mjs +4 -0
- package/scripts/tools.mjs +20 -1
- package/scripts/tools_profile_processes_help.test.mjs +131 -0
- package/scripts/tui.mjs +245 -280
- package/scripts/tui_restart_delegation.test.mjs +257 -0
- package/scripts/tui_stopStackForTuiExit_no_autosweep.integration.test.mjs +57 -1
- package/scripts/typecheck.mjs +3 -2
- package/scripts/ui_gateway.mjs +2 -2
- package/scripts/ui_gateway.test.mjs +119 -0
- package/scripts/utils/auth/clearStackForceLoginCredentialPaths.mjs +11 -1
- package/scripts/utils/auth/credentials_paths.mjs +110 -36
- package/scripts/utils/auth/credentials_paths.test.mjs +283 -26
- package/scripts/utils/auth/daemon_gate.test.mjs +3 -2
- package/scripts/utils/auth/ensure_active_access_key_valid.mjs +31 -8
- package/scripts/utils/auth/ensure_active_access_key_valid.test.mjs +115 -1
- package/scripts/utils/auth/orchestrated_stack_auth_flow.mjs +34 -3
- package/scripts/utils/auth/stable_scope_id.mjs +11 -0
- package/scripts/utils/auth/stable_scope_id.test.mjs +16 -0
- package/scripts/utils/auth/stack_guided_login.mjs +32 -15
- package/scripts/utils/cli/args.mjs +33 -7
- package/scripts/utils/cli/args.test.mjs +51 -0
- package/scripts/utils/cli/cli.mjs +3 -4
- package/scripts/utils/cli/cliDistIntegrity.mjs +130 -53
- package/scripts/utils/cli/cliDistIntegrity.test.mjs +157 -0
- package/scripts/utils/cli/cli_registry.mjs +107 -11
- package/scripts/utils/cli/prereqs.test.mjs +2 -2
- package/scripts/utils/dev/daemon.mjs +395 -151
- package/scripts/utils/dev/daemonLifecycleReconciler.mjs +98 -0
- package/scripts/utils/dev/daemonLifecycleReconciler.test.mjs +187 -0
- package/scripts/utils/dev/daemon_watch_resilience.test.mjs +817 -166
- package/scripts/utils/dev/devProxy.mjs +310 -0
- package/scripts/utils/dev/devProxy.test.mjs +406 -0
- package/scripts/utils/dev/devProxyLifecycle.mjs +27 -0
- package/scripts/utils/dev/devProxyLifecycle.test.mjs +32 -0
- package/scripts/utils/dev/devProxyRuntime.mjs +96 -0
- package/scripts/utils/dev/devReloadComposition.mjs +50 -0
- package/scripts/utils/dev/devReloadCoordinator.mjs +557 -0
- package/scripts/utils/dev/devReloadCoordinator.test.mjs +1685 -0
- package/scripts/utils/dev/devReloadTargets.mjs +11 -0
- package/scripts/utils/dev/devRuntimeInputPolicy.mjs +31 -0
- package/scripts/utils/dev/devStartupTopology.mjs +131 -0
- package/scripts/utils/dev/devStartupTopology.test.mjs +181 -0
- package/scripts/utils/dev/expo_dev.buildEnv.test.mjs +35 -0
- package/scripts/utils/dev/expo_dev.ensure_workspace_built.test.mjs +169 -3
- package/scripts/utils/dev/expo_dev.mjs +758 -259
- package/scripts/utils/dev/expo_dev.tailscale.test.mjs +415 -0
- package/scripts/utils/dev/expo_dev.test.mjs +72 -1
- package/scripts/utils/dev/expo_dev_crash_supervision.test.mjs +341 -0
- package/scripts/utils/dev/expo_dev_restart_port_reservation.test.mjs +521 -64
- package/scripts/utils/dev/expo_dev_runtime_metadata.test.mjs +142 -4
- package/scripts/utils/dev/expo_dev_supervision.mjs +116 -0
- package/scripts/utils/dev/expo_dev_tailscale.mjs +153 -0
- package/scripts/utils/dev/expo_dev_verbose_logs.test.mjs +24 -3
- package/scripts/utils/dev/reloadPollInterval.mjs +18 -0
- package/scripts/utils/dev/resolveDevServerConnection.mjs +5 -2
- package/scripts/utils/dev/resolveDevServerConnection.test.mjs +20 -3
- package/scripts/utils/dev/server.mjs +2251 -81
- package/scripts/utils/dev/server_watch.exclusive.test.mjs +1986 -0
- package/scripts/utils/dev/server_watch.test.mjs +1254 -0
- package/scripts/utils/dev/tauri_dev.mjs +2 -1
- package/scripts/utils/dev/tauri_dev.test.mjs +23 -18
- package/scripts/utils/dev/watchSignature.mjs +95 -0
- package/scripts/utils/dev_targets/config.mjs +266 -0
- package/scripts/utils/dev_targets/config.test.mjs +224 -0
- package/scripts/utils/dev_targets/doctor.mjs +61 -0
- package/scripts/utils/dev_targets/doctor.test.mjs +67 -0
- package/scripts/utils/dev_targets/mutagen_project.mjs +128 -0
- package/scripts/utils/dev_targets/mutagen_project.test.mjs +122 -0
- package/scripts/utils/dev_targets/remote_commands.mjs +481 -0
- package/scripts/utils/dev_targets/remote_commands.test.mjs +392 -0
- package/scripts/utils/dev_targets/remote_dependency_bootstrap.mjs +103 -0
- package/scripts/utils/dev_targets/remote_dependency_bootstrap.test.mjs +38 -0
- package/scripts/utils/dev_targets/service_placement.mjs +45 -0
- package/scripts/utils/dev_targets/service_placement.test.mjs +61 -0
- package/scripts/utils/dev_targets/supervisor.mjs +864 -0
- package/scripts/utils/dev_targets/supervisor.test.mjs +1387 -0
- package/scripts/utils/env/env_file.mjs +88 -16
- package/scripts/utils/env/env_file.test.mjs +46 -1
- package/scripts/utils/env/env_local.mjs +6 -6
- package/scripts/utils/env/scrub_env.mjs +2 -0
- package/scripts/utils/env/scrub_env.test.mjs +4 -0
- package/scripts/utils/execution_host_adapter.mjs +87 -0
- package/scripts/utils/execution_host_adapter.test.mjs +69 -0
- package/scripts/utils/expo/command.mjs +6 -0
- package/scripts/utils/expo/command_export_max_workers.test.mjs +2 -0
- package/scripts/utils/expo/command_heap_limit_env.test.mjs +87 -25
- package/scripts/utils/expo/command_workspace_deps_built.test.mjs +75 -29
- package/scripts/utils/expo/expo.mjs +340 -14
- package/scripts/utils/expo/expo_state_running.test.mjs +104 -2
- package/scripts/utils/expo/expo_wait_for_metro.test.mjs +187 -0
- package/scripts/utils/expo/metro_ports.mjs +160 -1
- package/scripts/utils/expo/metro_ports.test.mjs +198 -1
- package/scripts/utils/fs/atomic_dir_swap.mjs +44 -31
- package/scripts/utils/fs/atomic_dir_swap.test.mjs +69 -0
- package/scripts/utils/fs/atomic_rename.mjs +33 -0
- package/scripts/utils/fs/json.mjs +5 -4
- package/scripts/utils/fs/json.test.mjs +33 -0
- package/scripts/utils/fs/tail.mjs +4 -0
- package/scripts/utils/fs/tail.test.mjs +32 -0
- package/scripts/utils/mobile/android_generated_build_state.mjs +87 -0
- package/scripts/utils/mobile/config.mjs +14 -0
- package/scripts/utils/mobile/dev_client_install_invocation.android.test.mjs +21 -0
- package/scripts/utils/mobile/dev_client_install_invocation.mjs +39 -2
- package/scripts/utils/mobile/dev_client_install_invocation.test.mjs +34 -0
- package/scripts/utils/mobile/identifiers.mjs +29 -8
- package/scripts/utils/mobile/identifiers.test.mjs +17 -1
- package/scripts/utils/mobile/ios_podfile_autolinking.mjs +74 -0
- package/scripts/utils/mobile/ios_podfile_autolinking.test.mjs +79 -0
- package/scripts/utils/mobile/ios_podfile_properties.mjs +50 -0
- package/scripts/utils/mobile/ios_podfile_properties.test.mjs +88 -0
- package/scripts/utils/mobile/ios_profiling_runtime.mjs +171 -0
- package/scripts/utils/mobile/ios_profiling_runtime.test.mjs +145 -0
- package/scripts/utils/mobile/ios_xcodeproj_patch.mjs +6 -1
- package/scripts/utils/mobile/ios_xcodeproj_patch.test.mjs +41 -0
- package/scripts/utils/mobile/profiling_runtime_mode.mjs +35 -0
- package/scripts/utils/mobile/profiling_runtime_mode.test.mjs +28 -0
- package/scripts/utils/net/ports.mjs +419 -40
- package/scripts/utils/net/ports.test.mjs +639 -1
- package/scripts/utils/net/tcp_forward.mjs +117 -9
- package/scripts/utils/net/tcp_forward.test.mjs +255 -0
- package/scripts/utils/pglite_lock.mjs +84 -3
- package/scripts/utils/proc/cliDistBuildLock.mjs +62 -81
- package/scripts/utils/proc/cliDistBuildLock.test.mjs +400 -0
- package/scripts/utils/proc/cli_runtime_inputs.mjs +109 -0
- package/scripts/utils/proc/command_dependency_admission.test.mjs +54 -0
- package/scripts/utils/proc/dependency_refresh.mjs +263 -0
- package/scripts/utils/proc/dependency_refresh.test.mjs +125 -0
- package/scripts/utils/proc/ensureWorkspacePackagesBuilt.test.mjs +569 -18
- package/scripts/utils/proc/exit_cleanup.mjs +2 -2
- package/scripts/utils/proc/jsonOwnerFileLock.mjs +194 -0
- package/scripts/utils/proc/jsonOwnerFileLock.test.mjs +428 -0
- package/scripts/utils/proc/ownership.mjs +411 -52
- package/scripts/utils/proc/ownership_killProcessGroupOwnedByStack.test.mjs +348 -1
- package/scripts/utils/proc/ownership_listPidsWithEnvNeedles.test.mjs +196 -1
- package/scripts/utils/proc/pids.mjs +11 -6
- package/scripts/utils/proc/pids.test.mjs +29 -0
- package/scripts/utils/proc/pm.mjs +406 -368
- package/scripts/utils/proc/pm_stack_cache_env.test.mjs +1295 -121
- package/scripts/utils/proc/proc.mjs +342 -89
- package/scripts/utils/proc/proc.test.mjs +362 -3
- package/scripts/utils/proc/pruneLogsByCount.mjs +49 -0
- package/scripts/utils/proc/pruneLogsByCount.test.mjs +132 -0
- package/scripts/utils/proc/terminate.mjs +203 -20
- package/scripts/utils/proc/terminate.test.mjs +207 -1
- package/scripts/utils/proc/watch.mjs +139 -19
- package/scripts/utils/proc/watch.test.mjs +230 -0
- package/scripts/utils/proc/workspace_dependencies.mjs +21 -0
- package/scripts/utils/proc/workspace_package_manifests.mjs +108 -0
- package/scripts/utils/remote/install_remote_first_party_component.mjs +112 -43
- package/scripts/utils/remote/install_remote_first_party_component.test.mjs +46 -35
- package/scripts/utils/review/augment_runner_integration.test.mjs +10 -3
- package/scripts/utils/server/apply_runtime_server_sqlite_env.mjs +36 -0
- package/scripts/utils/server/apply_runtime_server_sqlite_env.test.mjs +46 -0
- package/scripts/utils/server/apply_server_preset_env_defaults.mjs +32 -0
- package/scripts/utils/server/apply_server_preset_env_defaults.test.mjs +95 -0
- package/scripts/utils/server/effective_db_provider.mjs +138 -0
- package/scripts/utils/server/effective_db_provider.test.mjs +249 -0
- package/scripts/utils/server/flavor_scripts.mjs +12 -78
- package/scripts/utils/server/flavor_scripts.test.mjs +39 -47
- package/scripts/utils/server/infra/happy_server_infra.mjs +92 -39
- package/scripts/utils/server/infra/happy_server_infra_provider.test.mjs +290 -0
- package/scripts/utils/server/listener_ownership.mjs +488 -0
- package/scripts/utils/server/listener_ownership.test.mjs +473 -0
- package/scripts/utils/server/logging_env.mjs +20 -0
- package/scripts/utils/server/logging_env.test.mjs +29 -0
- package/scripts/utils/server/mobile_api_url.mjs +17 -3
- package/scripts/utils/server/mobile_api_url.test.mjs +21 -1
- package/scripts/utils/server/prisma_client_import.mjs +18 -0
- package/scripts/utils/server/prisma_import.mjs +0 -15
- package/scripts/utils/server/prisma_import.test.mjs +0 -37
- package/scripts/utils/server/resolve_stack_server_port.mjs +131 -43
- package/scripts/utils/server/resolve_stack_server_port.test.mjs +696 -5
- package/scripts/utils/server/server.mjs +146 -39
- package/scripts/utils/server/server.test.mjs +252 -4
- package/scripts/utils/server/server_migrations.mjs +17 -0
- package/scripts/utils/server/shutdown_grace.mjs +14 -0
- package/scripts/utils/server/shutdown_grace.test.mjs +29 -0
- package/scripts/utils/server/source_server_workspace_deps.mjs +27 -0
- package/scripts/utils/server/source_server_workspace_deps.test.mjs +71 -0
- package/scripts/utils/server/validate.mjs +4 -43
- package/scripts/utils/server/validate.test.mjs +4 -4
- package/scripts/utils/service/archive_service_lifecycle.mjs +59 -0
- package/scripts/utils/service/archive_service_lifecycle.test.mjs +88 -0
- package/scripts/utils/service/daemon_autostart.mjs +1 -1
- package/scripts/utils/service/daemon_autostart.test.mjs +34 -0
- package/scripts/utils/service/service_manager.mjs +26 -1
- package/scripts/utils/service/service_manager.plan.test.mjs +187 -1
- package/scripts/utils/sqlite/sqlite_snapshot.mjs +820 -0
- package/scripts/utils/stack/daemonControlClient.mjs +426 -0
- package/scripts/utils/stack/daemonControlClient.test.mjs +567 -0
- package/scripts/utils/stack/daemon_lifecycle_lock.mjs +49 -0
- package/scripts/utils/stack/daemon_lifecycle_lock.test.mjs +220 -0
- package/scripts/utils/stack/dirs.mjs +6 -2
- package/scripts/utils/stack/owner_death_watchdog.mjs +6 -1
- package/scripts/utils/stack/owner_death_watchdog_runner.mjs +130 -2
- package/scripts/utils/stack/repo_stack_identity.mjs +113 -0
- package/scripts/utils/stack/repo_stack_identity.test.mjs +23 -0
- package/scripts/utils/stack/restart_args.mjs +22 -0
- package/scripts/utils/stack/runtime_daemon_state.mjs +474 -23
- package/scripts/utils/stack/runtime_daemon_state.test.mjs +838 -0
- package/scripts/utils/stack/runtime_owner_incarnation.mjs +9 -0
- package/scripts/utils/stack/runtime_state.mjs +896 -37
- package/scripts/utils/stack/runtime_state.test.mjs +1152 -2
- package/scripts/utils/stack/server_profile_reconciliation.mjs +92 -0
- package/scripts/utils/stack/startup.mjs +75 -81
- package/scripts/utils/stack/startup_runtime_probe.test.mjs +115 -0
- package/scripts/utils/stack/startup_server_light_dirs.test.mjs +10 -3
- package/scripts/utils/stack/startup_server_light_generate.test.mjs +115 -4
- package/scripts/utils/stack/startup_server_light_legacy.test.mjs +17 -15
- package/scripts/utils/stack/startup_server_light_testkit.mjs +8 -1
- package/scripts/utils/stack/stop.mjs +641 -144
- package/scripts/utils/stack/stop_lock_timeout.test.mjs +13 -0
- package/scripts/utils/tauri/desktop_install.mjs +81 -0
- package/scripts/utils/tauri/desktop_install.test.mjs +43 -0
- package/scripts/utils/tauri/dev_runtime.mjs +10 -1
- package/scripts/utils/tauri/dev_runtime.test.mjs +2 -1
- package/scripts/utils/tauri/stack_overrides.mjs +28 -4
- package/scripts/utils/tauri/stack_overrides.test.mjs +26 -0
- package/scripts/utils/test/test_env.mjs +44 -0
- package/scripts/utils/test/test_env.test.mjs +99 -0
- package/scripts/utils/tui/actions.mjs +4 -13
- package/scripts/utils/tui/actions.test.mjs +5 -16
- package/scripts/utils/tui/args.mjs +8 -2
- package/scripts/utils/tui/args.test.mjs +14 -1
- package/scripts/utils/tui/cleanup.mjs +16 -1
- package/scripts/utils/tui/daemon_pane_reconcile.mjs +27 -1
- package/scripts/utils/tui/daemon_pane_reconcile.test.mjs +18 -0
- package/scripts/utils/tui/dev_target_panes.mjs +22 -0
- package/scripts/utils/tui/dev_target_panes.test.mjs +26 -0
- package/scripts/utils/tui/rescue_priority.mjs +37 -0
- package/scripts/utils/tui/rescue_priority.test.mjs +24 -0
- package/scripts/utils/tui/restart_operation.mjs +151 -0
- package/scripts/utils/tui/stack_scope_env.mjs +8 -3
- package/scripts/utils/tui/stack_scope_env.test.mjs +7 -2
- package/scripts/utils/tui/stdin_handoff.mjs +13 -40
- package/scripts/utils/tui/stdin_handoff.test.mjs +36 -1
- package/scripts/utils/tui/tauri_mode.mjs +178 -6
- package/scripts/utils/tui/tauri_mode.test.mjs +222 -4
- package/scripts/utils/workspaces/workspaceBundleLock.mjs +39 -0
- package/scripts/utils/worktrees/yarn_install_guard.mjs +7 -49
- package/scripts/utils/worktrees/yarn_install_guard.test.mjs +139 -4
- package/scripts/worktrees.mjs +16 -16
- package/node_modules/@happier-dev/agents/dist/.tsbuildinfo +0 -1
- package/node_modules/@happier-dev/cli-common/dist/.tsbuildinfo +0 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js +0 -51
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/commands.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js +0 -76
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/ensureBundledWorkspacePackagesBuilt.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js +0 -151
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/prepareFirstPartyComponentPayloadFromGitHubRelease.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js +0 -184
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/relayRuntime.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js +0 -96
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/releaseAssetBundle.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.js +0 -64
- package/node_modules/@happier-dev/cli-common/dist/process/windows/resolveWindowsCommandInvocation.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts +0 -9
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js +0 -72
- package/node_modules/@happier-dev/cli-common/dist/providers/codexRelease.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js +0 -178
- package/node_modules/@happier-dev/cli-common/dist/providers/install.gating.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js +0 -176
- package/node_modules/@happier-dev/cli-common/dist/providers/managedJavaScriptRuntime.systemNodeFallback.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js +0 -138
- package/node_modules/@happier-dev/cli-common/dist/providers/managedPnpm.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js +0 -44
- package/node_modules/@happier-dev/cli-common/dist/providers/pnpmRelease.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js +0 -20
- package/node_modules/@happier-dev/cli-common/dist/providers/resolution.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js +0 -25
- package/node_modules/@happier-dev/cli-common/dist/providers/resolveHappyHomeDir.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js +0 -177
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/interactiveTaskKinds.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js +0 -173
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/relayRuntimeKinds.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js +0 -98
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteFirstPartyPayloadInstaller.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js +0 -549
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/remoteSshBootstrapMachineKind.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js +0 -37
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/kinds/sshHostTrust.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js +0 -243
- package/node_modules/@happier-dev/cli-common/dist/systemTasks/runSystemTask.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js +0 -204
- package/node_modules/@happier-dev/cli-common/dist/tailscale/commandRunner.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js +0 -58
- package/node_modules/@happier-dev/cli-common/dist/tailscale/serveStatus.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js +0 -29
- package/node_modules/@happier-dev/cli-common/dist/tailscale/taskContract.test.js.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts +0 -2
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.d.ts.map +0 -1
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js +0 -94
- package/node_modules/@happier-dev/cli-common/dist/workspaces/index.test.js.map +0 -1
- package/node_modules/@happier-dev/protocol/dist/.tsbuildinfo +0 -1
- package/node_modules/@happier-dev/release-runtime/dist/.tsbuildinfo +0 -1
- package/node_modules/@happier-dev/release-runtime/dist/_cjs/releaseRings.js +0 -134
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts +0 -14
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts.map +0 -1
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js +0 -48
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js.map +0 -1
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.cjs +0 -134
- package/scripts/daemon_cleanup_lsof_unavailable.test.mjs +0 -112
- package/scripts/ghops.mjs +0 -83
- package/scripts/stack_guided_login_does_not_preopen_browser.test.mjs +0 -17
- package/scripts/utils/auth/guided_stack_web_login.mjs +0 -56
- package/scripts/utils/auth/login_ux.mjs +0 -113
- package/scripts/utils/cli/smoke_help.mjs +0 -44
- package/scripts/utils/dev_auth_key.mjs +0 -7
- package/scripts/utils/server/apply_runtime_server_light_sqlite_env.mjs +0 -25
- package/scripts/utils/server/apply_server_light_env_defaults.mjs +0 -15
- package/scripts/utils/server/apply_server_light_env_defaults.test.mjs +0 -25
- package/scripts/utils/stack_context.mjs +0 -1
- package/scripts/utils/stack_runtime_state.mjs +0 -1
- package/scripts/utils/tui/daemon_autostart.mjs +0 -36
- package/scripts/utils/tui/daemon_autostart.test.mjs +0 -173
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import test from 'node:test';
|
|
2
2
|
import assert from 'node:assert/strict';
|
|
3
|
-
import { chmod, mkdtemp, mkdir, readFile, rm, utimes, writeFile } from 'node:fs/promises';
|
|
3
|
+
import { chmod, mkdtemp, mkdir, readFile, rm, stat, utimes, writeFile } from 'node:fs/promises';
|
|
4
4
|
import { tmpdir } from 'node:os';
|
|
5
|
-
import { dirname, join } from 'node:path';
|
|
5
|
+
import { delimiter, dirname, join, resolve } from 'node:path';
|
|
6
6
|
import { spawn } from 'node:child_process';
|
|
7
|
+
import { fileURLToPath } from 'node:url';
|
|
7
8
|
|
|
8
9
|
import { ensureCliBuilt, ensureDepsInstalled, pmExecBin } from './pm.mjs';
|
|
10
|
+
import { withCliDistBuildLock } from './cliDistBuildLock.mjs';
|
|
11
|
+
import { writeWorkspacePackageBuildOwnerProxy } from '../../testkit/core/workspace_package_build_owner.mjs';
|
|
9
12
|
|
|
10
13
|
async function writeYarnEnvDumpStub({ binDir, outputPath }) {
|
|
11
14
|
await mkdir(binDir, { recursive: true });
|
|
@@ -82,6 +85,9 @@ async function writeYarnArgDumpStub({ binDir, outputPath }) {
|
|
|
82
85
|
'#!/usr/bin/env bash',
|
|
83
86
|
'set -euo pipefail',
|
|
84
87
|
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
88
|
+
'if [[ "${1:-}" == "install" && -n "${YARN_INSTALL_DELAY_SECONDS:-}" ]]; then sleep "$YARN_INSTALL_DELAY_SECONDS"; fi',
|
|
89
|
+
'if [[ "${1:-}" == "install" && "${YARN_INSTALL_FAIL:-}" == "1" ]]; then exit 23; fi',
|
|
90
|
+
'if [[ "${1:-}" == "install" ]]; then mkdir -p node_modules; fi',
|
|
85
91
|
].join('\n') + '\n',
|
|
86
92
|
'utf-8'
|
|
87
93
|
);
|
|
@@ -89,13 +95,60 @@ async function writeYarnArgDumpStub({ binDir, outputPath }) {
|
|
|
89
95
|
await writeFile(outputPath, '', 'utf-8');
|
|
90
96
|
}
|
|
91
97
|
|
|
98
|
+
async function writeYarnUiPostinstallStub({ binDir, outputPath, requiredOutputPath }) {
|
|
99
|
+
await mkdir(binDir, { recursive: true });
|
|
100
|
+
const yarnPath = join(binDir, 'yarn');
|
|
101
|
+
await writeFile(
|
|
102
|
+
yarnPath,
|
|
103
|
+
[
|
|
104
|
+
'#!/usr/bin/env bash',
|
|
105
|
+
'set -euo pipefail',
|
|
106
|
+
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
107
|
+
'if [[ "${1:-}" == "install" ]]; then mkdir -p node_modules; fi',
|
|
108
|
+
'if [[ "$*" == "-s workspace @happier-dev/app postinstall:real" ]]; then',
|
|
109
|
+
` mkdir -p ${JSON.stringify(dirname(requiredOutputPath))}`,
|
|
110
|
+
` printf '%s\n' 'export const patched = true;' > ${JSON.stringify(requiredOutputPath)}`,
|
|
111
|
+
'fi',
|
|
112
|
+
].join('\n') + '\n',
|
|
113
|
+
'utf-8',
|
|
114
|
+
);
|
|
115
|
+
await chmod(yarnPath, 0o755);
|
|
116
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
async function writeSlowYarnArgDumpStub({ binDir, outputPath }) {
|
|
120
|
+
await mkdir(binDir, { recursive: true });
|
|
121
|
+
const yarnPath = join(binDir, 'yarn');
|
|
122
|
+
await writeFile(
|
|
123
|
+
yarnPath,
|
|
124
|
+
[
|
|
125
|
+
'#!/usr/bin/env bash',
|
|
126
|
+
'set -euo pipefail',
|
|
127
|
+
'if [ "${1:-}" = "--version" ]; then',
|
|
128
|
+
' echo "1.22.22"',
|
|
129
|
+
' exit 0',
|
|
130
|
+
'fi',
|
|
131
|
+
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
132
|
+
'if [ "${1:-}" = "install" ]; then',
|
|
133
|
+
' if [ -n "${LOCK_OUTPUT_PATH:-}" ]; then',
|
|
134
|
+
' printf "%s\\n" "${HAPPIER_WORKSPACE_DIST_BUILD_LOCK_HELD:-}" > "$LOCK_OUTPUT_PATH"',
|
|
135
|
+
' fi',
|
|
136
|
+
' sleep 0.25',
|
|
137
|
+
'fi',
|
|
138
|
+
].join('\n') + '\n',
|
|
139
|
+
'utf-8',
|
|
140
|
+
);
|
|
141
|
+
await chmod(yarnPath, 0o755);
|
|
142
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
143
|
+
}
|
|
144
|
+
|
|
92
145
|
async function writeNpmArgDumpStub({ binDir, outputPath }) {
|
|
93
146
|
await mkdir(binDir, { recursive: true });
|
|
94
147
|
const npmPath = join(binDir, 'npm');
|
|
95
148
|
await writeFile(
|
|
96
149
|
npmPath,
|
|
97
150
|
[
|
|
98
|
-
'#!/
|
|
151
|
+
'#!/bin/bash',
|
|
99
152
|
'set -euo pipefail',
|
|
100
153
|
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
101
154
|
].join('\n') + '\n',
|
|
@@ -105,7 +158,26 @@ async function writeNpmArgDumpStub({ binDir, outputPath }) {
|
|
|
105
158
|
await writeFile(outputPath, '', 'utf-8');
|
|
106
159
|
}
|
|
107
160
|
|
|
108
|
-
async function
|
|
161
|
+
async function writeCorepackYarnArgDumpStub({ binDir, outputPath }) {
|
|
162
|
+
await mkdir(binDir, { recursive: true });
|
|
163
|
+
const corepackPath = join(binDir, 'corepack');
|
|
164
|
+
await writeFile(
|
|
165
|
+
corepackPath,
|
|
166
|
+
[
|
|
167
|
+
'#!/bin/bash',
|
|
168
|
+
'set -euo pipefail',
|
|
169
|
+
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
170
|
+
'if [[ "${1:-}" == "yarn" && "${2:-}" == "--version" ]]; then',
|
|
171
|
+
' echo "1.22.22"',
|
|
172
|
+
'fi',
|
|
173
|
+
].join('\n') + '\n',
|
|
174
|
+
'utf-8',
|
|
175
|
+
);
|
|
176
|
+
await chmod(corepackPath, 0o755);
|
|
177
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
async function writeYarnBuildFailsBeforePromotionStub({ binDir, outputPath }) {
|
|
109
181
|
await mkdir(binDir, { recursive: true });
|
|
110
182
|
const yarnPath = join(binDir, 'yarn');
|
|
111
183
|
await writeFile(
|
|
@@ -119,7 +191,7 @@ async function writeYarnBuildFailAfterDeletingDistStub({ binDir, outputPath }) {
|
|
|
119
191
|
' exit 0',
|
|
120
192
|
'fi',
|
|
121
193
|
'if [ "${1:-}" = "build" ]; then',
|
|
122
|
-
' rm -rf dist',
|
|
194
|
+
' rm -rf dist.cli-owner-staging',
|
|
123
195
|
' echo "simulated build failure" >&2',
|
|
124
196
|
' exit 2',
|
|
125
197
|
'fi',
|
|
@@ -145,8 +217,10 @@ async function writeYarnBuildCreatesDistStub({ binDir, outputPath, cliDir }) {
|
|
|
145
217
|
' exit 0',
|
|
146
218
|
'fi',
|
|
147
219
|
'if [ "${1:-}" = "build" ]; then',
|
|
148
|
-
|
|
149
|
-
|
|
220
|
+
' out_dir="${HAPPIER_CLI_BUILD_OUTPUT_DIR:-dist}"',
|
|
221
|
+
' mkdir -p "$out_dir"',
|
|
222
|
+
' echo "export const built = true;" > "$out_dir/index.mjs"',
|
|
223
|
+
' printf \'{"fingerprint":"0123456789abcdef","fileCount":1}\\n\' > "$out_dir/.build-manifest.json"',
|
|
150
224
|
' exit 0',
|
|
151
225
|
'fi',
|
|
152
226
|
'exit 0',
|
|
@@ -157,7 +231,7 @@ async function writeYarnBuildCreatesDistStub({ binDir, outputPath, cliDir }) {
|
|
|
157
231
|
await writeFile(outputPath, '', 'utf-8');
|
|
158
232
|
}
|
|
159
233
|
|
|
160
|
-
async function
|
|
234
|
+
async function writeYarnBuildAtomicallyPromotesDistStub({ binDir, outputPath }) {
|
|
161
235
|
await mkdir(binDir, { recursive: true });
|
|
162
236
|
const yarnPath = join(binDir, 'yarn');
|
|
163
237
|
await writeFile(
|
|
@@ -171,13 +245,89 @@ async function writeYarnBuildCreatesPartialDistWithMissingChunkStub({ binDir, ou
|
|
|
171
245
|
' exit 0',
|
|
172
246
|
'fi',
|
|
173
247
|
'if [ "${1:-}" = "build" ]; then',
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
248
|
+
' stage="dist.cli-owner-staging"',
|
|
249
|
+
' backup="dist.cli-owner-backup"',
|
|
250
|
+
' rm -rf "$stage" "$backup"',
|
|
251
|
+
' mkdir -p "$stage"',
|
|
252
|
+
' echo "export const built = true;" > "$stage/index.mjs"',
|
|
253
|
+
' printf \'{"fingerprint":"0123456789abcdef","fileCount":1}\\n\' > "$stage/.build-manifest.json"',
|
|
254
|
+
' if [ -d dist ]; then mv dist "$backup"; fi',
|
|
255
|
+
' mv "$stage" dist',
|
|
256
|
+
' rm -rf "$backup"',
|
|
257
|
+
' exit 0',
|
|
258
|
+
'fi',
|
|
259
|
+
'exit 0',
|
|
260
|
+
].join('\n') + '\n',
|
|
261
|
+
'utf-8',
|
|
262
|
+
);
|
|
263
|
+
await chmod(yarnPath, 0o755);
|
|
264
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
async function writeYarnBuildUsesCliLockProtocolStub({ binDir, outputPath, cliLockModulePath }) {
|
|
268
|
+
await mkdir(binDir, { recursive: true });
|
|
269
|
+
const yarnPath = join(binDir, 'yarn');
|
|
270
|
+
await writeFile(
|
|
271
|
+
yarnPath,
|
|
272
|
+
[
|
|
273
|
+
'#!/usr/bin/env node',
|
|
274
|
+
"const { existsSync, mkdirSync, renameSync, rmSync, writeFileSync } = require('node:fs');",
|
|
275
|
+
"const { join } = require('node:path');",
|
|
276
|
+
"const { pathToFileURL } = require('node:url');",
|
|
277
|
+
"writeFileSync(process.env.OUTPUT_PATH, process.argv.slice(2).join(' ') + '\\n', { flag: 'a' });",
|
|
278
|
+
"if (process.argv[2] === '--version') { console.log('1.22.22'); process.exit(0); }",
|
|
279
|
+
"if (process.argv[2] !== 'build') process.exit(0);",
|
|
280
|
+
'(async () => {',
|
|
281
|
+
` const lockModule = await import(pathToFileURL(${JSON.stringify(cliLockModulePath)}).href);`,
|
|
282
|
+
' await lockModule.withOptionalCliSharedDepsBuildLock(async () => {',
|
|
283
|
+
" const stage = join(process.cwd(), 'dist.cli-owner-staging');",
|
|
284
|
+
" const dist = join(process.cwd(), 'dist');",
|
|
285
|
+
" const backup = join(process.cwd(), 'dist.cli-owner-backup');",
|
|
286
|
+
' rmSync(stage, { recursive: true, force: true });',
|
|
287
|
+
' rmSync(backup, { recursive: true, force: true });',
|
|
288
|
+
' mkdirSync(stage, { recursive: true });',
|
|
289
|
+
" writeFileSync(join(stage, 'index.mjs'), 'export const built = true;\\n');",
|
|
290
|
+
" writeFileSync(join(stage, '.build-manifest.json'), '{\"fingerprint\":\"0123456789abcdef\",\"fileCount\":1}\\n');",
|
|
291
|
+
' if (existsSync(dist)) renameSync(dist, backup);',
|
|
292
|
+
' renameSync(stage, dist);',
|
|
293
|
+
' rmSync(backup, { recursive: true, force: true });',
|
|
294
|
+
' }, {',
|
|
295
|
+
' startDir: process.cwd(),',
|
|
296
|
+
' env: process.env,',
|
|
297
|
+
' lockTimeoutMs: 75,',
|
|
298
|
+
' lockPollIntervalMs: 10,',
|
|
299
|
+
' lockStaleAfterMs: 1_000,',
|
|
300
|
+
' });',
|
|
301
|
+
'})().catch((error) => { console.error(error); process.exit(1); });',
|
|
302
|
+
].join('\n') + '\n',
|
|
303
|
+
'utf-8',
|
|
304
|
+
);
|
|
305
|
+
await chmod(yarnPath, 0o755);
|
|
306
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
async function writeYarnBuildCreatesPartialDistWithMissingChunkStub({ binDir, outputPath, cliDir }) {
|
|
310
|
+
await mkdir(binDir, { recursive: true });
|
|
311
|
+
const yarnPath = join(binDir, 'yarn');
|
|
312
|
+
await writeFile(
|
|
313
|
+
yarnPath,
|
|
314
|
+
[
|
|
315
|
+
'#!/usr/bin/env bash',
|
|
316
|
+
'set -euo pipefail',
|
|
317
|
+
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
318
|
+
'if [ "${1:-}" = "--version" ]; then',
|
|
319
|
+
' echo "1.22.22"',
|
|
179
320
|
' exit 0',
|
|
180
321
|
'fi',
|
|
322
|
+
'if [ "${1:-}" = "build" ]; then',
|
|
323
|
+
' stage="dist.cli-owner-staging"',
|
|
324
|
+
' rm -rf "$stage"',
|
|
325
|
+
' mkdir -p "$stage"',
|
|
326
|
+
' echo "import \'./index-inner.mjs\';" > "$stage/index.mjs"',
|
|
327
|
+
' echo "import \'./missing-chunk.mjs\';" > "$stage/index-inner.mjs"',
|
|
328
|
+
' echo "incomplete dist import closure" >&2',
|
|
329
|
+
' exit 2',
|
|
330
|
+
'fi',
|
|
181
331
|
'exit 0',
|
|
182
332
|
].join('\n') + '\n',
|
|
183
333
|
'utf-8'
|
|
@@ -186,6 +336,45 @@ async function writeYarnBuildCreatesPartialDistWithMissingChunkStub({ binDir, ou
|
|
|
186
336
|
await writeFile(outputPath, '', 'utf-8');
|
|
187
337
|
}
|
|
188
338
|
|
|
339
|
+
async function writeYarnBuildRefreshesAgentsAndPreservesCliDistStub({ binDir, outputPath, cliDir }) {
|
|
340
|
+
await mkdir(binDir, { recursive: true });
|
|
341
|
+
const stubPath = join(binDir, 'yarn-stub.cjs');
|
|
342
|
+
await writeFile(
|
|
343
|
+
stubPath,
|
|
344
|
+
[
|
|
345
|
+
"const { appendFileSync, mkdirSync, writeFileSync } = require('node:fs');",
|
|
346
|
+
"const { join } = require('node:path');",
|
|
347
|
+
'const args = process.argv.slice(2);',
|
|
348
|
+
"appendFileSync(process.env.OUTPUT_PATH, args.join(' ') + '\\n');",
|
|
349
|
+
"if (args[0] === '--version') { console.log('1.22.22'); process.exit(0); }",
|
|
350
|
+
"if (args[0] === '-s' && args[1] === 'build') {",
|
|
351
|
+
" const out = process.env.HAPPIER_WORKSPACE_DIST_OUTPUT_DIR || 'dist';",
|
|
352
|
+
" mkdirSync(join(out, 'session', 'state'), { recursive: true });",
|
|
353
|
+
" writeFileSync(join(out, 'session', 'state', 'index.js'), 'export const state = true;\\n');",
|
|
354
|
+
" writeFileSync(join(out, 'index.js'), 'export const agentsBuilt = true;\\n');",
|
|
355
|
+
' process.exit(0);',
|
|
356
|
+
'}',
|
|
357
|
+
"if (args[0] === 'build') {",
|
|
358
|
+
" const out = process.env.HAPPIER_CLI_BUILD_OUTPUT_DIR || 'dist';",
|
|
359
|
+
' mkdirSync(out, { recursive: true });',
|
|
360
|
+
" writeFileSync(join(out, 'index.mjs'), 'export const cliBuilt = true;\\n');",
|
|
361
|
+
" writeFileSync(join(out, '.build-manifest.json'), '{\"fingerprint\":\"0123456789abcdef\",\"fileCount\":1}\\n');",
|
|
362
|
+
'}',
|
|
363
|
+
].join('\n') + '\n',
|
|
364
|
+
'utf-8',
|
|
365
|
+
);
|
|
366
|
+
const yarnPath = join(binDir, process.platform === 'win32' ? 'yarn.cmd' : 'yarn');
|
|
367
|
+
await writeFile(
|
|
368
|
+
yarnPath,
|
|
369
|
+
process.platform === 'win32'
|
|
370
|
+
? `@echo off\r\n"${process.execPath}" "%~dp0yarn-stub.cjs" %*\r\n`
|
|
371
|
+
: `#!/usr/bin/env sh\nexec ${JSON.stringify(process.execPath)} "$(dirname "$0")/yarn-stub.cjs" "$@"\n`,
|
|
372
|
+
'utf-8',
|
|
373
|
+
);
|
|
374
|
+
await chmod(yarnPath, 0o755);
|
|
375
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
376
|
+
}
|
|
377
|
+
|
|
189
378
|
async function writeYarnSlowBuildCreatesDistStub({ binDir, outputPath, cliDir }) {
|
|
190
379
|
await mkdir(binDir, { recursive: true });
|
|
191
380
|
const yarnPath = join(binDir, 'yarn');
|
|
@@ -201,10 +390,50 @@ async function writeYarnSlowBuildCreatesDistStub({ binDir, outputPath, cliDir })
|
|
|
201
390
|
'fi',
|
|
202
391
|
'if [ "${1:-}" = "build" ]; then',
|
|
203
392
|
' sleep 1',
|
|
204
|
-
|
|
205
|
-
|
|
393
|
+
' stage="dist.cli-owner-staging"',
|
|
394
|
+
' backup="dist.cli-owner-backup"',
|
|
395
|
+
' rm -rf "$stage" "$backup"',
|
|
396
|
+
' mkdir -p "$stage"',
|
|
397
|
+
' echo "export const built = true;" > "$stage/index.mjs"',
|
|
398
|
+
' printf \'{"fingerprint":"0123456789abcdef","fileCount":1}\\n\' > "$stage/.build-manifest.json"',
|
|
399
|
+
' echo "$stage" > "${OUTPUT_PATH}.outdir"',
|
|
400
|
+
' if [ -n "${BUILD_SIGNAL_PATH:-}" ]; then echo started > "${BUILD_SIGNAL_PATH}"; fi',
|
|
401
|
+
' sleep 1',
|
|
402
|
+
' if [ -d dist ]; then mv dist "$backup"; fi',
|
|
403
|
+
' mv "$stage" dist',
|
|
404
|
+
' rm -rf "$backup"',
|
|
405
|
+
' exit 0',
|
|
406
|
+
'fi',
|
|
407
|
+
'exit 0',
|
|
408
|
+
].join('\n') + '\n',
|
|
409
|
+
'utf-8'
|
|
410
|
+
);
|
|
411
|
+
await chmod(yarnPath, 0o755);
|
|
412
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
async function writeYarnBuildCreatesEsmLinkFailureStub({ binDir, outputPath }) {
|
|
416
|
+
await mkdir(binDir, { recursive: true });
|
|
417
|
+
const yarnPath = join(binDir, 'yarn');
|
|
418
|
+
await writeFile(
|
|
419
|
+
yarnPath,
|
|
420
|
+
[
|
|
421
|
+
'#!/usr/bin/env bash',
|
|
422
|
+
'set -euo pipefail',
|
|
423
|
+
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
424
|
+
'if [ "${1:-}" = "--version" ]; then',
|
|
425
|
+
' echo "1.22.22"',
|
|
206
426
|
' exit 0',
|
|
207
427
|
'fi',
|
|
428
|
+
'if [ "${1:-}" = "build" ]; then',
|
|
429
|
+
' stage="dist.cli-owner-staging"',
|
|
430
|
+
' rm -rf "$stage"',
|
|
431
|
+
' mkdir -p "$stage"',
|
|
432
|
+
' echo "import { A } from \'./chunk.mjs\'; export const value = A;" > "$stage/index.mjs"',
|
|
433
|
+
' echo "export const B = true;" > "$stage/chunk.mjs"',
|
|
434
|
+
' echo "SyntaxError: ./chunk.mjs does not provide an export named A" >&2',
|
|
435
|
+
' exit 2',
|
|
436
|
+
'fi',
|
|
208
437
|
'exit 0',
|
|
209
438
|
].join('\n') + '\n',
|
|
210
439
|
'utf-8'
|
|
@@ -528,7 +757,7 @@ test('ensureDepsInstalled prefers yarn when component is inside the Happy monore
|
|
|
528
757
|
|
|
529
758
|
applyEnvOverrides(t, {
|
|
530
759
|
// Avoid leaking other package managers into PATH so the test fails loudly when a non-yarn fallback is attempted.
|
|
531
|
-
PATH: `${binDir}
|
|
760
|
+
PATH: `${binDir}:${process.env.PATH ?? ''}`,
|
|
532
761
|
OUTPUT_PATH: outputPath,
|
|
533
762
|
HAPPIER_STACK_ENV_FILE: null,
|
|
534
763
|
});
|
|
@@ -608,9 +837,81 @@ test('ensureDepsInstalled regenerates server Prisma provider outputs when sqlite
|
|
|
608
837
|
HAPPIER_STACK_ENV_FILE: null,
|
|
609
838
|
});
|
|
610
839
|
|
|
840
|
+
await ensureDepsInstalled(componentDir, 'happier-server-light', { quiet: true });
|
|
611
841
|
await ensureDepsInstalled(componentDir, 'happier-server-light', { quiet: true });
|
|
612
842
|
const out = await readFile(outputPath, 'utf-8');
|
|
613
|
-
|
|
843
|
+
const providerGenerations = out
|
|
844
|
+
.split('\n')
|
|
845
|
+
.filter((line) => /\bworkspace @happier-dev\/server generate:providers\b/.test(line));
|
|
846
|
+
assert.equal(providerGenerations.length, 2, `expected each component preflight to preserve provider generation, got:\n${out}`);
|
|
847
|
+
});
|
|
848
|
+
|
|
849
|
+
test('ensureDepsInstalled repairs missing UI postinstall outputs on a warm dependency tree', async (t) => {
|
|
850
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-ui-postinstall-readiness-'));
|
|
851
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
852
|
+
|
|
853
|
+
for (const component of ['cli', 'server']) {
|
|
854
|
+
await mkdir(join(root, 'apps', component), { recursive: true });
|
|
855
|
+
await writeFile(join(root, 'apps', component, 'package.json'), `{ "name": "@happier-dev/${component}" }\n`, 'utf-8');
|
|
856
|
+
}
|
|
857
|
+
const componentDir = join(root, 'apps', 'ui');
|
|
858
|
+
await mkdir(componentDir, { recursive: true });
|
|
859
|
+
await writeFile(
|
|
860
|
+
join(componentDir, 'package.json'),
|
|
861
|
+
JSON.stringify({
|
|
862
|
+
name: '@happier-dev/app',
|
|
863
|
+
scripts: { 'postinstall:real': 'node ./tools/postinstall.mjs' },
|
|
864
|
+
}) + '\n',
|
|
865
|
+
'utf-8',
|
|
866
|
+
);
|
|
867
|
+
await writeFile(
|
|
868
|
+
join(root, 'package.json'),
|
|
869
|
+
JSON.stringify({
|
|
870
|
+
name: 'monorepo',
|
|
871
|
+
private: true,
|
|
872
|
+
workspaces: { packages: ['apps/ui', 'apps/cli', 'apps/server'] },
|
|
873
|
+
}) + '\n',
|
|
874
|
+
'utf-8',
|
|
875
|
+
);
|
|
876
|
+
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
877
|
+
await mkdir(join(root, 'node_modules'), { recursive: true });
|
|
878
|
+
await writeFile(join(root, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
879
|
+
|
|
880
|
+
const requiredOutputPath = join(
|
|
881
|
+
componentDir,
|
|
882
|
+
'node_modules',
|
|
883
|
+
'react-native-enriched-markdown',
|
|
884
|
+
'lib',
|
|
885
|
+
'module',
|
|
886
|
+
'web',
|
|
887
|
+
'streamingReveal.js',
|
|
888
|
+
);
|
|
889
|
+
await mkdir(dirname(requiredOutputPath), { recursive: true });
|
|
890
|
+
await writeFile(requiredOutputPath, 'export const patched = true;\n', 'utf-8');
|
|
891
|
+
|
|
892
|
+
const binDir = join(root, 'bin');
|
|
893
|
+
const outputPath = join(root, 'argv.txt');
|
|
894
|
+
await writeYarnUiPostinstallStub({ binDir, outputPath, requiredOutputPath });
|
|
895
|
+
const env = {
|
|
896
|
+
...process.env,
|
|
897
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
898
|
+
OUTPUT_PATH: outputPath,
|
|
899
|
+
HAPPIER_STACK_HOME_DIR: join(root, 'home'),
|
|
900
|
+
HAPPIER_STACK_ENV_FILE: '',
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
await ensureDepsInstalled(componentDir, 'happier-ui', { quiet: true, env });
|
|
904
|
+
await rm(requiredOutputPath);
|
|
905
|
+
await ensureDepsInstalled(componentDir, 'happier-ui', { quiet: true, env });
|
|
906
|
+
await ensureDepsInstalled(componentDir, 'happier-ui', { quiet: true, env });
|
|
907
|
+
|
|
908
|
+
assert.equal((await readFile(requiredOutputPath, 'utf-8')).trim(), 'export const patched = true;');
|
|
909
|
+
const commands = (await readFile(outputPath, 'utf-8')).split('\n').filter(Boolean);
|
|
910
|
+
assert.equal(commands.filter((line) => line.startsWith('install ')).length, 1);
|
|
911
|
+
assert.equal(
|
|
912
|
+
commands.filter((line) => line === '-s workspace @happier-dev/app postinstall:real').length,
|
|
913
|
+
1,
|
|
914
|
+
);
|
|
614
915
|
});
|
|
615
916
|
|
|
616
917
|
test('ensureDepsInstalled refreshes monorepo dependencies when root yarn.lock changes', async (t) => {
|
|
@@ -659,8 +960,8 @@ test('ensureDepsInstalled refreshes monorepo dependencies when root yarn.lock ch
|
|
|
659
960
|
assert.match(out, /\binstall\b/);
|
|
660
961
|
});
|
|
661
962
|
|
|
662
|
-
test('ensureDepsInstalled
|
|
663
|
-
const root = await mkdtemp(join(tmpdir(), 'hs-pm-happy-monorepo-
|
|
963
|
+
test('ensureDepsInstalled refreshes monorepo dependencies when a workspace package manifest changes', async (t) => {
|
|
964
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-happy-monorepo-workspace-manifest-refresh-'));
|
|
664
965
|
t.after(async () => {
|
|
665
966
|
await rm(root, { recursive: true, force: true });
|
|
666
967
|
});
|
|
@@ -668,15 +969,26 @@ test('ensureDepsInstalled skips monorepo refresh when node_modules is newer even
|
|
|
668
969
|
await mkdir(join(root, 'apps', 'ui'), { recursive: true });
|
|
669
970
|
await mkdir(join(root, 'apps', 'cli'), { recursive: true });
|
|
670
971
|
await mkdir(join(root, 'apps', 'server'), { recursive: true });
|
|
972
|
+
await mkdir(join(root, 'packages', 'protocol'), { recursive: true });
|
|
671
973
|
await writeFile(join(root, 'apps', 'ui', 'package.json'), '{}\n', 'utf-8');
|
|
672
974
|
await writeFile(join(root, 'apps', 'cli', 'package.json'), '{}\n', 'utf-8');
|
|
673
975
|
await writeFile(join(root, 'apps', 'server', 'package.json'), '{}\n', 'utf-8');
|
|
674
|
-
await writeFile(join(root, 'package.json'), '{ "name": "
|
|
976
|
+
await writeFile(join(root, 'packages', 'protocol', 'package.json'), '{ "name": "@happier-dev/protocol", "dependencies": { "zod": "4.3.6" } }\n', 'utf-8');
|
|
977
|
+
await writeFile(
|
|
978
|
+
join(root, 'package.json'),
|
|
979
|
+
JSON.stringify({
|
|
980
|
+
name: 'monorepo',
|
|
981
|
+
private: true,
|
|
982
|
+
workspaces: {
|
|
983
|
+
packages: ['apps/ui', 'apps/cli', 'apps/server', 'packages/protocol'],
|
|
984
|
+
},
|
|
985
|
+
}) + '\n',
|
|
986
|
+
'utf-8',
|
|
987
|
+
);
|
|
675
988
|
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
676
989
|
|
|
677
|
-
await mkdir(join(root, 'node_modules'
|
|
678
|
-
await writeFile(join(root, 'node_modules', '.
|
|
679
|
-
await writeFile(join(root, 'node_modules', '@scope', 'pkg', 'package.json'), '{}\n', 'utf-8');
|
|
990
|
+
await mkdir(join(root, 'node_modules'), { recursive: true });
|
|
991
|
+
await writeFile(join(root, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
680
992
|
|
|
681
993
|
const base = Date.now();
|
|
682
994
|
const older = new Date(base - 10_000);
|
|
@@ -685,7 +997,10 @@ test('ensureDepsInstalled skips monorepo refresh when node_modules is newer even
|
|
|
685
997
|
utimes(join(root, 'package.json'), older, older),
|
|
686
998
|
utimes(join(root, 'yarn.lock'), older, older),
|
|
687
999
|
utimes(join(root, 'apps', 'ui', 'package.json'), older, older),
|
|
688
|
-
utimes(join(root, '
|
|
1000
|
+
utimes(join(root, 'apps', 'cli', 'package.json'), older, older),
|
|
1001
|
+
utimes(join(root, 'apps', 'server', 'package.json'), older, older),
|
|
1002
|
+
utimes(join(root, 'node_modules', '.yarn-integrity'), older, older),
|
|
1003
|
+
utimes(join(root, 'packages', 'protocol', 'package.json'), newer, newer),
|
|
689
1004
|
]);
|
|
690
1005
|
|
|
691
1006
|
const binDir = join(root, 'bin');
|
|
@@ -700,87 +1015,558 @@ test('ensureDepsInstalled skips monorepo refresh when node_modules is newer even
|
|
|
700
1015
|
|
|
701
1016
|
await ensureDepsInstalled(join(root, 'apps', 'ui'), 'happier-ui', { quiet: true });
|
|
702
1017
|
const out = await readFile(outputPath, 'utf-8');
|
|
703
|
-
assert.
|
|
1018
|
+
assert.match(out, /\binstall\b/);
|
|
704
1019
|
});
|
|
705
1020
|
|
|
706
|
-
test('ensureDepsInstalled
|
|
707
|
-
const root = await mkdtemp(join(tmpdir(), 'hs-pm-
|
|
1021
|
+
test('ensureDepsInstalled does not repeat a successful no-op refresh while dependency inputs stay unchanged', async (t) => {
|
|
1022
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-happy-monorepo-refresh-once-'));
|
|
708
1023
|
t.after(async () => {
|
|
709
1024
|
await rm(root, { recursive: true, force: true });
|
|
710
1025
|
});
|
|
711
1026
|
|
|
712
|
-
|
|
713
|
-
await mkdir(
|
|
714
|
-
await
|
|
1027
|
+
await mkdir(join(root, 'apps', 'ui'), { recursive: true });
|
|
1028
|
+
await mkdir(join(root, 'apps', 'cli'), { recursive: true });
|
|
1029
|
+
await mkdir(join(root, 'apps', 'server'), { recursive: true });
|
|
1030
|
+
await writeFile(join(root, 'apps', 'ui', 'package.json'), '{}\n', 'utf-8');
|
|
1031
|
+
await writeFile(join(root, 'apps', 'cli', 'package.json'), '{}\n', 'utf-8');
|
|
1032
|
+
await writeFile(join(root, 'apps', 'server', 'package.json'), '{}\n', 'utf-8');
|
|
1033
|
+
await writeFile(join(root, 'package.json'), '{ "name": "monorepo", "private": true }\n', 'utf-8');
|
|
1034
|
+
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1035
|
+
|
|
1036
|
+
await mkdir(join(root, 'node_modules'), { recursive: true });
|
|
1037
|
+
await writeFile(join(root, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1038
|
+
|
|
1039
|
+
const base = Date.now();
|
|
1040
|
+
const older = new Date(base - 10_000);
|
|
1041
|
+
const newer = new Date(base);
|
|
1042
|
+
await Promise.all([
|
|
1043
|
+
utimes(join(root, 'package.json'), older, older),
|
|
1044
|
+
utimes(join(root, 'yarn.lock'), older, older),
|
|
1045
|
+
utimes(join(root, 'apps', 'ui', 'package.json'), newer, newer),
|
|
1046
|
+
utimes(join(root, 'apps', 'cli', 'package.json'), older, older),
|
|
1047
|
+
utimes(join(root, 'apps', 'server', 'package.json'), older, older),
|
|
1048
|
+
utimes(join(root, 'node_modules', '.yarn-integrity'), older, older),
|
|
1049
|
+
]);
|
|
715
1050
|
|
|
716
1051
|
const binDir = join(root, 'bin');
|
|
717
1052
|
const outputPath = join(root, 'argv.txt');
|
|
718
|
-
await
|
|
1053
|
+
await writeYarnArgDumpStub({ binDir, outputPath });
|
|
719
1054
|
|
|
720
1055
|
applyEnvOverrides(t, {
|
|
721
1056
|
PATH: `${binDir}:/usr/bin:/bin`,
|
|
722
1057
|
OUTPUT_PATH: outputPath,
|
|
723
|
-
|
|
1058
|
+
YARN_INSTALL_DELAY_SECONDS: '0.2',
|
|
1059
|
+
YARN_INSTALL_FAIL: null,
|
|
724
1060
|
HAPPIER_STACK_ENV_FILE: null,
|
|
725
1061
|
});
|
|
726
1062
|
|
|
727
|
-
await
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
1063
|
+
await Promise.all([
|
|
1064
|
+
ensureDepsInstalled(join(root, 'apps', 'server'), 'happier-server-light', { quiet: true }),
|
|
1065
|
+
ensureDepsInstalled(join(root, 'apps', 'server'), 'happier-server-light', { quiet: true }),
|
|
1066
|
+
]);
|
|
1067
|
+
await ensureDepsInstalled(join(root, 'apps', 'server'), 'happier-server-light', { quiet: true });
|
|
731
1068
|
|
|
732
|
-
|
|
733
|
-
const
|
|
734
|
-
|
|
735
|
-
const outputPath = join(root, 'env.json');
|
|
736
|
-
await writeYarnEnvDumpStub({ binDir, outputPath });
|
|
1069
|
+
const unchangedOut = await readFile(outputPath, 'utf-8');
|
|
1070
|
+
const unchangedInstalls = unchangedOut.split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1071
|
+
assert.equal(unchangedInstalls.length, 1, `expected one successful refresh for unchanged inputs, got:\n${unchangedOut}`);
|
|
737
1072
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
YARN_CACHE_FOLDER: null,
|
|
745
|
-
npm_config_cache: null,
|
|
746
|
-
});
|
|
1073
|
+
await writeFile(
|
|
1074
|
+
join(root, 'apps', 'server', 'package.json'),
|
|
1075
|
+
'{"name":"happier-server-light","version":"1"}\n',
|
|
1076
|
+
'utf-8',
|
|
1077
|
+
);
|
|
1078
|
+
await ensureDepsInstalled(join(root, 'apps', 'server'), 'happier-server-light', { quiet: true });
|
|
747
1079
|
|
|
748
|
-
|
|
749
|
-
const
|
|
750
|
-
assert.equal(
|
|
751
|
-
assert.equal(parsed.YARN_CACHE_FOLDER, exp.yarn);
|
|
752
|
-
assert.equal(parsed.npm_config_cache, exp.npm);
|
|
753
|
-
});
|
|
1080
|
+
const changedOut = await readFile(outputPath, 'utf-8');
|
|
1081
|
+
const changedInstalls = changedOut.split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1082
|
+
assert.equal(changedInstalls.length, 2, `expected a later dependency input change to refresh again, got:\n${changedOut}`);
|
|
754
1083
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
1084
|
+
await writeFile(
|
|
1085
|
+
join(root, 'apps', 'server', 'package.json'),
|
|
1086
|
+
'{"name":"happier-server-light","version":"2"}\n',
|
|
1087
|
+
'utf-8',
|
|
1088
|
+
);
|
|
1089
|
+
process.env.YARN_INSTALL_FAIL = '1';
|
|
1090
|
+
await assert.rejects(
|
|
1091
|
+
ensureDepsInstalled(join(root, 'apps', 'server'), 'happier-server-light', { quiet: true }),
|
|
1092
|
+
);
|
|
1093
|
+
delete process.env.YARN_INSTALL_FAIL;
|
|
1094
|
+
await ensureDepsInstalled(join(root, 'apps', 'server'), 'happier-server-light', { quiet: true });
|
|
760
1095
|
|
|
761
|
-
const
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
await writeFile(join(cliDir, '.gitignore'), 'dist/\n', 'utf-8');
|
|
766
|
-
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
767
|
-
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1096
|
+
const retryOut = await readFile(outputPath, 'utf-8');
|
|
1097
|
+
const retryInstalls = retryOut.split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1098
|
+
assert.equal(retryInstalls.length, 4, `expected a failed refresh to remain stale and retry, got:\n${retryOut}`);
|
|
1099
|
+
});
|
|
768
1100
|
|
|
769
|
-
|
|
770
|
-
await
|
|
771
|
-
|
|
1101
|
+
test('ensureDepsInstalled keeps a current dependency tree outside dependency and CLI publication locks', async (t) => {
|
|
1102
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-current-deps-read-only-'));
|
|
1103
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
1104
|
+
|
|
1105
|
+
for (const component of ['ui', 'cli', 'server']) {
|
|
1106
|
+
await mkdir(join(root, 'apps', component), { recursive: true });
|
|
1107
|
+
await writeFile(join(root, 'apps', component, 'package.json'), '{}\n', 'utf-8');
|
|
1108
|
+
}
|
|
1109
|
+
await writeFile(join(root, 'package.json'), '{"name":"monorepo","private":true}\n', 'utf-8');
|
|
1110
|
+
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1111
|
+
await mkdir(join(root, 'node_modules'), { recursive: true });
|
|
1112
|
+
await writeFile(join(root, 'node_modules', '.yarn-integrity'), 'legacy\n', 'utf-8');
|
|
772
1113
|
|
|
773
1114
|
const binDir = join(root, 'bin');
|
|
774
1115
|
const outputPath = join(root, 'argv.txt');
|
|
775
|
-
|
|
776
|
-
|
|
1116
|
+
const stackHome = join(root, 'stack-home');
|
|
1117
|
+
await writeYarnArgDumpStub({ binDir, outputPath });
|
|
777
1118
|
applyEnvOverrides(t, {
|
|
778
1119
|
PATH: `${binDir}:/usr/bin:/bin`,
|
|
779
1120
|
OUTPUT_PATH: outputPath,
|
|
780
|
-
|
|
1121
|
+
HAPPIER_STACK_HOME_DIR: stackHome,
|
|
781
1122
|
HAPPIER_STACK_ENV_FILE: null,
|
|
782
1123
|
});
|
|
783
|
-
|
|
1124
|
+
|
|
1125
|
+
const componentDir = join(root, 'apps', 'ui');
|
|
1126
|
+
await ensureDepsInstalled(componentDir, 'happier-ui', { quiet: true, env: process.env });
|
|
1127
|
+
|
|
1128
|
+
// A warm admission must not need either mutation-lock path. Replacing both lock parents with
|
|
1129
|
+
// ordinary files makes an accidental lock acquisition fail deterministically instead of wait.
|
|
1130
|
+
await rm(join(stackHome, 'cache', 'dependencies'), { recursive: true, force: true });
|
|
1131
|
+
await mkdir(join(stackHome, 'cache'), { recursive: true });
|
|
1132
|
+
await writeFile(join(stackHome, 'cache', 'dependencies'), 'read-only-fast-path\n', 'utf-8');
|
|
1133
|
+
await rm(join(root, '.project'), { recursive: true, force: true });
|
|
1134
|
+
await writeFile(join(root, '.project'), 'read-only-fast-path\n', 'utf-8');
|
|
1135
|
+
|
|
1136
|
+
await ensureDepsInstalled(componentDir, 'happier-ui', { quiet: true, env: process.env });
|
|
1137
|
+
const installs = (await readFile(outputPath, 'utf-8')).split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1138
|
+
assert.equal(installs.length, 1);
|
|
1139
|
+
});
|
|
1140
|
+
|
|
1141
|
+
test('ensureDepsInstalled waits for the monorepo CLI bundle lock before deciding whether to refresh', async (t) => {
|
|
1142
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-monorepo-cli-lock-'));
|
|
1143
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
1144
|
+
|
|
1145
|
+
const componentDir = join(root, 'apps', 'ui');
|
|
1146
|
+
const cliLockPath = join(root, '.project', 'tmp', 'cli-dist-build.lock');
|
|
1147
|
+
const dependencyLockPath = join(root, '.project', 'tmp', 'dependency-install.lock');
|
|
1148
|
+
await mkdir(componentDir, { recursive: true });
|
|
1149
|
+
await mkdir(join(root, 'apps', 'cli'), { recursive: true });
|
|
1150
|
+
await mkdir(join(root, 'apps', 'server'), { recursive: true });
|
|
1151
|
+
await writeFile(join(componentDir, 'package.json'), '{ "name": "@happier-dev/ui" }\n', 'utf-8');
|
|
1152
|
+
await writeFile(join(root, 'apps', 'cli', 'package.json'), '{ "name": "@happier-dev/cli" }\n', 'utf-8');
|
|
1153
|
+
await writeFile(join(root, 'apps', 'server', 'package.json'), '{ "name": "@happier-dev/server" }\n', 'utf-8');
|
|
1154
|
+
await writeFile(
|
|
1155
|
+
join(root, 'package.json'),
|
|
1156
|
+
JSON.stringify({
|
|
1157
|
+
name: 'monorepo',
|
|
1158
|
+
private: true,
|
|
1159
|
+
workspaces: { packages: ['apps/ui', 'apps/cli', 'apps/server'] },
|
|
1160
|
+
}) + '\n',
|
|
1161
|
+
'utf-8',
|
|
1162
|
+
);
|
|
1163
|
+
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1164
|
+
await mkdir(join(root, 'node_modules'), { recursive: true });
|
|
1165
|
+
await writeFile(join(root, 'node_modules', '.yarn-integrity'), 'stale\n', 'utf-8');
|
|
1166
|
+
|
|
1167
|
+
const base = Date.now();
|
|
1168
|
+
const older = new Date(base - 10_000);
|
|
1169
|
+
const newer = new Date(base);
|
|
1170
|
+
await Promise.all([
|
|
1171
|
+
utimes(join(root, 'node_modules', '.yarn-integrity'), older, older),
|
|
1172
|
+
utimes(join(root, 'package.json'), newer, newer),
|
|
1173
|
+
utimes(join(root, 'yarn.lock'), newer, newer),
|
|
1174
|
+
utimes(join(componentDir, 'package.json'), newer, newer),
|
|
1175
|
+
]);
|
|
1176
|
+
|
|
1177
|
+
const binDir = join(root, 'bin');
|
|
1178
|
+
const outputPath = join(root, 'argv.txt');
|
|
1179
|
+
const heldLockOutputPath = join(root, 'held-cli-lock.txt');
|
|
1180
|
+
await writeSlowYarnArgDumpStub({ binDir, outputPath });
|
|
1181
|
+
const env = {
|
|
1182
|
+
...process.env,
|
|
1183
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1184
|
+
OUTPUT_PATH: outputPath,
|
|
1185
|
+
LOCK_OUTPUT_PATH: heldLockOutputPath,
|
|
1186
|
+
HAPPIER_STACK_ENV_FILE: '',
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
let releaseCliLock;
|
|
1190
|
+
const releaseCliLockPromise = new Promise((resolve) => {
|
|
1191
|
+
releaseCliLock = resolve;
|
|
1192
|
+
});
|
|
1193
|
+
let notifyCliLockHeld;
|
|
1194
|
+
const cliLockHeld = new Promise((resolve) => {
|
|
1195
|
+
notifyCliLockHeld = resolve;
|
|
1196
|
+
});
|
|
1197
|
+
const holder = withCliDistBuildLock(
|
|
1198
|
+
async () => {
|
|
1199
|
+
notifyCliLockHeld();
|
|
1200
|
+
await releaseCliLockPromise;
|
|
1201
|
+
},
|
|
1202
|
+
{ lockPath: cliLockPath, timeoutMs: 5_000, pollIntervalMs: 10, staleAfterMs: 5_000 },
|
|
1203
|
+
);
|
|
1204
|
+
await cliLockHeld;
|
|
1205
|
+
|
|
1206
|
+
const firstEnsure = ensureDepsInstalled(componentDir, 'happier-ui', { quiet: true, env });
|
|
1207
|
+
await waitForFileText(dependencyLockPath, /"pid"/);
|
|
1208
|
+
const secondEnsure = ensureDepsInstalled(componentDir, 'happier-ui', { quiet: true, env });
|
|
1209
|
+
|
|
1210
|
+
try {
|
|
1211
|
+
await new Promise((resolve) => setTimeout(resolve, 1_000));
|
|
1212
|
+
assert.equal(await readFile(outputPath, 'utf-8'), '', 'yarn install started while the CLI bundle lock was held');
|
|
1213
|
+
} finally {
|
|
1214
|
+
releaseCliLock();
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
await Promise.all([holder, firstEnsure, secondEnsure]);
|
|
1218
|
+
const installLines = (await readFile(outputPath, 'utf-8'))
|
|
1219
|
+
.split('\n')
|
|
1220
|
+
.filter((line) => /^install\b/.test(line));
|
|
1221
|
+
assert.equal(installLines.length, 1, `expected freshness to collapse queued work to one install, got:\n${installLines.join('\n')}`);
|
|
1222
|
+
const heldLockLease = JSON.parse((await readFile(heldLockOutputPath, 'utf-8')).trim());
|
|
1223
|
+
assert.equal(heldLockLease.path, cliLockPath);
|
|
1224
|
+
assert.equal(typeof heldLockLease.token, 'string');
|
|
1225
|
+
assert.notEqual(heldLockLease.token, '');
|
|
1226
|
+
await assert.rejects(() => stat(cliLockPath), { code: 'ENOENT' });
|
|
1227
|
+
await assert.rejects(() => stat(dependencyLockPath), { code: 'ENOENT' });
|
|
1228
|
+
});
|
|
1229
|
+
|
|
1230
|
+
test('ensureDepsInstalled serializes the initial Yarn install and records it through the canonical refresh owner', async (t) => {
|
|
1231
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-happy-monorepo-initial-once-'));
|
|
1232
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
1233
|
+
|
|
1234
|
+
const componentDir = join(root, 'component');
|
|
1235
|
+
await mkdir(componentDir, { recursive: true });
|
|
1236
|
+
await writeFile(join(componentDir, 'package.json'), '{}\n', 'utf-8');
|
|
1237
|
+
await writeFile(join(componentDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1238
|
+
const binDir = join(root, 'bin');
|
|
1239
|
+
const outputPath = join(root, 'argv.txt');
|
|
1240
|
+
await writeYarnArgDumpStub({ binDir, outputPath });
|
|
1241
|
+
|
|
1242
|
+
applyEnvOverrides(t, {
|
|
1243
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1244
|
+
OUTPUT_PATH: outputPath,
|
|
1245
|
+
YARN_INSTALL_DELAY_SECONDS: '0.2',
|
|
1246
|
+
HAPPIER_STACK_HOME_DIR: join(root, 'home'),
|
|
1247
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1248
|
+
});
|
|
1249
|
+
|
|
1250
|
+
await Promise.all([
|
|
1251
|
+
ensureDepsInstalled(componentDir, 'component', { quiet: true, env: process.env }),
|
|
1252
|
+
ensureDepsInstalled(componentDir, 'component', { quiet: true, env: process.env }),
|
|
1253
|
+
]);
|
|
1254
|
+
await ensureDepsInstalled(componentDir, 'component', { quiet: true, env: process.env });
|
|
1255
|
+
|
|
1256
|
+
const out = await readFile(outputPath, 'utf-8');
|
|
1257
|
+
const installs = out.split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1258
|
+
assert.equal(installs.length, 1, `expected one serialized initial install, got:\n${out}`);
|
|
1259
|
+
});
|
|
1260
|
+
|
|
1261
|
+
test('ensureDepsInstalled performs one marker bootstrap refresh for a legacy Yarn install, then skips warm calls', async (t) => {
|
|
1262
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-happy-monorepo-marker-bootstrap-'));
|
|
1263
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
1264
|
+
|
|
1265
|
+
const componentDir = join(root, 'component');
|
|
1266
|
+
await mkdir(join(componentDir, 'node_modules'), { recursive: true });
|
|
1267
|
+
await writeFile(join(componentDir, 'package.json'), '{}\n', 'utf-8');
|
|
1268
|
+
await writeFile(join(componentDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1269
|
+
await writeFile(join(componentDir, 'node_modules', '.yarn-integrity'), 'legacy\n', 'utf-8');
|
|
1270
|
+
const base = Date.now();
|
|
1271
|
+
const older = new Date(base - 10_000);
|
|
1272
|
+
const newer = new Date(base);
|
|
1273
|
+
await utimes(join(componentDir, 'package.json'), older, older);
|
|
1274
|
+
await utimes(join(componentDir, 'yarn.lock'), older, older);
|
|
1275
|
+
await utimes(join(componentDir, 'node_modules', '.yarn-integrity'), newer, newer);
|
|
1276
|
+
|
|
1277
|
+
const binDir = join(root, 'bin');
|
|
1278
|
+
const outputPath = join(root, 'argv.txt');
|
|
1279
|
+
await writeYarnArgDumpStub({ binDir, outputPath });
|
|
1280
|
+
applyEnvOverrides(t, {
|
|
1281
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1282
|
+
OUTPUT_PATH: outputPath,
|
|
1283
|
+
HAPPIER_STACK_HOME_DIR: join(root, 'home'),
|
|
1284
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1285
|
+
});
|
|
1286
|
+
|
|
1287
|
+
await ensureDepsInstalled(componentDir, 'component', { quiet: true, env: process.env });
|
|
1288
|
+
await ensureDepsInstalled(componentDir, 'component', { quiet: true, env: process.env });
|
|
1289
|
+
|
|
1290
|
+
const out = await readFile(outputPath, 'utf-8');
|
|
1291
|
+
const installs = out.split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1292
|
+
assert.equal(installs.length, 1, `expected one marker-bootstrap refresh followed by a warm skip, got:\n${out}`);
|
|
1293
|
+
});
|
|
1294
|
+
|
|
1295
|
+
test('ensureDepsInstalled bootstraps the canonical marker when a legacy Yarn install has no lockfile', async (t) => {
|
|
1296
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-yarn-missing-lock-marker-bootstrap-'));
|
|
1297
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
1298
|
+
|
|
1299
|
+
const componentDir = join(root, 'component');
|
|
1300
|
+
await mkdir(join(componentDir, 'node_modules'), { recursive: true });
|
|
1301
|
+
await writeFile(join(componentDir, 'package.json'), '{}\n', 'utf-8');
|
|
1302
|
+
await writeFile(join(componentDir, 'node_modules', '.yarn-integrity'), 'legacy\n', 'utf-8');
|
|
1303
|
+
|
|
1304
|
+
const binDir = join(root, 'bin');
|
|
1305
|
+
const outputPath = join(root, 'argv.txt');
|
|
1306
|
+
await writeYarnArgDumpStub({ binDir, outputPath });
|
|
1307
|
+
applyEnvOverrides(t, {
|
|
1308
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1309
|
+
OUTPUT_PATH: outputPath,
|
|
1310
|
+
HAPPIER_STACK_HOME_DIR: join(root, 'home'),
|
|
1311
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1312
|
+
});
|
|
1313
|
+
|
|
1314
|
+
await ensureDepsInstalled(componentDir, 'component', { quiet: true, env: process.env });
|
|
1315
|
+
await ensureDepsInstalled(componentDir, 'component', { quiet: true, env: process.env });
|
|
1316
|
+
|
|
1317
|
+
const out = await readFile(outputPath, 'utf-8');
|
|
1318
|
+
const installs = out.split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1319
|
+
assert.equal(installs.length, 1, `expected one missing-lock marker bootstrap and then a warm skip, got:\n${out}`);
|
|
1320
|
+
});
|
|
1321
|
+
|
|
1322
|
+
test('ensureDepsInstalled bootstraps one canonical snapshot when legacy node_modules has no Yarn integrity', async (t) => {
|
|
1323
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-happy-monorepo-missing-integrity-'));
|
|
1324
|
+
t.after(async () => {
|
|
1325
|
+
await rm(root, { recursive: true, force: true });
|
|
1326
|
+
});
|
|
1327
|
+
|
|
1328
|
+
await mkdir(join(root, 'apps', 'ui'), { recursive: true });
|
|
1329
|
+
await mkdir(join(root, 'apps', 'cli'), { recursive: true });
|
|
1330
|
+
await mkdir(join(root, 'apps', 'server'), { recursive: true });
|
|
1331
|
+
await writeFile(join(root, 'apps', 'ui', 'package.json'), '{}\n', 'utf-8');
|
|
1332
|
+
await writeFile(join(root, 'apps', 'cli', 'package.json'), '{}\n', 'utf-8');
|
|
1333
|
+
await writeFile(join(root, 'apps', 'server', 'package.json'), '{}\n', 'utf-8');
|
|
1334
|
+
await writeFile(join(root, 'package.json'), '{ "name": "monorepo", "private": true }\n', 'utf-8');
|
|
1335
|
+
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1336
|
+
|
|
1337
|
+
await mkdir(join(root, 'node_modules', '@scope', 'pkg'), { recursive: true });
|
|
1338
|
+
await writeFile(join(root, 'node_modules', '.placeholder'), 'ok\n', 'utf-8');
|
|
1339
|
+
await writeFile(join(root, 'node_modules', '@scope', 'pkg', 'package.json'), '{}\n', 'utf-8');
|
|
1340
|
+
|
|
1341
|
+
const base = Date.now();
|
|
1342
|
+
const older = new Date(base - 10_000);
|
|
1343
|
+
const newer = new Date(base);
|
|
1344
|
+
await Promise.all([
|
|
1345
|
+
utimes(join(root, 'package.json'), older, older),
|
|
1346
|
+
utimes(join(root, 'yarn.lock'), older, older),
|
|
1347
|
+
utimes(join(root, 'apps', 'ui', 'package.json'), older, older),
|
|
1348
|
+
utimes(join(root, 'apps', 'cli', 'package.json'), older, older),
|
|
1349
|
+
utimes(join(root, 'apps', 'server', 'package.json'), older, older),
|
|
1350
|
+
utimes(join(root, 'node_modules'), newer, newer),
|
|
1351
|
+
]);
|
|
1352
|
+
|
|
1353
|
+
const binDir = join(root, 'bin');
|
|
1354
|
+
const outputPath = join(root, 'argv.txt');
|
|
1355
|
+
await writeYarnArgDumpStub({ binDir, outputPath });
|
|
1356
|
+
|
|
1357
|
+
applyEnvOverrides(t, {
|
|
1358
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1359
|
+
OUTPUT_PATH: outputPath,
|
|
1360
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1361
|
+
});
|
|
1362
|
+
|
|
1363
|
+
await ensureDepsInstalled(join(root, 'apps', 'ui'), 'happier-ui', { quiet: true });
|
|
1364
|
+
await ensureDepsInstalled(join(root, 'apps', 'ui'), 'happier-ui', { quiet: true });
|
|
1365
|
+
const out = await readFile(outputPath, 'utf-8');
|
|
1366
|
+
const installs = out.split('\n').filter((line) => /\binstall\b/.test(line));
|
|
1367
|
+
assert.equal(installs.length, 1, `expected one canonical marker bootstrap and then a warm skip, got:\n${out}`);
|
|
1368
|
+
});
|
|
1369
|
+
|
|
1370
|
+
test('ensureDepsInstalled falls back to npm in binary mode when yarn is unavailable', async (t) => {
|
|
1371
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-binary-mode-npm-'));
|
|
1372
|
+
t.after(async () => {
|
|
1373
|
+
await rm(root, { recursive: true, force: true });
|
|
1374
|
+
});
|
|
1375
|
+
|
|
1376
|
+
const componentDir = join(root, 'component');
|
|
1377
|
+
await mkdir(componentDir, { recursive: true });
|
|
1378
|
+
await writeFile(join(componentDir, 'package.json'), '{}\n', 'utf-8');
|
|
1379
|
+
|
|
1380
|
+
const binDir = join(root, 'bin');
|
|
1381
|
+
const outputPath = join(root, 'argv.txt');
|
|
1382
|
+
await writeNpmArgDumpStub({ binDir, outputPath });
|
|
1383
|
+
|
|
1384
|
+
applyEnvOverrides(t, {
|
|
1385
|
+
PATH: binDir,
|
|
1386
|
+
OUTPUT_PATH: outputPath,
|
|
1387
|
+
HAPPIER_STACK_BINARY_MODE: '1',
|
|
1388
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1389
|
+
});
|
|
1390
|
+
|
|
1391
|
+
await ensureDepsInstalled(componentDir, 'binary-mode-component', { quiet: true });
|
|
1392
|
+
const out = await readFile(outputPath, 'utf-8');
|
|
1393
|
+
assert.match(out, /install/);
|
|
1394
|
+
});
|
|
1395
|
+
|
|
1396
|
+
test('ensureDepsInstalled uses Corepack Yarn when a global Yarn shim is unavailable', async (t) => {
|
|
1397
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-corepack-yarn-'));
|
|
1398
|
+
t.after(async () => {
|
|
1399
|
+
await rm(root, { recursive: true, force: true });
|
|
1400
|
+
});
|
|
1401
|
+
|
|
1402
|
+
const componentDir = join(root, 'component');
|
|
1403
|
+
await mkdir(join(componentDir, 'node_modules'), { recursive: true });
|
|
1404
|
+
await writeFile(join(componentDir, 'package.json'), '{}\n', 'utf-8');
|
|
1405
|
+
|
|
1406
|
+
const binDir = join(root, 'bin');
|
|
1407
|
+
const outputPath = join(root, 'argv.txt');
|
|
1408
|
+
await writeCorepackYarnArgDumpStub({ binDir, outputPath });
|
|
1409
|
+
|
|
1410
|
+
await ensureDepsInstalled(componentDir, 'corepack-component', {
|
|
1411
|
+
quiet: true,
|
|
1412
|
+
env: {
|
|
1413
|
+
...process.env,
|
|
1414
|
+
PATH: binDir,
|
|
1415
|
+
OUTPUT_PATH: outputPath,
|
|
1416
|
+
HAPPIER_STACK_BINARY_MODE: '0',
|
|
1417
|
+
HAPPIER_STACK_ENV_FILE: '',
|
|
1418
|
+
HAPPIER_STACK_SKIP_REFRESH_DEPS: '1',
|
|
1419
|
+
},
|
|
1420
|
+
});
|
|
1421
|
+
|
|
1422
|
+
assert.equal(await readFile(outputPath, 'utf-8'), 'yarn --version\n');
|
|
1423
|
+
});
|
|
1424
|
+
|
|
1425
|
+
test('ensureDepsInstalled preserves a Windows-style Path key while preparing Corepack Yarn', async (t) => {
|
|
1426
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-corepack-windows-path-'));
|
|
1427
|
+
t.after(async () => {
|
|
1428
|
+
await rm(root, { recursive: true, force: true });
|
|
1429
|
+
});
|
|
1430
|
+
|
|
1431
|
+
const componentDir = join(root, 'component');
|
|
1432
|
+
await mkdir(join(componentDir, 'node_modules'), { recursive: true });
|
|
1433
|
+
await writeFile(join(componentDir, 'package.json'), '{}\n', 'utf-8');
|
|
1434
|
+
|
|
1435
|
+
const binDir = join(root, 'bin');
|
|
1436
|
+
const outputPath = join(root, 'argv.txt');
|
|
1437
|
+
await writeCorepackYarnArgDumpStub({ binDir, outputPath });
|
|
1438
|
+
|
|
1439
|
+
const env = {
|
|
1440
|
+
...process.env,
|
|
1441
|
+
Path: binDir,
|
|
1442
|
+
OUTPUT_PATH: outputPath,
|
|
1443
|
+
HAPPIER_STACK_BINARY_MODE: '0',
|
|
1444
|
+
HAPPIER_STACK_ENV_FILE: '',
|
|
1445
|
+
HAPPIER_STACK_SKIP_REFRESH_DEPS: '1',
|
|
1446
|
+
};
|
|
1447
|
+
delete env.PATH;
|
|
1448
|
+
|
|
1449
|
+
await ensureDepsInstalled(componentDir, 'corepack-component', { quiet: true, env });
|
|
1450
|
+
assert.equal(await readFile(outputPath, 'utf-8'), 'yarn --version\n');
|
|
1451
|
+
});
|
|
1452
|
+
|
|
1453
|
+
test('pmExecBin sets stack-scoped cache env vars for yarn runs', async (t) => {
|
|
1454
|
+
const fixture = await createStackCacheFixture(t, 'hs-pm-stack-cache-exec-');
|
|
1455
|
+
const { root, envPath, componentDir, binDir } = fixture;
|
|
1456
|
+
const outputPath = join(root, 'env.json');
|
|
1457
|
+
await writeYarnEnvDumpStub({ binDir, outputPath });
|
|
1458
|
+
|
|
1459
|
+
const exp = expectedCacheEnv({ envPath });
|
|
1460
|
+
applyEnvOverrides(t, {
|
|
1461
|
+
PATH: `${binDir}:${process.env.PATH ?? ''}`,
|
|
1462
|
+
OUTPUT_PATH: outputPath,
|
|
1463
|
+
HAPPIER_STACK_ENV_FILE: envPath,
|
|
1464
|
+
XDG_CACHE_HOME: null,
|
|
1465
|
+
YARN_CACHE_FOLDER: null,
|
|
1466
|
+
npm_config_cache: null,
|
|
1467
|
+
});
|
|
1468
|
+
|
|
1469
|
+
await pmExecBin({ dir: componentDir, bin: 'prisma', args: ['generate'], env: process.env, quiet: true });
|
|
1470
|
+
const parsed = JSON.parse(await readFile(outputPath, 'utf-8'));
|
|
1471
|
+
assert.equal(parsed.XDG_CACHE_HOME, exp.xdg);
|
|
1472
|
+
assert.equal(parsed.YARN_CACHE_FOLDER, exp.yarn);
|
|
1473
|
+
assert.equal(parsed.npm_config_cache, exp.npm);
|
|
1474
|
+
});
|
|
1475
|
+
|
|
1476
|
+
test('ensureCliBuilt delegates atomic dist promotion to the CLI build owner', async (t) => {
|
|
1477
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-owner-promotion-'));
|
|
1478
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
1479
|
+
|
|
1480
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
1481
|
+
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
1482
|
+
await mkdir(join(cliDir, 'dist'), { recursive: true });
|
|
1483
|
+
await writeFile(join(cliDir, 'package.json'), '{ "name": "cli-test" }\n', 'utf-8');
|
|
1484
|
+
await writeFile(join(cliDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1485
|
+
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1486
|
+
await writeFile(join(cliDir, 'dist', 'index.mjs'), 'export const stable = true;\n', 'utf-8');
|
|
1487
|
+
|
|
1488
|
+
const binDir = join(root, 'bin');
|
|
1489
|
+
const outputPath = join(root, 'argv.txt');
|
|
1490
|
+
await writeYarnBuildAtomicallyPromotesDistStub({ binDir, outputPath });
|
|
1491
|
+
applyEnvOverrides(t, {
|
|
1492
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1493
|
+
OUTPUT_PATH: outputPath,
|
|
1494
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'always',
|
|
1495
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1496
|
+
});
|
|
1497
|
+
|
|
1498
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1499
|
+
|
|
1500
|
+
assert.equal(
|
|
1501
|
+
await readFile(join(cliDir, 'dist', 'index.mjs'), 'utf-8'),
|
|
1502
|
+
'export const built = true;\n',
|
|
1503
|
+
);
|
|
1504
|
+
});
|
|
1505
|
+
|
|
1506
|
+
test('ensureCliBuilt declares its held lock so the CLI build owner cannot self-wait', async (t) => {
|
|
1507
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-lock-protocol-'));
|
|
1508
|
+
t.after(async () => rm(root, { recursive: true, force: true }));
|
|
1509
|
+
|
|
1510
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
1511
|
+
for (const app of ['cli', 'ui', 'server']) {
|
|
1512
|
+
const appDir = join(root, 'apps', app);
|
|
1513
|
+
await mkdir(appDir, { recursive: true });
|
|
1514
|
+
await writeFile(join(appDir, 'package.json'), `{ "name": "${app}-test" }\n`, 'utf-8');
|
|
1515
|
+
}
|
|
1516
|
+
await writeFile(join(root, 'package.json'), '{ "private": true }\n', 'utf-8');
|
|
1517
|
+
await writeFile(join(root, 'yarn.lock'), '# root yarn\n', 'utf-8');
|
|
1518
|
+
await mkdir(join(root, 'node_modules'), { recursive: true });
|
|
1519
|
+
await writeFile(join(root, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1520
|
+
await mkdir(join(cliDir, 'dist'), { recursive: true });
|
|
1521
|
+
await writeFile(join(cliDir, 'dist', 'index.mjs'), 'export const stable = true;\n', 'utf-8');
|
|
1522
|
+
|
|
1523
|
+
const binDir = join(root, 'bin');
|
|
1524
|
+
const outputPath = join(root, 'argv.txt');
|
|
1525
|
+
const cliLockModulePath = fileURLToPath(
|
|
1526
|
+
new URL('../../../../cli/scripts/optionalWorkspaceBundleLock.mjs', import.meta.url),
|
|
1527
|
+
);
|
|
1528
|
+
await writeYarnBuildUsesCliLockProtocolStub({ binDir, outputPath, cliLockModulePath });
|
|
1529
|
+
applyEnvOverrides(t, {
|
|
1530
|
+
PATH: `${binDir}:${process.env.PATH ?? ''}`,
|
|
1531
|
+
OUTPUT_PATH: outputPath,
|
|
1532
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'always',
|
|
1533
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1534
|
+
});
|
|
1535
|
+
|
|
1536
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1537
|
+
|
|
1538
|
+
assert.equal(await readFile(join(cliDir, 'dist', 'index.mjs'), 'utf-8'), 'export const built = true;\n');
|
|
1539
|
+
});
|
|
1540
|
+
|
|
1541
|
+
test('ensureCliBuilt restores previous dist output when build fails', async (t) => {
|
|
1542
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-restore-'));
|
|
1543
|
+
t.after(async () => {
|
|
1544
|
+
await rm(root, { recursive: true, force: true });
|
|
1545
|
+
});
|
|
1546
|
+
|
|
1547
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
1548
|
+
await mkdir(cliDir, { recursive: true });
|
|
1549
|
+
await writeFile(join(cliDir, 'package.json'), '{ "name": "cli-test" }\n', 'utf-8');
|
|
1550
|
+
await writeFile(join(cliDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1551
|
+
await writeFile(join(cliDir, '.gitignore'), 'dist/\n', 'utf-8');
|
|
1552
|
+
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
1553
|
+
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1554
|
+
|
|
1555
|
+
const distIndex = join(cliDir, 'dist', 'index.mjs');
|
|
1556
|
+
await mkdir(dirname(distIndex), { recursive: true });
|
|
1557
|
+
await writeFile(distIndex, 'export const stable = true;\n', 'utf-8');
|
|
1558
|
+
|
|
1559
|
+
const binDir = join(root, 'bin');
|
|
1560
|
+
const outputPath = join(root, 'argv.txt');
|
|
1561
|
+
await writeYarnBuildFailsBeforePromotionStub({ binDir, outputPath });
|
|
1562
|
+
|
|
1563
|
+
applyEnvOverrides(t, {
|
|
1564
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1565
|
+
OUTPUT_PATH: outputPath,
|
|
1566
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'always',
|
|
1567
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1568
|
+
});
|
|
1569
|
+
await assert.rejects(
|
|
784
1570
|
() => ensureCliBuilt(cliDir, { buildCli: true, quiet: true }),
|
|
785
1571
|
);
|
|
786
1572
|
const restored = await readFile(distIndex, 'utf-8');
|
|
@@ -821,7 +1607,89 @@ test('ensureCliBuilt restores previous dist output when build produces a broken
|
|
|
821
1607
|
assert.equal(restored, 'export const stable = true;\n');
|
|
822
1608
|
});
|
|
823
1609
|
|
|
824
|
-
test('ensureCliBuilt
|
|
1610
|
+
test('ensureCliBuilt keeps the previous dist readable while a staged build is in progress', async (t) => {
|
|
1611
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-live-dist-'));
|
|
1612
|
+
t.after(async () => {
|
|
1613
|
+
await rm(root, { recursive: true, force: true });
|
|
1614
|
+
});
|
|
1615
|
+
|
|
1616
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
1617
|
+
await mkdir(cliDir, { recursive: true });
|
|
1618
|
+
await writeFile(join(cliDir, 'package.json'), '{ "name": "cli-test" }\n', 'utf-8');
|
|
1619
|
+
await writeFile(join(cliDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1620
|
+
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
1621
|
+
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1622
|
+
|
|
1623
|
+
const distIndex = join(cliDir, 'dist', 'index.mjs');
|
|
1624
|
+
await mkdir(dirname(distIndex), { recursive: true });
|
|
1625
|
+
await writeFile(distIndex, 'export const stable = true;\n', 'utf-8');
|
|
1626
|
+
|
|
1627
|
+
const binDir = join(root, 'bin');
|
|
1628
|
+
const outputPath = join(root, 'argv.txt');
|
|
1629
|
+
const buildSignalPath = join(root, 'build-started.txt');
|
|
1630
|
+
await writeYarnSlowBuildCreatesDistStub({ binDir, outputPath, cliDir });
|
|
1631
|
+
|
|
1632
|
+
applyEnvOverrides(t, {
|
|
1633
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1634
|
+
OUTPUT_PATH: outputPath,
|
|
1635
|
+
BUILD_SIGNAL_PATH: buildSignalPath,
|
|
1636
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'always',
|
|
1637
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1638
|
+
});
|
|
1639
|
+
|
|
1640
|
+
const buildPromise = ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1641
|
+
await waitForFileText(buildSignalPath, /started/);
|
|
1642
|
+
|
|
1643
|
+
assert.equal(await readFile(distIndex, 'utf-8'), 'export const stable = true;\n');
|
|
1644
|
+
|
|
1645
|
+
await buildPromise;
|
|
1646
|
+
assert.equal(await readFile(distIndex, 'utf-8'), 'export const built = true;\n');
|
|
1647
|
+
|
|
1648
|
+
const stagedOutDir = (await readFile(`${outputPath}.outdir`, 'utf-8')).trim();
|
|
1649
|
+
assert.notEqual(stagedOutDir, 'dist');
|
|
1650
|
+
await assert.rejects(() => stat(join(cliDir, '.dist.hstack-backup')));
|
|
1651
|
+
});
|
|
1652
|
+
|
|
1653
|
+
test('ensureCliBuilt rejects staged ESM link failures before promoting over the previous dist', async (t) => {
|
|
1654
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-esm-link-'));
|
|
1655
|
+
t.after(async () => {
|
|
1656
|
+
await rm(root, { recursive: true, force: true });
|
|
1657
|
+
});
|
|
1658
|
+
|
|
1659
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
1660
|
+
await mkdir(cliDir, { recursive: true });
|
|
1661
|
+
await writeFile(join(cliDir, 'package.json'), '{ "name": "cli-test" }\n', 'utf-8');
|
|
1662
|
+
await writeFile(join(cliDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1663
|
+
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
1664
|
+
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1665
|
+
|
|
1666
|
+
const distIndex = join(cliDir, 'dist', 'index.mjs');
|
|
1667
|
+
await mkdir(dirname(distIndex), { recursive: true });
|
|
1668
|
+
await writeFile(distIndex, 'export const stable = true;\n', 'utf-8');
|
|
1669
|
+
|
|
1670
|
+
const binDir = join(root, 'bin');
|
|
1671
|
+
const outputPath = join(root, 'argv.txt');
|
|
1672
|
+
await writeYarnBuildCreatesEsmLinkFailureStub({ binDir, outputPath });
|
|
1673
|
+
|
|
1674
|
+
applyEnvOverrides(t, {
|
|
1675
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1676
|
+
OUTPUT_PATH: outputPath,
|
|
1677
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'always',
|
|
1678
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1679
|
+
});
|
|
1680
|
+
|
|
1681
|
+
await assert.rejects(
|
|
1682
|
+
() => ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env }),
|
|
1683
|
+
);
|
|
1684
|
+
|
|
1685
|
+
assert.equal(
|
|
1686
|
+
await readFile(distIndex, 'utf-8'),
|
|
1687
|
+
'export const stable = true;\n',
|
|
1688
|
+
);
|
|
1689
|
+
await assert.rejects(() => stat(join(cliDir, '.dist.hstack-backup')));
|
|
1690
|
+
});
|
|
1691
|
+
|
|
1692
|
+
test('ensureCliBuilt serializes concurrent rebuilds so a fresh dist is built once', async (t) => {
|
|
825
1693
|
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-lock-'));
|
|
826
1694
|
t.after(async () => {
|
|
827
1695
|
await rm(root, { recursive: true, force: true });
|
|
@@ -870,57 +1738,58 @@ test('ensureCliBuilt serializes concurrent rebuilds so dist is built once when t
|
|
|
870
1738
|
assert.equal(await readFile(distIndex, 'utf-8'), 'export const built = true;\n');
|
|
871
1739
|
});
|
|
872
1740
|
|
|
873
|
-
test('ensureCliBuilt rebuilds
|
|
1741
|
+
test('ensureCliBuilt rebuilds an atomic publication when runtime inputs changed during it', async (t) => {
|
|
874
1742
|
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-lock-always-dirty-'));
|
|
875
1743
|
t.after(async () => {
|
|
876
1744
|
await rm(root, { recursive: true, force: true });
|
|
877
1745
|
});
|
|
878
1746
|
|
|
879
1747
|
const cliDir = join(root, 'apps', 'cli');
|
|
880
|
-
await mkdir(cliDir, { recursive: true });
|
|
1748
|
+
await mkdir(join(cliDir, 'src'), { recursive: true });
|
|
881
1749
|
await writeFile(join(cliDir, 'package.json'), '{ "name": "cli-test" }\n', 'utf-8');
|
|
882
1750
|
await writeFile(join(cliDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
883
1751
|
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
884
1752
|
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
885
|
-
await writeFile(join(cliDir, 'tracked.txt'), 'initial\n', 'utf-8');
|
|
886
|
-
|
|
887
|
-
await runCapture('git', ['init'], { cwd: cliDir });
|
|
888
|
-
await runCapture('git', ['config', 'user.email', 'hstack-test@example.test'], { cwd: cliDir });
|
|
889
|
-
await runCapture('git', ['config', 'user.name', 'hstack-test'], { cwd: cliDir });
|
|
890
|
-
await runCapture('git', ['add', '.'], { cwd: cliDir });
|
|
891
|
-
await runCapture('git', ['commit', '-m', 'init'], { cwd: cliDir });
|
|
1753
|
+
await writeFile(join(cliDir, 'src', 'tracked.txt'), 'initial\n', 'utf-8');
|
|
892
1754
|
|
|
893
1755
|
const binDir = join(root, 'bin');
|
|
894
1756
|
const outputPath = join(root, 'argv.txt');
|
|
895
1757
|
await mkdir(binDir, { recursive: true });
|
|
896
|
-
const
|
|
1758
|
+
const stubPath = join(binDir, 'yarn-stub.cjs');
|
|
897
1759
|
await writeFile(
|
|
898
|
-
|
|
1760
|
+
stubPath,
|
|
899
1761
|
[
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
'
|
|
903
|
-
|
|
904
|
-
'
|
|
905
|
-
'
|
|
906
|
-
'
|
|
907
|
-
|
|
908
|
-
'
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
'
|
|
913
|
-
'exit 0',
|
|
1762
|
+
"const { appendFileSync, mkdirSync, readFileSync, writeFileSync } = require('node:fs');",
|
|
1763
|
+
"const { join } = require('node:path');",
|
|
1764
|
+
'const args = process.argv.slice(2);',
|
|
1765
|
+
"appendFileSync(process.env.OUTPUT_PATH, args.join(' ') + '\\n');",
|
|
1766
|
+
"if (args[0] === '--version') { console.log('1.22.22'); process.exit(0); }",
|
|
1767
|
+
"if (args[0] !== 'build') process.exit(0);",
|
|
1768
|
+
"const tracked = readFileSync(join(process.cwd(), 'src', 'tracked.txt'), 'utf8').trim();",
|
|
1769
|
+
"appendFileSync(process.env.OUTPUT_PATH, 'captured\\n');",
|
|
1770
|
+
'Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, 1_000);',
|
|
1771
|
+
"const outDir = process.env.HAPPIER_CLI_BUILD_OUTPUT_DIR || 'dist';",
|
|
1772
|
+
'mkdirSync(outDir, { recursive: true });',
|
|
1773
|
+
"writeFileSync(join(outDir, 'index.mjs'), `export const tracked = ${JSON.stringify(tracked)};\\n`);",
|
|
1774
|
+
"writeFileSync(join(outDir, '.build-manifest.json'), '{\"fingerprint\":\"0123456789abcdef\",\"fileCount\":1}\\n');",
|
|
914
1775
|
].join('\n') + '\n',
|
|
915
1776
|
'utf-8'
|
|
916
1777
|
);
|
|
1778
|
+
const yarnPath = join(binDir, process.platform === 'win32' ? 'yarn.cmd' : 'yarn');
|
|
1779
|
+
await writeFile(
|
|
1780
|
+
yarnPath,
|
|
1781
|
+
process.platform === 'win32'
|
|
1782
|
+
? `@echo off\r\n"${process.execPath}" "%~dp0yarn-stub.cjs" %*\r\n`
|
|
1783
|
+
: `#!/usr/bin/env sh\nexec ${JSON.stringify(process.execPath)} "$(dirname "$0")/yarn-stub.cjs" "$@"\n`,
|
|
1784
|
+
'utf-8',
|
|
1785
|
+
);
|
|
917
1786
|
await chmod(yarnPath, 0o755);
|
|
918
1787
|
await writeFile(outputPath, '', 'utf-8');
|
|
919
1788
|
|
|
920
1789
|
applyEnvOverrides(t, {
|
|
921
|
-
PATH:
|
|
1790
|
+
PATH: [binDir, process.env.PATH].filter(Boolean).join(delimiter),
|
|
922
1791
|
OUTPUT_PATH: outputPath,
|
|
923
|
-
HAPPIER_STACK_CLI_BUILD_MODE: '
|
|
1792
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'auto',
|
|
924
1793
|
HAPPIER_STACK_HOME_DIR: join(root, 'home'),
|
|
925
1794
|
HAPPIER_STACK_ENV_FILE: null,
|
|
926
1795
|
});
|
|
@@ -930,11 +1799,16 @@ test('ensureCliBuilt rebuilds after waiting in always mode when worktree changed
|
|
|
930
1799
|
await writeFile(distIndex, 'export const stable = true;\n', 'utf-8');
|
|
931
1800
|
|
|
932
1801
|
const firstBuildPromise = ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
933
|
-
await waitForFileText(outputPath, /(^|\n)
|
|
934
|
-
|
|
935
|
-
|
|
1802
|
+
await waitForFileText(outputPath, /(^|\n)captured(\n|$)/);
|
|
1803
|
+
await writeFile(join(cliDir, 'src', 'tracked.txt'), 'changed during build\n', 'utf-8');
|
|
1804
|
+
|
|
1805
|
+
const firstBuild = await firstBuildPromise;
|
|
936
1806
|
|
|
937
|
-
|
|
1807
|
+
assert.deepEqual(firstBuild, { built: true, current: false, reason: 'inputs_changed_during_build' });
|
|
1808
|
+
assert.equal(await readFile(distIndex, 'utf-8'), 'export const tracked = "initial";\n');
|
|
1809
|
+
|
|
1810
|
+
const trailingBuild = await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1811
|
+
assert.deepEqual(trailingBuild, { built: true, current: true, reason: 'changed' });
|
|
938
1812
|
|
|
939
1813
|
const argv = await readFile(outputPath, 'utf-8');
|
|
940
1814
|
const buildInvocations = argv
|
|
@@ -942,10 +1816,10 @@ test('ensureCliBuilt rebuilds after waiting in always mode when worktree changed
|
|
|
942
1816
|
.map((line) => line.trim())
|
|
943
1817
|
.filter((line) => line === 'build');
|
|
944
1818
|
assert.equal(buildInvocations.length, 2);
|
|
945
|
-
assert.equal(await readFile(distIndex, 'utf-8'), 'export const
|
|
1819
|
+
assert.equal(await readFile(distIndex, 'utf-8'), 'export const tracked = "changed during build";\n');
|
|
946
1820
|
});
|
|
947
1821
|
|
|
948
|
-
test('ensureCliBuilt
|
|
1822
|
+
test('ensureCliBuilt ignores stale legacy .dist.hstack-backup and rebuilds through staged output', async (t) => {
|
|
949
1823
|
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-interrupted-'));
|
|
950
1824
|
t.after(async () => {
|
|
951
1825
|
await rm(root, { recursive: true, force: true });
|
|
@@ -958,8 +1832,8 @@ test('ensureCliBuilt restores dist from .dist.hstack-backup when previous build
|
|
|
958
1832
|
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
959
1833
|
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
960
1834
|
|
|
961
|
-
//
|
|
962
|
-
//
|
|
1835
|
+
// Legacy interrupted builds could leave this backup directory behind. The atomic builder must
|
|
1836
|
+
// not restore it as a second recovery path.
|
|
963
1837
|
const distBackupDir = join(cliDir, '.dist.hstack-backup');
|
|
964
1838
|
const backupIndex = join(distBackupDir, 'index.mjs');
|
|
965
1839
|
await mkdir(dirname(backupIndex), { recursive: true });
|
|
@@ -967,7 +1841,7 @@ test('ensureCliBuilt restores dist from .dist.hstack-backup when previous build
|
|
|
967
1841
|
|
|
968
1842
|
const binDir = join(root, 'bin');
|
|
969
1843
|
const outputPath = join(root, 'argv.txt');
|
|
970
|
-
await
|
|
1844
|
+
await writeYarnBuildCreatesDistStub({ binDir, outputPath, cliDir });
|
|
971
1845
|
|
|
972
1846
|
applyEnvOverrides(t, {
|
|
973
1847
|
PATH: `${binDir}:/usr/bin:/bin`,
|
|
@@ -979,20 +1853,320 @@ test('ensureCliBuilt restores dist from .dist.hstack-backup when previous build
|
|
|
979
1853
|
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true });
|
|
980
1854
|
|
|
981
1855
|
const distIndex = join(cliDir, 'dist', 'index.mjs');
|
|
982
|
-
const
|
|
983
|
-
assert.equal(
|
|
1856
|
+
const rebuilt = await readFile(distIndex, 'utf-8');
|
|
1857
|
+
assert.equal(rebuilt, 'export const built = true;\n');
|
|
1858
|
+
const argv = await readFile(outputPath, 'utf-8');
|
|
1859
|
+
assert.match(argv, /(^|\n)build(\n|$)/);
|
|
1860
|
+
await assert.rejects(() => stat(distBackupDir));
|
|
1861
|
+
});
|
|
1862
|
+
|
|
1863
|
+
test('ensureCliBuilt rebuilds only for CLI runtime and build inputs in a nested monorepo package', async (t) => {
|
|
1864
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-dirty-content-'));
|
|
1865
|
+
t.after(async () => {
|
|
1866
|
+
await rm(root, { recursive: true, force: true });
|
|
1867
|
+
});
|
|
1868
|
+
|
|
1869
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
1870
|
+
const cliSrcDir = join(cliDir, 'src');
|
|
1871
|
+
const cliScriptsDir = join(cliDir, 'scripts');
|
|
1872
|
+
const uiSrcDir = join(root, 'apps', 'ui', 'src');
|
|
1873
|
+
const workspaceScriptsDir = join(root, 'scripts', 'workspaces');
|
|
1874
|
+
await mkdir(cliSrcDir, { recursive: true });
|
|
1875
|
+
await mkdir(cliScriptsDir, { recursive: true });
|
|
1876
|
+
await mkdir(uiSrcDir, { recursive: true });
|
|
1877
|
+
await mkdir(workspaceScriptsDir, { recursive: true });
|
|
1878
|
+
await writeFile(join(cliDir, 'package.json'), '{ "name": "cli-test" }\n', 'utf-8');
|
|
1879
|
+
await writeFile(join(cliDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
1880
|
+
await writeFile(join(cliDir, '.gitignore'), 'dist/\n', 'utf-8');
|
|
1881
|
+
await writeFile(join(cliSrcDir, 'tracked.txt'), 'clean\n', 'utf-8');
|
|
1882
|
+
await writeFile(join(cliScriptsDir, 'build-helper.mjs'), 'export const version = 1;\n', 'utf-8');
|
|
1883
|
+
await writeFile(join(uiSrcDir, 'unrelated.txt'), 'clean\n', 'utf-8');
|
|
1884
|
+
await writeFile(join(workspaceScriptsDir, 'compiler-helper.mjs'), 'export const version = 1;\n', 'utf-8');
|
|
1885
|
+
await writeFile(join(root, '.gitignore'), '/.project/\n/bin/\n/home/\n/argv.txt\n', 'utf-8');
|
|
1886
|
+
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
1887
|
+
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
1888
|
+
|
|
1889
|
+
await runCapture('git', ['init'], { cwd: root });
|
|
1890
|
+
await runCapture('git', ['config', 'user.email', 'hstack-test@example.test'], { cwd: root });
|
|
1891
|
+
await runCapture('git', ['config', 'user.name', 'hstack-test'], { cwd: root });
|
|
1892
|
+
await runCapture('git', ['add', '.'], { cwd: root });
|
|
1893
|
+
await runCapture('git', ['commit', '-m', 'init'], { cwd: root });
|
|
1894
|
+
|
|
1895
|
+
const binDir = join(root, 'bin');
|
|
1896
|
+
const outputPath = join(root, 'argv.txt');
|
|
1897
|
+
await mkdir(binDir, { recursive: true });
|
|
1898
|
+
const yarnPath = join(binDir, 'yarn');
|
|
1899
|
+
await writeFile(
|
|
1900
|
+
yarnPath,
|
|
1901
|
+
[
|
|
1902
|
+
'#!/usr/bin/env bash',
|
|
1903
|
+
'set -euo pipefail',
|
|
1904
|
+
'echo "$*" >> "${OUTPUT_PATH:?}"',
|
|
1905
|
+
'if [ "${1:-}" = "--version" ]; then',
|
|
1906
|
+
' echo "1.22.22"',
|
|
1907
|
+
' exit 0',
|
|
1908
|
+
'fi',
|
|
1909
|
+
'if [ "${1:-}" = "build" ]; then',
|
|
1910
|
+
' out_dir="${HAPPIER_CLI_BUILD_OUTPUT_DIR:-dist}"',
|
|
1911
|
+
' mkdir -p "$out_dir"',
|
|
1912
|
+
' value="$(tr -d \'\\n\' < src/tracked.txt)"',
|
|
1913
|
+
' printf "export const tracked = \\"%s\\";\\n" "$value" > "$out_dir/index.mjs"',
|
|
1914
|
+
' printf \'{"fingerprint":"0123456789abcdef","fileCount":1}\\n\' > "$out_dir/.build-manifest.json"',
|
|
1915
|
+
' exit 0',
|
|
1916
|
+
'fi',
|
|
1917
|
+
'exit 0',
|
|
1918
|
+
].join('\n') + '\n',
|
|
1919
|
+
'utf-8',
|
|
1920
|
+
);
|
|
1921
|
+
await chmod(yarnPath, 0o755);
|
|
1922
|
+
await writeFile(outputPath, '', 'utf-8');
|
|
1923
|
+
|
|
1924
|
+
applyEnvOverrides(t, {
|
|
1925
|
+
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1926
|
+
OUTPUT_PATH: outputPath,
|
|
1927
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'auto',
|
|
1928
|
+
HAPPIER_STACK_HOME_DIR: join(root, 'home'),
|
|
1929
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
1930
|
+
});
|
|
1931
|
+
|
|
1932
|
+
await writeFile(join(cliSrcDir, 'tracked.txt'), 'dirty one\n', 'utf-8');
|
|
1933
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1934
|
+
await writeFile(join(uiSrcDir, 'unrelated.txt'), 'dirty but unrelated\n', 'utf-8');
|
|
1935
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1936
|
+
const assertTestOnlyInputDoesNotRebuild = async (path) => {
|
|
1937
|
+
await mkdir(dirname(path), { recursive: true });
|
|
1938
|
+
await writeFile(path, 'export const testOnly = 1;\n', 'utf-8');
|
|
1939
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1940
|
+
const buildsBeforeContentEdit = (await readFile(outputPath, 'utf-8'))
|
|
1941
|
+
.split('\n')
|
|
1942
|
+
.filter((line) => line.trim() === 'build').length;
|
|
1943
|
+
await writeFile(path, 'export const testOnly = 2;\n', 'utf-8');
|
|
1944
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1945
|
+
const buildsAfterContentEdit = (await readFile(outputPath, 'utf-8'))
|
|
1946
|
+
.split('\n')
|
|
1947
|
+
.filter((line) => line.trim() === 'build').length;
|
|
1948
|
+
assert.equal(buildsAfterContentEdit, buildsBeforeContentEdit, `${path} content edit must stay ignored`);
|
|
1949
|
+
await rm(path, { force: true });
|
|
1950
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1951
|
+
};
|
|
1952
|
+
await assertTestOnlyInputDoesNotRebuild(join(cliSrcDir, 'testkit', 'nested', 'runtimeFixture.ts'));
|
|
1953
|
+
await assertTestOnlyInputDoesNotRebuild(join(cliSrcDir, 'runtimeFixture.testkit.ts'));
|
|
1954
|
+
await assertTestOnlyInputDoesNotRebuild(join(cliSrcDir, 'vitestSetup.ts'));
|
|
1955
|
+
await writeFile(join(cliScriptsDir, 'build-helper.mjs'), 'export const version = 2;\n', 'utf-8');
|
|
1956
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1957
|
+
await writeFile(join(workspaceScriptsDir, 'compiler-helper.mjs'), 'export const version = 2;\n', 'utf-8');
|
|
1958
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1959
|
+
await writeFile(join(cliSrcDir, 'tracked.txt'), 'dirty two\n', 'utf-8');
|
|
1960
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1961
|
+
await writeFile(join(cliSrcDir, 'untracked.txt'), 'untracked one\n', 'utf-8');
|
|
1962
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1963
|
+
await writeFile(join(cliSrcDir, 'untracked.txt'), 'untracked two\n', 'utf-8');
|
|
1964
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1965
|
+
await rm(join(cliSrcDir, 'untracked.txt'));
|
|
1966
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1967
|
+
await rm(join(cliDir, 'dist', '.build-manifest.json'));
|
|
1968
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1969
|
+
await writeFile(join(cliDir, 'dist', 'index.mjs'), "import './missing-after-build.mjs';\n", 'utf-8');
|
|
1970
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
1971
|
+
|
|
1972
|
+
const argv = await readFile(outputPath, 'utf-8');
|
|
1973
|
+
const buildInvocations = argv
|
|
1974
|
+
.split('\n')
|
|
1975
|
+
.map((line) => line.trim())
|
|
1976
|
+
.filter((line) => line === 'build');
|
|
1977
|
+
assert.equal(buildInvocations.length, 14);
|
|
1978
|
+
assert.equal(await readFile(join(cliDir, 'dist', 'index.mjs'), 'utf-8'), 'export const tracked = "dirty two";\n');
|
|
1979
|
+
await assert.rejects(
|
|
1980
|
+
() => stat(join(root, 'home', 'cache', 'build', 'happier-cli')),
|
|
1981
|
+
{ code: 'ENOENT' },
|
|
1982
|
+
'CLI freshness must not create a persistent source-signature cache',
|
|
1983
|
+
);
|
|
1984
|
+
});
|
|
1985
|
+
|
|
1986
|
+
test('ensureCliBuilt refreshes shared workspace deps before trusting a cached cli dist', async (t) => {
|
|
1987
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-refresh-shared-deps-'));
|
|
1988
|
+
t.after(async () => {
|
|
1989
|
+
await rm(root, { recursive: true, force: true });
|
|
1990
|
+
});
|
|
1991
|
+
await writeWorkspacePackageBuildOwnerProxy(root);
|
|
1992
|
+
|
|
1993
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
1994
|
+
const agentsDir = join(root, 'packages', 'agents');
|
|
1995
|
+
await mkdir(join(root, 'apps', 'ui'), { recursive: true });
|
|
1996
|
+
await mkdir(join(root, 'apps', 'server'), { recursive: true });
|
|
1997
|
+
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
1998
|
+
await mkdir(join(cliDir, 'dist'), { recursive: true });
|
|
1999
|
+
await mkdir(join(agentsDir, 'src'), { recursive: true });
|
|
2000
|
+
await mkdir(join(agentsDir, 'dist', 'session', 'state'), { recursive: true });
|
|
2001
|
+
await writeFile(join(root, 'package.json'), '{ "name": "repo", "private": true }\n', 'utf-8');
|
|
2002
|
+
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
2003
|
+
await writeFile(join(root, 'apps', 'ui', 'package.json'), '{ "name": "@happier-dev/ui", "private": true }\n', 'utf-8');
|
|
2004
|
+
await writeFile(join(root, 'apps', 'server', 'package.json'), '{ "name": "@happier-dev/server", "private": true }\n', 'utf-8');
|
|
2005
|
+
await writeFile(
|
|
2006
|
+
join(cliDir, 'package.json'),
|
|
2007
|
+
JSON.stringify(
|
|
2008
|
+
{
|
|
2009
|
+
name: '@happier-dev/cli',
|
|
2010
|
+
private: true,
|
|
2011
|
+
dependencies: {
|
|
2012
|
+
'@happier-dev/agents': '0.0.0',
|
|
2013
|
+
},
|
|
2014
|
+
},
|
|
2015
|
+
null,
|
|
2016
|
+
2,
|
|
2017
|
+
) + '\n',
|
|
2018
|
+
'utf-8',
|
|
2019
|
+
);
|
|
2020
|
+
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
2021
|
+
await writeFile(join(cliDir, 'dist', 'index.mjs'), 'export const cached = true;\n', 'utf-8');
|
|
2022
|
+
await writeFile(join(cliDir, 'dist', '.build-manifest.json'), '{"fingerprint":"0123456789abcdef","fileCount":1}\n', 'utf-8');
|
|
2023
|
+
|
|
2024
|
+
await writeFile(
|
|
2025
|
+
join(agentsDir, 'package.json'),
|
|
2026
|
+
JSON.stringify(
|
|
2027
|
+
{
|
|
2028
|
+
name: '@happier-dev/agents',
|
|
2029
|
+
version: '0.0.0',
|
|
2030
|
+
type: 'module',
|
|
2031
|
+
scripts: {
|
|
2032
|
+
build: 'yarn build',
|
|
2033
|
+
},
|
|
2034
|
+
main: './dist/index.js',
|
|
2035
|
+
exports: {
|
|
2036
|
+
'.': {
|
|
2037
|
+
default: './dist/index.js',
|
|
2038
|
+
},
|
|
2039
|
+
},
|
|
2040
|
+
},
|
|
2041
|
+
null,
|
|
2042
|
+
2,
|
|
2043
|
+
) + '\n',
|
|
2044
|
+
'utf-8',
|
|
2045
|
+
);
|
|
2046
|
+
await writeFile(join(agentsDir, 'src', 'index.ts'), 'export const source = true;\n', 'utf-8');
|
|
2047
|
+
await writeFile(
|
|
2048
|
+
join(agentsDir, 'dist', 'index.js'),
|
|
2049
|
+
'import "./session/state/index.js";\nexport const agentsCached = true;\n',
|
|
2050
|
+
'utf-8',
|
|
2051
|
+
);
|
|
2052
|
+
|
|
2053
|
+
const binDir = join(root, 'bin');
|
|
2054
|
+
const outputPath = join(root, 'argv.txt');
|
|
2055
|
+
await writeYarnBuildRefreshesAgentsAndPreservesCliDistStub({ binDir, outputPath, cliDir });
|
|
2056
|
+
|
|
2057
|
+
applyEnvOverrides(t, {
|
|
2058
|
+
PATH: [binDir, process.env.PATH].filter(Boolean).join(delimiter),
|
|
2059
|
+
OUTPUT_PATH: outputPath,
|
|
2060
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'never',
|
|
2061
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
2062
|
+
});
|
|
2063
|
+
|
|
2064
|
+
await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
2065
|
+
|
|
984
2066
|
const argv = await readFile(outputPath, 'utf-8');
|
|
985
|
-
assert.
|
|
2067
|
+
assert.match(argv, /-s build/);
|
|
2068
|
+
assert.equal(await readFile(join(agentsDir, 'dist', 'session', 'state', 'index.js'), 'utf-8'), 'export const state = true;\n');
|
|
2069
|
+
assert.equal(await readFile(join(cliDir, 'dist', 'index.mjs'), 'utf-8'), 'export const cached = true;\n');
|
|
2070
|
+
});
|
|
2071
|
+
|
|
2072
|
+
test('ensureCliBuilt rebuilds an auto-mode cli dist after repairing a stale workspace dependency', async (t) => {
|
|
2073
|
+
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-auto-refresh-shared-deps-'));
|
|
2074
|
+
t.after(async () => {
|
|
2075
|
+
await rm(root, { recursive: true, force: true });
|
|
2076
|
+
});
|
|
2077
|
+
await writeWorkspacePackageBuildOwnerProxy(root);
|
|
2078
|
+
|
|
2079
|
+
const cliDir = join(root, 'apps', 'cli');
|
|
2080
|
+
const agentsDir = join(root, 'packages', 'agents');
|
|
2081
|
+
await mkdir(join(root, 'apps', 'ui'), { recursive: true });
|
|
2082
|
+
await mkdir(join(root, 'apps', 'server'), { recursive: true });
|
|
2083
|
+
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
2084
|
+
await mkdir(join(cliDir, 'dist'), { recursive: true });
|
|
2085
|
+
await mkdir(join(agentsDir, 'src'), { recursive: true });
|
|
2086
|
+
await mkdir(join(agentsDir, 'dist'), { recursive: true });
|
|
2087
|
+
await writeFile(join(root, 'package.json'), '{ "name": "repo", "private": true }\n', 'utf-8');
|
|
2088
|
+
await writeFile(join(root, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
2089
|
+
await writeFile(join(root, 'apps', 'ui', 'package.json'), '{ "name": "@happier-dev/ui", "private": true }\n', 'utf-8');
|
|
2090
|
+
await writeFile(join(root, 'apps', 'server', 'package.json'), '{ "name": "@happier-dev/server", "private": true }\n', 'utf-8');
|
|
2091
|
+
await writeFile(
|
|
2092
|
+
join(cliDir, 'package.json'),
|
|
2093
|
+
JSON.stringify({
|
|
2094
|
+
name: '@happier-dev/cli',
|
|
2095
|
+
private: true,
|
|
2096
|
+
dependencies: {
|
|
2097
|
+
'@happier-dev/agents': '0.0.0',
|
|
2098
|
+
},
|
|
2099
|
+
}, null, 2) + '\n',
|
|
2100
|
+
'utf-8',
|
|
2101
|
+
);
|
|
2102
|
+
await writeFile(join(cliDir, 'node_modules', '.yarn-integrity'), 'ok\n', 'utf-8');
|
|
2103
|
+
await writeFile(join(cliDir, 'dist', 'index.mjs'), 'export const cached = true;\n', 'utf-8');
|
|
2104
|
+
const cliManifestPath = join(cliDir, 'dist', '.build-manifest.json');
|
|
2105
|
+
await writeFile(cliManifestPath, '{"fingerprint":"0123456789abcdef","fileCount":1}\n', 'utf-8');
|
|
2106
|
+
|
|
2107
|
+
await writeFile(
|
|
2108
|
+
join(agentsDir, 'package.json'),
|
|
2109
|
+
JSON.stringify({
|
|
2110
|
+
name: '@happier-dev/agents',
|
|
2111
|
+
version: '0.0.0',
|
|
2112
|
+
type: 'module',
|
|
2113
|
+
scripts: {
|
|
2114
|
+
build: 'yarn build',
|
|
2115
|
+
},
|
|
2116
|
+
main: './dist/index.js',
|
|
2117
|
+
exports: {
|
|
2118
|
+
'.': {
|
|
2119
|
+
default: './dist/index.js',
|
|
2120
|
+
},
|
|
2121
|
+
},
|
|
2122
|
+
}, null, 2) + '\n',
|
|
2123
|
+
'utf-8',
|
|
2124
|
+
);
|
|
2125
|
+
const agentsSourcePath = join(agentsDir, 'src', 'index.ts');
|
|
2126
|
+
await writeFile(agentsSourcePath, 'export const source = "changed";\n', 'utf-8');
|
|
2127
|
+
await writeFile(join(agentsDir, 'dist', 'index.js'), 'export const agentsCached = true;\n', 'utf-8');
|
|
2128
|
+
|
|
2129
|
+
const staleDependencyTime = new Date(Date.now() - 20_000);
|
|
2130
|
+
const changedSourceTime = new Date(Date.now() - 10_000);
|
|
2131
|
+
const publishedCliTime = new Date(Date.now() + 10_000);
|
|
2132
|
+
await utimes(join(agentsDir, 'dist'), staleDependencyTime, staleDependencyTime);
|
|
2133
|
+
await utimes(agentsSourcePath, changedSourceTime, changedSourceTime);
|
|
2134
|
+
await utimes(cliManifestPath, publishedCliTime, publishedCliTime);
|
|
2135
|
+
|
|
2136
|
+
const binDir = join(root, 'bin');
|
|
2137
|
+
const outputPath = join(root, 'argv.txt');
|
|
2138
|
+
await writeYarnBuildRefreshesAgentsAndPreservesCliDistStub({ binDir, outputPath, cliDir });
|
|
2139
|
+
|
|
2140
|
+
applyEnvOverrides(t, {
|
|
2141
|
+
PATH: [binDir, process.env.PATH].filter(Boolean).join(delimiter),
|
|
2142
|
+
OUTPUT_PATH: outputPath,
|
|
2143
|
+
HAPPIER_STACK_CLI_BUILD_MODE: 'auto',
|
|
2144
|
+
HAPPIER_STACK_ENV_FILE: null,
|
|
2145
|
+
});
|
|
2146
|
+
|
|
2147
|
+
const result = await ensureCliBuilt(cliDir, { buildCli: true, quiet: true, env: process.env });
|
|
2148
|
+
|
|
2149
|
+
assert.deepEqual(result, { built: true, current: true, reason: 'changed' });
|
|
2150
|
+
const invocations = (await readFile(outputPath, 'utf-8'))
|
|
2151
|
+
.split('\n')
|
|
2152
|
+
.map((line) => line.trim())
|
|
2153
|
+
.filter(Boolean);
|
|
2154
|
+
assert.ok(invocations.indexOf('-s build') >= 0, 'the stale agents dist must be repaired');
|
|
2155
|
+
assert.ok(
|
|
2156
|
+
invocations.indexOf('build') > invocations.indexOf('-s build'),
|
|
2157
|
+
'the CLI must rebuild after its workspace dependency is repaired',
|
|
2158
|
+
);
|
|
2159
|
+
assert.equal(await readFile(join(cliDir, 'dist', 'index.mjs'), 'utf-8'), 'export const cliBuilt = true;\n');
|
|
986
2160
|
});
|
|
987
2161
|
|
|
988
|
-
test('ensureCliBuilt defaults to no rebuild in service mode even when
|
|
2162
|
+
test('ensureCliBuilt defaults to no rebuild in service mode even when runtime inputs changed', async (t) => {
|
|
989
2163
|
const root = await mkdtemp(join(tmpdir(), 'hs-pm-cli-build-service-skip-'));
|
|
990
2164
|
t.after(async () => {
|
|
991
2165
|
await rm(root, { recursive: true, force: true });
|
|
992
2166
|
});
|
|
993
2167
|
|
|
994
2168
|
const cliDir = join(root, 'apps', 'cli');
|
|
995
|
-
await mkdir(cliDir, { recursive: true });
|
|
2169
|
+
await mkdir(join(cliDir, 'src'), { recursive: true });
|
|
996
2170
|
await writeFile(join(cliDir, 'package.json'), '{ "name": "cli-test" }\n', 'utf-8');
|
|
997
2171
|
await writeFile(join(cliDir, 'yarn.lock'), '# yarn\n', 'utf-8');
|
|
998
2172
|
await mkdir(join(cliDir, 'node_modules'), { recursive: true });
|
|
@@ -1001,7 +2175,7 @@ test('ensureCliBuilt defaults to no rebuild in service mode even when git signat
|
|
|
1001
2175
|
await mkdir(dirname(distIndex), { recursive: true });
|
|
1002
2176
|
await writeFile(distIndex, 'export const stable = true;\n', 'utf-8');
|
|
1003
2177
|
|
|
1004
|
-
//
|
|
2178
|
+
// Keep a real repository fixture while changing an observed runtime input.
|
|
1005
2179
|
await runCapture('git', ['init'], { cwd: cliDir });
|
|
1006
2180
|
await runCapture('git', ['config', 'user.email', 'hstack-test@example.test'], { cwd: cliDir });
|
|
1007
2181
|
await runCapture('git', ['config', 'user.name', 'hstack-test'], { cwd: cliDir });
|
|
@@ -1012,7 +2186,7 @@ test('ensureCliBuilt defaults to no rebuild in service mode even when git signat
|
|
|
1012
2186
|
const outputPath = join(root, 'argv.txt');
|
|
1013
2187
|
await writeYarnBuildCreatesDistStub({ binDir, outputPath, cliDir });
|
|
1014
2188
|
|
|
1015
|
-
// 1) Force an initial build so a
|
|
2189
|
+
// 1) Force an initial build so a usable dist exists.
|
|
1016
2190
|
applyEnvOverrides(t, {
|
|
1017
2191
|
PATH: `${binDir}:/usr/bin:/bin`,
|
|
1018
2192
|
OUTPUT_PATH: outputPath,
|
|
@@ -1025,8 +2199,8 @@ test('ensureCliBuilt defaults to no rebuild in service mode even when git signat
|
|
|
1025
2199
|
const out1 = await readFile(outputPath, 'utf-8');
|
|
1026
2200
|
assert.match(out1, /\bbuild\b/, `expected initial build, got:\n${out1}`);
|
|
1027
2201
|
|
|
1028
|
-
// 2)
|
|
1029
|
-
await writeFile(join(cliDir, 'dirty.
|
|
2202
|
+
// 2) Change a runtime input (auto mode would rebuild).
|
|
2203
|
+
await writeFile(join(cliDir, 'src', 'dirty.ts'), 'export {};\n', 'utf-8');
|
|
1030
2204
|
await writeFile(outputPath, '', 'utf-8');
|
|
1031
2205
|
applyEnvOverrides(t, {
|
|
1032
2206
|
HAPPIER_STACK_CLI_BUILD_MODE: null,
|