@openclaw/copilot 2026.11.11 → 2026.11.13
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/.setup/{attempt-CHCmicVr.mjs → attempt-gP8Y8FZO.mjs} +26 -6
- package/dist/.setup/{harness-Xl8T8Yuu.mjs → harness-Cdt9zq_I.mjs} +5 -5
- package/dist/.setup/{isolated-completion-CSq4JLpY.mjs → isolated-completion-DzO9x14h.mjs} +14 -3
- package/dist/.setup/{runtime-DCn_HIxX.mjs → runtime-DLnn7V73.mjs} +3 -3
- package/dist/.setup/{runtime-artifact-DQ8Ia6k4.mjs → runtime-artifact-6ka-me7J.mjs} +1 -1
- package/dist/.setup/{sdk-loader-MZ7UHepf.mjs → sdk-loader-DYk9xH_A.mjs} +1 -1
- package/dist/.setup/{session-restrictions-BrC08l2U.mjs → session-restrictions-BhNldzCr.mjs} +1 -2
- package/dist/.source-module-urls/f7f35489a89dbc0fc6d0e80a0da5720af5de227b511e490a2415ffe55b1bc471.json +1 -1
- package/dist/harness.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { a as createCopilotByokProxy, i as createPromptError, n as resolveCopilotProvider, o as createCopilotByokAuth, s as resolveCopilotAuth } from "./harness-
|
|
2
|
-
import { a as projectSdkUserMetadata, c as resolveEventTimestamp, i as hasOwnKeys, l as sanitizeToolDetailText, n as buildAssistantMessage, o as projectToolResultDetails, r as buildAssistantProjectionGroup, s as resolveAssistantUsage, t as createCopilotIsolatedSessionRestrictions, u as normalizeCopilotUsage } from "./session-restrictions-
|
|
1
|
+
import { a as createCopilotByokProxy, i as createPromptError, n as resolveCopilotProvider, o as createCopilotByokAuth, s as resolveCopilotAuth } from "./harness-Cdt9zq_I.mjs";
|
|
2
|
+
import { a as projectSdkUserMetadata, c as resolveEventTimestamp, i as hasOwnKeys, l as sanitizeToolDetailText, n as buildAssistantMessage, o as projectToolResultDetails, r as buildAssistantProjectionGroup, s as resolveAssistantUsage, t as createCopilotIsolatedSessionRestrictions, u as normalizeCopilotUsage } from "./session-restrictions-BhNldzCr.mjs";
|
|
3
3
|
import { asOptionalObjectRecord, asOptionalRecord, normalizeOptionalString, normalizeUniqueStringEntries, readNonBlankString, readNonEmptyStringPreservingWhitespace, readNonEmptyStringPreservingWhitespace as readNonEmptyString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { applyEmbeddedAttemptToolsAllow, awaitAgentEndSideEffects, buildAgentHookContextChannelFields, buildCredentialSafetyPrompt, buildDelegationGuidanceSection, buildEmbeddedAttemptToolRunContext, buildEmbeddedForegroundPromptContext, buildHarnessVisibleReplyGuidance, cancelPendingAgentQuestionForSession, claimPendingAgentQuestionAnswer, clearActiveEmbeddedRun, detectAndLoadAgentHarnessPromptImages, embeddedAgentLog, emitAgentEvent, extractToolErrorMessage, getModelProviderRequestTransport, getPluginToolMeta, getPluginToolSideEffectOwnerKey, isHostScopedAgentToolActive, isSubagentSessionKey, isToolResultError, listToolPromptGuidance, projectAgentHarnessTranscriptMessageForDisplay, projectAgentToolActivity, resolveAgentDir, resolveAgentHarnessBeforePromptBuildResult, resolveAttemptFsWorkspaceOnly, resolveAttemptSpawnWorkspaceDir, resolveBootstrapContextForRun, resolveCompactionTimeoutMs, resolveEmbeddedAttemptToolConstructionPlan, resolveMainSessionDelegationMode, resolveModelAuthModeAsync, resolveSandboxContext, resolveUserPath, restorePreparedUserTurnOperationalMetaForRuntime, runAgentEndSideEffectsAsync, runAgentHarnessAfterCompactionHook, runAgentHarnessAfterToolCallHook, runAgentHarnessBeforeCompactionHook, runAgentHarnessBeforeMessageWriteHook, runAgentHarnessGatewayQuestion, runAgentHarnessLlmInputHook, runAgentHarnessLlmOutputHook, sanitizeToolResult, setActiveEmbeddedRun } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { raceWithTimeout, withTimeout } from "openclaw/plugin-sdk/time-runtime";
|
|
7
7
|
import { formatErrorMessage, toErrorObject, toStringifiedError, toStringifiedError as toCopilotError } from "openclaw/plugin-sdk/error-runtime";
|
|
8
8
|
import { createDeferred } from "openclaw/plugin-sdk/concurrency-runtime";
|
|
9
|
-
import { createAgentHarnessToolSurfaceRuntimeAsync, normalizeAcceptedSessionSpawnResult } from "openclaw/plugin-sdk/agent-harness-tool-runtime";
|
|
9
|
+
import { boundAgentHarnessToolResultText, createAgentHarnessToolSurfaceRuntimeAsync, normalizeAcceptedSessionSpawnResult } from "openclaw/plugin-sdk/agent-harness-tool-runtime";
|
|
10
10
|
import fsp from "node:fs/promises";
|
|
11
11
|
import { resolveSessionAgentIdsStrict } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
12
12
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
13
13
|
import { convertMcpCallToolResult } from "@github/copilot-sdk";
|
|
14
|
+
import { DEFAULT_MAX_LIVE_TOOL_RESULT_CHARS, resolveLiveToolResultMaxChars } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
14
15
|
import { textResult } from "openclaw/plugin-sdk/tool-results";
|
|
15
16
|
import { escapeChatDisplayText, sanitizeChatDisplayText } from "openclaw/plugin-sdk/string-normalization-runtime";
|
|
16
17
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1546,7 +1547,12 @@ function convertOpenClawToolToSdkTool(sourceTool, input, scheduleToolExecution)
|
|
|
1546
1547
|
...resultError ? { error: resultError } : {},
|
|
1547
1548
|
startedAt
|
|
1548
1549
|
});
|
|
1549
|
-
|
|
1550
|
+
const contextWindowTokens = input.attemptParams.contextTokenBudget ?? input.attemptParams.model?.contextWindow;
|
|
1551
|
+
const maxChars = contextWindowTokens ? resolveLiveToolResultMaxChars({ contextWindowTokens }) : DEFAULT_MAX_LIVE_TOOL_RESULT_CHARS;
|
|
1552
|
+
return {
|
|
1553
|
+
...sdkResult,
|
|
1554
|
+
textResultForLlm: boundAgentHarnessToolResultText(sdkResult.textResultForLlm, maxChars)
|
|
1555
|
+
};
|
|
1550
1556
|
};
|
|
1551
1557
|
return {
|
|
1552
1558
|
description: sourceTool.description,
|
|
@@ -1796,6 +1802,18 @@ function getCopilotContextFileBasename(filePath) {
|
|
|
1796
1802
|
}
|
|
1797
1803
|
// extensions/copilot/src/attempt-session-setup.ts
|
|
1798
1804
|
const COPILOT_HARNESS_IDENTITY = "You are a personal agent running inside OpenClaw. Your available OpenClaw capabilities are policy-filtered for this turn; use only the exact tools exposed to you.";
|
|
1805
|
+
async function prepareCopilotAttemptSession(session, fallbackId, finalization) {
|
|
1806
|
+
if (finalization) {
|
|
1807
|
+
const remote = session.rpc?.remote;
|
|
1808
|
+
if (!remote) throw new Error("[copilot] SDK cannot disable remote export for finalization");
|
|
1809
|
+
await raceWithTimeout(() => remote.disable(), finalization.timeoutMs, () => {
|
|
1810
|
+
throw new Error("[copilot] timed out disabling remote export for finalization");
|
|
1811
|
+
}, { signal: finalization.signal });
|
|
1812
|
+
}
|
|
1813
|
+
const id = readNonEmptyStringPreservingWhitespace(session.sessionId) ?? readNonEmptyStringPreservingWhitespace(session.id) ?? fallbackId;
|
|
1814
|
+
if (!id) throw createPromptError("transcript_persistence_failed", "[copilot-attempt] saved transcript persistence requires the Copilot SDK session id");
|
|
1815
|
+
return id;
|
|
1816
|
+
}
|
|
1799
1817
|
async function createCopilotSessionSetup(params) {
|
|
1800
1818
|
const { attempt: input, byokProxy, effectiveCwd, effectiveWorkspaceDir, hookContext, modelRef, messages, poolAcquire, ringZeroSystemAgentRun, promptToolPolicy, sessionProvider, settledToolFinalization, signal } = params;
|
|
1801
1819
|
const ordinaryAttemptInput = settledToolFinalization ? void 0 : (() => {
|
|
@@ -2643,8 +2661,10 @@ async function runCopilotExecution(context) {
|
|
|
2643
2661
|
nativeSessionHistoryValidated = true;
|
|
2644
2662
|
}
|
|
2645
2663
|
sessionRef.current = session;
|
|
2646
|
-
sdkSessionId =
|
|
2647
|
-
|
|
2664
|
+
sdkSessionId = await prepareCopilotAttemptSession(session, resumeFailureRecovered ? void 0 : resumeSessionId, settledToolFinalization ? {
|
|
2665
|
+
timeoutMs: input.timeoutMs,
|
|
2666
|
+
signal: params.abortSignal
|
|
2667
|
+
} : void 0);
|
|
2648
2668
|
if (deps.onSessionEstablished && !settledToolFinalization) try {
|
|
2649
2669
|
await deps.onSessionEstablished({
|
|
2650
2670
|
compactionSessionConfig,
|
|
@@ -716,7 +716,7 @@ function createCopilotAgentHarness(options) {
|
|
|
716
716
|
async function getPool() {
|
|
717
717
|
if (options?.pool) return options.pool;
|
|
718
718
|
if (!poolPromise) poolPromise = (async () => {
|
|
719
|
-
const { createCopilotClientPool } = await import("./runtime-
|
|
719
|
+
const { createCopilotClientPool } = await import("./runtime-DLnn7V73.mjs");
|
|
720
720
|
createdPool = createCopilotClientPool(options?.poolOptions);
|
|
721
721
|
return createdPool;
|
|
722
722
|
})();
|
|
@@ -744,7 +744,7 @@ function createCopilotAgentHarness(options) {
|
|
|
744
744
|
async function runHarnessAttempt(params, operation) {
|
|
745
745
|
return trackOperation(async () => {
|
|
746
746
|
if (disposed) throw new Error("[copilot] harness has been disposed; cannot start new attempts");
|
|
747
|
-
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-
|
|
747
|
+
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-gP8Y8FZO.mjs");
|
|
748
748
|
const pool = await getPool();
|
|
749
749
|
let poolAcquire;
|
|
750
750
|
try {
|
|
@@ -842,7 +842,7 @@ function createCopilotAgentHarness(options) {
|
|
|
842
842
|
async function runIsolatedCompletionV2(params) {
|
|
843
843
|
return trackOperation(async () => {
|
|
844
844
|
if (disposed) throw new Error("[copilot] harness has been disposed; cannot start isolated completion");
|
|
845
|
-
const { runCopilotIsolatedCompletion } = await import("./isolated-completion-
|
|
845
|
+
const { runCopilotIsolatedCompletion } = await import("./isolated-completion-DzO9x14h.mjs");
|
|
846
846
|
return await runCopilotIsolatedCompletion(params, async () => {
|
|
847
847
|
return await getPool();
|
|
848
848
|
});
|
|
@@ -854,7 +854,7 @@ function createCopilotAgentHarness(options) {
|
|
|
854
854
|
autoSelection: { providerIds: [] },
|
|
855
855
|
conversationToolPolicySupport: "exact",
|
|
856
856
|
runtimeArtifact: { async validate(binding) {
|
|
857
|
-
const { validateCopilotRuntimeArtifact } = await import("./runtime-artifact-
|
|
857
|
+
const { validateCopilotRuntimeArtifact } = await import("./runtime-artifact-6ka-me7J.mjs");
|
|
858
858
|
return await validateCopilotRuntimeArtifact(binding);
|
|
859
859
|
} },
|
|
860
860
|
supports(ctx) {
|
|
@@ -936,7 +936,7 @@ function createCopilotAgentHarness(options) {
|
|
|
936
936
|
if (await bindingQueue.enqueue(openclawSessionId, () => hasPendingDeferredCompactionCleanup(openclawSessionId))) return failedCompaction("background-compaction-pending");
|
|
937
937
|
const tracked = trackedSessions.get(openclawSessionId);
|
|
938
938
|
const currentCompactKey = computeCompactRequestKey(params);
|
|
939
|
-
const { resolvePoolAcquire } = await import("./attempt-
|
|
939
|
+
const { resolvePoolAcquire } = await import("./attempt-gP8Y8FZO.mjs");
|
|
940
940
|
let resolvedPoolAcquire;
|
|
941
941
|
try {
|
|
942
942
|
resolvedPoolAcquire = resolvePoolAcquire(params);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createCopilotByokProxy, c as tokenFingerprint, n as resolveCopilotProvider, r as createCopilotAbortError } from "./harness-
|
|
2
|
-
import { n as buildAssistantMessage, t as createCopilotIsolatedSessionRestrictions } from "./session-restrictions-
|
|
1
|
+
import { a as createCopilotByokProxy, c as tokenFingerprint, n as resolveCopilotProvider, r as createCopilotAbortError } from "./harness-Cdt9zq_I.mjs";
|
|
2
|
+
import { n as buildAssistantMessage, t as createCopilotIsolatedSessionRestrictions, u as normalizeCopilotUsage } from "./session-restrictions-BhNldzCr.mjs";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
import { raceWithTimeout } from "openclaw/plugin-sdk/time-runtime";
|
|
5
5
|
// extensions/copilot/src/isolated-completion.ts
|
|
@@ -101,6 +101,8 @@ async function runCopilotIsolatedCompletion(params, getPool) {
|
|
|
101
101
|
const authProfileVersion = authorization.sourceAuthFingerprint?.trim() || tokenFingerprint(apiKey);
|
|
102
102
|
let handle;
|
|
103
103
|
let session;
|
|
104
|
+
let unsubscribeUsage;
|
|
105
|
+
let usage;
|
|
104
106
|
try {
|
|
105
107
|
const acquiredHandle = await awaitWithinCompletionBoundary({
|
|
106
108
|
boundary,
|
|
@@ -141,6 +143,13 @@ async function runCopilotIsolatedCompletion(params, getPool) {
|
|
|
141
143
|
}
|
|
142
144
|
});
|
|
143
145
|
session = createdSession;
|
|
146
|
+
await awaitWithinCompletionBoundary({
|
|
147
|
+
boundary,
|
|
148
|
+
start: () => createdSession.rpc.remote.disable()
|
|
149
|
+
});
|
|
150
|
+
unsubscribeUsage = createdSession.on("assistant.usage", (event) => {
|
|
151
|
+
if (event.agentId === void 0) usage = normalizeCopilotUsage(event.data);
|
|
152
|
+
});
|
|
144
153
|
const requestHeaders = sessionProvider.provider?.headers;
|
|
145
154
|
const event = await awaitWithinCompletionBoundary({
|
|
146
155
|
boundary,
|
|
@@ -157,9 +166,11 @@ async function runCopilotIsolatedCompletion(params, getPool) {
|
|
|
157
166
|
assistantTexts: [],
|
|
158
167
|
event,
|
|
159
168
|
modelRef: model,
|
|
160
|
-
now: Date.now
|
|
169
|
+
now: Date.now,
|
|
170
|
+
usage
|
|
161
171
|
}) };
|
|
162
172
|
} finally {
|
|
173
|
+
unsubscribeUsage?.();
|
|
163
174
|
if (session) {
|
|
164
175
|
const sessionToClose = session;
|
|
165
176
|
startBestEffortCleanup(() => sessionToClose.disconnect());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as loadCopilotSdk } from "./sdk-loader-
|
|
1
|
+
import { n as loadCopilotSdk } from "./sdk-loader-DYk9xH_A.mjs";
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
3
|
import { toStringifiedError } from "openclaw/plugin-sdk/error-runtime";
|
|
4
4
|
// extensions/copilot/src/runtime.ts
|
|
@@ -40,7 +40,7 @@ function createCopilotClientPool(options = {}) {
|
|
|
40
40
|
const client = await sdkFactory(clientOptions);
|
|
41
41
|
if (runtimeArtifact) try {
|
|
42
42
|
await client.start();
|
|
43
|
-
const { validateCopilotRuntimeArtifact } = await import("./runtime-artifact-
|
|
43
|
+
const { validateCopilotRuntimeArtifact } = await import("./runtime-artifact-6ka-me7J.mjs");
|
|
44
44
|
if (!await validateCopilotRuntimeArtifact(runtimeArtifact)) throw new Error("[copilot] runtime changed while starting; retry setup verification");
|
|
45
45
|
} catch (error) {
|
|
46
46
|
await client.stop().catch(() => void 0);
|
|
@@ -58,7 +58,7 @@ function createCopilotClientPool(options = {}) {
|
|
|
58
58
|
};
|
|
59
59
|
const acquire = async (inputKey, optionsForCreate, runtimeArtifactRequest) => {
|
|
60
60
|
if (runtimeArtifactRequest && optionsForCreate.connection) throw new Error("[copilot] runtime verification requires the packaged stdio runtime");
|
|
61
|
-
const capture = runtimeArtifactRequest ? await (await import("./runtime-artifact-
|
|
61
|
+
const capture = runtimeArtifactRequest ? await (await import("./runtime-artifact-6ka-me7J.mjs")).captureCopilotRuntimeArtifact(optionsForCreate.env) : void 0;
|
|
62
62
|
const expected = runtimeArtifactRequest?.expected;
|
|
63
63
|
if (expected && (capture?.binding.id !== expected.id || capture.binding.fingerprint !== expected.fingerprint)) throw new Error("[copilot] verified runtime changed; rerun setup verification");
|
|
64
64
|
const runtimeArtifact = capture?.binding;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as loadCopilotSdkWithIdentity, t as fingerprintCopilotPackage } from "./sdk-loader-
|
|
1
|
+
import { r as loadCopilotSdkWithIdentity, t as fingerprintCopilotPackage } from "./sdk-loader-DYk9xH_A.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
@@ -8,7 +8,7 @@ import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
8
8
|
import { sha256File } from "openclaw/plugin-sdk/file-access-runtime";
|
|
9
9
|
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
10
10
|
// extensions/copilot/src/sdk-loader.ts
|
|
11
|
-
const COPILOT_SDK_SPEC = `@github/copilot-sdk@${{ "@github/copilot-sdk": "1.0.
|
|
11
|
+
const COPILOT_SDK_SPEC = `@github/copilot-sdk@${{ "@github/copilot-sdk": "1.0.29" }["@github/copilot-sdk"]}`;
|
|
12
12
|
let cached;
|
|
13
13
|
const installedImports = /* @__PURE__ */ new Map();
|
|
14
14
|
function unchanged(before, after) {
|
|
@@ -188,7 +188,7 @@ const COPILOT_ISOLATED_EXCLUDED_TOOLS = [
|
|
|
188
188
|
"mcp:*",
|
|
189
189
|
"custom:*"
|
|
190
190
|
];
|
|
191
|
-
/** Disable
|
|
191
|
+
/** Disable ambient startup capabilities; callers disable remote export before sending. */
|
|
192
192
|
function createCopilotIsolatedSessionRestrictions() {
|
|
193
193
|
return {
|
|
194
194
|
availableTools: [],
|
|
@@ -211,7 +211,6 @@ function createCopilotIsolatedSessionRestrictions() {
|
|
|
211
211
|
mcpServers: {},
|
|
212
212
|
memory: { enabled: false },
|
|
213
213
|
pluginDirectories: [],
|
|
214
|
-
remoteSession: "off",
|
|
215
214
|
requestCanvasRenderer: false,
|
|
216
215
|
requestExtensions: false,
|
|
217
216
|
skillDirectories: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"doctor-contract-api.js","source":"extensions/copilot/doctor-contract-api.ts"},{"output":"harness.js","source":"extensions/copilot/harness.ts"},{"output":"index.js","source":"extensions/copilot/index.ts"}],"chunks":[{"output":".setup/attempt-
|
|
1
|
+
{"version":3,"entries":[{"output":"doctor-contract-api.js","source":"extensions/copilot/doctor-contract-api.ts"},{"output":"harness.js","source":"extensions/copilot/harness.ts"},{"output":"index.js","source":"extensions/copilot/index.ts"}],"chunks":[{"output":".setup/attempt-gP8Y8FZO.mjs","sha256":"b087327e2e53929f87d05fdeabaad04dc2ede661e0949555399771d9062e1080","facadeSource":"extensions/copilot/src/attempt.ts","sources":["extensions/copilot/src/attempt-active-run.ts","extensions/copilot/src/attempt-cleanup.ts","extensions/copilot/src/attempt-config.ts","extensions/copilot/src/attempt-execution.ts","extensions/copilot/src/attempt-finalize.ts","extensions/copilot/src/attempt-mode.ts","extensions/copilot/src/attempt-prepare.ts","extensions/copilot/src/attempt-session-setup.ts","extensions/copilot/src/attempt-transcript-journal.ts","extensions/copilot/src/attempt-transcript-memory.ts","extensions/copilot/src/attempt-transcript-replay.ts","extensions/copilot/src/attempt-types.ts","extensions/copilot/src/attempt.ts","extensions/copilot/src/event-bridge.ts","extensions/copilot/src/hooks-bridge.ts","extensions/copilot/src/permission-bridge.ts","extensions/copilot/src/replay-shim.ts","extensions/copilot/src/tool-bridge.ts","extensions/copilot/src/user-input-bridge.ts","extensions/copilot/src/workspace-bootstrap.ts"]},{"output":".setup/harness-Cdt9zq_I.mjs","sha256":"32dc7a527db118afc244e9ac74c3c1516417b8dc1e877011f8f8c079276bfa48","facadeSource":null,"sources":["extensions/copilot/harness.ts","extensions/copilot/src/auth-bridge.ts","extensions/copilot/src/byok-proxy.ts","extensions/copilot/src/history-compaction.ts","extensions/copilot/src/prompt-error.ts","extensions/copilot/src/provider-bridge.ts"]},{"output":".setup/isolated-completion-DzO9x14h.mjs","sha256":"c6d1b85cde8b8e5dd41edac550f573d417238ecbe390a12fbc4b58964a805382","facadeSource":"extensions/copilot/src/isolated-completion.ts","sources":["extensions/copilot/src/isolated-completion.ts"]},{"output":".setup/runtime-artifact-6ka-me7J.mjs","sha256":"5723ccb60b457b815dc4a666f00152af905483e8e712c62e055d62de538cc3ca","facadeSource":"extensions/copilot/src/runtime-artifact.ts","sources":["extensions/copilot/src/runtime-artifact.ts"]},{"output":".setup/runtime-DLnn7V73.mjs","sha256":"f9478a5a90a59102aaaab865b79d790b125c817070ac5257c3cc5d8ea25a907f","facadeSource":"extensions/copilot/src/runtime.ts","sources":["extensions/copilot/src/runtime.ts"]},{"output":".setup/sdk-loader-DYk9xH_A.mjs","sha256":"7e4ba209193c9302463f5318b4409a2dc880cda5f4deb8358fa879a9478b69d5","facadeSource":null,"sources":["extensions/copilot/package.json","extensions/copilot/src/sdk-loader.ts"]},{"output":".setup/session-restrictions-BhNldzCr.mjs","sha256":"684ae732f424ba6c8315dad1c4696ac16333760da3c9c54edb5affdb3887bce9","facadeSource":null,"sources":["extensions/copilot/src/event-bridge-transcript.ts","extensions/copilot/src/session-restrictions.ts","extensions/copilot/src/usage-bridge.ts"]},{"output":"doctor-contract-api.js","sha256":"a502f11264fe700a54e481914d9d56d8fb5b4d905cdd6f1c26238fc675c651fd","facadeSource":"extensions/copilot/doctor-contract-api.ts","sources":["extensions/copilot/doctor-contract-api.ts"]},{"output":"harness.js","sha256":"31b94d069c77e4c1a3e0d61a1e3263f10bafdcbcf40de8b611066e39f0f27cce","facadeSource":"extensions/copilot/harness.ts","sources":[]},{"output":"index.js","sha256":"18dd0c9a625ae91e97ba0a7c2ff6dfba84a2169d7b5537ff7f6c011f8bb32199","facadeSource":"extensions/copilot/index.ts","sources":["extensions/copilot/index.ts"]}],"unrenderedSources":[]}
|
package/dist/harness.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createCopilotAgentHarness } from "./.setup/harness-
|
|
1
|
+
export { t as createCopilotAgentHarness } from "./.setup/harness-Cdt9zq_I.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "./.setup/harness-
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./.setup/harness-Cdt9zq_I.mjs";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
3
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
// extensions/copilot/index.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/copilot",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.13",
|
|
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,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@github/copilot-sdk": "1.0.
|
|
11
|
+
"@github/copilot-sdk": "1.0.29"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@openclaw/plugin-sdk": "workspace:*"
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"minHostVersion": ">=2026.5.28"
|
|
25
25
|
},
|
|
26
26
|
"compat": {
|
|
27
|
-
"pluginApi": ">=2026.11.
|
|
27
|
+
"pluginApi": ">=2026.11.13"
|
|
28
28
|
},
|
|
29
29
|
"build": {
|
|
30
|
-
"openclawVersion": "2026.11.
|
|
30
|
+
"openclawVersion": "2026.11.13",
|
|
31
31
|
"bundledDist": false
|
|
32
32
|
},
|
|
33
33
|
"release": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"assets/activity.svg"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"openclaw": ">=2026.11.
|
|
50
|
+
"openclaw": ">=2026.11.13"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"openclaw": {
|