@openclaw/copilot 2026.6.8 → 2026.6.9
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/{attempt-uNOgM4Dc.js → attempt-DMjwK4f0.js} +2 -2
- package/dist/{harness-DhGypePh.js → harness-wpPHFcMD.js} +3 -3
- package/dist/harness.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{runtime-BUOrFPqD.js → runtime-Bo_ajDXI.js} +0 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as resolveCopilotAuth } from "./harness-
|
|
1
|
+
import { n as resolveCopilotAuth } from "./harness-wpPHFcMD.js";
|
|
2
2
|
import { acquireSessionWriteLock, appendSessionTranscriptMessage, applyEmbeddedAttemptToolsAllow, buildEmbeddedAttemptToolRunContext, detectAndLoadAgentHarnessPromptImages, emitSessionTranscriptUpdate, getPluginToolMeta, isSubagentSessionKey, isToolResultError, resolveAttemptFsWorkspaceOnly, resolveAttemptSpawnWorkspaceDir, resolveBootstrapContextForRun, resolveEmbeddedAttemptToolConstructionPlan, resolveModelAuthMode, resolveSandboxContext, resolveSessionAgentIds, resolveSessionWriteLockAcquireTimeoutMs, resolveUserPath, runAgentHarnessBeforeMessageWriteHook, sanitizeToolResult } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import path from "node:path";
|
|
@@ -657,7 +657,6 @@ const COPILOT_REPLAY_SAFE_READ_ONLY_TOOL_NAMES = new Set([
|
|
|
657
657
|
"list",
|
|
658
658
|
"ls",
|
|
659
659
|
"memory_get",
|
|
660
|
-
"memory_search",
|
|
661
660
|
"probe",
|
|
662
661
|
"query",
|
|
663
662
|
"read",
|
|
@@ -829,6 +828,7 @@ function buildOpenClawCodingToolsOptions(input, toolPlan) {
|
|
|
829
828
|
modelContextWindowTokens: model?.contextWindow,
|
|
830
829
|
modelAuthMode: resolveModelAuthMode(input.modelProvider, a.config, void 0, { workspaceDir }),
|
|
831
830
|
currentChannelId: a.currentChannelId,
|
|
831
|
+
currentMessagingTarget: a.currentMessagingTarget,
|
|
832
832
|
currentThreadTs: a.currentThreadTs,
|
|
833
833
|
currentMessageId: a.currentMessageId,
|
|
834
834
|
replyToMode: a.replyToMode,
|
|
@@ -352,7 +352,7 @@ function createCopilotAgentHarness(options) {
|
|
|
352
352
|
async function getPool() {
|
|
353
353
|
if (options?.pool) return options.pool;
|
|
354
354
|
if (!poolPromise) poolPromise = (async () => {
|
|
355
|
-
const { createCopilotClientPool } = await import("./runtime-
|
|
355
|
+
const { createCopilotClientPool } = await import("./runtime-Bo_ajDXI.js");
|
|
356
356
|
createdPool = createCopilotClientPool(options?.poolOptions);
|
|
357
357
|
return createdPool;
|
|
358
358
|
})();
|
|
@@ -379,7 +379,7 @@ function createCopilotAgentHarness(options) {
|
|
|
379
379
|
async runAttempt(params) {
|
|
380
380
|
const attemptPromise = (async () => {
|
|
381
381
|
if (disposed) throw new Error("[copilot] harness has been disposed; cannot start new attempts");
|
|
382
|
-
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-
|
|
382
|
+
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-DMjwK4f0.js");
|
|
383
383
|
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
384
384
|
const poolAcquire = resolvePoolAcquire(params);
|
|
385
385
|
const pool = await getPool();
|
|
@@ -448,7 +448,7 @@ function createCopilotAgentHarness(options) {
|
|
|
448
448
|
};
|
|
449
449
|
const tracked = trackedSessions.get(openclawSessionId);
|
|
450
450
|
const currentCompactKey = computeSessionCompactKey(params);
|
|
451
|
-
const { resolvePoolAcquire } = await import("./attempt-
|
|
451
|
+
const { resolvePoolAcquire } = await import("./attempt-DMjwK4f0.js");
|
|
452
452
|
const resolvedPoolAcquire = resolvePoolAcquire(params);
|
|
453
453
|
const currentAuth = sessionAuthFields(resolvedPoolAcquire.auth);
|
|
454
454
|
const compatibleTracked = tracked?.compactKey === currentCompactKey && sessionAuthMatches(tracked, currentAuth) ? tracked : void 0;
|
package/dist/harness.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "./harness-
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./harness-wpPHFcMD.js";
|
|
2
2
|
export { createCopilotAgentHarness };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "./harness-
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./harness-wpPHFcMD.js";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
3
|
//#region extensions/copilot/index.ts
|
|
4
4
|
function isRecord(value) {
|
|
@@ -7,7 +7,6 @@ import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
|
7
7
|
function resolveCopilotSdkFallbackDir(env = process.env) {
|
|
8
8
|
return path.join(resolveStateDir(env), "npm-runtime", "copilot");
|
|
9
9
|
}
|
|
10
|
-
resolveCopilotSdkFallbackDir();
|
|
11
10
|
const COPILOT_SDK_SPEC = "@github/copilot-sdk@1.0.0-beta.9";
|
|
12
11
|
let cached;
|
|
13
12
|
async function loadCopilotSdk(options = {}) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/copilot",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.9",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/copilot",
|
|
9
|
-
"version": "2026.6.
|
|
9
|
+
"version": "2026.6.9",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@github/copilot-sdk": "1.0.0-beta.9"
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/copilot",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.9",
|
|
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",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"minHostVersion": ">=2026.5.28"
|
|
26
26
|
},
|
|
27
27
|
"compat": {
|
|
28
|
-
"pluginApi": ">=2026.6.
|
|
28
|
+
"pluginApi": ">=2026.6.9"
|
|
29
29
|
},
|
|
30
30
|
"build": {
|
|
31
|
-
"openclawVersion": "2026.6.
|
|
31
|
+
"openclawVersion": "2026.6.9",
|
|
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.6.
|
|
50
|
+
"openclaw": ">=2026.6.9"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"openclaw": {
|