@openclaw/copilot 2026.7.2-beta.3 → 2026.7.2-beta.5
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-5xlXVISm.js → attempt-VUKDewiG.js} +2283 -1500
- package/dist/{harness-C1V8xh6L.js → harness-C1nz8B8g.js} +139 -90
- package/dist/harness.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{runtime-C__LHHs3.js → runtime-BY2Yi3Dg.js} +4 -3
- package/package.json +5 -6
- package/npm-shrinkwrap.json +0 -206
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildAgentHookContextChannelFields, compactWithSafetyTimeout, getModelProviderRequestTransport, resolveCompactionTimeoutMs, runAgentHarnessAfterCompactionHook, runAgentHarnessBeforeCompactionHook } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
1
|
+
import { buildAgentHookContextChannelFields, compactWithSafetyTimeout, getModelProviderRequestTransport, projectSettledTurnFinalizationAttemptResult, resolveCompactionTimeoutMs, runAgentHarnessAfterCompactionHook, runAgentHarnessBeforeCompactionHook } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
2
2
|
import { createHash, randomBytes } from "node:crypto";
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { join, resolve } from "node:path";
|
|
@@ -607,9 +607,10 @@ function sessionAuthMatches(stored, current) {
|
|
|
607
607
|
return current.authMode === stored.authMode && stored.authProfileId === current.authProfileId && stored.authProfileVersion === current.authProfileVersion;
|
|
608
608
|
}
|
|
609
609
|
function normalizeBinding(value) {
|
|
610
|
-
if (!value || value.schemaVersion !== 2 || typeof value.sdkSessionId !== "string" || value.sdkSessionId.trim() === "" || typeof value.compatKey !== "string" || value.compatKey.trim() === "" || typeof value.compactKey !== "string" || value.compactKey.trim() === "" || value.authMode !== "gitHubToken" && value.authMode !== "byok" && value.authMode !== "useLoggedInUser" || (value.authMode === "gitHubToken" || value.authMode === "byok") && (typeof value.authProfileId !== "string" || value.authProfileId.trim() === "" || typeof value.authProfileVersion !== "string" || value.authProfileVersion.trim() === "") || typeof value.updatedAt !== "number" || !Number.isFinite(value.updatedAt)) return;
|
|
610
|
+
if (!value || value.schemaVersion !== 2 || typeof value.sdkSessionId !== "string" || value.sdkSessionId.trim() === "" || typeof value.compatKey !== "string" || value.compatKey.trim() === "" || typeof value.compactKey !== "string" || value.compactKey.trim() === "" || value.journalVersion !== void 0 && value.journalVersion !== 1 || value.authMode !== "gitHubToken" && value.authMode !== "byok" && value.authMode !== "useLoggedInUser" || (value.authMode === "gitHubToken" || value.authMode === "byok") && (typeof value.authProfileId !== "string" || value.authProfileId.trim() === "" || typeof value.authProfileVersion !== "string" || value.authProfileVersion.trim() === "") || typeof value.updatedAt !== "number" || !Number.isFinite(value.updatedAt)) return;
|
|
611
611
|
return {
|
|
612
612
|
schemaVersion: 2,
|
|
613
|
+
...value.journalVersion === 1 ? { journalVersion: 1 } : {},
|
|
613
614
|
sdkSessionId: value.sdkSessionId.trim(),
|
|
614
615
|
compatKey: value.compatKey,
|
|
615
616
|
compactKey: value.compactKey,
|
|
@@ -820,7 +821,7 @@ function createCopilotAgentHarness(options) {
|
|
|
820
821
|
async function getPool() {
|
|
821
822
|
if (options?.pool) return options.pool;
|
|
822
823
|
if (!poolPromise) poolPromise = (async () => {
|
|
823
|
-
const { createCopilotClientPool } = await import("./runtime-
|
|
824
|
+
const { createCopilotClientPool } = await import("./runtime-BY2Yi3Dg.js");
|
|
824
825
|
createdPool = createCopilotClientPool(options?.poolOptions);
|
|
825
826
|
return createdPool;
|
|
826
827
|
})();
|
|
@@ -854,6 +855,137 @@ function createCopilotAgentHarness(options) {
|
|
|
854
855
|
for (const [, cleanup] of pending) cleanup.abort();
|
|
855
856
|
await Promise.allSettled(pending.map(([cleanup]) => cleanup));
|
|
856
857
|
}
|
|
858
|
+
async function runHarnessAttempt(params, operation) {
|
|
859
|
+
const attemptPromise = (async () => {
|
|
860
|
+
if (disposed) throw new Error("[copilot] harness has been disposed; cannot start new attempts");
|
|
861
|
+
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-VUKDewiG.js");
|
|
862
|
+
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
863
|
+
const pool = await getPool();
|
|
864
|
+
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
865
|
+
let poolAcquire;
|
|
866
|
+
try {
|
|
867
|
+
poolAcquire = resolvePoolAcquire(params);
|
|
868
|
+
} catch (error) {
|
|
869
|
+
if (operation === "attempt" && isCopilotByokUnsupportedProviderError(error)) return runCopilotAttempt(params, { pool });
|
|
870
|
+
throw error;
|
|
871
|
+
}
|
|
872
|
+
const openclawSessionId = typeof params.sessionId === "string" ? params.sessionId : void 0;
|
|
873
|
+
const currentCompatKey = computeSessionCompatKey(params);
|
|
874
|
+
const currentCompactKey = computeSessionCompactKey(params);
|
|
875
|
+
const compactionCleanupPending = openclawSessionId !== void 0 && hasPendingDeferredCompactionCleanup(openclawSessionId);
|
|
876
|
+
const replayBlocked = openclawSessionId !== void 0 && (compactionCleanupPending || resetBlockedStoredSessions.has(openclawSessionId));
|
|
877
|
+
const tracked = openclawSessionId && !replayBlocked ? trackedSessions.get(openclawSessionId) : void 0;
|
|
878
|
+
const stored = openclawSessionId ? replayBlocked ? void 0 : lookupStoredBinding(options?.sessionStore, openclawSessionId) : void 0;
|
|
879
|
+
const resumableBinding = tracked && tracked.compatKey === currentCompatKey ? tracked : !tracked && stored && stored.compatKey === currentCompatKey ? stored : void 0;
|
|
880
|
+
const resumableSessionId = resumableBinding?.sdkSessionId;
|
|
881
|
+
if (operation === "settled-tool-finalization" && !resumableSessionId) throw new Error("[copilot] cannot safely finalize a settled tool turn without its compatible SDK session");
|
|
882
|
+
const result = await runCopilotAttempt(resumableSessionId ? {
|
|
883
|
+
...params,
|
|
884
|
+
...operation === "settled-tool-finalization" ? {
|
|
885
|
+
disableTools: true,
|
|
886
|
+
onAgentEvent: void 0,
|
|
887
|
+
onAgentToolResult: void 0,
|
|
888
|
+
onAssistantDelta: void 0,
|
|
889
|
+
onAssistantMessageStart: void 0,
|
|
890
|
+
onBlockReply: void 0,
|
|
891
|
+
onBlockReplyFlush: void 0,
|
|
892
|
+
onPartialReply: void 0,
|
|
893
|
+
onReasoningEnd: void 0,
|
|
894
|
+
onReasoningStream: void 0,
|
|
895
|
+
onToolResult: void 0,
|
|
896
|
+
onToolStreamBoundary: void 0
|
|
897
|
+
} : {},
|
|
898
|
+
initialReplayState: operation === "settled-tool-finalization" ? {
|
|
899
|
+
...resumableBinding?.journalVersion === 1 ? { journalValidated: true } : {},
|
|
900
|
+
sdkSessionId: resumableSessionId
|
|
901
|
+
} : {
|
|
902
|
+
...params.initialReplayState,
|
|
903
|
+
...resumableBinding?.journalVersion === 1 ? { journalValidated: true } : {},
|
|
904
|
+
sdkSessionId: resumableSessionId
|
|
905
|
+
}
|
|
906
|
+
} : params, {
|
|
907
|
+
pool,
|
|
908
|
+
...operation === "settled-tool-finalization" ? { operation } : {},
|
|
909
|
+
onSessionEstablished: operation === "attempt" && openclawSessionId ? ({ compactionSessionConfig, sdkSessionId, pooledClient, sessionConfig }) => {
|
|
910
|
+
trackedSessions.set(openclawSessionId, {
|
|
911
|
+
sdkSessionId,
|
|
912
|
+
client: pooledClient.client,
|
|
913
|
+
clientOptions: poolAcquire.options,
|
|
914
|
+
compatKey: currentCompatKey,
|
|
915
|
+
compactKey: currentCompactKey,
|
|
916
|
+
poolKey: pooledClient.key,
|
|
917
|
+
sessionConfig: compactionSessionConfig ?? sessionConfig,
|
|
918
|
+
...sessionAuthFields(poolAcquire.auth)
|
|
919
|
+
});
|
|
920
|
+
registerStoredBinding(options?.sessionStore, openclawSessionId, {
|
|
921
|
+
schemaVersion: 2,
|
|
922
|
+
sdkSessionId,
|
|
923
|
+
compatKey: currentCompatKey,
|
|
924
|
+
compactKey: currentCompactKey,
|
|
925
|
+
...sessionAuthFields(poolAcquire.auth),
|
|
926
|
+
updatedAt: Date.now()
|
|
927
|
+
});
|
|
928
|
+
resetBlockedStoredSessions.delete(openclawSessionId);
|
|
929
|
+
} : void 0,
|
|
930
|
+
onDeferredCompaction: openclawSessionId ? ({ abort, cleanup, sdkSessionId }) => {
|
|
931
|
+
const trackedBinding = trackedSessions.get(openclawSessionId);
|
|
932
|
+
const storedBinding = lookupStoredBinding(options?.sessionStore, openclawSessionId);
|
|
933
|
+
const ownsTrackedSession = trackedBinding?.sdkSessionId === sdkSessionId;
|
|
934
|
+
const ownsStoredSession = storedBinding?.sdkSessionId === sdkSessionId;
|
|
935
|
+
if (!ownsTrackedSession && !ownsStoredSession) return;
|
|
936
|
+
trackDeferredCompactionCleanup({
|
|
937
|
+
abort,
|
|
938
|
+
cleanup,
|
|
939
|
+
sessionId: openclawSessionId,
|
|
940
|
+
sdkSessionId
|
|
941
|
+
});
|
|
942
|
+
resetBlockedStoredSessions.add(openclawSessionId);
|
|
943
|
+
cleanup.then((outcome) => {
|
|
944
|
+
const currentTracked = trackedSessions.get(openclawSessionId);
|
|
945
|
+
const currentStored = lookupStoredBinding(options?.sessionStore, openclawSessionId);
|
|
946
|
+
const stillOwnsTrackedSession = currentTracked?.sdkSessionId === sdkSessionId;
|
|
947
|
+
const stillOwnsStoredSession = currentStored?.sdkSessionId === sdkSessionId;
|
|
948
|
+
if (outcome === "completed") {
|
|
949
|
+
if (stillOwnsTrackedSession || stillOwnsStoredSession) resetBlockedStoredSessions.delete(openclawSessionId);
|
|
950
|
+
return;
|
|
951
|
+
}
|
|
952
|
+
if (stillOwnsTrackedSession) trackedSessions.delete(openclawSessionId);
|
|
953
|
+
if (stillOwnsStoredSession) deleteStoredBinding(options?.sessionStore, openclawSessionId);
|
|
954
|
+
if (stillOwnsTrackedSession || stillOwnsStoredSession) resetBlockedStoredSessions.add(openclawSessionId);
|
|
955
|
+
});
|
|
956
|
+
} : void 0
|
|
957
|
+
});
|
|
958
|
+
if (operation === "attempt" && openclawSessionId) {
|
|
959
|
+
const attemptResult = result;
|
|
960
|
+
const sdkSessionId = attemptResult.sdkSessionId;
|
|
961
|
+
const trackedSession = trackedSessions.get(openclawSessionId);
|
|
962
|
+
if (sdkSessionId && trackedSession?.sdkSessionId === sdkSessionId) {
|
|
963
|
+
const { journalVersion: _journalVersion, ...baseTracked } = trackedSession;
|
|
964
|
+
const nextTracked = {
|
|
965
|
+
...baseTracked,
|
|
966
|
+
...attemptResult.journalValidated ? { journalVersion: 1 } : {}
|
|
967
|
+
};
|
|
968
|
+
trackedSessions.set(openclawSessionId, nextTracked);
|
|
969
|
+
registerStoredBinding(options?.sessionStore, openclawSessionId, {
|
|
970
|
+
schemaVersion: 2,
|
|
971
|
+
...attemptResult.journalValidated ? { journalVersion: 1 } : {},
|
|
972
|
+
sdkSessionId,
|
|
973
|
+
compatKey: nextTracked.compatKey,
|
|
974
|
+
compactKey: nextTracked.compactKey,
|
|
975
|
+
...sessionAuthFields(nextTracked),
|
|
976
|
+
updatedAt: Date.now()
|
|
977
|
+
});
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
return result;
|
|
981
|
+
})();
|
|
982
|
+
inFlight.add(attemptPromise);
|
|
983
|
+
try {
|
|
984
|
+
return await attemptPromise;
|
|
985
|
+
} finally {
|
|
986
|
+
inFlight.delete(attemptPromise);
|
|
987
|
+
}
|
|
988
|
+
}
|
|
857
989
|
return {
|
|
858
990
|
id: options?.id ?? "copilot",
|
|
859
991
|
label: options?.label ?? "GitHub Copilot agent runtime",
|
|
@@ -892,92 +1024,9 @@ function createCopilotAgentHarness(options) {
|
|
|
892
1024
|
priority: 100
|
|
893
1025
|
};
|
|
894
1026
|
},
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
const { resolvePoolAcquire, runCopilotAttempt } = await import("./attempt-5xlXVISm.js");
|
|
899
|
-
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
900
|
-
const pool = await getPool();
|
|
901
|
-
if (disposed) throw new Error("[copilot] harness was disposed while starting an attempt");
|
|
902
|
-
let poolAcquire;
|
|
903
|
-
try {
|
|
904
|
-
poolAcquire = resolvePoolAcquire(params);
|
|
905
|
-
} catch (error) {
|
|
906
|
-
if (isCopilotByokUnsupportedProviderError(error)) return runCopilotAttempt(params, { pool });
|
|
907
|
-
throw error;
|
|
908
|
-
}
|
|
909
|
-
const openclawSessionId = typeof params.sessionId === "string" ? params.sessionId : void 0;
|
|
910
|
-
const currentCompatKey = computeSessionCompatKey(params);
|
|
911
|
-
const currentCompactKey = computeSessionCompactKey(params);
|
|
912
|
-
const compactionCleanupPending = openclawSessionId !== void 0 && hasPendingDeferredCompactionCleanup(openclawSessionId);
|
|
913
|
-
const replayBlocked = openclawSessionId !== void 0 && (compactionCleanupPending || resetBlockedStoredSessions.has(openclawSessionId));
|
|
914
|
-
const tracked = openclawSessionId && !replayBlocked ? trackedSessions.get(openclawSessionId) : void 0;
|
|
915
|
-
const stored = openclawSessionId ? replayBlocked ? void 0 : lookupStoredBinding(options?.sessionStore, openclawSessionId) : void 0;
|
|
916
|
-
const resumableSessionId = tracked && tracked.compatKey === currentCompatKey ? tracked.sdkSessionId : !tracked && stored && stored.compatKey === currentCompatKey ? stored.sdkSessionId : void 0;
|
|
917
|
-
return runCopilotAttempt(resumableSessionId ? {
|
|
918
|
-
...params,
|
|
919
|
-
initialReplayState: {
|
|
920
|
-
...params.initialReplayState,
|
|
921
|
-
sdkSessionId: resumableSessionId
|
|
922
|
-
}
|
|
923
|
-
} : params, {
|
|
924
|
-
pool,
|
|
925
|
-
onSessionEstablished: openclawSessionId ? ({ compactionSessionConfig, sdkSessionId, pooledClient, sessionConfig }) => {
|
|
926
|
-
trackedSessions.set(openclawSessionId, {
|
|
927
|
-
sdkSessionId,
|
|
928
|
-
client: pooledClient.client,
|
|
929
|
-
clientOptions: poolAcquire.options,
|
|
930
|
-
compatKey: currentCompatKey,
|
|
931
|
-
compactKey: currentCompactKey,
|
|
932
|
-
poolKey: pooledClient.key,
|
|
933
|
-
sessionConfig: compactionSessionConfig ?? sessionConfig,
|
|
934
|
-
...sessionAuthFields(poolAcquire.auth)
|
|
935
|
-
});
|
|
936
|
-
registerStoredBinding(options?.sessionStore, openclawSessionId, {
|
|
937
|
-
schemaVersion: 2,
|
|
938
|
-
sdkSessionId,
|
|
939
|
-
compatKey: currentCompatKey,
|
|
940
|
-
compactKey: currentCompactKey,
|
|
941
|
-
...sessionAuthFields(poolAcquire.auth),
|
|
942
|
-
updatedAt: Date.now()
|
|
943
|
-
});
|
|
944
|
-
resetBlockedStoredSessions.delete(openclawSessionId);
|
|
945
|
-
} : void 0,
|
|
946
|
-
onDeferredCompaction: openclawSessionId ? ({ abort, cleanup, sdkSessionId }) => {
|
|
947
|
-
const trackedBinding = trackedSessions.get(openclawSessionId);
|
|
948
|
-
const storedBinding = lookupStoredBinding(options?.sessionStore, openclawSessionId);
|
|
949
|
-
const ownsTrackedSession = trackedBinding?.sdkSessionId === sdkSessionId;
|
|
950
|
-
const ownsStoredSession = storedBinding?.sdkSessionId === sdkSessionId;
|
|
951
|
-
if (!ownsTrackedSession && !ownsStoredSession) return;
|
|
952
|
-
trackDeferredCompactionCleanup({
|
|
953
|
-
abort,
|
|
954
|
-
cleanup,
|
|
955
|
-
sessionId: openclawSessionId,
|
|
956
|
-
sdkSessionId
|
|
957
|
-
});
|
|
958
|
-
resetBlockedStoredSessions.add(openclawSessionId);
|
|
959
|
-
cleanup.then((outcome) => {
|
|
960
|
-
const currentTracked = trackedSessions.get(openclawSessionId);
|
|
961
|
-
const currentStored = lookupStoredBinding(options?.sessionStore, openclawSessionId);
|
|
962
|
-
const stillOwnsTrackedSession = currentTracked?.sdkSessionId === sdkSessionId;
|
|
963
|
-
const stillOwnsStoredSession = currentStored?.sdkSessionId === sdkSessionId;
|
|
964
|
-
if (outcome === "completed") {
|
|
965
|
-
if (stillOwnsTrackedSession || stillOwnsStoredSession) resetBlockedStoredSessions.delete(openclawSessionId);
|
|
966
|
-
return;
|
|
967
|
-
}
|
|
968
|
-
if (stillOwnsTrackedSession) trackedSessions.delete(openclawSessionId);
|
|
969
|
-
if (stillOwnsStoredSession) deleteStoredBinding(options?.sessionStore, openclawSessionId);
|
|
970
|
-
if (stillOwnsTrackedSession || stillOwnsStoredSession) resetBlockedStoredSessions.add(openclawSessionId);
|
|
971
|
-
});
|
|
972
|
-
} : void 0
|
|
973
|
-
});
|
|
974
|
-
})();
|
|
975
|
-
inFlight.add(attemptPromise);
|
|
976
|
-
try {
|
|
977
|
-
return await attemptPromise;
|
|
978
|
-
} finally {
|
|
979
|
-
inFlight.delete(attemptPromise);
|
|
980
|
-
}
|
|
1027
|
+
runAttempt: (params) => runHarnessAttempt(params, "attempt"),
|
|
1028
|
+
finalizeSettledTurn: async ({ attempt }) => {
|
|
1029
|
+
return projectSettledTurnFinalizationAttemptResult(await runHarnessAttempt(attempt, "settled-tool-finalization"));
|
|
981
1030
|
},
|
|
982
1031
|
async reset(params) {
|
|
983
1032
|
const openclawSessionId = typeof params.sessionId === "string" ? params.sessionId : void 0;
|
|
@@ -1011,7 +1060,7 @@ function createCopilotAgentHarness(options) {
|
|
|
1011
1060
|
};
|
|
1012
1061
|
const tracked = trackedSessions.get(openclawSessionId);
|
|
1013
1062
|
const currentCompactKey = computeSessionCompactKey(params);
|
|
1014
|
-
const { resolvePoolAcquire } = await import("./attempt-
|
|
1063
|
+
const { resolvePoolAcquire } = await import("./attempt-VUKDewiG.js");
|
|
1015
1064
|
let resolvedPoolAcquire;
|
|
1016
1065
|
let currentAuth;
|
|
1017
1066
|
try {
|
package/dist/harness.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createCopilotAgentHarness } from "./harness-
|
|
1
|
+
import { t as createCopilotAgentHarness } from "./harness-C1nz8B8g.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-C1nz8B8g.js";
|
|
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
|
|
@@ -182,7 +182,7 @@ function createCopilotClientPool(options = {}) {
|
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
184
|
const acquire = async (inputKey, optionsForCreate) => {
|
|
185
|
-
const key = normalizePoolKey(inputKey, optionsForCreate.copilotHome);
|
|
185
|
+
const key = normalizePoolKey(inputKey, optionsForCreate.copilotHome, optionsForCreate.mode);
|
|
186
186
|
const cacheKey = JSON.stringify(key);
|
|
187
187
|
const clientOptions = normalizeClientCreateOptions(optionsForCreate, key.copilotHome);
|
|
188
188
|
while (true) {
|
|
@@ -310,13 +310,14 @@ function createCopilotClientPool(options = {}) {
|
|
|
310
310
|
size: () => entries.size
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
function normalizePoolKey(key, rawCopilotHome) {
|
|
313
|
+
function normalizePoolKey(key, rawCopilotHome, clientMode) {
|
|
314
314
|
return {
|
|
315
315
|
agentId: key.agentId,
|
|
316
316
|
copilotHome: normalizeCopilotHome(rawCopilotHome),
|
|
317
317
|
authMode: key.authMode,
|
|
318
318
|
authProfileId: key.authProfileId,
|
|
319
|
-
authProfileVersion: key.authProfileVersion
|
|
319
|
+
authProfileVersion: key.authProfileVersion,
|
|
320
|
+
...clientMode === "empty" ? { clientMode } : {}
|
|
320
321
|
};
|
|
321
322
|
}
|
|
322
323
|
function normalizeClientCreateOptions(options, normalizedCopilotHome) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/copilot",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.5",
|
|
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.7"
|
|
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.7.2-beta.
|
|
27
|
+
"pluginApi": ">=2026.7.2-beta.5"
|
|
28
28
|
},
|
|
29
29
|
"build": {
|
|
30
|
-
"openclawVersion": "2026.7.2-beta.
|
|
30
|
+
"openclawVersion": "2026.7.2-beta.5",
|
|
31
31
|
"bundledDist": false
|
|
32
32
|
},
|
|
33
33
|
"release": {
|
|
@@ -42,11 +42,10 @@
|
|
|
42
42
|
"files": [
|
|
43
43
|
"dist/**",
|
|
44
44
|
"openclaw.plugin.json",
|
|
45
|
-
"npm-shrinkwrap.json",
|
|
46
45
|
"README.md"
|
|
47
46
|
],
|
|
48
47
|
"peerDependencies": {
|
|
49
|
-
"openclaw": ">=2026.7.2-beta.
|
|
48
|
+
"openclaw": ">=2026.7.2-beta.5"
|
|
50
49
|
},
|
|
51
50
|
"peerDependenciesMeta": {
|
|
52
51
|
"openclaw": {
|
package/npm-shrinkwrap.json
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@openclaw/copilot",
|
|
3
|
-
"version": "2026.7.2-beta.3",
|
|
4
|
-
"lockfileVersion": 3,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"packages": {
|
|
7
|
-
"": {
|
|
8
|
-
"name": "@openclaw/copilot",
|
|
9
|
-
"version": "2026.7.2-beta.3",
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@github/copilot-sdk": "1.0.5"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"node_modules/@github/copilot": {
|
|
15
|
-
"version": "1.0.68",
|
|
16
|
-
"resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.68.tgz",
|
|
17
|
-
"integrity": "sha512-2VPcTlW0RAEsfeS0Ma2ICCkfXgpxy3NL7+SReR8gzvEEPiokSRf0k5JBPlgMbBEFvocSRcJ01S8KvBm84Dw+Fw==",
|
|
18
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"detect-libc": "^2.1.2"
|
|
21
|
-
},
|
|
22
|
-
"bin": {
|
|
23
|
-
"copilot": "npm-loader.js"
|
|
24
|
-
},
|
|
25
|
-
"optionalDependencies": {
|
|
26
|
-
"@github/copilot-darwin-arm64": "1.0.68",
|
|
27
|
-
"@github/copilot-darwin-x64": "1.0.68",
|
|
28
|
-
"@github/copilot-linux-arm64": "1.0.68",
|
|
29
|
-
"@github/copilot-linux-x64": "1.0.68",
|
|
30
|
-
"@github/copilot-linuxmusl-arm64": "1.0.68",
|
|
31
|
-
"@github/copilot-linuxmusl-x64": "1.0.68",
|
|
32
|
-
"@github/copilot-win32-arm64": "1.0.68",
|
|
33
|
-
"@github/copilot-win32-x64": "1.0.68"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"node_modules/@github/copilot-darwin-arm64": {
|
|
37
|
-
"version": "1.0.68",
|
|
38
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.68.tgz",
|
|
39
|
-
"integrity": "sha512-0G26AL9dlrwTa5IRTxPEnkX6Kz20CuetIwXzABmWwiXYcsR9rswM/NYICR3k53TOa0zL7aqFPnl98CW7J5XbZw==",
|
|
40
|
-
"cpu": [
|
|
41
|
-
"arm64"
|
|
42
|
-
],
|
|
43
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
|
-
"optional": true,
|
|
45
|
-
"os": [
|
|
46
|
-
"darwin"
|
|
47
|
-
],
|
|
48
|
-
"bin": {
|
|
49
|
-
"copilot-darwin-arm64": "copilot"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"node_modules/@github/copilot-darwin-x64": {
|
|
53
|
-
"version": "1.0.68",
|
|
54
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.68.tgz",
|
|
55
|
-
"integrity": "sha512-RoClWH4CPH19pv5jrR0E6pBU6ljgrzL7idb7tV2pPtMYGTuwqW//XrIEE4n/5NVZmhzEiVBeq04THzOBeV493A==",
|
|
56
|
-
"cpu": [
|
|
57
|
-
"x64"
|
|
58
|
-
],
|
|
59
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
60
|
-
"optional": true,
|
|
61
|
-
"os": [
|
|
62
|
-
"darwin"
|
|
63
|
-
],
|
|
64
|
-
"bin": {
|
|
65
|
-
"copilot-darwin-x64": "copilot"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"node_modules/@github/copilot-linux-arm64": {
|
|
69
|
-
"version": "1.0.68",
|
|
70
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.68.tgz",
|
|
71
|
-
"integrity": "sha512-SXSOz/2xPeUM/ndKypBiQv+QGYaEM7oGytl1i+Yx4tJnOoIwLkkTmIaWUbBNn0n5DTEjUcWyDqHzxxo/42FKRQ==",
|
|
72
|
-
"cpu": [
|
|
73
|
-
"arm64"
|
|
74
|
-
],
|
|
75
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
76
|
-
"optional": true,
|
|
77
|
-
"os": [
|
|
78
|
-
"linux"
|
|
79
|
-
],
|
|
80
|
-
"bin": {
|
|
81
|
-
"copilot-linux-arm64": "copilot"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"node_modules/@github/copilot-linux-x64": {
|
|
85
|
-
"version": "1.0.68",
|
|
86
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.68.tgz",
|
|
87
|
-
"integrity": "sha512-YdG1chniWyps7XEJ2YHUOJkcOc6BpDQZby/zOKCVdswzRXx7d3WiZ2P9lfDimBBmXXJEJ81Fqhv2ZK5eOmGlUw==",
|
|
88
|
-
"cpu": [
|
|
89
|
-
"x64"
|
|
90
|
-
],
|
|
91
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
92
|
-
"optional": true,
|
|
93
|
-
"os": [
|
|
94
|
-
"linux"
|
|
95
|
-
],
|
|
96
|
-
"bin": {
|
|
97
|
-
"copilot-linux-x64": "copilot"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"node_modules/@github/copilot-linuxmusl-arm64": {
|
|
101
|
-
"version": "1.0.68",
|
|
102
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.68.tgz",
|
|
103
|
-
"integrity": "sha512-LTYZFOHpeLg4rCtsq3A/LMZxxRKFcCLmhnt8F7ovNYLNDJMkh3xdYanoXP0C0PO3uyUMiNJ+p5YXhZiBuo2yfw==",
|
|
104
|
-
"cpu": [
|
|
105
|
-
"arm64"
|
|
106
|
-
],
|
|
107
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
108
|
-
"optional": true,
|
|
109
|
-
"os": [
|
|
110
|
-
"linux"
|
|
111
|
-
],
|
|
112
|
-
"bin": {
|
|
113
|
-
"copilot-linuxmusl-arm64": "copilot"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"node_modules/@github/copilot-linuxmusl-x64": {
|
|
117
|
-
"version": "1.0.68",
|
|
118
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.68.tgz",
|
|
119
|
-
"integrity": "sha512-oOMXZ9HPJAJaKSrXZIYuond4uOiUkK1uRhVPI3Cs74n7uEVKPWpNlTN+j/O754dnBa1+HJcuZSDMulTbnOgirg==",
|
|
120
|
-
"cpu": [
|
|
121
|
-
"x64"
|
|
122
|
-
],
|
|
123
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
124
|
-
"optional": true,
|
|
125
|
-
"os": [
|
|
126
|
-
"linux"
|
|
127
|
-
],
|
|
128
|
-
"bin": {
|
|
129
|
-
"copilot-linuxmusl-x64": "copilot"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"node_modules/@github/copilot-sdk": {
|
|
133
|
-
"version": "1.0.5",
|
|
134
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-sdk/-/copilot-sdk-1.0.5.tgz",
|
|
135
|
-
"integrity": "sha512-N6Yk2DcpM9orYXWGBcQs5R0FdiVYrCn7UHQ206cUkfJengKYjgcd3f78BvVB6Dot3j0TvO04FnQ85K9/kbRRag==",
|
|
136
|
-
"license": "MIT",
|
|
137
|
-
"dependencies": {
|
|
138
|
-
"@github/copilot": "^1.0.67",
|
|
139
|
-
"vscode-jsonrpc": "^8.2.1",
|
|
140
|
-
"zod": "^4.3.6"
|
|
141
|
-
},
|
|
142
|
-
"engines": {
|
|
143
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"node_modules/@github/copilot-win32-arm64": {
|
|
147
|
-
"version": "1.0.68",
|
|
148
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.68.tgz",
|
|
149
|
-
"integrity": "sha512-ZDqpJMP9Y5vqwvRxnIvZrVl8ibx/P66m3JTXQuzv6pitq7rkMEuNKscZ7cjJYN4N+BCOF5++5LKw8O1WHzXAAA==",
|
|
150
|
-
"cpu": [
|
|
151
|
-
"arm64"
|
|
152
|
-
],
|
|
153
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
154
|
-
"optional": true,
|
|
155
|
-
"os": [
|
|
156
|
-
"win32"
|
|
157
|
-
],
|
|
158
|
-
"bin": {
|
|
159
|
-
"copilot-win32-arm64": "copilot.exe"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"node_modules/@github/copilot-win32-x64": {
|
|
163
|
-
"version": "1.0.68",
|
|
164
|
-
"resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.68.tgz",
|
|
165
|
-
"integrity": "sha512-eplj/Y2B+amMLJ37oNE6G8gx85j8ucAuJz+CjzpzprNiBUq45lFL8ukGeDtaLMRvIeYAEDYdz5yUzu2XtCE7mA==",
|
|
166
|
-
"cpu": [
|
|
167
|
-
"x64"
|
|
168
|
-
],
|
|
169
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
170
|
-
"optional": true,
|
|
171
|
-
"os": [
|
|
172
|
-
"win32"
|
|
173
|
-
],
|
|
174
|
-
"bin": {
|
|
175
|
-
"copilot-win32-x64": "copilot.exe"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"node_modules/detect-libc": {
|
|
179
|
-
"version": "2.1.2",
|
|
180
|
-
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
|
|
181
|
-
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
|
|
182
|
-
"license": "Apache-2.0",
|
|
183
|
-
"engines": {
|
|
184
|
-
"node": ">=8"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"node_modules/vscode-jsonrpc": {
|
|
188
|
-
"version": "8.2.1",
|
|
189
|
-
"resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.1.tgz",
|
|
190
|
-
"integrity": "sha512-kdjOSJ2lLIn7r1rtrMbbNCHjyMPfRnowdKjBQ+mGq6NAW5QY2bEZC/khaC5OR8svbbjvLEaIXkOq45e2X9BIbQ==",
|
|
191
|
-
"license": "MIT",
|
|
192
|
-
"engines": {
|
|
193
|
-
"node": ">=14.0.0"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"node_modules/zod": {
|
|
197
|
-
"version": "4.4.3",
|
|
198
|
-
"resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
|
|
199
|
-
"integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
|
|
200
|
-
"license": "MIT",
|
|
201
|
-
"funding": {
|
|
202
|
-
"url": "https://github.com/sponsors/colinhacks"
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|