github-router 0.3.129 → 0.3.130
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/browser-ext/manifest.json +1 -1
- package/dist/{engine-DJE18mRF.js → engine-CpFJzsSG.js} +1 -1
- package/dist/main.js +3 -3
- package/dist/main.js.map +1 -1
- package/dist/{peer-mcp-personas-B1Oqydxt.js → peer-mcp-personas-YFzQuogX.js} +13 -1
- package/dist/peer-mcp-personas-YFzQuogX.js.map +1 -0
- package/package.json +1 -1
- package/dist/peer-mcp-personas-B1Oqydxt.js.map +0 -1
|
@@ -1083,6 +1083,9 @@ var ArtifactClient = class {
|
|
|
1083
1083
|
agentReply(text, signal) {
|
|
1084
1084
|
return this.request("POST", `/api/artifact/${encodeURIComponent(this.sessionId)}/agent-reply`, { text }, signal, void 0, true);
|
|
1085
1085
|
}
|
|
1086
|
+
end(signal) {
|
|
1087
|
+
return this.request("POST", `/api/artifact/${encodeURIComponent(this.sessionId)}/end`, void 0, signal, void 0, true);
|
|
1088
|
+
}
|
|
1086
1089
|
async request(method, pathname, body, signal, timeoutMsHint, allowEmptyJson = false) {
|
|
1087
1090
|
let url;
|
|
1088
1091
|
try {
|
|
@@ -1286,6 +1289,15 @@ const ARTIFACT_TOOLS = Object.freeze([
|
|
|
1286
1289
|
...await clientFromEnv(env).agentReply(text, signal),
|
|
1287
1290
|
next_step: "Wait for further human review, or continue if the review loop is complete."
|
|
1288
1291
|
});
|
|
1292
|
+
}),
|
|
1293
|
+
tool("artifact_end", "End/close the ai-or-die Artifact review panel when the review loop is complete. Only works inside an ai-or-die tab-backed Claude session.", objectSchema$1({}, []), async (_args, signal) => {
|
|
1294
|
+
const env = readArtifactEnv();
|
|
1295
|
+
if (!env) return missingEnvResult();
|
|
1296
|
+
return ok$1({
|
|
1297
|
+
ok: true,
|
|
1298
|
+
...await clientFromEnv(env).end(signal),
|
|
1299
|
+
next_step: "Artifact review loop ended."
|
|
1300
|
+
});
|
|
1289
1301
|
})
|
|
1290
1302
|
]);
|
|
1291
1303
|
function readArtifactEnv() {
|
|
@@ -22684,4 +22696,4 @@ async function runStandInToolCall(args, signal) {
|
|
|
22684
22696
|
|
|
22685
22697
|
//#endregion
|
|
22686
22698
|
export { handleMcpDelete as $, IMPLEMENT_DEFAULT_MODEL as A, setupCopilotToken as At, TOOLBELT_TOOLS$1 as B, sleep as Bt, stopGateEnabledForRepo as C, DEFAULT_PORT as Ct, liveExec as D, pickClaudeDefault as Dt, resolveSealedGate as E, generateRandomPort as Et, availableToolCommands as F, cacheVSCodeVersion as Ft, buildAdvisorStream as G, GITHUB_API_BASE_URL as Gt, searchWeb as H, fetchWithTransientRetry as Ht, buildToolbeltAwareness as I, filterBetaHeader as It, buildOpenAIErrorEvent as J, githubHeaders as Jt, injectAdvisorTool as K, copilotBaseUrl as Kt, toolbeltEnabled as L, isNullish as Lt, appendPlanReminder as M, tryRefreshAndRetry as Mt, runWorkerAgent as N, cacheCopilotVersion as Nt, BROWSE_DEFAULT_MODEL as O, getPackageVersion as Ot, withNoOutputRetry as P, cacheModels as Pt, relayAnthropicStream as Q, toolbeltSkipSet as R, resolveCodexModel as Rt, repoRoot as S, DEFAULT_CODEX_MODEL_FALLBACKS as St, trustRepo as T, UPSTREAM_INACTIVITY_TIMEOUT_MS as Tt, ADVISOR_INTERNAL_TOOL_NAME as U, HTTPError as Ut, assetFor as V, getModels as Vt, ADVISOR_TOOL_INSTRUCTIONS as W, forwardError as Wt, logStreamError as X, isControllerClosedError as Y, state as Yt, readIteratorWithTimeout as Z, fileFindingsStore as _, extractZipMember as _t, buildPeerAwarenessSnippet as a, countTokens as at, isSubagentContext as b, DEFAULT_CLAUDE_MODEL_FALLBACKS as bt, buildStopHookCommand as c, createResponses as ct, fileBlockBudget as d, readResponseBodyCapped as dt, handleMcpPost as et, injectStopHookIntoSettingsFile as f, parseJsonOrDiagnose as ft, fileBaselineStore as g, extractTarGzMember as gt, stopReviewEnabled as h, provisionAndIndexColbert as ht, buildAgentPrompt as i, workerToolsEnabled as it, PLAN_DEFAULT_MODEL as j, setupGitHubToken as jt, DEFAULT_MODEL as k, withInstallLock as kt, captureLaunchBaseline as l, createChatCompletions as lt, stopGateId as m, hasSupportedBrowserInstalled as mt, MCP_GROUPS as n, fleetToolsEnabled as nt, personasFor as o, createMessages as ot, launchBaselineKey as p, provisionBrowserAssets as pt, isAdvisorRequested as q, copilotHeaders as qt, assertMcpToolSurfaceConsistent as r, standInToolEnabled as rt, buildSessionBindHookCommand as s, getTokenCount as st, GROUP_META as t, browserToolsEnabled as tt, decideStopHook as u, MAX_RESPONSE_BODY_BYTES as ut, fileLastPromptStore as v, collapsePathKeys as vt, stopReviewStateDir as w, UPSTREAM_FETCH_TIMEOUT_MS as wt, repoFingerprint as x, DEFAULT_CODEX_MODEL as xt, fileReviewDebounce as y, toolbeltPathOverride as yt, vscodeRipgrepPath as z, resolveModel as zt };
|
|
22687
|
-
//# sourceMappingURL=peer-mcp-personas-
|
|
22699
|
+
//# sourceMappingURL=peer-mcp-personas-YFzQuogX.js.map
|