grok-bot-cli 0.6.0 → 0.8.0
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/CHANGELOG.md +19 -0
- package/dist/.claude-plugin/marketplace.json +1 -1
- package/dist/.claude-plugin/plugin.json +1 -1
- package/dist/.codex-plugin/plugin.json +1 -1
- package/dist/.cursor-plugin/plugin.json +1 -1
- package/dist/INSTALL.md +1 -1
- package/dist/agent-bundle.compile-evidence.json +1 -1
- package/dist/agent-bundle.manifest.json +1 -1
- package/dist/agent-bundle.package-compile-evidence.json +1 -1
- package/dist/bin/gbot-flight.mjs +380 -116
- package/dist/bin/gbot-install.js +9085 -9082
- package/dist/bin/gbot.mjs +476 -121
- package/dist/install.mjs +19 -9
- package/dist/mcp/mcp-grok-bot-b8c2461e-flight.mjs +425 -29
- package/dist/mcp/mcp-grok-bot-b8c2461e.mjs +435 -24
- package/dist/package.json +3 -3
- package/dist/plugin.json +1 -1
- package/dist/scripts/gbot-relay.mjs +138 -22
- package/dist/skills/talk-to-grok-bot/SKILL.md +18 -0
- package/package.json +3 -3
package/dist/bin/gbot-flight.mjs
CHANGED
|
@@ -13525,6 +13525,113 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13525
13525
|
});
|
|
13526
13526
|
|
|
13527
13527
|
|
|
13528
|
+
},
|
|
13529
|
+
"./src/cli/approvals/list.tsx"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
13530
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13531
|
+
/* import */ var react_jsx_runtime__rspack_import_0 = __webpack_require__("./node_modules/react/jsx-runtime.react-server.js");
|
|
13532
|
+
/* import */ var _agent_bundle_runtime__rspack_import_2 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/506.js");
|
|
13533
|
+
/* import */ var _core_grok_approval_routes_js__rspack_import_1 = __webpack_require__("./src/core/grok-approval-routes.ts");
|
|
13534
|
+
|
|
13535
|
+
|
|
13536
|
+
|
|
13537
|
+
|
|
13538
|
+
const config = {
|
|
13539
|
+
description: 'List current Grok approval cards (latest 200 entries).',
|
|
13540
|
+
positionals: [
|
|
13541
|
+
'target'
|
|
13542
|
+
],
|
|
13543
|
+
inputJsonSchema: {
|
|
13544
|
+
type: 'object',
|
|
13545
|
+
properties: {
|
|
13546
|
+
target: {
|
|
13547
|
+
type: 'string'
|
|
13548
|
+
}
|
|
13549
|
+
},
|
|
13550
|
+
required: [
|
|
13551
|
+
'target'
|
|
13552
|
+
],
|
|
13553
|
+
additionalProperties: false
|
|
13554
|
+
}
|
|
13555
|
+
};
|
|
13556
|
+
async function route({ input }) {
|
|
13557
|
+
const out = await (0,_core_grok_approval_routes_js__rspack_import_1/* .listOperation */.gi)(input);
|
|
13558
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Result */.g6.Result, {
|
|
13559
|
+
value: out,
|
|
13560
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Text */.g6.Text, {
|
|
13561
|
+
children: JSON.stringify(out)
|
|
13562
|
+
})
|
|
13563
|
+
});
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
13567
|
+
"default": () => (route),
|
|
13568
|
+
inputSchema: () => (/* reexport safe */ _core_grok_approval_routes_js__rspack_import_1.cE),
|
|
13569
|
+
resultSchema: () => (/* reexport safe */ _core_grok_approval_routes_js__rspack_import_1.FD)
|
|
13570
|
+
}, {
|
|
13571
|
+
config: config
|
|
13572
|
+
});
|
|
13573
|
+
|
|
13574
|
+
|
|
13575
|
+
},
|
|
13576
|
+
"./src/cli/approvals/respond.tsx"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
13577
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13578
|
+
/* import */ var react_jsx_runtime__rspack_import_0 = __webpack_require__("./node_modules/react/jsx-runtime.react-server.js");
|
|
13579
|
+
/* import */ var _agent_bundle_runtime__rspack_import_2 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/506.js");
|
|
13580
|
+
/* import */ var _core_grok_approval_routes_js__rspack_import_1 = __webpack_require__("./src/core/grok-approval-routes.ts");
|
|
13581
|
+
|
|
13582
|
+
|
|
13583
|
+
|
|
13584
|
+
|
|
13585
|
+
const config = {
|
|
13586
|
+
description: 'Explicit user decision: accept a Grok request once or decline; never grant persistent permissions.',
|
|
13587
|
+
inputJsonSchema: {
|
|
13588
|
+
type: 'object',
|
|
13589
|
+
properties: {
|
|
13590
|
+
target: {
|
|
13591
|
+
type: 'string'
|
|
13592
|
+
},
|
|
13593
|
+
entryId: {
|
|
13594
|
+
type: 'string'
|
|
13595
|
+
},
|
|
13596
|
+
requestId: {
|
|
13597
|
+
type: 'string'
|
|
13598
|
+
},
|
|
13599
|
+
decision: {
|
|
13600
|
+
type: 'string',
|
|
13601
|
+
enum: [
|
|
13602
|
+
'accept',
|
|
13603
|
+
'decline'
|
|
13604
|
+
]
|
|
13605
|
+
}
|
|
13606
|
+
},
|
|
13607
|
+
required: [
|
|
13608
|
+
'target',
|
|
13609
|
+
'entryId',
|
|
13610
|
+
'requestId',
|
|
13611
|
+
'decision'
|
|
13612
|
+
],
|
|
13613
|
+
additionalProperties: false
|
|
13614
|
+
}
|
|
13615
|
+
};
|
|
13616
|
+
async function route({ input }) {
|
|
13617
|
+
const out = await (0,_core_grok_approval_routes_js__rspack_import_1/* .respondOperation */.lr)(input);
|
|
13618
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Result */.g6.Result, {
|
|
13619
|
+
value: out,
|
|
13620
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Text */.g6.Text, {
|
|
13621
|
+
children: JSON.stringify(out)
|
|
13622
|
+
})
|
|
13623
|
+
});
|
|
13624
|
+
}
|
|
13625
|
+
|
|
13626
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
13627
|
+
"default": () => (route),
|
|
13628
|
+
inputSchema: () => (/* reexport safe */ _core_grok_approval_routes_js__rspack_import_1.v1),
|
|
13629
|
+
resultSchema: () => (/* reexport safe */ _core_grok_approval_routes_js__rspack_import_1.FD)
|
|
13630
|
+
}, {
|
|
13631
|
+
config: config
|
|
13632
|
+
});
|
|
13633
|
+
|
|
13634
|
+
|
|
13528
13635
|
},
|
|
13529
13636
|
"./src/cli/bots/create.tsx"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
13530
13637
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16384,6 +16491,37 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16384
16491
|
});
|
|
16385
16492
|
|
|
16386
16493
|
|
|
16494
|
+
},
|
|
16495
|
+
"./src/core/grok-approval-routes.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
16496
|
+
/* import */ var zod__rspack_import_3 = __webpack_require__("./node_modules/zod/v4/classic/schemas.js");
|
|
16497
|
+
/* import */ var _gateway_js__rspack_import_0 = __webpack_require__("./src/core/gateway.js");
|
|
16498
|
+
/* import */ var _grok_approvals_js__rspack_import_1 = __webpack_require__("./src/core/grok-approvals.js");
|
|
16499
|
+
/* import */ var _gbot_js__rspack_import_2 = __webpack_require__("./src/gbot.ts");
|
|
16500
|
+
|
|
16501
|
+
|
|
16502
|
+
|
|
16503
|
+
|
|
16504
|
+
const listSchema = zod__rspack_import_3/* .strictObject */.rej({
|
|
16505
|
+
target: zod__rspack_import_3/* .string */.YjP().min(1).max(1024)
|
|
16506
|
+
});
|
|
16507
|
+
const respondSchema = _grok_approvals_js__rspack_import_1/* .grokApprovalResponseSchema */.T5;
|
|
16508
|
+
const resultSchema = zod__rspack_import_3/* .record */.g1P(zod__rspack_import_3/* .string */.YjP(), zod__rspack_import_3/* .json */.Pq9());
|
|
16509
|
+
const listOperation = (input)=>(0,_gbot_js__rspack_import_2/* .withRedactedErrors */.yF)(async ()=>(0,_gateway_js__rspack_import_0/* .listGrokApprovals */.MI)(await (0,_gateway_js__rspack_import_0/* .connectGateway */.Vq)(), listSchema.parse(input).target));
|
|
16510
|
+
const respondOperation = (input)=>(0,_gbot_js__rspack_import_2/* .withRedactedErrors */.yF)(async ()=>{
|
|
16511
|
+
const { target, ...response } = respondSchema.parse(input);
|
|
16512
|
+
return (0,_gateway_js__rspack_import_0/* .respondGrokApproval */.OR)(await (0,_gateway_js__rspack_import_0/* .connectGateway */.Vq)(), target, response);
|
|
16513
|
+
});
|
|
16514
|
+
|
|
16515
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
16516
|
+
}, {
|
|
16517
|
+
FD: resultSchema,
|
|
16518
|
+
cE: listSchema,
|
|
16519
|
+
gi: listOperation,
|
|
16520
|
+
lr: respondOperation,
|
|
16521
|
+
v1: respondSchema
|
|
16522
|
+
});
|
|
16523
|
+
|
|
16524
|
+
|
|
16387
16525
|
},
|
|
16388
16526
|
"./src/core/relay/routes.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
16389
16527
|
/* import */ var _agent_bundle_runtime__rspack_import_4 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/40.js");
|
|
@@ -18490,7 +18628,7 @@ function strictObject(shape, params) {
|
|
|
18490
18628
|
type: "object",
|
|
18491
18629
|
shape,
|
|
18492
18630
|
catchall: never(),
|
|
18493
|
-
...
|
|
18631
|
+
..._core_index_js__rspack_import_4/* .normalizeParams */.A2(params),
|
|
18494
18632
|
});
|
|
18495
18633
|
}
|
|
18496
18634
|
// looseObject
|
|
@@ -19124,6 +19262,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19124
19262
|
euz: () => (literal),
|
|
19125
19263
|
g1P: () => (record),
|
|
19126
19264
|
k5n: () => (_enum),
|
|
19265
|
+
rej: () => (strictObject),
|
|
19127
19266
|
zMY: () => (boolean)
|
|
19128
19267
|
});
|
|
19129
19268
|
|
|
@@ -28407,10 +28546,10 @@ function listDesktopProcesses(timeoutMs = DESKTOP_PROCESS_LIST_TIMEOUT_MS) {
|
|
|
28407
28546
|
const lines = Array.isArray(listProcesses) ? listProcesses : String(listProcesses ?? "").split(/\r?\n/);
|
|
28408
28547
|
for (const line of lines){
|
|
28409
28548
|
if (!/app-server/.test(line)) continue;
|
|
28410
|
-
// Desktop's bundled binary
|
|
28549
|
+
// Desktop's bundled binary only (Mac/Windows separators, optional .exe).
|
|
28550
|
+
// Do NOT match probe shells whose cmdline merely mentions ChatGPT.app +
|
|
28551
|
+
// app-server + codex-app-tools — that false-positives MATCH2 / Scout noise.
|
|
28411
28552
|
if (/ChatGPT\.app[\\/].*Resources[\\/]codex(\.exe)?(["'\s]|$)/.test(line)) return "private-stdio";
|
|
28412
|
-
// Same app-server line owned by ChatGPT.app carrying the app-tools override.
|
|
28413
|
-
if (/ChatGPT\.app/.test(line) && /(codex_app|mcp_servers\.codex_app|codex-app-tools)/.test(line)) return "private-stdio";
|
|
28414
28553
|
}
|
|
28415
28554
|
return "unknown";
|
|
28416
28555
|
}
|
|
@@ -30348,10 +30487,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30348
30487
|
},
|
|
30349
30488
|
"./src/core/gateway.js"(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30350
30489
|
/* import */ var node_crypto__rspack_import_0 = __webpack_require__("node:crypto");
|
|
30351
|
-
/* import */ var
|
|
30490
|
+
/* import */ var _headers_js__rspack_import_5 = __webpack_require__("./src/core/headers.js");
|
|
30352
30491
|
/* import */ var _app_session_js__rspack_import_1 = __webpack_require__("./src/core/app-session.js");
|
|
30353
30492
|
/* import */ var _store_js__rspack_import_2 = __webpack_require__("./src/core/store.js");
|
|
30354
30493
|
/* import */ var _url_policy_js__rspack_import_3 = __webpack_require__("./src/core/url-policy.js");
|
|
30494
|
+
/* import */ var _grok_approvals_js__rspack_import_4 = __webpack_require__("./src/core/grok-approvals.js");
|
|
30495
|
+
|
|
30355
30496
|
|
|
30356
30497
|
|
|
30357
30498
|
|
|
@@ -30401,7 +30542,7 @@ function gatewayOverride() {
|
|
|
30401
30542
|
kind: "gateway"
|
|
30402
30543
|
}),
|
|
30403
30544
|
gatewayToken: token,
|
|
30404
|
-
gatewayHeaders: (0,
|
|
30545
|
+
gatewayHeaders: (0,_headers_js__rspack_import_5/* .headersFromEnv */.gx)()
|
|
30405
30546
|
};
|
|
30406
30547
|
}
|
|
30407
30548
|
return null;
|
|
@@ -30422,7 +30563,7 @@ function sessionFromApp() {
|
|
|
30422
30563
|
kind: "gateway"
|
|
30423
30564
|
}),
|
|
30424
30565
|
gatewayToken: loaded.gatewayToken,
|
|
30425
|
-
gatewayHeaders: (0,
|
|
30566
|
+
gatewayHeaders: (0,_headers_js__rspack_import_5/* .mergeGatewayHeaders */.bQ)((0,_headers_js__rspack_import_5/* .normalizeHeaderMap */.dk)(loaded.headers), (0,_headers_js__rspack_import_5/* .headersFromEnv */.gx)())
|
|
30426
30567
|
};
|
|
30427
30568
|
}
|
|
30428
30569
|
function hasGatewayAuth() {
|
|
@@ -30482,7 +30623,7 @@ async function ensureSandbox(accessToken, { signal } = {}) {
|
|
|
30482
30623
|
method: "POST",
|
|
30483
30624
|
redirect: "error",
|
|
30484
30625
|
signal: gatewayDeadline(signal),
|
|
30485
|
-
headers: (0,
|
|
30626
|
+
headers: (0,_headers_js__rspack_import_5/* .ensureSandboxHeaders */._6)(accessToken),
|
|
30486
30627
|
body: "{}"
|
|
30487
30628
|
});
|
|
30488
30629
|
body = await readJson(res);
|
|
@@ -30508,7 +30649,7 @@ async function ensureSandbox(accessToken, { signal } = {}) {
|
|
|
30508
30649
|
kind: "gateway"
|
|
30509
30650
|
}),
|
|
30510
30651
|
gatewayToken: String(gatewayToken),
|
|
30511
|
-
gatewayHeaders: (0,
|
|
30652
|
+
gatewayHeaders: (0,_headers_js__rspack_import_5/* .mergeGatewayHeaders */.bQ)((0,_headers_js__rspack_import_5/* .headersFromEnsureSandbox */.Ew)(body), (0,_headers_js__rspack_import_5/* .headersFromEnv */.gx)())
|
|
30512
30653
|
};
|
|
30513
30654
|
}
|
|
30514
30655
|
async function connectGateway({ signal } = {}) {
|
|
@@ -30538,7 +30679,7 @@ async function gatewayCall(session, method, body = {}, { signal } = {}) {
|
|
|
30538
30679
|
method: "POST",
|
|
30539
30680
|
redirect: "error",
|
|
30540
30681
|
signal: gatewayDeadline(prompt ? undefined : signal),
|
|
30541
|
-
headers: (0,
|
|
30682
|
+
headers: (0,_headers_js__rspack_import_5/* .requestHeaders */.A1)(session),
|
|
30542
30683
|
body: JSON.stringify(body)
|
|
30543
30684
|
};
|
|
30544
30685
|
assertGatewayActive(signal); // Final synchronous boundary before transmission.
|
|
@@ -30805,10 +30946,49 @@ async function getThread(session, ref, rootId) {
|
|
|
30805
30946
|
thread: data
|
|
30806
30947
|
};
|
|
30807
30948
|
}
|
|
30949
|
+
async function listGrokApprovals(session, ref) {
|
|
30950
|
+
const { target, transcript } = await getTranscriptTail(session, ref, 200);
|
|
30951
|
+
if (!Array.isArray(transcript?.entries) || transcript.entries.length > 200) throw new GatewayError("Invalid approval transcript coverage");
|
|
30952
|
+
return {
|
|
30953
|
+
target: {
|
|
30954
|
+
id: target.id,
|
|
30955
|
+
name: target.name
|
|
30956
|
+
},
|
|
30957
|
+
approvals: transcript.entries.map(_grok_approvals_js__rspack_import_4/* .grokApproval */.Ny).filter(Boolean),
|
|
30958
|
+
coverage: "Latest 200 transcript entries only; older requests require the owning Grok UI."
|
|
30959
|
+
};
|
|
30960
|
+
}
|
|
30961
|
+
async function respondGrokApproval(session, ref, input) {
|
|
30962
|
+
const { entryId, requestId, decision } = _grok_approvals_js__rspack_import_4/* .grokApprovalResponseSchema.parse */.T5.parse({
|
|
30963
|
+
...input,
|
|
30964
|
+
target: ref
|
|
30965
|
+
});
|
|
30966
|
+
const { target, approvals } = await listGrokApprovals(session, ref);
|
|
30967
|
+
const matches = approvals.filter((card)=>card.entryId === entryId && card.requestId === requestId);
|
|
30968
|
+
if (matches.length !== 1) throw new GatewayError("Stale, foreign or unsupported Grok approval; refresh pending requests or use the owning Grok UI");
|
|
30969
|
+
const approval = matches[0];
|
|
30970
|
+
if (decision === "accept" && approval.truncated) throw new GatewayError("Approval details are truncated; acceptance requires the owning Grok UI");
|
|
30971
|
+
const local = approval.type === "local-tool-permission";
|
|
30972
|
+
await gatewayCall(session, local ? "resolveLocalToolPermission" : "resolveAutoReviewApproval", {
|
|
30973
|
+
agentId: target.id,
|
|
30974
|
+
entryId,
|
|
30975
|
+
requestId,
|
|
30976
|
+
resolution: local ? decision === "accept" ? "allow-once" : "deny" : decision === "accept" ? "approved" : "denied"
|
|
30977
|
+
});
|
|
30978
|
+
return {
|
|
30979
|
+
target,
|
|
30980
|
+
entryId,
|
|
30981
|
+
requestId,
|
|
30982
|
+
decision,
|
|
30983
|
+
delivery: "accepted"
|
|
30984
|
+
};
|
|
30985
|
+
}
|
|
30808
30986
|
|
|
30809
30987
|
__webpack_require__.d(__webpack_exports__, {
|
|
30810
30988
|
A0: () => (removeGroupMember),
|
|
30811
30989
|
LV: () => (sendPrompt),
|
|
30990
|
+
MI: () => (listGrokApprovals),
|
|
30991
|
+
OR: () => (respondGrokApproval),
|
|
30812
30992
|
RB: () => (deleteAgent),
|
|
30813
30993
|
Sn: () => (createAgent),
|
|
30814
30994
|
Td: () => (setGroupMembers),
|
|
@@ -30824,6 +31004,68 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30824
31004
|
});
|
|
30825
31005
|
|
|
30826
31006
|
|
|
31007
|
+
},
|
|
31008
|
+
"./src/core/grok-approvals.js"(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
31009
|
+
/* import */ var zod__rspack_import_1 = __webpack_require__("./node_modules/zod/v4/classic/schemas.js");
|
|
31010
|
+
/* import */ var _url_policy_js__rspack_import_0 = __webpack_require__("./src/core/url-policy.js");
|
|
31011
|
+
|
|
31012
|
+
|
|
31013
|
+
const id = zod__rspack_import_1/* .string */.YjP().min(1).max(1024);
|
|
31014
|
+
const grokApprovalResponseSchema = zod__rspack_import_1/* .strictObject */.rej({
|
|
31015
|
+
target: id,
|
|
31016
|
+
entryId: id,
|
|
31017
|
+
requestId: id,
|
|
31018
|
+
decision: zod__rspack_import_1/* ["enum"] */.k5n([
|
|
31019
|
+
"accept",
|
|
31020
|
+
"decline"
|
|
31021
|
+
])
|
|
31022
|
+
});
|
|
31023
|
+
function grokApproval(entry) {
|
|
31024
|
+
if (entry?.kind !== "send-message") return null;
|
|
31025
|
+
const type = entry.message?.type;
|
|
31026
|
+
const card = type === "auto-review-approval" ? entry.message.approval : type === "local-tool-permission" ? entry.message.ask : null;
|
|
31027
|
+
if (card?.status !== "pending" || !id.safeParse(card.requestId).success || !id.safeParse(entry.id).success) return null;
|
|
31028
|
+
const details = {};
|
|
31029
|
+
let truncated = false;
|
|
31030
|
+
for (const key of [
|
|
31031
|
+
"reason",
|
|
31032
|
+
"command",
|
|
31033
|
+
"summary",
|
|
31034
|
+
"action",
|
|
31035
|
+
"description",
|
|
31036
|
+
"target",
|
|
31037
|
+
"machineId",
|
|
31038
|
+
"surface",
|
|
31039
|
+
"workingDirectory"
|
|
31040
|
+
]){
|
|
31041
|
+
if (typeof card[key] !== "string") continue;
|
|
31042
|
+
const text = (0,_url_policy_js__rspack_import_0/* .redactSecrets */.fp)(card[key]);
|
|
31043
|
+
truncated ||= text.length > 2048;
|
|
31044
|
+
details[key] = text.slice(0, 2048);
|
|
31045
|
+
}
|
|
31046
|
+
return {
|
|
31047
|
+
entryId: entry.id,
|
|
31048
|
+
requestId: card.requestId,
|
|
31049
|
+
type,
|
|
31050
|
+
...details,
|
|
31051
|
+
truncated
|
|
31052
|
+
};
|
|
31053
|
+
}
|
|
31054
|
+
function grokApprovalNotice(entry, target) {
|
|
31055
|
+
const approval = grokApproval(entry);
|
|
31056
|
+
return approval ? `Grok approval pending. Requires an explicit user decision; never approve automatically.\n${JSON.stringify({
|
|
31057
|
+
botTarget: target,
|
|
31058
|
+
...approval
|
|
31059
|
+
})}\nUse gbot_grok_respond with target=${JSON.stringify(target)}, entryId, requestId and decision accept (once) or decline.${approval.truncated ? " Details are truncated; acceptance requires the owning Grok UI." : ""} A chat reply is not authorization.` : null;
|
|
31060
|
+
}
|
|
31061
|
+
|
|
31062
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
31063
|
+
Ny: () => (grokApproval)
|
|
31064
|
+
}, {
|
|
31065
|
+
T5: grokApprovalResponseSchema
|
|
31066
|
+
});
|
|
31067
|
+
|
|
31068
|
+
|
|
30827
31069
|
},
|
|
30828
31070
|
"./src/core/headers.js"(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30829
31071
|
function normalizeHeaderMap(obj) {
|
|
@@ -31240,7 +31482,10 @@ function relayProfile(env = process.env) {
|
|
|
31240
31482
|
"GROK_BOT_ALLOW_LOCAL_GATEWAY",
|
|
31241
31483
|
"GROK_BOT_ALLOW_ANY_GATEWAY",
|
|
31242
31484
|
"GROK_BOT_TEST",
|
|
31243
|
-
"NODE_ENV"
|
|
31485
|
+
"NODE_ENV",
|
|
31486
|
+
// Secret Service credentials depend on the caller's desktop session.
|
|
31487
|
+
"DBUS_SESSION_BUS_ADDRESS",
|
|
31488
|
+
"DISPLAY"
|
|
31244
31489
|
];
|
|
31245
31490
|
return digest(JSON.stringify([
|
|
31246
31491
|
(0,node_path__rspack_import_2.resolve)((0,_codex_bridge_js__rspack_import_3/* .codexSocketPath */.ql)(env)),
|
|
@@ -31838,7 +32083,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31838
32083
|
|
|
31839
32084
|
},
|
|
31840
32085
|
"./package.json"(module) {
|
|
31841
|
-
module.exports = {"rE":"0.
|
|
32086
|
+
module.exports = {"rE":"0.8.0"}
|
|
31842
32087
|
|
|
31843
32088
|
},
|
|
31844
32089
|
|
|
@@ -31904,106 +32149,112 @@ __webpack_require__.r = (exports) => {
|
|
|
31904
32149
|
var __webpack_exports__ = {};
|
|
31905
32150
|
/* import */ var node_worker_threads__rspack_import_0 = __webpack_require__("node:worker_threads");
|
|
31906
32151
|
/* import */ var react__rspack_import_1 = __webpack_require__("./node_modules/react/react.react-server.js");
|
|
31907
|
-
/* import */ var
|
|
31908
|
-
/* import */ var
|
|
31909
|
-
/* import */ var
|
|
32152
|
+
/* import */ var _agent_bundle_runtime_flight_server__rspack_import_37 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/flight/server.js");
|
|
32153
|
+
/* import */ var _agent_bundle_runtime__rspack_import_35 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/49.js");
|
|
32154
|
+
/* import */ var _agent_bundle_runtime__rspack_import_36 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/736.js");
|
|
31910
32155
|
/* import */ var node_url__rspack_import_2 = __webpack_require__("node:url");
|
|
31911
|
-
/* import */ var
|
|
31912
|
-
/* import */ var
|
|
31913
|
-
/* import */ var
|
|
31914
|
-
/* import */ var
|
|
31915
|
-
/* import */ var
|
|
31916
|
-
/* import */ var
|
|
31917
|
-
/* import */ var
|
|
31918
|
-
/* import */ var
|
|
31919
|
-
/* import */ var
|
|
31920
|
-
/* import */ var
|
|
31921
|
-
/* import */ var
|
|
31922
|
-
/* import */ var
|
|
31923
|
-
/* import */ var
|
|
31924
|
-
/* import */ var
|
|
31925
|
-
/* import */ var
|
|
31926
|
-
/* import */ var
|
|
31927
|
-
/* import */ var
|
|
31928
|
-
/* import */ var
|
|
31929
|
-
/* import */ var
|
|
31930
|
-
/* import */ var
|
|
31931
|
-
/* import */ var
|
|
31932
|
-
/* import */ var
|
|
31933
|
-
/* import */ var
|
|
31934
|
-
/* import */ var
|
|
31935
|
-
/* import */ var
|
|
31936
|
-
/* import */ var
|
|
31937
|
-
/* import */ var
|
|
31938
|
-
/* import */ var
|
|
31939
|
-
/* import */ var
|
|
31940
|
-
/* import */ var
|
|
32156
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_approvals_list_tsx__rspack_import_3 = __webpack_require__("./src/cli/approvals/list.tsx");
|
|
32157
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_approvals_respond_tsx__rspack_import_4 = __webpack_require__("./src/cli/approvals/respond.tsx");
|
|
32158
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_create_tsx__rspack_import_5 = __webpack_require__("./src/cli/bots/create.tsx");
|
|
32159
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_delete_tsx__rspack_import_6 = __webpack_require__("./src/cli/bots/delete.tsx");
|
|
32160
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_get_tsx__rspack_import_7 = __webpack_require__("./src/cli/bots/get.tsx");
|
|
32161
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_list_tsx__rspack_import_8 = __webpack_require__("./src/cli/bots/list.tsx");
|
|
32162
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_update_tsx__rspack_import_9 = __webpack_require__("./src/cli/bots/update.tsx");
|
|
32163
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_respond_tsx__rspack_import_10 = __webpack_require__("./src/cli/codex/bridge/respond.tsx");
|
|
32164
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_run_tsx__rspack_import_11 = __webpack_require__("./src/cli/codex/bridge/run.tsx");
|
|
32165
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_start_tsx__rspack_import_12 = __webpack_require__("./src/cli/codex/bridge/start.tsx");
|
|
32166
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_status_tsx__rspack_import_13 = __webpack_require__("./src/cli/codex/bridge/status.tsx");
|
|
32167
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_stop_tsx__rspack_import_14 = __webpack_require__("./src/cli/codex/bridge/stop.tsx");
|
|
32168
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_desktop_shim_tsx__rspack_import_15 = __webpack_require__("./src/cli/codex/desktop-shim.tsx");
|
|
32169
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_list_threads_tsx__rspack_import_16 = __webpack_require__("./src/cli/codex/list-threads.tsx");
|
|
32170
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_queue_tsx__rspack_import_17 = __webpack_require__("./src/cli/codex/queue.tsx");
|
|
32171
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_send_tsx__rspack_import_18 = __webpack_require__("./src/cli/codex/send.tsx");
|
|
32172
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_status_tsx__rspack_import_19 = __webpack_require__("./src/cli/codex/status.tsx");
|
|
32173
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_wait_tsx__rspack_import_20 = __webpack_require__("./src/cli/codex/wait.tsx");
|
|
32174
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_watch_tsx__rspack_import_21 = __webpack_require__("./src/cli/codex/watch.tsx");
|
|
32175
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_doctor_tsx__rspack_import_22 = __webpack_require__("./src/cli/doctor.tsx");
|
|
32176
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_add_tsx__rspack_import_23 = __webpack_require__("./src/cli/groups/add.tsx");
|
|
32177
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_create_tsx__rspack_import_24 = __webpack_require__("./src/cli/groups/create.tsx");
|
|
32178
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_delete_tsx__rspack_import_25 = __webpack_require__("./src/cli/groups/delete.tsx");
|
|
32179
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_get_tsx__rspack_import_26 = __webpack_require__("./src/cli/groups/get.tsx");
|
|
32180
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_list_tsx__rspack_import_27 = __webpack_require__("./src/cli/groups/list.tsx");
|
|
32181
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_members_tsx__rspack_import_28 = __webpack_require__("./src/cli/groups/members.tsx");
|
|
32182
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_remove_tsx__rspack_import_29 = __webpack_require__("./src/cli/groups/remove.tsx");
|
|
32183
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_set_tsx__rspack_import_30 = __webpack_require__("./src/cli/groups/set.tsx");
|
|
32184
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_update_tsx__rspack_import_31 = __webpack_require__("./src/cli/groups/update.tsx");
|
|
32185
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_history_tsx__rspack_import_32 = __webpack_require__("./src/cli/history.tsx");
|
|
32186
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_send_tsx__rspack_import_33 = __webpack_require__("./src/cli/send.tsx");
|
|
32187
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_thread_tsx__rspack_import_34 = __webpack_require__("./src/cli/thread.tsx");
|
|
32188
|
+
|
|
32189
|
+
|
|
31941
32190
|
|
|
31942
32191
|
|
|
31943
32192
|
|
|
31944
32193
|
|
|
32194
|
+
const route0 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_approvals_list_tsx__rspack_import_3, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_approvals_list_tsx__rspack_import_3);
|
|
31945
32195
|
|
|
32196
|
+
const route1 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_approvals_respond_tsx__rspack_import_4, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_approvals_respond_tsx__rspack_import_4);
|
|
31946
32197
|
|
|
31947
|
-
const
|
|
32198
|
+
const route2 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_create_tsx__rspack_import_5, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_create_tsx__rspack_import_5);
|
|
31948
32199
|
|
|
31949
|
-
const
|
|
32200
|
+
const route3 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_delete_tsx__rspack_import_6, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_delete_tsx__rspack_import_6);
|
|
31950
32201
|
|
|
31951
|
-
const
|
|
32202
|
+
const route4 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_get_tsx__rspack_import_7, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_get_tsx__rspack_import_7);
|
|
31952
32203
|
|
|
31953
|
-
const
|
|
32204
|
+
const route5 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_list_tsx__rspack_import_8, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_list_tsx__rspack_import_8);
|
|
31954
32205
|
|
|
31955
|
-
const
|
|
32206
|
+
const route6 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_update_tsx__rspack_import_9, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_bots_update_tsx__rspack_import_9);
|
|
31956
32207
|
|
|
31957
|
-
const
|
|
32208
|
+
const route7 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_respond_tsx__rspack_import_10, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_respond_tsx__rspack_import_10);
|
|
31958
32209
|
|
|
31959
|
-
const
|
|
32210
|
+
const route8 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_run_tsx__rspack_import_11, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_run_tsx__rspack_import_11);
|
|
31960
32211
|
|
|
31961
|
-
const
|
|
32212
|
+
const route9 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_start_tsx__rspack_import_12, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_start_tsx__rspack_import_12);
|
|
31962
32213
|
|
|
31963
|
-
const
|
|
32214
|
+
const route10 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_status_tsx__rspack_import_13, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_status_tsx__rspack_import_13);
|
|
31964
32215
|
|
|
31965
|
-
const
|
|
32216
|
+
const route11 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_stop_tsx__rspack_import_14, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_bridge_stop_tsx__rspack_import_14);
|
|
31966
32217
|
|
|
31967
|
-
const
|
|
32218
|
+
const route12 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_desktop_shim_tsx__rspack_import_15, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_desktop_shim_tsx__rspack_import_15);
|
|
31968
32219
|
|
|
31969
|
-
const
|
|
32220
|
+
const route13 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_list_threads_tsx__rspack_import_16, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_list_threads_tsx__rspack_import_16);
|
|
31970
32221
|
|
|
31971
|
-
const
|
|
32222
|
+
const route14 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_queue_tsx__rspack_import_17, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_queue_tsx__rspack_import_17);
|
|
31972
32223
|
|
|
31973
|
-
const
|
|
32224
|
+
const route15 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_send_tsx__rspack_import_18, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_send_tsx__rspack_import_18);
|
|
31974
32225
|
|
|
31975
|
-
const
|
|
32226
|
+
const route16 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_status_tsx__rspack_import_19, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_status_tsx__rspack_import_19);
|
|
31976
32227
|
|
|
31977
|
-
const
|
|
32228
|
+
const route17 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_wait_tsx__rspack_import_20, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_wait_tsx__rspack_import_20);
|
|
31978
32229
|
|
|
31979
|
-
const
|
|
32230
|
+
const route18 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_watch_tsx__rspack_import_21, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_codex_watch_tsx__rspack_import_21);
|
|
31980
32231
|
|
|
31981
|
-
const
|
|
32232
|
+
const route19 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_doctor_tsx__rspack_import_22, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_doctor_tsx__rspack_import_22);
|
|
31982
32233
|
|
|
31983
|
-
const
|
|
32234
|
+
const route20 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_add_tsx__rspack_import_23, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_add_tsx__rspack_import_23);
|
|
31984
32235
|
|
|
31985
|
-
const
|
|
32236
|
+
const route21 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_create_tsx__rspack_import_24, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_create_tsx__rspack_import_24);
|
|
31986
32237
|
|
|
31987
|
-
const
|
|
32238
|
+
const route22 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_delete_tsx__rspack_import_25, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_delete_tsx__rspack_import_25);
|
|
31988
32239
|
|
|
31989
|
-
const
|
|
32240
|
+
const route23 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_get_tsx__rspack_import_26, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_get_tsx__rspack_import_26);
|
|
31990
32241
|
|
|
31991
|
-
const
|
|
32242
|
+
const route24 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_list_tsx__rspack_import_27, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_list_tsx__rspack_import_27);
|
|
31992
32243
|
|
|
31993
|
-
const
|
|
32244
|
+
const route25 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_members_tsx__rspack_import_28, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_members_tsx__rspack_import_28);
|
|
31994
32245
|
|
|
31995
|
-
const
|
|
32246
|
+
const route26 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_remove_tsx__rspack_import_29, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_remove_tsx__rspack_import_29);
|
|
31996
32247
|
|
|
31997
|
-
const
|
|
32248
|
+
const route27 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_set_tsx__rspack_import_30, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_set_tsx__rspack_import_30);
|
|
31998
32249
|
|
|
31999
|
-
const
|
|
32250
|
+
const route28 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_update_tsx__rspack_import_31, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_groups_update_tsx__rspack_import_31);
|
|
32000
32251
|
|
|
32001
|
-
const
|
|
32252
|
+
const route29 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_history_tsx__rspack_import_32, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_history_tsx__rspack_import_32);
|
|
32002
32253
|
|
|
32003
|
-
const
|
|
32254
|
+
const route30 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_send_tsx__rspack_import_33, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_send_tsx__rspack_import_33);
|
|
32004
32255
|
|
|
32005
|
-
const
|
|
32006
|
-
const pluginRoot = (0,
|
|
32256
|
+
const route31 = Object.assign({}, Reflect.get(_home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_thread_tsx__rspack_import_34, 'default'), _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_thread_tsx__rspack_import_34);
|
|
32257
|
+
const pluginRoot = (0,_agent_bundle_runtime__rspack_import_35/* .resolvePluginRoot */.E7)({
|
|
32007
32258
|
fallback: (0,node_url__rspack_import_2.fileURLToPath)(new URL('..', import.meta.url)),
|
|
32008
32259
|
stateAnchor: 'user-data'
|
|
32009
32260
|
});
|
|
@@ -32021,185 +32272,197 @@ const processLifetime = {
|
|
|
32021
32272
|
};
|
|
32022
32273
|
const composeLayouts = (route, props)=>/*#__PURE__*/ (0,react__rspack_import_1.createElement)(route.module.default, props);
|
|
32023
32274
|
const routes = Object.freeze({
|
|
32275
|
+
"cli:approvals/list": Object.freeze({
|
|
32276
|
+
id: "cli:approvals/list",
|
|
32277
|
+
kind: "cli",
|
|
32278
|
+
name: "approvals list",
|
|
32279
|
+
module: route0
|
|
32280
|
+
}),
|
|
32281
|
+
"cli:approvals/respond": Object.freeze({
|
|
32282
|
+
id: "cli:approvals/respond",
|
|
32283
|
+
kind: "cli",
|
|
32284
|
+
name: "approvals respond",
|
|
32285
|
+
module: route1
|
|
32286
|
+
}),
|
|
32024
32287
|
"cli:bots/create": Object.freeze({
|
|
32025
32288
|
id: "cli:bots/create",
|
|
32026
32289
|
kind: "cli",
|
|
32027
32290
|
name: "bots create",
|
|
32028
|
-
module:
|
|
32291
|
+
module: route2
|
|
32029
32292
|
}),
|
|
32030
32293
|
"cli:bots/delete": Object.freeze({
|
|
32031
32294
|
id: "cli:bots/delete",
|
|
32032
32295
|
kind: "cli",
|
|
32033
32296
|
name: "bots delete",
|
|
32034
|
-
module:
|
|
32297
|
+
module: route3
|
|
32035
32298
|
}),
|
|
32036
32299
|
"cli:bots/get": Object.freeze({
|
|
32037
32300
|
id: "cli:bots/get",
|
|
32038
32301
|
kind: "cli",
|
|
32039
32302
|
name: "bots get",
|
|
32040
|
-
module:
|
|
32303
|
+
module: route4
|
|
32041
32304
|
}),
|
|
32042
32305
|
"cli:bots/list": Object.freeze({
|
|
32043
32306
|
id: "cli:bots/list",
|
|
32044
32307
|
kind: "cli",
|
|
32045
32308
|
name: "bots list",
|
|
32046
|
-
module:
|
|
32309
|
+
module: route5
|
|
32047
32310
|
}),
|
|
32048
32311
|
"cli:bots/update": Object.freeze({
|
|
32049
32312
|
id: "cli:bots/update",
|
|
32050
32313
|
kind: "cli",
|
|
32051
32314
|
name: "bots update",
|
|
32052
|
-
module:
|
|
32315
|
+
module: route6
|
|
32053
32316
|
}),
|
|
32054
32317
|
"cli:codex/bridge/respond": Object.freeze({
|
|
32055
32318
|
id: "cli:codex/bridge/respond",
|
|
32056
32319
|
kind: "cli",
|
|
32057
32320
|
name: "codex bridge respond",
|
|
32058
|
-
module:
|
|
32321
|
+
module: route7
|
|
32059
32322
|
}),
|
|
32060
32323
|
"cli:codex/bridge/run": Object.freeze({
|
|
32061
32324
|
id: "cli:codex/bridge/run",
|
|
32062
32325
|
kind: "cli",
|
|
32063
32326
|
name: "codex bridge run",
|
|
32064
|
-
module:
|
|
32327
|
+
module: route8
|
|
32065
32328
|
}),
|
|
32066
32329
|
"cli:codex/bridge/start": Object.freeze({
|
|
32067
32330
|
id: "cli:codex/bridge/start",
|
|
32068
32331
|
kind: "cli",
|
|
32069
32332
|
name: "codex bridge start",
|
|
32070
|
-
module:
|
|
32333
|
+
module: route9
|
|
32071
32334
|
}),
|
|
32072
32335
|
"cli:codex/bridge/status": Object.freeze({
|
|
32073
32336
|
id: "cli:codex/bridge/status",
|
|
32074
32337
|
kind: "cli",
|
|
32075
32338
|
name: "codex bridge status",
|
|
32076
|
-
module:
|
|
32339
|
+
module: route10
|
|
32077
32340
|
}),
|
|
32078
32341
|
"cli:codex/bridge/stop": Object.freeze({
|
|
32079
32342
|
id: "cli:codex/bridge/stop",
|
|
32080
32343
|
kind: "cli",
|
|
32081
32344
|
name: "codex bridge stop",
|
|
32082
|
-
module:
|
|
32345
|
+
module: route11
|
|
32083
32346
|
}),
|
|
32084
32347
|
"cli:codex/desktop-shim": Object.freeze({
|
|
32085
32348
|
id: "cli:codex/desktop-shim",
|
|
32086
32349
|
kind: "cli",
|
|
32087
32350
|
name: "codex desktop-shim",
|
|
32088
|
-
module:
|
|
32351
|
+
module: route12
|
|
32089
32352
|
}),
|
|
32090
32353
|
"cli:codex/list-threads": Object.freeze({
|
|
32091
32354
|
id: "cli:codex/list-threads",
|
|
32092
32355
|
kind: "cli",
|
|
32093
32356
|
name: "codex list-threads",
|
|
32094
|
-
module:
|
|
32357
|
+
module: route13
|
|
32095
32358
|
}),
|
|
32096
32359
|
"cli:codex/queue": Object.freeze({
|
|
32097
32360
|
id: "cli:codex/queue",
|
|
32098
32361
|
kind: "cli",
|
|
32099
32362
|
name: "codex queue",
|
|
32100
|
-
module:
|
|
32363
|
+
module: route14
|
|
32101
32364
|
}),
|
|
32102
32365
|
"cli:codex/send": Object.freeze({
|
|
32103
32366
|
id: "cli:codex/send",
|
|
32104
32367
|
kind: "cli",
|
|
32105
32368
|
name: "codex send",
|
|
32106
|
-
module:
|
|
32369
|
+
module: route15
|
|
32107
32370
|
}),
|
|
32108
32371
|
"cli:codex/status": Object.freeze({
|
|
32109
32372
|
id: "cli:codex/status",
|
|
32110
32373
|
kind: "cli",
|
|
32111
32374
|
name: "codex status",
|
|
32112
|
-
module:
|
|
32375
|
+
module: route16
|
|
32113
32376
|
}),
|
|
32114
32377
|
"cli:codex/wait": Object.freeze({
|
|
32115
32378
|
id: "cli:codex/wait",
|
|
32116
32379
|
kind: "cli",
|
|
32117
32380
|
name: "codex wait",
|
|
32118
|
-
module:
|
|
32381
|
+
module: route17
|
|
32119
32382
|
}),
|
|
32120
32383
|
"cli:codex/watch": Object.freeze({
|
|
32121
32384
|
id: "cli:codex/watch",
|
|
32122
32385
|
kind: "cli",
|
|
32123
32386
|
name: "codex watch",
|
|
32124
|
-
module:
|
|
32387
|
+
module: route18
|
|
32125
32388
|
}),
|
|
32126
32389
|
"cli:doctor": Object.freeze({
|
|
32127
32390
|
id: "cli:doctor",
|
|
32128
32391
|
kind: "cli",
|
|
32129
32392
|
name: "doctor",
|
|
32130
|
-
module:
|
|
32393
|
+
module: route19
|
|
32131
32394
|
}),
|
|
32132
32395
|
"cli:groups/add": Object.freeze({
|
|
32133
32396
|
id: "cli:groups/add",
|
|
32134
32397
|
kind: "cli",
|
|
32135
32398
|
name: "groups add",
|
|
32136
|
-
module:
|
|
32399
|
+
module: route20
|
|
32137
32400
|
}),
|
|
32138
32401
|
"cli:groups/create": Object.freeze({
|
|
32139
32402
|
id: "cli:groups/create",
|
|
32140
32403
|
kind: "cli",
|
|
32141
32404
|
name: "groups create",
|
|
32142
|
-
module:
|
|
32405
|
+
module: route21
|
|
32143
32406
|
}),
|
|
32144
32407
|
"cli:groups/delete": Object.freeze({
|
|
32145
32408
|
id: "cli:groups/delete",
|
|
32146
32409
|
kind: "cli",
|
|
32147
32410
|
name: "groups delete",
|
|
32148
|
-
module:
|
|
32411
|
+
module: route22
|
|
32149
32412
|
}),
|
|
32150
32413
|
"cli:groups/get": Object.freeze({
|
|
32151
32414
|
id: "cli:groups/get",
|
|
32152
32415
|
kind: "cli",
|
|
32153
32416
|
name: "groups get",
|
|
32154
|
-
module:
|
|
32417
|
+
module: route23
|
|
32155
32418
|
}),
|
|
32156
32419
|
"cli:groups/list": Object.freeze({
|
|
32157
32420
|
id: "cli:groups/list",
|
|
32158
32421
|
kind: "cli",
|
|
32159
32422
|
name: "groups list",
|
|
32160
|
-
module:
|
|
32423
|
+
module: route24
|
|
32161
32424
|
}),
|
|
32162
32425
|
"cli:groups/members": Object.freeze({
|
|
32163
32426
|
id: "cli:groups/members",
|
|
32164
32427
|
kind: "cli",
|
|
32165
32428
|
name: "groups members",
|
|
32166
|
-
module:
|
|
32429
|
+
module: route25
|
|
32167
32430
|
}),
|
|
32168
32431
|
"cli:groups/remove": Object.freeze({
|
|
32169
32432
|
id: "cli:groups/remove",
|
|
32170
32433
|
kind: "cli",
|
|
32171
32434
|
name: "groups remove",
|
|
32172
|
-
module:
|
|
32435
|
+
module: route26
|
|
32173
32436
|
}),
|
|
32174
32437
|
"cli:groups/set": Object.freeze({
|
|
32175
32438
|
id: "cli:groups/set",
|
|
32176
32439
|
kind: "cli",
|
|
32177
32440
|
name: "groups set",
|
|
32178
|
-
module:
|
|
32441
|
+
module: route27
|
|
32179
32442
|
}),
|
|
32180
32443
|
"cli:groups/update": Object.freeze({
|
|
32181
32444
|
id: "cli:groups/update",
|
|
32182
32445
|
kind: "cli",
|
|
32183
32446
|
name: "groups update",
|
|
32184
|
-
module:
|
|
32447
|
+
module: route28
|
|
32185
32448
|
}),
|
|
32186
32449
|
"cli:history": Object.freeze({
|
|
32187
32450
|
id: "cli:history",
|
|
32188
32451
|
kind: "cli",
|
|
32189
32452
|
name: "history",
|
|
32190
|
-
module:
|
|
32453
|
+
module: route29
|
|
32191
32454
|
}),
|
|
32192
32455
|
"cli:send": Object.freeze({
|
|
32193
32456
|
id: "cli:send",
|
|
32194
32457
|
kind: "cli",
|
|
32195
32458
|
name: "send",
|
|
32196
|
-
module:
|
|
32459
|
+
module: route30
|
|
32197
32460
|
}),
|
|
32198
32461
|
"cli:thread": Object.freeze({
|
|
32199
32462
|
id: "cli:thread",
|
|
32200
32463
|
kind: "cli",
|
|
32201
32464
|
name: "thread",
|
|
32202
|
-
module:
|
|
32465
|
+
module: route31
|
|
32203
32466
|
})
|
|
32204
32467
|
});
|
|
32205
32468
|
const requests = new Map();
|
|
@@ -32234,18 +32497,18 @@ const render = async (message)=>{
|
|
|
32234
32497
|
};
|
|
32235
32498
|
try {
|
|
32236
32499
|
const cwd = process.cwd();
|
|
32237
|
-
await (0,
|
|
32500
|
+
await (0,_agent_bundle_runtime__rspack_import_36/* .runAgentRequest */.iC)({
|
|
32238
32501
|
capabilities: {
|
|
32239
|
-
command: (0,
|
|
32240
|
-
filesystem: (0,
|
|
32241
|
-
network: (0,
|
|
32242
|
-
projectRoot: (0,
|
|
32502
|
+
command: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)(),
|
|
32503
|
+
filesystem: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)(),
|
|
32504
|
+
network: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)(),
|
|
32505
|
+
projectRoot: (0,_agent_bundle_runtime__rspack_import_36/* .available */.qC)({
|
|
32243
32506
|
root: cwd
|
|
32244
32507
|
}, 'derived')
|
|
32245
32508
|
},
|
|
32246
|
-
host: (0,
|
|
32509
|
+
host: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)('unsupported-surface'),
|
|
32247
32510
|
invocation: message.request,
|
|
32248
|
-
lineage: (0,
|
|
32511
|
+
lineage: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)('unsupported-surface'),
|
|
32249
32512
|
plugin: pluginRoot.identity,
|
|
32250
32513
|
progress: {
|
|
32251
32514
|
report: async (update)=>{
|
|
@@ -32258,8 +32521,8 @@ const render = async (message)=>{
|
|
|
32258
32521
|
},
|
|
32259
32522
|
process: processHit,
|
|
32260
32523
|
signal: controller.signal,
|
|
32261
|
-
terminal: message.terminal === undefined ? (0,
|
|
32262
|
-
workspace: (0,
|
|
32524
|
+
terminal: message.terminal === undefined ? (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)('not-provided') : (0,_agent_bundle_runtime__rspack_import_36/* .available */.qC)(message.terminal, 'native'),
|
|
32525
|
+
workspace: (0,_agent_bundle_runtime__rspack_import_36/* .available */.qC)({
|
|
32263
32526
|
root: cwd
|
|
32264
32527
|
}, 'derived')
|
|
32265
32528
|
}, async ()=>{
|
|
@@ -32268,10 +32531,11 @@ const render = async (message)=>{
|
|
|
32268
32531
|
type: 'observed-render-start'
|
|
32269
32532
|
});
|
|
32270
32533
|
const renderStartedAt = performance.now();
|
|
32271
|
-
const flight = (0,
|
|
32534
|
+
const flight = (0,_agent_bundle_runtime_flight_server__rspack_import_37/* .renderAgentFlight */.y)(composeLayouts(observedRoute, {
|
|
32272
32535
|
...message.props,
|
|
32273
32536
|
signal: controller.signal
|
|
32274
32537
|
}, controller.signal), {
|
|
32538
|
+
onError: ()=>undefined,
|
|
32275
32539
|
signal: controller.signal
|
|
32276
32540
|
});
|
|
32277
32541
|
const reader = flight.getReader();
|