pctx_code_mode 0.2.3

TypeScript code execution engine for AI agents with tool schemas, sandboxed Deno runtime, and Rust callbacks
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.2.3 (2026-02-04)

### Commit Statistics

<csr-read-only-do-not-edit/>

 - 8 commits contributed to the release.
 - 7 days passed between releases.
 - 0 commits were understood as [conventional]https://www.conventionalcommits.org.
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

 * **Uncategorized**
    - Release pctx_codegen v0.2.0, pctx_type_check_runtime v0.1.2, pctx_executor v0.1.2, pctx_code_mode v0.2.3 ([`dbe7858`]https://github.com/portofcontext/pctx/commit/dbe78587850bc31d42e24f8132069ce705313351)
    - Release pctx_codegen v0.2.0, pctx_type_check_runtime v0.1.2, pctx_executor v0.1.2, pctx_code_mode v0.2.3 ([`2b9e359`]https://github.com/portofcontext/pctx/commit/2b9e359c8366d1cf50fdf23b49287e77025ecf4e)
    - Release pctx_codegen v0.2.0, pctx_type_check_runtime v0.1.2, pctx_executor v0.1.2, pctx_code_mode v0.2.3 ([`ca2531d`]https://github.com/portofcontext/pctx/commit/ca2531dac6d202d926c55beec03c73496a75e056)
    - Bump code mode ([`f980ad0`]https://github.com/portofcontext/pctx/commit/f980ad0e0489cada6e3ee0f6a0d6156f78793f7f)
    - Release pctx_codegen v0.2.0, pctx_type_check_runtime v0.1.2, pctx_executor v0.1.2, pctx_code_mode v0.2.2 ([`8cd4cb3`]https://github.com/portofcontext/pctx/commit/8cd4cb3354416208f70927e8fdb6540162402eef)
    - Merge pull request #54 from portofcontext/empty-args ([`bf72e21`]https://github.com/portofcontext/pctx/commit/bf72e211d13336baf1f79d89e60c98ba6aa4bf7c)
    - Support for automatic default objects for "all optional" inputs ([`1df03d0`]https://github.com/portofcontext/pctx/commit/1df03d0b5996ec96b64bb3f0d64fc72ef3535108)
    - Upgrade codegen, tests, and dependants to support optional input schemas ([`11f9b86`]https://github.com/portofcontext/pctx/commit/11f9b86f1884a5adfcc27bbc13409eb4faf42467)
</details>

## 0.2.2 (2026-01-28)

### Commit Statistics

<csr-read-only-do-not-edit/>

 - 2 commits contributed to the release.
 - 0 commits were understood as [conventional]https://www.conventionalcommits.org.
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

 * **Uncategorized**
    - Release pctx_config v0.1.3, pctx_code_execution_runtime v0.1.3, pctx_executor v0.1.2, pctx_code_mode v0.2.2 ([`d89a17a`]https://github.com/portofcontext/pctx/commit/d89a17a1dcf724dd9545c3a59cadae7ba1bfeff7)
    - Improve pctx code mode re-exports & update readme ([`6d15c75`]https://github.com/portofcontext/pctx/commit/6d15c75052db5d317a875b368ed5677d90755c76)
</details>

## 0.2.1 (2026-01-27)

### Commit Statistics

<csr-read-only-do-not-edit/>

 - 5 commits contributed to the release.
 - 0 commits were understood as [conventional]https://www.conventionalcommits.org.
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

 * **Uncategorized**
    - Release pctx_code_mode v0.2.1 ([`5b8cd05`]https://github.com/portofcontext/pctx/commit/5b8cd05369652d6d8308303679d54d9c7a91fc6e)
    - Bump code mode crate ([`480a076`]https://github.com/portofcontext/pctx/commit/480a0760282e443e8d2a1f907b337bbf82cb51a0)
    - Release pctx_config v0.1.2, pctx_code_execution_runtime v0.1.2, pctx_code_mode v0.2.0 ([`bb7d3d9`]https://github.com/portofcontext/pctx/commit/bb7d3d93af81360310c3891bb649c54077af445d)
    - Merge branch 'main' of github.com:portofcontext/pctx ([`4e4c328`]https://github.com/portofcontext/pctx/commit/4e4c32849dd080c77046fb255fe686944e5c37d8)
    - Improve example code_mode code ([`353da7a`]https://github.com/portofcontext/pctx/commit/353da7a7868a250ed5c8ea5a945af3305dde79d3)
</details>

## 0.2.0 (2026-01-27)

### Commit Statistics

<csr-read-only-do-not-edit/>

 - 7 commits contributed to the release.
 - 6 days passed between releases.
 - 0 commits were understood as [conventional]https://www.conventionalcommits.org.
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

 * **Uncategorized**
    - Release pctx_code_mode v0.2.0 ([`e596bed`]https://github.com/portofcontext/pctx/commit/e596bed5e3e7c1548d6e717b716ce535d2c2b45e)
    - Release pctx_code_mode v0.2.0 ([`043829f`]https://github.com/portofcontext/pctx/commit/043829fecd52bc1216638f964f3a6014aff1a0d9)
    - Merge branch 'main' into improve-code-mode-interface ([`b9175f8`]https://github.com/portofcontext/pctx/commit/b9175f8577fe1e6dd90e4b3688065055d90500db)
    - Temp bug fix: empty inputSchema on callbacks ([`ae90ef1`]https://github.com/portofcontext/pctx/commit/ae90ef14774954ca1959a721268af8ca7ff55469)
    - Migrate crates dependant on pctx_code_mode ([`a0157c1`]https://github.com/portofcontext/pctx/commit/a0157c1587f9126f26bd895ba78bd2c3452b3d4e)
    - Better CodeMode struct ([`d270397`]https://github.com/portofcontext/pctx/commit/d2703972374d32356d96d3e35a32b18484658886)
    - Use position() instead of unwrap() when adding callbacks ([`02e456a`]https://github.com/portofcontext/pctx/commit/02e456a302e4d16711f8afbabf488f981cb2167e)
</details>

## 0.1.1 (2026-01-20)

### Commit Statistics

<csr-read-only-do-not-edit/>

 - 9 commits contributed to the release over the course of 7 calendar days.
 - 8 days passed between releases.
 - 0 commits were understood as [conventional]https://www.conventionalcommits.org.
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

 * **Uncategorized**
    - Release pctx_executor v0.1.1, pctx_code_mode v0.1.1 ([`075fd8b`]https://github.com/portofcontext/pctx/commit/075fd8b93993e4727d05568f10977586ae958354)
    - Bump primary ([`392eb7c`]https://github.com/portofcontext/pctx/commit/392eb7c30e14ca0c15f03a1a960d7dc080e14d8f)
    - Adjusting changelogs prior to release of pctx_config v0.1.1, pctx_code_execution_runtime v0.1.1, pctx_codegen v0.1.1, pctx_deno_transpiler v0.1.1, pctx_type_check_runtime v0.1.1, pctx_executor v0.1.0, pctx_code_mode v0.1.0 ([`1226141`]https://github.com/portofcontext/pctx/commit/1226141953fe727fc35c42ef50d1c95bd27037e0)
    - Merge pull request #52 from portofcontext/bump-deps-for-goose ([`8a25938`]https://github.com/portofcontext/pctx/commit/8a259388b64d111a671cf930cdd6294449b70d8b)
    - Cargo fmt ([`553531d`]https://github.com/portofcontext/pctx/commit/553531ddeaf3bdbaf6e7643b946e4e8b554b6456)
    - Bump deps and export needed code mode structs and funcs ([`ddf9f35`]https://github.com/portofcontext/pctx/commit/ddf9f35cfb9d9bc760b8e31d02eb332cbc04b1ed)
    - Merge pull request #51 from portofcontext/otlp-traceparent ([`1a0c13e`]https://github.com/portofcontext/pctx/commit/1a0c13e4c739285f278f887e0abd4fa2d1a43f08)
    - Consolidate deps to root cargo toml ([`4da94a7`]https://github.com/portofcontext/pctx/commit/4da94a7fb913fc9e4d6052277077eb6f7a87628a)
    - Dedup RegisterMcpServersRequest server config ([`776ff74`]https://github.com/portofcontext/pctx/commit/776ff7445bd303aaee1cf9af7868e90ea74badd1)
</details>

## 0.1.0 (2026-01-12)

### Added

- Initial release of pctx_code_mode

### Commit Statistics

<csr-read-only-do-not-edit/>

 - 52 commits contributed to the release over the course of 45 calendar days.
 - 0 commits were understood as [conventional]https://www.conventionalcommits.org.
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

 * **Uncategorized**
    - Release pctx_deno_transpiler v0.1.0, pctx_type_check_runtime v0.1.0, pctx_executor v0.1.0, pctx_code_mode v0.1.0 ([`6abd5b1`]https://github.com/portofcontext/pctx/commit/6abd5b160dd1895e88a216360b1ff07e355f819e)
    - Release pctx_config v0.1.0, pctx_code_execution_runtime v0.1.0, pctx_codegen v0.1.0, deno_transpiler v0.1.0, pctx_type_check_runtime v0.1.0, pctx_executor v0.1.0, pctx_code_mode v0.1.0 ([`821751c`]https://github.com/portofcontext/pctx/commit/821751c5ba7e28d2be1741454fcfe73fde3e8414)
    - Changelog init ([`899cdfc`]https://github.com/portofcontext/pctx/commit/899cdfcf69f9b404668188f768cc24ed853daf7d)
    - Adjusting changelogs prior to release of pctx_config v0.1.0, pctx_code_execution_runtime v0.1.0, pctx_codegen v0.1.0, deno_transpiler v0.1.0, pctx_type_check_runtime v0.1.0, pctx_executor v0.1.0, pctx_code_mode v0.1.0 ([`44a3253`]https://github.com/portofcontext/pctx/commit/44a325347bad9a22a69e87691c583dfb3721ab39)
    - Init changelogs ([`60b8c14`]https://github.com/portofcontext/pctx/commit/60b8c14b41da72b74a843c1e4a20297ddc17f364)
    - Update crates setup for crates.io publishing ([`92502a4`]https://github.com/portofcontext/pctx/commit/92502a46c7b006023fb767796600cc0267fbf5e0)
    - Merge pull request #43 from portofcontext/more-instrumentation ([`b26329d`]https://github.com/portofcontext/pctx/commit/b26329dc8d135865073090b2330d6f9c54404f69)
    - Merge branch 'main' into more-instrumentation ([`f43a433`]https://github.com/portofcontext/pctx/commit/f43a43397d9030a8b7bf24a9cf6c86d6f248f474)
    - Merge pull request #48 from portofcontext/parallel-mcp-connect ([`f38ee18`]https://github.com/portofcontext/pctx/commit/f38ee18a348cde79949e600b94ebfd49b42e81da)
    - Share parallel code ([`153d29e`]https://github.com/portofcontext/pctx/commit/153d29edabb989344545d774193b5f7241cb710d)
    - Cli integration tests ([`9076f01`]https://github.com/portofcontext/pctx/commit/9076f01d0048d2ec7e4230243a2e7f8530a8d3b3)
    - Update post_execution hook ([`e70adfa`]https://github.com/portofcontext/pctx/commit/e70adfa36e9839d2388cd411f3231100bf21a1c0)
    - Merge pull request #44 from portofcontext/handle-mcp-errs-and-stdio ([`9732aad`]https://github.com/portofcontext/pctx/commit/9732aade68e6ac34a46ddea158f1bcb30457549d)
    - Post execution hook ([`84e2da2`]https://github.com/portofcontext/pctx/commit/84e2da211b132640546df2e0266be87a816e0ff6)
    - Merge branch 'main' into handle-mcp-errs-and-stdio ([`363a3f0`]https://github.com/portofcontext/pctx/commit/363a3f082c38e2b1c509e02321711c6d04291d7c)
    - Merge branch 'main' into more-instrumentation ([`bdbe6b5`]https://github.com/portofcontext/pctx/commit/bdbe6b5301868f8de51530848bfea373e6a86bbf)
    - Merge pull request #42 from portofcontext/bugfix/ts-compiler-err-msg-handling ([`7c96a40`]https://github.com/portofcontext/pctx/commit/7c96a408b76d12bc18c0e79ce6ce2c40dcc2ab2f)
    - Pr comments ([`37c2f44`]https://github.com/portofcontext/pctx/commit/37c2f44386bd777642351181d12d8d8a088d53ab)
    - Instrument execute ([`b3b172c`]https://github.com/portofcontext/pctx/commit/b3b172c2391a15ed0544f7bde63c5bf35d3da119)
    - Improve handling of ts compiler errors ([`80858a9`]https://github.com/portofcontext/pctx/commit/80858a95b95d6fb7c625c1d884093d656c7e56c4)
    - Add stdio MCP support ([`21d2d92`]https://github.com/portofcontext/pctx/commit/21d2d92886b6c36b79a24ba3d1e9596ae8d9324a)
    - Merge pull request #38 from portofcontext/dependency-bumps-dec-12 ([`5ef7aef`]https://github.com/portofcontext/pctx/commit/5ef7aefb11d22f09330af9cf23bd1341448f7c3a)
    - Merge pull request #39 from portofcontext/ws-only-for-execute ([`ca4ec8d`]https://github.com/portofcontext/pctx/commit/ca4ec8ddc1bffd67e8c96fa7bc566d36a9771c9c)
    - Code mode serializable ([`2135a8a`]https://github.com/portofcontext/pctx/commit/2135a8a45714a807b70bb36344bfcca328ad2597)
    - Execute with registry ([`9fc55c2`]https://github.com/portofcontext/pctx/commit/9fc55c21b43fcab1a9ed920e6e0dc7c881818f0f)
    - Various dependency updates for compatability ([`0a2a3e8`]https://github.com/portofcontext/pctx/commit/0a2a3e8f18d4f366ef8e4051b8f79d99ce80a86c)
    - Merge pull request #29 from portofcontext/feature/py-lib ([`0a09de6`]https://github.com/portofcontext/pctx/commit/0a09de66e3afd2b5072a198468bdbcbae117c738)
    - Merge pull request #34 from portofcontext/websocket-for-main-code-exec ([`c5df3ee`]https://github.com/portofcontext/pctx/commit/c5df3eeede05258f27615589a1e8388e0f008c77)
    - Replace rest execute with websocket based for async ([`4545b7b`]https://github.com/portofcontext/pctx/commit/4545b7b65247acbcaffccd373c1e17ea87d6247e)
    - Get sessions based on id ([`7efe50d`]https://github.com/portofcontext/pctx/commit/7efe50d98663f3467577304cf9fdae7468586b51)
    - Callback fns in CodeMode struct ([`50945bf`]https://github.com/portofcontext/pctx/commit/50945bf1e58737d8d35ac147ede955d3249a8e3e)
    - De-dup codemode structs ([`3bd0345`]https://github.com/portofcontext/pctx/commit/3bd0345ff48e7f677819036a90a018e8415bdecc)
    - Merge branch 'callbacks-eap' of github.com:portofcontext/pctx into callbacks-eap ([`0b13304`]https://github.com/portofcontext/pctx/commit/0b133043a0959a2725867cdca4f405c55178731d)
    - Confirm callback registry has all ([`4470394`]https://github.com/portofcontext/pctx/commit/44703940d256c0296f71ec346da9aa5b81b0ca09)
    - Add local tools to get/list function responses ([`b32d73f`]https://github.com/portofcontext/pctx/commit/b32d73f0d1cc2a22caa1d6e39b32360c5798f10a)
    - Merge branch 'callbacks-eap' of github.com:portofcontext/pctx into callbacks-eap ([`cd7b8f6`]https://github.com/portofcontext/pctx/commit/cd7b8f6b6f37978fb1ad00aefce11747e19bd197)
    - Merge branch 'callbacks-eap' of https://github.com/portofcontext/pctx into callbacks-eap ([`fc89e9b`]https://github.com/portofcontext/pctx/commit/fc89e9bb7ca24a604b81f3d0fe42cd4387b746f1)
    - Add_callback ([`78a5dde`]https://github.com/portofcontext/pctx/commit/78a5dde3faba24840c157291790d114c3ea9b9ca)
    - Merge branch 'callbacks-eap' of https://github.com/portofcontext/pctx into callbacks-eap ([`8fef99e`]https://github.com/portofcontext/pctx/commit/8fef99e44db4d79d00fca426660181926ec96bde)
    - Start deduping ([`dbceba9`]https://github.com/portofcontext/pctx/commit/dbceba9a1b6291daff391a8a7223177eb27805bb)
    - Codemode compilining ([`48bb088`]https://github.com/portofcontext/pctx/commit/48bb08835e15055ad791318c4c3587b73a93c427)
    - Add callback_registry & simplify ([`c2ac47f`]https://github.com/portofcontext/pctx/commit/c2ac47f64c63b423e724c8d97a0fda4cb0b0ac74)
    - Delete session crate ([`b47b06a`]https://github.com/portofcontext/pctx/commit/b47b06ac3182f92b98918e59dc57fdd50287e322)
    - Move session out of executor ([`7722bc4`]https://github.com/portofcontext/pctx/commit/7722bc4be6b8ef8e62606cc331e06eff298c9ff8)
    - Restructuring ([`194c3d3`]https://github.com/portofcontext/pctx/commit/194c3d314497d35e89e74a5881488bfb963750ff)
    - Rest api refactor ([`01bbc2d`]https://github.com/portofcontext/pctx/commit/01bbc2d3a0b7159872c9e6b8be9724493871d277)
    - Merged pctx-py ([`fdb30c5`]https://github.com/portofcontext/pctx/commit/fdb30c58223d31ba67ff10e29c5f5f9238be50f0)
    - Fix interfaces mcp vs. ws ([`65a04bf`]https://github.com/portofcontext/pctx/commit/65a04bfef8d8dff66923379307f1afa5e86aee84)
    - Progress on websocket handling ([`1858be2`]https://github.com/portofcontext/pctx/commit/1858be2ad0c2afcb5abee006f4987121da3d9000)
    - Websocket refactor ([`e0e1ffb`]https://github.com/portofcontext/pctx/commit/e0e1ffb658f8cb4fdfa1add0c5b7594c013ccd6d)
    - Add output type and maturin publishing ([`7ddba30`]https://github.com/portofcontext/pctx/commit/7ddba3071246760fb78ad23c22ace5bd38cdaddc)
    - Setup python bindings and some renaming ([`e5b8755`]https://github.com/portofcontext/pctx/commit/e5b8755f3c16499e61f5ce1be09f9c8a941504ab)
</details>