@integrity-labs/agt-cli 0.28.170 → 0.28.172
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-25T4GQTU.js → chunk-N25WAF7G.js} +2 -2
- package/dist/{chunk-VZP5CIVP.js → chunk-OMC7BHRP.js} +43 -64
- package/dist/chunk-OMC7BHRP.js.map +1 -0
- package/dist/{chunk-ZLEYBDHR.js → chunk-XGTHOGKA.js} +2507 -4508
- package/dist/chunk-XGTHOGKA.js.map +1 -0
- package/dist/{claude-pair-runtime-SEFGHAXC.js → claude-pair-runtime-XIVBNVSR.js} +2 -2
- package/dist/lib/manager-worker.js +15 -1112
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +40 -1
- package/dist/mcp/slack-channel.js +43 -2
- package/dist/mcp/teams-channel.js +43 -2
- package/dist/mcp/telegram-channel.js +43 -2
- package/dist/{persistent-session-2QNOLKCT.js → persistent-session-4HC7YFSU.js} +3 -3
- package/dist/{responsiveness-probe-4JPUYWPB.js → responsiveness-probe-W4PCY6HC.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-N25WAF7G.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SEFGHAXC.js.map → claude-pair-runtime-XIVBNVSR.js.map} +0 -0
- /package/dist/{persistent-session-2QNOLKCT.js.map → persistent-session-4HC7YFSU.js.map} +0 -0
- /package/dist/{responsiveness-probe-4JPUYWPB.js.map → responsiveness-probe-W4PCY6HC.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OMC7BHRP.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1588,4 +1588,4 @@ export {
|
|
|
1588
1588
|
stopAllSessionsAndWait,
|
|
1589
1589
|
getProjectDir
|
|
1590
1590
|
};
|
|
1591
|
-
//# sourceMappingURL=chunk-
|
|
1591
|
+
//# sourceMappingURL=chunk-N25WAF7G.js.map
|
|
@@ -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}`;
|
|
@@ -1807,6 +1796,14 @@ var FLAG_REGISTRY = [
|
|
|
1807
1796
|
// flag direction is "no cross-team assignment". No envVar — net-new control
|
|
1808
1797
|
// with no pre-flags env gate to migrate.
|
|
1809
1798
|
defaultValue: false
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
key: "pmf-survey-dispatch",
|
|
1802
|
+
description: "Fortnightly PMF survey dispatch cron (ENG-6936 / ENG-6958). When on, the daily pmf-survey-dispatcher selects each agent reports_to person due on their 14-day anniversary (anchored to their earliest reporting agent) and records a pending dispatch row for the email + in-app senders to fulfil. Global gate; ships dark. The DB stage value is the kill switch (no env override). Off = the cron does nothing, so no survey is ever dispatched.",
|
|
1803
|
+
flagType: "boolean",
|
|
1804
|
+
// Declared safe value is `false`: this drives outbound surveys to customer
|
|
1805
|
+
// contacts, so the absent-flag / fail-safe direction is "send nothing".
|
|
1806
|
+
defaultValue: false
|
|
1810
1807
|
}
|
|
1811
1808
|
];
|
|
1812
1809
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -5621,21 +5618,6 @@ function appendDmFooter(body, teamName, agentDisplayName) {
|
|
|
5621
5618
|
|
|
5622
5619
|
${footer}`;
|
|
5623
5620
|
}
|
|
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
5621
|
|
|
5640
5622
|
// ../../packages/core/dist/delivery/resolve.js
|
|
5641
5623
|
function resolveDmTarget(target, agent, people) {
|
|
@@ -6486,29 +6468,20 @@ export {
|
|
|
6486
6468
|
resolveAgentTimezone,
|
|
6487
6469
|
wrapScheduledTaskPrompt,
|
|
6488
6470
|
buildScheduledTaskContextBlocks,
|
|
6489
|
-
parseDeliveryTarget,
|
|
6490
|
-
isParseError,
|
|
6491
|
-
appendDmFooter,
|
|
6492
|
-
formatForOpenClawCli,
|
|
6493
|
-
resolveDmTarget,
|
|
6494
|
-
isResolveError,
|
|
6495
|
-
deriveConsoleUrl,
|
|
6496
|
-
DEFAULT_MODELS,
|
|
6497
|
-
claudeModelAlias,
|
|
6498
|
-
isClaudeFastMode,
|
|
6499
6471
|
DEFAULT_FRAMEWORK,
|
|
6500
|
-
FRAMEWORK_DEPRECATION,
|
|
6501
6472
|
registerFramework,
|
|
6502
6473
|
getFramework,
|
|
6503
|
-
CHANNEL_REGISTRY,
|
|
6504
|
-
getChannel,
|
|
6505
|
-
getAllChannelIds,
|
|
6506
6474
|
MAX_AVATAR_ENV_URL_BYTES,
|
|
6507
6475
|
resolveAvatarEnvUrl,
|
|
6508
6476
|
OAUTH_PROVIDERS,
|
|
6477
|
+
claudeModelAlias,
|
|
6478
|
+
isClaudeFastMode,
|
|
6509
6479
|
formatActorId,
|
|
6510
6480
|
isSelfCompletion,
|
|
6511
6481
|
classifyActor,
|
|
6482
|
+
CHANNEL_REGISTRY,
|
|
6483
|
+
getChannel,
|
|
6484
|
+
getAllChannelIds,
|
|
6512
6485
|
resolveChannels,
|
|
6513
6486
|
SLACK_SCOPE_CATEGORY_LABELS,
|
|
6514
6487
|
getDefaultSlackScopes,
|
|
@@ -6543,6 +6516,12 @@ export {
|
|
|
6543
6516
|
classifyOutput,
|
|
6544
6517
|
isVacuousDeliverReason,
|
|
6545
6518
|
parseDeliverAssertion,
|
|
6519
|
+
parseDeliveryTarget,
|
|
6520
|
+
isParseError,
|
|
6521
|
+
appendDmFooter,
|
|
6522
|
+
resolveDmTarget,
|
|
6523
|
+
isResolveError,
|
|
6524
|
+
deriveConsoleUrl,
|
|
6546
6525
|
parseUsageBanner,
|
|
6547
6526
|
formatRunMarker,
|
|
6548
6527
|
parseTranscriptUsage,
|
|
@@ -6564,4 +6543,4 @@ export {
|
|
|
6564
6543
|
parseEnvIntegrations,
|
|
6565
6544
|
probeMcpEnvSubstitution
|
|
6566
6545
|
};
|
|
6567
|
-
//# sourceMappingURL=chunk-
|
|
6546
|
+
//# sourceMappingURL=chunk-OMC7BHRP.js.map
|