@parall/parall 1.14.0 → 1.14.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/package.json +3 -4
- package/src/gateway.ts +1 -0
- package/src/wiki-helper.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/parall",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "OpenClaw channel plugin for Parall IM",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
"openclaw.plugin.json"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@parall/agent-core": "1.14.
|
|
19
|
-
"@parall/
|
|
20
|
-
"@parall/sdk": "1.14.0"
|
|
18
|
+
"@parall/agent-core": "1.14.2",
|
|
19
|
+
"@parall/sdk": "1.14.2"
|
|
21
20
|
},
|
|
22
21
|
"devDependencies": {
|
|
23
22
|
"@types/node": "^22.0.0",
|
package/src/gateway.ts
CHANGED
|
@@ -228,6 +228,7 @@ export const parallGateway: ChannelGatewayAdapter<ResolvedParallAccount> = {
|
|
|
228
228
|
const client = new ParallClient({
|
|
229
229
|
baseUrl: config.parall_url,
|
|
230
230
|
token: config.api_key,
|
|
231
|
+
swimlaneName: process.env.PRLL_SWIMLANE_NAME,
|
|
231
232
|
});
|
|
232
233
|
|
|
233
234
|
const me = await client.getMe();
|
package/src/wiki-helper.ts
CHANGED
|
@@ -22,7 +22,7 @@ type WikiHelperRuntime = {
|
|
|
22
22
|
stop: () => void;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
const DEFAULT_SYNC_TIMEOUT_MS =
|
|
25
|
+
const DEFAULT_SYNC_TIMEOUT_MS = 90_000; // includes npx cold-start download time
|
|
26
26
|
const DEFAULT_WATCH_INTERVAL_SEC = 30;
|
|
27
27
|
|
|
28
28
|
function isCommandMissing(error: unknown): boolean {
|
|
@@ -58,7 +58,7 @@ async function runWikiSync(params: StartWikiHelperParams, env: NodeJS.ProcessEnv
|
|
|
58
58
|
let timedOut = false;
|
|
59
59
|
let settled = false;
|
|
60
60
|
|
|
61
|
-
const child = spawn("
|
|
61
|
+
const child = spawn("npx", ["--yes", "@parall/cli@latest", "wiki", "sync"], {
|
|
62
62
|
env,
|
|
63
63
|
stdio: "ignore",
|
|
64
64
|
});
|
|
@@ -121,7 +121,7 @@ export async function startWikiHelper(params: StartWikiHelperParams): Promise<Wi
|
|
|
121
121
|
|
|
122
122
|
const intervalSec = resolveWatchIntervalSec();
|
|
123
123
|
let stopped = false;
|
|
124
|
-
const watch = spawn("
|
|
124
|
+
const watch = spawn("npx", ["--yes", "@parall/cli@latest", "wiki", "watch", "--interval-sec", String(intervalSec)], {
|
|
125
125
|
env,
|
|
126
126
|
stdio: "ignore",
|
|
127
127
|
});
|