@openclaw/copilot 2026.7.1-beta.1 → 2026.7.1-beta.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveCopilotAuth, i as createCopilotByokAuth, n as resolveCopilotProvider, r as createCopilotByokProxy } from "./harness-
|
|
1
|
+
import { a as resolveCopilotAuth, i as createCopilotByokAuth, n as resolveCopilotProvider, r as createCopilotByokProxy } from "./harness-B9xB4LpE.js";
|
|
2
2
|
import { applyEmbeddedAttemptToolsAllow, awaitAgentEndSideEffects, buildAgentHarnessUserInputAnswers, buildAgentHookContextChannelFields, buildEmbeddedAttemptToolRunContext, clearActiveEmbeddedRun, deliverAgentHarnessUserInputPrompt, detectAndLoadAgentHarnessPromptImages, embeddedAgentLog, extractToolErrorMessage, getModelProviderRequestTransport, getPluginToolMeta, isSubagentSessionKey, isToolResultError, resolveAgentHarnessBeforePromptBuildResult, resolveAttemptFsWorkspaceOnly, resolveAttemptSpawnWorkspaceDir, resolveBootstrapContextForRun, resolveCompactionTimeoutMs, resolveEmbeddedAttemptToolConstructionPlan, resolveModelAuthMode, resolveSandboxContext, resolveSessionAgentIds, resolveUserPath, runAgentEndSideEffects, runAgentHarnessAfterCompactionHook, runAgentHarnessAfterToolCallHook, runAgentHarnessBeforeCompactionHook, runAgentHarnessBeforeMessageWriteHook, runAgentHarnessLlmInputHook, runAgentHarnessLlmOutputHook, sanitizeToolResult, setActiveEmbeddedRun } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import path from "node:path";
|
|
@@ -2432,7 +2432,7 @@ function createSystemMessageContent(params, workspaceBootstrapInstructions) {
|
|
|
2432
2432
|
if (bootstrap) sections.push(bootstrap);
|
|
2433
2433
|
const extraSystemPrompt = readString(params.extraSystemPrompt)?.trim();
|
|
2434
2434
|
if (extraSystemPrompt && !isRawCopilotModelRun(params)) {
|
|
2435
|
-
const contextHeader = params.promptMode === "minimal" ? "## Subagent Context" : "##
|
|
2435
|
+
const contextHeader = params.promptMode === "minimal" ? "## Subagent Context" : "## Conversation Context";
|
|
2436
2436
|
sections.push(`${contextHeader}\n${extraSystemPrompt}`);
|
|
2437
2437
|
}
|
|
2438
2438
|
return sections.length > 0 ? sections.join("\n\n") : void 0;
|
|
@@ -874,7 +874,7 @@ function createCopilotAgentHarness(options) {
|
|
|
874
874
|
async runAttempt(params) {
|
|
875
875
|
const attemptPromise = (async () => {
|
|
876
876
|
if (disposed) throw new Error("[copilot] harness has been disposed; cannot start new attempts");
|
|
877
|
-
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-
|
|
877
|
+
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-DIieBZcc.js");
|
|
878
878
|
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
879
879
|
const pool = await getPool();
|
|
880
880
|
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
@@ -990,7 +990,7 @@ function createCopilotAgentHarness(options) {
|
|
|
990
990
|
};
|
|
991
991
|
const tracked = trackedSessions.get(openclawSessionId);
|
|
992
992
|
const currentCompactKey = computeSessionCompactKey(params);
|
|
993
|
-
const { resolvePoolAcquire } = await import("./attempt-
|
|
993
|
+
const { resolvePoolAcquire } = await import("./attempt-DIieBZcc.js");
|
|
994
994
|
let resolvedPoolAcquire;
|
|
995
995
|
let currentAuth;
|
|
996
996
|
try {
|
package/dist/harness.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "./harness-
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./harness-B9xB4LpE.js";
|
|
2
2
|
export { createCopilotAgentHarness };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "./harness-
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./harness-B9xB4LpE.js";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
|
+
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
4
|
//#region extensions/copilot/index.ts
|
|
4
|
-
function isRecord(value) {
|
|
5
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6
|
-
}
|
|
7
5
|
function readPoolOptions(pluginConfig) {
|
|
8
6
|
if (!isRecord(pluginConfig)) return;
|
|
9
7
|
const pool = pluginConfig.pool;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/copilot",
|
|
3
|
-
"version": "2026.7.1-beta.
|
|
3
|
+
"version": "2026.7.1-beta.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/copilot",
|
|
9
|
-
"version": "2026.7.1-beta.
|
|
9
|
+
"version": "2026.7.1-beta.2",
|
|
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.7.1-beta.
|
|
3
|
+
"version": "2026.7.1-beta.2",
|
|
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.7.1-beta.
|
|
28
|
+
"pluginApi": ">=2026.7.1-beta.2"
|
|
29
29
|
},
|
|
30
30
|
"build": {
|
|
31
|
-
"openclawVersion": "2026.7.1-beta.
|
|
31
|
+
"openclawVersion": "2026.7.1-beta.2",
|
|
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.7.1-beta.
|
|
50
|
+
"openclaw": ">=2026.7.1-beta.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"openclaw": {
|