@evident-ai/cli 3.5.2-dev.fdeb718 → 3.6.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/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1326,7 +1326,7 @@ import ora4 from "ora";
|
|
|
1326
1326
|
import { select as select4 } from "@inquirer/prompts";
|
|
1327
1327
|
|
|
1328
1328
|
// src/lib/telemetry.ts
|
|
1329
|
-
var CLI_VERSION = (true ? "3.
|
|
1329
|
+
var CLI_VERSION = (true ? "3.6.0" : void 0) ?? process.env.npm_package_version ?? "unknown";
|
|
1330
1330
|
function getCliVersion() {
|
|
1331
1331
|
return CLI_VERSION;
|
|
1332
1332
|
}
|
|
@@ -10800,7 +10800,8 @@ var ChannelDriver = class _ChannelDriver {
|
|
|
10800
10800
|
usage,
|
|
10801
10801
|
void 0,
|
|
10802
10802
|
usageAgentName,
|
|
10803
|
-
subagentInvocations
|
|
10803
|
+
subagentInvocations,
|
|
10804
|
+
true
|
|
10804
10805
|
);
|
|
10805
10806
|
} catch (err) {
|
|
10806
10807
|
if (err instanceof ChannelAuthError) throw err;
|
|
@@ -12646,7 +12647,7 @@ var ChannelDriver = class _ChannelDriver {
|
|
|
12646
12647
|
* exists but is wedged, so the next attempt must get a fresh one
|
|
12647
12648
|
* instead of reusing it — see WI-1's server-side null-clearing PATCH).
|
|
12648
12649
|
*/
|
|
12649
|
-
async markFailed(conversationId, messageId, sessionId, error2, usage, failure, usageAgentName, subagentInvocations) {
|
|
12650
|
+
async markFailed(conversationId, messageId, sessionId, error2, usage, failure, usageAgentName, subagentInvocations, abandonedWithoutAnswer) {
|
|
12650
12651
|
const body = { status: "failed" };
|
|
12651
12652
|
if (sessionId === null) {
|
|
12652
12653
|
body.opencode_session_id = null;
|
|
@@ -12671,6 +12672,7 @@ var ChannelDriver = class _ChannelDriver {
|
|
|
12671
12672
|
body.failure_model_id = failure.classification.modelId;
|
|
12672
12673
|
body.failure_reason = failure.classification.reason;
|
|
12673
12674
|
}
|
|
12675
|
+
if (abandonedWithoutAnswer) body.abandoned_without_answer = true;
|
|
12674
12676
|
try {
|
|
12675
12677
|
await this.callWithRetry(
|
|
12676
12678
|
"marking message as failed",
|