@parall/agent-core 1.15.0 → 1.15.1
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/dist/gateway-base.js +1 -1
- package/package.json +2 -2
- package/src/gateway-base.ts +1 -1
package/dist/gateway-base.js
CHANGED
|
@@ -324,7 +324,7 @@ export class ParallAgentGateway {
|
|
|
324
324
|
try {
|
|
325
325
|
if (this.activeSessionId) {
|
|
326
326
|
try {
|
|
327
|
-
await this.opts.client.updateAgentSession(this.opts.config.org_id, this.opts.agentUserId, this.activeSessionId, { status: "active" });
|
|
327
|
+
await this.opts.client.updateAgentSession(this.opts.config.org_id, this.opts.agentUserId, this.activeSessionId, { status: "active", trigger_message_id: event.messageId });
|
|
328
328
|
}
|
|
329
329
|
catch (err) {
|
|
330
330
|
this.opts.log?.warn(`parall[${this.opts.accountId}]: failed to set session active: ${String(err)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/agent-core",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.1",
|
|
4
4
|
"description": "Shared agent runtime orchestration helpers for Parall",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"src"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@parall/sdk": "1.15.
|
|
25
|
+
"@parall/sdk": "1.15.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.0.0",
|
package/src/gateway-base.ts
CHANGED
|
@@ -437,7 +437,7 @@ export class ParallAgentGateway {
|
|
|
437
437
|
try {
|
|
438
438
|
if (this.activeSessionId) {
|
|
439
439
|
try {
|
|
440
|
-
await this.opts.client.updateAgentSession(this.opts.config.org_id, this.opts.agentUserId, this.activeSessionId, { status: "active" });
|
|
440
|
+
await this.opts.client.updateAgentSession(this.opts.config.org_id, this.opts.agentUserId, this.activeSessionId, { status: "active", trigger_message_id: event.messageId });
|
|
441
441
|
} catch (err) {
|
|
442
442
|
this.opts.log?.warn(`parall[${this.opts.accountId}]: failed to set session active: ${String(err)}`);
|
|
443
443
|
}
|