@integrity-labs/agt-cli 0.28.428 → 0.28.429
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
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-WR53BM4P.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.429" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.429" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4903,7 +4903,7 @@ function requireHost() {
|
|
|
4903
4903
|
}
|
|
4904
4904
|
|
|
4905
4905
|
// src/lib/api-client.ts
|
|
4906
|
-
var agtCliVersion = true ? "0.28.
|
|
4906
|
+
var agtCliVersion = true ? "0.28.429" : "dev";
|
|
4907
4907
|
var lastConfigHash = null;
|
|
4908
4908
|
function setConfigHash(hash) {
|
|
4909
4909
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7404,4 +7404,4 @@ export {
|
|
|
7404
7404
|
managerInstallSystemUnitCommand,
|
|
7405
7405
|
managerUninstallSystemUnitCommand
|
|
7406
7406
|
};
|
|
7407
|
-
//# sourceMappingURL=chunk-
|
|
7407
|
+
//# sourceMappingURL=chunk-WR53BM4P.js.map
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveEffectivePinRaw,
|
|
43
43
|
safeWriteJsonAtomic,
|
|
44
44
|
setConfigHash
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-WR53BM4P.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir as getProjectDir2,
|
|
48
48
|
getReadyTasks,
|
|
@@ -9562,7 +9562,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9562
9562
|
var lastVersionCheckAt = 0;
|
|
9563
9563
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9564
9564
|
var lastResponsivenessProbeAt = 0;
|
|
9565
|
-
var agtCliVersion = true ? "0.28.
|
|
9565
|
+
var agtCliVersion = true ? "0.28.429" : "dev";
|
|
9566
9566
|
function resolveBrewPath(execFileSync2) {
|
|
9567
9567
|
try {
|
|
9568
9568
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/xero.js
CHANGED
|
@@ -116912,7 +116912,7 @@ var formatLineItem = (lineItem) => {
|
|
|
116912
116912
|
`Unit Amount: ${lineItem.unitAmount}`,
|
|
116913
116913
|
`Account Code: ${lineItem.accountCode}`,
|
|
116914
116914
|
`Tax Type: ${lineItem.taxType}`,
|
|
116915
|
-
`Tracking: ${lineItem.tracking}`,
|
|
116915
|
+
`Tracking: ${lineItem.tracking?.map((t) => `${t.name}: ${t.option}`).join(", ") ?? "None"}`,
|
|
116916
116916
|
`Line Amount: ${lineItem.lineAmount}`
|
|
116917
116917
|
].join("\n");
|
|
116918
116918
|
};
|
|
@@ -118311,7 +118311,7 @@ This retrieves comprehensive timesheet details including timesheet IDs, employee
|
|
|
118311
118311
|
var list_payroll_timesheets_tool_default = ListPayrollTimesheetsTool;
|
|
118312
118312
|
|
|
118313
118313
|
// src/handlers/list-xero-profit-and-loss.handler.ts
|
|
118314
|
-
async function fetchProfitAndLoss(fromDate, toDate, periods, timeframe, standardLayout, paymentsOnly) {
|
|
118314
|
+
async function fetchProfitAndLoss(fromDate, toDate, periods, timeframe, standardLayout, paymentsOnly, trackingCategoryID, trackingOptionID, trackingCategoryID2, trackingOptionID2) {
|
|
118315
118315
|
await xeroClient.authenticate();
|
|
118316
118316
|
const response = await xeroClient.accountingApi.getReportProfitAndLoss(
|
|
118317
118317
|
xeroClient.tenantId,
|
|
@@ -118319,28 +118319,29 @@ async function fetchProfitAndLoss(fromDate, toDate, periods, timeframe, standard
|
|
|
118319
118319
|
toDate,
|
|
118320
118320
|
periods,
|
|
118321
118321
|
timeframe,
|
|
118322
|
-
|
|
118323
|
-
|
|
118324
|
-
|
|
118325
|
-
|
|
118326
|
-
void 0,
|
|
118327
|
-
// trackingCategoryID2
|
|
118328
|
-
void 0,
|
|
118329
|
-
// trackingOptionID2
|
|
118322
|
+
trackingCategoryID,
|
|
118323
|
+
trackingOptionID,
|
|
118324
|
+
trackingCategoryID2,
|
|
118325
|
+
trackingOptionID2,
|
|
118330
118326
|
standardLayout,
|
|
118331
118327
|
paymentsOnly,
|
|
118332
118328
|
getClientHeaders()
|
|
118333
118329
|
);
|
|
118334
118330
|
return response.body.reports?.[0] ?? null;
|
|
118335
118331
|
}
|
|
118336
|
-
async function listXeroProfitAndLoss(fromDate, toDate, periods, timeframe, standardLayout, paymentsOnly) {
|
|
118332
|
+
async function listXeroProfitAndLoss(fromDate, toDate, periods, timeframe, standardLayout, paymentsOnly, trackingCategoryID, trackingOptionID, trackingCategoryID2, trackingOptionID2) {
|
|
118337
118333
|
try {
|
|
118338
118334
|
const profitAndLoss = await fetchProfitAndLoss(
|
|
118339
118335
|
fromDate,
|
|
118340
118336
|
toDate,
|
|
118341
118337
|
periods,
|
|
118342
118338
|
timeframe,
|
|
118343
|
-
|
|
118339
|
+
standardLayout,
|
|
118340
|
+
paymentsOnly,
|
|
118341
|
+
trackingCategoryID,
|
|
118342
|
+
trackingOptionID,
|
|
118343
|
+
trackingCategoryID2,
|
|
118344
|
+
trackingOptionID2
|
|
118344
118345
|
);
|
|
118345
118346
|
if (!profitAndLoss) {
|
|
118346
118347
|
return {
|
|
@@ -118373,7 +118374,11 @@ var ListProfitAndLossTool = CreateXeroTool(
|
|
|
118373
118374
|
periods: external_exports.number().optional().describe("Optional number of periods to compare"),
|
|
118374
118375
|
timeframe: external_exports.enum(["MONTH", "QUARTER", "YEAR"]).optional().describe("Optional timeframe for the report (MONTH, QUARTER, YEAR)"),
|
|
118375
118376
|
standardLayout: external_exports.boolean().optional().describe("Optional flag to use standard layout"),
|
|
118376
|
-
paymentsOnly: external_exports.boolean().optional().describe("Optional flag to include only accounts with payments")
|
|
118377
|
+
paymentsOnly: external_exports.boolean().optional().describe("Optional flag to include only accounts with payments"),
|
|
118378
|
+
trackingCategoryID: external_exports.string().optional().describe("Optional tracking category ID to filter by"),
|
|
118379
|
+
trackingOptionID: external_exports.string().optional().describe("Optional tracking option ID to filter by"),
|
|
118380
|
+
trackingCategoryID2: external_exports.string().optional().describe("Optional second tracking category ID to filter by"),
|
|
118381
|
+
trackingOptionID2: external_exports.string().optional().describe("Optional second tracking option ID to filter by")
|
|
118377
118382
|
},
|
|
118378
118383
|
async (args) => {
|
|
118379
118384
|
const response = await listXeroProfitAndLoss(
|
|
@@ -118382,7 +118387,11 @@ var ListProfitAndLossTool = CreateXeroTool(
|
|
|
118382
118387
|
args?.periods,
|
|
118383
118388
|
args?.timeframe,
|
|
118384
118389
|
args?.standardLayout,
|
|
118385
|
-
args?.paymentsOnly
|
|
118390
|
+
args?.paymentsOnly,
|
|
118391
|
+
args?.trackingCategoryID,
|
|
118392
|
+
args?.trackingOptionID,
|
|
118393
|
+
args?.trackingCategoryID2,
|
|
118394
|
+
args?.trackingOptionID2
|
|
118386
118395
|
);
|
|
118387
118396
|
if (response.error !== null) {
|
|
118388
118397
|
return {
|
package/package.json
CHANGED
|
File without changes
|