@openclaw/copilot 2026.5.30-beta.1 → 2026.5.31-beta.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.
@@ -1,4 +1,4 @@
1
- import { n as createInfiniteSessionConfig, r as resolveCopilotAuth } from "./harness-Blgz_qk3.js";
1
+ import { n as createInfiniteSessionConfig, r as resolveCopilotAuth } from "./harness-CsSU8FFW.js";
2
2
  import { createHash } from "node:crypto";
3
3
  import path from "node:path";
4
4
  import fsp from "node:fs/promises";
@@ -1628,7 +1628,6 @@ function resolvePoolAcquire(params) {
1628
1628
  },
1629
1629
  options: {
1630
1630
  copilotHome: resolved.copilotHome,
1631
- cwd: readString(params.cwd) ?? readString(params.workspaceDir),
1632
1631
  gitHubToken: resolved.authMode === "gitHubToken" ? resolved.gitHubToken : void 0,
1633
1632
  useLoggedInUser: resolved.authMode === "useLoggedInUser"
1634
1633
  },
@@ -338,7 +338,7 @@ function createCopilotAgentHarness(options) {
338
338
  async function getPool() {
339
339
  if (options?.pool) return options.pool;
340
340
  if (!poolPromise) poolPromise = (async () => {
341
- const { createCopilotClientPool } = await import("./runtime-C2rPhifm.js");
341
+ const { createCopilotClientPool } = await import("./runtime-CO3w12zM.js");
342
342
  createdPool = createCopilotClientPool(options?.poolOptions);
343
343
  return createdPool;
344
344
  })();
@@ -365,7 +365,7 @@ function createCopilotAgentHarness(options) {
365
365
  async runAttempt(params) {
366
366
  const attemptPromise = (async () => {
367
367
  if (disposed) throw new Error("[copilot] harness has been disposed; cannot start new attempts");
368
- const { runCopilotAttempt } = await import("./attempt-DMegR4ua.js");
368
+ const { runCopilotAttempt } = await import("./attempt-BzAGGBBx.js");
369
369
  if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
370
370
  const pool = await getPool();
371
371
  if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
package/dist/harness.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createCopilotAgentHarness } from "./harness-Blgz_qk3.js";
1
+ import { t as createCopilotAgentHarness } from "./harness-CsSU8FFW.js";
2
2
  export { createCopilotAgentHarness };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createCopilotAgentHarness } from "./harness-Blgz_qk3.js";
1
+ import { t as createCopilotAgentHarness } from "./harness-CsSU8FFW.js";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/copilot/index.ts
4
4
  function isRecord(value) {
@@ -92,7 +92,7 @@ function createCopilotClientPool(options = {}) {
92
92
  let disposed = false;
93
93
  let disposePromise;
94
94
  let disposeCompleted = false;
95
- const createDisposedError = () => new Error(POOL_DISPOSED_MESSAGE);
95
+ const createDisposedError = () => /* @__PURE__ */ new Error(POOL_DISPOSED_MESSAGE);
96
96
  const maybeDeleteEntry = (entry) => {
97
97
  if (entries.get(entry.cacheKey) === entry) entries.delete(entry.cacheKey);
98
98
  };
@@ -321,9 +321,10 @@ function normalizePoolKey(key, rawCopilotHome) {
321
321
  };
322
322
  }
323
323
  function normalizeClientCreateOptions(options, normalizedCopilotHome) {
324
+ const { copilotHome: _copilotHome, ...clientOptions } = options;
324
325
  return {
325
- ...options,
326
- copilotHome: normalizedCopilotHome
326
+ ...clientOptions,
327
+ baseDirectory: normalizedCopilotHome
327
328
  };
328
329
  }
329
330
  function normalizeCopilotHome(copilotHome) {
@@ -1,37 +1,42 @@
1
1
  {
2
2
  "name": "@openclaw/copilot",
3
- "version": "2026.5.30-beta.1",
3
+ "version": "2026.5.31-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/copilot",
9
- "version": "2026.5.30-beta.1",
9
+ "version": "2026.5.31-beta.1",
10
10
  "dependencies": {
11
- "@github/copilot-sdk": "1.0.0-beta.4"
11
+ "@github/copilot-sdk": "1.0.0-beta.9"
12
12
  }
13
13
  },
14
14
  "node_modules/@github/copilot": {
15
- "version": "1.0.48",
16
- "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.48.tgz",
17
- "integrity": "sha512-U5SzyTEq376UU9A4Sd3TEKz+Y2nRUd90cLO4Hc1otaB8yFSy9Ur2UVGcI2/wCoodL3a39k6WbdgNzFxr0gWFRQ==",
15
+ "version": "1.0.55",
16
+ "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.55.tgz",
17
+ "integrity": "sha512-wqzI0L7krORW6jDAQPx7VnInka5BYN5yVgu+dpUK4w8xP5RgnOBa6kRoXpydj/9O1ufs0k6RKRtQjsVLp52TRw==",
18
18
  "license": "SEE LICENSE IN LICENSE.md",
19
+ "dependencies": {
20
+ "detect-libc": "^2.1.2"
21
+ },
19
22
  "bin": {
20
23
  "copilot": "npm-loader.js"
21
24
  },
22
25
  "optionalDependencies": {
23
- "@github/copilot-darwin-arm64": "1.0.48",
24
- "@github/copilot-darwin-x64": "1.0.48",
25
- "@github/copilot-linux-arm64": "1.0.48",
26
- "@github/copilot-linux-x64": "1.0.48",
27
- "@github/copilot-win32-arm64": "1.0.48",
28
- "@github/copilot-win32-x64": "1.0.48"
26
+ "@github/copilot-darwin-arm64": "1.0.55",
27
+ "@github/copilot-darwin-x64": "1.0.55",
28
+ "@github/copilot-linux-arm64": "1.0.55",
29
+ "@github/copilot-linux-x64": "1.0.55",
30
+ "@github/copilot-linuxmusl-arm64": "1.0.55",
31
+ "@github/copilot-linuxmusl-x64": "1.0.55",
32
+ "@github/copilot-win32-arm64": "1.0.55",
33
+ "@github/copilot-win32-x64": "1.0.55"
29
34
  }
30
35
  },
31
36
  "node_modules/@github/copilot-darwin-arm64": {
32
- "version": "1.0.48",
33
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.48.tgz",
34
- "integrity": "sha512-82MLoMQwPVVFM8EYssihFxSEPUYtZADE8rMzQ3jG9HgRg2qjQSfnHQS1mKe64dlXswZUK/onw6/8kjnW5I4pPg==",
37
+ "version": "1.0.55",
38
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.55.tgz",
39
+ "integrity": "sha512-v59pOpA7YO8j/lpDU/1E8l1Ag0hd26hIiEzTNbzqKd7tJpvhN0XTDWDCink50wXL656XIXt8lD8i8sGeD6yPfA==",
35
40
  "cpu": [
36
41
  "arm64"
37
42
  ],
@@ -45,9 +50,9 @@
45
50
  }
46
51
  },
47
52
  "node_modules/@github/copilot-darwin-x64": {
48
- "version": "1.0.48",
49
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.48.tgz",
50
- "integrity": "sha512-1VQ5r5F0h8GwboXmZTcutqcJT+iCpPXAF27QqodmpKEvW9aYfG8g9X2kFJOzDZoX+SA3Uaka9qXdYKF2xT6Uog==",
53
+ "version": "1.0.55",
54
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.55.tgz",
55
+ "integrity": "sha512-XrJ9ent/9ogLk8yNp3TMsNVW0qTRDlkw/b34VnTgbAkJCaI3UVqaqpFn60Laa6J5mOPW0/JeKIkkva+7IJdqpQ==",
51
56
  "cpu": [
52
57
  "x64"
53
58
  ],
@@ -61,9 +66,9 @@
61
66
  }
62
67
  },
63
68
  "node_modules/@github/copilot-linux-arm64": {
64
- "version": "1.0.48",
65
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.48.tgz",
66
- "integrity": "sha512-PmsGnb0DZlI+Bf53l9HM1PAHHkUcMyB4y8v/7tnC/jDOV5dGF124n0HnDNfJLOLiJGiQGodthIif6QtPaAxpeA==",
69
+ "version": "1.0.55",
70
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.55.tgz",
71
+ "integrity": "sha512-5Q46Q72/l/U8KQRcBwYjzFPNXBCPG177FTmjEVOAH0qk7w58fMUDBEpnf9n1IpxYJDWQJ5BFGtLdfYgVVtkevw==",
67
72
  "cpu": [
68
73
  "arm64"
69
74
  ],
@@ -77,9 +82,9 @@
77
82
  }
78
83
  },
79
84
  "node_modules/@github/copilot-linux-x64": {
80
- "version": "1.0.48",
81
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.48.tgz",
82
- "integrity": "sha512-b2cc4euSlke9fYHXXsS2EL9UYbctN0h4lZvtAcKUDY+RCnpYAQOVBZK+c1R9dQrtsT6Z/yUv7PuFPSs8qdtc2Q==",
85
+ "version": "1.0.55",
86
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.55.tgz",
87
+ "integrity": "sha512-KWmMCDmKJivvOyDAAe5K8r7uSlVq8aZCh20VfrVXsc4bckO6KjXY/TOagrdBNqkk5rh8v63ghBbxFdWIOvEJRA==",
83
88
  "cpu": [
84
89
  "x64"
85
90
  ],
@@ -92,13 +97,45 @@
92
97
  "copilot-linux-x64": "copilot"
93
98
  }
94
99
  },
100
+ "node_modules/@github/copilot-linuxmusl-arm64": {
101
+ "version": "1.0.55",
102
+ "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.55.tgz",
103
+ "integrity": "sha512-Jb5ug9Ic1pzxB2ZT1xoR8b3Ea1xnvCa4h8cBque51+TevXe6QF98vAfSUIwLe4xu+K6JKhiKEA0SD3w29Z74eA==",
104
+ "cpu": [
105
+ "arm64"
106
+ ],
107
+ "license": "SEE LICENSE IN LICENSE.md",
108
+ "optional": true,
109
+ "os": [
110
+ "linux"
111
+ ],
112
+ "bin": {
113
+ "copilot-linuxmusl-arm64": "copilot"
114
+ }
115
+ },
116
+ "node_modules/@github/copilot-linuxmusl-x64": {
117
+ "version": "1.0.55",
118
+ "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.55.tgz",
119
+ "integrity": "sha512-qMGIjHxKmW9q26EpoaNKWpmEVGyL/IM8ThVkh7yolDzv9lECFudPzT5yLX7f+VIiF6qWQlrQyzmamp7/fNQ2Zg==",
120
+ "cpu": [
121
+ "x64"
122
+ ],
123
+ "license": "SEE LICENSE IN LICENSE.md",
124
+ "optional": true,
125
+ "os": [
126
+ "linux"
127
+ ],
128
+ "bin": {
129
+ "copilot-linuxmusl-x64": "copilot"
130
+ }
131
+ },
95
132
  "node_modules/@github/copilot-sdk": {
96
- "version": "1.0.0-beta.4",
97
- "resolved": "https://registry.npmjs.org/@github/copilot-sdk/-/copilot-sdk-1.0.0-beta.4.tgz",
98
- "integrity": "sha512-DcVMN2FWODxamFS9nTls8AW3QsyMnj6JDVBNRVBXaTY9kEhGHCjt8lp7sJp95/vyl52hvEb4/68Oh6SdFU9O/Q==",
133
+ "version": "1.0.0-beta.9",
134
+ "resolved": "https://registry.npmjs.org/@github/copilot-sdk/-/copilot-sdk-1.0.0-beta.9.tgz",
135
+ "integrity": "sha512-D4yiGL4/faFCjL7bozhX7bgxt/x1wp2LZ2p9Tw+xrA5hbcLh5Be5kPen+bFA8NbVfgt1G2djDYFZlrZjXXmcBw==",
99
136
  "license": "MIT",
100
137
  "dependencies": {
101
- "@github/copilot": "^1.0.46",
138
+ "@github/copilot": "^1.0.55-5",
102
139
  "vscode-jsonrpc": "^8.2.1",
103
140
  "zod": "^4.3.6"
104
141
  },
@@ -107,9 +144,9 @@
107
144
  }
108
145
  },
109
146
  "node_modules/@github/copilot-win32-arm64": {
110
- "version": "1.0.48",
111
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.48.tgz",
112
- "integrity": "sha512-VEEOwddtpJ3DTbXGhnK6K8im4ofl9m08q1m/K++sNvWV8wkkOSOQBTiPdyUsuU/TXAoFhb8tZMIJv+6NnMBtMw==",
147
+ "version": "1.0.55",
148
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.55.tgz",
149
+ "integrity": "sha512-TO4EJ8it6Qki7wMKYHqGUEDYmB0EAToy+pE5++OpydB6FijyQ31+/XwjvdnEFkuB4ZgPqu/6Y8hxMKucl2+FYg==",
113
150
  "cpu": [
114
151
  "arm64"
115
152
  ],
@@ -123,9 +160,9 @@
123
160
  }
124
161
  },
