@integrity-labs/agt-cli 0.28.274 → 0.28.275
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 +3 -3
- package/dist/{chunk-73NA6BKT.js → chunk-5CEKL35C.js} +8 -6
- package/dist/chunk-5CEKL35C.js.map +1 -0
- package/dist/lib/manager-worker.js +14 -3
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/xero.js +120573 -0
- package/package.json +3 -2
- package/dist/chunk-73NA6BKT.js.map +0 -1
package/dist/bin/agt.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-5CEKL35C.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4826
4826
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4827
4827
|
import chalk18 from "chalk";
|
|
4828
4828
|
import ora16 from "ora";
|
|
4829
|
-
var cliVersion = true ? "0.28.
|
|
4829
|
+
var cliVersion = true ? "0.28.275" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5840,7 +5840,7 @@ function handleError(err) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
|
|
5842
5842
|
// src/bin/agt.ts
|
|
5843
|
-
var cliVersion2 = true ? "0.28.
|
|
5843
|
+
var cliVersion2 = true ? "0.28.275" : "dev";
|
|
5844
5844
|
var program = new Command();
|
|
5845
5845
|
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");
|
|
5846
5846
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4138,9 +4138,10 @@ function buildMcpJson(input) {
|
|
|
4138
4138
|
const xeroIntegration = input.integrations?.find((i) => i.definition_id === "xero");
|
|
4139
4139
|
if (xeroIntegration) {
|
|
4140
4140
|
const brokerMode = Boolean(xeroIntegration.id);
|
|
4141
|
+
const localXeroMcpPath = join2(getHomeDir(), ".augmented", "_mcp", "xero.js");
|
|
4141
4142
|
mcpServers["xero"] = {
|
|
4142
|
-
command: "
|
|
4143
|
-
args: [
|
|
4143
|
+
command: "node",
|
|
4144
|
+
args: [localXeroMcpPath],
|
|
4144
4145
|
env: {
|
|
4145
4146
|
...brokerMode ? {} : { XERO_CLIENT_BEARER_TOKEN: "${XERO_ACCESS_TOKEN}" },
|
|
4146
4147
|
XERO_TENANT_ID: "${XERO_TENANT_ID}",
|
|
@@ -5293,9 +5294,10 @@ ${sections}`
|
|
|
5293
5294
|
xeroEnv.AGT_AGENT_ID = agentId;
|
|
5294
5295
|
xeroEnv.AGT_INTEGRATION_ID = xeroIntegration.id;
|
|
5295
5296
|
}
|
|
5297
|
+
const localXeroMcpPath = join2(getHomeDir(), ".augmented", "_mcp", "xero.js");
|
|
5296
5298
|
this.writeMcpServer(codeName, "xero", {
|
|
5297
|
-
command: "
|
|
5298
|
-
args: [
|
|
5299
|
+
command: "node",
|
|
5300
|
+
args: [localXeroMcpPath],
|
|
5299
5301
|
env: xeroEnv
|
|
5300
5302
|
});
|
|
5301
5303
|
}
|
|
@@ -5880,7 +5882,7 @@ function requireHost() {
|
|
|
5880
5882
|
}
|
|
5881
5883
|
|
|
5882
5884
|
// src/lib/api-client.ts
|
|
5883
|
-
var agtCliVersion = true ? "0.28.
|
|
5885
|
+
var agtCliVersion = true ? "0.28.275" : "dev";
|
|
5884
5886
|
var lastConfigHash = null;
|
|
5885
5887
|
function setConfigHash(hash) {
|
|
5886
5888
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8157,4 +8159,4 @@ export {
|
|
|
8157
8159
|
managerInstallSystemUnitCommand,
|
|
8158
8160
|
managerUninstallSystemUnitCommand
|
|
8159
8161
|
};
|
|
8160
|
-
//# sourceMappingURL=chunk-
|
|
8162
|
+
//# sourceMappingURL=chunk-5CEKL35C.js.map
|