@openclaw/copilot 2026.11.10 → 2026.12.1-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.
- package/dist/.setup/{attempt-CHCmicVr.mjs → attempt-RSQRmr6n.mjs} +2 -3
- package/dist/.setup/{harness-Xl8T8Yuu.mjs → harness-C2NIcNAc.mjs} +3 -3
- package/dist/.setup/{isolated-completion-CSq4JLpY.mjs → isolated-completion-CqaPtFRx.mjs} +1 -1
- package/dist/.source-module-urls/f7f35489a89dbc0fc6d0e80a0da5720af5de227b511e490a2415ffe55b1bc471.json +1 -1
- package/dist/harness.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as createCopilotByokProxy, i as createPromptError, n as resolveCopilotProvider, o as createCopilotByokAuth, s as resolveCopilotAuth } from "./harness-
|
|
1
|
+
import { a as createCopilotByokProxy, i as createPromptError, n as resolveCopilotProvider, o as createCopilotByokAuth, s as resolveCopilotAuth } from "./harness-C2NIcNAc.mjs";
|
|
2
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-BrC08l2U.mjs";
|
|
3
3
|
import { asOptionalObjectRecord, asOptionalRecord, normalizeOptionalString, normalizeUniqueStringEntries, readNonBlankString, readNonEmptyStringPreservingWhitespace, readNonEmptyStringPreservingWhitespace as readNonEmptyString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
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,
|
|
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, 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";
|
|
@@ -1433,7 +1433,6 @@ async function buildOpenClawCodingToolsOptions(input, toolPlan, toolSurfaceRunti
|
|
|
1433
1433
|
modelApi: model?.api,
|
|
1434
1434
|
modelContextWindowTokens: a.contextTokenBudget ?? model?.contextWindow,
|
|
1435
1435
|
delegationCapability: a.delegationCapability,
|
|
1436
|
-
modelAuthMode: await resolveModelAuthModeAsync(input.modelProvider, a.config, a.toolAuthProfileStore ?? a.authProfileStore, { workspaceDir }),
|
|
1437
1436
|
modelHasVision,
|
|
1438
1437
|
requireExplicitMessageTarget: a.requireExplicitMessageTarget ?? isSubagentSessionKey(liveSessionKey),
|
|
1439
1438
|
disableMessageTool: a.disableMessageTool,
|
|
@@ -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-RSQRmr6n.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-CqaPtFRx.mjs");
|
|
846
846
|
return await runCopilotIsolatedCompletion(params, async () => {
|
|
847
847
|
return await getPool();
|
|
848
848
|
});
|
|
@@ -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-RSQRmr6n.mjs");
|
|
940
940
|
let resolvedPoolAcquire;
|
|
941
941
|
try {
|
|
942
942
|
resolvedPoolAcquire = resolvePoolAcquire(params);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createCopilotByokProxy, c as tokenFingerprint, n as resolveCopilotProvider, r as createCopilotAbortError } from "./harness-
|
|
1
|
+
import { a as createCopilotByokProxy, c as tokenFingerprint, n as resolveCopilotProvider, r as createCopilotAbortError } from "./harness-C2NIcNAc.mjs";
|
|
2
2
|
import { n as buildAssistantMessage, t as createCopilotIsolatedSessionRestrictions } from "./session-restrictions-BrC08l2U.mjs";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
import { raceWithTimeout } from "openclaw/plugin-sdk/time-runtime";
|
|
@@ -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-RSQRmr6n.mjs","sha256":"23731b1e7291b9b253d59aee5e1b1b372c83e92a0103cfcf5c33f2515a5bc7c1","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-C2NIcNAc.mjs","sha256":"89c155839faa4ea1cb9a612c14e9aeb20cf4131e220705026dd84b9b2a60a180","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-CqaPtFRx.mjs","sha256":"cf1022dc9b8f53a89bef1567448638a4066edb8c3fc74520327309cb7f5029f3","facadeSource":"extensions/copilot/src/isolated-completion.ts","sources":["extensions/copilot/src/isolated-completion.ts"]},{"output":".setup/runtime-artifact-DQ8Ia6k4.mjs","sha256":"2ea07184cefea52fd78f63e41e9593c3a29c3ff63aee9f96a31eba439d69e993","facadeSource":"extensions/copilot/src/runtime-artifact.ts","sources":["extensions/copilot/src/runtime-artifact.ts"]},{"output":".setup/runtime-DCn_HIxX.mjs","sha256":"f9f379e559f57a8df6a8cb681da4f80c1e67b0ef47c4a10b83f5016ebfaee79a","facadeSource":"extensions/copilot/src/runtime.ts","sources":["extensions/copilot/src/runtime.ts"]},{"output":".setup/sdk-loader-MZ7UHepf.mjs","sha256":"f93b25f6ca478d2f8e666c41354b58b5e80368e02b335f6fb23f28085685a7b8","facadeSource":null,"sources":["extensions/copilot/package.json","extensions/copilot/src/sdk-loader.ts"]},{"output":".setup/session-restrictions-BrC08l2U.mjs","sha256":"8bcede067598930f18a4e5c97aeaaaf30b494ec1897a2f328d10e6943fdb02fa","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":"9784e3734be57c72cadabfa8c67feba2ed4857ff9f98f43f7a967b47a3a715e3","facadeSource":"extensions/copilot/harness.ts","sources":[]},{"output":"index.js","sha256":"da4e7e338a018c8ff5cefcd8f09634b892476cdb62f23d668b2bebe6e8d02b25","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-C2NIcNAc.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-C2NIcNAc.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.
|
|
3
|
+
"version": "2026.12.1-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",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"minHostVersion": ">=2026.5.28"
|
|
25
25
|
},
|
|
26
26
|
"compat": {
|
|
27
|
-
"pluginApi": ">=2026.
|
|
27
|
+
"pluginApi": ">=2026.12.1-beta.1"
|
|
28
28
|
},
|
|
29
29
|
"build": {
|
|
30
|
-
"openclawVersion": "2026.
|
|
30
|
+
"openclawVersion": "2026.12.1-beta.1",
|
|
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.
|
|
50
|
+
"openclaw": ">=2026.12.1-beta.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"openclaw": {
|