@integrity-labs/agt-cli 0.28.983 → 0.28.985

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.
@@ -39859,6 +39859,34 @@ function computeStreamSlices(content, config2 = DEFAULT_STREAM_SLICE_CONFIG) {
39859
39859
  return slices;
39860
39860
  }
39861
39861
 
39862
+ // ../core/dist/channels/progress-step.js
39863
+ var AUTO_PROGRESS_FALLBACK_STEP = "Working\u2026";
39864
+ var VERBS = [
39865
+ ["Running", "Running a command"],
39866
+ ["Editing", "Editing a file"],
39867
+ ["Writing", "Writing a file"],
39868
+ ["Reading", "Reading a file"],
39869
+ ["Searching the web", "Searching the web"],
39870
+ ["Searching", "Searching"],
39871
+ ["Finding files", "Searching"],
39872
+ ["Fetching", "Fetching a page"],
39873
+ ["Working on", "Working on a subtask"],
39874
+ ["Using", "Using a tool"]
39875
+ ];
39876
+ function sanitizeAutoProgressStep(raw) {
39877
+ const text = raw.trim();
39878
+ if (!text)
39879
+ return "";
39880
+ for (const [prefix, label] of VERBS) {
39881
+ if (!text.startsWith(prefix))
39882
+ continue;
39883
+ const next = text.charAt(prefix.length);
39884
+ if (next === "" || next === " " || next === ":")
39885
+ return label;
39886
+ }
39887
+ return AUTO_PROGRESS_FALLBACK_STEP;
39888
+ }
39889
+
39862
39890
  // src/channel-progress.ts
39863
39891
  function channelLiveProgressEnabled() {
39864
39892
  return resolveHostBooleanFlag({
@@ -39915,7 +39943,7 @@ function parseProgressHeartbeat(raw) {
39915
39943
  if (!raw) return null;
39916
39944
  try {
39917
39945
  const obj = JSON.parse(raw);
39918
- const step = typeof obj.step === "string" ? obj.step.trim() : "";
39946
+ const step = typeof obj.step === "string" ? sanitizeAutoProgressStep(obj.step) : "";
39919
39947
  const updatedAtMs = typeof obj.updated_at_ms === "number" ? obj.updated_at_ms : NaN;
39920
39948
  if (!step || !Number.isFinite(updatedAtMs)) return null;
39921
39949
  return { step, updatedAtMs };
package/dist/mcp/index.js CHANGED
@@ -47212,7 +47212,7 @@ server.tool(
47212
47212
  source_external_id: external_exports.string().optional().describe('ID in the external system (e.g., "ENG-123")'),
47213
47213
  source_url: external_exports.string().optional().describe("Deep link URL to the external source"),
47214
47214
  deliver_to: external_exports.string().optional().describe(
47215
- "Optional: the Slack user id of the person who asked for this (the requester), so you can notify/deliver to them when the task needs their input or is done. If omitted on a card that came FROM a conversation, it defaults to the person you are talking to. It never defaults for a card created with no_channel_origin: true."
47215
+ 'Optional: the Slack user id of the person who asked for this (the requester), so you can notify/deliver to them when the task needs their input or is done. If omitted on a card that came FROM a conversation, it defaults to the person you are talking to. It never defaults for a card created with no_channel_origin: true. Pass the literal "none" to track the work without notifying the requester: no progress card is posted into the conversation and no completion card, result DM or waiting-on prompt is sent to them (reply to the person yourself when you have something for them). Operational escalation still happens: if the result cannot be delivered at all, the dead-letter path can notify the manager or team admins of the agent. Cannot be combined with notify_channel/notify_to.'
47216
47216
  ),
47217
47217
  no_channel_origin: external_exports.boolean().optional().describe(
47218
47218
  "Set true when this card did NOT come from a message someone sent you: work you started yourself, a scheduled/routine run, follow-up you decided to do, anything not answering a specific conversation. Without it, a card created shortly after any inbound message is attached to THAT conversation - its progress card posts into that person's thread and its result is addressed to them, even if the work has nothing to do with them. Leave it unset for a card that IS the answer to the message you are handling."
@@ -41781,6 +41781,34 @@ function removeRecoveryLedgerEntry(ledgerDir, markerName, unlink = (p2) => {
41781
41781
  }
41782
41782
  }
41783
41783
 
41784
+ // ../core/dist/channels/progress-step.js
41785
+ var AUTO_PROGRESS_FALLBACK_STEP = "Working\u2026";
41786
+ var VERBS = [
41787
+ ["Running", "Running a command"],
41788
+ ["Editing", "Editing a file"],
41789
+ ["Writing", "Writing a file"],
41790
+ ["Reading", "Reading a file"],
41791
+ ["Searching the web", "Searching the web"],
41792
+ ["Searching", "Searching"],
41793
+ ["Finding files", "Searching"],
41794
+ ["Fetching", "Fetching a page"],
41795
+ ["Working on", "Working on a subtask"],
41796
+ ["Using", "Using a tool"]
41797
+ ];
41798
+ function sanitizeAutoProgressStep(raw) {
41799
+ const text = raw.trim();
41800
+ if (!text)
41801
+ return "";
41802
+ for (const [prefix, label] of VERBS) {
41803
+ if (!text.startsWith(prefix))
41804
+ continue;
41805
+ const next = text.charAt(prefix.length);
41806
+ if (next === "" || next === " " || next === ":")
41807
+ return label;
41808
+ }
41809
+ return AUTO_PROGRESS_FALLBACK_STEP;
41810
+ }
41811
+
41784
41812
  // src/channel-progress.ts
41785
41813
  function channelLiveProgressEnabled() {
41786
41814
  return resolveHostBooleanFlag({
@@ -41837,7 +41865,7 @@ function parseProgressHeartbeat(raw) {
41837
41865
  if (!raw) return null;
41838
41866
  try {
41839
41867
  const obj = JSON.parse(raw);
41840
- const step = typeof obj.step === "string" ? obj.step.trim() : "";
41868
+ const step = typeof obj.step === "string" ? sanitizeAutoProgressStep(obj.step) : "";
41841
41869
  const updatedAtMs = typeof obj.updated_at_ms === "number" ? obj.updated_at_ms : NaN;
41842
41870
  if (!step || !Number.isFinite(updatedAtMs)) return null;
41843
41871
  return { step, updatedAtMs };
@@ -41765,6 +41765,34 @@ function telegramInboundId(chatId, messageId) {
41765
41765
  return hashInboundId(`${chatId}|${messageId}`);
41766
41766
  }
41767
41767
 
41768
+ // ../core/dist/channels/progress-step.js
41769
+ var AUTO_PROGRESS_FALLBACK_STEP = "Working\u2026";
41770
+ var VERBS = [
41771
+ ["Running", "Running a command"],
41772
+ ["Editing", "Editing a file"],
41773
+ ["Writing", "Writing a file"],
41774
+ ["Reading", "Reading a file"],
41775
+ ["Searching the web", "Searching the web"],
41776
+ ["Searching", "Searching"],
41777
+ ["Finding files", "Searching"],
41778
+ ["Fetching", "Fetching a page"],
41779
+ ["Working on", "Working on a subtask"],
41780
+ ["Using", "Using a tool"]
41781
+ ];
41782
+ function sanitizeAutoProgressStep(raw) {
41783
+ const text = raw.trim();
41784
+ if (!text)
41785
+ return "";
41786
+ for (const [prefix, label] of VERBS) {
41787
+ if (!text.startsWith(prefix))
41788
+ continue;
41789
+ const next = text.charAt(prefix.length);
41790
+ if (next === "" || next === " " || next === ":")
41791
+ return label;
41792
+ }
41793
+ return AUTO_PROGRESS_FALLBACK_STEP;
41794
+ }
41795
+
41768
41796
  // src/channel-progress.ts
41769
41797
  function channelLiveProgressEnabled() {
41770
41798
  return resolveHostBooleanFlag({
@@ -41821,7 +41849,7 @@ function parseProgressHeartbeat(raw) {
41821
41849
  if (!raw) return null;
41822
41850
  try {
41823
41851
  const obj = JSON.parse(raw);
41824
- const step = typeof obj.step === "string" ? obj.step.trim() : "";
41852
+ const step = typeof obj.step === "string" ? sanitizeAutoProgressStep(obj.step) : "";
41825
41853
  const updatedAtMs = typeof obj.updated_at_ms === "number" ? obj.updated_at_ms : NaN;
41826
41854
  if (!step || !Number.isFinite(updatedAtMs)) return null;
41827
41855
  return { step, updatedAtMs };
@@ -62,8 +62,8 @@ import {
62
62
  writeDirectChatSessionState,
63
63
  writeEgressAllowlist,
64
64
  writePersistentClaudeWrapper
65
- } from "./chunk-2JWJZSMK.js";
66
- import "./chunk-3GL4ZO25.js";
65
+ } from "./chunk-V5HXKGU3.js";
66
+ import "./chunk-IOV5NDDZ.js";
67
67
  import "./chunk-DHWNVVX4.js";
68
68
  import "./chunk-XWVM4KPK.js";
69
69
  export {
@@ -131,4 +131,4 @@ export {
131
131
  writeEgressAllowlist,
132
132
  writePersistentClaudeWrapper
133
133
  };
134
- //# sourceMappingURL=persistent-session-YKEY6ACQ.js.map
134
+ //# sourceMappingURL=persistent-session-UA7UEZUB.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-2JWJZSMK.js";
4
- import "./chunk-3GL4ZO25.js";
3
+ } from "./chunk-V5HXKGU3.js";
4
+ import "./chunk-IOV5NDDZ.js";
5
5
  import "./chunk-DHWNVVX4.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
 
@@ -800,4 +800,4 @@ export {
800
800
  readAndResetSlackReplyBindingClassifications,
801
801
  readAndResetSlackReplyTargetClassifications
802
802
  };
803
- //# sourceMappingURL=responsiveness-probe-2T6AKR7I.js.map
803
+ //# sourceMappingURL=responsiveness-probe-WFCKAA6B.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-3GL4ZO25.js";
3
+ } from "./chunk-IOV5NDDZ.js";
4
4
 
5
5
  // src/lib/session-auth-dead.ts
6
6
  import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
@@ -203,4 +203,4 @@ export {
203
203
  decideSessionAuthState,
204
204
  probeSessionAuth
205
205
  };
206
- //# sourceMappingURL=session-auth-dead-S2XOP5EO.js.map
206
+ //# sourceMappingURL=session-auth-dead-LY6ZNPYR.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.983",
3
+ "version": "0.28.985",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {