@acryldev/harness-runtime 0.2.12 → 0.2.13

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/lib/index.mjs CHANGED
@@ -962,41 +962,6 @@ function resolveAcrylHome(env = process.env) {
962
962
  function resolveAcrylDshHome(env = process.env) {
963
963
  return selectInstance({ env }).dshHome;
964
964
  }
965
- /**
966
- * The isolated local-dev DSH home (`~/.acryl-dev/.dsh`) — a third root,
967
- * deliberately sibling to (not nested inside) both `resolveAcrylDshHome`'s
968
- * packaged-install default (`~/.acryl/.dsh`) and the stock DSH Desktop's
969
- * plain `~/.dsh`, so a dev run never collides with either.
970
- *
971
- * `scripts/dev-local.mjs` at the repo root is this value's one canonical,
972
- * hand-written definition (it runs before any workspace package builds, so
973
- * it cannot import this module) and is what actually sets `$DSH_HOME` for
974
- * `pnpm run dev`. Every *other* desktop dev-mode entry point - `apps/
975
- * acryl-desktop/scripts/launch-dev.mjs`, `verify-loader-boot.mjs`,
976
- * `verify-profile-boot.mjs` - runs strictly after that package already
977
- * built, so they import this exported copy instead of re-deriving it, and
978
- * default `$DSH_HOME` to it when unset. That is what makes running the
979
- * desktop package's own script directly (`pnpm --filter acryl-desktop run
980
- * dev`, bypassing the root orchestrator) resolve the identical isolated
981
- * home rather than silently falling back to `resolveAcrylDshHome`'s
982
- * packaged-install default - a real, reproduced footgun (2026-09-14) that
983
- * this function exists to close for good.
984
- */
985
- const ACRYL_DEV_HOME_DIR_NAME = ".acryl-dev";
986
- /** The isolated local-dev DSH home - see {@link ACRYL_DEV_HOME_DIR_NAME}'s doc comment. */
987
- function resolveAcrylDevDshHome() {
988
- return developmentInstance(osHomeDirectory()).dshHome;
989
- }
990
- /**
991
- * Default `$DSH_HOME` (in-place, on the given env) to the isolated
992
- * local-dev home when neither `$ACRYL_HOME` nor `$DSH_HOME` is already set.
993
- * Call this once, at the very top of a desktop dev-mode script, before
994
- * anything else reads the environment.
995
- */
996
- function applyIsolatedDevHomeDefault(env = process.env) {
997
- if (selectInstance({ env }).kind !== "default") return;
998
- Object.assign(env, instanceEnvironment(developmentInstance(osHomeDirectory())));
999
- }
1000
965
  //#endregion
1001
966
  //#region src/engine-host.ts
1002
967
  const ENGINE_ENTRY_ID = "acryl-engine";
@@ -5688,6 +5653,6 @@ async function bootAcrylWebProfile(options = {}) {
5688
5653
  });
5689
5654
  }
5690
5655
  //#endregion
