@integrity-labs/agt-cli 0.28.1284 → 0.28.1286
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/{api-client-R6RJRYGB.js → api-client-XQRYQJKJ.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-VVLJQMAS.js → chunk-3R7OXS5I.js} +3 -3
- package/dist/{chunk-MOEUK4YM.js → chunk-DITI25ZO.js} +4 -4
- package/dist/chunk-DITI25ZO.js.map +1 -0
- package/dist/{chunk-ENQZZU7H.js → chunk-FRNONFQA.js} +2 -2
- package/dist/{chunk-UTJFYUFS.js → chunk-HJGZG3P6.js} +3 -3
- package/dist/{chunk-ORVKG3JD.js → chunk-TTEBS4AE.js} +5 -5
- package/dist/{chunk-NTSHQA62.js → chunk-X7ZRYILH.js} +2 -2
- package/dist/{claude-code-updater-CHQOLPJQ.js → claude-code-updater-6NRYKDKS.js} +3 -3
- package/dist/{claude-pair-runtime-DULPA33Z.js → claude-pair-runtime-7UQEV7XI.js} +3 -3
- package/dist/lib/manager-worker.js +21 -21
- package/dist/mcp/slack-channel.js +270 -3
- package/dist/mcp/xero.js +19 -8
- package/dist/{persistent-session-IAMIVRZ3.js → persistent-session-VBJAAJC7.js} +4 -4
- package/dist/{responsiveness-probe-CLRUQOE2.js → responsiveness-probe-QKMGCTFR.js} +4 -4
- package/dist/{session-auth-dead-SH6ZJTOS.js → session-auth-dead-IBUKQXBO.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-MOEUK4YM.js.map +0 -1
- /package/dist/{api-client-R6RJRYGB.js.map → api-client-XQRYQJKJ.js.map} +0 -0
- /package/dist/{chunk-VVLJQMAS.js.map → chunk-3R7OXS5I.js.map} +0 -0
- /package/dist/{chunk-ENQZZU7H.js.map → chunk-FRNONFQA.js.map} +0 -0
- /package/dist/{chunk-UTJFYUFS.js.map → chunk-HJGZG3P6.js.map} +0 -0
- /package/dist/{chunk-ORVKG3JD.js.map → chunk-TTEBS4AE.js.map} +0 -0
- /package/dist/{chunk-NTSHQA62.js.map → chunk-X7ZRYILH.js.map} +0 -0
- /package/dist/{claude-code-updater-CHQOLPJQ.js.map → claude-code-updater-6NRYKDKS.js.map} +0 -0
- /package/dist/{claude-pair-runtime-DULPA33Z.js.map → claude-pair-runtime-7UQEV7XI.js.map} +0 -0
- /package/dist/{persistent-session-IAMIVRZ3.js.map → persistent-session-VBJAAJC7.js.map} +0 -0
- /package/dist/{responsiveness-probe-CLRUQOE2.js.map → responsiveness-probe-QKMGCTFR.js.map} +0 -0
- /package/dist/{session-auth-dead-SH6ZJTOS.js.map → session-auth-dead-IBUKQXBO.js.map} +0 -0
package/dist/mcp/xero.js
CHANGED
|
@@ -121656,13 +121656,19 @@ var ListAgedReceivablesByContact = CreateXeroTool(
|
|
|
121656
121656
|
var list_aged_receivables_by_contact_tool_default = ListAgedReceivablesByContact;
|
|
121657
121657
|
|
|
121658
121658
|
// src/handlers/list-xero-bank-transactions.handler.ts
|
|
121659
|
-
|
|
121659
|
+
function buildBankTransactionsWhere(bankAccountId, unreconciledOnly) {
|
|
121660
|
+
const clauses = [];
|
|
121661
|
+
if (bankAccountId) clauses.push(`BankAccount.AccountID=guid("${bankAccountId}")`);
|
|
121662
|
+
if (unreconciledOnly) clauses.push("IsReconciled==false");
|
|
121663
|
+
return clauses.length > 0 ? clauses.join(" AND ") : void 0;
|
|
121664
|
+
}
|
|
121665
|
+
async function getBankTransactions(page, bankAccountId, unreconciledOnly) {
|
|
121660
121666
|
await xeroClient.authenticate();
|
|
121661
121667
|
const response = await xeroClient.accountingApi.getBankTransactions(
|
|
121662
121668
|
xeroClient.tenantId,
|
|
121663
121669
|
void 0,
|
|
121664
121670
|
// ifModifiedSince
|
|
121665
|
-
bankAccountId
|
|
121671
|
+
buildBankTransactionsWhere(bankAccountId, unreconciledOnly),
|
|
121666
121672
|
// where
|
|
121667
121673
|
"Date DESC",
|
|
121668
121674
|
// order
|
|
@@ -121676,9 +121682,9 @@ async function getBankTransactions(page, bankAccountId) {
|
|
|
121676
121682
|
);
|
|
121677
121683
|
return response.body.bankTransactions ?? [];
|
|
121678
121684
|
}
|
|
121679
|
-
async function listXeroBankTransactions(page = 1, bankAccountId) {
|
|
121685
|
+
async function listXeroBankTransactions(page = 1, bankAccountId, unreconciledOnly) {
|
|
121680
121686
|
try {
|
|
121681
|
-
const bankTransactions = await getBankTransactions(page, bankAccountId);
|
|
121687
|
+
const bankTransactions = await getBankTransactions(page, bankAccountId, unreconciledOnly);
|
|
121682
121688
|
return {
|
|
121683
121689
|
result: bankTransactions,
|
|
121684
121690
|
isError: false,
|
|
@@ -121719,18 +121725,23 @@ var ListBankTransactionsTool = CreateXeroTool(
|
|
|
121719
121725
|
in the bank account and absent from this list entirely. A balance, receivables
|
|
121720
121726
|
or cashflow figure derived from this may be incomplete, and nothing here reveals
|
|
121721
121727
|
by how much. (CS-1638)
|
|
121728
|
+
Set unreconciledOnly to true to list only BankTransaction records Xero has not
|
|
121729
|
+
reconciled yet (a work list for reconciling in Xero). It still does NOT include
|
|
121730
|
+
bank feed statement lines with no ledger record, so a payout sitting only in
|
|
121731
|
+
the bank feed will not appear. (CS-1567)
|
|
121722
121732
|
Ask the user if they want to see bank transactions for a specific bank account,
|
|
121723
121733
|
or to see all bank transactions before running.
|
|
121724
121734
|
Ask the user if they want the next page of quotes after running this tool if
|
|
121725
121735
|
10 bank transactions are returned.
|
|
121726
121736
|
If they do, call this tool again with the next page number and the bank account
|
|
121727
|
-
|
|
121737
|
+
and unreconciledOnly if they were provided in the previous call.`,
|
|
121728
121738
|
{
|
|
121729
121739
|
page: external_exports.number(),
|
|
121730
|
-
bankAccountId: external_exports.string().optional()
|
|
121740
|
+
bankAccountId: external_exports.string().optional(),
|
|
121741
|
+
unreconciledOnly: external_exports.boolean().optional().describe("Only BankTransaction records not yet reconciled. Does not include unmatched bank feed lines.")
|
|
121731
121742
|
},
|
|
121732
|
-
async ({ bankAccountId, page }) => {
|
|
121733
|
-
const response = await listXeroBankTransactions(page, bankAccountId);
|
|
121743
|
+
async ({ bankAccountId, page, unreconciledOnly }) => {
|
|
121744
|
+
const response = await listXeroBankTransactions(page, bankAccountId, unreconciledOnly);
|
|
121734
121745
|
if (response.isError) {
|
|
121735
121746
|
return {
|
|
121736
121747
|
content: [
|
|
@@ -84,12 +84,12 @@ import {
|
|
|
84
84
|
writeDirectChatSessionState,
|
|
85
85
|
writeEgressAllowlist,
|
|
86
86
|
writePersistentClaudeWrapper
|
|
87
|
-
} from "./chunk-
|
|
88
|
-
import "./chunk-
|
|
87
|
+
} from "./chunk-HJGZG3P6.js";
|
|
88
|
+
import "./chunk-X7ZRYILH.js";
|
|
89
89
|
import "./chunk-XL2HPM67.js";
|
|
90
90
|
import "./chunk-6HBXEJHO.js";
|
|
91
91
|
import "./chunk-XWVM4KPK.js";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-DITI25ZO.js";
|
|
93
93
|
import "./chunk-AIUIMEUS.js";
|
|
94
94
|
import "./chunk-DGUM43GV.js";
|
|
95
95
|
export {
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
writeEgressAllowlist,
|
|
180
180
|
writePersistentClaudeWrapper
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=persistent-session-
|
|
182
|
+
//# sourceMappingURL=persistent-session-VBJAAJC7.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-HJGZG3P6.js";
|
|
4
|
+
import "./chunk-X7ZRYILH.js";
|
|
5
5
|
import "./chunk-XL2HPM67.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DITI25ZO.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-QKMGCTFR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-X7ZRYILH.js";
|
|
4
|
+
import "./chunk-DITI25ZO.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-IBUKQXBO.js.map
|