@integrity-labs/agt-cli 0.7.8 → 0.7.9
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
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveChannels,
|
|
33
33
|
serializeManifestForSlackCli,
|
|
34
34
|
setActiveTeam
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-X3FLX6EO.js";
|
|
36
36
|
|
|
37
37
|
// src/bin/agt.ts
|
|
38
38
|
import { join as join11 } from "path";
|
|
@@ -3411,7 +3411,7 @@ async function acpxCloseCommand(agent2, _opts, cmd) {
|
|
|
3411
3411
|
import { execSync } from "child_process";
|
|
3412
3412
|
import chalk19 from "chalk";
|
|
3413
3413
|
import ora15 from "ora";
|
|
3414
|
-
var cliVersion = true ? "0.7.
|
|
3414
|
+
var cliVersion = true ? "0.7.9" : "dev";
|
|
3415
3415
|
async function fetchLatestVersion() {
|
|
3416
3416
|
const host2 = AGT_HOST;
|
|
3417
3417
|
if (!host2) return null;
|
|
@@ -3527,7 +3527,7 @@ async function checkForUpdateOnStartup() {
|
|
|
3527
3527
|
}
|
|
3528
3528
|
|
|
3529
3529
|
// src/bin/agt.ts
|
|
3530
|
-
var cliVersion2 = true ? "0.7.
|
|
3530
|
+
var cliVersion2 = true ? "0.7.9" : "dev";
|
|
3531
3531
|
var program = new Command();
|
|
3532
3532
|
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");
|
|
3533
3533
|
program.hook("preAction", (thisCommand) => {
|
|
@@ -1917,7 +1917,7 @@ are defined in \`CHARTER.md\`.
|
|
|
1917
1917
|
- Budget: ${frontmatter.budget?.limit_tokens ? `${frontmatter.budget.limit_tokens} tokens/${frontmatter.budget.window}` : frontmatter.budget?.limit_dollars ? `$${frontmatter.budget.limit_dollars}/${frontmatter.budget.window}` : "unlimited"}
|
|
1918
1918
|
- Logging: ${frontmatter.logging_mode}
|
|
1919
1919
|
- Enforcement: Follow CHARTER.md constraints strictly.
|
|
1920
|
-
- Tools:
|
|
1920
|
+
- Tools: MCP tools available in your session are authorized. Use only tools that succeed when called \u2014 if a tool call is denied, do not retry it.
|
|
1921
1921
|
|
|
1922
1922
|
## Work Management
|
|
1923
1923
|
|
|
@@ -2008,13 +2008,11 @@ function deployArtifactsToProject(codeName, provisionDir) {
|
|
|
2008
2008
|
}
|
|
2009
2009
|
const projectServers = projectMcp["mcpServers"] ?? {};
|
|
2010
2010
|
const agentServers = agentMcp["mcpServers"] ?? {};
|
|
2011
|
-
const
|
|
2011
|
+
const stripRelativeUrls = (servers) => Object.fromEntries(Object.entries(servers).filter(([, val]) => {
|
|
2012
2012
|
const entry = val;
|
|
2013
|
-
return entry && typeof entry["url"] === "string" && entry["url"].startsWith("/");
|
|
2014
|
-
})
|
|
2015
|
-
|
|
2016
|
-
delete projectServers[key];
|
|
2017
|
-
projectMcp["mcpServers"] = { ...projectServers, ...agentServers };
|
|
2013
|
+
return !(entry && typeof entry["url"] === "string" && entry["url"].startsWith("/"));
|
|
2014
|
+
}));
|
|
2015
|
+
projectMcp["mcpServers"] = { ...stripRelativeUrls(projectServers), ...stripRelativeUrls(agentServers) };
|
|
2018
2016
|
writeFileSync3(projectMcpPath, JSON.stringify(projectMcp, null, 2));
|
|
2019
2017
|
} catch {
|
|
2020
2018
|
}
|
|
@@ -4746,4 +4744,4 @@ export {
|
|
|
4746
4744
|
detectDrift,
|
|
4747
4745
|
provision
|
|
4748
4746
|
};
|
|
4749
|
-
//# sourceMappingURL=chunk-
|
|
4747
|
+
//# sourceMappingURL=chunk-X3FLX6EO.js.map
|