@portofcontext/pctx 0.4.3 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -13,6 +13,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Fixed
15
15
 
16
+ ## [v0.5.0] - 2026-02-14
17
+
18
+ ### Added
19
+
20
+ - CORS layer added to pctx session server. Add custom allowed origins via the `--allow-origin` flag
21
+ - Added more of typescript `.d.ts` files for more comprehensive type checking.
22
+
23
+ ### Changed
24
+
25
+ - [#53](https://github.com/portofcontext/pctx/issues/53) Improved code generation support for tools with no input schema or all optional input schemas
26
+
27
+ ### Fixed
28
+
29
+ - When removing a websocket session, graceful cancel of all pending client tool executions
30
+
31
+ - 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`
16
32
  ## [v0.4.3] - 2026-01-27
17
33
 
18
34
  ### Added
@@ -24,7 +24,7 @@
24
24
  "hasInstallScript": true,
25
25
  "license": "MIT",
26
26
  "name": "@portofcontext/pctx",
27
- "version": "0.4.3"
27
+ "version": "0.5.0"
28
28
  },
29
29
  "node_modules/@isaacs/balanced-match": {
30
30
  "engines": {
@@ -897,5 +897,5 @@
897
897
  }
898
898
  },
899
899
  "requires": true,
900
- "version": "0.4.3"
900
+ "version": "0.5.0"
901
901
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/portofcontext/pctx/releases/download/v0.4.3",
2
+ "artifactDownloadUrl": "https://github.com/portofcontext/pctx/releases/download/v0.5.0",
3
3
  "bin": {
4
4
  "generate-cli-docs": "run-generate-cli-docs.js",
5
5
  "pctx": "run-pctx.js"
@@ -92,7 +92,7 @@
92
92
  "zipExt": ".tar.gz"
93
93
  }
94
94
  },
95
- "version": "0.4.3",
95
+ "version": "0.5.0",
96
96
  "volta": {
97
97
  "node": "18.14.1",
98
98
  "npm": "9.5.0"