@openclaw/copilot 2026.8.2 → 2026.8.34
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-5q0X0LCu.js → .setup/attempt-5lStgSRG.mjs} +2 -2
- package/dist/{harness-Bmmbz3QS.js → .setup/harness-DIkSK6Cu.mjs} +4 -4
- package/dist/{isolated-completion-BYHkro0M.js → .setup/isolated-completion-pQyAv8l0.mjs} +2 -2
- package/dist/{runtime-LtZ5NAjV.js → .setup/runtime-BIwjfQy4.mjs} +11 -15
- package/dist/harness.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
- /package/dist/{usage-bridge-Cpa-ZYwL.js → .setup/usage-bridge-Cpa-ZYwL.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as resolveCopilotAuth, i as createCopilotByokAuth, n as resolveCopilotProvider, r as createCopilotByokProxy } from "./harness-
|
|
2
|
-
import { n as normalizeCopilotUsage, r as createCopilotIsolatedSessionRestrictions, t as buildCopilotAssistantUsage } from "./usage-bridge-Cpa-ZYwL.
|
|
1
|
+
import { a as resolveCopilotAuth, i as createCopilotByokAuth, n as resolveCopilotProvider, r as createCopilotByokProxy } from "./harness-DIkSK6Cu.mjs";
|
|
2
|
+
import { n as normalizeCopilotUsage, r as createCopilotIsolatedSessionRestrictions, t as buildCopilotAssistantUsage } from "./usage-bridge-Cpa-ZYwL.mjs";
|
|
3
3
|
import { asNonArrayRecord, normalizeOptionalString, normalizeUniqueStringEntries, readNonBlankString, readNonEmptyStringPreservingWhitespace, readNonEmptyStringPreservingWhitespace as readNonEmptyString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { SKILL_WORKSHOP_TOOL_NAME, applyEmbeddedAttemptToolsAllow, awaitAgentEndSideEffects, buildAgentHookContextChannelFields, buildCredentialSafetyPrompt, buildDelegationGuidanceSection, buildEmbeddedAttemptToolRunContext, buildEmbeddedForegroundPromptContext, buildHarnessVisibleReplyGuidance, buildSkillWorkshopPromptSection, callGatewayTool, cancelPendingAgentQuestionForSession, claimPendingAgentQuestionAnswer, clearActiveEmbeddedRun, detectAndLoadAgentHarnessPromptImages, embeddedAgentLog, extractToolErrorMessage, getModelProviderRequestTransport, getPluginToolMeta, getPluginToolSideEffectOwnerKey, isHostScopedAgentToolActive, isSubagentSessionKey, isToolResultError, projectAgentHarnessTranscriptMessageForDisplay, resolveAgentDir, resolveAgentHarnessBeforePromptBuildResult, resolveAttemptFsWorkspaceOnly, resolveAttemptSpawnWorkspaceDir, resolveBootstrapContextForRun, resolveCompactionTimeoutMs, resolveEmbeddedAttemptToolConstructionPlan, resolveMainSessionDelegationMode, resolveModelAuthMode, resolveSandboxContext, resolveUserPath, runAgentEndSideEffects, runAgentHarnessAfterCompactionHook, runAgentHarnessAfterToolCallHook, runAgentHarnessBeforeCompactionHook, runAgentHarnessBeforeMessageWriteHook, runAgentHarnessGatewayQuestion, runAgentHarnessLlmInputHook, runAgentHarnessLlmOutputHook, sanitizeToolResult, setActiveEmbeddedRun } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
5
5
|
import path from "node:path";
|
|
@@ -824,7 +824,7 @@ function createCopilotAgentHarness(options) {
|
|
|
824
824
|
async function getPool() {
|
|
825
825
|
if (options?.pool) return options.pool;
|
|
826
826
|
if (!poolPromise) poolPromise = (async () => {
|
|
827
|
-
const { createCopilotClientPool } = await import("./runtime-
|
|
827
|
+
const { createCopilotClientPool } = await import("./runtime-BIwjfQy4.mjs");
|
|
828
828
|
createdPool = createCopilotClientPool(options?.poolOptions);
|
|
829
829
|
return createdPool;
|
|
830
830
|
})();
|
|
@@ -861,7 +861,7 @@ function createCopilotAgentHarness(options) {
|
|
|
861
861
|
async function runHarnessAttempt(params, operation) {
|
|
862
862
|
const attemptPromise = (async () => {
|
|
863
863
|
if (disposed) throw new Error("[copilot] harness has been disposed; cannot start new attempts");
|
|
864
|
-
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-
|
|
864
|
+
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-5lStgSRG.mjs");
|
|
865
865
|
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
866
866
|
const pool = await getPool();
|
|
867
867
|
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
@@ -992,7 +992,7 @@ function createCopilotAgentHarness(options) {
|
|
|
992
992
|
async function runIsolatedCompletionV2(params) {
|
|
993
993
|
const completionPromise = (async () => {
|
|
994
994
|
if (disposed) throw new Error("[copilot] harness has been disposed; cannot start isolated completion");
|
|
995
|
-
const { runCopilotIsolatedCompletion } = await import("./isolated-completion-
|
|
995
|
+
const { runCopilotIsolatedCompletion } = await import("./isolated-completion-pQyAv8l0.mjs");
|
|
996
996
|
if (disposed) throw new Error("[copilot] harness was disposed while starting isolated completion");
|
|
997
997
|
return await runCopilotIsolatedCompletion(params, async () => {
|
|
998
998
|
const pool = await getPool();
|
|
@@ -1084,7 +1084,7 @@ function createCopilotAgentHarness(options) {
|
|
|
1084
1084
|
};
|
|
1085
1085
|
const tracked = trackedSessions.get(openclawSessionId);
|
|
1086
1086
|
const currentCompactKey = computeCompactRequestKey(params);
|
|
1087
|
-
const { resolvePoolAcquire } = await import("./attempt-
|
|
1087
|
+
const { resolvePoolAcquire } = await import("./attempt-5lStgSRG.mjs");
|
|
1088
1088
|
let resolvedPoolAcquire;
|
|
1089
1089
|
let currentAuth;
|
|
1090
1090
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as resolveCopilotProvider, o as tokenFingerprint, r as createCopilotByokProxy } from "./harness-
|
|
2
|
-
import { r as createCopilotIsolatedSessionRestrictions, t as buildCopilotAssistantUsage } from "./usage-bridge-Cpa-ZYwL.
|
|
1
|
+
import { n as resolveCopilotProvider, o as tokenFingerprint, r as createCopilotByokProxy } from "./harness-DIkSK6Cu.mjs";
|
|
2
|
+
import { r as createCopilotIsolatedSessionRestrictions, t as buildCopilotAssistantUsage } from "./usage-bridge-Cpa-ZYwL.mjs";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
//#region extensions/copilot/src/isolated-completion.ts
|
|
5
5
|
function startBestEffortCleanup(cleanup) {
|
|
@@ -152,17 +152,7 @@ function createCopilotClientPool(options = {}) {
|
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
154
|
const createEntry = (key, cacheKey, clientOptions) => {
|
|
155
|
-
const
|
|
156
|
-
key,
|
|
157
|
-
cacheKey,
|
|
158
|
-
refCount: 1,
|
|
159
|
-
stopRan: false,
|
|
160
|
-
state: {
|
|
161
|
-
kind: "creating",
|
|
162
|
-
promise: Promise.resolve(void 0)
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
const createPromise = (async () => {
|
|
155
|
+
const createPromise = Promise.resolve().then(async () => {
|
|
166
156
|
try {
|
|
167
157
|
const client = await sdkFactory(clientOptions);
|
|
168
158
|
entry.state = {
|
|
@@ -175,10 +165,16 @@ function createCopilotClientPool(options = {}) {
|
|
|
175
165
|
maybeDeleteEntry(entry);
|
|
176
166
|
throw toStringifiedError(error);
|
|
177
167
|
}
|
|
178
|
-
})
|
|
179
|
-
entry
|
|
180
|
-
|
|
181
|
-
|
|
168
|
+
});
|
|
169
|
+
const entry = {
|
|
170
|
+
key,
|
|
171
|
+
cacheKey,
|
|
172
|
+
refCount: 1,
|
|
173
|
+
stopRan: false,
|
|
174
|
+
state: {
|
|
175
|
+
kind: "creating",
|
|
176
|
+
promise: createPromise
|
|
177
|
+
}
|
|
182
178
|
};
|
|
183
179
|
entries.set(cacheKey, entry);
|
|
184
180
|
return {
|
package/dist/harness.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./.setup/harness-DIkSK6Cu.mjs";
|
|
2
2
|
export { createCopilotAgentHarness };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./.setup/harness-DIkSK6Cu.mjs";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
3
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
//#region extensions/copilot/index.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/copilot",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.34",
|
|
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",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"minHostVersion": ">=2026.5.28"
|
|
25
25
|
},
|
|
26
26
|
"compat": {
|
|
27
|
-
"pluginApi": ">=2026.8.
|
|
27
|
+
"pluginApi": ">=2026.8.34"
|
|
28
28
|
},
|
|
29
29
|
"build": {
|
|
30
|
-
"openclawVersion": "2026.8.
|
|
30
|
+
"openclawVersion": "2026.8.34",
|
|
31
31
|
"bundledDist": false
|
|
32
32
|
},
|
|
33
33
|
"release": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"README.md"
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"openclaw": ">=2026.8.
|
|
48
|
+
"openclaw": ">=2026.8.34"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"openclaw": {
|
|
File without changes
|