@integrity-labs/agt-cli 0.28.555 → 0.28.556

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,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-UX3Q6RQC.js";
43
+ } from "../chunk-NPUK7LOP.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-6WAJQWYD.js";
74
+ } from "../chunk-AD26EE7A.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
4834
4834
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4835
4835
  import chalk18 from "chalk";
4836
4836
  import ora16 from "ora";
4837
- var cliVersion = true ? "0.28.555" : "dev";
4837
+ var cliVersion = true ? "0.28.556" : "dev";
4838
4838
  async function fetchLatestVersion() {
4839
4839
  const host2 = getHost();
4840
4840
  if (!host2) return null;
@@ -6009,7 +6009,7 @@ function handleError(err) {
6009
6009
  }
6010
6010
 
6011
6011
  // src/bin/agt.ts
6012
- var cliVersion2 = true ? "0.28.555" : "dev";
6012
+ var cliVersion2 = true ? "0.28.556" : "dev";
6013
6013
  var program = new Command();
6014
6014
  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");
6015
6015
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -2961,6 +2961,7 @@ var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
2961
2961
  var PLATFORM_STORAGE_RULE = "Store durable, reusable work you build (repeatable procedures, recurring responsibilities, scheduled automation, orchestration scripts) through the Augmented Team platform tools, never as loose local files, unless the user explicitly requests a different destination. Platform artifacts are versioned, reviewable, and survive re-provisioning; loose local files are wiped on the next provision rebuild, reach no one else, and bypass review. Ephemeral scratch files for the task at hand are fine on disk.";
2962
2962
 
2963
2963
  // ../../packages/core/dist/provisioning/frameworks/claudecode/identity.js
2964
+ var SCRATCH_RETENTION_DAYS = 7;
2964
2965
  var CLAUDE_MD_MAX_CHARS = 4e4;
2965
2966
  var CLAUDE_MD_BUDGET_CHARS = 38e3;
2966
2967
  function checkClaudeMdSize(md) {
@@ -3995,6 +3996,39 @@ task) carries the full authoring + refresh-loop how-to and the canonical JSON sc
3995
3996
  - Always quote the full absolute URL \`dashboards_upsert\` returns, never a relative
3996
3997
  path. Never invent figures \u2014 persist zeros / empty arrays if a tool returned nothing.
3997
3998
 
3999
+ ## Working files: use \`scratch/\`, not \`/tmp\`
4000
+
4001
+ Put working files - downloads, intermediate output, backups you make before an
4002
+ edit, one-off scripts - in your **scratch directory**:
4003
+
4004
+ \`\`\`
4005
+ ~/.augmented/{agent_id}/project/ your workspace, durable
4006
+ ~/.augmented/{agent_id}/scratch/ working files, disposable
4007
+ \`\`\`
4008
+
4009
+ **Do not use \`/tmp\`.** It is shared by every agent on the host, all running as
4010
+ root. If you download a customer's document into \`/tmp\`, every other customer's
4011
+ agent on that box can read it. That is a tenancy leak, not an untidiness
4012
+ problem, and it does not become acceptable because the file is small or the task
4013
+ is quick.
4014
+
4015
+ **Your working directory is \`project/\`, and \`scratch/\` is its SIBLING** - so
4016
+ from where you are, the path is \`../scratch/\`, not \`scratch/\`:
4017
+
4018
+ \`\`\`
4019
+ cd ~/.augmented/{agent_id}/scratch # or just work with ../scratch/ from project/
4020
+ curl -o ../scratch/report.pdf https://...
4021
+ \`\`\`
4022
+
4023
+ **Clean up by deleting the files you created, never the directory you are
4024
+ working in.** \`rm -rf ../scratch/some-file\` is fine. \`rm -rf .\` trips Claude
4025
+ Code's dangerous-rm guard and freezes you on a prompt no automation can clear -
4026
+ which has already stalled an agent mid-task with a customer waiting.
4027
+
4028
+ Scratch contents older than ${SCRATCH_RETENTION_DAYS} days are swept
4029
+ automatically. If something needs to outlive that, it was never scratch: put it
4030
+ in \`project/\`, commit it, or publish it as an artefact.
4031
+
3998
4032
  ## Development Workflow
3999
4033
 
4000
4034
  Clone repositories under \`~/code/\`, keeping your workspace separate from agent
@@ -15510,6 +15544,7 @@ export {
15510
15544
  requiredMcpWildcard,
15511
15545
  MAX_AVATAR_ENV_URL_BYTES,
15512
15546
  resolveAvatarEnvUrl,
15547
+ SCRATCH_RETENTION_DAYS,
15513
15548
  CLAUDE_MD_MAX_CHARS,
15514
15549
  INTEGRATIONS_SECTION_START,
15515
15550
  INTEGRATIONS_SECTION_END,
@@ -15694,4 +15729,4 @@ export {
15694
15729
  stopAllSessionsAndWait,
15695
15730
  getProjectDir
15696
15731
  };
15697
- //# sourceMappingURL=chunk-6WAJQWYD.js.map
15732
+ //# sourceMappingURL=chunk-AD26EE7A.js.map