@integrity-labs/agt-cli 0.27.142 → 0.27.143
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 +4 -4
- package/dist/{chunk-IDDSO7Q5.js → chunk-BQCBWYT3.js} +2 -2
- package/dist/{chunk-OI33LV54.js → chunk-IKJYJYPI.js} +11 -5
- package/dist/chunk-IKJYJYPI.js.map +1 -0
- package/dist/{chunk-WCXA7EEP.js → chunk-ZXIGQDOP.js} +23 -1
- package/dist/chunk-ZXIGQDOP.js.map +1 -0
- package/dist/{claude-pair-runtime-ZLYTTNUY.js → claude-pair-runtime-Z2WAQRSW.js} +2 -2
- package/dist/lib/manager-worker.js +22 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-SOCMTNFC.js → persistent-session-255IRT6T.js} +3 -3
- package/dist/{responsiveness-probe-USWGCI4C.js → responsiveness-probe-Q35EEOHM.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-OI33LV54.js.map +0 -1
- package/dist/chunk-WCXA7EEP.js.map +0 -1
- /package/dist/{chunk-IDDSO7Q5.js.map → chunk-BQCBWYT3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ZLYTTNUY.js.map → claude-pair-runtime-Z2WAQRSW.js.map} +0 -0
- /package/dist/{persistent-session-SOCMTNFC.js.map → persistent-session-255IRT6T.js.map} +0 -0
- /package/dist/{responsiveness-probe-USWGCI4C.js.map → responsiveness-probe-Q35EEOHM.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
success,
|
|
29
29
|
table,
|
|
30
30
|
warn
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-IKJYJYPI.js";
|
|
32
32
|
import {
|
|
33
33
|
CHANNEL_REGISTRY,
|
|
34
34
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
renderTemplate,
|
|
55
55
|
resolveChannels,
|
|
56
56
|
serializeManifestForSlackCli
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-ZXIGQDOP.js";
|
|
58
58
|
|
|
59
59
|
// src/bin/agt.ts
|
|
60
60
|
import { join as join20 } from "path";
|
|
@@ -4934,7 +4934,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4934
4934
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4935
4935
|
import chalk18 from "chalk";
|
|
4936
4936
|
import ora16 from "ora";
|
|
4937
|
-
var cliVersion = true ? "0.27.
|
|
4937
|
+
var cliVersion = true ? "0.27.143" : "dev";
|
|
4938
4938
|
async function fetchLatestVersion() {
|
|
4939
4939
|
const host2 = getHost();
|
|
4940
4940
|
if (!host2) return null;
|
|
@@ -5857,7 +5857,7 @@ function handleError(err) {
|
|
|
5857
5857
|
}
|
|
5858
5858
|
|
|
5859
5859
|
// src/bin/agt.ts
|
|
5860
|
-
var cliVersion2 = true ? "0.27.
|
|
5860
|
+
var cliVersion2 = true ? "0.27.143" : "dev";
|
|
5861
5861
|
var program = new Command();
|
|
5862
5862
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
5863
5863
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeModelAlias,
|
|
3
3
|
isClaudeFastMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZXIGQDOP.js";
|
|
5
5
|
import {
|
|
6
6
|
getOrCreateDailySession,
|
|
7
7
|
markDailySessionSpawn,
|
|
@@ -1464,4 +1464,4 @@ export {
|
|
|
1464
1464
|
stopAllSessionsAndWait,
|
|
1465
1465
|
getProjectDir
|
|
1466
1466
|
};
|
|
1467
|
-
//# sourceMappingURL=chunk-
|
|
1467
|
+
//# sourceMappingURL=chunk-BQCBWYT3.js.map
|
|
@@ -8,8 +8,9 @@ import {
|
|
|
8
8
|
isParseError,
|
|
9
9
|
parseDeliveryTarget,
|
|
10
10
|
registerFramework,
|
|
11
|
+
resolveAvatarEnvUrl,
|
|
11
12
|
wrapScheduledTaskPrompt
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZXIGQDOP.js";
|
|
13
14
|
|
|
14
15
|
// ../../packages/core/dist/integrations/registry.js
|
|
15
16
|
var INTEGRATION_REGISTRY = [
|
|
@@ -5749,6 +5750,7 @@ ${sections}`
|
|
|
5749
5750
|
}
|
|
5750
5751
|
});
|
|
5751
5752
|
const localSlackChannel = join4(getHomeDir3(), ".augmented", "_mcp", "slack-channel.js");
|
|
5753
|
+
const slackAvatarEnvUrl = resolveAvatarEnvUrl(options?.agentAvatarUrl).url;
|
|
5752
5754
|
const slackEntry = {
|
|
5753
5755
|
command: existsSync5(localSlackChannel) ? "node" : "npx",
|
|
5754
5756
|
args: existsSync5(localSlackChannel) ? [localSlackChannel] : ["-y", "@augmented/claude-code-channel-slack"],
|
|
@@ -5771,7 +5773,8 @@ ${sections}`
|
|
|
5771
5773
|
// first connect (users.setPhoto). Omitted when absent so the bot
|
|
5772
5774
|
// keeps its current photo; the URL's cache-bust param changes on
|
|
5773
5775
|
// re-generation, so the MCP re-applies a new avatar.
|
|
5774
|
-
|
|
5776
|
+
// ENG-6245: slackAvatarEnvUrl is null for data-URI / oversized values.
|
|
5777
|
+
...slackAvatarEnvUrl ? { SLACK_AGENT_AVATAR_URL: slackAvatarEnvUrl } : {},
|
|
5775
5778
|
// ENG-4940: channel-agnostic peer kill switch — same enum
|
|
5776
5779
|
// as the Telegram path emits above. The Slack classifier
|
|
5777
5780
|
// (ENG-4936) honours PEER_DISABLED with identical
|
|
@@ -5927,6 +5930,7 @@ ${sections}`
|
|
|
5927
5930
|
...appToken ? { SLACK_APP_TOKEN: appToken } : {}
|
|
5928
5931
|
}
|
|
5929
5932
|
});
|
|
5933
|
+
const slackAvatarEnvUrl = resolveAvatarEnvUrl(options?.agentAvatarUrl).url;
|
|
5930
5934
|
if (isPersistent && existsSync5(localSlackChannel)) {
|
|
5931
5935
|
mcpServers["slack"] = {
|
|
5932
5936
|
command: "node",
|
|
@@ -5943,7 +5947,8 @@ ${sections}`
|
|
|
5943
5947
|
...tzEnv,
|
|
5944
5948
|
// ENG-6155: avatar URL → bot Slack profile photo (see persistent
|
|
5945
5949
|
// branch above). Mirrored here so oneshot-mode agents get it too.
|
|
5946
|
-
|
|
5950
|
+
// ENG-6245: slackAvatarEnvUrl is null for data-URI / oversized values.
|
|
5951
|
+
...slackAvatarEnvUrl ? { SLACK_AGENT_AVATAR_URL: slackAvatarEnvUrl } : {}
|
|
5947
5952
|
}
|
|
5948
5953
|
};
|
|
5949
5954
|
} else {
|
|
@@ -5962,7 +5967,8 @@ ${sections}`
|
|
|
5962
5967
|
...tzEnv,
|
|
5963
5968
|
// ENG-6155: avatar URL → bot Slack profile photo (see persistent
|
|
5964
5969
|
// branch above). Mirrored here so oneshot-mode agents get it too.
|
|
5965
|
-
|
|
5970
|
+
// ENG-6245: slackAvatarEnvUrl is null for data-URI / oversized values.
|
|
5971
|
+
...slackAvatarEnvUrl ? { SLACK_AGENT_AVATAR_URL: slackAvatarEnvUrl } : {}
|
|
5966
5972
|
}
|
|
5967
5973
|
};
|
|
5968
5974
|
}
|
|
@@ -7862,4 +7868,4 @@ export {
|
|
|
7862
7868
|
managerInstallSystemUnitCommand,
|
|
7863
7869
|
managerUninstallSystemUnitCommand
|
|
7864
7870
|
};
|
|
7865
|
-
//# sourceMappingURL=chunk-
|
|
7871
|
+
//# sourceMappingURL=chunk-IKJYJYPI.js.map
|