Skip to content

v0.46.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 08:52
· 27 commits to main since this release
9668392

New Features

  • Runline is now codemode: the package is @shiftlabs/codemode, the command is codemode, and projects live in .codemode folders. The runline names keep working until 0.48.0, each with a notice that says what replaces it. See Migrate from runline.

Breaking Changes

  • The npm package is @shiftlabs/codemode. Replace the runline dependency and import from @shiftlabs/codemode. Until 0.48.0 the runline package forwards to it under the old export names (#90)
  • The command is codemode. Until 0.48.0 the runline package keeps a runline command that prints a notice and runs it (#90)
  • Project and user folders are .codemode and ~/.codemode. Rename .runline and ~/.runline; until 0.48.0 a .runline folder is used where no .codemode sits beside it, and trust given to it carries over (#90)
  • Runline, RunlineOptions, RunlineExecuteOptions, RunlineConfig and RunlinePluginAPI are Codemode, CodemodeOptions, CodemodeExecuteOptions, CodemodeConfig and CodemodePluginAPI. PackageManager.forRunlineFolders() is forCodemodeFolders(). The old names stay available until 0.48.0 (#90)
  • Plugins import @shiftlabs/codemode and declare it as their peer dependency. Until 0.48.0 an import of runline resolves to codemode (#90)
  • A package names its plugins under the codemode key in package.json and is found by the codemode-plugin keyword. Until 0.48.0 the runline key and the runline-plugin keyword are read too (#90)
  • RUNLINE_PACKAGE_MANAGER, RUNLINE_OFFLINE and RUNLINE_OAUTH_CALLBACK_PORT are CODEMODE_*. Until 0.48.0 the old variables are read when the new ones are unset (#90)
  • Lines written to stderr start with [codemode] instead of [runline]. Update anything that matches on the prefix (#90)
  • An AWS role that codemode assumes gets the session name codemode by default. Set roleSessionName: "runline" in the connection to keep the old one (#90)

Changed

  • The repository moved to shift-labs-ai/codemode. The old address redirects (#90)
  • pi-runline moved to its own repository, Michaelliv/pi-runline, and is no longer released from this one (#90)
  • codemode init in a folder that still has a .runline folder reports the existing project instead of creating a second one (#90)