@portofcontext/pctx 0.4.2 → 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,32 @@ 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`
32
+ ## [v0.4.3] - 2026-01-27
33
+
34
+ ### Added
35
+
36
+ ### Changed
37
+
38
+ ### Fixed
39
+
40
+ - Callback configurations with empty input schemas causing panic -> now empty input schemas will be handled as `any`, and fully support of optional schemas will be released later.
41
+
16
42
  ## [v0.4.2] - 2026-01-19
17
43
 
18
44
  ### Added
@@ -22,6 +48,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
48
  ### Fixed
23
49
 
24
50
  - OpenTelemetry distributed tracing support via W3C `traceparent` header in both MCP and session servers
51
+
25
52
  ## [v0.4.1] - 2026-01-12
26
53
 
27
54
  ### Added
@@ -24,7 +24,7 @@
24
24
  "hasInstallScript": true,
25
25
  "license": "MIT",
26
26
  "name": "@portofcontext/pctx",
27
- "version": "0.4.2"
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.2"
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.2",
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.2",
95
+ "version": "0.5.0",
96
96
  "volta": {
97
97
  "node": "18.14.1",
98
98
  "npm": "9.5.0"