chatroom-cli 1.97.0 → 1.97.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -6
- package/dist/index.js.map +4 -4
- package/dist/node-launch.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -31649,7 +31649,8 @@ function waitForResumeOrAbort3(session2) {
|
|
|
31649
31649
|
function buildLocalAgentOptions(cwd) {
|
|
31650
31650
|
return {
|
|
31651
31651
|
cwd,
|
|
31652
|
-
settingSources: []
|
|
31652
|
+
settingSources: [],
|
|
31653
|
+
enableAgentRetries: true
|
|
31653
31654
|
};
|
|
31654
31655
|
}
|
|
31655
31656
|
function writeSpawnError3(logPrefix, err, emitLogLine) {
|
|
@@ -31662,8 +31663,8 @@ function writeSpawnError3(logPrefix, err, emitLogLine) {
|
|
|
31662
31663
|
var NO_SUBAGENT_DIRECTIVE2 = "NEVER spawn subagents. Follow the chatroom instructions strictly.", _sdkCache3, _sdkLoadError3, CURSOR_SDK_COMMAND = "cursor-sdk", AGENT_CREATE_TIMEOUT_MS = 60000, SEND_TIMEOUT_MS = 60000, RUN_WAIT_TIMEOUT_MS = 3600000, RUN_CANCEL_TIMEOUT_MS = 5000, cachedSdkPackageVersion3, CursorSdkAgentService;
|
|
31663
31664
|
var init_cursor_sdk_agent_service = __esm(() => {
|
|
31664
31665
|
init_esm();
|
|
31665
|
-
init_cursor_sdk_model_catalog();
|
|
31666
31666
|
init_cursor_models();
|
|
31667
|
+
init_cursor_sdk_model_catalog();
|
|
31667
31668
|
init_cursor_sdk_package();
|
|
31668
31669
|
init_cursor_sdk_stream_adapter();
|
|
31669
31670
|
init_base_cli_agent_service();
|
|
@@ -106590,7 +106591,7 @@ class CursorSdkHarness {
|
|
|
106590
106591
|
const agent = await withTimeout(Agent.create({
|
|
106591
106592
|
apiKey,
|
|
106592
106593
|
model: modelSelection,
|
|
106593
|
-
local: { cwd: this.cwd, settingSources: [] }
|
|
106594
|
+
local: { cwd: this.cwd, settingSources: [], enableAgentRetries: true }
|
|
106594
106595
|
}), AGENT_CREATE_TIMEOUT_MS2, "Agent.create");
|
|
106595
106596
|
const session2 = new CursorSdkSession({
|
|
106596
106597
|
agent,
|
|
@@ -106614,7 +106615,7 @@ class CursorSdkHarness {
|
|
|
106614
106615
|
const agent = await withTimeout(Agent.resume(sessionId, {
|
|
106615
106616
|
apiKey,
|
|
106616
106617
|
model: resolveCursorSdkSpawnModelSelection(DEFAULT_MODEL2),
|
|
106617
|
-
local: { cwd: this.cwd, settingSources: [] }
|
|
106618
|
+
local: { cwd: this.cwd, settingSources: [], enableAgentRetries: true }
|
|
106618
106619
|
}), AGENT_CREATE_TIMEOUT_MS2, "Agent.resume");
|
|
106619
106620
|
const session2 = new CursorSdkSession({
|
|
106620
106621
|
agent,
|
|
@@ -106653,8 +106654,8 @@ var DEFAULT_MODEL2 = "composer-2.5", AGENT_CREATE_TIMEOUT_MS2 = 60000, _sdkCache
|
|
|
106653
106654
|
};
|
|
106654
106655
|
var init_cursor_harness = __esm(() => {
|
|
106655
106656
|
init_cursor_session();
|
|
106656
|
-
init_cursor_sdk_model_catalog();
|
|
106657
106657
|
init_cursor_models();
|
|
106658
|
+
init_cursor_sdk_model_catalog();
|
|
106658
106659
|
init_cursor_sdk_package();
|
|
106659
106660
|
});
|
|
106660
106661
|
|
|
@@ -129153,4 +129154,4 @@ program2.hook("preAction", async (_thisCommand, actionCommand) => {
|
|
|
129153
129154
|
});
|
|
129154
129155
|
program2.parse();
|
|
129155
129156
|
|
|
129156
|
-
//# debugId=
|
|
129157
|
+
//# debugId=8802CE1D5113F46664756E2164756E21
|