@integrity-labs/agt-cli 0.28.376 → 0.28.378

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-KHAXB7KJ.js";
43
+ } from "../chunk-JB5PEPQU.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -70,7 +70,7 @@ import {
70
70
  renderTemplate,
71
71
  resolveChannels,
72
72
  serializeManifestForSlackCli
73
- } from "../chunk-EZ5DJZ6Q.js";
73
+ } from "../chunk-Q64467SG.js";
74
74
  import "../chunk-XWVM4KPK.js";
75
75
 
76
76
  // src/bin/agt.ts
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.376" : "dev";
4832
+ var cliVersion = true ? "0.28.378" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.376" : "dev";
6004
+ var cliVersion2 = true ? "0.28.378" : "dev";
6005
6005
  var program = new Command();
6006
6006
  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");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -25,7 +25,7 @@ import {
25
25
  resolveConnectivityProbe,
26
26
  worseConnectivityOutcome,
27
27
  wrapScheduledTaskPrompt
28
- } from "./chunk-EZ5DJZ6Q.js";
28
+ } from "./chunk-Q64467SG.js";
29
29
  import {
30
30
  parsePsRows
31
31
  } from "./chunk-XWVM4KPK.js";
@@ -6183,7 +6183,7 @@ function requireHost() {
6183
6183
  }
6184
6184
 
6185
6185
  // src/lib/api-client.ts
6186
- var agtCliVersion = true ? "0.28.376" : "dev";
6186
+ var agtCliVersion = true ? "0.28.378" : "dev";
6187
6187
  var lastConfigHash = null;
6188
6188
  function setConfigHash(hash) {
6189
6189
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8629,4 +8629,4 @@ export {
8629
8629
  managerInstallSystemUnitCommand,
8630
8630
  managerUninstallSystemUnitCommand
8631
8631
  };
8632
- //# sourceMappingURL=chunk-KHAXB7KJ.js.map
8632
+ //# sourceMappingURL=chunk-JB5PEPQU.js.map
@@ -3137,12 +3137,18 @@ var compiledMetaSchema = ajv2.compile(context_meta_schema_default);
3137
3137
  // ../../packages/core/dist/integrations/tool-tier-heuristic.js
3138
3138
  var READ_VERBS = "GET|LIST|FIND|FETCH|RETRIEVE|SEARCH|QUERY|DESCRIBE|INSPECT|SCAN|SHOW|VIEW|READ|EXPORT|DOWNLOAD";
3139
3139
  var NO_READ_VERB_ACTION = `(?!(?:^|.*[_-])(${READ_VERBS})[_-])`;
3140
+ var DRAFT_COMPOSE_VERBS = "CREATE|COMPOSE|SAVE|UPDATE|ADD";
3141
+ var DRAFT_DISPATCH_VERBS = "SEND|POST|PUBLISH|REPLY|FORWARD|DISPATCH|SUBMIT";
3142
+ var NO_DRAFT_COMPOSE_ACTION = `(?!(?=.*(?:^|[_-])(?:${DRAFT_COMPOSE_VERBS})[_-])(?!.*(?:^|[_-])(?:${DRAFT_DISPATCH_VERBS})[_-]).*_DRAFT(?:_|$))`;
3140
3143
  var NO_READ_VERB_INCL_SUFFIX = `(?!(?:^|.*[_-])(${READ_VERBS})(?:[_-]|$))`;
3141
3144
  function p(re) {
3142
3145
  return { re, label: re.source };
3143
3146
  }
3144
3147
  function highRisk(core) {
3145
- return { re: new RegExp(`^${NO_READ_VERB_ACTION}.*${core.source}`, "i"), label: core.source };
3148
+ return {
3149
+ re: new RegExp(`^${NO_READ_VERB_ACTION}${NO_DRAFT_COMPOSE_ACTION}.*${core.source}`, "i"),
3150
+ label: core.source
3151
+ };
3146
3152
  }
3147
3153
  var TIER_PATTERNS = [
3148
3154
  {
@@ -12130,4 +12136,4 @@ export {
12130
12136
  stopAllSessionsAndWait,
12131
12137
  getProjectDir
12132
12138
  };
12133
- //# sourceMappingURL=chunk-EZ5DJZ6Q.js.map
12139
+ //# sourceMappingURL=chunk-Q64467SG.js.map