@integrity-labs/agt-cli 0.28.522 → 0.28.523
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-WIQCLSZY.js → chunk-HERASX7X.js} +3 -3
- package/dist/{chunk-4GTDD2I5.js → chunk-LBSV575W.js} +36 -2
- package/dist/chunk-LBSV575W.js.map +1 -0
- package/dist/{claude-pair-runtime-7W7LSW73.js → claude-pair-runtime-KEG2LDMH.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +8 -1
- package/dist/mcp/origami.js +8 -1
- package/dist/mcp/remote-oauth-proxy.js +87 -12
- package/dist/mcp/slack-channel.js +8 -1
- package/dist/mcp/telegram-channel.js +8 -1
- package/dist/{persistent-session-5GMZKV37.js → persistent-session-OT66RBK5.js} +2 -2
- package/dist/{responsiveness-probe-52IZOP2M.js → responsiveness-probe-KW7KQJUY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4GTDD2I5.js.map +0 -1
- /package/dist/{chunk-WIQCLSZY.js.map → chunk-HERASX7X.js.map} +0 -0
- /package/dist/{claude-pair-runtime-7W7LSW73.js.map → claude-pair-runtime-KEG2LDMH.js.map} +0 -0
- /package/dist/{persistent-session-5GMZKV37.js.map → persistent-session-OT66RBK5.js.map} +0 -0
- /package/dist/{responsiveness-probe-52IZOP2M.js.map → responsiveness-probe-KW7KQJUY.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-HERASX7X.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-LBSV575W.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4834
4834
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4835
4835
|
import chalk18 from "chalk";
|
|
4836
4836
|
import ora16 from "ora";
|
|
4837
|
-
var cliVersion = true ? "0.28.
|
|
4837
|
+
var cliVersion = true ? "0.28.523" : "dev";
|
|
4838
4838
|
async function fetchLatestVersion() {
|
|
4839
4839
|
const host2 = getHost();
|
|
4840
4840
|
if (!host2) return null;
|
|
@@ -6006,7 +6006,7 @@ function handleError(err) {
|
|
|
6006
6006
|
}
|
|
6007
6007
|
|
|
6008
6008
|
// src/bin/agt.ts
|
|
6009
|
-
var cliVersion2 = true ? "0.28.
|
|
6009
|
+
var cliVersion2 = true ? "0.28.523" : "dev";
|
|
6010
6010
|
var program = new Command();
|
|
6011
6011
|
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");
|
|
6012
6012
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveConnectivityProbe,
|
|
43
43
|
worseConnectivityOutcome,
|
|
44
44
|
wrapScheduledTaskPrompt
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-LBSV575W.js";
|
|
46
46
|
import {
|
|
47
47
|
parsePsRows
|
|
48
48
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5317,7 +5317,7 @@ function exchangeFailureKind(err) {
|
|
|
5317
5317
|
}
|
|
5318
5318
|
|
|
5319
5319
|
// src/lib/api-client.ts
|
|
5320
|
-
var agtCliVersion = true ? "0.28.
|
|
5320
|
+
var agtCliVersion = true ? "0.28.523" : "dev";
|
|
5321
5321
|
var lastConfigHash = null;
|
|
5322
5322
|
function setConfigHash(hash) {
|
|
5323
5323
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8629,4 +8629,4 @@ export {
|
|
|
8629
8629
|
managerInstallSystemUnitCommand,
|
|
8630
8630
|
managerUninstallSystemUnitCommand
|
|
8631
8631
|
};
|
|
8632
|
-
//# sourceMappingURL=chunk-
|
|
8632
|
+
//# sourceMappingURL=chunk-HERASX7X.js.map
|
|
@@ -5220,6 +5220,27 @@ var OAUTH_PROVIDERS = {
|
|
|
5220
5220
|
"themes",
|
|
5221
5221
|
"contacts",
|
|
5222
5222
|
"emails"
|
|
5223
|
+
],
|
|
5224
|
+
// ENG-8512: `update_course.thumbnail` stores a RELATIVE path into Kajabi's
|
|
5225
|
+
// own storage — it is rendered as
|
|
5226
|
+
// https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/<value>
|
|
5227
|
+
// so an absolute http(s) URL is structurally not a valid value for it.
|
|
5228
|
+
// Kajabi accepts one anyway, returns 200, echoes it back, ingests nothing,
|
|
5229
|
+
// and the course shows a broken image. Reported from a live client site
|
|
5230
|
+
// (DTI) via CS-1548 after it produced a false "done" report and three
|
|
5231
|
+
// failed cards.
|
|
5232
|
+
//
|
|
5233
|
+
// Anchored at the start so only an ABSOLUTE URL is refused; every relative
|
|
5234
|
+
// path — the valid shape — passes untouched. This does not enable setting a
|
|
5235
|
+
// thumbnail from a URL (that needs an upload path, CS-1548 item 4). It stops
|
|
5236
|
+
// us reporting success for a write that did not happen.
|
|
5237
|
+
argRejects: [
|
|
5238
|
+
{
|
|
5239
|
+
tool: "update_course",
|
|
5240
|
+
field: "thumbnail",
|
|
5241
|
+
pattern: "^\\s*https?://",
|
|
5242
|
+
message: "thumbnail takes a relative path inside Kajabi storage, not an external URL. Kajabi accepts a URL here, returns 200 and never ingests it, so the image would silently stay broken. Upload the asset to Kajabi first and pass the storage path it returns."
|
|
5243
|
+
}
|
|
5223
5244
|
]
|
|
5224
5245
|
},
|
|
5225
5246
|
"notion-cli": {
|
|
@@ -6361,7 +6382,14 @@ var REMOTE_MCP_PROXY_ENV = {
|
|
|
6361
6382
|
authHeader: "AGT_REMOTE_MCP_AUTH_HEADER",
|
|
6362
6383
|
extraHeaders: "AGT_REMOTE_MCP_EXTRA_HEADERS",
|
|
6363
6384
|
toolAllowlist: "AGT_REMOTE_MCP_TOOL_ALLOWLIST",
|
|
6364
|
-
preEnableToolsets: "AGT_REMOTE_MCP_PREENABLE_TOOLSETS"
|
|
6385
|
+
preEnableToolsets: "AGT_REMOTE_MCP_PREENABLE_TOOLSETS",
|
|
6386
|
+
// ENG-8512: per-provider argument rules. A `tools/call` carrying a value we
|
|
6387
|
+
// KNOW the remote accepts and silently ignores is refused before it is
|
|
6388
|
+
// forwarded, rather than returning a 200 that every layer above records as
|
|
6389
|
+
// success. Deliberately NOT in REMOTE_MCP_AUTH_ENV_KEYS: it shapes which calls
|
|
6390
|
+
// we forward, not what an outbound request looks like, so the probe (which
|
|
6391
|
+
// never issues a tools/call) has nothing to reconstruct from it.
|
|
6392
|
+
argRejects: "AGT_REMOTE_MCP_ARG_REJECTS"
|
|
6365
6393
|
};
|
|
6366
6394
|
var REMOTE_MCP_AUTH_ENV_KEYS = [
|
|
6367
6395
|
REMOTE_MCP_PROXY_ENV.tokenVar,
|
|
@@ -11528,6 +11556,12 @@ function buildOAuthRemoteMcpProxyEntry(definitionId, paths, connectionKey) {
|
|
|
11528
11556
|
// CS-1446: toolsets to pre-activate at session start so gated tools are
|
|
11529
11557
|
// advertised in the connect-time tools/list the harness freezes. Omitted
|
|
11530
11558
|
// when the provider configures none (no pre-enable, the default).
|
|
11559
|
+
// ENG-8512: argument rules for calls the remote would accept and silently
|
|
11560
|
+
// ignore. JSON rather than a delimited list because a rule carries a regex
|
|
11561
|
+
// and a human-readable message, and both can contain any separator we
|
|
11562
|
+
// might have picked. Omitted when the provider declares none, leaving the
|
|
11563
|
+
// proxy's argument checking entirely off.
|
|
11564
|
+
...provider.argRejects && provider.argRejects.length > 0 ? { AGT_REMOTE_MCP_ARG_REJECTS: JSON.stringify(provider.argRejects) } : {},
|
|
11531
11565
|
...provider.preEnableToolsets && provider.preEnableToolsets.length > 0 ? { AGT_REMOTE_MCP_PREENABLE_TOOLSETS: provider.preEnableToolsets.join(",") } : {}
|
|
11532
11566
|
}
|
|
11533
11567
|
};
|
|
@@ -15330,4 +15364,4 @@ export {
|
|
|
15330
15364
|
stopAllSessionsAndWait,
|
|
15331
15365
|
getProjectDir
|
|
15332
15366
|
};
|
|
15333
|
-
//# sourceMappingURL=chunk-
|
|
15367
|
+
//# sourceMappingURL=chunk-LBSV575W.js.map
|