@integrity-labs/agt-cli 0.28.196 → 0.28.197

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.
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
100
100
  return { ok: true };
101
101
  } catch {
102
102
  }
103
- const { resolveClaudeBinary } = await import("./persistent-session-PKGKXWD2.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-PG3OFGDB.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -373,4 +373,4 @@ export {
373
373
  startClaudePair,
374
374
  submitClaudePairCode
375
375
  };
376
- //# sourceMappingURL=claude-pair-runtime-V2ZF43OE.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-RW4N6OQU.js.map
@@ -17,7 +17,6 @@ import {
17
17
  extractCommandNotFound,
18
18
  getApiKey,
19
19
  getHostId,
20
- getIntegration,
21
20
  provision,
22
21
  provisionAutoKanbanProgressHook,
23
22
  provisionChannelProgressHook,
@@ -28,7 +27,7 @@ import {
28
27
  requireHost,
29
28
  safeWriteJsonAtomic,
30
29
  setConfigHash
31
- } from "../chunk-2GSFMQCT.js";
30
+ } from "../chunk-WBTOXOUC.js";
32
31
  import {
33
32
  getProjectDir as getProjectDir2,
34
33
  getReadyTasks,
@@ -70,7 +69,7 @@ import {
70
69
  takeZombieDetection,
71
70
  transcriptActivityAgeSeconds,
72
71
  writeEgressAllowlist
73
- } from "../chunk-H5KQGGFU.js";
72
+ } from "../chunk-PCYEFPBE.js";
74
73
  import {
75
74
  CONVERSATION_FAILURE_CATEGORIES,
76
75
  DEFAULT_FRAMEWORK,
@@ -92,6 +91,7 @@ import {
92
91
  formatActorId,
93
92
  formatRunMarker,
94
93
  getFramework,
94
+ getIntegration,
95
95
  isBareAck,
96
96
  isConversationFailureCategory,
97
97
  isEmptyTotals,
@@ -113,7 +113,7 @@ import {
113
113
  resolveChannels,
114
114
  resolveDmTarget,
115
115
  sumTranscriptUsageInWindow
116
- } from "../chunk-C42HT3QT.js";
116
+ } from "../chunk-CE6U2IAF.js";
117
117
  import {
118
118
  parsePsRows,
119
119
  reapOrphanChannelMcps
@@ -6681,7 +6681,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6681
6681
  var lastVersionCheckAt = 0;
6682
6682
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6683
6683
  var lastResponsivenessProbeAt = 0;
6684
- var agtCliVersion = true ? "0.28.196" : "dev";
6684
+ var agtCliVersion = true ? "0.28.197" : "dev";
6685
6685
  function resolveBrewPath(execFileSync4) {
6686
6686
  try {
6687
6687
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -7574,7 +7574,7 @@ async function pollCycle() {
7574
7574
  }
7575
7575
  try {
7576
7576
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
7577
- const { collectDiagnostics } = await import("../persistent-session-PKGKXWD2.js");
7577
+ const { collectDiagnostics } = await import("../persistent-session-PG3OFGDB.js");
7578
7578
  const diagCodeNames = [...agentState.persistentSessionAgents];
7579
7579
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
7580
7580
  let tailscaleHostname;
@@ -7722,7 +7722,7 @@ async function pollCycle() {
7722
7722
  const {
7723
7723
  collectResponsivenessProbes,
7724
7724
  getResponsivenessIntervalMs
7725
- } = await import("../responsiveness-probe-SSDLOYZB.js");
7725
+ } = await import("../responsiveness-probe-MMHGI5FC.js");
7726
7726
  const probeIntervalMs = getResponsivenessIntervalMs();
7727
7727
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
7728
7728
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -7754,7 +7754,7 @@ async function pollCycle() {
7754
7754
  collectResponsivenessProbes,
7755
7755
  livePendingInboundOldestAgeSeconds,
7756
7756
  parkPendingInbound
7757
- } = await import("../responsiveness-probe-SSDLOYZB.js");
7757
+ } = await import("../responsiveness-probe-MMHGI5FC.js");
7758
7758
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
7759
7759
  const wedgeNow = /* @__PURE__ */ new Date();
7760
7760
  const liveAgents = agentState.persistentSessionAgents;
@@ -10754,7 +10754,7 @@ async function processClaudePairSessions(agents) {
10754
10754
  killPairSession,
10755
10755
  pairTmuxSession,
10756
10756
  finalizeClaudePairOnboarding
10757
- } = await import("../claude-pair-runtime-V2ZF43OE.js");
10757
+ } = await import("../claude-pair-runtime-RW4N6OQU.js");
10758
10758
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
10759
10759
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
10760
10760
  const killed = await killPairSession(pairTmuxSession(pairId));
package/dist/mcp/index.js CHANGED
@@ -22995,7 +22995,7 @@ server.tool(
22995
22995
  lines.push(`## Installed Plugins (${data.plugins.length})
22996
22996
  `);
22997
22997
  for (const p of data.plugins) {
22998
- lines.push(`### ${p.plugin_name} \`${p.plugin_slug}\` (v${p.version})`);
22998
+ lines.push(`### ${p.plugin_name} \`${p.integration_slug ?? p.plugin_slug}\` (v${p.version})`);
22999
22999
  if (p.description) lines.push(p.description);
23000
23000
  lines.push(`- Skills: ${p.skill_count}`);
23001
23001
  if (p.has_schema && p.context_field_count > 0) {
@@ -23025,22 +23025,30 @@ server.tool(
23025
23025
  // weights the first line of a description heavily.
23026
23026
  `Update, edit, or add a rule to an installed plugin (e.g. the Coding plugin, the Knowledge Base plugin, the Slack plugin). USE THIS TOOL when the user says any of: "update the X plugin", "add a rule to plugin Y", "tell the X plugin not to do Z", "change the X plugin so it does Y", "the Coding plugin should always/never...", "remember this for the X plugin". This is the ONLY correct way to modify a plugin's behavior. NEVER edit SKILL.md files under .claude/skills/plugin-* directly \u2014 those files are derived from the platform database and your edits will be silently overwritten on the next manager refresh. The platform calls an LLM to translate the user's request into a structured update of the plugin's typed context fields and/or freeform overrides text, then returns a diff for you to show the user. Default flow is preview-then-apply: call once to get the proposed diff, show it to the user, then call again with auto_apply=true if they confirm. Only works for plugins that are actually installed on this agent.`,
23027
23027
  {
23028
- plugin_slug: external_exports.string().optional().describe('Plugin slug to improve (e.g. "claude-code-github"). Either this or plugin_id is required.'),
23029
- plugin_id: external_exports.string().optional().describe("Plugin UUID. Either this or plugin_slug is required."),
23028
+ integration_slug: external_exports.string().optional().describe('Integration slug to improve (e.g. "claude-code-github"). Either this or integration_id is required.'),
23029
+ integration_id: external_exports.string().optional().describe("Integration UUID. Either this or integration_slug is required."),
23030
+ // ENG-7167: accept the legacy plugin_* names as deprecated aliases so the
23031
+ // tool boundary mirrors the dual-accept /host/improve-plugin endpoint. They
23032
+ // are normalised to integration_* below; the outgoing wire only posts the
23033
+ // canonical names.
23034
+ plugin_slug: external_exports.string().optional().describe("@deprecated Use integration_slug. Legacy plugin-slug alias."),
23035
+ plugin_id: external_exports.string().optional().describe("@deprecated Use integration_id. Legacy plugin-UUID alias."),
23030
23036
  feedback: external_exports.string().min(1).describe("The user's feedback in natural language. What should the plugin do differently?"),
23031
23037
  transcript_snippet: external_exports.string().optional().describe("Optional short transcript snippet showing the behavior the user flagged. Helps the LLM understand context. Max 2000 chars."),
23032
23038
  auto_apply: external_exports.boolean().optional().describe("If true, apply the proposed update immediately without preview. Default false (preview-then-apply). Only set to true after the user has confirmed the proposed diff.")
23033
23039
  },
23034
23040
  async (params) => {
23035
- if (!params.plugin_slug && !params.plugin_id) {
23041
+ const integrationSlug = params.integration_slug ?? params.plugin_slug;
23042
+ const integrationId = params.integration_id ?? params.plugin_id;
23043
+ if (!integrationSlug && !integrationId) {
23036
23044
  return {
23037
- content: [{ type: "text", text: "Error: either plugin_slug or plugin_id is required." }]
23045
+ content: [{ type: "text", text: "Error: either integration_slug or integration_id is required." }]
23038
23046
  };
23039
23047
  }
23040
23048
  const data = await apiPost("/host/improve-plugin", {
23041
23049
  agent_id: AGT_AGENT_ID,
23042
- plugin_slug: params.plugin_slug,
23043
- plugin_id: params.plugin_id,
23050
+ integration_slug: integrationSlug,
23051
+ integration_id: integrationId,
23044
23052
  feedback: params.feedback,
23045
23053
  transcript_snippet: params.transcript_snippet,
23046
23054
  auto_apply: params.auto_apply ?? false
@@ -34,8 +34,8 @@ import {
34
34
  writeDirectChatSessionState,
35
35
  writeEgressAllowlist,
36
36
  writePersistentClaudeWrapper
37
- } from "./chunk-H5KQGGFU.js";
38
- import "./chunk-C42HT3QT.js";
37
+ } from "./chunk-PCYEFPBE.js";
38
+ import "./chunk-CE6U2IAF.js";
39
39
  import "./chunk-XWVM4KPK.js";
40
40
  export {
41
41
  EGRESS_BASELINE_DOMAINS,
@@ -74,4 +74,4 @@ export {
74
74
  writeEgressAllowlist,
75
75
  writePersistentClaudeWrapper
76
76
  };
77
- //# sourceMappingURL=persistent-session-PKGKXWD2.js.map
77
+ //# sourceMappingURL=persistent-session-PG3OFGDB.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-H5KQGGFU.js";
4
- import "./chunk-C42HT3QT.js";
3
+ } from "./chunk-PCYEFPBE.js";
4
+ import "./chunk-CE6U2IAF.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -304,4 +304,4 @@ export {
304
304
  readAndResetChannelDeflections,
305
305
  readAndResetChannelLaneClassifications
306
306
  };
307
- //# sourceMappingURL=responsiveness-probe-SSDLOYZB.js.map
307
+ //# sourceMappingURL=responsiveness-probe-MMHGI5FC.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.196",
3
+ "version": "0.28.197",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {