@integrity-labs/agt-cli 0.28.1100 → 0.28.1101
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-BCIY67GX.js → chunk-3ZUCX5MN.js} +2 -2
- package/dist/lib/manager-worker.js +2 -2
- package/dist/mcp/slack-channel.js +4 -1
- package/dist/mcp/telegram-channel.js +5 -2
- package/package.json +1 -1
- /package/dist/{chunk-BCIY67GX.js.map → chunk-3ZUCX5MN.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-3ZUCX5MN.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5474
5474
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5475
5475
|
import chalk18 from "chalk";
|
|
5476
5476
|
import ora16 from "ora";
|
|
5477
|
-
var cliVersion = true ? "0.28.
|
|
5477
|
+
var cliVersion = true ? "0.28.1101" : "dev";
|
|
5478
5478
|
async function fetchLatestVersion() {
|
|
5479
5479
|
const host2 = getHost();
|
|
5480
5480
|
if (!host2) return null;
|
|
@@ -6734,7 +6734,7 @@ function handleError(err) {
|
|
|
6734
6734
|
}
|
|
6735
6735
|
|
|
6736
6736
|
// src/bin/agt.ts
|
|
6737
|
-
var cliVersion2 = true ? "0.28.
|
|
6737
|
+
var cliVersion2 = true ? "0.28.1101" : "dev";
|
|
6738
6738
|
var program = new Command();
|
|
6739
6739
|
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");
|
|
6740
6740
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -7122,7 +7122,7 @@ function exchangeFailureKind(err) {
|
|
|
7122
7122
|
}
|
|
7123
7123
|
|
|
7124
7124
|
// src/lib/api-client.ts
|
|
7125
|
-
var agtCliVersion = true ? "0.28.
|
|
7125
|
+
var agtCliVersion = true ? "0.28.1101" : "dev";
|
|
7126
7126
|
var lastConfigHash = null;
|
|
7127
7127
|
function setConfigHash(hash) {
|
|
7128
7128
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -12095,4 +12095,4 @@ export {
|
|
|
12095
12095
|
managerInstallSystemUnitCommand,
|
|
12096
12096
|
managerUninstallSystemUnitCommand
|
|
12097
12097
|
};
|
|
12098
|
-
//# sourceMappingURL=chunk-
|
|
12098
|
+
//# sourceMappingURL=chunk-3ZUCX5MN.js.map
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
safeWriteJsonAtomic,
|
|
68
68
|
setConfigHash,
|
|
69
69
|
tripClass
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-3ZUCX5MN.js";
|
|
71
71
|
import {
|
|
72
72
|
getProjectDir as getProjectDir2,
|
|
73
73
|
getReadyTasks,
|
|
@@ -14900,7 +14900,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14900
14900
|
var lastVersionCheckAt = 0;
|
|
14901
14901
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14902
14902
|
var lastResponsivenessProbeAt = 0;
|
|
14903
|
-
var agtCliVersion = true ? "0.28.
|
|
14903
|
+
var agtCliVersion = true ? "0.28.1101" : "dev";
|
|
14904
14904
|
function resolveBrewPath(execFileSync3) {
|
|
14905
14905
|
try {
|
|
14906
14906
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -22832,7 +22832,8 @@ async function resolveInteractive(cfg, input) {
|
|
|
22832
22832
|
responded_by_user: input.respondedByUser,
|
|
22833
22833
|
response_url: input.responseUrl,
|
|
22834
22834
|
original_blocks: input.originalBlocks,
|
|
22835
|
-
trigger_id: input.triggerId
|
|
22835
|
+
trigger_id: input.triggerId,
|
|
22836
|
+
...input.slackWorkspaceId ? { surface_channel: "slack", surface_workspace_id: input.slackWorkspaceId } : {}
|
|
22836
22837
|
});
|
|
22837
22838
|
if (!res.ok) {
|
|
22838
22839
|
const body = await res.text().catch(() => "");
|
|
@@ -50367,6 +50368,8 @@ async function connectSocketMode() {
|
|
|
50367
50368
|
callbackId: decoded.callbackId,
|
|
50368
50369
|
token: decoded.token,
|
|
50369
50370
|
respondedByUser: msg.payload.user?.id,
|
|
50371
|
+
// ENG-11372 PR3: the tap's workspace, for the API's binding shadow.
|
|
50372
|
+
slackWorkspaceId: msg.payload.team?.id,
|
|
50370
50373
|
originalBlocks: msg.payload.message?.blocks,
|
|
50371
50374
|
responseUrl: msg.payload.response_url,
|
|
50372
50375
|
// ENG-7170: forwarded so the resolver's form_request branch can
|
|
@@ -22832,7 +22832,8 @@ async function resolveInteractive(cfg, input) {
|
|
|
22832
22832
|
responded_by_user: input.respondedByUser,
|
|
22833
22833
|
response_url: input.responseUrl,
|
|
22834
22834
|
original_blocks: input.originalBlocks,
|
|
22835
|
-
trigger_id: input.triggerId
|
|
22835
|
+
trigger_id: input.triggerId,
|
|
22836
|
+
...input.slackWorkspaceId ? { surface_channel: "slack", surface_workspace_id: input.slackWorkspaceId } : {}
|
|
22836
22837
|
});
|
|
22837
22838
|
if (!res.ok) {
|
|
22838
22839
|
const body = await res.text().catch(() => "");
|
|
@@ -46763,7 +46764,9 @@ async function handleCallbackQuery(cb) {
|
|
|
46763
46764
|
agent_id: cfg.agentId,
|
|
46764
46765
|
callback_id: decoded.callbackId,
|
|
46765
46766
|
token: decoded.token,
|
|
46766
|
-
responded_by_user: String(cb.from.id)
|
|
46767
|
+
responded_by_user: String(cb.from.id),
|
|
46768
|
+
// ENG-11372 PR3: names the chat for the API's binding shadow.
|
|
46769
|
+
surface_channel: "telegram"
|
|
46767
46770
|
});
|
|
46768
46771
|
resolveResult = await res.json().catch(() => ({}));
|
|
46769
46772
|
if (!res.ok || !resolveResult.ok) {
|
package/package.json
CHANGED
|
File without changes
|