@integrity-labs/agt-cli 0.23.1 → 0.24.0
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-2TOCO5D2.js → chunk-HSIESZMZ.js} +23 -1
- package/dist/{chunk-2TOCO5D2.js.map → chunk-HSIESZMZ.js.map} +1 -1
- package/dist/{chunk-Q4QD3TAC.js → chunk-WZTRMJM4.js} +205 -159
- package/dist/chunk-WZTRMJM4.js.map +1 -0
- package/dist/{chunk-TCCBS3PD.js → chunk-ZKQGDH3T.js} +2 -2
- package/dist/{claude-pair-runtime-KUWBZW33.js → claude-pair-runtime-XCFWTH6T.js} +2 -2
- package/dist/lib/manager-worker.js +551 -251
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +71 -0
- package/dist/mcp/slack-channel.js +32 -246
- package/dist/mcp/telegram-channel.js +30 -232
- package/dist/pane-mcp-banner-scraper-JA437JIB.js +22 -0
- package/dist/pane-mcp-banner-scraper-JA437JIB.js.map +1 -0
- package/dist/{persistent-session-XEA4SPAN.js → persistent-session-L4YIJJML.js} +3 -3
- package/dist/{responsiveness-probe-VWPOCABI.js → responsiveness-probe-YRLESO54.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-Q4QD3TAC.js.map +0 -1
- /package/dist/{chunk-TCCBS3PD.js.map → chunk-ZKQGDH3T.js.map} +0 -0
- /package/dist/{claude-pair-runtime-KUWBZW33.js.map → claude-pair-runtime-XCFWTH6T.js.map} +0 -0
- /package/dist/{persistent-session-XEA4SPAN.js.map → persistent-session-L4YIJJML.js.map} +0 -0
- /package/dist/{responsiveness-probe-VWPOCABI.js.map → responsiveness-probe-YRLESO54.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
success,
|
|
27
27
|
table,
|
|
28
28
|
warn
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-WZTRMJM4.js";
|
|
30
30
|
import {
|
|
31
31
|
CHANNEL_REGISTRY,
|
|
32
32
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
renderTemplate,
|
|
53
53
|
resolveChannels,
|
|
54
54
|
serializeManifestForSlackCli
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-HSIESZMZ.js";
|
|
56
56
|
|
|
57
57
|
// src/bin/agt.ts
|
|
58
58
|
import { join as join10 } from "path";
|
|
@@ -3736,7 +3736,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
3736
3736
|
import { existsSync as existsSync5, realpathSync } from "fs";
|
|
3737
3737
|
import chalk17 from "chalk";
|
|
3738
3738
|
import ora15 from "ora";
|
|
3739
|
-
var cliVersion = true ? "0.
|
|
3739
|
+
var cliVersion = true ? "0.24.0" : "dev";
|
|
3740
3740
|
async function fetchLatestVersion() {
|
|
3741
3741
|
const host2 = getHost();
|
|
3742
3742
|
if (!host2) return null;
|
|
@@ -4268,7 +4268,7 @@ function handleError(err) {
|
|
|
4268
4268
|
}
|
|
4269
4269
|
|
|
4270
4270
|
// src/bin/agt.ts
|
|
4271
|
-
var cliVersion2 = true ? "0.
|
|
4271
|
+
var cliVersion2 = true ? "0.24.0" : "dev";
|
|
4272
4272
|
var program = new Command();
|
|
4273
4273
|
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");
|
|
4274
4274
|
program.hook("preAction", (thisCommand) => {
|
|
@@ -1841,6 +1841,11 @@ var integration_metadata_v1_default = {
|
|
|
1841
1841
|
type: "array",
|
|
1842
1842
|
items: { type: "string", enum: ["org", "team", "agent"] },
|
|
1843
1843
|
description: "Optional subset of the integration's runtime_scopes this tool is exposed under. Default: all scopes the integration declares."
|
|
1844
|
+
},
|
|
1845
|
+
auth_mode: {
|
|
1846
|
+
type: "string",
|
|
1847
|
+
enum: ["required", "optional"],
|
|
1848
|
+
description: "ADR 0010 \u2014 per-tool credential expectation. `required` (default) makes the broker fail closed when no install credential is attached; `optional` lets the broker call the vendor without an `Authorization` header (used by here-now anonymous publish)."
|
|
1844
1849
|
}
|
|
1845
1850
|
}
|
|
1846
1851
|
}
|
|
@@ -2233,8 +2238,25 @@ function runCrossFileRules(charter, tools) {
|
|
|
2233
2238
|
message: `CHARTER.md version "${charter.version}" does not match TOOLS.md version "${tools.version}"`
|
|
2234
2239
|
});
|
|
2235
2240
|
}
|
|
2241
|
+
if (charter.environment === "prod" || charter.risk_tier === "High") {
|
|
2242
|
+
for (let i = 0; i < tools.tools.length; i++) {
|
|
2243
|
+
const tool = tools.tools[i];
|
|
2244
|
+
if (isHereNowAccountPublishTool(tool.id)) {
|
|
2245
|
+
diagnostics.push({
|
|
2246
|
+
file: "CHARTER.md + TOOLS.md",
|
|
2247
|
+
code: "TOOLS.PUBLISH.PUBLIC_EXPOSURE",
|
|
2248
|
+
path: `tools[${i}].id`,
|
|
2249
|
+
severity: "warning",
|
|
2250
|
+
message: `Tool "${tool.id}" grants here.now account publishing (permanent, public) to a ${charter.environment === "prod" ? "production" : "High-risk-tier"} agent. Confirm the public-exposure surface is intended; consider the publish:anonymous scope (24h TTL) for non-permanent output.`
|
|
2251
|
+
});
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2236
2255
|
return diagnostics;
|
|
2237
2256
|
}
|
|
2257
|
+
function isHereNowAccountPublishTool(id) {
|
|
2258
|
+
return /^here-now-(publish-account|account-publish)$/.test(id);
|
|
2259
|
+
}
|
|
2238
2260
|
|
|
2239
2261
|
// ../../packages/core/dist/lint/rules/multi-agent.js
|
|
2240
2262
|
function runMultiAgentRules(charter, teamPeers, ctx = {}) {
|
|
@@ -3187,4 +3209,4 @@ export {
|
|
|
3187
3209
|
KANBAN_LOOP_COMMAND,
|
|
3188
3210
|
KANBAN_CHECK_COMMAND
|
|
3189
3211
|
};
|
|
3190
|
-
//# sourceMappingURL=chunk-
|
|
3212
|
+
//# sourceMappingURL=chunk-HSIESZMZ.js.map
|