@integrity-labs/agt-cli 0.28.1065 → 0.28.1066

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 CHANGED
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-CHU4KODD.js";
43
+ } from "../chunk-Q6O7HVJQ.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-HDPG36NY.js";
48
+ } from "../chunk-OW6XCSOU.js";
49
49
  import {
50
50
  AnchorSessionClient,
51
51
  CHANNEL_REGISTRY,
@@ -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.1065" : "dev";
5477
+ var cliVersion = true ? "0.28.1066" : "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.1065" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1066" : "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) => {
@@ -3766,10 +3766,22 @@ var SECRETS_DENY_PERMISSIONS = [
3766
3766
  "Read(**/config/credentials.json)",
3767
3767
  "Read(**/.npmrc)",
3768
3768
  "Read(**/.pypirc)",
3769
- // Write blocks
3770
- "Write(**/.env*)",
3771
- "Write(**/secrets/**)",
3772
- "Write(**/.ssh/**)"
3769
+ // Write blocks, spelled as Edit(...) ON PURPOSE (ENG-11256).
3770
+ //
3771
+ // Claude Code's file permission checks match only Edit(path) rules; a
3772
+ // Write(path) deny rule is silently never consulted. It says so at startup:
3773
+ //
3774
+ // Permission deny rule (.claude/settings.json): Write(**/.env*) is not
3775
+ // matched by file permission checks - only Edit(path) rules are. Use
3776
+ // Edit(**/.env*) instead
3777
+ //
3778
+ // An Edit(path) rule covers every built-in file-editing tool, Write
3779
+ // included. These three were Write(...) until ENG-11256, which means writes
3780
+ // to .env files, secrets/ and .ssh/ were unblocked fleet-wide while the list
3781
+ // looked complete. Do not "restore" the Write spelling.
3782
+ "Edit(**/.env*)",
3783
+ "Edit(**/secrets/**)",
3784
+ "Edit(**/.ssh/**)"
3773
3785
  ];
3774
3786
  var CLAUDE_ARTIFACT_TOOLS_DENY = [
3775
3787
  "Artifact",
@@ -6011,4 +6023,4 @@ export {
6011
6023
  stopAllSessionsAndWait,
6012
6024
  getProjectDir
6013
6025
  };
6014
- //# sourceMappingURL=chunk-HDPG36NY.js.map
6026
+ //# sourceMappingURL=chunk-OW6XCSOU.js.map