5691
- export { ACRYL_CODING_CAPABILITIES, ACRYL_DEV_HOME_DIR_NAME, ACRYL_DSH_ENGINE_DIR_NAME, ACRYL_HOME_DIR_NAME, AGENTS_BLUEPRINT, APP_DEFINITION_FILE, APP_MANIFEST_FILE, APP_PLUGINS_DIR, AcrPluginLifecycleService, AppInstanceError, BASE_TEMPLATE_BUNDLE_NAMES, BLANK_BLUEPRINT, BLUEPRINT_ROW_IDS, CliLiveActivationService, CliPluginsService, CliPnpmService, CliProfilesService, DSH_CHAT_ROW_IDS, DSH_PLUGIN_MANAGER_ROW_ID, IDE_BLUEPRINT, InstanceAnnounceError, InvalidBlueprintError, InvalidBrandIdentityError, IsolationRequiredError, LockHeldError, NewAppError, ONLINE_SECRET_FILE_NAME, PLUGIN_MANAGER_ROW_ID, PROFILE_OWNER_FILE, PROTECTED_PLUGIN_ENTRY_REASON, PUBLIC_REGISTRY, PackageOverlayNotFoundError, PluginLifecycleError, ProfileInUseError, REQUIRE_ISOLATED_HOME_ENV, SAFE_RECIPES, StartSourceError, UPSTREAM_PRODUCT_ANALYTICS_OFF, UnknownBlueprintError, WEB_PORT_ATTEMPTS, WebLiveActivationService, WebPluginsService, WebPnpmService, WebProfilesService, acquireLock, announce, announceSelf, appFolder, appFolderInstance, appManifest, appName, applyIsolatedDevHomeDefault, applyRepairPlan, assertProfileName, backupsDir, blueprintFromEnvironment, blueprintFromManifest, bootAcrylHarnessProfile, bootAcrylWebProfile, brandIdentity, builtInCatalog, captureSystemPrompt, catalogWithStarters, claimProfile, classifyStartSource, composeBlueprintRows, createAcrylEngineHost, createAcrylPluginLifecycle, createAcrylSessionBridge, createBackup, createDshEngineDefinition, createDshEngineDefinitionFromComposition, createDshPluginLifecycleHost, createProfileContext, createProfileRuntimeResolution, createWebEngineDefinition, currentModule, defaultInstance, describePlan, developmentInstance, diagnosePluginLifecycle, entryPatchId, findFreeWebPort, findOverlayPackage, gitClone, identityLine, inspectProfile, installProfilePackageResolver, installSessionLogExporter, instanceEnvironment, isBlendsManifest, isGitWorktree, isPluginLifecycleEntryId, isSafeRecipe, listBackups, listRunning, loopbackPortIsFree, managedApp, materializeProfilePackage, mountAcrylPluginLifecycle, onlineSecretPath, osHomeDirectory, packageNameFromSpecifier, packageOfModule, parseBlueprint, pinnedInstance, pinnedPnpmEnv, planNewApp, planRepairs, pluginLifecyclePatches, pluginRequiredFrameworkPackages, processIsAlive, profileDir, profileRequiredFrameworkModules, provideCliMarketInstall, provideCliMarketPlugins, provideWebMarketInstall, provideWebMarketPlugins, readBlueprintFile, readDisabledPluginLifecycleEntries, readLock, readOnlineSecret, readStarters, readUserMutableBundleNames, reconcileProfileLayout, releaseLock, removeOnlineSecret, renderSystemPromptDoc, resolveAcrylDevDshHome, resolveAcrylDshHome, resolveAcrylHome, resolveOverlayPackage, resolvePinnedPnpm, resolvePluginLifecycleStatePath, resolveStartSource, restoreBackup, runLockFileForDshHome, selectBlueprint, selectInstance, setPluginLifecycleEntryEnabled, stablePort, undoRepair, webPortPatch, withBrand, withdraw, worktreeInstance, writeNewApp, writeOnlineSecret };
5656
+ export { ACRYL_CODING_CAPABILITIES, ACRYL_DSH_ENGINE_DIR_NAME, ACRYL_HOME_DIR_NAME, AGENTS_BLUEPRINT, APP_DEFINITION_FILE, APP_MANIFEST_FILE, APP_PLUGINS_DIR, AcrPluginLifecycleService, AppInstanceError, BASE_TEMPLATE_BUNDLE_NAMES, BLANK_BLUEPRINT, BLUEPRINT_ROW_IDS, CliLiveActivationService, CliPluginsService, CliPnpmService, CliProfilesService, DSH_CHAT_ROW_IDS, DSH_PLUGIN_MANAGER_ROW_ID, IDE_BLUEPRINT, InstanceAnnounceError, InvalidBlueprintError, InvalidBrandIdentityError, IsolationRequiredError, LockHeldError, NewAppError, ONLINE_SECRET_FILE_NAME, PLUGIN_MANAGER_ROW_ID, PROFILE_OWNER_FILE, PROTECTED_PLUGIN_ENTRY_REASON, PUBLIC_REGISTRY, PackageOverlayNotFoundError, PluginLifecycleError, ProfileInUseError, REQUIRE_ISOLATED_HOME_ENV, SAFE_RECIPES, StartSourceError, UPSTREAM_PRODUCT_ANALYTICS_OFF, UnknownBlueprintError, WEB_PORT_ATTEMPTS, WebLiveActivationService, WebPluginsService, WebPnpmService, WebProfilesService, acquireLock, announce, announceSelf, appFolder, appFolderInstance, appManifest, appName, applyRepairPlan, assertProfileName, backupsDir, blueprintFromEnvironment, blueprintFromManifest, bootAcrylHarnessProfile, bootAcrylWebProfile, brandIdentity, builtInCatalog, captureSystemPrompt, catalogWithStarters, claimProfile, classifyStartSource, composeBlueprintRows, createAcrylEngineHost, createAcrylPluginLifecycle, createAcrylSessionBridge, createBackup, createDshEngineDefinition, createDshEngineDefinitionFromComposition, createDshPluginLifecycleHost, createProfileContext, createProfileRuntimeResolution, createWebEngineDefinition, currentModule, defaultInstance, describePlan, developmentInstance, diagnosePluginLifecycle, entryPatchId, findFreeWebPort, findOverlayPackage, gitClone, identityLine, inspectProfile, installProfilePackageResolver, installSessionLogExporter, instanceEnvironment, isBlendsManifest, isGitWorktree, isPluginLifecycleEntryId, isSafeRecipe, listBackups, listRunning, loopbackPortIsFree, managedApp, materializeProfilePackage, mountAcrylPluginLifecycle, onlineSecretPath, osHomeDirectory, packageNameFromSpecifier, packageOfModule, parseBlueprint, pinnedInstance, pinnedPnpmEnv, planNewApp, planRepairs, pluginLifecyclePatches, pluginRequiredFrameworkPackages, processIsAlive, profileDir, profileRequiredFrameworkModules, provideCliMarketInstall, provideCliMarketPlugins, provideWebMarketInstall, provideWebMarketPlugins, readBlueprintFile, readDisabledPluginLifecycleEntries, readLock, readOnlineSecret, readStarters, readUserMutableBundleNames, reconcileProfileLayout, releaseLock, removeOnlineSecret, renderSystemPromptDoc, resolveAcrylDshHome, resolveAcrylHome, resolveOverlayPackage, resolvePinnedPnpm, resolvePluginLifecycleStatePath, resolveStartSource, restoreBackup, runLockFileForDshHome, selectBlueprint, selectInstance, setPluginLifecycleEntryEnabled, stablePort, undoRepair, webPortPatch, withBrand, withdraw, worktreeInstance, writeNewApp, writeOnlineSecret };
5692
5657
 
5693
5658
  //# sourceMappingURL=index.mjs.map