Tags: syntax-syndicate/codegen
Tags
fix: Update docs for `codegen create` command to include required PAT… …H parameter (codegen-sh#963) Recommended by @enismaxim1 This PR updates the documentation for the `codegen create` command to correctly include the required PATH parameter. ## Changes - Updated examples in various documentation files to show the correct usage: `codegen create my-function . -d "describe what you want to do"` - Added explanations about the PATH parameter being required - Updated command usage syntax in the create.mdx file - Fixed examples in init.mdx, dot-codegen.mdx, reusable-codemods.mdx, and work-with-ai.mdx This addresses the issue reported in Slack where the instructions after running `codegen init` were incorrect, as they didn't include the required PATH parameter. Fixes the issue where users were seeing errors when following the documentation without specifying a path. Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Fix: Remove reference to non-existent agent module in CLI (codegen-sh… …#962) ## Description This PR fixes an issue where the CLI is trying to import a non-existent module `codegen.cli.commands.agent.main`. This was causing errors when users tried to run commands like `codegen init` or `codegen update`. ## Changes - Removed the import of `agent_command` from `codegen.cli.commands.agent.main` - Removed the reference to `agent_command` in the `main.add_command` section ## Testing This change should allow users to run basic codegen CLI commands without encountering the `ModuleNotFoundError: No module named 'codegen.cli.commands.agent'` error. ## Related Issues This fixes the issue reported in Slack where a user was unable to run `codegen init` or `codegen update` due to this missing module. Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
chore(deps): bump next from 15.1.2 to 15.2.3 in /codegen-examples/exa… …mples/ai_impact_analysis/dashboard/frontend (codegen-sh#956) Bumps [next](https://github.com/vercel/next.js) from 15.1.2 to 15.2.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vercel/next.js/releases">next's releases</a>.</em></p> <blockquote> <h2>v15.2.3</h2> <blockquote> <p>[!NOTE]<br /> This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary. This release contains a security patch for <a href="https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw">CVE-2025-29927</a>.</p> </blockquote> <h3>Core Changes</h3> <ul> <li>Update default allowed origins list (<a href="https://redirect.github.com/vercel/next.js/issues/77212">#77212</a>)</li> <li>unify allowed origin detection handling (<a href="https://redirect.github.com/vercel/next.js/issues/77053">#77053</a>)</li> <li>Add dev warning for cross-origin and stabilize allowedDevOrigins (<a href="https://redirect.github.com/vercel/next.js/issues/77044">#77044</a>)</li> <li>Ensure deploymentId is used for CSS preloads (<a href="https://redirect.github.com/vercel/next.js/issues/77210">#77210</a>)</li> <li>Update middleware request header (<a href="https://redirect.github.com/vercel/next.js/issues/77201">#77201</a>)</li> <li>[metadata] remove the default segement check for metadata rendering (<a href="https://redirect.github.com/vercel/next.js/issues/77119">#77119</a>)</li> <li>[ts-hint] fix vscode type hint plugin enabling (<a href="https://redirect.github.com/vercel/next.js/issues/77099">#77099</a>)</li> <li>[metadata] re-insert icons to head for streamed metadata (<a href="https://redirect.github.com/vercel/next.js/issues/76915">#76915</a>)</li> </ul> <h3>Credits</h3> <p>Huge thanks to <a href="https://github.com/ijjk"><code>@ijjk</code></a>, <a href="https://github.com/ztanner"><code>@ztanner</code></a>, and <a href="https://github.com/huozhi"><code>@huozhi</code></a> for helping!</p> <h2>v15.2.2</h2> <h3>Core Changes</h3> <ul> <li>[dev-overlay] fix styling on overflow error messages, add button hover state: <a href="https://redirect.github.com/vercel/next.js/issues/76771">#76771</a></li> <li>Fix: respond 405 status code on OPTIONS request to SSG page: <a href="https://redirect.github.com/vercel/next.js/issues/76767">#76767</a></li> <li>[dev-overlay] Always show relative paths: <a href="https://redirect.github.com/vercel/next.js/issues/76742">#76742</a></li> <li>[metadata] remove the duplicate metadata in the error boundary: <a href="https://redirect.github.com/vercel/next.js/issues/76791">#76791</a></li> <li>Upgrade React from <code>d55cc79b-20250228</code> to <code>443b7ff2-20250303</code>: <a href="https://redirect.github.com/vercel/next.js/issues/76804">#76804</a></li> <li>[dev-overlay] Ignore animations on page load: <a href="https://redirect.github.com/vercel/next.js/issues/76834">#76834</a></li> <li>fix: remove useless set-cookie in action-handler: <a href="https://redirect.github.com/vercel/next.js/issues/76839">#76839</a></li> <li>Turbopack: handle task cancelation: <a href="https://redirect.github.com/vercel/next.js/issues/76831">#76831</a></li> <li>Upgrade React from <code>443b7ff2-20250303</code> to <code>e03ac20f-20250305</code>: <a href="https://redirect.github.com/vercel/next.js/issues/76842">#76842</a></li> <li>add types for <code>__next_app__</code> module loading functions: <a href="https://redirect.github.com/vercel/next.js/issues/74566">#74566</a></li> <li>fix duplicated noindex when server action is triggered: <a href="https://redirect.github.com/vercel/next.js/issues/76847">#76847</a></li> <li>fix: don't drop queued actions when navigating: <a href="https://redirect.github.com/vercel/next.js/issues/75362">#75362</a></li> <li>[dev-overlay]: remove dependency on platform for focus trapping: <a href="https://redirect.github.com/vercel/next.js/issues/76849">#76849</a></li> <li>Turbopack: Add <strong>turbopack_load_by_url</strong>: <a href="https://redirect.github.com/vercel/next.js/issues/76814">#76814</a></li> <li>Add handling of origin in dev mode: <a href="https://redirect.github.com/vercel/next.js/issues/76880">#76880</a></li> <li>[dev-overlay] Stop grouping callstack frames into ignored vs. not ignored: <a href="https://redirect.github.com/vercel/next.js/issues/76861">#76861</a></li> <li>Upgrade React from <code>e03ac20f-20250305</code> to <code>029e8bd6-20250306</code>: <a href="https://redirect.github.com/vercel/next.js/issues/76870">#76870</a></li> <li>[dev-overlay] Increase padding if no <code>x</code> button present: <a href="https://redirect.github.com/vercel/next.js/issues/76898">#76898</a></li> <li>fix: prevent incorrect searchParams being applied on certain navs: <a href="https://redirect.github.com/vercel/next.js/issues/76914">#76914</a></li> <li>[dev-overlay] Dim ignore-listed callstack frames when shown: <a href="https://redirect.github.com/vercel/next.js/issues/76862">#76862</a></li> </ul> <h3>Example Changes</h3> <ul> <li>chore(cna): update tailwind styles to be closer to non-tw cna: <a href="https://redirect.github.com/vercel/next.js/issues/76647">#76647</a></li> </ul> <h3>Misc Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vercel/next.js/commit/535e26d3c69de49df8bd17618a424cbe65ec897b"><code>535e26d</code></a> v15.2.3</li> <li><a href="https://github.com/vercel/next.js/commit/2fcae1d7e3079874ff633b5b8311adb584c80ce6"><code>2fcae1d</code></a> Update default allowed origins list (<a href="https://redirect.github.com/vercel/next.js/issues/77212">#77212</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/adf5462b5f269963395b0a2ef12a1b66e8cadabc"><code>adf5462</code></a> unify allowed origin detection handling (<a href="https://redirect.github.com/vercel/next.js/issues/77053">#77053</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/5e59da1f5c8b9e8b3a759048bd371efcd77813ae"><code>5e59da1</code></a> Add dev warning for cross-origin and stabilize allowedDevOrigins (<a href="https://redirect.github.com/vercel/next.js/issues/77044">#77044</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/8151cb6ce921cb1b9faeab6fb88551146dc206b7"><code>8151cb6</code></a> Ensure deploymentId is used for CSS preloads (<a href="https://redirect.github.com/vercel/next.js/issues/77210">#77210</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2"><code>52a078d</code></a> Update middleware request header (<a href="https://redirect.github.com/vercel/next.js/issues/77201">#77201</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/4698ad6478cc85a7283a8c41edfbba023dadf57d"><code>4698ad6</code></a> [metadata] remove the default segement check for metadata rendering (<a href="https://redirect.github.com/vercel/next.js/issues/77119">#77119</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/1e1ff403a28703b08e68758cfcbb7b6c97c4bd2a"><code>1e1ff40</code></a> [ts-hint] fix vscode type hint plugin enabling (<a href="https://redirect.github.com/vercel/next.js/issues/77099">#77099</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/88deb12b03c90f5146b1270cd7bea3517cf90083"><code>88deb12</code></a> [metadata] re-insert icons to head for streamed metadata (<a href="https://redirect.github.com/vercel/next.js/issues/76915">#76915</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/f4552826e1ed15fbeb951be552d67c5a08ad0672"><code>f455282</code></a> v15.2.2</li> <li>Additional commits viewable in <a href="https://github.com/vercel/next.js/compare/v15.1.2...v15.2.3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/codegen-sh/codegen/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edo Pujol <ed@codegen.com>
fix: Delete Everything Agent Related (codegen-sh#942) - all examples, agent, langchain things
fix(deps): update dependency openai to v1.68.2 (codegen-sh#937) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [openai](https://redirect.github.com/openai/openai-python) | `==1.68.0` -> `==1.68.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>openai/openai-python (openai)</summary> ### [`v1.68.2`](https://redirect.github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1682-2025-03-21) [Compare Source](https://redirect.github.com/openai/openai-python/compare/v1.68.1...v1.68.2) Full Changelog: [v1.68.1...v1.68.2](https://redirect.github.com/openai/openai-python/compare/v1.68.1...v1.68.2) ##### Refactors - **package:** rename audio extra to voice_helpers ([2dd6cb8](https://redirect.github.com/openai/openai-python/commit/2dd6cb87489fe12c5e45128f44d985c3f49aba1d)) ### [`v1.68.1`](https://redirect.github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1681-2025-03-21) [Compare Source](https://redirect.github.com/openai/openai-python/compare/v1.68.0...v1.68.1) Full Changelog: [v1.68.0...v1.68.1](https://redirect.github.com/openai/openai-python/compare/v1.68.0...v1.68.1) ##### Bug Fixes - **client:** remove duplicate types ([#​2235](https://redirect.github.com/openai/openai-python/issues/2235)) ([063f7d0](https://redirect.github.com/openai/openai-python/commit/063f7d0684c350ca9d766e2cb150233a22a623c8)) - **helpers/audio:** remove duplicative module ([f253d04](https://redirect.github.com/openai/openai-python/commit/f253d0415145f2c4904ea2e7b389d31d94e45a54)) - **package:** make sounddevice and numpy optional dependencies ([8b04453](https://redirect.github.com/openai/openai-python/commit/8b04453f0483736c13f0209a9f8f3618bc0e86c9)) ##### Chores - **ci:** run workflows on next too ([67f89d4](https://redirect.github.com/openai/openai-python/commit/67f89d478aab780d1481c9bf6682c6633e431137)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "* 0-3 * * 1" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/codegen-sh/codegen). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix(deps): update dependency sentry-sdk to v2.24.0 (codegen-sh#934) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sentry-sdk](https://redirect.github.com/getsentry/sentry-python) ([changelog](https://redirect.github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | `==2.23.1` -> `==2.24.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-python (sentry-sdk)</summary> ### [`v2.24.0`](https://redirect.github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2240) ##### Various fixes & improvements - fix(tracing): Fix `InvalidOperation` ([#​4179](https://redirect.github.com/getsentry/sentry-python/issues/4179)) by [@​szokeasaurusrex](https://redirect.github.com/szokeasaurusrex) - Fix memory leak by not piling up breadcrumbs forever in Spark workers. ([#​4167](https://redirect.github.com/getsentry/sentry-python/issues/4167)) by [@​antonpirker](https://redirect.github.com/antonpirker) - Update scripts sources ([#​4166](https://redirect.github.com/getsentry/sentry-python/issues/4166)) by [@​emmanuel-ferdman](https://redirect.github.com/emmanuel-ferdman) - Fixed flaky test ([#​4165](https://redirect.github.com/getsentry/sentry-python/issues/4165)) by [@​antonpirker](https://redirect.github.com/antonpirker) - chore(profiler): Add deprecation warning for session functions ([#​4171](https://redirect.github.com/getsentry/sentry-python/issues/4171)) by [@​sentrivana](https://redirect.github.com/sentrivana) - feat(profiling): reverse profile_session start/stop methods deprecation ([#​4162](https://redirect.github.com/getsentry/sentry-python/issues/4162)) by [@​viglia](https://redirect.github.com/viglia) - Reset `DedupeIntegration`'s `last-seen` if `before_send` dropped the event ([#​4142](https://redirect.github.com/getsentry/sentry-python/issues/4142)) by [@​sentrivana](https://redirect.github.com/sentrivana) - style(integrations): Fix captured typo ([#​4161](https://redirect.github.com/getsentry/sentry-python/issues/4161)) by [@​pimuzzo](https://redirect.github.com/pimuzzo) - Handle loguru msg levels that are not supported by Sentry ([#​4147](https://redirect.github.com/getsentry/sentry-python/issues/4147)) by [@​antonpirker](https://redirect.github.com/antonpirker) - feat(tests): Update tox.ini ([#​4146](https://redirect.github.com/getsentry/sentry-python/issues/4146)) by [@​sentrivana](https://redirect.github.com/sentrivana) - Support Starlette/FastAPI `app.host` ([#​4157](https://redirect.github.com/getsentry/sentry-python/issues/4157)) by [@​sentrivana](https://redirect.github.com/sentrivana) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "* 0-3 * * 1" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/codegen-sh/codegen). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Revert "[CG-7930] new api for removing unused symbols" (codegen-sh#929) Reverts codegen-sh#855
fix(deps): update dependency openai to v1.68.0 (codegen-sh#925) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [openai](https://redirect.github.com/openai/openai-python) | `==1.67.0` -> `==1.68.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>openai/openai-python (openai)</summary> ### [`v1.68.0`](https://redirect.github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1680-2025-03-20) [Compare Source](https://redirect.github.com/openai/openai-python/compare/v1.67.0...v1.68.0) Full Changelog: [v1.67.0...v1.68.0](https://redirect.github.com/openai/openai-python/compare/v1.67.0...v1.68.0) ##### Features - add audio helpers ([423655c](https://redirect.github.com/openai/openai-python/commit/423655ca9077cfd258f1e52f6eb386fc8307fa5f)) - **api:** new models for TTS, STT, + new audio features for Realtime ([#​2232](https://redirect.github.com/openai/openai-python/issues/2232)) ([ab5192d](https://redirect.github.com/openai/openai-python/commit/ab5192d0a7b417ade622ec94dd48f86beb90692c)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "* 0-3 * * 1" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/codegen-sh/codegen). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix: token limit inversion (codegen-sh#923) # Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
PreviousNext