@integrity-labs/agt-cli 0.28.402 → 0.28.403
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-CVID4T6Q.js → chunk-VASIOHUO.js} +2 -2
- package/dist/lib/manager-worker.js +2 -2
- package/dist/mcp/slack-channel.js +5 -0
- package/dist/mcp/telegram-channel.js +6 -0
- package/package.json +1 -1
- /package/dist/{chunk-CVID4T6Q.js.map → chunk-VASIOHUO.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-VASIOHUO.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.403" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.403" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6213,7 +6213,7 @@ function requireHost() {
|
|
|
6213
6213
|
}
|
|
6214
6214
|
|
|
6215
6215
|
// src/lib/api-client.ts
|
|
6216
|
-
var agtCliVersion = true ? "0.28.
|
|
6216
|
+
var agtCliVersion = true ? "0.28.403" : "dev";
|
|
6217
6217
|
var lastConfigHash = null;
|
|
6218
6218
|
function setConfigHash(hash) {
|
|
6219
6219
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8693,4 +8693,4 @@ export {
|
|
|
8693
8693
|
managerInstallSystemUnitCommand,
|
|
8694
8694
|
managerUninstallSystemUnitCommand
|
|
8695
8695
|
};
|
|
8696
|
-
//# sourceMappingURL=chunk-
|
|
8696
|
+
//# sourceMappingURL=chunk-VASIOHUO.js.map
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
resolveEffectivePinRaw,
|
|
45
45
|
safeWriteJsonAtomic,
|
|
46
46
|
setConfigHash
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-VASIOHUO.js";
|
|
48
48
|
import {
|
|
49
49
|
getProjectDir as getProjectDir2,
|
|
50
50
|
getReadyTasks,
|
|
@@ -9254,7 +9254,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9254
9254
|
var lastVersionCheckAt = 0;
|
|
9255
9255
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9256
9256
|
var lastResponsivenessProbeAt = 0;
|
|
9257
|
-
var agtCliVersion = true ? "0.28.
|
|
9257
|
+
var agtCliVersion = true ? "0.28.403" : "dev";
|
|
9258
9258
|
function resolveBrewPath(execFileSync2) {
|
|
9259
9259
|
try {
|
|
9260
9260
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -38816,6 +38816,11 @@ var conversationIngestClient = createConversationIngestClient({
|
|
|
38816
38816
|
log: (line) => process.stderr.write(`slack-channel: ${line}
|
|
38817
38817
|
`)
|
|
38818
38818
|
});
|
|
38819
|
+
if (!conversationIngestClient) {
|
|
38820
|
+
process.stderr.write(
|
|
38821
|
+
"slack-channel: conversation ingest DISABLED (missing AGT_HOST / AGT_API_KEY / AGT_AGENT_ID) - 'Last human activity' will not update for this agent\n"
|
|
38822
|
+
);
|
|
38823
|
+
}
|
|
38819
38824
|
var inboundContextClient = createInboundContextClient({
|
|
38820
38825
|
agtHost: AGT_HOST,
|
|
38821
38826
|
agtApiKey: AGT_API_KEY,
|
|
@@ -37693,6 +37693,12 @@ var conversationIngestClient = createConversationIngestClient({
|
|
|
37693
37693
|
log: (line) => process.stderr.write(`telegram-channel(${AGENT_CODE_NAME}): ${line}
|
|
37694
37694
|
`)
|
|
37695
37695
|
});
|
|
37696
|
+
if (!conversationIngestClient) {
|
|
37697
|
+
process.stderr.write(
|
|
37698
|
+
`telegram-channel(${AGENT_CODE_NAME}): conversation ingest DISABLED (missing AGT_HOST / AGT_API_KEY / AGT_AGENT_ID) - 'Last human activity' will not update for this agent
|
|
37699
|
+
`
|
|
37700
|
+
);
|
|
37701
|
+
}
|
|
37696
37702
|
var inboundContextClient = createInboundContextClient({
|
|
37697
37703
|
agtHost: AGT_HOST,
|
|
37698
37704
|
agtApiKey: AGT_API_KEY,
|
package/package.json
CHANGED
|
File without changes
|