@integrity-labs/agt-cli 0.28.1288 → 0.28.1290
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-ONUS5KBY.js → api-client-G5MBBP5G.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-X7ZRYILH.js → chunk-3NCSZIK4.js} +2 -2
- package/dist/{chunk-KWGJU7EK.js → chunk-6YJL5HCY.js} +5 -5
- package/dist/{chunk-FRNONFQA.js → chunk-IPWGWDON.js} +2 -2
- package/dist/{chunk-DITI25ZO.js → chunk-LAJEUIP7.js} +35 -3
- package/dist/chunk-LAJEUIP7.js.map +1 -0
- package/dist/{chunk-HJGZG3P6.js → chunk-QSIKMH7L.js} +12 -4
- package/dist/chunk-QSIKMH7L.js.map +1 -0
- package/dist/{chunk-Z7T5B4ES.js → chunk-XDMJSKLQ.js} +3 -3
- package/dist/{claude-code-updater-6NRYKDKS.js → claude-code-updater-NBWLPWZU.js} +3 -3
- package/dist/{claude-pair-runtime-7UQEV7XI.js → claude-pair-runtime-3RJNQ3XJ.js} +3 -3
- package/dist/lib/manager-worker.js +21 -21
- package/dist/mcp/direct-chat-channel.js +34 -2
- package/dist/mcp/index.js +34 -2
- package/dist/mcp/origami.js +34 -2
- package/dist/mcp/slack-channel.js +34 -2
- package/dist/mcp/telegram-channel.js +34 -2
- package/dist/mcp/xero.js +44 -11
- package/dist/{persistent-session-VBJAAJC7.js → persistent-session-Q5FJJAFR.js} +6 -4
- package/dist/{responsiveness-probe-QKMGCTFR.js → responsiveness-probe-EYIQ2RPD.js} +4 -4
- package/dist/{session-auth-dead-IBUKQXBO.js → session-auth-dead-TYDPUWCV.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-DITI25ZO.js.map +0 -1
- package/dist/chunk-HJGZG3P6.js.map +0 -1
- /package/dist/{api-client-ONUS5KBY.js.map → api-client-G5MBBP5G.js.map} +0 -0
- /package/dist/{chunk-X7ZRYILH.js.map → chunk-3NCSZIK4.js.map} +0 -0
- /package/dist/{chunk-KWGJU7EK.js.map → chunk-6YJL5HCY.js.map} +0 -0
- /package/dist/{chunk-FRNONFQA.js.map → chunk-IPWGWDON.js.map} +0 -0
- /package/dist/{chunk-Z7T5B4ES.js.map → chunk-XDMJSKLQ.js.map} +0 -0
- /package/dist/{claude-code-updater-6NRYKDKS.js.map → claude-code-updater-NBWLPWZU.js.map} +0 -0
- /package/dist/{claude-pair-runtime-7UQEV7XI.js.map → claude-pair-runtime-3RJNQ3XJ.js.map} +0 -0
- /package/dist/{persistent-session-VBJAAJC7.js.map → persistent-session-Q5FJJAFR.js.map} +0 -0
- /package/dist/{responsiveness-probe-QKMGCTFR.js.map → responsiveness-probe-EYIQ2RPD.js.map} +0 -0
- /package/dist/{session-auth-dead-IBUKQXBO.js.map → session-auth-dead-TYDPUWCV.js.map} +0 -0
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
mintRotatedHostKey,
|
|
16
16
|
probeHostKey,
|
|
17
17
|
setConfigHash
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-XDMJSKLQ.js";
|
|
19
|
+
import "./chunk-LAJEUIP7.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
22
22
|
ApiError,
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
probeHostKey,
|
|
37
37
|
setConfigHash
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=api-client-
|
|
39
|
+
//# sourceMappingURL=api-client-G5MBBP5G.js.map
|
package/dist/bin/agt.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
success,
|
|
32
32
|
table,
|
|
33
33
|
warn
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-6YJL5HCY.js";
|
|
35
35
|
import {
|
|
36
36
|
ApiError,
|
|
37
37
|
PROD_AGT_HOST,
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
getHost,
|
|
43
43
|
getHostId,
|
|
44
44
|
setActiveTeam
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-XDMJSKLQ.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir,
|
|
48
48
|
isSessionResumeDisabled,
|
|
49
49
|
readDirectChatSessionState
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-QSIKMH7L.js";
|
|
51
51
|
import {
|
|
52
52
|
markDailySessionSpawn,
|
|
53
53
|
sessionFileExists,
|
|
54
54
|
sessionTranscriptDir
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-3NCSZIK4.js";
|
|
56
56
|
import "../chunk-XL2HPM67.js";
|
|
57
57
|
import "../chunk-6HBXEJHO.js";
|
|
58
58
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
requiredMcpWildcard,
|
|
86
86
|
resolveChannels,
|
|
87
87
|
serializeManifestForSlackCli
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-LAJEUIP7.js";
|
|
89
89
|
import "../chunk-AIUIMEUS.js";
|
|
90
90
|
import "../chunk-DGUM43GV.js";
|
|
91
91
|
|
|
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5207
5207
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5208
5208
|
import chalk17 from "chalk";
|
|
5209
5209
|
import ora15 from "ora";
|
|
5210
|
-
var cliVersion = true ? "0.28.
|
|
5210
|
+
var cliVersion = true ? "0.28.1290" : "dev";
|
|
5211
5211
|
async function fetchLatestVersion() {
|
|
5212
5212
|
const host2 = getHost();
|
|
5213
5213
|
if (!host2) return null;
|
|
@@ -6467,7 +6467,7 @@ function handleError(err) {
|
|
|
6467
6467
|
}
|
|
6468
6468
|
|
|
6469
6469
|
// src/bin/agt.ts
|
|
6470
|
-
var cliVersion2 = true ? "0.28.
|
|
6470
|
+
var cliVersion2 = true ? "0.28.1290" : "dev";
|
|
6471
6471
|
var program = new Command();
|
|
6472
6472
|
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");
|
|
6473
6473
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LAJEUIP7.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -244,4 +244,4 @@ export {
|
|
|
244
244
|
peekPreviousSession,
|
|
245
245
|
readDailySessionPin
|
|
246
246
|
};
|
|
247
|
-
//# sourceMappingURL=chunk-
|
|
247
|
+
//# sourceMappingURL=chunk-3NCSZIK4.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
exchangeApiKey,
|
|
3
3
|
getApiKey,
|
|
4
4
|
getHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XDMJSKLQ.js";
|
|
6
6
|
import {
|
|
7
7
|
LATE_BOUND_VARS,
|
|
8
8
|
PLATFORM_DENY_PERMISSIONS,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
warnIgnoredIsolationAllowlist,
|
|
27
27
|
withheldRemoteMcpMessage,
|
|
28
28
|
withheldRemoteMcpReasonFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QSIKMH7L.js";
|
|
30
30
|
import {
|
|
31
31
|
readDailySessionPin,
|
|
32
32
|
sessionTranscriptDir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3NCSZIK4.js";
|
|
34
34
|
import {
|
|
35
35
|
classifyUnanswerablePane,
|
|
36
36
|
isConsumerTermsDialogVisible,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
scanConfigForLiteralSecrets,
|
|
103
103
|
worseConnectivityOutcome,
|
|
104
104
|
wrapScheduledTaskPrompt
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LAJEUIP7.js";
|
|
106
106
|
import {
|
|
107
107
|
claudeJsonPathFor,
|
|
108
108
|
effectiveClaudeJsonPath,
|
|
@@ -13853,4 +13853,4 @@ export {
|
|
|
13853
13853
|
managerInstallSystemUnitCommand,
|
|
13854
13854
|
managerUninstallSystemUnitCommand
|
|
13855
13855
|
};
|
|
13856
|
-
//# sourceMappingURL=chunk-
|
|
13856
|
+
//# sourceMappingURL=chunk-6YJL5HCY.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-XWVM4KPK.js";
|
|
5
5
|
import {
|
|
6
6
|
FORCED_UPDATE_HARD_DEADLINE_MS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LAJEUIP7.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveClaudeJsonPath
|
|
10
10
|
} from "./chunk-AIUIMEUS.js";
|
|
@@ -722,4 +722,4 @@ export {
|
|
|
722
722
|
probeClaudeInstalls,
|
|
723
723
|
maybeUpdateClaudeCode
|
|
724
724
|
};
|
|
725
|
-
//# sourceMappingURL=chunk-
|
|
725
|
+
//# sourceMappingURL=chunk-IPWGWDON.js.map
|
|
@@ -2068,7 +2068,39 @@ var INTEGRATION_REGISTRY = [
|
|
|
2068
2068
|
{ id: "xero:read-accounts", name: "Read Accounts", description: "View chart of accounts and account balances", access: "read" },
|
|
2069
2069
|
{ id: "xero:read-transactions", name: "Read Transactions", description: "View bank transactions, invoices, and journal entries", access: "read" },
|
|
2070
2070
|
{ id: "xero:read-contacts", name: "Read Contacts", description: "View customers, suppliers, and contact groups", access: "read" },
|
|
2071
|
-
{ id: "xero:manage-settings", name: "Manage Settings", description: "Manage org settings and chart of accounts", access: "admin" }
|
|
2071
|
+
{ id: "xero:manage-settings", name: "Manage Settings", description: "Manage org settings and chart of accounts", access: "admin" },
|
|
2072
|
+
{
|
|
2073
|
+
// CS-2548: the second `requires_org_opt_in` capability, and the first
|
|
2074
|
+
// that carries OAuth scopes. Payroll write consent (payroll.payruns,
|
|
2075
|
+
// payroll.payslip) is the org's decision: it must not be asked for, or
|
|
2076
|
+
// flagged as missing, for every Xero org because one wants pay runs.
|
|
2077
|
+
// The consent and reconnect paths drop it for a non-opted org
|
|
2078
|
+
// (api/lib/opt-in-oauth-scopes.ts) and the broker refuses its verbs
|
|
2079
|
+
// unless the org opted in AND the agent holds the scope
|
|
2080
|
+
// (api/lib/xero-payroll-gate.ts). The scope id matches the seeded
|
|
2081
|
+
// defined_scope `xero:payroll-payruns`.
|
|
2082
|
+
id: "xero:payroll-payruns",
|
|
2083
|
+
name: "Payroll pay runs (draft)",
|
|
2084
|
+
description: "Let agents create DRAFT pay runs in Xero Payroll (Australia) and fill in earnings lines, each held for human approval. Agents never post, approve or finalise a pay run; a person does that in Xero. Off until you turn it on. After turning it on, reconnect Xero so it can grant payroll access.",
|
|
2085
|
+
access: "write",
|
|
2086
|
+
// payroll.settings.read (Obi Wan b662d8ad8266): create_draft reads
|
|
2087
|
+
// GET /PayrollCalendars/<id> to check the calendar name, and Xero puts
|
|
2088
|
+
// PayrollCalendars under payroll.settings(.read). Declared HERE too, so
|
|
2089
|
+
// an agent with the payroll READ skill excluded can still do it once its
|
|
2090
|
+
// org opts in. Read-only; a non-opted org still gets it only via
|
|
2091
|
+
// xero:payroll, because the opt-in filter drops scope IDS, not strings.
|
|
2092
|
+
//
|
|
2093
|
+
// What opting in makes reachable (Obi Wan 5f8a1b871260): these three
|
|
2094
|
+
// scopes enter the agent's effective_scopes, and NOTHING else. They do
|
|
2095
|
+
// NOT unlock the vendor MCP's payroll read tools (employees, leave,
|
|
2096
|
+
// timesheets): xero-mcp-server's tool gate requires an exact `.read`
|
|
2097
|
+
// scope that only xero:payroll declares (PAYROLL_TOOL_REQUIRED_SCOPES in
|
|
2098
|
+
// xero-mcp-server/src/tools/tool-factory.ts), and settings.read is never
|
|
2099
|
+
// a tool's only requirement. So an operator's exclusion of the Payroll &
|
|
2100
|
+
// HR read skill still holds after the org opts in to draft pay runs.
|
|
2101
|
+
required_scopes: ["payroll.payruns", "payroll.payslip", "payroll.settings.read"],
|
|
2102
|
+
requires_org_opt_in: true
|
|
2103
|
+
}
|
|
2072
2104
|
]
|
|
2073
2105
|
},
|
|
2074
2106
|
{
|
|
@@ -3859,7 +3891,7 @@ var INTEGRATION_REGISTRY = [
|
|
|
3859
3891
|
// noting, because this registry is what the org-scoped premium surface
|
|
3860
3892
|
// reads and the seed is not.
|
|
3861
3893
|
//
|
|
3862
|
-
// THE
|
|
3894
|
+
// THE FIRST `requires_org_opt_in` CAPABILITY (CS-2548 added xero:payroll-payruns), and the reason the
|
|
3863
3895
|
// field exists. Live advising streams a meeting IN FLIGHT to a
|
|
3864
3896
|
// server-side vet and meters per armed minute — a different exposure
|
|
3865
3897
|
// from reading a transcript afterwards (ADR-0072), and a recurring
|
|
@@ -19081,4 +19113,4 @@ export {
|
|
|
19081
19113
|
HOST_ROTATE_KEY_CONFLICT,
|
|
19082
19114
|
shouldMintReplacementKey
|
|
19083
19115
|
};
|
|
19084
|
-
//# sourceMappingURL=chunk-
|
|
19116
|
+
//# sourceMappingURL=chunk-LAJEUIP7.js.map
|