@parall/parall 1.18.0 → 1.19.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/gateway.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/parall",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "OpenClaw channel plugin for Parall IM",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -15,8 +15,8 @@
15
15
  "openclaw.plugin.json"
16
16
  ],
17
17
  "dependencies": {
18
- "@parall/sdk": "1.18.0",
19
- "@parall/agent-core": "1.18.0"
18
+ "@parall/agent-core": "1.19.0",
19
+ "@parall/sdk": "1.19.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^22.0.0",
package/src/gateway.ts CHANGED
@@ -5,6 +5,7 @@ import type { ChannelPlugin } from "openclaw/plugin-sdk/core";
5
5
  type ChannelGatewayAdapter<T = unknown> = NonNullable<ChannelPlugin<T>["gateway"]>;
6
6
  import {
7
7
  ParallAgentGateway,
8
+ parseShutdownDeadlineMs,
8
9
  type DispatchAdapter,
9
10
  type ParallEvent,
10
11
  type RuntimeEvent,
@@ -304,6 +305,7 @@ export const parallGateway: ChannelGatewayAdapter<ResolvedParallAccount> = {
304
305
  runtimeRef: { hostname: os.hostname(), pid: process.pid },
305
306
  dispatchAdapter,
306
307
  log,
308
+ shutdownDeadlineMs: parseShutdownDeadlineMs(process.env.PRLL_SHUTDOWN_DEADLINE_MS),
307
309
  onConfigUpdate: async () => {
308
310
  await fetchAndApplyPlatformConfig(configManagerOpts);
309
311
  },