@integrity-labs/agt-cli 0.28.903 → 0.28.905
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 +3 -3
- package/dist/{chunk-WL2PIPOM.js → chunk-YA7AXSKP.js} +2 -2
- package/dist/lib/manager-worker.js +2 -2
- package/dist/mcp/whatsapp-channel.js +11 -1
- package/dist/mcp/whatsapp-link.js +11 -1
- package/package.json +1 -1
- /package/dist/{chunk-WL2PIPOM.js.map → chunk-YA7AXSKP.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-YA7AXSKP.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.905" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6658,7 +6658,7 @@ function handleError(err) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.905" : "dev";
|
|
6662
6662
|
var program = new Command();
|
|
6663
6663
|
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");
|
|
6664
6664
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6841,7 +6841,7 @@ function exchangeFailureKind(err) {
|
|
|
6841
6841
|
}
|
|
6842
6842
|
|
|
6843
6843
|
// src/lib/api-client.ts
|
|
6844
|
-
var agtCliVersion = true ? "0.28.
|
|
6844
|
+
var agtCliVersion = true ? "0.28.905" : "dev";
|
|
6845
6845
|
var lastConfigHash = null;
|
|
6846
6846
|
function setConfigHash(hash) {
|
|
6847
6847
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11451,4 +11451,4 @@ export {
|
|
|
11451
11451
|
managerInstallSystemUnitCommand,
|
|
11452
11452
|
managerUninstallSystemUnitCommand
|
|
11453
11453
|
};
|
|
11454
|
-
//# sourceMappingURL=chunk-
|
|
11454
|
+
//# sourceMappingURL=chunk-YA7AXSKP.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-YA7AXSKP.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -13721,7 +13721,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13721
13721
|
var lastVersionCheckAt = 0;
|
|
13722
13722
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13723
13723
|
var lastResponsivenessProbeAt = 0;
|
|
13724
|
-
var agtCliVersion = true ? "0.28.
|
|
13724
|
+
var agtCliVersion = true ? "0.28.905" : "dev";
|
|
13725
13725
|
function resolveBrewPath(execFileSync2) {
|
|
13726
13726
|
try {
|
|
13727
13727
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -155820,7 +155820,17 @@ async function startBaileysSession(opts) {
|
|
|
155820
155820
|
const connect = () => {
|
|
155821
155821
|
sock = lib_default({
|
|
155822
155822
|
auth: state,
|
|
155823
|
-
|
|
155823
|
+
// The label the customer sees under "Linked devices" in their own
|
|
155824
|
+
// WhatsApp. Renaming it is safe for a LIVE session and does not re-pair:
|
|
155825
|
+
// baileys branches on `creds.me` (Socket/socket.js), and only the
|
|
155826
|
+
// unregistered arm builds `generateRegistrationNode`, which is where
|
|
155827
|
+
// `browser` becomes the DeviceProps the server records. The registered
|
|
155828
|
+
// arm builds `generateLoginNode`, whose payload never reads `browser`
|
|
155829
|
+
// (`getUserAgent` is version/locale constants; `getWebInfo` only tests
|
|
155830
|
+
// `browser[1] === 'Desktop'`, false either way). The corollary is that an
|
|
155831
|
+
// ALREADY-LINKED device keeps saying "Augmented Team (Ubuntu)" until the
|
|
155832
|
+
// customer unlinks and re-pairs — the new label reaches new links only.
|
|
155833
|
+
browser: Browsers.ubuntu("Ninjafy"),
|
|
155824
155834
|
markOnlineOnConnect: false,
|
|
155825
155835
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
155826
155836
|
logger: silentLogger(),
|
|
@@ -146452,7 +146452,17 @@ async function startBaileysSession(opts) {
|
|
|
146452
146452
|
const connect = () => {
|
|
146453
146453
|
sock = lib_default({
|
|
146454
146454
|
auth: state,
|
|
146455
|
-
|
|
146455
|
+
// The label the customer sees under "Linked devices" in their own
|
|
146456
|
+
// WhatsApp. Renaming it is safe for a LIVE session and does not re-pair:
|
|
146457
|
+
// baileys branches on `creds.me` (Socket/socket.js), and only the
|
|
146458
|
+
// unregistered arm builds `generateRegistrationNode`, which is where
|
|
146459
|
+
// `browser` becomes the DeviceProps the server records. The registered
|
|
146460
|
+
// arm builds `generateLoginNode`, whose payload never reads `browser`
|
|
146461
|
+
// (`getUserAgent` is version/locale constants; `getWebInfo` only tests
|
|
146462
|
+
// `browser[1] === 'Desktop'`, false either way). The corollary is that an
|
|
146463
|
+
// ALREADY-LINKED device keeps saying "Augmented Team (Ubuntu)" until the
|
|
146464
|
+
// customer unlinks and re-pairs — the new label reaches new links only.
|
|
146465
|
+
browser: Browsers.ubuntu("Ninjafy"),
|
|
146456
146466
|
markOnlineOnConnect: false,
|
|
146457
146467
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
146458
146468
|
logger: silentLogger(),
|
package/package.json
CHANGED
|
File without changes
|