@aigne/core 1.68.1 → 1.68.2

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
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.68.2](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.68.2-beta...core-v1.68.2) (2025-11-15)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/observability-api bumped to 0.11.8
11
+
12
+ ## [1.68.2-beta](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.68.1...core-v1.68.2-beta) (2025-11-15)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **core:** memory leak in AIGNEContext by preventing duplicate signal handler ([#748](https://github.com/AIGNE-io/aigne-framework/issues/748)) ([7f17592](https://github.com/AIGNE-io/aigne-framework/commit/7f175929d78e4289e2d551746b12a73bb5c0eb22))
18
+
19
+
20
+ ### Dependencies
21
+
22
+ * The following workspace dependencies were updated
23
+ * dependencies
24
+ * @aigne/observability-api bumped to 0.11.8-beta
25
+
3
26
  ## [1.68.1](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.68.1-beta...core-v1.68.1) (2025-11-15)
4
27
 
5
28
 
@@ -203,7 +203,9 @@ class AIGNEContext {
203
203
  return this.internal.events.emit(eventName, ...newArgs);
204
204
  }
205
205
  initProcessExitHandler() {
206
- process.on("SIGINT", async () => {
206
+ if (this.parentId)
207
+ return;
208
+ process.once("SIGINT", async () => {
207
209
  try {
208
210
  if (process.env.AIGNE_OBSERVABILITY_DISABLED)
209
211
  return;
@@ -197,7 +197,9 @@ export class AIGNEContext {
197
197
  return this.internal.events.emit(eventName, ...newArgs);
198
198
  }
199
199
  initProcessExitHandler() {
200
- process.on("SIGINT", async () => {
200
+ if (this.parentId)
201
+ return;
202
+ process.once("SIGINT", async () => {
201
203
  try {
202
204
  if (process.env.AIGNE_OBSERVABILITY_DISABLED)
203
205
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/core",
3
- "version": "1.68.1",
3
+ "version": "1.68.2",
4
4
  "description": "The functional core of agentic AI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -94,8 +94,8 @@
94
94
  "zod-to-json-schema": "^3.24.6",
95
95
  "@aigne/afs": "^1.2.1",
96
96
  "@aigne/afs-history": "^1.0.2",
97
- "@aigne/observability-api": "^0.11.7",
98
- "@aigne/platform-helpers": "^0.6.4"
97
+ "@aigne/platform-helpers": "^0.6.4",
98
+ "@aigne/observability-api": "^0.11.8"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@types/bun": "^1.2.22",