@integrity-labs/agt-cli 0.28.170 → 0.28.171
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 +14 -43
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-VZP5CIVP.js → chunk-76XB2I4P.js} +35 -64
- package/dist/chunk-76XB2I4P.js.map +1 -0
- package/dist/{chunk-ZLEYBDHR.js → chunk-CPB4L4TB.js} +2499 -4502
- package/dist/chunk-CPB4L4TB.js.map +1 -0
- package/dist/{chunk-25T4GQTU.js → chunk-XJIHUCCF.js} +2 -2
- package/dist/{claude-pair-runtime-SEFGHAXC.js → claude-pair-runtime-37H4BVQC.js} +2 -2
- package/dist/lib/manager-worker.js +15 -1112
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-2QNOLKCT.js → persistent-session-DUKYMEOQ.js} +3 -3
- package/dist/{responsiveness-probe-4JPUYWPB.js → responsiveness-probe-G5VMYV73.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-VZP5CIVP.js.map +0 -1
- package/dist/chunk-ZLEYBDHR.js.map +0 -1
- /package/dist/{chunk-25T4GQTU.js.map → chunk-XJIHUCCF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SEFGHAXC.js.map → claude-pair-runtime-37H4BVQC.js.map} +0 -0
- /package/dist/{persistent-session-2QNOLKCT.js.map → persistent-session-DUKYMEOQ.js.map} +0 -0
- /package/dist/{responsiveness-probe-4JPUYWPB.js.map → responsiveness-probe-G5VMYV73.js.map} +0 -0
|
@@ -15,42 +15,8 @@ function resolveAgentTimezone(agentTimezone, teamTimezone, orgTimezone) {
|
|
|
15
15
|
return "UTC";
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
// ../../packages/core/dist/types/models.js
|
|
19
|
-
var DEFAULT_MODELS = {
|
|
20
|
-
primary: "openrouter/anthropic/claude-opus-4-6",
|
|
21
|
-
secondary: "openrouter/google/gemini-3.1-flash-lite-preview",
|
|
22
|
-
tertiary: "openrouter/openai/gpt-5.4-nano"
|
|
23
|
-
};
|
|
24
|
-
function claudeModelAlias(primaryModel) {
|
|
25
|
-
if (!primaryModel)
|
|
26
|
-
return null;
|
|
27
|
-
const name = (primaryModel.split("/").pop() ?? "").trim().toLowerCase();
|
|
28
|
-
if (!name)
|
|
29
|
-
return null;
|
|
30
|
-
if (name.includes("fable"))
|
|
31
|
-
return "fable";
|
|
32
|
-
if (name.includes("opus"))
|
|
33
|
-
return "opus";
|
|
34
|
-
if (name.includes("sonnet"))
|
|
35
|
-
return "sonnet";
|
|
36
|
-
if (name.includes("haiku"))
|
|
37
|
-
return "haiku";
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
function isClaudeFastMode(primaryModel) {
|
|
41
|
-
if (!primaryModel)
|
|
42
|
-
return false;
|
|
43
|
-
return /\[fast\]/i.test(primaryModel);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
18
|
// ../../packages/core/dist/types/agent.js
|
|
47
19
|
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
20
|
|
|
55
21
|
// ../../packages/core/dist/provisioning/framework-registry.js
|
|
56
22
|
var adapters = /* @__PURE__ */ new Map();
|
|
@@ -92,6 +58,29 @@ function resolveAvatarEnvUrl(raw) {
|
|
|
92
58
|
return { url: trimmed };
|
|
93
59
|
}
|
|
94
60
|
|
|
61
|
+
// ../../packages/core/dist/types/models.js
|
|
62
|
+
function claudeModelAlias(primaryModel) {
|
|
63
|
+
if (!primaryModel)
|
|
64
|
+
return null;
|
|
65
|
+
const name = (primaryModel.split("/").pop() ?? "").trim().toLowerCase();
|
|
66
|
+
if (!name)
|
|
67
|
+
return null;
|
|
68
|
+
if (name.includes("fable"))
|
|
69
|
+
return "fable";
|
|
70
|
+
if (name.includes("opus"))
|
|
71
|
+
return "opus";
|
|
72
|
+
if (name.includes("sonnet"))
|
|
73
|
+
return "sonnet";
|
|
74
|
+
if (name.includes("haiku"))
|
|
75
|
+
return "haiku";
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
function isClaudeFastMode(primaryModel) {
|
|
79
|
+
if (!primaryModel)
|
|
80
|
+
return false;
|
|
81
|
+
return /\[fast\]/i.test(primaryModel);
|
|
82
|
+
}
|
|
83
|
+
|
|
95
84
|
// ../../packages/core/dist/types/kanban.js
|
|
96
85
|
function formatActorId(kind, id) {
|
|
97
86
|
return `${kind}:${id}`;
|
|
@@ -5621,21 +5610,6 @@ function appendDmFooter(body, teamName, agentDisplayName) {
|
|
|
5621
5610
|
|
|
5622
5611
|
${footer}`;
|
|
5623
5612
|
}
|
|
5624
|
-
function formatForOpenClawCli(target) {
|
|
5625
|
-
if (target.kind === "channel") {
|
|
5626
|
-
if (target.provider === "slack") {
|
|
5627
|
-
if (!target.channel_id) {
|
|
5628
|
-
throw new Error("INVALID_DELIVERY_TARGET: slack channel target is missing channel_id");
|
|
5629
|
-
}
|
|
5630
|
-
return `channel:${target.channel_id}`;
|
|
5631
|
-
}
|
|
5632
|
-
if (!target.chat_id) {
|
|
5633
|
-
throw new Error("INVALID_DELIVERY_TARGET: telegram channel target is missing chat_id");
|
|
5634
|
-
}
|
|
5635
|
-
return `chat:${target.chat_id}`;
|
|
5636
|
-
}
|
|
5637
|
-
throw new Error(`DM_NOT_SUPPORTED_ON_FRAMEWORK: dm targets can't be passed to openclaw cron add. See ENG-4423 \xA79.1 and the follow-up ENG-4431.`);
|
|
5638
|
-
}
|
|
5639
5613
|
|
|
5640
5614
|
// ../../packages/core/dist/delivery/resolve.js
|
|
5641
5615
|
function resolveDmTarget(target, agent, people) {
|
|
@@ -6486,29 +6460,20 @@ export {
|
|
|
6486
6460
|
resolveAgentTimezone,
|
|
6487
6461
|
wrapScheduledTaskPrompt,
|
|
6488
6462
|
buildScheduledTaskContextBlocks,
|
|
6489
|
-
parseDeliveryTarget,
|
|
6490
|
-
isParseError,
|
|
6491
|
-
appendDmFooter,
|
|
6492
|
-
formatForOpenClawCli,
|
|
6493
|
-
resolveDmTarget,
|
|
6494
|
-
isResolveError,
|
|
6495
|
-
deriveConsoleUrl,
|
|
6496
|
-
DEFAULT_MODELS,
|
|
6497
|
-
claudeModelAlias,
|
|
6498
|
-
isClaudeFastMode,
|
|
6499
6463
|
DEFAULT_FRAMEWORK,
|
|
6500
|
-
FRAMEWORK_DEPRECATION,
|
|
6501
6464
|
registerFramework,
|
|
6502
6465
|
getFramework,
|
|
6503
|
-
CHANNEL_REGISTRY,
|
|
6504
|
-
getChannel,
|
|
6505
|
-
getAllChannelIds,
|
|
6506
6466
|
MAX_AVATAR_ENV_URL_BYTES,
|
|
6507
6467
|
resolveAvatarEnvUrl,
|
|
6508
6468
|
OAUTH_PROVIDERS,
|
|
6469
|
+
claudeModelAlias,
|
|
6470
|
+
isClaudeFastMode,
|
|
6509
6471
|
formatActorId,
|
|
6510
6472
|
isSelfCompletion,
|
|
6511
6473
|
classifyActor,
|
|
6474
|
+
CHANNEL_REGISTRY,
|
|
6475
|
+
getChannel,
|
|
6476
|
+
getAllChannelIds,
|
|
6512
6477
|
resolveChannels,
|
|
6513
6478
|
SLACK_SCOPE_CATEGORY_LABELS,
|
|
6514
6479
|
getDefaultSlackScopes,
|
|
@@ -6543,6 +6508,12 @@ export {
|
|
|
6543
6508
|
classifyOutput,
|
|
6544
6509
|
isVacuousDeliverReason,
|
|
6545
6510
|
parseDeliverAssertion,
|
|
6511
|
+
parseDeliveryTarget,
|
|
6512
|
+
isParseError,
|
|
6513
|
+
appendDmFooter,
|
|
6514
|
+
resolveDmTarget,
|
|
6515
|
+
isResolveError,
|
|
6516
|
+
deriveConsoleUrl,
|
|
6546
6517
|
parseUsageBanner,
|
|
6547
6518
|
formatRunMarker,
|
|
6548
6519
|
parseTranscriptUsage,
|
|
@@ -6564,4 +6535,4 @@ export {
|
|
|
6564
6535
|
parseEnvIntegrations,
|
|
6565
6536
|
probeMcpEnvSubstitution
|
|
6566
6537
|
};
|
|
6567
|
-
//# sourceMappingURL=chunk-
|
|
6538
|
+
//# sourceMappingURL=chunk-76XB2I4P.js.map
|