@integrity-labs/agt-cli 0.28.158 → 0.28.160
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/bin/agt.js +8 -7
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-3OLFOA4F.js → chunk-23U3HSVH.js} +33 -3
- package/dist/chunk-23U3HSVH.js.map +1 -0
- package/dist/{chunk-TLX6ORJ5.js → chunk-65FVM2UA.js} +85 -1
- package/dist/chunk-65FVM2UA.js.map +1 -0
- package/dist/{chunk-E6ABR63O.js → chunk-GZG5JRRX.js} +2 -2
- package/dist/{claude-pair-runtime-SXO5Q5R6.js → claude-pair-runtime-HN3PEIZ2.js} +2 -2
- package/dist/lib/manager-worker.js +44 -37
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-N7WFONZC.js → persistent-session-TSVRKR7F.js} +3 -3
- package/dist/{responsiveness-probe-UXJY4YRL.js → responsiveness-probe-DXPMUSVR.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3OLFOA4F.js.map +0 -1
- package/dist/chunk-TLX6ORJ5.js.map +0 -1
- /package/dist/{chunk-E6ABR63O.js.map → chunk-GZG5JRRX.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SXO5Q5R6.js.map → claude-pair-runtime-HN3PEIZ2.js.map} +0 -0
- /package/dist/{persistent-session-N7WFONZC.js.map → persistent-session-TSVRKR7F.js.map} +0 -0
- /package/dist/{responsiveness-probe-UXJY4YRL.js.map → responsiveness-probe-DXPMUSVR.js.map} +0 -0
|
@@ -43,15 +43,32 @@ function isClaudeFastMode(primaryModel) {
|
|
|
43
43
|
return /\[fast\]/i.test(primaryModel);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
// ../../packages/core/dist/types/agent.js
|
|
47
|
+
var DEFAULT_FRAMEWORK = "claude-code";
|
|
48
|
+
var FRAMEWORK_DEPRECATION = {
|
|
49
|
+
openclaw: true,
|
|
50
|
+
nemoclaw: true,
|
|
51
|
+
"claude-code": false,
|
|
52
|
+
"managed-agents": true
|
|
53
|
+
};
|
|
54
|
+
|
|
46
55
|
// ../../packages/core/dist/provisioning/framework-registry.js
|
|
47
56
|
var adapters = /* @__PURE__ */ new Map();
|
|
48
57
|
function registerFramework(adapter) {
|
|
49
58
|
adapters.set(adapter.id, adapter);
|
|
50
59
|
}
|
|
60
|
+
function frameworkDeprecationNotice(id) {
|
|
61
|
+
return `[deprecated] Framework "${id}" is deprecated and no longer offered for new agents or hosts. Claude Code is the supported framework. Existing agents keep running; plan a migration to claude-code.`;
|
|
62
|
+
}
|
|
63
|
+
var warnedDeprecated = /* @__PURE__ */ new Set();
|
|
51
64
|
function getFramework(id) {
|
|
52
65
|
const adapter = adapters.get(id);
|
|
53
66
|
if (!adapter)
|
|
54
67
|
throw new Error(`Unknown framework: "${id}". Registered: ${[...adapters.keys()].join(", ")}`);
|
|
68
|
+
if (adapter.deprecated && !warnedDeprecated.has(id)) {
|
|
69
|
+
warnedDeprecated.add(id);
|
|
70
|
+
console.warn(frameworkDeprecationNotice(id));
|
|
71
|
+
}
|
|
55
72
|
return adapter;
|
|
56
73
|
}
|
|
57
74
|
|
|
@@ -5999,6 +6016,68 @@ var PERIOD_WINDOW_MS = {
|
|
|
5999
6016
|
"30d": 30 * 24 * 60 * 60 * 1e3
|
|
6000
6017
|
};
|
|
6001
6018
|
|
|
6019
|
+
// ../../packages/core/dist/conversations/eval-failure-categories.js
|
|
6020
|
+
var CONVERSATION_FAILURE_CATEGORIES = [
|
|
6021
|
+
"unresolved",
|
|
6022
|
+
"incorrect",
|
|
6023
|
+
"missing_integration",
|
|
6024
|
+
"missing_skill",
|
|
6025
|
+
"lacking_permission",
|
|
6026
|
+
"out_of_scope",
|
|
6027
|
+
"user_abandoned",
|
|
6028
|
+
"agent_unresponsive",
|
|
6029
|
+
"other"
|
|
6030
|
+
];
|
|
6031
|
+
var CONVERSATION_FAILURE_CATEGORY_INFO = {
|
|
6032
|
+
unresolved: {
|
|
6033
|
+
label: "Unresolved",
|
|
6034
|
+
description: "Could not resolve the user's request."
|
|
6035
|
+
},
|
|
6036
|
+
incorrect: {
|
|
6037
|
+
label: "Incorrect answer",
|
|
6038
|
+
description: "Gave a wrong or misleading answer."
|
|
6039
|
+
},
|
|
6040
|
+
missing_integration: {
|
|
6041
|
+
label: "Missing integration",
|
|
6042
|
+
description: "Lacked a connected integration or external service needed to help."
|
|
6043
|
+
},
|
|
6044
|
+
missing_skill: {
|
|
6045
|
+
label: "Missing skill",
|
|
6046
|
+
description: "Lacked a skill or ability needed to perform the task."
|
|
6047
|
+
},
|
|
6048
|
+
lacking_permission: {
|
|
6049
|
+
label: "Lacking permission",
|
|
6050
|
+
description: "Lacked permission or authorization to perform the action."
|
|
6051
|
+
},
|
|
6052
|
+
out_of_scope: {
|
|
6053
|
+
label: "Out of scope",
|
|
6054
|
+
description: "Request was outside the agent's remit."
|
|
6055
|
+
},
|
|
6056
|
+
user_abandoned: {
|
|
6057
|
+
label: "User abandoned",
|
|
6058
|
+
description: "User dropped off before resolution."
|
|
6059
|
+
},
|
|
6060
|
+
agent_unresponsive: {
|
|
6061
|
+
label: "Agent unresponsive",
|
|
6062
|
+
description: "Agent stopped responding or never replied to the user."
|
|
6063
|
+
},
|
|
6064
|
+
other: {
|
|
6065
|
+
label: "Other",
|
|
6066
|
+
description: "Failed for a reason outside the set above."
|
|
6067
|
+
}
|
|
6068
|
+
};
|
|
6069
|
+
function buildFailureCategoryPromptLines() {
|
|
6070
|
+
return CONVERSATION_FAILURE_CATEGORIES.map((c) => `"${c}" (${CONVERSATION_FAILURE_CATEGORY_INFO[c].description})`).join(", ");
|
|
6071
|
+
}
|
|
6072
|
+
function isConversationFailureCategory(v) {
|
|
6073
|
+
return typeof v === "string" && CONVERSATION_FAILURE_CATEGORIES.includes(v);
|
|
6074
|
+
}
|
|
6075
|
+
var PERIOD_WINDOW_MS2 = {
|
|
6076
|
+
"24h": 24 * 60 * 60 * 1e3,
|
|
6077
|
+
"7d": 7 * 24 * 60 * 60 * 1e3,
|
|
6078
|
+
"30d": 30 * 24 * 60 * 60 * 1e3
|
|
6079
|
+
};
|
|
6080
|
+
|
|
6002
6081
|
// ../../packages/core/dist/ratings/kanban-ratings.js
|
|
6003
6082
|
var RATING_MA_WINDOW_MS = 28 * 24 * 60 * 60 * 1e3;
|
|
6004
6083
|
var PERIOD_CONFIG3 = {
|
|
@@ -6327,6 +6406,8 @@ export {
|
|
|
6327
6406
|
DEFAULT_MODELS,
|
|
6328
6407
|
claudeModelAlias,
|
|
6329
6408
|
isClaudeFastMode,
|
|
6409
|
+
DEFAULT_FRAMEWORK,
|
|
6410
|
+
FRAMEWORK_DEPRECATION,
|
|
6330
6411
|
registerFramework,
|
|
6331
6412
|
getFramework,
|
|
6332
6413
|
CHANNEL_REGISTRY,
|
|
@@ -6379,6 +6460,9 @@ export {
|
|
|
6379
6460
|
isEmptyTotals,
|
|
6380
6461
|
attributeTranscriptUsageByRun,
|
|
6381
6462
|
KANBAN_CHECK_COMMAND,
|
|
6463
|
+
CONVERSATION_FAILURE_CATEGORIES,
|
|
6464
|
+
buildFailureCategoryPromptLines,
|
|
6465
|
+
isConversationFailureCategory,
|
|
6382
6466
|
FLAG_REGISTRY,
|
|
6383
6467
|
getFlagDefinition,
|
|
6384
6468
|
listFlagDefinitions,
|
|
@@ -6390,4 +6474,4 @@ export {
|
|
|
6390
6474
|
parseEnvIntegrations,
|
|
6391
6475
|
probeMcpEnvSubstitution
|
|
6392
6476
|
};
|
|
6393
|
-
//# sourceMappingURL=chunk-
|
|
6477
|
+
//# sourceMappingURL=chunk-65FVM2UA.js.map
|