@integrity-labs/agt-cli 0.28.1041 → 0.28.1043
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 +5 -5
- package/dist/{chunk-7ORA3ZVJ.js → chunk-NUGMHIGZ.js} +6 -30
- package/dist/chunk-NUGMHIGZ.js.map +1 -0
- package/dist/{chunk-TXRZFABA.js → chunk-O44RDEIA.js} +43 -2
- package/dist/{chunk-TXRZFABA.js.map → chunk-O44RDEIA.js.map} +1 -1
- package/dist/{chunk-OHT4PWAK.js → chunk-PBMQ4KP6.js} +58 -4
- package/dist/chunk-PBMQ4KP6.js.map +1 -0
- package/dist/{claude-pair-runtime-JZU32YLZ.js → claude-pair-runtime-PC7H2NVY.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-3IGNGFEX.js → persistent-session-WF7UMHOW.js} +3 -3
- package/dist/{responsiveness-probe-OVMYX6PK.js → responsiveness-probe-L6WGIQT3.js} +3 -3
- package/dist/{session-auth-dead-EL5HEEEV.js → session-auth-dead-VUJZ3ROC.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-7ORA3ZVJ.js.map +0 -1
- package/dist/chunk-OHT4PWAK.js.map +0 -1
- /package/dist/{claude-pair-runtime-JZU32YLZ.js.map → claude-pair-runtime-PC7H2NVY.js.map} +0 -0
- /package/dist/{persistent-session-3IGNGFEX.js.map → persistent-session-WF7UMHOW.js.map} +0 -0
- /package/dist/{responsiveness-probe-OVMYX6PK.js.map → responsiveness-probe-L6WGIQT3.js.map} +0 -0
- /package/dist/{session-auth-dead-EL5HEEEV.js.map → session-auth-dead-VUJZ3ROC.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-NUGMHIGZ.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-PBMQ4KP6.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-O44RDEIA.js";
|
|
83
83
|
import "../chunk-TQDIIS3X.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
import "../chunk-EL5MWGGH.js";
|
|
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5474
5474
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5475
5475
|
import chalk18 from "chalk";
|
|
5476
5476
|
import ora16 from "ora";
|
|
5477
|
-
var cliVersion = true ? "0.28.
|
|
5477
|
+
var cliVersion = true ? "0.28.1043" : "dev";
|
|
5478
5478
|
async function fetchLatestVersion() {
|
|
5479
5479
|
const host2 = getHost();
|
|
5480
5480
|
if (!host2) return null;
|
|
@@ -6734,7 +6734,7 @@ function handleError(err) {
|
|
|
6734
6734
|
}
|
|
6735
6735
|
|
|
6736
6736
|
// src/bin/agt.ts
|
|
6737
|
-
var cliVersion2 = true ? "0.28.
|
|
6737
|
+
var cliVersion2 = true ? "0.28.1043" : "dev";
|
|
6738
6738
|
var program = new Command();
|
|
6739
6739
|
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");
|
|
6740
6740
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LATE_BOUND_VARS,
|
|
3
|
+
PLATFORM_DENY_PERMISSIONS,
|
|
3
4
|
agentTmpDirFor,
|
|
4
5
|
buildApiKeyRemoteMcpProxyEntry,
|
|
5
6
|
buildLiveHeaderRemoteMcpProxyEntry,
|
|
@@ -15,7 +16,7 @@ import {
|
|
|
15
16
|
parseEnvFileEntries,
|
|
16
17
|
parseEnvIntegrations,
|
|
17
18
|
shellQuote
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PBMQ4KP6.js";
|
|
19
20
|
import {
|
|
20
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
21
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -77,7 +78,7 @@ import {
|
|
|
77
78
|
sessionTranscriptDir,
|
|
78
79
|
worseConnectivityOutcome,
|
|
79
80
|
wrapScheduledTaskPrompt
|
|
80
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-O44RDEIA.js";
|
|
81
82
|
import {
|
|
82
83
|
classifyUnanswerablePane,
|
|
83
84
|
isConsumerTermsDialogVisible,
|
|
@@ -4774,31 +4775,6 @@ function modifyJsonConfig(filePath, fn) {
|
|
|
4774
4775
|
return;
|
|
4775
4776
|
writeFileSync4(filePath, newContent);
|
|
4776
4777
|
}
|
|
4777
|
-
var SECRETS_DENY_PERMISSIONS = [
|
|
4778
|
-
// Read blocks
|
|
4779
|
-
"Read(**/.env*)",
|
|
4780
|
-
"Read(**/.dev.vars*)",
|
|
4781
|
-
"Read(**/*.pem)",
|
|
4782
|
-
"Read(**/*.key)",
|
|
4783
|
-
"Read(**/secrets/**)",
|
|
4784
|
-
"Read(**/credentials/**)",
|
|
4785
|
-
"Read(**/credentials.json)",
|
|
4786
|
-
"Read(**/.aws/**)",
|
|
4787
|
-
// gcloud stores ADC + cached access/refresh tokens under ~/.config/gcloud/
|
|
4788
|
-
// (application_default_credentials.json, credentials.db, access_tokens.db).
|
|
4789
|
-
// Brokered GCP access flows via CLOUDSDK_AUTH_ACCESS_TOKEN env, never these
|
|
4790
|
-
// files, so denying reads here is the GCP analogue of the .aws/ block.
|
|
4791
|
-
"Read(**/.config/gcloud/**)",
|
|
4792
|
-
"Read(**/.ssh/**)",
|
|
4793
|
-
"Read(**/config/database.yml)",
|
|
4794
|
-
"Read(**/config/credentials.json)",
|
|
4795
|
-
"Read(**/.npmrc)",
|
|
4796
|
-
"Read(**/.pypirc)",
|
|
4797
|
-
// Write blocks
|
|
4798
|
-
"Write(**/.env*)",
|
|
4799
|
-
"Write(**/secrets/**)",
|
|
4800
|
-
"Write(**/.ssh/**)"
|
|
4801
|
-
];
|
|
4802
4778
|
var SUBAGENT_BUILTIN_TOOLS = [
|
|
4803
4779
|
"Bash",
|
|
4804
4780
|
"Read",
|
|
@@ -4898,7 +4874,7 @@ function buildSettingsJson(input) {
|
|
|
4898
4874
|
// Temp files
|
|
4899
4875
|
])
|
|
4900
4876
|
];
|
|
4901
|
-
settings["permissions"] = { deny:
|
|
4877
|
+
settings["permissions"] = { deny: [...PLATFORM_DENY_PERMISSIONS] };
|
|
4902
4878
|
return settings;
|
|
4903
4879
|
}
|
|
4904
4880
|
var SUBAGENT_CREDENTIAL_CONVENTION = "You inherit the parent agent's environment, including credentials for the integrations below. Most follow the convention `<DEFINITION_ID>_ACCESS_TOKEN` for OAuth and `<DEFINITION_ID>_API_KEY` for API-key integrations \u2014 so GitHub's OAuth token, WHEN it is delivered that way, is `GITHUB_ACCESS_TOKEN`, and Postiz's key is `POSTIZ_API_KEY`. **Some integrations deliberately have no env var at all.** Their credential is never written to this host: the integration's own MCP server fetches a fresh one on every call. For those, the MCP tools ARE the credential \u2014 a missing env var means \"use the tools\", NOT \"not connected\". Never report an integration as unavailable because you could not find a token for it, and never try to reconstruct one. Where a CLI is listed, prefer it over raw curl \u2014 the CLI handles auth automatically.";
|
|
@@ -7143,7 +7119,7 @@ function exchangeFailureKind(err) {
|
|
|
7143
7119
|
}
|
|
7144
7120
|
|
|
7145
7121
|
// src/lib/api-client.ts
|
|
7146
|
-
var agtCliVersion = true ? "0.28.
|
|
7122
|
+
var agtCliVersion = true ? "0.28.1043" : "dev";
|
|
7147
7123
|
var lastConfigHash = null;
|
|
7148
7124
|
function setConfigHash(hash) {
|
|
7149
7125
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -12100,4 +12076,4 @@ export {
|
|
|
12100
12076
|
managerInstallSystemUnitCommand,
|
|
12101
12077
|
managerUninstallSystemUnitCommand
|
|
12102
12078
|
};
|
|
12103
|
-
//# sourceMappingURL=chunk-
|
|
12079
|
+
//# sourceMappingURL=chunk-NUGMHIGZ.js.map
|