Skip to content

Commit aa7d8c8

Browse files
authored
Merge pull request #64 from portofcontext/ts-sidecar
Tool Disclosure
2 parents 1fba0e1 + a4b2bdf commit aa7d8c8

115 files changed

Lines changed: 3245 additions & 2955 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release-python.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ jobs:
4040
git push origin "pctx-py-v${{ steps.get_version.outputs.version }}"
4141
4242
- name: Build package
43-
working-directory: pctx-py
44-
run: uv build
43+
run: ./scripts/build-python.sh
4544
- name: Publish to PyPI
4645
working-directory: pctx-py
4746
env:

CHANGELOG.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
### Changed
13-
14-
### Fixed
15-
16-
## [v0.6.0-beta.2] - 2026-02-17
17-
18-
### Added
19-
20-
- Update the fs-mode generated readme to provide clarity on using cat to read about type definitions. Avoids parameter hallucinations.
21-
22-
### Changed
23-
24-
### Fixed
25-
26-
## [v0.6.0-beta.1] - 2026-02-14
27-
28-
### Added
29-
3012
- Python `@tool` decorator now parses docstrings (Google, NumPy, reStructuredText, and Epydoc formats) to extract parameter descriptions, return value descriptions, and detailed function descriptions into tool schemas
3113
- Make code mode config and all tools / descriptions easily configurable from python client
32-
- Add just-bash and new execute_bash tool to explore filesystem of the generated sdk
14+
- `ToolDisclosure` support in python client and unified mcp with `pctx mcp start`
3315

3416
### Changed
3517

18+
- Centralized tool descriptions and workflows in root of the repo and loaded by the various `pctx` surfaces.
19+
3620
### Fixed
21+
22+
- Various `pctx mcp dev` rendering issues.
23+
3724
## [v0.5.0] - 2026-02-14
3825

3926
### Added
@@ -50,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5037
- When removing a websocket session, graceful cancel of all pending client tool executions
5138

5239
- JS runtime race condition by moving the V8 mutex to be held for the entire typecheck/execute process. This previously caused a panic: `../../../../third_party/libc++/src/include/__vector/vector.h:416: libc++ Hardening assertion __n < size() failed: vector[] index out of bounds`
40+
5341
## [v0.4.3] - 2026-01-27
5442

5543
### Added

Cargo.lock

Lines changed: 118 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: help release publish-crates docs test-python test-python-integration format-python test-cli
1+
.PHONY: help release publish-crates docs test-python test-python-integration format-python test-cli build-python
22

33
# Default target - show help when running just 'make'
44
.DEFAULT_GOAL := help
@@ -14,6 +14,7 @@ help:
1414
@echo " make test-cli - Run CLI integration tests (pctx mcp start)"
1515
@echo " make release - Interactive release script (bump version, update changelog)"
1616
@echo " make publish-crates - Publish pctx_code_mode + dependencies to crates.io (runs locally)"
17+
@echo " make build-python - Build Python package (resolves symlinks before build)"
1718
@echo ""
1819

1920
# Generate CLI and Python documentation
@@ -48,3 +49,7 @@ release:
4849
publish-crates:
4950
@./scripts/publish-crates.sh
5051

52+
# Build Python package (resolves _tool_descriptions/data symlink before build, restores after)
53+
build-python:
54+
@./scripts/build-python.sh
55+

crates/pctx/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pctx"
3-
version = "0.6.0-beta.2"
3+
version = "0.6.0"
44
edition = "2024"
55
rust-version = "1.89"
66
license = "MIT"
@@ -95,6 +95,7 @@ tokio = { workspace = true, features = [
9595

9696
# Errors
9797
anyhow = { workspace = true }
98+
regex = "1.12.3"
9899

99100

100101
[target.'cfg(all(not(target_env = "msvc"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]

0 commit comments

Comments
 (0)