@integrity-labs/agt-cli 0.28.1209 → 0.28.1211

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.
Files changed (29) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-QPNZGRNJ.js → chunk-6YBTIPCB.js} +2 -2
  3. package/dist/{chunk-WSJULPTE.js → chunk-ALZS5XAJ.js} +5 -5
  4. package/dist/{chunk-BWIPB6CR.js → chunk-OFYHF2CU.js} +3 -3
  5. package/dist/{chunk-IXMHJ3GU.js → chunk-PL2SNTAN.js} +21 -4
  6. package/dist/chunk-PL2SNTAN.js.map +1 -0
  7. package/dist/{chunk-EV2TOTKT.js → chunk-POUQ6BY5.js} +2 -2
  8. package/dist/{claude-code-updater-5Z43CR4N.js → claude-code-updater-GCXW25K2.js} +3 -3
  9. package/dist/{claude-pair-runtime-EGFTJSNS.js → claude-pair-runtime-FZPM6JE6.js} +3 -3
  10. package/dist/lib/manager-worker.js +19 -19
  11. package/dist/mcp/direct-chat-channel.js +20 -3
  12. package/dist/mcp/index.js +20 -3
  13. package/dist/mcp/origami.js +20 -3
  14. package/dist/mcp/slack-channel.js +183 -3
  15. package/dist/mcp/telegram-channel.js +20 -3
  16. package/dist/{persistent-session-NEKCQLFH.js → persistent-session-65FCCLDW.js} +4 -4
  17. package/dist/{responsiveness-probe-4VILKGY6.js → responsiveness-probe-6CJCC736.js} +4 -4
  18. package/dist/{session-auth-dead-UZGQIMDK.js → session-auth-dead-FWNR2IOO.js} +3 -3
  19. package/package.json +1 -1
  20. package/dist/chunk-IXMHJ3GU.js.map +0 -1
  21. /package/dist/{chunk-QPNZGRNJ.js.map → chunk-6YBTIPCB.js.map} +0 -0
  22. /package/dist/{chunk-WSJULPTE.js.map → chunk-ALZS5XAJ.js.map} +0 -0
  23. /package/dist/{chunk-BWIPB6CR.js.map → chunk-OFYHF2CU.js.map} +0 -0
  24. /package/dist/{chunk-EV2TOTKT.js.map → chunk-POUQ6BY5.js.map} +0 -0
  25. /package/dist/{claude-code-updater-5Z43CR4N.js.map → claude-code-updater-GCXW25K2.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-EGFTJSNS.js.map → claude-pair-runtime-FZPM6JE6.js.map} +0 -0
  27. /package/dist/{persistent-session-NEKCQLFH.js.map → persistent-session-65FCCLDW.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-4VILKGY6.js.map → responsiveness-probe-6CJCC736.js.map} +0 -0
  29. /package/dist/{session-auth-dead-UZGQIMDK.js.map → session-auth-dead-FWNR2IOO.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,17 +40,17 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-WSJULPTE.js";
43
+ } from "../chunk-ALZS5XAJ.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-BWIPB6CR.js";
48
+ } from "../chunk-OFYHF2CU.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-QPNZGRNJ.js";
53
+ } from "../chunk-6YBTIPCB.js";
54
54
  import "../chunk-HYQ7VOC3.js";
55
55
  import "../chunk-6HBXEJHO.js";
56
56
  import "../chunk-XWVM4KPK.js";
@@ -83,7 +83,7 @@ import {
83
83
  requiredMcpWildcard,
84
84
  resolveChannels,
85
85
  serializeManifestForSlackCli
86
- } from "../chunk-IXMHJ3GU.js";
86
+ } from "../chunk-PL2SNTAN.js";
87
87
  import "../chunk-AIUIMEUS.js";
88
88
  import "../chunk-DGUM43GV.js";
89
89
 
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
5200
5200
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5201
5201
  import chalk17 from "chalk";
5202
5202
  import ora15 from "ora";
5203
- var cliVersion = true ? "0.28.1209" : "dev";
5203
+ var cliVersion = true ? "0.28.1211" : "dev";
5204
5204
  async function fetchLatestVersion() {
5205
5205
  const host2 = getHost();
5206
5206
  if (!host2) return null;
@@ -6460,7 +6460,7 @@ function handleError(err) {
6460
6460
  }
6461
6461
 
6462
6462
  // src/bin/agt.ts
6463
- var cliVersion2 = true ? "0.28.1209" : "dev";
6463
+ var cliVersion2 = true ? "0.28.1211" : "dev";
6464
6464
  var program = new Command();
6465
6465
  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");
6466
6466
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-IXMHJ3GU.js";
3
+ } from "./chunk-PL2SNTAN.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -240,4 +240,4 @@ export {
240
240
  peekPreviousSession,
241
241
  readDailySessionPin
242
242
  };
