@integrity-labs/agt-cli 0.28.984 → 0.28.986

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.
@@ -14,7 +14,7 @@ import {
14
14
  parseEnvFileEntries,
15
15
  parseEnvIntegrations,
16
16
  shellQuote
17
- } from "./chunk-72J5FCKI.js";
17
+ } from "./chunk-6KYXH6ZZ.js";
18
18
  import {
19
19
  BIND_FAILURE_QUARANTINE_THRESHOLD,
20
20
  INTEGRATIONS_SECTION_END,
@@ -74,7 +74,7 @@ import {
74
74
  sessionTranscriptDir,
75
75
  worseConnectivityOutcome,
76
76
  wrapScheduledTaskPrompt
77
- } from "./chunk-DI4Q2OVR.js";
77
+ } from "./chunk-TGCA3LTI.js";
78
78
  import {
79
79
  classifyUnanswerablePane,
80
80
  summarizeUnanswerablePane
@@ -3868,23 +3868,20 @@ if [ -f "$STAMP" ]; then
3868
3868
  [ $(( NOW - LAST )) -ge 15 ] || exit 0
3869
3869
  fi
3870
3870
 
3871
- # Derive the one-line "what I'm doing right now" step.
3871
+ # Derive the one-line "what I'm doing right now" step. CS-1722: VERB ONLY, no
3872
+ # tool argument may leave the host (the API reduces it again for older hooks).
3872
3873
  STEP="$(printf '%s' "$INPUT" | jq -r '
3873
- def base(p): (p | tostring | ltrimstr("./") | split("/") | last);
3874
- .tool_name as $t | (.tool_input // {}) as $i |
3875
- if $t == "Bash" then ($i.description // ("Running: " + (($i.command // "") | tostring | .[0:80])))
3876
- elif $t == "Edit" then ("Editing " + base($i.file_path // $i.filePath // "a file"))
3877
- elif $t == "MultiEdit" then ("Editing " + base($i.file_path // $i.filePath // "a file"))
3878
- elif $t == "Write" then ("Writing " + base($i.file_path // $i.filePath // "a file"))
3879
- elif $t == "NotebookEdit" then ("Editing " + base($i.notebook_path // "a notebook"))
3880
- elif $t == "Read" then ("Reading " + base($i.file_path // $i.filePath // "a file"))
3881
- elif $t == "Grep" then ("Searching for " + (($i.pattern // "") | tostring | .[0:60]))
3882
- elif $t == "Glob" then ("Finding files: " + (($i.pattern // "") | tostring | .[0:60]))
3883
- elif $t == "WebSearch" then ("Searching the web: " + (($i.query // "") | tostring | .[0:60]))
3884
- elif $t == "WebFetch" then ("Fetching " + (($i.url // "") | tostring | .[0:80]))
3885
- elif ($t == "Task" or $t == "Agent") then ("Working on: " + (($i.description // "a subtask") | tostring | .[0:80]))
3886
- elif ($t | startswith("mcp__")) then ("Using " + ($t | sub("^mcp__"; "") | gsub("__"; " / ")))
3887
- else ("Working (" + $t + ")")
3874
+ .tool_name as $t |
3875
+ if $t == "Bash" then "Running a command"
3876
+ elif ($t == "Edit" or $t == "MultiEdit" or $t == "NotebookEdit") then "Editing a file"
3877
+ elif $t == "Write" then "Writing a file"
3878
+ elif $t == "Read" then "Reading a file"
3879
+ elif ($t == "Grep" or $t == "Glob") then "Searching"
3880
+ elif $t == "WebSearch" then "Searching the web"
3881
+ elif $t == "WebFetch" then "Fetching a page"
3882
+ elif ($t == "Task" or $t == "Agent") then "Working on a subtask"
3883
+ elif ($t | startswith("mcp__")) then "Using a tool"
3884
+ else "Working"
3888
3885
  end
3889
3886
  ' 2>/dev/null || true)"
3890
3887
  STEP="$(printf '%s' "$STEP" | tr '\\n\\t' ' ' | sed 's/ */ /g' | cut -c1-240)"
@@ -3980,21 +3977,20 @@ if [ -f "$STAMP" ]; then
3980
3977
  fi
3981
3978
 
3982
3979
  # Derive the one-line "what I'm doing right now" step (mirrors auto-kanban-progress).
3980
+ # CS-1722: VERB ONLY. This is posted into the requester's thread, so no tool
3981
+ # argument may leave the host (the channel server reduces it again on read).
3983
3982
  STEP="$(printf '%s' "$INPUT" | jq -r '
3984
- def base(p): (p | tostring | ltrimstr("./") | split("/") | last);
3985
- .tool_name as $t | (.tool_input // {}) as $i |
3986
- if $t == "Bash" then ($i.description // ("Running: " + (($i.command // "") | tostring | .[0:80])))
3987
- elif $t == "Edit" then ("Editing " + base($i.file_path // $i.filePath // "a file"))
3988
- elif $t == "MultiEdit" then ("Editing " + base($i.file_path // $i.filePath // "a file"))
3989
- elif $t == "Write" then ("Writing " + base($i.file_path // $i.filePath // "a file"))
3990
- elif $t == "Read" then ("Reading " + base($i.file_path // $i.filePath // "a file"))
3991
- elif $t == "Grep" then ("Searching for " + (($i.pattern // "") | tostring | .[0:60]))
3992
- elif $t == "Glob" then ("Finding files: " + (($i.pattern // "") | tostring | .[0:60]))
3993
- elif $t == "WebSearch" then ("Searching the web: " + (($i.query // "") | tostring | .[0:60]))
3994
- elif $t == "WebFetch" then ("Fetching " + (($i.url // "") | tostring | .[0:80]))
3995
- elif ($t == "Task" or $t == "Agent") then ("Working on: " + (($i.description // "a subtask") | tostring | .[0:80]))
3996
- elif ($t | startswith("mcp__")) then ("Using " + ($t | sub("^mcp__"; "") | gsub("__"; " / ")))
3997
- else ("Working (" + $t + ")")
3983
+ .tool_name as $t |
3984
+ if $t == "Bash" then "Running a command"
3985
+ elif ($t == "Edit" or $t == "MultiEdit" or $t == "NotebookEdit") then "Editing a file"
3986
+ elif $t == "Write" then "Writing a file"
3987
+ elif $t == "Read" then "Reading a file"
3988
+ elif ($t == "Grep" or $t == "Glob") then "Searching"
3989
+ elif $t == "WebSearch" then "Searching the web"
3990
+ elif $t == "WebFetch" then "Fetching a page"
3991
+ elif ($t == "Task" or $t == "Agent") then "Working on a subtask"
3992
+ elif ($t | startswith("mcp__")) then "Using a tool"
3993
+ else "Working"
3998
3994
  end
3999
3995
  ' 2>/dev/null || true)"
4000
3996
  STEP="$(printf '%s' "$STEP" | tr '\\n\\t' ' ' | sed 's/ */ /g' | cut -c1-160)"
@@ -6967,7 +6963,7 @@ function exchangeFailureKind(err) {
6967
6963
  }
6968
6964
 
6969
6965
  // src/lib/api-client.ts
6970
- var agtCliVersion = true ? "0.28.984" : "dev";
6966
+ var agtCliVersion = true ? "0.28.986" : "dev";
6971
6967
  var lastConfigHash = null;
6972
6968
  function setConfigHash(hash) {
6973
6969
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11709,4 +11705,4 @@ export {
11709
11705
  managerInstallSystemUnitCommand,
11710
11706
  managerUninstallSystemUnitCommand
11711
11707
  };
11712
- //# sourceMappingURL=chunk-PVMVQ5IL.js.map
11708
+ //# sourceMappingURL=chunk-XEI5QMZ7.js.map