@integrity-labs/agt-cli 0.28.147 → 0.28.149
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-POW4BZEC.js → chunk-5AIF4FOP.js} +42 -1
- package/dist/chunk-5AIF4FOP.js.map +1 -0
- package/dist/{chunk-FAWY7H7Q.js → chunk-A4S52T2C.js} +43 -4
- package/dist/chunk-A4S52T2C.js.map +1 -0
- package/dist/{chunk-H7DPP33E.js → chunk-SVF454L3.js} +2 -2
- package/dist/{claude-pair-runtime-E32P2WMR.js → claude-pair-runtime-OU4ROYH4.js} +2 -2
- package/dist/lib/manager-worker.js +17 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +2 -0
- package/dist/mcp/index.js +17 -3
- 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-IMMJEVRD.js} +3 -3
- package/dist/{responsiveness-probe-BLJS46ME.js → responsiveness-probe-Z2GD24QE.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-SVF454L3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-E32P2WMR.js.map → claude-pair-runtime-OU4ROYH4.js.map} +0 -0
- /package/dist/{persistent-session-ERNRO4J6.js.map → persistent-session-IMMJEVRD.js.map} +0 -0
- /package/dist/{responsiveness-probe-BLJS46ME.js.map → responsiveness-probe-Z2GD24QE.js.map} +0 -0
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5AIF4FOP.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.149" : "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-A4S52T2C.js.map
|