@integrity-labs/agt-cli 0.28.428 → 0.28.430
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-AX4F6XJ3.js → chunk-ARNUO2QE.js} +3 -3
- package/dist/{chunk-IILXBXBL.js → chunk-EREBH2LV.js} +13 -3
- package/dist/{chunk-IILXBXBL.js.map → chunk-EREBH2LV.js.map} +1 -1
- package/dist/{claude-pair-runtime-VQSF5CRA.js → claude-pair-runtime-44RPFRIE.js} +2 -2
- package/dist/lib/manager-worker.js +21 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +11 -3
- package/dist/mcp/xero.js +23 -14
- package/dist/{persistent-session-ISMSVPQY.js → persistent-session-A4VUV3UI.js} +2 -2
- package/dist/{responsiveness-probe-S5E3ZHSR.js → responsiveness-probe-QRVMR22C.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-AX4F6XJ3.js.map → chunk-ARNUO2QE.js.map} +0 -0
- /package/dist/{claude-pair-runtime-VQSF5CRA.js.map → claude-pair-runtime-44RPFRIE.js.map} +0 -0
- /package/dist/{persistent-session-ISMSVPQY.js.map → persistent-session-A4VUV3UI.js.map} +0 -0
- /package/dist/{responsiveness-probe-S5E3ZHSR.js.map → responsiveness-probe-QRVMR22C.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -22513,10 +22513,13 @@ server.tool(
|
|
|
22513
22513
|
);
|
|
22514
22514
|
server.tool(
|
|
22515
22515
|
"update_timezone",
|
|
22516
|
-
`Set your OWN timezone, as an IANA name (e.g. "Australia/Sydney", "America/New_York", "Europe/London"). This controls the local clock used for your restart / maintenance-window scheduling and day-boundary reporting, so "off-peak" is calculated in your operator's zone rather than UTC. Pass an empty string (or "auto") to CLEAR your override and inherit your team default (falling back to UTC). Changes save immediately and take full effect within a few minutes, on your next configuration refresh. Your code_name and identity are unaffected.`,
|
|
22516
|
+
`Set your OWN timezone, as an IANA name (e.g. "Australia/Sydney", "America/New_York", "Europe/London"). This controls the local clock used for your restart / maintenance-window scheduling and day-boundary reporting, so "off-peak" is calculated in your operator's zone rather than UTC. Pass an empty string (or "auto") to CLEAR your override and inherit your team default (falling back to UTC). For a TEMPORARY change (your person is travelling, you are covering another region's shift), also pass expires_at and the override reverts on its own at that moment - use it whenever the change has a known end, so nobody has to remember to undo it. Changes save immediately and take full effect within a few minutes, on your next configuration refresh. Your code_name and identity are unaffected.`,
|
|
22517
22517
|
{
|
|
22518
22518
|
timezone: external_exports.string().max(100).describe(
|
|
22519
22519
|
'Your IANA timezone name (e.g. "Australia/Sydney"). Pass an empty string or "auto" to clear the override and inherit the team default (then UTC).'
|
|
22520
|
+
),
|
|
22521
|
+
expires_at: external_exports.string().optional().describe(
|
|
22522
|
+
'Optional. When this temporary override should revert, as an ISO 8601 timestamp WITH a timezone offset (e.g. "2026-08-01T00:00:00Z" or "2026-08-01T10:00:00+10:00"). Must be in the future. After it passes you automatically inherit your team default again, with no further action. Omit for a permanent override; omitting it on a later call also clears any TTL you set previously. Cannot be combined with clearing the timezone.'
|
|
22520
22523
|
)
|
|
22521
22524
|
},
|
|
22522
22525
|
async (params) => {
|
|
@@ -22526,7 +22529,11 @@ server.tool(
|
|
|
22526
22529
|
isError: true
|
|
22527
22530
|
};
|
|
22528
22531
|
}
|
|
22529
|
-
const payload = {
|
|
22532
|
+
const payload = {
|
|
22533
|
+
agent_code_name: AGT_AGENT_CODE_NAME,
|
|
22534
|
+
timezone: params.timezone,
|
|
22535
|
+
expires_at: params.expires_at ?? null
|
|
22536
|
+
};
|
|
22530
22537
|
let resp;
|
|
22531
22538
|
try {
|
|
22532
22539
|
resp = await apiPost("/host/update-timezone", payload);
|
|
@@ -22567,11 +22574,12 @@ server.tool(
|
|
|
22567
22574
|
}
|
|
22568
22575
|
const effective = resp.effective_timezone ?? "UTC";
|
|
22569
22576
|
const summary = resp.timezone ? `Your timezone is now ${resp.timezone}.` : `Your timezone override was cleared; you now inherit ${effective}.`;
|
|
22577
|
+
const ttl = resp.expires_at ? ` This is temporary: it reverts automatically at ${resp.expires_at}, after which you inherit your team default again.` : "";
|
|
22570
22578
|
return {
|
|
22571
22579
|
content: [
|
|
22572
22580
|
{
|
|
22573
22581
|
type: "text",
|
|
22574
|
-
text: `${summary} Effective timezone: ${effective}
|
|
22582
|
+
text: `${summary} Effective timezone: ${effective}.${ttl} The change will take effect within a few minutes, on your next configuration refresh.`
|
|
22575
22583
|
}
|
|
22576
22584
|
]
|
|
22577
22585
|
};
|
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 {
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EREBH2LV.js";
|
|
40
40
|
import "./chunk-XWVM4KPK.js";
|
|
41
41
|
export {
|
|
42
42
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writeEgressAllowlist,
|
|
78
78
|
writePersistentClaudeWrapper
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=persistent-session-
|
|
80
|
+
//# sourceMappingURL=persistent-session-A4VUV3UI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EREBH2LV.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -471,4 +471,4 @@ export {
|
|
|
471
471
|
readAndResetSlackReplyBindingClassifications,
|
|
472
472
|
readAndResetSlackReplyTargetClassifications
|
|
473
473
|
};
|
|
474
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
474
|
+
//# sourceMappingURL=responsiveness-probe-QRVMR22C.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|