grok-bot-cli 0.6.0 → 0.7.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 +13 -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 +6 -6
- 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 +463 -238
- package/dist/bin/gbot-install.js +9087 -9084
- package/dist/bin/gbot.mjs +679 -540
- package/dist/install.mjs +6 -3
- package/dist/mcp/mcp-grok-bot-b8c2461e-flight.mjs +380 -93
- package/dist/mcp/mcp-grok-bot-b8c2461e.mjs +497 -377
- package/dist/package.json +3 -3
- package/dist/plugin.json +1 -1
- package/dist/scripts/gbot-relay.mjs +149 -2071
- package/dist/skills/talk-to-grok-bot/SKILL.md +10 -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 */.g.Result, {
|
|
13559
|
+
value: out,
|
|
13560
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Text */.g.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 */.g.Result, {
|
|
13619
|
+
value: out,
|
|
13620
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Text */.g.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__);
|
|
@@ -13582,9 +13689,9 @@ async function botsCreate({ input }) {
|
|
|
13582
13689
|
const { dir: _d, files: _f, gateway: _g, ...fields } = input;
|
|
13583
13690
|
const rec = await backend.createAgent((0,_shared_js__rspack_import_1/* .toCreateInput */.cp)(fields));
|
|
13584
13691
|
if (rec == null) throw new Error('createAgent returned no record');
|
|
13585
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Result */.
|
|
13692
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Result */.g.Result, {
|
|
13586
13693
|
value: (0,_core_format_js__rspack_import_3/* .summarize */.eh)(rec),
|
|
13587
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Text */.
|
|
13694
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_2/* .Agent.Text */.g.Text, {
|
|
13588
13695
|
children: `Created bot ${rec.name} (${rec.id})`
|
|
13589
13696
|
})
|
|
13590
13697
|
});
|
|
@@ -13650,9 +13757,9 @@ const resultSchema = _shared_js__rspack_import_1/* .agentSummarySchema */.t_;
|
|
|
13650
13757
|
async function botsDelete({ input }) {
|
|
13651
13758
|
const backend = await (0,_shared_js__rspack_import_1/* .openBackendFromInput */.FS)(input);
|
|
13652
13759
|
const rec = await backend.deleteAgent(input.ref);
|
|
13653
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
13760
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
13654
13761
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
13655
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
13762
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
13656
13763
|
children: `Deleted ${rec.isGroup ? 'group' : 'bot'} ${rec.name} (${rec.id})`
|
|
13657
13764
|
})
|
|
13658
13765
|
});
|
|
@@ -13719,9 +13826,9 @@ async function botsGet({ input }) {
|
|
|
13719
13826
|
const backend = await (0,_shared_js__rspack_import_1/* .openBackendFromInput */.FS)(input);
|
|
13720
13827
|
const rec = await backend.resolve(input.ref);
|
|
13721
13828
|
const all = await backend.list();
|
|
13722
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
13829
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
13723
13830
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
13724
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
13831
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
13725
13832
|
children: (0,_core_format_js__rspack_import_4/* .formatRecord */.bM)(rec, all)
|
|
13726
13833
|
})
|
|
13727
13834
|
});
|
|
@@ -13778,9 +13885,9 @@ async function botsList({ input }) {
|
|
|
13778
13885
|
const rows = all.filter((r)=>!r.isGroup);
|
|
13779
13886
|
const bots = rows.map(_core_format_js__rspack_import_3/* .summarize */.eh);
|
|
13780
13887
|
const text = rows.length === 0 ? 'No bots.' : rows.map((r)=>(0,_core_format_js__rspack_import_3/* .formatRecord */.bM)(r, all)).join('\n\n');
|
|
13781
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
13888
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
13782
13889
|
value: bots,
|
|
13783
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
13890
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
13784
13891
|
children: text
|
|
13785
13892
|
})
|
|
13786
13893
|
});
|
|
@@ -13868,9 +13975,9 @@ async function botsUpdate({ input }) {
|
|
|
13868
13975
|
const backend = await (0,_shared_js__rspack_import_1/* .openBackendFromInput */.FS)(input);
|
|
13869
13976
|
const { dir: _d, files: _f, gateway: _g, ref, ...fields } = input;
|
|
13870
13977
|
const rec = await backend.updateAgent(ref, (0,_shared_js__rspack_import_1/* .toUpdatePatch */.li)(fields));
|
|
13871
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
13978
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
13872
13979
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
13873
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
13980
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
13874
13981
|
children: `Updated ${rec.isGroup ? 'group' : 'bot'} ${rec.name} (${rec.id})`
|
|
13875
13982
|
})
|
|
13876
13983
|
});
|
|
@@ -13954,9 +14061,9 @@ async function route({ input }) {
|
|
|
13954
14061
|
} catch (error) {
|
|
13955
14062
|
out = (0,_core_codex_contract_js__rspack_import_2/* .outcomeFromError */.DG)(error);
|
|
13956
14063
|
}
|
|
13957
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
14064
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
13958
14065
|
value: out,
|
|
13959
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
14066
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
13960
14067
|
children: JSON.stringify(out)
|
|
13961
14068
|
})
|
|
13962
14069
|
});
|
|
@@ -14045,12 +14152,12 @@ async function route({ signal, input }) {
|
|
|
14045
14152
|
} finally{
|
|
14046
14153
|
signal.removeEventListener('abort', stop);
|
|
14047
14154
|
}
|
|
14048
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.
|
|
14155
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.g.Result, {
|
|
14049
14156
|
value: {
|
|
14050
14157
|
state: 'stopped',
|
|
14051
14158
|
exitCode
|
|
14052
14159
|
},
|
|
14053
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.
|
|
14160
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.g.Text, {
|
|
14054
14161
|
children: "Relay worker stopped."
|
|
14055
14162
|
})
|
|
14056
14163
|
});
|
|
@@ -14123,9 +14230,9 @@ async function route({ input }) {
|
|
|
14123
14230
|
} catch (error) {
|
|
14124
14231
|
out = (0,_core_codex_contract_js__rspack_import_2/* .outcomeFromError */.DG)(error);
|
|
14125
14232
|
}
|
|
14126
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
14233
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
14127
14234
|
value: out,
|
|
14128
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
14235
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
14129
14236
|
children: JSON.stringify(out)
|
|
14130
14237
|
})
|
|
14131
14238
|
});
|
|
@@ -14179,9 +14286,9 @@ async function route({ input }) {
|
|
|
14179
14286
|
} catch (error) {
|
|
14180
14287
|
out = (0,_core_codex_contract_js__rspack_import_2/* .outcomeFromError */.DG)(error);
|
|
14181
14288
|
}
|
|
14182
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
14289
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
14183
14290
|
value: out,
|
|
14184
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
14291
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
14185
14292
|
children: JSON.stringify(out)
|
|
14186
14293
|
})
|
|
14187
14294
|
});
|
|
@@ -14238,9 +14345,9 @@ async function route({ input }) {
|
|
|
14238
14345
|
} catch (error) {
|
|
14239
14346
|
out = (0,_core_codex_contract_js__rspack_import_2/* .outcomeFromError */.DG)(error);
|
|
14240
14347
|
}
|
|
14241
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
14348
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
14242
14349
|
value: out,
|
|
14243
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
14350
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
14244
14351
|
children: JSON.stringify(out)
|
|
14245
14352
|
})
|
|
14246
14353
|
});
|
|
@@ -14316,21 +14423,21 @@ async function codexDesktopShim({ input }) {
|
|
|
14316
14423
|
out = (0,_core_desktop_shim_js__rspack_import_1/* .installDesktopShim */.B0)();
|
|
14317
14424
|
} catch (error) {
|
|
14318
14425
|
const message = error instanceof Error ? error.message : String(error);
|
|
14319
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14426
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14320
14427
|
value: {
|
|
14321
14428
|
action: 'install',
|
|
14322
14429
|
error: message,
|
|
14323
14430
|
exitCode: 1
|
|
14324
14431
|
},
|
|
14325
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14432
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14326
14433
|
children: `Desktop shim install failed: ${message}`
|
|
14327
14434
|
})
|
|
14328
14435
|
});
|
|
14329
14436
|
}
|
|
14330
14437
|
const text = `Installed ChatGPT Desktop shim:\n` + ` wrapper: ${out.wrapperPath}\n` + ` bridge: ${out.bridgePath}\n` + ` login env: ${out.envScriptPath}` + (out.plistPath ? `\n LaunchAgent: ${out.plistPath}` : '\n LaunchAgent: n/a (macOS-only)') + `\nFully quit and relaunch ChatGPT.app so it inherits CODEX_CLI_PATH; ` + `Desktop falls back to stock Codex if the shim is ever removed.` + formatWarnings(out.warnings);
|
|
14331
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14438
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14332
14439
|
value: out,
|
|
14333
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14440
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14334
14441
|
children: text
|
|
14335
14442
|
})
|
|
14336
14443
|
});
|
|
@@ -14342,22 +14449,22 @@ async function codexDesktopShim({ input }) {
|
|
|
14342
14449
|
out = (0,_core_desktop_shim_js__rspack_import_1/* .uninstallDesktopShim */.gM)();
|
|
14343
14450
|
} catch (error) {
|
|
14344
14451
|
const message = error instanceof Error ? error.message : String(error);
|
|
14345
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14452
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14346
14453
|
value: {
|
|
14347
14454
|
action: 'uninstall',
|
|
14348
14455
|
error: message,
|
|
14349
14456
|
exitCode: 1
|
|
14350
14457
|
},
|
|
14351
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14458
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14352
14459
|
children: `Desktop shim uninstall failed: ${message}`
|
|
14353
14460
|
})
|
|
14354
14461
|
});
|
|
14355
14462
|
}
|
|
14356
14463
|
const removed = out.removed.length === 0 ? '(nothing installed)' : out.removed.join(', ');
|
|
14357
14464
|
const text = `Removed ChatGPT Desktop shim: ${removed}. ` + `Desktop and Codex fall back to stock behavior; relaunch ChatGPT.app to pick it up.` + formatWarnings(out.warnings);
|
|
14358
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14465
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14359
14466
|
value: out,
|
|
14360
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14467
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14361
14468
|
children: text
|
|
14362
14469
|
})
|
|
14363
14470
|
});
|
|
@@ -14365,9 +14472,9 @@ async function codexDesktopShim({ input }) {
|
|
|
14365
14472
|
case 'status':
|
|
14366
14473
|
{
|
|
14367
14474
|
const out = (0,_core_desktop_shim_js__rspack_import_1/* .desktopShimStatus */.em)();
|
|
14368
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14475
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14369
14476
|
value: out,
|
|
14370
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14477
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14371
14478
|
children: (0,_core_format_js__rspack_import_4/* .formatDesktopShimStatus */.fX)(out)
|
|
14372
14479
|
})
|
|
14373
14480
|
});
|
|
@@ -14447,21 +14554,21 @@ async function codexListThreads({ input }) {
|
|
|
14447
14554
|
});
|
|
14448
14555
|
} catch (error) {
|
|
14449
14556
|
const failure = (0,_core_codex_contract_js__rspack_import_2/* .outcomeFromError */.DG)(error);
|
|
14450
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.
|
|
14557
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.g.Result, {
|
|
14451
14558
|
value: failure,
|
|
14452
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.
|
|
14559
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.g.Text, {
|
|
14453
14560
|
children: failure.error
|
|
14454
14561
|
})
|
|
14455
14562
|
});
|
|
14456
14563
|
}
|
|
14457
14564
|
const more = out.nextCursor ? `\n\nmore: --cursor ${JSON.stringify((0,_core_codex_bridge_js__rspack_import_1/* .singleLine */.pF)(out.nextCursor))}` : '';
|
|
14458
14565
|
const text = out.threads.length === 0 ? 'No Codex threads.' : out.threads.map(_core_format_js__rspack_import_6/* .formatCodexThread */.nz).join('\n\n') + more;
|
|
14459
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.
|
|
14566
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.g.Result, {
|
|
14460
14567
|
value: {
|
|
14461
14568
|
...out,
|
|
14462
14569
|
exitCode: 0
|
|
14463
14570
|
},
|
|
14464
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.
|
|
14571
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.g.Text, {
|
|
14465
14572
|
children: text
|
|
14466
14573
|
})
|
|
14467
14574
|
});
|
|
@@ -14534,19 +14641,19 @@ async function codexQueue({ input }) {
|
|
|
14534
14641
|
out = await (0,_core_codex_bridge_js__rspack_import_1/* .listCodexQueue */.Bt)(input.threadId);
|
|
14535
14642
|
} catch (error) {
|
|
14536
14643
|
const failure = (0,_core_codex_contract_js__rspack_import_2/* .outcomeFromError */.DG)(error);
|
|
14537
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.
|
|
14644
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.g.Result, {
|
|
14538
14645
|
value: failure,
|
|
14539
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.
|
|
14646
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.g.Text, {
|
|
14540
14647
|
children: failure.error
|
|
14541
14648
|
})
|
|
14542
14649
|
});
|
|
14543
14650
|
}
|
|
14544
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.
|
|
14651
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.g.Result, {
|
|
14545
14652
|
value: {
|
|
14546
14653
|
...out,
|
|
14547
14654
|
exitCode: 0
|
|
14548
14655
|
},
|
|
14549
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.
|
|
14656
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.g.Text, {
|
|
14550
14657
|
children: (0,_core_format_js__rspack_import_6/* .formatCodexQueue */.e_)(out)
|
|
14551
14658
|
})
|
|
14552
14659
|
});
|
|
@@ -14677,12 +14784,12 @@ async function route({ input, signal }) {
|
|
|
14677
14784
|
...input,
|
|
14678
14785
|
message: input.message.join(' ').trim()
|
|
14679
14786
|
}, context);
|
|
14680
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.
|
|
14787
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.g.Result, {
|
|
14681
14788
|
value: {
|
|
14682
14789
|
...out,
|
|
14683
14790
|
exitCode: out.delivery === 'rejected' ? 1 : 0
|
|
14684
14791
|
},
|
|
14685
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.
|
|
14792
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.g.Text, {
|
|
14686
14793
|
children: `Delivery ${out.delivery}; terminal answer returns to Grok automatically.`
|
|
14687
14794
|
})
|
|
14688
14795
|
});
|
|
@@ -14694,9 +14801,9 @@ async function route({ input, signal }) {
|
|
|
14694
14801
|
}, signal, (message)=>context.progress.report({
|
|
14695
14802
|
message
|
|
14696
14803
|
}), true);
|
|
14697
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.
|
|
14804
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Result */.g.Result, {
|
|
14698
14805
|
value: out,
|
|
14699
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.
|
|
14806
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_5/* .Agent.Text */.g.Text, {
|
|
14700
14807
|
children: (0,_core_codex_routes_js__rspack_import_1/* .resultText */.D6)(out)
|
|
14701
14808
|
})
|
|
14702
14809
|
});
|
|
@@ -14742,9 +14849,9 @@ const resultSchema = zod__rspack_import_2/* .object */.Ikc({
|
|
|
14742
14849
|
}).passthrough();
|
|
14743
14850
|
async function codexStatusCmd(_props) {
|
|
14744
14851
|
const status = await (0,_core_codex_bridge_js__rspack_import_1/* .codexStatus */.MU)();
|
|
14745
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14852
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14746
14853
|
value: status,
|
|
14747
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14854
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14748
14855
|
children: (0,_core_format_js__rspack_import_4/* .formatCodexStatus */.P2)(status)
|
|
14749
14856
|
})
|
|
14750
14857
|
});
|
|
@@ -14816,9 +14923,9 @@ async function route({ input, signal }) {
|
|
|
14816
14923
|
const out = await (0,_core_codex_routes_js__rspack_import_1/* .observeOperation */.gT)('wait', input, signal, (message)=>context.progress.report({
|
|
14817
14924
|
message
|
|
14818
14925
|
}));
|
|
14819
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14926
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14820
14927
|
value: out,
|
|
14821
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14928
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14822
14929
|
children: (0,_core_codex_routes_js__rspack_import_1/* .resultText */.D6)(out)
|
|
14823
14930
|
})
|
|
14824
14931
|
});
|
|
@@ -14882,9 +14989,9 @@ async function route({ input, signal }) {
|
|
|
14882
14989
|
const out = await (0,_core_codex_routes_js__rspack_import_1/* .observeOperation */.gT)('watch', input, signal, (message)=>context.progress.report({
|
|
14883
14990
|
message
|
|
14884
14991
|
}));
|
|
14885
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
14992
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
14886
14993
|
value: out,
|
|
14887
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
14994
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
14888
14995
|
children: (0,_core_codex_routes_js__rspack_import_1/* .resultText */.D6)(out)
|
|
14889
14996
|
})
|
|
14890
14997
|
});
|
|
@@ -14987,9 +15094,9 @@ async function doctor({ input }) {
|
|
|
14987
15094
|
...candidates.map((c)=>` ${c}`),
|
|
14988
15095
|
note
|
|
14989
15096
|
].join('\n');
|
|
14990
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_6/* .Agent.Result */.
|
|
15097
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_6/* .Agent.Result */.g.Result, {
|
|
14991
15098
|
value: value,
|
|
14992
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_6/* .Agent.Text */.
|
|
15099
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_6/* .Agent.Text */.g.Text, {
|
|
14993
15100
|
children: text
|
|
14994
15101
|
})
|
|
14995
15102
|
});
|
|
@@ -15060,9 +15167,9 @@ const resultSchema = _shared_js__rspack_import_1/* .agentSummarySchema */.t_;
|
|
|
15060
15167
|
async function groupsAdd({ input }) {
|
|
15061
15168
|
const backend = await (0,_shared_js__rspack_import_1/* .openBackendFromInput */.FS)(input);
|
|
15062
15169
|
const rec = await backend.addGroupMember(input.group, input.bot);
|
|
15063
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15170
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15064
15171
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
15065
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15172
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15066
15173
|
children: `Added to ${rec.name}. Members: ${rec.memberIds.length}`
|
|
15067
15174
|
})
|
|
15068
15175
|
});
|
|
@@ -15148,9 +15255,9 @@ async function groupsCreate({ input }) {
|
|
|
15148
15255
|
...(0,_shared_js__rspack_import_1/* .toCreateInput */.cp)(fields),
|
|
15149
15256
|
memberIds: member
|
|
15150
15257
|
});
|
|
15151
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15258
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15152
15259
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
15153
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15260
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15154
15261
|
children: `Created group ${rec.name} (${rec.id}) with ${rec.memberIds.length} members`
|
|
15155
15262
|
})
|
|
15156
15263
|
});
|
|
@@ -15218,9 +15325,9 @@ async function groupsDelete({ input }) {
|
|
|
15218
15325
|
const rec = await backend.resolve(input.ref);
|
|
15219
15326
|
if (!rec.isGroup) throw new Error(`"${rec.name}" is a bot, not a group. Use bots delete.`);
|
|
15220
15327
|
const deleted = await backend.deleteAgent(input.ref);
|
|
15221
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15328
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15222
15329
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(deleted),
|
|
15223
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15330
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15224
15331
|
children: `Deleted group ${deleted.name} (${deleted.id})`
|
|
15225
15332
|
})
|
|
15226
15333
|
});
|
|
@@ -15288,9 +15395,9 @@ async function groupsGet({ input }) {
|
|
|
15288
15395
|
const rec = await backend.resolve(input.ref);
|
|
15289
15396
|
if (!rec.isGroup) throw new Error(`"${rec.name}" is a bot, not a group.`);
|
|
15290
15397
|
const all = await backend.list();
|
|
15291
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15398
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15292
15399
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
15293
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15400
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15294
15401
|
children: (0,_core_format_js__rspack_import_4/* .formatRecord */.bM)(rec, all)
|
|
15295
15402
|
})
|
|
15296
15403
|
});
|
|
@@ -15347,9 +15454,9 @@ async function groupsList({ input }) {
|
|
|
15347
15454
|
const rows = all.filter((r)=>r.isGroup);
|
|
15348
15455
|
const groups = rows.map(_core_format_js__rspack_import_3/* .summarize */.eh);
|
|
15349
15456
|
const text = rows.length === 0 ? 'No groups.' : rows.map((r)=>(0,_core_format_js__rspack_import_3/* .formatRecord */.bM)(r, all)).join('\n\n');
|
|
15350
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
15457
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
15351
15458
|
value: groups,
|
|
15352
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
15459
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
15353
15460
|
children: text
|
|
15354
15461
|
})
|
|
15355
15462
|
});
|
|
@@ -15417,9 +15524,9 @@ async function groupsMembers({ input }) {
|
|
|
15417
15524
|
const rec = await backend.resolve(input.ref);
|
|
15418
15525
|
if (!rec.isGroup) throw new Error(`"${rec.name}" is a bot, not a group.`);
|
|
15419
15526
|
const all = await backend.list();
|
|
15420
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15527
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15421
15528
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
15422
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15529
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15423
15530
|
children: (0,_core_format_js__rspack_import_4/* .formatRecord */.bM)(rec, all)
|
|
15424
15531
|
})
|
|
15425
15532
|
});
|
|
@@ -15490,9 +15597,9 @@ const resultSchema = _shared_js__rspack_import_1/* .agentSummarySchema */.t_;
|
|
|
15490
15597
|
async function groupsRemove({ input }) {
|
|
15491
15598
|
const backend = await (0,_shared_js__rspack_import_1/* .openBackendFromInput */.FS)(input);
|
|
15492
15599
|
const rec = await backend.removeGroupMember(input.group, input.bot);
|
|
15493
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15600
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15494
15601
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
15495
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15602
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15496
15603
|
children: `Removed from ${rec.name}. Members: ${rec.memberIds.length}`
|
|
15497
15604
|
})
|
|
15498
15605
|
});
|
|
@@ -15566,9 +15673,9 @@ const resultSchema = _shared_js__rspack_import_1/* .agentSummarySchema */.t_;
|
|
|
15566
15673
|
async function groupsSet({ input }) {
|
|
15567
15674
|
const backend = await (0,_shared_js__rspack_import_1/* .openBackendFromInput */.FS)(input);
|
|
15568
15675
|
const rec = await backend.setGroupMembers(input.group, input.member);
|
|
15569
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15676
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15570
15677
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
15571
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15678
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15572
15679
|
children: `Updated ${rec.name}. Members: ${rec.memberIds.length}`
|
|
15573
15680
|
})
|
|
15574
15681
|
});
|
|
@@ -15658,9 +15765,9 @@ async function groupsUpdate({ input }) {
|
|
|
15658
15765
|
if (!current.isGroup) throw new Error(`"${current.name}" is a bot, not a group. Use bots update.`);
|
|
15659
15766
|
const { dir: _d, files: _f, gateway: _g, ref, ...fields } = input;
|
|
15660
15767
|
const rec = await backend.updateAgent(ref, (0,_shared_js__rspack_import_1/* .toUpdatePatch */.li)(fields));
|
|
15661
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15768
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15662
15769
|
value: (0,_core_format_js__rspack_import_4/* .summarize */.eh)(rec),
|
|
15663
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15770
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15664
15771
|
children: `Updated group ${rec.name} (${rec.id})`
|
|
15665
15772
|
})
|
|
15666
15773
|
});
|
|
@@ -15736,11 +15843,11 @@ const resultSchema = zod__rspack_import_2/* .union */.KCZ([
|
|
|
15736
15843
|
async function history({ input }) {
|
|
15737
15844
|
const file = (0,_core_history_js__rspack_import_1/* .historyPath */.ae)(input.historyDir);
|
|
15738
15845
|
if (input.path) {
|
|
15739
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15846
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15740
15847
|
value: {
|
|
15741
15848
|
path: file
|
|
15742
15849
|
},
|
|
15743
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15850
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15744
15851
|
children: file
|
|
15745
15852
|
})
|
|
15746
15853
|
});
|
|
@@ -15751,9 +15858,9 @@ async function history({ input }) {
|
|
|
15751
15858
|
search: input.search
|
|
15752
15859
|
});
|
|
15753
15860
|
const text = rows.length ? rows.map((row)=>`[${row.recordedAt}] ${row.target.name} (${row.target.id}) [${row.role}] ${row.text}`).join('\n') : 'No local history.';
|
|
15754
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.
|
|
15861
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Result */.g.Result, {
|
|
15755
15862
|
value: rows,
|
|
15756
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.
|
|
15863
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_3/* .Agent.Text */.g.Text, {
|
|
15757
15864
|
children: text
|
|
15758
15865
|
})
|
|
15759
15866
|
});
|
|
@@ -15963,12 +16070,12 @@ async function send({ input }) {
|
|
|
15963
16070
|
hop: input.hop,
|
|
15964
16071
|
correlationId: input.correlationId
|
|
15965
16072
|
}, await (0,_agent_bundle_runtime__rspack_import_7/* .agent */.MA)());
|
|
15966
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Result */.
|
|
16073
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Result */.g.Result, {
|
|
15967
16074
|
value: {
|
|
15968
16075
|
...out,
|
|
15969
16076
|
exitCode: out.delivery === 'rejected' ? 1 : 0
|
|
15970
16077
|
},
|
|
15971
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Text */.
|
|
16078
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Text */.g.Text, {
|
|
15972
16079
|
children: `Delivery ${out.delivery}; inspect codex bridge status for automatic reply delivery.`
|
|
15973
16080
|
})
|
|
15974
16081
|
});
|
|
@@ -15978,9 +16085,9 @@ async function send({ input }) {
|
|
|
15978
16085
|
value = (0,_core_codex_contract_js__rspack_import_3/* .outcomeFromError */.DG)(error);
|
|
15979
16086
|
}
|
|
15980
16087
|
const text = value.exitCode === 0 ? `Sent to ${value.kind} ${value.name} (${value.id})${value.messageId ? ` message ${value.messageId}` : ''}; envelope ${value.envelopeId}` : value.error;
|
|
15981
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Result */.
|
|
16088
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Result */.g.Result, {
|
|
15982
16089
|
value: value,
|
|
15983
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Text */.
|
|
16090
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_8/* .Agent.Text */.g.Text, {
|
|
15984
16091
|
children: text
|
|
15985
16092
|
})
|
|
15986
16093
|
});
|
|
@@ -16087,9 +16194,9 @@ async function thread({ input }) {
|
|
|
16087
16194
|
event: 'thread',
|
|
16088
16195
|
rootId: input.root
|
|
16089
16196
|
});
|
|
16090
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
16197
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
16091
16198
|
value: rooted,
|
|
16092
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
16199
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
16093
16200
|
children: (0,_core_format_js__rspack_import_5/* .formatTranscript */.oZ)(rooted, {
|
|
16094
16201
|
full: input.full
|
|
16095
16202
|
})
|
|
@@ -16119,9 +16226,9 @@ async function thread({ input }) {
|
|
|
16119
16226
|
const text = (0,_core_format_js__rspack_import_5/* .formatTranscript */.oZ)(selected, {
|
|
16120
16227
|
full: input.full
|
|
16121
16228
|
});
|
|
16122
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
16229
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
16123
16230
|
value: selected,
|
|
16124
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
16231
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
16125
16232
|
children: `${text}\n\ncursor: ${delta.cursor}${delta.gapReset ? ' (gap reset)' : ''}`
|
|
16126
16233
|
})
|
|
16127
16234
|
});
|
|
@@ -16131,9 +16238,9 @@ async function thread({ input }) {
|
|
|
16131
16238
|
disabled: input.noHistory,
|
|
16132
16239
|
event: 'thread'
|
|
16133
16240
|
});
|
|
16134
|
-
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.
|
|
16241
|
+
return /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Result */.g.Result, {
|
|
16135
16242
|
value: out,
|
|
16136
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.
|
|
16243
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__rspack_import_0.jsx)(_agent_bundle_runtime__rspack_import_4/* .Agent.Text */.g.Text, {
|
|
16137
16244
|
children: (0,_core_format_js__rspack_import_5/* .formatTranscript */.oZ)(out, {
|
|
16138
16245
|
full: input.full
|
|
16139
16246
|
})
|
|
@@ -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");
|
|
@@ -17072,50 +17210,11 @@ const Agent = Object.freeze({
|
|
|
17072
17210
|
Result: AgentResult,
|
|
17073
17211
|
Text: AgentText
|
|
17074
17212
|
});
|
|
17075
|
-
const Result = ({ children })=>createElement('agent-hook-result', null, children);
|
|
17076
|
-
const AdditionalContext = ({ children })=>createElement('agent-hook-additional-context', null, children);
|
|
17077
|
-
const Hook = (/* unused pure expression or super */ null && ({
|
|
17078
|
-
AdditionalContext: AdditionalContext,
|
|
17079
|
-
Result: Result
|
|
17080
|
-
}));
|
|
17081
|
-
const McpResult = ({ _meta, children, isError, structuredContent })=>createElement('mcp-result', {
|
|
17082
|
-
_meta,
|
|
17083
|
-
isError,
|
|
17084
|
-
structuredContent
|
|
17085
|
-
}, children);
|
|
17086
|
-
const McpText = ({ children })=>createElement('mcp-text', null, children);
|
|
17087
|
-
const McpImage = ({ data, mimeType })=>createElement('mcp-image', {
|
|
17088
|
-
data,
|
|
17089
|
-
mimeType
|
|
17090
|
-
});
|
|
17091
|
-
const McpAudio = ({ data, mimeType })=>createElement('mcp-audio', {
|
|
17092
|
-
data,
|
|
17093
|
-
mimeType
|
|
17094
|
-
});
|
|
17095
|
-
const McpResourceLink = ({ mimeType, name, uri })=>createElement('mcp-resource-link', {
|
|
17096
|
-
mimeType,
|
|
17097
|
-
name,
|
|
17098
|
-
uri
|
|
17099
|
-
});
|
|
17100
|
-
const McpEmbeddedResource = ({ blob, children, mimeType, text, uri })=>createElement('mcp-embedded-resource', {
|
|
17101
|
-
blob,
|
|
17102
|
-
mimeType,
|
|
17103
|
-
text,
|
|
17104
|
-
uri
|
|
17105
|
-
}, children);
|
|
17106
|
-
const Mcp = (/* unused pure expression or super */ null && ({
|
|
17107
|
-
Audio: McpAudio,
|
|
17108
|
-
EmbeddedResource: McpEmbeddedResource,
|
|
17109
|
-
Image: McpImage,
|
|
17110
|
-
ResourceLink: McpResourceLink,
|
|
17111
|
-
Result: McpResult,
|
|
17112
|
-
Text: McpText
|
|
17113
|
-
}));
|
|
17114
17213
|
|
|
17115
17214
|
|
|
17116
17215
|
__webpack_require__.d(__webpack_exports__, {
|
|
17117
17216
|
}, {
|
|
17118
|
-
|
|
17217
|
+
g: Agent
|
|
17119
17218
|
});
|
|
17120
17219
|
|
|
17121
17220
|
|
|
@@ -18490,7 +18589,7 @@ function strictObject(shape, params) {
|
|
|
18490
18589
|
type: "object",
|
|
18491
18590
|
shape,
|
|
18492
18591
|
catchall: never(),
|
|
18493
|
-
...
|
|
18592
|
+
..._core_index_js__rspack_import_4/* .normalizeParams */.A2(params),
|
|
18494
18593
|
});
|
|
18495
18594
|
}
|
|
18496
18595
|
// looseObject
|
|
@@ -19124,6 +19223,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19124
19223
|
euz: () => (literal),
|
|
19125
19224
|
g1P: () => (record),
|
|
19126
19225
|
k5n: () => (_enum),
|
|
19226
|
+
rej: () => (strictObject),
|
|
19127
19227
|
zMY: () => (boolean)
|
|
19128
19228
|
});
|
|
19129
19229
|
|
|
@@ -28407,10 +28507,10 @@ function listDesktopProcesses(timeoutMs = DESKTOP_PROCESS_LIST_TIMEOUT_MS) {
|
|
|
28407
28507
|
const lines = Array.isArray(listProcesses) ? listProcesses : String(listProcesses ?? "").split(/\r?\n/);
|
|
28408
28508
|
for (const line of lines){
|
|
28409
28509
|
if (!/app-server/.test(line)) continue;
|
|
28410
|
-
// Desktop's bundled binary
|
|
28510
|
+
// Desktop's bundled binary only (Mac/Windows separators, optional .exe).
|
|
28511
|
+
// Do NOT match probe shells whose cmdline merely mentions ChatGPT.app +
|
|
28512
|
+
// app-server + codex-app-tools — that false-positives MATCH2 / Scout noise.
|
|
28411
28513
|
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
28514
|
}
|
|
28415
28515
|
return "unknown";
|
|
28416
28516
|
}
|
|
@@ -30348,10 +30448,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30348
30448
|
},
|
|
30349
30449
|
"./src/core/gateway.js"(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30350
30450
|
/* import */ var node_crypto__rspack_import_0 = __webpack_require__("node:crypto");
|
|
30351
|
-
/* import */ var
|
|
30451
|
+
/* import */ var _headers_js__rspack_import_5 = __webpack_require__("./src/core/headers.js");
|
|
30352
30452
|
/* import */ var _app_session_js__rspack_import_1 = __webpack_require__("./src/core/app-session.js");
|
|
30353
30453
|
/* import */ var _store_js__rspack_import_2 = __webpack_require__("./src/core/store.js");
|
|
30354
30454
|
/* import */ var _url_policy_js__rspack_import_3 = __webpack_require__("./src/core/url-policy.js");
|
|
30455
|
+
/* import */ var _grok_approvals_js__rspack_import_4 = __webpack_require__("./src/core/grok-approvals.js");
|
|
30456
|
+
|
|
30355
30457
|
|
|
30356
30458
|
|
|
30357
30459
|
|
|
@@ -30401,7 +30503,7 @@ function gatewayOverride() {
|
|
|
30401
30503
|
kind: "gateway"
|
|
30402
30504
|
}),
|
|
30403
30505
|
gatewayToken: token,
|
|
30404
|
-
gatewayHeaders: (0,
|
|
30506
|
+
gatewayHeaders: (0,_headers_js__rspack_import_5/* .headersFromEnv */.gx)()
|
|
30405
30507
|
};
|
|
30406
30508
|
}
|
|
30407
30509
|
return null;
|
|
@@ -30422,7 +30524,7 @@ function sessionFromApp() {
|
|
|
30422
30524
|
kind: "gateway"
|
|
30423
30525
|
}),
|
|
30424
30526
|
gatewayToken: loaded.gatewayToken,
|
|
30425
|
-
gatewayHeaders: (0,
|
|
30527
|
+
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
30528
|
};
|
|
30427
30529
|
}
|
|
30428
30530
|
function hasGatewayAuth() {
|
|
@@ -30482,7 +30584,7 @@ async function ensureSandbox(accessToken, { signal } = {}) {
|
|
|
30482
30584
|
method: "POST",
|
|
30483
30585
|
redirect: "error",
|
|
30484
30586
|
signal: gatewayDeadline(signal),
|
|
30485
|
-
headers: (0,
|
|
30587
|
+
headers: (0,_headers_js__rspack_import_5/* .ensureSandboxHeaders */._6)(accessToken),
|
|
30486
30588
|
body: "{}"
|
|
30487
30589
|
});
|
|
30488
30590
|
body = await readJson(res);
|
|
@@ -30508,7 +30610,7 @@ async function ensureSandbox(accessToken, { signal } = {}) {
|
|
|
30508
30610
|
kind: "gateway"
|
|
30509
30611
|
}),
|
|
30510
30612
|
gatewayToken: String(gatewayToken),
|
|
30511
|
-
gatewayHeaders: (0,
|
|
30613
|
+
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
30614
|
};
|
|
30513
30615
|
}
|
|
30514
30616
|
async function connectGateway({ signal } = {}) {
|
|
@@ -30538,7 +30640,7 @@ async function gatewayCall(session, method, body = {}, { signal } = {}) {
|
|
|
30538
30640
|
method: "POST",
|
|
30539
30641
|
redirect: "error",
|
|
30540
30642
|
signal: gatewayDeadline(prompt ? undefined : signal),
|
|
30541
|
-
headers: (0,
|
|
30643
|
+
headers: (0,_headers_js__rspack_import_5/* .requestHeaders */.A1)(session),
|
|
30542
30644
|
body: JSON.stringify(body)
|
|
30543
30645
|
};
|
|
30544
30646
|
assertGatewayActive(signal); // Final synchronous boundary before transmission.
|
|
@@ -30805,10 +30907,49 @@ async function getThread(session, ref, rootId) {
|
|
|
30805
30907
|
thread: data
|
|
30806
30908
|
};
|
|
30807
30909
|
}
|
|
30910
|
+
async function listGrokApprovals(session, ref) {
|
|
30911
|
+
const { target, transcript } = await getTranscriptTail(session, ref, 200);
|
|
30912
|
+
if (!Array.isArray(transcript?.entries) || transcript.entries.length > 200) throw new GatewayError("Invalid approval transcript coverage");
|
|
30913
|
+
return {
|
|
30914
|
+
target: {
|
|
30915
|
+
id: target.id,
|
|
30916
|
+
name: target.name
|
|
30917
|
+
},
|
|
30918
|
+
approvals: transcript.entries.map(_grok_approvals_js__rspack_import_4/* .grokApproval */.Ny).filter(Boolean),
|
|
30919
|
+
coverage: "Latest 200 transcript entries only; older requests require the owning Grok UI."
|
|
30920
|
+
};
|
|
30921
|
+
}
|
|
30922
|
+
async function respondGrokApproval(session, ref, input) {
|
|
30923
|
+
const { entryId, requestId, decision } = _grok_approvals_js__rspack_import_4/* .grokApprovalResponseSchema.parse */.T5.parse({
|
|
30924
|
+
...input,
|
|
30925
|
+
target: ref
|
|
30926
|
+
});
|
|
30927
|
+
const { target, approvals } = await listGrokApprovals(session, ref);
|
|
30928
|
+
const matches = approvals.filter((card)=>card.entryId === entryId && card.requestId === requestId);
|
|
30929
|
+
if (matches.length !== 1) throw new GatewayError("Stale, foreign or unsupported Grok approval; refresh pending requests or use the owning Grok UI");
|
|
30930
|
+
const approval = matches[0];
|
|
30931
|
+
if (decision === "accept" && approval.truncated) throw new GatewayError("Approval details are truncated; acceptance requires the owning Grok UI");
|
|
30932
|
+
const local = approval.type === "local-tool-permission";
|
|
30933
|
+
await gatewayCall(session, local ? "resolveLocalToolPermission" : "resolveAutoReviewApproval", {
|
|
30934
|
+
agentId: target.id,
|
|
30935
|
+
entryId,
|
|
30936
|
+
requestId,
|
|
30937
|
+
resolution: local ? decision === "accept" ? "allow-once" : "deny" : decision === "accept" ? "approved" : "denied"
|
|
30938
|
+
});
|
|
30939
|
+
return {
|
|
30940
|
+
target,
|
|
30941
|
+
entryId,
|
|
30942
|
+
requestId,
|
|
30943
|
+
decision,
|
|
30944
|
+
delivery: "accepted"
|
|
30945
|
+
};
|
|
30946
|
+
}
|
|
30808
30947
|
|
|
30809
30948
|
__webpack_require__.d(__webpack_exports__, {
|
|
30810
30949
|
A0: () => (removeGroupMember),
|
|
30811
30950
|
LV: () => (sendPrompt),
|
|
30951
|
+
MI: () => (listGrokApprovals),
|
|
30952
|
+
OR: () => (respondGrokApproval),
|
|
30812
30953
|
RB: () => (deleteAgent),
|
|
30813
30954
|
Sn: () => (createAgent),
|
|
30814
30955
|
Td: () => (setGroupMembers),
|
|
@@ -30824,6 +30965,68 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30824
30965
|
});
|
|
30825
30966
|
|
|
30826
30967
|
|
|
30968
|
+
},
|
|
30969
|
+
"./src/core/grok-approvals.js"(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30970
|
+
/* import */ var zod__rspack_import_1 = __webpack_require__("./node_modules/zod/v4/classic/schemas.js");
|
|
30971
|
+
/* import */ var _url_policy_js__rspack_import_0 = __webpack_require__("./src/core/url-policy.js");
|
|
30972
|
+
|
|
30973
|
+
|
|
30974
|
+
const id = zod__rspack_import_1/* .string */.YjP().min(1).max(1024);
|
|
30975
|
+
const grokApprovalResponseSchema = zod__rspack_import_1/* .strictObject */.rej({
|
|
30976
|
+
target: id,
|
|
30977
|
+
entryId: id,
|
|
30978
|
+
requestId: id,
|
|
30979
|
+
decision: zod__rspack_import_1/* ["enum"] */.k5n([
|
|
30980
|
+
"accept",
|
|
30981
|
+
"decline"
|
|
30982
|
+
])
|
|
30983
|
+
});
|
|
30984
|
+
function grokApproval(entry) {
|
|
30985
|
+
if (entry?.kind !== "send-message") return null;
|
|
30986
|
+
const type = entry.message?.type;
|
|
30987
|
+
const card = type === "auto-review-approval" ? entry.message.approval : type === "local-tool-permission" ? entry.message.ask : null;
|
|
30988
|
+
if (card?.status !== "pending" || !id.safeParse(card.requestId).success || !id.safeParse(entry.id).success) return null;
|
|
30989
|
+
const details = {};
|
|
30990
|
+
let truncated = false;
|
|
30991
|
+
for (const key of [
|
|
30992
|
+
"reason",
|
|
30993
|
+
"command",
|
|
30994
|
+
"summary",
|
|
30995
|
+
"action",
|
|
30996
|
+
"description",
|
|
30997
|
+
"target",
|
|
30998
|
+
"machineId",
|
|
30999
|
+
"surface",
|
|
31000
|
+
"workingDirectory"
|
|
31001
|
+
]){
|
|
31002
|
+
if (typeof card[key] !== "string") continue;
|
|
31003
|
+
const text = (0,_url_policy_js__rspack_import_0/* .redactSecrets */.fp)(card[key]);
|
|
31004
|
+
truncated ||= text.length > 2048;
|
|
31005
|
+
details[key] = text.slice(0, 2048);
|
|
31006
|
+
}
|
|
31007
|
+
return {
|
|
31008
|
+
entryId: entry.id,
|
|
31009
|
+
requestId: card.requestId,
|
|
31010
|
+
type,
|
|
31011
|
+
...details,
|
|
31012
|
+
truncated
|
|
31013
|
+
};
|
|
31014
|
+
}
|
|
31015
|
+
function grokApprovalNotice(entry, target) {
|
|
31016
|
+
const approval = grokApproval(entry);
|
|
31017
|
+
return approval ? `Grok approval pending. Requires an explicit user decision; never approve automatically.\n${JSON.stringify({
|
|
31018
|
+
botTarget: target,
|
|
31019
|
+
...approval
|
|
31020
|
+
})}\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;
|
|
31021
|
+
}
|
|
31022
|
+
|
|
31023
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
31024
|
+
Ny: () => (grokApproval)
|
|
31025
|
+
}, {
|
|
31026
|
+
T5: grokApprovalResponseSchema
|
|
31027
|
+
});
|
|
31028
|
+
|
|
31029
|
+
|
|
30827
31030
|
},
|
|
30828
31031
|
"./src/core/headers.js"(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
30829
31032
|
function normalizeHeaderMap(obj) {
|
|
@@ -31240,7 +31443,10 @@ function relayProfile(env = process.env) {
|
|
|
31240
31443
|
"GROK_BOT_ALLOW_LOCAL_GATEWAY",
|
|
31241
31444
|
"GROK_BOT_ALLOW_ANY_GATEWAY",
|
|
31242
31445
|
"GROK_BOT_TEST",
|
|
31243
|
-
"NODE_ENV"
|
|
31446
|
+
"NODE_ENV",
|
|
31447
|
+
// Secret Service credentials depend on the caller's desktop session.
|
|
31448
|
+
"DBUS_SESSION_BUS_ADDRESS",
|
|
31449
|
+
"DISPLAY"
|
|
31244
31450
|
];
|
|
31245
31451
|
return digest(JSON.stringify([
|
|
31246
31452
|
(0,node_path__rspack_import_2.resolve)((0,_codex_bridge_js__rspack_import_3/* .codexSocketPath */.ql)(env)),
|
|
@@ -31838,7 +32044,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31838
32044
|
|
|
31839
32045
|
},
|
|
31840
32046
|
"./package.json"(module) {
|
|
31841
|
-
module.exports = {"rE":"0.
|
|
32047
|
+
module.exports = {"rE":"0.7.0"}
|
|
31842
32048
|
|
|
31843
32049
|
},
|
|
31844
32050
|
|
|
@@ -31904,106 +32110,112 @@ __webpack_require__.r = (exports) => {
|
|
|
31904
32110
|
var __webpack_exports__ = {};
|
|
31905
32111
|
/* import */ var node_worker_threads__rspack_import_0 = __webpack_require__("node:worker_threads");
|
|
31906
32112
|
/* import */ var react__rspack_import_1 = __webpack_require__("./node_modules/react/react.react-server.js");
|
|
31907
|
-
/* import */ var
|
|
31908
|
-
/* import */ var
|
|
31909
|
-
/* import */ var
|
|
32113
|
+
/* import */ var _agent_bundle_runtime_flight_server__rspack_import_37 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/flight/server.js");
|
|
32114
|
+
/* import */ var _agent_bundle_runtime__rspack_import_35 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/49.js");
|
|
32115
|
+
/* import */ var _agent_bundle_runtime__rspack_import_36 = __webpack_require__("./node_modules/@agent-bundle/runtime/dist/736.js");
|
|
31910
32116
|
/* 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
|
|
32117
|
+
/* 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");
|
|
32118
|
+
/* 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");
|
|
32119
|
+
/* 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");
|
|
32120
|
+
/* 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");
|
|
32121
|
+
/* 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");
|
|
32122
|
+
/* 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");
|
|
32123
|
+
/* 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");
|
|
32124
|
+
/* 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");
|
|
32125
|
+
/* 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");
|
|
32126
|
+
/* 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");
|
|
32127
|
+
/* 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");
|
|
32128
|
+
/* 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");
|
|
32129
|
+
/* 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");
|
|
32130
|
+
/* 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");
|
|
32131
|
+
/* 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");
|
|
32132
|
+
/* 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");
|
|
32133
|
+
/* 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");
|
|
32134
|
+
/* 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");
|
|
32135
|
+
/* 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");
|
|
32136
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_doctor_tsx__rspack_import_22 = __webpack_require__("./src/cli/doctor.tsx");
|
|
32137
|
+
/* 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");
|
|
32138
|
+
/* 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");
|
|
32139
|
+
/* 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");
|
|
32140
|
+
/* 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");
|
|
32141
|
+
/* 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");
|
|
32142
|
+
/* 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");
|
|
32143
|
+
/* 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");
|
|
32144
|
+
/* 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");
|
|
32145
|
+
/* 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");
|
|
32146
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_history_tsx__rspack_import_32 = __webpack_require__("./src/cli/history.tsx");
|
|
32147
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_send_tsx__rspack_import_33 = __webpack_require__("./src/cli/send.tsx");
|
|
32148
|
+
/* import */ var _home_runner_work_grok_bot_cli_grok_bot_cli_src_cli_thread_tsx__rspack_import_34 = __webpack_require__("./src/cli/thread.tsx");
|
|
32149
|
+
|
|
32150
|
+
|
|
31941
32151
|
|
|
31942
32152
|
|
|
31943
32153
|
|
|
31944
32154
|
|
|
32155
|
+
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
32156
|
|
|
32157
|
+
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
32158
|
|
|
31947
|
-
const
|
|
32159
|
+
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
32160
|
|
|
31949
|
-
const
|
|
32161
|
+
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
32162
|
|
|
31951
|
-
const
|
|
32163
|
+
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
32164
|
|
|
31953
|
-
const
|
|
32165
|
+
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
32166
|
|
|
31955
|
-
const
|
|
32167
|
+
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
32168
|
|
|
31957
|
-
const
|
|
32169
|
+
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
32170
|
|
|
31959
|
-
const
|
|
32171
|
+
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
32172
|
|
|
31961
|
-
const
|
|
32173
|
+
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
32174
|
|
|
31963
|
-
const
|
|
32175
|
+
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
32176
|
|
|
31965
|
-
const
|
|
32177
|
+
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
32178
|
|
|
31967
|
-
const
|
|
32179
|
+
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
32180
|
|
|
31969
|
-
const
|
|
32181
|
+
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
32182
|
|
|
31971
|
-
const
|
|
32183
|
+
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
32184
|
|
|
31973
|
-
const
|
|
32185
|
+
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
32186
|
|
|
31975
|
-
const
|
|
32187
|
+
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
32188
|
|
|
31977
|
-
const
|
|
32189
|
+
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
32190
|
|
|
31979
|
-
const
|
|
32191
|
+
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
32192
|
|
|
31981
|
-
const
|
|
32193
|
+
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
32194
|
|
|
31983
|
-
const
|
|
32195
|
+
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
32196
|
|
|
31985
|
-
const
|
|
32197
|
+
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
32198
|
|
|
31987
|
-
const
|
|
32199
|
+
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
32200
|
|
|
31989
|
-
const
|
|
32201
|
+
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
32202
|
|
|
31991
|
-
const
|
|
32203
|
+
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
32204
|
|
|
31993
|
-
const
|
|
32205
|
+
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
32206
|
|
|
31995
|
-
const
|
|
32207
|
+
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
32208
|
|
|
31997
|
-
const
|
|
32209
|
+
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
32210
|
|
|
31999
|
-
const
|
|
32211
|
+
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
32212
|
|
|
32001
|
-
const
|
|
32213
|
+
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
32214
|
|
|
32003
|
-
const
|
|
32215
|
+
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
32216
|
|
|
32005
|
-
const
|
|
32006
|
-
const pluginRoot = (0,
|
|
32217
|
+
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);
|
|
32218
|
+
const pluginRoot = (0,_agent_bundle_runtime__rspack_import_35/* .resolvePluginRoot */.E7)({
|
|
32007
32219
|
fallback: (0,node_url__rspack_import_2.fileURLToPath)(new URL('..', import.meta.url)),
|
|
32008
32220
|
stateAnchor: 'user-data'
|
|
32009
32221
|
});
|
|
@@ -32021,185 +32233,197 @@ const processLifetime = {
|
|
|
32021
32233
|
};
|
|
32022
32234
|
const composeLayouts = (route, props)=>/*#__PURE__*/ (0,react__rspack_import_1.createElement)(route.module.default, props);
|
|
32023
32235
|
const routes = Object.freeze({
|
|
32236
|
+
"cli:approvals/list": Object.freeze({
|
|
32237
|
+
id: "cli:approvals/list",
|
|
32238
|
+
kind: "cli",
|
|
32239
|
+
name: "approvals list",
|
|
32240
|
+
module: route0
|
|
32241
|
+
}),
|
|
32242
|
+
"cli:approvals/respond": Object.freeze({
|
|
32243
|
+
id: "cli:approvals/respond",
|
|
32244
|
+
kind: "cli",
|
|
32245
|
+
name: "approvals respond",
|
|
32246
|
+
module: route1
|
|
32247
|
+
}),
|
|
32024
32248
|
"cli:bots/create": Object.freeze({
|
|
32025
32249
|
id: "cli:bots/create",
|
|
32026
32250
|
kind: "cli",
|
|
32027
32251
|
name: "bots create",
|
|
32028
|
-
module:
|
|
32252
|
+
module: route2
|
|
32029
32253
|
}),
|
|
32030
32254
|
"cli:bots/delete": Object.freeze({
|
|
32031
32255
|
id: "cli:bots/delete",
|
|
32032
32256
|
kind: "cli",
|
|
32033
32257
|
name: "bots delete",
|
|
32034
|
-
module:
|
|
32258
|
+
module: route3
|
|
32035
32259
|
}),
|
|
32036
32260
|
"cli:bots/get": Object.freeze({
|
|
32037
32261
|
id: "cli:bots/get",
|
|
32038
32262
|
kind: "cli",
|
|
32039
32263
|
name: "bots get",
|
|
32040
|
-
module:
|
|
32264
|
+
module: route4
|
|
32041
32265
|
}),
|
|
32042
32266
|
"cli:bots/list": Object.freeze({
|
|
32043
32267
|
id: "cli:bots/list",
|
|
32044
32268
|
kind: "cli",
|
|
32045
32269
|
name: "bots list",
|
|
32046
|
-
module:
|
|
32270
|
+
module: route5
|
|
32047
32271
|
}),
|
|
32048
32272
|
"cli:bots/update": Object.freeze({
|
|
32049
32273
|
id: "cli:bots/update",
|
|
32050
32274
|
kind: "cli",
|
|
32051
32275
|
name: "bots update",
|
|
32052
|
-
module:
|
|
32276
|
+
module: route6
|
|
32053
32277
|
}),
|
|
32054
32278
|
"cli:codex/bridge/respond": Object.freeze({
|
|
32055
32279
|
id: "cli:codex/bridge/respond",
|
|
32056
32280
|
kind: "cli",
|
|
32057
32281
|
name: "codex bridge respond",
|
|
32058
|
-
module:
|
|
32282
|
+
module: route7
|
|
32059
32283
|
}),
|
|
32060
32284
|
"cli:codex/bridge/run": Object.freeze({
|
|
32061
32285
|
id: "cli:codex/bridge/run",
|
|
32062
32286
|
kind: "cli",
|
|
32063
32287
|
name: "codex bridge run",
|
|
32064
|
-
module:
|
|
32288
|
+
module: route8
|
|
32065
32289
|
}),
|
|
32066
32290
|
"cli:codex/bridge/start": Object.freeze({
|
|
32067
32291
|
id: "cli:codex/bridge/start",
|
|
32068
32292
|
kind: "cli",
|
|
32069
32293
|
name: "codex bridge start",
|
|
32070
|
-
module:
|
|
32294
|
+
module: route9
|
|
32071
32295
|
}),
|
|
32072
32296
|
"cli:codex/bridge/status": Object.freeze({
|
|
32073
32297
|
id: "cli:codex/bridge/status",
|
|
32074
32298
|
kind: "cli",
|
|
32075
32299
|
name: "codex bridge status",
|
|
32076
|
-
module:
|
|
32300
|
+
module: route10
|
|
32077
32301
|
}),
|
|
32078
32302
|
"cli:codex/bridge/stop": Object.freeze({
|
|
32079
32303
|
id: "cli:codex/bridge/stop",
|
|
32080
32304
|
kind: "cli",
|
|
32081
32305
|
name: "codex bridge stop",
|
|
32082
|
-
module:
|
|
32306
|
+
module: route11
|
|
32083
32307
|
}),
|
|
32084
32308
|
"cli:codex/desktop-shim": Object.freeze({
|
|
32085
32309
|
id: "cli:codex/desktop-shim",
|
|
32086
32310
|
kind: "cli",
|
|
32087
32311
|
name: "codex desktop-shim",
|
|
32088
|
-
module:
|
|
32312
|
+
module: route12
|
|
32089
32313
|
}),
|
|
32090
32314
|
"cli:codex/list-threads": Object.freeze({
|
|
32091
32315
|
id: "cli:codex/list-threads",
|
|
32092
32316
|
kind: "cli",
|
|
32093
32317
|
name: "codex list-threads",
|
|
32094
|
-
module:
|
|
32318
|
+
module: route13
|
|
32095
32319
|
}),
|
|
32096
32320
|
"cli:codex/queue": Object.freeze({
|
|
32097
32321
|
id: "cli:codex/queue",
|
|
32098
32322
|
kind: "cli",
|
|
32099
32323
|
name: "codex queue",
|
|
32100
|
-
module:
|
|
32324
|
+
module: route14
|
|
32101
32325
|
}),
|
|
32102
32326
|
"cli:codex/send": Object.freeze({
|
|
32103
32327
|
id: "cli:codex/send",
|
|
32104
32328
|
kind: "cli",
|
|
32105
32329
|
name: "codex send",
|
|
32106
|
-
module:
|
|
32330
|
+
module: route15
|
|
32107
32331
|
}),
|
|
32108
32332
|
"cli:codex/status": Object.freeze({
|
|
32109
32333
|
id: "cli:codex/status",
|
|
32110
32334
|
kind: "cli",
|
|
32111
32335
|
name: "codex status",
|
|
32112
|
-
module:
|
|
32336
|
+
module: route16
|
|
32113
32337
|
}),
|
|
32114
32338
|
"cli:codex/wait": Object.freeze({
|
|
32115
32339
|
id: "cli:codex/wait",
|
|
32116
32340
|
kind: "cli",
|
|
32117
32341
|
name: "codex wait",
|
|
32118
|
-
module:
|
|
32342
|
+
module: route17
|
|
32119
32343
|
}),
|
|
32120
32344
|
"cli:codex/watch": Object.freeze({
|
|
32121
32345
|
id: "cli:codex/watch",
|
|
32122
32346
|
kind: "cli",
|
|
32123
32347
|
name: "codex watch",
|
|
32124
|
-
module:
|
|
32348
|
+
module: route18
|
|
32125
32349
|
}),
|
|
32126
32350
|
"cli:doctor": Object.freeze({
|
|
32127
32351
|
id: "cli:doctor",
|
|
32128
32352
|
kind: "cli",
|
|
32129
32353
|
name: "doctor",
|
|
32130
|
-
module:
|
|
32354
|
+
module: route19
|
|
32131
32355
|
}),
|
|
32132
32356
|
"cli:groups/add": Object.freeze({
|
|
32133
32357
|
id: "cli:groups/add",
|
|
32134
32358
|
kind: "cli",
|
|
32135
32359
|
name: "groups add",
|
|
32136
|
-
module:
|
|
32360
|
+
module: route20
|
|
32137
32361
|
}),
|
|
32138
32362
|
"cli:groups/create": Object.freeze({
|
|
32139
32363
|
id: "cli:groups/create",
|
|
32140
32364
|
kind: "cli",
|
|
32141
32365
|
name: "groups create",
|
|
32142
|
-
module:
|
|
32366
|
+
module: route21
|
|
32143
32367
|
}),
|
|
32144
32368
|
"cli:groups/delete": Object.freeze({
|
|
32145
32369
|
id: "cli:groups/delete",
|
|
32146
32370
|
kind: "cli",
|
|
32147
32371
|
name: "groups delete",
|
|
32148
|
-
module:
|
|
32372
|
+
module: route22
|
|
32149
32373
|
}),
|
|
32150
32374
|
"cli:groups/get": Object.freeze({
|
|
32151
32375
|
id: "cli:groups/get",
|
|
32152
32376
|
kind: "cli",
|
|
32153
32377
|
name: "groups get",
|
|
32154
|
-
module:
|
|
32378
|
+
module: route23
|
|
32155
32379
|
}),
|
|
32156
32380
|
"cli:groups/list": Object.freeze({
|
|
32157
32381
|
id: "cli:groups/list",
|
|
32158
32382
|
kind: "cli",
|
|
32159
32383
|
name: "groups list",
|
|
32160
|
-
module:
|
|
32384
|
+
module: route24
|
|
32161
32385
|
}),
|
|
32162
32386
|
"cli:groups/members": Object.freeze({
|
|
32163
32387
|
id: "cli:groups/members",
|
|
32164
32388
|
kind: "cli",
|
|
32165
32389
|
name: "groups members",
|
|
32166
|
-
module:
|
|
32390
|
+
module: route25
|
|
32167
32391
|
}),
|
|
32168
32392
|
"cli:groups/remove": Object.freeze({
|
|
32169
32393
|
id: "cli:groups/remove",
|
|
32170
32394
|
kind: "cli",
|
|
32171
32395
|
name: "groups remove",
|
|
32172
|
-
module:
|
|
32396
|
+
module: route26
|
|
32173
32397
|
}),
|
|
32174
32398
|
"cli:groups/set": Object.freeze({
|
|
32175
32399
|
id: "cli:groups/set",
|
|
32176
32400
|
kind: "cli",
|
|
32177
32401
|
name: "groups set",
|
|
32178
|
-
module:
|
|
32402
|
+
module: route27
|
|
32179
32403
|
}),
|
|
32180
32404
|
"cli:groups/update": Object.freeze({
|
|
32181
32405
|
id: "cli:groups/update",
|
|
32182
32406
|
kind: "cli",
|
|
32183
32407
|
name: "groups update",
|
|
32184
|
-
module:
|
|
32408
|
+
module: route28
|
|
32185
32409
|
}),
|
|
32186
32410
|
"cli:history": Object.freeze({
|
|
32187
32411
|
id: "cli:history",
|
|
32188
32412
|
kind: "cli",
|
|
32189
32413
|
name: "history",
|
|
32190
|
-
module:
|
|
32414
|
+
module: route29
|
|
32191
32415
|
}),
|
|
32192
32416
|
"cli:send": Object.freeze({
|
|
32193
32417
|
id: "cli:send",
|
|
32194
32418
|
kind: "cli",
|
|
32195
32419
|
name: "send",
|
|
32196
|
-
module:
|
|
32420
|
+
module: route30
|
|
32197
32421
|
}),
|
|
32198
32422
|
"cli:thread": Object.freeze({
|
|
32199
32423
|
id: "cli:thread",
|
|
32200
32424
|
kind: "cli",
|
|
32201
32425
|
name: "thread",
|
|
32202
|
-
module:
|
|
32426
|
+
module: route31
|
|
32203
32427
|
})
|
|
32204
32428
|
});
|
|
32205
32429
|
const requests = new Map();
|
|
@@ -32234,18 +32458,18 @@ const render = async (message)=>{
|
|
|
32234
32458
|
};
|
|
32235
32459
|
try {
|
|
32236
32460
|
const cwd = process.cwd();
|
|
32237
|
-
await (0,
|
|
32461
|
+
await (0,_agent_bundle_runtime__rspack_import_36/* .runAgentRequest */.iC)({
|
|
32238
32462
|
capabilities: {
|
|
32239
|
-
command: (0,
|
|
32240
|
-
filesystem: (0,
|
|
32241
|
-
network: (0,
|
|
32242
|
-
projectRoot: (0,
|
|
32463
|
+
command: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)(),
|
|
32464
|
+
filesystem: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)(),
|
|
32465
|
+
network: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)(),
|
|
32466
|
+
projectRoot: (0,_agent_bundle_runtime__rspack_import_36/* .available */.qC)({
|
|
32243
32467
|
root: cwd
|
|
32244
32468
|
}, 'derived')
|
|
32245
32469
|
},
|
|
32246
|
-
host: (0,
|
|
32470
|
+
host: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)('unsupported-surface'),
|
|
32247
32471
|
invocation: message.request,
|
|
32248
|
-
lineage: (0,
|
|
32472
|
+
lineage: (0,_agent_bundle_runtime__rspack_import_36/* .unavailable */.hU)('unsupported-surface'),
|
|
32249
32473
|
plugin: pluginRoot.identity,
|
|
32250
32474
|
progress: {
|
|
32251
32475
|
report: async (update)=>{
|
|
@@ -32258,8 +32482,8 @@ const render = async (message)=>{
|
|
|
32258
32482
|
},
|
|
32259
32483
|
process: processHit,
|
|
32260
32484
|
signal: controller.signal,
|
|
32261
|
-
terminal: message.terminal === undefined ? (0,
|
|
32262
|
-
workspace: (0,
|
|
32485
|
+
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'),
|
|
32486
|
+
workspace: (0,_agent_bundle_runtime__rspack_import_36/* .available */.qC)({
|
|
32263
32487
|
root: cwd
|
|
32264
32488
|
}, 'derived')
|
|
32265
32489
|
}, async ()=>{
|
|
@@ -32268,10 +32492,11 @@ const render = async (message)=>{
|
|
|
32268
32492
|
type: 'observed-render-start'
|
|
32269
32493
|
});
|
|
32270
32494
|
const renderStartedAt = performance.now();
|
|
32271
|
-
const flight = (0,
|
|
32495
|
+
const flight = (0,_agent_bundle_runtime_flight_server__rspack_import_37/* .renderAgentFlight */.y)(composeLayouts(observedRoute, {
|
|
32272
32496
|
...message.props,
|
|
32273
32497
|
signal: controller.signal
|
|
32274
32498
|
}, controller.signal), {
|
|
32499
|
+
onError: ()=>undefined,
|
|
32275
32500
|
signal: controller.signal
|
|
32276
32501
|
});
|
|
32277
32502
|
const reader = flight.getReader();
|