@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
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-A4S52T2C.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-5AIF4FOP.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.149" : "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.149" : "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) => {
|
|
@@ -1672,6 +1672,15 @@ var FLAG_REGISTRY = [
|
|
|
1672
1672
|
// control with no pre-flags env gate to migrate (ADR-0022).
|
|
1673
1673
|
defaultValue: false
|
|
1674
1674
|
},
|
|
1675
|
+
{
|
|
1676
|
+
key: "skill-revision-proposals",
|
|
1677
|
+
description: "Agent-proposed corrective rewrites of shared skills (ENG-6824, epic ENG-6805 P2b): when on, an agent can propose a full-body rewrite of a shared (team/org) skill via the skill_propose_revision MCP tool, anchored on an immutable base_version_id; an operator reviews a machine-derived diff and approves (conflict-guarded apply) or rejects. This is the per-org activation gate for the corrective path - off = the propose tool soft-refuses, so no proposal is created. Distinct from skill-fragments (the additive path). Approved revisions land via the existing operator-owned skill body + delivery, so there is nothing to revert when flipped off. Boolean gate; ships dark.",
|
|
1678
|
+
flagType: "boolean",
|
|
1679
|
+
// Declared safe value is `false` (no proposals). Fail-safe direction: a
|
|
1680
|
+
// flag-DB read error must never let an agent file rewrites of operator-owned
|
|
1681
|
+
// shared skills on its own. No envVar - net-new control (ADR-0022).
|
|
1682
|
+
defaultValue: false
|
|
1683
|
+
},
|
|
1675
1684
|
{
|
|
1676
1685
|
key: "channel-quarantine-mode",
|
|
1677
1686
|
description: "Optional-channel quarantine (ENG-5932): off = disabled, shadow = log matches only, enforce = quarantine.",
|
|
@@ -4024,6 +4033,37 @@ var OAUTH_PROVIDERS = {
|
|
|
4024
4033
|
publicClient: true,
|
|
4025
4034
|
mcpUrl: "https://mcp.granola.ai/mcp"
|
|
4026
4035
|
},
|
|
4036
|
+
"brand-ninja": {
|
|
4037
|
+
// ENG-6820: Brand Ninja External-Content MCP, remote streamable-HTTP at
|
|
4038
|
+
// https://ext-api.app.brandninja.ai/v1/mcp. Same shape as Granola: the
|
|
4039
|
+
// server exposes RFC 8414 authorization-server metadata at
|
|
4040
|
+
// /.well-known/oauth-authorization-server (values below are taken verbatim
|
|
4041
|
+
// from that document, not inferred). Auth is OAuth 2.0 authorization-code
|
|
4042
|
+
// with mandatory PKCE (S256) and a public client (token_endpoint_auth_method
|
|
4043
|
+
// 'none') issued via Dynamic Client Registration (RFC 7591). The bootstrap
|
|
4044
|
+
// script (packages/api/scripts/dcr-register.ts) registers a client once at
|
|
4045
|
+
// deploy time against the registration_endpoint
|
|
4046
|
+
// (https://ext-api.app.brandninja.ai/v1/oauth/register); OAUTH_BRAND_NINJA_CLIENT_ID
|
|
4047
|
+
// is set from its output. The AS advertises the refresh_token grant, so the
|
|
4048
|
+
// shared oauth-refresh cron rotates the bearer without operator action.
|
|
4049
|
+
definitionId: "brand-ninja",
|
|
4050
|
+
authorizeUrl: "https://prod-brandninja.auth.ap-southeast-2.amazoncognito.com/oauth2/authorize",
|
|
4051
|
+
tokenUrl: "https://prod-brandninja.auth.ap-southeast-2.amazoncognito.com/oauth2/token",
|
|
4052
|
+
// The resource server (ext-api.app.brandninja.ai) advertises exactly two
|
|
4053
|
+
// scopes: external-api/content.write (the default content surface) and
|
|
4054
|
+
// external-api/admin (read-only credential metadata, granted per account
|
|
4055
|
+
// admin). Default install is least-privilege: content.write only; an
|
|
4056
|
+
// operator can widen to admin out of band. No openid/offline_access in the
|
|
4057
|
+
// advertised scope set, so Cognito issues the refresh_token for the code grant
|
|
4058
|
+
// regardless, so requesting only the resource scope keeps consent minimal.
|
|
4059
|
+
defaultScopes: ["external-api/content.write"],
|
|
4060
|
+
supportsRefresh: true,
|
|
4061
|
+
extraAuthorizeParams: {},
|
|
4062
|
+
clientAuthMethod: "body",
|
|
4063
|
+
pkce: "S256",
|
|
4064
|
+
publicClient: true,
|
|
4065
|
+
mcpUrl: "https://ext-api.app.brandninja.ai/v1/mcp"
|
|
4066
|
+
},
|
|
4027
4067
|
"notion-cli": {
|
|
4028
4068
|
// Notion's public OAuth app. Tokens are workspace-scoped and long-lived —
|
|
4029
4069
|
// Notion does not issue refresh_tokens, so `supportsRefresh: false` and
|
|
@@ -6054,6 +6094,7 @@ export {
|
|
|
6054
6094
|
detectDrift,
|
|
6055
6095
|
SUPPRESS_SENTINEL,
|
|
6056
6096
|
classifyOutput,
|
|
6097
|
+
isVacuousDeliverReason,
|
|
6057
6098
|
parseDeliverAssertion,
|
|
6058
6099
|
parseUsageBanner,
|
|
6059
6100
|
formatRunMarker,
|
|
@@ -6073,4 +6114,4 @@ export {
|
|
|
6073
6114
|
parseEnvIntegrations,
|
|
6074
6115
|
probeMcpEnvSubstitution
|
|
6075
6116
|
};
|
|
6076
|
-
//# sourceMappingURL=chunk-
|
|
6117
|
+
//# sourceMappingURL=chunk-5AIF4FOP.js.map
|