243
- //# sourceMappingURL=chunk-QPNZGRNJ.js.map
243
+ //# sourceMappingURL=chunk-6YBTIPCB.js.map
@@ -16,11 +16,11 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-BWIPB6CR.js";
19
+ } from "./chunk-OFYHF2CU.js";
20
20
  import {
21
21
  readDailySessionPin,
22
22
  sessionTranscriptDir
23
- } from "./chunk-QPNZGRNJ.js";
23
+ } from "./chunk-6YBTIPCB.js";
24
24
  import {
25
25
  classifyUnanswerablePane,
26
26
  isConsumerTermsDialogVisible,
@@ -92,7 +92,7 @@ import {
92
92
  scanConfigForLiteralSecrets,
93
93
  worseConnectivityOutcome,
94
94
  wrapScheduledTaskPrompt
95
- } from "./chunk-IXMHJ3GU.js";
95
+ } from "./chunk-PL2SNTAN.js";
96
96
  import {
97
97
  claudeJsonPathFor,
98
98
  effectiveClaudeJsonPath,
@@ -8082,7 +8082,7 @@ function exchangeFailureKind(err) {
8082
8082
  }
8083
8083
 
8084
8084
  // src/lib/api-client.ts
8085
- var agtCliVersion = true ? "0.28.1209" : "dev";
8085
+ var agtCliVersion = true ? "0.28.1211" : "dev";
8086
8086
  var lastConfigHash = null;
8087
8087
  function setConfigHash(hash) {
8088
8088
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13683,4 +13683,4 @@ export {
13683
13683
  managerInstallSystemUnitCommand,
13684
13684
  managerUninstallSystemUnitCommand
13685
13685
  };
13686
- //# sourceMappingURL=chunk-WSJULPTE.js.map
13686
+ //# sourceMappingURL=chunk-ALZS5XAJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-QPNZGRNJ.js";
7
+ } from "./chunk-6YBTIPCB.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -51,7 +51,7 @@ import {
51
51
  remoteMcpConnectionEnvInfix,
52
52
  remoteMcpConnectionLabel,
53
53
  remoteMcpConnectionScopedEnvVar
54
- } from "./chunk-IXMHJ3GU.js";
54
+ } from "./chunk-PL2SNTAN.js";
55
55
  import {
56
56
  CLAUDE_CONFIG_DIR_ENV,
57
57
  approveApiKeyInClaudeConfig,
@@ -6173,4 +6173,4 @@ export {
6173
6173
  stopAllSessionsAndWait,
6174
6174
  getProjectDir
6175
6175
  };
6176
- //# sourceMappingURL=chunk-BWIPB6CR.js.map
6176
+ //# sourceMappingURL=chunk-OFYHF2CU.js.map
@@ -3834,7 +3834,7 @@ var INTEGRATION_REGISTRY = [
3834
3834
  id: "ninjafy-notes",
3835
3835
  name: "Ninja Notes",
3836
3836
  category: "workspace-productivity",
3837
- description: "Meeting notes captured on your Mac and sent to an agent. Ninja Notes records and transcribes a meeting on-device \u2014 the audio never leaves your machine \u2014 then hands the transcript to the agents you choose, which read it with your organization's context and write their own summary. Notes are private by default; sending one to an agent is the only thing that grants access.",
3837
+ description: "Meeting notes captured on your Mac or Windows PC and sent to an agent. Ninja Notes records and transcribes a meeting, then hands the transcript to the agents you choose, which read it with your organization's context and write their own summary. On macOS 26 and later it transcribes on the device unless you turn on cloud transcription. On Windows and earlier macOS, cloud transcription is the only option, so recording needs it: your organization must have opted into Grok Voice, cloud transcription must be available to it, and you must allow it in the app. Notes are private by default; sending one to an agent is the only thing that grants access.",
3838
3838
  supported_auth_types: ["none"],
3839
3839
  capabilities: [
3840
3840
  {
@@ -3876,7 +3876,7 @@ var INTEGRATION_REGISTRY = [
3876
3876
  // here rather than read from the rate card, which is a real drift
3877
3877
  // hazard — so it is held by a test that reprices both from the migration
3878
3878
  // and fails if they disagree, rather than by anyone remembering.
3879
- description: "Let an agent advise on a meeting while it is happening. Audio is transcribed on the Mac as usual; short passages are then checked by Ninjafy to decide when the agent should speak up, and the agent sees those moments in real time. Off until you turn it on. Billed per minute the advisor is armed \u2014 about $0.90 for a half-hour advised meeting (A$1.50 in Australian dollars); a meeting you record without arming the advisor costs nothing.",
3879
+ description: "Let an agent advise on a meeting while it is happening, in the Mac app for now. Audio is transcribed as usual; short passages are then checked by Ninjafy to decide when the agent should speak up, and the agent sees those moments in real time. Off until you turn it on. Billed per minute the advisor is armed \u2014 about $0.90 for a half-hour advised meeting (A$1.50 in Australian dollars); a meeting you record without arming the advisor carries no extra charge for advising. Cloud transcription, where used, is billed separately.",
3880
3880
  access: "write",
3881
3881
  requires_org_opt_in: true
3882
3882
  }
@@ -3913,7 +3913,7 @@ var INTEGRATION_REGISTRY = [
3913
3913
  // independently, so an hour-long meeting on default settings spends two
3914
3914
  // audio-hours (ADR-0063 §2a). The Mac's own caption carries the fuller
3915
3915
  // explanation, at the point where the person choosing it can read it.
3916
- note: "Notes are included in your plan. Transcription runs on your own Mac by default and no platform summariser runs, so nothing is metered per note \u2014 the agent turn that reads it is billed as agent-hours like any other. Two capabilities are turned on separately and billed when they are: live meeting advising, per minute the advisor is armed; and cloud transcription, per hour of audio."
3916
+ note: "Notes are included in your plan. On macOS 26 and later, transcription runs on your own Mac by default; on Windows and earlier macOS it always uses cloud transcription. No platform summariser runs, so nothing is metered per note \u2014 the agent turn that reads it is billed as agent-hours like any other. Two capabilities are turned on separately and billed when they are: live meeting advising, per minute the advisor is armed; and cloud transcription, per hour of audio."
3917
3917
  }
3918
3918
  },
3919
3919
  {
@@ -6661,6 +6661,23 @@ var FLAG_REGISTRY = [
6661
6661
  // change (ADR-0022 sensitive-flag confirm).
6662
6662
  sensitive: true
6663
6663
  },
6664
+ {
6665
+ key: "ghost-reply-narration-guard",
6666
+ description: "Model-free guard on the SLACK ghost-reply RECOVERY path (CS-1821, CS-1429, ENG-7780); Telegram and Teams recovery do not run it. Recovered end-of-turn text with no second person, question, link or mention, that uses stand-down wording or names the person being answered in the third person, is not published. enforce = keep the marker so the inbound is re-delivered and the agent can answer properly. When re-deliveries run out, stand-down wording closes unposted and a name-only match publishes; with no reply owed, either closes. shadow = log only. off = never runs. A false match usually costs a re-ask; a real reply using stand-down wording every time is lost.",
6667
+ flagType: "enum",
6668
+ allowedValues: ["off", "shadow", "enforce"],
6669
+ // Ships in SHADOW: a free local log line, like every enum flag here, enforce is a
6670
+ // deliberate flip. Read the match log before flipping: a false match usually costs
6671
+ // a re-ask, but one repeated on every re-delivery loses the reply.
6672
+ defaultValue: "shadow",
6673
+ envVar: "AGT_GHOST_REPLY_NARRATION_GUARD_MODE",
6674
+ sensitive: true,
6675
+ // DELIBERATE UNREACHABLE PLACEHOLDER, not a real threshold. The reader is host-side
6676
+ // (the channel MCP), so a host on an older agt-cli ignores this flag. Replace it with
6677
+ // the first published agt-cli carrying the reader before flipping to enforce. Same
6678
+ // convention as `github-broker-credentials`.
6679
+ since: "0.29.0"
6680
+ },
6664
6681
  {
6665
6682
  key: "slack-scheduled-channel-guard",
6666
6683
  description: 'Guard on slack.reply that refuses to let an active scheduled-task destination silently move a reply to a DIFFERENT channel than the agent named (ENG-8137). CS-1505 gave an explicit inbound_id priority over the task destination but left the no-inbound_id case treating "no inbound reference" as "no destination specified" - and `channel` is a REQUIRED argument, so every call names one. The symptom: a question asked in one channel answered in another, and a reply meant as a DM landing in a public channel. Fires only when the marker carries an EXPLICIT target, the named channel differs from it, and neither an inbound_id, an enforce binding, nor an ENG-7542 channel correction is available to arbitrate. off = never runs (today behaviour: silent retarget). shadow = count + log the would-block but STILL route as today, so the false-positive rate is measurable before anyone refuses a send. enforce = block the reply and tell the agent to retry. Read live from the heartbeat flags-cache (or the env override). NOTE: enforce is currently CLAMPED to shadow host-side and setting it here will not take effect - it stays blocked until ENG-8142 teaches the Stop hook to tell a refused reply from a delivered one, because until then a blocked send fails silently (no recovery, no re-prompt, nothing in the channel). Lifting the clamp is a code change, not a flag flip.',
@@ -17882,4 +17899,4 @@ export {
17882
17899
  HOST_ROTATE_KEY_CONFLICT,
17883
17900
  shouldMintReplacementKey
17884
17901
  };
17885
- //# sourceMappingURL=chunk-IXMHJ3GU.js.map
17902
+ //# sourceMappingURL=chunk-PL2SNTAN.js.map