@integrity-labs/agt-cli 0.28.147 → 0.28.148
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-H7DPP33E.js → chunk-6BJVRM6Y.js} +2 -2
- package/dist/{chunk-FAWY7H7Q.js → chunk-LCEI5TTS.js} +43 -4
- package/dist/chunk-LCEI5TTS.js.map +1 -0
- package/dist/{chunk-POW4BZEC.js → chunk-XZGF45BJ.js} +41 -1
- package/dist/chunk-XZGF45BJ.js.map +1 -0
- package/dist/{claude-pair-runtime-E32P2WMR.js → claude-pair-runtime-AXBFPLBA.js} +2 -2
- package/dist/lib/manager-worker.js +12 -8
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +2 -0
- package/dist/mcp/index.js +2 -0
- package/dist/mcp/slack-channel.js +2 -0
- package/dist/mcp/teams-channel.js +2 -0
- package/dist/mcp/telegram-channel.js +2 -0
- package/dist/mcp/whatsapp-channel.js +148623 -6555
- package/dist/mcp/whatsapp-link.js +146629 -0
- package/dist/{persistent-session-ERNRO4J6.js → persistent-session-IRXYCR5Q.js} +3 -3
- package/dist/{responsiveness-probe-BLJS46ME.js → responsiveness-probe-VVDZTLJS.js} +3 -3
- package/package.json +2 -2
- package/dist/chunk-FAWY7H7Q.js.map +0 -1
- package/dist/chunk-POW4BZEC.js.map +0 -1
- /package/dist/{chunk-H7DPP33E.js.map → chunk-6BJVRM6Y.js.map} +0 -0
- /package/dist/{claude-pair-runtime-E32P2WMR.js.map → claude-pair-runtime-AXBFPLBA.js.map} +0 -0
- /package/dist/{persistent-session-ERNRO4J6.js.map → persistent-session-IRXYCR5Q.js.map} +0 -0
- /package/dist/{responsiveness-probe-BLJS46ME.js.map → responsiveness-probe-VVDZTLJS.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
success,
|
|
38
38
|
table,
|
|
39
39
|
warn
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-LCEI5TTS.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
renderTemplate,
|
|
65
65
|
resolveChannels,
|
|
66
66
|
serializeManifestForSlackCli
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-XZGF45BJ.js";
|
|
68
68
|
|
|
69
69
|
// src/bin/agt.ts
|
|
70
70
|
import { join as join22 } from "path";
|
|
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4777
4777
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4778
4778
|
import chalk18 from "chalk";
|
|
4779
4779
|
import ora16 from "ora";
|
|
4780
|
-
var cliVersion = true ? "0.28.
|
|
4780
|
+
var cliVersion = true ? "0.28.148" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5791,7 +5791,7 @@ function handleError(err) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
|
|
5793
5793
|
// src/bin/agt.ts
|
|
5794
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.148" : "dev";
|
|
5795
5795
|
var program = new Command();
|
|
5796
5796
|
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");
|
|
5797
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZGF45BJ.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1590,4 +1590,4 @@ export {
|
|
|
1590
1590
|
stopAllSessionsAndWait,
|
|
1591
1591
|
getProjectDir
|
|
1592
1592
|
};
|
|
1593
|
-
//# sourceMappingURL=chunk-
|
|
1593
|
+
//# sourceMappingURL=chunk-6BJVRM6Y.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XZGF45BJ.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/core/dist/integrations/registry.js
|
|
28
28
|
var INTEGRATION_REGISTRY = [
|
|
@@ -155,6 +155,30 @@ var INTEGRATION_REGISTRY = [
|
|
|
155
155
|
docs_url: "https://docs.granola.ai/docs/api/mcp",
|
|
156
156
|
beta: true
|
|
157
157
|
},
|
|
158
|
+
{
|
|
159
|
+
id: "brand-ninja",
|
|
160
|
+
name: "Brand Ninja",
|
|
161
|
+
category: "social",
|
|
162
|
+
description: "Brand-aligned content generation: submit async content requests, track them, and discover publishing channels. Wired as the hosted Brand Ninja External-Content MCP at https://ext-api.app.brandninja.ai/v1/mcp.",
|
|
163
|
+
// ENG-6820: same remote streamable-HTTP MCP + OAuth pattern as Granola.
|
|
164
|
+
// Brand Ninja's server implements the full MCP discovery chain (RFC
|
|
165
|
+
// 9728/8414/7591); auth is OAuth 2.0 authorization-code with PKCE (S256)
|
|
166
|
+
// and a public client registered via one-time Dynamic Client Registration
|
|
167
|
+
// (scripts/dcr-register.ts against https://ext-api.app.brandninja.ai/v1/oauth/register
|
|
168
|
+
// → OAUTH_BRAND_NINJA_CLIENT_ID). End-user consent is brokered by the
|
|
169
|
+
// webapp through the shared /integrations/oauth/authorize → /callback path,
|
|
170
|
+
// and the access_token is injected into .mcp.json via the generic
|
|
171
|
+
// bearer-header path (OAUTH_PROVIDERS.brand-ninja.mcpUrl). No host-side
|
|
172
|
+
// action beyond the deploy-time DCR registration.
|
|
173
|
+
supported_auth_types: ["oauth2"],
|
|
174
|
+
capabilities: [
|
|
175
|
+
{ id: "brand-ninja:generate-content", name: "Generate Content", description: "Submit async brand-aligned content-generation requests and poll their status (submit_content_request, get_content_status, list_content_requests)", access: "write" },
|
|
176
|
+
{ id: "brand-ninja:list-channels", name: "List Channels", description: "Discover the publishing channels available to the account, metadata only (list_channels)", access: "read" },
|
|
177
|
+
{ id: "brand-ninja:read-credentials", name: "Read Credentials", description: "Read-only External-API credential metadata, secrets stripped. Requires the elevated external-api/admin scope (list_credentials)", access: "admin" }
|
|
178
|
+
],
|
|
179
|
+
docs_url: "https://ext-api.app.brandninja.ai/v1/mcp",
|
|
180
|
+
beta: true
|
|
181
|
+
},
|
|
158
182
|
{
|
|
159
183
|
id: "anchor-browser",
|
|
160
184
|
name: "Anchor Browser",
|
|
@@ -6768,10 +6792,25 @@ ${sections}`
|
|
|
6768
6792
|
}
|
|
6769
6793
|
}
|
|
6770
6794
|
if (channelId === "whatsapp") {
|
|
6795
|
+
const provider = config["provider"] ?? "kapso";
|
|
6796
|
+
const localWhatsappChannel = join4(getHomeDir3(), ".augmented", "_mcp", "whatsapp-channel.js");
|
|
6797
|
+
if (provider === "baileys") {
|
|
6798
|
+
mcpServers["whatsapp"] = {
|
|
6799
|
+
command: "node",
|
|
6800
|
+
args: [localWhatsappChannel],
|
|
6801
|
+
env: {
|
|
6802
|
+
AGT_AGENT_CODE_NAME: codeName,
|
|
6803
|
+
WHATSAPP_PROVIDER: "baileys"
|
|
6804
|
+
}
|
|
6805
|
+
};
|
|
6806
|
+
if (writeMcpJsonGuarded(codeName, mcpJsonPath, mcpConfig)) {
|
|
6807
|
+
syncMcpToProject(codeName);
|
|
6808
|
+
}
|
|
6809
|
+
return;
|
|
6810
|
+
}
|
|
6771
6811
|
const projectApiKey = config["project_api_key"];
|
|
6772
6812
|
const phoneNumberId = config["phone_number_id"];
|
|
6773
6813
|
if (projectApiKey && phoneNumberId) {
|
|
6774
|
-
const localWhatsappChannel = join4(getHomeDir3(), ".augmented", "_mcp", "whatsapp-channel.js");
|
|
6775
6814
|
try {
|
|
6776
6815
|
mkdirSync4(join4(getHomeDir3(), ".augmented", codeName, "whatsapp-pending-inbound"), { recursive: true });
|
|
6777
6816
|
} catch {
|
|
@@ -7775,7 +7814,7 @@ function requireHost() {
|
|
|
7775
7814
|
}
|
|
7776
7815
|
|
|
7777
7816
|
// src/lib/api-client.ts
|
|
7778
|
-
var agtCliVersion = true ? "0.28.
|
|
7817
|
+
var agtCliVersion = true ? "0.28.148" : "dev";
|
|
7779
7818
|
var lastConfigHash = null;
|
|
7780
7819
|
function setConfigHash(hash) {
|
|
7781
7820
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9072,4 +9111,4 @@ export {
|
|
|
9072
9111
|
managerInstallSystemUnitCommand,
|
|
9073
9112
|
managerUninstallSystemUnitCommand
|
|
9074
9113
|
};
|
|
9075
|
-
//# sourceMappingURL=chunk-
|
|
9114
|
+
//# sourceMappingURL=chunk-LCEI5TTS.js.map
|