@integrity-labs/agt-cli 0.28.1214 → 0.28.1216
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 +6 -6
- package/dist/{chunk-KZZZUC5N.js → chunk-B5ZQQ7Z2.js} +5 -1
- package/dist/chunk-B5ZQQ7Z2.js.map +1 -0
- package/dist/{chunk-CJ5S5WWP.js → chunk-KZMARLWR.js} +14 -13
- package/dist/chunk-KZMARLWR.js.map +1 -0
- package/dist/{chunk-Y2PSZAJQ.js → chunk-QCQYDXYP.js} +3 -3
- package/dist/{chunk-K4Y3PMWM.js → chunk-QHO44YUB.js} +2 -2
- package/dist/{chunk-HZ4EL7WU.js → chunk-U63NF4FC.js} +2 -2
- package/dist/{claude-code-updater-PBEYKZ34.js → claude-code-updater-FTIWTIDK.js} +3 -3
- package/dist/{claude-pair-runtime-5RPDOVKD.js → claude-pair-runtime-M3QT5MWP.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/augmented-admin.js +19 -0
- package/dist/mcp/direct-chat-channel.js +4 -0
- package/dist/mcp/index.js +37 -5
- package/dist/mcp/origami.js +4 -0
- package/dist/mcp/slack-channel.js +4 -0
- package/dist/mcp/telegram-channel.js +4 -0
- package/dist/{persistent-session-NCDYGOAP.js → persistent-session-WEQTZT4Z.js} +4 -4
- package/dist/{responsiveness-probe-6BYTKCOJ.js → responsiveness-probe-LMBZ5JOK.js} +4 -4
- package/dist/{session-auth-dead-SO5JH3MQ.js → session-auth-dead-NRVMU7CE.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-CJ5S5WWP.js.map +0 -1
- package/dist/chunk-KZZZUC5N.js.map +0 -1
- /package/dist/{chunk-Y2PSZAJQ.js.map → chunk-QCQYDXYP.js.map} +0 -0
- /package/dist/{chunk-K4Y3PMWM.js.map → chunk-QHO44YUB.js.map} +0 -0
- /package/dist/{chunk-HZ4EL7WU.js.map → chunk-U63NF4FC.js.map} +0 -0
- /package/dist/{claude-code-updater-PBEYKZ34.js.map → claude-code-updater-FTIWTIDK.js.map} +0 -0
- /package/dist/{claude-pair-runtime-5RPDOVKD.js.map → claude-pair-runtime-M3QT5MWP.js.map} +0 -0
- /package/dist/{persistent-session-NCDYGOAP.js.map → persistent-session-WEQTZT4Z.js.map} +0 -0
- /package/dist/{responsiveness-probe-6BYTKCOJ.js.map → responsiveness-probe-LMBZ5JOK.js.map} +0 -0
- /package/dist/{session-auth-dead-SO5JH3MQ.js.map → session-auth-dead-NRVMU7CE.js.map} +0 -0
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QCQYDXYP.js";
|
|
20
20
|
import {
|
|
21
21
|
readDailySessionPin,
|
|
22
22
|
sessionTranscriptDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-U63NF4FC.js";
|
|
24
24
|
import {
|
|
25
25
|
classifyUnanswerablePane,
|
|
26
26
|
isConsumerTermsDialogVisible,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
scanConfigForLiteralSecrets,
|
|
93
93
|
worseConnectivityOutcome,
|
|
94
94
|
wrapScheduledTaskPrompt
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-B5ZQQ7Z2.js";
|
|
96
96
|
import {
|
|
97
97
|
claudeJsonPathFor,
|
|
98
98
|
effectiveClaudeJsonPath,
|
|
@@ -1857,11 +1857,11 @@ import { createCipheriv, createDecipheriv, randomBytes } from "crypto";
|
|
|
1857
1857
|
var DEFAULT_DEK_CACHE_TTL_MS = 5 * 6e4;
|
|
1858
1858
|
var cache = /* @__PURE__ */ new Map();
|
|
1859
1859
|
var failures = /* @__PURE__ */ new Map();
|
|
1860
|
-
function cacheKey(entry) {
|
|
1861
|
-
return `${entry.ref}\0${entry.dek}`;
|
|
1860
|
+
function cacheKey(entry, binding) {
|
|
1861
|
+
return `${entry.ref}\0${entry.dek}\0${binding.orgId}`;
|
|
1862
1862
|
}
|
|
1863
|
-
function getDekFailure(entry) {
|
|
1864
|
-
const key = cacheKey(entry);
|
|
1863
|
+
function getDekFailure(entry, binding) {
|
|
1864
|
+
const key = cacheKey(entry, binding);
|
|
1865
1865
|
const hit = failures.get(key);
|
|
1866
1866
|
if (!hit)
|
|
1867
1867
|
return null;
|
|
@@ -1871,8 +1871,8 @@ function getDekFailure(entry) {
|
|
|
1871
1871
|
}
|
|
1872
1872
|
return hit.err;
|
|
1873
1873
|
}
|
|
1874
|
-
function getCachedDek(entry) {
|
|
1875
|
-
const key = cacheKey(entry);
|
|
1874
|
+
function getCachedDek(entry, binding) {
|
|
1875
|
+
const key = cacheKey(entry, binding);
|
|
1876
1876
|
const hit = cache.get(key);
|
|
1877
1877
|
if (!hit)
|
|
1878
1878
|
return null;
|
|
@@ -1968,15 +1968,16 @@ function decryptSecret(encoded, context) {
|
|
|
1968
1968
|
if (scheme === "c" && parsed.header.w.length > 1) {
|
|
1969
1969
|
throw new CustomerKekUnavailableError(`scheme c: this row dual-wraps ${parsed.header.w.length} DEK entries, and which custody may satisfy it is an ADR-0062 increment D decision that has not been made \u2014 refusing rather than letting a platform wrap override a revoked customer KEK`);
|
|
1970
1970
|
}
|
|
1971
|
+
const binding = { orgId: context.orgId };
|
|
1971
1972
|
let dek = null;
|
|
1972
1973
|
for (const entry of parsed.header.w) {
|
|
1973
|
-
dek = getCachedDek(entry);
|
|
1974
|
+
dek = getCachedDek(entry, binding);
|
|
1974
1975
|
if (dek)
|
|
1975
1976
|
break;
|
|
1976
1977
|
}
|
|
1977
1978
|
if (!dek) {
|
|
1978
1979
|
for (const entry of parsed.header.w) {
|
|
1979
|
-
const failure = getDekFailure(entry);
|
|
1980
|
+
const failure = getDekFailure(entry, binding);
|
|
1980
1981
|
if (failure)
|
|
1981
1982
|
throw failure;
|
|
1982
1983
|
}
|
|
@@ -8082,7 +8083,7 @@ function exchangeFailureKind(err) {
|
|
|
8082
8083
|
}
|
|
8083
8084
|
|
|
8084
8085
|
// src/lib/api-client.ts
|
|
8085
|
-
var agtCliVersion = true ? "0.28.
|
|
8086
|
+
var agtCliVersion = true ? "0.28.1216" : "dev";
|
|
8086
8087
|
var lastConfigHash = null;
|
|
8087
8088
|
function setConfigHash(hash) {
|
|
8088
8089
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -13683,4 +13684,4 @@ export {
|
|
|
13683
13684
|
managerInstallSystemUnitCommand,
|
|
13684
13685
|
managerUninstallSystemUnitCommand
|
|
13685
13686
|
};
|
|
13686
|
-
//# sourceMappingURL=chunk-
|
|
13687
|
+
//# sourceMappingURL=chunk-KZMARLWR.js.map
|