125
162
  "node_modules/@github/copilot-win32-x64": {
126
- "version": "1.0.48",
127
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.48.tgz",
128
- "integrity": "sha512-93BzvXLPHTyy1gWBXQY/IWIHor4IAwZuuo7/obG80/Qa6U0WeaN9slz/FBJvrsgVNrrRfEID5Xm3At+S6Kj67Q==",
163
+ "version": "1.0.55",
164
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.55.tgz",
165
+ "integrity": "sha512-TBMiSZMz8Dhx79JeSEM+7ONGxR5NmxfiDUdySo6thVbRmjS9D8msyAP8ucTsbLBJcTFeb7vsaeObD/ujYQgDtA==",
129
166
  "cpu": [
130
167
  "x64"
131
168
  ],
@@ -138,6 +175,15 @@
138
175
  "copilot-win32-x64": "copilot.exe"
139
176
  }
140
177
  },
178
+ "node_modules/detect-libc": {
179
+ "version": "2.1.2",
180
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
181
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
182
+ "license": "Apache-2.0",
183
+ "engines": {
184
+ "node": ">=8"
185
+ }
186
+ },
141
187
  "node_modules/vscode-jsonrpc": {
142
188
  "version": "8.2.1",
143
189
  "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.1.tgz",
@@ -2,7 +2,7 @@
2
2
  "id": "copilot",
3
3
  "name": "GitHub Copilot agent runtime",
4
4
  "description": "Registers the GitHub Copilot agent runtime.",
5
- "version": "2026.5.30",
5
+ "version": "2026.5.31",
6
6
  "activation": {
7
7
  "onStartup": false,
8
8
  "onAgentHarnesses": ["copilot"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/copilot",
3
- "version": "2026.5.30-beta.1",
3
+ "version": "2026.5.31-beta.1",
4
4
  "description": "OpenClaw GitHub Copilot agent runtime plugin (registers a `github-copilot` AgentHarness backed by @github/copilot-sdk over JSON-RPC to the GitHub Copilot CLI)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@github/copilot-sdk": "1.0.0-beta.4"
11
+ "@github/copilot-sdk": "1.0.0-beta.9"
12
12
  },
13
13
  "devDependencies": {
14
- "@github/copilot": "1.0.48",
14
+ "@github/copilot": "1.0.55",
15
15
  "@openclaw/plugin-sdk": "workspace:*"
16
16
  },
17
17
  "openclaw": {
@@ -25,10 +25,10 @@
25
25
  "minHostVersion": ">=2026.5.28"
26
26
  },
27
27
  "compat": {
28
- "pluginApi": ">=2026.5.30-beta.1"
28
+ "pluginApi": ">=2026.5.31-beta.1"
29
29
  },
30
30
  "build": {
31
- "openclawVersion": "2026.5.30-beta.1",
31
+ "openclawVersion": "2026.5.31-beta.1",
32
32
  "bundledDist": false
33
33
  },
34
34
  "release": {
@@ -47,7 +47,7 @@
47
47
  "README.md"
48
48
  ],
49
49
  "peerDependencies": {
50
- "openclaw": ">=2026.5.30-beta.1"
50
+ "openclaw": ">=2026.5.31-beta.1"
51
51
  },
52
52
  "peerDependenciesMeta": {
53
53
  "openclaw": {