forked from regenrek/codefetch
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from regenrek:main #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added a new line to the README to improve the project description. - Ensured consistent formatting of package references for clarity. These changes enhance the documentation by providing clearer information about the project's inspiration and tools used.
- Introduced new cache options in `FetchOptions`, including `cache`, `cacheKey`, `cacheTTL`, `cacheNamespace`, `cacheBaseUrl`, and `noCache`. - Updated the `createCache` function to support dynamic imports for the FileSystemCache, optimizing for different environments. - Improved cache key generation and validation methods for better performance and reliability. - Refactored `fetchFromWebWorker` and `fetchFromWeb` to utilize the enhanced caching capabilities. These changes improve the flexibility and efficiency of the caching system, allowing for better management of cached content across different environments.
…nced caching - Integrated web-fetch functionality directly into the CLI, improving architecture and usability. - Added new web crawling options: `--max-pages`, `--max-depth`, `--ignore-robots`, and `--ignore-cors`. - Implemented a 10-minute safety timeout for web operations to prevent long-running tasks. - Enhanced cache management by exporting `createCache` from the SDK and displaying cache statistics. - Improved TypeScript types for better consistency and fixed various compilation errors. - Removed unused exports and tests related to the previous web-fetch implementation. These changes significantly enhance the functionality and performance of the CLI and SDK, providing users with more control and better error handling.
…I and SDK - Updated the GitHub Actions workflow to include separate publish steps for the SDK and CLI packages. - Revised the CLI README to clarify the fetching capabilities for Git repositories from GitHub and GitLab. - Improved the SDK README to reflect changes in the fetch API, emphasizing support for Git repositories and structured JSON results. These updates streamline the publishing process and enhance documentation clarity for users.
- Merged separate publish steps for SDK and CLI packages into a single step for streamlined publishing. - Updated the workflow configuration to enhance efficiency in the package publishing process. These changes simplify the workflow and improve the overall publishing experience.
- Eliminated the `tar` dependency from the SDK's package.json as it was no longer needed. - This change helps to streamline the package and reduce unnecessary dependencies.
…add deprecation notice for eslint-plugin-markdown - Removed the unused `tar` dependency from the lock file. - Added a deprecation notice for `eslint-plugin-markdown`, recommending the use of `@eslint/markdown` instead. These changes help maintain a clean dependency tree and provide guidance for users on package usage.
- Introduced `adm-zip` as a dependency in the SDK's package.json. - Updated pnpm-lock.yaml to reflect the addition of `adm-zip` and removed its previous entry from the lock file. These changes ensure that the SDK has the necessary dependency for zip file handling.
- Updated pnpm-lock.yaml to synchronize with the current package.json. - Ensured all dependencies are accurately represented in the lock file for consistency. These changes maintain the integrity of the dependency management system.
- Added new entries to .gitignore for browser and worker build directories. - Improved error handling in the token counter to fall back on a simple estimation method in case of network or remote tokenizer failures, while logging a warning for better debugging.
* feat: add --no-summary flag to disable token summary box - Add --no-summary CLI flag to hide token/model summary box - Update config types in SDK (config.ts and config-worker.ts) - Add test coverage for --no-summary flag - Update README with --no-summary usage examples * refactor: remove model database and update CLI options - Deleted the model database file and related functions to streamline the codebase. - Updated the CLI to support a new `--stdout` option for direct output to the console. - Adjusted the `trackedModels` configuration to be empty by default and modified related functions to accommodate this change. - Enhanced logging to conditionally display format information based on verbosity level. - Updated tests to reflect changes in argument parsing and model tracking functionality.
- Renamed release script from `release.ts` to `release-fix-workspace.ts`. - Enhanced release process to build all packages sequentially and publish both `codefetch` and `codefetch-sdk`. - Updated GitHub Release creation to include changelog notes and handle prereleases with the `--alpha` flag. - Improved instructions in `HOW-TO-RELEASE.md` for clarity and accuracy.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )