@integrity-labs/agt-cli 0.28.197 → 0.28.198

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/mcp/index.js CHANGED
@@ -22981,18 +22981,18 @@ server.tool(
22981
22981
  }
22982
22982
  );
22983
22983
  server.tool(
22984
- "plugin_list",
22985
- `List the plugins currently installed on this agent, with their current typed context values and a preview of any freeform overrides. Use this when the user asks "what plugins do I have?", "show me the plugins", "what is the Coding plugin configured with?", or before calling plugin_improve to see what fields exist and what they're set to.`,
22984
+ "integration_list",
22985
+ `List the integrations currently installed on this agent, with their current typed context values and a preview of any freeform overrides. Use this when the user asks "what integrations do I have?", "show me the integrations", "what is the Coding integration configured with?", or before calling integration_improve to see what fields exist and what they're set to.`,
22986
22986
  {},
22987
22987
  async () => {
22988
22988
  const data = await apiPost("/host/list-plugins", {
22989
22989
  agent_id: AGT_AGENT_ID
22990
22990
  });
22991
22991
  if (!data.plugins.length) {
22992
- return { content: [{ type: "text", text: "No plugins installed on this agent." }] };
22992
+ return { content: [{ type: "text", text: "No integrations installed on this agent." }] };
22993
22993
  }
22994
22994
  const lines = [];
22995
- lines.push(`## Installed Plugins (${data.plugins.length})
22995
+ lines.push(`## Installed Integrations (${data.plugins.length})
22996
22996
  `);
22997
22997
  for (const p of data.plugins) {
22998
22998
  lines.push(`### ${p.plugin_name} \`${p.integration_slug ?? p.plugin_slug}\` (v${p.version})`);
@@ -23014,16 +23014,16 @@ server.tool(
23014
23014
  }
23015
23015
  lines.push("");
23016
23016
  }
23017
- lines.push("To update any plugin's behavior, use the `plugin_improve` tool with the user's feedback.");
23017
+ lines.push("To update any integration's behavior, use the `integration_improve` tool with the user's feedback.");
23018
23018
  return { content: [{ type: "text", text: lines.join("\n") }] };
23019
23019
  }
23020
23020
  );
23021
23021
  server.tool(
23022
- "plugin_improve",
23022
+ "integration_improve",
23023
23023
  // Description leads with the user phrasings the agent should match against,
23024
23024
  // then explains the safety rule. Order matters — Claude\'s tool selection
23025
23025
  // weights the first line of a description heavily.
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.`,
23026
+ `Update, edit, or add a rule to an installed integration (e.g. the Coding integration, the Knowledge Base integration, the Slack integration). USE THIS TOOL when the user says any of: "update the X integration", "add a rule to integration Y", "tell the X integration not to do Z", "change the X integration so it does Y", "the Coding integration should always/never...", "remember this for the X integration". This is the ONLY correct way to modify an integration's behavior. NEVER edit SKILL.md files under .claude/skills/integration-* 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 integration'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 integrations that are actually installed on this agent.`,
23027
23027
  {
23028
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
23029
  integration_id: external_exports.string().optional().describe("Integration UUID. Either this or integration_slug is required."),
@@ -23033,7 +23033,7 @@ server.tool(
23033
23033
  // canonical names.
23034
23034
  plugin_slug: external_exports.string().optional().describe("@deprecated Use integration_slug. Legacy plugin-slug alias."),
23035
23035
  plugin_id: external_exports.string().optional().describe("@deprecated Use integration_id. Legacy plugin-UUID alias."),
23036
- feedback: external_exports.string().min(1).describe("The user's feedback in natural language. What should the plugin do differently?"),
23036
+ feedback: external_exports.string().min(1).describe("The user's feedback in natural language. What should the integration do differently?"),
23037
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."),
23038
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.")
23039
23039
  },
@@ -23054,7 +23054,7 @@ server.tool(
23054
23054
  auto_apply: params.auto_apply ?? false
23055
23055
  });
23056
23056
  const lines = [];
23057
- lines.push(data.applied ? "\u2705 Applied plugin context update" : "\u{1F4CB} Proposed plugin context update (preview)");
23057
+ lines.push(data.applied ? "\u2705 Applied integration context update" : "\u{1F4CB} Proposed integration context update (preview)");
23058
23058
  lines.push("");
23059
23059
  lines.push(`Rationale: ${data.proposed.rationale}`);
23060
23060
  if (data.proposed.changed_fields.length > 0) {
@@ -23083,10 +23083,10 @@ server.tool(
23083
23083
  if (!data.applied) {
23084
23084
  lines.push("");
23085
23085
  lines.push("---");
23086
- lines.push("Show this diff to the user. If they confirm, call `plugin_improve` again with `auto_apply: true` and the same arguments to apply.");
23086
+ lines.push("Show this diff to the user. If they confirm, call `integration_improve` again with `auto_apply: true` and the same arguments to apply.");
23087
23087
  } else {
23088
23088
  lines.push("");
23089
- lines.push("Update applied. The manager will re-render the plugin's SKILL.md files on the next refresh cycle.");
23089
+ lines.push("Update applied. The manager will re-render the integration's SKILL.md files on the next refresh cycle.");
23090
23090
  }
23091
23091
  return { content: [{ type: "text", text: lines.join("\n") }] };
23092
23092
  }
@@ -23345,8 +23345,8 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
23345
23345
  "knowledge_add",
23346
23346
  "knowledge_update",
23347
23347
  "knowledge_delete",
23348
- "plugin_list",
23349
- "plugin_improve",
23348
+ "integration_list",
23349
+ "integration_improve",
23350
23350
  "dashboards_list",
23351
23351
  "dashboards_show",
23352
23352
  "dashboards_upsert",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.197",
3
+ "version": "0.28.198",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {