Skip to content

Tags: codifycli/codify

Tags

1.0.1

Toggle 1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: v1.0 fixes (#58)

* fix: Fix install script

* fix: Fix for test command not working

* fix: Fix test command not working (local reference found)

* feat: Augmented test to be able to accept live config updates.

* fix: Fix dependsOn requiring a full id (type.name). Instead modify it to only require type and match multiple resources. A full qualified name (type.name) will match only one resource.

* fix: Fix npm publish not working.

* feat: Improved README

* fix: Updated urls to point to new documentation domain codifycli.com/docs instead

* chore: bumped version to 1.0.1

1.0.0

Toggle 1.0.0's commit message
feat: Version 1.0.0 (#55)

* feat: Added login method

* feat: Added connect integration with codify-dashboard

* feat: switched to hono server and added cors support

* feat: switched to express

* chore: refactored apply flow to use express

* Added login helper and trying out parser abstraction

* Added ability to load, apply and plan cloud files

* Moved login init to base command. Fixes

* Added new codify file resolution logic. WIP default document endpoint fetch

* Added path as an arg to apply and plan

* Added path as an arg to validate

* Fixed import logic to support cloud files

* Fixed login bugs.
- Resolve promise when logged in
- Fixed login manager bug
Added useful log message for connect

* Fixed codify apply via connect to supply tmpFile path. Added helpful log messages. Fixed header name error for websocket validation. Reduced size of token

* Switched to socketIO

* Switched back to websockets instead of socket io

* Prevent multiple pty instances from being created

* Improved the command handler to support more variations

* Fixed build bugs. Moved uuid to dependency. Fixed entry points that were messed up. Improved error handling for documents endpoint

* Improved session ending logic.

* Added missing import flag

* Changed connect commands to use rootCommand that way it updates with the current project and doesn't rely on global codify. Added error if port is already in use.

* Refactored how commands are handled. Allows for greater flexibility.

* Added import handler

* Added concept of clientId. Added import writer

* Re-worked login to get email, userId, claims directly from token. Switched to ES256 self signed tokens. Added codify edit command

* Removed extraneous logs. Added message for codify edit

* Added install beta script. Fixed urls to point to dashboard.codifycli.com. Fixed logins if another process is already using the port. Fixed logins not saving credentials if .codify folder doesn't exist.

* Fixed login behavior for connect and edit. Added log out command

* Add new refresh command

* Changed the parameterless import to mimic init (auto import everything)

* Added refresh method to connect and fixed bugs

* Fixed API calls to parse error messages as non-json

* Fixed bugs:
- Check for login expiration was in milliseconds (should be seconds)
- The proper node binary was not used by connect handlers
- Lack of refresh command name

+ Deploy script

* Added --updateExisting flag for import command. Made refresh orchestrator empty and reliant on the import orchestrator. Refactored save file type to an individual function

* Fixed file modification calculator handling of an empty file '[]'. Added tests for auto-import

* Fixed file modification calculator handling of an empty file '[]'. Added tests for auto-import

* fix: Fixed bugs with refresh and import

* feat: Added support for Codify remote files

* fix: Bug fix for files that don't currently exist. Import confirmation prompt

* fix: Bug fix for MacOS oclif installer bug. It doesn't clear the oclif update plugin directory so older versions are still usable after re-installing

* feat: Added auto complete, additional version flags, additional help flags and set the default command to edit

* fix: Added init command

* Added new finish event to unify sending the remote result back to the dashboard

* Added the useful ability to kill the previous codify connect so you don't have to go find it

* fix: Moved kill port to dependencies

* feat: Added connection start time and connection termination

* feat: Refactored the initialization process to return a resource definition. We can put info in here in the future if needed. Right now return if a resource has any sensitive parameters

* feat: Added sensitive parameter filtering to import and init. Added sensitive parameter hiding to displaying plans

* feat: Added improvements to import and init saving of results

* feat: Improved init experience (always new project for init)

* feat: Fixed build issues and improved help

* fix: Fixed existing tests

* feat: Added CLI logins without the browser

* feat: Added test for connect + improvements and fixes

* feat: Added test for connect commands (apply, plan, import, etc) + improvements and fixes

* feat: Added additional tests for edit, login and refresh

* feat: Add readme and license

* feat: Upgrade to node 22

* fix: Test and type fixes

* fix: Temp disable socket-server tests

* fix: Enable one of the disabled tests

* kevin/fix-tests (#50)

* fix: Enabled another test

* fix: Update test name

* fix: Enable more tests

* fix: Enabled all tests

* fix: Mock the pty call

* Added some logs

* Move server close above expect

* Fix terminal problems

* Attempt to make tests less flaky

* Add log

* Added sequential

* Added sequential

* Disable parallelism

* Add wait between tests

* Disable threading

* Skip connect tests altogether

* Fix: Bug fixes for help, and init using dev-dependency. Added extra cors header removing the need for PNA notification

* feat: Added new spawn code using node-pty. Root and stdin are both supported now

* feat: Removed the spinner powered by log messages (caused pointer issues previously) since it's no longer needed. Fix sudo util missing problems

* feat: Added codify test command that can spawn a tart vm to test codify configs

* feat: Improved the display for test. Added linux support on a macOS host.

* feat: Added support for validating by OS and distro. Added improved install script that works on linux

* feat: Allow beta plugins to be auto-magically be added when codify version is beta

* feat: Reverted commenting out xz

* feat: Added os filtering for codify init command

* feat: Updated github urls and description

* feat: Force arch to be arm64. Added linux to uplaod script.

* fix: Fixed sudo, reporters, os filtering, and others (mainly linux related)

* fix: Connect commands not working on other shells

* fix: Fixed running sudo commands on linux and commands with quotes

* chore: switch to public npm @codifycli/ink-form package

* fix: Fixed environment variables not carried over to sudo. Fixed bash only sudo command.

* fix: Fixed warnings on linux install. Bumped oclif version.

* feat: Updated ink. Switched to dots instead of half circles. Move sleep before displaying message.

* fix: Fixed weird memory problem with using spinner and status message from @inkjs/ui

* feat: Improved coloring for progress display

* fix: Fixed tests

* chore: commit package-lock.json

* fix: Linux tests and build errors

* feat: Allow CI builds to run on both macOS and linux

* feat: Improved test command and added file syncing (#56)

* WIP: fixed the test command and added a promptSecret to collect the user's password initially

* fix: Selectively sync either /usr/local/lib/codify or ~/.local/share/codify

* Undo un-needed changes

* feat: Added a block for non-mac os systems

* feat: Added test to list of remote commands

* chore: Updated packages. Switched to @codifycli/schemas

* chore: Updated package-lock.json

* feat: removed login requirement for connect command

* fix: Remove github token code in github actions

* chore: Update to @codifycli/plugin-core and update version of @codifycli/schemas

* feat: Updated README

* chore: new package-lock.json

* feat: Add CLAUDE.md and updated the README.md

* fix: Fix bugs with the test command

* chore: update version to 1.0.0

0.8.0

Toggle 0.8.0's commit message
chore: increase version to 0.8.0

0.7.1

Toggle 0.7.1's commit message
0.7.1

feat: Add verbosity support (#46)

0.7.0

Toggle 0.7.0's commit message
Kevin/0.7.0 (#45)

* feat: Add initial banner for initialization

* feat: Added importing of resources and selection flow

* chore: updated tsx file names to capital

* feature: Added improvements to multi-select and completed the init flow

* feat: Add json reporter

* feat: Add a pre-filled sudo password

* fix: promptSudo for all reporter types

* fix: Fixed plain reporter for init

* feat: Updated help for all commands

* fix: Improved import help

* feat: Modified the destroy flow to support asking users for identifying parameters

* feat: Customized the prompt text for import and destroy

* feat: Add ability for plugins to display a <press key to continue> prompt

* feat: Fixed text wrapping which made it hard to copy the ssh key. Added static to fix message not displaying properly. Fixed progress not being displayed

* fix: Fixed tests

* fix: additional reporters

* fix: lint errors

0.6.0

Toggle 0.6.0's commit message
Kevin/0.6.0 (#44)

* feat: WIP refactored default reporter to use a new statement management library (jotai) instead of being event based

* feat: WIP transitioned apply and prompts to the new model

* feat: Updated all flows to use the new atom system for the default renderer

* feat: Updated imports

* feat: Added unit test for default component

* fix: Fixed the progress output for destroy

* fix: Additional prompt fixes for destroy

* feat: WIP refactored variable names and moved getRequiredParameters to the plugin

* fix: Fix tests

* feat: Added resource-info entity

* feat: Renamed reporter method to promptUserForParameterValues

* feat: Switched to using the custom codify-ink-form library to render the import prompt

* feat: Added interface for new generic getValue call in reporters

* feat: Refactored the import orchestrator and default renderer to use the new form

* feat: Parallelized imports

* feat: Added prompt for users to select results to save

* feat: Added new isSameOnSystem method on resource entity + tests

* feat: Added new flow for saving import to file

* feat: WIP added a file modification calculator to calculate imports

* feat: WIP added ability to delete a resource from an existing file

* feat: WIP switched to a new calculation for deletes that removes additional spaces as well

* feat: WIP delete improvements and bug fixes

* feat: WIP added updates (supports both single line and multi-line configs)

* feat: Added ability to insert new configs

* feat: Removed writing to new files from file modification calculator

* feat: Added rendering for imports and added custom diff implementation to display the file changes

* feat: Split printing logic for file diff another file + fixed bugs with logic

* feat: Added parameter key sorting so that the order of parameters remains the same. For new resources, it will default to alphabetical order. Modified the import result to not show the JSON. Fixed bug with not adding trimmed string back and resource ordering issues.

* feat: Added generic display message method to the reporter. Added messaging after all save file paths for imports.

* feat: Added messaging for all paths in import. Added back resource config display when user checks "no" for saving.

* feat: Added wild card matching for import

* feat: Added default values for resources that already exist in the project and fixed bug with yoga memory management for large imports

* feat: Added ability to import into an existing codify file without any effort (codify import with no arguments). Fixed bug with memory access by limiting how many sub-progresses are shown. Fixed file bug with one resource updates

* fix: Fixed most tests

* feat: Added integration tests for import command and fixed bugs

* fix: Fixed bug with memfs volume not resetting between tests

* feat: Added support for new import prompts in debug and plain reporters. Fixed build errors and bugs

* fix: CI not being able to pull private packages

* fix: CI not being able to pull private packages 2

* fix: Removed some bad tests (wasn't useful)

* feat: Updated to importAndDestroy and added filtering for preventImport

* feat: Added kill listeners so process gets killed properly

* feat: Added handler for * expansion in zsh and updated the help for the import command

* feat: Switched to using identifying parameters

* feat: Moved resource matching to the plugin for more accurate matching

* feat: Moved validation to a separate orchestrator and added validation for improts

* fix: Fixed tests and bug fixes

* fix: Fixed import params

* fix: Added back removed elements and fixed memory bug

* feat: Added helpful comment

* feat: Added import prompt to help improve ux of imports and updated to the latest ink-form with improved import ux

* fix: Finally found a fix to the memory issues. It was because of backpressure from too many updates due to the spinner updating on every log. Updated UI with new codify ink-form version

* fix: Removed validate from import

* fix: Fixed test and plain reporter

0.5.1

Toggle 0.5.1's commit message
fix: Fixed import output

0.5.0

Toggle 0.5.0's commit message
Kevin/performance improvements (parallelization + node-pty) (#42)

* Imported new ipc-message v2 schema. Fixed npm install bugs with ink 5.

* Refactored message sender. Refactored ipc message into a wrapper class called plugin-message

* feat: Parallelized plans

* feat: Added NODE_PATH to support new node-pty plugins. Fixed bug with non-JS plugins being resolved.

* feat: Refactored plugin resolution and added an ApiClient for network calls

* feat: Added codesigning for the new binaries from node-pty. Bumped library versions

* fix: Fixed tests

* feat: Upgraded to latest schema which separates core and parameters

* fix: Fixed integration tests

* feat: Added integration tests for import and apply + plan, and updated the original destroy tests

* feat: Added ci for unit and integration tests

* fix: Moved ci file to workflows folder

* fix: Fixed indents

* fix: Fixed validation bugs

* fix: Fixed on for github action

* fix: Commit package-lock.json to fix errors

* fix: Removed buggy temp tests

* feat: Refactored all references to property to "parameter"

* fix: Fixed plugin resolution, path flag and bumped libraries

* fix: Fixed various bugs:
1. Apply order fix (re-order by eval order since parallel plans mess up the order)
2. Added additional tests to validate the new logic.
3. Type fixes
4. Refactoring
5. Plan integration tests

* fix: Fixed sudo requests

* feat: Added tests for the initialize orchestrator

* feat: Added additional tests to confirm resolver and fixed uninstall script

* fix: removed weird character from sudo test file

0.4.0

Toggle 0.4.0's commit message
feat: refactor, command testing, bug fixes, and auto-updater

0.3.1

Toggle 0.3.1's commit message
fixed tty bugs