Commit Graph

6 Commits

  • core: move cross-spawn-spawner to root and remove unused types
    The cross-spawn-spawner module has been moved from src/effect/ to src/
    to simplify the core package structure. The src/types.d.ts file which
    contained unused type declarations has also been removed. All imports
    throughout the codebase have been updated to reflect the new location.
    
    This change reduces the package's internal complexity by flattening the
    module hierarchy and removing dead code, making future maintenance easier.
  • core: move cross-spawn-spawner from opencode to core package
    Moved the cross-spawn-spawner module from packages/opencode to packages/core
    to enable code sharing across the monorepo. This consolidates the process
    spawning infrastructure into the core package so other packages can use
    cross-platform child process spawning without duplicating the implementation.
    
    Updated all import statements across the codebase to reference the new
    location (@opencode-ai/core/effect/cross-spawn-spawner). Removed the
    local copy from the opencode package along with its tests.
  • core: consolidate shared infrastructure into core package
    Moves effect logging, observability, runtime utilities, flags, installation
    version info, and process utilities from opencode to core package. This
    enables better code sharing across packages and establishes core as the
    single source of truth for foundational utilities.
    
    All internal imports updated to use @opencode-ai/core paths for consistency.